diff --git a/package.json b/package.json index e9b346ff..166efbed 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,9 @@ "@tailwindcss/postcss": "4.0.0-alpha.14", "@tailwindcss/vite": "4.0.0-alpha.14", "@vueuse/core": "^10.9.0", + "@vueuse/integrations": "^10.9.0", "defu": "^6.1.4", + "fuse.js": "^7.0.0", "ohash": "^1.1.3", "radix-vue": "^1.7.3", "scule": "^1.3.0", diff --git a/playground/app.vue b/playground/app.vue index 0c606a8a..0be468ba 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -21,6 +21,7 @@ const components = [ 'chip', 'collapsible', 'context-menu', + 'command-palette', 'drawer', 'dropdown-menu', 'form', diff --git a/playground/pages/command-palette.vue b/playground/pages/command-palette.vue new file mode 100644 index 00000000..c785d326 --- /dev/null +++ b/playground/pages/command-palette.vue @@ -0,0 +1,152 @@ + + + diff --git a/playground/pages/dropdown-menu.vue b/playground/pages/dropdown-menu.vue index a03e3658..b63a46f6 100644 --- a/playground/pages/dropdown-menu.vue +++ b/playground/pages/dropdown-menu.vue @@ -119,8 +119,8 @@ defineShortcuts(extractShortcuts(items))