diff --git a/apps/www/package.json b/apps/www/package.json index fcb6383c..8a862923 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -16,6 +16,7 @@ }, "dependencies": { "@formkit/auto-animate": "^0.8.1", + "@internationalized/date": "^3.5.2", "@radix-icons/vue": "^1.0.0", "@stackblitz/sdk": "^1.9.0", "@tanstack/vue-table": "^8.14.0", @@ -30,10 +31,9 @@ "embla-carousel": "^8.0.0", "embla-carousel-autoplay": "^8.0.0", "embla-carousel-vue": "^8.0.0", - "flat-internationalized-date": "^1.2.3", "lucide-vue-next": "^0.359.0", "magic-string": "^0.30.8", - "radix-vue": "^1.5.3", + "radix-vue": "^1.6.1", "tailwindcss-animate": "^1.0.7", "v-calendar": "^3.1.2", "vaul-vue": "^0.1.0", @@ -68,8 +68,8 @@ "tsx": "^4.7.1", "typescript": "^5.4.2", "unplugin-icons": "^0.18.5", - "vite": "^5.2.2", - "vitepress": "^1.0.0-rc.45", + "vite": "^5.2.7", + "vitepress": "^1.0.1", "vue-tsc": "^2.0.7" } } diff --git a/apps/www/src/content/docs/components/calendar.md b/apps/www/src/content/docs/components/calendar.md index 5c1812a0..ff489df6 100644 --- a/apps/www/src/content/docs/components/calendar.md +++ b/apps/www/src/content/docs/components/calendar.md @@ -9,7 +9,7 @@ primitive: https://www.radix-vue.com/components/calendar.html ## About -The `` component is built on top of the [RadixVue Calendar](https://www.radix-vue.com/components/calendar.html) component, which uses the [flat-internationalized-date](https://github.com/epr3/flat-internationalized-date) package to handle dates. +The `` component is built on top of the [RadixVue Calendar](https://www.radix-vue.com/components/calendar.html) component, which uses the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package to handle dates. If you're looking for a range calendar, check out the [Range Calendar](#asdasd) component. @@ -27,6 +27,10 @@ You can use the `` component to build a date picker. See the [Date P ### Form - - + +## Advanced Customization + +### Month & Year Selects + + diff --git a/apps/www/src/lib/registry/default/example/CalendarDemo.vue b/apps/www/src/lib/registry/default/example/CalendarDemo.vue index db010b45..5795206b 100644 --- a/apps/www/src/lib/registry/default/example/CalendarDemo.vue +++ b/apps/www/src/lib/registry/default/example/CalendarDemo.vue @@ -1,9 +1,9 @@