@ostack.tech/ui 0.14.2 → 0.15.1

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.
Files changed (339) hide show
  1. package/dist/chunks/en-Buw2XVWt.js +140 -0
  2. package/dist/chunks/en-Buw2XVWt.js.map +1 -0
  3. package/dist/chunks/platformUtils-dLFQaWJG.js +7 -0
  4. package/dist/chunks/platformUtils-dLFQaWJG.js.map +1 -0
  5. package/dist/locales/en-GB.js +16 -14
  6. package/dist/locales/en-GB.js.map +1 -1
  7. package/dist/locales/en-US.js +16 -14
  8. package/dist/locales/en-US.js.map +1 -1
  9. package/dist/locales/fr-FR.js +172 -209
  10. package/dist/locales/fr-FR.js.map +1 -1
  11. package/dist/locales/pt-PT.js +156 -195
  12. package/dist/locales/pt-PT.js.map +1 -1
  13. package/dist/ostack-ui.js +12884 -15108
  14. package/dist/ostack-ui.js.map +1 -1
  15. package/dist/types/components/Alert/Alert.d.ts +5 -5
  16. package/dist/types/components/Alert/AlertContext.d.ts +1 -1
  17. package/dist/types/components/Alert/AlertTitle.d.ts +1 -1
  18. package/dist/types/components/Alert/index.d.ts +2 -2
  19. package/dist/types/components/AlertDialog/AlertDialog.d.ts +2 -2
  20. package/dist/types/components/AlertDialog/AlertDialogAction.d.ts +3 -3
  21. package/dist/types/components/AlertDialog/AlertDialogBody.d.ts +3 -3
  22. package/dist/types/components/AlertDialog/AlertDialogCancel.d.ts +3 -3
  23. package/dist/types/components/AlertDialog/AlertDialogContent.d.ts +5 -5
  24. package/dist/types/components/AlertDialog/AlertDialogDescription.d.ts +3 -3
  25. package/dist/types/components/AlertDialog/AlertDialogFooter.d.ts +3 -3
  26. package/dist/types/components/AlertDialog/AlertDialogHeader.d.ts +3 -3
  27. package/dist/types/components/AlertDialog/AlertDialogTitle.d.ts +3 -3
  28. package/dist/types/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
  29. package/dist/types/components/AlertDialog/index.d.ts +10 -10
  30. package/dist/types/components/Button/Button.d.ts +8 -8
  31. package/dist/types/components/Button/index.d.ts +1 -1
  32. package/dist/types/components/ButtonGroup/ButtonGroup.d.ts +2 -2
  33. package/dist/types/components/ButtonGroup/index.d.ts +1 -1
  34. package/dist/types/components/Calendar/Calendar.d.ts +5 -5
  35. package/dist/types/components/Calendar/CalendarContext.d.ts +2 -2
  36. package/dist/types/components/Calendar/CalendarDay.d.ts +2 -4
  37. package/dist/types/components/Calendar/CalendarHeader.d.ts +2 -4
  38. package/dist/types/components/Calendar/CalendarMonthGrid.d.ts +2 -1
  39. package/dist/types/components/Calendar/index.d.ts +1 -1
  40. package/dist/types/components/Card/Card.d.ts +3 -3
  41. package/dist/types/components/Card/CardBody.d.ts +2 -2
  42. package/dist/types/components/Card/CardFooter.d.ts +2 -2
  43. package/dist/types/components/Card/CardHeader.d.ts +2 -2
  44. package/dist/types/components/Card/CardTitle.d.ts +1 -1
  45. package/dist/types/components/Card/index.d.ts +5 -5
  46. package/dist/types/components/Checkbox/Checkbox.d.ts +10 -10
  47. package/dist/types/components/Checkbox/index.d.ts +1 -1
  48. package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +7 -7
  49. package/dist/types/components/CheckboxGroup/CheckboxGroupContext.d.ts +4 -4
  50. package/dist/types/components/CheckboxGroup/index.d.ts +1 -1
  51. package/dist/types/components/ClearContexts/ClearContexts.d.ts +1 -1
  52. package/dist/types/components/ClearContexts/index.d.ts +1 -1
  53. package/dist/types/components/CloseButton/CloseButton.d.ts +3 -3
  54. package/dist/types/components/CloseButton/index.d.ts +1 -1
  55. package/dist/types/components/Code/Code.d.ts +3 -3
  56. package/dist/types/components/Code/index.d.ts +1 -1
  57. package/dist/types/components/Collapsible/Collapsible.d.ts +3 -3
  58. package/dist/types/components/Collapsible/CollapsibleContent.d.ts +3 -3
  59. package/dist/types/components/Collapsible/CollapsibleContext.d.ts +2 -2
  60. package/dist/types/components/Collapsible/CollapsibleTrigger.d.ts +4 -4
  61. package/dist/types/components/Collapsible/index.d.ts +3 -3
  62. package/dist/types/components/CommandMenu/CommandMenu.d.ts +8 -8
  63. package/dist/types/components/CommandMenu/CommandMenuDialog.d.ts +5 -5
  64. package/dist/types/components/CommandMenu/CommandMenuGroup.d.ts +3 -3
  65. package/dist/types/components/CommandMenu/CommandMenuItem.d.ts +4 -4
  66. package/dist/types/components/CommandMenu/index.d.ts +4 -4
  67. package/dist/types/components/Container/Container.d.ts +4 -4
  68. package/dist/types/components/Container/index.d.ts +1 -1
  69. package/dist/types/components/Control/Control.d.ts +6 -6
  70. package/dist/types/components/Control/ControlContext.d.ts +2 -2
  71. package/dist/types/components/Control/ControlWithContainerRef.d.ts +4 -4
  72. package/dist/types/components/Control/controlUtils.d.ts +2 -2
  73. package/dist/types/components/Control/index.d.ts +4 -4
  74. package/dist/types/components/ControlAddon/ControlAddon.d.ts +3 -3
  75. package/dist/types/components/ControlAddon/index.d.ts +1 -1
  76. package/dist/types/components/ControlCode/ControlCode.d.ts +3 -3
  77. package/dist/types/components/ControlCode/index.d.ts +1 -1
  78. package/dist/types/components/DataTable/DataTable.d.ts +57 -11
  79. package/dist/types/components/DataTable/DataTableApi.d.ts +2 -2
  80. package/dist/types/components/DataTable/DataTableBody.d.ts +4 -4
  81. package/dist/types/components/DataTable/DataTableCell.d.ts +3 -3
  82. package/dist/types/components/DataTable/DataTableColumn.d.ts +3 -3
  83. package/dist/types/components/DataTable/DataTableContent.d.ts +3 -3
  84. package/dist/types/components/DataTable/DataTableContext.d.ts +21 -42
  85. package/dist/types/components/DataTable/DataTableEmptyOrLoadingRows.d.ts +2 -2
  86. package/dist/types/components/DataTable/DataTableFilter.d.ts +2 -2
  87. package/dist/types/components/DataTable/DataTableFoot.d.ts +3 -3
  88. package/dist/types/components/DataTable/DataTableHead.d.ts +3 -3
  89. package/dist/types/components/DataTable/DataTablePagination.d.ts +3 -3
  90. package/dist/types/components/DataTable/DataTableRow.d.ts +3 -3
  91. package/dist/types/components/DataTable/DataTableRowsPerPage.d.ts +2 -2
  92. package/dist/types/components/DataTable/DataTableSelectionTrigger.d.ts +6 -4
  93. package/dist/types/components/DataTable/PagedDataTablePagination.d.ts +3 -3
  94. package/dist/types/components/DataTable/PagedDataTableRows.d.ts +1 -1
  95. package/dist/types/components/DataTable/ScrolledDataTablePagination.d.ts +3 -3
  96. package/dist/types/components/DataTable/ScrolledDataTableRows.d.ts +2 -2
  97. package/dist/types/components/DataTable/columnUtils.d.ts +1 -1
  98. package/dist/types/components/DataTable/getRowKey.d.ts +2 -2
  99. package/dist/types/components/DataTable/index.d.ts +12 -12
  100. package/dist/types/components/DataTable/{transformRows.d.ts → processRows.d.ts} +2 -2
  101. package/dist/types/components/DataTable/sanitizeProps.d.ts +2 -2
  102. package/dist/types/components/DataTable/useDataTableSelectionColumn.d.ts +1 -1
  103. package/dist/types/components/DateInput/DateInput.d.ts +7 -7
  104. package/dist/types/components/DateInput/index.d.ts +1 -1
  105. package/dist/types/components/DateRangeInput/DateRangeInput.d.ts +11 -11
  106. package/dist/types/components/DateRangeInput/index.d.ts +1 -1
  107. package/dist/types/components/DescriptionList/DescriptionList.d.ts +3 -3
  108. package/dist/types/components/DescriptionList/DescriptionListItem.d.ts +3 -3
  109. package/dist/types/components/DescriptionList/index.d.ts +2 -2
  110. package/dist/types/components/Dialog/Dialog.d.ts +2 -2
  111. package/dist/types/components/Dialog/DialogBody.d.ts +3 -3
  112. package/dist/types/components/Dialog/DialogClose.d.ts +3 -3
  113. package/dist/types/components/Dialog/DialogContent.d.ts +5 -5
  114. package/dist/types/components/Dialog/DialogDescription.d.ts +3 -3
  115. package/dist/types/components/Dialog/DialogFooter.d.ts +3 -3
  116. package/dist/types/components/Dialog/DialogHeader.d.ts +4 -4
  117. package/dist/types/components/Dialog/DialogTitle.d.ts +3 -3
  118. package/dist/types/components/Dialog/DialogTrigger.d.ts +3 -3
  119. package/dist/types/components/Dialog/index.d.ts +9 -9
  120. package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +2 -2
  121. package/dist/types/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +6 -6
  122. package/dist/types/components/DropdownMenu/DropdownMenuContent.d.ts +4 -4
  123. package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts +4 -4
  124. package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +4 -4
  125. package/dist/types/components/DropdownMenu/DropdownMenuRadioGroup.d.ts +4 -4
  126. package/dist/types/components/DropdownMenu/DropdownMenuRadioItem.d.ts +4 -4
  127. package/dist/types/components/DropdownMenu/DropdownMenuSub.d.ts +2 -2
  128. package/dist/types/components/DropdownMenu/DropdownMenuSubContent.d.ts +4 -4
  129. package/dist/types/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -4
  130. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +3 -3
  131. package/dist/types/components/DropdownMenu/index.d.ts +11 -11
  132. package/dist/types/components/ErrorBoundary/ErrorBoundary.d.ts +5 -5
  133. package/dist/types/components/ErrorBoundary/index.d.ts +2 -2
  134. package/dist/types/components/ErrorBoundary/useErrorBoundary.d.ts +1 -1
  135. package/dist/types/components/Feedback/Feedback.d.ts +2 -2
  136. package/dist/types/components/Feedback/index.d.ts +1 -1
  137. package/dist/types/components/FeedbackList/FeedbackList.d.ts +2 -2
  138. package/dist/types/components/FeedbackList/FeedbackListContext.d.ts +1 -1
  139. package/dist/types/components/FeedbackList/index.d.ts +2 -2
  140. package/dist/types/components/FeedbackPopover/FeedbackPopover.d.ts +5 -5
  141. package/dist/types/components/FeedbackPopover/FeedbackPopoverContext.d.ts +2 -2
  142. package/dist/types/components/FeedbackPopover/index.d.ts +2 -2
  143. package/dist/types/components/Field/Field.d.ts +2 -2
  144. package/dist/types/components/Field/FieldContext.d.ts +4 -4
  145. package/dist/types/components/Field/FieldProvider.d.ts +2 -2
  146. package/dist/types/components/Field/index.d.ts +3 -3
  147. package/dist/types/components/FieldGroup/FieldGroup.d.ts +2 -2
  148. package/dist/types/components/FieldGroup/FieldGroupBody.d.ts +2 -2
  149. package/dist/types/components/FieldGroup/FieldGroupContext.d.ts +2 -2
  150. package/dist/types/components/FieldGroup/FieldGroupHeader.d.ts +2 -2
  151. package/dist/types/components/FieldGroup/FieldGroupTitle.d.ts +1 -1
  152. package/dist/types/components/FieldGroup/index.d.ts +4 -4
  153. package/dist/types/components/Form/Form.d.ts +2 -2
  154. package/dist/types/components/Form/FormContext.d.ts +8 -8
  155. package/dist/types/components/Form/FormError.d.ts +2 -2
  156. package/dist/types/components/Form/FormReset.d.ts +2 -2
  157. package/dist/types/components/Form/FormState.d.ts +1 -1
  158. package/dist/types/components/Form/FormSubmit.d.ts +2 -2
  159. package/dist/types/components/Form/HiddenFormControl.d.ts +2 -2
  160. package/dist/types/components/Form/formUtils.d.ts +2 -2
  161. package/dist/types/components/Form/index.d.ts +6 -6
  162. package/dist/types/components/Form/useRegisterFormControl.d.ts +3 -3
  163. package/dist/types/components/Grid/Grid.d.ts +3 -3
  164. package/dist/types/components/Grid/index.d.ts +1 -1
  165. package/dist/types/components/Heading/Heading.d.ts +1 -1
  166. package/dist/types/components/Heading/index.d.ts +1 -1
  167. package/dist/types/components/HelperText/HelperText.d.ts +2 -2
  168. package/dist/types/components/HelperText/index.d.ts +1 -1
  169. package/dist/types/components/Icon/Icon.d.ts +6 -6
  170. package/dist/types/components/Icon/index.d.ts +1 -1
  171. package/dist/types/components/IconButton/IconButton.d.ts +8 -8
  172. package/dist/types/components/IconButton/index.d.ts +1 -1
  173. package/dist/types/components/Input/Input.d.ts +4 -4
  174. package/dist/types/components/Input/index.d.ts +1 -1
  175. package/dist/types/components/Keybinds/Key.d.ts +2 -2
  176. package/dist/types/components/Keybinds/KeyPress.d.ts +2 -2
  177. package/dist/types/components/Keybinds/Keybind.d.ts +2 -2
  178. package/dist/types/components/Keybinds/Keybinds.d.ts +2 -2
  179. package/dist/types/components/Keybinds/index.d.ts +1 -1
  180. package/dist/types/components/Keyboard/Keyboard.d.ts +2 -2
  181. package/dist/types/components/Keyboard/index.d.ts +1 -1
  182. package/dist/types/components/Label/Label.d.ts +6 -6
  183. package/dist/types/components/Label/index.d.ts +1 -1
  184. package/dist/types/components/Layer/Layer.d.ts +3 -3
  185. package/dist/types/components/Layer/LayerContext.d.ts +1 -1
  186. package/dist/types/components/Layer/index.d.ts +2 -2
  187. package/dist/types/components/Link/Link.d.ts +4 -4
  188. package/dist/types/components/Link/LinkContext.d.ts +2 -2
  189. package/dist/types/components/Link/index.d.ts +1 -1
  190. package/dist/types/components/Mark/Mark.d.ts +3 -3
  191. package/dist/types/components/Mark/index.d.ts +1 -1
  192. package/dist/types/components/MenuList/MenuList.d.ts +2 -2
  193. package/dist/types/components/MenuList/MenuListContext.d.ts +2 -2
  194. package/dist/types/components/MenuList/MenuListGroup.d.ts +2 -2
  195. package/dist/types/components/MenuList/MenuListItem.d.ts +8 -8
  196. package/dist/types/components/MenuList/index.d.ts +3 -3
  197. package/dist/types/components/NumericInput/NumericInput.d.ts +5 -5
  198. package/dist/types/components/NumericInput/index.d.ts +1 -1
  199. package/dist/types/components/NumericInput/numericInputUtils.d.ts +2 -2
  200. package/dist/types/components/Output/Output.d.ts +3 -3
  201. package/dist/types/components/Output/index.d.ts +1 -1
  202. package/dist/types/components/Overlay/Overlay.d.ts +2 -2
  203. package/dist/types/components/Overlay/index.d.ts +1 -1
  204. package/dist/types/components/Popover/Popover.d.ts +2 -2
  205. package/dist/types/components/Popover/PopoverAnchor.d.ts +2 -2
  206. package/dist/types/components/Popover/PopoverClose.d.ts +3 -3
  207. package/dist/types/components/Popover/PopoverContent.d.ts +3 -3
  208. package/dist/types/components/Popover/PopoverTrigger.d.ts +3 -3
  209. package/dist/types/components/Popover/index.d.ts +5 -5
  210. package/dist/types/components/Portal/Portal.d.ts +3 -3
  211. package/dist/types/components/Portal/PortalContext.d.ts +1 -1
  212. package/dist/types/components/Portal/index.d.ts +2 -2
  213. package/dist/types/components/Printer/Printer.d.ts +3 -3
  214. package/dist/types/components/Printer/PrinterContent.d.ts +3 -3
  215. package/dist/types/components/Printer/PrinterContentContext.d.ts +1 -1
  216. package/dist/types/components/Printer/PrinterContext.d.ts +3 -3
  217. package/dist/types/components/Printer/PrinterTrigger.d.ts +2 -2
  218. package/dist/types/components/Printer/index.d.ts +6 -6
  219. package/dist/types/components/RadioGroup/Radio.d.ts +7 -7
  220. package/dist/types/components/RadioGroup/RadioGroup.d.ts +9 -9
  221. package/dist/types/components/RadioGroup/index.d.ts +2 -2
  222. package/dist/types/components/Root/Root.d.ts +7 -7
  223. package/dist/types/components/Root/RootContext.d.ts +1 -1
  224. package/dist/types/components/Root/RootElement.d.ts +3 -3
  225. package/dist/types/components/Root/index.d.ts +2 -2
  226. package/dist/types/components/Select/Option.d.ts +3 -3
  227. package/dist/types/components/Select/OptionsGroup.d.ts +3 -3
  228. package/dist/types/components/Select/Select.d.ts +9 -9
  229. package/dist/types/components/Select/SelectContext.d.ts +7 -7
  230. package/dist/types/components/Select/SelectMultipleValue.d.ts +1 -1
  231. package/dist/types/components/Select/SelectNative.d.ts +2 -2
  232. package/dist/types/components/Select/SelectSingleValue.d.ts +1 -1
  233. package/dist/types/components/Select/index.d.ts +3 -3
  234. package/dist/types/components/Separator/Separator.d.ts +4 -4
  235. package/dist/types/components/Separator/index.d.ts +1 -1
  236. package/dist/types/components/Slot/Slot.d.ts +2 -2
  237. package/dist/types/components/Slot/Slottable.d.ts +1 -1
  238. package/dist/types/components/Slot/index.d.ts +2 -2
  239. package/dist/types/components/Spinner/Spinner.d.ts +3 -3
  240. package/dist/types/components/Spinner/index.d.ts +1 -1
  241. package/dist/types/components/Stack/Stack.d.ts +3 -3
  242. package/dist/types/components/Stack/index.d.ts +1 -1
  243. package/dist/types/components/Stepper/Step.d.ts +5 -5
  244. package/dist/types/components/Stepper/StepContent.d.ts +2 -2
  245. package/dist/types/components/Stepper/StepList.d.ts +2 -2
  246. package/dist/types/components/Stepper/Stepper.d.ts +3 -3
  247. package/dist/types/components/Stepper/StepperContext.d.ts +3 -3
  248. package/dist/types/components/Stepper/StepperFinishTrigger.d.ts +3 -3
  249. package/dist/types/components/Stepper/StepperNextTrigger.d.ts +3 -3
  250. package/dist/types/components/Stepper/StepperPreviousTrigger.d.ts +3 -3
  251. package/dist/types/components/Stepper/StepperState.d.ts +2 -2
  252. package/dist/types/components/Stepper/index.d.ts +9 -9
  253. package/dist/types/components/Table/Table.d.ts +3 -3
  254. package/dist/types/components/Table/TableBody.d.ts +2 -2
  255. package/dist/types/components/Table/TableCell.d.ts +3 -3
  256. package/dist/types/components/Table/TableColumn.d.ts +9 -9
  257. package/dist/types/components/Table/TableContext.d.ts +9 -9
  258. package/dist/types/components/Table/TableFoot.d.ts +2 -2
  259. package/dist/types/components/Table/TableHead.d.ts +3 -3
  260. package/dist/types/components/Table/TableRow.d.ts +2 -2
  261. package/dist/types/components/Table/columnUtils.d.ts +3 -3
  262. package/dist/types/components/Table/index.d.ts +8 -8
  263. package/dist/types/components/Tabs/Tab.d.ts +5 -5
  264. package/dist/types/components/Tabs/TabContent.d.ts +3 -3
  265. package/dist/types/components/Tabs/TabList.d.ts +4 -4
  266. package/dist/types/components/Tabs/Tabs.d.ts +3 -3
  267. package/dist/types/components/Tabs/TabsContext.d.ts +5 -5
  268. package/dist/types/components/Tabs/index.d.ts +4 -4
  269. package/dist/types/components/Tag/Badge.d.ts +2 -2
  270. package/dist/types/components/Tag/Tag.d.ts +6 -6
  271. package/dist/types/components/Tag/index.d.ts +2 -2
  272. package/dist/types/components/TextArea/TextArea.d.ts +4 -4
  273. package/dist/types/components/TextArea/index.d.ts +1 -1
  274. package/dist/types/components/Toast/Toast.d.ts +5 -5
  275. package/dist/types/components/Toast/ToastDescription.d.ts +2 -2
  276. package/dist/types/components/Toast/ToastProvider.d.ts +3 -3
  277. package/dist/types/components/Toast/ToastTitle.d.ts +3 -3
  278. package/dist/types/components/Toast/ToastViewport.d.ts +3 -3
  279. package/dist/types/components/Toast/index.d.ts +5 -5
  280. package/dist/types/components/Tooltip/Tooltip.d.ts +3 -3
  281. package/dist/types/components/Tooltip/TooltipProvider.d.ts +2 -2
  282. package/dist/types/components/Tooltip/index.d.ts +2 -2
  283. package/dist/types/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
  284. package/dist/types/components/VisuallyHidden/index.d.ts +1 -1
  285. package/dist/types/index.d.ts +106 -105
  286. package/dist/types/locales/en-GB.d.ts +1 -1
  287. package/dist/types/locales/en-US.d.ts +1 -1
  288. package/dist/types/locales/en.d.ts +1 -1
  289. package/dist/types/locales/fr-FR.d.ts +1 -1
  290. package/dist/types/locales/index.d.ts +4 -4
  291. package/dist/types/locales/pt-PT.d.ts +1 -1
  292. package/dist/types/providers/AlertDialogProvider/AlertDialogProvider.d.ts +2 -2
  293. package/dist/types/providers/AlertDialogProvider/AlertDialogProviderContext.d.ts +4 -4
  294. package/dist/types/providers/AlertDialogProvider/index.d.ts +3 -3
  295. package/dist/types/providers/AlertDialogProvider/useAlertDialog.d.ts +1 -1
  296. package/dist/types/providers/DocumentTitleProvider/DocumentTitle.d.ts +2 -2
  297. package/dist/types/providers/DocumentTitleProvider/DocumentTitleProvider.d.ts +2 -2
  298. package/dist/types/providers/DocumentTitleProvider/DocumentTitleProviderContext.d.ts +3 -3
  299. package/dist/types/providers/DocumentTitleProvider/index.d.ts +2 -2
  300. package/dist/types/providers/ErrorReportingProvider/ErrorReport.d.ts +1 -1
  301. package/dist/types/providers/ErrorReportingProvider/ErrorReportingContext.d.ts +2 -2
  302. package/dist/types/providers/ErrorReportingProvider/ErrorReportingProvider.d.ts +3 -3
  303. package/dist/types/providers/ErrorReportingProvider/index.d.ts +4 -4
  304. package/dist/types/providers/ErrorReportingProvider/useErrorReporter.d.ts +1 -1
  305. package/dist/types/providers/LocalizationProvider/LocalizationContext.d.ts +2 -2
  306. package/dist/types/providers/LocalizationProvider/LocalizationObject.d.ts +25 -25
  307. package/dist/types/providers/LocalizationProvider/LocalizationProvider.d.ts +3 -3
  308. package/dist/types/providers/LocalizationProvider/index.d.ts +4 -4
  309. package/dist/types/providers/LocalizationProvider/useLocale.d.ts +1 -1
  310. package/dist/types/providers/PrefixProvider/PrefixContext.d.ts +1 -1
  311. package/dist/types/providers/PrefixProvider/PrefixProvider.d.ts +2 -2
  312. package/dist/types/providers/PrefixProvider/defaultPrefix.d.ts +1 -1
  313. package/dist/types/providers/PrefixProvider/index.d.ts +4 -4
  314. package/dist/types/providers/ToastManagerProvider/ToastManagerContext.d.ts +4 -4
  315. package/dist/types/providers/ToastManagerProvider/ToastManagerProvider.d.ts +2 -2
  316. package/dist/types/providers/ToastManagerProvider/index.d.ts +3 -3
  317. package/dist/types/providers/ToastManagerProvider/useToastManager.d.ts +1 -1
  318. package/dist/types/utils/breakpoints.d.ts +1 -1
  319. package/dist/types/utils/keyboardShortcut.d.ts +15 -10
  320. package/dist/types/utils/parseDateStrict.d.ts +1 -1
  321. package/dist/types/utils/polymorphicTypes.d.ts +1 -1
  322. package/dist/types/utils/useCombinedRef.d.ts +1 -1
  323. package/dist/types/utils/useControllableState.d.ts +1 -1
  324. package/dist/types/utils/useCssVars.d.ts +1 -1
  325. package/dist/types/utils/useDateTransformer.d.ts +1 -1
  326. package/dist/types/utils/useLatestRef.d.ts +9 -0
  327. package/dist/types/utils/usePrevious.d.ts +9 -0
  328. package/dist/types/utils/useResponsiveValues.d.ts +2 -2
  329. package/dist/types/utils/useSafeLayoutEffect.d.ts +3 -0
  330. package/dist/types/utils/useSearchParam.d.ts +1 -1
  331. package/dist/types/utils/useSearchParams.d.ts +1 -1
  332. package/dist/types/utils/zustandUtils.d.ts +1 -1
  333. package/package.json +8 -8
  334. package/dist/chunks/en-BiTLo8i1.js +0 -179
  335. package/dist/chunks/en-BiTLo8i1.js.map +0 -1
  336. package/dist/chunks/platformUtils-C3IHCr90.js +0 -6
  337. package/dist/chunks/platformUtils-C3IHCr90.js.map +0 -1
  338. package/dist/types/utils/useLatestValues.d.ts +0 -8
  339. package/dist/types/utils/useLayoutEffect.d.ts +0 -3
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithoutRef, ComponentPropsWithRef, ReactNode } from 'react';
2
- import { CloseButton } from '../CloseButton';
3
- import { CollapsibleContent } from '../Collapsible';
4
- import { Icon, IconProp } from '../Icon';
1
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type ReactNode } from "react";
2
+ import { CloseButton } from "../CloseButton";
3
+ import { CollapsibleContent } from "../Collapsible";
4
+ import { Icon, type IconProp } from "../Icon";
5
5
  /** Alert variants. */
6
6
  export type AlertVariant = "solid" | "subtle" | "outlined";
7
7
  /** Alert severities. */
@@ -96,4 +96,4 @@ export interface AlertProps extends ComponentPropsWithoutRef<"div"> {
96
96
  * }
97
97
  * ```
98
98
  */
99
- export declare const Alert: import('react').ForwardRefExoticComponent<AlertProps & import('react').RefAttributes<HTMLDivElement>>;
99
+ export declare const Alert: import("react").ForwardRefExoticComponent<AlertProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -3,6 +3,6 @@ export interface AlertContextValue {
3
3
  setTitleId: (id: string | undefined) => void;
4
4
  }
5
5
  /** Alert context. */
6
- export declare const AlertContext: import('react').Context<AlertContextValue | null>;
6
+ export declare const AlertContext: import("react").Context<AlertContextValue | null>;
7
7
  /** Hook providing access to the alert context. */
8
8
  export declare function useAlertContext(): AlertContextValue;
@@ -1,4 +1,4 @@
1
- import { PolymorphicComponent, PolymorphicProps } from '../../utils/polymorphicTypes.ts';
1
+ import type { PolymorphicComponent, PolymorphicProps } from "../../utils/polymorphicTypes.ts";
2
2
  /** Element an alert title can be rendered as. */
3
3
  export type AlertTitleAs = "div" | "span" | "h2" | "h3" | "h4" | "h5" | "h6";
4
4
  /** Properties of the alert title component. */
@@ -1,2 +1,2 @@
1
- export * from './Alert.tsx';
2
- export * from './AlertTitle.tsx';
1
+ export * from "./Alert.tsx";
2
+ export * from "./AlertTitle.tsx";
@@ -1,4 +1,4 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
2
  /**
3
3
  * The alert dialog component displays an important overlaid “window” to the
4
4
  * user and expects a response.
@@ -83,4 +83,4 @@ import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
83
83
  * > instead, which provides an imperative API for triggering “alert”, “confirm”,
84
84
  * > or “prompt” dialogs.
85
85
  */
86
- export declare const AlertDialog: import('react').FC<AlertDialogPrimitive.AlertDialogProps>;
86
+ export declare const AlertDialog: import("react").FC<AlertDialogPrimitive.AlertDialogProps>;
@@ -1,5 +1,5 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the alert dialog action component. */
4
4
  export interface AlertDialogActionProps extends Omit<ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>, "asChild"> {
5
5
  }
@@ -7,4 +7,4 @@ export interface AlertDialogActionProps extends Omit<ComponentPropsWithoutRef<ty
7
7
  * Button which closes the alert dialog by accepting the action. These buttons
8
8
  * should be distinguished visually from `AlertDialogCancel` buttons.
9
9
  */
10
- export declare const AlertDialogAction: import('react').ForwardRefExoticComponent<AlertDialogActionProps & import('react').RefAttributes<HTMLButtonElement>>;
10
+ export declare const AlertDialogAction: import("react").ForwardRefExoticComponent<AlertDialogActionProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { DialogBody } from '../Dialog';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import { DialogBody } from "../Dialog";
3
3
  /** Properties to the alert dialog body component. */
4
4
  export interface AlertDialogBodyProps extends ComponentPropsWithoutRef<typeof DialogBody> {
5
5
  }
6
6
  /** Body section of the alert dialog. */
7
- export declare const AlertDialogBody: import('react').ForwardRefExoticComponent<AlertDialogBodyProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const AlertDialogBody: import("react").ForwardRefExoticComponent<AlertDialogBodyProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the alert dialog cancel component. */
4
4
  export interface AlertDialogCancelProps extends Omit<ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>, "asChild"> {
5
5
  }
@@ -7,4 +7,4 @@ export interface AlertDialogCancelProps extends Omit<ComponentPropsWithoutRef<ty
7
7
  * Button which closes the alert dialog by cancelling the action. These buttons
8
8
  * should be distinguished visually from `AlertDialogAction` buttons.
9
9
  */
10
- export declare const AlertDialogCancel: import('react').ForwardRefExoticComponent<AlertDialogCancelProps & import('react').RefAttributes<HTMLButtonElement>>;
10
+ export declare const AlertDialogCancel: import("react").ForwardRefExoticComponent<AlertDialogCancelProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,7 +1,7 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef, ComponentPropsWithRef } from 'react';
3
- import { DialogContentColor, DialogContentSize, DialogContentVariant } from '../Dialog';
4
- import { Overlay } from '../Overlay';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef } from "react";
3
+ import type { DialogContentColor, DialogContentSize, DialogContentVariant } from "../Dialog";
4
+ import { Overlay } from "../Overlay";
5
5
  /** Alert dialog content variants. */
6
6
  export type AlertDialogContentVariant = DialogContentVariant;
7
7
  /** Possible alert dialog content colors. */
@@ -42,4 +42,4 @@ export interface AlertDialogContentProps extends ComponentPropsWithoutRef<typeof
42
42
  overlayProps?: ComponentPropsWithRef<typeof Overlay>;
43
43
  }
44
44
  /** Content to be rendered in the open alert dialog. */
45
- export declare const AlertDialogContent: import('react').ForwardRefExoticComponent<AlertDialogContentProps & import('react').RefAttributes<HTMLDivElement>>;
45
+ export declare const AlertDialogContent: import("react").ForwardRefExoticComponent<AlertDialogContentProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the alert dialog description component. */
4
4
  export interface AlertDialogDescriptionProps extends ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description> {
5
5
  }
@@ -11,4 +11,4 @@ export interface AlertDialogDescriptionProps extends ComponentPropsWithoutRef<ty
11
11
  * the description entirely, pass `aria-describedby={undefined}` to the
12
12
  * `AlertDialogContent` and omit this component.
13
13
  */
14
- export declare const AlertDialogDescription: import('react').ForwardRefExoticComponent<AlertDialogDescriptionProps & import('react').RefAttributes<HTMLParagraphElement>>;
14
+ export declare const AlertDialogDescription: import("react").ForwardRefExoticComponent<AlertDialogDescriptionProps & import("react").RefAttributes<HTMLParagraphElement>>;
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { DialogFooter } from '../Dialog';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import { DialogFooter } from "../Dialog";
3
3
  /** Properties to the alert dialog footer component. */
4
4
  export interface AlertDialogFooterProps extends ComponentPropsWithoutRef<typeof DialogFooter> {
5
5
  }
6
6
  /** Footer section of the alert dialog. */
7
- export declare const AlertDialogFooter: import('react').ForwardRefExoticComponent<AlertDialogFooterProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const AlertDialogFooter: import("react").ForwardRefExoticComponent<AlertDialogFooterProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { CardHeader } from '../Card';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import { CardHeader } from "../Card";
3
3
  /** Properties of the alert dialog header component. */
4
4
  export interface AlertDialogHeaderProps extends ComponentPropsWithoutRef<typeof CardHeader> {
5
5
  }
6
6
  /** Header section of the alert dialog. */
7
- export declare const AlertDialogHeader: import('react').ForwardRefExoticComponent<AlertDialogHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const AlertDialogHeader: import("react").ForwardRefExoticComponent<AlertDialogHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
3
- import { PolymorphicComponent, PolymorphicProps } from '../../utils/polymorphicTypes.ts';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
+ import type { PolymorphicComponent, PolymorphicProps } from "../../utils/polymorphicTypes.ts";
4
4
  /** Element an alert dialog title can be rendered as. */
5
5
  export type AlertDialogTitleAs = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div" | "span";
6
6
  /** Properties of the alert dialog title component. */
@@ -1,7 +1,7 @@
1
- import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { AlertDialog as AlertDialogPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the alert dialog trigger component. */
4
4
  export interface AlertDialogTriggerProps extends Omit<ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Trigger>, "asChild"> {
5
5
  }
6
6
  /** The button which, when pressed, opens the alert dialog */
7
- export declare const AlertDialogTrigger: import('react').ForwardRefExoticComponent<AlertDialogTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
7
+ export declare const AlertDialogTrigger: import("react").ForwardRefExoticComponent<AlertDialogTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1,10 +1,10 @@
1
- export * from './AlertDialog.tsx';
2
- export * from './AlertDialogAction.tsx';
3
- export * from './AlertDialogBody.tsx';
4
- export * from './AlertDialogCancel.tsx';
5
- export * from './AlertDialogContent.tsx';
6
- export * from './AlertDialogDescription.tsx';
7
- export * from './AlertDialogFooter.tsx';
8
- export * from './AlertDialogHeader.tsx';
9
- export * from './AlertDialogTitle.tsx';
10
- export * from './AlertDialogTrigger.tsx';
1
+ export * from "./AlertDialog.tsx";
2
+ export * from "./AlertDialogAction.tsx";
3
+ export * from "./AlertDialogBody.tsx";
4
+ export * from "./AlertDialogCancel.tsx";
5
+ export * from "./AlertDialogContent.tsx";
6
+ export * from "./AlertDialogDescription.tsx";
7
+ export * from "./AlertDialogFooter.tsx";
8
+ export * from "./AlertDialogHeader.tsx";
9
+ export * from "./AlertDialogTitle.tsx";
10
+ export * from "./AlertDialogTrigger.tsx";
@@ -1,11 +1,11 @@
1
- import { ComponentPropsWithRef, ReactElement, ReactNode } from 'react';
2
- import { AccentColor } from '../../utils/accent.ts';
3
- import { KeyboardShortcutKeybinds } from '../../utils/keyboardShortcut.ts';
4
- import { PolymorphicComponent, PolymorphicProps } from '../../utils/polymorphicTypes.ts';
5
- import { Icon, IconProp } from '../Icon';
6
- import { Keybinds } from '../Keybinds';
7
- import { Spinner } from '../Spinner';
8
- import { Tooltip } from '../Tooltip';
1
+ import { type ComponentPropsWithRef, type ReactElement, type ReactNode } from "react";
2
+ import type { AccentColor } from "../../utils/accent.ts";
3
+ import { type KeyboardShortcutKeybinds } from "../../utils/keyboardShortcut.ts";
4
+ import type { PolymorphicComponent, PolymorphicProps } from "../../utils/polymorphicTypes.ts";
5
+ import { Icon, type IconProp } from "../Icon";
6
+ import { Keybinds } from "../Keybinds";
7
+ import { Spinner } from "../Spinner";
8
+ import { Tooltip } from "../Tooltip";
9
9
  /** Elements a button can be rendered as. */
10
10
  export type ButtonAs = "button" | "a";
11
11
  /** Button variants. */
@@ -1 +1 @@
1
- export * from './Button.tsx';
1
+ export * from "./Button.tsx";
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  /** Properties of the button group component. */
3
3
  export interface ButtonGroupProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
@@ -29,4 +29,4 @@ export interface ButtonGroupProps extends ComponentPropsWithoutRef<"div"> {
29
29
  * }
30
30
  * ```
31
31
  */
32
- export declare const ButtonGroup: import('react').ForwardRefExoticComponent<ButtonGroupProps & import('react').RefAttributes<HTMLDivElement>>;
32
+ export declare const ButtonGroup: import("react").ForwardRefExoticComponent<ButtonGroupProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- export * from './ButtonGroup.tsx';
1
+ export * from "./ButtonGroup.tsx";
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithRef, RefObject } from 'react';
2
- import { DayPickerProps } from 'react-day-picker';
3
- import { IconButton } from '../IconButton';
4
- import { SelectSingleProps } from '../Select';
1
+ import { type ComponentPropsWithRef, type RefObject } from "react";
2
+ import { type DayPickerProps } from "react-day-picker";
3
+ import type { IconButton } from "../IconButton";
4
+ import type { SelectSingleProps } from "../Select";
5
5
  /** Mode for selecting calendar dates. */
6
6
  export type CalendarSelectionMode = "none" | "single" | "multiple" | "range" | "range-start" | "range-end";
7
7
  /** Accepted range of dates from a start date to an end date. */
@@ -115,4 +115,4 @@ export interface CalendarRangeSelectionProps extends CalendarPropsBase<DateRange
115
115
  * }
116
116
  * ```
117
117
  */
118
- export declare function Calendar({ selectionMode, defaultValue, value: controlledValue, onValueChange, required, minDate, maxDate, minMonth, maxMonth, minYear, maxYear, monthSelectLabel, yearSelectLabel, previousMonthLabel, nextMonthLabel, defaultMonth, month: controlledMonth, onMonthChange, onDayClick, onDayFocus, onDayMouseEnter, numberOfMonths, fixedWeeks, showOutsideDays, disableNavigation, disabled, modifiers, apiRef, headerProps, headerLabelProps, previousButtonProps, nextButtonProps, monthSelectProps, yearSelectProps, pagedNavigation, ...otherProps }: CalendarProps): import("react/jsx-runtime").JSX.Element;
118
+ export declare function Calendar({ selectionMode, defaultValue, value: controlledValue, onValueChange, required, minDate, maxDate, minMonth, maxMonth, minYear, maxYear, monthSelectLabel, yearSelectLabel, previousMonthLabel, nextMonthLabel, defaultMonth, month: controlledMonth, onMonthChange, onDayClick, onDayFocus, onDayMouseEnter, numberOfMonths, fixedWeeks, showOutsideDays, disableNavigation, disabled, modifiers, apiRef, headerProps, headerLabelProps, previousButtonProps, nextButtonProps, monthSelectProps, yearSelectProps, pagedNavigation, ...otherProps }: CalendarProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { CalendarProps } from './Calendar.tsx';
1
+ import type { CalendarProps } from "./Calendar.tsx";
2
2
  /** Value of the calendar context. */
3
3
  export interface CalendarContextValue {
4
4
  minAllowedDate: Date | undefined;
@@ -15,6 +15,6 @@ export interface CalendarContextValue {
15
15
  yearSelectProps: CalendarProps["yearSelectProps"];
16
16
  }
17
17
  /** Calendar context. */
18
- export declare const CalendarContext: import('react').Context<CalendarContextValue | null>;
18
+ export declare const CalendarContext: import("react").Context<CalendarContextValue | null>;
19
19
  /** Hook providing access to the calendar context. */
20
20
  export declare function useCalendarContext(): CalendarContextValue;
@@ -1,10 +1,8 @@
1
+ import { type DayProps } from "react-day-picker";
1
2
  /**
2
3
  * Reimplementation of the React Day Picker's day component to provide a
3
4
  * consistent inner element (even when the day isn't interactive), as well as a
4
5
  * wrapper over the day text which lets us style it without styling the whole
5
6
  * button.
6
7
  */
7
- export declare const CalendarDay: import('react').NamedExoticComponent<{
8
- day: import('react-day-picker').CalendarDay;
9
- modifiers: import('react-day-picker').Modifiers;
10
- } & import('react').HTMLAttributes<HTMLDivElement>>;
8
+ export declare const CalendarDay: import("react").MemoExoticComponent<({ day: _day, modifiers, children, ...otherProps }: DayProps) => import("react").JSX.Element>;
@@ -1,8 +1,6 @@
1
+ import { type MonthCaptionProps } from "react-day-picker";
1
2
  /**
2
3
  * Reimplementation of the React Day Picker's caption component to provide both
3
4
  * navigation arrows and dropdown selections.
4
5
  */
5
- export declare const CalendarHeader: import('react').NamedExoticComponent<{
6
- calendarMonth: import('react-day-picker').CalendarMonth;
7
- displayIndex: number;
8
- } & import('react').HTMLAttributes<HTMLDivElement>>;
6
+ export declare const CalendarHeader: import("react").MemoExoticComponent<({ calendarMonth, displayIndex, ...otherProps }: MonthCaptionProps) => import("react").JSX.Element>;
@@ -1 +1,2 @@
1
- export declare const CalendarMonthGrid: import('react').NamedExoticComponent<import('react').TableHTMLAttributes<HTMLTableElement>>;
1
+ import type { MonthGridProps } from "react-day-picker";
2
+ export declare const CalendarMonthGrid: import("react").MemoExoticComponent<({ children, "aria-label": ariaLabel, ...otherProps }: MonthGridProps) => import("react").JSX.Element>;
@@ -1 +1 @@
1
- export * from './Calendar.tsx';
1
+ export * from "./Calendar.tsx";
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { AccentColor } from '../../utils/accent.ts';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import type { AccentColor } from "../../utils/accent.ts";
3
3
  /** Card variants. */
4
4
  export type CardVariant = "solid" | "subtle" | "outlined" | "ghost";
5
5
  /** Possible card colours. */
@@ -67,4 +67,4 @@ export interface CardProps extends ComponentPropsWithoutRef<"div"> {
67
67
  * }
68
68
  * ```
69
69
  */
70
- export declare const Card: import('react').ForwardRefExoticComponent<CardProps & import('react').RefAttributes<HTMLDivElement>>;
70
+ export declare const Card: import("react").ForwardRefExoticComponent<CardProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  /** Properties of the card body component. */
3
3
  export interface CardBodyProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
@@ -9,4 +9,4 @@ export interface CardBodyProps extends ComponentPropsWithoutRef<"div"> {
9
9
  asChild?: boolean;
10
10
  }
11
11
  /** Body section of the `Card` component. */
12
- export declare const CardBody: import('react').ForwardRefExoticComponent<CardBodyProps & import('react').RefAttributes<HTMLDivElement>>;
12
+ export declare const CardBody: import("react").ForwardRefExoticComponent<CardBodyProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  /** Properties of the card footer component. */
3
3
  export interface CardFooterProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
@@ -9,4 +9,4 @@ export interface CardFooterProps extends ComponentPropsWithoutRef<"div"> {
9
9
  asChild?: boolean;
10
10
  }
11
11
  /** Footer section of the `Card` component. */
12
- export declare const CardFooter: import('react').ForwardRefExoticComponent<CardFooterProps & import('react').RefAttributes<HTMLDivElement>>;
12
+ export declare const CardFooter: import("react").ForwardRefExoticComponent<CardFooterProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
2
  /** Properties of the card header component. */
3
3
  export interface CardHeaderProps extends ComponentPropsWithoutRef<"div"> {
4
4
  /**
@@ -9,4 +9,4 @@ export interface CardHeaderProps extends ComponentPropsWithoutRef<"div"> {
9
9
  asChild?: boolean;
10
10
  }
11
11
  /** Header section of the `Card` component. */
12
- export declare const CardHeader: import('react').ForwardRefExoticComponent<CardHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
12
+ export declare const CardHeader: import("react").ForwardRefExoticComponent<CardHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- import { PolymorphicComponent, PolymorphicProps } from '../../utils/polymorphicTypes.ts';
1
+ import type { PolymorphicComponent, PolymorphicProps } from "../../utils/polymorphicTypes.ts";
2
2
  /** Elements a card title can be rendered as. */
3
3
  export type CardTitleAs = "div" | "span" | "h2" | "h3" | "h4" | "h5" | "h6";
4
4
  /** Properties of the button component. */
@@ -1,5 +1,5 @@
1
- export * from './Card.tsx';
2
- export * from './CardBody.tsx';
3
- export * from './CardFooter.tsx';
4
- export * from './CardHeader.tsx';
5
- export * from './CardTitle.tsx';
1
+ export * from "./Card.tsx";
2
+ export * from "./CardBody.tsx";
3
+ export * from "./CardFooter.tsx";
4
+ export * from "./CardHeader.tsx";
5
+ export * from "./CardTitle.tsx";
@@ -1,12 +1,12 @@
1
- import { Checkbox as CheckboxPrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef, ComponentPropsWithRef, FocusEvent, ReactNode } from 'react';
3
- import { ControlStatus, ControlVariant } from '../Control';
4
- import { ControlCode } from '../ControlCode';
5
- import { FormValidationMode } from '../Form';
6
- import { FormControlValidateFn } from '../Form/useRegisterFormControl.ts';
7
- import { Icon } from '../Icon';
8
- import { Label } from '../Label';
9
- import { Spinner } from '../Spinner';
1
+ import { Checkbox as CheckboxPrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type FocusEvent, type ReactNode } from "react";
3
+ import { type ControlStatus, type ControlVariant } from "../Control";
4
+ import { ControlCode } from "../ControlCode";
5
+ import type { FormValidationMode } from "../Form";
6
+ import { type FormControlValidateFn } from "../Form/useRegisterFormControl.ts";
7
+ import { Icon } from "../Icon";
8
+ import { Label } from "../Label";
9
+ import { Spinner } from "../Spinner";
10
10
  /** `checked` state of a checkbox. */
11
11
  export type CheckboxChecked = CheckboxPrimitive.CheckedState;
12
12
  /** Properties of the checkbox component. */
@@ -100,4 +100,4 @@ export interface CheckboxProps extends Omit<ComponentPropsWithoutRef<typeof Chec
100
100
  * }
101
101
  * ```
102
102
  */
103
- export declare const Checkbox: import('react').ForwardRefExoticComponent<CheckboxProps & import('react').RefAttributes<HTMLButtonElement>>;
103
+ export declare const Checkbox: import("react").ForwardRefExoticComponent<CheckboxProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export * from './Checkbox.tsx';
1
+ export * from "./Checkbox.tsx";
@@ -1,9 +1,9 @@
1
- import { ComponentPropsWithoutRef, ComponentPropsWithRef, FocusEvent, ReactNode } from 'react';
2
- import { ControlStatus, ControlVariant } from '../Control';
3
- import { ControlCode } from '../ControlCode';
4
- import { FormValidationMode } from '../Form';
5
- import { FormControlValidateFn } from '../Form/useRegisterFormControl.ts';
6
- import { Spinner } from '../Spinner';
1
+ import { type ComponentPropsWithoutRef, type ComponentPropsWithRef, type FocusEvent, type ReactNode } from "react";
2
+ import { type ControlStatus, type ControlVariant } from "../Control";
3
+ import { ControlCode } from "../ControlCode";
4
+ import type { FormValidationMode } from "../Form";
5
+ import { type FormControlValidateFn } from "../Form/useRegisterFormControl.ts";
6
+ import { Spinner } from "../Spinner";
7
7
  /** Properties of the checkbox group component. */
8
8
  export interface CheckboxGroupProps extends ComponentPropsWithoutRef<"div"> {
9
9
  /**
@@ -121,4 +121,4 @@ export interface CheckboxGroupProps extends ComponentPropsWithoutRef<"div"> {
121
121
  * }
122
122
  * ```
123
123
  */
124
- export declare const CheckboxGroup: import('react').ForwardRefExoticComponent<CheckboxGroupProps & import('react').RefAttributes<HTMLDivElement>>;
124
+ export declare const CheckboxGroup: import("react").ForwardRefExoticComponent<CheckboxGroupProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,5 +1,5 @@
1
- import { RefObject } from 'react';
2
- import { CheckboxGroupProps } from './CheckboxGroup.tsx';
1
+ import { type RefObject } from "react";
2
+ import type { CheckboxGroupProps } from "./CheckboxGroup.tsx";
3
3
  /** Value of the checkbox group's context. */
4
4
  export interface CheckboxGroupContextValue {
5
5
  name?: string;
@@ -22,7 +22,7 @@ interface CheckboxGroupActions {
22
22
  /** Checkbox group's store. */
23
23
  export type CheckboxGroupStore = ReturnType<typeof useCreateCheckboxGroupContext>["store"];
24
24
  /** Checkbox group's context. */
25
- export declare const CheckboxGroupContext: import('react').Context<CheckboxGroupContextValue | null>;
25
+ export declare const CheckboxGroupContext: import("react").Context<CheckboxGroupContextValue | null>;
26
26
  /** Options for the `useCreateCheckboxGroupContext` hook. */
27
27
  export interface UseCreateCheckboxGroupContextOptions extends Omit<CheckboxGroupContextValue, "store">, Pick<CheckboxGroupProps, "defaultValue" | "value" | "onValueChange"> {
28
28
  checkboxGroupRef: RefObject<HTMLDivElement | null>;
@@ -35,7 +35,7 @@ export declare function useCreateCheckboxGroupContext({ defaultValue, value, onV
35
35
  loadingDescriptionId: string | undefined;
36
36
  errorMessageIds: string[] | undefined;
37
37
  descriptionIds: string[] | undefined;
38
- store: Omit<import('zustand').StoreApi<CheckboxGroupState>, "subscribe"> & {
38
+ store: Omit<import("zustand").StoreApi<CheckboxGroupState>, "subscribe"> & {
39
39
  subscribe: {
40
40
  (listener: (selectedState: CheckboxGroupState, previousSelectedState: CheckboxGroupState) => void): () => void;
41
41
  <U>(selector: (state: CheckboxGroupState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
@@ -1 +1 @@
1
- export * from './CheckboxGroup.tsx';
1
+ export * from "./CheckboxGroup.tsx";
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import type { ReactNode } from "react";
2
2
  /** Properties of the clear context component. */
3
3
  export interface ClearContextsProps {
4
4
  /**
@@ -1 +1 @@
1
- export * from './ClearContexts.tsx';
1
+ export * from "./ClearContexts.tsx";
@@ -1,7 +1,7 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { IconButton } from '../IconButton';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import { IconButton } from "../IconButton";
3
3
  /** Properties of the close button component. */
4
4
  export interface CloseButtonProps extends Partial<ComponentPropsWithoutRef<typeof IconButton<"button">>> {
5
5
  }
6
6
  /** Component rendering a “close” button. */
7
- export declare const CloseButton: import('react').ForwardRefExoticComponent<CloseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
7
+ export declare const CloseButton: import("react").ForwardRefExoticComponent<CloseButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
@@ -1 +1 @@
1
- export * from './CloseButton.tsx';
1
+ export * from "./CloseButton.tsx";
@@ -1,5 +1,5 @@
1
- import { ComponentPropsWithoutRef } from 'react';
2
- import { AccentColor } from '../../utils/accent.ts';
1
+ import { type ComponentPropsWithoutRef } from "react";
2
+ import type { AccentColor } from "../../utils/accent.ts";
3
3
  /** Code colours. */
4
4
  export type CodeColor = AccentColor;
5
5
  /** Properties of the code component. */
@@ -32,4 +32,4 @@ export interface CodeProps extends ComponentPropsWithoutRef<"code"> {
32
32
  * }
33
33
  * ```
34
34
  */
35
- export declare const Code: import('react').ForwardRefExoticComponent<CodeProps & import('react').RefAttributes<HTMLElement>>;
35
+ export declare const Code: import("react").ForwardRefExoticComponent<CodeProps & import("react").RefAttributes<HTMLElement>>;
@@ -1 +1 @@
1
- export * from './Code.tsx';
1
+ export * from "./Code.tsx";
@@ -1,5 +1,5 @@
1
- import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { Collapsible as CollapsiblePrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Orientation in which to collapse/expand content. */
4
4
  export type CollapsibleOrientation = "horizontal" | "vertical";
5
5
  /** Properties of the collapsible component. */
@@ -40,4 +40,4 @@ export interface CollapsibleProps extends ComponentPropsWithoutRef<typeof Collap
40
40
  * }
41
41
  * ```
42
42
  */
43
- export declare const Collapsible: import('react').ForwardRefExoticComponent<CollapsibleProps & import('react').RefAttributes<HTMLDivElement>>;
43
+ export declare const Collapsible: import("react").ForwardRefExoticComponent<CollapsibleProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
- import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
2
- import { ComponentPropsWithoutRef } from 'react';
1
+ import { Collapsible as CollapsiblePrimitive } from "radix-ui";
2
+ import { type ComponentPropsWithoutRef } from "react";
3
3
  /** Properties of the collapsible content component. */
4
4
  export interface CollapsibleContentProps extends ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content> {
5
5
  }
6
6
  /** Component containing the collapsible content. */
7
- export declare const CollapsibleContent: import('react').ForwardRefExoticComponent<CollapsibleContentProps & import('react').RefAttributes<HTMLDivElement>>;
7
+ export declare const CollapsibleContent: import("react").ForwardRefExoticComponent<CollapsibleContentProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,10 +1,10 @@
1
- import { CollapsibleOrientation } from './Collapsible.tsx';
1
+ import type { CollapsibleOrientation } from "./Collapsible.tsx";
2
2
  /** Value of the collapsible context. */
3
3
  export interface CollapsibleContextValue {
4
4
  open: boolean;
5
5
  orientation: CollapsibleOrientation;
6
6
  }
7
7
  /** Collapsible context. */
8
- export declare const CollapsibleContext: import('react').Context<CollapsibleContextValue | null>;
8
+ export declare const CollapsibleContext: import("react").Context<CollapsibleContextValue | null>;
9
9
  /** Hook providing access to the collapsible context. */
10
10
  export declare function useCollapsibleContext(): CollapsibleContextValue;
@@ -1,6 +1,6 @@
1
- import { ComponentPropsWithoutRef, ReactElement, ReactNode } from 'react';
2
- import { IconProp } from '../Icon/Icon.tsx';
3
- import { IconButton } from '../IconButton';
1
+ import { type ComponentPropsWithoutRef, type ReactElement, type ReactNode } from "react";
2
+ import type { IconProp } from "../Icon/Icon.tsx";
3
+ import { IconButton } from "../IconButton";
4
4
  /** Properties of the collapsible trigger component. */
5
5
  export type CollapsibleTriggerProps = CollapsibleTriggerChildlessProps | CollapsibleTriggerChildrenProps;
6
6
  /**
@@ -23,4 +23,4 @@ export interface CollapsibleTriggerChildrenProps extends Omit<ComponentPropsWith
23
23
  children: ReactNode | ((open: boolean) => ReactNode);
24
24
  }
25
25
  /** Trigger that toggles the expansion of the collapsible content. */
26
- export declare const CollapsibleTrigger: import('react').ForwardRefExoticComponent<CollapsibleTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
26
+ export declare const CollapsibleTrigger: import("react").ForwardRefExoticComponent<CollapsibleTriggerProps & import("react").RefAttributes<HTMLButtonElement>>;