@povio/ui 6.0.0-rc.12 → 6.0.0-rc.14

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 (523) hide show
  1. package/README.md +523 -42
  2. package/dist/{Accordion-ORBin0EZ.js → Accordion-BNHpv7Zj.js} +42 -42
  3. package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
  4. package/dist/Alert-xHGPLUpt.d.ts +36 -0
  5. package/dist/AlertDialog-CKcUZ6l9.d.ts +70 -0
  6. package/dist/Autocomplete-CkWTSFoj.d.ts +123 -0
  7. package/dist/Autocomplete-CrNDRxvg.js +319 -0
  8. package/dist/Badge-B25YEMEw.d.ts +67 -0
  9. package/dist/BottomSheet-CtcPZG82.d.ts +65 -0
  10. package/dist/{BottomSheet-CGipksM_.js → BottomSheet-tUXH3NjS.js} +9 -9
  11. package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-DuwAJSaI.d.ts} +1 -1
  12. package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-BrtRh_dX.d.ts} +6 -3
  13. package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-D8WXqOLN.js} +36 -20
  14. package/dist/{Button-BaODzvZd.js → Button-C1Jv1Plk.js} +1 -1
  15. package/dist/{Button-0SswSdDg.d.ts → Button-DDuk3hJ3.d.ts} +2 -2
  16. package/dist/{Button-C1YB5dOw.js → Button-DF6sbTuF.js} +3 -7
  17. package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-BYJz1JkH.js} +12 -20
  18. package/dist/ButtonBase-Bn_FT89h.d.ts +47 -0
  19. package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
  20. package/dist/{Calendar-yaQubCWK.js → Calendar-DdneUEhM.js} +71 -35
  21. package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-BY0kLoYH.js} +7 -7
  22. package/dist/Checkbox-Bwl6MA-V.d.ts +49 -0
  23. package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-E2bns_n0.js} +40 -14
  24. package/dist/CheckboxCheckmark-Beu8T1g9.js +42 -0
  25. package/dist/CheckboxGroup-0rzsn-bA.d.ts +52 -0
  26. package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-C7epIEpW.js} +75 -35
  27. package/dist/ColumnConfigContent-LNq-6Brf.js +1025 -0
  28. package/dist/ColumnListContent-Dzze5R7T.js +133 -0
  29. package/dist/DatePicker-B70SCKfT.d.ts +80 -0
  30. package/dist/{DatePicker-bme8zGBo.js → DatePicker-BU-34fCk.js} +117 -46
  31. package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-BCuz08Ws.d.ts} +3 -3
  32. package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-CMEJmZSQ.js} +41 -30
  33. package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-D0RtqeBM.js} +90 -162
  34. package/dist/DateRangePicker-jovxcWGk.d.ts +102 -0
  35. package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-Cbdt76CL.js} +94 -40
  36. package/dist/DateTimePicker-Cfi3ruFy.d.ts +83 -0
  37. package/dist/Dialog-BWNQjIgo.d.ts +66 -0
  38. package/dist/{Dialog-C9H9_BmK.js → Dialog-Bpwr1nuy.js} +15 -15
  39. package/dist/{Dialog-DN5703sy.js → Dialog-ebjPH22i.js} +23 -19
  40. package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-D_aym2zh.js} +3 -3
  41. package/dist/Drawer-o018RqIt.d.ts +42 -0
  42. package/dist/DropdownMenu-3V-G7fZ7.d.ts +51 -0
  43. package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-C4WitobV.js} +33 -21
  44. package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-BM7659Sk.js} +14 -8
  45. package/dist/{FileInput-BUwtAF2-.js → FileInput-Bc_E1M1X.js} +76 -81
  46. package/dist/FileInput-CWRW7OzZ.d.ts +61 -0
  47. package/dist/{FileTrigger-DlryDp2T.js → FileTrigger-tGSUFrb2.js} +6 -6
  48. package/dist/FileUpload-DVnp9xxv.d.ts +181 -0
  49. package/dist/FileUpload-Dk6ZmgWF.js +1105 -0
  50. package/dist/{Form-CqF1SaVw.js → Form-4jZarkjk.js} +2 -2
  51. package/dist/FormField-BgiWLGjf.d.ts +70 -0
  52. package/dist/{FormField-dduTMkNH.js → FormField-DOZ7eXjA.js} +11 -11
  53. package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
  54. package/dist/FormFieldHeaderTooltip-DW9sqJWl.js +22 -0
  55. package/dist/{Heading-D4XFYv__.js → Heading-B9G3z6Es.js} +2 -2
  56. package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
  57. package/dist/IconButton-Bjjf5cQL.d.ts +24 -0
  58. package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
  59. package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CcdpMJa6.js} +1 -1
  60. package/dist/{Input-BG0Xjw5X.js → Input-BkR3jkvt.js} +2 -2
  61. package/dist/{Input-CG5LQ0zs.js → Input-CvYyjMWx.js} +95 -60
  62. package/dist/Input-lppNS8wM.d.ts +56 -0
  63. package/dist/{InputContent-Fx2E4UXl.js → InputContent-B5YjsLDE.js} +15 -13
  64. package/dist/InputContent-Bgalf6R1.d.ts +39 -0
  65. package/dist/{Label-BGvF9vWx.js → Label-VTcaaLO8.js} +2 -2
  66. package/dist/{Link-Chux-Clm.js → Link-8zP_NC_c.js} +2 -2
  67. package/dist/Link-HJ4y-xiW.d.ts +15 -0
  68. package/dist/{ListBox-DhR5kojP.js → ListBox-Ck-B1Jae.js} +9 -9
  69. package/dist/{Modal-DcLWF9cB.js → Modal-xT-Wz5GH.js} +3 -3
  70. package/dist/{NumberField-DxuikBcr.js → NumberField-BXLzNb2T.js} +92 -63
  71. package/dist/NumberField-Q-4y3jpb.d.ts +41 -0
  72. package/dist/{NumberFormatter-DYarfm5F.js → NumberFormatter-D5csbNXm.js} +1 -1
  73. package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BBzZCC54.js} +153 -102
  74. package/dist/NumberRangeInput-DuWOdSdU.d.ts +89 -0
  75. package/dist/{OverlayArrow-DF0jMwul.js → OverlayArrow-BptI-A_7.js} +2 -2
  76. package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-jVaC3Z9L.d.ts} +6 -5
  77. package/dist/PasswordInput-DtTnGHRD.d.ts +16 -0
  78. package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-U0QhNsMp.js} +6 -6
  79. package/dist/Popover-ClCEOP3e.d.ts +51 -0
  80. package/dist/Progress-DlXY0dv_.js +180 -0
  81. package/dist/Progress-VkkXbIh7.d.ts +26 -0
  82. package/dist/ProgressBar-mpNpV7ow.js +46 -0
  83. package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-BPPJyA1s.js} +72 -32
  84. package/dist/RadioGroup-BbcrP56w.d.ts +52 -0
  85. package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DIVjIl0T.js} +12 -10
  86. package/dist/Select-D1qIWZCv.d.ts +248 -0
  87. package/dist/{Select-BM8PNrjC.js → Select-DlbVDCz8.js} +452 -191
  88. package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-CCr5YY86.js} +55 -43
  89. package/dist/{SelectionIndicator-C3hniBa2.js → SelectionIndicator-CvuKjZRP.js} +3 -3
  90. package/dist/{SharedElementTransition-CZ2bE7yo.js → SharedElementTransition-BkyYit3Q.js} +2 -2
  91. package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-CIpFJGOa.js} +283 -366
  92. package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-DcwA_jv7.d.ts} +31 -17
  93. package/dist/Slider-CLViwkE1.d.ts +57 -0
  94. package/dist/{Slider-DCsCCPFx.js → Slider-_RsgBJcg.js} +72 -15
  95. package/dist/Spinner-GMEauCHv.d.ts +13 -0
  96. package/dist/SplitButton-BdP4xjFQ.d.ts +25 -0
  97. package/dist/{Stepper-Dyhxp0Tl.js → Stepper-D4z7JNsD.js} +116 -88
  98. package/dist/Stepper-DBb0qfla.d.ts +49 -0
  99. package/dist/{Switch-BfpSMMpv.js → Switch-Bi3_bUw1.js} +56 -14
  100. package/dist/Switch-DCxONL2Q.d.ts +42 -0
  101. package/dist/TableDnd-CG1yOlxh.js +238 -0
  102. package/dist/TableDragHandle-CXApnuUm.js +51 -0
  103. package/dist/{TabsFilters-DybNturW.js → TabsFilters-BPogry73.js} +46 -35
  104. package/dist/TabsFilters-CPfGBODw.d.ts +59 -0
  105. package/dist/Tag-xhcJOv_X.d.ts +26 -0
  106. package/dist/{Text-D72yc4S6.js → Text-D7Nqkw1l.js} +1 -1
  107. package/dist/TextArea-BYX9Kk_v.d.ts +33 -0
  108. package/dist/{TextArea-Blsip3ZC.js → TextArea-CuJS3-Nv.js} +62 -35
  109. package/dist/{TimePicker-4hV5zbgd.js → TimePicker-ByfjqkLp.js} +120 -56
  110. package/dist/TimePicker-UTo9C6gz.d.ts +64 -0
  111. package/dist/TimePickerForm-CaIHR0PV.js +532 -0
  112. package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-tr7Zxahc.js} +4 -4
  113. package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-BX8o7ECO.d.ts} +2 -2
  114. package/dist/{ToggleButton-P1z1pxzT.js → ToggleButton-D8BT67FO.js} +5 -5
  115. package/dist/ToggleGroup-18c-FZ_r.js +500 -0
  116. package/dist/ToggleGroup-UazUtgU1.d.ts +95 -0
  117. package/dist/{Tooltip-DRB6lo0U.js → Tooltip-Dl3sf8fq.js} +5 -5
  118. package/dist/Tooltip-FcJ29dhq.d.ts +33 -0
  119. package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
  120. package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-bvNpM6ku.js} +6 -6
  121. package/dist/{Typography-DJojwiXV.d.ts → Typography-auHWN282.d.ts} +5 -1
  122. package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-C9mE8CMf.js} +23 -24
  123. package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
  124. package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-CeGnrjoA.d.ts} +2 -2
  125. package/dist/calendarHeader.cva-D3sXR7ox.js +23 -0
  126. package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
  127. package/dist/columnConfig.cva-CERwSZRN.js +29 -0
  128. package/dist/components/accordion.d.ts +1 -1
  129. package/dist/components/accordion.js +1 -1
  130. package/dist/components/alert-dialog.d.ts +2 -2
  131. package/dist/components/alert-dialog.js +174 -128
  132. package/dist/components/alert.d.ts +1 -1
  133. package/dist/components/alert.js +17 -15
  134. package/dist/components/autocomplete.d.ts +2 -2
  135. package/dist/components/autocomplete.js +1 -1
  136. package/dist/components/badge.d.ts +2 -2
  137. package/dist/components/badge.js +166 -81
  138. package/dist/components/bottom-sheet-header.d.ts +1 -1
  139. package/dist/components/bottom-sheet-header.js +25 -21
  140. package/dist/components/bottom-sheet.d.ts +2 -2
  141. package/dist/components/bottom-sheet.js +2 -2
  142. package/dist/components/breadcrumbs.d.ts +1 -1
  143. package/dist/components/breadcrumbs.js +1 -1
  144. package/dist/components/button.d.ts +2 -2
  145. package/dist/components/button.js +1 -1
  146. package/dist/components/checkbox-group.d.ts +2 -2
  147. package/dist/components/checkbox-group.js +1 -1
  148. package/dist/components/checkbox.d.ts +2 -2
  149. package/dist/components/checkbox.js +1 -1
  150. package/dist/components/date-picker.d.ts +2 -2
  151. package/dist/components/date-picker.js +1 -1
  152. package/dist/components/date-range-picker.d.ts +4 -41
  153. package/dist/components/date-range-picker.js +4 -2
  154. package/dist/components/date-range-presets.d.ts +2 -0
  155. package/dist/components/date-range-presets.js +3 -0
  156. package/dist/components/date-time-picker.d.ts +2 -2
  157. package/dist/components/date-time-picker.js +1 -1
  158. package/dist/components/dialog.d.ts +1 -1
  159. package/dist/components/dialog.js +1 -1
  160. package/dist/components/drawer.d.ts +1 -1
  161. package/dist/components/drawer.js +16 -80
  162. package/dist/components/dropdown-menu.d.ts +2 -3
  163. package/dist/components/dropdown-menu.js +2 -3
  164. package/dist/components/file-input.d.ts +2 -2
  165. package/dist/components/file-input.js +1 -1
  166. package/dist/components/file-upload.d.ts +2 -3
  167. package/dist/components/file-upload.js +1 -1
  168. package/dist/components/form-field.d.ts +3 -2
  169. package/dist/components/form-field.js +1 -1
  170. package/dist/components/icon-button.d.ts +1 -1
  171. package/dist/components/icon-button.js +22 -25
  172. package/dist/components/icon-slot.d.ts +1 -2
  173. package/dist/components/icon-slot.js +2 -2
  174. package/dist/components/input-frame.d.ts +6 -10
  175. package/dist/components/input-frame.js +31 -28
  176. package/dist/components/input.d.ts +2 -2
  177. package/dist/components/input.js +2 -2
  178. package/dist/components/link.d.ts +1 -1
  179. package/dist/components/link.js +2 -2
  180. package/dist/components/number-field.d.ts +2 -2
  181. package/dist/components/number-field.js +2 -2
  182. package/dist/components/number-range-input.d.ts +2 -2
  183. package/dist/components/number-range-input.js +1 -1
  184. package/dist/components/page-header.d.ts +1 -1
  185. package/dist/components/page-header.js +5 -5
  186. package/dist/components/password-input.d.ts +2 -2
  187. package/dist/components/password-input.js +1 -22
  188. package/dist/components/popover.d.ts +1 -1
  189. package/dist/components/popover.js +105 -87
  190. package/dist/components/progress.d.ts +2 -2
  191. package/dist/components/progress.js +1 -1
  192. package/dist/components/radio-group.d.ts +2 -2
  193. package/dist/components/radio-group.js +1 -1
  194. package/dist/components/select.d.ts +2 -2
  195. package/dist/components/select.js +1 -1
  196. package/dist/components/sidebar.d.ts +1 -1
  197. package/dist/components/sidebar.js +1 -1
  198. package/dist/components/slider.d.ts +2 -2
  199. package/dist/components/slider.js +1 -1
  200. package/dist/components/spinner.d.ts +1 -1
  201. package/dist/components/spinner.js +71 -1
  202. package/dist/components/split-button.d.ts +1 -1
  203. package/dist/components/split-button.js +15 -4
  204. package/dist/components/stepper.d.ts +1 -1
  205. package/dist/components/stepper.js +1 -1
  206. package/dist/components/style-definitions.d.ts +3 -3
  207. package/dist/components/style-definitions.js +62 -20
  208. package/dist/components/switch.d.ts +2 -2
  209. package/dist/components/switch.js +1 -1
  210. package/dist/components/tabs-filters.d.ts +1 -1
  211. package/dist/components/tabs-filters.js +1 -1
  212. package/dist/components/tag.d.ts +1 -1
  213. package/dist/components/tag.js +50 -64
  214. package/dist/components/text-area.d.ts +2 -2
  215. package/dist/components/text-area.js +1 -1
  216. package/dist/components/time-picker.d.ts +2 -2
  217. package/dist/components/time-picker.js +1 -1
  218. package/dist/components/toast.d.ts +3 -3
  219. package/dist/components/toast.js +4 -3
  220. package/dist/components/toggle-button.d.ts +1 -1
  221. package/dist/components/toggle-button.js +1 -1
  222. package/dist/components/toggle-group.d.ts +2 -2
  223. package/dist/components/toggle-group.js +1 -1
  224. package/dist/components/tooltip-ellipsis.d.ts +1 -1
  225. package/dist/components/tooltip-ellipsis.js +1 -1
  226. package/dist/components/tooltip.d.ts +1 -1
  227. package/dist/components/tooltip.js +1 -1
  228. package/dist/components/typography.d.ts +2 -2
  229. package/dist/components/use-toast.d.ts +2 -2
  230. package/dist/components/use-toast.js +1 -41
  231. package/dist/config/component-configuration.d.ts +2 -2
  232. package/dist/config/component-configuration.js +53 -2
  233. package/dist/config/confirmation.d.ts +1 -1
  234. package/dist/config/confirmation.js +1 -1
  235. package/dist/config/link-context.d.ts +3 -3
  236. package/dist/config/link-context.js +1 -1
  237. package/dist/config/resources.d.ts +1 -1
  238. package/dist/config/resources.js +1 -1
  239. package/dist/config/ui-config.d.ts +2 -2
  240. package/dist/config/ui-config.js +1 -1
  241. package/dist/config/ui-overrides.d.ts +1 -1
  242. package/dist/config/ui-router.d.ts +1 -1
  243. package/dist/config/ui-router.js +1 -1
  244. package/dist/confirmation.context-C_-uADGJ.js +93 -0
  245. package/dist/confirmation.context-DkWyR2aT.d.ts +32 -0
  246. package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
  247. package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
  248. package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
  249. package/dist/{dist-DEZzXa0W.js → dist-CP6vV22I.js} +68 -39
  250. package/dist/{dom.utils-BPooTXtC.js → dom.utils-CqejLWIQ.js} +1 -1
  251. package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
  252. package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
  253. package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
  254. package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
  255. package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
  256. package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-SrF6v406.js} +3 -3
  257. package/dist/form-field-C735uXsi.d.ts +1 -0
  258. package/dist/form.binding-Brdjq2yr.js +161 -0
  259. package/dist/form.binding-DSXB2AOD.d.ts +127 -0
  260. package/dist/form.types-a2WVJDQX.d.ts +43 -0
  261. package/dist/formReset-CnZl_yze.js +35 -0
  262. package/dist/hints-B09_WDhL.d.ts +17 -0
  263. package/dist/hooks/use-async-list.d.ts +1 -1
  264. package/dist/hooks/use-async-list.js +1 -1
  265. package/dist/hooks/use-breakpoint.d.ts +3 -0
  266. package/dist/hooks/use-breakpoint.js +2 -0
  267. package/dist/hooks/use-filters.d.ts +2 -2
  268. package/dist/hooks/use-filters.js +1 -1
  269. package/dist/{i18n-D8vXIoiq.js → i18n-DaIHnR2n.js} +123 -9
  270. package/dist/{i18n-DM-PUcxQ.d.ts → i18n-xXkHgzet.d.ts} +124 -4
  271. package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
  272. package/dist/{import-C7W0Wv2r.js → import-Cz8NlFqm.js} +40 -16
  273. package/dist/index.d.ts +66 -84
  274. package/dist/index.js +57 -92
  275. package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
  276. package/dist/inputLayout-CIVpuUBq.js +7 -0
  277. package/dist/inputRow.clsx-BbcaXVta.js +6 -0
  278. package/dist/{intlStrings-Cu1YN1tA.js → intlStrings-ClpdCJmU.js} +35 -35
  279. package/dist/{isEqual-LFw0W5rU.js → isEqual-BdJdNr5O.js} +1 -1
  280. package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
  281. package/dist/link.context-BxVK2yQ5.d.ts +20 -0
  282. package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
  283. package/dist/link.cva-ZhpQz3P0.d.ts +2277 -0
  284. package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
  285. package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
  286. package/dist/rich-text-editor.d.ts +44 -2
  287. package/dist/rich-text-editor.js +733 -1
  288. package/dist/router.context-B6j_M4cN.js +151 -0
  289. package/dist/router.context-CSd9JYQ4.d.ts +33 -0
  290. package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
  291. package/dist/{selectItem.cva-B6vxey2R.js → selectItem.cva-DsOZSSPx.js} +2 -1
  292. package/dist/sidebar.cva-BgxTCejU.js +150 -0
  293. package/dist/spinner.cva-j4kGmIWC.js +17 -0
  294. package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BgUrcqXD.js} +379 -94
  295. package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
  296. package/dist/styles/input.d.ts +1 -1
  297. package/dist/{table.cva-DkcsOmZG.js → table.cva-n9TO_vu1.js} +68 -17
  298. package/dist/tableCells.cva-Br0_kgRM.js +18 -0
  299. package/dist/tableColumnConfigStorage-Cciq8gVe.js +215 -0
  300. package/dist/tableVirtualStore-whSmFzTV.js +67 -0
  301. package/dist/tanstack/form.d.ts +3 -3
  302. package/dist/tanstack/form.js +3 -3
  303. package/dist/tanstack/table-context.d.ts +2 -0
  304. package/dist/tanstack/table-context.js +2 -0
  305. package/dist/tanstack/table-types.d.ts +55 -0
  306. package/dist/tanstack/table.d.ts +5 -3
  307. package/dist/tanstack/table.js +3 -2
  308. package/dist/tanstack-JB8VmS9j.js +73 -0
  309. package/dist/tanstack-cQOW9-Q2.d.ts +165 -0
  310. package/dist/tanstack-table-DdWYwCZM.d.ts +858 -0
  311. package/dist/tanstack-table-M1M26UQJ.js +5299 -0
  312. package/dist/tanstack.d.ts +66 -84
  313. package/dist/tanstack.js +57 -92
  314. package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-DusQwZw-.js} +13 -9
  315. package/dist/toast.runtime-ZN5q4T9X.js +25 -0
  316. package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
  317. package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-NWmBJ2Hc.js} +72 -10
  318. package/dist/uiConfig.context-ykH4E2js.d.ts +19 -0
  319. package/dist/uiConfig.types-BsyPKepP.d.ts +291 -0
  320. package/dist/{uiOverrides.context-DHHzLSnq.d.ts → uiOverrides.context-C5Maic5Q.d.ts} +106 -0
  321. package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-DkIjhlce.js} +142 -37
  322. package/dist/useAsyncList-F-328rtE.d.ts +25 -0
  323. package/dist/useAutoFocus-K-bfNxa2.js +16 -0
  324. package/dist/useBreakpoint-BPrZNuNl.d.ts +9 -0
  325. package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-DtYSRweq.js} +6 -2
  326. package/dist/{useControlledState-CuU1VIh1.js → useControlledState-C1-Mt2i0.js} +1 -1
  327. package/dist/useDebounceCallback-C7YKfjXW.js +96 -0
  328. package/dist/useFilters-CybBXUAA.js +217 -0
  329. package/dist/useFilters-DrfBFNLw.d.ts +57 -0
  330. package/dist/useFormAutosave-BzCGqFqi.js +419 -0
  331. package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
  332. package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
  333. package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-npiqOvyB.js} +107 -6
  334. package/dist/useRemoveButton-zhlA1Pbc.js +98 -0
  335. package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
  336. package/dist/useResolveDateRangePreset-k_h_XJBG.js +26 -0
  337. package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-4pieApqz.js} +1 -1
  338. package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
  339. package/dist/useTableVirtualizer-sFInQiH-.d.ts +162 -0
  340. package/dist/useToast-BHqkSByv.d.ts +78 -0
  341. package/dist/useToast-DgqC6Ta_.js +63 -0
  342. package/dist/utils/file.d.ts +1 -1
  343. package/dist/utils/file.js +1 -1
  344. package/dist/{utils-BkLF-JA3.js → utils-Q5Oc6oX2.js} +1 -1
  345. package/llms.txt +3201 -0
  346. package/package.json +22 -118
  347. package/MIGRATION.md +0 -655
  348. package/dist/Alert-D4X7OWiv.d.ts +0 -34
  349. package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
  350. package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
  351. package/dist/Autocomplete-Bn13u0zu.js +0 -145
  352. package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
  353. package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
  354. package/dist/Badge-Db1ndK67.d.ts +0 -30
  355. package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
  356. package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
  357. package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
  358. package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
  359. package/dist/Checkbox.bound-D2nBglJz.js +0 -33
  360. package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
  361. package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
  362. package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
  363. package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
  364. package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
  365. package/dist/ComboBox-ChsdI0lt.js +0 -212
  366. package/dist/DatePicker-QzfQf21b.d.ts +0 -56
  367. package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
  368. package/dist/DatePicker.bound-M2cjR37s.js +0 -36
  369. package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
  370. package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
  371. package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
  372. package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
  373. package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
  374. package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
  375. package/dist/Dialog-CO9xljD3.d.ts +0 -21
  376. package/dist/Drawer-D1cHiBFO.d.ts +0 -18
  377. package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
  378. package/dist/FileInput-BEaECoBS.d.ts +0 -75
  379. package/dist/FileInput.bound-C12mOKpg.js +0 -30
  380. package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
  381. package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
  382. package/dist/FileUpload-D7FMYm-k.js +0 -749
  383. package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
  384. package/dist/FileUpload.bound-DmkuulOi.js +0 -30
  385. package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
  386. package/dist/FormField-DGyCDxOp.d.ts +0 -42
  387. package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
  388. package/dist/IconButton-shH_9wcl.d.ts +0 -25
  389. package/dist/Input-CTp_9mS9.d.ts +0 -34
  390. package/dist/Input.bound-B9a62ylL.d.ts +0 -9
  391. package/dist/Input.bound-DYoXyRGy.js +0 -31
  392. package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
  393. package/dist/Link-PvYB_M-j.d.ts +0 -30
  394. package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
  395. package/dist/NumberField-WXebfxjK.d.ts +0 -34
  396. package/dist/NumberField.bound-ChJnNyJS.js +0 -32
  397. package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
  398. package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
  399. package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
  400. package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
  401. package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
  402. package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
  403. package/dist/Popover-D_t1XDPA.d.ts +0 -20
  404. package/dist/Progress-Ckfpi_-M.d.ts +0 -45
  405. package/dist/Progress-RiEGGxNG.js +0 -119
  406. package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
  407. package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
  408. package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
  409. package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
  410. package/dist/RichTextEditor-DfwVdm45.js +0 -651
  411. package/dist/Select-C34ENdjq.d.ts +0 -119
  412. package/dist/Select.bound--Az1Xwgm.js +0 -34
  413. package/dist/Select.bound-qOihchei.d.ts +0 -17
  414. package/dist/Slider-DRg8zKRM.d.ts +0 -23
  415. package/dist/Slider.bound-CByTXPTr.js +0 -31
  416. package/dist/Slider.bound-CaEF19um.d.ts +0 -9
  417. package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
  418. package/dist/Spinner-DqjP06T1.js +0 -101
  419. package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
  420. package/dist/Stepper-k91x_m-E.d.ts +0 -114
  421. package/dist/Switch-ELVPkPx0.d.ts +0 -24
  422. package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
  423. package/dist/Switch.bound-Dv0cHsMM.js +0 -33
  424. package/dist/TableDnd-CuHxANWh.js +0 -133
  425. package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
  426. package/dist/TabsFilters-DePddjCk.d.ts +0 -30
  427. package/dist/Tag-B2_ZiSE-.d.ts +0 -44
  428. package/dist/TextArea-iqUeB2QY.d.ts +0 -26
  429. package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
  430. package/dist/TextArea.bound-DeaskY6r.js +0 -28
  431. package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
  432. package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
  433. package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
  434. package/dist/TimePickerForm-DD9VA_td.js +0 -225
  435. package/dist/Toast-D9pdadZ4.d.ts +0 -16
  436. package/dist/ToggleGroup-CrDoeLN0.js +0 -333
  437. package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
  438. package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
  439. package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
  440. package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
  441. package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
  442. package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
  443. package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
  444. package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
  445. package/dist/components/badge-button.d.ts +0 -2
  446. package/dist/components/badge-button.js +0 -74
  447. package/dist/components/file-upload-container.d.ts +0 -3
  448. package/dist/components/file-upload-container.js +0 -15
  449. package/dist/confirmation.context-Bc2yEVp_.js +0 -114
  450. package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
  451. package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
  452. package/dist/form.binding-DOR5gIQf.js +0 -49
  453. package/dist/form.types-C8P4sznq.d.ts +0 -22
  454. package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
  455. package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
  456. package/dist/icons.d.ts +0 -4
  457. package/dist/icons.js +0 -3
  458. package/dist/input.cva-BjuHsDGy.d.ts +0 -80
  459. package/dist/inputLayout-KdAtunGk.js +0 -5
  460. package/dist/link.context-BCHn7NSy.d.ts +0 -12
  461. package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
  462. package/dist/router.context-CtafjXV7.d.ts +0 -16
  463. package/dist/router.context-MckTbHw9.js +0 -63
  464. package/dist/routing.utils-DfxEt0_Y.js +0 -30
  465. package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
  466. package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
  467. package/dist/tanstack/autocomplete.d.ts +0 -3
  468. package/dist/tanstack/autocomplete.js +0 -2
  469. package/dist/tanstack/checkbox-group.d.ts +0 -3
  470. package/dist/tanstack/checkbox-group.js +0 -2
  471. package/dist/tanstack/checkbox.d.ts +0 -3
  472. package/dist/tanstack/checkbox.js +0 -2
  473. package/dist/tanstack/date-picker.d.ts +0 -3
  474. package/dist/tanstack/date-picker.js +0 -2
  475. package/dist/tanstack/date-range-picker.d.ts +0 -3
  476. package/dist/tanstack/date-range-picker.js +0 -2
  477. package/dist/tanstack/date-time-picker.d.ts +0 -3
  478. package/dist/tanstack/date-time-picker.js +0 -2
  479. package/dist/tanstack/file-input.d.ts +0 -3
  480. package/dist/tanstack/file-input.js +0 -2
  481. package/dist/tanstack/file-upload.d.ts +0 -4
  482. package/dist/tanstack/file-upload.js +0 -2
  483. package/dist/tanstack/input.d.ts +0 -3
  484. package/dist/tanstack/input.js +0 -2
  485. package/dist/tanstack/number-field.d.ts +0 -3
  486. package/dist/tanstack/number-field.js +0 -2
  487. package/dist/tanstack/number-range-input.d.ts +0 -3
  488. package/dist/tanstack/number-range-input.js +0 -2
  489. package/dist/tanstack/password-input.d.ts +0 -2
  490. package/dist/tanstack/password-input.js +0 -2
  491. package/dist/tanstack/radio-group.d.ts +0 -3
  492. package/dist/tanstack/radio-group.js +0 -2
  493. package/dist/tanstack/rich-text-editor.d.ts +0 -9
  494. package/dist/tanstack/rich-text-editor.js +0 -28
  495. package/dist/tanstack/select.d.ts +0 -3
  496. package/dist/tanstack/select.js +0 -2
  497. package/dist/tanstack/slider.d.ts +0 -3
  498. package/dist/tanstack/slider.js +0 -2
  499. package/dist/tanstack/switch.d.ts +0 -3
  500. package/dist/tanstack/switch.js +0 -2
  501. package/dist/tanstack/text-area.d.ts +0 -3
  502. package/dist/tanstack/text-area.js +0 -2
  503. package/dist/tanstack/time-picker.d.ts +0 -3
  504. package/dist/tanstack/time-picker.js +0 -2
  505. package/dist/tanstack/toggle-group.d.ts +0 -3
  506. package/dist/tanstack/toggle-group.js +0 -2
  507. package/dist/tanstack-Bgdv0qU1.js +0 -19
  508. package/dist/tanstack-wNbE6b-h.d.ts +0 -566
  509. package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
  510. package/dist/toast.runtime-Drd2IJ_j.js +0 -17
  511. package/dist/toastActivation.store-BELtcr76.js +0 -16
  512. package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
  513. package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
  514. package/dist/uiConfig.context-BnCORTNm.d.ts +0 -132
  515. package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
  516. package/dist/useFilters-BxRScJdn.d.ts +0 -11
  517. package/dist/useFilters-DMi94RZK.js +0 -190
  518. package/dist/useForm-Cb7KWLds.js +0 -217
  519. package/dist/useForm-I6z23FXf.d.ts +0 -51
  520. package/dist/useFormAutosave-BPGlChiY.js +0 -216
  521. package/dist/useTableColumnConfig-CXYgj5xi.js +0 -1906
  522. package/dist/useTableNav-BusSFEVC.d.ts +0 -197
  523. package/dist/useToast-DsA8CVoY.d.ts +0 -16
@@ -0,0 +1,127 @@
1
+ import { n as Removed } from "./hints-B09_WDhL.js";
2
+ import { DeepKeys, DeepValue, ReactFormExtendedApi } from "@tanstack/react-form";
3
+ import { z } from "zod";
4
+ //#region src/hooks/useForm.d.ts
5
+ type FormMode = "all" | "onBlur" | "onChange" | "onSubmit" | "onTouched";
6
+ type FieldValidators = {
7
+ onBlur?: ({ value }: {
8
+ value: unknown;
9
+ }) => string | undefined;
10
+ onChange?: ({ value }: {
11
+ value: unknown;
12
+ }) => string | undefined;
13
+ };
14
+ /** Error messages keyed by field path (`email`, `range.start`, `items[0].label`). */
15
+ type FormFieldErrors<TValues> = Partial<Record<DeepKeys<TValues>, string>>;
16
+ type FormSubmitHandler<TValues> = (values: TValues) => void | Promise<void>;
17
+ /** Runs when a submit fails validation, with the first error of every invalid field and the raw values. */
18
+ type FormSubmitErrorHandler<TValues> = (errors: FormFieldErrors<TValues>, values: TValues) => unknown;
19
+ type TanStackForm<TFieldValues> = ReactFormExtendedApi<TFieldValues, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, never>;
20
+ type UIForm<TFieldValues extends Record<string, unknown> = Record<string, unknown>, TTransformedValues = TFieldValues> = Omit<TanStackForm<TFieldValues>, "handleSubmit" | "state"> & {
21
+ /**
22
+ * A snapshot that does not re-render the component: read it in event handlers only. In render, use
23
+ * `useFormState(form, (state) => state.isSubmitting)` and `useFormValue(form, (values) => values.name)`.
24
+ */
25
+ readonly state: TanStackForm<TFieldValues>["state"];
26
+ readonly disabled: boolean;
27
+ getFieldValidators(this: void, name: DeepKeys<TFieldValues>): FieldValidators | undefined;
28
+ notifyBlur(this: void, name: DeepKeys<TFieldValues>): void;
29
+ parseValues(this: void, values: TFieldValues): TTransformedValues;
30
+ subscribeBlur(this: void, listener: (name: DeepKeys<TFieldValues>) => void): () => void;
31
+ /**
32
+ * Returns the `<form onSubmit>` handler. It validates, then calls `onValid` with the parsed values, or `onInvalid`
33
+ * with `{ [fieldPath]: firstError }` and the raw values.
34
+ */
35
+ handleSubmit(this: void, onValid: FormSubmitHandler<TTransformedValues>, onInvalid?: FormSubmitErrorHandler<TFieldValues>): (event?: {
36
+ preventDefault?: () => void;
37
+ stopPropagation?: () => void;
38
+ }) => Promise<void>;
39
+ };
40
+ type AsyncDefaultValues<TFieldValues> = (payload?: unknown) => Promise<TFieldValues>;
41
+ type NullableDefaults<T> = T extends Date | File | Blob ? T : T extends Array<infer TItem> ? Array<NullableDefaults<TItem>> : T extends object ? { [K in keyof T]?: NullableDefaults<T[K]> | null; } : T | null;
42
+ interface BaseUseFormProps<TFieldValues, TTransformedValues = TFieldValues> {
43
+ /**
44
+ * Initial form values, read once on mount: later changes are ignored, unlike plain TanStack Form. For data that
45
+ * loads later, mount the form once it has loaded, pass `async () => record`, or call `form.reset(record)`.
46
+ */
47
+ defaultValues?: NullableDefaults<TFieldValues> | AsyncDefaultValues<TFieldValues>;
48
+ disabled?: boolean;
49
+ /**
50
+ * When bound fields show schema errors: after a submit attempt (`"onSubmit"`, the default), on blur (`"onBlur"`),
51
+ * on change (`"onChange"`), on blur and then on every change (`"onTouched"`), or on change and on blur (`"all"`).
52
+ * Every mode shows them after a submit attempt; `form.validateField` is not one.
53
+ */
54
+ mode?: FormMode;
55
+ /**
56
+ * Async validation that runs on submit after the schema passes, such as a server-side uniqueness check. Resolve
57
+ * `{ fields: { [fieldPath]: message } }` to fail the submit (the fields show the messages and `onInvalid` runs), or
58
+ * `undefined` to let it continue to `onValid`. It is not a submit handler: submit with `form.handleSubmit(onValid)`.
59
+ */
60
+ validateOnSubmitAsync?: (props: {
61
+ value: TFieldValues;
62
+ }) => Promise<{
63
+ fields: FormFieldErrors<TFieldValues>;
64
+ } | undefined>;
65
+ /** @deprecated Use `validateOnSubmitAsync`. */
66
+ onSubmitAsync?: Removed<"Async validation is `validateOnSubmitAsync`; submit with form.handleSubmit(onValid)">;
67
+ /** @deprecated Pass the submit handler to `form.handleSubmit`. */
68
+ onSubmit?: Removed<"Submit with <form onSubmit={form.handleSubmit(onValid, onInvalid)}>">;
69
+ zodSchema?: z.ZodType<TTransformedValues, TFieldValues>;
70
+ }
71
+ /** A distinct parsed output requires the schema that produces it. */
72
+ type UseFormProps<TFieldValues, TTransformedValues = TFieldValues> = BaseUseFormProps<TFieldValues, TTransformedValues> & ([TFieldValues] extends [TTransformedValues] ? unknown : {
73
+ zodSchema: z.ZodType<TTransformedValues, TFieldValues>;
74
+ });
75
+ type UseFormArguments<TFieldValues, TTransformedValues> = [TFieldValues] extends [TTransformedValues] ? [props?: UseFormProps<TFieldValues, TTransformedValues>] : [props: UseFormProps<TFieldValues, TTransformedValues>];
76
+ declare function useForm<TSchema extends z.ZodType<unknown, Record<string, unknown>>>(props: UseFormProps<z.input<NoInfer<TSchema>>, z.output<NoInfer<TSchema>>> & {
77
+ zodSchema: TSchema;
78
+ }): UIForm<z.input<TSchema>, z.output<TSchema>>;
79
+ declare function useForm<TFieldValues extends Record<string, unknown> = Record<string, unknown>, TTransformedValues = TFieldValues>(...args: UseFormArguments<TFieldValues, TTransformedValues>): UIForm<TFieldValues, TTransformedValues>;
80
+ declare const useFormValue: <TFieldValues extends Record<string, unknown>, TSelected>(form: UIForm<TFieldValues, unknown>, selector: (values: TFieldValues) => TSelected) => TSelected;
81
+ declare const useFormState: <TFieldValues extends Record<string, unknown>, TSelected>(form: UIForm<TFieldValues, unknown>, selector: (state: UIForm<TFieldValues>["state"]) => TSelected) => TSelected;
82
+ //#endregion
83
+ //#region src/components/inputs/shared/form.binding.d.ts
84
+ type FieldValues = Record<string, any>;
85
+ /** What `BoundField` hands its render function: wire these to a custom control. */
86
+ interface BoundFieldControl<TValue> {
87
+ /** The field path, for the control's `name`. */
88
+ name: string;
89
+ value: TValue;
90
+ onChange: (value: TValue) => void;
91
+ /** Call from the control's own blur: it marks the field touched, notifies autosave and runs `field.onBlur`. */
92
+ onBlur: () => void;
93
+ /** Attach to the control's element so the surrounding `<form>` leaves validation to the schema. */
94
+ ref: (element: Element | null) => void;
95
+ /** The schema error, revealed by the same rules as the library's inputs (after a submit attempt by default). */
96
+ error: string | undefined;
97
+ isDirty: boolean;
98
+ isDisabled: boolean;
99
+ }
100
+ interface BoundFieldProps<TFieldValues extends FieldValues, TName extends DeepKeys<TFieldValues>> {
101
+ /** The form returned by `useForm` and the path of the field, as for an input's `field`. */
102
+ field: {
103
+ form: UIForm<TFieldValues, unknown>;
104
+ name: TName;
105
+ /** Runs after an interaction updates the raw form value. */
106
+ onValueChange?: (value: DeepValue<TFieldValues, TName>) => void;
107
+ /** Runs after the control's blur marks the field touched. */
108
+ onBlur?: () => void;
109
+ };
110
+ children: (control: BoundFieldControl<DeepValue<TFieldValues, TName>>) => React.ReactNode;
111
+ }
112
+ /**
113
+ * Binds a custom control (one the library has no input for) to a form field, with the same error, touched and
114
+ * autosave behaviour as the library's bound inputs. Render the control and a `FormField` in the children.
115
+ *
116
+ * @example
117
+ * <BoundField field={{ form, name: "brandColor" }}>
118
+ * {({ value, onChange, onBlur, ref, error }) => (
119
+ * <FormField label="Brand colour" error={error} labelProps={{ htmlFor: id }}>
120
+ * <input id={id} type="color" ref={ref} value={value} onChange={(e) => onChange(e.target.value)} onBlur={onBlur} />
121
+ * </FormField>
122
+ * )}
123
+ * </BoundField>
124
+ */
125
+ declare function BoundField<TFieldValues extends FieldValues, TName extends DeepKeys<TFieldValues>>({ field, children }: BoundFieldProps<TFieldValues, TName>): import("react").JSX.Element;
126
+ //#endregion
127
+ export { DeepKeys as a, FormSubmitErrorHandler as c, UseFormProps as d, useForm as f, FieldValues as i, FormSubmitHandler as l, useFormValue as m, BoundFieldControl as n, DeepValue as o, useFormState as p, BoundFieldProps as r, FormFieldErrors as s, BoundField as t, UIForm as u };
@@ -0,0 +1,43 @@
1
+ import { n as Removed, t as Hint } from "./hints-B09_WDhL.js";
2
+ import { a as DeepKeys, o as DeepValue, u as UIForm } from "./form.binding-DSXB2AOD.js";
3
+ //#region src/components/inputs/shared/form.types.d.ts
4
+ type ControlKeys<TProps, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never> = TValueProp | "value" | "onChange" | "onBlur" | "defaultValue" | "defaultSelected" | "defaultChecked" | "onValueCommit";
5
+ /**
6
+ * React Aria field props an input leaves out of its public type: inputs render `error` and `helperText` themselves,
7
+ * so these would type-check and show nothing.
8
+ */
9
+ type UnsupportedAriaFieldProps = "description" | "errorMessage" | "validate" | "validationBehavior" | "validationState";
10
+ type ChangeValue<TProps> = TProps extends {
11
+ onChange?: infer TChange;
12
+ } ? NonNullable<TChange> extends ((value: infer TValue, ...args: never[]) => unknown) ? TValue : never : never;
13
+ /**
14
+ * True when clearing the input writes `null` into a field that is optional but not nullable (zod `.optional()`), which
15
+ * the schema then rejects on every submit. Required fields stay bindable: they hold `null` until the user picks a value.
16
+ */
17
+ type WritesNullIntoOptional<TChangeValue, TValue> = null extends TChangeValue ? undefined extends TValue ? null extends TValue ? false : true : false : false;
18
+ /** Paths whose value type matches but that the input rejects only because clearing writes `null` into `.optional()`. */
19
+ type NullRejectedPaths<TFieldValues, TType, TChangeValue> = { [K in DeepKeys<TFieldValues>]: DeepValue<TFieldValues, K> extends TType ? WritesNullIntoOptional<TChangeValue, DeepValue<TFieldValues, K>> extends true ? K : never : never; }[DeepKeys<TFieldValues>];
20
+ /**
21
+ * The form a wrapper typed without a type argument (`InputProps`, `ControlledSelectProps`) accepts: any form, with
22
+ * unchecked paths. A generic wrapper (`<T extends Record<string, unknown>>(props: InputProps<T>)`) keeps them checked.
23
+ */
24
+ type AnyFormForWideValues<TFieldValues> = string extends keyof TFieldValues ? UIForm<any, unknown> : never;
25
+ interface FormControl<TFieldValues extends Record<string, unknown>, TType, TChangeValue = NonNullable<TType>, TBinds extends string = "the input's value type"> {
26
+ /** The form returned by `useForm`. */
27
+ form: UIForm<TFieldValues, unknown> | AnyFormForWideValues<TFieldValues>;
28
+ /** Path of the bound field; only paths whose value type matches the input are accepted. */
29
+ name: { [K in DeepKeys<TFieldValues>]: DeepValue<TFieldValues, K> extends TType ? WritesNullIntoOptional<TChangeValue, DeepValue<TFieldValues, K>> extends true ? never : K : never; }[DeepKeys<TFieldValues>] | Hint<`Use a path whose value is ${TBinds}, and pass no value, defaultValue, isSelected or defaultSelected with field`> | ([NullRejectedPaths<TFieldValues, TType, TChangeValue>] extends [never] ? never : Hint<"This input writes null when cleared: make an optional field .nullable() or .nullish(), not .optional()">);
30
+ /** Runs after an interaction updates the raw form value. Resets and setters do not invoke it. */
31
+ onValueChange?: (value: TChangeValue) => void;
32
+ /** Runs after an actual blur marks the field touched and notifies autosave. */
33
+ onBlur?: () => void;
34
+ }
35
+ /**
36
+ * Props of an input bound with `field`. The standalone props come first so a missing required prop is reported by
37
+ * its own name rather than as a missing `field`. `TBinds` names the bound value type in compiler errors.
38
+ */
39
+ type FormControlProps<TProps, TFieldValues extends Record<string, unknown>, TValueProp extends keyof TProps = "value" extends keyof TProps ? "value" : never, TBinds extends string = "the input's value type"> = TProps extends unknown ? Omit<TProps, ControlKeys<TProps, TValueProp> | "field"> & {
40
+ field: FormControl<TFieldValues, TProps[TValueProp] | null, ChangeValue<TProps>, TBinds>;
41
+ } & { [K in ControlKeys<TProps, TValueProp>]?: K extends keyof TProps ? NonNullable<TProps[K]> & Removed<"Only without `field`: when bound, the form owns value, onChange and onBlur (use field.onValueChange / field.onBlur)"> : never; } : never;
42
+ //#endregion
43
+ export { UnsupportedAriaFieldProps as n, FormControlProps as t };
@@ -0,0 +1,35 @@
1
+ //#region src/hooks/formReset.ts
2
+ const listeners = /* @__PURE__ */ new WeakMap();
3
+ const refreshing = /* @__PURE__ */ new WeakSet();
4
+ const versions = /* @__PURE__ */ new WeakMap();
5
+ function getFormResetVersion(form) {
6
+ return versions.get(form) ?? 0;
7
+ }
8
+ function subscribeFormReset(form, listener) {
9
+ let callbacks = listeners.get(form);
10
+ if (!callbacks) {
11
+ callbacks = /* @__PURE__ */ new Set();
12
+ listeners.set(form, callbacks);
13
+ }
14
+ callbacks.add(listener);
15
+ return () => callbacks.delete(listener);
16
+ }
17
+ function notifyFormReset(form) {
18
+ if (refreshing.has(form)) return;
19
+ versions.set(form, getFormResetVersion(form) + 1);
20
+ listeners.get(form)?.forEach((listener) => listener());
21
+ }
22
+ function refreshAutosaveForm(form, baseline, refresh, acknowledged = []) {
23
+ refreshing.add(form);
24
+ try {
25
+ refresh();
26
+ } finally {
27
+ refreshing.delete(form);
28
+ }
29
+ listeners.get(form)?.forEach((listener) => listener({
30
+ baseline,
31
+ acknowledged
32
+ }));
33
+ }
34
+ //#endregion
35
+ export { subscribeFormReset as i, notifyFormReset as n, refreshAutosaveForm as r, getFormResetVersion as t };
@@ -0,0 +1,17 @@
1
+ //#region src/types/hints.d.ts
2
+ declare const hint: unique symbol;
3
+ /**
4
+ * A prop name that is not part of the API, typed so the compiler error names the prop to use instead.
5
+ * `errorMessage?: Removed<"Use `error`">` turns `errorMessage="x"` into
6
+ * "Type 'string' is not assignable to type 'Removed<"Use `error`">'".
7
+ * Write it inline at the prop: a named alias of an instantiation hides the message.
8
+ */
9
+ interface Removed<TMessage extends string> {
10
+ readonly [hint]: TMessage;
11
+ }
12
+ /** A union member or prop type that only carries guidance into compiler errors; no value satisfies it. */
13
+ interface Hint<TMessage extends string> {
14
+ readonly [hint]: TMessage;
15
+ }
16
+ //#endregion
17
+ export { Removed as n, Hint as t };
@@ -1,2 +1,2 @@
1
- import { a as AsyncListOptions, i as AsyncListLoadOptions, n as AsyncListData, o as useAsyncList, r as AsyncListLoadFunction, t as AsyncList } from "../useAsyncList-Cu-Y8If2.js";
1
+ import { a as AsyncListOptions, i as AsyncListLoadOptions, n as AsyncListData, o as useAsyncList, r as AsyncListLoadFunction, t as AsyncList } from "../useAsyncList-F-328rtE.js";
2
2
  export { AsyncList, type AsyncListData, type AsyncListLoadFunction, type AsyncListLoadOptions, type AsyncListOptions, useAsyncList };
@@ -1,2 +1,2 @@
1
- import { t as useAsyncList } from "../useAsyncList-Ct74ve3i.js";
1
+ import { t as useAsyncList } from "../useAsyncList-DkIjhlce.js";
2
2
  export { useAsyncList };
@@ -0,0 +1,3 @@
1
+ import { t as Breakpoint } from "../uiConfig.types-BsyPKepP.js";
2
+ import { t as useBreakpoint } from "../useBreakpoint-BPrZNuNl.js";
3
+ export { type Breakpoint, useBreakpoint };
@@ -0,0 +1,2 @@
1
+ import { t as useBreakpoint } from "../useBreakpoint-DtYSRweq.js";
2
+ export { useBreakpoint };
@@ -1,2 +1,2 @@
1
- import { n as useFilters, t as FilterStore } from "../useFilters-BxRScJdn.js";
2
- export { type FilterStore, useFilters };
1
+ import { n as UseFiltersOptions, r as useFilters, t as FilterStore } from "../useFilters-DrfBFNLw.js";
2
+ export { type FilterStore, type UseFiltersOptions, useFilters };
@@ -1,2 +1,2 @@
1
- import { t as useFilters } from "../useFilters-DMi94RZK.js";
1
+ import { t as useFilters } from "../useFilters-CybBXUAA.js";
2
2
  export { useFilters };
@@ -4,6 +4,7 @@ var translation_default$1 = {
4
4
  "openAlt": "Open",
5
5
  "closeAlt": "Close",
6
6
  "clearAlt": "Clear",
7
+ "moreInfoAlt": "More information",
7
8
  "loadingState": { "text": "Loading..." },
8
9
  "select": {
9
10
  "closeAlt": "Close the menu",
@@ -21,6 +22,9 @@ var translation_default$1 = {
21
22
  "clear": "Clear",
22
23
  "save": "Save",
23
24
  "relativeMode": "Relative",
25
+ "month": "Month",
26
+ "year": "Year",
27
+ "openTimePicker": "Open time picker",
24
28
  "presets": {
25
29
  "thisWeek": "This week",
26
30
  "lastWeek": "Last week",
@@ -71,6 +75,12 @@ var translation_default$1 = {
71
75
  "underline": "Underline",
72
76
  "strikethrough": "Strikethrough"
73
77
  },
78
+ "lists": {
79
+ "bullet": "Bulleted list",
80
+ "ordered": "Numbered list"
81
+ },
82
+ "textColor": "Text color",
83
+ "highlight": "Highlight color",
74
84
  "textAlign": {
75
85
  "label": "Text align",
76
86
  "left": "Left",
@@ -86,7 +96,14 @@ var translation_default$1 = {
86
96
  "urlPlaceholder": "Enter the URL"
87
97
  }
88
98
  },
89
- "tag": { "dismiss": "Dismiss" },
99
+ "tag": { "dismiss": "Remove" },
100
+ "numberRange": {
101
+ "startPlaceholder": "Min",
102
+ "endPlaceholder": "Max",
103
+ "startLabel": "Range start",
104
+ "endLabel": "Range end",
105
+ "invalidRange": "The start cannot be greater than the end"
106
+ },
90
107
  "clearInput": "Clear input",
91
108
  "confirmation": {
92
109
  "cancel": "Cancel",
@@ -97,19 +114,58 @@ var translation_default$1 = {
97
114
  "uploadText": "Drag & drop files here or",
98
115
  "browse": "Browse",
99
116
  "uploadFailed": "Upload failed. Please try again.",
117
+ "uploadInProgress": "Wait for the upload to finish",
100
118
  "noFileUploaded": "No file uploaded",
101
119
  "upload": "Upload",
102
120
  "uploadFile": "Upload file",
103
121
  "or": "or",
104
122
  "removeFile": "Remove file",
123
+ "removeFiles": "Remove files",
105
124
  "cancel": "Cancel"
106
125
  },
107
126
  "table": {
108
- "column": "Column",
109
- "show": "Show",
110
- "configureColumns": "Configure columns"
127
+ "configureColumns": "Configure columns",
128
+ "configureColumnsDescription": "Choose which columns to show and drag to reorder them.",
129
+ "visibleCount": "{{visible}} of {{total}} visible",
130
+ "showAll": "Show all",
131
+ "reorderColumn": "Reorder {{column}}",
132
+ "reset": "Reset",
133
+ "done": "Done",
134
+ "rowSelection": "Selection",
135
+ "selectAllRows": "Select all rows",
136
+ "selectRow": "Select row {{row}}",
137
+ "reorderRow": "Reorder row {{row}}",
138
+ "noResults": "No results",
139
+ "closeDetails": "Close details",
140
+ "rowDetails": "Row details",
141
+ "defaultOrderColumn": "Default sorting",
142
+ "noDefaultOrder": "Use table default",
143
+ "orderDirection": "Order direction",
144
+ "ascending": "Ascending",
145
+ "descending": "Descending",
146
+ "pinnedLeft": "Pinned left",
147
+ "scrollable": "Scrollable",
148
+ "pinnedRight": "Pinned right",
149
+ "dropColumnsHere": "Drop columns here",
150
+ "dragHandle": "Drag handle",
151
+ "loading": "Loading",
152
+ "loadFailed": "Data could not be loaded. Please try again."
153
+ },
154
+ "tabsFilters": {
155
+ "clearFilters": "Clear filters",
156
+ "lists": "Lists"
157
+ },
158
+ "sidebar": {
159
+ "navigation": "Navigation",
160
+ "openNavigation": "Open navigation",
161
+ "workspaces": "Workspaces",
162
+ "addWorkspace": "Add workspace",
163
+ "expandWorkspaces": "Expand workspaces",
164
+ "collapseWorkspaces": "Collapse workspaces",
165
+ "collapse": "Collapse"
111
166
  },
112
- "tabsFilters": { "clearFilters": "Clear filters" }
167
+ "stepper": { "progress": "Progress" },
168
+ "breadcrumbs": { "showHidden": "Show hidden breadcrumbs" }
113
169
  },
114
170
  zodErrors: {
115
171
  "required": "Required",
@@ -158,6 +214,15 @@ var translation_default = {
158
214
  "openAlt": "Odpri",
159
215
  "closeAlt": "Zapri",
160
216
  "clearAlt": "Sprazni",
217
+ "moreInfoAlt": "Več informacij",
218
+ "tag": { "dismiss": "Odstrani" },
219
+ "numberRange": {
220
+ "startPlaceholder": "Min",
221
+ "endPlaceholder": "Maks",
222
+ "startLabel": "Začetek razpona",
223
+ "endLabel": "Konec razpona",
224
+ "invalidRange": "Začetek ne sme biti večji od konca"
225
+ },
161
226
  "loadingState": { "text": "Nalaganje..." },
162
227
  "select": {
163
228
  "closeAlt": "Zapri meni",
@@ -175,6 +240,9 @@ var translation_default = {
175
240
  "clear": "Sprazni",
176
241
  "save": "Shrani",
177
242
  "relativeMode": "Relativno",
243
+ "month": "Mesec",
244
+ "year": "Leto",
245
+ "openTimePicker": "Odpri izbirnik časa",
178
246
  "presets": {
179
247
  "thisWeek": "Ta teden",
180
248
  "lastWeek": "Prejšnji teden",
@@ -225,6 +293,12 @@ var translation_default = {
225
293
  "underline": "Podčrtano",
226
294
  "strikethrough": "Prečrtano"
227
295
  },
296
+ "lists": {
297
+ "bullet": "Seznam z oznakami",
298
+ "ordered": "Oštevilčen seznam"
299
+ },
300
+ "textColor": "Barva besedila",
301
+ "highlight": "Barva poudarka",
228
302
  "textAlign": {
229
303
  "label": "Poravnava besedila",
230
304
  "left": "Levo",
@@ -240,6 +314,7 @@ var translation_default = {
240
314
  "urlPlaceholder": "Vnesite URL"
241
315
  }
242
316
  },
317
+ "clearInput": "Sprazni vnos",
243
318
  "confirmation": {
244
319
  "cancel": "Prekliči",
245
320
  "confirm": "Potrdi"
@@ -249,19 +324,58 @@ var translation_default = {
249
324
  "uploadText": "Povlecite datoteke sem ali",
250
325
  "browse": "Izberi",
251
326
  "uploadFailed": "Nalaganje ni uspelo. Poskusite znova.",
327
+ "uploadInProgress": "Počakajte, da se nalaganje konča",
252
328
  "noFileUploaded": "Ni datotek",
253
329
  "upload": "Naloži",
254
330
  "uploadFile": "Naloži datoteko",
255
331
  "or": "ali",
256
332
  "removeFile": "Odstrani datoteko",
333
+ "removeFiles": "Odstrani datoteke",
257
334
  "cancel": "Prekliči"
258
335
  },
259
336
  "table": {
260
- "column": "Stolpec",
261
- "show": "Prikaži",
262
- "configureColumns": "Nastavi stolpce"
337
+ "configureColumns": "Nastavi stolpce",
338
+ "configureColumnsDescription": "Izberi, katere stolpce želiš prikazati, in jih razvrsti z vlečenjem.",
339
+ "visibleCount": "Vidnih: {{visible}} od {{total}}",
340
+ "showAll": "Prikaži vse",
341
+ "reorderColumn": "Premakni {{column}}",
342
+ "reset": "Ponastavi",
343
+ "done": "Končano",
344
+ "rowSelection": "Izbira",
345
+ "selectAllRows": "Izberi vse vrstice",
346
+ "selectRow": "Izberi vrstico {{row}}",
347
+ "reorderRow": "Premakni vrstico {{row}}",
348
+ "noResults": "Ni rezultatov",
349
+ "closeDetails": "Zapri podrobnosti",
350
+ "rowDetails": "Podrobnosti vrstice",
351
+ "defaultOrderColumn": "Privzeto razvrščanje",
352
+ "noDefaultOrder": "Uporabi privzeto razvrščanje tabele",
353
+ "orderDirection": "Smer razvrščanja",
354
+ "ascending": "Naraščajoče",
355
+ "descending": "Padajoče",
356
+ "pinnedLeft": "Pripeto levo",
357
+ "scrollable": "Drsno",
358
+ "pinnedRight": "Pripeto desno",
359
+ "dropColumnsHere": "Spusti stolpce sem",
360
+ "dragHandle": "Ročaj za vlečenje",
361
+ "loading": "Nalaganje",
362
+ "loadFailed": "Podatkov ni bilo mogoče naložiti. Poskusite znova."
363
+ },
364
+ "tabsFilters": {
365
+ "clearFilters": "Počisti filtre",
366
+ "lists": "Seznami"
367
+ },
368
+ "sidebar": {
369
+ "navigation": "Navigacija",
370
+ "openNavigation": "Odpri navigacijo",
371
+ "workspaces": "Delovni prostori",
372
+ "addWorkspace": "Dodaj delovni prostor",
373
+ "expandWorkspaces": "Razširi delovne prostore",
374
+ "collapseWorkspaces": "Strni delovne prostore",
375
+ "collapse": "Strni"
263
376
  },
264
- "tabsFilters": { "clearFilters": "Počisti filtre" }
377
+ "stepper": { "progress": "Napredek" },
378
+ "breadcrumbs": { "showHidden": "Prikaži skrite drobtinice" }
265
379
  },
266
380
  zodErrors: {
267
381
  "required": "Obvezno",