@midas-ds/components 12.0.0 → 12.1.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 (458) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/{BadgeContainer-DGJGJMPi.js → BadgeContainer-iNNgJKD9.js} +8 -8
  4. package/BadgeContainer-su0iCJKy.cjs +1 -0
  5. package/Breadcrumbs-BAHJMPsu.js +271 -0
  6. package/Breadcrumbs-DUcHHI_2.cjs +1 -0
  7. package/Button-CMIbSc4-.cjs +1 -0
  8. package/{Button-DtC_ZOyd.js → Button-DD5_S-tD.js} +155 -161
  9. package/{Button-akT6Hvug.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-DQm2iqKU.cjs → Button-DrL5Jv-s.cjs} +1 -1
  11. package/Button.module-BNLcvARn.cjs +1 -0
  12. package/Button.module-Bax2YU6N.js +14 -0
  13. package/ButtonGroup-ClYTgaRc.cjs +1 -0
  14. package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
  15. package/CHANGELOG.md +65 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DQJVM-mZ.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/CharacterCounter-DT7A0wWP.js +22 -0
  20. package/Checkbox-BtM2rFh9.js +278 -0
  21. package/Checkbox-CvdIG43J.cjs +1 -0
  22. package/CheckboxGroup-C94as9Xt.cjs +1 -0
  23. package/CheckboxGroup-CjcDYBRk.js +157 -0
  24. package/Collection-B0_WAieZ.js +625 -0
  25. package/Collection-BvWp2xBd.cjs +1 -0
  26. package/{ColorSchemeSwitch-DyZ9FAKG.js → ColorSchemeSwitch-C4PMYeD5.js} +20 -28
  27. package/{ColorSchemeSwitch-DtyJ9-5B.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +3 -3
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-Dn3tQzri.js → ComboBox-BWXJZyOR.js} +522 -507
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-CJEGWmG0.js → DateInputDivider-CXkUdlzc.js} +936 -839
  33. package/DateInputDivider-Cf5GZHlM.cjs +1 -0
  34. package/DateRangePicker-B2BJO1KC.js +889 -0
  35. package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
  36. package/Dialog-B8swxl24.js +1643 -0
  37. package/Dialog-DR6nEqMT.cjs +1 -0
  38. package/Dialog-DgJobm71.cjs +1 -0
  39. package/Dialog-P3frHOdq.js +240 -0
  40. package/DragAndDrop-Dw8JZmrn.cjs +1 -0
  41. package/DragAndDrop-PrUJv--B.js +75 -0
  42. package/{Dropdown-BWbdSQ9U.js → Dropdown-CIvWpN3v.js} +8 -8
  43. package/{Dropdown-CJ-sujKv.cjs → Dropdown-DJ2vWAqk.cjs} +2 -2
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/FieldError-DdvFyIf4.js +48 -0
  46. package/{FileUpload-B89QfnCB.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-KQ1XAKAc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-CEgd3xCY.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/{Grid-Db5wZrw6.cjs → Grid-WbEkSCGh.cjs} +1 -1
  51. package/{Grid-B2av0vt8.js → Grid-s8ovKDi8.js} +1 -1
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-Cdy6z9ra.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B3mRMVy7.js → Group-C73mD_-i.js} +13 -13
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  59. package/InfoBanner-CqjnTYaa.cjs +1 -0
  60. package/InfoBanner-CrA8MS3v.js +83 -0
  61. package/{Input-BnpBRnJz.js → Input-BLVRv0FK.js} +9 -9
  62. package/{Input-DIhhWEPW.cjs → Input-CzMx2mfl.cjs} +1 -1
  63. package/{Label-ByWt6Lfh.js → Label-BG7G0iyG.js} +24 -28
  64. package/Label-C00qz3kQ.cjs +1 -0
  65. package/Layout-Bta_Cpq_.cjs +16 -0
  66. package/Layout-CG-Qxr_1.js +482 -0
  67. package/{Link-Dnnv00g9.js → Link-BtxKZ0h3.js} +16 -16
  68. package/Link-Bx6avHVl.cjs +6 -0
  69. package/Link-CbFSuEI1.js +73 -0
  70. package/Link-wM7cVPlS.cjs +1 -0
  71. package/LinkButton-BvXu6vAH.cjs +6 -0
  72. package/LinkButton-D3EnZ65v.js +69 -0
  73. package/ListBox-ICZKGluC.cjs +1 -0
  74. package/ListBox-LncMQt6I.js +523 -0
  75. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  76. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  77. package/ListBoxSection-BCPv9H50.js +1085 -0
  78. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  79. package/{ListKeyboardDelegate-mcrZobNa.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  80. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  81. package/{Logo-BW5NXAdu.cjs → Logo-CFjZc5u2.cjs} +1 -1
  82. package/{Logo-qkVS1MCN.js → Logo-DkagDdKQ.js} +15 -19
  83. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  84. package/OverlayArrow-CvNuu3e3.js +519 -0
  85. package/{Popover-C5chAY42.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  86. package/{Popover-viLqHHX2.js → Popover-CyEVqpJ6.js} +11 -11
  87. package/{PressResponder-B_Zqu7b1.js → PressResponder-CxVtArtP.js} +9 -9
  88. package/PressResponder-DbnYqwGB.cjs +1 -0
  89. package/ProgressBar-CdXHEJh6.js +53 -0
  90. package/ProgressBar-CjuHokVZ.cjs +1 -0
  91. package/Radio-Bll-7H8O.cjs +1 -0
  92. package/Radio-DoWx2AE1.js +333 -0
  93. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  94. package/{RangeCalendar-DGGMbb0j.js → RangeCalendar-D7eFVAPP.js} +638 -630
  95. package/{SSRProvider-D8lZ0o6A.js → SSRProvider-40TXmsUG.js} +5 -5
  96. package/{SSRProvider-DZRLwxPS.cjs → SSRProvider-Bc-sMhsT.cjs} +1 -1
  97. package/{SearchField-Ma3KB8Em.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  98. package/{SearchField-B0dlPqsW.js → SearchField-F2FKgYds.js} +29 -33
  99. package/Select-BnbDXwgD.cjs +1 -0
  100. package/Select-Dpi3LhbI.js +654 -0
  101. package/{SelectionManager-BdKKuso-.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  102. package/SelectionManager-BtbHoHpA.cjs +1 -0
  103. package/Separator-CM0KPvsX.js +105 -0
  104. package/Separator-Cfv2pbWf.cjs +1 -0
  105. package/Separator-DH-5wu9X.js +77 -0
  106. package/Separator-Dgin8BNW.cjs +1 -0
  107. package/Skeleton-BpYj25p8.js +37 -0
  108. package/Skeleton-DMOxEwnd.cjs +1 -0
  109. package/Spinner-D1UBuLy4.cjs +6 -0
  110. package/Spinner-DTKb_LAA.js +47 -0
  111. package/TabList-D4WwgQY3.cjs +1 -0
  112. package/TabList-D9tl2s85.js +397 -0
  113. package/Table-C6k3PiiC.cjs +16 -0
  114. package/{Table-CTS0J_sQ.js → Table-CkN3y69S.js} +856 -798
  115. package/Tag-7dHEMQum.cjs +1 -0
  116. package/Tag-BUJ20HHw.js +765 -0
  117. package/Text-BAFsaON-.cjs +1 -0
  118. package/{Text--KL3Auo7.js → Text-Be7WIOwv.js} +3 -3
  119. package/{Text-wuw0HQoa.cjs → Text-BtPiT2P1.cjs} +1 -1
  120. package/Text-CmlsaWMA.js +32 -0
  121. package/TextArea-BCikUXaD.cjs +1 -0
  122. package/TextArea-h5_oBQH1.js +125 -0
  123. package/TextField-Bm5916AD.cjs +1 -0
  124. package/TextField-_UY8CXtW.js +134 -0
  125. package/TextField.module-C9Zm9unF.js +13 -0
  126. package/TextField.module-GTQtNO0r.cjs +1 -0
  127. package/{Toast-BnzpC_5v.js → Toast-BBkWczCk.js} +202 -214
  128. package/{Toast-BEh5yYzO.cjs → Toast-DclaxvZM.cjs} +1 -1
  129. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  130. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  131. package/Tooltip-BHAtsp9k.js +281 -0
  132. package/Tooltip-CZa9n5sT.cjs +1 -0
  133. package/{VisuallyHidden-BKslUoMJ.js → VisuallyHidden-CGEtjAP7.js} +8 -8
  134. package/{VisuallyHidden-DxDOcIsh.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  135. package/accordion/index.cjs +1 -1
  136. package/accordion/index.js +1 -1
  137. package/assets/AccordionItem.css +1 -1
  138. package/assets/BadgeContainer.css +1 -1
  139. package/assets/Breadcrumbs.css +1 -1
  140. package/assets/Button.css +1 -1
  141. package/assets/ButtonGroup.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/CharacterCounter.css +1 -1
  144. package/assets/Checkbox.css +1 -1
  145. package/assets/ComboBox.css +1 -1
  146. package/assets/DateField.css +1 -1
  147. package/assets/DateInputDivider.css +1 -1
  148. package/assets/DateRangePicker.css +1 -1
  149. package/assets/Dialog.css +1 -1
  150. package/assets/Dropdown.css +1 -1
  151. package/assets/FieldError.css +1 -1
  152. package/assets/FileUpload.css +1 -1
  153. package/assets/GridItem.css +1 -1
  154. package/assets/Heading.css +1 -1
  155. package/assets/InfoBanner.css +1 -1
  156. package/assets/Label.css +1 -1
  157. package/assets/Layout.css +1 -1
  158. package/assets/Link.css +1 -1
  159. package/assets/LinkButton.css +1 -1
  160. package/assets/ListBoxSection.css +1 -1
  161. package/assets/Logo.css +1 -1
  162. package/assets/Popover.css +1 -1
  163. package/assets/ProgressBar.css +1 -1
  164. package/assets/Radio.css +1 -1
  165. package/assets/RangeCalendar.css +1 -1
  166. package/assets/SearchField.css +1 -1
  167. package/assets/Select.css +1 -1
  168. package/assets/Separator.css +1 -0
  169. package/assets/Skeleton.css +1 -1
  170. package/assets/Spinner.css +1 -1
  171. package/assets/TabList.css +1 -1
  172. package/assets/Table.css +1 -1
  173. package/assets/Tag.css +1 -1
  174. package/assets/Text.css +1 -1
  175. package/assets/TextField.css +1 -1
  176. package/assets/Toast.css +1 -1
  177. package/assets/ToggleButtonGroup.css +1 -1
  178. package/assets/Tooltip.css +1 -1
  179. package/assets/theme.css +1 -1
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/index.cjs +1 -1
  184. package/breadcrumbs/index.js +1 -1
  185. package/button/index.cjs +1 -1
  186. package/button/index.js +2 -2
  187. package/calendar/index.cjs +1 -1
  188. package/calendar/index.js +1 -1
  189. package/card/index.cjs +1 -1
  190. package/card/index.js +1 -1
  191. package/character-counter/index.cjs +1 -1
  192. package/character-counter/index.js +1 -1
  193. package/checkbox/index.cjs +1 -1
  194. package/checkbox/index.js +2 -2
  195. package/chevron-right-0-sUFBiR.cjs +6 -0
  196. package/chevron-right-BYYHEJjK.js +11 -0
  197. package/color-scheme-switch/index.cjs +1 -1
  198. package/color-scheme-switch/index.js +1 -1
  199. package/combobox/index.cjs +1 -1
  200. package/combobox/index.d.ts +1 -1
  201. package/combobox/index.js +1 -1
  202. package/combobox/intl/translations.json.d.ts +4 -2
  203. package/{context-Dl_saGB6.js → context-CGNJ3grH.js} +11 -11
  204. package/{context-UOrD6Zxk.cjs → context-Df3XbgBG.cjs} +1 -1
  205. package/date-field/index.cjs +1 -1
  206. package/date-field/index.js +2 -2
  207. package/date-picker/index.cjs +1 -1
  208. package/date-picker/index.js +1 -1
  209. package/dropdown/Dropdown.d.ts +18 -0
  210. package/dropdown/index.cjs +1 -1
  211. package/dropdown/index.js +1 -1
  212. package/field-error/index.cjs +1 -1
  213. package/field-error/index.js +1 -1
  214. package/file-upload/index.cjs +1 -1
  215. package/file-upload/index.js +1 -1
  216. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  217. package/filterDOMProps-wsa9OcNI.js +65 -0
  218. package/grid/index.cjs +1 -1
  219. package/grid/index.js +2 -2
  220. package/heading/index.cjs +1 -1
  221. package/heading/index.js +1 -1
  222. package/{index-BSMrH_Du.js → index-BLPblar-.js} +33 -30
  223. package/{index-D97L3EBk.cjs → index-DSFSh2sC.cjs} +3 -3
  224. package/index.cjs +1 -1
  225. package/index.d.ts +2 -0
  226. package/index.js +140 -125
  227. package/inertValue-B3AFhVG4.cjs +1 -0
  228. package/info-banner/index.cjs +1 -1
  229. package/info-banner/index.js +1 -1
  230. package/label/index.cjs +1 -1
  231. package/label/index.js +1 -1
  232. package/layout/index.cjs +1 -1
  233. package/layout/index.js +1 -1
  234. package/link/index.cjs +1 -1
  235. package/link/index.js +2 -2
  236. package/link-button/index.cjs +1 -1
  237. package/link-button/index.js +2 -2
  238. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  239. package/list-box/index.cjs +1 -1
  240. package/list-box/index.d.ts +1 -0
  241. package/list-box/index.js +6 -5
  242. package/list-box/intl/translations.json.d.ts +11 -0
  243. package/logo/index.cjs +1 -1
  244. package/logo/index.js +1 -1
  245. package/menu/Menu.d.ts +13 -0
  246. package/menu/MenuItem.d.ts +5 -0
  247. package/menu/MenuPopover.d.ts +3 -0
  248. package/menu/MenuSection.d.ts +3 -0
  249. package/menu/Separator.d.ts +3 -0
  250. package/menu/index.cjs +1 -0
  251. package/menu/index.d.ts +5 -0
  252. package/menu/index.js +8 -0
  253. package/mergeProps-BSsN7Bgk.js +117 -0
  254. package/mergeProps-JhcJ7uJL.cjs +1 -0
  255. package/modal/index.cjs +1 -1
  256. package/modal/index.js +2 -2
  257. package/package.json +6 -4
  258. package/popover/index.cjs +1 -1
  259. package/popover/index.js +1 -1
  260. package/progress-bar/index.cjs +1 -1
  261. package/progress-bar/index.js +1 -1
  262. package/radio/index.cjs +1 -1
  263. package/radio/index.js +1 -1
  264. package/search-field/index.cjs +1 -1
  265. package/search-field/index.js +1 -1
  266. package/select/Select.d.ts +1 -1
  267. package/select/index.cjs +1 -1
  268. package/select/index.js +1 -1
  269. package/skeleton/index.cjs +1 -1
  270. package/skeleton/index.js +1 -1
  271. package/spinner/index.cjs +1 -1
  272. package/spinner/index.js +1 -1
  273. package/table/index.cjs +1 -1
  274. package/table/index.js +1 -1
  275. package/tabs/index.cjs +1 -1
  276. package/tabs/index.js +1 -1
  277. package/tag/index.cjs +1 -1
  278. package/tag/index.js +1 -1
  279. package/text/index.cjs +1 -1
  280. package/text/index.js +1 -1
  281. package/textfield/Input.d.ts +7 -2
  282. package/textfield/PasswordField.d.ts +1 -1
  283. package/textfield/index.cjs +1 -1
  284. package/textfield/index.js +1 -1
  285. package/theme/generated-object.d.ts +384 -0
  286. package/theme/generated-tokens.d.ts +334 -0
  287. package/theme/index.cjs +1 -1
  288. package/theme/index.d.ts +4 -1
  289. package/theme/index.js +4037 -14
  290. package/theme/tokens.d.ts +30 -1
  291. package/toast/index.cjs +1 -1
  292. package/toast/index.js +1 -1
  293. package/toggle-button/index.cjs +1 -1
  294. package/toggle-button/index.js +1 -1
  295. package/{tokens-BWo7EvNX.cjs → tokens-B3FfJ-rY.cjs} +1 -1
  296. package/{tokens-BtEBd3jO.js → tokens-B9ooUP4g.js} +1 -2
  297. package/tooltip/index.cjs +1 -1
  298. package/tooltip/index.js +1 -1
  299. package/useButton-D6iUB8cN.js +56 -0
  300. package/useButton-R8-i3HLC.cjs +1 -0
  301. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  302. package/{useDateFormatter-DiIUdTak.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  303. package/{useDescription-LmB1V4Tg.js → useDescription-BLmIkYCq.js} +1 -1
  304. package/{useDescription-ByNlNIRU.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  305. package/useEvent-3ZO5TPSH.cjs +1 -0
  306. package/{useEvent-DqWz89vg.js → useEvent-DpBHTuHJ.js} +1 -1
  307. package/{useField-5CEdtfab.js → useField-BMegM8fA.js} +2 -2
  308. package/{useField-CoQAzygg.cjs → useField-DyeD7MLj.cjs} +1 -1
  309. package/{useFilter-BKQT28sh.js → useFilter-BFnSe_Eq.js} +1 -1
  310. package/{useFilter-Bjh5dq2Q.cjs → useFilter-aoggM85n.cjs} +1 -1
  311. package/{useFocusRing-BM-zcH6L.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  312. package/{useFocusRing-HoJn20X5.js → useFocusRing-DMo8ctYV.js} +2 -2
  313. package/{useFocusWithin-Cn18Myw6.js → useFocusWithin-ClMkhYcq.js} +1 -1
  314. package/{useFocusWithin-o0WjCpEB.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  315. package/{useFocusable-DbmryjUH.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  316. package/{useFocusable-ZjCKo1ed.js → useFocusable-DXlMChFC.js} +14 -14
  317. package/useFormValidation-BQIRxgbU.cjs +1 -0
  318. package/useFormValidation-L0UHvOsP.js +217 -0
  319. package/{useHasTabbableChild-CyOmqumh.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  320. package/useHasTabbableChild-CJcLnolh.cjs +1 -0
  321. package/{useHighlightSelectionDescription-DTxHtOsw.js → useHighlightSelectionDescription-BkEv9Jye.js} +5 -5
  322. package/{useHighlightSelectionDescription-DAhPdEG6.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  323. package/{useHover-D8fja4GW.js → useHover-D6bNIkU0.js} +81 -79
  324. package/useHover-DGAmG7jt.cjs +1 -0
  325. package/{useLabels-BtDN_ALM.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  326. package/{useLabels-DZlvh4P4.js → useLabels-Kmq5JCp_.js} +1 -1
  327. package/useListState-D2IEg6_e.cjs +1 -0
  328. package/{useListState-e7cL-FOK.js → useListState-pixYqSLl.js} +43 -42
  329. package/{useLocalizedStringFormatter-BSac43NO.cjs → useLocalizedStringFormatter-BO2iZEL0.cjs} +1 -1
  330. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  331. package/{useLocalizedStringFormatter-CSEh15AZ.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  332. package/{useLocalizedStringFormatter-aOhh7wdl.js → useLocalizedStringFormatter-N0AyjzbM.js} +1 -1
  333. package/useObserveElement-MhzEsCkX.cjs +1 -0
  334. package/usePress-CicXV7UO.cjs +7 -0
  335. package/{usePress-B_jgTf4k.js → usePress-DMUpU0GU.js} +84 -80
  336. package/{useSingleSelectListState-D7LjjoUJ.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  337. package/{useSingleSelectListState-BiJMNaOl.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  338. package/useTextField-BC5X_AO_.js +89 -0
  339. package/useTextField-Cxpfu0U3.cjs +1 -0
  340. package/useToggleState-BVOqL4hI.js +21 -0
  341. package/useToggleState-SqDyNfRi.cjs +1 -0
  342. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  343. package/utils/types.d.ts +4 -0
  344. package/{utils-BM2vxlNA.cjs → utils-CMHKYKlz.cjs} +1 -1
  345. package/{utils-KYuflGZt.js → utils-Cpcjg55U.js} +10 -10
  346. package/utils-DFIwp4PB.js +262 -0
  347. package/utils-__vrf9VZ.cjs +1 -0
  348. package/AccordionItem-DEiRuizp.js +0 -361
  349. package/AccordionItem-Dhr7uo8u.cjs +0 -1
  350. package/BadgeContainer-CxVmqJ7g.cjs +0 -1
  351. package/Breadcrumbs-CEyKlcGU.js +0 -262
  352. package/Breadcrumbs-CnGzvtbn.cjs +0 -1
  353. package/Button-DZzQGk-L.cjs +0 -1
  354. package/Button.module-D-mPLRxe.js +0 -14
  355. package/Button.module-goCEz5qs.cjs +0 -1
  356. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  357. package/Card-CwwVnA_a.js +0 -131
  358. package/Card-DPfOZC7f.cjs +0 -1
  359. package/CharacterCounter-DPphWPzA.js +0 -22
  360. package/Checkbox-BN_3F2Hl.js +0 -264
  361. package/Checkbox-CZtCj4yR.cjs +0 -1
  362. package/CheckboxGroup--xgOT1Do.js +0 -159
  363. package/CheckboxGroup-DGHaqRvb.cjs +0 -1
  364. package/Collection-B1xL4EdF.cjs +0 -1
  365. package/Collection-C5vE9MtJ.js +0 -577
  366. package/ComboBox-UadZMhiR.cjs +0 -1
  367. package/DateField-CNEoLyf5.cjs +0 -1
  368. package/DateField-CZmLugT0.js +0 -47
  369. package/DateInputDivider-CCjiq90K.cjs +0 -1
  370. package/DateRangePicker-DhgLEa9P.cjs +0 -6
  371. package/DateRangePicker-WQ97Psz7.js +0 -870
  372. package/Dialog-BT0tVGQb.cjs +0 -1
  373. package/Dialog-BuJdAr0D.js +0 -1611
  374. package/Dialog-DYK8lySl.cjs +0 -1
  375. package/Dialog-L53DWF0Z.js +0 -220
  376. package/DragAndDrop-DKxsUpmW.js +0 -60
  377. package/DragAndDrop-Dgfq6uJ0.cjs +0 -1
  378. package/FieldError-BlKkw9YL.js +0 -46
  379. package/FieldError-BvU0sueN.cjs +0 -1
  380. package/FocusScope-CAgWgk3N.cjs +0 -1
  381. package/GridItem-BnyULDnc.cjs +0 -1
  382. package/GridItem-orSzD7H5.js +0 -243
  383. package/Heading-DDhdwRAW.js +0 -46
  384. package/Heading-OUPkdoEJ.cjs +0 -1
  385. package/InfoBanner-DpLcq_1R.cjs +0 -1
  386. package/InfoBanner-U5hxOipC.js +0 -99
  387. package/Label-COpr4xVt.cjs +0 -1
  388. package/Layout-BR3Or1Ga.cjs +0 -16
  389. package/Layout-Bdqauktv.js +0 -498
  390. package/Link-CM2N5Jq-.js +0 -72
  391. package/Link-Dq8IFDBx.cjs +0 -6
  392. package/Link-ceVlGaWQ.cjs +0 -1
  393. package/LinkButton-BJA9_HzL.cjs +0 -6
  394. package/LinkButton-DH3Nfdis.js +0 -69
  395. package/ListBox-D0u9svwm.cjs +0 -1
  396. package/ListBox-y_dw__MI.js +0 -531
  397. package/ListBoxButton-C2zp-gXD.cjs +0 -1
  398. package/ListBoxButton-DiseS_LX.js +0 -15
  399. package/ListBoxSection-Cv-gN76G.js +0 -1058
  400. package/ListBoxSection-DtsigmC1.cjs +0 -1
  401. package/ListKeyboardDelegate-fZKXmHAk.cjs +0 -1
  402. package/OverlayArrow-8praV_Xy.cjs +0 -1
  403. package/OverlayArrow-DfkRZlgG.js +0 -507
  404. package/PressResponder-Bm3_RM9c.cjs +0 -1
  405. package/ProgressBar-D5mNQTID.cjs +0 -1
  406. package/ProgressBar-wQirOG1N.js +0 -53
  407. package/Radio-BIomn_sP.js +0 -313
  408. package/Radio-CxvJ5Wrl.cjs +0 -1
  409. package/RangeCalendar-BvvZ2SBj.cjs +0 -11
  410. package/Select-769RSZ9V.js +0 -664
  411. package/Select-Go5x0zWl.cjs +0 -1
  412. package/SelectionManager-BvREZgeu.cjs +0 -1
  413. package/Separator-CggS0R7Q.js +0 -59
  414. package/Separator-DBsDhqCr.cjs +0 -1
  415. package/Skeleton-BAwbfKBW.cjs +0 -1
  416. package/Skeleton-BePDRmrO.js +0 -40
  417. package/Spinner-AXFRWuT6.js +0 -51
  418. package/Spinner-yHx_DX_4.cjs +0 -6
  419. package/TabList-0gj27e_e.js +0 -386
  420. package/TabList-Cqpup53E.cjs +0 -1
  421. package/Table-BhtlNY9P.cjs +0 -16
  422. package/Tag-B9M-nBTM.js +0 -748
  423. package/Tag-DkW6zaIS.cjs +0 -1
  424. package/Text-BUDAzDjW.js +0 -32
  425. package/Text-DA_gK6a2.cjs +0 -1
  426. package/TextArea-CSrrYY05.cjs +0 -1
  427. package/TextArea-DphcH6wE.js +0 -119
  428. package/TextField-CsyRTSEG.js +0 -120
  429. package/TextField-P5yICj5z.cjs +0 -1
  430. package/TextField.module-BcpPBWnD.js +0 -13
  431. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  432. package/ToggleButtonGroup-BwFAhFEi.cjs +0 -1
  433. package/ToggleButtonGroup-CuxAKB3-.js +0 -211
  434. package/Tooltip-Bz0xCZSw.cjs +0 -1
  435. package/Tooltip-EuEQtHZj.js +0 -285
  436. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  437. package/filterDOMProps-D6KHYVBX.js +0 -24
  438. package/inertValue-BWmZ1afe.cjs +0 -1
  439. package/mergeProps-BYJQ6N1s.js +0 -115
  440. package/mergeProps-C7Sx47fA.cjs +0 -1
  441. package/useButton-CWHoXYnj.js +0 -47
  442. package/useButton-CwOQUGtY.cjs +0 -1
  443. package/useDateFormatter-bzjwqA2K.cjs +0 -1
  444. package/useEvent-CGRyLM2c.cjs +0 -1
  445. package/useFormValidation-BW2NSTM4.js +0 -215
  446. package/useFormValidation-DSRwb9US.cjs +0 -1
  447. package/useHasTabbableChild-CogBR_6o.cjs +0 -1
  448. package/useHover-CaFzQrR_.cjs +0 -1
  449. package/useListState-TtWy_rDI.cjs +0 -1
  450. package/useLocalizedStringFormatter-CHAo1AyN.cjs +0 -1
  451. package/useObserveElement-BzEr5D32.cjs +0 -1
  452. package/usePress-BOGIOlm8.cjs +0 -7
  453. package/useTextField-BVIOd8Ld.cjs +0 -1
  454. package/useTextField-DFkSHoQN.js +0 -86
  455. package/useToggleState-Bz5rAf4C.js +0 -18
  456. package/useToggleState-DoIkSQdj.cjs +0 -1
  457. package/utils-C5-CzvX2.cjs +0 -1
  458. package/utils-CuqJqFqQ.js +0 -234
@@ -1,20 +1,20 @@
1
- import { m as oe, b as O, $ as Ee, f as me, g as Se, e as p, d, n as q, h as V } from "./utils-CuqJqFqQ.js";
2
- import { e as Ke, $ as xe } from "./useFocusable-ZjCKo1ed.js";
3
- import { j as we, i as ke, h as G, k as _e, l as le, m as Oe, n as J } from "./useHover-D8fja4GW.js";
4
- import fe, { useMemo as ce, createContext as Me, useContext as ue, useState as Ce, useRef as Ie, useEffect as Q } from "react";
5
- import { d as k, a as de, e as Ae } from "./mergeProps-BYJQ6N1s.js";
6
- import { flushSync as Le } from "react-dom";
7
- const pe = /* @__PURE__ */ Me({
1
+ import { m as oe, b as O, $ as me, f as Ke, g as Se, e as p, d, n as q, h as V } from "./utils-DFIwp4PB.js";
2
+ import { e as xe, $ as we } from "./useFocusable-DXlMChFC.js";
3
+ import { j as ke, i as _e, h as G, k as Oe, l as le, m as Me, n as J } from "./useHover-D6bNIkU0.js";
4
+ import fe, { useMemo as ce, createContext as Ce, useContext as ue, useState as Ae, useRef as Ie, useEffect as Q } from "react";
5
+ import { d as k, a as de, e as Le } from "./mergeProps-BSsN7Bgk.js";
6
+ import { flushSync as De } from "react-dom";
7
+ const pe = /* @__PURE__ */ Ce({
8
8
  isNative: !0,
9
- open: De,
9
+ open: Ue,
10
10
  useHref: (t) => t
11
11
  });
12
12
  function tt(t) {
13
13
  let { children: n, navigate: a, useHref: o } = t, c = ce(() => ({
14
14
  isNative: !1,
15
15
  open: (g, $, y, P) => {
16
- ge(g, (b) => {
17
- Ue(b, $) ? a(y, P) : M(b, $);
16
+ $e(g, (b) => {
17
+ ge(b, $) ? a(y, P) : M(b, $);
18
18
  });
19
19
  },
20
20
  useHref: o || ((g) => g)
@@ -29,7 +29,7 @@ function tt(t) {
29
29
  function ve() {
30
30
  return ue(pe);
31
31
  }
32
- function Ue(t, n) {
32
+ function ge(t, n) {
33
33
  let a = t.getAttribute("target");
34
34
  return (!a || a === "_self") && t.origin === location.origin && !t.hasAttribute("download") && !n.metaKey && // open in new tab (mac)
35
35
  !n.ctrlKey && // open in new tab (windows)
@@ -39,8 +39,8 @@ function Ue(t, n) {
39
39
  function M(t, n, a = !0) {
40
40
  var o, c;
41
41
  let { metaKey: g, ctrlKey: $, altKey: y, shiftKey: P } = n;
42
- we() && (!((c = window.event) === null || c === void 0 || (o = c.type) === null || o === void 0) && o.startsWith("key")) && t.target === "_blank" && (G() ? g = !0 : $ = !0);
43
- let b = ke() && G() && !_e() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
42
+ ke() && (!((c = window.event) === null || c === void 0 || (o = c.type) === null || o === void 0) && o.startsWith("key")) && t.target === "_blank" && (G() ? g = !0 : $ = !0);
43
+ let b = _e() && G() && !Oe() && process.env.NODE_ENV !== "test" ? new KeyboardEvent("keydown", {
44
44
  keyIdentifier: "Enter",
45
45
  metaKey: g,
46
46
  ctrlKey: $,
@@ -57,15 +57,15 @@ function M(t, n, a = !0) {
57
57
  M.isOpening = a, oe(t), t.dispatchEvent(b), M.isOpening = !1;
58
58
  }
59
59
  M.isOpening = !1;
60
- function ge(t, n) {
60
+ function $e(t, n) {
61
61
  if (t instanceof HTMLAnchorElement) n(t);
62
62
  else if (t.hasAttribute("data-href")) {
63
63
  let a = document.createElement("a");
64
64
  a.href = t.getAttribute("data-href"), t.hasAttribute("data-target") && (a.target = t.getAttribute("data-target")), t.hasAttribute("data-rel") && (a.rel = t.getAttribute("data-rel")), t.hasAttribute("data-download") && (a.download = t.getAttribute("data-download")), t.hasAttribute("data-ping") && (a.ping = t.getAttribute("data-ping")), t.hasAttribute("data-referrer-policy") && (a.referrerPolicy = t.getAttribute("data-referrer-policy")), t.appendChild(a), n(a), t.removeChild(a);
65
65
  }
66
66
  }
67
- function De(t, n) {
68
- ge(t, (a) => M(a, n));
67
+ function Ue(t, n) {
68
+ $e(t, (a) => M(a, n));
69
69
  }
70
70
  function rt(t) {
71
71
  let n = ve();
@@ -93,14 +93,25 @@ function nt(t) {
93
93
  referrerPolicy: t == null ? void 0 : t.referrerPolicy
94
94
  };
95
95
  }
96
- let I = "default", j = "", Y = /* @__PURE__ */ new WeakMap();
96
+ function at(t, n, a, o) {
97
+ !n.isNative && t.currentTarget instanceof HTMLAnchorElement && t.currentTarget.href && // If props are applied to a router Link component, it may have already prevented default.
98
+ !t.isDefaultPrevented() && ge(t.currentTarget, t) && a && (t.preventDefault(), n.open(t.currentTarget, t, a, o));
99
+ }
100
+ function He(t, n) {
101
+ if (n.has(t))
102
+ throw new TypeError("Cannot initialize the same private elements twice on an object");
103
+ }
104
+ function Ye(t, n, a) {
105
+ He(t, n), n.set(t, a);
106
+ }
107
+ let A = "default", j = "", Y = /* @__PURE__ */ new WeakMap();
97
108
  function Z(t) {
98
109
  if (le()) {
99
- if (I === "default") {
110
+ if (A === "default") {
100
111
  const n = O(t);
101
112
  j = n.documentElement.style.webkitUserSelect, n.documentElement.style.webkitUserSelect = "none";
102
113
  }
103
- I = "disabled";
114
+ A = "disabled";
104
115
  } else if (t instanceof HTMLElement || t instanceof SVGElement) {
105
116
  let n = "userSelect" in t.style ? "userSelect" : "webkitUserSelect";
106
117
  Y.set(t, t.style[n]), t.style[n] = "none";
@@ -108,12 +119,12 @@ function Z(t) {
108
119
  }
109
120
  function F(t) {
110
121
  if (le()) {
111
- if (I !== "disabled") return;
112
- I = "restoring", setTimeout(() => {
113
- Ke(() => {
114
- if (I === "restoring") {
122
+ if (A !== "disabled") return;
123
+ A = "restoring", setTimeout(() => {
124
+ xe(() => {
125
+ if (A === "restoring") {
115
126
  const n = O(t);
116
- n.documentElement.style.webkitUserSelect === "none" && (n.documentElement.style.webkitUserSelect = j || ""), j = "", I = "default";
127
+ n.documentElement.style.webkitUserSelect === "none" && (n.documentElement.style.webkitUserSelect = j || ""), j = "", A = "default";
117
128
  }
118
129
  });
119
130
  }, 300);
@@ -122,28 +133,21 @@ function F(t) {
122
133
  t.style[a] === "none" && (t.style[a] = n), t.getAttribute("style") === "" && t.removeAttribute("style"), Y.delete(t);
123
134
  }
124
135
  }
125
- const $e = fe.createContext({
136
+ const ye = fe.createContext({
126
137
  register: () => {
127
138
  }
128
139
  });
129
- $e.displayName = "PressResponderContext";
130
- function He(t, n) {
140
+ ye.displayName = "PressResponderContext";
141
+ function Xe(t, n) {
131
142
  return n.get ? n.get.call(t) : n.value;
132
143
  }
133
- function ye(t, n, a) {
144
+ function be(t, n, a) {
134
145
  if (!n.has(t)) throw new TypeError("attempted to " + a + " private field on non-instance");
135
146
  return n.get(t);
136
147
  }
137
- function Ye(t, n) {
138
- var a = ye(t, n, "get");
139
- return He(t, a);
140
- }
141
- function Xe(t, n) {
142
- if (n.has(t))
143
- throw new TypeError("Cannot initialize the same private elements twice on an object");
144
- }
145
- function Re(t, n, a) {
146
- Xe(t, n), n.set(t, a);
148
+ function Re(t, n) {
149
+ var a = be(t, n, "get");
150
+ return Xe(t, a);
147
151
  }
148
152
  function Ne(t, n, a) {
149
153
  if (n.set) n.set.call(t, a);
@@ -154,40 +158,40 @@ function Ne(t, n, a) {
154
158
  }
155
159
  }
156
160
  function ee(t, n, a) {
157
- var o = ye(t, n, "set");
161
+ var o = be(t, n, "set");
158
162
  return Ne(t, o, a), a;
159
163
  }
160
164
  function Fe(t) {
161
- let n = ue($e);
165
+ let n = ue(ye);
162
166
  if (n) {
163
167
  let { register: a, ...o } = n;
164
168
  t = de(o, t), a();
165
169
  }
166
- return xe(n, t.ref), t;
170
+ return we(n, t.ref), t;
167
171
  }
168
- var D = /* @__PURE__ */ new WeakMap();
172
+ var U = /* @__PURE__ */ new WeakMap();
169
173
  class H {
170
174
  continuePropagation() {
171
- ee(this, D, !1);
175
+ ee(this, U, !1);
172
176
  }
173
177
  get shouldStopPropagation() {
174
- return Ye(this, D);
178
+ return Re(this, U);
175
179
  }
176
180
  constructor(n, a, o, c) {
177
- Re(this, D, {
181
+ Ye(this, U, {
178
182
  writable: !0,
179
183
  value: void 0
180
- }), ee(this, D, !0);
184
+ }), ee(this, U, !0);
181
185
  var g;
182
186
  let $ = (g = c == null ? void 0 : c.target) !== null && g !== void 0 ? g : o.currentTarget;
183
187
  const y = $ == null ? void 0 : $.getBoundingClientRect();
184
- let P, b = 0, A, T = null;
185
- o.clientX != null && o.clientY != null && (A = o.clientX, T = o.clientY), y && (A != null && T != null ? (P = A - y.left, b = T - y.top) : (P = y.width / 2, b = y.height / 2)), this.type = n, this.pointerType = a, this.target = o.currentTarget, this.shiftKey = o.shiftKey, this.metaKey = o.metaKey, this.ctrlKey = o.ctrlKey, this.altKey = o.altKey, this.x = P, this.y = b;
188
+ let P, b = 0, I, T = null;
189
+ o.clientX != null && o.clientY != null && (I = o.clientX, T = o.clientY), y && (I != null && T != null ? (P = I - y.left, b = T - y.top) : (P = y.width / 2, b = y.height / 2)), this.type = n, this.pointerType = a, this.target = o.currentTarget, this.shiftKey = o.shiftKey, this.metaKey = o.metaKey, this.ctrlKey = o.ctrlKey, this.altKey = o.altKey, this.x = P, this.y = b;
186
190
  }
187
191
  }
188
192
  const te = Symbol("linkClicked"), re = "react-aria-pressable-style", ne = "data-react-aria-pressable";
189
- function at(t) {
190
- let { onPress: n, onPressChange: a, onPressStart: o, onPressEnd: c, onPressUp: g, onClick: $, isDisabled: y, isPressed: P, preventFocusOnPress: b, shouldCancelOnPointerExit: A, allowTextSelectionOnPress: T, ref: X, ...Te } = Fe(t), [he, W] = Ce(!1), C = Ie({
193
+ function it(t) {
194
+ let { onPress: n, onPressChange: a, onPressStart: o, onPressEnd: c, onPressUp: g, onClick: $, isDisabled: y, isPressed: P, preventFocusOnPress: b, shouldCancelOnPointerExit: I, allowTextSelectionOnPress: T, ref: X, ...he } = Fe(t), [Pe, W] = Ae(!1), C = Ie({
191
195
  isPressed: !1,
192
196
  ignoreEmulatedMouseEvents: !1,
193
197
  didFirePressStart: !1,
@@ -197,7 +201,7 @@ function at(t) {
197
201
  isOverTarget: !1,
198
202
  pointerType: null,
199
203
  disposables: []
200
- }), { addGlobalListener: x, removeAllGlobalListeners: L } = Ee(), m = k((e, s) => {
204
+ }), { addGlobalListener: x, removeAllGlobalListeners: L } = me(), m = k((e, s) => {
201
205
  let v = C.current;
202
206
  if (y || v.didFirePressStart) return !1;
203
207
  let i = !0;
@@ -236,16 +240,16 @@ function at(t) {
236
240
  for (let v of s.disposables) v();
237
241
  s.disposables = [];
238
242
  }
239
- }), U = k((e) => {
240
- A && h(e);
243
+ }), D = k((e) => {
244
+ I && h(e);
241
245
  }), R = k((e) => {
242
246
  $ == null || $(e);
243
247
  }), N = k((e, s) => {
244
248
  if ($) {
245
249
  let v = new MouseEvent("click", e);
246
- me(v, s), $(Se(v));
250
+ Ke(v, s), $(Se(v));
247
251
  }
248
- }), Pe = ce(() => {
252
+ }), Ee = ce(() => {
249
253
  let e = C.current, s = {
250
254
  onKeyDown(i) {
251
255
  if (B(i.nativeEvent, i.currentTarget) && p(i.currentTarget, d(i.nativeEvent))) {
@@ -254,10 +258,10 @@ function at(t) {
254
258
  let r = !0;
255
259
  if (!e.isPressed && !i.repeat) {
256
260
  e.target = i.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = m(i, "keyboard");
257
- let l = i.currentTarget, f = (S) => {
258
- B(S, l) && !S.repeat && p(l, d(S)) && e.target && w(_(e.target, S), "keyboard");
261
+ let l = i.currentTarget, f = (K) => {
262
+ B(K, l) && !K.repeat && p(l, d(K)) && e.target && w(_(e.target, K), "keyboard");
259
263
  };
260
- x(O(i.currentTarget), "keyup", Ae(f, v), !0);
264
+ x(O(i.currentTarget), "keyup", Le(f, v), !0);
261
265
  }
262
266
  r && i.stopPropagation(), i.metaKey && G() && ((u = e.metaKeyEvents) === null || u === void 0 || u.set(i.key, i.nativeEvent));
263
267
  } else i.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
@@ -280,19 +284,19 @@ function at(t) {
280
284
  if (e.isPressed && e.target && B(i, e.target)) {
281
285
  var r;
282
286
  se(d(i), i.key) && i.preventDefault();
283
- let f = d(i), S = p(e.target, d(i));
284
- E(_(e.target, i), "keyboard", S), S && N(i, e.target), L(), i.key !== "Enter" && z(e.target) && p(e.target, f) && !i[te] && (i[te] = !0, M(e.target, i, !1)), e.isPressed = !1, (r = e.metaKeyEvents) === null || r === void 0 || r.delete(i.key);
287
+ let f = d(i), K = p(e.target, d(i));
288
+ E(_(e.target, i), "keyboard", K), K && N(i, e.target), L(), i.key !== "Enter" && z(e.target) && p(e.target, f) && !i[te] && (i[te] = !0, M(e.target, i, !1)), e.isPressed = !1, (r = e.metaKeyEvents) === null || r === void 0 || r.delete(i.key);
285
289
  } else if (i.key === "Meta" && (!((u = e.metaKeyEvents) === null || u === void 0) && u.size)) {
286
290
  var l;
287
291
  let f = e.metaKeyEvents;
288
292
  e.metaKeyEvents = void 0;
289
- for (let S of f.values()) (l = e.target) === null || l === void 0 || l.dispatchEvent(new KeyboardEvent("keyup", S));
293
+ for (let K of f.values()) (l = e.target) === null || l === void 0 || l.dispatchEvent(new KeyboardEvent("keyup", K));
290
294
  }
291
295
  };
292
296
  if (typeof PointerEvent < "u") {
293
297
  s.onPointerDown = (r) => {
294
298
  if (r.button !== 0 || !p(r.currentTarget, d(r.nativeEvent))) return;
295
- if (Oe(r.nativeEvent)) {
299
+ if (Me(r.nativeEvent)) {
296
300
  e.pointerType = "virtual";
297
301
  return;
298
302
  }
@@ -317,7 +321,7 @@ function at(t) {
317
321
  }, s.onPointerEnter = (r) => {
318
322
  r.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, m(_(e.target, r), e.pointerType));
319
323
  }, s.onPointerLeave = (r) => {
320
- r.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, E(_(e.target, r), e.pointerType, !1), U(r));
324
+ r.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, E(_(e.target, r), e.pointerType, !1), D(r));
321
325
  };
322
326
  let i = (r) => {
323
327
  if (r.pointerId === e.activePointerId && e.isPressed && r.button === 0 && e.target) {
@@ -342,7 +346,7 @@ function at(t) {
342
346
  r.stopPropagation();
343
347
  return;
344
348
  }
345
- if (e.isPressed = !0, e.isOverTarget = !0, e.target = r.currentTarget, e.pointerType = J(r.nativeEvent) ? "virtual" : "mouse", Le(() => m(r, e.pointerType)) && r.stopPropagation(), b) {
349
+ if (e.isPressed = !0, e.isOverTarget = !0, e.target = r.currentTarget, e.pointerType = J(r.nativeEvent) ? "virtual" : "mouse", De(() => m(r, e.pointerType)) && r.stopPropagation(), b) {
346
350
  let f = q(r.target);
347
351
  f && e.disposables.push(f);
348
352
  }
@@ -354,7 +358,7 @@ function at(t) {
354
358
  }, s.onMouseLeave = (r) => {
355
359
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
356
360
  let l = !0;
357
- e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !1, l = E(r, e.pointerType, !1), U(r)), l && r.stopPropagation();
361
+ e.isPressed && !e.ignoreEmulatedMouseEvents && e.pointerType != null && (e.isOverTarget = !1, l = E(r, e.pointerType, !1), D(r)), l && r.stopPropagation();
358
362
  }, s.onMouseUp = (r) => {
359
363
  p(r.currentTarget, d(r.nativeEvent)) && !e.ignoreEmulatedMouseEvents && r.button === 0 && !e.isPressed && w(r, e.pointerType || "mouse");
360
364
  };
@@ -371,7 +375,7 @@ function at(t) {
371
375
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
372
376
  let l = Be(r.nativeEvent);
373
377
  if (!l) return;
374
- e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(K(e.target, r), e.pointerType) && r.stopPropagation(), x(V(r.currentTarget), "scroll", u, !0);
378
+ e.activePointerId = l.identifier, e.ignoreEmulatedMouseEvents = !0, e.isOverTarget = !0, e.isPressed = !0, e.target = r.currentTarget, e.pointerType = "touch", T || Z(e.target), m(S(e.target, r), e.pointerType) && r.stopPropagation(), x(V(r.currentTarget), "scroll", u, !0);
375
379
  }, s.onTouchMove = (r) => {
376
380
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
377
381
  if (!e.isPressed) {
@@ -379,7 +383,7 @@ function at(t) {
379
383
  return;
380
384
  }
381
385
  let l = ae(r.nativeEvent, e.activePointerId), f = !0;
382
- l && ie(l, r.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, f = m(K(e.target, r), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, f = E(K(e.target, r), e.pointerType, !1), U(K(e.target, r))), f && r.stopPropagation();
386
+ l && ie(l, r.currentTarget) ? !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, f = m(S(e.target, r), e.pointerType)) : e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, f = E(S(e.target, r), e.pointerType, !1), D(S(e.target, r))), f && r.stopPropagation();
383
387
  }, s.onTouchEnd = (r) => {
384
388
  if (!p(r.currentTarget, d(r.nativeEvent))) return;
385
389
  if (!e.isPressed) {
@@ -387,9 +391,9 @@ function at(t) {
387
391
  return;
388
392
  }
389
393
  let l = ae(r.nativeEvent, e.activePointerId), f = !0;
390
- l && ie(l, r.currentTarget) && e.pointerType != null ? (w(K(e.target, r), e.pointerType), f = E(K(e.target, r), e.pointerType), N(r.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (f = E(K(e.target, r), e.pointerType, !1)), f && r.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !T && F(e.target), L();
394
+ l && ie(l, r.currentTarget) && e.pointerType != null ? (w(S(e.target, r), e.pointerType), f = E(S(e.target, r), e.pointerType), N(r.nativeEvent, e.target)) : e.isOverTarget && e.pointerType != null && (f = E(S(e.target, r), e.pointerType, !1)), f && r.stopPropagation(), e.isPressed = !1, e.activePointerId = null, e.isOverTarget = !1, e.ignoreEmulatedMouseEvents = !0, e.target && !T && F(e.target), L();
391
395
  }, s.onTouchCancel = (r) => {
392
- p(r.currentTarget, d(r.nativeEvent)) && (r.stopPropagation(), e.isPressed && h(K(e.target, r)));
396
+ p(r.currentTarget, d(r.nativeEvent)) && (r.stopPropagation(), e.isPressed && h(S(e.target, r)));
393
397
  };
394
398
  let u = (r) => {
395
399
  e.isPressed && p(d(r), e.target) && h({
@@ -412,7 +416,7 @@ function at(t) {
412
416
  L,
413
417
  T,
414
418
  h,
415
- U,
419
+ D,
416
420
  E,
417
421
  m,
418
422
  w,
@@ -444,8 +448,8 @@ function at(t) {
444
448
  }, [
445
449
  T
446
450
  ]), {
447
- isPressed: P || he,
448
- pressProps: de(Te, Pe, {
451
+ isPressed: P || Pe,
452
+ pressProps: de(he, Ee, {
449
453
  [ne]: !0
450
454
  })
451
455
  };
@@ -455,7 +459,7 @@ function z(t) {
455
459
  }
456
460
  function B(t, n) {
457
461
  const { key: a, code: o } = t, c = n, g = c.getAttribute("role");
458
- return (a === "Enter" || a === " " || a === "Spacebar" || o === "Space") && !(c instanceof V(c).HTMLInputElement && !be(c, a) || c instanceof V(c).HTMLTextAreaElement || c.isContentEditable) && // Links should only trigger with Enter key
462
+ return (a === "Enter" || a === " " || a === "Spacebar" || o === "Space") && !(c instanceof V(c).HTMLInputElement && !Te(c, a) || c instanceof V(c).HTMLTextAreaElement || c.isContentEditable) && // Links should only trigger with Enter key
459
463
  !((g === "link" || !g && z(c)) && a !== "Enter");
460
464
  }
461
465
  function Be(t) {
@@ -470,7 +474,7 @@ function ae(t, n) {
470
474
  }
471
475
  return null;
472
476
  }
473
- function K(t, n) {
477
+ function S(t, n) {
474
478
  let a = 0, o = 0;
475
479
  return n.targetTouches && n.targetTouches.length === 1 && (a = n.targetTouches[0].clientX, o = n.targetTouches[0].clientY), {
476
480
  currentTarget: t,
@@ -514,7 +518,7 @@ function je(t) {
514
518
  return t instanceof HTMLInputElement ? !1 : t instanceof HTMLButtonElement ? t.type !== "submit" && t.type !== "reset" : !z(t);
515
519
  }
516
520
  function se(t, n) {
517
- return t instanceof HTMLInputElement ? !be(t, n) : je(t);
521
+ return t instanceof HTMLInputElement ? !Te(t, n) : je(t);
518
522
  }
519
523
  const ze = /* @__PURE__ */ new Set([
520
524
  "checkbox",
@@ -527,17 +531,17 @@ const ze = /* @__PURE__ */ new Set([
527
531
  "submit",
528
532
  "reset"
529
533
  ]);
530
- function be(t, n) {
534
+ function Te(t, n) {
531
535
  return t.type === "checkbox" || t.type === "radio" ? n === " " : ze.has(t.type);
532
536
  }
533
537
  export {
534
538
  tt as $,
535
- Re as _,
536
- $e as a,
537
- at as b,
539
+ Ye as _,
540
+ ye as a,
541
+ it as b,
538
542
  ve as c,
539
543
  nt as d,
540
- Ue as e,
544
+ at as e,
541
545
  M as f,
542
546
  rt as g
543
547
  };
@@ -1,4 +1,4 @@
1
- import { $ as f } from "./useListState-e7cL-FOK.js";
1
+ import { $ as f } from "./useListState-pixYqSLl.js";
2
2
  import { $ as y } from "./useControlledState-u436Wbp1.js";
3
3
  import { useMemo as K } from "react";
4
4
  function S(l) {
@@ -1 +1 @@
1
- "use strict";const f=require("./useListState-TtWy_rDI.cjs"),b=require("./useControlledState-D0L6S_5r.cjs"),y=require("react");function $(l){var t;let[e,a]=b.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),s=y.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:s,onSelectionChange:d=>{if(d==="all")return;var n;let c=(n=d.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=$;
1
+ "use strict";const f=require("./useListState-D2IEg6_e.cjs"),y=require("./useControlledState-D0L6S_5r.cjs"),b=require("react");function K(l){var t;let[e,a]=y.$458b0a5536c1a7cf$export$40bfa8c7b0832715(l.selectedKey,(t=l.defaultSelectedKey)!==null&&t!==void 0?t:null,l.onSelectionChange),d=b.useMemo(()=>e!=null?[e]:[],[e]),{collection:o,disabledKeys:i,selectionManager:u}=f.$e72dd72e1c76a225$export$2f645645f7bca764({...l,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:d,onSelectionChange:s=>{if(s==="all")return;var n;let c=(n=s.values().next().value)!==null&&n!==void 0?n:null;c===e&&l.onSelectionChange&&l.onSelectionChange(c),a(c)}}),r=e!=null?o.getItem(e):null;return{collection:o,disabledKeys:i,selectionManager:u,selectedKey:e,setSelectedKey:a,selectedItem:r}}exports.$a0d645289fe9b86b$export$e7f05e985daf4b5f=K;
@@ -0,0 +1,89 @@
1
+ import { h as E } from "./utils-DFIwp4PB.js";
2
+ import { a as I } from "./mergeProps-BSsN7Bgk.js";
3
+ import { $ as M } from "./filterDOMProps-wsa9OcNI.js";
4
+ import { $ as V, a as S, b as D } from "./useFormValidation-L0UHvOsP.js";
5
+ import { $ as L } from "./useControlledState-u436Wbp1.js";
6
+ import O, { useState as R, useEffect as q } from "react";
7
+ import { $ as B } from "./useField-BMegM8fA.js";
8
+ import { a as T } from "./useFocusable-DXlMChFC.js";
9
+ function w(e, a) {
10
+ let { inputElementType: c = "input", isDisabled: f = !1, isRequired: r = !1, isReadOnly: m = !1, type: $ = "text", validationBehavior: l = "aria" } = e, [i, d] = L(e.value, e.defaultValue || "", e.onChange), { focusableProps: b } = T(e, a), u = V({
11
+ ...e,
12
+ value: i
13
+ }), { isInvalid: n, validationErrors: s, validationDetails: v } = u.displayValidation, { labelProps: C, fieldProps: P, descriptionProps: p, errorMessageProps: g } = B({
14
+ ...e,
15
+ isInvalid: n,
16
+ errorMessage: e.errorMessage || s
17
+ }), h = M(e, {
18
+ labelable: !0
19
+ });
20
+ const y = {
21
+ type: $,
22
+ pattern: e.pattern
23
+ };
24
+ let [x] = R(i);
25
+ var o;
26
+ return S(a, (o = e.defaultValue) !== null && o !== void 0 ? o : x, d), D(e, u, a), q(() => {
27
+ if (a.current instanceof E(a.current).HTMLTextAreaElement) {
28
+ let t = a.current;
29
+ Object.defineProperty(t, "defaultValue", {
30
+ get: () => t.value,
31
+ set: () => {
32
+ },
33
+ configurable: !0
34
+ });
35
+ }
36
+ }, [
37
+ a
38
+ ]), {
39
+ labelProps: C,
40
+ inputProps: I(h, c === "input" ? y : void 0, {
41
+ disabled: f,
42
+ readOnly: m,
43
+ required: r && l === "native",
44
+ "aria-required": r && l === "aria" || void 0,
45
+ "aria-invalid": n || void 0,
46
+ "aria-errormessage": e["aria-errormessage"],
47
+ "aria-activedescendant": e["aria-activedescendant"],
48
+ "aria-autocomplete": e["aria-autocomplete"],
49
+ "aria-haspopup": e["aria-haspopup"],
50
+ "aria-controls": e["aria-controls"],
51
+ value: i,
52
+ onChange: (t) => d(t.target.value),
53
+ autoComplete: e.autoComplete,
54
+ autoCapitalize: e.autoCapitalize,
55
+ maxLength: e.maxLength,
56
+ minLength: e.minLength,
57
+ name: e.name,
58
+ form: e.form,
59
+ placeholder: e.placeholder,
60
+ inputMode: e.inputMode,
61
+ autoCorrect: e.autoCorrect,
62
+ spellCheck: e.spellCheck,
63
+ [parseInt(O.version, 10) >= 17 ? "enterKeyHint" : "enterkeyhint"]: e.enterKeyHint,
64
+ // Clipboard events
65
+ onCopy: e.onCopy,
66
+ onCut: e.onCut,
67
+ onPaste: e.onPaste,
68
+ // Composition events
69
+ onCompositionEnd: e.onCompositionEnd,
70
+ onCompositionStart: e.onCompositionStart,
71
+ onCompositionUpdate: e.onCompositionUpdate,
72
+ // Selection events
73
+ onSelect: e.onSelect,
74
+ // Input events
75
+ onBeforeInput: e.onBeforeInput,
76
+ onInput: e.onInput,
77
+ ...b,
78
+ ...P
79
+ }),
80
+ descriptionProps: p,
81
+ errorMessageProps: g,
82
+ isInvalid: n,
83
+ validationErrors: s,
84
+ validationDetails: v
85
+ };
86
+ }
87
+ export {
88
+ w as $
89
+ };
@@ -0,0 +1 @@
1
+ "use strict";const I=require("./utils-__vrf9VZ.cjs"),M=require("./mergeProps-JhcJ7uJL.cjs"),V=require("./filterDOMProps-RRlKPKX0.cjs"),r=require("./useFormValidation-BQIRxgbU.cjs"),S=require("./useControlledState-D0L6S_5r.cjs"),l=require("react"),D=require("./useField-DyeD7MLj.cjs"),O=require("./useFocusable-CsG-IPuC.cjs");function L(e,a){let{inputElementType:$="input",isDisabled:b=!1,isRequired:d=!1,isReadOnly:v=!1,type:m="text",validationBehavior:u="aria"}=e,[i,s]=S.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.value,e.defaultValue||"",e.onChange),{focusableProps:C}=O.$f645667febf57a63$export$4c014de7c8940b4c(e,a),c=r.$e5be200c675c3b3a$export$fc1a364ae1f3ff10({...e,value:i}),{isInvalid:n,validationErrors:f,validationDetails:P}=c.displayValidation,{labelProps:g,fieldProps:y,descriptionProps:h,errorMessageProps:x}=D.$2baaea4c71418dea$export$294aa081a6c6f55d({...e,isInvalid:n,errorMessage:e.errorMessage||f}),q=V.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0});const p={type:m,pattern:e.pattern};let[E]=l.useState(i);var o;return r.$99facab73266f662$export$5add1d006293d136(a,(o=e.defaultValue)!==null&&o!==void 0?o:E,s),r.$e93e671b31057976$export$b8473d3665f3a75a(e,c,a),l.useEffect(()=>{if(a.current instanceof I.$431fbd86ca7dc216$export$f21a1ffae260145a(a.current).HTMLTextAreaElement){let t=a.current;Object.defineProperty(t,"defaultValue",{get:()=>t.value,set:()=>{},configurable:!0})}},[a]),{labelProps:g,inputProps:M.$3ef42575df84b30b$export$9d1611c77c2fe928(q,$==="input"?p:void 0,{disabled:b,readOnly:v,required:d&&u==="native","aria-required":d&&u==="aria"||void 0,"aria-invalid":n||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:i,onChange:t=>s(t.target.value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(l.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...C,...y}),descriptionProps:h,errorMessageProps:x,isInvalid:n,validationErrors:f,validationDetails:P}}exports.$2d73ec29415bd339$export$712718f7aec83d5=L;
@@ -0,0 +1,21 @@
1
+ import { $ as u } from "./useControlledState-u436Wbp1.js";
2
+ import { useState as S } from "react";
3
+ function $(e = {}) {
4
+ let { isReadOnly: d } = e, [t, a] = u(e.isSelected, e.defaultSelected || !1, e.onChange), [c] = S(t);
5
+ function f(n) {
6
+ d || a(n);
7
+ }
8
+ function i() {
9
+ d || a(!t);
10
+ }
11
+ var l;
12
+ return {
13
+ isSelected: t,
14
+ defaultSelected: (l = e.defaultSelected) !== null && l !== void 0 ? l : c,
15
+ setSelected: f,
16
+ toggle: i
17
+ };
18
+ }
19
+ export {
20
+ $
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./useControlledState-D0L6S_5r.cjs"),S=require("react");function o(e={}){let{isReadOnly:d}=e,[t,c]=u.$458b0a5536c1a7cf$export$40bfa8c7b0832715(e.isSelected,e.defaultSelected||!1,e.onChange),[a]=S.useState(t);function f(n){d||c(n)}function i(){d||c(!t)}var l;return{isSelected:t,defaultSelected:(l=e.defaultSelected)!==null&&l!==void 0?l:a,setSelected:f,toggle:i}}exports.$3017fa7ffdddec74$export$8042c6c013fd5226=o;
@@ -1 +1 @@
1
- "use strict";const t=require("react");function a(c,r){const e=t.useRef(!0),f=t.useRef(null);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{let u=f.current;e.current?e.current=!1:(!u||r.some((s,n)=>!Object.is(s,u[n])))&&c(),f.current=r},r)}exports.$4f58c5f72bcf79f7$export$496315a1608d9602=a;
1
+ "use strict";const t=require("react");function l(c,r){const e=t.useRef(!0),f=t.useRef(null);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{let u=f.current;e.current?e.current=!1:(!u||r.some((s,n)=>!Object.is(s,u[n])))&&c(),f.current=r},r)}exports.$4f58c5f72bcf79f7$export$496315a1608d9602=l;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Create an object with disallowed keys
3
+ */
4
+ export type ExcludeKeysFrom<T extends object, ToExlude extends PropertyKey> = Omit<T, ToExlude> & Partial<Record<ToExlude, never>>;
@@ -1 +1 @@
1
- "use strict";const i=require("./mergeProps-C7Sx47fA.cjs"),u=require("react");function y(...e){return e.length===1&&e[0]?e[0]:l=>{let t=!1;const n=e.map(a=>{const f=$(a,l);return t||(t=typeof f=="function"),f});if(t)return()=>{n.forEach((a,f)=>{typeof a=="function"?a():$(e[f],null)})}}}function $(e,l){if(typeof e=="function")return e(l);e!=null&&(e.current=l)}function p(e){const l=u.useRef(null),t=u.useRef(void 0),n=u.useCallback(a=>{if(typeof e=="function"){const f=e,r=f(a);return()=>{typeof r=="function"?r():f(null)}}else if(e)return e.current=a,()=>{e.current=null}},[e]);return u.useMemo(()=>({get current(){return l.current},set current(a){l.current=a,t.current&&(t.current(),t.current=void 0),a!=null&&(t.current=n(a))}}),[n])}const b=Symbol("default");function C({values:e,children:l}){for(let[t,n]of e)l=u.createElement(t.Provider,{value:n},l);return l}function S(e){let{className:l,style:t,children:n,defaultClassName:a,defaultChildren:f,defaultStyle:r,values:s}=e;return u.useMemo(()=>{let o,d,c;return typeof l=="function"?o=l({...s,defaultClassName:a}):o=l,typeof t=="function"?d=t({...s,defaultStyle:r||{}}):d=t,typeof n=="function"?c=n({...s,defaultChildren:f}):n==null?c=f:c=n,{className:o??a,style:d||r?{...r,...d}:void 0,children:c??f,"data-rac":""}},[l,t,n,a,f,r,s])}function x(e,l){let t=u.useContext(e);if(l===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let n=l||b;if(!t.slots[n]){let a=new Intl.ListFormat().format(Object.keys(t.slots).map(r=>`"${r}"`)),f=l?`Invalid slot "${l}".`:"A slot prop is required.";throw new Error(`${f} Valid slot names are ${a}.`)}return t.slots[n]}return t}function h(e,l,t){let n=x(t,e.slot)||{},{ref:a,...f}=n,r=p(u.useMemo(()=>y(l,a),[l,a])),s=i.$3ef42575df84b30b$export$9d1611c77c2fe928(f,e);return"style"in f&&f.style&&"style"in e&&e.style&&(typeof f.style=="function"||typeof e.style=="function"?s.style=o=>{let d=typeof f.style=="function"?f.style(o):f.style,c={...o.defaultStyle,...d},m=typeof e.style=="function"?e.style({...o,defaultStyle:c}):e.style;return{...c,...m}}:s.style={...f.style,...e.style}),[s,r]}function R(e=!0){let[l,t]=u.useState(e),n=u.useRef(!1),a=u.useCallback(f=>{n.current=!0,t(!!f)},[]);return i.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{n.current||t(!1)},[]),[a,l]}function v(e){const l=/^(data-.*)$/;let t={};for(const n in e)l.test(n)||(t[n]=e[n]);return t}exports.$5dc95899b306f630$export$c9058316764c140e=y;exports.$64fa3d84918910a7$export$2881499e37b75b9a=C;exports.$64fa3d84918910a7$export$29f1550f4b0d4415=h;exports.$64fa3d84918910a7$export$4d86445c2cf5e3=S;exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8=R;exports.$64fa3d84918910a7$export$c62b8e45d58ddad9=b;exports.$64fa3d84918910a7$export$ef03459518577ad4=v;exports.$64fa3d84918910a7$export$fabf2dc03a41866e=x;exports.$df56164dff5785e2$export$4338b53315abf666=p;
1
+ "use strict";const $=require("./mergeProps-JhcJ7uJL.cjs"),r=require("react");function y(...e){return e.length===1&&e[0]?e[0]:l=>{let t=!1;const n=e.map(a=>{const f=i(a,l);return t||(t=typeof f=="function"),f});if(t)return()=>{n.forEach((a,f)=>{typeof a=="function"?a():i(e[f],null)})}}}function i(e,l){if(typeof e=="function")return e(l);e!=null&&(e.current=l)}function p(e){const l=r.useRef(null),t=r.useRef(void 0),n=r.useCallback(a=>{if(typeof e=="function"){const f=e,u=f(a);return()=>{typeof u=="function"?u():f(null)}}else if(e)return e.current=a,()=>{e.current=null}},[e]);return r.useMemo(()=>({get current(){return l.current},set current(a){l.current=a,t.current&&(t.current(),t.current=void 0),a!=null&&(t.current=n(a))}}),[n])}const b=Symbol("default");function C({values:e,children:l}){for(let[t,n]of e)l=r.createElement(t.Provider,{value:n},l);return l}function S(e){let{className:l,style:t,children:n,defaultClassName:a,defaultChildren:f,defaultStyle:u,values:s}=e;return r.useMemo(()=>{let o,d,c;return typeof l=="function"?o=l({...s,defaultClassName:a}):o=l,typeof t=="function"?d=t({...s,defaultStyle:u||{}}):d=t,typeof n=="function"?c=n({...s,defaultChildren:f}):n==null?c=f:c=n,{className:o??a,style:d||u?{...u,...d}:void 0,children:c??f,"data-rac":""}},[l,t,n,a,f,u,s])}function x(e,l){let t=r.useContext(e);if(l===null)return null;if(t&&typeof t=="object"&&"slots"in t&&t.slots){let n=l||b;if(!t.slots[n]){let a=new Intl.ListFormat().format(Object.keys(t.slots).map(u=>`"${u}"`)),f=l?`Invalid slot "${l}".`:"A slot prop is required.";throw new Error(`${f} Valid slot names are ${a}.`)}return t.slots[n]}return t}function h(e,l,t){let n=x(t,e.slot)||{},{ref:a,...f}=n,u=p(r.useMemo(()=>y(l,a),[l,a])),s=$.$3ef42575df84b30b$export$9d1611c77c2fe928(f,e);return"style"in f&&f.style&&"style"in e&&e.style&&(typeof f.style=="function"||typeof e.style=="function"?s.style=o=>{let d=typeof f.style=="function"?f.style(o):f.style,c={...o.defaultStyle,...d},m=typeof e.style=="function"?e.style({...o,defaultStyle:c}):e.style;return{...c,...m}}:s.style={...f.style,...e.style}),[s,u]}function R(e=!0){let[l,t]=r.useState(e),n=r.useRef(!1),a=r.useCallback(f=>{n.current=!0,t(!!f)},[]);return $.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{n.current||t(!1)},[]),[a,l]}function v(e){const l=/^(data-.*)$/;let t={};for(const n in e)l.test(n)||(t[n]=e[n]);return t}exports.$5dc95899b306f630$export$c9058316764c140e=y;exports.$64fa3d84918910a7$export$2881499e37b75b9a=C;exports.$64fa3d84918910a7$export$29f1550f4b0d4415=h;exports.$64fa3d84918910a7$export$4d86445c2cf5e3=S;exports.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8=R;exports.$64fa3d84918910a7$export$c62b8e45d58ddad9=b;exports.$64fa3d84918910a7$export$ef03459518577ad4=v;exports.$64fa3d84918910a7$export$fabf2dc03a41866e=x;exports.$df56164dff5785e2$export$4338b53315abf666=p;
@@ -1,25 +1,25 @@
1
- import { a as p, $ as b } from "./mergeProps-BYJQ6N1s.js";
2
- import x, { useRef as d, useCallback as y, useMemo as i, useContext as C, useState as S } from "react";
3
- function h(...e) {
1
+ import { a as p, $ as b } from "./mergeProps-BSsN7Bgk.js";
2
+ import x, { useRef as d, useCallback as $, useMemo as i, useContext as C, useState as h } from "react";
3
+ function S(...e) {
4
4
  return e.length === 1 && e[0] ? e[0] : (l) => {
5
5
  let t = !1;
6
6
  const f = e.map((a) => {
7
- const n = $(a, l);
7
+ const n = y(a, l);
8
8
  return t || (t = typeof n == "function"), n;
9
9
  });
10
10
  if (t) return () => {
11
11
  f.forEach((a, n) => {
12
- typeof a == "function" ? a() : $(e[n], null);
12
+ typeof a == "function" ? a() : y(e[n], null);
13
13
  });
14
14
  };
15
15
  };
16
16
  }
17
- function $(e, l) {
17
+ function y(e, l) {
18
18
  if (typeof e == "function") return e(l);
19
19
  e != null && (e.current = l);
20
20
  }
21
21
  function v(e) {
22
- const l = d(null), t = d(void 0), f = y((a) => {
22
+ const l = d(null), t = d(void 0), f = $((a) => {
23
23
  if (typeof e == "function") {
24
24
  const n = e, u = n(a);
25
25
  return () => {
@@ -98,7 +98,7 @@ function N(e, l) {
98
98
  return t;
99
99
  }
100
100
  function w(e, l, t) {
101
- let f = N(t, e.slot) || {}, { ref: a, ...n } = f, u = v(i(() => h(l, a), [
101
+ let f = N(t, e.slot) || {}, { ref: a, ...n } = f, u = v(i(() => S(l, a), [
102
102
  l,
103
103
  a
104
104
  ])), o = p(n, e);
@@ -123,7 +123,7 @@ function w(e, l, t) {
123
123
  ];
124
124
  }
125
125
  function I(e = !0) {
126
- let [l, t] = S(e), f = d(!1), a = y((n) => {
126
+ let [l, t] = h(e), f = d(!1), a = $((n) => {
127
127
  f.current = !0, t(!!n);
128
128
  }, []);
129
129
  return b(() => {
@@ -148,5 +148,5 @@ export {
148
148
  M as e,
149
149
  j as f,
150
150
  R as g,
151
- h
151
+ S as h
152
152
  };