@midas-ds/components 13.0.1 → 14.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 (409) hide show
  1. package/AccordionItem-CAi-XFOc.js +343 -0
  2. package/AccordionItem-tWS22wDv.cjs +1 -0
  3. package/BadgeContainer-BZl6mSeb.cjs +1 -0
  4. package/{BadgeContainer-iNNgJKD9.js → BadgeContainer-DilMiV6u.js} +9 -9
  5. package/{Breadcrumbs-BQLxFZVm.cjs → Breadcrumbs-BBDGxc68.cjs} +1 -1
  6. package/{Breadcrumbs-C6B4fyk3.js → Breadcrumbs-BenPNv8Z.js} +15 -15
  7. package/Button-1sEX8jKn.cjs +1 -0
  8. package/{Button-D_tRdPW9.cjs → Button-BEWKXjlP.cjs} +1 -1
  9. package/{Button-CUMHt7MG.js → Button-CF97piBl.js} +10 -4
  10. package/{Button-DD5_S-tD.js → Button-CGe3Nyos.js} +122 -116
  11. package/Button.module-COONZqNU.cjs +1 -0
  12. package/Button.module-Cm0H98vy.js +14 -0
  13. package/{ButtonGroup-zx-9mxbJ.cjs → ButtonGroup-BpvDDECt.cjs} +1 -1
  14. package/{ButtonGroup-DC8925jD.js → ButtonGroup-Swh2E6Es.js} +1 -1
  15. package/CHANGELOG.md +59 -0
  16. package/Card-DJ8E5Rzd.js +131 -0
  17. package/Card-Db9xdzJ0.cjs +1 -0
  18. package/{CharacterCounter-CnRv-iUP.cjs → CharacterCounter-CTpQ12f7.cjs} +1 -1
  19. package/{CharacterCounter-DT7A0wWP.js → CharacterCounter-gbDGfize.js} +8 -8
  20. package/Checkbox-BgrLxY6P.cjs +1 -0
  21. package/{Checkbox-DTuryJdM.js → Checkbox-CdN1D5pD.js} +91 -87
  22. package/{CheckboxGroup-BmFdy-K6.js → CheckboxGroup-B1b-6bKq.js} +12 -12
  23. package/{CheckboxGroup-LrqCwPET.cjs → CheckboxGroup-BfZyy5yU.cjs} +1 -1
  24. package/{Collection-B0_WAieZ.js → Collection-BkxwF21i.js} +205 -213
  25. package/Collection-vGO6v3_U.cjs +1 -0
  26. package/{ColorSchemeSwitch-D5juAHPc.cjs → ColorSchemeSwitch-BOooU0iy.cjs} +3 -3
  27. package/{ColorSchemeSwitch-CgZfgCG4.js → ColorSchemeSwitch-KjnsdbDr.js} +10 -10
  28. package/{ComboBox-B2btGwWe.js → ComboBox-D1ZSZ6m-.js} +286 -278
  29. package/ComboBox-Dztk_jtC.cjs +1 -0
  30. package/DateField-BogEOseq.cjs +1 -0
  31. package/DateField-lsr_1fw4.js +47 -0
  32. package/{DateInputDivider-LxS0Kw1H.js → DateInputDivider-CRv3YuXd.js} +199 -196
  33. package/DateInputDivider-CYqm6PZP.cjs +1 -0
  34. package/{DateRangePicker-BmPPDZIF.js → DateRangePicker-5k1swaEt.js} +123 -119
  35. package/DateRangePicker-CgNXWOT6.cjs +6 -0
  36. package/Dialog-B1N4Ndyx.js +256 -0
  37. package/{Dialog-COeUapMW.js → Dialog-BUAp30Wc.js} +710 -692
  38. package/Dialog-BgSxz1JW.cjs +1 -0
  39. package/Dialog-PrnV8KTh.cjs +6 -0
  40. package/{DragAndDrop-Dw8JZmrn.cjs → DragAndDrop-Cs-V-9ak.cjs} +1 -1
  41. package/{DragAndDrop-PrUJv--B.js → DragAndDrop-DF0VoPJw.js} +2 -2
  42. package/{Dropdown-C_W6Sizy.cjs → Dropdown-DBFLb8Tl.cjs} +2 -2
  43. package/{Dropdown-CGQbf7OT.js → Dropdown-DaARa89l.js} +8 -8
  44. package/FieldError-Cimgm8qD.cjs +1 -0
  45. package/FieldError-l3xULRa0.js +48 -0
  46. package/{FileUpload-D2gnQKdn.js → FileUpload-CN0HNJ_Y.js} +14 -14
  47. package/{FileUpload-D3RaARDV.cjs → FileUpload-DHmsupSe.cjs} +1 -1
  48. package/{Grid-BmX6arAO.js → Grid-0XOQPryP.js} +2 -2
  49. package/{Grid-Bn1bCTH8.cjs → Grid-B6G4PWn5.cjs} +1 -1
  50. package/{GridItem-luVsL9lu.cjs → GridItem-BZ8eOXMB.cjs} +1 -1
  51. package/{GridItem-BtO9kCX9.js → GridItem-YtIpL5V2.js} +1 -1
  52. package/Group-B0Wj9pI8.cjs +1 -0
  53. package/Group-BAd7alBM.js +46 -0
  54. package/Heading-CCoGfKQ8.js +48 -0
  55. package/Heading-x7y3xadc.cjs +1 -0
  56. package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
  57. package/InfoBanner-BW3vy9mc.js +72 -0
  58. package/InfoBanner-_M_rGQiu.cjs +1 -0
  59. package/{Input-CzMx2mfl.cjs → Input-Bda0PCu5.cjs} +1 -1
  60. package/{Input-BLVRv0FK.js → Input-CQzv-D9g.js} +9 -9
  61. package/{Label-1N6ddn5w.js → Label-BGMXsSFb.js} +15 -15
  62. package/Label-CNTODOFg.cjs +1 -0
  63. package/Layout-BrEuHajQ.cjs +16 -0
  64. package/{Layout-B-A-s7B0.js → Layout-JL9l-y7w.js} +144 -145
  65. package/{Link-lO-Ke97K.js → Link-BudFjYrw.js} +22 -22
  66. package/Link-BvUSTIip.cjs +6 -0
  67. package/{Link-wM7cVPlS.cjs → Link-DRU6Qzia.cjs} +1 -1
  68. package/{Link-CbFSuEI1.js → Link-l-nMP-Zd.js} +10 -10
  69. package/LinkButton-DGdnbTgR.cjs +6 -0
  70. package/LinkButton-DP9W-E32.js +69 -0
  71. package/ListBox-TGCxrXIJ.cjs +1 -0
  72. package/ListBox-mOCZvKD4.js +534 -0
  73. package/{ListBoxLoadMoreItem-C4jnDcYH.js → ListBoxLoadMoreItem-CLdTe6-z.js} +5 -5
  74. package/{ListBoxLoadMoreItem-3jGpi90m.cjs → ListBoxLoadMoreItem-UX0jFQN4.cjs} +1 -1
  75. package/ListBoxSection-BNBHosou.cjs +1 -0
  76. package/{ListBoxSection-D7BcbjUt.js → ListBoxSection-D_kTkvgG.js} +139 -140
  77. package/{ListKeyboardDelegate-CVxkAn5D.js → ListKeyboardDelegate-BHnZMUhW.js} +36 -40
  78. package/ListKeyboardDelegate-CLRlDto7.cjs +1 -0
  79. package/{Logo-CFjZc5u2.cjs → Logo-4tRnV4Su.cjs} +1 -1
  80. package/{Logo-DkagDdKQ.js → Logo-DLlt576_.js} +17 -17
  81. package/{OverlayArrow-CvNuu3e3.js → OverlayArrow-CjGslX2c.js} +4 -4
  82. package/{OverlayArrow-ByH6lM-H.cjs → OverlayArrow-bcrb_syE.cjs} +1 -1
  83. package/{Popover-Bf5YH53o.js → Popover-CZFi2YGz.js} +13 -13
  84. package/Popover-uYTWBGHa.cjs +1 -0
  85. package/{PressResponder-CxVtArtP.js → PressResponder-BMj6Zvbn.js} +9 -9
  86. package/PressResponder-ChvCuOue.cjs +1 -0
  87. package/ProgressBar-BGemuJIq.cjs +1 -0
  88. package/ProgressBar-DhRmckYM.js +53 -0
  89. package/{RSPContexts-BW2SEIqe.js → RSPContexts-B0lEq7qq.js} +5 -3
  90. package/RSPContexts-XUvspq3j.cjs +1 -0
  91. package/Radio-Bp_31Z59.js +340 -0
  92. package/Radio-D3RGVrEd.cjs +1 -0
  93. package/{RangeCalendar-Bi9jc61A.js → RangeCalendar-9C96gMvy.js} +146 -145
  94. package/RangeCalendar-ChfmP_ql.cjs +6 -0
  95. package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
  96. package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
  97. package/{SearchField-BevjTbcW.js → SearchField-DrEdzWAy.js} +44 -44
  98. package/SearchField-JaDXLq5W.cjs +6 -0
  99. package/Select-BCUH-Z7q.cjs +1 -0
  100. package/{Select-CEwJo1BT.js → Select-CpPE78Ke.js} +210 -188
  101. package/SelectionIndicator-BiSN1toV.cjs +1 -0
  102. package/{FocusScope-Bj40Ir-g.js → SelectionIndicator-ant6jeC1.js} +256 -165
  103. package/SelectionManager-C469yQeD.js +1063 -0
  104. package/SelectionManager-uFYC4wpu.cjs +1 -0
  105. package/{Separator-Bj24aGrT.js → Separator-B6l5qSpR.js} +28 -28
  106. package/{Separator-CM0KPvsX.js → Separator-BWAnBMVN.js} +5 -5
  107. package/Separator-DbhmtwDa.cjs +1 -0
  108. package/{Separator-Dgin8BNW.cjs → Separator-J0pLW4BN.cjs} +1 -1
  109. package/Skeleton-8onymGEG.cjs +1 -0
  110. package/Skeleton-BjTEGRpe.js +35 -0
  111. package/Spinner-D6Fcu_Dp.js +54 -0
  112. package/Spinner-DIapnvIz.cjs +6 -0
  113. package/TabList-C0tRVI6Q.cjs +1 -0
  114. package/TabList-DmkxO7MM.js +394 -0
  115. package/Table-BLqjyYKk.cjs +16 -0
  116. package/{Table-BzJktg2G.js → Table-CyWZO9uf.js} +710 -706
  117. package/Tag-DJqYiBLR.js +774 -0
  118. package/Tag-FDHGu_WP.cjs +1 -0
  119. package/{Text-BtPiT2P1.cjs → Text-0wXj3J8E.cjs} +1 -1
  120. package/Text-BBFWBNAH.js +32 -0
  121. package/{Text-BAFsaON-.cjs → Text-D5OSv6Uv.cjs} +1 -1
  122. package/{Text-Be7WIOwv.js → Text-bqP9NeVg.js} +3 -3
  123. package/TextArea-CZxwvBcS.cjs +1 -0
  124. package/TextArea-CrY7P18c.js +125 -0
  125. package/{TextField-_UY8CXtW.js → TextField-BWea-IT-.js} +26 -26
  126. package/TextField-DsN-kBfh.cjs +1 -0
  127. package/TextField.module-C03d0VY9.js +13 -0
  128. package/TextField.module-DmRrFHra.cjs +1 -0
  129. package/{Toast-Cs0CEbRr.cjs → Toast-DUZ5jfG1.cjs} +1 -1
  130. package/{Toast-B74PMVL9.js → Toast-Di3h8A14.js} +101 -101
  131. package/{ToggleButtonGroup-CwHPu7w5.js → ToggleButtonGroup-Bh4hP6Lk.js} +83 -79
  132. package/ToggleButtonGroup-D7r34GCt.cjs +1 -0
  133. package/{Tooltip-BHAtsp9k.js → Tooltip-CUdmOznK.js} +13 -13
  134. package/{Tooltip-CZa9n5sT.cjs → Tooltip-D-ATlbIM.cjs} +1 -1
  135. package/{VisuallyHidden-EjrqodVh.cjs → VisuallyHidden-BMelU6B0.cjs} +1 -1
  136. package/{VisuallyHidden-CGEtjAP7.js → VisuallyHidden-DuW70K-5.js} +8 -8
  137. package/accordion/Accordion.d.ts +0 -1
  138. package/accordion/index.cjs +1 -1
  139. package/accordion/index.js +2 -3
  140. package/assets/AccordionItem.css +1 -1
  141. package/assets/Button.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/Checkbox.css +1 -1
  144. package/assets/ComboBox.css +1 -1
  145. package/assets/DateField.css +1 -1
  146. package/assets/DateInputDivider.css +1 -1
  147. package/assets/DateRangePicker.css +1 -1
  148. package/assets/Dialog.css +1 -1
  149. package/assets/Dropdown.css +1 -1
  150. package/assets/FieldError.css +1 -1
  151. package/assets/Heading.css +1 -1
  152. package/assets/InfoBanner.css +1 -1
  153. package/assets/Label.css +1 -1
  154. package/assets/Layout.css +1 -1
  155. package/assets/Link.css +1 -1
  156. package/assets/LinkButton.css +1 -1
  157. package/assets/ListBoxSection.css +1 -1
  158. package/assets/Logo.css +1 -1
  159. package/assets/Popover.css +1 -1
  160. package/assets/ProgressBar.css +1 -1
  161. package/assets/Radio.css +1 -1
  162. package/assets/RangeCalendar.css +1 -1
  163. package/assets/SearchField.css +1 -1
  164. package/assets/Select.css +1 -1
  165. package/assets/Separator.css +1 -1
  166. package/assets/Skeleton.css +1 -1
  167. package/assets/Spinner.css +1 -1
  168. package/assets/TabList.css +1 -1
  169. package/assets/Text.css +1 -1
  170. package/assets/TextField.css +1 -1
  171. package/assets/Toast.css +1 -1
  172. package/assets/Tooltip.css +1 -1
  173. package/assets/default.css +1 -1
  174. package/badge/index.cjs +1 -1
  175. package/badge/index.js +1 -1
  176. package/breadcrumbs/index.cjs +1 -1
  177. package/breadcrumbs/index.js +1 -1
  178. package/button/index.cjs +1 -1
  179. package/button/index.js +2 -2
  180. package/calendar/index.cjs +1 -1
  181. package/calendar/index.js +1 -1
  182. package/card/index.cjs +1 -1
  183. package/card/index.js +1 -1
  184. package/character-counter/index.cjs +1 -1
  185. package/character-counter/index.js +1 -1
  186. package/checkbox/index.cjs +1 -1
  187. package/checkbox/index.js +2 -2
  188. package/clsx-DKOfLqne.cjs +1 -0
  189. package/clsx-jbLnTBqA.js +11 -0
  190. package/color-scheme-switch/index.cjs +1 -1
  191. package/color-scheme-switch/index.js +1 -1
  192. package/combobox/index.cjs +1 -1
  193. package/combobox/index.js +1 -1
  194. package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
  195. package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
  196. package/date-field/index.cjs +1 -1
  197. package/date-field/index.js +2 -2
  198. package/date-picker/index.cjs +1 -1
  199. package/date-picker/index.js +1 -1
  200. package/dropdown/index.cjs +1 -1
  201. package/dropdown/index.js +1 -1
  202. package/field-error/index.cjs +1 -1
  203. package/field-error/index.js +1 -1
  204. package/file-upload/index.cjs +1 -1
  205. package/file-upload/index.js +1 -1
  206. package/{getScrollParent-Ru2U2LlM.js → getScrollParent-DFCzfqHG.js} +1 -1
  207. package/{getScrollParent-DuKmPmUa.cjs → getScrollParent-DjULaF_q.cjs} +1 -1
  208. package/grid/index.cjs +1 -1
  209. package/grid/index.js +2 -2
  210. package/heading/Heading.d.ts +6 -0
  211. package/heading/index.cjs +1 -1
  212. package/heading/index.js +1 -1
  213. package/{index-BLPblar-.js → index-DEx4upZl.js} +19 -19
  214. package/{index-DSFSh2sC.cjs → index-hURPlN0u.cjs} +2 -2
  215. package/index.cjs +1 -1
  216. package/index.js +126 -127
  217. package/inertValue-BWmZ1afe.cjs +1 -0
  218. package/info-banner/index.cjs +1 -1
  219. package/info-banner/index.js +1 -1
  220. package/label/index.cjs +1 -1
  221. package/label/index.js +1 -1
  222. package/layout/index.cjs +1 -1
  223. package/layout/index.js +1 -1
  224. package/link/index.cjs +1 -1
  225. package/link/index.js +2 -2
  226. package/link-button/index.cjs +1 -1
  227. package/link-button/index.js +2 -2
  228. package/list-box/index.cjs +1 -1
  229. package/list-box/index.js +2 -2
  230. package/logo/index.cjs +1 -1
  231. package/logo/index.js +1 -1
  232. package/menu/index.cjs +1 -1
  233. package/menu/index.js +2 -2
  234. package/{mergeProps-BSsN7Bgk.js → mergeProps-Ct8m5-xW.js} +1 -1
  235. package/{mergeProps-JhcJ7uJL.cjs → mergeProps-Du5A8xi8.cjs} +1 -1
  236. package/modal/Dialog.d.ts +16 -3
  237. package/modal/index.cjs +1 -1
  238. package/modal/index.d.ts +1 -1
  239. package/modal/index.js +2 -2
  240. package/package.json +4 -4
  241. package/popover/index.cjs +1 -1
  242. package/popover/index.js +1 -1
  243. package/progress-bar/index.cjs +1 -1
  244. package/progress-bar/index.js +1 -1
  245. package/radio/index.cjs +1 -1
  246. package/radio/index.js +1 -1
  247. package/scrollIntoView-BVI21Y4-.js +65 -0
  248. package/scrollIntoView-BueMOyGp.cjs +1 -0
  249. package/search-field/index.cjs +1 -1
  250. package/search-field/index.js +1 -1
  251. package/select/index.cjs +1 -1
  252. package/select/index.js +1 -1
  253. package/select/types.d.ts +1 -1
  254. package/select/useMultiSelect.d.ts +2 -2
  255. package/skeleton/index.cjs +1 -1
  256. package/skeleton/index.js +1 -1
  257. package/spinner/Spinner.d.ts +5 -1
  258. package/spinner/index.cjs +1 -1
  259. package/spinner/index.js +1 -1
  260. package/table/index.cjs +1 -1
  261. package/table/index.js +1 -1
  262. package/tabs/Tabs.d.ts +2 -9
  263. package/tabs/index.cjs +1 -1
  264. package/tabs/index.d.ts +0 -1
  265. package/tabs/index.js +1 -1
  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/TextArea.d.ts +3 -2
  271. package/textfield/TextField.d.ts +3 -2
  272. package/textfield/index.cjs +1 -1
  273. package/textfield/index.js +1 -1
  274. package/toast/index.cjs +1 -1
  275. package/toast/index.js +1 -1
  276. package/toggle-button/index.cjs +1 -1
  277. package/toggle-button/index.js +1 -1
  278. package/tooltip/index.cjs +1 -1
  279. package/tooltip/index.js +1 -1
  280. package/{useButton-R8-i3HLC.cjs → useButton-C0r5nrqs.cjs} +1 -1
  281. package/{useButton-D6iUB8cN.js → useButton-CRgN6aZf.js} +3 -3
  282. package/useDateFormatter-BrrFo4nY.cjs +1 -0
  283. package/{useDateFormatter-BJ1ZyaH1.js → useDateFormatter-Bs5A6Xtu.js} +353 -322
  284. package/{useDescription-BMuiAqI5.cjs → useDescription-6BYtQxe6.cjs} +1 -1
  285. package/{useDescription-BLmIkYCq.js → useDescription-BFwQx7Rp.js} +1 -1
  286. package/useEvent-C125NAue.cjs +1 -0
  287. package/{useEvent-DpBHTuHJ.js → useEvent-smuTnX4G.js} +1 -1
  288. package/{useField-BMegM8fA.js → useField-BhJ9dM2g.js} +2 -2
  289. package/{useField-DyeD7MLj.cjs → useField-DvszkIMx.cjs} +1 -1
  290. package/{useFilter-BFnSe_Eq.js → useFilter-BdUU-HQZ.js} +1 -1
  291. package/{useFilter-aoggM85n.cjs → useFilter-R2IPvbS8.cjs} +1 -1
  292. package/{useFocusRing-BcbYske2.cjs → useFocusRing-C-XVcAE5.cjs} +1 -1
  293. package/{useFocusRing-DMo8ctYV.js → useFocusRing-CcxI7nbg.js} +2 -2
  294. package/{useFocusWithin-ClMkhYcq.js → useFocusWithin-DhXBuB2O.js} +1 -1
  295. package/{useFocusWithin-DTnk0e8a.cjs → useFocusWithin-GBjoTL5o.cjs} +1 -1
  296. package/{useFocusable-DXlMChFC.js → useFocusable-BJj-Bkig.js} +14 -14
  297. package/{useFocusable-CsG-IPuC.cjs → useFocusable-M4se1KJt.cjs} +1 -1
  298. package/{useFormValidation-L0UHvOsP.js → useFormValidation-By7G-T7y.js} +2 -2
  299. package/{useFormValidation-BQIRxgbU.cjs → useFormValidation-DV2Ioblb.cjs} +1 -1
  300. package/useHasTabbableChild-CIZGg_iG.cjs +1 -0
  301. package/{useHasTabbableChild-BDaxMsGu.js → useHasTabbableChild-CnpSoDuJ.js} +2 -2
  302. package/{useHighlightSelectionDescription-CQaG611l.cjs → useHighlightSelectionDescription-CBZfyrhy.cjs} +1 -1
  303. package/{useHighlightSelectionDescription-BkEv9Jye.js → useHighlightSelectionDescription-DPiqOr_Z.js} +5 -5
  304. package/{useHover-DGAmG7jt.cjs → useHover-DULSfLuK.cjs} +1 -1
  305. package/{useHover-D6bNIkU0.js → useHover-DkC5FyNd.js} +5 -5
  306. package/{useLabels-CvUk-yS3.cjs → useLabels-B5pmat1S.cjs} +1 -1
  307. package/{useLabels-Kmq5JCp_.js → useLabels-D24on06F.js} +1 -1
  308. package/{useListState-D2IEg6_e.cjs → useListState-DBawAMhF.cjs} +1 -1
  309. package/{useListState-pixYqSLl.js → useListState-PZF3ahpk.js} +1 -1
  310. package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
  311. package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
  312. package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
  313. package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
  314. package/{usePress-DMUpU0GU.js → usePress-BqQIhkNY.js} +54 -54
  315. package/usePress-DmU79HEg.cjs +7 -0
  316. package/{useSingleSelectListState-BlvpP8y-.js → useSingleSelectListState-BLRBEJC7.js} +1 -1
  317. package/{useSingleSelectListState-CwWK_Dx2.cjs → useSingleSelectListState-CNETmoj5.cjs} +1 -1
  318. package/{useTextField-BC5X_AO_.js → useTextField-B8pM0p6X.js} +7 -7
  319. package/{useTextField-Cxpfu0U3.cjs → useTextField-CiWV3eeD.cjs} +1 -1
  320. package/useToggleState-DaxmInOW.cjs +1 -0
  321. package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
  322. package/utils/clsx.d.ts +8 -0
  323. package/utils/types.d.ts +5 -0
  324. package/utils-CtICjCYt.cjs +1 -0
  325. package/{utils-Cpcjg55U.js → utils-D2iKpxcZ.js} +47 -43
  326. package/utils-DRIRjPUS.cjs +1 -0
  327. package/{utils-DFIwp4PB.js → utils-Dxh86KaB.js} +20 -18
  328. package/AccordionItem-Bq8nUKg4.cjs +0 -1
  329. package/AccordionItem-D2Y0gJZB.js +0 -335
  330. package/BadgeContainer-su0iCJKy.cjs +0 -1
  331. package/Button-CMIbSc4-.cjs +0 -1
  332. package/Button.module-BT9wZenr.cjs +0 -1
  333. package/Button.module-CGIVvzVm.js +0 -14
  334. package/Card-D2UbrhDW.js +0 -131
  335. package/Card-UolcSL5O.cjs +0 -1
  336. package/Checkbox-dtZfsSfx.cjs +0 -1
  337. package/Collection-BvWp2xBd.cjs +0 -1
  338. package/ComboBox-uMsVrOYu.cjs +0 -1
  339. package/DateField-B5dlDwdH.cjs +0 -1
  340. package/DateField-CEpRn4wR.js +0 -47
  341. package/DateInputDivider-BnSo_Aox.cjs +0 -1
  342. package/DateRangePicker-It4M98bT.cjs +0 -6
  343. package/Dialog-B1HuzqOX.js +0 -240
  344. package/Dialog-DR6nEqMT.cjs +0 -1
  345. package/Dialog-doGnVsJJ.cjs +0 -1
  346. package/FieldError-Cornph2A.cjs +0 -1
  347. package/FieldError-DdvFyIf4.js +0 -48
  348. package/FocusScope-Uy3DiY0-.cjs +0 -1
  349. package/Group-BKYGeOBr.cjs +0 -1
  350. package/Group-C73mD_-i.js +0 -45
  351. package/Heading-BQlmb5Tm.js +0 -46
  352. package/Heading-D3FR_KXb.cjs +0 -1
  353. package/InfoBanner-C82hcpzj.cjs +0 -1
  354. package/InfoBanner-Dz_0wVSa.js +0 -83
  355. package/Label-06gf6yKQ.cjs +0 -1
  356. package/Layout-DlE30BHE.cjs +0 -16
  357. package/Link-ePZ3nrAW.cjs +0 -6
  358. package/LinkButton-CJyZh3BS.js +0 -69
  359. package/LinkButton-Cw73pOM2.cjs +0 -6
  360. package/ListBox-ICZKGluC.cjs +0 -1
  361. package/ListBox-LncMQt6I.js +0 -523
  362. package/ListBoxSection-BeDwnVZx.cjs +0 -1
  363. package/ListKeyboardDelegate-C_X1wLkh.cjs +0 -1
  364. package/Popover-DIq3kp6B.cjs +0 -1
  365. package/PressResponder-DbnYqwGB.cjs +0 -1
  366. package/ProgressBar-DRhXkSE6.js +0 -53
  367. package/ProgressBar-i7almbvK.cjs +0 -1
  368. package/RSPContexts-D8hmBfGm.cjs +0 -1
  369. package/Radio-BpQoJB8e.cjs +0 -1
  370. package/Radio-D4wUZfW9.js +0 -333
  371. package/RangeCalendar-KcJooXYf.cjs +0 -6
  372. package/SearchField-BA-X9dzb.cjs +0 -6
  373. package/Select-1QuVY4f5.cjs +0 -1
  374. package/SelectionManager-Bq-Gw1UT.js +0 -1043
  375. package/SelectionManager-BtbHoHpA.cjs +0 -1
  376. package/Separator-Cfv2pbWf.cjs +0 -1
  377. package/Skeleton-Iovq135_.js +0 -35
  378. package/Skeleton-MaBUPqhT.cjs +0 -1
  379. package/Spinner-BZ7i01Kt.js +0 -47
  380. package/Spinner-DxWDMW6e.cjs +0 -6
  381. package/TabList-3fErCDyP.cjs +0 -1
  382. package/TabList-CXaxruLg.js +0 -397
  383. package/Table-Dyqa6_rE.cjs +0 -16
  384. package/Tag-BYUPXbhG.js +0 -765
  385. package/Tag-BweDKw1v.cjs +0 -1
  386. package/Text-CmlsaWMA.js +0 -32
  387. package/TextArea-B4BZUoJp.cjs +0 -1
  388. package/TextArea-Df1fR5R4.js +0 -124
  389. package/TextField-Bm5916AD.cjs +0 -1
  390. package/TextField.module-CH39P8ZE.js +0 -13
  391. package/TextField.module-gJ-ruFra.cjs +0 -1
  392. package/ToggleButtonGroup-DY9S3USc.cjs +0 -1
  393. package/inertValue-B3AFhVG4.cjs +0 -1
  394. package/scrollIntoView-ClEACHUk.js +0 -57
  395. package/scrollIntoView-DRSoJp89.cjs +0 -1
  396. package/useDateFormatter-2B0vgHc-.cjs +0 -1
  397. package/useEvent-3ZO5TPSH.cjs +0 -1
  398. package/useHasTabbableChild-CJcLnolh.cjs +0 -1
  399. package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
  400. package/useObserveElement-BdI4zgd7.js +0 -27
  401. package/useObserveElement-MhzEsCkX.cjs +0 -1
  402. package/usePress-CicXV7UO.cjs +0 -7
  403. package/useToggleState-SqDyNfRi.cjs +0 -1
  404. package/utils/storybook.d.ts +0 -5
  405. package/utils/test.d.ts +0 -11
  406. package/utils-CMHKYKlz.cjs +0 -1
  407. package/utils-__vrf9VZ.cjs +0 -1
  408. package/variables-B3KEYyhW.cjs +0 -1
  409. package/variables-DzXcMW2k.js +0 -5
@@ -1,25 +1,25 @@
1
- import { $ as L, d as _, a as R } from "./utils-Cpcjg55U.js";
2
- import { $ as A } from "./Hidden-C9KWUR7b.js";
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";
1
+ import { $ as L, d as _, a as C } from "./utils-D2iKpxcZ.js";
2
+ import { $ as I } from "./Hidden-B5ir3Lei.js";
3
+ import p, { useMemo as B, createContext as w, forwardRef as S, useRef as H, useEffect as Z } from "react";
4
+ import { $ as A } from "./number-BE8InLgI.js";
5
+ import { c as v, a as D } from "./mergeProps-Ct8m5-xW.js";
6
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";
7
+ import { $ as k } from "./useLabels-D24on06F.js";
8
+ import { $ as W } from "./context-Dl_saGB6.js";
9
+ import { $ as z } from "./useButton-CRgN6aZf.js";
10
+ import { $ as G } from "./useFocusRing-CcxI7nbg.js";
11
+ import { $ as J } from "./useHover-DkC5FyNd.js";
12
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));
13
+ let o = null;
14
+ function R(r, e = "assertive", t = V) {
15
+ o ? o.announce(r, e, t) : (o = new K(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? o.announce(r, e, t) : setTimeout(() => {
16
+ o != null && o.isAttached() && (o == null || o.announce(r, e, t));
17
17
  }, 100));
18
18
  }
19
- function $e(a) {
20
- s && s.clear(a);
19
+ function $e(r) {
20
+ o && o.clear(r);
21
21
  }
22
- class J {
22
+ class K {
23
23
  isAttached() {
24
24
  var e;
25
25
  return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
@@ -31,13 +31,13 @@ class J {
31
31
  destroy() {
32
32
  this.node && (document.body.removeChild(this.node), this.node = null);
33
33
  }
34
- announce(e, t = "assertive", r = V) {
35
- var i, l;
34
+ announce(e, t = "assertive", l = V) {
35
+ var a, i;
36
36
  if (!this.node) return;
37
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(() => {
38
+ typeof e == "object" ? (n.setAttribute("role", "img"), n.setAttribute("aria-labelledby", e["aria-labelledby"])) : n.textContent = e, t === "assertive" ? (a = this.assertiveLog) === null || a === void 0 || a.appendChild(n) : (i = this.politeLog) === null || i === void 0 || i.appendChild(n), e !== "" && setTimeout(() => {
39
39
  n.remove();
40
- }, r);
40
+ }, l);
41
41
  }
42
42
  clear(e) {
43
43
  this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
@@ -82,16 +82,16 @@ const N = {
82
82
  }
83
83
  }
84
84
  };
85
- class W {
85
+ class U {
86
86
  /** Formats a number value as a string, according to the locale and options provided to the constructor. */
87
87
  format(e) {
88
88
  let t = "";
89
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) {
90
- var r;
91
- let { unit: i, unitDisplay: l = "short", locale: n } = this.resolvedOptions();
92
- if (!i) return t;
93
- let o = (r = N[i]) === null || r === void 0 ? void 0 : r[l];
94
- t += o[n] || o.default;
90
+ var l;
91
+ let { unit: a, unitDisplay: i = "short", locale: n } = this.resolvedOptions();
92
+ if (!a) return t;
93
+ let s = (l = N[a]) === null || l === void 0 ? void 0 : l[i];
94
+ t += s[n] || s.default;
95
95
  }
96
96
  return t;
97
97
  }
@@ -109,10 +109,10 @@ class W {
109
109
  formatRangeToParts(e, t) {
110
110
  if (typeof this.numberFormatter.formatRangeToParts == "function") return this.numberFormatter.formatRangeToParts(e, t);
111
111
  if (t < e) throw new RangeError("End date must be >= start date");
112
- let r = this.numberFormatter.formatToParts(e), i = this.numberFormatter.formatToParts(t);
112
+ let l = this.numberFormatter.formatToParts(e), a = this.numberFormatter.formatToParts(t);
113
113
  return [
114
- ...r.map((l) => ({
115
- ...l,
114
+ ...l.map((i) => ({
115
+ ...i,
116
116
  source: "startRange"
117
117
  })),
118
118
  {
@@ -120,8 +120,8 @@ class W {
120
120
  value: " – ",
121
121
  source: "shared"
122
122
  },
123
- ...i.map((l) => ({
124
- ...l,
123
+ ...a.map((i) => ({
124
+ ...i,
125
125
  source: "endRange"
126
126
  }))
127
127
  ];
@@ -143,106 +143,106 @@ class W {
143
143
  this.numberFormatter = Y(e, t), this.options = t;
144
144
  }
145
145
  }
146
- function Y(a, e = {}) {
146
+ function Y(r, e = {}) {
147
147
  let { numberingSystem: t } = e;
148
- if (t && a.includes("-nu-") && (a.includes("-u-") || (a += "-u-"), a += `-nu-${t}`), e.style === "unit" && !y) {
149
- var r;
150
- let { unit: n, unitDisplay: o = "short" } = e;
148
+ if (t && r.includes("-nu-") && (r.includes("-u-") || (r += "-u-"), r += `-nu-${t}`), e.style === "unit" && !y) {
149
+ var l;
150
+ let { unit: n, unitDisplay: s = "short" } = e;
151
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}`);
152
+ if (!(!((l = N[n]) === null || l === void 0) && l[s])) throw new Error(`Unsupported unit ${n} with unitDisplay = ${s}`);
153
153
  e = {
154
154
  ...e,
155
155
  style: "decimal"
156
156
  };
157
157
  }
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;
158
+ let a = r + (e ? Object.entries(e).sort((n, s) => n[0] < s[0] ? -1 : 1).join() : "");
159
+ if (x.has(a)) return x.get(a);
160
+ let i = new Intl.NumberFormat(r, e);
161
+ return x.set(a, i), i;
162
162
  }
163
- function q(a, e, t) {
164
- if (e === "auto") return a.format(t);
165
- if (e === "never") return a.format(Math.abs(t));
163
+ function q(r, e, t) {
164
+ if (e === "auto") return r.format(t);
165
+ if (e === "never") return r.format(Math.abs(t));
166
166
  {
167
- let r = !1;
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) {
169
- let i = a.format(-t), l = a.format(t), n = i.replace(l, "").replace(/\u200e|\u061C/, "");
167
+ let l = !1;
168
+ if (e === "always" ? l = t > 0 || Object.is(t, 0) : e === "exceptZero" && (Object.is(t, -0) || Object.is(t, 0) ? t = Math.abs(t) : l = t > 0), l) {
169
+ let a = r.format(-t), i = r.format(t), n = a.replace(i, "").replace(/\u200e|\u061C/, "");
170
170
  return [
171
171
  ...n
172
- ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), i.replace(l, "!!!").replace(n, "+").replace("!!!", l);
173
- } else return a.format(t);
172
+ ].length !== 1 && console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"), a.replace(i, "!!!").replace(n, "+").replace("!!!", i);
173
+ } else return r.format(t);
174
174
  }
175
175
  }
176
- function Q(a = {}) {
177
- let { locale: e } = Z();
178
- return B(() => new W(e, a), [
176
+ function Q(r = {}) {
177
+ let { locale: e } = W();
178
+ return B(() => new U(e, r), [
179
179
  e,
180
- a
180
+ r
181
181
  ]);
182
182
  }
183
- function X(a) {
184
- let { id: e, label: t, "aria-labelledby": r, "aria-label": i, labelElementType: l = "label" } = a;
183
+ function X(r) {
184
+ let { id: e, label: t, "aria-labelledby": l, "aria-label": a, labelElementType: i = "label" } = r;
185
185
  e = v(e);
186
- let n = v(), o = {};
187
- t ? (r = r ? `${n} ${r}` : n, o = {
186
+ let n = v(), s = {};
187
+ t ? (l = l ? `${n} ${l}` : n, s = {
188
188
  id: n,
189
- htmlFor: l === "label" ? e : void 0
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 = U({
189
+ htmlFor: i === "label" ? e : void 0
190
+ }) : !l && !a && 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({
192
192
  id: e,
193
- "aria-label": i,
194
- "aria-labelledby": r
193
+ "aria-label": a,
194
+ "aria-labelledby": l
195
195
  });
196
196
  return {
197
- labelProps: o,
197
+ labelProps: s,
198
198
  fieldProps: d
199
199
  };
200
200
  }
201
- function ee(a) {
202
- let { value: e = 0, minValue: t = 0, maxValue: r = 100, valueLabel: i, isIndeterminate: l, formatOptions: n = {
201
+ function ee(r) {
202
+ let { value: e = 0, minValue: t = 0, maxValue: l = 100, valueLabel: a, isIndeterminate: i, formatOptions: n = {
203
203
  style: "percent"
204
- } } = a, o = T(a, {
204
+ } } = r, s = T(r, {
205
205
  labelable: !0
206
206
  }), { labelProps: d, fieldProps: f } = X({
207
- ...a,
207
+ ...r,
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 = I(e, t, r);
213
- let $ = (e - t) / (r - t), b = Q(n);
214
- if (!l && !i) {
212
+ e = A(e, t, l);
213
+ let $ = (e - t) / (l - t), b = Q(n);
214
+ if (!i && !a) {
215
215
  let u = n.style === "percent" ? $ : e;
216
- i = b.format(u);
216
+ a = b.format(u);
217
217
  }
218
218
  return {
219
- progressBarProps: D(o, {
219
+ progressBarProps: D(s, {
220
220
  ...f,
221
- "aria-valuenow": l ? void 0 : e,
221
+ "aria-valuenow": i ? void 0 : e,
222
222
  "aria-valuemin": t,
223
- "aria-valuemax": r,
224
- "aria-valuetext": l ? void 0 : i,
223
+ "aria-valuemax": l,
224
+ "aria-valuetext": i ? void 0 : a,
225
225
  role: "progressbar"
226
226
  }),
227
227
  labelProps: d
228
228
  };
229
229
  }
230
- const M = /* @__PURE__ */ w({}), me = /* @__PURE__ */ A(function(e, t) {
230
+ const M = /* @__PURE__ */ w({}), pe = /* @__PURE__ */ I(function(e, t) {
231
231
  [e, t] = L(e, t, M);
232
- let { elementType: r = "label", ...i } = e;
233
- return /* @__PURE__ */ m.createElement(r, {
232
+ let { elementType: l = "label", ...a } = e;
233
+ return /* @__PURE__ */ p.createElement(l, {
234
234
  className: "react-aria-Label",
235
- ...i,
235
+ ...a,
236
236
  ref: t
237
237
  });
238
- }), j = /* @__PURE__ */ w(null), pe = /* @__PURE__ */ S(function(e, t) {
238
+ }), j = /* @__PURE__ */ w(null), me = /* @__PURE__ */ S(function(e, t) {
239
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({
240
+ let { value: l = 0, minValue: a = 0, maxValue: i = 100, isIndeterminate: n = !1 } = e;
241
+ l = A(l, a, i);
242
+ let [s, d] = _(!e["aria-label"] && !e["aria-labelledby"]), { progressBarProps: f, labelProps: $ } = ee({
243
243
  ...e,
244
244
  label: d
245
- }), b = n ? void 0 : (r - i) / (l - i) * 100, u = R({
245
+ }), b = n ? void 0 : (l - a) / (i - a) * 100, u = C({
246
246
  ...e,
247
247
  defaultClassName: "react-aria-ProgressBar",
248
248
  values: {
@@ -250,46 +250,48 @@ const M = /* @__PURE__ */ w({}), me = /* @__PURE__ */ A(function(e, t) {
250
250
  valueText: f["aria-valuetext"],
251
251
  isIndeterminate: n
252
252
  }
253
- }), p = T(e, {
253
+ }), m = T(e, {
254
254
  global: !0
255
255
  });
256
- return /* @__PURE__ */ m.createElement("div", {
257
- ...D(p, u, f),
256
+ return /* @__PURE__ */ p.createElement("div", {
257
+ ...D(m, u, f),
258
258
  ref: t,
259
259
  slot: e.slot || void 0
260
- }, /* @__PURE__ */ m.createElement(M.Provider, {
260
+ }, /* @__PURE__ */ p.createElement(M.Provider, {
261
261
  value: {
262
262
  ...$,
263
- ref: o,
263
+ ref: s,
264
264
  elementType: "span"
265
265
  }
266
266
  }, u.children));
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({
267
+ }), te = /* @__PURE__ */ w({}), he = /* @__PURE__ */ I(function(e, t) {
268
+ [e, t] = L(e, t, te);
269
+ let l = e, { isPending: a } = l, { buttonProps: i, isPressed: n } = z(e, t);
270
+ i = ae(i, a);
271
+ let { focusProps: s, isFocused: d, isFocusVisible: f } = G(e), { hoverProps: $, isHovered: b } = J({
270
272
  ...e,
271
- isDisabled: e.isDisabled || i
273
+ isDisabled: e.isDisabled || a
272
274
  }), u = {
273
275
  isHovered: b,
274
- isPressed: (r.isPressed || n) && !i,
276
+ isPressed: (l.isPressed || n) && !a,
275
277
  isFocused: d,
276
278
  isFocusVisible: f,
277
279
  isDisabled: e.isDisabled || !1,
278
- isPending: i ?? !1
279
- }, p = R({
280
+ isPending: a ?? !1
281
+ }, m = C({
280
282
  ...e,
281
283
  values: u,
282
284
  defaultClassName: "react-aria-Button"
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 = {
285
+ }), h = v(i.id), g = v(), c = i["aria-labelledby"];
286
+ a && (c ? c = `${c} ${g}` : i["aria-label"] && (c = `${h} ${g}`));
287
+ let P = H(a);
288
+ Z(() => {
289
+ let O = {
288
290
  "aria-labelledby": c || h
289
291
  };
290
- (!P.current && d && i || P.current && d && !i) && O(C, "assertive"), P.current = i;
292
+ (!P.current && d && a || P.current && d && !a) && R(O, "assertive"), P.current = a;
291
293
  }, [
292
- i,
294
+ a,
293
295
  d,
294
296
  c,
295
297
  h
@@ -297,39 +299,43 @@ const M = /* @__PURE__ */ w({}), me = /* @__PURE__ */ A(function(e, t) {
297
299
  let F = T(e, {
298
300
  global: !0
299
301
  });
300
- return delete F.onClick, /* @__PURE__ */ m.createElement("button", {
301
- ...D(F, p, l, o, $),
302
+ return delete F.onClick, /* @__PURE__ */ p.createElement("button", {
303
+ ...D(F, m, i, s, $),
302
304
  // 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
305
  // We do this by changing the button's type to button.
304
- type: l.type === "submit" && i ? "button" : l.type,
306
+ type: i.type === "submit" && a ? "button" : i.type,
305
307
  id: h,
306
308
  ref: t,
307
309
  "aria-labelledby": c,
308
310
  slot: e.slot || void 0,
309
- "aria-disabled": i ? "true" : l["aria-disabled"],
311
+ "aria-disabled": a ? "true" : i["aria-disabled"],
310
312
  "data-disabled": e.isDisabled || void 0,
311
313
  "data-pressed": u.isPressed || void 0,
312
314
  "data-hovered": b || void 0,
313
315
  "data-focused": d || void 0,
314
- "data-pending": i || void 0,
316
+ "data-pending": a || void 0,
315
317
  "data-focus-visible": f || void 0
316
- }, /* @__PURE__ */ m.createElement(j.Provider, {
318
+ }, /* @__PURE__ */ p.createElement(j.Provider, {
317
319
  value: {
318
320
  id: g
319
321
  }
320
- }, p.children));
322
+ }, m.children));
321
323
  });
322
- function ae(a) {
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;
324
+ function ae(r, e) {
325
+ if (e) {
326
+ for (const t in r) t.startsWith("on") && !(t.includes("Focus") || t.includes("Blur")) && (r[t] = void 0);
327
+ r.href = void 0, r.target = void 0;
328
+ }
329
+ return r;
324
330
  }
325
331
  export {
326
332
  he as $,
327
333
  X as a,
328
334
  M as b,
329
- pe as c,
330
- me as d,
335
+ me as c,
336
+ pe as d,
331
337
  te as e,
332
- O as f,
333
- W as g,
338
+ R as f,
339
+ U as g,
334
340
  $e as h
335
341
  };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Button.css');const i="_button_1ikai_1",t="_secondary_1ikai_48",n="_tertiary_1ikai_71",_="_iconBtn_1ikai_91",o="_medium_1ikai_111",a="_danger_1ikai_116",c="_iconRight_1ikai_138",r="_fullwidth_1ikai_142",s="_primary_1ikai_152",e={button:i,secondary:t,tertiary:n,iconBtn:_,medium:o,danger:a,iconRight:c,fullwidth:r,primary:s};exports.ButtonStyles=e;
@@ -0,0 +1,14 @@
1
+ import './assets/Button.css';const i = "_button_1ikai_1", t = "_secondary_1ikai_48", n = "_tertiary_1ikai_71", _ = "_iconBtn_1ikai_91", o = "_medium_1ikai_111", a = "_danger_1ikai_116", c = "_iconRight_1ikai_138", r = "_fullwidth_1ikai_142", s = "_primary_1ikai_152", e = {
2
+ button: i,
3
+ secondary: t,
4
+ tertiary: n,
5
+ iconBtn: _,
6
+ medium: o,
7
+ danger: a,
8
+ iconRight: c,
9
+ fullwidth: r,
10
+ primary: s
11
+ };
12
+ export {
13
+ e as B
14
+ };
@@ -1 +1 @@
1
- "use strict";require('./assets/ButtonGroup.css');const s=require("react/jsx-runtime"),n=require("./clsx-C11secjj.cjs"),e="_buttonGroup_o1hqg_1",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
+ "use strict";require('./assets/ButtonGroup.css');const s=require("react/jsx-runtime"),n=require("./clsx-DKOfLqne.cjs"),e="_buttonGroup_o1hqg_1",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,5 +1,5 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
- import { c as a } from "./clsx-OuTLNxxd.js";
2
+ import { c as a } from "./clsx-jbLnTBqA.js";
3
3
  import './assets/ButtonGroup.css';const n = "_buttonGroup_o1hqg_1", p = {
4
4
  buttonGroup: n
5
5
  }, b = ({
package/CHANGELOG.md CHANGED
@@ -1,3 +1,62 @@
1
+ ## 14.1.0 (2025-10-27)
2
+
3
+ ### 🚀 Features
4
+
5
+ - **spinner:** color defaults to icon-tertiary, deprecate `isOnColor` ([68108dfea0](https://github.com/migrationsverket/midas/commit/68108dfea0))
6
+ - **accordion:** add panel animation support for non-chrome browsers ([1a00da2ddc](https://github.com/migrationsverket/midas/commit/1a00da2ddc))
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - **textfield:** omit duplicate prop definitions ([d19e6e3ad0](https://github.com/migrationsverket/midas/commit/d19e6e3ad0))
11
+ - **calendar:** set correct styles for days outside month ([61b9958ad6](https://github.com/migrationsverket/midas/commit/61b9958ad6))
12
+ - **tabs:** fix displaying horizontal/vertical tabs ([55507b2ed2](https://github.com/migrationsverket/midas/commit/55507b2ed2))
13
+
14
+ ### 📖 Documentation changes
15
+
16
+ - **spinner:** update spinner docs with new props ([6ffbcabf1e](https://github.com/migrationsverket/midas/commit/6ffbcabf1e))
17
+
18
+ ### 🔧 Maintenance
19
+
20
+ - **select:** utilize RAC multi select types ([06f9720a99](https://github.com/migrationsverket/midas/commit/06f9720a99))
21
+ - **deps:** update react-aria-components and react-stately ([a0d8b0bd63](https://github.com/migrationsverket/midas/commit/a0d8b0bd63))
22
+
23
+ ### 🧱 Updated Dependencies
24
+
25
+ - Updated theme to 3.1.1
26
+
27
+ # 14.0.0 (2025-10-10)
28
+
29
+ ### 🚀 Features
30
+
31
+ - ⚠️ **theme:** change plural to singular for transition tokens ([e54e1b9631](https://github.com/migrationsverket/midas/commit/e54e1b9631))
32
+ - **button:** expand :not condition for pressed state background ([47c6784cbf](https://github.com/migrationsverket/midas/commit/47c6784cbf))
33
+ - **button:** disable background change when button pressed && aria-expanded ([1a9b930509](https://github.com/migrationsverket/midas/commit/1a9b930509))
34
+ - **heading:** add a new flag for using built in margin ([3df0389120](https://github.com/migrationsverket/midas/commit/3df0389120))
35
+ - **modal:** add option to hide close button in header ([5e7b2c59d6](https://github.com/migrationsverket/midas/commit/5e7b2c59d6))
36
+ - **modal:** add support for custom className ([#842](https://github.com/migrationsverket/midas/pull/842))
37
+
38
+ ### 🩹 Fixes
39
+
40
+ - style fixes for forced colors mode ([caca6865c0](https://github.com/migrationsverket/midas/commit/caca6865c0))
41
+ - **info-banner:** prevent double useEffect run in strict mode ([#873](https://github.com/migrationsverket/midas/pull/873))
42
+ - add clsx wrapper for react aria classname ([e07a2e84c6](https://github.com/migrationsverket/midas/commit/e07a2e84c6))
43
+ - **modal:** accept controlled open state props ([7cd6ff0175](https://github.com/migrationsverket/midas/commit/7cd6ff0175))
44
+ - **progress-bar:** expose single valueLabels for screen readers ([#852](https://github.com/migrationsverket/midas/pull/852))
45
+ - **accordion-item:** fix keyboard-focus/animation/hover bug in accordion-item ([a3663f64bb](https://github.com/migrationsverket/midas/commit/a3663f64bb))
46
+ - **accordion:** increase specificity for button css ([e2e9c75914](https://github.com/migrationsverket/midas/commit/e2e9c75914))
47
+
48
+ ### 🔧 Maintenance
49
+
50
+ - break out storybook ([1746df3356](https://github.com/migrationsverket/midas/commit/1746df3356))
51
+
52
+ ### ⚠️ Breaking Changes
53
+
54
+ - **theme:** transition tokens are now named without plural `s` and uses DTCG object style instead of arbitrary string
55
+
56
+ ### 🧱 Updated Dependencies
57
+
58
+ - Updated theme to 3.1.0
59
+
1
60
  ## 13.0.1 (2025-09-26)
2
61
 
3
62
  ### 🩹 Fixes
@@ -0,0 +1,131 @@
1
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
2
+ import { c as n } from "./clsx-jbLnTBqA.js";
3
+ import * as e from "react";
4
+ import { H as m } from "./Heading-CCoGfKQ8.js";
5
+ import { $ as _ } from "./Button-CGe3Nyos.js";
6
+ import { $ as C } from "./Link-l-nMP-Zd.js";
7
+ import { A as x } from "./arrow-right-uemUGIg8.js";
8
+ import './assets/Card.css';const A = "_card_1x9yi_1", h = "_horizontal_1x9yi_11", I = "_cardLink_1x9yi_16", p = "_cardContent_1x9yi_21", u = "_cardActions_1x9yi_40", f = "_cardActionArea_1x9yi_50", z = "_cardImage_1x9yi_83", $ = "_cardLinkIcon_1x9yi_115", r = {
9
+ card: A,
10
+ horizontal: h,
11
+ cardLink: I,
12
+ cardContent: p,
13
+ cardActions: u,
14
+ cardActionArea: f,
15
+ cardImage: z,
16
+ cardLinkIcon: $
17
+ }, i = e.createContext({
18
+ horizontal: void 0,
19
+ titleId: void 0
20
+ }), j = ({
21
+ horizontal: t,
22
+ className: o,
23
+ children: a,
24
+ ...s
25
+ }) => {
26
+ const d = `card-title-${e.useId()}`;
27
+ return /* @__PURE__ */ c(i.Provider, { value: { horizontal: t, titleId: d }, children: /* @__PURE__ */ c(
28
+ "div",
29
+ {
30
+ ...s,
31
+ className: n(
32
+ r.card,
33
+ t && r.horizontal,
34
+ o
35
+ ),
36
+ children: a
37
+ }
38
+ ) });
39
+ }, H = ({
40
+ children: t,
41
+ ...o
42
+ }) => {
43
+ const { horizontal: a } = e.useContext(i);
44
+ return /* @__PURE__ */ c(
45
+ "div",
46
+ {
47
+ ...o,
48
+ className: n(r.cardContent, a && r.horizontal),
49
+ children: t
50
+ }
51
+ );
52
+ }, R = ({
53
+ elementType: t = "h2",
54
+ children: o
55
+ }) => {
56
+ const { horizontal: a, titleId: s } = e.useContext(i);
57
+ return /* @__PURE__ */ c(
58
+ m,
59
+ {
60
+ level: a ? 5 : 3,
61
+ elementType: t,
62
+ isExpressive: a,
63
+ className: n(r.cardTitle, a && r.horizontal),
64
+ id: s,
65
+ children: o
66
+ }
67
+ );
68
+ }, T = ({
69
+ children: t,
70
+ ...o
71
+ }) => {
72
+ const { horizontal: a } = e.useContext(i);
73
+ return /* @__PURE__ */ c(
74
+ "div",
75
+ {
76
+ ...o,
77
+ className: n(r.cardActions, a && r.horizontal),
78
+ children: t
79
+ }
80
+ );
81
+ }, w = ({ children: t, className: o, ...a }) => {
82
+ const { titleId: s } = e.useContext(i);
83
+ return /* @__PURE__ */ c(
84
+ _,
85
+ {
86
+ ...a,
87
+ "aria-labelledby": s,
88
+ className: n(r.cardActionArea, o),
89
+ children: t
90
+ }
91
+ );
92
+ }, E = ({
93
+ as: t = "img",
94
+ className: o,
95
+ ...a
96
+ }) => /* @__PURE__ */ c(
97
+ t,
98
+ {
99
+ ...a,
100
+ className: n(r.cardImage, o)
101
+ }
102
+ ), P = ({
103
+ children: t,
104
+ as: o,
105
+ ...a
106
+ }) => /* @__PURE__ */ l(
107
+ o || C,
108
+ {
109
+ ...a,
110
+ className: n(r.cardLink, a.className),
111
+ children: [
112
+ t,
113
+ /* @__PURE__ */ c(
114
+ x,
115
+ {
116
+ className: r.cardLinkIcon,
117
+ size: 24
118
+ }
119
+ )
120
+ ]
121
+ }
122
+ );
123
+ export {
124
+ j as C,
125
+ H as a,
126
+ R as b,
127
+ T as c,
128
+ w as d,
129
+ E as e,
130
+ P as f
131
+ };
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/Card.css');const a=require("react/jsx-runtime"),o=require("./clsx-DKOfLqne.cjs"),l=require("react"),x=require("./Heading-x7y3xadc.cjs"),u=require("./Button-1sEX8jKn.cjs"),C=require("./Link-DRU6Qzia.cjs"),_=require("./arrow-right-BGd86zzR.cjs");function m(e){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(c,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return c.default=e,Object.freeze(c)}const s=m(l),A="_card_1x9yi_1",g="_horizontal_1x9yi_11",h="_cardLink_1x9yi_16",I="_cardContent_1x9yi_21",b="_cardActions_1x9yi_40",j="_cardActionArea_1x9yi_50",y="_cardImage_1x9yi_83",f="_cardLinkIcon_1x9yi_115",r={card:A,horizontal:g,cardLink:h,cardContent:I,cardActions:b,cardActionArea:j,cardImage:y,cardLinkIcon:f},i=s.createContext({horizontal:void 0,titleId:void 0}),k=({horizontal:e,className:c,children:t,...n})=>{const d=`card-title-${s.useId()}`;return a.jsx(i.Provider,{value:{horizontal:e,titleId:d},children:a.jsx("div",{...n,className:o.clsx(r.card,e&&r.horizontal,c),children:t})})},z=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardContent,t&&r.horizontal),children:e})},L=({elementType:e="h2",children:c})=>{const{horizontal:t,titleId:n}=s.useContext(i);return a.jsx(x.Heading,{level:t?5:3,elementType:e,isExpressive:t,className:o.clsx(r.cardTitle,t&&r.horizontal),id:n,children:c})},$=({children:e,...c})=>{const{horizontal:t}=s.useContext(i);return a.jsx("div",{...c,className:o.clsx(r.cardActions,t&&r.horizontal),children:e})},p=({children:e,className:c,...t})=>{const{titleId:n}=s.useContext(i);return a.jsx(u.$d2b4bc8c273e7be6$export$353f5b6fc5456de1,{...t,"aria-labelledby":n,className:o.clsx(r.cardActionArea,c),children:e})},v=({as:e="img",className:c,...t})=>a.jsx(e,{...t,className:o.clsx(r.cardImage,c)}),N=({children:e,as:c,...t})=>{const n=c||C.$4f118338184dc1d9$export$a6c7ac8248d6e38a;return a.jsxs(n,{...t,className:o.clsx(r.cardLink,t.className),children:[e,a.jsx(_.ArrowRight,{className:r.cardLinkIcon,size:24})]})};exports.Card=k;exports.CardActionArea=p;exports.CardActions=$;exports.CardContent=z;exports.CardImage=v;exports.CardLink=N;exports.CardTitle=L;
@@ -1 +1 @@
1
- "use strict";require('./assets/CharacterCounter.css');const s=require("react/jsx-runtime"),u=require("react"),i=require("./utils-CMHKYKlz.cjs"),f=require("./Input-CzMx2mfl.cjs");function d(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=d(u),h="_characterCounter_4nrnf_1",b={characterCounter:h},g=l.forwardRef((e,n)=>{[e]=i.$64fa3d84918910a7$export$29f1550f4b0d4415(e,n,f.$3985021b0ad6602f$export$37fb8590cf2c088c);const{maxLength:t,value:r,isLonely:o}=e,{length:c}=(r==null?void 0:r.toString())??"",a=t!==void 0;return s.jsx("span",{className:b.characterCounter,"data-exceeded":a&&c>t||void 0,"data-lonely":o||void 0,children:a?`${c} / ${t}`:c})});exports.CharacterCounter=g;
1
+ "use strict";require('./assets/CharacterCounter.css');const s=require("react/jsx-runtime"),u=require("react"),i=require("./utils-CtICjCYt.cjs"),d=require("./Input-Bda0PCu5.cjs");function f(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const l=f(u),$="_characterCounter_4nrnf_1",b={characterCounter:$},h=l.forwardRef((e,n)=>{[e]=i.$64fa3d84918910a7$export$29f1550f4b0d4415(e,n,d.$3985021b0ad6602f$export$37fb8590cf2c088c);const{maxLength:t,value:r,isLonely:o}=e,{length:c}=(r==null?void 0:r.toString())??"",a=t!==void 0;return s.jsx("span",{className:b.characterCounter,"data-exceeded":a&&c>t||void 0,"data-lonely":o||void 0,children:a?`${c} / ${t}`:c})});exports.CharacterCounter=h;