@ostack.tech/ui 0.15.0 → 0.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/en-Buw2XVWt.js +140 -0
- package/dist/chunks/en-Buw2XVWt.js.map +1 -0
- package/dist/chunks/platformUtils-dLFQaWJG.js +7 -0
- package/dist/chunks/platformUtils-dLFQaWJG.js.map +1 -0
- package/dist/locales/en-GB.js +17 -15
- package/dist/locales/en-GB.js.map +1 -1
- package/dist/locales/en-US.js +17 -15
- package/dist/locales/en-US.js.map +1 -1
- package/dist/locales/fr-FR.js +173 -210
- package/dist/locales/fr-FR.js.map +1 -1
- package/dist/locales/pt-PT.js +157 -196
- package/dist/locales/pt-PT.js.map +1 -1
- package/dist/ostack-ui.js +12884 -15205
- package/dist/ostack-ui.js.map +1 -1
- package/package.json +13 -13
- package/{dist/types → types}/components/Alert/Alert.d.ts +5 -5
- package/{dist/types → types}/components/Alert/AlertContext.d.ts +1 -1
- package/{dist/types → types}/components/Alert/AlertTitle.d.ts +1 -1
- package/types/components/Alert/index.d.ts +2 -0
- package/{dist/types → types}/components/AlertDialog/AlertDialog.d.ts +2 -2
- package/{dist/types → types}/components/AlertDialog/AlertDialogAction.d.ts +3 -3
- package/types/components/AlertDialog/AlertDialogBody.d.ts +7 -0
- package/{dist/types → types}/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
- package/{dist/types → types}/components/AlertDialog/AlertDialogContent.d.ts +5 -5
- package/{dist/types → types}/components/AlertDialog/AlertDialogDescription.d.ts +3 -3
- package/types/components/AlertDialog/AlertDialogFooter.d.ts +7 -0
- package/{dist/types → types}/components/AlertDialog/AlertDialogHeader.d.ts +3 -3
- package/{dist/types → types}/components/AlertDialog/AlertDialogTitle.d.ts +3 -3
- package/{dist/types → types}/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
- package/types/components/AlertDialog/index.d.ts +10 -0
- package/{dist/types → types}/components/Button/Button.d.ts +8 -8
- package/types/components/Button/index.d.ts +1 -0
- package/{dist/types → types}/components/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/types/components/ButtonGroup/index.d.ts +1 -0
- package/{dist/types → types}/components/Calendar/Calendar.d.ts +6 -6
- package/{dist/types → types}/components/Calendar/CalendarContext.d.ts +2 -2
- package/{dist/types → types}/components/Calendar/CalendarDay.d.ts +2 -4
- package/types/components/Calendar/CalendarHeader.d.ts +6 -0
- package/types/components/Calendar/CalendarMonthGrid.d.ts +2 -0
- package/types/components/Calendar/index.d.ts +1 -0
- package/{dist/types → types}/components/Card/Card.d.ts +3 -3
- package/{dist/types → types}/components/Card/CardBody.d.ts +2 -2
- package/{dist/types → types}/components/Card/CardFooter.d.ts +2 -2
- package/{dist/types → types}/components/Card/CardHeader.d.ts +2 -2
- package/{dist/types → types}/components/Card/CardTitle.d.ts +1 -1
- package/types/components/Card/index.d.ts +5 -0
- package/{dist/types → types}/components/Checkbox/Checkbox.d.ts +10 -10
- package/types/components/Checkbox/index.d.ts +1 -0
- package/{dist/types → types}/components/CheckboxGroup/CheckboxGroup.d.ts +7 -7
- package/{dist/types → types}/components/CheckboxGroup/CheckboxGroupContext.d.ts +4 -4
- package/types/components/CheckboxGroup/index.d.ts +1 -0
- package/{dist/types → types}/components/ClearContexts/ClearContexts.d.ts +1 -1
- package/types/components/ClearContexts/index.d.ts +1 -0
- package/types/components/CloseButton/CloseButton.d.ts +7 -0
- package/types/components/CloseButton/index.d.ts +1 -0
- package/{dist/types → types}/components/Code/Code.d.ts +3 -3
- package/types/components/Code/index.d.ts +1 -0
- package/{dist/types → types}/components/Collapsible/Collapsible.d.ts +3 -3
- package/{dist/types → types}/components/Collapsible/CollapsibleContent.d.ts +3 -3
- package/{dist/types → types}/components/Collapsible/CollapsibleContext.d.ts +2 -2
- package/{dist/types → types}/components/Collapsible/CollapsibleTrigger.d.ts +4 -4
- package/types/components/Collapsible/index.d.ts +3 -0
- package/{dist/types → types}/components/CommandMenu/CommandMenu.d.ts +8 -8
- package/{dist/types → types}/components/CommandMenu/CommandMenuDialog.d.ts +5 -5
- package/{dist/types → types}/components/CommandMenu/CommandMenuGroup.d.ts +3 -3
- package/{dist/types → types}/components/CommandMenu/CommandMenuItem.d.ts +4 -4
- package/types/components/CommandMenu/index.d.ts +4 -0
- package/{dist/types → types}/components/Container/Container.d.ts +4 -4
- package/types/components/Container/index.d.ts +1 -0
- package/{dist/types → types}/components/Control/Control.d.ts +6 -6
- package/{dist/types → types}/components/Control/ControlContext.d.ts +2 -2
- package/{dist/types → types}/components/Control/ControlWithContainerRef.d.ts +4 -4
- package/{dist/types → types}/components/Control/controlUtils.d.ts +2 -2
- package/types/components/Control/index.d.ts +4 -0
- package/{dist/types → types}/components/ControlAddon/ControlAddon.d.ts +3 -3
- package/types/components/ControlAddon/index.d.ts +1 -0
- package/{dist/types → types}/components/ControlCode/ControlCode.d.ts +3 -3
- package/types/components/ControlCode/index.d.ts +1 -0
- package/{dist/types → types}/components/DataTable/DataTable.d.ts +8 -8
- package/{dist/types → types}/components/DataTable/DataTableApi.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/DataTableBody.d.ts +4 -4
- package/{dist/types → types}/components/DataTable/DataTableCell.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/DataTableColumn.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/DataTableContent.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/DataTableContext.d.ts +11 -11
- package/{dist/types → types}/components/DataTable/DataTableEmptyOrLoadingRows.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/DataTableFilter.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/DataTableFoot.d.ts +3 -3
- package/types/components/DataTable/DataTableHead.d.ts +7 -0
- package/{dist/types → types}/components/DataTable/DataTablePagination.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/DataTableRow.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/DataTableRowsPerPage.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/DataTableSelectionTrigger.d.ts +4 -4
- package/{dist/types → types}/components/DataTable/PagedDataTablePagination.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/PagedDataTableRows.d.ts +1 -1
- package/{dist/types → types}/components/DataTable/ScrolledDataTablePagination.d.ts +3 -3
- package/{dist/types → types}/components/DataTable/ScrolledDataTableRows.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/columnUtils.d.ts +1 -1
- package/{dist/types → types}/components/DataTable/getRowKey.d.ts +2 -2
- package/types/components/DataTable/index.d.ts +12 -0
- package/{dist/types → types}/components/DataTable/processRows.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/sanitizeProps.d.ts +2 -2
- package/{dist/types → types}/components/DataTable/useDataTableSelectionColumn.d.ts +1 -1
- package/{dist/types → types}/components/DateInput/DateInput.d.ts +7 -7
- package/types/components/DateInput/index.d.ts +1 -0
- package/{dist/types → types}/components/DateRangeInput/DateRangeInput.d.ts +11 -11
- package/types/components/DateRangeInput/index.d.ts +1 -0
- package/{dist/types → types}/components/DescriptionList/DescriptionList.d.ts +3 -3
- package/{dist/types → types}/components/DescriptionList/DescriptionListItem.d.ts +3 -3
- package/types/components/DescriptionList/index.d.ts +2 -0
- package/{dist/types → types}/components/Dialog/Dialog.d.ts +2 -2
- package/types/components/Dialog/DialogBody.d.ts +7 -0
- package/types/components/Dialog/DialogClose.d.ts +7 -0
- package/{dist/types → types}/components/Dialog/DialogContent.d.ts +5 -5
- package/{dist/types → types}/components/Dialog/DialogDescription.d.ts +3 -3
- package/types/components/Dialog/DialogFooter.d.ts +7 -0
- package/{dist/types → types}/components/Dialog/DialogHeader.d.ts +4 -4
- package/{dist/types → types}/components/Dialog/DialogTitle.d.ts +3 -3
- package/{dist/types → types}/components/Dialog/DialogTrigger.d.ts +3 -3
- package/types/components/Dialog/index.d.ts +9 -0
- package/{dist/types → types}/components/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +6 -6
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuContent.d.ts +4 -4
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuGroup.d.ts +4 -4
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuItem.d.ts +4 -4
- package/types/components/DropdownMenu/DropdownMenuRadioGroup.d.ts +8 -0
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuRadioItem.d.ts +4 -4
- package/types/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuSubContent.d.ts +4 -4
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -4
- package/{dist/types → types}/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -3
- package/types/components/DropdownMenu/index.d.ts +11 -0
- package/{dist/types → types}/components/ErrorBoundary/ErrorBoundary.d.ts +5 -5
- package/types/components/ErrorBoundary/index.d.ts +2 -0
- package/types/components/ErrorBoundary/useErrorBoundary.d.ts +1 -0
- package/{dist/types → types}/components/Feedback/Feedback.d.ts +2 -2
- package/types/components/Feedback/index.d.ts +1 -0
- package/{dist/types → types}/components/FeedbackList/FeedbackList.d.ts +2 -2
- package/{dist/types → types}/components/FeedbackList/FeedbackListContext.d.ts +1 -1
- package/types/components/FeedbackList/index.d.ts +2 -0
- package/{dist/types → types}/components/FeedbackPopover/FeedbackPopover.d.ts +5 -5
- package/{dist/types → types}/components/FeedbackPopover/FeedbackPopoverContext.d.ts +2 -2
- package/types/components/FeedbackPopover/index.d.ts +2 -0
- package/{dist/types → types}/components/Field/Field.d.ts +2 -2
- package/{dist/types → types}/components/Field/FieldContext.d.ts +4 -4
- package/{dist/types → types}/components/Field/FieldProvider.d.ts +2 -2
- package/{dist/types → types}/components/Field/index.d.ts +3 -3
- package/{dist/types → types}/components/FieldGroup/FieldGroup.d.ts +2 -2
- package/{dist/types → types}/components/FieldGroup/FieldGroupBody.d.ts +2 -2
- package/{dist/types → types}/components/FieldGroup/FieldGroupContext.d.ts +2 -2
- package/{dist/types → types}/components/FieldGroup/FieldGroupHeader.d.ts +2 -2
- package/{dist/types → types}/components/FieldGroup/FieldGroupTitle.d.ts +1 -1
- package/types/components/FieldGroup/index.d.ts +4 -0
- package/{dist/types → types}/components/Form/Form.d.ts +2 -2
- package/{dist/types → types}/components/Form/FormContext.d.ts +8 -8
- package/{dist/types → types}/components/Form/FormError.d.ts +2 -2
- package/{dist/types → types}/components/Form/FormReset.d.ts +2 -2
- package/{dist/types → types}/components/Form/FormState.d.ts +1 -1
- package/{dist/types → types}/components/Form/FormSubmit.d.ts +2 -2
- package/{dist/types → types}/components/Form/HiddenFormControl.d.ts +2 -2
- package/{dist/types → types}/components/Form/formUtils.d.ts +2 -2
- package/types/components/Form/index.d.ts +6 -0
- package/{dist/types → types}/components/Form/useRegisterFormControl.d.ts +3 -3
- package/{dist/types → types}/components/Grid/Grid.d.ts +3 -3
- package/types/components/Grid/index.d.ts +1 -0
- package/{dist/types → types}/components/Heading/Heading.d.ts +1 -1
- package/types/components/Heading/index.d.ts +1 -0
- package/{dist/types → types}/components/HelperText/HelperText.d.ts +2 -2
- package/types/components/HelperText/index.d.ts +1 -0
- package/{dist/types → types}/components/Icon/Icon.d.ts +6 -6
- package/types/components/Icon/index.d.ts +1 -0
- package/{dist/types → types}/components/IconButton/IconButton.d.ts +8 -8
- package/types/components/IconButton/index.d.ts +1 -0
- package/{dist/types → types}/components/Input/Input.d.ts +4 -4
- package/types/components/Input/index.d.ts +1 -0
- package/{dist/types → types}/components/Keybinds/Key.d.ts +2 -2
- package/{dist/types → types}/components/Keybinds/KeyPress.d.ts +2 -2
- package/{dist/types → types}/components/Keybinds/Keybind.d.ts +2 -2
- package/{dist/types → types}/components/Keybinds/Keybinds.d.ts +2 -2
- package/types/components/Keybinds/index.d.ts +1 -0
- package/{dist/types → types}/components/Keyboard/Keyboard.d.ts +2 -2
- package/types/components/Keyboard/index.d.ts +1 -0
- package/{dist/types → types}/components/Label/Label.d.ts +6 -6
- package/types/components/Label/index.d.ts +1 -0
- package/{dist/types → types}/components/Layer/Layer.d.ts +3 -3
- package/{dist/types → types}/components/Layer/LayerContext.d.ts +1 -1
- package/types/components/Layer/index.d.ts +2 -0
- package/{dist/types → types}/components/Link/Link.d.ts +4 -4
- package/{dist/types → types}/components/Link/LinkContext.d.ts +2 -2
- package/types/components/Link/index.d.ts +1 -0
- package/{dist/types → types}/components/Mark/Mark.d.ts +3 -3
- package/types/components/Mark/index.d.ts +1 -0
- package/{dist/types → types}/components/MenuList/MenuList.d.ts +2 -2
- package/{dist/types → types}/components/MenuList/MenuListContext.d.ts +2 -2
- package/{dist/types → types}/components/MenuList/MenuListGroup.d.ts +2 -2
- package/{dist/types → types}/components/MenuList/MenuListItem.d.ts +8 -8
- package/types/components/MenuList/index.d.ts +3 -0
- package/{dist/types → types}/components/NumericInput/NumericInput.d.ts +5 -5
- package/types/components/NumericInput/index.d.ts +1 -0
- package/{dist/types → types}/components/NumericInput/numericInputUtils.d.ts +2 -2
- package/{dist/types → types}/components/Output/Output.d.ts +3 -3
- package/types/components/Output/index.d.ts +1 -0
- package/{dist/types → types}/components/Overlay/Overlay.d.ts +2 -2
- package/types/components/Overlay/index.d.ts +1 -0
- package/{dist/types → types}/components/Popover/Popover.d.ts +2 -2
- package/types/components/Popover/PopoverAnchor.d.ts +6 -0
- package/{dist/types → types}/components/Popover/PopoverClose.d.ts +3 -3
- package/{dist/types → types}/components/Popover/PopoverContent.d.ts +3 -3
- package/{dist/types → types}/components/Popover/PopoverTrigger.d.ts +3 -3
- package/types/components/Popover/index.d.ts +5 -0
- package/{dist/types → types}/components/Portal/Portal.d.ts +3 -3
- package/{dist/types → types}/components/Portal/PortalContext.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -0
- package/{dist/types → types}/components/Printer/Printer.d.ts +3 -3
- package/{dist/types → types}/components/Printer/PrinterContent.d.ts +3 -3
- package/{dist/types → types}/components/Printer/PrinterContentContext.d.ts +1 -1
- package/{dist/types → types}/components/Printer/PrinterContext.d.ts +3 -3
- package/{dist/types → types}/components/Printer/PrinterTrigger.d.ts +2 -2
- package/types/components/Printer/index.d.ts +6 -0
- package/{dist/types → types}/components/RadioGroup/Radio.d.ts +7 -7
- package/{dist/types → types}/components/RadioGroup/RadioGroup.d.ts +9 -9
- package/types/components/RadioGroup/index.d.ts +2 -0
- package/{dist/types → types}/components/Root/Root.d.ts +7 -7
- package/{dist/types → types}/components/Root/RootContext.d.ts +1 -1
- package/{dist/types → types}/components/Root/RootElement.d.ts +3 -3
- package/types/components/Root/index.d.ts +2 -0
- package/{dist/types → types}/components/Select/Option.d.ts +3 -3
- package/types/components/Select/OptionsGroup.d.ts +7 -0
- package/{dist/types → types}/components/Select/Select.d.ts +9 -9
- package/{dist/types → types}/components/Select/SelectContext.d.ts +7 -7
- package/types/components/Select/SelectMultipleValue.d.ts +1 -0
- package/{dist/types → types}/components/Select/SelectNative.d.ts +2 -2
- package/types/components/Select/SelectSingleValue.d.ts +1 -0
- package/types/components/Select/index.d.ts +3 -0
- package/{dist/types → types}/components/Separator/Separator.d.ts +4 -4
- package/types/components/Separator/index.d.ts +1 -0
- package/types/components/Slot/Slot.d.ts +7 -0
- package/{dist/types → types}/components/Slot/Slottable.d.ts +1 -1
- package/types/components/Slot/index.d.ts +2 -0
- package/{dist/types → types}/components/Spinner/Spinner.d.ts +3 -3
- package/types/components/Spinner/index.d.ts +1 -0
- package/{dist/types → types}/components/Stack/Stack.d.ts +3 -3
- package/types/components/Stack/index.d.ts +1 -0
- package/{dist/types → types}/components/Stepper/Step.d.ts +5 -5
- package/{dist/types → types}/components/Stepper/StepContent.d.ts +2 -2
- package/{dist/types → types}/components/Stepper/StepList.d.ts +2 -2
- package/{dist/types → types}/components/Stepper/Stepper.d.ts +3 -3
- package/{dist/types → types}/components/Stepper/StepperContext.d.ts +3 -3
- package/{dist/types → types}/components/Stepper/StepperFinishTrigger.d.ts +3 -3
- package/{dist/types → types}/components/Stepper/StepperNextTrigger.d.ts +3 -3
- package/{dist/types → types}/components/Stepper/StepperPreviousTrigger.d.ts +3 -3
- package/{dist/types → types}/components/Stepper/StepperState.d.ts +2 -2
- package/types/components/Stepper/index.d.ts +9 -0
- package/{dist/types → types}/components/Table/Table.d.ts +3 -3
- package/types/components/Table/TableBody.d.ts +6 -0
- package/{dist/types → types}/components/Table/TableCell.d.ts +3 -3
- package/{dist/types → types}/components/Table/TableColumn.d.ts +9 -9
- package/{dist/types → types}/components/Table/TableContext.d.ts +9 -9
- package/{dist/types → types}/components/Table/TableFoot.d.ts +2 -2
- package/{dist/types → types}/components/Table/TableHead.d.ts +3 -3
- package/{dist/types → types}/components/Table/TableRow.d.ts +2 -2
- package/{dist/types → types}/components/Table/columnUtils.d.ts +3 -3
- package/types/components/Table/index.d.ts +8 -0
- package/{dist/types → types}/components/Tabs/Tab.d.ts +5 -5
- package/{dist/types → types}/components/Tabs/TabContent.d.ts +3 -3
- package/{dist/types → types}/components/Tabs/TabList.d.ts +4 -4
- package/{dist/types → types}/components/Tabs/Tabs.d.ts +3 -3
- package/{dist/types → types}/components/Tabs/TabsContext.d.ts +5 -5
- package/types/components/Tabs/index.d.ts +4 -0
- package/{dist/types → types}/components/Tag/Badge.d.ts +2 -2
- package/{dist/types → types}/components/Tag/Tag.d.ts +6 -6
- package/types/components/Tag/index.d.ts +2 -0
- package/{dist/types → types}/components/TextArea/TextArea.d.ts +4 -4
- package/types/components/TextArea/index.d.ts +1 -0
- package/{dist/types → types}/components/Toast/Toast.d.ts +5 -5
- package/types/components/Toast/ToastDescription.d.ts +3 -0
- package/{dist/types → types}/components/Toast/ToastProvider.d.ts +3 -3
- package/types/components/Toast/ToastTitle.d.ts +7 -0
- package/{dist/types → types}/components/Toast/ToastViewport.d.ts +3 -3
- package/types/components/Toast/index.d.ts +5 -0
- package/{dist/types → types}/components/Tooltip/Tooltip.d.ts +3 -3
- package/types/components/Tooltip/TooltipProvider.d.ts +3 -0
- package/types/components/Tooltip/index.d.ts +2 -0
- package/{dist/types → types}/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/types/components/VisuallyHidden/index.d.ts +1 -0
- package/types/index.d.ts +106 -0
- package/types/locales/en-GB.d.ts +3 -0
- package/types/locales/en-US.d.ts +3 -0
- package/{dist/types → types}/locales/en.d.ts +1 -1
- package/types/locales/fr-FR.d.ts +3 -0
- package/types/locales/index.d.ts +4 -0
- package/types/locales/pt-PT.d.ts +3 -0
- package/{dist/types → types}/providers/AlertDialogProvider/AlertDialogProvider.d.ts +2 -2
- package/{dist/types → types}/providers/AlertDialogProvider/AlertDialogProviderContext.d.ts +4 -4
- package/types/providers/AlertDialogProvider/index.d.ts +3 -0
- package/{dist/types → types}/providers/AlertDialogProvider/useAlertDialog.d.ts +1 -1
- package/{dist/types → types}/providers/DocumentTitleProvider/DocumentTitle.d.ts +2 -2
- package/{dist/types → types}/providers/DocumentTitleProvider/DocumentTitleProvider.d.ts +2 -2
- package/{dist/types → types}/providers/DocumentTitleProvider/DocumentTitleProviderContext.d.ts +3 -3
- package/types/providers/DocumentTitleProvider/index.d.ts +2 -0
- package/{dist/types → types}/providers/ErrorReportingProvider/ErrorReport.d.ts +1 -1
- package/{dist/types → types}/providers/ErrorReportingProvider/ErrorReportingContext.d.ts +2 -2
- package/{dist/types → types}/providers/ErrorReportingProvider/ErrorReportingProvider.d.ts +3 -3
- package/types/providers/ErrorReportingProvider/index.d.ts +4 -0
- package/{dist/types → types}/providers/ErrorReportingProvider/useErrorReporter.d.ts +1 -1
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationObject.d.ts +25 -25
- package/{dist/types → types}/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
- package/types/providers/LocalizationProvider/index.d.ts +4 -0
- package/{dist/types → types}/providers/LocalizationProvider/useLocale.d.ts +1 -1
- package/types/providers/PrefixProvider/PrefixContext.d.ts +2 -0
- package/{dist/types → types}/providers/PrefixProvider/PrefixProvider.d.ts +2 -2
- package/{dist/types → types}/providers/PrefixProvider/defaultPrefix.d.ts +1 -1
- package/types/providers/PrefixProvider/index.d.ts +4 -0
- package/{dist/types → types}/providers/ToastManagerProvider/ToastManagerContext.d.ts +4 -4
- package/{dist/types → types}/providers/ToastManagerProvider/ToastManagerProvider.d.ts +2 -2
- package/types/providers/ToastManagerProvider/index.d.ts +3 -0
- package/{dist/types → types}/providers/ToastManagerProvider/useToastManager.d.ts +1 -1
- package/{dist/types → types}/utils/breakpoints.d.ts +1 -1
- package/{dist/types → types}/utils/keyboardShortcut.d.ts +15 -10
- package/{dist/types → types}/utils/parseDateStrict.d.ts +1 -1
- package/{dist/types → types}/utils/polymorphicTypes.d.ts +1 -1
- package/{dist/types → types}/utils/useCombinedRef.d.ts +1 -1
- package/{dist/types → types}/utils/useControllableState.d.ts +1 -1
- package/{dist/types → types}/utils/useCssVars.d.ts +1 -1
- package/{dist/types → types}/utils/useDateTransformer.d.ts +1 -1
- package/types/utils/useLatestRef.d.ts +9 -0
- package/types/utils/usePrevious.d.ts +9 -0
- package/{dist/types → types}/utils/useResponsiveValues.d.ts +2 -2
- package/types/utils/useSafeLayoutEffect.d.ts +3 -0
- package/{dist/types → types}/utils/useSearchParam.d.ts +1 -1
- package/{dist/types → types}/utils/useSearchParams.d.ts +1 -1
- package/{dist/types → types}/utils/zustandUtils.d.ts +1 -1
- package/dist/chunks/en-BiTLo8i1.js +0 -179
- package/dist/chunks/en-BiTLo8i1.js.map +0 -1
- package/dist/chunks/platformUtils-C3IHCr90.js +0 -6
- package/dist/chunks/platformUtils-C3IHCr90.js.map +0 -1
- package/dist/types/components/Alert/index.d.ts +0 -2
- package/dist/types/components/AlertDialog/AlertDialogBody.d.ts +0 -7
- package/dist/types/components/AlertDialog/AlertDialogFooter.d.ts +0 -7
- package/dist/types/components/AlertDialog/index.d.ts +0 -10
- package/dist/types/components/Button/index.d.ts +0 -1
- package/dist/types/components/ButtonGroup/index.d.ts +0 -1
- package/dist/types/components/Calendar/CalendarHeader.d.ts +0 -8
- package/dist/types/components/Calendar/CalendarMonthGrid.d.ts +0 -1
- package/dist/types/components/Calendar/index.d.ts +0 -1
- package/dist/types/components/Card/index.d.ts +0 -5
- package/dist/types/components/Checkbox/index.d.ts +0 -1
- package/dist/types/components/CheckboxGroup/index.d.ts +0 -1
- package/dist/types/components/ClearContexts/index.d.ts +0 -1
- package/dist/types/components/CloseButton/CloseButton.d.ts +0 -7
- package/dist/types/components/CloseButton/index.d.ts +0 -1
- package/dist/types/components/Code/index.d.ts +0 -1
- package/dist/types/components/Collapsible/index.d.ts +0 -3
- package/dist/types/components/CommandMenu/index.d.ts +0 -4
- package/dist/types/components/Container/index.d.ts +0 -1
- package/dist/types/components/Control/index.d.ts +0 -4
- package/dist/types/components/ControlAddon/index.d.ts +0 -1
- package/dist/types/components/ControlCode/index.d.ts +0 -1
- package/dist/types/components/DataTable/DataTableHead.d.ts +0 -7
- package/dist/types/components/DataTable/index.d.ts +0 -12
- package/dist/types/components/DateInput/index.d.ts +0 -1
- package/dist/types/components/DateRangeInput/index.d.ts +0 -1
- package/dist/types/components/DescriptionList/index.d.ts +0 -2
- package/dist/types/components/Dialog/DialogBody.d.ts +0 -7
- package/dist/types/components/Dialog/DialogClose.d.ts +0 -7
- package/dist/types/components/Dialog/DialogFooter.d.ts +0 -7
- package/dist/types/components/Dialog/index.d.ts +0 -9
- package/dist/types/components/DropdownMenu/DropdownMenuRadioGroup.d.ts +0 -8
- package/dist/types/components/DropdownMenu/DropdownMenuSub.d.ts +0 -3
- package/dist/types/components/DropdownMenu/index.d.ts +0 -11
- package/dist/types/components/ErrorBoundary/index.d.ts +0 -2
- package/dist/types/components/ErrorBoundary/useErrorBoundary.d.ts +0 -1
- package/dist/types/components/Feedback/index.d.ts +0 -1
- package/dist/types/components/FeedbackList/index.d.ts +0 -2
- package/dist/types/components/FeedbackPopover/index.d.ts +0 -2
- package/dist/types/components/FieldGroup/index.d.ts +0 -4
- package/dist/types/components/Form/index.d.ts +0 -6
- package/dist/types/components/Grid/index.d.ts +0 -1
- package/dist/types/components/Heading/index.d.ts +0 -1
- package/dist/types/components/HelperText/index.d.ts +0 -1
- package/dist/types/components/Icon/index.d.ts +0 -1
- package/dist/types/components/IconButton/index.d.ts +0 -1
- package/dist/types/components/Input/index.d.ts +0 -1
- package/dist/types/components/Keybinds/index.d.ts +0 -1
- package/dist/types/components/Keyboard/index.d.ts +0 -1
- package/dist/types/components/Label/index.d.ts +0 -1
- package/dist/types/components/Layer/index.d.ts +0 -2
- package/dist/types/components/Link/index.d.ts +0 -1
- package/dist/types/components/Mark/index.d.ts +0 -1
- package/dist/types/components/MenuList/index.d.ts +0 -3
- package/dist/types/components/NumericInput/index.d.ts +0 -1
- package/dist/types/components/Output/index.d.ts +0 -1
- package/dist/types/components/Overlay/index.d.ts +0 -1
- package/dist/types/components/Popover/PopoverAnchor.d.ts +0 -6
- package/dist/types/components/Popover/index.d.ts +0 -5
- package/dist/types/components/Portal/index.d.ts +0 -2
- package/dist/types/components/Printer/index.d.ts +0 -6
- package/dist/types/components/RadioGroup/index.d.ts +0 -2
- package/dist/types/components/Root/index.d.ts +0 -2
- package/dist/types/components/Select/OptionsGroup.d.ts +0 -7
- package/dist/types/components/Select/SelectMultipleValue.d.ts +0 -1
- package/dist/types/components/Select/SelectSingleValue.d.ts +0 -1
- package/dist/types/components/Select/index.d.ts +0 -3
- package/dist/types/components/Separator/index.d.ts +0 -1
- package/dist/types/components/Slot/Slot.d.ts +0 -7
- package/dist/types/components/Slot/index.d.ts +0 -2
- package/dist/types/components/Spinner/index.d.ts +0 -1
- package/dist/types/components/Stack/index.d.ts +0 -1
- package/dist/types/components/Stepper/index.d.ts +0 -9
- package/dist/types/components/Table/TableBody.d.ts +0 -6
- package/dist/types/components/Table/index.d.ts +0 -8
- package/dist/types/components/Tabs/index.d.ts +0 -4
- package/dist/types/components/Tag/index.d.ts +0 -2
- package/dist/types/components/TextArea/index.d.ts +0 -1
- package/dist/types/components/Toast/ToastDescription.d.ts +0 -3
- package/dist/types/components/Toast/ToastTitle.d.ts +0 -7
- package/dist/types/components/Toast/index.d.ts +0 -5
- package/dist/types/components/Tooltip/TooltipProvider.d.ts +0 -3
- package/dist/types/components/Tooltip/index.d.ts +0 -2
- package/dist/types/components/VisuallyHidden/index.d.ts +0 -1
- package/dist/types/index.d.ts +0 -105
- package/dist/types/locales/en-GB.d.ts +0 -3
- package/dist/types/locales/en-US.d.ts +0 -3
- package/dist/types/locales/fr-FR.d.ts +0 -3
- package/dist/types/locales/index.d.ts +0 -4
- package/dist/types/locales/pt-PT.d.ts +0 -3
- package/dist/types/providers/AlertDialogProvider/index.d.ts +0 -3
- package/dist/types/providers/DocumentTitleProvider/index.d.ts +0 -2
- package/dist/types/providers/ErrorReportingProvider/index.d.ts +0 -4
- package/dist/types/providers/LocalizationProvider/index.d.ts +0 -4
- package/dist/types/providers/PrefixProvider/PrefixContext.d.ts +0 -2
- package/dist/types/providers/PrefixProvider/index.d.ts +0 -4
- package/dist/types/providers/ToastManagerProvider/index.d.ts +0 -3
- package/dist/types/utils/useLatestValues.d.ts +0 -8
- package/dist/types/utils/useLayoutEffect.d.ts +0 -3
- /package/{dist/types → types}/components/Calendar/calendarUtils.d.ts +0 -0
- /package/{dist/types → types}/components/CommandMenu/cmdk/command-score.d.ts +0 -0
- /package/{dist/types → types}/components/CommandMenu/cmdk/index.d.ts +0 -0
- /package/{dist/types → types}/components/DataTable/spliceWindow.d.ts +0 -0
- /package/{dist/types → types}/components/Form/useResetControlOnFormReset.d.ts +0 -0
- /package/{dist/types → types}/components/Printer/usePrintClassNames.d.ts +0 -0
- /package/{dist/types → types}/providers/PrefixProvider/usePrefix.d.ts +0 -0
- /package/{dist/types → types}/utils/accent.d.ts +0 -0
- /package/{dist/types → types}/utils/boolDataAttr.d.ts +0 -0
- /package/{dist/types → types}/utils/changeCase.d.ts +0 -0
- /package/{dist/types → types}/utils/combineAriaIds.d.ts +0 -0
- /package/{dist/types → types}/utils/combineEventHandlers.d.ts +0 -0
- /package/{dist/types → types}/utils/cx.d.ts +0 -0
- /package/{dist/types → types}/utils/filtering.d.ts +0 -0
- /package/{dist/types → types}/utils/intersperse.d.ts +0 -0
- /package/{dist/types → types}/utils/nativeControls.d.ts +0 -0
- /package/{dist/types → types}/utils/navigate.d.ts +0 -0
- /package/{dist/types → types}/utils/numericStringUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/platformUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/promiseUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/setNativeProperty.d.ts +0 -0
- /package/{dist/types → types}/utils/sorting.d.ts +0 -0
- /package/{dist/types → types}/utils/stringHash.d.ts +0 -0
- /package/{dist/types → types}/utils/typeUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/useConstant.d.ts +0 -0
- /package/{dist/types → types}/utils/useIntersectionObserver.d.ts +0 -0
- /package/{dist/types → types}/utils/useLocation.d.ts +0 -0
- /package/{dist/types → types}/utils/useMeasure.d.ts +0 -0
- /package/{dist/types → types}/utils/useMediaQuery.d.ts +0 -0
- /package/{dist/types → types}/utils/useNumericTransformer.d.ts +0 -0
- /package/{dist/types → types}/utils/useScrollPosition.d.ts +0 -0
- /package/{dist/types → types}/utils/useScrollbarSize.d.ts +0 -0
- /package/{dist/types → types}/utils/useSpacing.d.ts +0 -0
- /package/{dist/types → types}/utils/validationUtils.d.ts +0 -0
- /package/{dist/types → types}/utils/warnOnce.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from
|
|
1
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
2
2
|
/**
|
|
3
3
|
* The popover component displays content in a floating pop-up, triggered by a
|
|
4
4
|
* button. Built on top of the [Radix Popover
|
|
@@ -37,4 +37,4 @@ import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
|
37
37
|
* }
|
|
38
38
|
* ```
|
|
39
39
|
*/
|
|
40
|
-
export declare const Popover: import(
|
|
40
|
+
export declare const Popover: import("react").FC<PopoverPrimitive.PopoverProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
2
|
+
/**
|
|
3
|
+
* An optional element to position the `PopoverContent` against. If this part is
|
|
4
|
+
* not used, the content will position alongside the `PopoverTrigger`.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PopoverAnchor: import("react").ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from
|
|
2
|
-
import { CloseButton } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import { CloseButton } from "../CloseButton";
|
|
3
3
|
/** Properties of the popover close component. */
|
|
4
4
|
export type PopoverCloseProps = PopoverCloseChildlessProps | PopoverCloseChildrenProps;
|
|
5
5
|
/** Properties of the popover close component when rendered without children. */
|
|
@@ -11,4 +11,4 @@ export interface PopoverCloseChildrenProps extends ComponentPropsWithoutRef<"but
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
}
|
|
13
13
|
/** The button that closes an open popover. */
|
|
14
|
-
export declare const PopoverClose: import(
|
|
14
|
+
export declare const PopoverClose: import("react").ForwardRefExoticComponent<PopoverCloseProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef } from
|
|
1
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
|
|
3
3
|
/** Properties of the popover content component. */
|
|
4
4
|
export interface PopoverContentProps extends ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
5
5
|
/**
|
|
@@ -14,4 +14,4 @@ export interface PopoverContentProps extends ComponentPropsWithoutRef<typeof Pop
|
|
|
14
14
|
arrowProps?: ComponentPropsWithRef<typeof PopoverPrimitive.Arrow>;
|
|
15
15
|
}
|
|
16
16
|
/** The component that pops out when the popover is open. */
|
|
17
|
-
export declare const PopoverContent: import(
|
|
17
|
+
export declare const PopoverContent: import("react").ForwardRefExoticComponent<PopoverContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef } from
|
|
1
|
+
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
3
3
|
/** Properties of the popover trigger component. */
|
|
4
4
|
export interface PopoverTriggerProps extends Omit<ComponentPropsWithoutRef<typeof PopoverPrimitive.Trigger>, "asChild"> {
|
|
5
5
|
}
|
|
@@ -7,4 +7,4 @@ export interface PopoverTriggerProps extends Omit<ComponentPropsWithoutRef<typeo
|
|
|
7
7
|
* The button that toggles the popover. By default, the `PopoverContent` will
|
|
8
8
|
* position itself against the trigger.
|
|
9
9
|
*/
|
|
10
|
-
export declare const PopoverTrigger: import(
|
|
10
|
+
export declare const PopoverTrigger: import("react").ForwardRefExoticComponent<PopoverTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Portal as PortalPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef } from
|
|
1
|
+
import { Portal as PortalPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
3
3
|
/** Properties of the portal component. */
|
|
4
4
|
export interface PortalProps extends ComponentPropsWithoutRef<typeof PortalPrimitive.Root> {
|
|
5
5
|
}
|
|
@@ -10,4 +10,4 @@ export interface PortalProps extends ComponentPropsWithoutRef<typeof PortalPrimi
|
|
|
10
10
|
* The rendered subtree is automatically wrapped in a `Root` component, so that
|
|
11
11
|
* styles are rendered correctly.
|
|
12
12
|
*/
|
|
13
|
-
export declare const Portal: import(
|
|
13
|
+
export declare const Portal: import("react").ForwardRefExoticComponent<PortalProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -4,6 +4,6 @@ export interface PortalContextValue {
|
|
|
4
4
|
container?: Element | DocumentFragment | null;
|
|
5
5
|
}
|
|
6
6
|
/** Portal context. */
|
|
7
|
-
export declare const PortalContext: import(
|
|
7
|
+
export declare const PortalContext: import("react").Context<PortalContextValue | null>;
|
|
8
8
|
/** Hook providing access to the portal context. */
|
|
9
9
|
export declare function usePortalContext(): PortalContextValue | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from
|
|
2
|
-
import { UseReactToPrintOptions } from
|
|
1
|
+
import { type CSSProperties, type ReactNode } from "react";
|
|
2
|
+
import { type UseReactToPrintOptions } from "react-to-print";
|
|
3
3
|
/** Options that can be passed when calling `print`. */
|
|
4
4
|
export interface PrintOptions {
|
|
5
5
|
/**
|
|
@@ -146,4 +146,4 @@ export interface PrinterProps extends PrintOptions {
|
|
|
146
146
|
* }
|
|
147
147
|
* ```
|
|
148
148
|
*/
|
|
149
|
-
export declare function Printer({ preview, printInForeground, documentTitle, pageSize, pageMargin, printColorAdjust, fonts, copyShadowRoots, nonce, printFn, onBeforePrint, onAfterPrint, iframeProps, children, }: PrinterProps): import("react
|
|
149
|
+
export declare function Printer({ preview, printInForeground, documentTitle, pageSize, pageMargin, printColorAdjust, fonts, copyShadowRoots, nonce, printFn, onBeforePrint, onAfterPrint, iframeProps, children, }: PrinterProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef } from
|
|
2
|
-
import { Portal } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
|
|
2
|
+
import { Portal } from "../Portal";
|
|
3
3
|
/** Properties of the printer content. */
|
|
4
4
|
export interface PrinterContentProps extends ComponentPropsWithoutRef<"div"> {
|
|
5
5
|
/**
|
|
@@ -19,4 +19,4 @@ export interface PrinterContentProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
19
19
|
* All “element” properties provided to this component will be forwarded to a
|
|
20
20
|
* wrapper element which **only** exists during printing.
|
|
21
21
|
*/
|
|
22
|
-
export declare const PrinterContent: import(
|
|
22
|
+
export declare const PrinterContent: import("react").ForwardRefExoticComponent<PrinterContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,7 @@ export interface PrinterContextValue {
|
|
|
5
5
|
finishPrintingTask?: () => void;
|
|
6
6
|
}
|
|
7
7
|
/** Printer content context. */
|
|
8
|
-
export declare const PrinterContentContext: import(
|
|
8
|
+
export declare const PrinterContentContext: import("react").Context<PrinterContextValue>;
|
|
9
9
|
/**
|
|
10
10
|
* Hook providing access to the printer content context.
|
|
11
11
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RefObject } from
|
|
2
|
-
import { PrinterProps, PrintOptions } from
|
|
1
|
+
import { type RefObject } from "react";
|
|
2
|
+
import type { PrinterProps, PrintOptions } from "./Printer.tsx";
|
|
3
3
|
/** Value of the printer context. */
|
|
4
4
|
interface PrinterContextValue {
|
|
5
5
|
preview?: boolean;
|
|
@@ -13,7 +13,7 @@ interface PrinterContextValue {
|
|
|
13
13
|
finishPrintingTask: () => void;
|
|
14
14
|
}
|
|
15
15
|
/** Printer context. */
|
|
16
|
-
export declare const PrinterContext: import(
|
|
16
|
+
export declare const PrinterContext: import("react").Context<PrinterContextValue | null>;
|
|
17
17
|
/** Hook providing access to the printer context. */
|
|
18
18
|
export declare function usePrinterContext(): PrinterContextValue;
|
|
19
19
|
/** Returns the `documentTitle` passed to the `Printer` component. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactElement } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactElement } from "react";
|
|
2
2
|
/** Properties of the printer trigger. */
|
|
3
3
|
export interface PrinterTriggerProps extends ComponentPropsWithoutRef<"button"> {
|
|
4
4
|
/**
|
|
@@ -17,4 +17,4 @@ export interface PrinterTriggerProps extends ComponentPropsWithoutRef<"button">
|
|
|
17
17
|
* This trigger will **not** show in the print, even when inside the print
|
|
18
18
|
* content, unless `showWhenPrinting` is set to `true`.
|
|
19
19
|
*/
|
|
20
|
-
export declare const PrinterTrigger: import(
|
|
20
|
+
export declare const PrinterTrigger: import("react").ForwardRefExoticComponent<PrinterTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./Printer.tsx";
|
|
2
|
+
export * from "./PrinterContent.tsx";
|
|
3
|
+
export { usePrinting, useStartPrintingTask } from "./PrinterContentContext.tsx";
|
|
4
|
+
export { usePrint, usePrinterDocumentTitle, usePrintInProgress, } from "./PrinterContext.ts";
|
|
5
|
+
export * from "./PrinterTrigger.tsx";
|
|
6
|
+
export * from "./usePrintClassNames.ts";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { RadioGroup as RadioGroupPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from
|
|
3
|
-
import { ControlStatus } from
|
|
4
|
-
import { ControlCode } from
|
|
5
|
-
import { Label } from
|
|
6
|
-
import { Spinner } from
|
|
1
|
+
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
|
|
3
|
+
import { type ControlStatus } from "../Control";
|
|
4
|
+
import { ControlCode } from "../ControlCode";
|
|
5
|
+
import { Label } from "../Label";
|
|
6
|
+
import { Spinner } from "../Spinner";
|
|
7
7
|
/** Properties of a radio component. */
|
|
8
8
|
export interface RadioProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>, "value"> {
|
|
9
9
|
/** Radio value. */
|
|
@@ -57,4 +57,4 @@ export interface RadioProps extends Omit<ComponentPropsWithoutRef<typeof RadioGr
|
|
|
57
57
|
spinnerProps?: Omit<ComponentPropsWithRef<typeof Spinner>, "size">;
|
|
58
58
|
}
|
|
59
59
|
/** Radio component. Must be used within a radio group. */
|
|
60
|
-
export declare const Radio: import(
|
|
60
|
+
export declare const Radio: import("react").ForwardRefExoticComponent<RadioProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { RadioGroup as RadioGroupPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef, FocusEvent, ReactNode } from
|
|
3
|
-
import { CloseButton } from
|
|
4
|
-
import { ControlShowClearButton, ControlStatus, ControlVariant } from
|
|
5
|
-
import { ControlCode } from
|
|
6
|
-
import { FormValidationMode } from
|
|
7
|
-
import { FormControlValidateFn } from
|
|
8
|
-
import { Spinner } from
|
|
1
|
+
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type FocusEvent, type ReactNode } from "react";
|
|
3
|
+
import { CloseButton } from "../CloseButton";
|
|
4
|
+
import { type ControlShowClearButton, type ControlStatus, type ControlVariant } from "../Control";
|
|
5
|
+
import { ControlCode } from "../ControlCode";
|
|
6
|
+
import type { FormValidationMode } from "../Form";
|
|
7
|
+
import { type FormControlValidateFn } from "../Form/useRegisterFormControl.ts";
|
|
8
|
+
import { Spinner } from "../Spinner";
|
|
9
9
|
/** Properties of the radio group component. */
|
|
10
10
|
export interface RadioGroupProps extends Omit<ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, "asChild" | "onValueChange"> {
|
|
11
11
|
/** Whether to display the radio group inline. */
|
|
@@ -122,4 +122,4 @@ export interface RadioGroupProps extends Omit<ComponentPropsWithoutRef<typeof Ra
|
|
|
122
122
|
* }
|
|
123
123
|
* ```
|
|
124
124
|
*/
|
|
125
|
-
export declare const RadioGroup: import(
|
|
125
|
+
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef } from
|
|
2
|
-
import { DocumentTitleProvider } from
|
|
3
|
-
import { ErrorReportingProvider } from
|
|
4
|
-
import { LocalizationObject } from
|
|
5
|
-
import { ErrorBoundary } from
|
|
6
|
-
import { ToastSwipeDirection, ToastViewportPosition } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
|
|
2
|
+
import { DocumentTitleProvider } from "../../providers/DocumentTitleProvider";
|
|
3
|
+
import { ErrorReportingProvider } from "../../providers/ErrorReportingProvider";
|
|
4
|
+
import type { LocalizationObject } from "../../providers/LocalizationProvider";
|
|
5
|
+
import type { ErrorBoundary } from "../ErrorBoundary";
|
|
6
|
+
import { type ToastSwipeDirection, type ToastViewportPosition } from "../Toast";
|
|
7
7
|
/** Properties of the ostack/UI root component. */
|
|
8
8
|
export interface RootProps extends ComponentPropsWithoutRef<"div">, Pick<ComponentPropsWithoutRef<typeof ErrorReportingProvider>, "reportError" | "errorReportingUrl" | "errorReportingMethod" | "encodeErrorReport" | "encodedErrorReportMimeType" | "errorReportingOptions">, Pick<ComponentPropsWithoutRef<typeof DocumentTitleProvider>, "baseDocumentTitle"> {
|
|
9
9
|
/**
|
|
@@ -127,4 +127,4 @@ export interface RootProps extends ComponentPropsWithoutRef<"div">, Pick<Compone
|
|
|
127
127
|
* It further wraps the whole application in an error boundary with support for
|
|
128
128
|
* error reporting.
|
|
129
129
|
*/
|
|
130
|
-
export declare const Root: import(
|
|
130
|
+
export declare const Root: import("react").ForwardRefExoticComponent<RootProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from
|
|
2
|
-
import { RootProps } from
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import type { RootProps } from "./Root.tsx";
|
|
3
3
|
/** Properties of the root element component. */
|
|
4
4
|
export interface RootElementProps extends ComponentPropsWithoutRef<"div">, Pick<RootProps, "asChild" | "errorBoundaryProps"> {
|
|
5
5
|
/** Whether to wrap children in an error boundary. */
|
|
6
6
|
includeErrorBoundary: boolean;
|
|
7
7
|
}
|
|
8
8
|
/** Root element. */
|
|
9
|
-
export declare const RootElement: import(
|
|
9
|
+
export declare const RootElement: import("react").ForwardRefExoticComponent<RootElementProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from
|
|
2
|
-
import { CommandMenuItem } from
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { CommandMenuItem } from "../CommandMenu";
|
|
3
3
|
/** Properties of the option component. */
|
|
4
4
|
export interface OptionProps extends Omit<ComponentPropsWithoutRef<typeof CommandMenuItem>, "value" | "asLink" | "onSelect" | "selected" | "icon" | "target" | "href"> {
|
|
5
5
|
/**
|
|
@@ -10,4 +10,4 @@ export interface OptionProps extends Omit<ComponentPropsWithoutRef<typeof Comman
|
|
|
10
10
|
value?: string | number;
|
|
11
11
|
}
|
|
12
12
|
/** An option which can be selected in a `Select`. */
|
|
13
|
-
export declare const Option: import(
|
|
13
|
+
export declare const Option: import("react").NamedExoticComponent<OptionProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
|
+
import { CommandMenuGroup } from "../CommandMenu";
|
|
3
|
+
/** Properties of the options group component. */
|
|
4
|
+
export interface OptionsGroupProps extends ComponentPropsWithoutRef<typeof CommandMenuGroup> {
|
|
5
|
+
}
|
|
6
|
+
/** Component used to group options within a `Select`. */
|
|
7
|
+
export declare const OptionsGroup: import("react").ForwardRefExoticComponent<OptionsGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef, CSSProperties, ReactNode } from
|
|
2
|
-
import { CommandMenu } from
|
|
3
|
-
import { ControlSelectMultipleProps, ControlSelectSingleProps } from
|
|
4
|
-
import { FormValidationMode } from
|
|
5
|
-
import { FormControlValidateFn } from
|
|
6
|
-
import { IconButton } from
|
|
7
|
-
import { PopoverContent, PopoverTrigger } from
|
|
8
|
-
import { Tag } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type CSSProperties, type ReactNode } from "react";
|
|
2
|
+
import { CommandMenu } from "../CommandMenu";
|
|
3
|
+
import { type ControlSelectMultipleProps, type ControlSelectSingleProps } from "../Control";
|
|
4
|
+
import type { FormValidationMode } from "../Form";
|
|
5
|
+
import { type FormControlValidateFn } from "../Form/useRegisterFormControl.ts";
|
|
6
|
+
import type { IconButton } from "../IconButton";
|
|
7
|
+
import { PopoverContent, PopoverTrigger } from "../Popover";
|
|
8
|
+
import type { Tag } from "../Tag";
|
|
9
9
|
/** Select's popover trigger properties. */
|
|
10
10
|
type SelectPopoverTriggerProps = Omit<ComponentPropsWithoutRef<typeof PopoverTrigger>, "defaultValue" | "value">;
|
|
11
11
|
/** Base properties of the select component. */
|
|
@@ -113,5 +113,5 @@ export type SelectProps = SelectSingleProps | SelectMultipleProps;
|
|
|
113
113
|
* }
|
|
114
114
|
* ```
|
|
115
115
|
*/
|
|
116
|
-
export declare const Select: import(
|
|
116
|
+
export declare const Select: import("react").ForwardRefExoticComponent<SelectProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
117
117
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from
|
|
2
|
-
import { AccentColor } from
|
|
3
|
-
import { ControlStatus } from
|
|
4
|
-
import { SelectProps } from
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
import type { AccentColor } from "../../utils/accent.ts";
|
|
3
|
+
import type { ControlStatus } from "../Control";
|
|
4
|
+
import type { SelectProps } from "./Select.tsx";
|
|
5
5
|
/** Value of the select context. */
|
|
6
6
|
export interface SelectContextValue {
|
|
7
7
|
registering?: boolean;
|
|
@@ -35,7 +35,7 @@ export interface SelectActions {
|
|
|
35
35
|
/** Select store. */
|
|
36
36
|
export type SelectStore = ReturnType<typeof useCreateSelectContext>["store"];
|
|
37
37
|
/** Select context. */
|
|
38
|
-
export declare const SelectContext: import(
|
|
38
|
+
export declare const SelectContext: import("react").Context<SelectContextValue | null>;
|
|
39
39
|
/** Options to pass to the `useCreateSelectContext` hook. */
|
|
40
40
|
export type UseCreateSelectContextOptions = Omit<SelectContextValue, "store">;
|
|
41
41
|
/** Hook which creates the select context. */
|
|
@@ -47,8 +47,8 @@ export declare function useCreateSelectContext({ multiple, value, onOptionSelect
|
|
|
47
47
|
disabled: boolean | undefined;
|
|
48
48
|
readOnly: boolean | undefined;
|
|
49
49
|
valueTagCloseButtonLabel: ReactNode;
|
|
50
|
-
valueTagProps: Omit<Omit<import(
|
|
51
|
-
store: Omit<import(
|
|
50
|
+
valueTagProps: Omit<Omit<import("../Tag/Tag.tsx").TagProps & import("react").RefAttributes<HTMLSpanElement>, "ref">, "color" | "open" | "defaultOpen" | "onOpenChange" | "showCloseButton"> | undefined;
|
|
51
|
+
store: Omit<import("zustand").StoreApi<SelectState>, "subscribe"> & {
|
|
52
52
|
subscribe: {
|
|
53
53
|
(listener: (selectedState: SelectState, previousSelectedState: SelectState) => void): () => void;
|
|
54
54
|
<U>(selector: (state: SelectState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SelectMultipleValue(): import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
2
|
/** Properties of the native `<select>` element. */
|
|
3
3
|
export interface SelectNativeProps extends ComponentPropsWithoutRef<"select"> {
|
|
4
4
|
actualElement: HTMLElement | null;
|
|
5
5
|
onValueChange: (value: string | string[]) => void;
|
|
6
6
|
}
|
|
7
7
|
/** Native `<select>` element used by the `Select` component. */
|
|
8
|
-
export declare const SelectNative: import(
|
|
8
|
+
export declare const SelectNative: import("react").ForwardRefExoticComponent<SelectNativeProps & import("react").RefAttributes<HTMLSelectElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function SelectSingleValue(): import("react").ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Separator as SeparatorPrimitive } from
|
|
2
|
-
import { ComponentPropsWithoutRef } from
|
|
3
|
-
import { AccentColor } from
|
|
1
|
+
import { Separator as SeparatorPrimitive } from "radix-ui";
|
|
2
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
3
|
+
import type { AccentColor } from "../../utils/accent.ts";
|
|
4
4
|
/** Link colours. */
|
|
5
5
|
export type SeparatorColor = AccentColor;
|
|
6
6
|
/** Properties of the separator component. */
|
|
@@ -42,4 +42,4 @@ export interface SeparatorProps extends ComponentPropsWithoutRef<typeof Separato
|
|
|
42
42
|
* }
|
|
43
43
|
* ```
|
|
44
44
|
*/
|
|
45
|
-
export declare const Separator: import(
|
|
45
|
+
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Separator.tsx";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Slot as SlotPrimitive } from "radix-ui";
|
|
2
|
+
/**
|
|
3
|
+
* Component that merges its props onto its immediate child.
|
|
4
|
+
*
|
|
5
|
+
* Used to support components with an `asChild` property.
|
|
6
|
+
*/
|
|
7
|
+
export declare const Slot: import("react").ForwardRefExoticComponent<SlotPrimitive.SlotProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from
|
|
2
|
-
import { AccentColor } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import type { AccentColor } from "../../utils/accent.ts";
|
|
3
3
|
/** Possible sizes of the spinner. */
|
|
4
4
|
export type SpinnerSize = "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl";
|
|
5
5
|
/** Possible colours of the spinner. */
|
|
@@ -38,4 +38,4 @@ export interface SpinnerProps extends ComponentPropsWithoutRef<"span"> {
|
|
|
38
38
|
* }
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
|
-
export declare const Spinner: import(
|
|
41
|
+
export declare const Spinner: import("react").ForwardRefExoticComponent<SpinnerProps & import("react").RefAttributes<HTMLSpanElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Spinner.tsx";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, CSSProperties, ReactElement } from
|
|
2
|
-
import { Responsive } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type CSSProperties, type ReactElement } from "react";
|
|
2
|
+
import { type Responsive } from "../../utils/useResponsiveValues.ts";
|
|
3
3
|
/** Possible stack directions. */
|
|
4
4
|
export type StackDirection = "column" | "column-reverse" | "row" | "row-reverse";
|
|
5
5
|
/** Whether to wrap items. */
|
|
@@ -61,4 +61,4 @@ export interface StackProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
61
61
|
* }
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
|
-
export declare const Stack: import(
|
|
64
|
+
export declare const Stack: import("react").ForwardRefExoticComponent<StackProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./Stack.tsx";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from
|
|
2
|
-
import { ButtonProps } from
|
|
3
|
-
import { ControlStatus } from
|
|
4
|
-
import { Label } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
|
|
2
|
+
import { type ButtonProps } from "../Button";
|
|
3
|
+
import { type ControlStatus } from "../Control";
|
|
4
|
+
import { Label } from "../Label";
|
|
5
5
|
/** Properties of the step component. */
|
|
6
6
|
export interface StepProps extends ComponentPropsWithoutRef<"li">, Pick<ButtonProps, "variant" | "disabled" | "loading" | "showSpinner" | "spinnerProps"> {
|
|
7
7
|
/**
|
|
@@ -29,4 +29,4 @@ export interface StepProps extends ComponentPropsWithoutRef<"li">, Pick<ButtonPr
|
|
|
29
29
|
labelProps?: Omit<ComponentPropsWithRef<typeof Label>, "htmlFor">;
|
|
30
30
|
}
|
|
31
31
|
/** Step trigger component. */
|
|
32
|
-
export declare const Step: import(
|
|
32
|
+
export declare const Step: import("react").ForwardRefExoticComponent<StepProps & import("react").RefAttributes<HTMLLIElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ComponentPropsWithRef } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
|
|
2
2
|
/** Properties of the step content component. */
|
|
3
3
|
export interface StepContentProps extends ComponentPropsWithoutRef<"div"> {
|
|
4
4
|
/**
|
|
@@ -15,4 +15,4 @@ export interface StepContentProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
15
15
|
stepContentLabelIndexProps?: ComponentPropsWithRef<"span">;
|
|
16
16
|
}
|
|
17
17
|
/** Step content component. */
|
|
18
|
-
export declare const StepContent: import(
|
|
18
|
+
export declare const StepContent: import("react").ForwardRefExoticComponent<StepContentProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef } from
|
|
1
|
+
import { type ComponentPropsWithoutRef } from "react";
|
|
2
2
|
/** Properties of the step list component. */
|
|
3
3
|
export interface StepListProps extends ComponentPropsWithoutRef<"ol"> {
|
|
4
4
|
/**
|
|
@@ -14,4 +14,4 @@ export interface StepListProps extends ComponentPropsWithoutRef<"ol"> {
|
|
|
14
14
|
* The `index` of each `Step` is automatically added when `Step`s are direct
|
|
15
15
|
* children of `StepList`.
|
|
16
16
|
*/
|
|
17
|
-
export declare const StepList: import(
|
|
17
|
+
export declare const StepList: import("react").ForwardRefExoticComponent<StepListProps & import("react").RefAttributes<HTMLOListElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, Ref } from
|
|
2
|
-
import { StepperApi } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type Ref } from "react";
|
|
2
|
+
import { type StepperApi } from "./StepperContext.ts";
|
|
3
3
|
/** Properties of the stepper component. */
|
|
4
4
|
export interface StepperProps extends ComponentPropsWithoutRef<"div"> {
|
|
5
5
|
/**
|
|
@@ -73,4 +73,4 @@ export interface StepperProps extends ComponentPropsWithoutRef<"div"> {
|
|
|
73
73
|
* }
|
|
74
74
|
* ```
|
|
75
75
|
*/
|
|
76
|
-
export declare const Stepper: import(
|
|
76
|
+
export declare const Stepper: import("react").ForwardRefExoticComponent<StepperProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ReactNode, RefObject } from
|
|
1
|
+
import { type ReactNode, type RefObject } from "react";
|
|
2
2
|
/** Value of the stepper context. */
|
|
3
3
|
export interface StepperContextValue {
|
|
4
4
|
showAllStepsWhilePrinting?: boolean;
|
|
@@ -37,7 +37,7 @@ interface StepperStateActions {
|
|
|
37
37
|
/** Stepper store. */
|
|
38
38
|
export type StepperStore = ReturnType<typeof useCreateStepperContext>["store"];
|
|
39
39
|
/** Stepper context. */
|
|
40
|
-
export declare const StepperContext: import(
|
|
40
|
+
export declare const StepperContext: import("react").Context<StepperContextValue | null>;
|
|
41
41
|
/** Stepper API. */
|
|
42
42
|
export interface StepperApi {
|
|
43
43
|
/** Currently active step. */
|
|
@@ -56,7 +56,7 @@ export interface StepperApi {
|
|
|
56
56
|
/** Hook which creates the stepper store. */
|
|
57
57
|
export declare function useCreateStepperContext(defaultActiveStep?: number, activeStep?: number, onActiveStepChange?: (activeStep: number) => void, showAllStepsWhilePrinting?: boolean): {
|
|
58
58
|
showAllStepsWhilePrinting: boolean | undefined;
|
|
59
|
-
store: Omit<import(
|
|
59
|
+
store: Omit<import("zustand").StoreApi<StepperState>, "subscribe"> & {
|
|
60
60
|
subscribe: {
|
|
61
61
|
(listener: (selectedState: StepperState, previousSelectedState: StepperState) => void): () => void;
|
|
62
62
|
<U>(selector: (state: StepperState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from
|
|
2
|
-
import { Button } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import { Button } from "../Button";
|
|
3
3
|
/** Properties of the stepper finish trigger component. */
|
|
4
4
|
export type StepperFinishTriggerProps = StepperFinishTriggerChildlessProps | StepperFinishTriggerChildrenProps;
|
|
5
5
|
/** Base properties of the stepper finish trigger component. */
|
|
@@ -34,4 +34,4 @@ export interface StepperFinishTriggerChildrenProps extends StepperFinishTriggerP
|
|
|
34
34
|
children: ReactNode;
|
|
35
35
|
}
|
|
36
36
|
/** Trigger used to conclude the stepper. */
|
|
37
|
-
export declare const StepperFinishTrigger: import(
|
|
37
|
+
export declare const StepperFinishTrigger: import("react").ForwardRefExoticComponent<StepperFinishTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPropsWithoutRef, ReactNode } from
|
|
2
|
-
import { Button } from
|
|
1
|
+
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
+
import { Button } from "../Button";
|
|
3
3
|
/** Properties of the stepper next trigger component. */
|
|
4
4
|
export type StepperNextTriggerProps = StepperNextTriggerChildlessProps | StepperNextTriggerChildrenProps;
|
|
5
5
|
/** Base properties of the stepper next trigger component. */
|
|
@@ -31,4 +31,4 @@ export interface StepperNextTriggerChildrenProps extends StepperNextTriggerProps
|
|
|
31
31
|
children: ReactNode;
|
|
32
32
|
}
|
|
33
33
|
/** Trigger used to go to the next step of the stepper. */
|
|
34
|
-
export declare const StepperNextTrigger: import(
|
|
34
|
+
export declare const StepperNextTrigger: import("react").ForwardRefExoticComponent<StepperNextTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
|