diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 4f8045fed..73cd6b104 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -415,6 +415,27 @@ export const Index = { component: () => import('../src/lib/registry/default/example/TypographyTable.vue').then(m => m.default), files: ['../src/lib/registry/default/example/TypographyTable.vue'], }, + ActivityGoal: { + name: 'ActivityGoal', + type: 'components:example', + registryDependencies: ['button', 'card', 'themes', 'config'], + component: () => import('../src/lib/registry/default/example/ActivityGoal.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/ActivityGoal.vue'], + }, + DataTable: { + name: 'DataTable', + type: 'components:example', + registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'], + component: () => import('../src/lib/registry/default/example/DataTable.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/DataTable.vue'], + }, + Metric: { + name: 'Metric', + type: 'components:example', + registryDependencies: ['card', 'config'], + component: () => import('../src/lib/registry/default/example/Metric.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/Metric.vue'], + }, }, 'new-york': { AccordionDemo: { @@ -830,5 +851,26 @@ export const Index = { component: () => import('../src/lib/registry/new-york/example/TypographyTable.vue').then(m => m.default), files: ['../src/lib/registry/new-york/example/TypographyTable.vue'], }, + ActivityGoal: { + name: 'ActivityGoal', + type: 'components:example', + registryDependencies: ['button', 'card', 'themes', 'config'], + component: () => import('../src/lib/registry/new-york/example/ActivityGoal.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/ActivityGoal.vue'], + }, + DataTable: { + name: 'DataTable', + type: 'components:example', + registryDependencies: ['button', 'checkbox', 'dropdown-menu', 'input', 'table', 'card', 'utils'], + component: () => import('../src/lib/registry/new-york/example/DataTable.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/DataTable.vue'], + }, + Metric: { + name: 'Metric', + type: 'components:example', + registryDependencies: ['card', 'config'], + component: () => import('../src/lib/registry/new-york/example/Metric.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/Metric.vue'], + }, }, } diff --git a/apps/www/package.json b/apps/www/package.json index 3a146d652..0c994fa13 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -13,6 +13,7 @@ }, "dependencies": { "@morev/vue-transitions": "^2.3.6", + "@radix-icons/vue": "^1.0.0", "@tanstack/vue-table": "^8.9.9", "@unovis/ts": "^1.2.1", "@unovis/vue": "1.3.0-alpha.3", diff --git a/apps/www/src/lib/registry/default/example/Cards/DataTable.vue b/apps/www/src/lib/registry/default/example/Cards/DataTable.vue index 561ae80e2..a6d201ff6 100644 --- a/apps/www/src/lib/registry/default/example/Cards/DataTable.vue +++ b/apps/www/src/lib/registry/default/example/Cards/DataTable.vue @@ -14,9 +14,8 @@ import { useVueTable, } from '@tanstack/vue-table' import { h, ref } from 'vue' +import { CaretSortIcon, ChevronDownIcon } from '@radix-icons/vue' import DropdownAction from '../DataTableDemoColumn.vue' -import RadixIconsCaretSort from '~icons/radix-icons/caret-sort' -import RadixIconsChevronDown from '~icons/radix-icons/chevron-down' import { Button } from '@/lib/registry/default/ui/button' import { Checkbox } from '@/lib/registry/default/ui/checkbox' @@ -105,7 +104,7 @@ const columns: ColumnDef[] = [ return h(Button, { variant: 'ghost', onClick: () => column.toggleSorting(column.getIsSorted() === 'asc'), - }, ['Email', h(RadixIconsCaretSort, { class: 'ml-2 h-4 w-4' })]) + }, ['Email', h(CaretSortIcon, { class: 'ml-2 h-4 w-4' })]) }, cell: ({ row }) => h('div', { class: 'lowercase' }, row.getValue('email')), }, @@ -180,7 +179,7 @@ const table = useVueTable({ diff --git a/apps/www/src/lib/registry/default/example/Cards/index.vue b/apps/www/src/lib/registry/default/example/Cards/index.vue deleted file mode 100644 index 44ad59d62..000000000 --- a/apps/www/src/lib/registry/default/example/Cards/index.vue +++ /dev/null @@ -1,125 +0,0 @@ - - - diff --git a/apps/www/src/lib/registry/default/ui/menubar/MenubarCheckboxItem.vue b/apps/www/src/lib/registry/default/ui/menubar/MenubarCheckboxItem.vue index fe9002a28..b0274d9b9 100644 --- a/apps/www/src/lib/registry/default/ui/menubar/MenubarCheckboxItem.vue +++ b/apps/www/src/lib/registry/default/ui/menubar/MenubarCheckboxItem.vue @@ -5,8 +5,8 @@ import { type MenubarCheckboxItemProps, MenubarItemIndicator, } from 'radix-vue' +import { Check } from 'lucide-vue-next' import { cn } from '@/lib/utils' -import RadixIconsCheck from '~icons/radix-icons/check' const props = defineProps() @@ -28,7 +28,7 @@ const emit = defineEmits() - + diff --git a/apps/www/src/lib/registry/default/ui/menubar/MenubarRadioItem.vue b/apps/www/src/lib/registry/default/ui/menubar/MenubarRadioItem.vue index 960389aad..4619f96a6 100644 --- a/apps/www/src/lib/registry/default/ui/menubar/MenubarRadioItem.vue +++ b/apps/www/src/lib/registry/default/ui/menubar/MenubarRadioItem.vue @@ -5,8 +5,8 @@ import { type MenubarRadioItemEmits, type MenubarRadioItemProps, } from 'radix-vue' +import { Circle } from 'lucide-vue-next' import { cn } from '@/lib/utils' -import RiCheckboxBlankCircleFill from '~icons/ri/checkbox-blank-circle-fill' const props = defineProps() @@ -27,7 +27,7 @@ const emits = defineEmits() - + diff --git a/apps/www/src/lib/registry/default/ui/radio-group/RadioGroupItem.vue b/apps/www/src/lib/registry/default/ui/radio-group/RadioGroupItem.vue index 6d74489d0..b9af78cfe 100644 --- a/apps/www/src/lib/registry/default/ui/radio-group/RadioGroupItem.vue +++ b/apps/www/src/lib/registry/default/ui/radio-group/RadioGroupItem.vue @@ -4,8 +4,8 @@ import { RadioGroupItem, type RadioGroupItemProps, } from 'radix-vue' +import { Circle } from 'lucide-vue-next' import { cn } from '@/lib/utils' -import RiCheckboxBlankCircleFill from '~icons/ri/checkbox-blank-circle-fill' const props = defineProps() @@ -23,7 +23,7 @@ const props = defineProps() - + diff --git a/apps/www/src/lib/registry/default/ui/select/SelectItem.vue b/apps/www/src/lib/registry/default/ui/select/SelectItem.vue index 5ebbd0bed..cae5d6ec1 100644 --- a/apps/www/src/lib/registry/default/ui/select/SelectItem.vue +++ b/apps/www/src/lib/registry/default/ui/select/SelectItem.vue @@ -5,8 +5,8 @@ import { type SelectItemProps, SelectItemText, } from 'radix-vue' +import { Check } from 'lucide-vue-next' import { cn } from '@/lib/utils' -import RadixIconsCheck from '~icons/radix-icons/check' const props = defineProps() @@ -23,7 +23,7 @@ const props = defineProps() > - + diff --git a/apps/www/src/lib/registry/new-york/example/AlertDemo.vue b/apps/www/src/lib/registry/new-york/example/AlertDemo.vue index cd4a87966..ebb70284b 100644 --- a/apps/www/src/lib/registry/new-york/example/AlertDemo.vue +++ b/apps/www/src/lib/registry/new-york/example/AlertDemo.vue @@ -1,11 +1,11 @@ diff --git a/apps/www/src/lib/registry/new-york/ui/select/SelectItem.vue b/apps/www/src/lib/registry/new-york/ui/select/SelectItem.vue index 5ebbd0bed..e5c533c3e 100644 --- a/apps/www/src/lib/registry/new-york/ui/select/SelectItem.vue +++ b/apps/www/src/lib/registry/new-york/ui/select/SelectItem.vue @@ -5,8 +5,8 @@ import { type SelectItemProps, SelectItemText, } from 'radix-vue' +import { CheckIcon } from '@radix-icons/vue' import { cn } from '@/lib/utils' -import RadixIconsCheck from '~icons/radix-icons/check' const props = defineProps() @@ -23,7 +23,7 @@ const props = defineProps() > - + diff --git a/apps/www/src/lib/registry/new-york/ui/select/SelectTrigger.vue b/apps/www/src/lib/registry/new-york/ui/select/SelectTrigger.vue index 2811c5bc9..15219cd11 100644 --- a/apps/www/src/lib/registry/new-york/ui/select/SelectTrigger.vue +++ b/apps/www/src/lib/registry/new-york/ui/select/SelectTrigger.vue @@ -1,6 +1,6 @@ \n\n\n" + "content": "\n\n\n" }, { "name": "MenubarContent.vue", @@ -41,7 +41,7 @@ }, { "name": "MenubarRadioItem.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "MenubarSeparator.vue", diff --git a/apps/www/src/public/registry/styles/default/radio-group.json b/apps/www/src/public/registry/styles/default/radio-group.json index e05dcd8ca..6bdf20b77 100644 --- a/apps/www/src/public/registry/styles/default/radio-group.json +++ b/apps/www/src/public/registry/styles/default/radio-group.json @@ -13,7 +13,7 @@ }, { "name": "RadioGroupItem.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/select.json b/apps/www/src/public/registry/styles/default/select.json index 285f7f169..8cd6d9036 100644 --- a/apps/www/src/public/registry/styles/default/select.json +++ b/apps/www/src/public/registry/styles/default/select.json @@ -21,7 +21,7 @@ }, { "name": "SelectItem.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "SelectItemText.vue", diff --git a/apps/www/src/public/registry/styles/default/textarea.json b/apps/www/src/public/registry/styles/default/textarea.json index 7ceaf393a..66db35564 100644 --- a/apps/www/src/public/registry/styles/default/textarea.json +++ b/apps/www/src/public/registry/styles/default/textarea.json @@ -7,7 +7,7 @@ "files": [ { "name": "Textarea.vue", - "content": "\n\n