@midas-ds/components 11.2.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 (465) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/BadgeContainer-iNNgJKD9.js +37 -0
  4. package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
  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-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
  9. package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-Dq6ugqxT.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 +114 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
  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-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
  27. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-BmvqW1Hk.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-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
  43. package/Dropdown-DJ2vWAqk.cjs +6 -0
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
  46. package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/Grid-WbEkSCGh.cjs +1 -0
  51. package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/InfoBanner-CqjnTYaa.cjs +1 -0
  59. package/InfoBanner-CrA8MS3v.js +83 -0
  60. package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
  61. package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
  62. package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
  63. package/Label-C00qz3kQ.cjs +1 -0
  64. package/Layout-Bta_Cpq_.cjs +16 -0
  65. package/Layout-CG-Qxr_1.js +482 -0
  66. package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
  67. package/Link-Bx6avHVl.cjs +6 -0
  68. package/Link-CbFSuEI1.js +73 -0
  69. package/Link-wM7cVPlS.cjs +1 -0
  70. package/LinkButton-BvXu6vAH.cjs +6 -0
  71. package/LinkButton-D3EnZ65v.js +69 -0
  72. package/ListBox-ICZKGluC.cjs +1 -0
  73. package/ListBox-LncMQt6I.js +523 -0
  74. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  75. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  76. package/ListBoxSection-BCPv9H50.js +1085 -0
  77. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  78. package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  79. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  80. package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
  81. package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
  82. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  83. package/OverlayArrow-CvNuu3e3.js +519 -0
  84. package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  85. package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
  86. package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
  87. package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
  88. package/ProgressBar-CdXHEJh6.js +53 -0
  89. package/ProgressBar-CjuHokVZ.cjs +1 -0
  90. package/Radio-Bll-7H8O.cjs +1 -0
  91. package/Radio-DoWx2AE1.js +333 -0
  92. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  93. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  95. package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
  96. package/Select-BnbDXwgD.cjs +1 -0
  97. package/Select-Dpi3LhbI.js +654 -0
  98. package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  99. package/SelectionManager-BtbHoHpA.cjs +1 -0
  100. package/Separator-CM0KPvsX.js +105 -0
  101. package/Separator-Cfv2pbWf.cjs +1 -0
  102. package/Separator-DH-5wu9X.js +77 -0
  103. package/Separator-Dgin8BNW.cjs +1 -0
  104. package/Skeleton-BpYj25p8.js +37 -0
  105. package/Skeleton-DMOxEwnd.cjs +1 -0
  106. package/Spinner-D1UBuLy4.cjs +6 -0
  107. package/Spinner-DTKb_LAA.js +47 -0
  108. package/TabList-D4WwgQY3.cjs +1 -0
  109. package/TabList-D9tl2s85.js +397 -0
  110. package/Table-C6k3PiiC.cjs +16 -0
  111. package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
  112. package/Tag-7dHEMQum.cjs +1 -0
  113. package/Tag-BUJ20HHw.js +765 -0
  114. package/Text-BAFsaON-.cjs +1 -0
  115. package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
  116. package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
  117. package/Text-CmlsaWMA.js +32 -0
  118. package/TextArea-BCikUXaD.cjs +1 -0
  119. package/TextArea-h5_oBQH1.js +125 -0
  120. package/TextField-Bm5916AD.cjs +1 -0
  121. package/TextField-_UY8CXtW.js +134 -0
  122. package/TextField.module-C9Zm9unF.js +13 -0
  123. package/TextField.module-GTQtNO0r.cjs +1 -0
  124. package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
  125. package/Toast-DclaxvZM.cjs +1 -0
  126. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  127. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  128. package/Tooltip-BHAtsp9k.js +281 -0
  129. package/Tooltip-CZa9n5sT.cjs +1 -0
  130. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
  131. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  132. package/accordion/Accordion.d.ts +8 -2
  133. package/accordion/AccordionContext.d.ts +4 -0
  134. package/accordion/AccordionItem.d.ts +6 -4
  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 -0
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  184. package/breadcrumbs/index.cjs +1 -1
  185. package/breadcrumbs/index.js +1 -1
  186. package/button/index.cjs +1 -1
  187. package/button/index.js +2 -2
  188. package/calendar/index.cjs +1 -1
  189. package/calendar/index.js +1 -1
  190. package/card/index.cjs +1 -1
  191. package/card/index.js +1 -1
  192. package/character-counter/index.cjs +1 -1
  193. package/character-counter/index.js +1 -1
  194. package/checkbox/index.cjs +1 -1
  195. package/checkbox/index.js +2 -2
  196. package/chevron-right-0-sUFBiR.cjs +6 -0
  197. package/chevron-right-BYYHEJjK.js +11 -0
  198. package/color-scheme-switch/index.cjs +1 -1
  199. package/color-scheme-switch/index.js +1 -1
  200. package/combobox/ComboBox.d.ts +0 -4
  201. package/combobox/index.cjs +1 -1
  202. package/combobox/index.d.ts +1 -2
  203. package/combobox/index.js +2 -3
  204. package/combobox/intl/translations.json.d.ts +4 -2
  205. package/combobox/types.d.ts +0 -13
  206. package/common/icon-map.d.ts +6 -0
  207. package/common/types.d.ts +8 -0
  208. package/date-field/index.cjs +1 -1
  209. package/date-field/index.js +2 -2
  210. package/date-picker/index.cjs +1 -1
  211. package/date-picker/index.js +1 -1
  212. package/dropdown/Dropdown.d.ts +25 -1
  213. package/dropdown/index.cjs +1 -1
  214. package/dropdown/index.js +1 -1
  215. package/field-error/index.cjs +1 -1
  216. package/field-error/index.js +1 -1
  217. package/file-upload/index.cjs +1 -1
  218. package/file-upload/index.js +1 -1
  219. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  220. package/filterDOMProps-wsa9OcNI.js +65 -0
  221. package/grid/Grid.d.ts +0 -8
  222. package/grid/GridItem.d.ts +0 -8
  223. package/grid/index.cjs +1 -1
  224. package/grid/index.d.ts +2 -2
  225. package/grid/index.js +4 -6
  226. package/heading/index.cjs +1 -1
  227. package/heading/index.js +1 -1
  228. package/icon-map-9XcghDra.cjs +11 -0
  229. package/icon-map-uS87FT_Q.js +43 -0
  230. package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
  231. package/index-DSFSh2sC.cjs +17 -0
  232. package/index.cjs +1 -1
  233. package/index.d.ts +2 -0
  234. package/index.js +133 -121
  235. package/info-banner/InfoBanner.d.ts +18 -10
  236. package/info-banner/index.cjs +1 -1
  237. package/info-banner/index.js +1 -1
  238. package/label/index.cjs +1 -1
  239. package/label/index.js +1 -1
  240. package/layout/index.cjs +1 -1
  241. package/layout/index.js +1 -1
  242. package/link/index.cjs +1 -1
  243. package/link/index.js +2 -2
  244. package/link-button/index.cjs +1 -1
  245. package/link-button/index.js +2 -2
  246. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  247. package/list-box/index.cjs +1 -1
  248. package/list-box/index.d.ts +1 -0
  249. package/list-box/index.js +6 -5
  250. package/list-box/intl/translations.json.d.ts +11 -0
  251. package/logo/index.cjs +1 -1
  252. package/logo/index.js +1 -1
  253. package/menu/Menu.d.ts +13 -0
  254. package/menu/MenuItem.d.ts +5 -0
  255. package/menu/MenuPopover.d.ts +3 -0
  256. package/menu/MenuSection.d.ts +3 -0
  257. package/menu/Separator.d.ts +3 -0
  258. package/menu/index.cjs +1 -0
  259. package/menu/index.d.ts +5 -0
  260. package/menu/index.js +8 -0
  261. package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
  262. package/mergeProps-JhcJ7uJL.cjs +1 -0
  263. package/modal/index.cjs +1 -1
  264. package/modal/index.js +2 -2
  265. package/package.json +9 -4
  266. package/popover/index.cjs +1 -1
  267. package/popover/index.js +1 -1
  268. package/progress-bar/index.cjs +1 -1
  269. package/progress-bar/index.js +1 -1
  270. package/radio/index.cjs +1 -1
  271. package/radio/index.js +1 -1
  272. package/search-field/index.cjs +1 -1
  273. package/search-field/index.js +1 -1
  274. package/select/Select.d.ts +1 -1
  275. package/select/index.cjs +1 -1
  276. package/select/index.d.ts +1 -1
  277. package/select/index.js +1 -1
  278. package/select/types.d.ts +1 -13
  279. package/skeleton/index.cjs +1 -1
  280. package/skeleton/index.js +1 -1
  281. package/spinner/index.cjs +1 -1
  282. package/spinner/index.js +1 -1
  283. package/table/Table.d.ts +7 -12
  284. package/table/index.cjs +1 -1
  285. package/table/index.js +1 -1
  286. package/tabs/Tabs.d.ts +0 -12
  287. package/tabs/index.cjs +1 -1
  288. package/tabs/index.js +1 -1
  289. package/tag/Tag.d.ts +2 -1
  290. package/tag/index.cjs +1 -1
  291. package/tag/index.js +1 -1
  292. package/text/index.cjs +1 -1
  293. package/text/index.js +1 -1
  294. package/textfield/Input.d.ts +7 -2
  295. package/textfield/PasswordField.d.ts +1 -1
  296. package/textfield/index.cjs +1 -1
  297. package/textfield/index.js +1 -1
  298. package/theme/generated-object.d.ts +384 -0
  299. package/theme/generated-tokens.d.ts +334 -0
  300. package/theme/index.cjs +1 -1
  301. package/theme/index.d.ts +39 -12
  302. package/theme/index.js +4037 -13
  303. package/theme/tokens.d.ts +65 -18
  304. package/toast/Toast.d.ts +2 -1
  305. package/toast/index.cjs +1 -1
  306. package/toast/index.js +1 -1
  307. package/toggle-button/index.cjs +1 -1
  308. package/toggle-button/index.js +1 -1
  309. package/tokens-B3FfJ-rY.cjs +1 -0
  310. package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
  311. package/tooltip/index.cjs +1 -1
  312. package/tooltip/index.js +1 -1
  313. package/useButton-D6iUB8cN.js +56 -0
  314. package/useButton-R8-i3HLC.cjs +1 -0
  315. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  316. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  317. package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
  318. package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  319. package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
  320. package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
  321. package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
  322. package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
  323. package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
  324. package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
  325. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  326. package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
  327. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
  328. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  329. package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  330. package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
  331. package/useFormValidation-BQIRxgbU.cjs +1 -0
  332. package/useFormValidation-L0UHvOsP.js +217 -0
  333. package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  334. package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
  335. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
  336. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  337. package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
  338. package/useHover-DGAmG7jt.cjs +1 -0
  339. package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  340. package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
  341. package/useListState-D2IEg6_e.cjs +1 -0
  342. package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
  343. package/usePress-CicXV7UO.cjs +7 -0
  344. package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
  345. package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  346. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  347. package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
  348. package/useTextField-Cxpfu0U3.cjs +1 -0
  349. package/useToggleState-BVOqL4hI.js +21 -0
  350. package/useToggleState-SqDyNfRi.cjs +1 -0
  351. package/utils/types.d.ts +4 -0
  352. package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
  353. package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
  354. package/utils-DFIwp4PB.js +262 -0
  355. package/utils-__vrf9VZ.cjs +1 -0
  356. package/AccordionItem-BPOQqTkQ.js +0 -323
  357. package/AccordionItem-CS-QKqrU.cjs +0 -1
  358. package/BadgeContainer-CKBIZWsc.js +0 -37
  359. package/Breadcrumbs-BBzSV4SK.js +0 -262
  360. package/Breadcrumbs-CFUryOhf.cjs +0 -1
  361. package/Button-DExMoP5f.cjs +0 -1
  362. package/Button.module-D-mPLRxe.js +0 -14
  363. package/Button.module-goCEz5qs.cjs +0 -1
  364. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  365. package/Card-BRs1FKX5.js +0 -131
  366. package/Card-cdL5669N.cjs +0 -1
  367. package/Checkbox-Co3h0hur.cjs +0 -1
  368. package/Checkbox-EB_SCBEo.js +0 -264
  369. package/CheckboxGroup-CT_eqERw.cjs +0 -1
  370. package/CheckboxGroup-DvrN1oyw.js +0 -159
  371. package/Collection-BtBX5IMY.cjs +0 -1
  372. package/Collection-D2jVTmDW.js +0 -577
  373. package/ComboBox-D_jh7TKo.cjs +0 -1
  374. package/DateField-BURrxhil.cjs +0 -1
  375. package/DateField-DKCbEonm.js +0 -47
  376. package/DateInputDivider-ToFY-yjB.cjs +0 -1
  377. package/DateRangePicker-B5vx9onl.js +0 -870
  378. package/DateRangePicker-DkIAEIIj.cjs +0 -6
  379. package/Dialog-CxHiZorC.cjs +0 -1
  380. package/Dialog-D5c_dUnB.js +0 -1611
  381. package/Dialog-DtHk3eXI.cjs +0 -1
  382. package/Dialog-DuGcBeNN.js +0 -212
  383. package/DragAndDrop-CSg60YQE.cjs +0 -1
  384. package/DragAndDrop-DOXLfJaA.js +0 -60
  385. package/Dropdown-CYakzdJg.cjs +0 -6
  386. package/FieldError-Bv3Q6ZP-.cjs +0 -1
  387. package/FocusScope-vcXLOQiu.cjs +0 -1
  388. package/Grid-DVQtOcu9.cjs +0 -1
  389. package/GridItem-DlbSdRmB.js +0 -246
  390. package/GridItem-XgHmZWXY.cjs +0 -1
  391. package/Heading-CKTR4sOz.cjs +0 -1
  392. package/Heading-D2y_kiC0.js +0 -46
  393. package/InfoBanner-CzwbOdRG.cjs +0 -1
  394. package/InfoBanner-D05poAe3.js +0 -91
  395. package/Label-ChjDdBlv.cjs +0 -1
  396. package/Layout-D0E1fOgZ.cjs +0 -16
  397. package/Layout-DtyhUz-G.js +0 -498
  398. package/Link-CibH8uRY.js +0 -72
  399. package/Link-CidjjqHb.cjs +0 -1
  400. package/Link-ESjrl63P.cjs +0 -6
  401. package/LinkButton-B6AWNiRn.cjs +0 -6
  402. package/LinkButton-BkZULm2a.js +0 -69
  403. package/ListBox-B0E1hdEt.cjs +0 -1
  404. package/ListBox-Djy7244v.js +0 -531
  405. package/ListBoxButton-CIqNRR3y.cjs +0 -1
  406. package/ListBoxButton-sqirI6I4.js +0 -15
  407. package/ListBoxSection-BYJccE4T.cjs +0 -1
  408. package/ListBoxSection-Cicbu8pS.js +0 -1058
  409. package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
  410. package/OverlayArrow-DB_aVTVM.js +0 -507
  411. package/OverlayArrow-DpZ1FqOd.cjs +0 -1
  412. package/ProgressBar-ClysdvqU.cjs +0 -1
  413. package/ProgressBar-DTn23Zkr.js +0 -53
  414. package/Radio-CCN3o3s-.js +0 -313
  415. package/Radio-Cz0vLIBw.cjs +0 -1
  416. package/RangeCalendar-BY82hPRu.cjs +0 -11
  417. package/Select-MwvnbChP.js +0 -664
  418. package/Select-lhIwwJL7.cjs +0 -1
  419. package/SelectionManager-BJjqIWtf.cjs +0 -1
  420. package/Separator-DPLEx950.cjs +0 -1
  421. package/Separator-DvvVAypT.js +0 -59
  422. package/Skeleton-BAwbfKBW.cjs +0 -1
  423. package/Skeleton-BePDRmrO.js +0 -40
  424. package/Spinner-VSyPhiJ9.js +0 -51
  425. package/Spinner-vof0Y9Hh.cjs +0 -6
  426. package/TabList-CWMlbijV.cjs +0 -1
  427. package/TabList-VpTv_Xff.js +0 -435
  428. package/Table-DGYC-sDq.cjs +0 -16
  429. package/Tag-bYq-wf5D.cjs +0 -1
  430. package/Tag-rI-NhuT0.js +0 -748
  431. package/Text-BPcfhYQ9.js +0 -32
  432. package/Text-DBHWi5gA.cjs +0 -1
  433. package/TextArea-CrEALC58.js +0 -119
  434. package/TextArea-DJKHFKuI.cjs +0 -1
  435. package/TextField-BAX93sq7.cjs +0 -1
  436. package/TextField-Dma22dnD.js +0 -120
  437. package/TextField.module-BcpPBWnD.js +0 -13
  438. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  439. package/Toast-DdmSvNaO.cjs +0 -1
  440. package/ToggleButtonGroup-98z8Dw8-.js +0 -211
  441. package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
  442. package/Tooltip-DjNc93tV.js +0 -285
  443. package/Tooltip-pN5W3IK6.cjs +0 -1
  444. package/circle-check-BErh6TKu.js +0 -26
  445. package/circle-check-OVUGxwp9.cjs +0 -11
  446. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  447. package/filterDOMProps-D6KHYVBX.js +0 -24
  448. package/index-Dsz3aiWt.cjs +0 -17
  449. package/mergeProps-B5KXZAI3.cjs +0 -1
  450. package/tokens-5PzK5zK7.cjs +0 -1
  451. package/triangle-alert-B_qAPmWC.js +0 -21
  452. package/triangle-alert-BviJNFjf.cjs +0 -6
  453. package/useButton-BoIV3kDJ.js +0 -47
  454. package/useButton-D60q0SQw.cjs +0 -1
  455. package/useDateFormatter-BJBt0jk_.cjs +0 -1
  456. package/useFormValidation-BlFGdPZB.cjs +0 -1
  457. package/useFormValidation-BzzruZKm.js +0 -215
  458. package/useHover-BE_XKZKe.cjs +0 -1
  459. package/useListState-wLau6fXo.cjs +0 -1
  460. package/usePress-BooY_CAy.cjs +0 -7
  461. package/useTextField-DnRrCg5o.cjs +0 -1
  462. package/useToggleState-Bz5rAf4C.js +0 -18
  463. package/useToggleState-DoIkSQdj.cjs +0 -1
  464. package/utils-CoCR_Fce.js +0 -234
  465. package/utils-Dvdohqm9.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";const m=require("./utils-CMHKYKlz.cjs"),O=require("./Hidden-BxRZGdEW.cjs"),s=require("react"),R=require("./number-E0x3H9cL.cjs"),$=require("./mergeProps-JhcJ7uJL.cjs"),D=require("./filterDOMProps-RRlKPKX0.cjs"),j=require("./useLabels-CvUk-yS3.cjs"),B=require("./context-Df3XbgBG.cjs"),H=require("./useButton-R8-i3HLC.cjs"),S=require("./useFocusRing-BcbYske2.cjs"),_=require("./useHover-DGAmG7jt.cjs"),A=7e3;let d=null;function L(a,e="assertive",t=A){d?d.announce(a,e,t):(d=new U,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?d.announce(a,e,t):setTimeout(()=>{d!=null&&d.isAttached()&&(d==null||d.announce(a,e,t))},100))}function K(a){d&&d.clear(a)}class U{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",i=A){var r,n;if(!this.node)return;let l=document.createElement("div");typeof e=="object"?(l.setAttribute("role","img"),l.setAttribute("aria-labelledby",e["aria-labelledby"])):l.textContent=e,t==="assertive"?(r=this.assertiveLog)===null||r===void 0||r.appendChild(l):(n=this.politeLog)===null||n===void 0||n.appendChild(l),e!==""&&setTimeout(()=>{l.remove()},i)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}let E=new Map,w=!1;try{w=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let g=!1;try{g=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const I={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class V{format(e){let t="";if(!w&&this.options.signDisplay!=null?t=k(this.numberFormatter,this.options.signDisplay,e):t=this.numberFormatter.format(e),this.options.style==="unit"&&!g){var i;let{unit:r,unitDisplay:n="short",locale:l}=this.resolvedOptions();if(!r)return t;let o=(i=I[r])===null||i===void 0?void 0:i[n];t+=o[l]||o.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.format(e)} – ${this.format(t)}`}formatRangeToParts(e,t){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let i=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...i.map(n=>({...n,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(n=>({...n,source:"endRange"}))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return!w&&this.options.signDisplay!=null&&(e={...e,signDisplay:this.options.signDisplay}),!g&&this.options.style==="unit"&&(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=Z(e,t),this.options=t}}function Z(a,e={}){let{numberingSystem:t}=e;if(t&&a.includes("-nu-")&&(a.includes("-u-")||(a+="-u-"),a+=`-nu-${t}`),e.style==="unit"&&!g){var i;let{unit:l,unitDisplay:o="short"}=e;if(!l)throw new Error('unit option must be provided with style: "unit"');if(!(!((i=I[l])===null||i===void 0)&&i[o]))throw new Error(`Unsupported unit ${l} with unitDisplay = ${o}`);e={...e,style:"decimal"}}let r=a+(e?Object.entries(e).sort((l,o)=>l[0]<o[0]?-1:1).join():"");if(E.has(r))return E.get(r);let n=new Intl.NumberFormat(a,e);return E.set(r,n),n}function k(a,e,t){if(e==="auto")return a.format(t);if(e==="never")return a.format(Math.abs(t));{let i=!1;if(e==="always"?i=t>0||Object.is(t,0):e==="exceptZero"&&(Object.is(t,-0)||Object.is(t,0)?t=Math.abs(t):i=t>0),i){let r=a.format(-t),n=a.format(t),l=r.replace(n,"").replace(/\u200e|\u061C/,"");return[...l].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),r.replace(n,"!!!").replace(l,"+").replace("!!!",n)}else return a.format(t)}}function z(a={}){let{locale:e}=B.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7();return s.useMemo(()=>new V(e,a),[e,a])}function N(a){let{id:e,label:t,"aria-labelledby":i,"aria-label":r,labelElementType:n="label"}=a;e=$.$bdb11010cef70236$export$f680877a34711e37(e);let l=$.$bdb11010cef70236$export$f680877a34711e37(),o={};t?(i=i?`${l} ${i}`:l,o={id:l,htmlFor:n==="label"?e:void 0}):!i&&!r&&process.env.NODE_ENV!=="production"&&console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");let f=j.$313b98861ee5dd6c$export$d6875122194c7b44({id:e,"aria-label":r,"aria-labelledby":i});return{labelProps:o,fieldProps:f}}function G(a){let{value:e=0,minValue:t=0,maxValue:i=100,valueLabel:r,isIndeterminate:n,formatOptions:l={style:"percent"}}=a,o=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(a,{labelable:!0}),{labelProps:f,fieldProps:c}=N({...a,labelElementType:"span"});e=R.$9446cca9a3875146$export$7d15b64cf5a3a4c4(e,t,i);let h=(e-t)/(i-t),p=z(l);if(!n&&!r){let u=l.style==="percent"?h:e;r=p.format(u)}return{progressBarProps:$.$3ef42575df84b30b$export$9d1611c77c2fe928(o,{...c,"aria-valuenow":n?void 0:e,"aria-valuemin":t,"aria-valuemax":i,"aria-valuetext":n?void 0:r,role:"progressbar"}),labelProps:f}}const T=s.createContext({}),J=O.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,T);let{elementType:i="label",...r}=e;return s.createElement(i,{className:"react-aria-Label",...r,ref:t})}),M=s.createContext(null),W=s.forwardRef(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,M);let{value:i=0,minValue:r=0,maxValue:n=100,isIndeterminate:l=!1}=e;i=R.$9446cca9a3875146$export$7d15b64cf5a3a4c4(i,r,n);let[o,f]=m.$64fa3d84918910a7$export$9d4c57ee4c6ffdd8(!e["aria-label"]&&!e["aria-labelledby"]),{progressBarProps:c,labelProps:h}=G({...e,label:f}),p=l?void 0:(i-r)/(n-r)*100,u=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-ProgressBar",values:{percentage:p,valueText:c["aria-valuetext"],isIndeterminate:l}}),v=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return s.createElement("div",{...$.$3ef42575df84b30b$export$9d1611c77c2fe928(v,u,c),ref:t,slot:e.slot||void 0},s.createElement(T.Provider,{value:{...h,ref:o,elementType:"span"}},u.children))}),q=s.createContext({}),Y=O.$f39a9eba43920ace$export$86427a43e3e48ebb(function(e,t){[e,t]=m.$64fa3d84918910a7$export$29f1550f4b0d4415(e,t,q),e=Q(e);let i=e,{isPending:r}=i,{buttonProps:n,isPressed:l}=H.$701a24aa0da5b062$export$ea18c227d4417cc3(e,t),{focusProps:o,isFocused:f,isFocusVisible:c}=S.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:h,isHovered:p}=_.$6179b936705e76d3$export$ae780daf29e6d456({...e,isDisabled:e.isDisabled||r}),u={isHovered:p,isPressed:(i.isPressed||l)&&!r,isFocused:f,isFocusVisible:c,isDisabled:e.isDisabled||!1,isPending:r??!1},v=m.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:u,defaultClassName:"react-aria-Button"}),x=$.$bdb11010cef70236$export$f680877a34711e37(n.id),y=$.$bdb11010cef70236$export$f680877a34711e37(),b=n["aria-labelledby"];r&&(b?b=`${b} ${y}`:n["aria-label"]&&(b=`${x} ${y}`));let P=s.useRef(r);s.useEffect(()=>{let F={"aria-labelledby":b||x};(!P.current&&f&&r||P.current&&f&&!r)&&L(F,"assertive"),P.current=r},[r,f,b,x]);let C=D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{global:!0});return delete C.onClick,s.createElement("button",{...$.$3ef42575df84b30b$export$9d1611c77c2fe928(C,v,n,o,h),type:n.type==="submit"&&r?"button":n.type,id:x,ref:t,"aria-labelledby":b,slot:e.slot||void 0,"aria-disabled":r?"true":n["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":u.isPressed||void 0,"data-hovered":p||void 0,"data-focused":f||void 0,"data-pending":r||void 0,"data-focus-visible":c||void 0},s.createElement(M.Provider,{value:{id:y}},v.children))});function Q(a){return a.isPending&&(a.onPress=void 0,a.onPressStart=void 0,a.onPressEnd=void 0,a.onPressChange=void 0,a.onPressUp=void 0,a.onKeyDown=void 0,a.onKeyUp=void 0,a.onClick=void 0,a.href=void 0),a}exports.$01b77f81d0f07f68$export$75b6ee27786ba447=T;exports.$01b77f81d0f07f68$export$b04be29aa201d4f5=J;exports.$0393f8ab869a0f1a$export$c17561cb55d4db30=W;exports.$319e236875307eab$export$a9b970dcc4ae71a9=L;exports.$319e236875307eab$export$d10ae4f68404609a=K;exports.$488c6ddbf4ef74c2$export$cc77c4ff7e8673c5=V;exports.$d191a55c9702f145$export$8467354a121f1b9f=N;exports.$d2b4bc8c273e7be6$export$24d547caef80ccd1=q;exports.$d2b4bc8c273e7be6$export$353f5b6fc5456de1=Y;
@@ -1,30 +1,78 @@
1
- import { $ as E, d as j, a as F } from "./utils-KLjWgdLR.js";
1
+ import { $ as L, d as _, a as R } from "./utils-Cpcjg55U.js";
2
2
  import { $ as A } from "./Hidden-C9KWUR7b.js";
3
- import m, { useMemo as _, createContext as L, forwardRef as B, useRef as S, useEffect as H } from "react";
4
- import { $ as C } from "./number-BE8InLgI.js";
5
- import { c as h, a as R } from "./mergeProps-C1U1OIeJ.js";
6
- import { $ as I } from "./filterDOMProps-D6KHYVBX.js";
7
- import { $ as K } from "./useLabels-LrKQiY11.js";
8
- import { $ as U } from "./context-CGNJ3grH.js";
9
- import { $ as Z } from "./useButton-BoIV3kDJ.js";
10
- import { $ as k } from "./useFocusRing-DOfBqnUN.js";
11
- import { $ as z } from "./useHover-DQvJ3Y-W.js";
12
- let P = /* @__PURE__ */ new Map(), x = !1;
3
+ import m, { useMemo as B, createContext as w, forwardRef as S, useRef as H, useEffect as K } from "react";
4
+ import { $ as I } from "./number-BE8InLgI.js";
5
+ import { c as v, a as D } from "./mergeProps-BSsN7Bgk.js";
6
+ import { $ as T } from "./filterDOMProps-wsa9OcNI.js";
7
+ import { $ as U } from "./useLabels-Kmq5JCp_.js";
8
+ import { $ as Z } from "./context-CGNJ3grH.js";
9
+ import { $ as k } from "./useButton-D6iUB8cN.js";
10
+ import { $ as z } from "./useFocusRing-DMo8ctYV.js";
11
+ import { $ as G } from "./useHover-D6bNIkU0.js";
12
+ const V = 7e3;
13
+ let s = null;
14
+ function O(a, e = "assertive", t = V) {
15
+ s ? s.announce(a, e, t) : (s = new J(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? s.announce(a, e, t) : setTimeout(() => {
16
+ s != null && s.isAttached() && (s == null || s.announce(a, e, t));
17
+ }, 100));
18
+ }
19
+ function $e(a) {
20
+ s && s.clear(a);
21
+ }
22
+ class J {
23
+ isAttached() {
24
+ var e;
25
+ return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
26
+ }
27
+ createLog(e) {
28
+ let t = document.createElement("div");
29
+ return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
30
+ }
31
+ destroy() {
32
+ this.node && (document.body.removeChild(this.node), this.node = null);
33
+ }
34
+ announce(e, t = "assertive", r = V) {
35
+ var i, l;
36
+ if (!this.node) return;
37
+ let n = document.createElement("div");
38
+ typeof e == "object" ? (n.setAttribute("role", "img"), n.setAttribute("aria-labelledby", e["aria-labelledby"])) : n.textContent = e, t === "assertive" ? (i = this.assertiveLog) === null || i === void 0 || i.appendChild(n) : (l = this.politeLog) === null || l === void 0 || l.appendChild(n), e !== "" && setTimeout(() => {
39
+ n.remove();
40
+ }, r);
41
+ }
42
+ clear(e) {
43
+ this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
44
+ }
45
+ constructor() {
46
+ this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
47
+ border: 0,
48
+ clip: "rect(0 0 0 0)",
49
+ clipPath: "inset(50%)",
50
+ height: "1px",
51
+ margin: "-1px",
52
+ overflow: "hidden",
53
+ padding: 0,
54
+ position: "absolute",
55
+ width: "1px",
56
+ whiteSpace: "nowrap"
57
+ }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
58
+ }
59
+ }
60
+ let x = /* @__PURE__ */ new Map(), E = !1;
13
61
  try {
14
- x = new Intl.NumberFormat("de-DE", {
62
+ E = new Intl.NumberFormat("de-DE", {
15
63
  signDisplay: "exceptZero"
16
64
  }).resolvedOptions().signDisplay === "exceptZero";
17
65
  } catch {
18
66
  }
19
- let v = !1;
67
+ let y = !1;
20
68
  try {
21
- v = new Intl.NumberFormat("de-DE", {
69
+ y = new Intl.NumberFormat("de-DE", {
22
70
  style: "unit",
23
71
  unit: "degree"
24
72
  }).resolvedOptions().style === "unit";
25
73
  } catch {
26
74
  }
27
- const O = {
75
+ const N = {
28
76
  degree: {
29
77
  narrow: {
30
78
  default: "°",
@@ -34,16 +82,16 @@ const O = {
34
82
  }
35
83
  }
36
84
  };
37
- class G {
85
+ class W {
38
86
  /** Formats a number value as a string, according to the locale and options provided to the constructor. */
39
87
  format(e) {
40
88
  let t = "";
41
- if (!x && this.options.signDisplay != null ? t = W(this.numberFormatter, this.options.signDisplay, e) : t = this.numberFormatter.format(e), this.options.style === "unit" && !v) {
89
+ if (!E && this.options.signDisplay != null ? t = q(this.numberFormatter, this.options.signDisplay, e) : t = this.numberFormatter.format(e), this.options.style === "unit" && !y) {
42
90
  var r;
43
- let { unit: i, unitDisplay: n = "short", locale: l } = this.resolvedOptions();
91
+ let { unit: i, unitDisplay: l = "short", locale: n } = this.resolvedOptions();
44
92
  if (!i) return t;
45
- let o = (r = O[i]) === null || r === void 0 ? void 0 : r[n];
46
- t += o[l] || o.default;
93
+ let o = (r = N[i]) === null || r === void 0 ? void 0 : r[l];
94
+ t += o[n] || o.default;
47
95
  }
48
96
  return t;
49
97
  }
@@ -63,8 +111,8 @@ class G {
63
111
  if (t < e) throw new RangeError("End date must be >= start date");
64
112
  let r = this.numberFormatter.formatToParts(e), i = this.numberFormatter.formatToParts(t);
65
113
  return [
66
- ...r.map((n) => ({
67
- ...n,
114
+ ...r.map((l) => ({
115
+ ...l,
68
116
  source: "startRange"
69
117
  })),
70
118
  {
@@ -72,8 +120,8 @@ class G {
72
120
  value: " – ",
73
121
  source: "shared"
74
122
  },
75
- ...i.map((n) => ({
76
- ...n,
123
+ ...i.map((l) => ({
124
+ ...l,
77
125
  source: "endRange"
78
126
  }))
79
127
  ];
@@ -81,10 +129,10 @@ class G {
81
129
  /** Returns the resolved formatting options based on the values passed to the constructor. */
82
130
  resolvedOptions() {
83
131
  let e = this.numberFormatter.resolvedOptions();
84
- return !x && this.options.signDisplay != null && (e = {
132
+ return !E && this.options.signDisplay != null && (e = {
85
133
  ...e,
86
134
  signDisplay: this.options.signDisplay
87
- }), !v && this.options.style === "unit" && (e = {
135
+ }), !y && this.options.style === "unit" && (e = {
88
136
  ...e,
89
137
  style: "unit",
90
138
  unit: this.options.unit,
@@ -92,103 +140,55 @@ class G {
92
140
  }), e;
93
141
  }
94
142
  constructor(e, t = {}) {
95
- this.numberFormatter = J(e, t), this.options = t;
143
+ this.numberFormatter = Y(e, t), this.options = t;
96
144
  }
97
145
  }
98
- function J(a, e = {}) {
146
+ function Y(a, e = {}) {
99
147
  let { numberingSystem: t } = e;
100
- if (t && a.includes("-nu-") && (a.includes("-u-") || (a += "-u-"), a += `-nu-${t}`), e.style === "unit" && !v) {
148
+ if (t && a.includes("-nu-") && (a.includes("-u-") || (a += "-u-"), a += `-nu-${t}`), e.style === "unit" && !y) {
101
149
  var r;
102
- let { unit: l, unitDisplay: o = "short" } = e;
103
- if (!l) throw new Error('unit option must be provided with style: "unit"');
104
- if (!(!((r = O[l]) === null || r === void 0) && r[o])) throw new Error(`Unsupported unit ${l} with unitDisplay = ${o}`);
150
+ let { unit: n, unitDisplay: o = "short" } = e;
151
+ if (!n) throw new Error('unit option must be provided with style: "unit"');
152
+ if (!(!((r = N[n]) === null || r === void 0) && r[o])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${o}`);
105
153
  e = {
106
154
  ...e,
107
155
  style: "decimal"
108
156
  };
109
157
  }
110
- let i = a + (e ? Object.entries(e).sort((l, o) => l[0] < o[0] ? -1 : 1).join() : "");
111
- if (P.has(i)) return P.get(i);
112
- let n = new Intl.NumberFormat(a, e);
113
- return P.set(i, n), n;
158
+ let i = a + (e ? Object.entries(e).sort((n, o) => n[0] < o[0] ? -1 : 1).join() : "");
159
+ if (x.has(i)) return x.get(i);
160
+ let l = new Intl.NumberFormat(a, e);
161
+ return x.set(i, l), l;
114
162
  }
115
- function W(a, e, t) {
163
+ function q(a, e, t) {
116
164
  if (e === "auto") return a.format(t);
117
165
  if (e === "never") return a.format(Math.abs(t));
118
166
  {
119
167
  let r = !1;
120
168
  if (e === "always" ? r = t > 0 || Object.is(t, 0) : e === "exceptZero" && (Object.is(t, -0) || Object.is(t, 0) ? t = Math.abs(t) : r = t > 0), r) {
121
- let i = a.format(-t), n = a.format(t), l = i.replace(n, "").replace(/\u200e|\u061C/, "");
169
+ let i = a.format(-t), l = a.format(t), n = i.replace(l, "").replace(/\u200e|\u061C/, "");
122
170
  return [
123
- ...l
124
- ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(n, "!!!").replace(l, "+").replace("!!!", n);
171
+ ...n
172
+ ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(l, "!!!").replace(n, "+").replace("!!!", l);
125
173
  } else return a.format(t);
126
174
  }
127
175
  }
128
- function Y(a = {}) {
129
- let { locale: e } = U();
130
- return _(() => new G(e, a), [
176
+ function Q(a = {}) {
177
+ let { locale: e } = Z();
178
+ return B(() => new W(e, a), [
131
179
  e,
132
180
  a
133
181
  ]);
134
182
  }
135
- const V = 7e3;
136
- let s = null;
137
- function D(a, e = "assertive", t = V) {
138
- s ? s.announce(a, e, t) : (s = new q(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? s.announce(a, e, t) : setTimeout(() => {
139
- s != null && s.isAttached() && (s == null || s.announce(a, e, t));
140
- }, 100));
141
- }
142
- function $e(a) {
143
- s && s.clear(a);
144
- }
145
- class q {
146
- isAttached() {
147
- var e;
148
- return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
149
- }
150
- createLog(e) {
151
- let t = document.createElement("div");
152
- return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
153
- }
154
- destroy() {
155
- this.node && (document.body.removeChild(this.node), this.node = null);
156
- }
157
- announce(e, t = "assertive", r = V) {
158
- var i, n;
159
- if (!this.node) return;
160
- let l = document.createElement("div");
161
- typeof e == "object" ? (l.setAttribute("role", "img"), l.setAttribute("aria-labelledby", e["aria-labelledby"])) : l.textContent = e, t === "assertive" ? (i = this.assertiveLog) === null || i === void 0 || i.appendChild(l) : (n = this.politeLog) === null || n === void 0 || n.appendChild(l), e !== "" && setTimeout(() => {
162
- l.remove();
163
- }, r);
164
- }
165
- clear(e) {
166
- this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
167
- }
168
- constructor() {
169
- this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
170
- border: 0,
171
- clip: "rect(0 0 0 0)",
172
- clipPath: "inset(50%)",
173
- height: "1px",
174
- margin: "-1px",
175
- overflow: "hidden",
176
- padding: 0,
177
- position: "absolute",
178
- width: "1px",
179
- whiteSpace: "nowrap"
180
- }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
181
- }
182
- }
183
- function Q(a) {
184
- let { id: e, label: t, "aria-labelledby": r, "aria-label": i, labelElementType: n = "label" } = a;
185
- e = h(e);
186
- let l = h(), o = {};
187
- t ? (r = r ? `${l} ${r}` : l, o = {
188
- id: l,
189
- htmlFor: n === "label" ? e : void 0
183
+ function X(a) {
184
+ let { id: e, label: t, "aria-labelledby": r, "aria-label": i, labelElementType: l = "label" } = a;
185
+ e = v(e);
186
+ let n = v(), o = {};
187
+ t ? (r = r ? `${n} ${r}` : n, o = {
188
+ id: n,
189
+ htmlFor: l === "label" ? e : void 0
190
190
  }) : !r && !i && process.env.NODE_ENV !== "production" && console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");
191
- let d = K({
191
+ let d = U({
192
192
  id: e,
193
193
  "aria-label": i,
194
194
  "aria-labelledby": r
@@ -198,144 +198,138 @@ function Q(a) {
198
198
  fieldProps: d
199
199
  };
200
200
  }
201
- function X(a) {
202
- let { value: e = 0, minValue: t = 0, maxValue: r = 100, valueLabel: i, isIndeterminate: n, formatOptions: l = {
201
+ function ee(a) {
202
+ let { value: e = 0, minValue: t = 0, maxValue: r = 100, valueLabel: i, isIndeterminate: l, formatOptions: n = {
203
203
  style: "percent"
204
- } } = a, o = I(a, {
204
+ } } = a, o = T(a, {
205
205
  labelable: !0
206
- }), { labelProps: d, fieldProps: f } = Q({
206
+ }), { labelProps: d, fieldProps: f } = X({
207
207
  ...a,
208
208
  // Progress bar is not an HTML input element so it
209
209
  // shouldn't be labeled by a <label> element.
210
210
  labelElementType: "span"
211
211
  });
212
- e = C(e, t, r);
213
- let $ = (e - t) / (r - t), b = Y(l);
214
- if (!n && !i) {
215
- let u = l.style === "percent" ? $ : e;
212
+ e = I(e, t, r);
213
+ let $ = (e - t) / (r - t), b = Q(n);
214
+ if (!l && !i) {
215
+ let u = n.style === "percent" ? $ : e;
216
216
  i = b.format(u);
217
217
  }
218
218
  return {
219
- progressBarProps: R(o, {
219
+ progressBarProps: D(o, {
220
220
  ...f,
221
- "aria-valuenow": n ? void 0 : e,
221
+ "aria-valuenow": l ? void 0 : e,
222
222
  "aria-valuemin": t,
223
223
  "aria-valuemax": r,
224
- "aria-valuetext": n ? void 0 : i,
224
+ "aria-valuetext": l ? void 0 : i,
225
225
  role: "progressbar"
226
226
  }),
227
227
  labelProps: d
228
228
  };
229
229
  }
230
- const N = /* @__PURE__ */ L({}), me = /* @__PURE__ */ A(function(e, t) {
231
- [e, t] = E(e, t, N);
230
+ const M = /* @__PURE__ */ w({}), me = /* @__PURE__ */ A(function(e, t) {
231
+ [e, t] = L(e, t, M);
232
232
  let { elementType: r = "label", ...i } = e;
233
233
  return /* @__PURE__ */ m.createElement(r, {
234
234
  className: "react-aria-Label",
235
235
  ...i,
236
236
  ref: t
237
237
  });
238
- }), M = /* @__PURE__ */ L(null), pe = /* @__PURE__ */ B(function(e, t) {
239
- [e, t] = E(e, t, M);
240
- let { value: r = 0, minValue: i = 0, maxValue: n = 100, isIndeterminate: l = !1 } = e;
241
- r = C(r, i, n);
242
- let [o, d] = j(!e["aria-label"] && !e["aria-labelledby"]), { progressBarProps: f, labelProps: $ } = X({
238
+ }), j = /* @__PURE__ */ w(null), pe = /* @__PURE__ */ S(function(e, t) {
239
+ [e, t] = L(e, t, j);
240
+ let { value: r = 0, minValue: i = 0, maxValue: l = 100, isIndeterminate: n = !1 } = e;
241
+ r = I(r, i, l);
242
+ let [o, d] = _(!e["aria-label"] && !e["aria-labelledby"]), { progressBarProps: f, labelProps: $ } = ee({
243
243
  ...e,
244
244
  label: d
245
- }), b = l ? void 0 : (r - i) / (n - i) * 100, u = F({
245
+ }), b = n ? void 0 : (r - i) / (l - i) * 100, u = R({
246
246
  ...e,
247
247
  defaultClassName: "react-aria-ProgressBar",
248
248
  values: {
249
249
  percentage: b,
250
250
  valueText: f["aria-valuetext"],
251
- isIndeterminate: l
251
+ isIndeterminate: n
252
252
  }
253
+ }), p = T(e, {
254
+ global: !0
253
255
  });
254
256
  return /* @__PURE__ */ m.createElement("div", {
255
- ...f,
256
- ...u,
257
+ ...D(p, u, f),
257
258
  ref: t,
258
259
  slot: e.slot || void 0
259
- }, /* @__PURE__ */ m.createElement(N.Provider, {
260
+ }, /* @__PURE__ */ m.createElement(M.Provider, {
260
261
  value: {
261
262
  ...$,
262
263
  ref: o,
263
264
  elementType: "span"
264
265
  }
265
266
  }, u.children));
266
- }), ee = /* @__PURE__ */ new Set([
267
- "form",
268
- "formAction",
269
- "formEncType",
270
- "formMethod",
271
- "formNoValidate",
272
- "formTarget",
273
- "name",
274
- "value"
275
- ]), te = /* @__PURE__ */ L({}), he = /* @__PURE__ */ A(function(e, t) {
276
- [e, t] = E(e, t, te), e = ae(e);
277
- let r = e, { isPending: i } = r, { buttonProps: n, isPressed: l } = Z(e, t), { focusProps: o, isFocused: d, isFocusVisible: f } = k(e), { hoverProps: $, isHovered: b } = z({
267
+ }), te = /* @__PURE__ */ w({}), he = /* @__PURE__ */ A(function(e, t) {
268
+ [e, t] = L(e, t, te), e = ae(e);
269
+ let r = e, { isPending: i } = r, { buttonProps: l, isPressed: n } = k(e, t), { focusProps: o, isFocused: d, isFocusVisible: f } = z(e), { hoverProps: $, isHovered: b } = G({
278
270
  ...e,
279
271
  isDisabled: e.isDisabled || i
280
272
  }), u = {
281
273
  isHovered: b,
282
- isPressed: (r.isPressed || l) && !i,
274
+ isPressed: (r.isPressed || n) && !i,
283
275
  isFocused: d,
284
276
  isFocusVisible: f,
285
277
  isDisabled: e.isDisabled || !1,
286
278
  isPending: i ?? !1
287
- }, w = F({
279
+ }, p = R({
288
280
  ...e,
289
281
  values: u,
290
282
  defaultClassName: "react-aria-Button"
291
- }), p = h(n.id), y = h(), c = n["aria-labelledby"];
292
- i && (c ? c = `${c} ${y}` : n["aria-label"] && (c = `${p} ${y}`));
293
- let g = S(i);
294
- return H(() => {
295
- let T = {
296
- "aria-labelledby": c || p
283
+ }), h = v(l.id), g = v(), c = l["aria-labelledby"];
284
+ i && (c ? c = `${c} ${g}` : l["aria-label"] && (c = `${h} ${g}`));
285
+ let P = H(i);
286
+ K(() => {
287
+ let C = {
288
+ "aria-labelledby": c || h
297
289
  };
298
- (!g.current && d && i || g.current && d && !i) && D(T, "assertive"), g.current = i;
290
+ (!P.current && d && i || P.current && d && !i) && O(C, "assertive"), P.current = i;
299
291
  }, [
300
292
  i,
301
293
  d,
302
294
  c,
303
- p
304
- ]), /* @__PURE__ */ m.createElement("button", {
305
- ...I(e, {
306
- propNames: ee
307
- }),
308
- ...R(n, o, $),
309
- ...w,
310
- type: n.type === "submit" && i ? "button" : n.type,
311
- id: p,
295
+ h
296
+ ]);
297
+ let F = T(e, {
298
+ global: !0
299
+ });
300
+ return delete F.onClick, /* @__PURE__ */ m.createElement("button", {
301
+ ...D(F, p, l, o, $),
302
+ // When the button is in a pending state, we want to stop implicit form submission (ie. when the user presses enter on a text input).
303
+ // We do this by changing the button's type to button.
304
+ type: l.type === "submit" && i ? "button" : l.type,
305
+ id: h,
312
306
  ref: t,
313
307
  "aria-labelledby": c,
314
308
  slot: e.slot || void 0,
315
- "aria-disabled": i ? "true" : n["aria-disabled"],
309
+ "aria-disabled": i ? "true" : l["aria-disabled"],
316
310
  "data-disabled": e.isDisabled || void 0,
317
311
  "data-pressed": u.isPressed || void 0,
318
312
  "data-hovered": b || void 0,
319
313
  "data-focused": d || void 0,
320
314
  "data-pending": i || void 0,
321
315
  "data-focus-visible": f || void 0
322
- }, /* @__PURE__ */ m.createElement(M.Provider, {
316
+ }, /* @__PURE__ */ m.createElement(j.Provider, {
323
317
  value: {
324
- id: y
318
+ id: g
325
319
  }
326
- }, w.children));
320
+ }, p.children));
327
321
  });
328
322
  function ae(a) {
329
323
  return a.isPending && (a.onPress = void 0, a.onPressStart = void 0, a.onPressEnd = void 0, a.onPressChange = void 0, a.onPressUp = void 0, a.onKeyDown = void 0, a.onKeyUp = void 0, a.onClick = void 0, a.href = void 0), a;
330
324
  }
331
325
  export {
332
326
  he as $,
333
- Q as a,
334
- N as b,
327
+ X as a,
328
+ M as b,
335
329
  pe as c,
336
330
  me as d,
337
331
  te as e,
338
- D as f,
339
- G as g,
332
+ O as f,
333
+ W as g,
340
334
  $e as h
341
335
  };
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as a, Fragment as l } from "react/jsx-runtime";
2
- import { B as r } from "./Button.module-D-mPLRxe.js";
3
- import { $ as p } from "./Button-CepQFEit.js";
2
+ import { B as r } from "./Button.module-Bax2YU6N.js";
3
+ import { $ as p } from "./Button-DD5_S-tD.js";
4
4
  import { c as u } from "./clsx-OuTLNxxd.js";
5
5
  const b = ({
6
6
  variant: e = "primary",
@@ -1 +1 @@
1
- "use strict";const r=require("react/jsx-runtime"),t=require("./Button.module-goCEz5qs.cjs"),y=require("./Button-DExMoP5f.cjs"),d=require("./clsx-C11secjj.cjs"),B=({variant:e="primary",fullwidth:u,className:o,iconPlacement:i,size:c="large",icon:n,iconSize:l,...s})=>r.jsx(y.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{className:d.clsx(t.ButtonStyles.button,e==="primary"&&t.ButtonStyles.primary,e==="secondary"&&t.ButtonStyles.secondary,e==="tertiary"&&t.ButtonStyles.tertiary,e==="danger"&&t.ButtonStyles.danger,e==="icon"&&t.ButtonStyles.iconBtn,u&&t.ButtonStyles.fullwidth,c==="medium"&&t.ButtonStyles.medium,i==="right"&&t.ButtonStyles.iconRight,o),...s,children:r.jsxs(r.Fragment,{children:[n&&r.jsx(n,{"aria-hidden":!0,size:l??20}),s.children]})});exports.Button=B;
1
+ "use strict";const r=require("react/jsx-runtime"),t=require("./Button.module-BNLcvARn.cjs"),y=require("./Button-CMIbSc4-.cjs"),d=require("./clsx-C11secjj.cjs"),B=({variant:e="primary",fullwidth:u,className:o,iconPlacement:i,size:c="large",icon:n,iconSize:l,...s})=>r.jsx(y.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{className:d.clsx(t.ButtonStyles.button,e==="primary"&&t.ButtonStyles.primary,e==="secondary"&&t.ButtonStyles.secondary,e==="tertiary"&&t.ButtonStyles.tertiary,e==="danger"&&t.ButtonStyles.danger,e==="icon"&&t.ButtonStyles.iconBtn,u&&t.ButtonStyles.fullwidth,c==="medium"&&t.ButtonStyles.medium,i==="right"&&t.ButtonStyles.iconRight,o),...s,children:r.jsxs(r.Fragment,{children:[n&&r.jsx(n,{"aria-hidden":!0,size:l??20}),s.children]})});exports.Button=B;
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Button.css');const t="_button_1sgsx_4",s="_secondary_1sgsx_51",n="_tertiary_1sgsx_74",_="_iconBtn_1sgsx_94",o="_medium_1sgsx_114",i="_danger_1sgsx_119",c="_iconRight_1sgsx_141",r="_fullwidth_1sgsx_145",e="_primary_1sgsx_155",g={button:t,secondary:s,tertiary:n,iconBtn:_,medium:o,danger:i,iconRight:c,fullwidth:r,primary:e};exports.ButtonStyles=g;
@@ -0,0 +1,14 @@
1
+ import './assets/Button.css';const t = "_button_1sgsx_4", s = "_secondary_1sgsx_51", n = "_tertiary_1sgsx_74", _ = "_iconBtn_1sgsx_94", o = "_medium_1sgsx_114", i = "_danger_1sgsx_119", c = "_iconRight_1sgsx_141", r = "_fullwidth_1sgsx_145", g = "_primary_1sgsx_155", e = {
2
+ button: t,
3
+ secondary: s,
4
+ tertiary: n,
5
+ iconBtn: _,
6
+ medium: o,
7
+ danger: i,
8
+ iconRight: c,
9
+ fullwidth: r,
10
+ primary: g
11
+ };
12
+ export {
13
+ e as B
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/ButtonGroup.css');const s=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),e="_buttonGroup_dinoh_4",c={buttonGroup:e},l=({children:t,className:o,"aria-label":u,...r})=>s.jsx("div",{role:"group","aria-label":u,className:n.clsx(c.buttonGroup,o),...r,children:t});exports.ButtonGroup=l;
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { c as a } from "./clsx-OuTLNxxd.js";
3
- import './assets/ButtonGroup.css';const n = "_buttonGroup_fh6r8_4", p = {
3
+ import './assets/ButtonGroup.css';const n = "_buttonGroup_dinoh_4", p = {
4
4
  buttonGroup: n
5
5
  }, b = ({
6
6
  children: o,