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

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 (488) hide show
  1. package/README.md +469 -42
  2. package/dist/{Accordion-Cup5eRZz.d.ts → Accordion-CR9oomZY.d.ts} +29 -17
  3. package/dist/{Accordion-ORBin0EZ.js → Accordion-gUW7u1Zn.js} +41 -41
  4. package/dist/Alert-DwnALnFY.d.ts +36 -0
  5. package/dist/AlertDialog-BcRiqY_n.d.ts +70 -0
  6. package/dist/Autocomplete-CV4Aa1Ok.js +319 -0
  7. package/dist/Autocomplete-DRwQxx0U.d.ts +123 -0
  8. package/dist/Badge-CO-ZsmbR.d.ts +67 -0
  9. package/dist/{BottomSheet-CGipksM_.js → BottomSheet-APVu5TUd.js} +8 -8
  10. package/dist/BottomSheet-Be0HtQzP.d.ts +65 -0
  11. package/dist/{BottomSheet.lazy-CuJMUeJP.d.ts → BottomSheet.lazy-NNB7ivkW.d.ts} +1 -1
  12. package/dist/{Breadcrumbs-CcB0oOF8.d.ts → Breadcrumbs-Bn3fqVYx.d.ts} +6 -3
  13. package/dist/{Breadcrumbs-a1-q_he0.js → Breadcrumbs-Cd75RPbS.js} +33 -17
  14. package/dist/{Button-C1YB5dOw.js → Button-BJJkLVNj.js} +1 -5
  15. package/dist/{Button-BaODzvZd.js → Button-CzEs3tcV.js} +1 -1
  16. package/dist/{Button-0SswSdDg.d.ts → Button-Hk8zm9q_.d.ts} +2 -2
  17. package/dist/ButtonBase-Cp1w00t2.d.ts +47 -0
  18. package/dist/{ButtonBase-s-VV7oCa.js → ButtonBase-aGz6DYum.js} +10 -18
  19. package/dist/{ButtonContent-Dztbuz3q.js → ButtonContent-2KsbdWRO.js} +5 -5
  20. package/dist/{Calendar-yaQubCWK.js → Calendar-DN-i_b-_.js} +19 -17
  21. package/dist/{Calendar.lazy-DcVss9Bk.js → Calendar.lazy-CqmyDSND.js} +4 -4
  22. package/dist/{Checkbox-Bjsbx-wK.js → Checkbox-CzKXZw_w.js} +35 -9
  23. package/dist/Checkbox-D32MOIhF.d.ts +49 -0
  24. package/dist/CheckboxCheckmark-DDU_Ie7-.js +42 -0
  25. package/dist/CheckboxGroup-B5Mn1G3u.d.ts +52 -0
  26. package/dist/{CheckboxGroup-B3O3IUiu.js → CheckboxGroup-BqWt09kZ.js} +75 -35
  27. package/dist/DatePicker-CmoVbapu.d.ts +80 -0
  28. package/dist/{DatePicker-bme8zGBo.js → DatePicker-DQewd1By.js} +80 -41
  29. package/dist/{DatePickerInput-vLlL5ATh.d.ts → DatePickerInput-B9VnExeA.d.ts} +3 -3
  30. package/dist/{DatePickerInput-C2881tvS.js → DatePickerInput-Bp9ZIN5E.js} +37 -26
  31. package/dist/{DateRangePicker-Blg158JD.js → DateRangePicker-DRZ1hLlR.js} +86 -158
  32. package/dist/DateRangePicker-LX1VJlnD.d.ts +102 -0
  33. package/dist/DateTimePicker-D9pODhAj.d.ts +83 -0
  34. package/dist/{DateTimePicker-CdRFt8WM.js → DateTimePicker-DWtKPaE6.js} +70 -35
  35. package/dist/{Dialog-C9H9_BmK.js → Dialog-BJ13KRQo.js} +1 -1
  36. package/dist/{Dialog-DN5703sy.js → Dialog-BzQYDPJ9.js} +23 -19
  37. package/dist/Dialog-D0SeePPz.d.ts +66 -0
  38. package/dist/{Disclosure-BRSkMbZQ.js → Disclosure-Bjm5IOpg.js} +1 -1
  39. package/dist/Drawer-o018RqIt.d.ts +42 -0
  40. package/dist/DropdownMenu-DTr7b-XO.d.ts +51 -0
  41. package/dist/{DropdownMenu-DS0RaEfH.js → DropdownMenu-DrshB60h.js} +33 -21
  42. package/dist/{DropdownMenuDesktop-DGPIfex-.js → DropdownMenuDesktop-DxGA0yvx.js} +14 -8
  43. package/dist/FileInput-Bokcp9nH.d.ts +61 -0
  44. package/dist/{FileInput-BUwtAF2-.js → FileInput-LMhFxlqB.js} +75 -80
  45. package/dist/FileUpload-BqXd4_nz.d.ts +181 -0
  46. package/dist/FileUpload-CJZrkr_U.js +679 -0
  47. package/dist/{FormField-dduTMkNH.js → FormField-TI8Vx5aC.js} +10 -10
  48. package/dist/FormField-XQbjfGSv.d.ts +70 -0
  49. package/dist/{FormFieldError-BT4uxbKY.d.ts → FormFieldError-C7yOdjzQ.d.ts} +1 -0
  50. package/dist/FormFieldHeaderTooltip-DB7KrrcD.js +22 -0
  51. package/dist/HiddenFormValue-DZ2d9eoA.js +20 -0
  52. package/dist/IconButton-CQLHX8-Y.d.ts +24 -0
  53. package/dist/{IconSlot-CqNuZl0E.js → IconSlot-TAWTJ6iK.js} +2 -4
  54. package/dist/{InlineTooltipWrapper-CKTiFpZn.js → InlineTooltipWrapper-CjDUsi2I.js} +1 -1
  55. package/dist/{Input-CG5LQ0zs.js → Input-CeRJeAoR.js} +94 -59
  56. package/dist/Input-onUj0DKg.d.ts +56 -0
  57. package/dist/{InputContent-Fx2E4UXl.js → InputContent-B8OCdbVP.js} +15 -13
  58. package/dist/InputContent-D5ZkB9hO.d.ts +39 -0
  59. package/dist/Link-BdnWVYL9.d.ts +15 -0
  60. package/dist/{ListBox-DhR5kojP.js → ListBox-gR4iSV7N.js} +3 -3
  61. package/dist/{Modal-DcLWF9cB.js → Modal-DAMsCwzb.js} +1 -1
  62. package/dist/{NumberField-DxuikBcr.js → NumberField-6Q9LHGSo.js} +91 -62
  63. package/dist/NumberField-Sb30Qao3.d.ts +41 -0
  64. package/dist/{NumberRangeInput-8bOjNEnS.js → NumberRangeInput-BDSkcHVJ.js} +152 -101
  65. package/dist/NumberRangeInput-Dvq8mOUY.d.ts +89 -0
  66. package/dist/{PageHeader-DTfzf-dA.d.ts → PageHeader-eJk6GNK6.d.ts} +6 -5
  67. package/dist/{PasswordInput.bound-Dfq5c3JQ.js → PasswordInput-BcHpV0Ie.js} +6 -6
  68. package/dist/PasswordInput-VHzP4VPU.d.ts +16 -0
  69. package/dist/Popover-qplPGDnR.d.ts +51 -0
  70. package/dist/Progress-DH-w99MU.d.ts +26 -0
  71. package/dist/Progress-WzWvbvtp.js +180 -0
  72. package/dist/ProgressBar-BsSimmJF.js +46 -0
  73. package/dist/RadioGroup-CC8bKtBN.d.ts +52 -0
  74. package/dist/{RadioGroup-IL4Y8XHO.js → RadioGroup-PKqFHoKP.js} +66 -26
  75. package/dist/{RangeCalendar-DT63UD8K.js → RangeCalendar-DqCTlIuy.js} +12 -10
  76. package/dist/Select-CSyfDyxG.d.ts +248 -0
  77. package/dist/{Select-BM8PNrjC.js → Select-D3fuXwVt.js} +435 -184
  78. package/dist/{SelectListBox-BFSZxDSi.js → SelectListBox-DqAxkT1f.js} +46 -37
  79. package/dist/{SidebarWorkspaces-DJknAfS9.js → SidebarWorkspaces-BGl_PIsH.js} +280 -363
  80. package/dist/{SidebarWorkspaces-DDHJAdNH.d.ts → SidebarWorkspaces-CdtK2M-C.d.ts} +31 -17
  81. package/dist/{Slider-DCsCCPFx.js → Slider-BCUiALjE.js} +69 -12
  82. package/dist/Slider-DxalZD3o.d.ts +57 -0
  83. package/dist/Spinner-BTrEbNFy.d.ts +13 -0
  84. package/dist/SplitButton-Dv5l8p5t.d.ts +25 -0
  85. package/dist/Stepper-B1IOUcSI.d.ts +49 -0
  86. package/dist/{Stepper-Dyhxp0Tl.js → Stepper-DA2G546I.js} +116 -88
  87. package/dist/{Switch-BfpSMMpv.js → Switch-Ce-bJOVw.js} +54 -12
  88. package/dist/Switch-urNrop0P.d.ts +42 -0
  89. package/dist/{TabsFilters-DybNturW.js → TabsFilters-Cweij8He.js} +44 -33
  90. package/dist/TabsFilters-M5Ld7eb8.d.ts +59 -0
  91. package/dist/Tag-BKR1AZFa.d.ts +26 -0
  92. package/dist/TextArea-D7YVclaz.d.ts +33 -0
  93. package/dist/{TextArea-Blsip3ZC.js → TextArea-P8F0oD_A.js} +59 -32
  94. package/dist/TimePicker-Ai1M2TGW.d.ts +63 -0
  95. package/dist/{TimePicker-4hV5zbgd.js → TimePicker-l4Ysk2AX.js} +99 -50
  96. package/dist/{TimePickerForm-DD9VA_td.js → TimePickerForm-BMqNpDPT.js} +5 -5
  97. package/dist/{ToastContainer-Dd0LPykL.js → ToastContainer-BeklfvlK.js} +4 -4
  98. package/dist/{ToggleButton-HUZ8ij6i.d.ts → ToggleButton-DWw53pTt.d.ts} +2 -2
  99. package/dist/ToggleGroup-BQk3k0at.d.ts +95 -0
  100. package/dist/ToggleGroup-BdIgqoqA.js +500 -0
  101. package/dist/{Tooltip-DRB6lo0U.js → Tooltip-BkXPEBqw.js} +2 -2
  102. package/dist/Tooltip-H8OB7CqY.d.ts +33 -0
  103. package/dist/TooltipEllipsis-7QF00kXk.d.ts +21 -0
  104. package/dist/{TooltipWrapper-BSY31JMc.js → TooltipWrapper-ubbBHHVD.js} +6 -6
  105. package/dist/{Typography-DJojwiXV.d.ts → Typography-Cx1oRGxd.d.ts} +5 -1
  106. package/dist/{badgeButton.cva-t5PQOH4M.js → badge.cva-BpoxNggB.js} +20 -22
  107. package/dist/{button.cva-Ciga0rdG.js → button.cva-C2aoXMh-.js} +10 -16
  108. package/dist/{buttonContent.cva-BapnODby.d.ts → buttonContent.cva-Dyy_RUZU.d.ts} +1 -1
  109. package/dist/{checkbox.cva-aLJS7v4z.js → checkbox.cva-qU_q0lSX.js} +14 -14
  110. package/dist/components/accordion.d.ts +1 -1
  111. package/dist/components/accordion.js +1 -1
  112. package/dist/components/alert-dialog.d.ts +2 -2
  113. package/dist/components/alert-dialog.js +174 -128
  114. package/dist/components/alert.d.ts +1 -1
  115. package/dist/components/alert.js +17 -15
  116. package/dist/components/autocomplete.d.ts +2 -2
  117. package/dist/components/autocomplete.js +1 -1
  118. package/dist/components/badge.d.ts +2 -2
  119. package/dist/components/badge.js +159 -81
  120. package/dist/components/bottom-sheet-header.d.ts +1 -1
  121. package/dist/components/bottom-sheet-header.js +4 -4
  122. package/dist/components/bottom-sheet.d.ts +2 -2
  123. package/dist/components/bottom-sheet.js +2 -2
  124. package/dist/components/breadcrumbs.d.ts +1 -1
  125. package/dist/components/breadcrumbs.js +1 -1
  126. package/dist/components/button.d.ts +2 -2
  127. package/dist/components/button.js +1 -1
  128. package/dist/components/checkbox-group.d.ts +2 -2
  129. package/dist/components/checkbox-group.js +1 -1
  130. package/dist/components/checkbox.d.ts +2 -2
  131. package/dist/components/checkbox.js +1 -1
  132. package/dist/components/date-picker.d.ts +2 -2
  133. package/dist/components/date-picker.js +1 -1
  134. package/dist/components/date-range-picker.d.ts +4 -41
  135. package/dist/components/date-range-picker.js +4 -2
  136. package/dist/components/date-range-presets.d.ts +2 -0
  137. package/dist/components/date-range-presets.js +3 -0
  138. package/dist/components/date-time-picker.d.ts +2 -2
  139. package/dist/components/date-time-picker.js +1 -1
  140. package/dist/components/dialog.d.ts +1 -1
  141. package/dist/components/dialog.js +1 -1
  142. package/dist/components/drawer.d.ts +1 -1
  143. package/dist/components/drawer.js +16 -80
  144. package/dist/components/dropdown-menu.d.ts +2 -3
  145. package/dist/components/dropdown-menu.js +2 -3
  146. package/dist/components/file-input.d.ts +2 -2
  147. package/dist/components/file-input.js +1 -1
  148. package/dist/components/file-upload.d.ts +2 -3
  149. package/dist/components/file-upload.js +1 -1
  150. package/dist/components/form-field.d.ts +3 -2
  151. package/dist/components/form-field.js +1 -1
  152. package/dist/components/icon-button.d.ts +1 -1
  153. package/dist/components/icon-button.js +22 -25
  154. package/dist/components/icon-slot.d.ts +1 -2
  155. package/dist/components/icon-slot.js +2 -2
  156. package/dist/components/input-frame.d.ts +6 -10
  157. package/dist/components/input-frame.js +29 -26
  158. package/dist/components/input.d.ts +2 -2
  159. package/dist/components/input.js +2 -2
  160. package/dist/components/link.d.ts +1 -1
  161. package/dist/components/link.js +1 -1
  162. package/dist/components/number-field.d.ts +2 -2
  163. package/dist/components/number-field.js +2 -2
  164. package/dist/components/number-range-input.d.ts +2 -2
  165. package/dist/components/number-range-input.js +1 -1
  166. package/dist/components/page-header.d.ts +1 -1
  167. package/dist/components/page-header.js +5 -5
  168. package/dist/components/password-input.d.ts +2 -2
  169. package/dist/components/password-input.js +1 -22
  170. package/dist/components/popover.d.ts +1 -1
  171. package/dist/components/popover.js +105 -87
  172. package/dist/components/progress.d.ts +2 -2
  173. package/dist/components/progress.js +1 -1
  174. package/dist/components/radio-group.d.ts +2 -2
  175. package/dist/components/radio-group.js +1 -1
  176. package/dist/components/select.d.ts +2 -2
  177. package/dist/components/select.js +1 -1
  178. package/dist/components/sidebar.d.ts +1 -1
  179. package/dist/components/sidebar.js +1 -1
  180. package/dist/components/slider.d.ts +2 -2
  181. package/dist/components/slider.js +1 -1
  182. package/dist/components/spinner.d.ts +1 -1
  183. package/dist/components/spinner.js +71 -1
  184. package/dist/components/split-button.d.ts +1 -1
  185. package/dist/components/split-button.js +15 -4
  186. package/dist/components/stepper.d.ts +1 -1
  187. package/dist/components/stepper.js +1 -1
  188. package/dist/components/style-definitions.d.ts +2 -2
  189. package/dist/components/style-definitions.js +33 -18
  190. package/dist/components/switch.d.ts +2 -2
  191. package/dist/components/switch.js +1 -1
  192. package/dist/components/tabs-filters.d.ts +1 -1
  193. package/dist/components/tabs-filters.js +1 -1
  194. package/dist/components/tag.d.ts +1 -1
  195. package/dist/components/tag.js +50 -64
  196. package/dist/components/text-area.d.ts +2 -2
  197. package/dist/components/text-area.js +1 -1
  198. package/dist/components/time-picker.d.ts +2 -2
  199. package/dist/components/time-picker.js +1 -1
  200. package/dist/components/toast.d.ts +3 -3
  201. package/dist/components/toast.js +4 -3
  202. package/dist/components/toggle-button.d.ts +1 -1
  203. package/dist/components/toggle-button.js +1 -1
  204. package/dist/components/toggle-group.d.ts +2 -2
  205. package/dist/components/toggle-group.js +1 -1
  206. package/dist/components/tooltip-ellipsis.d.ts +1 -1
  207. package/dist/components/tooltip-ellipsis.js +1 -1
  208. package/dist/components/tooltip.d.ts +1 -1
  209. package/dist/components/tooltip.js +1 -1
  210. package/dist/components/typography.d.ts +2 -2
  211. package/dist/components/use-toast.d.ts +2 -2
  212. package/dist/components/use-toast.js +1 -41
  213. package/dist/config/component-configuration.d.ts +1 -1
  214. package/dist/config/component-configuration.js +53 -2
  215. package/dist/config/confirmation.d.ts +1 -1
  216. package/dist/config/confirmation.js +1 -1
  217. package/dist/config/link-context.d.ts +3 -3
  218. package/dist/config/link-context.js +1 -1
  219. package/dist/config/resources.d.ts +1 -1
  220. package/dist/config/resources.js +1 -1
  221. package/dist/config/ui-config.d.ts +2 -2
  222. package/dist/config/ui-config.js +1 -1
  223. package/dist/config/ui-router.d.ts +1 -1
  224. package/dist/config/ui-router.js +1 -1
  225. package/dist/confirmation.context-BflM4Vxg.js +93 -0
  226. package/dist/confirmation.context-C_js9qNv.d.ts +32 -0
  227. package/dist/{datePickerInput.cva-Du0Zn04v.js → datePickerInput.cva-CWkV2fut.js} +1 -1
  228. package/dist/dateRangePreset.utils-Bnb-rjTt.js +116 -0
  229. package/dist/{dialog.cva-BIpz6HcA.js → dialog.cva-BjVggO5l.js} +1 -1
  230. package/dist/{dist-DEZzXa0W.js → dist-DZOoWaZz.js} +63 -38
  231. package/dist/{dropdownMenu.cva-DwSOcbmR.js → dropdownMenu.cva-BopsvbOy.js} +19 -7
  232. package/dist/{exports-BNrTn8Tj.js → exports-DeBGRThC.js} +3 -3
  233. package/dist/{file.utils-Crb-mIHs.d.ts → file.utils-DUADtzdt.d.ts} +3 -3
  234. package/dist/{file.utils-DqQxnuAm.js → file.utils-X6tkeWaz.js} +2 -6
  235. package/dist/fileInputButton.cva-gbqRUf1g.js +39 -0
  236. package/dist/{fileUpload.cva-BYzXGc9C.js → fileUpload.cva-MH5ziWUe.js} +2 -2
  237. package/dist/form-field-Bw7U_ZPI.d.ts +1 -0
  238. package/dist/form.binding-Brdjq2yr.js +161 -0
  239. package/dist/form.binding-DSXB2AOD.d.ts +127 -0
  240. package/dist/form.types-a2WVJDQX.d.ts +43 -0
  241. package/dist/formReset-CnZl_yze.js +35 -0
  242. package/dist/hints-B09_WDhL.d.ts +17 -0
  243. package/dist/hooks/use-async-list.d.ts +1 -1
  244. package/dist/hooks/use-async-list.js +1 -1
  245. package/dist/hooks/use-breakpoint.d.ts +3 -0
  246. package/dist/hooks/use-breakpoint.js +2 -0
  247. package/dist/hooks/use-filters.d.ts +2 -2
  248. package/dist/hooks/use-filters.js +1 -1
  249. package/dist/{i18n-DM-PUcxQ.d.ts → i18n-B3PeqBM7.d.ts} +100 -4
  250. package/dist/{i18n-D8vXIoiq.js → i18n-DQs7jPjv.js} +99 -9
  251. package/dist/iconSlot.cva-DyhOI7EK.js +5 -0
  252. package/dist/{import-C7W0Wv2r.js → import-C73fI3WD.js} +2 -2
  253. package/dist/index.d.ts +64 -83
  254. package/dist/index.js +55 -90
  255. package/dist/{input.cva-DZii82eS.js → input.cva-mm1dnfKP.js} +27 -23
  256. package/dist/inputLayout-CIVpuUBq.js +7 -0
  257. package/dist/inputRow.clsx-BbcaXVta.js +6 -0
  258. package/dist/{label.cva-DTfT6FrX.js → label.cva-DJ5Dmbz5.js} +7 -7
  259. package/dist/link.context-BcBuP9ZT.d.ts +20 -0
  260. package/dist/{link.context-TPjDtjw3.js → link.context-CD5h_b5O.js} +12 -11
  261. package/dist/link.cva-D6L1c2wq.d.ts +2157 -0
  262. package/dist/{logger-CqZjM-sn.js → logger-CW24po62.js} +10 -1
  263. package/dist/{progress.cva-CsGaGVJ-.js → progress.cva-mkJxrrac.js} +2 -2
  264. package/dist/{radio.cva-DistaZtZ.js → radio.cva-Dt5N2ul2.js} +7 -7
  265. package/dist/rich-text-editor.d.ts +44 -2
  266. package/dist/rich-text-editor.js +733 -1
  267. package/dist/router.context-B6j_M4cN.js +151 -0
  268. package/dist/router.context-CSd9JYQ4.d.ts +33 -0
  269. package/dist/{selectDesktop.cva-DStkOdwm.js → selectDesktop.cva-30JAvtgB.js} +1 -1
  270. package/dist/sidebar.cva-BgxTCejU.js +150 -0
  271. package/dist/spinner.cva-j4kGmIWC.js +17 -0
  272. package/dist/{staticDateTimeSegments-CVuAhDDl.js → staticDateTimeSegments-BYk1tcxs.js} +43 -13
  273. package/dist/{status.cva-CYgi3Htz.js → status.cva-WLEqUAjH.js} +9 -9
  274. package/dist/styles/input.d.ts +1 -1
  275. package/dist/tanstack/form.d.ts +3 -3
  276. package/dist/tanstack/form.js +3 -3
  277. package/dist/tanstack/table.d.ts +5 -3
  278. package/dist/tanstack/table.js +1 -1
  279. package/dist/tanstack-ABeiJISz.js +10 -0
  280. package/dist/tanstack-bLXoUPDY.d.ts +165 -0
  281. package/dist/tanstack.d.ts +64 -83
  282. package/dist/tanstack.js +55 -90
  283. package/dist/{toast.cva-B6NXTwbZ.js → toast.cva-C3oA7He3.js} +8 -8
  284. package/dist/toast.runtime-BHXdSTXV.js +25 -0
  285. package/dist/{toggleGroup.cva-CJ-3Ps7j.js → toggleGroup.cva-CvNS5QO1.js} +2 -2
  286. package/dist/uiConfig.context-CN_QgxGO.d.ts +19 -0
  287. package/dist/{uiConfig.context-3DN9w6oU.js → uiConfig.context-CjnLnQOo.js} +5 -7
  288. package/dist/{uiConfig.context-BnCORTNm.d.ts → uiConfig.types-B0sPL7nN.d.ts} +34 -34
  289. package/dist/{useAsyncList-Ct74ve3i.js → useAsyncList-CQgkDfjW.js} +140 -35
  290. package/dist/useAsyncList-F-328rtE.d.ts +25 -0
  291. package/dist/useAutoFocus-K-bfNxa2.js +16 -0
  292. package/dist/{useBreakpoint-CJ3mx7UF.js → useBreakpoint-BrJrvp9_.js} +5 -1
  293. package/dist/useBreakpoint-D-SVcBeQ.d.ts +9 -0
  294. package/dist/useDebounceCallback-BjePw6y4.js +90 -0
  295. package/dist/useFilters-CybBXUAA.js +217 -0
  296. package/dist/useFilters-DrfBFNLw.d.ts +57 -0
  297. package/dist/useFormAutosave-BN-zueci.js +419 -0
  298. package/dist/{useFormAutosave-BBLm3Ujo.d.ts → useFormAutosave-ClMnzVE7.d.ts} +1 -1
  299. package/dist/{useIntersectionObserver-DFAhTsV0.js → useIntersectionObserver-B8msnQTR.js} +15 -3
  300. package/dist/{numberStatic.utils-BIyZuILs.js → useLiveNumberFieldState-B7qGzySj.js} +103 -2
  301. package/dist/useRemoveButton-B6-IGvpY.js +98 -0
  302. package/dist/useResolveDateRangePreset-C_L-doA6.js +26 -0
  303. package/dist/useResolveDateRangePreset-DOSzJR-N.d.ts +64 -0
  304. package/dist/{useScrollableListBox-oYKqU3Hp.js → useScrollableListBox-C8chM7c-.js} +1 -1
  305. package/dist/{useStaticInputHandoff-BN0fOerH.js → useStaticInputHandoff-DrNFrvD7.js} +6 -1
  306. package/dist/{useTableColumnConfig-CXYgj5xi.js → useTableColumnConfig-B9cYBKo3.js} +956 -535
  307. package/dist/useTableNav-rP1wDkhV.d.ts +372 -0
  308. package/dist/useToast-D2C9pROU.d.ts +78 -0
  309. package/dist/useToast-DSoOiSw0.js +63 -0
  310. package/dist/utils/file.d.ts +1 -1
  311. package/dist/utils/file.js +1 -1
  312. package/dist/utils/logger.js +1 -1
  313. package/llms.txt +3116 -0
  314. package/package.json +13 -121
  315. package/MIGRATION.md +0 -655
  316. package/dist/Alert-D4X7OWiv.d.ts +0 -34
  317. package/dist/AlertDialog-DklLDjmw.d.ts +0 -26
  318. package/dist/Autocomplete-BgFz3kuR.d.ts +0 -23
  319. package/dist/Autocomplete-Bn13u0zu.js +0 -145
  320. package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +0 -9
  321. package/dist/Autocomplete.bound-Dwh__y-Z.js +0 -28
  322. package/dist/Badge-Db1ndK67.d.ts +0 -30
  323. package/dist/BadgeButton-BPhWDAnc.d.ts +0 -15
  324. package/dist/BottomSheet-BZmDJBR-.d.ts +0 -33
  325. package/dist/ButtonBase-CZuEy3Pk.d.ts +0 -32
  326. package/dist/Checkbox-w2j5hLOQ.d.ts +0 -27
  327. package/dist/Checkbox.bound-D2nBglJz.js +0 -33
  328. package/dist/Checkbox.bound-DD_RCjVm.d.ts +0 -9
  329. package/dist/CheckboxCheckmark-DWsYVZuu.js +0 -25
  330. package/dist/CheckboxGroup-BYI15Y09.d.ts +0 -30
  331. package/dist/CheckboxGroup.bound-DY0HKGSh.js +0 -32
  332. package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +0 -9
  333. package/dist/ComboBox-ChsdI0lt.js +0 -212
  334. package/dist/DatePicker-QzfQf21b.d.ts +0 -56
  335. package/dist/DatePicker.bound-DoCAqhM4.d.ts +0 -9
  336. package/dist/DatePicker.bound-M2cjR37s.js +0 -36
  337. package/dist/DateRangePicker-32D4pWJg.d.ts +0 -97
  338. package/dist/DateRangePicker.bound-CVtoVsho.d.ts +0 -9
  339. package/dist/DateRangePicker.bound-CkIDsAUf.js +0 -35
  340. package/dist/DateTimePicker-BTRIUagV.d.ts +0 -55
  341. package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +0 -9
  342. package/dist/DateTimePicker.bound-nSCVUqd0.js +0 -32
  343. package/dist/Dialog-CO9xljD3.d.ts +0 -21
  344. package/dist/Drawer-D1cHiBFO.d.ts +0 -18
  345. package/dist/DropdownMenu-D_9z9ond.d.ts +0 -25
  346. package/dist/FileInput-BEaECoBS.d.ts +0 -75
  347. package/dist/FileInput.bound-C12mOKpg.js +0 -30
  348. package/dist/FileInput.bound-D2HuuqSb.d.ts +0 -8
  349. package/dist/FileUpload-BUTSqHVk.d.ts +0 -11
  350. package/dist/FileUpload-D7FMYm-k.js +0 -749
  351. package/dist/FileUpload.bound-CGQXb4iT.d.ts +0 -16
  352. package/dist/FileUpload.bound-DmkuulOi.js +0 -30
  353. package/dist/FileUploadContainer-Dzg5aXXZ.d.ts +0 -5
  354. package/dist/FormField-DGyCDxOp.d.ts +0 -42
  355. package/dist/FormFieldHeaderTooltip-Dt-g40Tc.js +0 -17
  356. package/dist/IconButton-shH_9wcl.d.ts +0 -25
  357. package/dist/Input-CTp_9mS9.d.ts +0 -34
  358. package/dist/Input.bound-B9a62ylL.d.ts +0 -9
  359. package/dist/Input.bound-DYoXyRGy.js +0 -31
  360. package/dist/InputContent-BCNkN4Fx.d.ts +0 -27
  361. package/dist/Link-PvYB_M-j.d.ts +0 -30
  362. package/dist/MenuItem-U3-pu1j5.d.ts +0 -6
  363. package/dist/NumberField-WXebfxjK.d.ts +0 -34
  364. package/dist/NumberField.bound-ChJnNyJS.js +0 -32
  365. package/dist/NumberField.bound-Dy0A5iVc.d.ts +0 -9
  366. package/dist/NumberRangeInput-BCKQaGpy.d.ts +0 -50
  367. package/dist/NumberRangeInput.bound-BF6P_ega.js +0 -32
  368. package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +0 -9
  369. package/dist/PasswordInput-EhQjYyJS.d.ts +0 -11
  370. package/dist/PasswordInput.bound-CK5GwKL4.d.ts +0 -9
  371. package/dist/Popover-D_t1XDPA.d.ts +0 -20
  372. package/dist/Progress-Ckfpi_-M.d.ts +0 -45
  373. package/dist/Progress-RiEGGxNG.js +0 -119
  374. package/dist/RadioGroup-6e-Z6jW8.d.ts +0 -26
  375. package/dist/RadioGroup.bound-BFWSq-on.js +0 -32
  376. package/dist/RadioGroup.bound-w3SZqSkH.d.ts +0 -9
  377. package/dist/RichTextEditor-DHhuBeT6.d.ts +0 -28
  378. package/dist/RichTextEditor-DfwVdm45.js +0 -651
  379. package/dist/Select-C34ENdjq.d.ts +0 -119
  380. package/dist/Select.bound--Az1Xwgm.js +0 -34
  381. package/dist/Select.bound-qOihchei.d.ts +0 -17
  382. package/dist/Slider-DRg8zKRM.d.ts +0 -23
  383. package/dist/Slider.bound-CByTXPTr.js +0 -31
  384. package/dist/Slider.bound-CaEF19um.d.ts +0 -9
  385. package/dist/Spinner-Cvy_6zgD.d.ts +0 -30
  386. package/dist/Spinner-DqjP06T1.js +0 -101
  387. package/dist/SplitButton-V1f2NWfh.d.ts +0 -15
  388. package/dist/Stepper-k91x_m-E.d.ts +0 -114
  389. package/dist/Switch-ELVPkPx0.d.ts +0 -24
  390. package/dist/Switch.bound-DeEdVvZV.d.ts +0 -9
  391. package/dist/Switch.bound-Dv0cHsMM.js +0 -33
  392. package/dist/TableDnd-CuHxANWh.js +0 -133
  393. package/dist/TableRowDetails-D8HFTghI.d.ts +0 -109
  394. package/dist/TabsFilters-DePddjCk.d.ts +0 -30
  395. package/dist/Tag-B2_ZiSE-.d.ts +0 -44
  396. package/dist/TextArea-iqUeB2QY.d.ts +0 -26
  397. package/dist/TextArea.bound-BJHyCogp.d.ts +0 -9
  398. package/dist/TextArea.bound-DeaskY6r.js +0 -28
  399. package/dist/TimePicker-BZ1ocsBX.d.ts +0 -45
  400. package/dist/TimePicker.bound-8DmjMXuE.d.ts +0 -9
  401. package/dist/TimePicker.bound-BFSXJvE_.js +0 -32
  402. package/dist/Toast-D9pdadZ4.d.ts +0 -16
  403. package/dist/ToggleGroup-CrDoeLN0.js +0 -333
  404. package/dist/ToggleGroup-DvjnSinl.d.ts +0 -42
  405. package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +0 -9
  406. package/dist/ToggleGroup.bound-DCnYwmBt.js +0 -67
  407. package/dist/Tooltip-B8DTURLQ.d.ts +0 -16
  408. package/dist/TooltipEllipsis-Di9Dvd4x.d.ts +0 -11
  409. package/dist/badgeButton.cva-CBFIhr1S.d.ts +0 -41
  410. package/dist/button.cva-C8LGtNJ3.d.ts +0 -94
  411. package/dist/checkbox.cva-CCh_UlrC.d.ts +0 -76
  412. package/dist/components/badge-button.d.ts +0 -2
  413. package/dist/components/badge-button.js +0 -74
  414. package/dist/components/file-upload-container.d.ts +0 -3
  415. package/dist/components/file-upload-container.js +0 -15
  416. package/dist/confirmation.context-Bc2yEVp_.js +0 -114
  417. package/dist/confirmation.context-C_GDRn3a.d.ts +0 -23
  418. package/dist/fileUpload.types-C-ke21yY.d.ts +0 -110
  419. package/dist/form.binding-DOR5gIQf.js +0 -49
  420. package/dist/form.types-C8P4sznq.d.ts +0 -22
  421. package/dist/formFieldHelper.cva-DRmSyRZN.js +0 -14
  422. package/dist/iconSlot.cva-CLB5Tlsr.d.ts +0 -9
  423. package/dist/icons.d.ts +0 -4
  424. package/dist/icons.js +0 -3
  425. package/dist/input.cva-BjuHsDGy.d.ts +0 -80
  426. package/dist/inputLayout-KdAtunGk.js +0 -5
  427. package/dist/link.context-BCHn7NSy.d.ts +0 -12
  428. package/dist/radio.cva-D7M1hqLe.d.ts +0 -56
  429. package/dist/router.context-CtafjXV7.d.ts +0 -16
  430. package/dist/router.context-MckTbHw9.js +0 -63
  431. package/dist/routing.utils-DfxEt0_Y.js +0 -30
  432. package/dist/style-definitions-Dx6aFDiR.d.ts +0 -1038
  433. package/dist/switch.cva-r6vcS25Q.d.ts +0 -16
  434. package/dist/tanstack/autocomplete.d.ts +0 -3
  435. package/dist/tanstack/autocomplete.js +0 -2
  436. package/dist/tanstack/checkbox-group.d.ts +0 -3
  437. package/dist/tanstack/checkbox-group.js +0 -2
  438. package/dist/tanstack/checkbox.d.ts +0 -3
  439. package/dist/tanstack/checkbox.js +0 -2
  440. package/dist/tanstack/date-picker.d.ts +0 -3
  441. package/dist/tanstack/date-picker.js +0 -2
  442. package/dist/tanstack/date-range-picker.d.ts +0 -3
  443. package/dist/tanstack/date-range-picker.js +0 -2
  444. package/dist/tanstack/date-time-picker.d.ts +0 -3
  445. package/dist/tanstack/date-time-picker.js +0 -2
  446. package/dist/tanstack/file-input.d.ts +0 -3
  447. package/dist/tanstack/file-input.js +0 -2
  448. package/dist/tanstack/file-upload.d.ts +0 -4
  449. package/dist/tanstack/file-upload.js +0 -2
  450. package/dist/tanstack/input.d.ts +0 -3
  451. package/dist/tanstack/input.js +0 -2
  452. package/dist/tanstack/number-field.d.ts +0 -3
  453. package/dist/tanstack/number-field.js +0 -2
  454. package/dist/tanstack/number-range-input.d.ts +0 -3
  455. package/dist/tanstack/number-range-input.js +0 -2
  456. package/dist/tanstack/password-input.d.ts +0 -2
  457. package/dist/tanstack/password-input.js +0 -2
  458. package/dist/tanstack/radio-group.d.ts +0 -3
  459. package/dist/tanstack/radio-group.js +0 -2
  460. package/dist/tanstack/rich-text-editor.d.ts +0 -9
  461. package/dist/tanstack/rich-text-editor.js +0 -28
  462. package/dist/tanstack/select.d.ts +0 -3
  463. package/dist/tanstack/select.js +0 -2
  464. package/dist/tanstack/slider.d.ts +0 -3
  465. package/dist/tanstack/slider.js +0 -2
  466. package/dist/tanstack/switch.d.ts +0 -3
  467. package/dist/tanstack/switch.js +0 -2
  468. package/dist/tanstack/text-area.d.ts +0 -3
  469. package/dist/tanstack/text-area.js +0 -2
  470. package/dist/tanstack/time-picker.d.ts +0 -3
  471. package/dist/tanstack/time-picker.js +0 -2
  472. package/dist/tanstack/toggle-group.d.ts +0 -3
  473. package/dist/tanstack/toggle-group.js +0 -2
  474. package/dist/tanstack-Bgdv0qU1.js +0 -19
  475. package/dist/tanstack-wNbE6b-h.d.ts +0 -566
  476. package/dist/toast.cva-AmLw6Cf5.d.ts +0 -61
  477. package/dist/toast.runtime-Drd2IJ_j.js +0 -17
  478. package/dist/toastActivation.store-BELtcr76.js +0 -16
  479. package/dist/toggleGroup.cva-DA4U21gn.d.ts +0 -26
  480. package/dist/typography.cva-BCHlTHdM.d.ts +0 -36
  481. package/dist/useAsyncList-Cu-Y8If2.d.ts +0 -9
  482. package/dist/useFilters-BxRScJdn.d.ts +0 -11
  483. package/dist/useFilters-DMi94RZK.js +0 -190
  484. package/dist/useForm-Cb7KWLds.js +0 -217
  485. package/dist/useForm-I6z23FXf.d.ts +0 -51
  486. package/dist/useFormAutosave-BPGlChiY.js +0 -216
  487. package/dist/useTableNav-BusSFEVC.d.ts +0 -197
  488. 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-CQgkDfjW.js";
2
2
  export { useAsyncList };
@@ -0,0 +1,3 @@
1
+ import { t as Breakpoint } from "../uiConfig.types-B0sPL7nN.js";
2
+ import { t as useBreakpoint } from "../useBreakpoint-D-SVcBeQ.js";
3
+ export { type Breakpoint, useBreakpoint };
@@ -0,0 +1,2 @@
1
+ import { t as useBreakpoint } from "../useBreakpoint-BrJrvp9_.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 };
@@ -7,6 +7,7 @@ declare const resources: {
7
7
  openAlt: string;
8
8
  closeAlt: string;
9
9
  clearAlt: string;
10
+ moreInfoAlt: string;
10
11
  loadingState: {
11
12
  text: string;
12
13
  };
@@ -26,6 +27,9 @@ declare const resources: {
26
27
  clear: string;
27
28
  save: string;
28
29
  relativeMode: string;
30
+ month: string;
31
+ year: string;
32
+ openTimePicker: string;
29
33
  presets: {
30
34
  thisWeek: string;
31
35
  lastWeek: string;
@@ -82,6 +86,12 @@ declare const resources: {
82
86
  underline: string;
83
87
  strikethrough: string;
84
88
  };
89
+ lists: {
90
+ bullet: string;
91
+ ordered: string;
92
+ };
93
+ textColor: string;
94
+ highlight: string;
85
95
  textAlign: {
86
96
  label: string;
87
97
  left: string;
@@ -100,6 +110,13 @@ declare const resources: {
100
110
  tag: {
101
111
  dismiss: string;
102
112
  };
113
+ numberRange: {
114
+ startPlaceholder: string;
115
+ endPlaceholder: string;
116
+ startLabel: string;
117
+ endLabel: string;
118
+ invalidRange: string;
119
+ };
103
120
  clearInput: string;
104
121
  confirmation: {
105
122
  cancel: string;
@@ -110,20 +127,49 @@ declare const resources: {
110
127
  uploadText: string;
111
128
  browse: string;
112
129
  uploadFailed: string;
130
+ uploadInProgress: string;
113
131
  noFileUploaded: string;
114
132
  upload: string;
115
133
  uploadFile: string;
116
134
  or: string;
117
135
  removeFile: string;
136
+ removeFiles: string;
118
137
  cancel: string;
119
138
  };
120
139
  table: {
121
- column: string;
122
- show: string;
123
140
  configureColumns: string;
141
+ configureColumnsDescription: string;
142
+ visibleCount: string;
143
+ showAll: string;
144
+ reorderColumn: string;
145
+ reset: string;
146
+ done: string;
147
+ rowSelection: string;
148
+ selectAllRows: string;
149
+ selectRow: string;
150
+ reorderRow: string;
151
+ noResults: string;
152
+ closeDetails: string;
153
+ rowDetails: string;
124
154
  };
125
155
  tabsFilters: {
126
156
  clearFilters: string;
157
+ lists: string;
158
+ };
159
+ sidebar: {
160
+ navigation: string;
161
+ openNavigation: string;
162
+ workspaces: string;
163
+ addWorkspace: string;
164
+ expandWorkspaces: string;
165
+ collapseWorkspaces: string;
166
+ collapse: string;
167
+ };
168
+ stepper: {
169
+ progress: string;
170
+ };
171
+ breadcrumbs: {
172
+ showHidden: string;
127
173
  };
128
174
  };
129
175
  zodErrors: {
@@ -173,6 +219,17 @@ declare const resources: {
173
219
  openAlt: string;
174
220
  closeAlt: string;
175
221
  clearAlt: string;
222
+ moreInfoAlt: string;
223
+ tag: {
224
+ dismiss: string;
225
+ };
226
+ numberRange: {
227
+ startPlaceholder: string;
228
+ endPlaceholder: string;
229
+ startLabel: string;
230
+ endLabel: string;
231
+ invalidRange: string;
232
+ };
176
233
  loadingState: {
177
234
  text: string;
178
235
  };
@@ -192,6 +249,9 @@ declare const resources: {
192
249
  clear: string;
193
250
  save: string;
194
251
  relativeMode: string;
252
+ month: string;
253
+ year: string;
254
+ openTimePicker: string;
195
255
  presets: {
196
256
  thisWeek: string;
197
257
  lastWeek: string;
@@ -248,6 +308,12 @@ declare const resources: {
248
308
  underline: string;
249
309
  strikethrough: string;
250
310
  };
311
+ lists: {
312
+ bullet: string;
313
+ ordered: string;
314
+ };
315
+ textColor: string;
316
+ highlight: string;
251
317
  textAlign: {
252
318
  label: string;
253
319
  left: string;
@@ -263,6 +329,7 @@ declare const resources: {
263
329
  urlPlaceholder: string;
264
330
  };
265
331
  };
332
+ clearInput: string;
266
333
  confirmation: {
267
334
  cancel: string;
268
335
  confirm: string;
@@ -272,20 +339,49 @@ declare const resources: {
272
339
  uploadText: string;
273
340
  browse: string;
274
341
  uploadFailed: string;
342
+ uploadInProgress: string;
275
343
  noFileUploaded: string;
276
344
  upload: string;
277
345
  uploadFile: string;
278
346
  or: string;
279
347
  removeFile: string;
348
+ removeFiles: string;
280
349
  cancel: string;
281
350
  };
282
351
  table: {
283
- column: string;
284
- show: string;
285
352
  configureColumns: string;
353
+ configureColumnsDescription: string;
354
+ visibleCount: string;
355
+ showAll: string;
356
+ reorderColumn: string;
357
+ reset: string;
358
+ done: string;
359
+ rowSelection: string;
360
+ selectAllRows: string;
361
+ selectRow: string;
362
+ reorderRow: string;
363
+ noResults: string;
364
+ closeDetails: string;
365
+ rowDetails: string;
286
366
  };
287
367
  tabsFilters: {
288
368
  clearFilters: string;
369
+ lists: string;
370
+ };
371
+ sidebar: {
372
+ navigation: string;
373
+ openNavigation: string;
374
+ workspaces: string;
375
+ addWorkspace: string;
376
+ expandWorkspaces: string;
377
+ collapseWorkspaces: string;
378
+ collapse: string;
379
+ };
380
+ stepper: {
381
+ progress: string;
382
+ };
383
+ breadcrumbs: {
384
+ showHidden: string;
289
385
  };
290
386
  };
291
387
  zodErrors: {
@@ -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,46 @@ 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
+ },
142
+ "tabsFilters": {
143
+ "clearFilters": "Clear filters",
144
+ "lists": "Lists"
145
+ },
146
+ "sidebar": {
147
+ "navigation": "Navigation",
148
+ "openNavigation": "Open navigation",
149
+ "workspaces": "Workspaces",
150
+ "addWorkspace": "Add workspace",
151
+ "expandWorkspaces": "Expand workspaces",
152
+ "collapseWorkspaces": "Collapse workspaces",
153
+ "collapse": "Collapse"
111
154
  },
112
- "tabsFilters": { "clearFilters": "Clear filters" }
155
+ "stepper": { "progress": "Progress" },
156
+ "breadcrumbs": { "showHidden": "Show hidden breadcrumbs" }
113
157
  },
114
158
  zodErrors: {
115
159
  "required": "Required",
@@ -158,6 +202,15 @@ var translation_default = {
158
202
  "openAlt": "Odpri",
159
203
  "closeAlt": "Zapri",
160
204
  "clearAlt": "Sprazni",
205
+ "moreInfoAlt": "Več informacij",
206
+ "tag": { "dismiss": "Odstrani" },
207
+ "numberRange": {
208
+ "startPlaceholder": "Min",
209
+ "endPlaceholder": "Maks",
210
+ "startLabel": "Začetek razpona",
211
+ "endLabel": "Konec razpona",
212
+ "invalidRange": "Začetek ne sme biti večji od konca"
213
+ },
161
214
  "loadingState": { "text": "Nalaganje..." },
162
215
  "select": {
163
216
  "closeAlt": "Zapri meni",
@@ -175,6 +228,9 @@ var translation_default = {
175
228
  "clear": "Sprazni",
176
229
  "save": "Shrani",
177
230
  "relativeMode": "Relativno",
231
+ "month": "Mesec",
232
+ "year": "Leto",
233
+ "openTimePicker": "Odpri izbirnik časa",
178
234
  "presets": {
179
235
  "thisWeek": "Ta teden",
180
236
  "lastWeek": "Prejšnji teden",
@@ -225,6 +281,12 @@ var translation_default = {
225
281
  "underline": "Podčrtano",
226
282
  "strikethrough": "Prečrtano"
227
283
  },
284
+ "lists": {
285
+ "bullet": "Seznam z oznakami",
286
+ "ordered": "Oštevilčen seznam"
287
+ },
288
+ "textColor": "Barva besedila",
289
+ "highlight": "Barva poudarka",
228
290
  "textAlign": {
229
291
  "label": "Poravnava besedila",
230
292
  "left": "Levo",
@@ -240,6 +302,7 @@ var translation_default = {
240
302
  "urlPlaceholder": "Vnesite URL"
241
303
  }
242
304
  },
305
+ "clearInput": "Sprazni vnos",
243
306
  "confirmation": {
244
307
  "cancel": "Prekliči",
245
308
  "confirm": "Potrdi"
@@ -249,19 +312,46 @@ var translation_default = {
249
312
  "uploadText": "Povlecite datoteke sem ali",
250
313
  "browse": "Izberi",
251
314
  "uploadFailed": "Nalaganje ni uspelo. Poskusite znova.",
315
+ "uploadInProgress": "Počakajte, da se nalaganje konča",
252
316
  "noFileUploaded": "Ni datotek",
253
317
  "upload": "Naloži",
254
318
  "uploadFile": "Naloži datoteko",
255
319
  "or": "ali",
256
320
  "removeFile": "Odstrani datoteko",
321
+ "removeFiles": "Odstrani datoteke",
257
322
  "cancel": "Prekliči"
258
323
  },
259
324
  "table": {
260
- "column": "Stolpec",
261
- "show": "Prikaži",
262
- "configureColumns": "Nastavi stolpce"
325
+ "configureColumns": "Nastavi stolpce",
326
+ "configureColumnsDescription": "Izberi, katere stolpce želiš prikazati, in jih razvrsti z vlečenjem.",
327
+ "visibleCount": "Vidnih: {{visible}} od {{total}}",
328
+ "showAll": "Prikaži vse",
329
+ "reorderColumn": "Premakni {{column}}",
330
+ "reset": "Ponastavi",
331
+ "done": "Končano",
332
+ "rowSelection": "Izbira",
333
+ "selectAllRows": "Izberi vse vrstice",
334
+ "selectRow": "Izberi vrstico {{row}}",
335
+ "reorderRow": "Premakni vrstico {{row}}",
336
+ "noResults": "Ni rezultatov",
337
+ "closeDetails": "Zapri podrobnosti",
338
+ "rowDetails": "Podrobnosti vrstice"
339
+ },
340
+ "tabsFilters": {
341
+ "clearFilters": "Počisti filtre",
342
+ "lists": "Seznami"
343
+ },
344
+ "sidebar": {
345
+ "navigation": "Navigacija",
346
+ "openNavigation": "Odpri navigacijo",
347
+ "workspaces": "Delovni prostori",
348
+ "addWorkspace": "Dodaj delovni prostor",
349
+ "expandWorkspaces": "Razširi delovne prostore",
350
+ "collapseWorkspaces": "Strni delovne prostore",
351
+ "collapse": "Strni"
263
352
  },
264
- "tabsFilters": { "clearFilters": "Počisti filtre" }
353
+ "stepper": { "progress": "Napredek" },
354
+ "breadcrumbs": { "showHidden": "Prikaži skrite drobtinice" }
265
355
  },
266
356
  zodErrors: {
267
357
  "required": "Obvezno",
@@ -0,0 +1,5 @@
1
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
2
+ //#region src/components/shared/IconSlot/iconSlot.cva.ts
3
+ const iconSlotDefinition = UIOverrides.defineConfig({ base: ["inline-flex size-4 shrink-0 items-center justify-center", "[&>svg]:size-[calc(var(--icons-scale,1)*100%)] [&>svg]:shrink-0"] });
4
+ //#endregion
5
+ export { iconSlotDefinition as t };
@@ -1,8 +1,8 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
2
  import { t as Typography } from "./Typography-DCLnPa3P.js";
3
+ import "./i18n-DQs7jPjv.js";
3
4
  import { n as $a8ea2faf2ebe4d2f$re_export$mergeProps } from "./import-D_3dPATF.js";
4
- import "./i18n-D8vXIoiq.js";
5
- import { r as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-BN0fOerH.js";
5
+ import { i as $32daac5f69beb98a$re_export$useFocusRing } from "./useStaticInputHandoff-DrNFrvD7.js";
6
6
  import { useCallback, useMemo, useRef } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import { CalendarDate, GregorianCalendar, getLocalTimeZone, isSameDay, isToday, startOfWeek, toCalendar } from "@internationalized/date";