@povio/ui 5.0.0-rc.9 → 5.0.0

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/README.md +272 -58
  2. package/dist/{Accordion-BzwO4_ml.js → Accordion-ORBin0EZ.js} +13 -119
  3. package/dist/{Alert-DfiJbKH0.d.ts → Alert-24ruR0iF.d.ts} +3 -3
  4. package/dist/{AlertDialog-OWTbR4km.d.ts → AlertDialog-Co3gNMwE.d.ts} +3 -3
  5. package/dist/Autocomplete-BQ9ZQoJt.d.ts +23 -0
  6. package/dist/Autocomplete-DbALLWP0.js +145 -0
  7. package/dist/Autocomplete.bound-DCPZBYKR.js +28 -0
  8. package/dist/Autocomplete.bound-DCbFBXjJ.d.ts +9 -0
  9. package/dist/{Badge-CBNpj823.d.ts → Badge-DZLVacMd.d.ts} +2 -2
  10. package/dist/{BadgeButton-Ccgt3oGO.d.ts → BadgeButton-coK9Fzoc.d.ts} +2 -2
  11. package/dist/{BottomSheet-DbQuzfAB.d.ts → BottomSheet-BlcmdfAT.d.ts} +1 -1
  12. package/dist/{BottomSheet-BXLE3161.js → BottomSheet-CGipksM_.js} +12 -86
  13. package/dist/{BottomSheet.lazy-D9LCEo7s.d.ts → BottomSheet.lazy-CGjuurej.d.ts} +1 -1
  14. package/dist/{Breadcrumbs-CUV6CU8Q.d.ts → Breadcrumbs-DfREVuAC.d.ts} +1 -1
  15. package/dist/{Breadcrumbs-FF8hMfXd.js → Breadcrumbs-a1-q_he0.js} +20 -17
  16. package/dist/{Button-D6KlWSFL.js → Button-C1YB5dOw.js} +3 -3
  17. package/dist/Button-Cphxmj43.d.ts +13 -0
  18. package/dist/Button-dRFJundh.js +16 -0
  19. package/dist/ButtonBase-BCYFCbSV.js +87 -0
  20. package/dist/ButtonBase-CfSqmiom.d.ts +32 -0
  21. package/dist/{ButtonContent-c7lJayVQ.js → ButtonContent-Dztbuz3q.js} +5 -14
  22. package/dist/{Calendar-BTjajO6i.js → Calendar-B9jqOJB6.js} +29 -181
  23. package/dist/Calendar.lazy-4d7pbB4k.js +131 -0
  24. package/dist/{CheckContent-D7sZPmzx.js → CheckContent-BKLnTPZr.js} +2 -2
  25. package/dist/{Checkbox-DVTWaMKa.d.ts → Checkbox-D2VVq5Bi.d.ts} +9 -8
  26. package/dist/{Checkbox-CV1ILXXO.js → Checkbox-DYeofZzs.js} +21 -38
  27. package/dist/Checkbox.bound-DyQFIVCw.js +33 -0
  28. package/dist/Checkbox.bound-Hdvnrnwb.d.ts +9 -0
  29. package/dist/CheckboxCheckmark-DYhxLfZN.js +25 -0
  30. package/dist/CheckboxGroup-CK_tTvvI.js +141 -0
  31. package/dist/CheckboxGroup-CTkBMnBN.d.ts +30 -0
  32. package/dist/CheckboxGroup.bound-C6e91DCT.d.ts +9 -0
  33. package/dist/CheckboxGroup.bound-DyCp83EI.js +32 -0
  34. package/dist/ComboBox-ChsdI0lt.js +212 -0
  35. package/dist/{DatePicker-8xSs_jNd.d.ts → DatePicker-1VbVBI4l.d.ts} +21 -10
  36. package/dist/{DatePicker-DOLL7mkc.js → DatePicker-CJj3Gp_S.js} +47 -54
  37. package/dist/DatePicker.bound-BWPOirPV.js +36 -0
  38. package/dist/DatePicker.bound-ZvJi_V8D.d.ts +9 -0
  39. package/dist/{DatePickerInput-D81ZJ3fT.d.ts → DatePickerInput-B8UhMVP6.d.ts} +3 -3
  40. package/dist/{DatePickerInput-BLBcySA2.js → DatePickerInput-C5-kkdpq.js} +66 -301
  41. package/dist/{DateRangePicker-Bfq-yDm7.d.ts → DateRangePicker-B8O8nA1M.d.ts} +30 -10
  42. package/dist/{DateRangePicker-BF-1CztH.js → DateRangePicker-BO92JO3A.js} +166 -353
  43. package/dist/DateRangePicker.bound-B_Lg8Tna.d.ts +9 -0
  44. package/dist/DateRangePicker.bound-cDWQPCUj.js +35 -0
  45. package/dist/{DateTimePicker-D4lHyf6P.d.ts → DateTimePicker-BRy_VN63.d.ts} +21 -11
  46. package/dist/{DateTimePicker-Cj0qvJUz.js → DateTimePicker-DSzd33fp.js} +47 -48
  47. package/dist/DateTimePicker.bound-BQUJXvBQ.js +32 -0
  48. package/dist/DateTimePicker.bound-Bt9wdYeR.d.ts +9 -0
  49. package/dist/{Dialog-CKLkS00H.js → Dialog-C9H9_BmK.js} +53 -29
  50. package/dist/Dialog-CDiUZFcf.d.ts +21 -0
  51. package/dist/{Dialog-9manOgMA.js → Dialog-DN5703sy.js} +13 -10
  52. package/dist/Disclosure-BRSkMbZQ.js +109 -0
  53. package/dist/{DropdownMenu-5jmtgLXd.js → DropdownMenu-DS0RaEfH.js} +13 -31
  54. package/dist/DropdownMenu-oJzwpMXL.d.ts +25 -0
  55. package/dist/{DropdownMenuDesktop-Cl9gZVq0.js → DropdownMenuDesktop-DGPIfex-.js} +7 -28
  56. package/dist/{FileInput-C4CE5kuP.d.ts → FileInput-Bm3_nNb4.d.ts} +26 -22
  57. package/dist/{FileInput-Br5DQaGQ.js → FileInput-dTcR3V93.js} +37 -50
  58. package/dist/FileInput.bound-B5b7BLGg.js +30 -0
  59. package/dist/FileInput.bound-puNboLYc.d.ts +8 -0
  60. package/dist/{FileTrigger-Cthk5_Wp.js → FileTrigger-DlryDp2T.js} +6 -6
  61. package/dist/{FileUpload--7ub3EZO.js → FileUpload-JogkVfav.js} +279 -249
  62. package/dist/FileUpload-ksjKICmv.d.ts +11 -0
  63. package/dist/FileUpload.bound-D4sr1tsH.d.ts +16 -0
  64. package/dist/FileUpload.bound-TTr9FNMS.js +30 -0
  65. package/dist/{FileUploadContainer-042ztsaL.d.ts → FileUploadContainer-DRIxUmp2.d.ts} +1 -1
  66. package/dist/{Form-DlQcyN1f.js → Form-CqF1SaVw.js} +2 -2
  67. package/dist/{FormField-Byiehm9y.d.ts → FormField-DHCcfchm.d.ts} +7 -2
  68. package/dist/FormField-dduTMkNH.js +142 -0
  69. package/dist/{FormFieldError-DeOHHLo2.js → FormFieldError-DTT5TUQ1.js} +3 -14
  70. package/dist/{FormFieldHeaderTooltip-BV2Ju4oB.js → FormFieldHeaderTooltip-Dt-g40Tc.js} +4 -4
  71. package/dist/FormLayout-CBYgWvwW.d.ts +47 -0
  72. package/dist/{Heading-nI1_VOaE.js → Heading-D4XFYv__.js} +2 -2
  73. package/dist/IconButton-BqmX_sMz.d.ts +25 -0
  74. package/dist/{IconSlot-DSK7qNxc.js → IconSlot-CqNuZl0E.js} +4 -4
  75. package/dist/{iconSlot.cva-CnpFzAOR.d.ts → IconSlot-DcEDPaNb.d.ts} +3 -10
  76. package/dist/{InlineTooltipWrapper-BpApaGXV.js → InlineTooltipWrapper-CKTiFpZn.js} +3 -3
  77. package/dist/{Input-BsbLZDtC.js → Input-BG0Xjw5X.js} +2 -2
  78. package/dist/{Input-DOanwj3l.d.ts → Input-DKNzGXy-.d.ts} +16 -9
  79. package/dist/Input-Dq2Raco6.js +247 -0
  80. package/dist/Input.bound-BxngTsaq.d.ts +9 -0
  81. package/dist/Input.bound-CB0WNCLI.js +31 -0
  82. package/dist/InputContent-5WKp0yNK.js +102 -0
  83. package/dist/{InputContent-CXuP1ghQ.d.ts → InputContent-C5wdgK9u.d.ts} +5 -5
  84. package/dist/{Label-B2-B-uFY.js → Label-BGvF9vWx.js} +2 -2
  85. package/dist/{Link-FupWOW1f.js → Link-Chux-Clm.js} +2 -2
  86. package/dist/{Link-Ow9H7kNv.d.ts → Link-n1MxiBY_.d.ts} +5 -3
  87. package/dist/{ListBox-CL8Ar4Q_.js → ListBox-DhR5kojP.js} +10 -11
  88. package/dist/{MenuItem-DHyqOqln.d.ts → MenuItem-Cj7ytjH0.d.ts} +1 -1
  89. package/dist/{Modal-w60dVQcb.js → Modal-DcLWF9cB.js} +58 -20
  90. package/dist/NumberField-BQwc6a7u.js +249 -0
  91. package/dist/{NumberField-Cb9Gf6QJ.d.ts → NumberField-BUTmx-kv.d.ts} +13 -9
  92. package/dist/NumberField.bound-DhGXXd4v.d.ts +9 -0
  93. package/dist/NumberField.bound-Ha6jrlsv.js +32 -0
  94. package/dist/{NumberFormatter-CLDS_LRZ.js → NumberFormatter-DYarfm5F.js} +2 -36
  95. package/dist/{NumberRangeInput-BfbJQqzn.d.ts → NumberRangeInput-BwUPbB0M.d.ts} +13 -8
  96. package/dist/{NumberRangeInput-B8-LHfg3.js → NumberRangeInput-KngK-OvN.js} +28 -55
  97. package/dist/NumberRangeInput.bound-VafOPEAu.js +32 -0
  98. package/dist/NumberRangeInput.bound-j_WC6iJC.d.ts +9 -0
  99. package/dist/{OverlayArrow-D8z7cCsw.js → OverlayArrow-DF0jMwul.js} +2 -2
  100. package/dist/PageHeader-DtV-4JEh.d.ts +61 -0
  101. package/dist/PasswordInput-DNt_CfI8.d.ts +11 -0
  102. package/dist/PasswordInput.bound-D4tGX20e.js +23 -0
  103. package/dist/{PasswordInput-CLwFUgl0.d.ts → PasswordInput.bound-EOqjNEVC.d.ts} +5 -6
  104. package/dist/{Popover-BTHPteIh.d.ts → Popover-DRqROtxR.d.ts} +2 -2
  105. package/dist/{Progress-B3mY9rIP.js → Progress-RiEGGxNG.js} +4 -29
  106. package/dist/{Progress-CjWOR38H.d.ts → Progress-uzAAtLNk.d.ts} +4 -4
  107. package/dist/{RadioGroup-DOw3PRoX.js → RadioGroup-Dvq0TiEB.js} +18 -120
  108. package/dist/RadioGroup-skcBf54J.d.ts +26 -0
  109. package/dist/RadioGroup.bound-B-xm1dwo.js +32 -0
  110. package/dist/RadioGroup.bound-CpxN2p6t.d.ts +9 -0
  111. package/dist/RangeCalendar-p7ajg_wH.js +315 -0
  112. package/dist/RichTextEditor-B9zaBMWl.d.ts +28 -0
  113. package/dist/{RichTextEditor-D4yN7Wj7.js → RichTextEditor-DLBfexN_.js} +57 -365
  114. package/dist/Select-DNF-GpuC.d.ts +137 -0
  115. package/dist/{staticSelect.utils-uHa8f_c6.js → Select-hIRIXRz1.js} +343 -635
  116. package/dist/Select.bound-BrAIDjfv.js +34 -0
  117. package/dist/Select.bound-CpN6KalY.d.ts +17 -0
  118. package/dist/SelectListBox-ysubv-kl.js +390 -0
  119. package/dist/SelectionIndicator-C3hniBa2.js +18 -0
  120. package/dist/SharedElementTransition-CZ2bE7yo.js +96 -0
  121. package/dist/SidebarWorkspaces-DJknAfS9.js +1298 -0
  122. package/dist/SidebarWorkspaces-Drgog0IO.d.ts +132 -0
  123. package/dist/{Slider-CzEmKYBF.js → Slider-DCsCCPFx.js} +18 -42
  124. package/dist/{Slider-EYlGCLWe.d.ts → Slider-JlRCD72s.d.ts} +9 -8
  125. package/dist/Slider.bound-BChOUGvm.d.ts +9 -0
  126. package/dist/Slider.bound-CByTXPTr.js +31 -0
  127. package/dist/{Spinner-DbXeDOa2.d.ts → Spinner-DNguPtBP.d.ts} +5 -5
  128. package/dist/{Spinner-BeVTUzzx.js → Spinner-DqjP06T1.js} +29 -41
  129. package/dist/{SplitButton-D9ngY1rJ.d.ts → SplitButton-BTuc5oYU.d.ts} +3 -3
  130. package/dist/{Stepper-TATlHZhQ.d.ts → Stepper-DNu5YlbG.d.ts} +18 -18
  131. package/dist/{Stepper-Cp5vbL5g.js → Stepper-Dyhxp0Tl.js} +14 -13
  132. package/dist/{Switch-CqnGEdeD.js → Switch-BfpSMMpv.js} +10 -59
  133. package/dist/Switch-CVt-dT9Z.d.ts +24 -0
  134. package/dist/Switch.bound-56C86rOe.d.ts +9 -0
  135. package/dist/Switch.bound-Dv0cHsMM.js +33 -0
  136. package/dist/TableRowDetails-A_FdBE_d.d.ts +109 -0
  137. package/dist/TabsFilters-BDoCGfRA.d.ts +30 -0
  138. package/dist/TabsFilters-ka2sUZPi.js +223 -0
  139. package/dist/Tag-BxYYX-i7.d.ts +44 -0
  140. package/dist/{Text-D2MPZ3sY.js → Text-D72yc4S6.js} +1 -1
  141. package/dist/{TextArea-D8WkKsGn.js → TextArea-CqT0_Bn-.js} +33 -35
  142. package/dist/{TextArea-l_keyLK7.d.ts → TextArea-DxAHDgz4.d.ts} +11 -9
  143. package/dist/TextArea.bound-kHkY_d9o.js +28 -0
  144. package/dist/TextArea.bound-oSnqk1Un.d.ts +9 -0
  145. package/dist/TextArea.cva-ENXI55ec.js +5 -0
  146. package/dist/{TimePicker-C4taAOFQ.js → TimePicker-Duw94UIt.js} +65 -55
  147. package/dist/TimePicker-Yg84ntZH.d.ts +45 -0
  148. package/dist/TimePicker.bound-5b_qcmeo.d.ts +9 -0
  149. package/dist/TimePicker.bound-DX5pXlgZ.js +32 -0
  150. package/dist/{datePickerValue.utils-DCgoSrP3.js → TimePickerForm-BiWPFcsD.js} +23 -19
  151. package/dist/{Toast-ruXqONDA.d.ts → Toast-DbIZorlS.d.ts} +1 -1
  152. package/dist/{ToastContainer-qgpzMFD4.js → ToastContainer-DtpZaefx.js} +5 -5
  153. package/dist/ToggleButton-CdcLn-PW.d.ts +17 -0
  154. package/dist/{ToggleButton-BW1ensey.js → ToggleButton-P1z1pxzT.js} +5 -5
  155. package/dist/ToggleGroup-Cbx9Keza.d.ts +42 -0
  156. package/dist/ToggleGroup-Co1-A0Ti.js +333 -0
  157. package/dist/ToggleGroup.bound-DphkH_jH.js +67 -0
  158. package/dist/ToggleGroup.bound-dDLGgcJm.d.ts +9 -0
  159. package/dist/Tooltip-Bg9AFtGw.d.ts +16 -0
  160. package/dist/{Tooltip-CpG1nz7Y.js → Tooltip-DRB6lo0U.js} +10 -11
  161. package/dist/{TooltipWrapper-3jyN0Wss.js → TooltipWrapper-DcrEabVw.js} +21 -10
  162. package/dist/{Typography-LU4z2pR1.js → Typography-DCLnPa3P.js} +2 -2
  163. package/dist/{Typography-XljT9s02.d.ts → Typography-MkA6LnHW.d.ts} +2 -2
  164. package/dist/{accordion.cva-CL1bVscW.js → accordion.cva-DwxY-k1e.js} +17 -25
  165. package/dist/{badgeButton.cva-B2bgCQP6.d.ts → badgeButton.cva-Bjhs4ops.d.ts} +8 -8
  166. package/dist/badgeButton.cva-CqaR8KBt.js +138 -0
  167. package/dist/{breadcrumbs.cva-7zzdDhVR.js → breadcrumbs.cva-CnBIZUB3.js} +9 -9
  168. package/dist/button.cva-CMkwxrFU.js +263 -0
  169. package/dist/{button.cva-C7kEhgoA.d.ts → button.cva-DoDFPTm5.d.ts} +18 -17
  170. package/dist/{buttonContent.cva-DPIlROA9.d.ts → buttonContent.cva-Dj7Eve71.d.ts} +2 -2
  171. package/dist/checkbox.cva-Bj7bLZNf.js +128 -0
  172. package/dist/{checkbox.cva-t1Ox50hy.d.ts → checkbox.cva-DUvQJdT-.d.ts} +7 -7
  173. package/dist/components/accordion.js +1 -1
  174. package/dist/components/alert-dialog.d.ts +1 -1
  175. package/dist/components/alert-dialog.js +102 -100
  176. package/dist/components/alert.d.ts +1 -1
  177. package/dist/components/alert.js +116 -1
  178. package/dist/components/autocomplete.d.ts +2 -2
  179. package/dist/components/autocomplete.js +1 -134
  180. package/dist/components/badge-button.d.ts +1 -1
  181. package/dist/components/badge-button.js +6 -6
  182. package/dist/components/badge.d.ts +1 -1
  183. package/dist/components/badge.js +10 -10
  184. package/dist/components/bottom-sheet-header.d.ts +16 -0
  185. package/dist/components/bottom-sheet-header.js +80 -0
  186. package/dist/components/bottom-sheet.d.ts +2 -2
  187. package/dist/components/bottom-sheet.js +3 -3
  188. package/dist/components/breadcrumb/react-aria.js +1 -1
  189. package/dist/components/breadcrumbs.d.ts +1 -1
  190. package/dist/components/breadcrumbs.js +1 -1
  191. package/dist/components/button-group.d.ts +12 -0
  192. package/dist/components/button-group.js +46 -0
  193. package/dist/components/button.d.ts +2 -2
  194. package/dist/components/button.js +1 -1
  195. package/dist/components/checkbox-group.d.ts +2 -2
  196. package/dist/components/checkbox-group.js +1 -163
  197. package/dist/components/checkbox.d.ts +2 -2
  198. package/dist/components/checkbox.js +2 -2
  199. package/dist/components/combo-box/react-aria.js +1 -1
  200. package/dist/components/date-picker/react-aria.js +1 -1
  201. package/dist/components/date-picker.d.ts +2 -2
  202. package/dist/components/date-picker.js +1 -1
  203. package/dist/components/date-range-picker/react-aria.js +1 -1
  204. package/dist/components/date-range-picker.d.ts +16 -2
  205. package/dist/components/date-range-picker.js +2 -2
  206. package/dist/components/date-time-picker.d.ts +2 -2
  207. package/dist/components/date-time-picker.js +1 -1
  208. package/dist/components/dialog-trigger/react-aria.js +1 -1
  209. package/dist/components/dialog.d.ts +1 -1
  210. package/dist/components/dialog.js +1 -1
  211. package/dist/components/drawer.js +4 -4
  212. package/dist/components/dropdown-menu.d.ts +2 -2
  213. package/dist/components/dropdown-menu.js +2 -2
  214. package/dist/components/file-input.d.ts +2 -2
  215. package/dist/components/file-input.js +1 -1
  216. package/dist/components/file-upload-container.d.ts +2 -2
  217. package/dist/components/file-upload-container.js +1 -1
  218. package/dist/components/file-upload.d.ts +3 -3
  219. package/dist/components/file-upload.js +1 -1
  220. package/dist/components/form-field.d.ts +1 -1
  221. package/dist/components/form-field.js +1 -1
  222. package/dist/components/form-layout.d.ts +2 -0
  223. package/dist/components/form-layout.js +80 -0
  224. package/dist/components/icon-button.d.ts +1 -1
  225. package/dist/components/icon-button.js +17 -15
  226. package/dist/components/icon-slot.d.ts +2 -1
  227. package/dist/components/icon-slot.js +1 -1
  228. package/dist/components/input-frame.d.ts +94 -0
  229. package/dist/{useStaticInputHandoff-NeZVnci-.js → components/input-frame.js} +82 -116
  230. package/dist/components/input.d.ts +2 -2
  231. package/dist/components/input.js +1 -241
  232. package/dist/components/link.d.ts +1 -1
  233. package/dist/components/link.js +4 -4
  234. package/dist/components/menu-trigger/react-aria.js +1 -1
  235. package/dist/components/modal/react-aria.js +1 -1
  236. package/dist/components/modal-overlay/react-aria.js +1 -1
  237. package/dist/components/number-field.d.ts +2 -2
  238. package/dist/components/number-field.js +1 -245
  239. package/dist/components/number-range-input.d.ts +2 -2
  240. package/dist/components/number-range-input.js +1 -1
  241. package/dist/components/page-header.d.ts +2 -0
  242. package/dist/components/page-header.js +210 -0
  243. package/dist/components/password-input.d.ts +2 -2
  244. package/dist/components/password-input.js +22 -1
  245. package/dist/components/popover/react-aria.js +1 -1
  246. package/dist/components/popover.d.ts +1 -1
  247. package/dist/components/popover.js +40 -32
  248. package/dist/components/progress.d.ts +1 -1
  249. package/dist/components/progress.js +1 -1
  250. package/dist/components/radio-group.d.ts +2 -2
  251. package/dist/components/radio-group.js +1 -1
  252. package/dist/components/select/react-aria.js +1 -1
  253. package/dist/components/select.d.ts +2 -3
  254. package/dist/components/select.js +1 -1
  255. package/dist/components/sidebar.d.ts +2 -0
  256. package/dist/components/sidebar.js +2 -0
  257. package/dist/components/slider.d.ts +2 -2
  258. package/dist/components/slider.js +1 -1
  259. package/dist/components/spinner.d.ts +1 -1
  260. package/dist/components/spinner.js +1 -1
  261. package/dist/components/split-button.d.ts +1 -1
  262. package/dist/components/split-button.js +3 -3
  263. package/dist/components/stepper.d.ts +1 -1
  264. package/dist/components/stepper.js +1 -1
  265. package/dist/components/style-definitions.d.ts +3 -0
  266. package/dist/components/style-definitions.js +122 -0
  267. package/dist/components/submenu-trigger/react-aria.js +1 -1
  268. package/dist/components/switch.d.ts +2 -2
  269. package/dist/components/switch.js +1 -1
  270. package/dist/components/tabs-filters.d.ts +2 -0
  271. package/dist/components/tabs-filters.js +2 -0
  272. package/dist/components/tag.d.ts +1 -1
  273. package/dist/components/tag.js +93 -1
  274. package/dist/components/text-area.d.ts +2 -2
  275. package/dist/components/text-area.js +1 -1
  276. package/dist/components/time-picker.d.ts +2 -2
  277. package/dist/components/time-picker.js +1 -1
  278. package/dist/components/toast.d.ts +2 -2
  279. package/dist/components/toast.js +2 -2
  280. package/dist/components/toggle-button.d.ts +1 -1
  281. package/dist/components/toggle-button.js +17 -30
  282. package/dist/components/toggle-group.d.ts +2 -3
  283. package/dist/components/toggle-group.js +1 -1
  284. package/dist/components/tooltip-ellipsis.js +2 -2
  285. package/dist/components/tooltip.d.ts +1 -1
  286. package/dist/components/tooltip.js +1 -1
  287. package/dist/components/typography.d.ts +2 -2
  288. package/dist/components/typography.js +1 -1
  289. package/dist/components/use-toast.d.ts +1 -1
  290. package/dist/components/use-toast.js +2 -2
  291. package/dist/config/component-configuration.d.ts +30 -0
  292. package/dist/config/component-configuration.js +69 -0
  293. package/dist/config/confirmation.d.ts +1 -1
  294. package/dist/config/confirmation.js +1 -1
  295. package/dist/config/link-context.d.ts +2 -2
  296. package/dist/config/link-context.js +1 -1
  297. package/dist/config/resources.d.ts +1 -1
  298. package/dist/config/resources.js +1 -1
  299. package/dist/config/theme-context.js +1 -1
  300. package/dist/config/ui-config.d.ts +2 -2
  301. package/dist/config/ui-config.js +1 -1
  302. package/dist/config/ui-overrides.d.ts +1 -1
  303. package/dist/config/ui-overrides.js +1 -1
  304. package/dist/config/ui-router.js +1 -1
  305. package/dist/{confirmation.context-BuzgCfYl.js → confirmation.context-Bc2yEVp_.js} +2 -2
  306. package/dist/{confirmation.context-BOeEVczb.d.ts → confirmation.context-CAt_T5qZ.d.ts} +1 -1
  307. package/dist/{datePickerInput.cva-Cd7UUN61.js → datePickerInput.cva-CWkV2fut.js} +3 -3
  308. package/dist/datePickerValue.utils-CkmPaD6I.js +4 -0
  309. package/dist/{dialog.cva-COhDZaVl.js → dialog.cva-BIpz6HcA.js} +7 -7
  310. package/dist/{dist-CAdwxJbe.js → dist-fFtzh872.js} +54 -1
  311. package/dist/{dom.utils-D1AopHx9.js → dom.utils-BPooTXtC.js} +2 -2
  312. package/dist/dropdownMenu.cva-DwSOcbmR.js +31 -0
  313. package/dist/{fileUpload.cva-ujmStxB1.js → fileUpload.cva-BYzXGc9C.js} +11 -11
  314. package/dist/{fileUpload.types-n5FxK_F-.d.ts → fileUpload.types-CfUkihds.d.ts} +22 -17
  315. package/dist/form.binding-DOR5gIQf.js +49 -0
  316. package/dist/form.types-C8P4sznq.d.ts +22 -0
  317. package/dist/formFieldError.cva-BB6Ghqwq.js +14 -0
  318. package/dist/formFieldHelper.cva-DRmSyRZN.js +14 -0
  319. package/dist/formLayout.context--CN08Mtb.js +14 -0
  320. package/dist/hooks/use-async-list.d.ts +2 -0
  321. package/dist/hooks/use-async-list.js +2 -0
  322. package/dist/hooks/use-filters.js +1 -1
  323. package/dist/hooks/use-local-storage.js +1 -1
  324. package/dist/{i18n-CX2EjhJI.js → i18n-D8vXIoiq.js} +24 -18
  325. package/dist/{i18n-CX1vFM9r.d.ts → i18n-DM-PUcxQ.d.ts} +24 -14
  326. package/dist/iconSlot.cva-I0pFwkGy.d.ts +9 -0
  327. package/dist/icons.d.ts +2 -1
  328. package/dist/icons.js +3 -3
  329. package/dist/import-C7W0Wv2r.js +255 -0
  330. package/dist/index.d.ts +98 -91
  331. package/dist/index.js +99 -95
  332. package/dist/input.cva-2C6_W5jD.js +185 -0
  333. package/dist/input.cva-cNv7yhcp.d.ts +80 -0
  334. package/dist/inputLayout-KdAtunGk.js +5 -0
  335. package/dist/{intlStrings-chfsan9H.js → intlStrings-Cu1YN1tA.js} +35 -35
  336. package/dist/isEqual-LFw0W5rU.js +97 -0
  337. package/dist/label.cva-DTfT6FrX.js +85 -0
  338. package/dist/{link.context-D5qyz9Rf.d.ts → link.context-LSbvpZCL.d.ts} +1 -1
  339. package/dist/link.cva-C24YVAsJ.js +16 -0
  340. package/dist/{numberStatic.utils-BX50PSee.js → numberStatic.utils-BIyZuILs.js} +5 -5
  341. package/dist/outline.clsx-DGGQQRkM.js +6 -0
  342. package/dist/popover.cva-DAbfSma6.js +5 -0
  343. package/dist/progress.cva-CsGaGVJ-.js +28 -0
  344. package/dist/{radio.cva-DN9VQ3Kb.d.ts → radio.cva-CtBwM88n.d.ts} +9 -5
  345. package/dist/radio.cva-DistaZtZ.js +96 -0
  346. package/dist/rich-text-editor.d.ts +2 -2
  347. package/dist/rich-text-editor.js +1 -1
  348. package/dist/{routing.utils-UTQonIhB.js → routing.utils-DfxEt0_Y.js} +5 -0
  349. package/dist/selectDesktop.cva-DStkOdwm.js +14 -0
  350. package/dist/selectItem.cva-B6vxey2R.js +27 -0
  351. package/dist/{staticDateTimeSegments-DtU63_dw.js → staticDateTimeSegments-BVvFHWOs.js} +61 -57
  352. package/dist/status.cva-CYgi3Htz.js +130 -0
  353. package/dist/stepper.cva-Cecphqeo.js +104 -0
  354. package/dist/style-definitions-DJOlAxCG.d.ts +1034 -0
  355. package/dist/styles/editor.css +9 -9
  356. package/dist/styles/input.d.ts +1 -1
  357. package/dist/styles/outline.js +1 -1
  358. package/dist/switch.cva-BT0kGRIk.js +24 -0
  359. package/dist/switch.cva-DmuYW9tg.d.ts +16 -0
  360. package/dist/table.cva-DkcsOmZG.js +147 -0
  361. package/dist/tag.cva-ExMNsTN-.js +24 -0
  362. package/dist/tanstack/autocomplete.d.ts +3 -2
  363. package/dist/tanstack/autocomplete.js +1 -1
  364. package/dist/tanstack/checkbox-group.d.ts +3 -2
  365. package/dist/tanstack/checkbox-group.js +1 -1
  366. package/dist/tanstack/checkbox.d.ts +3 -2
  367. package/dist/tanstack/checkbox.js +2 -2
  368. package/dist/tanstack/date-picker.d.ts +3 -2
  369. package/dist/tanstack/date-picker.js +1 -1
  370. package/dist/tanstack/date-range-picker.d.ts +3 -2
  371. package/dist/tanstack/date-range-picker.js +1 -1
  372. package/dist/tanstack/date-time-picker.d.ts +3 -2
  373. package/dist/tanstack/date-time-picker.js +1 -1
  374. package/dist/tanstack/file-input.d.ts +3 -2
  375. package/dist/tanstack/file-input.js +1 -1
  376. package/dist/tanstack/file-upload.d.ts +4 -3
  377. package/dist/tanstack/file-upload.js +1 -1
  378. package/dist/tanstack/form.d.ts +3 -3
  379. package/dist/tanstack/form.js +3 -3
  380. package/dist/tanstack/input.d.ts +3 -2
  381. package/dist/tanstack/input.js +1 -1
  382. package/dist/tanstack/number-field.d.ts +3 -2
  383. package/dist/tanstack/number-field.js +1 -1
  384. package/dist/tanstack/number-range-input.d.ts +3 -2
  385. package/dist/tanstack/number-range-input.js +1 -1
  386. package/dist/tanstack/password-input.d.ts +1 -1
  387. package/dist/tanstack/password-input.js +1 -1
  388. package/dist/tanstack/radio-group.d.ts +3 -2
  389. package/dist/tanstack/radio-group.js +1 -1
  390. package/dist/tanstack/rich-text-editor.d.ts +9 -2
  391. package/dist/tanstack/rich-text-editor.js +27 -1
  392. package/dist/tanstack/select.d.ts +3 -2
  393. package/dist/tanstack/select.js +1 -1
  394. package/dist/tanstack/slider.d.ts +3 -2
  395. package/dist/tanstack/slider.js +1 -1
  396. package/dist/tanstack/switch.d.ts +3 -2
  397. package/dist/tanstack/switch.js +1 -1
  398. package/dist/tanstack/table.d.ts +3 -2
  399. package/dist/tanstack/table.js +2 -3
  400. package/dist/tanstack/text-area.d.ts +3 -2
  401. package/dist/tanstack/text-area.js +1 -1
  402. package/dist/tanstack/time-picker.d.ts +3 -2
  403. package/dist/tanstack/time-picker.js +1 -1
  404. package/dist/tanstack/toggle-group.d.ts +3 -3
  405. package/dist/tanstack/toggle-group.js +1 -1
  406. package/dist/{queries.utils-CmbhAoHU.js → tanstack-Bgdv0qU1.js} +2 -1
  407. package/dist/tanstack-CJKor9l-.d.ts +566 -0
  408. package/dist/tanstack.d.ts +82 -78
  409. package/dist/tanstack.js +99 -93
  410. package/dist/{theme.context-B3wQDJ-i.js → theme.context--VEyStJB.js} +2 -2
  411. package/dist/{toast.cva-C_L_RffH.js → toast.cva-B6NXTwbZ.js} +22 -38
  412. package/dist/{toast.cva-By5lvAfr.d.ts → toast.cva-BnXRIWVy.d.ts} +10 -10
  413. package/dist/{toast.runtime-cxex9e4E.js → toast.runtime-BWQLlbZW.js} +1 -2
  414. package/dist/toggleGroup.cva-BZcOUjIS.d.ts +26 -0
  415. package/dist/toggleGroup.cva-CINSHakM.js +35 -0
  416. package/dist/{tooltip.cva-BIzlOXHH.js → tooltip.cva-BEyxvcG2.js} +11 -11
  417. package/dist/{tooltipWrapper.cva-BBQ4ic3D.js → tooltipWrapper.cva-t4NQ9zz9.js} +1 -1
  418. package/dist/tw-ui-plugin.js +5 -1
  419. package/dist/typography.cva-CHsHX_Wp.js +31 -0
  420. package/dist/typography.cva-DcBCiskp.d.ts +36 -0
  421. package/dist/uiConfig.context-3DN9w6oU.js +180 -0
  422. package/dist/{uiConfig.context-DeBX2beU.d.ts → uiConfig.context-CoE2HBL4.d.ts} +26 -20
  423. package/dist/{uiOverrides.context-DEp139He.d.ts → uiOverrides.context-DHHzLSnq.d.ts} +67 -6
  424. package/dist/useAsyncList-Ct74ve3i.js +445 -0
  425. package/dist/useAsyncList-Cu-Y8If2.d.ts +9 -0
  426. package/dist/{useBreakpoint-DQoMN-BG.js → useBreakpoint-CJ3mx7UF.js} +6 -6
  427. package/dist/{useControlledState-CzXkZCX8.js → useControlledState-CuU1VIh1.js} +2 -2
  428. package/dist/useFieldAccessibility-eZIMECmG.js +19 -0
  429. package/dist/{useFilters-XNH27Md2.js → useFilters-DMi94RZK.js} +3 -3
  430. package/dist/{form.binding-CG1RPv6o.js → useForm-Cb7KWLds.js} +80 -43
  431. package/dist/{form.binding-DVJ5F0JE.d.ts → useForm-I6z23FXf.d.ts} +15 -15
  432. package/dist/useFormAutosave-BBLm3Ujo.d.ts +34 -0
  433. package/dist/useFormAutosave-BPGlChiY.js +216 -0
  434. package/dist/useScrollableListBox-oYKqU3Hp.js +47 -0
  435. package/dist/useStaticInputHandoff-BN0fOerH.js +76 -0
  436. package/dist/useTableColumnConfig-D4BGhlBT.js +1906 -0
  437. package/dist/useTableNav-hQCt_TbI.d.ts +197 -0
  438. package/dist/{useToast-yreVCUer.d.ts → useToast-CjyrMHdh.d.ts} +1 -1
  439. package/dist/{utils-Czcqspm7.js → utils-BkLF-JA3.js} +1 -1
  440. package/package.json +86 -247
  441. package/.rulesync/rules/ui-buttons-and-content.md +0 -56
  442. package/.rulesync/rules/ui-inputs-and-forms.md +0 -62
  443. package/.rulesync/rules/ui-overlays-navigation-and-styling.md +0 -49
  444. package/.rulesync/rules/ui-overview.md +0 -33
  445. package/dist/Alert-CnvEb1D_.js +0 -244
  446. package/dist/AppCanvasPage--RG31Yyv.js +0 -2421
  447. package/dist/AppCanvasPage-BIFYeEeS.d.ts +0 -80
  448. package/dist/Autocomplete-BwNHp8fy.d.ts +0 -15
  449. package/dist/Button-C5rv4Cr2.js +0 -506
  450. package/dist/Button-D-4qb0IR.d.ts +0 -42
  451. package/dist/CheckboxCheckmark-CpC3wlMs.js +0 -178
  452. package/dist/CheckboxGroup-DGF12cmB.d.ts +0 -28
  453. package/dist/ComponentGallery-C6exitZN.js +0 -3513
  454. package/dist/Dialog-CW93T9X1.d.ts +0 -56
  455. package/dist/DropdownMenu-JNpYT4-3.d.ts +0 -62
  456. package/dist/FileUpload-CR7bZxV1.d.ts +0 -7
  457. package/dist/Form-DbEWnCKc.d.ts +0 -49
  458. package/dist/FormField-B99dLt8o.js +0 -212
  459. package/dist/IconButton-D4thBurp.d.ts +0 -16
  460. package/dist/InlineIconButton-BeJCjl-q.d.ts +0 -15
  461. package/dist/InputItem-CIxbTxZu.js +0 -63
  462. package/dist/Inputs-DJSKiaWY.js +0 -17
  463. package/dist/Inputs-O84btFJL.d.ts +0 -13
  464. package/dist/Pagination-CwQu5Py8.d.ts +0 -12
  465. package/dist/PaginationList-DMRUGtf8.d.ts +0 -18
  466. package/dist/PaginationList-DtvuP63b.js +0 -220
  467. package/dist/PasswordInput-DYwUZ4-k.js +0 -78
  468. package/dist/QuerySelect-BGxb6Y0K.d.ts +0 -24
  469. package/dist/RadioGroup-CZg2kIMk.d.ts +0 -24
  470. package/dist/RichTextEditor-YxuRUlI7.d.ts +0 -26
  471. package/dist/Select-UR0ec2Ux.js +0 -154
  472. package/dist/Select-pHbyJdZJ.d.ts +0 -15
  473. package/dist/SelectBase-Omiq2D3M.d.ts +0 -96
  474. package/dist/SelectionIndicator-JblvLKCu.js +0 -5
  475. package/dist/SharedElementTransition-Da1c_cOO.js +0 -12
  476. package/dist/Switch-s_EPn0Jz.d.ts +0 -22
  477. package/dist/Table-BN2_J_Ne.js +0 -636
  478. package/dist/Tag-AHfV_XSf.d.ts +0 -44
  479. package/dist/Tag-DPg5sL1Z.js +0 -146
  480. package/dist/TextButton-XUhV_1s0.d.ts +0 -15
  481. package/dist/TimePicker-B1POvGWs.d.ts +0 -33
  482. package/dist/Toast-DtG3pA61.js +0 -53
  483. package/dist/ToggleButton-7aP8Jb11.d.ts +0 -11
  484. package/dist/ToggleGroup-CRFDIPGZ.d.ts +0 -7
  485. package/dist/ToggleGroup-DOk27fgI.js +0 -346
  486. package/dist/Tooltip-DHv6vAqW.d.ts +0 -57
  487. package/dist/UIConfigurator-BwLRfe-a.js +0 -6704
  488. package/dist/autocomplete-DeERHN8W.d.ts +0 -16
  489. package/dist/badgeButton.cva-CvN4CTx5.js +0 -300
  490. package/dist/check-DYMBkp_Z.js +0 -20
  491. package/dist/checkbox-DxIPDTK5.d.ts +0 -9
  492. package/dist/checkbox-group-B3BOVshI.d.ts +0 -9
  493. package/dist/chevron-down-B4Pr8bD3.js +0 -20
  494. package/dist/chevron-left-Dgo_b9wJ.js +0 -20
  495. package/dist/chevron-right-3nKJR5Bb.js +0 -20
  496. package/dist/chevron-up-D_Gqpb5M.js +0 -20
  497. package/dist/chevrons-right-DJPPn2fD.js +0 -44
  498. package/dist/components/inline-icon-button.d.ts +0 -2
  499. package/dist/components/inline-icon-button.js +0 -40
  500. package/dist/components/pagination-list.d.ts +0 -2
  501. package/dist/components/pagination-list.js +0 -2
  502. package/dist/components/pagination.d.ts +0 -2
  503. package/dist/components/pagination.js +0 -134
  504. package/dist/components/query-autocomplete.d.ts +0 -8
  505. package/dist/components/query-autocomplete.js +0 -134
  506. package/dist/components/query-select.d.ts +0 -2
  507. package/dist/components/query-select.js +0 -147
  508. package/dist/components/text-button.d.ts +0 -2
  509. package/dist/components/text-button.js +0 -35
  510. package/dist/config/app-canvas-tanstack.d.ts +0 -23
  511. package/dist/config/app-canvas-tanstack.js +0 -62
  512. package/dist/config/app-canvas.d.ts +0 -12
  513. package/dist/config/app-canvas.js +0 -2
  514. package/dist/config/ui-configurator-theme.d.ts +0 -2
  515. package/dist/config/ui-configurator-theme.js +0 -2
  516. package/dist/config/ui-configurator-vite.d.ts +0 -10
  517. package/dist/config/ui-configurator-vite.js +0 -174
  518. package/dist/config/ui-configurator.d.ts +0 -15
  519. package/dist/config/ui-configurator.js +0 -3
  520. package/dist/configuration.context-f_FSPWhQ.d.ts +0 -926
  521. package/dist/createLucideIcon-LcezOE4z.js +0 -240
  522. package/dist/date-picker-DnxDmlOW.d.ts +0 -9
  523. package/dist/date-range-picker-DHDOSvHN.d.ts +0 -9
  524. package/dist/date-time-picker-UkTa0OJ8.d.ts +0 -9
  525. package/dist/date.transforms-DLg-eFcE.js +0 -15
  526. package/dist/dropdownMenu.cva-DvEmX0bs.js +0 -34
  527. package/dist/dynamicInputs-ByVMnx4Z.d.ts +0 -772
  528. package/dist/dynamicInputs-CRMWIpHA.js +0 -194
  529. package/dist/dynamicInputs-m_DQu5q0.js +0 -214
  530. package/dist/fieldAdapter-C4sDFC8f.d.ts +0 -9
  531. package/dist/fieldAdapter-DjYls12j.js +0 -63
  532. package/dist/file-input-DkbkdI7l.d.ts +0 -9
  533. package/dist/file-upload-CTsPhxJk.d.ts +0 -10
  534. package/dist/form.types-CecYaerF.d.ts +0 -13
  535. package/dist/form.types-ZNGbcqJS.d.ts +0 -13
  536. package/dist/info-iUmX3uDk.js +0 -32
  537. package/dist/input-CdQNCPgH.d.ts +0 -8
  538. package/dist/input.cva-BsHgYa-L.d.ts +0 -80
  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 +1 @@
1
- import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s}from"react";import{useLayoutEffect as c}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as l}from"react-aria/useObjectRef";import{filterDOMProps as u}from"react-aria/filterDOMProps";import"react-aria/private/collections/Hidden";import"react-aria/useId";import{Overlay as d}from"react-aria/Overlay";import{useOverlayTriggerState as f}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as p,useExitAnimation as m}from"react-aria/private/utils/animation";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";import{useModalOverlay as h}from"react-aria/useModalOverlay";import{isScrollable as g}from"react-aria/private/utils/isScrollable";import{useIsSSR as _}from"react-aria/SSRProvider";import{useViewportSize as v}from"react-aria/private/utils/useViewportSize";const y=Symbol(`default`);function b({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function x(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function S(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||y;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function C(n,r,i){let{ref:a,...s}=S(i,n.slot)||{},c=l(o(()=>t(r,a),[r,a])),u=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(u.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[u,c]}function w(e,r,i){let{render:a,...l}=r,u=s(null),d=o(()=>t(i,u),[i,u]);c(()=>{},[e,a]);let f={...l,ref:d};return a?a(f,void 0):n.createElement(e,f)}const T={},E=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=T[t];return n||(n=i(w.bind(null,t)),T[t]=n),n}}),D=r(null),O=r(null),k=r(null);function A(e,t){[e,t]=C(e,t,O);let r=a(D),i=f(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,c=l(t),u=s(null),d=m(c,o.isOpen),p=m(u,o.isOpen),h=d||p||e.isExiting||!1,g=_();return!o.isOpen&&!h||g?null:n.createElement(M,{...e,state:o,isExiting:h,overlayRef:c,modalRef:u})}const j=i(A);function M({UNSTABLE_portalContainer:t,...r}){let i=r.modalRef,{state:a}=r,{modalProps:o,underlayProps:s}=h(r,a,i),c=p(r.overlayRef)||r.isEntering||!1,l=x({...r,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:c,isExiting:r.isExiting,state:a}}),f=v(),m,_;if(typeof document<`u`){let e=g(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;m=e.scrollWidth-t,_=e.scrollHeight-n}let y={...l.style,"--visual-viewport-width":f.width+`px`,"--visual-viewport-height":f.height+`px`,"--page-width":m===void 0?void 0:m+`px`,"--page-height":_===void 0?void 0:_+`px`};return n.createElement(d,{isExiting:r.isExiting,portalContainer:t},n.createElement(E.div,{...e(u(r,{global:!0}),s),...l,style:y,ref:r.overlayRef,"data-entering":c||void 0,"data-exiting":r.isExiting||void 0},n.createElement(b,{values:[[k,{modalProps:o,modalRef:i,isExiting:r.isExiting,isDismissable:r.isDismissable}],[D,a]]},l.children)))}export{j as ModalOverlay};
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useContext as a,useMemo as o,useRef as s,useState as c}from"react";import{useLayoutEffect as l}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as u}from"react-aria/useObjectRef";import{filterDOMProps as d}from"react-aria/filterDOMProps";import"react-aria/private/collections/Hidden";import"react-aria/useId";import{Overlay as f}from"react-aria/Overlay";import{useOverlayTriggerState as p}from"react-stately/useOverlayTriggerState";import{runAfterKeyboard as m}from"react-aria/private/utils/runAfterKeyboard";import{useEnterAnimation as h,useExitAnimation as g}from"react-aria/private/utils/animation";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";import{useModalOverlay as _}from"react-aria/useModalOverlay";import{isScrollable as v}from"react-aria/private/utils/isScrollable";import{useIsSSR as y}from"react-aria/SSRProvider";import{useViewportSize as b}from"react-aria/private/utils/useViewportSize";const x=Symbol(`default`);function S({values:e,children:t}){for(let[r,i]of e)t=n.createElement(r.Provider,{value:i},t);return t}function C(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:s,values:c,render:l}=e;return o(()=>{let e,o,u;return e=typeof t==`function`?t({...c,defaultClassName:i}):t,o=typeof n==`function`?n({...c,defaultStyle:s||{}}):n,u=typeof r==`function`?r({...c,defaultChildren:a}):r??a,{className:e??i,style:o||s?{...s,...o}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,c):void 0}},[t,n,r,i,a,s,c,l])}function w(e,t){let n=a(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||x;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function T(n,r,i){let{ref:a,...s}=w(i,n.slot)||{},c=u(o(()=>t(r,a),[r,a])),l=e(s,n);return`style`in s&&s.style&&`style`in n&&n.style&&(l.style=typeof s.style==`function`||typeof n.style==`function`?e=>{let t=typeof s.style==`function`?s.style(e):s.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...s.style,...n.style}),[l,c]}function E(e,r,i){let{render:a,...c}=r,u=s(null),d=o(()=>t(i,u),[i,u]);l(()=>{},[e,a]);let f={...c,ref:d};return a?a(f,void 0):n.createElement(e,f)}const D={},O=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=D[t];return n||(n=i(E.bind(null,t)),D[t]=n),n}}),k=r(null),A=r(null),j=r(null),M=r(null);function N(e,t){[e,t]=T(e,t,j);let r=a(A),i=p(e),o=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,c=u(t),l=s(null),d=g(c,o.isOpen,e.onExit),f=s(null),m=g(l,o.isOpen,e=>f.current?.(e)),h=d||m||e.isExiting||!1,_=y();return!o.isOpen&&!h||_?null:n.createElement(F,{...e,state:o,isExiting:h,overlayRef:c,modalRef:l,onExitRef:f})}const P=i(N);function F({UNSTABLE_portalContainer:t,UNSTABLE_deferUntilEntered:r,...i}){let o=i.modalRef,{state:s}=i,[u,p]=c(!1),g=h(i.overlayRef,u,i.onEnter)||i.isEntering||!1,y=!!r&&(!u||g),{modalProps:x,underlayProps:w}=_({...i,isEntering:y},s,o),T=a(k),E=r?I(T,{isEntering:y}):T,D=C({...i,defaultClassName:`react-aria-ModalOverlay`,values:{isEntering:g,isExiting:i.isExiting,state:s}}),j=b(),N,P;if(typeof document<`u`){let e=v(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().width%1,n=e.getBoundingClientRect().height%1;N=e.scrollWidth-t,P=e.scrollHeight-n}let F={...D.style,"--visual-viewport-width":j.width+`px`,"--visual-viewport-height":j.height+`px`,"--page-width":N===void 0?void 0:N+`px`,"--page-height":P===void 0?void 0:P+`px`};return l(()=>m(()=>p(!0)),[]),n.createElement(f,{isExiting:i.isExiting,portalContainer:t},n.createElement(O.div,{...e(d(i,{global:!0}),w),...D,style:F,ref:i.overlayRef,"data-entering":g||void 0,"data-exiting":i.isExiting||void 0},n.createElement(S,{values:[[M,{modalProps:x,modalRef:o,isExiting:i.isExiting,onExitRef:i.onExitRef,isOpen:u,isDismissable:i.isDismissable}],[A,s],[k,E]]},D.children)))}function I(e,t){if(e&&`slots`in e&&e.slots){let n={};for(let r in e.slots)n[r]={...e.slots[r],...t};return{...e,slots:n}}return{...e,...t}}export{P as ModalOverlay};
@@ -1,2 +1,2 @@
1
- import { i as NumberFieldProps, n as NumberField, r as NumberFieldComponent, t as ControlledNumberFieldProps } from "../NumberField-Cb9Gf6QJ.js";
2
- export { ControlledNumberFieldProps, NumberField, NumberFieldComponent, NumberFieldProps };
1
+ import { i as NumberFieldProps, n as NumberFieldComponent, r as NumberFieldInner, t as NumberField } from "../NumberField-BUTmx-kv.js";
2
+ export { NumberField, NumberFieldComponent, type NumberFieldInner, type NumberFieldProps };
@@ -1,246 +1,2 @@
1
- import { t as UIConfig } from "../uiConfig.context-BS3r_kTS.js";
2
- import { t as clsx } from "../clsx-CnD0nOiA.js";
3
- import { t as UIOverrides } from "../uiOverrides.context-BTCH9y5a.js";
4
- import { n as $41fb335299a4a39e$export$f5b8910cec6cf069 } from "../Input-BsbLZDtC.js";
5
- import { a as $a3be900807531178$re_export$useLocale } from "../exports-BNrTn8Tj.js";
6
- import { r as $a8ea2faf2ebe4d2f$re_export$mergeRefs } from "../import-BE0r63d8.js";
7
- import { t as FieldController } from "../form.binding-CG1RPv6o.js";
8
- import { t as FormField } from "../FormField-B99dLt8o.js";
9
- import { t as inputBaseDefinition } from "../input.cva-DJA8ovm_.js";
10
- import { t as TooltipWrapper } from "../TooltipWrapper-3jyN0Wss.js";
11
- import { n as InputContent, t as useFieldAccessibility } from "../useFieldAccessibility-ScC6Mtd5.js";
12
- import { i as InputFrame, n as useStaticInputHandoff } from "../useStaticInputHandoff-NeZVnci-.js";
13
- import { n as $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c, t as getStaticNumberDisplayValue } from "../numberStatic.utils-BX50PSee.js";
14
- import { t as IntlUtils } from "../intl.utils-zwAFoZ0U.js";
15
- import { memo, useCallback, useEffect, useRef, useState } from "react";
16
- import { jsx } from "react/jsx-runtime";
17
- import { useNumberField } from "react-aria";
18
- import { useFocusVisible } from "@react-aria/interactions";
19
- //#region src/components/inputs/Input/NumberField/NumberField.tsx
20
- const NumberFieldBase = (props) => {
21
- "use no memo";
22
- const ui = UIConfig.useConfig();
23
- const inputBaseCva = UIOverrides.useCva("input.baseCva", inputBaseDefinition);
24
- const hasControlledValue = "value" in props;
25
- const inputRef = useRef(null);
26
- const { ref, inputClassName, label, tooltipText, helperText, isRequired, required, rightContent, isDisabled, disabled, isDirty, headerClassName, errorClassName, isHeaderHidden, error, errorMessage, className, unit, isLoading, action, leadingIcon, trailingIcon, value, onChange, onBlur, formatOptions: formatOptionsProp, variant: variantProp, as: asProp, layout: layoutProp, size: sizeProp, hideLabel: hideLabelProp, isClearable: isClearableProp, isClearableIfDisabled, autoFocusOnMount, ...rest } = props;
27
- const formatOptions = formatOptionsProp ?? ui.numberField.formatOptions;
28
- const variant = variantProp ?? ui.input.variant;
29
- const as = layoutProp ?? asProp ?? ui.input.as;
30
- const resolvedIsDisabled = isDisabled ?? disabled;
31
- const resolvedIsRequired = isRequired ?? required;
32
- const resolvedError = errorMessage ?? error;
33
- const size = sizeProp ?? ui.input.size;
34
- const hideLabel = hideLabelProp ?? ui.input.hideLabel;
35
- const isClearable = isClearableProp ?? ui.input.isClearable;
36
- const numberFieldRef = useRef(null);
37
- const { isFocusVisible } = useFocusVisible();
38
- const { locale } = $a3be900807531178$re_export$useLocale();
39
- const numberProps = {
40
- ...rest,
41
- value: hasControlledValue ? value ?? NaN : void 0,
42
- label,
43
- isDisabled: resolvedIsDisabled,
44
- isInvalid: !!resolvedError,
45
- isRequired: resolvedIsRequired,
46
- onChange: (nextValue) => onChange?.(Number.isNaN(nextValue) ? null : nextValue),
47
- onBlur: (e) => onBlur?.({ target: e.target }),
48
- locale,
49
- formatOptions
50
- };
51
- const state = $3d0ee518c6f3d04f$export$7f629e9dc1ecf37c(numberProps);
52
- const { labelProps, inputProps } = useNumberField(numberProps, state, numberFieldRef);
53
- const { describedBy, errorMessageId, helperTextId } = useFieldAccessibility({
54
- describedBy: inputProps["aria-describedby"],
55
- error,
56
- helperText
57
- });
58
- useEffect(() => {
59
- if (!autoFocusOnMount || resolvedIsDisabled) return;
60
- requestAnimationFrame(() => inputRef.current?.focus());
61
- }, [autoFocusOnMount, resolvedIsDisabled]);
62
- const formFieldProps = {
63
- errorMessageId,
64
- error: resolvedError,
65
- label,
66
- tooltipText,
67
- helperText,
68
- helperTextId,
69
- isRequired: resolvedIsRequired,
70
- rightContent,
71
- isHeaderHidden: isHeaderHidden || as === "inline" || as === "filter" || as === "floating",
72
- hideLabel,
73
- isDisabled: resolvedIsDisabled,
74
- headerClassName,
75
- errorClassName
76
- };
77
- const handleInputBlur = useCallback((e) => {
78
- const target = numberFieldRef.current ?? e?.target;
79
- onBlur?.({ target });
80
- }, [onBlur]);
81
- const inputContentProps = {
82
- unit,
83
- isLoading,
84
- isDisabled: resolvedIsDisabled,
85
- action,
86
- leadingIcon,
87
- trailingIcon,
88
- isClearable,
89
- isClearableIfDisabled,
90
- onChange: (nextValue) => {
91
- if (nextValue === "") state.setInputValue("");
92
- onChange?.(nextValue === "" ? null : Number(nextValue));
93
- },
94
- value: state.inputValue,
95
- onBlur: handleInputBlur
96
- };
97
- const headerProps = {
98
- label,
99
- tooltipText,
100
- helperText,
101
- isRequired: resolvedIsRequired,
102
- rightContent,
103
- isHeaderHidden: hideLabel || isHeaderHidden,
104
- isDisabled: resolvedIsDisabled,
105
- className: headerClassName,
106
- labelProps
107
- };
108
- const dataIsDisabled = resolvedIsDisabled || void 0;
109
- return /* @__PURE__ */ jsx(TooltipWrapper, {
110
- as,
111
- error: resolvedError,
112
- triggerTabIndex: as === "inline" ? -1 : void 0,
113
- children: /* @__PURE__ */ jsx(FormField, {
114
- ...formFieldProps,
115
- as,
116
- labelProps,
117
- className: clsx("group w-full", className),
118
- tabIndex: as === "inline" ? -1 : void 0,
119
- children: /* @__PURE__ */ jsx("div", {
120
- className: clsx("relative flex cursor-text has-disabled:cursor-default", inputBaseCva({
121
- variant,
122
- as,
123
- ...rest
124
- }), inputClassName),
125
- onClick: () => inputRef.current?.focus(),
126
- "data-is-empty": value === null || value === void 0 || void 0,
127
- "data-is-required": resolvedIsRequired || void 0,
128
- "data-is-disabled": dataIsDisabled,
129
- children: /* @__PURE__ */ jsx(InputContent, {
130
- ...inputContentProps,
131
- headerProps,
132
- as,
133
- size,
134
- children: /* @__PURE__ */ jsx($41fb335299a4a39e$export$f5b8910cec6cf069, {
135
- ...inputProps,
136
- "aria-describedby": describedBy,
137
- "aria-errormessage": errorMessageId,
138
- ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, inputRef, numberFieldRef),
139
- "data-is-dirty": isDirty || void 0,
140
- "data-is-required": resolvedIsRequired || void 0,
141
- "data-is-empty": state.inputValue === "" || state.inputValue === void 0 || state.inputValue === null || void 0,
142
- "data-is-filled": !("" + value === "" || value === null || value === void 0) || void 0,
143
- "data-is-disabled": dataIsDisabled,
144
- placeholder: as === "floating" ? "\xA0" : inputProps.placeholder,
145
- className: "w-full bg-transparent outline-none",
146
- onFocus: (e) => {
147
- inputProps.onFocus?.(e);
148
- if (isFocusVisible) e.target.select();
149
- }
150
- })
151
- })
152
- })
153
- })
154
- });
155
- };
156
- const NumberFieldInner = ({ renderStaticInput, isFormControlDisabled, ...props }) => {
157
- "use no memo";
158
- const ui = UIConfig.useConfig();
159
- const { locale } = $a3be900807531178$re_export$useLocale();
160
- const [renderInput, setRenderInput] = useState(!(renderStaticInput ?? ui.renderStaticInput));
161
- const inputRef = useRef(null);
162
- const { renderRealInput, replayStaticInputChange } = useStaticInputHandoff({
163
- inputRef,
164
- renderInput,
165
- setRenderInput
166
- });
167
- if (!renderInput) {
168
- const staticValue = props.value ?? props.defaultValue;
169
- const formatOptions = props.formatOptions ?? ui.numberField.formatOptions;
170
- const displayValue = getStaticNumberDisplayValue(staticValue, IntlUtils.getNumberFormatter(locale, formatOptions)) ?? "";
171
- const hasValue = displayValue !== "";
172
- const as = props.as ?? ui.input.as;
173
- let isDisabled = !!props.isDisabled;
174
- if (isFormControlDisabled) isDisabled = true;
175
- const dataAttributes = {
176
- dataIsEmpty: !hasValue,
177
- dataIsFilled: hasValue,
178
- dataIsDirty: props.isDirty,
179
- dataIsRequired: props.isRequired,
180
- dataIsDisabled: isDisabled,
181
- dataDisabled: isDisabled,
182
- dataInvalid: !!props.error,
183
- dataHasSelection: hasValue
184
- };
185
- return /* @__PURE__ */ jsx(InputFrame, {
186
- ...props,
187
- isDisabled,
188
- className: clsx("group w-full", as === "inline" && "h-full", props.className),
189
- dataAttributes,
190
- onStaticInteract: renderRealInput,
191
- inputClassName: props.inputClassName,
192
- contentClassName: clsx(as === "inline" && "h-full", "pr-0!"),
193
- trailingClassName: "py-0! pl-0!",
194
- wrapContentAndTrailing: true,
195
- reserveTrailingContent: true,
196
- children: (dataAttributeProps) => /* @__PURE__ */ jsx("input", {
197
- type: "text",
198
- ref: inputRef,
199
- disabled: isDisabled,
200
- inputMode: "numeric",
201
- tabIndex: -1,
202
- value: displayValue,
203
- placeholder: as === "floating" ? "" : props.placeholder,
204
- className: "w-full bg-transparent outline-none",
205
- onChange: (event) => replayStaticInputChange(event.target.value),
206
- ...dataAttributeProps,
207
- "data-rac": true
208
- })
209
- });
210
- }
211
- return /* @__PURE__ */ jsx(NumberFieldBase, {
212
- ...props,
213
- ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(props.ref, inputRef)
214
- });
215
- };
216
- /** @internal Exported for production render benchmarks. */
217
- const NumberFieldComponent = ({ renderStaticInput, ...props }) => {
218
- "use no memo";
219
- if ("field" in props && props.field) {
220
- const { field, ref, ...innerProps } = props;
221
- const controlWithOptions = field.form;
222
- return /* @__PURE__ */ jsx(FieldController, {
223
- control: field.form,
224
- name: field.name,
225
- render: ({ field, fieldState: { error, isDirty } }) => /* @__PURE__ */ jsx(NumberFieldInner, {
226
- ...innerProps,
227
- ref: $a8ea2faf2ebe4d2f$re_export$mergeRefs(ref, field.ref),
228
- value: field.value,
229
- onChange: field.onChange,
230
- onBlur: field.onBlur,
231
- isDirty,
232
- isDisabled: field.disabled || props.isDisabled,
233
- isFormControlDisabled: !!controlWithOptions._options?.disabled,
234
- error: props.error ?? error?.message,
235
- renderStaticInput
236
- })
237
- });
238
- }
239
- return /* @__PURE__ */ jsx(NumberFieldInner, {
240
- ...props,
241
- renderStaticInput
242
- });
243
- };
244
- const NumberField = memo(NumberFieldComponent);
245
- //#endregion
1
+ import { n as NumberFieldComponent, t as NumberField } from "../NumberField-BQwc6a7u.js";
246
2
  export { NumberField, NumberFieldComponent };
@@ -1,2 +1,2 @@
1
- import { i as NumberRangeValue, n as NumberRangeInput, r as NumberRangeInputProps, t as ControlledNumberRangeInputProps } from "../NumberRangeInput-BfbJQqzn.js";
2
- export { ControlledNumberRangeInputProps, NumberRangeInput, NumberRangeInputProps, type NumberRangeValue };
1
+ import { a as NumberRangeValue, i as NumberRangeInputProps, n as NumberRangeInputComponent, r as NumberRangeInputInner, t as NumberRangeInput } from "../NumberRangeInput-BwUPbB0M.js";
2
+ export { NumberRangeInput, type NumberRangeInputComponent, type NumberRangeInputInner, type NumberRangeInputProps, type NumberRangeValue };
@@ -1,2 +1,2 @@
1
- import { t as NumberRangeInput } from "../NumberRangeInput-B8-LHfg3.js";
1
+ import { t as NumberRangeInput } from "../NumberRangeInput-KngK-OvN.js";
2
2
  export { NumberRangeInput };
@@ -0,0 +1,2 @@
1
+ import { a as PageHeaderDetailsProps, c as PageHeaderSummary, i as PageHeaderDetails, l as PageHeaderSummaryProps, n as PageHeaderBackLink, o as PageHeaderProps, r as PageHeaderDetail, s as PageHeaderSize, t as PageHeader } from "../PageHeader-DtV-4JEh.js";
2
+ export { PageHeader, PageHeaderBackLink, PageHeaderDetail, PageHeaderDetails, PageHeaderDetailsProps, PageHeaderProps, PageHeaderSize, PageHeaderSummary, PageHeaderSummaryProps };
@@ -0,0 +1,210 @@
1
+ import { t as clsx } from "../clsx-CnD0nOiA.js";
2
+ import { t as Breadcrumbs } from "../Breadcrumbs-a1-q_he0.js";
3
+ import { t as Typography } from "../Typography-DCLnPa3P.js";
4
+ import { Link as Link$1 } from "./link.js";
5
+ import { ChevronLeft } from "lucide-react";
6
+ import { c } from "react/compiler-runtime";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ //#region src/components/navigation/PageHeader/PageHeader.tsx
9
+ const PageHeaderBack = (t0) => {
10
+ const $ = c(4);
11
+ const { label, link } = t0;
12
+ let t1;
13
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
14
+ t1 = /* @__PURE__ */ jsx(ChevronLeft, {
15
+ "aria-hidden": true,
16
+ className: "size-icons-size shrink-0"
17
+ });
18
+ $[0] = t1;
19
+ } else t1 = $[0];
20
+ let t2;
21
+ if ($[1] !== label || $[2] !== link) {
22
+ t2 = /* @__PURE__ */ jsxs(Link$1, {
23
+ ...link,
24
+ variant: "subtle",
25
+ className: "inline-flex w-fit items-center gap-breadcrumbs-gap-icon-to-text font-sans font-medium text-xs",
26
+ children: [t1, label]
27
+ });
28
+ $[1] = label;
29
+ $[2] = link;
30
+ $[3] = t2;
31
+ } else t2 = $[3];
32
+ return t2;
33
+ };
34
+ /**
35
+ * The top of a page: breadcrumbs or a back link, the title with its status, actions on the right (primary action
36
+ * last), then the page's details. Below 640px of the header's own width the actions move under the title.
37
+ */
38
+ const PageHeader = (t0) => {
39
+ const $ = c(28);
40
+ const { title, status, breadcrumbs, backLink, actions, primaryAction, divider: t1, size: t2, className, children } = t0;
41
+ const divider = t1 === void 0 ? false : t1;
42
+ const size = t2 === void 0 ? "default" : t2;
43
+ let t3;
44
+ if ($[0] !== className) {
45
+ t3 = clsx("@container", className);
46
+ $[0] = className;
47
+ $[1] = t3;
48
+ } else t3 = $[1];
49
+ const t4 = size === "compact" ? "pt-2" : "pt-3";
50
+ const t5 = divider ? "border-b border-b-border pb-4" : size === "compact" ? "pb-1.5" : "pb-2";
51
+ let t6;
52
+ if ($[2] !== t4 || $[3] !== t5) {
53
+ t6 = clsx("flex flex-col gap-4", t4, t5);
54
+ $[2] = t4;
55
+ $[3] = t5;
56
+ $[4] = t6;
57
+ } else t6 = $[4];
58
+ let t7;
59
+ if ($[5] !== backLink || $[6] !== breadcrumbs) {
60
+ t7 = backLink ? /* @__PURE__ */ jsx(PageHeaderBack, { ...backLink }) : breadcrumbs && /* @__PURE__ */ jsx(Breadcrumbs, { items: breadcrumbs });
61
+ $[5] = backLink;
62
+ $[6] = breadcrumbs;
63
+ $[7] = t7;
64
+ } else t7 = $[7];
65
+ const t8 = size === "compact" ? "h2" : "h1";
66
+ let t9;
67
+ if ($[8] !== t8 || $[9] !== title) {
68
+ t9 = /* @__PURE__ */ jsx(Typography, {
69
+ as: "h1",
70
+ size: t8,
71
+ className: "min-w-0 truncate font-semibold text-card-foreground",
72
+ children: title
73
+ });
74
+ $[8] = t8;
75
+ $[9] = title;
76
+ $[10] = t9;
77
+ } else t9 = $[10];
78
+ let t10;
79
+ if ($[11] !== status || $[12] !== t9) {
80
+ t10 = /* @__PURE__ */ jsxs("div", {
81
+ className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1.5",
82
+ children: [t9, status]
83
+ });
84
+ $[11] = status;
85
+ $[12] = t9;
86
+ $[13] = t10;
87
+ } else t10 = $[13];
88
+ let t11;
89
+ if ($[14] !== actions || $[15] !== primaryAction) {
90
+ t11 = (actions || primaryAction) && /* @__PURE__ */ jsxs("div", {
91
+ className: "flex shrink-0 flex-wrap items-center gap-2",
92
+ children: [actions, primaryAction]
93
+ });
94
+ $[14] = actions;
95
+ $[15] = primaryAction;
96
+ $[16] = t11;
97
+ } else t11 = $[16];
98
+ let t12;
99
+ if ($[17] !== t10 || $[18] !== t11) {
100
+ t12 = /* @__PURE__ */ jsxs("div", {
101
+ className: "flex flex-col gap-3 @min-[640px]:flex-row @min-[640px]:items-center @min-[640px]:justify-between",
102
+ children: [t10, t11]
103
+ });
104
+ $[17] = t10;
105
+ $[18] = t11;
106
+ $[19] = t12;
107
+ } else t12 = $[19];
108
+ let t13;
109
+ if ($[20] !== children || $[21] !== t12 || $[22] !== t6 || $[23] !== t7) {
110
+ t13 = /* @__PURE__ */ jsxs("header", {
111
+ className: t6,
112
+ children: [
113
+ t7,
114
+ t12,
115
+ children
116
+ ]
117
+ });
118
+ $[20] = children;
119
+ $[21] = t12;
120
+ $[22] = t6;
121
+ $[23] = t7;
122
+ $[24] = t13;
123
+ } else t13 = $[24];
124
+ let t14;
125
+ if ($[25] !== t13 || $[26] !== t3) {
126
+ t14 = /* @__PURE__ */ jsx("div", {
127
+ className: t3,
128
+ children: t13
129
+ });
130
+ $[25] = t13;
131
+ $[26] = t3;
132
+ $[27] = t14;
133
+ } else t14 = $[27];
134
+ return t14;
135
+ };
136
+ /**
137
+ * Page details that can be shaped like a table, as label–value rows. Labels sit in a column beside their values;
138
+ * below 640px of the header's width each label moves above its value.
139
+ */
140
+ const PageHeaderDetails = (t0) => {
141
+ const $ = c(7);
142
+ const { items, className } = t0;
143
+ let t1;
144
+ if ($[0] !== className) {
145
+ t1 = clsx("m-0 flex flex-col gap-3 @min-[640px]:gap-2", className);
146
+ $[0] = className;
147
+ $[1] = t1;
148
+ } else t1 = $[1];
149
+ let t2;
150
+ if ($[2] !== items) {
151
+ t2 = items.map(_temp);
152
+ $[2] = items;
153
+ $[3] = t2;
154
+ } else t2 = $[3];
155
+ let t3;
156
+ if ($[4] !== t1 || $[5] !== t2) {
157
+ t3 = /* @__PURE__ */ jsx("dl", {
158
+ className: t1,
159
+ children: t2
160
+ });
161
+ $[4] = t1;
162
+ $[5] = t2;
163
+ $[6] = t3;
164
+ } else t3 = $[6];
165
+ return t3;
166
+ };
167
+ /** A short paragraph describing the page, kept to about 66 characters a line (`ch` is a digit's width, so 50ch). */
168
+ const PageHeaderSummary = (t0) => {
169
+ const $ = c(5);
170
+ const { className, children } = t0;
171
+ let t1;
172
+ if ($[0] !== className) {
173
+ t1 = clsx("m-0 max-w-[50ch] text-pretty text-card-foreground", className);
174
+ $[0] = className;
175
+ $[1] = t1;
176
+ } else t1 = $[1];
177
+ let t2;
178
+ if ($[2] !== children || $[3] !== t1) {
179
+ t2 = /* @__PURE__ */ jsx(Typography, {
180
+ size: "body",
181
+ className: t1,
182
+ children
183
+ });
184
+ $[2] = children;
185
+ $[3] = t1;
186
+ $[4] = t2;
187
+ } else t2 = $[4];
188
+ return t2;
189
+ };
190
+ function _temp(item) {
191
+ return /* @__PURE__ */ jsxs("div", {
192
+ className: "grid gap-0.5 @min-[640px]:grid-cols-[10rem_1fr] @min-[640px]:gap-0",
193
+ children: [/* @__PURE__ */ jsx(Typography, {
194
+ as: "dt",
195
+ size: "body",
196
+ className: "text-foreground @max-[639px]:text-xs",
197
+ children: item.label
198
+ }), /* @__PURE__ */ jsxs(Typography, {
199
+ as: "dd",
200
+ size: "body",
201
+ className: "m-0 text-card-foreground",
202
+ children: [item.value, item.meta != null && item.meta !== false && /* @__PURE__ */ jsxs("span", {
203
+ className: "text-foreground",
204
+ children: [" · ", item.meta]
205
+ })]
206
+ })]
207
+ }, item.label);
208
+ }
209
+ //#endregion
210
+ export { PageHeader, PageHeaderDetails, PageHeaderSummary };
@@ -1,2 +1,2 @@
1
- import { n as PasswordInput, r as PasswordInputProps, t as ControlledPasswordInputProps } from "../PasswordInput-CLwFUgl0.js";
2
- export { ControlledPasswordInputProps, PasswordInput, PasswordInputProps };
1
+ import { n as PasswordInputProps, t as PasswordInput } from "../PasswordInput-DNt_CfI8.js";
2
+ export { PasswordInput, type PasswordInputProps };
@@ -1,2 +1,23 @@
1
- import { t as PasswordInput } from "../PasswordInput-DYwUZ4-k.js";
1
+ import "../i18n-D8vXIoiq.js";
2
+ import { t as Input } from "../Input-Dq2Raco6.js";
3
+ import { Eye, EyeOff } from "lucide-react";
4
+ import { memo, useState } from "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ import { useTranslation } from "react-i18next";
7
+ //#region src/components/inputs/Input/PasswordInput/PasswordInput.tsx
8
+ const PasswordInputComponent = (props) => {
9
+ const { t } = useTranslation("ui");
10
+ const [isRevealed, setIsRevealed] = useState(false);
11
+ return /* @__PURE__ */ jsx(Input, {
12
+ ...props,
13
+ type: isRevealed ? "text" : "password",
14
+ action: {
15
+ icon: isRevealed ? Eye : EyeOff,
16
+ altText: t(($) => isRevealed ? $.ui.password.hide : $.ui.password.reveal),
17
+ onClick: () => setIsRevealed(!isRevealed)
18
+ }
19
+ });
20
+ };
21
+ const PasswordInput = memo(PasswordInputComponent);
22
+ //#endregion
2
23
  export { PasswordInput };
@@ -1 +1 @@
1
- import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{filterDOMProps as p}from"react-aria/filterDOMProps";import{useIsHidden as m}from"react-aria/private/collections/Hidden";import"react-aria/useId";import{useLocale as h}from"react-aria/I18nProvider";import{usePopover as g}from"react-aria/usePopover";import{DismissButton as _,Overlay as v}from"react-aria/Overlay";import{focusSafely as y}from"react-aria/private/interactions/focusSafely";import{getInteractionModality as b}from"react-aria/private/interactions/useFocusVisible";import{isFocusWithin as x}from"react-aria/private/utils/shadowdom/DOMFunctions";import{useOverlayTriggerState as S}from"react-stately/useOverlayTriggerState";import{useEnterAnimation as C,useExitAnimation as w}from"react-aria/private/utils/animation";import{useResizeObserver as T}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";const E=Symbol(`default`);function D(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function O(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||E;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function k(n,r,i){let{ref:a,...o}=O(i,n.slot)||{},s=f(c(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,s]}function A(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};return a?a(f,void 0):n.createElement(e,f)}const j={},M=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=j[t];return n||(n=i(A.bind(null,t)),j[t]=n),n}}),N=r({placement:`bottom`}),P=r(null),F=r(null),I=i(function(e,t){[e,t]=k(e,t,P);let r=o(R),i=S(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,s=w(t,a.isOpen),c=e.isExiting||!e.shouldSkipAnimation&&s||!1,l=m(),{direction:u}=h();if(l){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),n.createElement(n.Fragment,null,t)}return a&&!a.isOpen&&!c?null:n.createElement(L,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:c,dir:u})});function L({state:t,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:f,...m}){let h=l(null),S=l(null),w=o(F),E=w&&m.trigger===`SubmenuTrigger`,{popoverProps:O,underlayProps:k,arrowProps:A,placement:j,triggerAnchorPoint:P}=g({...m,offset:m.offset??8,arrowRef:h,groupRef:E?w:S},t),I=m.popoverRef,L=C(I,!!j),R=m.isEntering||!m.shouldSkipAnimation&&L||!1,z=D({...m,defaultClassName:`react-aria-Popover`,values:{trigger:m.trigger||null,placement:j,isEntering:R,isExiting:r}}),B=!m.isNonModal||m.trigger===`SubmenuTrigger`||m.trigger===`PreviewTrigger`,[V,H]=u(m.trigger===`PreviewTrigger`);d(()=>{I.current&&H(B&&!I.current.querySelector(`[role=dialog]`))},[I,B]),s(()=>{V&&m.trigger!==`PreviewTrigger`&&(m.trigger!==`SubmenuTrigger`||b()!==`pointer`)&&I.current&&!x(I.current)&&y(I.current)},[V,I,m.trigger]);let U=c(()=>{let e=z.children;if(f)for(let t of f)e=n.createElement(t.Provider,{value:null},e);return e},[z.children,f]),[W,G]=u(null),K=a(()=>{m.triggerRef.current&&G(m.triggerRef.current.getBoundingClientRect().width+`px`)},[m.triggerRef]);d(K,[K]),T({ref:z.style?.[`--trigger-width`]?void 0:m.triggerRef,onResize:K});let q={...O.style,"--trigger-anchor-point":P?`${P.x}px ${P.y}px`:void 0,...z.style,"--trigger-width":z.style?.[`--trigger-width`]||W},J=n.createElement(M.div,{...e(p(m,{global:!0}),O),...z,id:V?m.id:void 0,role:V?`dialog`:void 0,tabIndex:V?-1:void 0,"aria-label":m[`aria-label`],"aria-labelledby":m[`aria-labelledby`],ref:I,slot:m.slot||void 0,style:q,dir:m.dir,"data-trigger":m.trigger,"data-placement":j,"data-entering":R||void 0,"data-exiting":r||void 0},!m.isNonModal&&n.createElement(_,{onDismiss:t.close}),n.createElement(N.Provider,{value:{...A,placement:j,ref:h}},U),n.createElement(_,{onDismiss:t.close}));return E?n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i??w?.current??void 0},J):n.createElement(v,{...m,shouldContainFocus:V&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i},!m.isNonModal&&t.isOpen&&n.createElement(`div`,{"data-testid":`underlay`,...k,style:{position:`fixed`,inset:0}}),n.createElement(`div`,{ref:S,style:{display:`contents`}},n.createElement(F.Provider,{value:S},J)))}const R=r(null);export{I as Popover};
1
+ import{mergeProps as e}from"react-aria/mergeProps";import{mergeRefs as t}from"react-aria/mergeRefs";import n,{createContext as r,forwardRef as i,useCallback as a,useContext as o,useEffect as s,useMemo as c,useRef as l,useState as u}from"react";import{useLayoutEffect as d}from"react-aria/private/utils/useLayoutEffect";import{useObjectRef as f}from"react-aria/useObjectRef";import{filterDOMProps as p}from"react-aria/filterDOMProps";import{useIsHidden as m}from"react-aria/private/collections/Hidden";import"react-aria/useId";import{useLocale as h}from"react-aria/I18nProvider";import{usePopover as g}from"react-aria/usePopover";import{DismissButton as _,Overlay as v}from"react-aria/Overlay";import{focusSafely as y}from"react-aria/private/interactions/focusSafely";import{getInteractionModality as b}from"react-aria/private/interactions/useFocusVisible";import{isFocusWithin as x}from"react-aria/private/utils/shadowdom/DOMFunctions";import{useOverlayTriggerState as S}from"react-stately/useOverlayTriggerState";import{runAfterKeyboard as C}from"react-aria/private/utils/runAfterKeyboard";import{useEnterAnimation as w,useExitAnimation as T}from"react-aria/private/utils/animation";import{useResizeObserver as E}from"react-aria/private/utils/useResizeObserver";import"react-stately/useMenuTriggerState";import"react-aria/private/interactions/PressResponder";import"react-aria/useDialog";import"react-aria/useOverlayTrigger";const D=Symbol(`default`);function O(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:l}=e;return c(()=>{let e,c,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,c=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:c||o?{...o,...c}:void 0,children:u??a,"data-rac":``,render:l?e=>l(e,s):void 0}},[t,n,r,i,a,o,s,l])}function k(e,t){let n=o(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||D;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function A(n,r,i){let{ref:a,...o}=k(i,n.slot)||{},s=f(c(()=>t(r,a),[r,a])),l=e(o,n);return`style`in o&&o.style&&`style`in n&&n.style&&(l.style=typeof o.style==`function`||typeof n.style==`function`?e=>{let t=typeof o.style==`function`?o.style(e):o.style,r={...e.defaultStyle,...t},i=typeof n.style==`function`?n.style({...e,defaultStyle:r}):n.style;return{...r,...i}}:{...o.style,...n.style}),[l,s]}function j(e,r,i){let{render:a,...o}=r,s=l(null),u=c(()=>t(i,s),[i,s]);d(()=>{},[e,a]);let f={...o,ref:u};return a?a(f,void 0):n.createElement(e,f)}const M={},N=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=M[t];return n||(n=i(j.bind(null,t)),M[t]=n),n}}),P=r({placement:`bottom`}),F=r(null),I=r(null),L=i(function(e,t){[e,t]=A(e,t,F);let r=o(z),i=S(e),a=e.isOpen!=null||e.defaultOpen!=null||!r?i:r,s=T(t,a.isOpen),c=e.isExiting||!e.shouldSkipAnimation&&s||!1,l=m(),{direction:u}=h();if(l){let t=e.children;return typeof t==`function`&&(t=t({trigger:e.trigger||null,placement:`bottom`,isEntering:!1,isExiting:!1,defaultChildren:null})),n.createElement(n.Fragment,null,t)}return a&&!a.isOpen&&!c?null:n.createElement(R,{...e,triggerRef:e.triggerRef,state:a,popoverRef:t,isExiting:c,dir:u})});function R({state:t,isExiting:r,UNSTABLE_portalContainer:i,clearContexts:f,...m}){let h=l(null),S=l(null),T=o(I),D=T&&m.trigger===`SubmenuTrigger`,[k,A]=u(!1),{popoverProps:j,underlayProps:M,arrowProps:L,placement:R,triggerAnchorPoint:z}=g({...m,offset:m.offset??8,arrowRef:h,groupRef:D?T:S},t),B=m.popoverRef,V=w(B,!!R&&k),H=m.isEntering||!m.shouldSkipAnimation&&V||!1,U=O({...m,defaultClassName:`react-aria-Popover`,values:{trigger:m.trigger||null,placement:R,isEntering:H,isExiting:r}}),W=!m.isNonModal||m.trigger===`SubmenuTrigger`||m.trigger===`PreviewTrigger`,[G,K]=u(m.trigger===`PreviewTrigger`);d(()=>{B.current&&K(W&&!B.current.querySelector(`[role=dialog]`))},[B,W]),s(()=>{G&&m.trigger!==`PreviewTrigger`&&(m.trigger!==`SubmenuTrigger`||b()!==`pointer`)&&B.current&&!x(B.current)&&y(B.current)},[G,B,m.trigger]);let q=c(()=>{let e=U.children;for(let t of[F,...f??[]])e=n.createElement(t.Provider,{value:null},e);return e},[U.children,f]),[J,Y]=u(null),X=a(()=>{m.triggerRef.current&&Y(m.triggerRef.current.getBoundingClientRect().width+`px`)},[m.triggerRef]);d(X,[X]),E({ref:U.style?.[`--trigger-width`]?void 0:m.triggerRef,onResize:X});let Z={...j.style,"--trigger-anchor-point":z?`${z.x}px ${z.y}px`:void 0,...U.style,"--trigger-width":U.style?.[`--trigger-width`]||J};d(()=>C(()=>A(!0)),[]);let Q=n.createElement(N.div,{...e(p(m,{global:!0}),j),...U,id:G?m.id:void 0,role:G?`dialog`:void 0,tabIndex:G?-1:void 0,"aria-label":m[`aria-label`],"aria-labelledby":m[`aria-labelledby`],ref:B,slot:m.slot||void 0,style:Z,dir:m.dir,"data-trigger":m.trigger,"data-placement":R,"data-entering":H||void 0,"data-exiting":r||void 0},!m.isNonModal&&n.createElement(_,{onDismiss:t.close}),n.createElement(P.Provider,{value:{...L,placement:R,ref:h}},q),n.createElement(_,{onDismiss:t.close}));return D?n.createElement(v,{...m,shouldContainFocus:G&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i??T?.current??void 0},Q):n.createElement(v,{...m,shouldContainFocus:G&&m.trigger!==`PreviewTrigger`,isExiting:r,portalContainer:i},!m.isNonModal&&t.isOpen&&n.createElement(`div`,{"data-testid":`underlay`,...M,style:{position:`fixed`,inset:0}}),n.createElement(`div`,{ref:S,style:{display:`contents`}},n.createElement(I.Provider,{value:S},Q)))}const z=r(null);export{L as Popover};
@@ -1,2 +1,2 @@
1
- import { n as PopoverProps, t as Popover } from "../Popover-BTHPteIh.js";
1
+ import { n as PopoverProps, t as Popover } from "../Popover-DRqROtxR.js";
2
2
  export { Popover, PopoverProps };