@povio/ui 5.0.0-rc.9 → 6.0.0-rc.10

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 (644) hide show
  1. package/MIGRATION.md +673 -0
  2. package/README.md +206 -55
  3. package/dist/{Accordion-BzwO4_ml.js → Accordion-ORBin0EZ.js} +13 -119
  4. package/dist/{Alert-DfiJbKH0.d.ts → Alert-D4X7OWiv.d.ts} +3 -3
  5. package/dist/{AlertDialog-OWTbR4km.d.ts → AlertDialog-DklLDjmw.d.ts} +3 -3
  6. package/dist/Autocomplete-BgFz3kuR.d.ts +23 -0
  7. package/dist/Autocomplete-CsJAU233.js +145 -0
  8. package/dist/Autocomplete.bound-CGC8m4dK.js +28 -0
  9. package/dist/Autocomplete.bound-CpHZZ3C9.d.ts +9 -0
  10. package/dist/{Badge-CBNpj823.d.ts → Badge-Db1ndK67.d.ts} +2 -2
  11. package/dist/{BadgeButton-Ccgt3oGO.d.ts → BadgeButton-BPhWDAnc.d.ts} +2 -2
  12. package/dist/{BottomSheet-DbQuzfAB.d.ts → BottomSheet-BZmDJBR-.d.ts} +1 -1
  13. package/dist/{BottomSheet-BXLE3161.js → BottomSheet-CGipksM_.js} +12 -86
  14. package/dist/{BottomSheet.lazy-D9LCEo7s.d.ts → BottomSheet.lazy-CuJMUeJP.d.ts} +1 -1
  15. package/dist/{Breadcrumbs-CUV6CU8Q.d.ts → Breadcrumbs-CcB0oOF8.d.ts} +1 -1
  16. package/dist/{Breadcrumbs-FF8hMfXd.js → Breadcrumbs-a1-q_he0.js} +20 -17
  17. package/dist/Button-0SswSdDg.d.ts +13 -0
  18. package/dist/Button-BaODzvZd.js +16 -0
  19. package/dist/{Button-D6KlWSFL.js → Button-C1YB5dOw.js} +3 -3
  20. package/dist/ButtonBase-CZuEy3Pk.d.ts +32 -0
  21. package/dist/ButtonBase-s-VV7oCa.js +87 -0
  22. package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-Dztbuz3q.js} +5 -14
  23. package/dist/{Calendar-BTjajO6i.js → Calendar-Cr6B7SDx.js} +29 -181
  24. package/dist/Calendar.lazy-MJisXRJK.js +131 -0
  25. package/dist/{CheckContent-D7sZPmzx.js → CheckContent-BKLnTPZr.js} +2 -2
  26. package/dist/{Checkbox-CV1ILXXO.js → Checkbox-Bjsbx-wK.js} +21 -38
  27. package/dist/{Checkbox-DVTWaMKa.d.ts → Checkbox-w2j5hLOQ.d.ts} +9 -8
  28. package/dist/Checkbox.bound-D2nBglJz.js +33 -0
  29. package/dist/Checkbox.bound-DD_RCjVm.d.ts +9 -0
  30. package/dist/CheckboxCheckmark-DWsYVZuu.js +25 -0
  31. package/dist/CheckboxGroup-B3O3IUiu.js +141 -0
  32. package/dist/CheckboxGroup-BYI15Y09.d.ts +30 -0
  33. package/dist/CheckboxGroup.bound-DY0HKGSh.js +32 -0
  34. package/dist/CheckboxGroup.bound-QiJ-P0KR.d.ts +9 -0
  35. package/dist/ComboBox-ChsdI0lt.js +212 -0
  36. package/dist/{DatePicker-DOLL7mkc.js → DatePicker-D-YXdY2z.js} +47 -54
  37. package/dist/{DatePicker-8xSs_jNd.d.ts → DatePicker-QzfQf21b.d.ts} +21 -10
  38. package/dist/DatePicker.bound-DoCAqhM4.d.ts +9 -0
  39. package/dist/DatePicker.bound-a-6NJTgy.js +36 -0
  40. package/dist/{DatePickerInput-BLBcySA2.js → DatePickerInput-2CZtsxdK.js} +66 -301
  41. package/dist/{DatePickerInput-D81ZJ3fT.d.ts → DatePickerInput-vLlL5ATh.d.ts} +3 -3
  42. package/dist/{DateRangePicker-Bfq-yDm7.d.ts → DateRangePicker-3pPW0ZBV.d.ts} +30 -10
  43. package/dist/{DateRangePicker-BF-1CztH.js → DateRangePicker-tuM8Qyvp.js} +80 -330
  44. package/dist/DateRangePicker.bound-B5SKOkVM.js +35 -0
  45. package/dist/DateRangePicker.bound-vFyFw4wA.d.ts +9 -0
  46. package/dist/{DateTimePicker-Cj0qvJUz.js → DateTimePicker-8BVP2qeR.js} +47 -48
  47. package/dist/{DateTimePicker-D4lHyf6P.d.ts → DateTimePicker-BTRIUagV.d.ts} +21 -11
  48. package/dist/DateTimePicker.bound-C3y8TqPk.js +32 -0
  49. package/dist/DateTimePicker.bound-X4DTyQ1b.d.ts +9 -0
  50. package/dist/{Dialog-9manOgMA.js → Dialog-Bn43feu0.js} +13 -10
  51. package/dist/{Dialog-CKLkS00H.js → Dialog-C9H9_BmK.js} +53 -29
  52. package/dist/Dialog-CO9xljD3.d.ts +21 -0
  53. package/dist/Disclosure-BRSkMbZQ.js +109 -0
  54. package/dist/{DropdownMenu-5jmtgLXd.js → DropdownMenu-DS0RaEfH.js} +13 -31
  55. package/dist/DropdownMenu-D_9z9ond.d.ts +25 -0
  56. package/dist/{DropdownMenuDesktop-Cl9gZVq0.js → DropdownMenuDesktop-DGPIfex-.js} +7 -28
  57. package/dist/{FileInput-C4CE5kuP.d.ts → FileInput-BEaECoBS.d.ts} +26 -22
  58. package/dist/{FileInput-Br5DQaGQ.js → FileInput-DNCKhAq-.js} +36 -49
  59. package/dist/FileInput.bound-D2HuuqSb.d.ts +8 -0
  60. package/dist/FileInput.bound-DCSair97.js +30 -0
  61. package/dist/{FileTrigger-Cthk5_Wp.js → FileTrigger-DlryDp2T.js} +6 -6
  62. package/dist/FileUpload-BUTSqHVk.d.ts +11 -0
  63. package/dist/{FileUpload--7ub3EZO.js → FileUpload-CQFCrvCI.js} +279 -249
  64. package/dist/FileUpload.bound-BwetBdi7.js +30 -0
  65. package/dist/FileUpload.bound-CGQXb4iT.d.ts +16 -0
  66. package/dist/{FileUploadContainer-042ztsaL.d.ts → FileUploadContainer-Dzg5aXXZ.d.ts} +1 -1
  67. package/dist/{Form-DlQcyN1f.js → Form-CqF1SaVw.js} +2 -2
  68. package/dist/{FormField-Byiehm9y.d.ts → FormField-DGyCDxOp.d.ts} +7 -2
  69. package/dist/FormField-dduTMkNH.js +142 -0
  70. package/dist/{FormFieldError-DeOHHLo2.js → FormFieldError-DTT5TUQ1.js} +3 -14
  71. package/dist/{FormFieldHeaderTooltip-BV2Ju4oB.js → FormFieldHeaderTooltip-Dt-g40Tc.js} +4 -4
  72. package/dist/FormLayout-CBYgWvwW.d.ts +47 -0
  73. package/dist/{Heading-nI1_VOaE.js → Heading-D4XFYv__.js} +2 -2
  74. package/dist/IconButton-shH_9wcl.d.ts +25 -0
  75. package/dist/{IconSlot-DSK7qNxc.js → IconSlot-CqNuZl0E.js} +4 -4
  76. package/dist/{iconSlot.cva-CnpFzAOR.d.ts → IconSlot-DcEDPaNb.d.ts} +3 -10
  77. package/dist/{InlineTooltipWrapper-BpApaGXV.js → InlineTooltipWrapper-CKTiFpZn.js} +3 -3
  78. package/dist/{Input-BsbLZDtC.js → Input-BG0Xjw5X.js} +2 -2
  79. package/dist/Input-BIuNQb5u.js +245 -0
  80. package/dist/{Input-DOanwj3l.d.ts → Input-CTp_9mS9.d.ts} +13 -9
  81. package/dist/Input.bound-B9a62ylL.d.ts +9 -0
  82. package/dist/Input.bound-QpE3qJqT.js +31 -0
  83. package/dist/{InputContent-CXuP1ghQ.d.ts → InputContent-BCNkN4Fx.d.ts} +5 -5
  84. package/dist/InputContent-C5JlwN5b.js +102 -0
  85. package/dist/{Label-B2-B-uFY.js → Label-BGvF9vWx.js} +2 -2
  86. package/dist/{Link-FupWOW1f.js → Link-Chux-Clm.js} +2 -2
  87. package/dist/{Link-Ow9H7kNv.d.ts → Link-PvYB_M-j.d.ts} +5 -3
  88. package/dist/{ListBox-CL8Ar4Q_.js → ListBox-DhR5kojP.js} +10 -11
  89. package/dist/{MenuItem-DHyqOqln.d.ts → MenuItem-U3-pu1j5.d.ts} +1 -1
  90. package/dist/{Modal-w60dVQcb.js → Modal-DcLWF9cB.js} +58 -20
  91. package/dist/NumberField-CpkLBjIM.js +249 -0
  92. package/dist/{NumberField-Cb9Gf6QJ.d.ts → NumberField-WXebfxjK.d.ts} +13 -9
  93. package/dist/NumberField.bound-BbZLqewF.js +32 -0
  94. package/dist/NumberField.bound-Dy0A5iVc.d.ts +9 -0
  95. package/dist/{NumberFormatter-CLDS_LRZ.js → NumberFormatter-DYarfm5F.js} +2 -36
  96. package/dist/{NumberRangeInput-B8-LHfg3.js → NumberRangeInput-47xOaSXq.js} +28 -55
  97. package/dist/{NumberRangeInput-BfbJQqzn.d.ts → NumberRangeInput-BCKQaGpy.d.ts} +13 -8
  98. package/dist/NumberRangeInput.bound-B21y7xkb.js +32 -0
  99. package/dist/NumberRangeInput.bound-BNXxIQ0b.d.ts +9 -0
  100. package/dist/{OverlayArrow-D8z7cCsw.js → OverlayArrow-DF0jMwul.js} +2 -2
  101. package/dist/PageHeader-BwzxymWY.d.ts +58 -0
  102. package/dist/{Pagination-CwQu5Py8.d.ts → Pagination-BCGUVYOF.d.ts} +1 -1
  103. package/dist/PaginationList-BTmrmOGl.js +220 -0
  104. package/dist/{PaginationList-DMRUGtf8.d.ts → PaginationList-CvlSkJGn.d.ts} +1 -1
  105. package/dist/PasswordInput-EhQjYyJS.d.ts +11 -0
  106. package/dist/{PasswordInput-CLwFUgl0.d.ts → PasswordInput.bound-CK5GwKL4.d.ts} +5 -6
  107. package/dist/PasswordInput.bound-DVkRv16z.js +23 -0
  108. package/dist/{Popover-BTHPteIh.d.ts → Popover-D_t1XDPA.d.ts} +2 -2
  109. package/dist/{Progress-CjWOR38H.d.ts → Progress-Ckfpi_-M.d.ts} +4 -4
  110. package/dist/{Progress-B3mY9rIP.js → Progress-RiEGGxNG.js} +4 -29
  111. package/dist/RadioGroup-6e-Z6jW8.d.ts +26 -0
  112. package/dist/{RadioGroup-DOw3PRoX.js → RadioGroup-IL4Y8XHO.js} +18 -120
  113. package/dist/RadioGroup.bound-BFWSq-on.js +32 -0
  114. package/dist/RadioGroup.bound-w3SZqSkH.d.ts +9 -0
  115. package/dist/RangeCalendar-CAWTz3pq.js +288 -0
  116. package/dist/{RichTextEditor-D4yN7Wj7.js → RichTextEditor-16feWcDW.js} +57 -365
  117. package/dist/RichTextEditor-DHhuBeT6.d.ts +28 -0
  118. package/dist/{SelectBase-Omiq2D3M.d.ts → Select-C34ENdjq.d.ts} +34 -11
  119. package/dist/{staticSelect.utils-uHa8f_c6.js → Select-CSdr0OcD.js} +343 -635
  120. package/dist/Select.bound-D-Wl7nLz.js +34 -0
  121. package/dist/Select.bound-qOihchei.d.ts +17 -0
  122. package/dist/SelectListBox-DeiPWhOP.js +390 -0
  123. package/dist/SelectionIndicator-C3hniBa2.js +18 -0
  124. package/dist/SharedElementTransition-CZ2bE7yo.js +96 -0
  125. package/dist/SidebarWorkspaces-DDHJAdNH.d.ts +132 -0
  126. package/dist/SidebarWorkspaces-DJknAfS9.js +1298 -0
  127. package/dist/{Slider-CzEmKYBF.js → Slider-DCsCCPFx.js} +18 -42
  128. package/dist/{Slider-EYlGCLWe.d.ts → Slider-DRg8zKRM.d.ts} +9 -8
  129. package/dist/Slider.bound-CByTXPTr.js +31 -0
  130. package/dist/Slider.bound-CaEF19um.d.ts +9 -0
  131. package/dist/{Spinner-DbXeDOa2.d.ts → Spinner-Cvy_6zgD.d.ts} +5 -5
  132. package/dist/{Spinner-BeVTUzzx.js → Spinner-DqjP06T1.js} +29 -41
  133. package/dist/{SplitButton-D9ngY1rJ.d.ts → SplitButton-V1f2NWfh.d.ts} +3 -3
  134. package/dist/{Stepper-Cp5vbL5g.js → Stepper-Dyhxp0Tl.js} +14 -13
  135. package/dist/{Stepper-TATlHZhQ.d.ts → Stepper-k91x_m-E.d.ts} +18 -18
  136. package/dist/{Switch-CqnGEdeD.js → Switch-BfpSMMpv.js} +10 -59
  137. package/dist/Switch-ELVPkPx0.d.ts +24 -0
  138. package/dist/Switch.bound-DeEdVvZV.d.ts +9 -0
  139. package/dist/Switch.bound-Dv0cHsMM.js +33 -0
  140. package/dist/TableRowDetails-D8HFTghI.d.ts +109 -0
  141. package/dist/TabsFilters-CvYxvrud.js +223 -0
  142. package/dist/TabsFilters-DePddjCk.d.ts +30 -0
  143. package/dist/Tag-B2_ZiSE-.d.ts +44 -0
  144. package/dist/{Text-D2MPZ3sY.js → Text-D72yc4S6.js} +1 -1
  145. package/dist/{TextArea-D8WkKsGn.js → TextArea-ciY0kt-D.js} +33 -35
  146. package/dist/{TextArea-l_keyLK7.d.ts → TextArea-iqUeB2QY.d.ts} +11 -9
  147. package/dist/TextArea.bound-BJHyCogp.d.ts +9 -0
  148. package/dist/TextArea.bound-DQ_ULvue.js +28 -0
  149. package/dist/TextArea.cva-ENXI55ec.js +5 -0
  150. package/dist/{TimePicker-C4taAOFQ.js → TimePicker-BKRPMduC.js} +65 -55
  151. package/dist/TimePicker-BZ1ocsBX.d.ts +45 -0
  152. package/dist/TimePicker.bound-8DmjMXuE.d.ts +9 -0
  153. package/dist/TimePicker.bound-PtJTz6s3.js +32 -0
  154. package/dist/{datePickerValue.utils-DCgoSrP3.js → TimePickerForm-itDjoV7V.js} +23 -19
  155. package/dist/{Toast-ruXqONDA.d.ts → Toast-D9pdadZ4.d.ts} +1 -1
  156. package/dist/{ToastContainer-qgpzMFD4.js → ToastContainer-Dd0LPykL.js} +5 -5
  157. package/dist/ToggleButton-HUZ8ij6i.d.ts +17 -0
  158. package/dist/{ToggleButton-BW1ensey.js → ToggleButton-P1z1pxzT.js} +5 -5
  159. package/dist/ToggleGroup-CrDoeLN0.js +333 -0
  160. package/dist/ToggleGroup-DvjnSinl.d.ts +42 -0
  161. package/dist/ToggleGroup.bound-B03ISHQ8.d.ts +9 -0
  162. package/dist/ToggleGroup.bound-DCnYwmBt.js +67 -0
  163. package/dist/Tooltip-B8DTURLQ.d.ts +16 -0
  164. package/dist/{Tooltip-CpG1nz7Y.js → Tooltip-DRB6lo0U.js} +10 -11
  165. package/dist/{TooltipWrapper-3jyN0Wss.js → TooltipWrapper-BvGO_LUx.js} +21 -10
  166. package/dist/{Typography-LU4z2pR1.js → Typography-DCLnPa3P.js} +2 -2
  167. package/dist/{Typography-XljT9s02.d.ts → Typography-DJojwiXV.d.ts} +2 -2
  168. package/dist/{accordion.cva-CL1bVscW.js → accordion.cva-DwxY-k1e.js} +17 -25
  169. package/dist/{badgeButton.cva-B2bgCQP6.d.ts → badgeButton.cva-CBFIhr1S.d.ts} +8 -8
  170. package/dist/badgeButton.cva-t5PQOH4M.js +138 -0
  171. package/dist/{breadcrumbs.cva-7zzdDhVR.js → breadcrumbs.cva-CnBIZUB3.js} +9 -9
  172. package/dist/{button.cva-C7kEhgoA.d.ts → button.cva-C8LGtNJ3.d.ts} +21 -16
  173. package/dist/button.cva-Ciga0rdG.js +267 -0
  174. package/dist/{buttonContent.cva-DPIlROA9.d.ts → buttonContent.cva-BapnODby.d.ts} +2 -2
  175. package/dist/{checkbox.cva-t1Ox50hy.d.ts → checkbox.cva-CCh_UlrC.d.ts} +6 -6
  176. package/dist/checkbox.cva-aLJS7v4z.js +128 -0
  177. package/dist/components/accordion.js +1 -1
  178. package/dist/components/alert-dialog.d.ts +1 -1
  179. package/dist/components/alert-dialog.js +102 -100
  180. package/dist/components/alert.d.ts +1 -1
  181. package/dist/components/alert.js +116 -1
  182. package/dist/components/autocomplete.d.ts +2 -2
  183. package/dist/components/autocomplete.js +1 -134
  184. package/dist/components/badge-button.d.ts +1 -1
  185. package/dist/components/badge-button.js +6 -6
  186. package/dist/components/badge.d.ts +1 -1
  187. package/dist/components/badge.js +10 -10
  188. package/dist/components/bottom-sheet-header.d.ts +16 -0
  189. package/dist/components/bottom-sheet-header.js +80 -0
  190. package/dist/components/bottom-sheet.d.ts +2 -2
  191. package/dist/components/bottom-sheet.js +3 -3
  192. package/dist/components/breadcrumb/react-aria.js +1 -1
  193. package/dist/components/breadcrumbs.d.ts +1 -1
  194. package/dist/components/breadcrumbs.js +1 -1
  195. package/dist/components/button-group.d.ts +12 -0
  196. package/dist/components/button-group.js +46 -0
  197. package/dist/components/button.d.ts +2 -2
  198. package/dist/components/button.js +1 -1
  199. package/dist/components/checkbox-group.d.ts +2 -2
  200. package/dist/components/checkbox-group.js +1 -163
  201. package/dist/components/checkbox.d.ts +2 -2
  202. package/dist/components/checkbox.js +2 -2
  203. package/dist/components/combo-box/react-aria.js +1 -1
  204. package/dist/components/date-picker/react-aria.js +1 -1
  205. package/dist/components/date-picker.d.ts +2 -2
  206. package/dist/components/date-picker.js +1 -1
  207. package/dist/components/date-range-picker/react-aria.js +1 -1
  208. package/dist/components/date-range-picker.d.ts +2 -2
  209. package/dist/components/date-range-picker.js +1 -1
  210. package/dist/components/date-time-picker.d.ts +2 -2
  211. package/dist/components/date-time-picker.js +1 -1
  212. package/dist/components/dialog-trigger/react-aria.js +1 -1
  213. package/dist/components/dialog.d.ts +1 -1
  214. package/dist/components/dialog.js +1 -1
  215. package/dist/components/drawer.js +4 -4
  216. package/dist/components/dropdown-menu.d.ts +2 -2
  217. package/dist/components/dropdown-menu.js +2 -2
  218. package/dist/components/file-input.d.ts +2 -2
  219. package/dist/components/file-input.js +1 -1
  220. package/dist/components/file-upload-container.d.ts +2 -2
  221. package/dist/components/file-upload-container.js +1 -1
  222. package/dist/components/file-upload.d.ts +3 -3
  223. package/dist/components/file-upload.js +1 -1
  224. package/dist/components/form-field.d.ts +1 -1
  225. package/dist/components/form-field.js +1 -1
  226. package/dist/components/form-layout.d.ts +2 -0
  227. package/dist/components/form-layout.js +80 -0
  228. package/dist/components/icon-button.d.ts +1 -1
  229. package/dist/components/icon-button.js +17 -15
  230. package/dist/components/icon-slot.d.ts +2 -1
  231. package/dist/components/icon-slot.js +1 -1
  232. package/dist/components/input-frame.d.ts +94 -0
  233. package/dist/{useStaticInputHandoff-NeZVnci-.js → components/input-frame.js} +82 -116
  234. package/dist/components/input.d.ts +2 -2
  235. package/dist/components/input.js +1 -241
  236. package/dist/components/link.d.ts +1 -1
  237. package/dist/components/link.js +4 -4
  238. package/dist/components/menu-trigger/react-aria.js +1 -1
  239. package/dist/components/modal/react-aria.js +1 -1
  240. package/dist/components/modal-overlay/react-aria.js +1 -1
  241. package/dist/components/number-field.d.ts +2 -2
  242. package/dist/components/number-field.js +1 -245
  243. package/dist/components/number-range-input.d.ts +2 -2
  244. package/dist/components/number-range-input.js +1 -1
  245. package/dist/components/page-header.d.ts +2 -0
  246. package/dist/components/page-header.js +205 -0
  247. package/dist/components/pagination-list.d.ts +1 -1
  248. package/dist/components/pagination-list.js +1 -1
  249. package/dist/components/pagination.d.ts +1 -1
  250. package/dist/components/pagination.js +14 -10
  251. package/dist/components/password-input.d.ts +2 -2
  252. package/dist/components/password-input.js +22 -1
  253. package/dist/components/popover/react-aria.js +1 -1
  254. package/dist/components/popover.d.ts +1 -1
  255. package/dist/components/popover.js +40 -32
  256. package/dist/components/progress.d.ts +1 -1
  257. package/dist/components/progress.js +1 -1
  258. package/dist/components/radio-group.d.ts +2 -2
  259. package/dist/components/radio-group.js +1 -1
  260. package/dist/components/select/react-aria.js +1 -1
  261. package/dist/components/select.d.ts +2 -3
  262. package/dist/components/select.js +1 -1
  263. package/dist/components/sidebar.d.ts +2 -0
  264. package/dist/components/sidebar.js +2 -0
  265. package/dist/components/slider.d.ts +2 -2
  266. package/dist/components/slider.js +1 -1
  267. package/dist/components/spinner.d.ts +1 -1
  268. package/dist/components/spinner.js +1 -1
  269. package/dist/components/split-button.d.ts +1 -1
  270. package/dist/components/split-button.js +3 -3
  271. package/dist/components/stepper.d.ts +1 -1
  272. package/dist/components/stepper.js +1 -1
  273. package/dist/components/style-definitions.d.ts +3 -0
  274. package/dist/components/style-definitions.js +122 -0
  275. package/dist/components/submenu-trigger/react-aria.js +1 -1
  276. package/dist/components/switch.d.ts +2 -2
  277. package/dist/components/switch.js +1 -1
  278. package/dist/components/tabs-filters.d.ts +2 -0
  279. package/dist/components/tabs-filters.js +2 -0
  280. package/dist/components/tag.d.ts +1 -1
  281. package/dist/components/tag.js +93 -1
  282. package/dist/components/text-area.d.ts +2 -2
  283. package/dist/components/text-area.js +1 -1
  284. package/dist/components/time-picker.d.ts +2 -2
  285. package/dist/components/time-picker.js +1 -1
  286. package/dist/components/toast.d.ts +2 -2
  287. package/dist/components/toast.js +2 -2
  288. package/dist/components/toggle-button.d.ts +1 -1
  289. package/dist/components/toggle-button.js +17 -30
  290. package/dist/components/toggle-group.d.ts +2 -3
  291. package/dist/components/toggle-group.js +1 -1
  292. package/dist/components/tooltip-ellipsis.js +2 -2
  293. package/dist/components/tooltip.d.ts +1 -1
  294. package/dist/components/tooltip.js +1 -1
  295. package/dist/components/typography.d.ts +2 -2
  296. package/dist/components/typography.js +1 -1
  297. package/dist/components/use-toast.d.ts +1 -1
  298. package/dist/components/use-toast.js +2 -2
  299. package/dist/config/component-configuration.d.ts +30 -0
  300. package/dist/config/component-configuration.js +69 -0
  301. package/dist/config/confirmation.d.ts +1 -1
  302. package/dist/config/confirmation.js +1 -1
  303. package/dist/config/link-context.d.ts +2 -2
  304. package/dist/config/link-context.js +1 -1
  305. package/dist/config/resources.d.ts +1 -1
  306. package/dist/config/resources.js +1 -1
  307. package/dist/config/theme-context.js +1 -1
  308. package/dist/config/ui-config.d.ts +2 -2
  309. package/dist/config/ui-config.js +1 -1
  310. package/dist/config/ui-overrides.d.ts +1 -1
  311. package/dist/config/ui-overrides.js +1 -1
  312. package/dist/config/ui-router.js +1 -1
  313. package/dist/{confirmation.context-BuzgCfYl.js → confirmation.context-CByUxDcn.js} +2 -2
  314. package/dist/{confirmation.context-BOeEVczb.d.ts → confirmation.context-C_GDRn3a.d.ts} +1 -1
  315. package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva-Du0Zn04v.js} +2 -2
  316. package/dist/datePickerValue.utils-CkmPaD6I.js +4 -0
  317. package/dist/{dialog.cva-COhDZaVl.js → dialog.cva-BIpz6HcA.js} +7 -7
  318. package/dist/{dist-CAdwxJbe.js → dist-DEZzXa0W.js} +54 -1
  319. package/dist/{dom.utils-D1AopHx9.js → dom.utils-BPooTXtC.js} +2 -2
  320. package/dist/dropdownMenu.cva-DwSOcbmR.js +31 -0
  321. package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-BYzXGc9C.js} +11 -11
  322. package/dist/{fileUpload.types-n5FxK_F-.d.ts → fileUpload.types-C-ke21yY.d.ts} +17 -17
  323. package/dist/form.binding-DOR5gIQf.js +49 -0
  324. package/dist/form.types-C8P4sznq.d.ts +22 -0
  325. package/dist/formFieldError.cva-BB6Ghqwq.js +14 -0
  326. package/dist/formFieldHelper.cva-DRmSyRZN.js +14 -0
  327. package/dist/formLayout.context--CN08Mtb.js +14 -0
  328. package/dist/hooks/use-async-list.d.ts +2 -0
  329. package/dist/hooks/use-async-list.js +2 -0
  330. package/dist/hooks/use-filters.js +1 -1
  331. package/dist/hooks/use-local-storage.js +1 -1
  332. package/dist/{i18n-CX2EjhJI.js → i18n-D1FWVTPi.js} +24 -4
  333. package/dist/{i18n-CX1vFM9r.d.ts → i18n-DE45mOCM.d.ts} +24 -0
  334. package/dist/iconSlot.cva-CLB5Tlsr.d.ts +9 -0
  335. package/dist/icons.d.ts +2 -1
  336. package/dist/icons.js +3 -3
  337. package/dist/import-C14g8ng0.js +251 -0
  338. package/dist/index.d.ts +100 -91
  339. package/dist/index.js +100 -94
  340. package/dist/{input.cva-BsHgYa-L.d.ts → input.cva-BjuHsDGy.d.ts} +11 -11
  341. package/dist/input.cva-DZii82eS.js +185 -0
  342. package/dist/inputLayout-KdAtunGk.js +5 -0
  343. package/dist/{intlStrings-chfsan9H.js → intlStrings-Cu1YN1tA.js} +35 -35
  344. package/dist/isEqual-LFw0W5rU.js +97 -0
  345. package/dist/label.cva-DTfT6FrX.js +85 -0
  346. package/dist/{link.context-D5qyz9Rf.d.ts → link.context-BCHn7NSy.d.ts} +1 -1
  347. package/dist/link.cva-C24YVAsJ.js +16 -0
  348. package/dist/{numberStatic.utils-BX50PSee.js → numberStatic.utils-BIyZuILs.js} +5 -5
  349. package/dist/outline.clsx-DGGQQRkM.js +6 -0
  350. package/dist/popover.cva-DAbfSma6.js +5 -0
  351. package/dist/progress.cva-CsGaGVJ-.js +28 -0
  352. package/dist/{radio.cva-DN9VQ3Kb.d.ts → radio.cva-D7M1hqLe.d.ts} +9 -5
  353. package/dist/radio.cva-DistaZtZ.js +96 -0
  354. package/dist/rich-text-editor.d.ts +2 -2
  355. package/dist/rich-text-editor.js +1 -1
  356. package/dist/{routing.utils-UTQonIhB.js → routing.utils-DfxEt0_Y.js} +5 -0
  357. package/dist/selectDesktop.cva-DStkOdwm.js +14 -0
  358. package/dist/selectItem.cva-B6vxey2R.js +27 -0
  359. package/dist/{staticDateTimeSegments-DtU63_dw.js → staticDateTimeSegments-bPuA-a2Y.js} +61 -57
  360. package/dist/status.cva-CYgi3Htz.js +130 -0
  361. package/dist/stepper.cva-Cecphqeo.js +104 -0
  362. package/dist/style-definitions-Dx6aFDiR.d.ts +1038 -0
  363. package/dist/styles/editor.css +9 -9
  364. package/dist/styles/input.d.ts +1 -1
  365. package/dist/styles/outline.js +1 -1
  366. package/dist/switch.cva-BT0kGRIk.js +24 -0
  367. package/dist/switch.cva-r6vcS25Q.d.ts +16 -0
  368. package/dist/table.cva-DkcsOmZG.js +147 -0
  369. package/dist/tag.cva-ExMNsTN-.js +24 -0
  370. package/dist/tanstack/autocomplete.d.ts +3 -2
  371. package/dist/tanstack/autocomplete.js +1 -1
  372. package/dist/tanstack/checkbox-group.d.ts +3 -2
  373. package/dist/tanstack/checkbox-group.js +1 -1
  374. package/dist/tanstack/checkbox.d.ts +3 -2
  375. package/dist/tanstack/checkbox.js +2 -2
  376. package/dist/tanstack/date-picker.d.ts +3 -2
  377. package/dist/tanstack/date-picker.js +1 -1
  378. package/dist/tanstack/date-range-picker.d.ts +3 -2
  379. package/dist/tanstack/date-range-picker.js +1 -1
  380. package/dist/tanstack/date-time-picker.d.ts +3 -2
  381. package/dist/tanstack/date-time-picker.js +1 -1
  382. package/dist/tanstack/file-input.d.ts +3 -2
  383. package/dist/tanstack/file-input.js +1 -1
  384. package/dist/tanstack/file-upload.d.ts +4 -3
  385. package/dist/tanstack/file-upload.js +1 -1
  386. package/dist/tanstack/form.d.ts +3 -3
  387. package/dist/tanstack/form.js +3 -3
  388. package/dist/tanstack/input.d.ts +3 -2
  389. package/dist/tanstack/input.js +1 -1
  390. package/dist/tanstack/number-field.d.ts +3 -2
  391. package/dist/tanstack/number-field.js +1 -1
  392. package/dist/tanstack/number-range-input.d.ts +3 -2
  393. package/dist/tanstack/number-range-input.js +1 -1
  394. package/dist/tanstack/password-input.d.ts +1 -1
  395. package/dist/tanstack/password-input.js +1 -1
  396. package/dist/tanstack/radio-group.d.ts +3 -2
  397. package/dist/tanstack/radio-group.js +1 -1
  398. package/dist/tanstack/rich-text-editor.d.ts +9 -2
  399. package/dist/tanstack/rich-text-editor.js +27 -1
  400. package/dist/tanstack/select.d.ts +3 -2
  401. package/dist/tanstack/select.js +1 -1
  402. package/dist/tanstack/slider.d.ts +3 -2
  403. package/dist/tanstack/slider.js +1 -1
  404. package/dist/tanstack/switch.d.ts +3 -2
  405. package/dist/tanstack/switch.js +1 -1
  406. package/dist/tanstack/table.d.ts +3 -2
  407. package/dist/tanstack/table.js +2 -3
  408. package/dist/tanstack/text-area.d.ts +3 -2
  409. package/dist/tanstack/text-area.js +1 -1
  410. package/dist/tanstack/time-picker.d.ts +3 -2
  411. package/dist/tanstack/time-picker.js +1 -1
  412. package/dist/tanstack/toggle-group.d.ts +3 -3
  413. package/dist/tanstack/toggle-group.js +1 -1
  414. package/dist/{queries.utils-CmbhAoHU.js → tanstack-Bgdv0qU1.js} +2 -1
  415. package/dist/tanstack-zusJduSB.d.ts +568 -0
  416. package/dist/tanstack.d.ts +84 -78
  417. package/dist/tanstack.js +100 -92
  418. package/dist/{theme.context-B3wQDJ-i.js → theme.context--VEyStJB.js} +2 -2
  419. package/dist/{toast.cva-By5lvAfr.d.ts → toast.cva-AmLw6Cf5.d.ts} +10 -10
  420. package/dist/{toast.cva-C_L_RffH.js → toast.cva-B6NXTwbZ.js} +22 -38
  421. package/dist/{toast.runtime-cxex9e4E.js → toast.runtime-Drd2IJ_j.js} +1 -2
  422. package/dist/toggleGroup.cva-CJ-3Ps7j.js +35 -0
  423. package/dist/toggleGroup.cva-DA4U21gn.d.ts +26 -0
  424. package/dist/{tooltip.cva-BIzlOXHH.js → tooltip.cva-BEyxvcG2.js} +11 -11
  425. package/dist/{tooltipWrapper.cva-BBQ4ic3D.js → tooltipWrapper.cva-t4NQ9zz9.js} +1 -1
  426. package/dist/tw-ui-plugin.js +5 -1
  427. package/dist/typography.cva-BCHlTHdM.d.ts +36 -0
  428. package/dist/typography.cva-CHsHX_Wp.js +31 -0
  429. package/dist/uiConfig.context-3DN9w6oU.js +180 -0
  430. package/dist/{uiConfig.context-DeBX2beU.d.ts → uiConfig.context-BnCORTNm.d.ts} +25 -20
  431. package/dist/{uiOverrides.context-DEp139He.d.ts → uiOverrides.context-DHHzLSnq.d.ts} +67 -6
  432. package/dist/useAsyncList-Ct74ve3i.js +445 -0
  433. package/dist/useAsyncList-Cu-Y8If2.d.ts +9 -0
  434. package/dist/{useBreakpoint-DQoMN-BG.js → useBreakpoint-CJ3mx7UF.js} +6 -6
  435. package/dist/{useControlledState-CzXkZCX8.js → useControlledState-CuU1VIh1.js} +2 -2
  436. package/dist/useFieldAccessibility-eZIMECmG.js +19 -0
  437. package/dist/{useFilters-XNH27Md2.js → useFilters-DMi94RZK.js} +3 -3
  438. package/dist/{form.binding-CG1RPv6o.js → useForm-Cb7KWLds.js} +80 -43
  439. package/dist/{form.binding-DVJ5F0JE.d.ts → useForm-I6z23FXf.d.ts} +15 -15
  440. package/dist/useFormAutosave-BBLm3Ujo.d.ts +34 -0
  441. package/dist/useFormAutosave-BPGlChiY.js +216 -0
  442. package/dist/useScrollableListBox-oYKqU3Hp.js +47 -0
  443. package/dist/useStaticInputHandoff-BN0fOerH.js +76 -0
  444. package/dist/useTableColumnConfig-D5NxR1Co.js +2060 -0
  445. package/dist/useTableNav-H5DrogZU.d.ts +215 -0
  446. package/dist/{useToast-yreVCUer.d.ts → useToast-DsA8CVoY.d.ts} +1 -1
  447. package/dist/{utils-Czcqspm7.js → utils-BkLF-JA3.js} +1 -1
  448. package/package.json +86 -236
  449. package/.rulesync/rules/ui-buttons-and-content.md +0 -56
  450. package/.rulesync/rules/ui-inputs-and-forms.md +0 -62
  451. package/.rulesync/rules/ui-overlays-navigation-and-styling.md +0 -49
  452. package/.rulesync/rules/ui-overview.md +0 -33
  453. package/dist/Alert-CnvEb1D_.js +0 -244
  454. package/dist/AppCanvasPage--RG31Yyv.js +0 -2421
  455. package/dist/AppCanvasPage-BIFYeEeS.d.ts +0 -80
  456. package/dist/Autocomplete-BwNHp8fy.d.ts +0 -15
  457. package/dist/Button-C5rv4Cr2.js +0 -506
  458. package/dist/Button-D-4qb0IR.d.ts +0 -42
  459. package/dist/CheckboxCheckmark-CpC3wlMs.js +0 -178
  460. package/dist/CheckboxGroup-DGF12cmB.d.ts +0 -28
  461. package/dist/ComponentGallery-C6exitZN.js +0 -3513
  462. package/dist/Dialog-CW93T9X1.d.ts +0 -56
  463. package/dist/DropdownMenu-JNpYT4-3.d.ts +0 -62
  464. package/dist/FileUpload-CR7bZxV1.d.ts +0 -7
  465. package/dist/Form-DbEWnCKc.d.ts +0 -49
  466. package/dist/FormField-B99dLt8o.js +0 -212
  467. package/dist/IconButton-D4thBurp.d.ts +0 -16
  468. package/dist/InlineIconButton-BeJCjl-q.d.ts +0 -15
  469. package/dist/InputItem-CIxbTxZu.js +0 -63
  470. package/dist/Inputs-DJSKiaWY.js +0 -17
  471. package/dist/Inputs-O84btFJL.d.ts +0 -13
  472. package/dist/PaginationList-DtvuP63b.js +0 -220
  473. package/dist/PasswordInput-DYwUZ4-k.js +0 -78
  474. package/dist/QuerySelect-BGxb6Y0K.d.ts +0 -24
  475. package/dist/RadioGroup-CZg2kIMk.d.ts +0 -24
  476. package/dist/RichTextEditor-YxuRUlI7.d.ts +0 -26
  477. package/dist/Select-UR0ec2Ux.js +0 -154
  478. package/dist/Select-pHbyJdZJ.d.ts +0 -15
  479. package/dist/SelectionIndicator-JblvLKCu.js +0 -5
  480. package/dist/SharedElementTransition-Da1c_cOO.js +0 -12
  481. package/dist/Switch-s_EPn0Jz.d.ts +0 -22
  482. package/dist/Table-BN2_J_Ne.js +0 -636
  483. package/dist/Tag-AHfV_XSf.d.ts +0 -44
  484. package/dist/Tag-DPg5sL1Z.js +0 -146
  485. package/dist/TextButton-XUhV_1s0.d.ts +0 -15
  486. package/dist/TimePicker-B1POvGWs.d.ts +0 -33
  487. package/dist/Toast-DtG3pA61.js +0 -53
  488. package/dist/ToggleButton-7aP8Jb11.d.ts +0 -11
  489. package/dist/ToggleGroup-CRFDIPGZ.d.ts +0 -7
  490. package/dist/ToggleGroup-DOk27fgI.js +0 -346
  491. package/dist/Tooltip-DHv6vAqW.d.ts +0 -57
  492. package/dist/UIConfigurator-BwLRfe-a.js +0 -6704
  493. package/dist/autocomplete-DeERHN8W.d.ts +0 -16
  494. package/dist/badgeButton.cva-CvN4CTx5.js +0 -300
  495. package/dist/check-DYMBkp_Z.js +0 -20
  496. package/dist/checkbox-DxIPDTK5.d.ts +0 -9
  497. package/dist/checkbox-group-B3BOVshI.d.ts +0 -9
  498. package/dist/chevron-down-B4Pr8bD3.js +0 -20
  499. package/dist/chevron-left-Dgo_b9wJ.js +0 -20
  500. package/dist/chevron-right-3nKJR5Bb.js +0 -20
  501. package/dist/chevron-up-D_Gqpb5M.js +0 -20
  502. package/dist/chevrons-right-DJPPn2fD.js +0 -44
  503. package/dist/components/inline-icon-button.d.ts +0 -2
  504. package/dist/components/inline-icon-button.js +0 -40
  505. package/dist/components/query-autocomplete.d.ts +0 -8
  506. package/dist/components/query-autocomplete.js +0 -134
  507. package/dist/components/query-select.d.ts +0 -2
  508. package/dist/components/query-select.js +0 -147
  509. package/dist/components/text-button.d.ts +0 -2
  510. package/dist/components/text-button.js +0 -35
  511. package/dist/config/app-canvas-tanstack.d.ts +0 -23
  512. package/dist/config/app-canvas-tanstack.js +0 -62
  513. package/dist/config/app-canvas.d.ts +0 -12
  514. package/dist/config/app-canvas.js +0 -2
  515. package/dist/config/ui-configurator-theme.d.ts +0 -2
  516. package/dist/config/ui-configurator-theme.js +0 -2
  517. package/dist/config/ui-configurator-vite.d.ts +0 -10
  518. package/dist/config/ui-configurator-vite.js +0 -174
  519. package/dist/config/ui-configurator.d.ts +0 -15
  520. package/dist/config/ui-configurator.js +0 -3
  521. package/dist/configuration.context-f_FSPWhQ.d.ts +0 -926
  522. package/dist/createLucideIcon-LcezOE4z.js +0 -240
  523. package/dist/date-picker-DnxDmlOW.d.ts +0 -9
  524. package/dist/date-range-picker-DHDOSvHN.d.ts +0 -9
  525. package/dist/date-time-picker-UkTa0OJ8.d.ts +0 -9
  526. package/dist/date.transforms-DLg-eFcE.js +0 -15
  527. package/dist/dropdownMenu.cva-DvEmX0bs.js +0 -34
  528. package/dist/dynamicInputs-ByVMnx4Z.d.ts +0 -772
  529. package/dist/dynamicInputs-CRMWIpHA.js +0 -194
  530. package/dist/dynamicInputs-m_DQu5q0.js +0 -214
  531. package/dist/fieldAdapter-C4sDFC8f.d.ts +0 -9
  532. package/dist/fieldAdapter-DjYls12j.js +0 -63
  533. package/dist/file-input-DkbkdI7l.d.ts +0 -9
  534. package/dist/file-upload-CTsPhxJk.d.ts +0 -10
  535. package/dist/form.types-CecYaerF.d.ts +0 -13
  536. package/dist/form.types-ZNGbcqJS.d.ts +0 -13
  537. package/dist/info-iUmX3uDk.js +0 -32
  538. package/dist/input-CdQNCPgH.d.ts +0 -8
  539. package/dist/input.cva-DJA8ovm_.js +0 -208
  540. package/dist/link.cva-DMTHZiJG.js +0 -12
  541. package/dist/number-field-CUDbenNV.d.ts +0 -8
  542. package/dist/number-range-input-DZGrcvjL.d.ts +0 -8
  543. package/dist/outline.clsx-50W_vNDl.js +0 -6
  544. package/dist/password-input-fYN20cQO.d.ts +0 -8
  545. package/dist/popover.cva-Bhud1wnp.js +0 -5
  546. package/dist/query-autocomplete-CfuQeiYG.d.ts +0 -14
  547. package/dist/query-select-CuT_sE6a.d.ts +0 -15
  548. package/dist/queryAutocomplete.types-tl3r6iaY.d.ts +0 -27
  549. package/dist/radio-group-B3ccPf0p.d.ts +0 -9
  550. package/dist/rhf/autocomplete.d.ts +0 -3
  551. package/dist/rhf/autocomplete.js +0 -8
  552. package/dist/rhf/checkbox-group.d.ts +0 -3
  553. package/dist/rhf/checkbox-group.js +0 -8
  554. package/dist/rhf/checkbox.d.ts +0 -3
  555. package/dist/rhf/checkbox.js +0 -8
  556. package/dist/rhf/date-picker.d.ts +0 -3
  557. package/dist/rhf/date-picker.js +0 -9
  558. package/dist/rhf/date-range-picker.d.ts +0 -3
  559. package/dist/rhf/date-range-picker.js +0 -9
  560. package/dist/rhf/date-time-picker.d.ts +0 -3
  561. package/dist/rhf/date-time-picker.js +0 -9
  562. package/dist/rhf/file-input.d.ts +0 -3
  563. package/dist/rhf/file-input.js +0 -6
  564. package/dist/rhf/file-upload.d.ts +0 -3
  565. package/dist/rhf/file-upload.js +0 -6
  566. package/dist/rhf/input.d.ts +0 -3
  567. package/dist/rhf/input.js +0 -6
  568. package/dist/rhf/inputs.d.ts +0 -4
  569. package/dist/rhf/inputs.js +0 -2
  570. package/dist/rhf/number-field.d.ts +0 -3
  571. package/dist/rhf/number-field.js +0 -6
  572. package/dist/rhf/number-range-input.d.ts +0 -3
  573. package/dist/rhf/number-range-input.js +0 -6
  574. package/dist/rhf/password-input.d.ts +0 -3
  575. package/dist/rhf/password-input.js +0 -6
  576. package/dist/rhf/query-autocomplete.d.ts +0 -2
  577. package/dist/rhf/query-autocomplete.js +0 -8
  578. package/dist/rhf/query-select.d.ts +0 -2
  579. package/dist/rhf/query-select.js +0 -8
  580. package/dist/rhf/radio-group.d.ts +0 -3
  581. package/dist/rhf/radio-group.js +0 -8
  582. package/dist/rhf/rich-text-editor.d.ts +0 -3
  583. package/dist/rhf/rich-text-editor.js +0 -6
  584. package/dist/rhf/select.d.ts +0 -3
  585. package/dist/rhf/select.js +0 -8
  586. package/dist/rhf/slider.d.ts +0 -3
  587. package/dist/rhf/slider.js +0 -6
  588. package/dist/rhf/switch.d.ts +0 -3
  589. package/dist/rhf/switch.js +0 -8
  590. package/dist/rhf/text-area.d.ts +0 -3
  591. package/dist/rhf/text-area.js +0 -6
  592. package/dist/rhf/time-picker.d.ts +0 -3
  593. package/dist/rhf/time-picker.js +0 -9
  594. package/dist/rhf/toggle-group.d.ts +0 -3
  595. package/dist/rhf/toggle-group.js +0 -6
  596. package/dist/rhf-t348TCCL.js +0 -256
  597. package/dist/rhf.d.ts +0 -106
  598. package/dist/rhf.js +0 -112
  599. package/dist/rich-text-editor-B-Onl7T8.d.ts +0 -8
  600. package/dist/select-B4a52eWW.d.ts +0 -16
  601. package/dist/selectDesktop.cva-CHAMxhfO.js +0 -69
  602. package/dist/slider-dNj9jruO.d.ts +0 -8
  603. package/dist/stepper.cva-CZ0Kj-s7.js +0 -116
  604. package/dist/style-merge.util-zLimKwt6.d.ts +0 -40
  605. package/dist/styles/app-canvas.css +0 -740
  606. package/dist/styles/color-utilities.css +0 -20
  607. package/dist/styles/configurator.css +0 -3280
  608. package/dist/switch-C--iWnY8.d.ts +0 -9
  609. package/dist/switch.cva-CWNzmdRc.d.ts +0 -16
  610. package/dist/table.cva-D5oQ-QvA.js +0 -101
  611. package/dist/tanstack/inputs.d.ts +0 -5
  612. package/dist/tanstack/inputs.js +0 -3
  613. package/dist/tanstack/query-autocomplete.d.ts +0 -2
  614. package/dist/tanstack/query-autocomplete.js +0 -2
  615. package/dist/tanstack/query-select.d.ts +0 -2
  616. package/dist/tanstack/query-select.js +0 -2
  617. package/dist/text-area-DQAtpOQp.d.ts +0 -8
  618. package/dist/theme-model-DtYPxNvH.js +0 -406
  619. package/dist/theme-model-T1zIdBg8.d.ts +0 -12
  620. package/dist/time-picker-DoGfbil6.d.ts +0 -9
  621. package/dist/toggle-group-C1nMDOwz.d.ts +0 -9
  622. package/dist/toggleGroup.cva-MbpaEBg1.js +0 -35
  623. package/dist/toggleGroup.types-Bp43zbSQ.d.ts +0 -59
  624. package/dist/typography.cva-D1JOEYl-.d.ts +0 -36
  625. package/dist/typography.cva-iD15k56p.js +0 -51
  626. package/dist/uiConfig.context-BS3r_kTS.js +0 -381
  627. package/dist/underline-66hmELxa.js +0 -81
  628. package/dist/upload-CXU83BJ4.js +0 -30
  629. package/dist/useFieldAccessibility-ScC6Mtd5.js +0 -102
  630. package/dist/useFormAutosave-DfuP7drj.js +0 -198
  631. package/dist/useQueryAutocomplete-CraXvRm_.js +0 -152
  632. package/dist/useTableColumnConfig-Di0_w80v.js +0 -892
  633. package/dist/useTableNav-Ckj5PBRk.d.ts +0 -292
  634. package/dist/x-B6vfz8Ps.js +0 -23
  635. package/dist/zod.utils-DrrPDT9v.js +0 -24
  636. package/rulesync.jsonc +0 -11
  637. package/scripts/generate-rules.mjs +0 -34
  638. package/src/configurator/README.md +0 -77
  639. package/dist/{import-BE0r63d8.js → import-D_3dPATF.js} +2 -2
  640. package/dist/{link.context-J7aQtMOr.js → link.context-TPjDtjw3.js} +1 -1
  641. package/dist/{router.context-B4FvsTim.js → router.context-MckTbHw9.js} +1 -1
  642. package/dist/{uiOverrides.context-BTCH9y5a.js → uiOverrides.context-DNEQlTx0.js} +1 -1
  643. package/dist/{useIntersectionObserver-DYfHnGGU.js → useIntersectionObserver-DFAhTsV0.js} +1 -1
  644. package/dist/{useLocalStorage-PlcaJ1tP.js → useLocalStorage-CctQvyqD.js} +1 -1
@@ -1,8 +1,8 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
- import { r as cva, t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
3
- import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
4
- import { t as typographyDefinition } from "./typography.cva-iD15k56p.js";
5
- import { t as Spinner } from "./Spinner-BeVTUzzx.js";
2
+ import { r as cva, t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
+ import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
4
+ import { t as typographyDefinition } from "./typography.cva-CHsHX_Wp.js";
5
+ import { t as Spinner } from "./Spinner-DqjP06T1.js";
6
6
  import { c } from "react/compiler-runtime";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region src/components/buttons/shared/buttonContent.cva.ts
@@ -18,15 +18,6 @@ const buttonContentLabel = cva("hyphens-auto md:truncate", {
18
18
  false: ""
19
19
  }
20
20
  },
21
- compoundVariants: [{
22
- iconPosition: "left",
23
- hideText: false,
24
- className: "mr-button-side-button-content"
25
- }, {
26
- iconPosition: "right",
27
- hideText: false,
28
- className: "ml-button-side-button-content"
29
- }],
30
21
  defaultVariants: {
31
22
  iconPosition: "none",
32
23
  hideText: false
@@ -86,7 +77,7 @@ const ButtonContent = (t0) => {
86
77
  if ($[9] !== endIconElement || $[10] !== hideText || $[11] !== startIconOrLoader || $[12] !== typographyCva || $[13] !== typographyOverrides) {
87
78
  const resolvedTypography = {
88
79
  size: "small",
89
- className: "font-bold",
80
+ className: "font-medium",
90
81
  ...typographyOverrides
91
82
  };
92
83
  t4 = startIconOrLoader;
@@ -1,129 +1,23 @@
1
- import { t as ChevronDown } from "./chevron-down-B4Pr8bD3.js";
2
- import { t as ChevronLeft } from "./chevron-left-Dgo_b9wJ.js";
3
- import { t as ChevronRight } from "./chevron-right-3nKJR5Bb.js";
4
- import { t as ChevronUp } from "./chevron-up-D_Gqpb5M.js";
5
- import { a as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6, i as CalendarGrid, r as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./DatePickerInput-BLBcySA2.js";
6
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
7
- import { t as IconSlot } from "./IconSlot-DSK7qNxc.js";
8
- import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-D6KlWSFL.js";
9
- import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-CL8Ar4Q_.js";
10
- import { n as $bc25b811ec97a172$export$40258cc1d95ff477 } from "./ToggleButton-BW1ensey.js";
11
- import { t as Typography } from "./Typography-LU4z2pR1.js";
2
+ import { t as IconSlot } from "./IconSlot-CqNuZl0E.js";
3
+ import { n as $7705c033048f6da7$export$353f5b6fc5456de1 } from "./Button-C1YB5dOw.js";
4
+ import { i as $928221da08ecbc62$export$a11e76429ed99b4, t as $928221da08ecbc62$export$41f133550aa26f48 } from "./ListBox-DhR5kojP.js";
5
+ import { n as $bc25b811ec97a172$export$40258cc1d95ff477 } from "./ToggleButton-P1z1pxzT.js";
6
+ import { t as Typography } from "./Typography-DCLnPa3P.js";
7
+ import { n as uiOutlineClass } from "./outline.clsx-DGGQQRkM.js";
12
8
  import { BadgeButton } from "./components/badge-button.js";
13
- import { t as useBreakpoint } from "./useBreakpoint-DQoMN-BG.js";
14
- import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CzXkZCX8.js";
15
- import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-CLDS_LRZ.js";
16
- import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-DtU63_dw.js";
17
- import { n as TimePickerForm } from "./datePickerValue.utils-DCgoSrP3.js";
9
+ import "./i18n-D1FWVTPi.js";
10
+ import { t as TimePickerForm } from "./TimePickerForm-itDjoV7V.js";
11
+ import { t as useScrollableListBox } from "./useScrollableListBox-oYKqU3Hp.js";
12
+ import { n as CalendarGrid, t as $1697a7ad3db7b79f$re_export$useDateFormatter } from "./import-C14g8ng0.js";
13
+ import { ChevronDown, ChevronLeft, ChevronRight, ChevronUp } from "lucide-react";
18
14
  import { useCallback, useEffect, useMemo, useRef, useState } from "react";
19
- import { c } from "react/compiler-runtime";
20
15
  import { jsx, jsxs } from "react/jsx-runtime";
21
- import { CalendarDateTime, DateFormatter, Time, toCalendarDate, toCalendarDateTime, today } from "@internationalized/date";
16
+ import { CalendarDateTime, Time, today } from "@internationalized/date";
17
+ import { useTranslation } from "react-i18next";
22
18
  import { useCalendar } from "@react-aria/calendar";
23
- //#region ../../node_modules/.bun/react-stately@3.50.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useDatePickerState.mjs
24
- function $28aae683a942e141$export$87194bb378cc3ac2(props) {
25
- let overlayState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
26
- let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
27
- let [initialValue] = useState(value);
28
- let v = value || props.placeholderValue || null;
29
- let [granularity, defaultTimeZone] = $8b141f2f71e88f85$export$2440da353cedad43(v, props.granularity);
30
- let dateValue = value != null ? value.toDate(defaultTimeZone ?? "UTC") : null;
31
- let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
32
- let shouldCloseOnSelect = props.shouldCloseOnSelect ?? true;
33
- let [selectedDate, setSelectedDate] = useState(null);
34
- let [selectedTime, setSelectedTime] = useState(null);
35
- if (value) {
36
- selectedDate = value;
37
- if ("hour" in value) selectedTime = value;
38
- }
39
- if (v && !(granularity in v)) throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
40
- let showEra = value?.calendar.identifier === "gregory" && value.era === "BC";
41
- let formatOpts = useMemo(() => ({
42
- granularity,
43
- timeZone: defaultTimeZone,
44
- hideTimeZone: props.hideTimeZone,
45
- hourCycle: props.hourCycle,
46
- shouldForceLeadingZeros: props.shouldForceLeadingZeros,
47
- showEra
48
- }), [
49
- granularity,
50
- props.hourCycle,
51
- props.shouldForceLeadingZeros,
52
- defaultTimeZone,
53
- props.hideTimeZone,
54
- showEra
55
- ]);
56
- let { minValue, maxValue, isDateUnavailable } = props;
57
- let builtinValidation = useMemo(() => $8b141f2f71e88f85$export$f18627323ab57ac0(value, minValue, maxValue, isDateUnavailable, formatOpts), [
58
- value,
59
- minValue,
60
- maxValue,
61
- isDateUnavailable,
62
- formatOpts
63
- ]);
64
- let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
65
- ...props,
66
- value,
67
- builtinValidation
68
- });
69
- let isValueInvalid = validation.displayValidation.isInvalid;
70
- let validationState = props.validationState || (isValueInvalid ? "invalid" : null);
71
- let commitValue = (date, time) => {
72
- setValue("timeZone" in time ? time.set(toCalendarDate(date)) : toCalendarDateTime(date, time));
73
- setSelectedDate(null);
74
- setSelectedTime(null);
75
- validation.commitValidation();
76
- };
77
- let selectDate = (newValue) => {
78
- let shouldClose = typeof shouldCloseOnSelect === "function" ? shouldCloseOnSelect() : shouldCloseOnSelect;
79
- if (hasTime) {
80
- if (selectedTime || shouldClose) commitValue(newValue, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
81
- else setSelectedDate(newValue);
82
- } else {
83
- setValue(newValue);
84
- validation.commitValidation();
85
- }
86
- if (shouldClose) overlayState.setOpen(false);
87
- };
88
- let selectTime = (newValue) => {
89
- if (selectedDate && newValue) commitValue(selectedDate, newValue);
90
- else setSelectedTime(newValue);
91
- };
92
- return {
93
- ...validation,
94
- value,
95
- defaultValue: props.defaultValue ?? initialValue,
96
- setValue,
97
- dateValue: selectedDate,
98
- timeValue: selectedTime,
99
- setDateValue: selectDate,
100
- setTimeValue: selectTime,
101
- granularity,
102
- hasTime,
103
- ...overlayState,
104
- setOpen(isOpen) {
105
- if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
106
- overlayState.setOpen(isOpen);
107
- },
108
- validationState,
109
- isInvalid: isValueInvalid,
110
- formatValue(locale, fieldOptions) {
111
- if (!dateValue) return "";
112
- let formatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0(fieldOptions, formatOpts);
113
- return new DateFormatter(locale, formatOptions).format(dateValue);
114
- },
115
- getDateFormatter(locale, formatOptions) {
116
- let newOptions = {
117
- ...formatOpts,
118
- ...formatOptions
119
- };
120
- let newFormatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0({}, newOptions);
121
- return new DateFormatter(locale, newFormatOptions);
122
- }
123
- };
124
- }
125
- //#endregion
126
19
  //#region src/components/inputs/DateTime/shared/CalendarHeader.tsx
20
+ const calendarNavButtonClassName = clsx("inline-flex size-8 shrink-0 items-center justify-center rounded-md p-0 transition-all select-none", "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50 disabled:pointer-events-none", uiOutlineClass);
127
21
  const HourCycle = {
128
22
  12: "h12",
129
23
  24: "h23"
@@ -132,6 +26,7 @@ const getTimeFormatterDate = (timeValue, timeZone) => {
132
26
  return new CalendarDateTime(2e3, 1, 1, timeValue.hour, timeValue.minute).toDate(timeZone);
133
27
  };
134
28
  const CalendarHeader = ({ calendarState, datePickerState, prevButtonProps, nextButtonProps, includesTime, isTimeOptional, hourCycle, granularity = "day", toggleState, setToggleState }) => {
29
+ const { t } = useTranslation("ui");
135
30
  const formatter = $1697a7ad3db7b79f$re_export$useDateFormatter({
136
31
  month: "long",
137
32
  timeZone: calendarState.timeZone
@@ -151,21 +46,19 @@ const CalendarHeader = ({ calendarState, datePickerState, prevButtonProps, nextB
151
46
  timeLabel = timeFormatter.format(date);
152
47
  }
153
48
  return /* @__PURE__ */ jsxs("div", {
154
- className: "inline-flex w-full items-center justify-between border-border-default-subtle border-b border-solid px-1",
49
+ className: "flex w-full items-center justify-between gap-1 p-3",
155
50
  children: [
156
51
  /* @__PURE__ */ jsx("div", {
157
- className: clsx("inline-flex h-12 items-center", includesTime ? "p-1 md:p-3" : "p-3"),
52
+ className: "inline-flex items-center",
158
53
  children: /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
159
54
  ...prevButtonProps,
160
55
  isDisabled: !!toggleState,
161
- className: clsx("shrink-0 focus-visible:outline-interactive-ring", !!toggleState && "opacity-0"),
162
- children: /* @__PURE__ */ jsx(IconSlot, {
163
- icon: ChevronLeft,
164
- className: "text-interactive-primary-background"
165
- })
56
+ className: clsx(calendarNavButtonClassName, !!toggleState && "opacity-0"),
57
+ children: /* @__PURE__ */ jsx(IconSlot, { icon: ChevronLeft })
166
58
  })
167
59
  }),
168
60
  /* @__PURE__ */ jsxs($bc25b811ec97a172$export$40258cc1d95ff477, {
61
+ "aria-label": t(($) => $.ui.datePicker.calendarNavigation),
169
62
  className: "flex gap-2",
170
63
  children: [
171
64
  granularity !== "year" && /* @__PURE__ */ jsx(BadgeButton, {
@@ -225,15 +118,12 @@ const CalendarHeader = ({ calendarState, datePickerState, prevButtonProps, nextB
225
118
  ]
226
119
  }),
227
120
  /* @__PURE__ */ jsx("div", {
228
- className: clsx("inline-flex h-12 items-center", includesTime ? "p-1 md:p-3" : "p-3"),
121
+ className: "inline-flex items-center",
229
122
  children: /* @__PURE__ */ jsx($7705c033048f6da7$export$353f5b6fc5456de1, {
230
123
  ...nextButtonProps,
231
124
  isDisabled: !!toggleState,
232
- className: clsx("shrink-0 focus-visible:outline-interactive-ring", !!toggleState && "opacity-0"),
233
- children: /* @__PURE__ */ jsx(IconSlot, {
234
- icon: ChevronRight,
235
- className: "text-interactive-primary-background"
236
- })
125
+ className: clsx(calendarNavButtonClassName, !!toggleState && "opacity-0"),
126
+ children: /* @__PURE__ */ jsx(IconSlot, { icon: ChevronRight })
237
127
  })
238
128
  })
239
129
  ]
@@ -312,10 +202,10 @@ const MonthPicker = ({ state, onSelectionChange, onDateChange, onCommit, selecte
312
202
  if (monthNumber !== selectedMonth) return;
313
203
  onCommit?.();
314
204
  },
315
- className: clsx("flex items-center justify-center text-surface-default-foreground", "rounded-button-rounding-default border border-border-default-subtle border-solid bg-surface-default-card", "not-selected:not-disabled:hover:text-state-surface-default-foreground/hover", "selected:border-interactive-primary-background selected:bg-interactive-primary-background selected:text-interactive-primary-foreground", "focus:outline-none focus-visible:outline-1 focus-visible:outline-interactive-ring focus-visible:outline-offset-1", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
205
+ className: clsx("flex items-center justify-center rounded-md border border-solid text-sm font-medium shadow-xs transition-all", "not-selected:border-border not-selected:bg-background not-selected:text-foreground", "dark:not-selected:border-input dark:not-selected:bg-input/30", "not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground", "dark:not-selected:not-disabled:hover:bg-input/50", "selected:border-primary selected:bg-primary selected:text-primary-foreground", uiOutlineClass, "not-selected:focus-visible:border-ring", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
316
206
  children: /* @__PURE__ */ jsx(Typography, {
317
207
  as: "span",
318
- size: "small",
208
+ size: "body",
319
209
  children: month
320
210
  })
321
211
  }, monthNumber);
@@ -323,49 +213,6 @@ const MonthPicker = ({ state, onSelectionChange, onDateChange, onCommit, selecte
323
213
  });
324
214
  };
325
215
  //#endregion
326
- //#region src/hooks/useScrollableListBox.ts
327
- function useScrollableListBox() {
328
- const $ = c(4);
329
- const ref = useRef(null);
330
- const isDesktop = useBreakpoint("md");
331
- let t0;
332
- let t1;
333
- if ($[0] !== isDesktop) {
334
- t0 = () => {
335
- const node = ref.current;
336
- if (!node || isDesktop) return;
337
- const onPointerDownCapture = _temp;
338
- const onClickCapture = _temp2;
339
- node.addEventListener("pointerdown", onPointerDownCapture);
340
- node.addEventListener("click", onClickCapture);
341
- return () => {
342
- node.removeEventListener("pointerdown", onPointerDownCapture);
343
- node.removeEventListener("click", onClickCapture);
344
- };
345
- };
346
- t1 = [ref, isDesktop];
347
- $[0] = isDesktop;
348
- $[1] = t0;
349
- $[2] = t1;
350
- } else {
351
- t0 = $[1];
352
- t1 = $[2];
353
- }
354
- useEffect(t0, t1);
355
- let t2;
356
- if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
357
- t2 = { ref };
358
- $[3] = t2;
359
- } else t2 = $[3];
360
- return t2;
361
- }
362
- function _temp2(e_0) {
363
- if (e_0.currentTarget?.contains(e_0.target) && e_0.target !== e_0.currentTarget) e_0.target.click();
364
- }
365
- function _temp(e) {
366
- e.stopPropagation();
367
- }
368
- //#endregion
369
216
  //#region src/components/inputs/DateTime/shared/YearPicker.tsx
370
217
  const YearPicker = ({ state, onSelectionChange, onDateChange, onCommit, selectedDate }) => {
371
218
  const formatter = $1697a7ad3db7b79f$re_export$useDateFormatter({
@@ -446,10 +293,10 @@ const YearPicker = ({ state, onSelectionChange, onDateChange, onCommit, selected
446
293
  if (index !== selectedYearIndex) return;
447
294
  onCommit?.();
448
295
  },
449
- className: clsx("flex px-4 py-2 text-surface-default-foreground outline-none", "border-border-default-subtle border-b border-solid bg-surface-default-card last:border-b-0", "not-selected:not-disabled:hover:text-state-surface-default-foreground/hover", "selected:bg-interactive-primary-background selected:text-interactive-primary-foreground", "focus-visible:bg-state-interactive-primary-background/focus focus-visible:text-interactive-primary-foreground", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
296
+ className: clsx("flex border-b border-border border-solid px-4 py-2 text-sm outline-none last:border-b-0", "not-selected:text-foreground", "not-selected:not-disabled:hover:bg-accent not-selected:not-disabled:hover:text-accent-foreground", "not-selected:focus-visible:bg-accent not-selected:focus-visible:text-accent-foreground", "selected:bg-primary selected:text-primary-foreground", isDisabled ? "cursor-default opacity-50" : "cursor-pointer"),
450
297
  children: /* @__PURE__ */ jsx(Typography, {
451
298
  as: "span",
452
- size: "small",
299
+ size: "body",
453
300
  children: year.formatted
454
301
  })
455
302
  }, index);
@@ -571,6 +418,7 @@ const Calendar = ({ showWeekNumbers, className, includesTime, datePickerState, h
571
418
  });
572
419
  return /* @__PURE__ */ jsx(CalendarGrid, {
573
420
  showWeekNumbers,
421
+ firstDayOfWeek: props.calendarProps.firstDayOfWeek,
574
422
  state: props.state,
575
423
  onApply: handleDateChange,
576
424
  onDoubleClickApply: !includesTime ? onApply : void 0,
@@ -628,4 +476,4 @@ const Calendar = ({ showWeekNumbers, className, includesTime, datePickerState, h
628
476
  });
629
477
  };
630
478
  //#endregion
631
- export { useScrollableListBox as n, $28aae683a942e141$export$87194bb378cc3ac2 as r, Calendar as t };
479
+ export { Calendar };
@@ -0,0 +1,131 @@
1
+ import { t as Spinner } from "./Spinner-DqjP06T1.js";
2
+ import { r as $f11fb0bcf1b2687a$export$61c6a8c84e605fb6 } from "./DatePickerInput-2CZtsxdK.js";
3
+ import { t as $3e6197669829fe11$export$40bfa8c7b0832715 } from "./useControlledState-CuU1VIh1.js";
4
+ import { i as $fd2148440a13ec26$export$fc1a364ae1f3ff10 } from "./NumberFormatter-DYarfm5F.js";
5
+ import { f as $8b141f2f71e88f85$export$2440da353cedad43, g as $8b141f2f71e88f85$export$f18627323ab57ac0, h as $8b141f2f71e88f85$export$c5221a78ef73c5e9, p as $8b141f2f71e88f85$export$7e319ea407e63bc0 } from "./staticDateTimeSegments-bPuA-a2Y.js";
6
+ import { Suspense, lazy, useMemo, useState } from "react";
7
+ import { jsx } from "react/jsx-runtime";
8
+ import { DateFormatter, toCalendarDate, toCalendarDateTime } from "@internationalized/date";
9
+ //#region ../../node_modules/.bun/react-stately@3.51.0+83d5fd7b249dbeef/node_modules/react-stately/dist/private/datepicker/useDatePickerState.mjs
10
+ function $28aae683a942e141$export$87194bb378cc3ac2(props) {
11
+ let overlayState = $f11fb0bcf1b2687a$export$61c6a8c84e605fb6(props);
12
+ let [value, setValue] = $3e6197669829fe11$export$40bfa8c7b0832715(props.value, props.defaultValue || null, props.onChange);
13
+ let [initialValue] = useState(value);
14
+ let v = value || props.placeholderValue || null;
15
+ let [granularity, defaultTimeZone] = $8b141f2f71e88f85$export$2440da353cedad43(v, props.granularity);
16
+ let dateValue = value != null ? value.toDate(defaultTimeZone ?? "UTC") : null;
17
+ let hasTime = granularity === "hour" || granularity === "minute" || granularity === "second";
18
+ let shouldCloseOnSelect = props.shouldCloseOnSelect ?? true;
19
+ let [selectedDate, setSelectedDate] = useState(null);
20
+ let [selectedTime, setSelectedTime] = useState(null);
21
+ if (value) {
22
+ selectedDate = value;
23
+ if ("hour" in value) selectedTime = value;
24
+ }
25
+ if (v && !(granularity in v)) throw new Error("Invalid granularity " + granularity + " for value " + v.toString());
26
+ let showEra = value?.calendar.identifier === "gregory" && value.era === "BC";
27
+ let formatOpts = useMemo(() => ({
28
+ granularity,
29
+ timeZone: defaultTimeZone,
30
+ hideTimeZone: props.hideTimeZone,
31
+ hourCycle: props.hourCycle,
32
+ shouldForceLeadingZeros: props.shouldForceLeadingZeros,
33
+ showEra
34
+ }), [
35
+ granularity,
36
+ props.hourCycle,
37
+ props.shouldForceLeadingZeros,
38
+ defaultTimeZone,
39
+ props.hideTimeZone,
40
+ showEra
41
+ ]);
42
+ let { minValue, maxValue, isDateUnavailable } = props;
43
+ let builtinValidation = useMemo(() => $8b141f2f71e88f85$export$f18627323ab57ac0(value, minValue, maxValue, isDateUnavailable, formatOpts), [
44
+ value,
45
+ minValue,
46
+ maxValue,
47
+ isDateUnavailable,
48
+ formatOpts
49
+ ]);
50
+ let validation = $fd2148440a13ec26$export$fc1a364ae1f3ff10({
51
+ ...props,
52
+ value,
53
+ builtinValidation
54
+ });
55
+ let isValueInvalid = validation.displayValidation.isInvalid;
56
+ let validationState = props.validationState || (isValueInvalid ? "invalid" : null);
57
+ let commitValue = (date, time) => {
58
+ setValue("timeZone" in time ? time.set(toCalendarDate(date)) : toCalendarDateTime(date, time));
59
+ setSelectedDate(null);
60
+ setSelectedTime(null);
61
+ validation.commitValidation();
62
+ };
63
+ let selectDate = (newValue) => {
64
+ let shouldClose = typeof shouldCloseOnSelect === "function" ? shouldCloseOnSelect() : shouldCloseOnSelect;
65
+ if (hasTime) {
66
+ if (selectedTime || shouldClose) commitValue(newValue, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
67
+ else setSelectedDate(newValue);
68
+ } else {
69
+ setValue(newValue);
70
+ validation.commitValidation();
71
+ }
72
+ if (shouldClose) overlayState.setOpen(false);
73
+ };
74
+ let selectTime = (newValue) => {
75
+ if (selectedDate && newValue) commitValue(selectedDate, newValue);
76
+ else setSelectedTime(newValue);
77
+ };
78
+ return {
79
+ ...validation,
80
+ value,
81
+ defaultValue: props.defaultValue ?? initialValue,
82
+ setValue,
83
+ dateValue: selectedDate,
84
+ timeValue: selectedTime,
85
+ setDateValue: selectDate,
86
+ setTimeValue: selectTime,
87
+ granularity,
88
+ hasTime,
89
+ ...overlayState,
90
+ setOpen(isOpen) {
91
+ if (!isOpen && !value && selectedDate && hasTime) commitValue(selectedDate, selectedTime || $8b141f2f71e88f85$export$c5221a78ef73c5e9(props.defaultValue || props.placeholderValue));
92
+ overlayState.setOpen(isOpen);
93
+ },
94
+ validationState,
95
+ isInvalid: isValueInvalid,
96
+ formatValue(locale, fieldOptions) {
97
+ if (!dateValue) return "";
98
+ let formatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0(fieldOptions, formatOpts);
99
+ return new DateFormatter(locale, formatOptions).format(dateValue);
100
+ },
101
+ getDateFormatter(locale, formatOptions) {
102
+ let newOptions = {
103
+ ...formatOpts,
104
+ ...formatOptions
105
+ };
106
+ let newFormatOptions = $8b141f2f71e88f85$export$7e319ea407e63bc0({}, newOptions);
107
+ return new DateFormatter(locale, newFormatOptions);
108
+ }
109
+ };
110
+ }
111
+ //#endregion
112
+ //#region src/components/inputs/DateTime/shared/Calendar.lazy.tsx
113
+ const loadCalendar = () => import("./Calendar-Cr6B7SDx.js");
114
+ const CalendarRenderer = lazy(() => loadCalendar().then(({ Calendar }) => ({ default: Calendar })));
115
+ /** Fetches the calendar chunk ahead of the dialog opening (hover, focus). */
116
+ const preloadCalendar = () => {
117
+ loadCalendar();
118
+ };
119
+ /**
120
+ * Calendar that only loads its grid, month/year pickers and time form when a picker dialog opens.
121
+ * The fallback reserves the grid's size so the popover does not jump once the chunk arrives.
122
+ */
123
+ const Calendar = (props) => /* @__PURE__ */ jsx(Suspense, {
124
+ fallback: /* @__PURE__ */ jsx("div", {
125
+ className: "flex h-72 w-full items-center justify-center md:w-80",
126
+ children: /* @__PURE__ */ jsx(Spinner, {})
127
+ }),
128
+ children: /* @__PURE__ */ jsx(CalendarRenderer, { ...props })
129
+ });
130
+ //#endregion
131
+ export { preloadCalendar as n, $28aae683a942e141$export$87194bb378cc3ac2 as r, Calendar as t };
@@ -1,6 +1,6 @@
1
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
2
- import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
3
- import { t as typographyDefinition } from "./typography.cva-iD15k56p.js";
2
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
+ import { t as typographyDefinition } from "./typography.cva-CHsHX_Wp.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region src/components/inputs/shared/CheckContent.tsx
6
6
  const CheckContent = ({ children, className, contentClassName, ...props }) => {
@@ -1,15 +1,15 @@
1
- import { t as UIConfig } from "./uiConfig.context-BS3r_kTS.js";
2
- import { c as checkboxIndicatorClass, l as checkboxTypography, n as checkboxContentClassName, t as CheckboxCheckmark } from "./CheckboxCheckmark-CpC3wlMs.js";
3
1
  import { t as clsx } from "./clsx-CnD0nOiA.js";
4
- import { t as UIOverrides } from "./uiOverrides.context-BTCH9y5a.js";
5
- import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-Czcqspm7.js";
6
- import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-B2-B-uFY.js";
7
- import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D2MPZ3sY.js";
8
- import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-DlQcyN1f.js";
9
- import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-BE0r63d8.js";
10
- import { t as FieldController } from "./form.binding-CG1RPv6o.js";
11
- import { t as FormFieldError } from "./FormFieldError-DeOHHLo2.js";
12
- import { t as CheckContent } from "./CheckContent-D7sZPmzx.js";
2
+ import { t as UIOverrides } from "./uiOverrides.context-DNEQlTx0.js";
3
+ import { c as $7230ffa83bc0c2cf$export$ef03459518577ad4, i as $7230ffa83bc0c2cf$export$9d4c57ee4c6ffdd8, l as $7230ffa83bc0c2cf$export$fabf2dc03a41866e, n as $7230ffa83bc0c2cf$export$29f1550f4b0d4415, r as $7230ffa83bc0c2cf$export$4d86445c2cf5e3, s as $7230ffa83bc0c2cf$export$df3a06d6289f983e, t as $7230ffa83bc0c2cf$export$2881499e37b75b9a } from "./utils-BkLF-JA3.js";
4
+ import { t as $43a3b93638fe5db9$export$75b6ee27786ba447 } from "./Label-BGvF9vWx.js";
5
+ import { t as $efe09c6d1c304b50$export$9afb8bc826b033ea } from "./Text-D72yc4S6.js";
6
+ import { n as $1f3c3b1a70cec653$export$ff05c3ac10437e03, t as $cdaed739b1139372$export$c24727297075ec6a } from "./Form-CqF1SaVw.js";
7
+ import { t as UIConfig } from "./uiConfig.context-3DN9w6oU.js";
8
+ import { c as checkboxTypography, s as checkboxIndicatorClass, t as checkboxContentClassName } from "./checkbox.cva-aLJS7v4z.js";
9
+ import { t as FormFieldError } from "./FormFieldError-DTT5TUQ1.js";
10
+ import { t as CheckContent } from "./CheckContent-BKLnTPZr.js";
11
+ import { t as useFieldAccessibility } from "./useFieldAccessibility-eZIMECmG.js";
12
+ import { t as CheckboxCheckmark } from "./CheckboxCheckmark-DWsYVZuu.js";
13
13
  import $ahdqC$react, { createContext, forwardRef, memo, useContext, useMemo } from "react";
14
14
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
15
15
  import { mergeProps } from "react-aria/mergeProps";
@@ -23,7 +23,7 @@ import { useCheckboxGroup, useCheckboxGroupItem } from "react-aria/useCheckboxGr
23
23
  import { useCheckbox } from "react-aria/useCheckbox";
24
24
  import { useCheckboxGroupState } from "react-stately/useCheckboxGroupState";
25
25
  import { useToggleState } from "react-stately/useToggleState";
26
- //#region ../../node_modules/.bun/react-aria-components@1.21.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Checkbox.mjs
26
+ //#region ../../node_modules/.bun/react-aria-components@1.22.1+67f6792bdf102c28/node_modules/react-aria-components/dist/private/Checkbox.mjs
27
27
  const $ed8ccb2e23e76301$export$b085522c77523c51 = /*#__PURE__*/ createContext(null);
28
28
  const $ed8ccb2e23e76301$export$baf37c4be89255b8 = /*#__PURE__*/ createContext(null);
29
29
  const $ed8ccb2e23e76301$export$139c5b8563afc1fc = /*#__PURE__*/ createContext(null);
@@ -161,7 +161,12 @@ const CheckboxBase = (props) => {
161
161
  const variant = variantProp ?? ui.checkbox.variant;
162
162
  const hideLabel = hideLabelProp ?? ui.input.hideLabel;
163
163
  const fireBlurOnChange = fireBlurOnChangeProp ?? ui.checkbox.fireBlurOnChange;
164
+ const accessibility = useFieldAccessibility({
165
+ describedBy: rest["aria-describedby"],
166
+ error: hideError ? void 0 : error
167
+ });
164
168
  const formFieldErrorProps = {
169
+ id: accessibility.errorMessageId,
165
170
  error,
166
171
  isDisabled: resolvedIsDisabled
167
172
  };
@@ -174,8 +179,9 @@ const CheckboxBase = (props) => {
174
179
  isDisabled: resolvedIsDisabled,
175
180
  isInvalid: !!error,
176
181
  isRequired,
177
- "aria-label": hideLabel && typeof children === "string" ? children : void 0,
178
- "aria-errormessage": error || void 0,
182
+ "aria-label": rest["aria-label"] ?? (!rest["aria-labelledby"] && hideLabel && typeof children === "string" ? children : void 0),
183
+ "aria-describedby": accessibility.describedBy,
184
+ "aria-errormessage": rest["aria-errormessage"] ?? accessibility.errorMessageId,
179
185
  "data-is-dirty": props.isDirty || void 0,
180
186
  "data-is-required": props.isRequired || void 0,
181
187
  onChange: handleChange,
@@ -198,30 +204,7 @@ const CheckboxBase = (props) => {
198
204
  })]
199
205
  }), !hideError && /* @__PURE__ */ jsx(FormFieldError, { ...formFieldErrorProps })] });
200
206
  };
201
- const CheckboxComponent = (props) => {
202
- if ("field" in props && props.field) {
203
- const { field, ref, ...innerProps } = props;
204
- return /* @__PURE__ */ jsx(FieldController, {
205
- control: field.form,
206
- name: field.name,
207
- render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(CheckboxBase, {
208
- ...innerProps,
209
- ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
210
- isSelected: field.value,
211
- onChange: (value) => {
212
- field.onChange(value);
213
- field.onBlur();
214
- },
215
- onBlur: field.onBlur,
216
- name: field.name,
217
- isDirty,
218
- isDisabled: field.disabled || props.isDisabled,
219
- error: props.error ?? error?.message
220
- })
221
- });
222
- }
223
- return /* @__PURE__ */ jsx(CheckboxBase, { ...props });
224
- };
207
+ const CheckboxComponent = (props) => /* @__PURE__ */ jsx(CheckboxBase, { ...props });
225
208
  const Checkbox = memo(CheckboxComponent);
226
209
  //#endregion
227
210
  export { CheckboxBase as n, $ed8ccb2e23e76301$export$4aa08d5625cb8ead as r, Checkbox as t };
@@ -1,7 +1,5 @@
1
- import { n as FieldValues } from "./form.binding-DVJ5F0JE.js";
2
- import { t as CheckboxVariantProps } from "./checkbox.cva-t1Ox50hy.js";
3
1
  import { t as FormFieldErrorProps } from "./FormFieldError-BT4uxbKY.js";
4
- import { t as ControlProps } from "./form.types-CecYaerF.js";
2
+ import { t as CheckboxVariantProps } from "./checkbox.cva-CCh_UlrC.js";
5
3
  import { ComponentType, ReactNode, Ref, SVGProps } from "react";
6
4
  import { CheckboxProps } from "react-aria-components";
7
5
  //#region src/components/inputs/Checkbox/Checkbox.d.ts
@@ -18,9 +16,12 @@ interface CheckboxBaseProps extends FormFieldErrorProps, CheckboxVariantProps, O
18
16
  labelClassName?: string;
19
17
  }
20
18
  declare const CheckboxBase: (props: CheckboxBaseProps) => import("react").JSX.Element;
21
- type CheckboxProps$1 = CheckboxBaseProps;
22
- type ControlledCheckboxProps<TFieldValues extends FieldValues> = ControlProps<CheckboxProps$1, TFieldValues, "isSelected">;
23
- declare const CheckboxComponent: <TFieldValues extends FieldValues>(props: ControlledCheckboxProps<TFieldValues>) => import("react").JSX.Element;
24
- declare const Checkbox: typeof CheckboxComponent;
19
+ type CheckboxProps$1 = CheckboxBaseProps & {
20
+ field?: never;
21
+ };
22
+ declare const CheckboxComponent: (props: CheckboxProps$1 & {
23
+ field?: never;
24
+ }) => import("react").JSX.Element;
25
+ declare const Checkbox: import("react").MemoExoticComponent<typeof CheckboxComponent>;
25
26
  //#endregion
26
- export { ControlledCheckboxProps as a, CheckboxProps$1 as i, CheckboxBase as n, CheckboxBaseProps as r, Checkbox as t };
27
+ export { CheckboxProps$1 as a, CheckboxComponent as i, CheckboxBase as n, CheckboxBaseProps as r, Checkbox as t };
@@ -0,0 +1,33 @@
1
+ import { n as CheckboxBase } from "./Checkbox-Bjsbx-wK.js";
2
+ import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "./import-D_3dPATF.js";
3
+ import { t as FieldController } from "./form.binding-DOR5gIQf.js";
4
+ import { memo } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region src/components/inputs/Checkbox/Checkbox.bound.tsx
7
+ const CheckboxComponent = (props) => {
8
+ const { field, ref, ...innerProps } = props;
9
+ return /* @__PURE__ */ jsx(FieldController, {
10
+ control: field.form,
11
+ name: field.name,
12
+ onValueChange: field.onValueChange,
13
+ onBlur: field.onBlur,
14
+ render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(CheckboxBase, {
15
+ ...innerProps,
16
+ fireBlurOnChange: false,
17
+ ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
18
+ isSelected: field.value ?? false,
19
+ onChange: (value) => {
20
+ field.onChange(value);
21
+ field.onValueCommit();
22
+ },
23
+ onBlur: field.onBlur,
24
+ name: field.name,
25
+ isDirty,
26
+ isDisabled: field.disabled || props.isDisabled,
27
+ error: props.error ?? error?.message
28
+ })
29
+ });
30
+ };
31
+ const Checkbox = memo(CheckboxComponent);
32
+ //#endregion
33
+ export { Checkbox as t };
@@ -0,0 +1,9 @@
1
+ import { a as CheckboxProps$1 } from "./Checkbox-w2j5hLOQ.js";
2
+ import { n as FieldValues, t as FormControlProps } from "./form.types-C8P4sznq.js";
3
+ //#region src/components/inputs/Checkbox/Checkbox.bound.d.ts
4
+ type ControlledCheckboxProps<TFieldValues extends FieldValues> = FormControlProps<CheckboxProps$1, TFieldValues, "isSelected">;
5
+ type CheckboxProps<TFieldValues extends FieldValues = FieldValues> = ControlledCheckboxProps<TFieldValues>;
6
+ declare const CheckboxComponent: <TFieldValues extends FieldValues>(props: ControlledCheckboxProps<TFieldValues>) => import("react").JSX.Element;
7
+ declare const Checkbox: typeof CheckboxComponent;
8
+ //#endregion
9
+ export { CheckboxProps as n, ControlledCheckboxProps as r, Checkbox as t };