diff --git a/docs/content/meta/AccordionContent.md b/docs/content/meta/AccordionContent.md index f13bfa76a..cac73e333 100644 --- a/docs/content/meta/AccordionContent.md +++ b/docs/content/meta/AccordionContent.md @@ -13,5 +13,11 @@ 'description': '

Change the default rendered element for the one passed as a child, merging their props and behavior.

\n

Read our Composition guide for more details.

\n', 'type': 'boolean', 'required': false + }, + { + 'name': 'forceMount', + 'description': '

Used to force mounting when more control is needed. Useful when\ncontrolling animation with Vue animation libraries.

\n', + 'type': 'boolean', + 'required': false } ]" /> diff --git a/docs/content/meta/ListboxRoot.md b/docs/content/meta/ListboxRoot.md index 12e99fd8f..157c79e2e 100644 --- a/docs/content/meta/ListboxRoot.md +++ b/docs/content/meta/ListboxRoot.md @@ -72,7 +72,7 @@ { 'name': 'selectionBehavior', 'description': '

How multiple selection should behave in the collection.

\n', - 'type': '\'replace\' | \'toggle\'', + 'type': '\'toggle\' | \'replace\'', 'required': false, 'default': '\'toggle\'' } diff --git a/docs/content/meta/ListboxVirtualizer.md b/docs/content/meta/ListboxVirtualizer.md index cdabbdd71..545426d46 100644 --- a/docs/content/meta/ListboxVirtualizer.md +++ b/docs/content/meta/ListboxVirtualizer.md @@ -26,5 +26,15 @@ 'name': 'option', 'description': '', 'type': 'string | number | false | true | Record' + }, + { + 'name': 'virtualizer', + 'description': '', + 'type': 'Virtualizer' + }, + { + 'name': 'virtualItem', + 'description': '', + 'type': 'VirtualItem' } ]" /> diff --git a/docs/content/meta/NavigationMenuLink.md b/docs/content/meta/NavigationMenuLink.md index 6bd193f82..4fc67b46d 100644 --- a/docs/content/meta/NavigationMenuLink.md +++ b/docs/content/meta/NavigationMenuLink.md @@ -26,6 +26,6 @@ { 'name': 'select', 'description': '

Event handler called when the user selects a link (via mouse or keyboard).

\n

Calling event.preventDefault in this handler will prevent the navigation menu from closing when selecting that link.

\n', - 'type': '[payload: MouseEvent]' + 'type': '[payload: CustomEvent<{ originalEvent: Event; }>]' } ]" /> diff --git a/docs/content/meta/StepperItem.md b/docs/content/meta/StepperItem.md index 192f0c9bf..6baeb5a40 100644 --- a/docs/content/meta/StepperItem.md +++ b/docs/content/meta/StepperItem.md @@ -23,7 +23,7 @@ }, { 'name': 'disabled', - 'description': '

When true, prevents the user from interacting with the tab.

\n', + 'description': '

When true, prevents the user from interacting with the step.

\n', 'type': 'boolean', 'required': false, 'default': 'false' diff --git a/docs/content/meta/StepperRoot.md b/docs/content/meta/StepperRoot.md index 4fa53e8e8..0dfd9351d 100644 --- a/docs/content/meta/StepperRoot.md +++ b/docs/content/meta/StepperRoot.md @@ -16,7 +16,7 @@ }, { 'name': 'defaultValue', - 'description': '

The value of the tab that should be active when initially rendered. Use when you do not need to control the state of the tabs

\n', + 'description': '

The value of the step that should be active when initially rendered. Use when you do not need to control the state of the steps.

\n', 'type': 'number', 'required': false, 'default': '1' @@ -29,20 +29,20 @@ }, { 'name': 'linear', - 'description': '

Whether or not the steps must be completed in order

\n', + 'description': '

Whether or not the steps must be completed in order.

\n', 'type': 'boolean', 'required': false, 'default': 'true' }, { 'name': 'modelValue', - 'description': '

The controlled value of the tab to activate. Can be bound as v-model.

\n', + 'description': '

The controlled value of the step to activate. Can be bound as v-model.

\n', 'type': 'number', 'required': false }, { 'name': 'orientation', - 'description': '

The orientation the tabs are laid out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down)

\n', + 'description': '

The orientation the steps are laid out.\nMainly so arrow navigation is done accordingly (left & right vs. up & down).

\n', 'type': '\'vertical\' | \'horizontal\'', 'required': false, 'default': '\'horizontal\'' diff --git a/docs/content/meta/TreeRoot.md b/docs/content/meta/TreeRoot.md index 444a3edf8..8ae470aa0 100644 --- a/docs/content/meta/TreeRoot.md +++ b/docs/content/meta/TreeRoot.md @@ -44,18 +44,19 @@ 'type': 'string[]', 'required': false }, + { + 'name': 'getChildren', + 'description': '

This function is passed the index of each item and should return a list of children for that item

\n', + 'type': '((val: Record) => Record[])', + 'required': false, + 'default': 'val.children' + }, { 'name': 'getKey', 'description': '

This function is passed the index of each item and should return a unique key for that item

\n', 'type': '(val: Record) => string', 'required': true }, - { - 'name': 'getChildren', - 'description': '

This function is passed the index of each item and should return a list of children for that item

\n', - 'type': '(val: Record) => Record[] | undefined', - 'required': false - }, { 'name': 'items', 'description': '

List of items

\n', @@ -83,7 +84,7 @@ { 'name': 'selectionBehavior', 'description': '

How multiple selection should behave in the collection.

\n', - 'type': '\'replace\' | \'toggle\'', + 'type': '\'toggle\' | \'replace\'', 'required': false, 'default': '\'toggle\'' } diff --git a/docs/content/meta/TreeVirtualizer.md b/docs/content/meta/TreeVirtualizer.md index 9f479e4e0..8b5e18201 100644 --- a/docs/content/meta/TreeVirtualizer.md +++ b/docs/content/meta/TreeVirtualizer.md @@ -20,5 +20,15 @@ 'name': 'item', 'description': '', 'type': 'FlattenedItem>' + }, + { + 'name': 'virtualizer', + 'description': '', + 'type': 'Virtualizer' + }, + { + 'name': 'virtualItem', + 'description': '', + 'type': 'VirtualItem' } ]" />