Skip to content

Commit

Permalink
docs: run codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Nov 19, 2024
1 parent 00adf3f commit a2f203e
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 14 deletions.
6 changes: 6 additions & 0 deletions docs/content/meta/AccordionContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
'description': '<p>Change the default rendered element for the one passed as a child, merging their props and behavior.</p>\n<p>Read our <a href=\'https://www.radix-vue.com/guides/composition.html\'>Composition</a> guide for more details.</p>\n',
'type': 'boolean',
'required': false
},
{
'name': 'forceMount',
'description': '<p>Used to force mounting when more control is needed. Useful when\ncontrolling animation with Vue animation libraries.</p>\n',
'type': 'boolean',
'required': false
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/ListboxRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
{
'name': 'selectionBehavior',
'description': '<p>How multiple selection should behave in the collection.</p>\n',
'type': '\'replace\' | \'toggle\'',
'type': '\'toggle\' | \'replace\'',
'required': false,
'default': '\'toggle\''
}
Expand Down
10 changes: 10 additions & 0 deletions docs/content/meta/ListboxVirtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,15 @@
'name': 'option',
'description': '',
'type': 'string | number | false | true | Record<string, any>'
},
{
'name': 'virtualizer',
'description': '',
'type': 'Virtualizer<Element | Window, Element>'
},
{
'name': 'virtualItem',
'description': '',
'type': 'VirtualItem<Element>'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/NavigationMenuLink.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
{
'name': 'select',
'description': '<p>Event handler called when the user selects a link (via mouse or keyboard).</p>\n<p>Calling <code>event.preventDefault</code> in this handler will prevent the navigation menu from closing when selecting that link.</p>\n',
'type': '[payload: MouseEvent]'
'type': '[payload: CustomEvent<{ originalEvent: Event; }>]'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/StepperItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
{
'name': 'disabled',
'description': '<p>When <code>true</code>, prevents the user from interacting with the tab.</p>\n',
'description': '<p>When <code>true</code>, prevents the user from interacting with the step.</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
Expand Down
8 changes: 4 additions & 4 deletions docs/content/meta/StepperRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
{
'name': 'defaultValue',
'description': '<p>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</p>\n',
'description': '<p>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.</p>\n',
'type': 'number',
'required': false,
'default': '1'
Expand All @@ -29,20 +29,20 @@
},
{
'name': 'linear',
'description': '<p>Whether or not the steps must be completed in order</p>\n',
'description': '<p>Whether or not the steps must be completed in order.</p>\n',
'type': 'boolean',
'required': false,
'default': 'true'
},
{
'name': 'modelValue',
'description': '<p>The controlled value of the tab to activate. Can be bound as <code>v-model</code>.</p>\n',
'description': '<p>The controlled value of the step to activate. Can be bound as <code>v-model</code>.</p>\n',
'type': 'number',
'required': false
},
{
'name': 'orientation',
'description': '<p>The orientation the tabs are laid out.\nMainly so arrow navigation is done accordingly (left &amp; right vs. up &amp; down)</p>\n',
'description': '<p>The orientation the steps are laid out.\nMainly so arrow navigation is done accordingly (left &amp; right vs. up &amp; down).</p>\n',
'type': '\'vertical\' | \'horizontal\'',
'required': false,
'default': '\'horizontal\''
Expand Down
15 changes: 8 additions & 7 deletions docs/content/meta/TreeRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,19 @@
'type': 'string[]',
'required': false
},
{
'name': 'getChildren',
'description': '<p>This function is passed the index of each item and should return a list of children for that item</p>\n',
'type': '((val: Record<string, any>) => Record<string, any>[])',
'required': false,
'default': 'val.children'
},
{
'name': 'getKey',
'description': '<p>This function is passed the index of each item and should return a unique key for that item</p>\n',
'type': '(val: Record<string, any>) => string',
'required': true
},
{
'name': 'getChildren',
'description': '<p>This function is passed the index of each item and should return a list of children for that item</p>\n',
'type': '(val: Record<string, any>) => Record<string, any>[] | undefined',
'required': false
},
{
'name': 'items',
'description': '<p>List of items</p>\n',
Expand Down Expand Up @@ -83,7 +84,7 @@
{
'name': 'selectionBehavior',
'description': '<p>How multiple selection should behave in the collection.</p>\n',
'type': '\'replace\' | \'toggle\'',
'type': '\'toggle\' | \'replace\'',
'required': false,
'default': '\'toggle\''
}
Expand Down
10 changes: 10 additions & 0 deletions docs/content/meta/TreeVirtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,15 @@
'name': 'item',
'description': '',
'type': 'FlattenedItem<Record<string, any>>'
},
{
'name': 'virtualizer',
'description': '',
'type': 'Virtualizer<Element | Window, Element>'
},
{
'name': 'virtualItem',
'description': '',
'type': 'VirtualItem<Element>'
}
]" />

0 comments on commit a2f203e

Please sign in to comment.