diff --git a/apps/www/package.json b/apps/www/package.json index 2a945a8a..9640037f 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -23,7 +23,7 @@ "@tanstack/vue-table": "^8.20.5", "@unovis/ts": "^1.4.4", "@unovis/vue": "^1.4.4", - "@vee-validate/zod": "^4.14.7", + "@vee-validate/zod": "^4.13.2", "@vueuse/core": "^11.2.0", "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", diff --git a/apps/www/src/content/docs/components/accordion.md b/apps/www/src/content/docs/components/accordion.md index da3888f6..6638ec03 100644 --- a/apps/www/src/content/docs/components/accordion.md +++ b/apps/www/src/content/docs/components/accordion.md @@ -2,7 +2,7 @@ title: Accordion description: A vertically stacked set of interactive headings that each reveal a section of content. source: apps/www/src/lib/registry/default/ui/accordion -primitive: https://www.reka-ui.com/components/accordion.html +primitive: https://www.reka-ui.com/docs/components/accordion.html --- diff --git a/apps/www/src/content/docs/components/alert-dialog.md b/apps/www/src/content/docs/components/alert-dialog.md index bce11816..5a15b736 100644 --- a/apps/www/src/content/docs/components/alert-dialog.md +++ b/apps/www/src/content/docs/components/alert-dialog.md @@ -2,7 +2,7 @@ title: Alert Dialog description: A modal dialog that interrupts the user with important content and expects a response. source: apps/www/src/lib/registry/default/ui/alert-dialog -primitive: https://www.reka-ui.com/components/alert-dialog.html +primitive: https://www.reka-ui.com/docs/components/alert-dialog.html --- diff --git a/apps/www/src/content/docs/components/aspect-ratio.md b/apps/www/src/content/docs/components/aspect-ratio.md index 4f9252d8..77d14fbf 100644 --- a/apps/www/src/content/docs/components/aspect-ratio.md +++ b/apps/www/src/content/docs/components/aspect-ratio.md @@ -2,7 +2,7 @@ title: Aspect Ratio description: Displays content within a desired ratio. source: apps/www/src/lib/registry/default/ui/aspect-ratio -primitive: https://www.reka-ui.com/components/aspect-ratio.html +primitive: https://www.reka-ui.com/docs/components/aspect-ratio.html --- diff --git a/apps/www/src/content/docs/components/avatar.md b/apps/www/src/content/docs/components/avatar.md index 615a99cd..2794e877 100644 --- a/apps/www/src/content/docs/components/avatar.md +++ b/apps/www/src/content/docs/components/avatar.md @@ -2,7 +2,7 @@ title: Avatar description: An image element with a fallback for representing the user. source: apps/www/src/lib/registry/default/ui/avatar -primitive: https://www.reka-ui.com/components/avatar.html +primitive: https://www.reka-ui.com/docs/components/avatar.html --- diff --git a/apps/www/src/content/docs/components/calendar.md b/apps/www/src/content/docs/components/calendar.md index a7760de2..36df7161 100644 --- a/apps/www/src/content/docs/components/calendar.md +++ b/apps/www/src/content/docs/components/calendar.md @@ -2,7 +2,7 @@ title: Calendar description: A date field component that allows users to enter and edit date. source: apps/www/src/lib/registry/default/ui/calendar -primitive: https://www.reka-ui.com/components/calendar.html +primitive: https://www.reka-ui.com/docs/components/calendar.html --- @@ -15,7 +15,7 @@ If you're looking for **previous** Calendar implementation, checkout to ` component is built on top of the [RadixVue Calendar](https://www.reka-ui.com/components/calendar.html) component, which uses the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package to handle dates. +The `` component is built on top of the [RadixVue Calendar](https://www.reka-ui.com/docs/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](/docs/components/range-calendar) component. @@ -26,7 +26,7 @@ npx shadcn-vue@latest add calendar ``` ::: tip The component depends on the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package, which solves a lot of the problems that come with working with dates and times in JavaScript. -Check [Dates & Times in Radix Vue](https://www.reka-ui.com/guides/dates.html) for more information and installation instructions. +Check [Dates & Times in Radix Vue](https://www.reka-ui.com/docs/guides/dates.html) for more information and installation instructions. ::: ## Datepicker diff --git a/apps/www/src/content/docs/components/checkbox.md b/apps/www/src/content/docs/components/checkbox.md index 3b56791c..1a398ec4 100644 --- a/apps/www/src/content/docs/components/checkbox.md +++ b/apps/www/src/content/docs/components/checkbox.md @@ -2,7 +2,7 @@ title: Checkbox description: A control that allows the user to toggle between checked and not checked. source: apps/www/src/lib/registry/default/ui/checkbox -primitive: https://www.reka-ui.com/components/checkbox.html +primitive: https://www.reka-ui.com/docs/components/checkbox.html --- diff --git a/apps/www/src/content/docs/components/collapsible.md b/apps/www/src/content/docs/components/collapsible.md index 12308bfe..dfb27567 100644 --- a/apps/www/src/content/docs/components/collapsible.md +++ b/apps/www/src/content/docs/components/collapsible.md @@ -2,7 +2,7 @@ title: Collapsible description: An interactive component which expands/collapses a panel. source: apps/www/src/lib/registry/default/ui/collapsible -primitive: https://www.reka-ui.com/components/collapsible.html +primitive: https://www.reka-ui.com/docs/components/collapsible.html --- diff --git a/apps/www/src/content/docs/components/command.md b/apps/www/src/content/docs/components/command.md index 5b4f0ed2..646c0314 100644 --- a/apps/www/src/content/docs/components/command.md +++ b/apps/www/src/content/docs/components/command.md @@ -2,7 +2,7 @@ title: Command description: Fast, composable, unstyled command menu. source: apps/www/src/lib/registry/default/ui/command -primitive: https://www.reka-ui.com/components/combobox.html +primitive: https://www.reka-ui.com/docs/components/combobox.html --- diff --git a/apps/www/src/content/docs/components/context-menu.md b/apps/www/src/content/docs/components/context-menu.md index 8009b70b..8c9b0e5c 100644 --- a/apps/www/src/content/docs/components/context-menu.md +++ b/apps/www/src/content/docs/components/context-menu.md @@ -2,7 +2,7 @@ title: Context Menu description: Displays a menu to the user — such as a set of actions or functions — triggered by a button. source: apps/www/src/lib/registry/default/ui/context-menu -primitive: https://www.reka-ui.com/components/context-menu.html +primitive: https://www.reka-ui.com/docs/components/context-menu.html --- diff --git a/apps/www/src/content/docs/components/date-picker.md b/apps/www/src/content/docs/components/date-picker.md index ff79f8fd..2bed2ea9 100644 --- a/apps/www/src/content/docs/components/date-picker.md +++ b/apps/www/src/content/docs/components/date-picker.md @@ -2,7 +2,7 @@ title: Date Picker description: A date picker component with range and presets. source: apps/www/src/lib/registry/default/example/DatePickerDemo.vue -primitive: https://www.reka-ui.com/components/calendar.html +primitive: https://www.reka-ui.com/docs/components/calendar.html --- diff --git a/apps/www/src/content/docs/components/dialog.md b/apps/www/src/content/docs/components/dialog.md index 5cf2c43a..4f554823 100644 --- a/apps/www/src/content/docs/components/dialog.md +++ b/apps/www/src/content/docs/components/dialog.md @@ -2,7 +2,7 @@ title: Dialog description: A window overlaid on either the primary window or another dialog window, rendering the content underneath inert. source: apps/www/src/lib/registry/default/ui/dialog -primitive: https://www.reka-ui.com/components/dialog.html +primitive: https://www.reka-ui.com/docs/components/dialog.html --- diff --git a/apps/www/src/content/docs/components/dropdown-menu.md b/apps/www/src/content/docs/components/dropdown-menu.md index 2f04df61..b4aebf23 100644 --- a/apps/www/src/content/docs/components/dropdown-menu.md +++ b/apps/www/src/content/docs/components/dropdown-menu.md @@ -2,7 +2,7 @@ title: Dropdown Menu description: Displays a menu to the user — such as a set of actions or functions — triggered by a button. source: apps/www/src/lib/registry/default/ui/dropdown-menu -primitive: https://www.reka-ui.com/components/dropdown-menu.html +primitive: https://www.reka-ui.com/docs/components/dropdown-menu.html --- diff --git a/apps/www/src/content/docs/components/hover-card.md b/apps/www/src/content/docs/components/hover-card.md index 8ebf754e..4ec4c310 100644 --- a/apps/www/src/content/docs/components/hover-card.md +++ b/apps/www/src/content/docs/components/hover-card.md @@ -2,7 +2,7 @@ title: Hover Card description: For sighted users to preview content available behind a link. source: apps/www/src/lib/registry/default/ui/hover-card -primitive: https://www.reka-ui.com/components/hover-card.html +primitive: https://www.reka-ui.com/docs/components/hover-card.html --- diff --git a/apps/www/src/content/docs/components/label.md b/apps/www/src/content/docs/components/label.md index a2ed0945..18fe0ef7 100644 --- a/apps/www/src/content/docs/components/label.md +++ b/apps/www/src/content/docs/components/label.md @@ -2,7 +2,7 @@ title: Label description: Renders an accessible label associated with controls. source: apps/www/src/lib/registry/default/ui/label -primitive: https://www.reka-ui.com/components/label.html +primitive: https://www.reka-ui.com/docs/components/label.html --- diff --git a/apps/www/src/content/docs/components/menubar.md b/apps/www/src/content/docs/components/menubar.md index f9216c87..bcc93383 100644 --- a/apps/www/src/content/docs/components/menubar.md +++ b/apps/www/src/content/docs/components/menubar.md @@ -2,7 +2,7 @@ title: Menubar description: A visually persistent menu common in desktop applications that provides quick access to a consistent set of commands. source: apps/www/src/lib/registry/default/ui/menubar -primitive: https://www.reka-ui.com/components/menubar.html +primitive: https://www.reka-ui.com/docs/components/menubar.html --- diff --git a/apps/www/src/content/docs/components/navigation-menu.md b/apps/www/src/content/docs/components/navigation-menu.md index 64cbcaf4..d7eb6de1 100644 --- a/apps/www/src/content/docs/components/navigation-menu.md +++ b/apps/www/src/content/docs/components/navigation-menu.md @@ -2,7 +2,7 @@ title: Navigation Menu description: A collection of links for navigating websites. source: apps/www/src/lib/registry/default/ui/navigation-menu -primitive: https://www.reka-ui.com/components/navigation-menu.html +primitive: https://www.reka-ui.com/docs/components/navigation-menu.html --- diff --git a/apps/www/src/content/docs/components/number-field.md b/apps/www/src/content/docs/components/number-field.md index 8e371dec..474de632 100644 --- a/apps/www/src/content/docs/components/number-field.md +++ b/apps/www/src/content/docs/components/number-field.md @@ -2,7 +2,7 @@ title: Number Field description: A number field allows a user to enter a number and increment or decrement the value using stepper buttons. source: apps/www/src/lib/registry/default/ui/number-field -primitive: https://www.reka-ui.com/components/number-field.html +primitive: https://www.reka-ui.com/docs/components/number-field.html --- diff --git a/apps/www/src/content/docs/components/pagination.md b/apps/www/src/content/docs/components/pagination.md index 888b0ae3..a820363c 100644 --- a/apps/www/src/content/docs/components/pagination.md +++ b/apps/www/src/content/docs/components/pagination.md @@ -2,7 +2,7 @@ title: Pagination description: Displays data in paged format and provides navigation between pages. source: apps/www/src/lib/registry/default/ui/pagination -primitive: https://www.reka-ui.com/components/pagination.html +primitive: https://www.reka-ui.com/docs/components/pagination.html --- diff --git a/apps/www/src/content/docs/components/pin-input.md b/apps/www/src/content/docs/components/pin-input.md index bea99c2c..eb409900 100644 --- a/apps/www/src/content/docs/components/pin-input.md +++ b/apps/www/src/content/docs/components/pin-input.md @@ -2,7 +2,7 @@ title: PIN Input description: Allows users to input a sequence of one-character alphanumeric inputs. source: apps/www/src/lib/registry/default/ui/pin-input -primitive: https://www.reka-ui.com/components/pin-input.html +primitive: https://www.reka-ui.com/docs/components/pin-input.html --- diff --git a/apps/www/src/content/docs/components/popover.md b/apps/www/src/content/docs/components/popover.md index ef4e8cdb..06db37d9 100644 --- a/apps/www/src/content/docs/components/popover.md +++ b/apps/www/src/content/docs/components/popover.md @@ -2,7 +2,7 @@ title: Popover description: Displays rich content in a portal, triggered by a button. source: apps/www/src/lib/registry/default/ui/popover -primitive: https://www.reka-ui.com/components/popover.html +primitive: https://www.reka-ui.com/docs/components/popover.html --- diff --git a/apps/www/src/content/docs/components/progress.md b/apps/www/src/content/docs/components/progress.md index fafc98df..62f9f24a 100644 --- a/apps/www/src/content/docs/components/progress.md +++ b/apps/www/src/content/docs/components/progress.md @@ -2,7 +2,7 @@ title: Progress description: Displays an indicator showing the completion progress of a task, typically displayed as a progress bar. source: apps/www/src/lib/registry/default/ui/progress -primitive: https://www.reka-ui.com/components/progress.html +primitive: https://www.reka-ui.com/docs/components/progress.html --- diff --git a/apps/www/src/content/docs/components/radio-group.md b/apps/www/src/content/docs/components/radio-group.md index b8b1e87f..0576414c 100644 --- a/apps/www/src/content/docs/components/radio-group.md +++ b/apps/www/src/content/docs/components/radio-group.md @@ -2,7 +2,7 @@ title: Radio Group description: A set of checkable buttons—known as radio buttons—where no more than one of the buttons can be checked at a time. source: apps/www/src/lib/registry/default/ui/radio-group -primitive: https://www.reka-ui.com/components/radio-group.html +primitive: https://www.reka-ui.com/docs/components/radio-group.html --- diff --git a/apps/www/src/content/docs/components/range-calendar.md b/apps/www/src/content/docs/components/range-calendar.md index a883872e..2d095947 100644 --- a/apps/www/src/content/docs/components/range-calendar.md +++ b/apps/www/src/content/docs/components/range-calendar.md @@ -2,14 +2,14 @@ title: Range Calendar description: A calendar component that allows users to select a range of dates. source: apps/www/src/lib/registry/default/ui/range-calendar -primitive: https://www.reka-ui.com/components/range-calendar.html +primitive: https://www.reka-ui.com/docs/components/range-calendar.html --- ## About -The `` component is built on top of the [RadixVue Range Calendar](https://www.reka-ui.com/components/date-range-picker.html) component, which uses the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package to handle dates. +The `` component is built on top of the [RadixVue Range Calendar](https://www.reka-ui.com/docs/components/date-range-picker.html) component, which uses the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package to handle dates. ## Installation diff --git a/apps/www/src/content/docs/components/resizable.md b/apps/www/src/content/docs/components/resizable.md index ae9c6071..3c51b2b6 100644 --- a/apps/www/src/content/docs/components/resizable.md +++ b/apps/www/src/content/docs/components/resizable.md @@ -2,7 +2,7 @@ title: Resizable description: Accessible resizable panel groups and layouts with keyboard support. source: apps/www/src/lib/registry/default/ui/resizable -primitive: https://www.reka-ui.com/components/splitter.html +primitive: https://www.reka-ui.com/docs/components/splitter.html --- diff --git a/apps/www/src/content/docs/components/scroll-area.md b/apps/www/src/content/docs/components/scroll-area.md index 53aee0df..b8bacd55 100644 --- a/apps/www/src/content/docs/components/scroll-area.md +++ b/apps/www/src/content/docs/components/scroll-area.md @@ -2,7 +2,7 @@ title: Scroll-area description: Augments native scroll functionality for custom, cross-browser styling. source: apps/www/src/lib/registry/default/ui/scroll-area -primitive: https://www.reka-ui.com/components/scroll-area.html +primitive: https://www.reka-ui.com/docs/components/scroll-area.html --- diff --git a/apps/www/src/content/docs/components/select.md b/apps/www/src/content/docs/components/select.md index 7a2ef593..ad69d5ee 100644 --- a/apps/www/src/content/docs/components/select.md +++ b/apps/www/src/content/docs/components/select.md @@ -2,7 +2,7 @@ title: Select description: Displays a list of options for the user to pick from—triggered by a button. source: apps/www/src/lib/registry/default/ui/select -primitive: https://www.reka-ui.com/components/select.html +primitive: https://www.reka-ui.com/docs/components/select.html --- diff --git a/apps/www/src/content/docs/components/separator.md b/apps/www/src/content/docs/components/separator.md index 39a0e171..c3cdc648 100644 --- a/apps/www/src/content/docs/components/separator.md +++ b/apps/www/src/content/docs/components/separator.md @@ -2,7 +2,7 @@ title: Separator description: Visually or semantically separates content. source: apps/www/src/lib/registry/default/ui/separator -primitive: https://www.reka-ui.com/components/separator.html +primitive: https://www.reka-ui.com/docs/components/separator.html --- diff --git a/apps/www/src/content/docs/components/sheet.md b/apps/www/src/content/docs/components/sheet.md index 40f005e2..568288e7 100644 --- a/apps/www/src/content/docs/components/sheet.md +++ b/apps/www/src/content/docs/components/sheet.md @@ -2,7 +2,7 @@ title: Sheet description: Extends the Dialog component to display content that complements the main content of the screen. source: apps/www/src/lib/registry/default/ui/sheet -primitive: https://www.reka-ui.com/components/dialog.html +primitive: https://www.reka-ui.com/docs/components/dialog.html --- diff --git a/apps/www/src/content/docs/components/slider.md b/apps/www/src/content/docs/components/slider.md index f3b48b2c..3ef17bb2 100644 --- a/apps/www/src/content/docs/components/slider.md +++ b/apps/www/src/content/docs/components/slider.md @@ -2,7 +2,7 @@ title: Slider description: An input where the user selects a value from within a given range. source: apps/www/src/lib/registry/default/ui/slider -primitive: https://www.reka-ui.com/components/slider.html +primitive: https://www.reka-ui.com/docs/components/slider.html --- diff --git a/apps/www/src/content/docs/components/stepper.md b/apps/www/src/content/docs/components/stepper.md index 0be967ea..2c75017d 100644 --- a/apps/www/src/content/docs/components/stepper.md +++ b/apps/www/src/content/docs/components/stepper.md @@ -2,7 +2,7 @@ title: Stepper description: A set of steps that are used to indicate progress through a multi-step process. source: apps/www/src/lib/registry/default/ui/stepper -primitive: https://www.reka-ui.com/components/stepper.html +primitive: https://www.reka-ui.com/docs/components/stepper.html --- diff --git a/apps/www/src/content/docs/components/switch.md b/apps/www/src/content/docs/components/switch.md index 5fa4a7e2..aecce764 100644 --- a/apps/www/src/content/docs/components/switch.md +++ b/apps/www/src/content/docs/components/switch.md @@ -2,7 +2,7 @@ title: Switch description: A control that allows the user to toggle between checked and not checked. source: apps/www/src/lib/registry/default/ui/switch -primitive: https://www.reka-ui.com/components/switch.html +primitive: https://www.reka-ui.com/docs/components/switch.html --- diff --git a/apps/www/src/content/docs/components/tabs.md b/apps/www/src/content/docs/components/tabs.md index 00e3e6eb..32a28e9f 100644 --- a/apps/www/src/content/docs/components/tabs.md +++ b/apps/www/src/content/docs/components/tabs.md @@ -2,7 +2,7 @@ title: Tabs description: A set of layered sections of content—known as tab panels—that are displayed one at a time. source: apps/www/src/lib/registry/default/ui/tabs -primitive: https://www.reka-ui.com/components/tabs.html +primitive: https://www.reka-ui.com/docs/components/tabs.html --- diff --git a/apps/www/src/content/docs/components/tags-input.md b/apps/www/src/content/docs/components/tags-input.md index 736bf905..6f691e5b 100644 --- a/apps/www/src/content/docs/components/tags-input.md +++ b/apps/www/src/content/docs/components/tags-input.md @@ -2,7 +2,7 @@ title: Tags Input description: Tag inputs render tags inside an input, followed by an actual text input. source: apps/www/src/lib/registry/default/ui/tags-input -primitive: https://www.reka-ui.com/components/tags-input.html +primitive: https://www.reka-ui.com/docs/components/tags-input.html --- diff --git a/apps/www/src/content/docs/components/toast.md b/apps/www/src/content/docs/components/toast.md index 2e3b6ceb..568adb3b 100644 --- a/apps/www/src/content/docs/components/toast.md +++ b/apps/www/src/content/docs/components/toast.md @@ -2,7 +2,7 @@ title: Toast description: A succinct message that is displayed temporarily. source: apps/www/src/lib/registry/default/ui/toast -primitive: https://www.reka-ui.com/components/toast.html +primitive: https://www.reka-ui.com/docs/components/toast.html --- diff --git a/apps/www/src/content/docs/components/toggle-group.md b/apps/www/src/content/docs/components/toggle-group.md index d004f9e7..60523148 100644 --- a/apps/www/src/content/docs/components/toggle-group.md +++ b/apps/www/src/content/docs/components/toggle-group.md @@ -2,7 +2,7 @@ title: Toggle Group description: A set of two-state buttons that can be toggled on or off. source: apps/www/src/lib/registry/default/ui/toggle-group -primitive: https://www.reka-ui.com/components/toggle-group.html +primitive: https://www.reka-ui.com/docs/components/toggle-group.html --- diff --git a/apps/www/src/content/docs/components/toggle.md b/apps/www/src/content/docs/components/toggle.md index 02b2a1bd..6a911507 100644 --- a/apps/www/src/content/docs/components/toggle.md +++ b/apps/www/src/content/docs/components/toggle.md @@ -2,7 +2,7 @@ title: Toggle description: A two-state button that can be either on or off. source: apps/www/src/lib/registry/default/ui/toggle -primitive: https://www.reka-ui.com/components/toggle.html +primitive: https://www.reka-ui.com/docs/components/toggle.html --- diff --git a/apps/www/src/content/docs/components/tooltip.md b/apps/www/src/content/docs/components/tooltip.md index d482f68a..bc33c9aa 100644 --- a/apps/www/src/content/docs/components/tooltip.md +++ b/apps/www/src/content/docs/components/tooltip.md @@ -2,7 +2,7 @@ title: Tooltip description: A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it. source: apps/www/src/lib/registry/default/ui/tooltip -primitive: https://www.reka-ui.com/components/tooltip.html +primitive: https://www.reka-ui.com/docs/components/tooltip.html --- diff --git a/apps/www/src/content/docs/contribution.md b/apps/www/src/content/docs/contribution.md index a8e4917b..ee54db1f 100644 --- a/apps/www/src/content/docs/contribution.md +++ b/apps/www/src/content/docs/contribution.md @@ -180,7 +180,7 @@ There are many cases that you need to wrap `Reka UI` components. ### Props & Events All of the `Reka UI` compoennts expose their prop and emit types. We need to forward any props/events that are coming from outside to the `Reka UI` component. -To do so, we have a helper function named [`useForwardPropsEmits`](https://www.reka-ui.com/utilities/use-forward-props-emits.html) that combines props and events that must be binded to the child radix component. +To do so, we have a helper function named [`useForwardPropsEmits`](https://www.reka-ui.com/docs/utilities/use-forward-props-emits.html) that combines props and events that must be binded to the child radix component. To be more clear, the function `useForwardPropsEmits` takes in props and an optional emit function, and returns a computed object that combines the parsed props and emits as props. @@ -264,7 +264,7 @@ const props = defineProps() ### Boolean Props When you are building a wrapper for a component, in some cases you want to ignore Vue [Props Boolean Casting](https://vuejs.org/guide/components/props.html#boolean-casting). -You can either set default value as undefined for all the boolean field, or you can use [`useForwardProps`](https://www.reka-ui.com/utilities/use-forward-props.html) composable. +You can either set default value as undefined for all the boolean field, or you can use [`useForwardProps`](https://www.reka-ui.com/docs/utilities/use-forward-props.html) composable. Take a look at `AccordionItem.vue` @@ -300,7 +300,7 @@ Since `AccordionItemProps` type has atleast one boolean property, we need to use Note that `useForwardPropsEmits` use `useForwardProps` under the hood. ### Component as Root -Whenever your root component is a `Component` Primitive from vue, it's easier to use [`Primitive`](https://www.reka-ui.com/utilities/primitive.html) instead. +Whenever your root component is a `Component` Primitive from vue, it's easier to use [`Primitive`](https://www.reka-ui.com/docs/utilities/primitive.html) instead. Let's take a look at `Button.vue` @@ -333,7 +333,7 @@ const props = withDefaults(defineProps(), { ``` -You'll need to extend `PrimitiveProps` in your props to support `Primitive` component. In most cases you would also need a default value for [`as`](https://www.reka-ui.com/utilities/primitive.html#changing-as-value) property. +You'll need to extend `PrimitiveProps` in your props to support `Primitive` component. In most cases you would also need a default value for [`as`](https://www.reka-ui.com/docs/utilities/primitive.html#changing-as-value) property. ## Updating with `shadcn/ui` diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8085d31..3121ff52 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,7 +87,7 @@ importers: specifier: ^1.4.4 version: 1.4.4(@unovis/ts@1.4.4)(vue@3.5.13(typescript@5.6.3)) '@vee-validate/zod': - specifier: ^4.14.7 + specifier: ^4.13.2 version: 4.14.7(vue@3.5.13(typescript@5.6.3)) '@vueuse/core': specifier: ^11.2.0