@midas-ds/components 10.2.0 → 10.4.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 (440) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-DZT76sWu.js → AccordionItem-BqsgiVWV.js} +43 -41
  3. package/{BadgeContainer-D3RtqcPF.js → BadgeContainer-DM8TdyMT.js} +4 -4
  4. package/{BadgeContainer-DeUgqGqb.cjs → BadgeContainer-I1XA3OCl.cjs} +1 -1
  5. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  6. package/{Breadcrumbs-CmZXtTiS.js → Breadcrumbs-D7eoibWk.js} +85 -73
  7. package/{Button-iSiWjocA.cjs → Button-BXY5ZhqI.cjs} +1 -1
  8. package/{Button-CbFRzRrF.js → Button-BZUo7vsZ.js} +2 -2
  9. package/Button-CFYdzG0H.js +341 -0
  10. package/Button-DExMoP5f.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/CHANGELOG.md +48 -0
  14. package/{Card-CaKKKv9k.js → Card-BaWSgtSF.js} +5 -5
  15. package/Card-Cc1TNPcQ.cjs +1 -0
  16. package/{CharacterCounter-CrY8QRuY.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  17. package/CharacterCounter-cLhqPZlk.js +22 -0
  18. package/Checkbox-Co3h0hur.cjs +1 -0
  19. package/Checkbox-LuUwTZ3W.js +264 -0
  20. package/CheckboxGroup-CUA8_xSx.js +160 -0
  21. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  22. package/{Collection-C5ONNBqd.js → Collection--62xKPm9.js} +19 -18
  23. package/Collection-BtBX5IMY.cjs +1 -0
  24. package/{ColorSchemeSwitch-CbAWIJCg.js → ColorSchemeSwitch-Cwono7Ap.js} +48 -32
  25. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  26. package/ComboBox-BBC7jhnm.cjs +1 -0
  27. package/{ComboBox-BCaqPEIH.js → ComboBox-HLIAbb2q.js} +360 -345
  28. package/DateField-B3VjOSde.cjs +1 -0
  29. package/DateField-CnLEi7uX.js +47 -0
  30. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  31. package/{DateInputDivider-Dx8n1Lxp.js → DateInputDivider-Bi5N-C0c.js} +73 -73
  32. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  33. package/{DateRangePicker-BmBvwqo6.js → DateRangePicker-CFOoGvut.js} +192 -189
  34. package/Dialog-CSnN6baf.cjs +1 -0
  35. package/{Dialog-CYxThuMl.js → Dialog-CtVrVuMr.js} +565 -538
  36. package/Dialog-SqciohRY.js +221 -0
  37. package/Dialog-pSSy1zwf.cjs +1 -0
  38. package/DragAndDrop-BoEd260f.cjs +1 -0
  39. package/{DragAndDrop-CSwmPhxC.js → DragAndDrop-DkSTL28C.js} +8 -8
  40. package/{Dropdown-nkjzsVYX.js → Dropdown-CkBp70BH.js} +2 -2
  41. package/{Dropdown-CaGon9OR.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  42. package/FieldError-B3YFj-an.js +23 -0
  43. package/{FieldError-CZikNDxX.js → FieldError-BbR-29BM.js} +8 -8
  44. package/{FieldError-DqdfJ3fs.cjs → FieldError-MVsU-Mgw.cjs} +1 -1
  45. package/{FieldError-BZw8UzBk.cjs → FieldError-bRTpchvr.cjs} +1 -1
  46. package/{FileUpload-ULwcYDxs.js → FileUpload-B4rv-wke.js} +502 -480
  47. package/{FileUpload-DYRZ0M9F.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  48. package/{FocusScope-DwIqdYpQ.js → FocusScope-D_hwN_TJ.js} +38 -37
  49. package/FocusScope-vcXLOQiu.cjs +1 -0
  50. package/Group-CpkUzEAs.js +45 -0
  51. package/Group-DOpbdoAi.cjs +1 -0
  52. package/Heading-CKTR4sOz.cjs +1 -0
  53. package/{Heading-BY5-QN4S.js → Heading-NxtGri2i.js} +7 -7
  54. package/{Hidden-B5ir3Lei.js → Hidden-C9KWUR7b.js} +2 -2
  55. package/{InfoBanner-CVIBFSWx.js → InfoBanner-CBUoad7A.js} +45 -36
  56. package/InfoBanner-CVry6Y8i.cjs +1 -0
  57. package/Input-LnjmFI1x.js +42 -0
  58. package/Input-MJji5hhq.cjs +1 -0
  59. package/Label-CNmTN1YY.cjs +1 -0
  60. package/Label-TVxwGZ-O.js +78 -0
  61. package/Layout-Dw-oCqxd.cjs +16 -0
  62. package/Layout-amz9BESl.js +498 -0
  63. package/{Link-B-nus-FT.js → Link-Bn8V3ZI0.js} +20 -19
  64. package/Link-CidjjqHb.cjs +1 -0
  65. package/{Link-DsnCtNeI.cjs → Link-D92ftFi2.cjs} +1 -1
  66. package/{Link-uFowN4qv.js → Link-DegonJfl.js} +1 -1
  67. package/LinkButton-CckYzfJ8.js +69 -0
  68. package/LinkButton-DKZ4z6zu.cjs +6 -0
  69. package/ListBox-BCz5-23H.cjs +1 -0
  70. package/{ListBox-DOi_y_Lt.js → ListBox-C-isJIHL.js} +56 -55
  71. package/{ListBoxButton-O6zN3P4W.js → ListBoxButton-C_krklY0.js} +1 -1
  72. package/{ListBoxButton-CFeNhJhr.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  73. package/{ListBoxSection-C1aLKL9p.js → ListBoxSection-BVR2xtOH.js} +9 -9
  74. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  75. package/ListKeyboardDelegate-CPsZ7D83.cjs +1 -0
  76. package/{ListKeyboardDelegate-DNOzQ8nc.js → ListKeyboardDelegate-CY6t6y1t.js} +24 -15
  77. package/Logo-BpH0HC91.cjs +1 -0
  78. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  79. package/{OverlayArrow-DorA4Rbr.js → OverlayArrow-CfhSYL46.js} +28 -27
  80. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  81. package/Popover-C8VY1YKi.js +38 -0
  82. package/Popover-CnAsw3wI.cjs +1 -0
  83. package/{ProgressBar-gmAzSsrz.js → ProgressBar-BNCjpcv8.js} +2 -2
  84. package/ProgressBar-CcbxcWdT.cjs +1 -0
  85. package/Radio-B2zfEFdq.cjs +1 -0
  86. package/{Radio-_ukSkxPT.js → Radio-CZYibh9r.js} +81 -78
  87. package/{RangeCalendar-uXwoBL-O.js → RangeCalendar-B16b6tJD.js} +303 -294
  88. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  89. package/SSRProvider-40TXmsUG.js +50 -0
  90. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  91. package/SearchField-CML0kjtn.cjs +6 -0
  92. package/{SearchField-DYl2uo7o.js → SearchField-giwECmXS.js} +175 -166
  93. package/Select-DKey6CeS.cjs +1 -0
  94. package/Select-mwaAv20X.js +665 -0
  95. package/SelectionManager-D0jYUYcy.cjs +1 -0
  96. package/{SelectionManager-6H88Cv6B.js → SelectionManager-zsWy3vsd.js} +86 -86
  97. package/Separator-CxF-3jhR.cjs +1 -0
  98. package/{Separator-LYnFqh4L.js → Separator-Dn5LYN5I.js} +19 -20
  99. package/Spinner-CbJ6YAz-.js +53 -0
  100. package/Spinner-yHcy8YHC.cjs +6 -0
  101. package/TabList-7VtCiXxX.cjs +1 -0
  102. package/TabList-CthsM5h6.js +435 -0
  103. package/{Table-B_N7wUmA.js → Table-BcQPvJT3.js} +67 -69
  104. package/Table-DkvNp6xm.cjs +16 -0
  105. package/{Tag-g6HN-YCv.js → Tag-Bs8T2Ei7.js} +140 -141
  106. package/Tag-CFWZ2LQW.cjs +1 -0
  107. package/{Text-B_H68Tvq.js → Text-92cPh38G.js} +3 -3
  108. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  109. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  110. package/{Text-BN-g1iWi.js → Text-DlKqpvSa.js} +1 -1
  111. package/TextArea-DBNAVWqL.js +119 -0
  112. package/TextArea-XJDfeXRs.cjs +1 -0
  113. package/TextField-BdK9KEQ5.cjs +1 -0
  114. package/{TextField-DBaRuNj7.js → TextField-ByDJkig9.js} +22 -21
  115. package/{Toast-CjpldAI8.js → Toast-DPPvPhrF.js} +95 -87
  116. package/Toast-l1bKo2oA.cjs +1 -0
  117. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  118. package/{ToggleButtonGroup-Ceh9_yBM.js → ToggleButtonGroup-HOWNWtQZ.js} +47 -46
  119. package/{Tooltip-BAIjaYax.js → Tooltip-5mLWn_wO.js} +53 -51
  120. package/Tooltip-pN5W3IK6.cjs +1 -0
  121. package/{VisuallyHidden-D-4z1VgU.js → VisuallyHidden-CYfmTSCD.js} +8 -8
  122. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  123. package/accordion/index.cjs +1 -1
  124. package/accordion/index.js +1 -1
  125. package/{arrow-right-Cw48o2oW.cjs → arrow-right-QJ2gXPKQ.cjs} +1 -1
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/Label.css +1 -1
  130. package/assets/LinkButton.css +1 -1
  131. package/assets/Popover.css +1 -0
  132. package/assets/RangeCalendar.css +1 -1
  133. package/assets/SearchField.css +1 -1
  134. package/assets/Spinner.css +1 -1
  135. package/assets/TabList.css +1 -0
  136. package/badge/index.cjs +1 -1
  137. package/badge/index.js +1 -1
  138. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  139. package/breadcrumbs/index.cjs +1 -1
  140. package/breadcrumbs/index.d.ts +1 -1
  141. package/breadcrumbs/index.js +1 -1
  142. package/button/index.cjs +1 -1
  143. package/button/index.js +1 -1
  144. package/calendar/CalendarGrid.d.ts +1 -0
  145. package/calendar/index.cjs +1 -1
  146. package/calendar/index.js +1 -1
  147. package/card/index.cjs +1 -1
  148. package/card/index.js +1 -1
  149. package/character-counter/index.cjs +1 -1
  150. package/character-counter/index.js +1 -1
  151. package/{check-Dw9c62O4.cjs → check-D_KoootC.cjs} +1 -1
  152. package/checkbox/Checkbox.d.ts +4 -2
  153. package/checkbox/CheckboxGroup.d.ts +8 -8
  154. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  155. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  156. package/checkbox/CheckboxInner.d.ts +2 -0
  157. package/checkbox/SingleCheckbox.d.ts +3 -0
  158. package/checkbox/context.d.ts +3 -0
  159. package/checkbox/index.cjs +1 -1
  160. package/checkbox/index.d.ts +2 -1
  161. package/checkbox/index.js +2 -2
  162. package/checkbox/intl/translations.json.d.ts +7 -0
  163. package/checkbox/types.d.ts +16 -0
  164. package/checkbox/useSelectAll.d.ts +7 -0
  165. package/{chevron-down-C2E7aZ3N.cjs → chevron-down-jl83cllc.cjs} +1 -1
  166. package/{info-DkzVqB8I.js → circle-check-B9HYcH7Z.js} +4 -16
  167. package/{info-DlzSeKbc.cjs → circle-check-BGo8gML8.cjs} +2 -7
  168. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  169. package/color-scheme-switch/index.cjs +1 -1
  170. package/color-scheme-switch/index.js +1 -1
  171. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  172. package/combobox/ComboBox.d.ts +3 -1
  173. package/combobox/index.cjs +1 -1
  174. package/combobox/index.js +1 -1
  175. package/combobox/intl/translations.json.d.ts +11 -0
  176. package/{context-B8cn10po.js → context-CGNJ3grH.js} +11 -11
  177. package/context-Df3XbgBG.cjs +1 -0
  178. package/{createLucideIcon-DAY4oS-S.cjs → createLucideIcon-Cg_wkoIA.cjs} +1 -1
  179. package/date-field/DateField.d.ts +3 -0
  180. package/date-field/index.cjs +1 -1
  181. package/date-field/index.js +2 -2
  182. package/date-picker/DatePicker.d.ts +3 -0
  183. package/date-picker/DateRangePicker.d.ts +3 -0
  184. package/date-picker/index.cjs +1 -1
  185. package/date-picker/index.js +1 -1
  186. package/dropdown/index.cjs +1 -1
  187. package/dropdown/index.js +1 -1
  188. package/field-error/index.cjs +1 -1
  189. package/field-error/index.js +1 -1
  190. package/file-upload/FileUpload.d.ts +4 -0
  191. package/file-upload/index.cjs +1 -1
  192. package/file-upload/index.js +1 -1
  193. package/file-upload/intl/translations.json.d.ts +17 -0
  194. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-CT_L9LUr.js} +1 -1
  195. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  196. package/heading/index.cjs +1 -1
  197. package/heading/index.js +1 -1
  198. package/{index-BSMrH_Du.js → index-CGRFP4CC.js} +7 -7
  199. package/{index-D97L3EBk.cjs → index-Dsz3aiWt.cjs} +2 -2
  200. package/index.cjs +1 -1
  201. package/index.d.ts +1 -0
  202. package/index.js +105 -100
  203. package/inertValue-B3AFhVG4.cjs +1 -0
  204. package/info-BZwphdye.js +15 -0
  205. package/info-CIEIENo6.cjs +6 -0
  206. package/info-banner/index.cjs +1 -1
  207. package/info-banner/index.js +1 -1
  208. package/info-banner/intl/translations.json.d.ts +11 -0
  209. package/label/InfoPopover.d.ts +9 -0
  210. package/label/LabelWrapper.d.ts +11 -0
  211. package/label/index.cjs +1 -1
  212. package/label/index.d.ts +1 -0
  213. package/label/index.js +1 -1
  214. package/label/intl/translations.json.d.ts +11 -0
  215. package/layout/Layout.d.ts +1 -0
  216. package/layout/context/LayoutContext.d.ts +1 -0
  217. package/layout/index.cjs +1 -1
  218. package/layout/index.js +1 -1
  219. package/layout/intl/translations.json.d.ts +23 -0
  220. package/link/index.cjs +1 -1
  221. package/link/index.js +2 -2
  222. package/link-button/index.cjs +1 -1
  223. package/link-button/index.js +2 -2
  224. package/list-box/index.cjs +1 -1
  225. package/list-box/index.js +2 -2
  226. package/logo/index.cjs +1 -1
  227. package/logo/index.js +1 -1
  228. package/logo/intl/translations.json.d.ts +11 -0
  229. package/mergeProps-B5KXZAI3.cjs +1 -0
  230. package/mergeProps-C1U1OIeJ.js +115 -0
  231. package/modal/index.cjs +1 -1
  232. package/modal/index.js +2 -2
  233. package/modal/intl/translations.json.d.ts +11 -0
  234. package/package.json +1 -1
  235. package/popover/Popover.d.ts +7 -0
  236. package/popover/index.cjs +1 -0
  237. package/popover/index.d.ts +1 -0
  238. package/popover/index.js +4 -0
  239. package/progress-bar/index.cjs +1 -1
  240. package/progress-bar/index.js +1 -1
  241. package/radio/Radio.d.ts +4 -4
  242. package/radio/index.cjs +1 -1
  243. package/radio/index.js +1 -1
  244. package/scrollIntoView-BLnsPvFA.js +87 -0
  245. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  246. package/search-field/index.cjs +1 -1
  247. package/search-field/index.js +1 -1
  248. package/search-field/intl/translations.json.d.ts +11 -0
  249. package/select/index.cjs +1 -1
  250. package/select/index.js +1 -1
  251. package/select/intl/translations.json.d.ts +17 -0
  252. package/spinner/Spinner.d.ts +1 -0
  253. package/spinner/index.cjs +1 -1
  254. package/spinner/index.js +1 -1
  255. package/spinner/intl/translations.json.d.ts +11 -0
  256. package/{square-arrow-out-up-right-BCAO2eJs.cjs → square-arrow-out-up-right-V4Gd08uI.cjs} +1 -1
  257. package/table/index.cjs +1 -1
  258. package/table/index.js +1 -1
  259. package/tabs/Tab.d.ts +4 -0
  260. package/tabs/TabList.d.ts +3 -0
  261. package/tabs/TabPanel.d.ts +4 -0
  262. package/tabs/Tabs.d.ts +11 -5
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +3 -0
  265. package/tabs/index.js +5 -2
  266. package/tag/index.cjs +1 -1
  267. package/tag/index.js +1 -1
  268. package/text/index.cjs +1 -1
  269. package/text/index.js +1 -1
  270. package/textfield/TextFieldBase.d.ts +2 -0
  271. package/textfield/index.cjs +1 -1
  272. package/textfield/index.js +1 -1
  273. package/textfield/intl/translations.json.d.ts +0 -72
  274. package/theme/index.cjs +1 -1
  275. package/theme/index.d.ts +5 -0
  276. package/theme/index.js +2 -2
  277. package/theme/tokens.d.ts +5 -0
  278. package/toast/Toast.d.ts +5 -2
  279. package/toast/index.cjs +1 -1
  280. package/toast/index.js +1 -1
  281. package/toggle-button/index.cjs +1 -1
  282. package/toggle-button/index.js +1 -1
  283. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  284. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  285. package/tooltip/index.cjs +1 -1
  286. package/tooltip/index.js +1 -1
  287. package/{triangle-alert-C0lvfCYH.cjs → triangle-alert-DJW8U7jL.cjs} +1 -1
  288. package/{useButton-C-Lq7CNY.js → useButton-1-Jf-oHj.js} +6 -6
  289. package/useButton-D60q0SQw.cjs +1 -0
  290. package/{useDateFormatter-g2maMTGH.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  291. package/{useDateFormatter-C53Uxdli.js → useDateFormatter-BVCkxVdw.js} +2 -2
  292. package/{useEvent-Cyd2ZL0c.js → useEvent-CigwyJOw.js} +3 -3
  293. package/useEvent-DPxMu-X9.cjs +1 -0
  294. package/{useField-BPMAlIbU.js → useField-BEBXv5Mh.js} +7 -7
  295. package/useField-D1UkzeaI.cjs +1 -0
  296. package/{useFilter-ChIbnALW.js → useFilter-CousKe2K.js} +1 -1
  297. package/useFilter-e2oIVF_O.cjs +1 -0
  298. package/useFocusRing-B-A1OLhU.cjs +1 -0
  299. package/useFocusRing-DOfBqnUN.js +33 -0
  300. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  301. package/useFocusWithin-T1ifEM_s.js +54 -0
  302. package/useFocusable-ChPA2Jc7.js +127 -0
  303. package/useFocusable-D7I1ujkW.cjs +1 -0
  304. package/useFormValidation-BlFGdPZB.cjs +1 -0
  305. package/{useFormValidation-R8hQIjWP.js → useFormValidation-BzzruZKm.js} +5 -5
  306. package/{useHasTabbableChild-DsD9AJwE.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  307. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  308. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  309. package/{useHighlightSelectionDescription-DFfcgbUj.js → useHighlightSelectionDescription-D73hrkmn.js} +14 -14
  310. package/useHover-BE_XKZKe.cjs +1 -0
  311. package/useHover-DQvJ3Y-W.js +262 -0
  312. package/useLabels-CSU0kbtJ.cjs +1 -0
  313. package/{useLabels-BZjoZA1Z.js → useLabels-LrKQiY11.js} +1 -1
  314. package/{useListState-DFQ9d-uE.js → useListState-CebsX_1d.js} +7 -7
  315. package/{useListState-Ca2-uZMO.cjs → useListState-DymkJGDF.cjs} +1 -1
  316. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  317. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  318. package/{useLocalizedStringFormatter-D07YB2e1.js → useLocalizedStringFormatter-CL9MUZ8A.js} +1 -1
  319. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  320. package/useObserveElement-MhzEsCkX.cjs +1 -0
  321. package/usePress-BooY_CAy.cjs +7 -0
  322. package/{usePress-CUJ3pMOw.js → usePress-DuR4pVsE.js} +154 -153
  323. package/{useSingleSelectListState-C-nB8cug.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  324. package/{useSingleSelectListState-MGNxUTum.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  325. package/{useTextField-5OZQPyOW.js → useTextField-C-sUypsx.js} +14 -14
  326. package/useTextField-DnRrCg5o.cjs +1 -0
  327. package/{useUpdateEffect-sk3kiVGz.cjs → useUpdateEffect-C5YQs_1w.cjs} +1 -1
  328. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  329. package/utils-CoCR_Fce.js +234 -0
  330. package/utils-DHNZrQmj.cjs +1 -0
  331. package/utils-DJhAJHk_.js +152 -0
  332. package/utils-Dvdohqm9.cjs +1 -0
  333. package/{x-CvxiAZTW.cjs → x-H8Zrx8-x.cjs} +1 -1
  334. package/AccordionItem-Z_c9MpAM.cjs +0 -1
  335. package/Breadcrumbs-Cx09jwZZ.cjs +0 -1
  336. package/Button-DnhqHU01.cjs +0 -1
  337. package/Button-ZOQy9Ivu.js +0 -78
  338. package/Button.module-CMMhIrkn.js +0 -14
  339. package/Button.module-DO5s9hOk.cjs +0 -1
  340. package/Card-C0BFW3wJ.cjs +0 -1
  341. package/CharacterCounter-CPGdboVJ.js +0 -22
  342. package/Checkbox-CvFsn_FL.js +0 -380
  343. package/Checkbox-DSxGAJX2.cjs +0 -1
  344. package/CheckboxGroup-Bk9DPq4I.cjs +0 -1
  345. package/CheckboxGroup-Dij9zKlF.js +0 -54
  346. package/Collection-Csx3L9gh.cjs +0 -1
  347. package/ColorSchemeSwitch-JRrCyYVv.cjs +0 -16
  348. package/ComboBox-gveQKHU3.cjs +0 -1
  349. package/DateField-CAQlzuDD.js +0 -46
  350. package/DateField-deVVFwKA.cjs +0 -1
  351. package/DateInputDivider-DnUxETEC.cjs +0 -1
  352. package/DateRangePicker-BzfitoK0.cjs +0 -6
  353. package/Dialog-Bd5hK360.cjs +0 -1
  354. package/Dialog-Bxx8cBEq.js +0 -208
  355. package/Dialog-CwTEAujZ.cjs +0 -1
  356. package/DragAndDrop-HvycSrKY.cjs +0 -1
  357. package/FieldError-Dv3bBEjh.js +0 -23
  358. package/FocusScope-NaPbvuuS.cjs +0 -1
  359. package/Group-CeSsSQVC.js +0 -44
  360. package/Group-CgiqQHH1.cjs +0 -1
  361. package/Heading-DoJAtYZf.cjs +0 -1
  362. package/InfoBanner-BS-dAfzO.cjs +0 -1
  363. package/Input-D8Ku_FQz.js +0 -41
  364. package/Input-DKSAYvsw.cjs +0 -1
  365. package/Label-C9ivwkAd.js +0 -21
  366. package/Label-CUV21CAv.cjs +0 -1
  367. package/Label-DkDOsmUF.js +0 -16
  368. package/Label-IMWAyoKb.cjs +0 -1
  369. package/Layout-BWeHHnqU.cjs +0 -16
  370. package/Layout-CCt_2L1k.js +0 -468
  371. package/Link-SHMbeyIP.cjs +0 -1
  372. package/LinkButton-CuBilDML.js +0 -69
  373. package/LinkButton-CymMrcGL.cjs +0 -6
  374. package/ListBox-CDOsQChA.cjs +0 -1
  375. package/ListBoxSection-DGCP6xpf.cjs +0 -1
  376. package/ListKeyboardDelegate-BqMETvPv.cjs +0 -1
  377. package/LiveAnnouncer-B6177m92.js +0 -51
  378. package/LiveAnnouncer-CwEWPU8b.cjs +0 -1
  379. package/Logo-DT2_2O43.cjs +0 -1
  380. package/NumberFormatter-DewVDY5w.cjs +0 -1
  381. package/NumberFormatter-DgOUVrge.js +0 -119
  382. package/OverlayArrow-D75k-EMl.cjs +0 -1
  383. package/PressResponder-C06O3Z5P.cjs +0 -1
  384. package/PressResponder-CVEg5kND.js +0 -33
  385. package/ProgressBar-Bkw9zavs.cjs +0 -1
  386. package/ProgressBar-CEX2WNoW.js +0 -77
  387. package/ProgressBar-Dqh3ftSP.cjs +0 -1
  388. package/Radio-CDKrvQe4.cjs +0 -1
  389. package/RangeCalendar-cbCKBPZv.cjs +0 -11
  390. package/SearchField-6yBGiojX.cjs +0 -6
  391. package/Select-CpHjd1tp.cjs +0 -1
  392. package/Select-PvCqY7Lp.js +0 -646
  393. package/SelectionManager-C5NGBzvz.cjs +0 -1
  394. package/Separator-nPra6kD-.cjs +0 -1
  395. package/Spinner-D31SXm-U.js +0 -41
  396. package/Spinner-DAJtfxqJ.cjs +0 -6
  397. package/Table-D9vNc_y-.cjs +0 -16
  398. package/Tabs-Ct6D83aR.js +0 -404
  399. package/Tabs-Dtcl2oK2.cjs +0 -1
  400. package/Tag-CVFkzg3s.cjs +0 -1
  401. package/TextArea-DSiQ578a.js +0 -206
  402. package/TextArea-cVyGBRbL.cjs +0 -1
  403. package/TextField-B70CL2qz.cjs +0 -1
  404. package/Toast-DrkOGy4d.cjs +0 -1
  405. package/ToggleButtonGroup-BuU_6dYe.cjs +0 -1
  406. package/Tooltip-CiWg4zIC.cjs +0 -1
  407. package/VisuallyHidden-CtXvK_Tw.cjs +0 -1
  408. package/assets/Tabs.css +0 -1
  409. package/context-DjwhtgxQ.cjs +0 -1
  410. package/focusSafely-Bqfo_DH7.cjs +0 -1
  411. package/focusSafely-C48ucRUz.js +0 -56
  412. package/inertValue-BWmZ1afe.cjs +0 -1
  413. package/scrollIntoView-ClEACHUk.js +0 -57
  414. package/scrollIntoView-DRSoJp89.cjs +0 -1
  415. package/useButton-B1Fa-6qE.cjs +0 -1
  416. package/useCollator-C_ozeWLo.cjs +0 -1
  417. package/useCollator-CgZcHC8N.js +0 -11
  418. package/useDescription-CVKhFa3c.js +0 -32
  419. package/useDescription-DmQYSEES.cjs +0 -1
  420. package/useEvent-CjkbBniY.cjs +0 -1
  421. package/useField-B1RU0GKs.cjs +0 -1
  422. package/useFilter-CtIwF2qW.cjs +0 -1
  423. package/useFocusRing-BDGH3lpn.js +0 -82
  424. package/useFocusRing-CbImDrwF.cjs +0 -1
  425. package/useFocusable-CaedRTpB.js +0 -74
  426. package/useFocusable-CuPQ7Cm5.cjs +0 -1
  427. package/useFormValidation-ClximP89.cjs +0 -1
  428. package/useHasTabbableChild-DgphNvnk.cjs +0 -1
  429. package/useHighlightSelectionDescription-BizKjvPU.cjs +0 -1
  430. package/useHover-_mv5J4_q.cjs +0 -1
  431. package/useHover-qRAon4nS.js +0 -490
  432. package/useLabel-DDdAJ1JO.js +0 -23
  433. package/useLabel-m_S5xkHy.cjs +0 -1
  434. package/useLabels-BLOfc6Y-.cjs +0 -1
  435. package/useLocalizedStringFormatter-u9SJaOwk.cjs +0 -1
  436. package/useObserveElement-BzEr5D32.cjs +0 -1
  437. package/usePress-BFa6cT9o.cjs +0 -7
  438. package/useTextField-CtUDWsUl.cjs +0 -1
  439. package/utils-BNtZbAib.cjs +0 -1
  440. package/utils-HNTsIwux.js +0 -308
@@ -1,7 +1,8 @@
1
- import { m as j, g as P, a as B, e as T, d as $, f as _, n as J, o as Y, p as Q, q as X, r as Z } from "./useHover-qRAon4nS.js";
2
- import { $ as m } from "./utils-HNTsIwux.js";
3
- import { a as O } from "./focusSafely-C48ucRUz.js";
4
- import F, { useRef as g, useContext as ee, useMemo as L, useEffect as q } from "react";
1
+ import { i as G, e as P, h as B, c as T, b as $, d as _, j as J, k as Y } from "./utils-CoCR_Fce.js";
2
+ import { $ as m } from "./mergeProps-C1U1OIeJ.js";
3
+ import { d as Q, e as X, f as Z } from "./useHover-DQvJ3Y-W.js";
4
+ import { a as O } from "./useFocusable-ChPA2Jc7.js";
5
+ import F, { useRef as g, useContext as ee, useMemo as L, useEffect as H } from "react";
5
6
  class te {
6
7
  get currentNode() {
7
8
  return this._currentNode;
@@ -124,7 +125,7 @@ class te {
124
125
  }
125
126
  }
126
127
  function re(r, e, t, n) {
127
- return j() ? new te(r, e, t, n) : r.createTreeWalker(e, t, n);
128
+ return G() ? new te(r, e, t, n) : r.createTreeWalker(e, t, n);
128
129
  }
129
130
  function ne(r) {
130
131
  const e = B(r);
@@ -141,12 +142,12 @@ function oe(r, e) {
141
142
  return !r.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
142
143
  !r.hasAttribute("data-react-aria-prevent-focus") && (r.nodeName === "DETAILS" && e && e.nodeName !== "SUMMARY" ? r.hasAttribute("open") : !0);
143
144
  }
144
- function H(r, e) {
145
- return r.nodeName !== "#comment" && ne(r) && oe(r, e) && (!r.parentElement || H(r.parentElement, r));
145
+ function U(r, e) {
146
+ return r.nodeName !== "#comment" && ne(r) && oe(r, e) && (!r.parentElement || U(r.parentElement, r));
146
147
  }
147
148
  const W = /* @__PURE__ */ F.createContext(null), M = "react-aria-focus-scope-restore";
148
149
  let h = null;
149
- function he(r) {
150
+ function ve(r) {
150
151
  let { children: e, contain: t, restoreFocus: n, autoFocus: o } = r, a = g(null), l = g(null), i = g([]), { parentNode: f } = ee(W) || {}, u = L(() => new I({
151
152
  scopeRef: i
152
153
  }), [
@@ -169,15 +170,15 @@ function he(r) {
169
170
  t
170
171
  ]), m(() => {
171
172
  var s;
172
- let b = (s = a.current) === null || s === void 0 ? void 0 : s.nextSibling, v = [], x = (C) => C.stopPropagation();
173
+ let b = (s = a.current) === null || s === void 0 ? void 0 : s.nextSibling, v = [], S = (C) => C.stopPropagation();
173
174
  for (; b && b !== l.current; )
174
- v.push(b), b.addEventListener(M, x), b = b.nextSibling;
175
+ v.push(b), b.addEventListener(M, S), b = b.nextSibling;
175
176
  return i.current = v, () => {
176
- for (let C of v) C.removeEventListener(M, x);
177
+ for (let C of v) C.removeEventListener(M, S);
177
178
  };
178
179
  }, [
179
180
  e
180
- ]), ue(i, n, t), ae(i, t), ce(i, n, t), le(i, o), q(() => {
181
+ ]), ue(i, n, t), ae(i, t), ce(i, n, t), le(i, o), H(() => {
181
182
  const s = T($(i.current ? i.current[0] : void 0));
182
183
  let b = null;
183
184
  if (E(s, i.current)) {
@@ -188,8 +189,8 @@ function he(r) {
188
189
  i
189
190
  ]), m(() => () => {
190
191
  var s, b, v;
191
- let x = (v = (b = N.getTreeNode(i)) === null || b === void 0 || (s = b.parent) === null || s === void 0 ? void 0 : s.scopeRef) !== null && v !== void 0 ? v : null;
192
- (i === h || R(i, h)) && (!x || N.getTreeNode(x)) && (h = x), N.removeTreeNode(i);
192
+ let S = (v = (b = N.getTreeNode(i)) === null || b === void 0 || (s = b.parent) === null || s === void 0 ? void 0 : s.scopeRef) !== null && v !== void 0 ? v : null;
193
+ (i === h || R(i, h)) && (!S || N.getTreeNode(S)) && (h = S), N.removeTreeNode(i);
193
194
  }, [
194
195
  i
195
196
  ]);
@@ -217,7 +218,7 @@ function ie(r) {
217
218
  focusNext(e = {}) {
218
219
  let t = r.current, { from: n, tabbable: o, wrap: a, accept: l } = e;
219
220
  var i;
220
- let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[0].previousElementSibling, d = S(t), c = w(d, {
221
+ let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[0].previousElementSibling, d = x(t), c = w(d, {
221
222
  tabbable: o,
222
223
  accept: l
223
224
  }, t);
@@ -228,7 +229,7 @@ function ie(r) {
228
229
  focusPrevious(e = {}) {
229
230
  let t = r.current, { from: n, tabbable: o, wrap: a, accept: l } = e;
230
231
  var i;
231
- let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[t.length - 1].nextElementSibling, d = S(t), c = w(d, {
232
+ let f = n || T($((i = t[0]) !== null && i !== void 0 ? i : void 0)), u = t[t.length - 1].nextElementSibling, d = x(t), c = w(d, {
232
233
  tabbable: o,
233
234
  accept: l
234
235
  }, t);
@@ -237,7 +238,7 @@ function ie(r) {
237
238
  return !s && a && (c.currentNode = u, s = c.previousNode()), s && p(s, !0), s;
238
239
  },
239
240
  focusFirst(e = {}) {
240
- let t = r.current, { tabbable: n, accept: o } = e, a = S(t), l = w(a, {
241
+ let t = r.current, { tabbable: n, accept: o } = e, a = x(t), l = w(a, {
241
242
  tabbable: n,
242
243
  accept: o
243
244
  }, t);
@@ -246,7 +247,7 @@ function ie(r) {
246
247
  return i && p(i, !0), i;
247
248
  },
248
249
  focusLast(e = {}) {
249
- let t = r.current, { tabbable: n, accept: o } = e, a = S(t), l = w(a, {
250
+ let t = r.current, { tabbable: n, accept: o } = e, a = x(t), l = w(a, {
250
251
  tabbable: n,
251
252
  accept: o
252
253
  }, t);
@@ -256,7 +257,7 @@ function ie(r) {
256
257
  }
257
258
  };
258
259
  }
259
- function S(r) {
260
+ function x(r) {
260
261
  return r[0].parentElement;
261
262
  }
262
263
  function y(r) {
@@ -280,7 +281,7 @@ function ae(r, e) {
280
281
  if (u.key !== "Tab" || u.altKey || u.ctrlKey || u.metaKey || !y(r) || u.isComposing) return;
281
282
  let d = T(a), c = r.current;
282
283
  if (!c || !E(d, c)) return;
283
- let s = S(c), b = w(s, {
284
+ let s = x(c), b = w(s, {
284
285
  tabbable: !0
285
286
  }, c);
286
287
  if (!d) return;
@@ -291,7 +292,7 @@ function ae(r, e) {
291
292
  (!h || R(h, r)) && E(_(u), r.current) ? (h = r, t.current = _(u)) : y(r) && !k(_(u), r) ? t.current ? t.current.focus() : h && h.current && D(h.current) : y(r) && (t.current = _(u));
292
293
  }, f = (u) => {
293
294
  n.current && cancelAnimationFrame(n.current), n.current = requestAnimationFrame(() => {
294
- let d = Z(), c = (d === "virtual" || d === null) && J() && Y(), s = T(a);
295
+ let d = Z(), c = (d === "virtual" || d === null) && Q() && X(), s = T(a);
295
296
  if (!c && s && y(r) && !k(s, r)) {
296
297
  h = r;
297
298
  let v = _(u);
@@ -314,7 +315,7 @@ function ae(r, e) {
314
315
  n
315
316
  ]);
316
317
  }
317
- function U(r) {
318
+ function j(r) {
318
319
  return k(r);
319
320
  }
320
321
  function E(r, e) {
@@ -326,7 +327,7 @@ function k(r, e = null) {
326
327
  if (t && E(r, t.current)) return !0;
327
328
  return !1;
328
329
  }
329
- function ve(r) {
330
+ function Ne(r) {
330
331
  return k(r, h);
331
332
  }
332
333
  function R(r, e) {
@@ -348,22 +349,22 @@ function p(r, e = !1) {
348
349
  } catch {
349
350
  }
350
351
  }
351
- function G(r, e = !0) {
352
- let t = r[0].previousElementSibling, n = S(r), o = w(n, {
352
+ function q(r, e = !0) {
353
+ let t = r[0].previousElementSibling, n = x(r), o = w(n, {
353
354
  tabbable: e
354
355
  }, r);
355
356
  o.currentNode = t;
356
357
  let a = o.nextNode();
357
- return e && !a && (n = S(r), o = w(n, {
358
+ return e && !a && (n = x(r), o = w(n, {
358
359
  tabbable: !1
359
360
  }, r), o.currentNode = t, a = o.nextNode()), a;
360
361
  }
361
362
  function D(r, e = !0) {
362
- p(G(r, e));
363
+ p(q(r, e));
363
364
  }
364
365
  function le(r, e) {
365
366
  const t = F.useRef(e);
366
- q(() => {
367
+ H(() => {
367
368
  if (t.current) {
368
369
  h = r;
369
370
  const n = $(r.current ? r.current[0] : void 0);
@@ -381,7 +382,7 @@ function ue(r, e, t) {
381
382
  const o = $(n ? n[0] : void 0);
382
383
  let a = (l) => {
383
384
  let i = _(l);
384
- E(i, r.current) ? h = r : U(i) || (h = null);
385
+ E(i, r.current) ? h = r : j(i) || (h = null);
385
386
  };
386
387
  return o.addEventListener("focusin", a, !1), n == null || n.forEach((l) => l.addEventListener("focusin", a, !1)), () => {
387
388
  o.removeEventListener("focusin", a, !1), n == null || n.forEach((l) => l.removeEventListener("focusin", a, !1));
@@ -434,7 +435,7 @@ function ce(r, e, t) {
434
435
  do
435
436
  c = l.shiftKey ? d.previousNode() : d.nextNode();
436
437
  while (k(c, r));
437
- l.preventDefault(), l.stopPropagation(), c ? p(c, !0) : U(u) ? p(u, !0) : i.blur();
438
+ l.preventDefault(), l.stopPropagation(), c ? p(c, !0) : j(u) ? p(u, !0) : i.blur();
438
439
  }
439
440
  };
440
441
  return t || o.addEventListener("keydown", a, !0), () => {
@@ -468,7 +469,7 @@ function ce(r, e, t) {
468
469
  }
469
470
  for (c = d.getTreeNode(r); c; ) {
470
471
  if (c.scopeRef && c.scopeRef.current && N.getTreeNode(c.scopeRef)) {
471
- let s = G(c.scopeRef.current, !0);
472
+ let s = q(c.scopeRef.current, !0);
472
473
  z(s);
473
474
  return;
474
475
  }
@@ -491,15 +492,15 @@ function z(r) {
491
492
  })) && p(r);
492
493
  }
493
494
  function w(r, e, t) {
494
- let n = e != null && e.tabbable ? Q : X, o = (r == null ? void 0 : r.nodeType) === Node.ELEMENT_NODE ? r : null, a = $(o), l = re(a, r || a, NodeFilter.SHOW_ELEMENT, {
495
+ let n = e != null && e.tabbable ? J : Y, o = (r == null ? void 0 : r.nodeType) === Node.ELEMENT_NODE ? r : null, a = $(o), l = re(a, r || a, NodeFilter.SHOW_ELEMENT, {
495
496
  acceptNode(i) {
496
497
  var f;
497
- return !(e == null || (f = e.from) === null || f === void 0) && f.contains(i) ? NodeFilter.FILTER_REJECT : n(i) && H(i) && (!t || E(i, t)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
498
+ return !(e == null || (f = e.from) === null || f === void 0) && f.contains(i) ? NodeFilter.FILTER_REJECT : n(i) && U(i) && (!t || E(i, t)) && (!(e != null && e.accept) || e.accept(i)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
498
499
  }
499
500
  });
500
501
  return e != null && e.from && (l.currentNode = e.from), l;
501
502
  }
502
- function Ne(r, e = {}) {
503
+ function pe(r, e = {}) {
503
504
  return {
504
505
  focusNext(t = {}) {
505
506
  let n = r.current;
@@ -619,7 +620,7 @@ class I {
619
620
  let N = new K();
620
621
  export {
621
622
  w as $,
622
- he as a,
623
- Ne as b,
624
- ve as c
623
+ ve as a,
624
+ pe as b,
625
+ Ne as c
625
626
  };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("./utils-Dvdohqm9.cjs"),T=require("./mergeProps-B5KXZAI3.cjs"),R=require("./useHover-BE_XKZKe.cjs"),V=require("./useFocusable-D7I1ujkW.cjs"),N=require("react");class z{get currentNode(){return this._currentNode}set currentNode(e){if(!s.$d4ee10de306f2510$export$4282f70798064fe0(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,o=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const i=n,a=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=o,this._currentSetFor.add(a),n=o=i.host}else n=n.parentNode;const c=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(c),c.currentNode=o,this._currentSetFor.add(c),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return s.$d4ee10de306f2510$export$4282f70798064fe0(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let t=this._walkerStack[0].lastChild();return t&&(this.currentNode=t),t}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let o;if(typeof this.filter=="function"?o=this.filter(e):!((t=this.filter)===null||t===void 0)&&t.acceptNode&&(o=this.filter.acceptNode(e)),o===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let c=this.nextNode();return c&&(this.currentNode=c),c}return e&&(this.currentNode=e),e}else if(this._walkerStack.length>1){this._walkerStack.shift();let n=this.nextNode();return n&&(this.currentNode=n),n}else return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e))if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null;return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let c;if(typeof this.filter=="function"?c=this.filter(t):!((n=this.filter)===null||n===void 0)&&n.acceptNode&&(c=this.filter.acceptNode(t)),c===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let i=this.lastChild();return i&&(this.currentNode=i),i}return t&&(this.currentNode=t),t}else if(this._walkerStack.length>1){this._walkerStack.shift();let o=this.previousNode();return o&&(this.currentNode=o),o}else return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,o){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=i=>{if(i.nodeType===Node.ELEMENT_NODE){const b=i.shadowRoot;if(b){const d=this._doc.createTreeWalker(b,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(d),NodeFilter.FILTER_ACCEPT}else{var a;if(typeof this.filter=="function")return this.filter(i);if(!((a=this.filter)===null||a===void 0)&&a.acceptNode)return this.filter.acceptNode(i);if(this.filter===null)return NodeFilter.FILTER_ACCEPT}}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=o??null,this.whatToShow=n??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const c=t.shadowRoot;if(c){const i=this._doc.createTreeWalker(c,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(i)}}}function H(r,e,t,n){return s.$f4e2df6bd15f8569$export$98658e8c59125e6a()?new z(r,e,t,n):r.createTreeWalker(e,t,n)}function U(r){const e=s.$431fbd86ca7dc216$export$f21a1ffae260145a(r);if(!(r instanceof e.HTMLElement)&&!(r instanceof e.SVGElement))return!1;let{display:t,visibility:n}=r.style,o=t!=="none"&&n!=="hidden"&&n!=="collapse";if(o){const{getComputedStyle:c}=r.ownerDocument.defaultView;let{display:i,visibility:a}=c(r);o=i!=="none"&&a!=="hidden"&&a!=="collapse"}return o}function G(r,e){return!r.hasAttribute("hidden")&&!r.hasAttribute("data-react-aria-prevent-focus")&&(r.nodeName==="DETAILS"&&e&&e.nodeName!=="SUMMARY"?r.hasAttribute("open"):!0)}function P(r,e){return r.nodeName!=="#comment"&&U(r)&&G(r,e)&&(!r.parentElement||P(r.parentElement,r))}const D=N.createContext(null),C="react-aria-focus-scope-restore";let p=null;function j(r){let{children:e,contain:t,restoreFocus:n,autoFocus:o}=r,c=N.useRef(null),i=N.useRef(null),a=N.useRef([]),{parentNode:b}=N.useContext(D)||{},d=N.useMemo(()=>new M({scopeRef:a}),[a]);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=b||v.root;if(v.getTreeNode(f.scopeRef)&&p&&!_(p,f.scopeRef)){let $=v.getTreeNode(p);$&&(f=$)}f.addChild(d),v.addNode(d)},[d,b]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let f=v.getTreeNode(a);f&&(f.contain=!!t)},[t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var f;let $=(f=c.current)===null||f===void 0?void 0:f.nextSibling,h=[],S=y=>y.stopPropagation();for(;$&&$!==i.current;)h.push($),$.addEventListener(C,S),$=$.nextSibling;return a.current=h,()=>{for(let y of h)y.removeEventListener(C,S)}},[e]),X(a,n,t),J(a,t),Z(a,n,t),Q(a,o),N.useEffect(()=>{const f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(a.current?a.current[0]:void 0));let $=null;if(E(f,a.current)){for(let h of v.traverse())h.scopeRef&&E(f,h.scopeRef.current)&&($=h);$===v.getTreeNode(a)&&(p=$.scopeRef)}},[a]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{var f,$,h;let S=(h=($=v.getTreeNode(a))===null||$===void 0||(f=$.parent)===null||f===void 0?void 0:f.scopeRef)!==null&&h!==void 0?h:null;(a===p||_(a,p))&&(!S||v.getTreeNode(S))&&(p=S),v.removeTreeNode(a)},[a]);let u=N.useMemo(()=>B(a),[]),l=N.useMemo(()=>({focusManager:u,parentNode:d}),[d,u]);return N.createElement(D.Provider,{value:l},N.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:c}),e,N.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:i}))}function B(r){return{focusNext(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[0].previousElementSibling,u=k(t),l=x(u,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let f=l.nextNode();return!f&&c&&(l.currentNode=d,f=l.nextNode()),f&&w(f,!0),f},focusPrevious(e={}){let t=r.current,{from:n,tabbable:o,wrap:c,accept:i}=e;var a;let b=n||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac((a=t[0])!==null&&a!==void 0?a:void 0)),d=t[t.length-1].nextElementSibling,u=k(t),l=x(u,{tabbable:o,accept:i},t);l.currentNode=E(b,t)?b:d;let f=l.previousNode();return!f&&c&&(l.currentNode=d,f=l.previousNode()),f&&w(f,!0),f},focusFirst(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[0].previousElementSibling;let a=i.nextNode();return a&&w(a,!0),a},focusLast(e={}){let t=r.current,{tabbable:n,accept:o}=e,c=k(t),i=x(c,{tabbable:n,accept:o},t);i.currentNode=t[t.length-1].nextElementSibling;let a=i.previousNode();return a&&w(a,!0),a}}}function k(r){return r[0].parentElement}function g(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.contain)return!1;e=e.parent}return!0}function J(r,e){let t=N.useRef(void 0),n=N.useRef(void 0);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;if(!e){n.current&&(cancelAnimationFrame(n.current),n.current=void 0);return}const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);let i=d=>{if(d.key!=="Tab"||d.altKey||d.ctrlKey||d.metaKey||!g(r)||d.isComposing)return;let u=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),l=r.current;if(!l||!E(u,l))return;let f=k(l),$=x(f,{tabbable:!0},l);if(!u)return;$.currentNode=u;let h=d.shiftKey?$.previousNode():$.nextNode();h||($.currentNode=d.shiftKey?l[l.length-1].nextElementSibling:l[0].previousElementSibling,h=d.shiftKey?$.previousNode():$.nextNode()),d.preventDefault(),h&&w(h,!0)},a=d=>{(!p||_(p,r))&&E(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r.current)?(p=r,t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d)):g(r)&&!m(s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d),r)?t.current?t.current.focus():p&&p.current&&L(p.current):g(r)&&(t.current=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d))},b=d=>{n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{let u=R.$507fabe10e71c6fb$export$630ff653c5ada6a9(),l=(u==="virtual"||u===null)&&R.$c87311424ea30a05$export$a11b0059900ceec8()&&R.$c87311424ea30a05$export$6446a186d09e379e(),f=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c);if(!l&&f&&g(r)&&!m(f,r)){p=r;let h=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(d);if(h&&h.isConnected){var $;t.current=h,($=t.current)===null||$===void 0||$.focus()}else p.current&&L(p.current)}})};return c.addEventListener("keydown",i,!1),c.addEventListener("focusin",a,!1),o==null||o.forEach(d=>d.addEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.addEventListener("focusout",b,!1)),()=>{c.removeEventListener("keydown",i,!1),c.removeEventListener("focusin",a,!1),o==null||o.forEach(d=>d.removeEventListener("focusin",a,!1)),o==null||o.forEach(d=>d.removeEventListener("focusout",b,!1))}},[r,e]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>()=>{n.current&&cancelAnimationFrame(n.current)},[n])}function W(r){return m(r)}function E(r,e){return!r||!e?!1:e.some(t=>t.contains(r))}function m(r,e=null){if(r instanceof Element&&r.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:t}of v.traverse(v.getTreeNode(e)))if(t&&E(r,t.current))return!0;return!1}function Y(r){return m(r,p)}function _(r,e){var t;let n=(t=v.getTreeNode(e))===null||t===void 0?void 0:t.parent;for(;n;){if(n.scopeRef===r)return!0;n=n.parent}return!1}function w(r,e=!1){if(r!=null&&!e)try{(0,V.$3ad3f6e1647bc98d$export$80f3e147d781571c)(r)}catch{}else if(r!=null)try{r.focus()}catch{}}function q(r,e=!0){let t=r[0].previousElementSibling,n=k(r),o=x(n,{tabbable:e},r);o.currentNode=t;let c=o.nextNode();return e&&!c&&(n=k(r),o=x(n,{tabbable:!1},r),o.currentNode=t,c=o.nextNode()),c}function L(r,e=!0){w(q(r,e))}function Q(r,e){const t=N.useRef(e);N.useEffect(()=>{if(t.current){p=r;const n=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);!E(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(n),p.current)&&r.current&&L(r.current)}t.current=!1},[r])}function X(r,e,t){T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(e||t)return;let n=r.current;const o=s.$431fbd86ca7dc216$export$b204af158042fbac(n?n[0]:void 0);let c=i=>{let a=s.$d4ee10de306f2510$export$e58f029f0fbfdb29(i);E(a,r.current)?p=r:W(a)||(p=null)};return o.addEventListener("focusin",c,!1),n==null||n.forEach(i=>i.addEventListener("focusin",c,!1)),()=>{o.removeEventListener("focusin",c,!1),n==null||n.forEach(i=>i.removeEventListener("focusin",c,!1))}},[r,e,t])}function I(r){let e=v.getTreeNode(p);for(;e&&e.scopeRef!==r;){if(e.nodeToRestore)return!1;e=e.parent}return(e==null?void 0:e.scopeRef)===r}function Z(r,e,t){const n=N.useRef(typeof document<"u"?s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0)):null);T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{let o=r.current;const c=s.$431fbd86ca7dc216$export$b204af158042fbac(o?o[0]:void 0);if(!e||t)return;let i=()=>{(!p||_(p,r))&&E(s.$d4ee10de306f2510$export$cd4e5573fbe2b576(c),r.current)&&(p=r)};return c.addEventListener("focusin",i,!1),o==null||o.forEach(a=>a.addEventListener("focusin",i,!1)),()=>{c.removeEventListener("focusin",i,!1),o==null||o.forEach(a=>a.removeEventListener("focusin",i,!1))}},[r,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=i=>{if(i.key!=="Tab"||i.altKey||i.ctrlKey||i.metaKey||!g(r)||i.isComposing)return;let a=o.activeElement;if(!m(a,r)||!I(r))return;let b=v.getTreeNode(r);if(!b)return;let d=b.nodeToRestore,u=x(o.body,{tabbable:!0});u.currentNode=a;let l=i.shiftKey?u.previousNode():u.nextNode();if((!d||!d.isConnected||d===o.body)&&(d=void 0,b.nodeToRestore=void 0),(!l||!m(l,r))&&d){u.currentNode=d;do l=i.shiftKey?u.previousNode():u.nextNode();while(m(l,r));i.preventDefault(),i.stopPropagation(),l?w(l,!0):W(d)?w(d,!0):a.blur()}};return t||o.addEventListener("keydown",c,!0),()=>{t||o.removeEventListener("keydown",c,!0)}},[r,e,t]),T.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{const o=s.$431fbd86ca7dc216$export$b204af158042fbac(r.current?r.current[0]:void 0);if(!e)return;let c=v.getTreeNode(r);if(c){var i;return c.nodeToRestore=(i=n.current)!==null&&i!==void 0?i:void 0,()=>{let a=v.getTreeNode(r);if(!a)return;let b=a.nodeToRestore,d=s.$d4ee10de306f2510$export$cd4e5573fbe2b576(o);if(e&&b&&(d&&m(d,r)||d===o.body&&I(r))){let u=v.clone();requestAnimationFrame(()=>{if(o.activeElement===o.body){let l=u.getTreeNode(r);for(;l;){if(l.nodeToRestore&&l.nodeToRestore.isConnected){K(l.nodeToRestore);return}l=l.parent}for(l=u.getTreeNode(r);l;){if(l.scopeRef&&l.scopeRef.current&&v.getTreeNode(l.scopeRef)){let f=q(l.scopeRef.current,!0);K(f);return}l=l.parent}}})}}}},[r,e])}function K(r){r.dispatchEvent(new CustomEvent(C,{bubbles:!0,cancelable:!0}))&&w(r)}function x(r,e,t){let n=e!=null&&e.tabbable?s.$b4b717babfbb907b$export$bebd5a1431fec25d:s.$b4b717babfbb907b$export$4c063cf1350e6fed,o=(r==null?void 0:r.nodeType)===Node.ELEMENT_NODE?r:null,c=s.$431fbd86ca7dc216$export$b204af158042fbac(o),i=H(c,r||c,NodeFilter.SHOW_ELEMENT,{acceptNode(a){var b;return!(e==null||(b=e.from)===null||b===void 0)&&b.contains(a)?NodeFilter.FILTER_REJECT:n(a)&&P(a)&&(!t||E(a,t))&&(!(e!=null&&e.accept)||e.accept(a))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});return e!=null&&e.from&&(i.currentNode=e.from),i}function O(r,e={}){return{focusNext(t={}){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});n.contains(b)&&(d.currentNode=b);let u=d.nextNode();return!u&&i&&(d.currentNode=n,u=d.nextNode()),u&&w(u,!0),u},focusPrevious(t=e){let n=r.current;if(!n)return null;let{from:o,tabbable:c=e.tabbable,wrap:i=e.wrap,accept:a=e.accept}=t,b=o||s.$d4ee10de306f2510$export$cd4e5573fbe2b576(s.$431fbd86ca7dc216$export$b204af158042fbac(n)),d=x(n,{tabbable:c,accept:a});if(n.contains(b))d.currentNode=b;else{let l=F(d);return l&&w(l,!0),l??null}let u=d.previousNode();if(!u&&i){d.currentNode=n;let l=F(d);if(!l)return null;u=l}return u&&w(u,!0),u??null},focusFirst(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,a=x(n,{tabbable:o,accept:c}).nextNode();return a&&w(a,!0),a},focusLast(t=e){let n=r.current;if(!n)return null;let{tabbable:o=e.tabbable,accept:c=e.accept}=t,i=x(n,{tabbable:o,accept:c}),a=F(i);return a&&w(a,!0),a??null}}}function F(r){let e,t;do t=r.lastChild(),t&&(e=t);while(t);return e}class A{get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let o=this.fastMap.get(t??null);if(!o)return;let c=new M({scopeRef:e});o.addChild(c),c.parent=o,this.fastMap.set(e,c),n&&(c.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(e===null)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let c of this.traverse())c!==t&&t.nodeToRestore&&c.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&E(c.nodeToRestore,t.scopeRef.current)&&(c.nodeToRestore=t.nodeToRestore);let o=t.children;n&&(n.removeChild(t),o.size>0&&o.forEach(c=>n&&n.addChild(c))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(e.scopeRef!=null&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new A;var n;for(let o of this.traverse())t.addTreeNode(o.scopeRef,(n=(e=o.parent)===null||e===void 0?void 0:e.scopeRef)!==null&&n!==void 0?n:null,o.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new M({scopeRef:null}),this.fastMap.set(null,this.root)}}class M{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let v=new A;exports.$9bf71ea28793e738$export$1258395f99bf9cbf=Y;exports.$9bf71ea28793e738$export$20e40289641fbbb6=j;exports.$9bf71ea28793e738$export$2d6ec8fc375ceafa=x;exports.$9bf71ea28793e738$export$c5251b9e124bf29=O;
@@ -0,0 +1,45 @@
1
+ import { $ as m, a as H } from "./utils-DJhAJHk_.js";
2
+ import h, { forwardRef as x, createContext as p } from "react";
3
+ import { $ as F } from "./useHover-DQvJ3Y-W.js";
4
+ import { $ as P } from "./useFocusRing-DOfBqnUN.js";
5
+ import { a as _ } from "./mergeProps-C1U1OIeJ.js";
6
+ const C = /* @__PURE__ */ p({}), V = /* @__PURE__ */ x(function(e, d) {
7
+ [e, d] = m(e, d, C);
8
+ let { isDisabled: a, isInvalid: o, onHoverStart: f, onHoverChange: u, onHoverEnd: v, ...c } = e, { hoverProps: $, isHovered: s } = F({
9
+ onHoverStart: f,
10
+ onHoverChange: u,
11
+ onHoverEnd: v,
12
+ isDisabled: a
13
+ }), { isFocused: n, isFocusVisible: t, focusProps: b } = P({
14
+ within: !0
15
+ });
16
+ a ?? (a = !!e["aria-disabled"] && e["aria-disabled"] !== "false"), o ?? (o = !!e["aria-invalid"] && e["aria-invalid"] !== "false");
17
+ let l = H({
18
+ ...e,
19
+ values: {
20
+ isHovered: s,
21
+ isFocusWithin: n,
22
+ isFocusVisible: t,
23
+ isDisabled: a,
24
+ isInvalid: o
25
+ },
26
+ defaultClassName: "react-aria-Group"
27
+ });
28
+ var i, r;
29
+ return /* @__PURE__ */ h.createElement("div", {
30
+ ..._(c, b, $),
31
+ ...l,
32
+ ref: d,
33
+ role: (i = e.role) !== null && i !== void 0 ? i : "group",
34
+ slot: (r = e.slot) !== null && r !== void 0 ? r : void 0,
35
+ "data-focus-within": n || void 0,
36
+ "data-hovered": s || void 0,
37
+ "data-focus-visible": t || void 0,
38
+ "data-disabled": a || void 0,
39
+ "data-invalid": o || void 0
40
+ }, l.children);
41
+ });
42
+ export {
43
+ V as $,
44
+ C as a
45
+ };
@@ -0,0 +1 @@
1
+ "use strict";const u=require("./utils-DHNZrQmj.cjs"),s=require("react"),F=require("./useHover-BE_XKZKe.cjs"),P=require("./useFocusRing-B-A1OLhU.cjs"),g=require("./mergeProps-B5KXZAI3.cjs"),c=s.createContext({}),p=s.forwardRef(function(e,o){[e,o]=u.$64fa3d84918910a7$export$29f1550f4b0d4415(e,o,c);let{isDisabled:d,isInvalid:i,onHoverStart:v,onHoverChange:$,onHoverEnd:b,...H}=e,{hoverProps:h,isHovered:n}=F.$6179b936705e76d3$export$ae780daf29e6d456({onHoverStart:v,onHoverChange:$,onHoverEnd:b,isDisabled:d}),{isFocused:t,isFocusVisible:l,focusProps:x}=P.$f7dceffc5ad7768b$export$4e328f61c538687f({within:!0});d??(d=!!e["aria-disabled"]&&e["aria-disabled"]!=="false"),i??(i=!!e["aria-invalid"]&&e["aria-invalid"]!=="false");let f=u.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isHovered:n,isFocusWithin:t,isFocusVisible:l,isDisabled:d,isInvalid:i},defaultClassName:"react-aria-Group"});var a,r;return s.createElement("div",{...g.$3ef42575df84b30b$export$9d1611c77c2fe928(H,x,h),...f,ref:o,role:(a=e.role)!==null&&a!==void 0?a:"group",slot:(r=e.slot)!==null&&r!==void 0?r:void 0,"data-focus-within":t||void 0,"data-hovered":n||void 0,"data-focus-visible":l||void 0,"data-disabled":d||void 0,"data-invalid":i||void 0},f.children)});exports.$a049562f99e7db0e$export$eb2fcfdbd7ba97d4=p;exports.$a049562f99e7db0e$export$f9c6924e160136d1=c;
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Heading.css');const o=require("react/jsx-runtime"),i=require("./clsx-C11secjj.cjs"),u=require("./RSPContexts-D8hmBfGm.cjs"),_=require("./utils-DHNZrQmj.cjs"),f=require("react"),d=f.forwardRef(function(t,s){[t,s]=_.$64fa3d84918910a7$export$29f1550f4b0d4415(t,s,u.$4e85f108e88277b8$export$d688439359537581);let{children:c,level:h=3,className:n,...a}=t,l=`h${h}`;return f.createElement(l,{...a,ref:s,className:n??"react-aria-Heading"},c)}),$="_h1_f2fu6_4",x="_h2_f2fu6_5",m="_h3_f2fu6_6",q="_h4_f2fu6_7",v="_h5_f2fu6_8",g="_h6_f2fu6_9",e={h1:$,h2:x,h3:m,h4:q,h5:v,h6:g},H=({children:r,className:t,isExpressive:s=!1,level:c=3,elementType:h,...n})=>{const a=h&&parseInt(h.split("h")[1]);return o.jsx(d,{level:a||c,className:i.clsx([e.h1,e.h2,e.h3,e.h4,e.h5,e.h6][c-1],t),...s&&{"data-expressive":!0},...n,children:r})};exports.Heading=H;
@@ -1,9 +1,9 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
2
  import { c as l } from "./clsx-OuTLNxxd.js";
3
3
  import { $ as _ } from "./RSPContexts-BW2SEIqe.js";
4
- import { a as m } from "./utils-HNTsIwux.js";
4
+ import { $ as m } from "./utils-DJhAJHk_.js";
5
5
  import i, { forwardRef as d } from "react";
6
- import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
6
+ import './assets/Heading.css';const u = /* @__PURE__ */ d(function(t, a) {
7
7
  [t, a] = m(t, a, _);
8
8
  let { children: f, level: h = 3, className: s, ...o } = t, c = `h${h}`;
9
9
  return /* @__PURE__ */ i.createElement(c, {
@@ -11,13 +11,13 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
11
11
  ref: a,
12
12
  className: s ?? "react-aria-Heading"
13
13
  }, f);
14
- }), u = "_h1_f2fu6_4", p = "_h2_f2fu6_5", x = "_h3_f2fu6_6", v = "_h4_f2fu6_7", b = "_h5_f2fu6_8", H = "_h6_f2fu6_9", e = {
15
- h1: u,
14
+ }), $ = "_h1_f2fu6_4", p = "_h2_f2fu6_5", x = "_h3_f2fu6_6", v = "_h4_f2fu6_7", H = "_h5_f2fu6_8", N = "_h6_f2fu6_9", e = {
15
+ h1: $,
16
16
  h2: p,
17
17
  h3: x,
18
18
  h4: v,
19
- h5: b,
20
- h6: H
19
+ h5: H,
20
+ h6: N
21
21
  }, w = ({
22
22
  children: r,
23
23
  className: t,
@@ -28,7 +28,7 @@ import './assets/Heading.css';const $ = /* @__PURE__ */ d(function(t, a) {
28
28
  }) => {
29
29
  const o = h && parseInt(h.split("h")[1]);
30
30
  return /* @__PURE__ */ n(
31
- $,
31
+ u,
32
32
  {
33
33
  level: o || f,
34
34
  className: l(
@@ -24,11 +24,11 @@ function s(e) {
24
24
  let a = (n, d) => i(r) ? null : e(n, d);
25
25
  return a.displayName = e.displayName || e.name, l(a);
26
26
  }
27
- function b() {
27
+ function p() {
28
28
  return i(r);
29
29
  }
30
30
  export {
31
31
  s as $,
32
32
  f as a,
33
- b
33
+ p as b
34
34
  };
@@ -1,12 +1,14 @@
1
1
  import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
- import * as g from "react";
3
- import { c as p } from "./clsx-OuTLNxxd.js";
4
- import { B as h } from "./Button-CbFRzRrF.js";
5
- import { T as _ } from "./triangle-alert-wxyxspAl.js";
6
- import { C as u, I as z, a as k } from "./info-DkzVqB8I.js";
7
- import { X as b } from "./x-JK7i-TQC.js";
8
- import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBanner_cszz3_4", B = "_success_cszz3_14", N = "_info_cszz3_4", I = "_important_cszz3_24", v = "_warning_cszz3_29", C = "_content_cszz3_38", S = "_heading_cszz3_44", j = "_text_cszz3_49", y = "_icon_cszz3_55", A = "_dismissable_cszz3_60", s = {
9
- tokens: x,
2
+ import * as p from "react";
3
+ import { c as h } from "./clsx-OuTLNxxd.js";
4
+ import { B as _ } from "./Button-BZUo7vsZ.js";
5
+ import { T as u } from "./triangle-alert-wxyxspAl.js";
6
+ import { C as z, a as k } from "./circle-check-B9HYcH7Z.js";
7
+ import { I as b } from "./info-BZwphdye.js";
8
+ import { X as x } from "./x-JK7i-TQC.js";
9
+ import { u as w } from "./useLocalizedStringFormatter-N0AyjzbM.js";
10
+ import './assets/InfoBanner.css';const v = '"../theme/tokens.css"', B = "_infoBanner_cszz3_4", N = "_success_cszz3_14", I = "_info_cszz3_4", C = "_important_cszz3_24", S = "_warning_cszz3_29", j = "_content_cszz3_38", y = "_heading_cszz3_44", A = "_text_cszz3_49", T = "_icon_cszz3_55", F = "_dismissable_cszz3_60", s = {
11
+ tokens: v,
10
12
  "--font-family": '"Inter", sans-serif',
11
13
  "--text-primary": "light-dark(#171717, #f2f2f2)",
12
14
  "--line-height-40": "1.375rem",
@@ -18,36 +20,43 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
18
20
  "--support-background-warning": "light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))",
19
21
  "--support-border-important": "light-dark(#fdb813, #fdb813)",
20
22
  "--support-background-important": "light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",
21
- infoBanner: w,
22
- success: B,
23
- info: N,
24
- important: I,
25
- warning: v,
26
- content: C,
27
- heading: S,
28
- text: j,
29
- icon: y,
30
- dismissable: A
31
- }, T = {
23
+ infoBanner: B,
24
+ success: N,
25
+ info: I,
26
+ important: C,
27
+ warning: S,
28
+ content: j,
29
+ heading: y,
30
+ text: A,
31
+ icon: T,
32
+ dismissable: F
33
+ }, L = {
34
+ close: "Close"
35
+ }, M = {
36
+ close: "Stäng"
37
+ }, P = {
38
+ en: L,
39
+ sv: M
40
+ }, R = {
32
41
  success: k,
33
- info: z,
34
- important: u,
35
- warning: _
36
- }, D = ({
37
- title: r,
42
+ info: b,
43
+ important: z,
44
+ warning: u
45
+ }, O = ({
46
+ title: o,
38
47
  message: i,
39
- type: o,
40
- children: e,
48
+ type: r,
49
+ children: a,
41
50
  dismissable: c = !1,
42
51
  isDismissable: f = !1,
43
- ...a
52
+ ...e
44
53
  }) => {
45
- const d = T[o], [l, m] = g.useState(!0);
54
+ const d = R[r], [l, m] = p.useState(!0), g = w(P);
46
55
  return l ? /* @__PURE__ */ t(
47
56
  "div",
48
57
  {
49
- ...a,
50
- className: p(s.infoBanner, s[o], a.className),
58
+ ...e,
59
+ className: h(s.infoBanner, s[r], e.className),
51
60
  children: [
52
61
  /* @__PURE__ */ n(
53
62
  d,
@@ -58,19 +67,19 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
58
67
  }
59
68
  ),
60
69
  /* @__PURE__ */ t("div", { className: s.content, children: [
61
- r && /* @__PURE__ */ n("strong", { className: s.heading, children: r }),
70
+ o && /* @__PURE__ */ n("strong", { className: s.heading, children: o }),
62
71
  /* @__PURE__ */ t("div", { className: s.text, children: [
63
72
  i,
64
- e
73
+ a
65
74
  ] })
66
75
  ] }),
67
76
  (c || f) && /* @__PURE__ */ n("div", { className: s.dismissable, children: /* @__PURE__ */ n(
68
- h,
77
+ _,
69
78
  {
70
79
  variant: "icon",
71
- "aria-label": "Stäng",
80
+ "aria-label": g.format("close"),
72
81
  onPress: () => m(!1),
73
- children: /* @__PURE__ */ n(b, { size: 20 })
82
+ children: /* @__PURE__ */ n(x, { size: 20 })
74
83
  }
75
84
  ) })
76
85
  ]
@@ -78,5 +87,5 @@ import './assets/InfoBanner.css';const x = '"../theme/tokens.css"', w = "_infoBa
78
87
  ) : null;
79
88
  };
80
89
  export {
81
- D as I
90
+ O as I
82
91
  };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/InfoBanner.css');const s=require("react/jsx-runtime"),_=require("react"),h=require("./clsx-C11secjj.cjs"),m=require("./Button-BXY5ZhqI.cjs"),p=require("./triangle-alert-DJW8U7jL.cjs"),i=require("./circle-check-BGo8gML8.cjs"),z=require("./info-CIEIENo6.cjs"),k=require("./x-H8Zrx8-x.cjs"),b=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return r.default=e,Object.freeze(r)}const j=x(_),q='"../theme/tokens.css"',w="_infoBanner_cszz3_4",v="_success_cszz3_14",B="_info_cszz3_4",N="_important_cszz3_24",S="_warning_cszz3_29",y="_content_cszz3_38",C="_heading_cszz3_44",I="_text_cszz3_49",O="_icon_cszz3_55",A="_dismissable_cszz3_60",t={tokens:q,"--font-family":'"Inter", sans-serif',"--text-primary":"light-dark(#171717, #f2f2f2)","--line-height-40":"1.375rem","--support-border-success":"light-dark(#008d3c, #008d3c)","--support-background-success":"light-dark(#d5f2d9, light-dark(#f2f2f2, #262626))","--support-border-info":"light-dark(#0066cc, #0066cc)","--support-background-info":"light-dark(#eaf2f6, light-dark(#f2f2f2, #262626))","--support-border-warning":"light-dark(#e62323, #e62323)","--support-background-warning":"light-dark(#ffdfdf, light-dark(#f2f2f2, #262626))","--support-border-important":"light-dark(#fdb813, #fdb813)","--support-background-important":"light-dark(#fff8e1, light-dark(#f2f2f2, #262626))",infoBanner:w,success:v,info:B,important:N,warning:S,content:y,heading:C,text:I,icon:O,dismissable:A},P={close:"Close"},R={close:"Stäng"},D={en:P,sv:R},F={success:i.CircleCheck,info:z.Info,important:i.CircleAlert,warning:p.TriangleAlert},L=({title:e,message:r,type:n,children:c,dismissable:a=!1,isDismissable:l=!1,...o})=>{const f=F[n],[d,u]=j.useState(!0),g=b.useLocalizedStringFormatter(D);return d?s.jsxs("div",{...o,className:h.clsx(t.infoBanner,t[n],o.className),children:[s.jsx(f,{size:20,"aria-hidden":!0,className:t.icon}),s.jsxs("div",{className:t.content,children:[e&&s.jsx("strong",{className:t.heading,children:e}),s.jsxs("div",{className:t.text,children:[r,c]})]}),(a||l)&&s.jsx("div",{className:t.dismissable,children:s.jsx(m.Button,{variant:"icon","aria-label":g.format("close"),onPress:()=>u(!1),children:s.jsx(k.X,{size:20})})})]}):null};exports.InfoBanner=L;
@@ -0,0 +1,42 @@
1
+ import { $ as c, a as $ } from "./utils-DJhAJHk_.js";
2
+ import { $ as u } from "./Hidden-C9KWUR7b.js";
3
+ import l, { createContext as b } from "react";
4
+ import { $ as v } from "./useHover-DQvJ3Y-W.js";
5
+ import { $ as m } from "./useFocusRing-DOfBqnUN.js";
6
+ import { a as x } from "./mergeProps-C1U1OIeJ.js";
7
+ const H = /* @__PURE__ */ b({});
8
+ let p = (d) => {
9
+ let { onHoverStart: e, onHoverChange: a, onHoverEnd: t, ...o } = d;
10
+ return o;
11
+ };
12
+ const V = /* @__PURE__ */ u(function(e, a) {
13
+ [e, a] = c(e, a, H);
14
+ let { hoverProps: t, isHovered: o } = v(e), { isFocused: i, isFocusVisible: r, focusProps: f } = m({
15
+ isTextInput: !0,
16
+ autoFocus: e.autoFocus
17
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", n = $({
18
+ ...e,
19
+ values: {
20
+ isHovered: o,
21
+ isFocused: i,
22
+ isFocusVisible: r,
23
+ isDisabled: e.disabled || !1,
24
+ isInvalid: s
25
+ },
26
+ defaultClassName: "react-aria-Input"
27
+ });
28
+ return /* @__PURE__ */ l.createElement("input", {
29
+ ...x(p(e), f, t),
30
+ ...n,
31
+ ref: a,
32
+ "data-focused": i || void 0,
33
+ "data-disabled": e.disabled || void 0,
34
+ "data-hovered": o || void 0,
35
+ "data-focus-visible": r || void 0,
36
+ "data-invalid": s || void 0
37
+ });
38
+ });
39
+ export {
40
+ H as $,
41
+ V as a
42
+ };
@@ -0,0 +1 @@
1
+ "use strict";const c=require("./utils-DHNZrQmj.cjs"),l=require("./Hidden-BxRZGdEW.cjs"),n=require("react"),b=require("./useHover-BE_XKZKe.cjs"),v=require("./useFocusRing-B-A1OLhU.cjs"),x=require("./mergeProps-B5KXZAI3.cjs"),f=n.createContext({});let H=t=>{let{onHoverStart:e,onHoverChange:a,onHoverEnd:o,...d}=t;return d};const F=l.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,a){[e,a]=c.$64fa3d84918910a7$export$29f1550f4b0d4415(e,a,f);let{hoverProps:o,isHovered:d}=b.$6179b936705e76d3$export$ae780daf29e6d456(e),{isFocused:i,isFocusVisible:r,focusProps:u}=v.$f7dceffc5ad7768b$export$4e328f61c538687f({isTextInput:!0,autoFocus:e.autoFocus}),s=!!e["aria-invalid"]&&e["aria-invalid"]!=="false",$=c.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isHovered:d,isFocused:i,isFocusVisible:r,isDisabled:e.disabled||!1,isInvalid:s},defaultClassName:"react-aria-Input"});return n.createElement("input",{...x.$3ef42575df84b30b$export$9d1611c77c2fe928(H(e),u,o),...$,ref:a,"data-focused":i||void 0,"data-disabled":e.disabled||void 0,"data-hovered":d||void 0,"data-focus-visible":r||void 0,"data-invalid":s||void 0})});exports.$3985021b0ad6602f$export$37fb8590cf2c088c=f;exports.$3985021b0ad6602f$export$f5b8910cec6cf069=F;
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Label.css');const t=require("react/jsx-runtime"),l=require("react"),p=require("./clsx-C11secjj.cjs"),b=require("./Button-DExMoP5f.cjs"),f=require("./Popover-CnAsw3wI.cjs"),d=require("./Button-BXY5ZhqI.cjs"),v=require("./Dialog-CSnN6baf.cjs"),g=require("./info-CIEIENo6.cjs"),m=require("./useLocalizedStringFormatter-BO2iZEL0.cjs");function x(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const P=x(l),j="_labelBase_khdpe_4",_={labelBase:j},I="_labelPopover_1ici8_4",q="_labelPopoverTrigger_1ici8_10",u={labelPopover:I,labelPopoverTrigger:q},L={moreInfo:"More info"},O={moreInfo:"Mer information"},T={en:L,sv:O},$=({children:e,"aria-label":o})=>{const[r,s]=l.useState(!1),n=l.useContext(c),a=m.useLocalizedStringFormatter(T);return t.jsxs(v.$de32f1b87079253c$export$2e1e1122cf0cba88,{isOpen:r,onOpenChange:s,children:[t.jsx(d.Button,{variant:"icon",size:"medium",className:u.labelPopoverTrigger,"aria-label":o||a.format("moreInfo"),id:n==null?void 0:n.popoverId,children:t.jsx(g.Info,{size:20})}),t.jsx(f.Popover,{children:e})]})},c=l.createContext(void 0),y=({children:e,popover:o})=>{const r=l.useId();return o?t.jsx(c.Provider,{value:{popoverId:r},children:t.jsxs("div",{className:u.labelPopover,children:[e,t.jsx($,{...o})]})}):e},i="label",B=({children:e,className:o,elementType:r=i,...s})=>{const n={className:p.clsx(_.labelBase,o),elementType:r||i,...s},a=P.useContext(c);return t.jsx(b.$01b77f81d0f07f68$export$b04be29aa201d4f5,{...n,"aria-describedby":a==null?void 0:a.popoverId,children:e})};exports.Label=B;exports.LabelWrapper=y;
@@ -0,0 +1,78 @@
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
+ import * as f from "react";
3
+ import n from "react";
4
+ import { c as b } from "./clsx-OuTLNxxd.js";
5
+ import { d } from "./Button-CFYdzG0H.js";
6
+ import { P as v } from "./Popover-C8VY1YKi.js";
7
+ import { B as u } from "./Button-BZUo7vsZ.js";
8
+ import { $ as P } from "./Dialog-CtVrVuMr.js";
9
+ import { I as g } from "./info-BZwphdye.js";
10
+ import { u as _ } from "./useLocalizedStringFormatter-N0AyjzbM.js";
11
+ import './assets/Label.css';const I = "_labelBase_khdpe_4", x = {
12
+ labelBase: I
13
+ }, $ = "_labelPopover_1ici8_4", L = "_labelPopoverTrigger_1ici8_10", m = {
14
+ labelPopover: $,
15
+ labelPopoverTrigger: L
16
+ }, T = {
17
+ moreInfo: "More info"
18
+ }, B = {
19
+ moreInfo: "Mer information"
20
+ }, h = {
21
+ en: T,
22
+ sv: B
23
+ }, C = ({
24
+ children: e,
25
+ "aria-label": o
26
+ }) => {
27
+ const [s, l] = n.useState(!1), a = n.useContext(i), t = _(h);
28
+ return /* @__PURE__ */ c(
29
+ P,
30
+ {
31
+ isOpen: s,
32
+ onOpenChange: l,
33
+ children: [
34
+ /* @__PURE__ */ r(
35
+ u,
36
+ {
37
+ variant: "icon",
38
+ size: "medium",
39
+ className: m.labelPopoverTrigger,
40
+ "aria-label": o || t.format("moreInfo"),
41
+ id: a == null ? void 0 : a.popoverId,
42
+ children: /* @__PURE__ */ r(g, { size: 20 })
43
+ }
44
+ ),
45
+ /* @__PURE__ */ r(v, { children: e })
46
+ ]
47
+ }
48
+ );
49
+ }, i = n.createContext(void 0), S = ({ children: e, popover: o }) => {
50
+ const s = n.useId();
51
+ return o ? /* @__PURE__ */ r(i.Provider, { value: { popoverId: s }, children: /* @__PURE__ */ c("div", { className: m.labelPopover, children: [
52
+ e,
53
+ /* @__PURE__ */ r(C, { ...o })
54
+ ] }) }) : e;
55
+ }, p = "label", W = ({
56
+ children: e,
57
+ className: o,
58
+ elementType: s = p,
59
+ ...l
60
+ }) => {
61
+ const a = {
62
+ className: b(x.labelBase, o),
63
+ elementType: s || p,
64
+ ...l
65
+ }, t = f.useContext(i);
66
+ return /* @__PURE__ */ r(
67
+ d,
68
+ {
69
+ ...a,
70
+ "aria-describedby": t == null ? void 0 : t.popoverId,
71
+ children: e
72
+ }
73
+ );
74
+ };
75
+ export {
76
+ W as L,
77
+ S as a
78
+ };