diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 9088c48d..404c73f9 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -359,6 +359,13 @@ export const Index = { component: () => import('../src/lib/registry/default/example/DatePickerWithRange.vue').then(m => m.default), files: ['../src/lib/registry/default/example/DatePickerWithRange.vue'], }, + DateTimePickerDemo: { + name: 'DateTimePickerDemo', + type: 'components:example', + registryDependencies: ['utils', 'button', 'calendar', 'popover'], + component: () => import('../src/lib/registry/default/example/DateTimePickerDemo.vue').then(m => m.default), + files: ['../src/lib/registry/default/example/DateTimePickerDemo.vue'], + }, DialogCustomCloseButton: { name: 'DialogCustomCloseButton', type: 'components:example', @@ -1194,6 +1201,13 @@ export const Index = { component: () => import('../src/lib/registry/new-york/example/DatePickerWithRange.vue').then(m => m.default), files: ['../src/lib/registry/new-york/example/DatePickerWithRange.vue'], }, + DateTimePickerDemo: { + name: 'DateTimePickerDemo', + type: 'components:example', + registryDependencies: ['utils', 'button', 'calendar', 'popover'], + component: () => import('../src/lib/registry/new-york/example/DateTimePickerDemo.vue').then(m => m.default), + files: ['../src/lib/registry/new-york/example/DateTimePickerDemo.vue'], + }, DialogCustomCloseButton: { name: 'DialogCustomCloseButton', 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 43aef149..d2070ad2 100644 --- a/apps/www/src/content/docs/components/date-picker.md +++ b/apps/www/src/content/docs/components/date-picker.md @@ -64,6 +64,10 @@ const date = ref() +### Date Time Picker + + + ### With Presets diff --git a/apps/www/src/lib/registry/default/example/DateTimePickerDemo.vue b/apps/www/src/lib/registry/default/example/DateTimePickerDemo.vue new file mode 100644 index 00000000..c1e09453 --- /dev/null +++ b/apps/www/src/lib/registry/default/example/DateTimePickerDemo.vue @@ -0,0 +1,36 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/example/DateTimePickerDemo.vue b/apps/www/src/lib/registry/new-york/example/DateTimePickerDemo.vue new file mode 100644 index 00000000..57434c6e --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/DateTimePickerDemo.vue @@ -0,0 +1,36 @@ + + + diff --git a/apps/www/src/public/registry/styles/default/calendar.json b/apps/www/src/public/registry/styles/default/calendar.json index 585f8f5a..4a3376af 100644 --- a/apps/www/src/public/registry/styles/default/calendar.json +++ b/apps/www/src/public/registry/styles/default/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/new-york/calendar.json b/apps/www/src/public/registry/styles/new-york/calendar.json index b03e1e38..f5144ae6 100644 --- a/apps/www/src/public/registry/styles/new-york/calendar.json +++ b/apps/www/src/public/registry/styles/new-york/calendar.json @@ -11,7 +11,7 @@ "files": [ { "name": "Calendar.vue", - "content": "\n\n\n\n\n" + "content": "\n\n\n\n\n" }, { "name": "index.ts",