From d45b267ba3196f53cf82719fbded5aa0b733d0a9 Mon Sep 17 00:00:00 2001 From: Satya Deep Maheshwari Date: Sun, 8 Dec 2024 14:56:46 +0530 Subject: [PATCH] wip --- tools/sidekick/library.html | 50 +++++++++++++++++++ .../plugins/assets-library/assets-library.js | 14 ++++++ 2 files changed, 64 insertions(+) create mode 100644 tools/sidekick/library.html create mode 100644 tools/sidekick/plugins/assets-library/assets-library.js diff --git a/tools/sidekick/library.html b/tools/sidekick/library.html new file mode 100644 index 000000000..bf70ddb0a --- /dev/null +++ b/tools/sidekick/library.html @@ -0,0 +1,50 @@ + + + + + + + + + + + Sidekick Library + + + + + + + diff --git a/tools/sidekick/plugins/assets-library/assets-library.js b/tools/sidekick/plugins/assets-library/assets-library.js new file mode 100644 index 000000000..516ab173e --- /dev/null +++ b/tools/sidekick/plugins/assets-library/assets-library.js @@ -0,0 +1,14 @@ +/** + * Called when a user tries to load the plugin + * @param {HTMLElement} container The container to render the plugin in + * @param {Object} data The data contained in the plugin sheet + * @param {String} query If search is active, the current search query + * @param {Object} context contains any properties set when the plugin was registered + */ +export async function decorate(container, data, query, context) { + // Render your plugin +} + +export default { + title: 'Assets Library', +}; \ No newline at end of file