diff --git a/apps/www/.vitepress/theme/utils/codeeditor.ts b/apps/www/.vitepress/theme/utils/codeeditor.ts index f6c42469..35e28901 100644 --- a/apps/www/.vitepress/theme/utils/codeeditor.ts +++ b/apps/www/.vitepress/theme/utils/codeeditor.ts @@ -1,11 +1,11 @@ import type { RegistryStyle } from '@/registry/registry-styles' import sdk from '@stackblitz/sdk' import { getParameters } from 'codesandbox/lib/api/define' +// @ts-expect-error ?raw +import cssRaw from '../../../../../packages/cli/test/fixtures/frameworks/nuxt/assets/css/tailwind.css?raw' import { Index as demoIndex } from '../../../../www/__registry__' // @ts-expect-error ?raw import tailwindConfigRaw from '../../../tailwind.config?raw' -// @ts-expect-error ?raw -import cssRaw from '../../../../../packages/cli/test/fixtures/frameworks/nuxt/assets/css/tailwind.css?raw' export function makeCodeSandboxParams(componentName: string, style: RegistryStyle, sources: Record) { let files: Record = {} @@ -132,7 +132,7 @@ function constructFiles(componentName: string, style: RegistryStyle, sources: Re }) // @ts-expect-error componentName might not exist in Index - const registryDependencies = demoIndex[style][componentName as any]?.registryDependencies?.filter(i => i !== 'utils') + const registryDependencies = demoIndex[style][componentName as any]?.registryDependencies?.filter(i => i !== 'utils') ?? [] const files = { 'package.json': { diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 9544e7e7..4058a0fd 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -632,6 +632,57 @@ export const Index: Record = { category: "", subcategory: "" }, + "combobox": { + name: "combobox", + description: "", + type: "registry:ui", + registryDependencies: ["utils"], + files: [{ + path: "registry/new-york/ui/combobox/Combobox.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxAnchor.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxEmpty.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxGroup.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxInput.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxItem.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxList.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxSeparator.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxTrigger.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/index.ts", + type: "registry:ui", + target: "" + }], + component: () => import("@/registry/new-york/ui/combobox/Combobox.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "command": { name: "command", description: "", @@ -2985,7 +3036,7 @@ export const Index: Record = { name: "ComboboxDemo", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","popover"], + registryDependencies: ["utils","combobox"], files: [{ path: "registry/new-york/example/ComboboxDemo.vue", type: "registry:example", @@ -3015,7 +3066,7 @@ export const Index: Record = { name: "ComboboxForm", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","form","popover","toast"], + registryDependencies: ["utils","button","combobox","form","toast"], files: [{ path: "registry/new-york/example/ComboboxForm.vue", type: "registry:example", @@ -3056,6 +3107,21 @@ export const Index: Record = { category: "", subcategory: "" }, + "ComboboxTrigger": { + name: "ComboboxTrigger", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","combobox"], + files: [{ + path: "registry/new-york/example/ComboboxTrigger.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/ComboboxTrigger.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "CommandDemo": { name: "CommandDemo", description: "", @@ -3086,6 +3152,66 @@ export const Index: Record = { category: "", subcategory: "" }, + "CommandDropdownMenu": { + name: "CommandDropdownMenu", + description: "", + type: "registry:example", + registryDependencies: ["button","command","dropdown-menu"], + files: [{ + path: "registry/new-york/example/CommandDropdownMenu.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandDropdownMenu.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandForm": { + name: "CommandForm", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","command","form","popover","toast"], + files: [{ + path: "registry/new-york/example/CommandForm.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandForm.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandPopover": { + name: "CommandPopover", + description: "", + type: "registry:example", + registryDependencies: ["button","command","popover"], + files: [{ + path: "registry/new-york/example/CommandPopover.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandPopover.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandResponsive": { + name: "CommandResponsive", + description: "", + type: "registry:example", + registryDependencies: ["button","command","drawer","popover"], + files: [{ + path: "registry/new-york/example/CommandResponsive.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandResponsive.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "ContextMenuDemo": { name: "ContextMenuDemo", description: "", @@ -6352,6 +6478,57 @@ export const Index: Record = { category: "", subcategory: "" }, + "combobox": { + name: "combobox", + description: "", + type: "registry:ui", + registryDependencies: ["utils"], + files: [{ + path: "registry/new-york/ui/combobox/Combobox.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxAnchor.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxEmpty.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxGroup.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxInput.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxItem.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxList.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxSeparator.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/ComboboxTrigger.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/new-york/ui/combobox/index.ts", + type: "registry:ui", + target: "" + }], + component: () => import("@/registry/new-york/ui/combobox/Combobox.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "command": { name: "command", description: "", @@ -8705,7 +8882,7 @@ export const Index: Record = { name: "ComboboxDemo", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","popover"], + registryDependencies: ["utils","combobox"], files: [{ path: "registry/new-york/example/ComboboxDemo.vue", type: "registry:example", @@ -8735,7 +8912,7 @@ export const Index: Record = { name: "ComboboxForm", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","form","popover","toast"], + registryDependencies: ["utils","button","combobox","form","toast"], files: [{ path: "registry/new-york/example/ComboboxForm.vue", type: "registry:example", @@ -8776,6 +8953,21 @@ export const Index: Record = { category: "", subcategory: "" }, + "ComboboxTrigger": { + name: "ComboboxTrigger", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","combobox"], + files: [{ + path: "registry/new-york/example/ComboboxTrigger.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/ComboboxTrigger.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "CommandDemo": { name: "CommandDemo", description: "", @@ -8806,6 +8998,66 @@ export const Index: Record = { category: "", subcategory: "" }, + "CommandDropdownMenu": { + name: "CommandDropdownMenu", + description: "", + type: "registry:example", + registryDependencies: ["button","command","dropdown-menu"], + files: [{ + path: "registry/new-york/example/CommandDropdownMenu.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandDropdownMenu.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandForm": { + name: "CommandForm", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","command","form","popover","toast"], + files: [{ + path: "registry/new-york/example/CommandForm.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandForm.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandPopover": { + name: "CommandPopover", + description: "", + type: "registry:example", + registryDependencies: ["button","command","popover"], + files: [{ + path: "registry/new-york/example/CommandPopover.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandPopover.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandResponsive": { + name: "CommandResponsive", + description: "", + type: "registry:example", + registryDependencies: ["button","command","drawer","popover"], + files: [{ + path: "registry/new-york/example/CommandResponsive.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/new-york/example/CommandResponsive.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "ContextMenuDemo": { name: "ContextMenuDemo", description: "", @@ -12088,6 +12340,57 @@ export const Index: Record = { category: "", subcategory: "" }, + "combobox": { + name: "combobox", + description: "", + type: "registry:ui", + registryDependencies: ["utils"], + files: [{ + path: "registry/default/ui/combobox/Combobox.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxAnchor.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxEmpty.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxGroup.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxInput.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxItem.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxList.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxSeparator.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxTrigger.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/index.ts", + type: "registry:ui", + target: "" + }], + component: () => import("@/registry/default/ui/combobox/Combobox.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "command": { name: "command", description: "", @@ -14441,7 +14744,7 @@ export const Index: Record = { name: "ComboboxDemo", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","popover"], + registryDependencies: ["utils","combobox"], files: [{ path: "registry/default/example/ComboboxDemo.vue", type: "registry:example", @@ -14471,7 +14774,7 @@ export const Index: Record = { name: "ComboboxForm", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","form","popover","toast"], + registryDependencies: ["utils","button","combobox","form","toast"], files: [{ path: "registry/default/example/ComboboxForm.vue", type: "registry:example", @@ -14512,6 +14815,21 @@ export const Index: Record = { category: "", subcategory: "" }, + "ComboboxTrigger": { + name: "ComboboxTrigger", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","combobox"], + files: [{ + path: "registry/default/example/ComboboxTrigger.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/ComboboxTrigger.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "CommandDemo": { name: "CommandDemo", description: "", @@ -14542,6 +14860,66 @@ export const Index: Record = { category: "", subcategory: "" }, + "CommandDropdownMenu": { + name: "CommandDropdownMenu", + description: "", + type: "registry:example", + registryDependencies: ["button","command","dropdown-menu"], + files: [{ + path: "registry/default/example/CommandDropdownMenu.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandDropdownMenu.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandForm": { + name: "CommandForm", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","command","form","popover","toast"], + files: [{ + path: "registry/default/example/CommandForm.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandForm.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandPopover": { + name: "CommandPopover", + description: "", + type: "registry:example", + registryDependencies: ["button","command","popover"], + files: [{ + path: "registry/default/example/CommandPopover.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandPopover.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandResponsive": { + name: "CommandResponsive", + description: "", + type: "registry:example", + registryDependencies: ["button","command","drawer","popover"], + files: [{ + path: "registry/default/example/CommandResponsive.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandResponsive.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "ContextMenuDemo": { name: "ContextMenuDemo", description: "", @@ -17808,6 +18186,57 @@ export const Index: Record = { category: "", subcategory: "" }, + "combobox": { + name: "combobox", + description: "", + type: "registry:ui", + registryDependencies: ["utils"], + files: [{ + path: "registry/default/ui/combobox/Combobox.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxAnchor.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxEmpty.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxGroup.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxInput.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxItem.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxList.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxSeparator.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/ComboboxTrigger.vue", + type: "registry:ui", + target: "" + },{ + path: "registry/default/ui/combobox/index.ts", + type: "registry:ui", + target: "" + }], + component: () => import("@/registry/default/ui/combobox/Combobox.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "command": { name: "command", description: "", @@ -20161,7 +20590,7 @@ export const Index: Record = { name: "ComboboxDemo", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","popover"], + registryDependencies: ["utils","combobox"], files: [{ path: "registry/default/example/ComboboxDemo.vue", type: "registry:example", @@ -20191,7 +20620,7 @@ export const Index: Record = { name: "ComboboxForm", description: "", type: "registry:example", - registryDependencies: ["utils","button","command","form","popover","toast"], + registryDependencies: ["utils","button","combobox","form","toast"], files: [{ path: "registry/default/example/ComboboxForm.vue", type: "registry:example", @@ -20232,6 +20661,21 @@ export const Index: Record = { category: "", subcategory: "" }, + "ComboboxTrigger": { + name: "ComboboxTrigger", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","combobox"], + files: [{ + path: "registry/default/example/ComboboxTrigger.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/ComboboxTrigger.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "CommandDemo": { name: "CommandDemo", description: "", @@ -20262,6 +20706,66 @@ export const Index: Record = { category: "", subcategory: "" }, + "CommandDropdownMenu": { + name: "CommandDropdownMenu", + description: "", + type: "registry:example", + registryDependencies: ["button","command","dropdown-menu"], + files: [{ + path: "registry/default/example/CommandDropdownMenu.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandDropdownMenu.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandForm": { + name: "CommandForm", + description: "", + type: "registry:example", + registryDependencies: ["utils","button","command","form","popover","toast"], + files: [{ + path: "registry/default/example/CommandForm.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandForm.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandPopover": { + name: "CommandPopover", + description: "", + type: "registry:example", + registryDependencies: ["button","command","popover"], + files: [{ + path: "registry/default/example/CommandPopover.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandPopover.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, + "CommandResponsive": { + name: "CommandResponsive", + description: "", + type: "registry:example", + registryDependencies: ["button","command","drawer","popover"], + files: [{ + path: "registry/default/example/CommandResponsive.vue", + type: "registry:example", + target: "" + }], + component: () => import("@/registry/default/example/CommandResponsive.vue").then((m) => m.default), + source: "", + category: "", + subcategory: "" + }, "ContextMenuDemo": { name: "ContextMenuDemo", description: "", diff --git a/apps/www/src/content/docs/components/combobox.md b/apps/www/src/content/docs/components/combobox.md index 5e741cf5..56fa0874 100644 --- a/apps/www/src/content/docs/components/combobox.md +++ b/apps/www/src/content/docs/components/combobox.md @@ -1,6 +1,8 @@ --- title: Combobox description: Autocomplete input and command palette with a list of suggestions. +source: apps/www/registry/default/ui/combobox +primitive: https://www.reka-ui.com/docs/components/combobox.html --- @@ -9,9 +11,9 @@ description: Autocomplete input and command palette with a list of suggestions. ## Installation -The Combobox is built using a composition of the `` and the `` components. - -See installation instructions for the [Popover](/docs/components/popover#installation) and the [Command](/docs/components/command#installation) components. +```bash +npx shadcn-vue@latest add combobox +``` ## Usage @@ -92,11 +94,11 @@ const value = ref('') ## Examples -### Combobox +### Combobox Trigger - + -### Popover + ### Form diff --git a/apps/www/src/content/docs/components/command.md b/apps/www/src/content/docs/components/command.md index 6d095839..e010344d 100644 --- a/apps/www/src/content/docs/components/command.md +++ b/apps/www/src/content/docs/components/command.md @@ -2,7 +2,7 @@ title: Command description: Fast, composable, unstyled command menu. source: apps/www/registry/default/ui/command -primitive: https://www.reka-ui.com/docs/components/combobox.html +primitive: https://www.reka-ui.com/docs/components/listbox.html --- @@ -134,6 +134,28 @@ watch(CmdJ, (v) => { ``` -### Combobox +

-You can use the `` component as a combobox. See the [Combobox](/docs/components/combobox) page for more information. + + +You can use the `` component like a combobox. + + + +### Popover + + + +### Dropdown menu + + + +### Responsive + +You can create a responsive combobox by using the `` on desktop and the `` components on mobile. + + + +### Form + + diff --git a/apps/www/src/public/r/index.json b/apps/www/src/public/r/index.json index 5e7f4fc6..06b375fa 100644 --- a/apps/www/src/public/r/index.json +++ b/apps/www/src/public/r/index.json @@ -656,6 +656,58 @@ } ] }, + { + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/index.ts", + "type": "registry:ui" + } + ] + }, { "name": "command", "type": "registry:ui", @@ -2780,6 +2832,58 @@ } ] }, + { + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "type": "registry:ui" + }, + { + "path": "ui/combobox/index.ts", + "type": "registry:ui" + } + ] + }, { "name": "command", "type": "registry:ui", diff --git a/apps/www/src/public/r/styles/default/ComboboxDemo.json b/apps/www/src/public/r/styles/default/ComboboxDemo.json index 74c9b166..66401711 100644 --- a/apps/www/src/public/r/styles/default/ComboboxDemo.json +++ b/apps/www/src/public/r/styles/default/ComboboxDemo.json @@ -4,14 +4,12 @@ "dependencies": [], "registryDependencies": [ "utils", - "button", - "command", - "popover" + "combobox" ], "files": [ { "path": "example/ComboboxDemo.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } diff --git a/apps/www/src/public/r/styles/default/ComboboxForm.json b/apps/www/src/public/r/styles/default/ComboboxForm.json index 18d52e4a..724db4a0 100644 --- a/apps/www/src/public/r/styles/default/ComboboxForm.json +++ b/apps/www/src/public/r/styles/default/ComboboxForm.json @@ -9,15 +9,14 @@ "registryDependencies": [ "utils", "button", - "command", + "combobox", "form", - "popover", "toast" ], "files": [ { "path": "example/ComboboxForm.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } diff --git a/apps/www/src/public/r/styles/default/ComboboxTrigger.json b/apps/www/src/public/r/styles/default/ComboboxTrigger.json new file mode 100644 index 00000000..7de6f6ee --- /dev/null +++ b/apps/www/src/public/r/styles/default/ComboboxTrigger.json @@ -0,0 +1,18 @@ +{ + "name": "ComboboxTrigger", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "utils", + "button", + "combobox" + ], + "files": [ + { + "path": "example/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/default/CommandDropdownMenu.json b/apps/www/src/public/r/styles/default/CommandDropdownMenu.json new file mode 100644 index 00000000..a9cc6d36 --- /dev/null +++ b/apps/www/src/public/r/styles/default/CommandDropdownMenu.json @@ -0,0 +1,18 @@ +{ + "name": "CommandDropdownMenu", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "dropdown-menu" + ], + "files": [ + { + "path": "example/CommandDropdownMenu.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/default/CommandForm.json b/apps/www/src/public/r/styles/default/CommandForm.json new file mode 100644 index 00000000..6170e277 --- /dev/null +++ b/apps/www/src/public/r/styles/default/CommandForm.json @@ -0,0 +1,25 @@ +{ + "name": "CommandForm", + "type": "registry:example", + "dependencies": [ + "vee-validate", + "@vee-validate/zod", + "zod" + ], + "registryDependencies": [ + "utils", + "button", + "command", + "form", + "popover", + "toast" + ], + "files": [ + { + "path": "example/CommandForm.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/default/CommandPopover.json b/apps/www/src/public/r/styles/default/CommandPopover.json new file mode 100644 index 00000000..2b838d63 --- /dev/null +++ b/apps/www/src/public/r/styles/default/CommandPopover.json @@ -0,0 +1,18 @@ +{ + "name": "CommandPopover", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "popover" + ], + "files": [ + { + "path": "example/CommandPopover.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/default/CommandResponsive.json b/apps/www/src/public/r/styles/default/CommandResponsive.json new file mode 100644 index 00000000..ef97e038 --- /dev/null +++ b/apps/www/src/public/r/styles/default/CommandResponsive.json @@ -0,0 +1,21 @@ +{ + "name": "CommandResponsive", + "type": "registry:example", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "button", + "command", + "drawer", + "popover" + ], + "files": [ + { + "path": "example/CommandResponsive.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/default/combobox.json b/apps/www/src/public/r/styles/default/combobox.json new file mode 100644 index 00000000..ecb1e835 --- /dev/null +++ b/apps/www/src/public/r/styles/default/combobox.json @@ -0,0 +1,72 @@ +{ + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/index.ts", + "content": "export { default as Combobox } from './Combobox.vue'\nexport { default as ComboboxAnchor } from './ComboboxAnchor.vue'\nexport { default as ComboboxEmpty } from './ComboboxEmpty.vue'\nexport { default as ComboboxGroup } from './ComboboxGroup.vue'\nexport { default as ComboboxInput } from './ComboboxInput.vue'\nexport { default as ComboboxItem } from './ComboboxItem.vue'\nexport { default as ComboboxList } from './ComboboxList.vue'\nexport { default as ComboboxSeparator } from './ComboboxSeparator.vue'\n\nexport { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui'\n", + "type": "registry:ui", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/ComboboxDemo.json b/apps/www/src/public/r/styles/new-york/ComboboxDemo.json index aee8cd53..5f1fd80b 100644 --- a/apps/www/src/public/r/styles/new-york/ComboboxDemo.json +++ b/apps/www/src/public/r/styles/new-york/ComboboxDemo.json @@ -4,14 +4,12 @@ "dependencies": [], "registryDependencies": [ "utils", - "button", - "command", - "popover" + "combobox" ], "files": [ { "path": "example/ComboboxDemo.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } diff --git a/apps/www/src/public/r/styles/new-york/ComboboxForm.json b/apps/www/src/public/r/styles/new-york/ComboboxForm.json index ecfa5c63..30046364 100644 --- a/apps/www/src/public/r/styles/new-york/ComboboxForm.json +++ b/apps/www/src/public/r/styles/new-york/ComboboxForm.json @@ -9,15 +9,14 @@ "registryDependencies": [ "utils", "button", - "command", + "combobox", "form", - "popover", "toast" ], "files": [ { "path": "example/ComboboxForm.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } diff --git a/apps/www/src/public/r/styles/new-york/ComboboxTrigger.json b/apps/www/src/public/r/styles/new-york/ComboboxTrigger.json new file mode 100644 index 00000000..c2ae3d69 --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/ComboboxTrigger.json @@ -0,0 +1,18 @@ +{ + "name": "ComboboxTrigger", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "utils", + "button", + "combobox" + ], + "files": [ + { + "path": "example/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/CommandDropdownMenu.json b/apps/www/src/public/r/styles/new-york/CommandDropdownMenu.json new file mode 100644 index 00000000..ca1a5fda --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/CommandDropdownMenu.json @@ -0,0 +1,18 @@ +{ + "name": "CommandDropdownMenu", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "dropdown-menu" + ], + "files": [ + { + "path": "example/CommandDropdownMenu.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/CommandForm.json b/apps/www/src/public/r/styles/new-york/CommandForm.json new file mode 100644 index 00000000..d255da77 --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/CommandForm.json @@ -0,0 +1,25 @@ +{ + "name": "CommandForm", + "type": "registry:example", + "dependencies": [ + "vee-validate", + "@vee-validate/zod", + "zod" + ], + "registryDependencies": [ + "utils", + "button", + "command", + "form", + "popover", + "toast" + ], + "files": [ + { + "path": "example/CommandForm.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/CommandPopover.json b/apps/www/src/public/r/styles/new-york/CommandPopover.json new file mode 100644 index 00000000..33bbb834 --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/CommandPopover.json @@ -0,0 +1,18 @@ +{ + "name": "CommandPopover", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "popover" + ], + "files": [ + { + "path": "example/CommandPopover.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/CommandResponsive.json b/apps/www/src/public/r/styles/new-york/CommandResponsive.json new file mode 100644 index 00000000..faaa86a3 --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/CommandResponsive.json @@ -0,0 +1,21 @@ +{ + "name": "CommandResponsive", + "type": "registry:example", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "button", + "command", + "drawer", + "popover" + ], + "files": [ + { + "path": "example/CommandResponsive.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/styles/new-york/combobox.json b/apps/www/src/public/r/styles/new-york/combobox.json new file mode 100644 index 00000000..ecb1e835 --- /dev/null +++ b/apps/www/src/public/r/styles/new-york/combobox.json @@ -0,0 +1,72 @@ +{ + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/index.ts", + "content": "export { default as Combobox } from './Combobox.vue'\nexport { default as ComboboxAnchor } from './ComboboxAnchor.vue'\nexport { default as ComboboxEmpty } from './ComboboxEmpty.vue'\nexport { default as ComboboxGroup } from './ComboboxGroup.vue'\nexport { default as ComboboxInput } from './ComboboxInput.vue'\nexport { default as ComboboxItem } from './ComboboxItem.vue'\nexport { default as ComboboxList } from './ComboboxList.vue'\nexport { default as ComboboxSeparator } from './ComboboxSeparator.vue'\n\nexport { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui'\n", + "type": "registry:ui", + "target": "" + } + ] +} diff --git a/apps/www/src/public/r/temp.json b/apps/www/src/public/r/temp.json index 3131f4cf..f8849649 100644 --- a/apps/www/src/public/r/temp.json +++ b/apps/www/src/public/r/temp.json @@ -1046,6 +1046,78 @@ } ] }, + { + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/index.ts", + "content": "export { default as Combobox } from './Combobox.vue'\nexport { default as ComboboxAnchor } from './ComboboxAnchor.vue'\nexport { default as ComboboxEmpty } from './ComboboxEmpty.vue'\nexport { default as ComboboxGroup } from './ComboboxGroup.vue'\nexport { default as ComboboxInput } from './ComboboxInput.vue'\nexport { default as ComboboxItem } from './ComboboxItem.vue'\nexport { default as ComboboxList } from './ComboboxList.vue'\nexport { default as ComboboxSeparator } from './ComboboxSeparator.vue'\n\nexport { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui'\n", + "type": "registry:ui", + "target": "" + } + ] + }, { "name": "command", "type": "registry:ui", @@ -4108,14 +4180,12 @@ "dependencies": [], "registryDependencies": [ "utils", - "button", - "command", - "popover" + "combobox" ], "files": [ { "path": "example/ComboboxDemo.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } @@ -4150,15 +4220,14 @@ "registryDependencies": [ "utils", "button", - "command", + "combobox", "form", - "popover", "toast" ], "files": [ { "path": "example/ComboboxForm.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } @@ -4203,6 +4272,24 @@ } ] }, + { + "name": "ComboboxTrigger", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "utils", + "button", + "combobox" + ], + "files": [ + { + "path": "example/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, { "name": "CommandDemo", "type": "registry:example", @@ -4237,6 +4324,88 @@ } ] }, + { + "name": "CommandDropdownMenu", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "dropdown-menu" + ], + "files": [ + { + "path": "example/CommandDropdownMenu.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandForm", + "type": "registry:example", + "dependencies": [ + "vee-validate", + "@vee-validate/zod", + "zod" + ], + "registryDependencies": [ + "utils", + "button", + "command", + "form", + "popover", + "toast" + ], + "files": [ + { + "path": "example/CommandForm.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandPopover", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "popover" + ], + "files": [ + { + "path": "example/CommandPopover.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandResponsive", + "type": "registry:example", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "button", + "command", + "drawer", + "popover" + ], + "files": [ + { + "path": "example/CommandResponsive.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, { "name": "ContextMenuDemo", "type": "registry:example", @@ -8339,6 +8508,78 @@ } ] }, + { + "name": "combobox", + "type": "registry:ui", + "dependencies": [ + "reka-ui" + ], + "registryDependencies": [ + "utils" + ], + "files": [ + { + "path": "ui/combobox/Combobox.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxAnchor.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxEmpty.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxGroup.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxInput.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxItem.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxList.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxSeparator.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:ui", + "target": "" + }, + { + "path": "ui/combobox/index.ts", + "content": "export { default as Combobox } from './Combobox.vue'\nexport { default as ComboboxAnchor } from './ComboboxAnchor.vue'\nexport { default as ComboboxEmpty } from './ComboboxEmpty.vue'\nexport { default as ComboboxGroup } from './ComboboxGroup.vue'\nexport { default as ComboboxInput } from './ComboboxInput.vue'\nexport { default as ComboboxItem } from './ComboboxItem.vue'\nexport { default as ComboboxList } from './ComboboxList.vue'\nexport { default as ComboboxSeparator } from './ComboboxSeparator.vue'\n\nexport { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui'\n", + "type": "registry:ui", + "target": "" + } + ] + }, { "name": "command", "type": "registry:ui", @@ -11401,14 +11642,12 @@ "dependencies": [], "registryDependencies": [ "utils", - "button", - "command", - "popover" + "combobox" ], "files": [ { "path": "example/ComboboxDemo.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } @@ -11443,15 +11682,14 @@ "registryDependencies": [ "utils", "button", - "command", + "combobox", "form", - "popover", "toast" ], "files": [ { "path": "example/ComboboxForm.vue", - "content": "\n\n\n", + "content": "\n\n\n", "type": "registry:example", "target": "" } @@ -11497,6 +11735,24 @@ } ] }, + { + "name": "ComboboxTrigger", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "utils", + "button", + "combobox" + ], + "files": [ + { + "path": "example/ComboboxTrigger.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, { "name": "CommandDemo", "type": "registry:example", @@ -11531,6 +11787,88 @@ } ] }, + { + "name": "CommandDropdownMenu", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "dropdown-menu" + ], + "files": [ + { + "path": "example/CommandDropdownMenu.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandForm", + "type": "registry:example", + "dependencies": [ + "vee-validate", + "@vee-validate/zod", + "zod" + ], + "registryDependencies": [ + "utils", + "button", + "command", + "form", + "popover", + "toast" + ], + "files": [ + { + "path": "example/CommandForm.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandPopover", + "type": "registry:example", + "dependencies": [], + "registryDependencies": [ + "button", + "command", + "popover" + ], + "files": [ + { + "path": "example/CommandPopover.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, + { + "name": "CommandResponsive", + "type": "registry:example", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "button", + "command", + "drawer", + "popover" + ], + "files": [ + { + "path": "example/CommandResponsive.vue", + "content": "\n\n\n", + "type": "registry:example", + "target": "" + } + ] + }, { "name": "ContextMenuDemo", "type": "registry:example", diff --git a/apps/www/src/registry/default/example/ComboboxDemo.vue b/apps/www/src/registry/default/example/ComboboxDemo.vue index 8a77ec2c..6ad07956 100644 --- a/apps/www/src/registry/default/example/ComboboxDemo.vue +++ b/apps/www/src/registry/default/example/ComboboxDemo.vue @@ -1,22 +1,7 @@ diff --git a/apps/www/src/registry/default/example/ComboboxForm.vue b/apps/www/src/registry/default/example/ComboboxForm.vue index 796f02ac..5a2768be 100644 --- a/apps/www/src/registry/default/example/ComboboxForm.vue +++ b/apps/www/src/registry/default/example/ComboboxForm.vue @@ -1,14 +1,8 @@ + + diff --git a/apps/www/src/registry/default/example/CommandDropdownMenu.vue b/apps/www/src/registry/default/example/CommandDropdownMenu.vue new file mode 100644 index 00000000..1584bc02 --- /dev/null +++ b/apps/www/src/registry/default/example/CommandDropdownMenu.vue @@ -0,0 +1,104 @@ + + + diff --git a/apps/www/src/registry/default/example/CommandForm.vue b/apps/www/src/registry/default/example/CommandForm.vue new file mode 100644 index 00000000..08f5e07a --- /dev/null +++ b/apps/www/src/registry/default/example/CommandForm.vue @@ -0,0 +1,121 @@ + + + diff --git a/apps/www/src/registry/default/example/CommandPopover.vue b/apps/www/src/registry/default/example/CommandPopover.vue new file mode 100644 index 00000000..7839fcbc --- /dev/null +++ b/apps/www/src/registry/default/example/CommandPopover.vue @@ -0,0 +1,94 @@ + + + diff --git a/apps/www/src/registry/default/example/CommandResponsive.vue b/apps/www/src/registry/default/example/CommandResponsive.vue new file mode 100644 index 00000000..8f8115f8 --- /dev/null +++ b/apps/www/src/registry/default/example/CommandResponsive.vue @@ -0,0 +1,94 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/Combobox.vue b/apps/www/src/registry/default/ui/combobox/Combobox.vue new file mode 100644 index 00000000..6f8e93ea --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/Combobox.vue @@ -0,0 +1,14 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxAnchor.vue b/apps/www/src/registry/default/ui/combobox/ComboboxAnchor.vue new file mode 100644 index 00000000..acfe4d4b --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxAnchor.vue @@ -0,0 +1,25 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxEmpty.vue b/apps/www/src/registry/default/ui/combobox/ComboboxEmpty.vue new file mode 100644 index 00000000..1908f93c --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxEmpty.vue @@ -0,0 +1,20 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxGroup.vue b/apps/www/src/registry/default/ui/combobox/ComboboxGroup.vue new file mode 100644 index 00000000..683bf592 --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxGroup.vue @@ -0,0 +1,29 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxInput.vue b/apps/www/src/registry/default/ui/combobox/ComboboxInput.vue new file mode 100644 index 00000000..68fa1868 --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxInput.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxItem.vue b/apps/www/src/registry/default/ui/combobox/ComboboxItem.vue new file mode 100644 index 00000000..84439e55 --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxItem.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxList.vue b/apps/www/src/registry/default/ui/combobox/ComboboxList.vue new file mode 100644 index 00000000..fd29aed7 --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxList.vue @@ -0,0 +1,34 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxSeparator.vue b/apps/www/src/registry/default/ui/combobox/ComboboxSeparator.vue new file mode 100644 index 00000000..cc5f0550 --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxSeparator.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/ComboboxTrigger.vue b/apps/www/src/registry/default/ui/combobox/ComboboxTrigger.vue new file mode 100644 index 00000000..549ca26f --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/ComboboxTrigger.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/default/ui/combobox/index.ts b/apps/www/src/registry/default/ui/combobox/index.ts new file mode 100644 index 00000000..6a6c525d --- /dev/null +++ b/apps/www/src/registry/default/ui/combobox/index.ts @@ -0,0 +1,10 @@ +export { default as Combobox } from './Combobox.vue' +export { default as ComboboxAnchor } from './ComboboxAnchor.vue' +export { default as ComboboxEmpty } from './ComboboxEmpty.vue' +export { default as ComboboxGroup } from './ComboboxGroup.vue' +export { default as ComboboxInput } from './ComboboxInput.vue' +export { default as ComboboxItem } from './ComboboxItem.vue' +export { default as ComboboxList } from './ComboboxList.vue' +export { default as ComboboxSeparator } from './ComboboxSeparator.vue' + +export { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui' diff --git a/apps/www/src/registry/new-york/example/ComboboxDemo.vue b/apps/www/src/registry/new-york/example/ComboboxDemo.vue index 09805ba1..b909a31c 100644 --- a/apps/www/src/registry/new-york/example/ComboboxDemo.vue +++ b/apps/www/src/registry/new-york/example/ComboboxDemo.vue @@ -1,22 +1,7 @@ diff --git a/apps/www/src/registry/new-york/example/ComboboxForm.vue b/apps/www/src/registry/new-york/example/ComboboxForm.vue index 7168d520..775ea5d7 100644 --- a/apps/www/src/registry/new-york/example/ComboboxForm.vue +++ b/apps/www/src/registry/new-york/example/ComboboxForm.vue @@ -1,14 +1,8 @@ + + diff --git a/apps/www/src/registry/new-york/example/CommandDropdownMenu.vue b/apps/www/src/registry/new-york/example/CommandDropdownMenu.vue new file mode 100644 index 00000000..c1e0db62 --- /dev/null +++ b/apps/www/src/registry/new-york/example/CommandDropdownMenu.vue @@ -0,0 +1,104 @@ + + + diff --git a/apps/www/src/registry/new-york/example/CommandForm.vue b/apps/www/src/registry/new-york/example/CommandForm.vue new file mode 100644 index 00000000..7168d520 --- /dev/null +++ b/apps/www/src/registry/new-york/example/CommandForm.vue @@ -0,0 +1,121 @@ + + + diff --git a/apps/www/src/registry/new-york/example/CommandPopover.vue b/apps/www/src/registry/new-york/example/CommandPopover.vue new file mode 100644 index 00000000..7bdbee5a --- /dev/null +++ b/apps/www/src/registry/new-york/example/CommandPopover.vue @@ -0,0 +1,94 @@ + + + diff --git a/apps/www/src/registry/new-york/example/CommandResponsive.vue b/apps/www/src/registry/new-york/example/CommandResponsive.vue new file mode 100644 index 00000000..b1e59156 --- /dev/null +++ b/apps/www/src/registry/new-york/example/CommandResponsive.vue @@ -0,0 +1,94 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/Combobox.vue b/apps/www/src/registry/new-york/ui/combobox/Combobox.vue new file mode 100644 index 00000000..6f8e93ea --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/Combobox.vue @@ -0,0 +1,14 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxAnchor.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxAnchor.vue new file mode 100644 index 00000000..acfe4d4b --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxAnchor.vue @@ -0,0 +1,25 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxEmpty.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxEmpty.vue new file mode 100644 index 00000000..1908f93c --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxEmpty.vue @@ -0,0 +1,20 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxGroup.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxGroup.vue new file mode 100644 index 00000000..683bf592 --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxGroup.vue @@ -0,0 +1,29 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxInput.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxInput.vue new file mode 100644 index 00000000..68fa1868 --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxInput.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxItem.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxItem.vue new file mode 100644 index 00000000..84439e55 --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxItem.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxList.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxList.vue new file mode 100644 index 00000000..fd29aed7 --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxList.vue @@ -0,0 +1,34 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxSeparator.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxSeparator.vue new file mode 100644 index 00000000..cc5f0550 --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxSeparator.vue @@ -0,0 +1,23 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/ComboboxTrigger.vue b/apps/www/src/registry/new-york/ui/combobox/ComboboxTrigger.vue new file mode 100644 index 00000000..549ca26f --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/ComboboxTrigger.vue @@ -0,0 +1,26 @@ + + + diff --git a/apps/www/src/registry/new-york/ui/combobox/index.ts b/apps/www/src/registry/new-york/ui/combobox/index.ts new file mode 100644 index 00000000..6a6c525d --- /dev/null +++ b/apps/www/src/registry/new-york/ui/combobox/index.ts @@ -0,0 +1,10 @@ +export { default as Combobox } from './Combobox.vue' +export { default as ComboboxAnchor } from './ComboboxAnchor.vue' +export { default as ComboboxEmpty } from './ComboboxEmpty.vue' +export { default as ComboboxGroup } from './ComboboxGroup.vue' +export { default as ComboboxInput } from './ComboboxInput.vue' +export { default as ComboboxItem } from './ComboboxItem.vue' +export { default as ComboboxList } from './ComboboxList.vue' +export { default as ComboboxSeparator } from './ComboboxSeparator.vue' + +export { ComboboxCancel, ComboboxItemIndicator, ComboboxTrigger } from 'reka-ui'