@midas-ds/components 11.1.0 → 12.0.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 (330) hide show
  1. package/AccordionItem-DEiRuizp.js +361 -0
  2. package/AccordionItem-Dhr7uo8u.cjs +1 -0
  3. package/BadgeContainer-CxVmqJ7g.cjs +1 -0
  4. package/BadgeContainer-DGJGJMPi.js +37 -0
  5. package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
  6. package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
  7. package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
  8. package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
  9. package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
  10. package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
  11. package/CHANGELOG.md +74 -0
  12. package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
  13. package/Card-DPfOZC7f.cjs +1 -0
  14. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
  15. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
  16. package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
  17. package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
  18. package/{CheckboxGroup-oosHSGAt.js → CheckboxGroup--xgOT1Do.js} +11 -11
  19. package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
  20. package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
  21. package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
  22. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
  23. package/{ColorSchemeSwitch-Cnyb9EKC.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
  24. package/{ComboBox-D4MsSPBu.js → ComboBox-Dn3tQzri.js} +93 -97
  25. package/{ComboBox-CQ49PhNd.cjs → ComboBox-UadZMhiR.cjs} +1 -1
  26. package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
  27. package/{DateField-COs1-CkQ.js → DateField-CZmLugT0.js} +4 -4
  28. package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
  29. package/{DateInputDivider-B3oE1_tB.js → DateInputDivider-CJEGWmG0.js} +22 -22
  30. package/DateRangePicker-DhgLEa9P.cjs +6 -0
  31. package/{DateRangePicker-CvEycxmX.js → DateRangePicker-WQ97Psz7.js} +184 -197
  32. package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
  33. package/{Dialog-DKHo0W9B.js → Dialog-BuJdAr0D.js} +48 -48
  34. package/Dialog-DYK8lySl.cjs +1 -0
  35. package/Dialog-L53DWF0Z.js +220 -0
  36. package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
  37. package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
  38. package/{Dropdown-D6WCi_Ll.js → Dropdown-BWbdSQ9U.js} +35 -34
  39. package/Dropdown-CJ-sujKv.cjs +6 -0
  40. package/FieldError-BlKkw9YL.js +46 -0
  41. package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
  42. package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
  43. package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
  44. package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
  45. package/{FocusScope-BCsrRPqD.js → FocusScope-CEgd3xCY.js} +17 -17
  46. package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
  47. package/Grid-Db5wZrw6.cjs +1 -0
  48. package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
  49. package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
  50. package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
  51. package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
  52. package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
  53. package/Heading-OUPkdoEJ.cjs +1 -0
  54. package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
  55. package/InfoBanner-DpLcq_1R.cjs +1 -0
  56. package/InfoBanner-U5hxOipC.js +99 -0
  57. package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
  58. package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
  59. package/{Label-DA6FZwy0.js → Label-ByWt6Lfh.js} +24 -24
  60. package/Label-COpr4xVt.cjs +1 -0
  61. package/Layout-BR3Or1Ga.cjs +16 -0
  62. package/Layout-Bdqauktv.js +498 -0
  63. package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
  64. package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
  65. package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
  66. package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
  67. package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
  68. package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
  69. package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
  70. package/{ListBox-CsxDGpCA.js → ListBox-y_dw__MI.js} +16 -16
  71. package/{ListBoxButton-BsuHFd_O.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
  72. package/{ListBoxButton-DawRfuny.js → ListBoxButton-DiseS_LX.js} +1 -1
  73. package/{ListBoxSection-Cc2cx0_S.js → ListBoxSection-Cv-gN76G.js} +376 -376
  74. package/{ListBoxSection-C-Rz358T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
  75. package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
  76. package/{ListKeyboardDelegate-C-sPNj0f.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
  77. package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
  78. package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
  79. package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
  80. package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
  81. package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
  82. package/{Popover-DHoXfBp2.js → Popover-viLqHHX2.js} +2 -2
  83. package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
  84. package/PressResponder-Bm3_RM9c.cjs +1 -0
  85. package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
  86. package/{ProgressBar-C0IBfi5I.js → ProgressBar-wQirOG1N.js} +2 -2
  87. package/{Radio-B6N9dCtB.js → Radio-BIomn_sP.js} +23 -23
  88. package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
  89. package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
  90. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
  91. package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
  92. package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
  93. package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
  95. package/{Select-DMVj2lrG.js → Select-769RSZ9V.js} +114 -114
  96. package/{Select-DiCEyap1.cjs → Select-Go5x0zWl.cjs} +1 -1
  97. package/{SelectionManager-BubxiIKu.js → SelectionManager-BdKKuso-.js} +9 -9
  98. package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
  99. package/{Separator-CEZ5y7tZ.js → Separator-CggS0R7Q.js} +4 -4
  100. package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
  101. package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
  102. package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
  103. package/TabList-0gj27e_e.js +386 -0
  104. package/TabList-Cqpup53E.cjs +1 -0
  105. package/Table-BhtlNY9P.cjs +16 -0
  106. package/{Table-B5Aine4F.js → Table-CTS0J_sQ.js} +289 -268
  107. package/{Tag-Byva_Xuy.js → Tag-B9M-nBTM.js} +49 -49
  108. package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
  109. package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
  110. package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
  111. package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
  112. package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
  113. package/TextArea-CSrrYY05.cjs +1 -0
  114. package/{TextArea-eK7Jx3qs.js → TextArea-DphcH6wE.js} +16 -16
  115. package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
  116. package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
  117. package/Toast-BEh5yYzO.cjs +1 -0
  118. package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
  119. package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
  120. package/{ToggleButtonGroup-HjvaTYD4.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
  121. package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
  122. package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
  123. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
  124. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
  125. package/accordion/Accordion.d.ts +8 -2
  126. package/accordion/AccordionContext.d.ts +4 -0
  127. package/accordion/AccordionItem.d.ts +6 -4
  128. package/accordion/index.cjs +1 -1
  129. package/accordion/index.js +1 -1
  130. package/assets/AccordionItem.css +1 -1
  131. package/assets/BadgeContainer.css +1 -1
  132. package/assets/Button.css +1 -1
  133. package/assets/DateRangePicker.css +1 -1
  134. package/assets/Dialog.css +1 -1
  135. package/assets/Layout.css +1 -1
  136. package/assets/LinkButton.css +1 -1
  137. package/assets/ListBoxSection.css +1 -1
  138. package/assets/Table.css +1 -1
  139. package/assets/theme.css +1 -0
  140. package/badge/index.cjs +1 -1
  141. package/badge/index.js +1 -1
  142. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  143. package/breadcrumbs/index.cjs +1 -1
  144. package/breadcrumbs/index.js +1 -1
  145. package/button/index.cjs +1 -1
  146. package/button/index.js +1 -1
  147. package/calendar/index.cjs +1 -1
  148. package/calendar/index.js +1 -1
  149. package/card/index.cjs +1 -1
  150. package/card/index.js +1 -1
  151. package/character-counter/index.cjs +1 -1
  152. package/character-counter/index.js +1 -1
  153. package/checkbox/index.cjs +1 -1
  154. package/checkbox/index.js +2 -2
  155. package/color-scheme-switch/index.cjs +1 -1
  156. package/color-scheme-switch/index.js +1 -1
  157. package/combobox/ComboBox.d.ts +0 -4
  158. package/combobox/index.cjs +1 -1
  159. package/combobox/index.d.ts +1 -2
  160. package/combobox/index.js +2 -3
  161. package/combobox/types.d.ts +0 -13
  162. package/common/icon-map.d.ts +6 -0
  163. package/common/types.d.ts +8 -0
  164. package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
  165. package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
  166. package/date-field/index.cjs +1 -1
  167. package/date-field/index.js +2 -2
  168. package/date-picker/DatePickerPopover.d.ts +1 -1
  169. package/date-picker/index.cjs +1 -1
  170. package/date-picker/index.js +1 -1
  171. package/dropdown/Dropdown.d.ts +7 -1
  172. package/dropdown/index.cjs +1 -1
  173. package/dropdown/index.js +1 -1
  174. package/field-error/index.cjs +1 -1
  175. package/field-error/index.js +1 -1
  176. package/file-upload/index.cjs +1 -1
  177. package/file-upload/index.js +1 -1
  178. package/grid/Grid.d.ts +0 -8
  179. package/grid/GridItem.d.ts +0 -8
  180. package/grid/index.cjs +1 -1
  181. package/grid/index.d.ts +2 -2
  182. package/grid/index.js +4 -6
  183. package/heading/index.cjs +1 -1
  184. package/heading/index.js +1 -1
  185. package/icon-map-9XcghDra.cjs +11 -0
  186. package/icon-map-uS87FT_Q.js +43 -0
  187. package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
  188. package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
  189. package/index.cjs +1 -1
  190. package/index.js +108 -111
  191. package/inertValue-BWmZ1afe.cjs +1 -0
  192. package/info-banner/InfoBanner.d.ts +18 -10
  193. package/info-banner/index.cjs +1 -1
  194. package/info-banner/index.js +1 -1
  195. package/label/index.cjs +1 -1
  196. package/label/index.js +1 -1
  197. package/layout/index.cjs +1 -1
  198. package/layout/index.js +1 -1
  199. package/link/index.cjs +1 -1
  200. package/link/index.js +2 -2
  201. package/link-button/index.cjs +1 -1
  202. package/link-button/index.js +2 -2
  203. package/list-box/index.cjs +1 -1
  204. package/list-box/index.js +2 -2
  205. package/logo/index.cjs +1 -1
  206. package/logo/index.js +1 -1
  207. package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
  208. package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
  209. package/modal/index.cjs +1 -1
  210. package/modal/index.js +2 -2
  211. package/package.json +4 -1
  212. package/popover/index.cjs +1 -1
  213. package/popover/index.js +1 -1
  214. package/progress-bar/index.cjs +1 -1
  215. package/progress-bar/index.js +1 -1
  216. package/radio/index.cjs +1 -1
  217. package/radio/index.js +1 -1
  218. package/search-field/index.cjs +1 -1
  219. package/search-field/index.js +1 -1
  220. package/select/index.cjs +1 -1
  221. package/select/index.d.ts +1 -1
  222. package/select/index.js +1 -1
  223. package/select/types.d.ts +1 -13
  224. package/spinner/index.cjs +1 -1
  225. package/spinner/index.js +1 -1
  226. package/table/Table.d.ts +7 -12
  227. package/table/index.cjs +1 -1
  228. package/table/index.js +1 -1
  229. package/tabs/Tabs.d.ts +0 -12
  230. package/tabs/index.cjs +1 -1
  231. package/tabs/index.js +1 -1
  232. package/tag/Tag.d.ts +2 -1
  233. package/tag/index.cjs +1 -1
  234. package/tag/index.js +1 -1
  235. package/text/index.cjs +1 -1
  236. package/text/index.js +1 -1
  237. package/textfield/index.cjs +1 -1
  238. package/textfield/index.js +1 -1
  239. package/theme/index.cjs +1 -1
  240. package/theme/index.d.ts +37 -12
  241. package/theme/index.js +12 -11
  242. package/theme/tokens.d.ts +37 -18
  243. package/toast/Toast.d.ts +2 -1
  244. package/toast/index.cjs +1 -1
  245. package/toast/index.js +1 -1
  246. package/toggle-button/index.cjs +1 -1
  247. package/toggle-button/index.js +1 -1
  248. package/tokens-BWo7EvNX.cjs +1 -0
  249. package/{tokens-r1r3wC04.js → tokens-BtEBd3jO.js} +82 -43
  250. package/tooltip/index.cjs +1 -1
  251. package/tooltip/index.js +1 -1
  252. package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
  253. package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
  254. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
  255. package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
  256. package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
  257. package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
  258. package/useEvent-CGRyLM2c.cjs +1 -0
  259. package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
  260. package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
  261. package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
  262. package/{useFilter-DginflOU.js → useFilter-BKQT28sh.js} +1 -1
  263. package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
  264. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
  265. package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
  266. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
  267. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
  268. package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
  269. package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
  270. package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
  271. package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
  272. package/useHasTabbableChild-CogBR_6o.cjs +1 -0
  273. package/{useHasTabbableChild-DP62kzkG.js → useHasTabbableChild-CyOmqumh.js} +2 -2
  274. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
  275. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
  276. package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
  277. package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
  278. package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
  279. package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
  280. package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
  281. package/{useListState-DNB7JWoj.js → useListState-e7cL-FOK.js} +1 -1
  282. package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
  283. package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
  284. package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
  285. package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
  286. package/useObserveElement-BzEr5D32.cjs +1 -0
  287. package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
  288. package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
  289. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
  290. package/{useSingleSelectListState-B0OMoHd_.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
  291. package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
  292. package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
  293. package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
  294. package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
  295. package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
  296. package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
  297. package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
  298. package/AccordionItem-BPOQqTkQ.js +0 -323
  299. package/AccordionItem-CS-QKqrU.cjs +0 -1
  300. package/BadgeContainer-CKBIZWsc.js +0 -37
  301. package/BadgeContainer-DWVHS5dn.cjs +0 -1
  302. package/Card-cdL5669N.cjs +0 -1
  303. package/DateRangePicker-Bfibl08v.cjs +0 -6
  304. package/Dialog-B3R3WtL5.cjs +0 -1
  305. package/Dialog-BkUw6PlA.js +0 -221
  306. package/Dropdown-CYakzdJg.cjs +0 -6
  307. package/FieldError-CDCvUjK5.js +0 -46
  308. package/Grid-DVQtOcu9.cjs +0 -1
  309. package/Heading-CKTR4sOz.cjs +0 -1
  310. package/InfoBanner-CzwbOdRG.cjs +0 -1
  311. package/InfoBanner-D05poAe3.js +0 -91
  312. package/Label-ChjDdBlv.cjs +0 -1
  313. package/Layout-BwLxIwtY.cjs +0 -16
  314. package/Layout-CcADAhds.js +0 -498
  315. package/PressResponder-4jE_HLu3.cjs +0 -1
  316. package/TabList-BkSWzbDG.cjs +0 -1
  317. package/TabList-QApx8qRC.js +0 -435
  318. package/Table-DGYC-sDq.cjs +0 -16
  319. package/TextArea-DJKHFKuI.cjs +0 -1
  320. package/Toast-DdmSvNaO.cjs +0 -1
  321. package/circle-check-BErh6TKu.js +0 -26
  322. package/circle-check-OVUGxwp9.cjs +0 -11
  323. package/inertValue-B3AFhVG4.cjs +0 -1
  324. package/tokens-BF-dPard.cjs +0 -1
  325. package/triangle-alert-B_qAPmWC.js +0 -21
  326. package/triangle-alert-BviJNFjf.cjs +0 -6
  327. package/useEvent-DPxMu-X9.cjs +0 -1
  328. package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
  329. package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
  330. package/useObserveElement-MhzEsCkX.cjs +0 -1
@@ -1,24 +1,32 @@
1
+ import { FeedbackStatus } from '../common/types';
1
2
  import * as React from 'react';
2
3
  export interface InfoBannerProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
3
4
  /**
4
- * Specify what state the InfoBanner represents
5
+ * Determines the visual style and semantic meaning of the InfoBanner (e.g., success, info, warning, important).
5
6
  **/
6
- type: 'success' | 'info' | 'important' | 'warning';
7
- /** Specify the title */
7
+ type: FeedbackStatus;
8
+ /** The title of the banner. */
8
9
  title?: string;
9
- /** Specify the message. Element or string */
10
+ /** The message to be displayed in the banner. Can be a string or a React node. */
10
11
  message?: string | React.ReactNode;
11
- /** Additional elements displayed inside the banner */
12
+ /** Additional elements to be displayed inside the banner. */
12
13
  children?: React.ReactNode;
13
14
  /**
14
- * Specify if the InfoBanner should have a dismiss button in the top right corner
15
- * @deprecated since 10.0.1. Please use `isDismissable` instead
15
+ * If true, a dismiss button will be displayed in the top right corner.
16
16
  */
17
- dismissable?: boolean;
17
+ isDismissable?: boolean;
18
18
  /**
19
- * Specify if the InfoBanner should have a dismiss button in the top right corner
19
+ * The initial visibility of the banner when it is uncontrolled.
20
20
  */
21
- isDismissable?: boolean;
21
+ defaultOpen?: boolean;
22
+ /**
23
+ * Controls the visibility of the banner when it is controlled.
24
+ */
25
+ isOpen?: boolean;
26
+ /**
27
+ * Callback fired when the visibility of the banner changes.
28
+ */
29
+ onOpenChange?: (isOpen: boolean) => void;
22
30
  }
23
31
  /**
24
32
  * Displays a static message as an inline banner
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-CzwbOdRG.cjs");exports.InfoBanner=e.InfoBanner;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-DpLcq_1R.cjs");exports.InfoBanner=e.InfoBanner;
@@ -1,4 +1,4 @@
1
- import { I as r } from "../InfoBanner-D05poAe3.js";
1
+ import { I as r } from "../InfoBanner-U5hxOipC.js";
2
2
  export {
3
3
  r as InfoBanner
4
4
  };
package/label/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-ChjDdBlv.cjs");exports.Label=e.Label;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-COpr4xVt.cjs");exports.Label=e.Label;
package/label/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as o } from "../Label-DA6FZwy0.js";
1
+ import { L as o } from "../Label-ByWt6Lfh.js";
2
2
  export {
3
3
  o as Label
4
4
  };
package/layout/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-BwLxIwtY.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-BR3Or1Ga.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
package/layout/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as e, L as s, N as b, S as d, a as i } from "../Layout-CcADAhds.js";
1
+ import { H as e, L as s, N as b, S as d, a as i } from "../Layout-Bdqauktv.js";
2
2
  export {
3
3
  e as Header,
4
4
  s as Layout,
package/link/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-ESjrl63P.cjs"),r=require("../usePress-BooY_CAy.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-Dq8IFDBx.cjs"),r=require("../usePress-BOGIOlm8.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
package/link/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as e } from "../Link-ovwNVMfg.js";
2
- import { $ as a } from "../usePress-BW47IcyU.js";
1
+ import { L as e } from "../Link-Dnnv00g9.js";
2
+ import { $ as a } from "../usePress-B_jgTf4k.js";
3
3
  export {
4
4
  e as Link,
5
5
  a as RouterProvider
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-B6AWNiRn.cjs"),t=require("../usePress-BooY_CAy.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-BJA9_HzL.cjs"),t=require("../usePress-BOGIOlm8.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
@@ -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-DH3Nfdis.js";
2
+ import { $ as a } from "../usePress-B_jgTf4k.js";
3
3
  export {
4
4
  t as LinkButton,
5
5
  a as RouterProvider
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-C-Rz358T.cjs"),o=require("../ListBoxButton-BsuHFd_O.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 t=require("../ListBoxSection-DtsigmC1.cjs"),o=require("../ListBoxButton-C2zp-gXD.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
package/list-box/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cc2cx0_S.js";
2
- import { L as B } from "../ListBoxButton-DawRfuny.js";
1
+ import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cv-gN76G.js";
2
+ import { L as B } from "../ListBoxButton-DiseS_LX.js";
3
3
  export {
4
4
  s as ListBox,
5
5
  B as ListBoxButton,
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-BW5NXAdu.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-qkVS1MCN.js";
2
2
  export {
3
3
  L as Logo
4
4
  };
@@ -1,11 +1,11 @@
1
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";
2
+ import { a as y } from "./SSRProvider-D8lZ0o6A.js";
3
3
  import { c as x } from "./clsx-OuTLNxxd.js";
4
- const i = typeof document < "u" ? b.useLayoutEffect : () => {
4
+ const d = typeof document < "u" ? b.useLayoutEffect : () => {
5
5
  };
6
- function d(f) {
6
+ function i(f) {
7
7
  const e = a(null);
8
- return i(() => {
8
+ return d(() => {
9
9
  e.current = f;
10
10
  }, [
11
11
  f
@@ -15,7 +15,7 @@ function d(f) {
15
15
  }, []);
16
16
  }
17
17
  function m(f) {
18
- let [e, c] = $(f), n = a(null), t = d(() => {
18
+ let [e, c] = $(f), n = a(null), t = i(() => {
19
19
  if (!n.current) return;
20
20
  let r = n.current.next();
21
21
  if (r.done) {
@@ -24,10 +24,10 @@ function m(f) {
24
24
  }
25
25
  e === r.value ? t() : c(r.value);
26
26
  });
27
- i(() => {
27
+ d(() => {
28
28
  n.current && t();
29
29
  });
30
- let l = d((r) => {
30
+ let l = i((r) => {
31
31
  n.current = r(e), t();
32
32
  });
33
33
  return [
@@ -47,7 +47,7 @@ function v(f) {
47
47
  n
48
48
  ]);
49
49
  }
50
- return i(() => {
50
+ return d(() => {
51
51
  let r = t;
52
52
  return () => {
53
53
  o && o.unregister(l), u.delete(r);
@@ -78,7 +78,7 @@ function k(f = []) {
78
78
  e,
79
79
  n
80
80
  ]);
81
- return i(t, [
81
+ return d(t, [
82
82
  e,
83
83
  t,
84
84
  ...f
@@ -106,10 +106,10 @@ function C(...f) {
106
106
  return e;
107
107
  }
108
108
  export {
109
- i as $,
109
+ d as $,
110
110
  C as a,
111
111
  k as b,
112
112
  v as c,
113
- d,
113
+ i as d,
114
114
  I as e
115
115
  };
@@ -1 +1 @@
1
- "use strict";const l=require("react"),b=require("./SSRProvider-Bc-sMhsT.cjs"),p=require("./clsx-C11secjj.cjs"),a=typeof document<"u"?l.useLayoutEffect:()=>{};function i(r){const e=l.useRef(null);return a(()=>{e.current=r},[r]),l.useCallback((...c)=>{const f=e.current;return f==null?void 0:f(...c)},[])}function x(r){let[e,c]=l.useState(r),f=l.useRef(null),t=i(()=>{if(!f.current)return;let n=f.current.next();if(n.done){f.current=null;return}e===n.value?t():c(n.value)});a(()=>{f.current&&t()});let u=i(n=>{f.current=n(e),t()});return[e,u]}let y=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,d;typeof FinalizationRegistry<"u"&&(d=new FinalizationRegistry(r=>{o.delete(r)}));function $(r){let[e,c]=l.useState(r),f=l.useRef(null),t=b.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(d&&d.register(u,t),y){const n=o.get(t);n&&!n.includes(f)?n.push(f):o.set(t,[f])}return a(()=>{let n=t;return()=>{d&&d.unregister(u),o.delete(n)}},[t]),l.useEffect(()=>{let n=f.current;return n&&c(n),()=>{n&&(f.current=null)}}),t}function R(r,e){if(r===e)return r;let c=o.get(r);if(c)return c.forEach(t=>t.current=e),e;let f=o.get(e);return f?(f.forEach(t=>t.current=r),r):e}function v(r=[]){let e=$(),[c,f]=x(e),t=l.useCallback(()=>{f(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,f]);return a(t,[e,t,...r]),c}function s(...r){return(...e)=>{for(let c of r)typeof c=="function"&&c(...e)}}function g(...r){let e={...r[0]};for(let c=1;c<r.length;c++){let f=r[c];for(let t in f){let u=e[t],n=f[t];typeof u=="function"&&typeof n=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=s(u,n):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof n=="string"?e[t]=p.clsx(u,n):t==="id"&&u&&n?e.id=R(u,n):e[t]=n!==void 0?n:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=i;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=v;exports.$bdb11010cef70236$export$f680877a34711e37=$;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=a;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=s;
1
+ "use strict";const l=require("react"),b=require("./SSRProvider-DZRLwxPS.cjs"),p=require("./clsx-C11secjj.cjs"),a=typeof document<"u"?l.useLayoutEffect:()=>{};function i(r){const e=l.useRef(null);return a(()=>{e.current=r},[r]),l.useCallback((...c)=>{const f=e.current;return f==null?void 0:f(...c)},[])}function x(r){let[e,c]=l.useState(r),f=l.useRef(null),t=i(()=>{if(!f.current)return;let n=f.current.next();if(n.done){f.current=null;return}e===n.value?t():c(n.value)});a(()=>{f.current&&t()});let u=i(n=>{f.current=n(e),t()});return[e,u]}let y=!!(typeof window<"u"&&window.document&&window.document.createElement),o=new Map,d;typeof FinalizationRegistry<"u"&&(d=new FinalizationRegistry(r=>{o.delete(r)}));function $(r){let[e,c]=l.useState(r),f=l.useRef(null),t=b.$b5e257d569688ac6$export$619500959fc48b26(e),u=l.useRef(null);if(d&&d.register(u,t),y){const n=o.get(t);n&&!n.includes(f)?n.push(f):o.set(t,[f])}return a(()=>{let n=t;return()=>{d&&d.unregister(u),o.delete(n)}},[t]),l.useEffect(()=>{let n=f.current;return n&&c(n),()=>{n&&(f.current=null)}}),t}function R(r,e){if(r===e)return r;let c=o.get(r);if(c)return c.forEach(t=>t.current=e),e;let f=o.get(e);return f?(f.forEach(t=>t.current=r),r):e}function v(r=[]){let e=$(),[c,f]=x(e),t=l.useCallback(()=>{f(function*(){yield e,yield document.getElementById(e)?e:void 0})},[e,f]);return a(t,[e,t,...r]),c}function s(...r){return(...e)=>{for(let c of r)typeof c=="function"&&c(...e)}}function g(...r){let e={...r[0]};for(let c=1;c<r.length;c++){let f=r[c];for(let t in f){let u=e[t],n=f[t];typeof u=="function"&&typeof n=="function"&&t[0]==="o"&&t[1]==="n"&&t.charCodeAt(2)>=65&&t.charCodeAt(2)<=90?e[t]=s(u,n):(t==="className"||t==="UNSAFE_className")&&typeof u=="string"&&typeof n=="string"?e[t]=p.clsx(u,n):t==="id"&&u&&n?e.id=R(u,n):e[t]=n!==void 0?n:u}}return e}exports.$3ef42575df84b30b$export$9d1611c77c2fe928=g;exports.$8ae05eaa5c114e9c$export$7f54fc3180508a52=i;exports.$bdb11010cef70236$export$b4cc09c592e8fdb8=v;exports.$bdb11010cef70236$export$f680877a34711e37=$;exports.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c=a;exports.$ff5963eb1fccf552$export$e08e3b67e392101e=s;
package/modal/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-B3R3WtL5.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-DYK8lySl.cjs"),o=require("../Dialog-BT0tVGQb.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-BkUw6PlA.js";
2
- import { $ as g } from "../Dialog-DKHo0W9B.js";
1
+ import { M as a } from "../Dialog-L53DWF0Z.js";
2
+ import { $ as g } from "../Dialog-BuJdAr0D.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.1.0",
17
+ "version": "12.0.0",
18
18
  "main": "./index.cjs",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
@@ -46,6 +46,9 @@
46
46
  },
47
47
  "./global.css": {
48
48
  "import": "./assets/global.css"
49
+ },
50
+ "./theme.css": {
51
+ "import": "./assets/theme.css"
49
52
  }
50
53
  },
51
54
  "dependencies": {
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-C5chAY42.cjs");exports.Popover=e.Popover;
package/popover/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as e } from "../Popover-DHoXfBp2.js";
1
+ import { P as e } from "../Popover-viLqHHX2.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-D5mNQTID.cjs");exports.ProgressBar=r.ProgressBar;
@@ -1,4 +1,4 @@
1
- import { P as s } from "../ProgressBar-C0IBfi5I.js";
1
+ import { P as s } from "../ProgressBar-wQirOG1N.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-CxvJ5Wrl.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-B6N9dCtB.js";
1
+ import { R as r, a as R } from "../Radio-BIomn_sP.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-Ma3KB8Em.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-B0dlPqsW.js";
2
2
  export {
3
3
  a as SearchField
4
4
  };
package/select/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-DiCEyap1.cjs");exports.Select=e.Select;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-Go5x0zWl.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-DMVj2lrG.js";
1
+ import { S as r } from "../Select-769RSZ9V.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;
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-yHx_DX_4.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-AXFRWuT6.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-BhtlNY9P.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-B5Aine4F.js";
1
+ import { b as l, C as s, R as o, T as b, c as T, a as r } from "../Table-CTS0J_sQ.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-BkSWzbDG.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-Cqpup53E.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-QApx8qRC.js";
1
+ import { a as b, c as T, b as e, T as o } from "../TabList-0gj27e_e.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-DkW6zaIS.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-Byva_Xuy.js";
1
+ import { T as r, a as T } from "../Tag-B9M-nBTM.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-DA_gK6a2.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-BUDAzDjW.js";
2
2
  export {
3
3
  r as Text
4
4
  };
@@ -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-CSrrYY05.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-eK7Jx3qs.js";
1
+ import { I as s, b as t, a as x, T } from "../TextArea-DphcH6wE.js";
2
2
  export {
3
3
  s as Input,
4
4
  t as TextArea,
package/theme/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tokens-BF-dPard.cjs"),s={...e.tokens};exports.baseColors=e.baseColors;exports.breakpoints=e.breakpoints;exports.semantic=e.semantic;exports.spacing=e.spacing;exports.states=e.states;exports.transitions=e.transitions;exports.typography=e.typography;exports.windowSizes=e.windowSizes;exports.zIndex=e.zIndex;exports.theme=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../tokens-BWo7EvNX.cjs"),e={...s.tokens};exports.baseColors=s.baseColors;exports.breakpoints=s.breakpoints;exports.semantic=s.semantic;exports.sizing=s.sizing;exports.spacing=s.spacing;exports.states=s.states;exports.transitions=s.transitions;exports.typography=s.typography;exports.windowSizes=s.windowSizes;exports.zIndex=s.zIndex;exports.theme=e;
package/theme/index.d.ts CHANGED
@@ -47,6 +47,7 @@ export declare const theme: {
47
47
  signalGreen30: string;
48
48
  signalGreen100: string;
49
49
  signalYellow10: string;
50
+ signalYellow20: string;
50
51
  signalYellow100: string;
51
52
  signalRed10: string;
52
53
  signalRed20: string;
@@ -71,16 +72,16 @@ export declare const theme: {
71
72
  };
72
73
  typography: {
73
74
  fontFamily: string;
74
- lineHeight10: number;
75
- lineHeight20: number;
76
- lineHeight30: number;
77
- lineHeight40: number;
78
- lineHeight50: number;
79
- lineHeight60: number;
80
- lineHeight70: number;
81
- lineHeight80: number;
82
- lineHeight90: number;
83
- lineHeight100: number;
75
+ lineHeight10: string;
76
+ lineHeight20: string;
77
+ lineHeight30: string;
78
+ lineHeight40: string;
79
+ lineHeight50: string;
80
+ lineHeight60: string;
81
+ lineHeight70: string;
82
+ lineHeight80: string;
83
+ lineHeight90: string;
84
+ lineHeight100: string;
84
85
  fontSize10: string;
85
86
  fontSize20: string;
86
87
  fontSize30: string;
@@ -117,6 +118,7 @@ export declare const theme: {
117
118
  };
118
119
  states: {
119
120
  focus: string;
121
+ focusInset: string;
120
122
  };
121
123
  transitions: {
122
124
  slow: string;
@@ -170,7 +172,6 @@ export declare const theme: {
170
172
  fieldHover02: string;
171
173
  fieldActive02: string;
172
174
  fieldDisabled: string;
173
- fieldSkeleton: string;
174
175
  skeleton01: string;
175
176
  skeleton02: string;
176
177
  iconPrimary: string;
@@ -217,9 +218,11 @@ export declare const theme: {
217
218
  buttonBackgroundDangerHover: string;
218
219
  buttonBackgroundDangerActive: string;
219
220
  buttonBackgroundDisabled: string;
220
- buttonBackgroundSkeleton: string;
221
221
  buttonBorderSecondary: string;
222
+ buttonBackgroundIconHover: string;
223
+ buttonBackgroundIconActive: string;
222
224
  badgeBackground: string;
225
+ badgeLabel: string;
223
226
  calendarDateBackgroundHover: string;
224
227
  calendarDateBackgroundSelected: string;
225
228
  calendarDateBackgroundStartRange: string;
@@ -228,6 +231,7 @@ export declare const theme: {
228
231
  logoPrimary: string;
229
232
  menuItemBackgroundHover: string;
230
233
  menuItemBackgroundSelected: string;
234
+ menuTextSectionHeader: string;
231
235
  };
232
236
  zIndex: {
233
237
  base: number;
@@ -236,4 +240,25 @@ export declare const theme: {
236
240
  toast: number;
237
241
  skipToContent: number;
238
242
  };
243
+ sizing: {
244
+ '00': string;
245
+ '05': string;
246
+ '10': string;
247
+ '15': string;
248
+ '20': string;
249
+ '30': string;
250
+ '40': string;
251
+ '50': string;
252
+ '60': string;
253
+ '70': string;
254
+ '75': string;
255
+ '80': string;
256
+ '90': string;
257
+ '100': string;
258
+ '110': string;
259
+ '120': string;
260
+ '130': string;
261
+ '140': string;
262
+ '150': string;
263
+ };
239
264
  };
package/theme/index.js CHANGED
@@ -1,15 +1,16 @@
1
- import { t as s } from "../tokens-r1r3wC04.js";
2
- import { b as n, e as r, f as i, s as p, c as m, d as c, a as b, w as d, z as f } from "../tokens-r1r3wC04.js";
1
+ import { t as s } from "../tokens-BtEBd3jO.js";
2
+ import { b as i, e as n, f as r, g as p, s as m, c, d as g, a as z, w as b, z as d } from "../tokens-BtEBd3jO.js";
3
3
  const t = { ...s };
4
4
  export {
5
- n as baseColors,
6
- r as breakpoints,
7
- i as semantic,
8
- p as spacing,
9
- m as states,
5
+ i as baseColors,
6
+ n as breakpoints,
7
+ r as semantic,
8
+ p as sizing,
9
+ m as spacing,
10
+ c as states,
10
11
  t as theme,
11
- c as transitions,
12
- b as typography,
13
- d as windowSizes,
14
- f as zIndex
12
+ g as transitions,
13
+ z as typography,
14
+ b as windowSizes,
15
+ d as zIndex
15
16
  };