@povio/ui 3.4.0-rc.15 → 3.4.0-rc.17

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 (667) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/locales/en/{translation.json.js → translation.js} +1 -0
  3. package/dist/assets/locales/sl/{translation.json.js → translation.js} +1 -0
  4. package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +39 -40
  5. package/dist/components/Breadcrumbs/breadcrumbs.cva.js +5 -5
  6. package/dist/components/Menu/MenuDesktop.js +2 -2
  7. package/dist/components/Menu/MenuItem.d.ts +6 -3
  8. package/dist/components/Menu/MenuItem.js +2 -2
  9. package/dist/components/Menu/MenuMobile.js +3 -3
  10. package/dist/components/Menu/MenuPopover.d.ts +7 -5
  11. package/dist/components/Menu/MenuPopover.js +2 -2
  12. package/dist/components/Menu/menu.cva.d.ts +35 -35
  13. package/dist/components/Menu/menu.cva.js +4 -4
  14. package/dist/components/accordion.d.ts +5 -0
  15. package/dist/components/accordion.js +81 -0
  16. package/dist/components/action-modal.d.ts +26 -0
  17. package/dist/components/action-modal.js +188 -0
  18. package/dist/components/alert.d.ts +14 -0
  19. package/dist/components/alert.js +114 -0
  20. package/dist/components/autocomplete.d.ts +16 -0
  21. package/dist/components/{inputs/Selection/Autocomplete/Autocomplete.js → autocomplete.js} +34 -64
  22. package/dist/components/bottom-sheet.d.ts +34 -0
  23. package/dist/components/{overlays/BottomSheet/BottomSheet.js → bottom-sheet.js} +17 -14
  24. package/dist/components/breadcrumbs.d.ts +19 -0
  25. package/dist/components/breadcrumbs.js +263 -0
  26. package/dist/components/button.d.ts +3 -0
  27. package/dist/components/button.js +2 -0
  28. package/dist/components/buttons/Button/Button.d.ts +25 -23
  29. package/dist/components/buttons/Button/Button.js +1 -1
  30. package/dist/components/buttons/Button/button.cva.d.ts +89 -95
  31. package/dist/components/buttons/Button/button.cva.js +8 -44
  32. package/dist/components/buttons/PillButton/pillButton.cva.d.ts +33 -38
  33. package/dist/components/buttons/PillButton/pillButton.cva.js +5 -5
  34. package/dist/components/buttons/shared/ButtonContent.js +81 -23
  35. package/dist/components/buttons/shared/buttonContent.cva.d.ts +6 -8
  36. package/dist/components/buttons/shared/buttonContent.cva.js +1 -1
  37. package/dist/components/checkbox-group.d.ts +28 -0
  38. package/dist/components/checkbox-group.js +163 -0
  39. package/dist/components/checkbox.d.ts +24 -0
  40. package/dist/components/checkbox.js +80 -0
  41. package/dist/components/date-picker.d.ts +2 -0
  42. package/dist/components/date-picker.js +2 -0
  43. package/dist/components/date-range-picker.d.ts +2 -0
  44. package/dist/components/date-range-picker.js +2 -0
  45. package/dist/components/date-time-picker.d.ts +2 -0
  46. package/dist/components/date-time-picker.js +2 -0
  47. package/dist/components/drawer.d.ts +18 -0
  48. package/dist/components/{overlays/Drawer/Drawer.js → drawer.js} +4 -4
  49. package/dist/components/file-upload-container.d.ts +5 -0
  50. package/dist/components/file-upload-container.js +15 -0
  51. package/dist/components/file-upload.d.ts +7 -0
  52. package/dist/components/{inputs/File/FileUpload.js → file-upload.js} +59 -98
  53. package/dist/components/form-field.d.ts +24 -0
  54. package/dist/components/form-field.js +47 -0
  55. package/dist/components/icon-button.d.ts +14 -0
  56. package/dist/components/{buttons/IconButton/IconButton.js → icon-button.js} +3 -3
  57. package/dist/components/inline-icon-button.d.ts +16 -0
  58. package/dist/components/inline-icon-button.js +40 -0
  59. package/dist/components/input-upload.d.ts +7 -0
  60. package/dist/components/input-upload.js +118 -0
  61. package/dist/components/inputs/Checkbox/CheckboxCheckmark.js +1 -1
  62. package/dist/components/inputs/Checkbox/checkbox.cva.d.ts +73 -89
  63. package/dist/components/inputs/Checkbox/checkbox.cva.js +8 -8
  64. package/dist/components/inputs/DateTime/DatePicker/DatePicker.d.ts +40 -37
  65. package/dist/components/inputs/DateTime/DatePicker/DatePicker.js +44 -36
  66. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.d.ts +46 -43
  67. package/dist/components/inputs/DateTime/DateRangePicker/DateRangePicker.js +174 -170
  68. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.d.ts +41 -38
  69. package/dist/components/inputs/DateTime/DateTimePicker/DateTimePicker.js +21 -20
  70. package/dist/components/inputs/DateTime/TimePicker/TimePicker.d.ts +29 -26
  71. package/dist/components/inputs/DateTime/TimePicker/TimePicker.js +166 -542
  72. package/dist/components/inputs/DateTime/shared/Calendar.js +17 -14
  73. package/dist/components/inputs/DateTime/shared/CalendarCell.js +18 -18
  74. package/dist/components/inputs/DateTime/shared/CalendarGrid.js +6 -5
  75. package/dist/components/inputs/DateTime/shared/CalendarHeader.js +9 -8
  76. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.js +45 -45
  77. package/dist/components/inputs/DateTime/shared/DateField.js +19 -20
  78. package/dist/components/inputs/DateTime/shared/DatePickerInput.d.ts +11 -45
  79. package/dist/components/inputs/DateTime/shared/DatePickerInput.js +3 -3
  80. package/dist/components/inputs/DateTime/shared/DateSegmentItem.js +26 -102
  81. package/dist/components/inputs/DateTime/shared/DateTimeDialog.js +29 -84
  82. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.js +3 -3
  83. package/dist/components/inputs/DateTime/shared/MonthPicker.js +59 -104
  84. package/dist/components/inputs/DateTime/shared/RangeCalendar.js +82 -193
  85. package/dist/components/inputs/DateTime/shared/TimeField.js +8 -27
  86. package/dist/components/inputs/DateTime/shared/TimePickerForm.js +113 -283
  87. package/dist/components/inputs/DateTime/shared/TimePickerInput.js +73 -216
  88. package/dist/components/inputs/DateTime/shared/YearPicker.js +69 -120
  89. package/dist/components/inputs/DateTime/shared/datePicker.types.d.ts +8 -5
  90. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.d.ts +16 -15
  91. package/dist/components/inputs/DateTime/shared/datePickerInput.cva.js +1 -1
  92. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.js +13 -52
  93. package/dist/components/inputs/DateTime/shared/datePickerValue.utils.js +1 -1
  94. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.js +13 -12
  95. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.js +12 -26
  96. package/dist/components/inputs/File/fileUpload.types.d.ts +87 -84
  97. package/dist/components/inputs/File/inputUpload.types.d.ts +34 -32
  98. package/dist/components/inputs/File/inputUpload.types.js +1 -1
  99. package/dist/components/inputs/File/shared/FileCard.js +47 -110
  100. package/dist/components/inputs/File/shared/FileCardList.js +16 -54
  101. package/dist/components/inputs/File/shared/FileUploadContent.js +47 -188
  102. package/dist/components/inputs/File/shared/FileUploadContentEmpty.js +3 -3
  103. package/dist/components/inputs/File/shared/FileUploadContentError.js +6 -6
  104. package/dist/components/inputs/File/shared/FileUploadContentFilled.js +6 -6
  105. package/dist/components/inputs/File/shared/FileUploadContentLoading.js +3 -3
  106. package/dist/components/inputs/File/shared/InputUploadContent.js +38 -151
  107. package/dist/components/inputs/File/shared/InputUploadFilled.js +10 -50
  108. package/dist/components/inputs/File/shared/ProgressBar.d.ts +6 -4
  109. package/dist/components/inputs/File/shared/ProgressBar.js +2 -2
  110. package/dist/components/inputs/File/shared/fileUpload.cva.d.ts +17 -16
  111. package/dist/components/inputs/File/shared/fileUpload.cva.js +1 -1
  112. package/dist/components/inputs/File/shared/inputUploadButton.cva.d.ts +24 -25
  113. package/dist/components/inputs/File/shared/inputUploadButton.cva.js +5 -5
  114. package/dist/components/inputs/File/shared/progressBar.cva.d.ts +34 -33
  115. package/dist/components/inputs/File/shared/progressBar.cva.js +5 -5
  116. package/dist/components/inputs/FormField/FormFieldError.d.ts +9 -6
  117. package/dist/components/inputs/FormField/FormFieldError.js +6 -24
  118. package/dist/components/inputs/FormField/FormFieldHeader.d.ts +15 -13
  119. package/dist/components/inputs/FormField/FormFieldHeader.js +24 -80
  120. package/dist/components/inputs/FormField/FormFieldHeaderClose.js +7 -31
  121. package/dist/components/inputs/FormField/FormFieldHelper.js +7 -25
  122. package/dist/components/inputs/FormField/FormFieldLabel.js +9 -40
  123. package/dist/components/inputs/FormField/formFieldError.cva.d.ts +13 -12
  124. package/dist/components/inputs/FormField/formFieldError.cva.js +1 -1
  125. package/dist/components/inputs/FormField/formFieldHeader.cva.d.ts +13 -12
  126. package/dist/components/inputs/FormField/formFieldHeader.cva.js +1 -1
  127. package/dist/components/inputs/FormField/formFieldHelper.cva.d.ts +13 -12
  128. package/dist/components/inputs/FormField/formFieldHelper.cva.js +1 -1
  129. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.d.ts +11 -45
  130. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeField.js +121 -554
  131. package/dist/components/inputs/Input/TextArea/TextArea.cva.d.ts +8 -7
  132. package/dist/components/inputs/Input/TextArea/TextArea.cva.js +1 -1
  133. package/dist/components/inputs/Input/shared/InputContent.d.ts +25 -27
  134. package/dist/components/inputs/Input/shared/InputContent.js +61 -195
  135. package/dist/components/inputs/Input/shared/numberStatic.utils.js +1 -1
  136. package/dist/components/inputs/Inputs/Form.d.ts +19 -19
  137. package/dist/components/inputs/Inputs/Form.js +23 -51
  138. package/dist/components/inputs/Inputs/InputItem.d.ts +77 -58
  139. package/dist/components/inputs/Inputs/InputItem.js +29 -78
  140. package/dist/components/inputs/Inputs/Inputs.d.ts +12 -9
  141. package/dist/components/inputs/Inputs/Inputs.js +11 -37
  142. package/dist/components/inputs/RadioGroup/radio.cva.d.ts +49 -59
  143. package/dist/components/inputs/RadioGroup/radio.cva.js +6 -6
  144. package/dist/components/inputs/Selection/Autocomplete/queryAutocomplete.types.d.ts +25 -38
  145. package/dist/components/inputs/Selection/Select/Select.d.ts +15 -11
  146. package/dist/components/inputs/Selection/Select/Select.js +36 -112
  147. package/dist/components/inputs/Selection/shared/SelectBase.d.ts +39 -37
  148. package/dist/components/inputs/Selection/shared/SelectBase.js +26 -70
  149. package/dist/components/inputs/Selection/shared/SelectDesktop.js +145 -393
  150. package/dist/components/inputs/Selection/shared/SelectInput.js +162 -429
  151. package/dist/components/inputs/Selection/shared/SelectInputTags.js +27 -101
  152. package/dist/components/inputs/Selection/shared/SelectListBox.js +1 -1
  153. package/dist/components/inputs/Selection/shared/SelectListBoxItem.js +35 -85
  154. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.js +16 -69
  155. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.js +24 -72
  156. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.js +10 -59
  157. package/dist/components/inputs/Selection/shared/SelectMobile.js +4 -4
  158. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.js +14 -39
  159. package/dist/components/inputs/Selection/shared/querySelect.utils.d.ts +8 -15
  160. package/dist/components/inputs/Selection/shared/querySelect.utils.js +6 -6
  161. package/dist/components/inputs/Selection/shared/select.context.js +52 -52
  162. package/dist/components/inputs/Selection/shared/select.types.d.ts +60 -62
  163. package/dist/components/inputs/Selection/shared/selectDesktop.cva.d.ts +8 -5
  164. package/dist/components/inputs/Selection/shared/selectDesktop.cva.js +1 -1
  165. package/dist/components/inputs/Selection/shared/selectInput.cva.d.ts +12 -11
  166. package/dist/components/inputs/Selection/shared/selectInput.cva.js +1 -1
  167. package/dist/components/inputs/Selection/shared/selectItem.cva.d.ts +16 -15
  168. package/dist/components/inputs/Selection/shared/selectItem.cva.js +1 -1
  169. package/dist/components/inputs/Selection/shared/staticSelect.utils.js +3 -3
  170. package/dist/components/inputs/Selection/shared/useSelectItems.js +12 -12
  171. package/dist/components/inputs/Skeleton/InputFrame.js +30 -30
  172. package/dist/components/inputs/TextEditor/TextEditor.d.ts +24 -20
  173. package/dist/components/inputs/TextEditor/TextEditor.js +22 -63
  174. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.js +11 -37
  175. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.js +31 -103
  176. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.js +48 -197
  177. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.js +28 -88
  178. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.js +14 -48
  179. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.js +19 -66
  180. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.js +15 -49
  181. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.js +33 -93
  182. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.js +55 -127
  183. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.js +39 -142
  184. package/dist/components/inputs/TextEditor/textEditor.types.js +1 -1
  185. package/dist/components/inputs/Toggle/toggle.cva.d.ts +15 -18
  186. package/dist/components/inputs/Toggle/toggle.cva.js +3 -3
  187. package/dist/components/inputs/shared/CheckContent.js +11 -21
  188. package/dist/components/inputs/shared/InputClear.js +31 -103
  189. package/dist/components/inputs/shared/TooltipWrapper.js +14 -49
  190. package/dist/components/inputs/shared/form.binding.d.ts +7 -27
  191. package/dist/components/inputs/shared/form.binding.js +8 -37
  192. package/dist/components/inputs/shared/form.types.d.ts +11 -11
  193. package/dist/components/inputs/shared/form.types.js +1 -1
  194. package/dist/components/inputs/shared/input.cva.d.ts +76 -85
  195. package/dist/components/inputs/shared/input.cva.js +9 -19
  196. package/dist/components/inputs/shared/label.cva.d.ts +18 -18
  197. package/dist/components/inputs/shared/label.cva.js +2 -2
  198. package/dist/components/inputs/shared/tooltipWrapper.cva.d.ts +10 -7
  199. package/dist/components/inputs/shared/tooltipWrapper.cva.js +1 -1
  200. package/dist/components/inputs/shared/useFieldAccessibility.js +19 -0
  201. package/dist/components/inputs/shared/useStaticInputHandoff.js +50 -105
  202. package/dist/components/link.d.ts +11 -0
  203. package/dist/components/{text/Link/Link.js → link.js} +7 -7
  204. package/dist/components/loader.d.ts +7 -0
  205. package/dist/components/{status/Loader/Loader.js → loader.js} +2 -2
  206. package/dist/components/menu.d.ts +23 -0
  207. package/dist/components/{Menu/Menu.js → menu.js} +4 -4
  208. package/dist/components/modal.d.ts +2 -0
  209. package/dist/components/modal.js +2 -0
  210. package/dist/components/navigation/Accordion/AccordionItem.js +87 -42
  211. package/dist/components/navigation/Accordion/accordion.cva.d.ts +76 -100
  212. package/dist/components/navigation/Accordion/accordion.cva.js +10 -10
  213. package/dist/components/navigation/Accordion/accordion.types.d.ts +52 -49
  214. package/dist/components/navigation/Stepper/StepperItem.js +3 -3
  215. package/dist/components/navigation/Stepper/StepperSeparator.js +1 -1
  216. package/dist/components/navigation/Stepper/stepper.cva.d.ts +73 -86
  217. package/dist/components/navigation/Stepper/stepper.cva.js +7 -7
  218. package/dist/components/navigation/Stepper/stepper.types.d.ts +29 -37
  219. package/dist/components/number-input.d.ts +27 -0
  220. package/dist/components/number-input.js +245 -0
  221. package/dist/components/number-range-input.d.ts +39 -0
  222. package/dist/components/number-range-input.js +267 -0
  223. package/dist/components/outline.clsx.d.ts +4 -2
  224. package/dist/components/outline.clsx.js +2 -2
  225. package/dist/components/overlays/BottomSheet/BottomSheetHeader.js +3 -3
  226. package/dist/components/overlays/Modal/Modal.d.ts +18 -14
  227. package/dist/components/overlays/Modal/Modal.js +4 -2
  228. package/dist/components/overlays/Modal/modal.cva.d.ts +34 -34
  229. package/dist/components/overlays/Modal/modal.cva.js +4 -4
  230. package/dist/components/overlays/Tooltip/tooltip.cva.d.ts +39 -45
  231. package/dist/components/overlays/Tooltip/tooltip.cva.js +4 -4
  232. package/dist/components/pagination.d.ts +12 -0
  233. package/dist/components/pagination.js +131 -0
  234. package/dist/components/password-input.d.ts +10 -0
  235. package/dist/components/password-input.js +23 -0
  236. package/dist/components/pill-button.d.ts +15 -0
  237. package/dist/components/{buttons/PillButton/PillButton.js → pill-button.js} +5 -5
  238. package/dist/components/pill.d.ts +18 -0
  239. package/dist/components/{text/Pill/Pill.js → pill.js} +6 -6
  240. package/dist/components/query-autocomplete.d.ts +8 -0
  241. package/dist/components/query-autocomplete.js +105 -0
  242. package/dist/components/query-select.d.ts +19 -0
  243. package/dist/components/query-select.js +115 -0
  244. package/dist/components/radio-group.d.ts +24 -0
  245. package/dist/components/radio-group.js +165 -0
  246. package/dist/components/responsive-popover.d.ts +19 -0
  247. package/dist/components/responsive-popover.js +126 -0
  248. package/dist/components/segment/SegmentItem.js +3 -3
  249. package/dist/components/segment/segment.cva.d.ts +20 -18
  250. package/dist/components/segment/segment.cva.js +2 -2
  251. package/dist/components/segment/segment.types.d.ts +33 -30
  252. package/dist/components/segment.d.ts +7 -0
  253. package/dist/components/{segment/Segment.js → segment.js} +8 -8
  254. package/dist/components/select.d.ts +4 -0
  255. package/dist/components/select.js +2 -0
  256. package/dist/components/shared/pagination/PaginationList.d.ts +17 -14
  257. package/dist/components/shared/pagination/PaginationList.js +2 -2
  258. package/dist/components/shared/pagination/minWidth.cva.js +1 -1
  259. package/dist/components/shared/popover.cva.d.ts +8 -7
  260. package/dist/components/shared/popover.cva.js +1 -1
  261. package/dist/components/slider.d.ts +22 -0
  262. package/dist/components/slider.js +103 -0
  263. package/dist/components/split-button.d.ts +15 -0
  264. package/dist/components/{buttons/SplitButton/SplitButton.js → split-button.js} +5 -5
  265. package/dist/components/status/Alert/alert.cva.d.ts +21 -18
  266. package/dist/components/status/Alert/alert.cva.js +1 -1
  267. package/dist/components/status/Loader/loader.cva.d.ts +23 -26
  268. package/dist/components/status/Loader/loader.cva.js +4 -4
  269. package/dist/components/status/Toast/toast.cva.d.ts +58 -77
  270. package/dist/components/status/Toast/toast.cva.js +6 -6
  271. package/dist/components/status/Toast/useToast.d.ts +14 -11
  272. package/dist/components/status/Toast/useToast.js +2 -2
  273. package/dist/components/status/shared/status.cva.d.ts +32 -28
  274. package/dist/components/status/shared/status.cva.js +2 -2
  275. package/dist/components/stepper.d.ts +5 -0
  276. package/dist/components/stepper.js +79 -0
  277. package/dist/components/table/CellText.d.ts +10 -7
  278. package/dist/components/table/CellText.js +4 -3
  279. package/dist/components/table/ColumnConfig.d.ts +12 -9
  280. package/dist/components/table/ColumnConfig.js +8 -7
  281. package/dist/components/table/HeaderText.d.ts +10 -7
  282. package/dist/components/table/HeaderText.js +4 -3
  283. package/dist/components/table/InfiniteTable.d.ts +10 -8
  284. package/dist/components/table/InfiniteTable.js +68 -17
  285. package/dist/components/table/PaginatedTable.d.ts +12 -10
  286. package/dist/components/table/PaginatedTable.js +2 -2
  287. package/dist/components/table/Table.d.ts +34 -35
  288. package/dist/components/table/Table.js +19 -17
  289. package/dist/components/table/table.cva.d.ts +40 -59
  290. package/dist/components/table/table.cva.js +7 -7
  291. package/dist/components/tag.d.ts +18 -0
  292. package/dist/components/{text/Tag/Tag.js → tag.js} +6 -6
  293. package/dist/components/text/Link/link.cva.d.ts +14 -11
  294. package/dist/components/text/Link/link.cva.js +1 -1
  295. package/dist/components/text/Tag/tag.cva.d.ts +18 -15
  296. package/dist/components/text/Tag/tag.cva.js +1 -1
  297. package/dist/components/text/Typography/typography.cva.d.ts +51 -48
  298. package/dist/components/text/Typography/typography.cva.js +1 -1
  299. package/dist/components/text-area.d.ts +21 -0
  300. package/dist/components/text-area.js +138 -0
  301. package/dist/components/text-button.d.ts +15 -0
  302. package/dist/components/{buttons/TextButton/TextButton.js → text-button.js} +2 -2
  303. package/dist/components/text-input.d.ts +27 -0
  304. package/dist/components/text-input.js +241 -0
  305. package/dist/components/time-picker.d.ts +2 -0
  306. package/dist/components/time-picker.js +2 -0
  307. package/dist/components/toast.d.ts +17 -0
  308. package/dist/components/{status/Toast/Toast.js → toast.js} +11 -11
  309. package/dist/components/toggle-button.d.ts +12 -0
  310. package/dist/components/{buttons/ToggleButton/ToggleButton.js → toggle-button.js} +2 -2
  311. package/dist/components/toggle.d.ts +19 -0
  312. package/dist/components/toggle.js +74 -0
  313. package/dist/components/tooltip-ellipsis.d.ts +11 -0
  314. package/dist/components/{overlays/Tooltip/TooltipEllipsis.js → tooltip-ellipsis.js} +3 -3
  315. package/dist/components/tooltip.d.ts +16 -0
  316. package/dist/components/{overlays/Tooltip/Tooltip.js → tooltip.js} +9 -9
  317. package/dist/components/typography.d.ts +12 -0
  318. package/dist/components/typography.js +31 -0
  319. package/dist/config/confirmation.context.d.ts +22 -19
  320. package/dist/config/confirmation.context.js +3 -3
  321. package/dist/config/i18n.d.ts +311 -308
  322. package/dist/config/i18n.js +4 -4
  323. package/dist/config/link.context.d.ts +9 -7
  324. package/dist/config/link.context.js +2 -2
  325. package/dist/config/router.context.d.ts +11 -9
  326. package/dist/config/router.context.js +2 -2
  327. package/dist/config/theme.context.d.ts +19 -16
  328. package/dist/config/theme.context.js +99 -46
  329. package/dist/config/uiConfig.context.d.ts +80 -75
  330. package/dist/config/uiConfig.context.js +46 -9
  331. package/dist/config/uiOverrides.context.d.ts +205 -204
  332. package/dist/config/uiOverrides.context.js +2 -2
  333. package/dist/helpers/dynamicColumns.d.ts +27 -28
  334. package/dist/helpers/dynamicColumns.js +32 -31
  335. package/dist/helpers/dynamicInputs.d.ts +66 -74
  336. package/dist/helpers/dynamicInputs.js +21 -20
  337. package/dist/hooks/useAutosave.d.ts +12 -9
  338. package/dist/hooks/useAutosave.js +1 -1
  339. package/dist/hooks/useBreakpoint.d.ts +4 -2
  340. package/dist/hooks/useBreakpoint.js +37 -10
  341. package/dist/hooks/useDebounceCallback.d.ts +7 -4
  342. package/dist/hooks/useDebounceCallback.js +51 -17
  343. package/dist/hooks/useDeepCompare.d.ts +7 -4
  344. package/dist/hooks/useDeepCompare.js +4 -4
  345. package/dist/hooks/useFilters.d.ts +10 -7
  346. package/dist/hooks/useFilters.js +8 -6
  347. package/dist/hooks/useForm.d.ts +35 -35
  348. package/dist/hooks/useForm.js +6 -6
  349. package/dist/hooks/useFormAutosave.d.ts +16 -13
  350. package/dist/hooks/useFormAutosave.js +18 -17
  351. package/dist/hooks/useIntersectionObserver.d.ts +7 -5
  352. package/dist/hooks/useIntersectionObserver.js +2 -2
  353. package/dist/hooks/useKeyInteractions.d.ts +19 -16
  354. package/dist/hooks/useKeyInteractions.js +5 -5
  355. package/dist/hooks/useLocalStorage.d.ts +10 -8
  356. package/dist/hooks/useLocalStorage.js +3 -3
  357. package/dist/hooks/useLongPressRepeat.d.ts +10 -7
  358. package/dist/hooks/useLongPressRepeat.js +55 -20
  359. package/dist/hooks/usePagination.d.ts +9 -6
  360. package/dist/hooks/usePagination.js +2 -2
  361. package/dist/hooks/useQueryAutocomplete.js +2 -2
  362. package/dist/hooks/useScrollableListBox.d.ts +5 -2
  363. package/dist/hooks/useScrollableListBox.js +1 -1
  364. package/dist/hooks/useSorting.d.ts +8 -5
  365. package/dist/hooks/useSorting.js +1 -1
  366. package/dist/hooks/useStateAndRef.d.ts +5 -3
  367. package/dist/hooks/useStateAndRef.js +2 -2
  368. package/dist/hooks/useTableColumnConfig.d.ts +15 -13
  369. package/dist/hooks/useTableColumnConfig.js +1 -1
  370. package/dist/hooks/useTableNav.d.ts +79 -77
  371. package/dist/hooks/useTableNav.js +19 -37
  372. package/dist/hooks/useTranslationMemo.d.ts +5 -3
  373. package/dist/index.d.ts +145 -1
  374. package/dist/index.js +29 -29
  375. package/dist/rhf/Inputs.d.ts +55 -54
  376. package/dist/rhf/Inputs.js +62 -17
  377. package/dist/rhf/autocomplete.d.ts +3 -0
  378. package/dist/rhf/autocomplete.js +2 -0
  379. package/dist/rhf/checkbox-group.d.ts +3 -0
  380. package/dist/rhf/checkbox-group.js +2 -0
  381. package/dist/rhf/checkbox.d.ts +3 -0
  382. package/dist/rhf/checkbox.js +2 -0
  383. package/dist/rhf/components.d.ts +77 -75
  384. package/dist/rhf/components.js +43 -43
  385. package/dist/rhf/date-picker.d.ts +3 -0
  386. package/dist/rhf/date-picker.js +2 -0
  387. package/dist/rhf/date-range-picker.d.ts +3 -0
  388. package/dist/rhf/date-range-picker.js +2 -0
  389. package/dist/rhf/date-time-picker.d.ts +3 -0
  390. package/dist/rhf/date-time-picker.js +2 -0
  391. package/dist/rhf/dynamicInputs.d.ts +16 -14
  392. package/dist/rhf/dynamicInputs.js +1 -1
  393. package/dist/rhf/entry.utils.js +5 -0
  394. package/dist/rhf/fieldAdapter.d.ts +8 -6
  395. package/dist/rhf/form.types.d.ts +11 -10
  396. package/dist/rhf/number-input.d.ts +8 -0
  397. package/dist/rhf/number-input.js +7 -0
  398. package/dist/rhf/number-range-input.d.ts +8 -0
  399. package/dist/rhf/number-range-input.js +7 -0
  400. package/dist/rhf/password-input.d.ts +8 -0
  401. package/dist/rhf/password-input.js +7 -0
  402. package/dist/rhf/query-autocomplete.d.ts +2 -0
  403. package/dist/rhf/query-autocomplete.js +2 -0
  404. package/dist/rhf/query-select.d.ts +2 -0
  405. package/dist/rhf/query-select.js +2 -0
  406. package/dist/rhf/radio-group.d.ts +3 -0
  407. package/dist/rhf/radio-group.js +2 -0
  408. package/dist/rhf/segment.d.ts +3 -0
  409. package/dist/rhf/segment.js +2 -0
  410. package/dist/rhf/select.d.ts +3 -0
  411. package/dist/rhf/select.js +2 -0
  412. package/dist/rhf/slider.d.ts +3 -0
  413. package/dist/rhf/slider.js +2 -0
  414. package/dist/rhf/text-area.d.ts +8 -0
  415. package/dist/rhf/text-area.js +7 -0
  416. package/dist/rhf/text-input.d.ts +8 -0
  417. package/dist/rhf/text-input.js +7 -0
  418. package/dist/rhf/time-picker.d.ts +3 -0
  419. package/dist/rhf/time-picker.js +2 -0
  420. package/dist/rhf/toggle.d.ts +3 -0
  421. package/dist/rhf/toggle.js +2 -0
  422. package/dist/rhf/useAutosave.d.ts +12 -9
  423. package/dist/rhf/useForm.d.ts +13 -13
  424. package/dist/rhf/useFormAutosave.d.ts +17 -14
  425. package/dist/rhf/useFormAutosave.js +121 -34
  426. package/dist/rhf.d.ts +146 -225
  427. package/dist/rhf.js +120 -0
  428. package/dist/tanstack/autocomplete.d.ts +2 -0
  429. package/dist/tanstack/autocomplete.js +2 -0
  430. package/dist/tanstack/checkbox-group.d.ts +2 -0
  431. package/dist/tanstack/checkbox-group.js +2 -0
  432. package/dist/tanstack/checkbox.d.ts +2 -0
  433. package/dist/tanstack/checkbox.js +2 -0
  434. package/dist/tanstack/date-picker.d.ts +2 -0
  435. package/dist/tanstack/date-picker.js +2 -0
  436. package/dist/tanstack/date-range-picker.d.ts +2 -0
  437. package/dist/tanstack/date-range-picker.js +2 -0
  438. package/dist/tanstack/date-time-picker.d.ts +2 -0
  439. package/dist/tanstack/date-time-picker.js +2 -0
  440. package/dist/tanstack/form.d.ts +3 -0
  441. package/dist/tanstack/form.js +3 -0
  442. package/dist/tanstack/number-input.d.ts +2 -0
  443. package/dist/tanstack/number-input.js +2 -0
  444. package/dist/tanstack/number-range-input.d.ts +3 -0
  445. package/dist/tanstack/number-range-input.js +2 -0
  446. package/dist/tanstack/password-input.d.ts +2 -0
  447. package/dist/tanstack/password-input.js +2 -0
  448. package/dist/tanstack/query-autocomplete.d.ts +2 -0
  449. package/dist/tanstack/query-autocomplete.js +2 -0
  450. package/dist/tanstack/query-select.d.ts +2 -0
  451. package/dist/tanstack/query-select.js +2 -0
  452. package/dist/tanstack/radio-group.d.ts +2 -0
  453. package/dist/tanstack/radio-group.js +2 -0
  454. package/dist/tanstack/segment.d.ts +3 -0
  455. package/dist/tanstack/segment.js +2 -0
  456. package/dist/tanstack/select.d.ts +2 -0
  457. package/dist/tanstack/select.js +2 -0
  458. package/dist/tanstack/slider.d.ts +2 -0
  459. package/dist/tanstack/slider.js +2 -0
  460. package/dist/tanstack/table.d.ts +12 -0
  461. package/dist/tanstack/table.js +11 -0
  462. package/dist/tanstack/text-area.d.ts +2 -0
  463. package/dist/tanstack/text-area.js +2 -0
  464. package/dist/tanstack/text-input.d.ts +2 -0
  465. package/dist/tanstack/text-input.js +2 -0
  466. package/dist/tanstack/time-picker.d.ts +2 -0
  467. package/dist/tanstack/time-picker.js +2 -0
  468. package/dist/tanstack/toggle.d.ts +2 -0
  469. package/dist/tanstack/toggle.js +2 -0
  470. package/dist/tanstack.d.ts +151 -224
  471. package/dist/tanstack.js +45 -45
  472. package/dist/text-editor.d.ts +2 -2
  473. package/dist/tw-ui-plugin.d.ts +4 -2
  474. package/dist/tw-ui-plugin.js +1 -1
  475. package/dist/types/common.d.ts +11 -12
  476. package/dist/types/error-handling.d.ts +8 -5
  477. package/dist/utils/array.utils.d.ts +5 -2
  478. package/dist/utils/array.utils.js +1 -1
  479. package/dist/utils/compoundMapper.d.ts +12 -14
  480. package/dist/utils/compoundMapper.js +1 -1
  481. package/dist/utils/date-time.utils.d.ts +44 -41
  482. package/dist/utils/date-time.utils.js +7 -9
  483. package/dist/utils/date.utils.d.ts +6 -4
  484. package/dist/utils/date.utils.js +29 -6
  485. package/dist/utils/dom.utils.d.ts +7 -4
  486. package/dist/utils/dom.utils.js +2 -2
  487. package/dist/utils/file.utils.d.ts +20 -12
  488. package/dist/utils/file.utils.js +19 -8
  489. package/dist/utils/intl.utils.d.ts +7 -5
  490. package/dist/utils/intl.utils.js +2 -2
  491. package/dist/utils/isEqual.d.ts +4 -1
  492. package/dist/utils/isEqual.js +3 -3
  493. package/dist/utils/logger.d.ts +9 -6
  494. package/dist/utils/logger.js +1 -1
  495. package/dist/utils/object.utils.d.ts +12 -9
  496. package/dist/utils/object.utils.js +1 -1
  497. package/dist/utils/queries.utils.d.ts +6 -3
  498. package/dist/utils/queries.utils.js +1 -1
  499. package/dist/utils/query.utils.js +1 -1
  500. package/dist/utils/routing.utils.d.ts +6 -3
  501. package/dist/utils/routing.utils.js +1 -1
  502. package/dist/utils/string.utils.d.ts +6 -3
  503. package/dist/utils/string.utils.js +1 -1
  504. package/dist/utils/style-merge.util.d.ts +38 -41
  505. package/dist/utils/style-merge.util.js +7 -4
  506. package/dist/utils/zod.utils.d.ts +22 -19
  507. package/dist/utils/zod.utils.js +1 -1
  508. package/package.json +475 -8
  509. package/dist/assets/locales/en/translation.json.d.ts +0 -158
  510. package/dist/assets/locales/sl/translation.json.d.ts +0 -154
  511. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -16
  512. package/dist/components/Breadcrumbs/Breadcrumbs.js +0 -112
  513. package/dist/components/Menu/Menu.d.ts +0 -21
  514. package/dist/components/Menu/MenuDesktop.d.ts +0 -2
  515. package/dist/components/Menu/MenuMobile.d.ts +0 -2
  516. package/dist/components/buttons/IconButton/IconButton.d.ts +0 -11
  517. package/dist/components/buttons/InlineIconButton/InlineIconButton.d.ts +0 -13
  518. package/dist/components/buttons/InlineIconButton/InlineIconButton.js +0 -15
  519. package/dist/components/buttons/PillButton/PillButton.d.ts +0 -12
  520. package/dist/components/buttons/SplitButton/SplitButton.d.ts +0 -12
  521. package/dist/components/buttons/TextButton/TextButton.d.ts +0 -12
  522. package/dist/components/buttons/ToggleButton/ToggleButton.d.ts +0 -9
  523. package/dist/components/buttons/shared/ButtonContent.d.ts +0 -14
  524. package/dist/components/inputs/Checkbox/Checkbox.d.ts +0 -20
  525. package/dist/components/inputs/Checkbox/Checkbox.js +0 -236
  526. package/dist/components/inputs/Checkbox/CheckboxCheckmark.d.ts +0 -9
  527. package/dist/components/inputs/Checkbox/CheckboxGroup.d.ts +0 -26
  528. package/dist/components/inputs/Checkbox/CheckboxGroup.js +0 -392
  529. package/dist/components/inputs/DateTime/shared/Calendar.d.ts +0 -29
  530. package/dist/components/inputs/DateTime/shared/CalendarCell.d.ts +0 -22
  531. package/dist/components/inputs/DateTime/shared/CalendarGrid.d.ts +0 -27
  532. package/dist/components/inputs/DateTime/shared/CalendarHeader.d.ts +0 -18
  533. package/dist/components/inputs/DateTime/shared/CalendarSelectHeader.d.ts +0 -17
  534. package/dist/components/inputs/DateTime/shared/DateField.d.ts +0 -21
  535. package/dist/components/inputs/DateTime/shared/DateSegmentItem.d.ts +0 -28
  536. package/dist/components/inputs/DateTime/shared/DateTimeDialog.d.ts +0 -18
  537. package/dist/components/inputs/DateTime/shared/DateTimeDialogFooter.d.ts +0 -8
  538. package/dist/components/inputs/DateTime/shared/MonthPicker.d.ts +0 -11
  539. package/dist/components/inputs/DateTime/shared/RangeCalendar.d.ts +0 -26
  540. package/dist/components/inputs/DateTime/shared/TimeField.d.ts +0 -12
  541. package/dist/components/inputs/DateTime/shared/TimePickerForm.d.ts +0 -10
  542. package/dist/components/inputs/DateTime/shared/TimePickerInput.d.ts +0 -25
  543. package/dist/components/inputs/DateTime/shared/YearPicker.d.ts +0 -12
  544. package/dist/components/inputs/DateTime/shared/datePickerTodayIcon.d.ts +0 -15
  545. package/dist/components/inputs/DateTime/shared/datePickerValue.utils.d.ts +0 -1
  546. package/dist/components/inputs/DateTime/shared/datePickerValue.utils.spec.d.ts +0 -1
  547. package/dist/components/inputs/DateTime/shared/dateSegment.utils.d.ts +0 -2
  548. package/dist/components/inputs/DateTime/shared/dateSegment.utils.spec.d.ts +0 -1
  549. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.d.ts +0 -41
  550. package/dist/components/inputs/DateTime/shared/staticDateTimeSegments.spec.d.ts +0 -1
  551. package/dist/components/inputs/DateTime/shared/useFirefoxDateSegmentSelectionGuard.d.ts +0 -2
  552. package/dist/components/inputs/File/FileUpload.d.ts +0 -4
  553. package/dist/components/inputs/File/FileUploadContainer.d.ts +0 -3
  554. package/dist/components/inputs/File/FileUploadContainer.js +0 -22
  555. package/dist/components/inputs/File/InputUpload.d.ts +0 -4
  556. package/dist/components/inputs/File/InputUpload.js +0 -157
  557. package/dist/components/inputs/File/index.d.ts +0 -9
  558. package/dist/components/inputs/File/shared/FileCard.d.ts +0 -9
  559. package/dist/components/inputs/File/shared/FileCardList.d.ts +0 -9
  560. package/dist/components/inputs/File/shared/FileUploadContent.d.ts +0 -10
  561. package/dist/components/inputs/File/shared/FileUploadContentEmpty.d.ts +0 -9
  562. package/dist/components/inputs/File/shared/FileUploadContentError.d.ts +0 -11
  563. package/dist/components/inputs/File/shared/FileUploadContentFilled.d.ts +0 -11
  564. package/dist/components/inputs/File/shared/FileUploadContentLoading.d.ts +0 -9
  565. package/dist/components/inputs/File/shared/InputUploadContent.d.ts +0 -9
  566. package/dist/components/inputs/File/shared/InputUploadFilled.d.ts +0 -8
  567. package/dist/components/inputs/FormField/FormField.d.ts +0 -20
  568. package/dist/components/inputs/FormField/FormField.js +0 -127
  569. package/dist/components/inputs/FormField/FormFieldHeaderClose.d.ts +0 -5
  570. package/dist/components/inputs/FormField/FormFieldHelper.d.ts +0 -8
  571. package/dist/components/inputs/FormField/FormFieldLabel.d.ts +0 -13
  572. package/dist/components/inputs/Input/NumberInput/NumberInput.d.ts +0 -23
  573. package/dist/components/inputs/Input/NumberInput/NumberInput.js +0 -494
  574. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.d.ts +0 -36
  575. package/dist/components/inputs/Input/NumberRangeInput/NumberRangeInput.js +0 -338
  576. package/dist/components/inputs/Input/PasswordInput/PasswordInput.d.ts +0 -7
  577. package/dist/components/inputs/Input/PasswordInput/PasswordInput.js +0 -61
  578. package/dist/components/inputs/Input/TextArea/TextArea.d.ts +0 -19
  579. package/dist/components/inputs/Input/TextArea/TextArea.js +0 -346
  580. package/dist/components/inputs/Input/TextInput/TextInput.d.ts +0 -23
  581. package/dist/components/inputs/Input/TextInput/TextInput.js +0 -470
  582. package/dist/components/inputs/Input/shared/numberStatic.utils.d.ts +0 -1
  583. package/dist/components/inputs/RadioGroup/RadioGroup.d.ts +0 -22
  584. package/dist/components/inputs/RadioGroup/RadioGroup.js +0 -371
  585. package/dist/components/inputs/Selection/Autocomplete/Autocomplete.d.ts +0 -12
  586. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.d.ts +0 -4
  587. package/dist/components/inputs/Selection/Autocomplete/QueryAutocomplete.js +0 -176
  588. package/dist/components/inputs/Selection/Select/QuerySelect.d.ts +0 -15
  589. package/dist/components/inputs/Selection/Select/QuerySelect.js +0 -172
  590. package/dist/components/inputs/Selection/shared/SelectDesktop.d.ts +0 -5
  591. package/dist/components/inputs/Selection/shared/SelectInput.d.ts +0 -15
  592. package/dist/components/inputs/Selection/shared/SelectInputTags.d.ts +0 -12
  593. package/dist/components/inputs/Selection/shared/SelectListBox.d.ts +0 -9
  594. package/dist/components/inputs/Selection/shared/SelectListBoxItem.d.ts +0 -7
  595. package/dist/components/inputs/Selection/shared/SelectListBoxItemSelectAll.d.ts +0 -4
  596. package/dist/components/inputs/Selection/shared/SelectListBoxLoadingItem.d.ts +0 -6
  597. package/dist/components/inputs/Selection/shared/SelectListBoxSelectionBar.d.ts +0 -5
  598. package/dist/components/inputs/Selection/shared/SelectMobile.d.ts +0 -5
  599. package/dist/components/inputs/Selection/shared/StaticSelectTrailingContent.d.ts +0 -9
  600. package/dist/components/inputs/Selection/shared/select.context.d.ts +0 -32
  601. package/dist/components/inputs/Selection/shared/staticSelect.utils.d.ts +0 -23
  602. package/dist/components/inputs/Selection/shared/staticSelect.utils.spec.d.ts +0 -1
  603. package/dist/components/inputs/Selection/shared/useSelectItems.d.ts +0 -23
  604. package/dist/components/inputs/Skeleton/InputFrame.d.ts +0 -84
  605. package/dist/components/inputs/Slider/Slider.d.ts +0 -19
  606. package/dist/components/inputs/Slider/Slider.js +0 -285
  607. package/dist/components/inputs/TextEditor/Toolbar/ColorPicker.d.ts +0 -7
  608. package/dist/components/inputs/TextEditor/Toolbar/ColorPickerDropdown.d.ts +0 -10
  609. package/dist/components/inputs/TextEditor/Toolbar/HyperlinkAction.d.ts +0 -2
  610. package/dist/components/inputs/TextEditor/Toolbar/TextAlignSelect.d.ts +0 -2
  611. package/dist/components/inputs/TextEditor/Toolbar/TextColorSelect.d.ts +0 -2
  612. package/dist/components/inputs/TextEditor/Toolbar/TextEditorToolbar.d.ts +0 -6
  613. package/dist/components/inputs/TextEditor/Toolbar/TextHighlightSelect.d.ts +0 -2
  614. package/dist/components/inputs/TextEditor/Toolbar/TextListActions.d.ts +0 -2
  615. package/dist/components/inputs/TextEditor/Toolbar/TextMarksActions.d.ts +0 -2
  616. package/dist/components/inputs/TextEditor/Toolbar/TextStyleSelect.d.ts +0 -2
  617. package/dist/components/inputs/TextEditor/textEditor.types.d.ts +0 -5
  618. package/dist/components/inputs/Toggle/Toggle.d.ts +0 -16
  619. package/dist/components/inputs/Toggle/Toggle.js +0 -234
  620. package/dist/components/inputs/shared/CheckContent.d.ts +0 -9
  621. package/dist/components/inputs/shared/InputClear.d.ts +0 -10
  622. package/dist/components/inputs/shared/TooltipWrapper.d.ts +0 -10
  623. package/dist/components/inputs/shared/useStaticInputHandoff.d.ts +0 -15
  624. package/dist/components/navigation/Accordion/Accordion.d.ts +0 -3
  625. package/dist/components/navigation/Accordion/Accordion.js +0 -34
  626. package/dist/components/navigation/Accordion/AccordionItem.d.ts +0 -2
  627. package/dist/components/navigation/Stepper/Stepper.d.ts +0 -2
  628. package/dist/components/navigation/Stepper/Stepper.js +0 -34
  629. package/dist/components/navigation/Stepper/StepperItem.d.ts +0 -2
  630. package/dist/components/navigation/Stepper/StepperSeparator.d.ts +0 -5
  631. package/dist/components/overlays/ActionModal/ActionModal.d.ts +0 -24
  632. package/dist/components/overlays/ActionModal/ActionModal.js +0 -54
  633. package/dist/components/overlays/BottomSheet/BottomSheet.d.ts +0 -32
  634. package/dist/components/overlays/BottomSheet/BottomSheetHeader.d.ts +0 -13
  635. package/dist/components/overlays/Drawer/Drawer.d.ts +0 -15
  636. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.d.ts +0 -17
  637. package/dist/components/overlays/ResponsivePopover/ResponsivePopover.js +0 -45
  638. package/dist/components/overlays/Tooltip/Tooltip.d.ts +0 -13
  639. package/dist/components/overlays/Tooltip/TooltipEllipsis.d.ts +0 -8
  640. package/dist/components/segment/Segment.d.ts +0 -4
  641. package/dist/components/segment/SegmentItem.d.ts +0 -2
  642. package/dist/components/shared/pagination/Pagination.d.ts +0 -9
  643. package/dist/components/shared/pagination/Pagination.js +0 -45
  644. package/dist/components/shared/pagination/minWidth.cva.d.ts +0 -3
  645. package/dist/components/status/Alert/Alert.d.ts +0 -11
  646. package/dist/components/status/Alert/Alert.js +0 -47
  647. package/dist/components/status/Loader/Loader.d.ts +0 -5
  648. package/dist/components/status/Toast/Toast.d.ts +0 -14
  649. package/dist/components/text/Link/Link.d.ts +0 -9
  650. package/dist/components/text/Pill/Pill.d.ts +0 -15
  651. package/dist/components/text/Tag/Tag.d.ts +0 -15
  652. package/dist/components/text/Typography/Typography.d.ts +0 -11
  653. package/dist/components/text/Typography/Typography.js +0 -16
  654. package/dist/hooks/useFormAutosave.spec.d.ts +0 -1
  655. package/dist/hooks/useKeyInteractions.spec.d.ts +0 -1
  656. package/dist/hooks/useQueryAutocomplete.d.ts +0 -13
  657. package/dist/rhf/entrypoints.type-test.d.ts +0 -1
  658. package/dist/types/react-query.d.ts +0 -6
  659. package/dist/utils/array.utils.spec.d.ts +0 -1
  660. package/dist/utils/compoundMapper.spec.d.ts +0 -1
  661. package/dist/utils/date-time.utils.spec.d.ts +0 -1
  662. package/dist/utils/date.utils.spec.d.ts +0 -1
  663. package/dist/utils/intl.utils.spec.d.ts +0 -1
  664. package/dist/utils/query.utils.d.ts +0 -4
  665. package/dist/utils/rest.utils.d.ts +0 -10
  666. package/dist/utils/rest.utils.js +0 -33
  667. package/dist/utils/style-merge.util.spec.d.ts +0 -1
@@ -1,205 +1,206 @@
1
- import { ClassProp } from 'class-variance-authority/types';
2
- import { PropsWithChildren } from 'react';
3
- import { CompoundMapper, ConfigSchema } from '../utils/compoundMapper';
4
- import { StyleMergeUtils } from '../utils/style-merge.util';
5
- export declare namespace UIOverrides {
6
- export type Cva<T> = (props?: (T & ClassProp) | ClassProp) => string;
7
- type GenericCva = Cva<unknown>;
8
- type Mapper = CompoundMapper<unknown, ConfigSchema>;
9
- type GenericCvaOption = StyleMergeUtils.CvaConfigOverride | GenericCva;
10
- type OptionKey = {
11
- [K in keyof Options]: Options[K] extends object ? `${K & string}.${keyof Options[K] & string}` : never;
12
- }[keyof Options];
13
- type OptionValue<K extends OptionKey> = K extends `${infer TSection}.${infer TSlot}` ? TSection extends keyof Options ? TSlot extends keyof Options[TSection] ? Options[TSection][TSlot] : never : never : never;
14
- type ConfigFromOverride<TValue> = TValue extends StyleMergeUtils.CvaConfigOverride<infer TConfig> ? TConfig : never;
15
- type OverrideConfig<TValue> = [ConfigFromOverride<TValue>] extends [never] ? never : ConfigFromOverride<TValue>;
16
- type ExtractConfig<TValue> = [OverrideConfig<TValue>] extends [never] ? TValue extends {
17
- config?: infer TConfig;
18
- } ? NonNullable<TConfig> : TValue : OverrideConfig<TValue>;
19
- type EmptyObject = {};
20
- type VariantSchema<TConfig> = [TConfig] extends [never] ? EmptyObject : TConfig extends {
21
- variants?: infer TVariants;
22
- } ? [NonNullable<TVariants>] extends [never] ? EmptyObject : NonNullable<TVariants> : EmptyObject;
23
- export type VariantProps<TConfig> = [keyof VariantSchema<ExtractConfig<TConfig>>] extends [never] ? EmptyObject : StyleMergeUtils.ConfigVariants<Extract<VariantSchema<ExtractConfig<TConfig>>, StyleMergeUtils.ConfigSchema>>;
24
- export type OverrideVariantProps<TOverride> = VariantProps<ExtractConfig<TOverride>>;
25
- export interface Options {
26
- button: {
27
- cva?: GenericCvaOption;
28
- sizeCva?: GenericCvaOption;
29
- contentCva?: GenericCvaOption;
30
- iconSize?: GenericCvaOption;
31
- typography?: Mapper;
32
- };
33
- pillButton: {
34
- cva?: GenericCvaOption;
35
- typography?: Mapper;
36
- };
37
- checkbox: {
38
- cva?: GenericCvaOption;
39
- contentWrapperCva?: GenericCvaOption;
40
- contentRowCva?: GenericCvaOption;
41
- groupLabelCva?: GenericCvaOption;
42
- iconCva?: GenericCvaOption;
43
- typography?: Mapper;
44
- contentClassName?: Mapper;
45
- };
46
- radio: {
47
- cva?: GenericCvaOption;
48
- contentWrapperCva?: GenericCvaOption;
49
- contentRowCva?: GenericCvaOption;
50
- typography?: Mapper;
51
- contentClassName?: Mapper;
52
- };
53
- status: {
54
- iconCva?: GenericCvaOption;
55
- separatorCva?: GenericCvaOption;
56
- };
57
- toast: {
58
- cva?: GenericCvaOption;
59
- containerCva?: GenericCvaOption;
60
- buttonColor?: Mapper;
61
- };
62
- alert: {
63
- cva?: GenericCvaOption;
64
- };
65
- input: {
66
- baseCva?: GenericCvaOption;
67
- clearClassCva?: GenericCvaOption;
68
- contentWrapperCva?: GenericCvaOption;
69
- sizeCva?: GenericCvaOption;
70
- sideCva?: GenericCvaOption;
71
- };
72
- textArea: {
73
- wrapperCva?: GenericCvaOption;
74
- };
75
- tooltipWrapper: {
76
- triggerCva?: GenericCvaOption;
77
- };
78
- datePickerInput: {
79
- contentRowCva?: GenericCvaOption;
80
- };
81
- label: {
82
- cva?: GenericCvaOption;
83
- typography?: Mapper;
84
- };
85
- toggle: {
86
- cva?: GenericCvaOption;
87
- typography?: Mapper;
88
- contentClassName?: Mapper;
89
- };
90
- typography: {
91
- cva?: GenericCvaOption;
92
- };
93
- link: {
94
- cva?: GenericCvaOption;
95
- };
96
- tag: {
97
- cva?: GenericCvaOption;
98
- };
99
- table: {
100
- theadCva?: GenericCvaOption;
101
- headRowCva?: GenericCvaOption;
102
- headDataCva?: GenericCvaOption;
103
- rowCva?: GenericCvaOption;
104
- dataCva?: GenericCvaOption;
105
- headerTextCva?: GenericCvaOption;
106
- cellTextCva?: GenericCvaOption;
107
- };
108
- tooltip: {
109
- cva?: GenericCvaOption;
110
- pointerHorizontalCva?: GenericCvaOption;
111
- pointerVerticalCva?: GenericCvaOption;
112
- textCva?: GenericCvaOption;
113
- };
114
- modal: {
115
- contentCva?: GenericCvaOption;
116
- overlayCva?: GenericCvaOption;
117
- mainCva?: GenericCvaOption;
118
- };
119
- menu: {
120
- cva?: GenericCvaOption;
121
- itemCva?: GenericCvaOption;
122
- popoverCva?: GenericCvaOption;
123
- popoverWrapperCva?: GenericCvaOption;
124
- };
125
- segment: {
126
- cva?: GenericCvaOption;
127
- itemCva?: GenericCvaOption;
128
- };
129
- stepper: {
130
- cva?: GenericCvaOption;
131
- itemCva?: GenericCvaOption;
132
- iconCva?: GenericCvaOption;
133
- numberCva?: GenericCvaOption;
134
- titleCva?: GenericCvaOption;
135
- subtextCva?: GenericCvaOption;
136
- separatorCva?: GenericCvaOption;
137
- };
138
- accordion: {
139
- cva?: GenericCvaOption;
140
- itemCva?: GenericCvaOption;
141
- triggerCva?: GenericCvaOption;
142
- headingCva?: GenericCvaOption;
143
- headingTitleCva?: GenericCvaOption;
144
- headingSubtitleCva?: GenericCvaOption;
145
- chevronCva?: GenericCvaOption;
146
- iconCva?: GenericCvaOption;
147
- panelCva?: GenericCvaOption;
148
- panelContentCva?: GenericCvaOption;
149
- };
150
- breadcrumbs: {
151
- cva?: GenericCvaOption;
152
- itemCva?: GenericCvaOption;
153
- segmentCva?: GenericCvaOption;
154
- chevronCva?: GenericCvaOption;
155
- iconCva?: GenericCvaOption;
156
- };
157
- popover: {
158
- cva?: GenericCvaOption;
159
- };
160
- formField: {
161
- headerCva?: GenericCvaOption;
162
- errorLabelCva?: GenericCvaOption;
163
- helperLabelCva?: GenericCvaOption;
164
- };
165
- select: {
166
- listBoxItemCva?: GenericCvaOption;
167
- popoverCva?: GenericCvaOption;
168
- tagsContentWrapperCva?: GenericCvaOption;
169
- };
170
- progressBar: {
171
- cva?: GenericCvaOption;
172
- trackWrapperCva?: GenericCvaOption;
173
- trackCva?: GenericCvaOption;
174
- fillCva?: GenericCvaOption;
175
- valueCva?: GenericCvaOption;
176
- };
177
- fileUpload: {
178
- dropZoneCva?: GenericCvaOption;
179
- };
180
- }
181
- export type Config = Partial<Options>;
182
- interface ProviderProps {
183
- config?: Config;
184
- }
185
- export const Provider: ({ children, config }: PropsWithChildren<ProviderProps>) => import("react/jsx-runtime").JSX.Element;
186
- export const useCvaOverride: <K extends OptionKey>(key: K) => undefined;
187
- export function defineConfig(definition: {
188
- base: string[];
189
- }): {
190
- base: string[];
191
- config?: StyleMergeUtils.Config<Record<never, never>>;
192
- };
193
- export function defineConfig<const TSchema extends StyleMergeUtils.ConfigSchema>(definition: {
194
- base: string[];
195
- config: StyleMergeUtils.Config<TSchema>;
196
- }): {
197
- base: string[];
198
- config: StyleMergeUtils.Config<TSchema>;
199
- };
200
- export const defineOverride: <K extends OptionKey, const TOverride extends NonNullable<OptionValue<K>>>(_key: K, override: TOverride) => TOverride;
201
- export function useCva<K extends OptionKey>(key: K, fallback: StyleMergeUtils.CvaDefinition<ConfigFromOverride<NonNullable<OptionValue<K>>> & StyleMergeUtils.CvaConfigShape>): Cva<any>;
202
- export function useCva<K extends OptionKey, TProps>(key: K, fallback: Cva<TProps>): Cva<TProps>;
203
- export const useMapper: <T, K extends ConfigSchema>(key: OptionKey, fallback: CompoundMapper<T, K>) => CompoundMapper<T, K>;
204
- export {};
1
+ import { StyleMergeUtils } from "../utils/style-merge.util.js";
2
+ import { CompoundMapper, ConfigSchema } from "../utils/compoundMapper.js";
3
+ import { PropsWithChildren } from "react";
4
+ import { ClassProp } from "class-variance-authority/types";
5
+ //#region src/config/uiOverrides.context.d.ts
6
+ declare namespace UIOverrides {
7
+ export type Cva<T> = (props?: (T & ClassProp) | ClassProp) => string;
8
+ type GenericCva = Cva<unknown>;
9
+ type Mapper = CompoundMapper<unknown, ConfigSchema>;
10
+ type GenericCvaOption = StyleMergeUtils.CvaConfigOverride | GenericCva;
11
+ type OptionKey = { [K in keyof Options]: Options[K] extends object ? `${K & string}.${keyof Options[K] & string}` : never; }[keyof Options];
12
+ type OptionValue<K extends OptionKey> = K extends `${infer TSection}.${infer TSlot}` ? TSection extends keyof Options ? TSlot extends keyof Options[TSection] ? Options[TSection][TSlot] : never : never : never;
13
+ type ConfigFromOverride<TValue> = TValue extends StyleMergeUtils.CvaConfigOverride<infer TConfig> ? TConfig : never;
14
+ type OverrideConfig<TValue> = [ConfigFromOverride<TValue>] extends [never] ? never : ConfigFromOverride<TValue>;
15
+ type ExtractConfig<TValue> = [OverrideConfig<TValue>] extends [never] ? TValue extends {
16
+ config?: infer TConfig;
17
+ } ? NonNullable<TConfig> : TValue : OverrideConfig<TValue>;
18
+ type EmptyObject = {};
19
+ type VariantSchema<TConfig> = [TConfig] extends [never] ? EmptyObject : TConfig extends {
20
+ variants?: infer TVariants;
21
+ } ? [NonNullable<TVariants>] extends [never] ? EmptyObject : NonNullable<TVariants> : EmptyObject;
22
+ export type VariantProps<TConfig> = [keyof VariantSchema<ExtractConfig<TConfig>>] extends [never] ? EmptyObject : StyleMergeUtils.ConfigVariants<Extract<VariantSchema<ExtractConfig<TConfig>>, StyleMergeUtils.ConfigSchema>>;
23
+ export type OverrideVariantProps<TOverride> = VariantProps<ExtractConfig<TOverride>>;
24
+ export interface Options {
25
+ button: {
26
+ cva?: GenericCvaOption;
27
+ sizeCva?: GenericCvaOption;
28
+ contentCva?: GenericCvaOption;
29
+ iconSize?: GenericCvaOption;
30
+ typography?: Mapper;
31
+ };
32
+ pillButton: {
33
+ cva?: GenericCvaOption;
34
+ typography?: Mapper;
35
+ };
36
+ checkbox: {
37
+ cva?: GenericCvaOption;
38
+ contentWrapperCva?: GenericCvaOption;
39
+ contentRowCva?: GenericCvaOption;
40
+ groupLabelCva?: GenericCvaOption;
41
+ iconCva?: GenericCvaOption;
42
+ typography?: Mapper;
43
+ contentClassName?: Mapper;
44
+ };
45
+ radio: {
46
+ cva?: GenericCvaOption;
47
+ contentWrapperCva?: GenericCvaOption;
48
+ contentRowCva?: GenericCvaOption;
49
+ typography?: Mapper;
50
+ contentClassName?: Mapper;
51
+ };
52
+ status: {
53
+ iconCva?: GenericCvaOption;
54
+ separatorCva?: GenericCvaOption;
55
+ };
56
+ toast: {
57
+ cva?: GenericCvaOption;
58
+ containerCva?: GenericCvaOption;
59
+ buttonColor?: Mapper;
60
+ };
61
+ alert: {
62
+ cva?: GenericCvaOption;
63
+ };
64
+ input: {
65
+ baseCva?: GenericCvaOption;
66
+ clearClassCva?: GenericCvaOption;
67
+ contentWrapperCva?: GenericCvaOption;
68
+ sizeCva?: GenericCvaOption;
69
+ sideCva?: GenericCvaOption;
70
+ };
71
+ textArea: {
72
+ wrapperCva?: GenericCvaOption;
73
+ };
74
+ tooltipWrapper: {
75
+ triggerCva?: GenericCvaOption;
76
+ };
77
+ datePickerInput: {
78
+ contentRowCva?: GenericCvaOption;
79
+ };
80
+ label: {
81
+ cva?: GenericCvaOption;
82
+ typography?: Mapper;
83
+ };
84
+ toggle: {
85
+ cva?: GenericCvaOption;
86
+ typography?: Mapper;
87
+ contentClassName?: Mapper;
88
+ };
89
+ typography: {
90
+ cva?: GenericCvaOption;
91
+ };
92
+ link: {
93
+ cva?: GenericCvaOption;
94
+ };
95
+ tag: {
96
+ cva?: GenericCvaOption;
97
+ };
98
+ table: {
99
+ theadCva?: GenericCvaOption;
100
+ headRowCva?: GenericCvaOption;
101
+ headDataCva?: GenericCvaOption;
102
+ rowCva?: GenericCvaOption;
103
+ dataCva?: GenericCvaOption;
104
+ headerTextCva?: GenericCvaOption;
105
+ cellTextCva?: GenericCvaOption;
106
+ };
107
+ tooltip: {
108
+ cva?: GenericCvaOption;
109
+ pointerHorizontalCva?: GenericCvaOption;
110
+ pointerVerticalCva?: GenericCvaOption;
111
+ textCva?: GenericCvaOption;
112
+ };
113
+ modal: {
114
+ contentCva?: GenericCvaOption;
115
+ overlayCva?: GenericCvaOption;
116
+ mainCva?: GenericCvaOption;
117
+ };
118
+ menu: {
119
+ cva?: GenericCvaOption;
120
+ itemCva?: GenericCvaOption;
121
+ popoverCva?: GenericCvaOption;
122
+ popoverWrapperCva?: GenericCvaOption;
123
+ };
124
+ segment: {
125
+ cva?: GenericCvaOption;
126
+ itemCva?: GenericCvaOption;
127
+ };
128
+ stepper: {
129
+ cva?: GenericCvaOption;
130
+ itemCva?: GenericCvaOption;
131
+ iconCva?: GenericCvaOption;
132
+ numberCva?: GenericCvaOption;
133
+ titleCva?: GenericCvaOption;
134
+ subtextCva?: GenericCvaOption;
135
+ separatorCva?: GenericCvaOption;
136
+ };
137
+ accordion: {
138
+ cva?: GenericCvaOption;
139
+ itemCva?: GenericCvaOption;
140
+ triggerCva?: GenericCvaOption;
141
+ headingCva?: GenericCvaOption;
142
+ headingTitleCva?: GenericCvaOption;
143
+ headingSubtitleCva?: GenericCvaOption;
144
+ chevronCva?: GenericCvaOption;
145
+ iconCva?: GenericCvaOption;
146
+ panelCva?: GenericCvaOption;
147
+ panelContentCva?: GenericCvaOption;
148
+ };
149
+ breadcrumbs: {
150
+ cva?: GenericCvaOption;
151
+ itemCva?: GenericCvaOption;
152
+ segmentCva?: GenericCvaOption;
153
+ chevronCva?: GenericCvaOption;
154
+ iconCva?: GenericCvaOption;
155
+ };
156
+ popover: {
157
+ cva?: GenericCvaOption;
158
+ };
159
+ formField: {
160
+ headerCva?: GenericCvaOption;
161
+ errorLabelCva?: GenericCvaOption;
162
+ helperLabelCva?: GenericCvaOption;
163
+ };
164
+ select: {
165
+ listBoxItemCva?: GenericCvaOption;
166
+ popoverCva?: GenericCvaOption;
167
+ tagsContentWrapperCva?: GenericCvaOption;
168
+ };
169
+ progressBar: {
170
+ cva?: GenericCvaOption;
171
+ trackWrapperCva?: GenericCvaOption;
172
+ trackCva?: GenericCvaOption;
173
+ fillCva?: GenericCvaOption;
174
+ valueCva?: GenericCvaOption;
175
+ };
176
+ fileUpload: {
177
+ dropZoneCva?: GenericCvaOption;
178
+ };
179
+ }
180
+ export type Config = Partial<Options>;
181
+ interface ProviderProps {
182
+ config?: Config;
183
+ }
184
+ export const Provider: ({ children, config }: PropsWithChildren<ProviderProps>) => import("react/jsx-runtime").JSX.Element;
185
+ export const useCvaOverride: <K extends OptionKey>(key: K) => undefined;
186
+ export function defineConfig(definition: {
187
+ base: string[];
188
+ }): {
189
+ base: string[];
190
+ config?: StyleMergeUtils.Config<Record<never, never>>;
191
+ };
192
+ export function defineConfig<const TSchema extends StyleMergeUtils.ConfigSchema>(definition: {
193
+ base: string[];
194
+ config: StyleMergeUtils.Config<TSchema>;
195
+ }): {
196
+ base: string[];
197
+ config: StyleMergeUtils.Config<TSchema>;
198
+ };
199
+ export const defineOverride: <K extends OptionKey, const TOverride extends NonNullable<OptionValue<K>>>(_key: K, override: TOverride) => TOverride;
200
+ export function useCva<K extends OptionKey>(key: K, fallback: StyleMergeUtils.CvaDefinition<ConfigFromOverride<NonNullable<OptionValue<K>>> & StyleMergeUtils.CvaConfigShape>): Cva<any>;
201
+ export function useCva<K extends OptionKey, TProps>(key: K, fallback: Cva<TProps>): Cva<TProps>;
202
+ export const useMapper: <T, K extends ConfigSchema>(key: OptionKey, fallback: CompoundMapper<T, K>) => CompoundMapper<T, K>;
203
+ export {};
205
204
  }
205
+ //#endregion
206
+ export { UIOverrides };
@@ -1,11 +1,11 @@
1
1
  import { StyleMergeUtils } from "../utils/style-merge.util.js";
2
+ import { c } from "react/compiler-runtime";
2
3
  import { clsx } from "clsx";
3
4
  import { createContext, use } from "react";
4
- import { c } from "react/compiler-runtime";
5
5
  import { cva } from "class-variance-authority";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/config/uiOverrides.context.tsx
8
- var UIOverrides;
8
+ let UIOverrides;
9
9
  (function(_UIOverrides) {
10
10
  const Context = createContext(null);
11
11
  _UIOverrides.Provider = (t0) => {
@@ -1,7 +1,8 @@
1
- import { CellContext, ColumnDef, ColumnMeta } from '@tanstack/react-table';
2
- import { ReactNode } from 'react';
3
- import { FieldPath } from '../components/inputs/shared/form.binding';
4
- import { z } from 'zod';
1
+ import { FieldPath } from "../components/inputs/shared/form.binding.js";
2
+ import { ReactNode } from "react";
3
+ import { z } from "zod";
4
+ import { CellContext, ColumnDef, ColumnMeta } from "@tanstack/react-table";
5
+ //#region src/helpers/dynamicColumns.d.ts
5
6
  type NestedTypeFromKey<T, K extends string> = K extends keyof T ? T[K] : K extends `${infer First}.${infer Rest}` ? First extends keyof T ? NestedTypeFromKey<T[First], Rest> : never : never;
6
7
  type SchemaType<TSchema extends z.ZodObject<any>> = z.infer<TSchema>;
7
8
  type SchemaKey<TSchema extends z.ZodObject<any>> = keyof SchemaType<TSchema>;
@@ -11,34 +12,32 @@ type ColumnMetaType<TSchema extends z.ZodObject<any>> = ColumnMeta<SchemaType<TS
11
12
  type GetNestedValueType<TSchema extends z.ZodObject<any>, K extends string> = NestedTypeFromKey<SchemaType<TSchema>, K>;
12
13
  type NestedSchemaKeyOrString<TSchema extends z.ZodObject<any>> = NestedSchemaKey<TSchema> | (string & {});
13
14
  type DynamicColumnDef<TSchema extends z.ZodObject<any>, TValue = any> = Omit<ColumnDef<SchemaType<TSchema>, TValue>, "accessorKey" | "cell"> & {
14
- cell?: ((props: CellContext<SchemaType<TSchema>, TValue>) => any) | NestedSchemaKey<TSchema>;
15
- };
16
- type ColumnsConfig<TSchema extends z.ZodObject<any>> = {
17
- [K in NestedSchemaKey<TSchema>]?: DynamicColumnDef<TSchema, GetNestedValueType<TSchema, K>> | ((props: CellContext<SchemaType<TSchema>, GetNestedValueType<TSchema, K>>) => any) | NestedSchemaKey<TSchema> | boolean;
15
+ cell?: ((props: CellContext<SchemaType<TSchema>, TValue>) => any) | NestedSchemaKey<TSchema>;
18
16
  };
17
+ type ColumnsConfig<TSchema extends z.ZodObject<any>> = { [K in NestedSchemaKey<TSchema>]?: DynamicColumnDef<TSchema, GetNestedValueType<TSchema, K>> | ((props: CellContext<SchemaType<TSchema>, GetNestedValueType<TSchema, K>>) => any) | NestedSchemaKey<TSchema> | boolean; };
19
18
  type CustomColumnDef<TSchema extends z.ZodObject<any>> = Omit<ColumnDef<SchemaType<TSchema>, any>, "accessorKey" | "cell"> & {
20
- accessorKey?: NestedSchemaKeyOrString<TSchema>;
21
- cell?: ((props: CellContext<SchemaType<TSchema>, any>) => any) | NestedSchemaKey<TSchema>;
19
+ accessorKey?: NestedSchemaKeyOrString<TSchema>;
20
+ cell?: ((props: CellContext<SchemaType<TSchema>, any>) => any) | NestedSchemaKey<TSchema>;
22
21
  };
23
22
  type CustomColumnsConfig<TSchema extends z.ZodObject<any>> = Record<string, CustomColumnDef<TSchema> | ((props: CellContext<SchemaType<TSchema>, undefined>) => any) | NestedSchemaKey<TSchema>>;
24
- export interface DynamicColumnsOptions<TSchema extends z.ZodObject<any>> {
25
- columns?: ColumnsConfig<TSchema>;
26
- customColumns?: CustomColumnsConfig<TSchema>;
27
- order?: NestedSchemaKeyOrString<TSchema>[];
28
- sortable?: NestedSchemaKeyOrString<TSchema>[] | z.ZodEnum<any>;
29
- disableFormatting?: NestedSchemaKeyOrString<TSchema>[];
30
- emptyValue?: ReactNode;
31
- namespace?: string;
32
- overridePresetLocales?: boolean;
33
- globalMeta?: Omit<ColumnMetaType<TSchema>, "sortKey">;
34
- globalWrapper?: (children: ReactNode) => ReactNode;
35
- includeAll?: boolean;
23
+ interface DynamicColumnsOptions<TSchema extends z.ZodObject<any>> {
24
+ columns?: ColumnsConfig<TSchema>;
25
+ customColumns?: CustomColumnsConfig<TSchema>;
26
+ order?: NestedSchemaKeyOrString<TSchema>[];
27
+ sortable?: NestedSchemaKeyOrString<TSchema>[] | z.ZodEnum<any>;
28
+ disableFormatting?: NestedSchemaKeyOrString<TSchema>[];
29
+ emptyValue?: ReactNode;
30
+ namespace?: string;
31
+ overridePresetLocales?: boolean;
32
+ globalMeta?: Omit<ColumnMetaType<TSchema>, "sortKey">;
33
+ globalWrapper?: (children: ReactNode) => ReactNode;
34
+ includeAll?: boolean;
36
35
  }
37
- export declare const sortColumns: <TSchema extends z.ZodObject<any>>(columns: ColumnDef<SchemaType<TSchema>>[], orderKeys?: DynamicColumnsOptions<TSchema>["order"]) => ColumnDef<SchemaType<TSchema>>[];
38
36
  interface DynamicColumnsParams<TSchema extends z.ZodObject<any>> {
39
- schema: TSchema;
40
- preset?: ColumnDef<SchemaType<TSchema>>[];
41
- options: DynamicColumnsOptions<TSchema>;
37
+ schema: TSchema;
38
+ preset?: ColumnDef<SchemaType<TSchema>>[];
39
+ options: DynamicColumnsOptions<TSchema>;
42
40
  }
43
- export declare const dynamicColumns: <TSchema extends z.ZodObject<any>>({ schema, preset, options, }: DynamicColumnsParams<TSchema>) => ColumnDef<SchemaType<TSchema>>[];
44
- export {};
41
+ declare const dynamicColumns: <TSchema extends z.ZodObject<any>>({ schema, preset, options }: DynamicColumnsParams<TSchema>) => ColumnDef<SchemaType<TSchema>>[];
42
+ //#endregion
43
+ export { DynamicColumnsOptions, dynamicColumns };