diff --git a/apps/www/__registry__/index.ts b/apps/www/__registry__/index.ts index 15a985b9..6d6a5395 100644 --- a/apps/www/__registry__/index.ts +++ b/apps/www/__registry__/index.ts @@ -423,6 +423,13 @@ export const Index = { component: () => import("../src/lib/registry/default/example/DatePickerForm.vue").then((m) => m.default), files: ["../src/lib/registry/default/example/DatePickerForm.vue"], }, + "DatePickerWithIndependentMonths": { + name: "DatePickerWithIndependentMonths", + type: "components:example", + registryDependencies: ["range-calendar","button","popover","utils"], + component: () => import("../src/lib/registry/default/example/DatePickerWithIndependentMonths.vue").then((m) => m.default), + files: ["../src/lib/registry/default/example/DatePickerWithIndependentMonths.vue"], + }, "DatePickerWithPresets": { name: "DatePickerWithPresets", type: "components:example", @@ -1656,6 +1663,13 @@ export const Index = { component: () => import("../src/lib/registry/new-york/example/DatePickerForm.vue").then((m) => m.default), files: ["../src/lib/registry/new-york/example/DatePickerForm.vue"], }, + "DatePickerWithIndependentMonths": { + name: "DatePickerWithIndependentMonths", + type: "components:example", + registryDependencies: ["range-calendar","button","popover","utils"], + component: () => import("../src/lib/registry/new-york/example/DatePickerWithIndependentMonths.vue").then((m) => m.default), + files: ["../src/lib/registry/new-york/example/DatePickerWithIndependentMonths.vue"], + }, "DatePickerWithPresets": { name: "DatePickerWithPresets", 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 6073c593..85c5c3c9 100644 --- a/apps/www/src/content/docs/components/date-picker.md +++ b/apps/www/src/content/docs/components/date-picker.md @@ -29,6 +29,10 @@ See installations instructions for the [Popover](/docs/components/popover), [Cal +### Date Range Picker with Independent Months + + + ### With Presets diff --git a/apps/www/src/lib/registry/default/example/DatePickerWithIndependentMonths.vue b/apps/www/src/lib/registry/default/example/DatePickerWithIndependentMonths.vue new file mode 100644 index 00000000..4cfbd3fd --- /dev/null +++ b/apps/www/src/lib/registry/default/example/DatePickerWithIndependentMonths.vue @@ -0,0 +1,283 @@ + + + diff --git a/apps/www/src/lib/registry/new-york/example/DatePickerWithIndependentMonths.vue b/apps/www/src/lib/registry/new-york/example/DatePickerWithIndependentMonths.vue new file mode 100644 index 00000000..070e026f --- /dev/null +++ b/apps/www/src/lib/registry/new-york/example/DatePickerWithIndependentMonths.vue @@ -0,0 +1,279 @@ + + +