@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
@@ -1,5 +1,5 @@
1
- import { L as t } from "../LinkButton-BkZULm2a.js";
2
- import { $ as a } from "../usePress-BW47IcyU.js";
1
+ import { L as t } from "../LinkButton-D3EnZ65v.js";
2
+ import { $ as a } from "../usePress-DMUpU0GU.js";
3
3
  export {
4
4
  t as LinkButton,
5
5
  a as RouterProvider
@@ -0,0 +1,4 @@
1
+ import { ListBoxLoadMoreItemProps } from 'react-aria-components';
2
+ import * as React from 'react';
3
+ export type { ListBoxLoadMoreItemProps };
4
+ export declare const ListBoxLoadMoreItem: React.FC<ListBoxLoadMoreItemProps>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-BYJccE4T.cjs"),o=require("../ListBoxButton-CIqNRR3y.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ListBoxSection-Dx75ZinL.cjs"),t=require("../ListBoxLoadMoreItem-Ceo73a2q.cjs");exports.ListBox=o.ListBox;exports.ListBoxItem=o.ListBoxItem;exports.ListBoxPopover=o.ListBoxPopover;exports.ListBoxSection=o.ListBoxSection;exports.ListBoxButton=t.ListBoxButton;exports.ListBoxLoadMoreItem=t.ListBoxLoadMoreItem;
@@ -3,4 +3,5 @@ export * from './ListBoxButton';
3
3
  export * from './ListBoxItem';
4
4
  export * from './ListBoxPopover';
5
5
  export * from './ListBoxSection';
6
+ export * from './ListBoxLoadMoreItem';
6
7
  export * from './types';
package/list-box/index.js CHANGED
@@ -1,9 +1,10 @@
1
- import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cicbu8pS.js";
2
- import { L as B } from "../ListBoxButton-sqirI6I4.js";
1
+ import { L as s, a, b as L, c as x } from "../ListBoxSection-BCPv9H50.js";
2
+ import { L as i, a as B } from "../ListBoxLoadMoreItem-W11V-Lef.js";
3
3
  export {
4
4
  s as ListBox,
5
- B as ListBoxButton,
6
- x as ListBoxItem,
5
+ i as ListBoxButton,
6
+ a as ListBoxItem,
7
+ B as ListBoxLoadMoreItem,
7
8
  L as ListBoxPopover,
8
- a as ListBoxSection
9
+ x as ListBoxSection
9
10
  };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "loading...": "Loading..."
4
+ },
5
+ "sv": {
6
+ "loading...": "Laddar..."
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
package/logo/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-BpH0HC91.cjs");exports.Logo=o.Logo;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-CFjZc5u2.cjs");exports.Logo=o.Logo;
package/logo/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L } from "../Logo-ME4ffCue.js";
1
+ import { L } from "../Logo-DkagDdKQ.js";
2
2
  export {
3
3
  L as Logo
4
4
  };
package/menu/Menu.d.ts ADDED
@@ -0,0 +1,13 @@
1
+ import { MenuProps as AriaMenuProps } from 'react-aria-components';
2
+ import { Size } from '../common/types';
3
+ import { ExcludeKeysFrom } from '../utils/types';
4
+ export type MenuItemObject = ExcludeKeysFrom<{
5
+ [prop: string]: unknown;
6
+ }, 'href'>;
7
+ export interface MenuProps<T> extends AriaMenuProps<T> {
8
+ /** Component size (large: height 40px, medium: height 32px)
9
+ * @default 'large'
10
+ **/
11
+ size?: Size;
12
+ }
13
+ export declare const Menu: <T extends MenuItemObject>({ className, size, ...rest }: MenuProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { MenuItemProps as AriaMenuItemProps } from 'react-aria-components';
2
+ import { LinkDOMProps } from '@react-types/shared';
3
+ import { MenuItemObject } from '.';
4
+ export type MenuItemProps<T> = Omit<AriaMenuItemProps<T>, keyof LinkDOMProps>;
5
+ export declare const MenuItem: <T extends MenuItemObject>(props: MenuItemProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { PopoverProps } from 'react-aria-components';
2
+ export type { PopoverProps as MenuPopoverProps };
3
+ export declare const MenuPopover: ({ className, ...rest }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { MenuSectionProps } from 'react-aria-components';
2
+ export type { MenuSectionProps };
3
+ export declare const MenuSection: <T extends object>({ className, ...rest }: MenuSectionProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { SeparatorProps } from 'react-aria-components';
2
+ export type { SeparatorProps };
3
+ export declare const Separator: ({ className, ...rest }: SeparatorProps) => import("react/jsx-runtime").JSX.Element;
package/menu/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Separator-Cfv2pbWf.cjs");exports.Menu=e.Menu;exports.MenuItem=e.MenuItem;exports.MenuPopover=e.MenuPopover;exports.MenuSection=e.MenuSection;exports.Separator=e.Separator;
@@ -0,0 +1,5 @@
1
+ export * from './Menu';
2
+ export * from './MenuItem';
3
+ export * from './MenuPopover';
4
+ export * from './MenuSection';
5
+ export * from './Separator';
package/menu/index.js ADDED
@@ -0,0 +1,8 @@
1
+ import { M as o, a as n, b as r, c as s, S as M } from "../Separator-DH-5wu9X.js";
2
+ export {
3
+ o as Menu,
4
+ n as MenuItem,
5
+ r as MenuPopover,
6
+ s as MenuSection,
7
+ M as Separator
8
+ };
@@ -1,21 +1,23 @@
1
- import b, { useRef as a, useCallback as s, useState as $, useEffect as p } from "react";
2
- import { a as y } from "./SSRProvider-40TXmsUG.js";
3
- import { c as x } from "./clsx-OuTLNxxd.js";
4
- const i = typeof document < "u" ? b.useLayoutEffect : () => {
1
+ import $, { useRef as a, useCallback as b, useState as p, useEffect as y } from "react";
2
+ import { a as x } from "./SSRProvider-40TXmsUG.js";
3
+ import { c as m } from "./clsx-OuTLNxxd.js";
4
+ const i = typeof document < "u" ? $.useLayoutEffect : () => {
5
5
  };
6
- function d(f) {
6
+ var d;
7
+ const v = (d = $.useInsertionEffect) !== null && d !== void 0 ? d : i;
8
+ function s(f) {
7
9
  const e = a(null);
8
- return i(() => {
10
+ return v(() => {
9
11
  e.current = f;
10
12
  }, [
11
13
  f
12
- ]), s((...c) => {
14
+ ]), b((...c) => {
13
15
  const n = e.current;
14
16
  return n == null ? void 0 : n(...c);
15
17
  }, []);
16
18
  }
17
- function m(f) {
18
- let [e, c] = $(f), n = a(null), t = d(() => {
19
+ function E(f) {
20
+ let [e, c] = p(f), n = a(null), t = s(() => {
19
21
  if (!n.current) return;
20
22
  let r = n.current.next();
21
23
  if (r.done) {
@@ -27,34 +29,34 @@ function m(f) {
27
29
  i(() => {
28
30
  n.current && t();
29
31
  });
30
- let l = d((r) => {
32
+ let u = s((r) => {
31
33
  n.current = r(e), t();
32
34
  });
33
35
  return [
34
36
  e,
35
- l
37
+ u
36
38
  ];
37
39
  }
38
- let g = !!(typeof window < "u" && window.document && window.document.createElement), u = /* @__PURE__ */ new Map(), o;
40
+ let I = !!(typeof window < "u" && window.document && window.document.createElement), l = /* @__PURE__ */ new Map(), o;
39
41
  typeof FinalizationRegistry < "u" && (o = new FinalizationRegistry((f) => {
40
- u.delete(f);
42
+ l.delete(f);
41
43
  }));
42
- function v(f) {
43
- let [e, c] = $(f), n = a(null), t = y(e), l = a(null);
44
- if (o && o.register(l, t), g) {
45
- const r = u.get(t);
46
- r && !r.includes(n) ? r.push(n) : u.set(t, [
44
+ function g(f) {
45
+ let [e, c] = p(f), n = a(null), t = x(e), u = a(null);
46
+ if (o && o.register(u, t), I) {
47
+ const r = l.get(t);
48
+ r && !r.includes(n) ? r.push(n) : l.set(t, [
47
49
  n
48
50
  ]);
49
51
  }
50
52
  return i(() => {
51
53
  let r = t;
52
54
  return () => {
53
- o && o.unregister(l), u.delete(r);
55
+ o && o.unregister(u), l.delete(r);
54
56
  };
55
57
  }, [
56
58
  t
57
- ]), p(() => {
59
+ ]), y(() => {
58
60
  let r = n.current;
59
61
  return r && c(r), () => {
60
62
  r && (n.current = null);
@@ -63,14 +65,14 @@ function v(f) {
63
65
  }
64
66
  function w(f, e) {
65
67
  if (f === e) return f;
66
- let c = u.get(f);
68
+ let c = l.get(f);
67
69
  if (c)
68
70
  return c.forEach((t) => t.current = e), e;
69
- let n = u.get(e);
71
+ let n = l.get(e);
70
72
  return n ? (n.forEach((t) => t.current = f), f) : e;
71
73
  }
72
- function k(f = []) {
73
- let e = v(), [c, n] = m(e), t = s(() => {
74
+ function C(f = []) {
75
+ let e = g(), [c, n] = E(e), t = b(() => {
74
76
  n(function* () {
75
77
  yield e, yield document.getElementById(e) ? e : void 0;
76
78
  });
@@ -84,32 +86,32 @@ function k(f = []) {
84
86
  ...f
85
87
  ]), c;
86
88
  }
87
- function I(...f) {
89
+ function R(...f) {
88
90
  return (...e) => {
89
91
  for (let c of f) typeof c == "function" && c(...e);
90
92
  };
91
93
  }
92
- function C(...f) {
94
+ function F(...f) {
93
95
  let e = {
94
96
  ...f[0]
95
97
  };
96
98
  for (let c = 1; c < f.length; c++) {
97
99
  let n = f[c];
98
100
  for (let t in n) {
99
- let l = e[t], r = n[t];
100
- typeof l == "function" && typeof r == "function" && // This is a lot faster than a regex.
101
+ let u = e[t], r = n[t];
102
+ typeof u == "function" && typeof r == "function" && // This is a lot faster than a regex.
101
103
  t[0] === "o" && t[1] === "n" && t.charCodeAt(2) >= /* 'A' */
102
104
  65 && t.charCodeAt(2) <= /* 'Z' */
103
- 90 ? e[t] = I(l, r) : (t === "className" || t === "UNSAFE_className") && typeof l == "string" && typeof r == "string" ? e[t] = x(l, r) : t === "id" && l && r ? e.id = w(l, r) : e[t] = r !== void 0 ? r : l;
105
+ 90 ? e[t] = R(u, r) : (t === "className" || t === "UNSAFE_className") && typeof u == "string" && typeof r == "string" ? e[t] = m(u, r) : t === "id" && u && r ? e.id = w(u, r) : e[t] = r !== void 0 ? r : u;
104
106
  }
105
107
  }
106
108
  return e;
107
109
  }
108
110
  export {
109
111
  i as $,
110
- C as a,
111
- k as b,
112
- v as c,
113
- d,
114
- I as e
112
+ F as a,
113
+ C as b,
114
+ g as c,
115
+ s as d,
116
+ R as e
115
117
  };
@@ -0,0 +1 @@
1
+ "use strict";const l=require("react"),p=require("./SSRProvider-Bc-sMhsT.cjs"),x=require("./clsx-C11secjj.cjs"),d=typeof document<"u"?l.useLayoutEffect:()=>{};var i;const y=(i=l.useInsertionEffect)!==null&&i!==void 0?i:d;function $(n){const e=l.useRef(null);return y(()=>{e.current=n},[n]),l.useCallback((...r)=>{const c=e.current;return c==null?void 0:c(...r)},[])}function v(n){let[e,r]=l.useState(n),c=l.useRef(null),t=$(()=>{if(!c.current)return;let f=c.current.next();if(f.done){c.current=null;return}e===f.value?t():r(f.value)});d(()=>{c.current&&t()});let u=$(f=>{c.current=f(e),t()});return[e,u]}let R=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,a;typeof FinalizationRegistry<"u"&&(a=new FinalizationRegistry(n=>{o.delete(n)}));function s(n){let[e,r]=l.useState(n),c=l.useRef(null),t=p.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(a&&a.register(u,t),R){const f=o.get(t);f&&!f.includes(c)?f.push(c):o.set(t,[c])}return d(()=>{let f=t;return()=>{a&&a.unregister(u),o.delete(f)}},[t]),l.useEffect(()=>{let f=c.current;return f&&r(f),()=>{f&&(c.current=null)}}),t}function E(n,e){if(n===e)return n;let r=o.get(n);if(r)return r.forEach(t=>t.current=e),e;let c=o.get(e);return c?(c.forEach(t=>t.current=n),n):e}function I(n=[]){let e=s(),[r,c]=v(e),t=l.useCallback(()=>{c(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,c]);return d(t,[e,t,...n]),r}function b(...n){return(...e)=>{for(let r of n)typeof r=="function"&&r(...e)}}function g(...n){let e={...n[0]};for(let r=1;r<n.length;r++){let c=n[r];for(let t in c){let u=e[t],f=c[t];typeof u=="function"&&typeof f=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=b(u,f):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof f=="string"?e[t]=x.clsx(u,f):t==="id"&&u&&f?e.id=E(u,f):e[t]=f!==void 0?f:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=$;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=I;exports.$bdb11010cef70236$export$f680877a34711e37=s;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=d;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=b;
package/modal/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-CxHiZorC.cjs"),o=require("../Dialog-DtHk3eXI.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-DgJobm71.cjs"),o=require("../Dialog-DR6nEqMT.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
package/modal/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as a } from "../Dialog-DuGcBeNN.js";
2
- import { $ as g } from "../Dialog-D5c_dUnB.js";
1
+ import { M as a } from "../Dialog-P3frHOdq.js";
2
+ import { $ as g } from "../Dialog-B8swxl24.js";
3
3
  export {
4
4
  g as DialogTrigger,
5
5
  a as Modal
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "description": "Midas Components",
15
15
  "homepage": "https://designsystem.migrationsverket.se/",
16
16
  "license": "CC0-1.0",
17
- "version": "11.2.0",
17
+ "version": "12.1.0",
18
18
  "main": "./index.cjs",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
@@ -46,11 +46,16 @@
46
46
  },
47
47
  "./global.css": {
48
48
  "import": "./assets/global.css"
49
+ },
50
+ "./theme.css": {
51
+ "import": "./assets/theme.css"
52
+ },
53
+ "./variables.css": {
54
+ "import": "./assets/variables.css"
49
55
  }
50
56
  },
51
57
  "dependencies": {
52
- "react-aria": "^3.38.1",
53
- "react-aria-components": "^1.9.0",
54
- "react-stately": "^3.36.1"
58
+ "react-aria-components": "^1.12.1",
59
+ "react-stately": "^3.39.0"
55
60
  }
56
61
  }
package/popover/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-BDvKByTT.cjs");exports.Popover=e.Popover;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-Bi5yJEoE.cjs");exports.Popover=e.Popover;
package/popover/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as e } from "../Popover-Tniqbaes.js";
1
+ import { P as e } from "../Popover-CyEVqpJ6.js";
2
2
  export {
3
3
  e as Popover
4
4
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-ClysdvqU.cjs");exports.ProgressBar=r.ProgressBar;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-CjuHokVZ.cjs");exports.ProgressBar=r.ProgressBar;
@@ -1,4 +1,4 @@
1
- import { P as s } from "../ProgressBar-DTn23Zkr.js";
1
+ import { P as s } from "../ProgressBar-CdXHEJh6.js";
2
2
  export {
3
3
  s as ProgressBar
4
4
  };
package/radio/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-Cz0vLIBw.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-Bll-7H8O.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
package/radio/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as r, a as R } from "../Radio-CCN3o3s-.js";
1
+ import { R as r, a as R } from "../Radio-DoWx2AE1.js";
2
2
  export {
3
3
  r as Radio,
4
4
  R as RadioGroup
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-QFyuaT-K.cjs");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-BbrUZpQm.cjs");exports.SearchField=e.SearchField;
@@ -1,4 +1,4 @@
1
- import { S as a } from "../SearchField-nwlyszwt.js";
1
+ import { S as a } from "../SearchField-F2FKgYds.js";
2
2
  export {
3
3
  a as SearchField
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { SelectProps } from './types';
2
2
  import * as React from 'react';
3
3
  export declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "children" | "items"> & {
4
- options: import('../list-box').ListBoxOption[];
4
+ options: import('..').ListBoxOption[];
5
5
  } & React.RefAttributes<HTMLButtonElement>>;
package/select/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-lhIwwJL7.cjs");exports.Select=e.Select;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-BnbDXwgD.cjs");exports.Select=e.Select;
package/select/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export * from './Select';
2
- export type { SelectContainerProps as SelectProps, SelectionMode, Option, OptionItem, OptionSection, } from './types';
2
+ export type { SelectContainerProps as SelectProps, SelectionMode, } from './types';
package/select/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "../Select-MwvnbChP.js";
1
+ import { S as r } from "../Select-Dpi3LhbI.js";
2
2
  export {
3
3
  r as Select
4
4
  };
package/select/types.d.ts CHANGED
@@ -8,7 +8,7 @@ import { AriaListBoxOptions } from 'react-aria';
8
8
  import { AriaButtonProps } from '@react-types/button';
9
9
  import { AriaSelectProps } from '@react-types/select';
10
10
  import { Size } from '../common/types';
11
- import { ListBoxItemElement, ListBoxOption, ListBoxSectionElement } from '../list-box/';
11
+ import { ListBoxOption } from '../list-box/';
12
12
  /**
13
13
  * Props used for setting up the list state
14
14
  */
@@ -174,15 +174,3 @@ export type SelectContainerProps = Omit<SelectProps, 'children' | 'items'> & {
174
174
  /** Item objects in the collection. */
175
175
  options: ListBoxOption[];
176
176
  };
177
- /**
178
- * @deprecated since v10.1.0 please use `ListBoxOption` intead
179
- */
180
- export type Option = ListBoxOption;
181
- /**
182
- * @deprecated since v10.1.0 please use `ListBoxItemElement` intead
183
- */
184
- export type OptionItem = ListBoxItemElement;
185
- /**
186
- * @deprecated since v10.1.0 please use `ListBoxSectionElement` intead
187
- */
188
- export type OptionSection = ListBoxSectionElement;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-BAwbfKBW.cjs");exports.Skeleton=e.Skeleton;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-DMOxEwnd.cjs");exports.Skeleton=e.Skeleton;
package/skeleton/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "../Skeleton-BePDRmrO.js";
1
+ import { S as r } from "../Skeleton-BpYj25p8.js";
2
2
  export {
3
3
  r as Skeleton
4
4
  };
package/spinner/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-vof0Y9Hh.cjs");exports.Spinner=e.Spinner;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-D1UBuLy4.cjs");exports.Spinner=e.Spinner;
package/spinner/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as n } from "../Spinner-VSyPhiJ9.js";
1
+ import { S as n } from "../Spinner-DTKb_LAA.js";
2
2
  export {
3
3
  n as Spinner
4
4
  };
package/table/Table.d.ts CHANGED
@@ -1,11 +1,6 @@
1
- import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps, TableBody } from 'react-aria-components';
1
+ import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps, TableBodyProps } from 'react-aria-components';
2
2
  import { Size } from '../common/types';
3
3
  export interface TableProps extends AriaTableProps {
4
- /**
5
- * A more compact version of the table
6
- * @deprecated since v10.1.1, please use the `size` prop instead.
7
- */
8
- narrow?: boolean;
9
4
  /** Row height (large: 48px, medium: 40px)
10
5
  * @default 'large'
11
6
  * */
@@ -15,9 +10,9 @@ export interface TableProps extends AriaTableProps {
15
10
  */
16
11
  striped?: boolean;
17
12
  }
18
- export declare const Table: ({ narrow, size, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
19
- export declare const TableHeader: <T extends object>({ columns, children, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
20
- export declare const Row: <T extends object>({ id, columns, children, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
21
- export declare const Column: ({ children, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
22
- export declare const Cell: ({ ...rest }: CellProps) => import("react/jsx-runtime").JSX.Element;
23
- export { TableBody };
13
+ export declare const Table: ({ size, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const TableHeader: <T extends object>({ columns, children, className, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Row: <T extends object>({ id, columns, children, className, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Column: ({ children, className, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
17
+ export declare const Cell: ({ className, ...rest }: CellProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const TableBody: <T extends object>({ className, ...rest }: TableBodyProps<T>) => import("react/jsx-runtime").JSX.Element;
package/table/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-DGYC-sDq.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=e.TableHeader;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-C6k3PiiC.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.TableBody;exports.TableHeader=e.TableHeader;
package/table/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as l, C as s, R as o, T as b, $ as T, a as r } from "../Table-DGTwyh7U.js";
1
+ import { b as l, C as s, R as o, T as b, c as T, a as r } from "../Table-CkN3y69S.js";
2
2
  export {
3
3
  l as Cell,
4
4
  s as Column,
package/tabs/Tabs.d.ts CHANGED
@@ -1,18 +1,6 @@
1
1
  import { TabsProps as AriaTabsProps } from 'react-aria-components';
2
2
  import * as React from 'react';
3
3
  export interface TabsProps extends AriaTabsProps {
4
- /**
5
- * An array of tab titles
6
- * @deprecated since v.10.3.0 please use the declarative API
7
- * @see {@link https://designsystem.migrationsverket.se/components/tabs/|Tabs}
8
- */
9
- tabs?: string[];
10
- /**
11
- * Label for accessibility
12
- * @deprecated since v.10.3.0 please use the declarative API and use the `aria-label` prop on TabList instead
13
- * @see {@link https://designsystem.migrationsverket.se/components/tabs/|Tabs}
14
- */
15
- label?: string;
16
4
  /**
17
5
  * The orientation of the tabs.
18
6
  * Will adjust to screen size automatically if omitted
package/tabs/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-CWMlbijV.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-D4WwgQY3.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
package/tabs/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as b, c as T, b as e, T as o } from "../TabList-VpTv_Xff.js";
1
+ import { a as b, c as T, b as e, T as o } from "../TabList-D9tl2s85.js";
2
2
  export {
3
3
  b as Tab,
4
4
  T as TabList,
package/tag/Tag.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { TagGroupProps as AriaTagGroupProps, TagProps as AriaTagProps } from 'react-aria-components';
2
+ import { FeedbackStatus } from '../common/types';
2
3
  import * as React from 'react';
3
4
  export interface TagGroupProp extends AriaTagGroupProps {
4
5
  children: React.ReactNode;
@@ -6,7 +7,7 @@ export interface TagGroupProp extends AriaTagGroupProps {
6
7
  export interface TagProps extends AriaTagProps {
7
8
  children: React.ReactNode;
8
9
  dismissable?: boolean;
9
- type?: 'default' | 'success' | 'info' | 'important' | 'warning';
10
+ type?: FeedbackStatus;
10
11
  }
11
12
  export declare const TagGroup: React.FC<TagGroupProp>;
12
13
  export declare const Tag: React.FC<TagProps>;
package/tag/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-bYq-wf5D.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-7dHEMQum.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
package/tag/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as r, a as T } from "../Tag-rI-NhuT0.js";
1
+ import { T as r, a as T } from "../Tag-BUJ20HHw.js";
2
2
  export {
3
3
  r as Tag,
4
4
  T as TagGroup
package/text/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-DBHWi5gA.cjs");exports.Text=e.Text;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-BAFsaON-.cjs");exports.Text=e.Text;
package/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as r } from "../Text-BPcfhYQ9.js";
1
+ import { T as r } from "../Text-CmlsaWMA.js";
2
2
  export {
3
3
  r as Text
4
4
  };
@@ -1,4 +1,9 @@
1
- import { InputProps } from 'react-aria-components';
1
+ import { InputProps as AriaInputProps } from 'react-aria-components';
2
2
  import * as React from 'react';
3
- export type { InputProps };
3
+ export interface InputProps extends AriaInputProps {
4
+ /** If the component should use local props and ref instead of a parent context
5
+ * @default false
6
+ */
7
+ skipContext?: boolean;
8
+ }
4
9
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,3 +1,3 @@
1
1
  import { InputProps } from './Input';
2
2
  import * as React from 'react';
3
- export declare const PasswordField: React.FC<InputProps>;
3
+ export declare const PasswordField: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-DJKHFKuI.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-BCikUXaD.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
@@ -1,4 +1,4 @@
1
- import { I as s, b as t, a as x, T } from "../TextArea-CrEALC58.js";
1
+ import { I as s, b as t, a as x, T } from "../TextArea-h5_oBQH1.js";
2
2
  export {
3
3
  s as Input,
4
4
  t as TextArea,