diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 08289ff8..2c7ae3aa 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -506,6 +506,13 @@ export const Index = { component: () => import('../src/lib/registry/default/example/RadioGroupForm.vue').then(m => m.default), files: ['../src/lib/registry/default/example/RadioGroupForm.vue'], }, + RangePickerWithSlot: { + name: 'RangePickerWithSlot', + type: 'components:example', + registryDependencies: ['utils', 'button', 'calendar', 'popover'], + component: () => import('../src/lib/registry/default/example/RangePickerWithSlot.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/RangePickerWithSlot.vue'], + }, ScrollAreaDemo: { name: 'ScrollAreaDemo', type: 'components:example', @@ -1390,6 +1397,13 @@ export const Index = { component: () => import('../src/lib/registry/new-york/example/RadioGroupForm.vue').then(m => m.default), files: ['../src/lib/registry/new-york/example/RadioGroupForm.vue'], }, + RangePickerWithSlot: { + name: 'RangePickerWithSlot', + type: 'components:example', + registryDependencies: ['utils', 'button', 'calendar', 'popover'], + component: () => import('../src/lib/registry/new-york/example/RangePickerWithSlot.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/RangePickerWithSlot.vue'], + }, ScrollAreaDemo: { name: 'ScrollAreaDemo', type: 'components:example', diff --git a/apps/www/src/content/docs/components/date-picker.md b/apps/www/src/content/docs/components/date-picker.md index d2070ad2..3fbdc563 100644 --- a/apps/www/src/content/docs/components/date-picker.md +++ b/apps/www/src/content/docs/components/date-picker.md @@ -72,6 +72,10 @@ const date = ref() +### With Slot + + + ### Form diff --git a/apps/www/src/lib/registry/default/example/RangePickerWithSlot.vue b/apps/www/src/lib/registry/default/example/RangePickerWithSlot.vue new file mode 100644 index 00000000..be4ab976 --- /dev/null +++ b/apps/www/src/lib/registry/default/example/RangePickerWithSlot.vue @@ -0,0 +1,69 @@ + + +