Skip to content

Commit

Permalink
fix: generate scripts and results
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Oct 5, 2024
1 parent 2026fcf commit 5923754
Show file tree
Hide file tree
Showing 27 changed files with 102 additions and 214 deletions.
177 changes: 0 additions & 177 deletions docs/content/meta/CalendarRoot.md
Original file line number Diff line number Diff line change
@@ -1,182 +1,5 @@
<!-- This file was automatic generated. Do not edit it manually -->

<PropsTable :data="[
{
'name': 'as',
'description': '<p>The element or component this component should render as. Can be overwrite by <code>asChild</code></p>\n',
'type': 'AsTag | Component',
'required': false,
'default': '\'div\''
},
{
'name': 'asChild',
'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.reka-ui.com/docs/guides/composition\'>Composition</a> guide for more details.</p>\n',
'type': 'boolean',
'required': false
},
{
'name': 'calendarLabel',
'description': '<p>The accessible label for the calendar</p>\n',
'type': 'string',
'required': false
},
{
'name': 'defaultPlaceholder',
'description': '<p>The default placeholder date</p>\n',
'type': 'DateValue',
'required': false
},
{
'name': 'defaultValue',
'description': '<p>The default value for the calendar</p>\n',
'type': 'DateValue',
'required': false
},
{
'name': 'dir',
'description': '<p>The reading direction of the calendar when applicable. &lt;br&gt; If omitted, inherits globally from <code>ConfigProvider</code> or assumes LTR (left-to-right) reading mode.</p>\n',
'type': '\'ltr\' | \'rtl\'',
'required': false
},
{
'name': 'disabled',
'description': '<p>Whether or not the calendar is disabled</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'fixedWeeks',
'description': '<p>Whether or not to always display 6 weeks in the calendar</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'initialFocus',
'description': '<p>If true, the calendar will focus the selected day, today, or the first day of the month depending on what is visible when the calendar is mounted</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'isDateDisabled',
'description': '<p>A function that returns whether or not a date is disabled</p>\n',
'type': 'Matcher',
'required': false
},
{
'name': 'isDateUnavailable',
'description': '<p>A function that returns whether or not a date is unavailable</p>\n',
'type': 'Matcher',
'required': false
},
{
'name': 'locale',
'description': '<p>The locale to use for formatting dates</p>\n',
'type': 'string',
'required': false
},
{
'name': 'maxValue',
'description': '<p>The maximum date that can be selected</p>\n',
'type': 'DateValue',
'required': false
},
{
'name': 'minValue',
'description': '<p>The minimum date that can be selected</p>\n',
'type': 'DateValue',
'required': false
},
{
'name': 'modelValue',
'description': '<p>The controlled checked state of the calendar. Can be bound as <code>v-model</code>.</p>\n',
'type': 'DateValue | DateValue[]',
'required': false
},
{
'name': 'multiple',
'description': '<p>Whether or not multiple dates can be selected</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'nextPage',
'description': '<p>A function that returns the next page of the calendar. It receives the current placeholder as an argument inside the component.</p>\n',
'type': '((placeholder: DateValue) => DateValue)',
'required': false
},
{
'name': 'numberOfMonths',
'description': '<p>The number of months to display at once</p>\n',
'type': 'number',
'required': false,
'default': '1'
},
{
'name': 'pagedNavigation',
'description': '<p>This property causes the previous and next buttons to navigate by the number of months displayed at once, rather than one month</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'placeholder',
'description': '<p>The placeholder date, which is used to determine what month to display when no date is selected. This updates as the user navigates the calendar and can be used to programmatically control the calendar view</p>\n',
'type': 'DateValue',
'required': false
},
{
'name': 'preventDeselect',
'description': '<p>Whether or not to prevent the user from deselecting a date without selecting another date first</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'prevPage',
'description': '<p>A function that returns the previous page of the calendar. It receives the current placeholder as an argument inside the component.</p>\n',
'type': '((placeholder: DateValue) => DateValue)',
'required': false
},
{
'name': 'readonly',
'description': '<p>Whether or not the calendar is readonly</p>\n',
'type': 'boolean',
'required': false,
'default': 'false'
},
{
'name': 'weekdayFormat',
'description': '<p>The format to use for the weekday strings provided via the weekdays slot prop</p>\n',
'type': '\'narrow\' | \'short\' | \'long\'',
'required': false,
'default': '\'narrow\''
},
{
'name': 'weekStartsOn',
'description': '<p>The day of the week to start the calendar on</p>\n',
'type': '0 | 1 | 2 | 3 | 4 | 5 | 6',
'required': false,
'default': '0'
}
]" />

<EmitsTable :data="[
{
'name': 'update:modelValue',
'description': '<p>Event handler called whenever the model value changes</p>\n',
'type': '[date: DateValue]'
},
{
'name': 'update:placeholder',
'description': '<p>Event handler called whenever the placeholder value changes</p>\n',
'type': '[date: DateValue]'
}
]" />

<SlotsTable :data="[
{
'name': 'date',
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/ComboboxContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/ComboboxVirtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
{
'name': 'virtualItem',
'description': '',
'type': 'VirtualItem<Element>'
'type': 'VirtualItem'
}
]" />
8 changes: 8 additions & 0 deletions docs/content/meta/ConfigProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,11 @@
'required': false
}
]" />

<MethodsTable :data="[
{
'name': 'useId',
'description': '<p>The global <code>useId</code> injection as a workaround for preventing hydration issue.</p>\n',
'type': '() => string'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/ContextMenuContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/ContextMenuSubContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
5 changes: 5 additions & 0 deletions docs/content/meta/DateFieldRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,11 @@
]" />

<MethodsTable :data="[
{
'name': 'isDateUnavailable',
'description': '<p>A function that returns whether or not a date is unavailable</p>\n',
'type': 'Matcher'
},
{
'name': 'setFocusedElement',
'description': '<p>Helper to set the focused element inside the DateField</p>\n',
Expand Down
12 changes: 6 additions & 6 deletions docs/content/meta/DatePickerCalendar.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
{
'name': 'date',
'description': '',
'type': 'DateValue'
'type': 'any'
},
{
'name': 'grid',
'description': '',
'type': 'Grid<DateValue>[]'
'type': 'any'
},
{
'name': 'weekDays',
'description': '',
'type': 'string[]'
'type': 'any'
},
{
'name': 'weekStartsOn',
'description': '',
'type': '0 | 1 | 2 | 3 | 4 | 5 | 6'
'type': 'any'
},
{
'name': 'locale',
'description': '',
'type': 'string'
'type': 'any'
},
{
'name': 'fixedWeeks',
'description': '',
'type': 'boolean'
'type': 'any'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/DatePickerContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
15 changes: 14 additions & 1 deletion docs/content/meta/DatePickerRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
{
'name': 'weekdayFormat',
'description': '<p>The format to use for the weekday strings provided via the weekdays slot prop</p>\n',
'type': '\'narrow\' | \'short\' | \'long\'',
'type': '\'long\' | \'short\' | \'narrow\'',
'required': false,
'default': '\'narrow\''
},
Expand Down Expand Up @@ -206,3 +206,16 @@
'type': '[date: DateValue]'
}
]" />

<MethodsTable :data="[
{
'name': 'isDateDisabled',
'description': '<p>A function that returns whether or not a date is disabled</p>\n',
'type': 'Matcher'
},
{
'name': 'isDateUnavailable',
'description': '<p>A function that returns whether or not a date is unavailable</p>\n',
'type': 'Matcher'
}
]" />
5 changes: 5 additions & 0 deletions docs/content/meta/DateRangeFieldRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@
]" />

<MethodsTable :data="[
{
'name': 'isDateUnavailable',
'description': '<p>A function that returns whether or not a date is unavailable</p>\n',
'type': 'Matcher'
},
{
'name': 'setFocusedElement',
'description': '',
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/DateRangePickerContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
15 changes: 14 additions & 1 deletion docs/content/meta/DateRangePickerRoot.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
{
'name': 'weekdayFormat',
'description': '<p>The format to use for the weekday strings provided via the weekdays slot prop</p>\n',
'type': '\'narrow\' | \'short\' | \'long\'',
'type': '\'long\' | \'short\' | \'narrow\'',
'required': false,
'default': '\'narrow\''
},
Expand Down Expand Up @@ -212,3 +212,16 @@
'type': '[date: DateValue]'
}
]" />

<MethodsTable :data="[
{
'name': 'isDateDisabled',
'description': '<p>A function that returns whether or not a date is disabled</p>\n',
'type': 'Matcher'
},
{
'name': 'isDateUnavailable',
'description': '<p>A function that returns whether or not a date is unavailable</p>\n',
'type': 'Matcher'
}
]" />
2 changes: 1 addition & 1 deletion docs/content/meta/DropdownMenuContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/DropdownMenuSubContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/HoverCardContent.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
{
'name': 'positionStrategy',
'description': '<p>The type of CSS position property to use.</p>\n',
'type': '\'absolute\' | \'fixed\'',
'type': '\'fixed\' | \'absolute\'',
'required': false
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/content/meta/ListboxVirtualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
{
'name': 'virtualItem',
'description': '',
'type': 'VirtualItem<Element>'
'type': 'VirtualItem'
}
]" />
Loading

0 comments on commit 5923754

Please sign in to comment.