@midas-ds/components 10.3.0 → 10.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/AccordionItem-D2QYNgZS.cjs +1 -0
  2. package/{AccordionItem-ChHpW8EW.js → AccordionItem-oeN1Cc09.js} +41 -39
  3. package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D8ad6xvL.js} +77 -65
  4. package/Breadcrumbs-DkJIkGG5.cjs +1 -0
  5. package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
  6. package/Button-DExMoP5f.cjs +1 -0
  7. package/{Button-BoJl6JGM.cjs → Button-Dq6ugqxT.cjs} +1 -1
  8. package/{Button-Csih3v23.js → Button-DtSrCAf6.js} +2 -2
  9. package/Button.module-D-mPLRxe.js +14 -0
  10. package/Button.module-goCEz5qs.cjs +1 -0
  11. package/CHANGELOG.md +41 -0
  12. package/{Card-yrtGzt70.js → Card-BzJ_OEe6.js} +4 -4
  13. package/{Card-0G0mj9q5.cjs → Card-cdL5669N.cjs} +1 -1
  14. package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  15. package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
  16. package/Checkbox-Co3h0hur.cjs +1 -0
  17. package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
  18. package/CheckboxGroup-CcTfzurp.js +160 -0
  19. package/CheckboxGroup-DWxQTABg.cjs +1 -0
  20. package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
  21. package/Collection-BtBX5IMY.cjs +1 -0
  22. package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
  23. package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-y8qKczjQ.js} +53 -36
  24. package/{ComboBox-CVDyp2a-.js → ComboBox-CZyP8Dfh.js} +310 -299
  25. package/ComboBox-Dg2xhkLC.cjs +1 -0
  26. package/{DateField-DeDhiYnW.cjs → DateField-1w5J_iyF.cjs} +1 -1
  27. package/{DateField-DhU3q-rG.js → DateField-BTROlenJ.js} +4 -4
  28. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  29. package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
  30. package/DateRangePicker-CX3830ZF.cjs +6 -0
  31. package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-DmZP9laM.js} +120 -117
  32. package/Dialog-0ZBhhPyd.js +221 -0
  33. package/Dialog-CSnN6baf.cjs +1 -0
  34. package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
  35. package/Dialog-DnMwnqiC.cjs +1 -0
  36. package/DragAndDrop-BoEd260f.cjs +1 -0
  37. package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
  38. package/{Dropdown-Df58j43I.js → Dropdown-BEAMfAxj.js} +19 -19
  39. package/Dropdown-By91MEV2.cjs +6 -0
  40. package/FieldError-B3YFj-an.js +23 -0
  41. package/FieldError-BbR-29BM.js +28 -0
  42. package/FieldError-MVsU-Mgw.cjs +1 -0
  43. package/FieldError-bRTpchvr.cjs +1 -0
  44. package/{FileUpload-D6qoEAjn.js → FileUpload-DvQdIZ6k.js} +496 -475
  45. package/{FileUpload-CxCOtyB9.cjs → FileUpload-vf0oJd0K.cjs} +2 -2
  46. package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
  47. package/FocusScope-vcXLOQiu.cjs +1 -0
  48. package/Group-CpkUzEAs.js +45 -0
  49. package/Group-DOpbdoAi.cjs +1 -0
  50. package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
  51. package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
  52. package/InfoBanner-CzwbOdRG.cjs +1 -0
  53. package/{InfoBanner-BLM-TJJ6.js → InfoBanner-yj90XVEP.js} +47 -39
  54. package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
  55. package/Input-MJji5hhq.cjs +1 -0
  56. package/Label-D2GmP8_2.js +78 -0
  57. package/Label-E3LhQfNv.cjs +1 -0
  58. package/Layout-BMNgqjXv.js +498 -0
  59. package/Layout-Ri7XQHFp.cjs +16 -0
  60. package/Link-BCVI5W_i.js +59 -0
  61. package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
  62. package/Link-CVvnCOGP.cjs +6 -0
  63. package/Link-CidjjqHb.cjs +1 -0
  64. package/LinkButton-B6AWNiRn.cjs +6 -0
  65. package/LinkButton-Cui-gvAk.js +69 -0
  66. package/ListBox-BCz5-23H.cjs +1 -0
  67. package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
  68. package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
  69. package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  70. package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
  71. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  72. package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
  73. package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
  74. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  75. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  76. package/Logo-BpH0HC91.cjs +1 -0
  77. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  78. package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
  79. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  80. package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
  81. package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
  82. package/{ProgressBar-DMSg-Prr.js → ProgressBar-Bpq-hyZa.js} +2 -2
  83. package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-D4lOEhAh.cjs} +1 -1
  84. package/{Radio-Cz29wPXd.js → Radio-BPcq9kW5.js} +50 -47
  85. package/Radio-CwNbUGah.cjs +1 -0
  86. package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-6miAJVoO.js} +349 -342
  87. package/RangeCalendar-CAI1PRDo.cjs +11 -0
  88. package/SSRProvider-40TXmsUG.js +50 -0
  89. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  90. package/SearchField-CDyD5iWr.js +371 -0
  91. package/SearchField-DEoGi9xv.cjs +6 -0
  92. package/Select-B2wYDnAU.js +665 -0
  93. package/Select-nRN944QZ.cjs +1 -0
  94. package/SelectionManager-D0jYUYcy.cjs +1 -0
  95. package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
  96. package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
  97. package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
  98. package/Spinner-VSyPhiJ9.js +51 -0
  99. package/Spinner-vof0Y9Hh.cjs +6 -0
  100. package/TabList-CheXtBJm.cjs +1 -0
  101. package/TabList-D0qzIjSx.js +435 -0
  102. package/Table-DAhnYYIA.cjs +16 -0
  103. package/{Table-F4oYBtUM.js → Table-zKvjzd9t.js} +66 -64
  104. package/{Tag-Du7GvSv2.js → Tag-BoqT5nbh.js} +142 -140
  105. package/Tag-t-aJVo3W.cjs +1 -0
  106. package/Text-92cPh38G.js +15 -0
  107. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  108. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  109. package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
  110. package/TextArea-B5und61h.cjs +1 -0
  111. package/TextArea-Pxr-eLXe.js +119 -0
  112. package/TextField-BdK9KEQ5.cjs +1 -0
  113. package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
  114. package/Toast-DdmSvNaO.cjs +1 -0
  115. package/{Toast-Btg21Xge.js → Toast-DfKiA5hp.js} +79 -72
  116. package/ToggleButtonGroup-DZ_wo0qx.cjs +1 -0
  117. package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-DhlfvYGg.js} +47 -46
  118. package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
  119. package/Tooltip-pN5W3IK6.cjs +1 -0
  120. package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
  121. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  122. package/accordion/index.cjs +1 -1
  123. package/accordion/index.js +1 -1
  124. package/arrow-right-BGd86zzR.cjs +6 -0
  125. package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/LinkButton.css +1 -1
  130. package/assets/RangeCalendar.css +1 -1
  131. package/assets/SearchField.css +1 -1
  132. package/assets/Spinner.css +1 -1
  133. package/assets/TabList.css +1 -0
  134. package/assets/Tag.css +1 -1
  135. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  136. package/breadcrumbs/index.cjs +1 -1
  137. package/breadcrumbs/index.d.ts +1 -1
  138. package/breadcrumbs/index.js +1 -1
  139. package/button/index.cjs +1 -1
  140. package/button/index.js +1 -1
  141. package/calendar/CalendarGrid.d.ts +1 -0
  142. package/calendar/index.cjs +1 -1
  143. package/calendar/index.js +1 -1
  144. package/card/Card.d.ts +1 -1
  145. package/card/index.cjs +1 -1
  146. package/card/index.js +1 -1
  147. package/character-counter/index.cjs +1 -1
  148. package/character-counter/index.js +1 -1
  149. package/check-B0aKTFe5.cjs +6 -0
  150. package/check-B5h1DvDs.js +11 -0
  151. package/checkbox/Checkbox.d.ts +3 -1
  152. package/checkbox/index.cjs +1 -1
  153. package/checkbox/index.js +2 -2
  154. package/checkbox/intl/translations.json.d.ts +2 -30
  155. package/checkbox/types.d.ts +3 -1
  156. package/chevron-down-5hFlg_lR.cjs +6 -0
  157. package/chevron-down-DmZMdOiC.js +11 -0
  158. package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
  159. package/circle-check-OVUGxwp9.cjs +11 -0
  160. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  161. package/color-scheme-switch/index.cjs +1 -1
  162. package/color-scheme-switch/index.js +1 -1
  163. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  164. package/combobox/index.cjs +1 -1
  165. package/combobox/index.js +1 -1
  166. package/combobox/intl/translations.json.d.ts +11 -0
  167. package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
  168. package/context-Df3XbgBG.cjs +1 -0
  169. package/createLucideIcon-CTVXwe6i.cjs +21 -0
  170. package/createLucideIcon-XRdN60yz.js +94 -0
  171. package/date-field/index.cjs +1 -1
  172. package/date-field/index.js +2 -2
  173. package/date-picker/index.cjs +1 -1
  174. package/date-picker/index.js +1 -1
  175. package/dropdown/index.cjs +1 -1
  176. package/dropdown/index.js +1 -1
  177. package/field-error/index.cjs +1 -1
  178. package/field-error/index.js +1 -1
  179. package/file-upload/FileUpload.d.ts +1 -0
  180. package/file-upload/index.cjs +1 -1
  181. package/file-upload/index.js +1 -1
  182. package/file-upload/intl/translations.json.d.ts +17 -0
  183. package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
  184. package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  185. package/heading/index.cjs +1 -1
  186. package/heading/index.js +1 -1
  187. package/index.cjs +1 -1
  188. package/index.js +100 -97
  189. package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
  190. package/info-Dj6SyPex.cjs +6 -0
  191. package/info-banner/index.cjs +1 -1
  192. package/info-banner/index.js +1 -1
  193. package/info-banner/intl/translations.json.d.ts +11 -0
  194. package/label/index.cjs +1 -1
  195. package/label/index.js +1 -1
  196. package/label/intl/translations.json.d.ts +11 -0
  197. package/layout/Layout.d.ts +1 -0
  198. package/layout/context/LayoutContext.d.ts +1 -0
  199. package/layout/index.cjs +1 -1
  200. package/layout/index.js +1 -1
  201. package/layout/intl/translations.json.d.ts +23 -0
  202. package/link/Link.d.ts +1 -1
  203. package/link/index.cjs +1 -1
  204. package/link/index.js +2 -2
  205. package/link-button/LinkButton.d.ts +1 -1
  206. package/link-button/index.cjs +1 -1
  207. package/link-button/index.js +2 -2
  208. package/list-box/index.cjs +1 -1
  209. package/list-box/index.js +2 -2
  210. package/logo/index.cjs +1 -1
  211. package/logo/index.js +1 -1
  212. package/logo/intl/translations.json.d.ts +11 -0
  213. package/mergeProps-B5KXZAI3.cjs +1 -0
  214. package/mergeProps-C1U1OIeJ.js +115 -0
  215. package/modal/index.cjs +1 -1
  216. package/modal/index.js +2 -2
  217. package/modal/intl/translations.json.d.ts +11 -0
  218. package/package.json +1 -1
  219. package/popover/index.cjs +1 -1
  220. package/popover/index.js +1 -1
  221. package/progress-bar/index.cjs +1 -1
  222. package/progress-bar/index.js +1 -1
  223. package/radio/Radio.d.ts +1 -4
  224. package/radio/index.cjs +1 -1
  225. package/radio/index.js +1 -1
  226. package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
  227. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  228. package/search-field/index.cjs +1 -1
  229. package/search-field/index.js +1 -1
  230. package/search-field/intl/translations.json.d.ts +11 -0
  231. package/select/index.cjs +1 -1
  232. package/select/index.js +1 -1
  233. package/select/intl/translations.json.d.ts +17 -0
  234. package/spinner/Spinner.d.ts +1 -0
  235. package/spinner/index.cjs +1 -1
  236. package/spinner/index.js +1 -1
  237. package/spinner/intl/translations.json.d.ts +11 -0
  238. package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
  239. package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
  240. package/table/index.cjs +1 -1
  241. package/table/index.js +1 -1
  242. package/tabs/Tab.d.ts +4 -0
  243. package/tabs/TabList.d.ts +3 -0
  244. package/tabs/TabPanel.d.ts +4 -0
  245. package/tabs/Tabs.d.ts +11 -5
  246. package/tabs/index.cjs +1 -1
  247. package/tabs/index.d.ts +3 -0
  248. package/tabs/index.js +5 -2
  249. package/tag/index.cjs +1 -1
  250. package/tag/index.js +1 -1
  251. package/text/index.cjs +1 -1
  252. package/text/index.js +1 -1
  253. package/textfield/index.cjs +1 -1
  254. package/textfield/index.js +1 -1
  255. package/textfield/intl/translations.json.d.ts +0 -72
  256. package/theme/index.cjs +1 -1
  257. package/theme/index.d.ts +5 -0
  258. package/theme/index.js +2 -2
  259. package/theme/tokens.d.ts +5 -0
  260. package/toast/Toast.d.ts +5 -2
  261. package/toast/index.cjs +1 -1
  262. package/toast/index.js +1 -1
  263. package/toggle-button/index.cjs +1 -1
  264. package/toggle-button/index.js +1 -1
  265. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  266. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  267. package/tooltip/index.cjs +1 -1
  268. package/tooltip/index.js +1 -1
  269. package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
  270. package/triangle-alert-BviJNFjf.cjs +6 -0
  271. package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
  272. package/useButton-D60q0SQw.cjs +1 -0
  273. package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  274. package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
  275. package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
  276. package/useEvent-DPxMu-X9.cjs +1 -0
  277. package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
  278. package/useField-D1UkzeaI.cjs +1 -0
  279. package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
  280. package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
  281. package/useFocusRing-B-A1OLhU.cjs +1 -0
  282. package/useFocusRing-DOfBqnUN.js +33 -0
  283. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  284. package/useFocusWithin-T1ifEM_s.js +54 -0
  285. package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
  286. package/useFocusable-D7I1ujkW.cjs +1 -0
  287. package/useFormValidation-BlFGdPZB.cjs +1 -0
  288. package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
  289. package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  290. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  291. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  292. package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
  293. package/useHover-BE_XKZKe.cjs +1 -0
  294. package/useHover-DQvJ3Y-W.js +262 -0
  295. package/useLabels-CSU0kbtJ.cjs +1 -0
  296. package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
  297. package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
  298. package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
  299. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  300. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  301. package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
  302. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  303. package/usePress-BooY_CAy.cjs +7 -0
  304. package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
  305. package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  306. package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  307. package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
  308. package/useTextField-DnRrCg5o.cjs +1 -0
  309. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  310. package/utils-CoCR_Fce.js +234 -0
  311. package/utils-DHNZrQmj.cjs +1 -0
  312. package/utils-DJhAJHk_.js +152 -0
  313. package/utils-Dvdohqm9.cjs +1 -0
  314. package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
  315. package/x-rV-nu490.cjs +6 -0
  316. package/AccordionItem-BGWiWjxA.cjs +0 -1
  317. package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
  318. package/Button-htW9qIsS.cjs +0 -1
  319. package/Button.module-DEQtBYe5.cjs +0 -1
  320. package/Button.module-tti8HGxs.js +0 -14
  321. package/Checkbox-DqcPg5hz.cjs +0 -1
  322. package/CheckboxGroup-BBrSMuDY.cjs +0 -1
  323. package/CheckboxGroup-CLgixk2p.js +0 -243
  324. package/Collection-BIDsXNhi.cjs +0 -1
  325. package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
  326. package/ComboBox-CWJUg9Xx.cjs +0 -1
  327. package/DateInputDivider-ADvOavHw.cjs +0 -1
  328. package/DateRangePicker-BsAHhy99.cjs +0 -6
  329. package/Dialog-B8GTYbvu.cjs +0 -1
  330. package/Dialog-BOrYdX50.cjs +0 -1
  331. package/Dialog-CXNu48AC.js +0 -208
  332. package/DragAndDrop-DNth776R.cjs +0 -1
  333. package/Dropdown-CJ6My6EI.cjs +0 -6
  334. package/FieldError-CAcjosk_.js +0 -46
  335. package/FieldError-CKBb2-mp.cjs +0 -1
  336. package/FocusScope-5c9SVBcR.cjs +0 -1
  337. package/Group-B6EslsHZ.js +0 -44
  338. package/Group-CgiqQHH1.cjs +0 -1
  339. package/InfoBanner-C2kTIsrB.cjs +0 -1
  340. package/Input-DKSAYvsw.cjs +0 -1
  341. package/Label-7Ybb99CE.cjs +0 -1
  342. package/Label-BwJrdqEE.js +0 -70
  343. package/Layout-1g6bMH62.cjs +0 -16
  344. package/Layout-Ey8flY7E.js +0 -468
  345. package/Link-B88l_oaE.cjs +0 -6
  346. package/Link-BQhauBuw.cjs +0 -1
  347. package/Link-DX5BbBnn.js +0 -59
  348. package/LinkButton-CBpGLETx.cjs +0 -6
  349. package/LinkButton-o6uS1XsR.js +0 -69
  350. package/ListBox-DP9M4H6R.cjs +0 -1
  351. package/ListBoxSection-BGaigBnG.cjs +0 -1
  352. package/Logo-DT2_2O43.cjs +0 -1
  353. package/OverlayArrow-D75k-EMl.cjs +0 -1
  354. package/Radio-BwqrdhQE.cjs +0 -1
  355. package/RangeCalendar-BehUaydF.cjs +0 -11
  356. package/SearchField-CxMwDeUM.cjs +0 -6
  357. package/SearchField-IlvZ3Kh6.js +0 -362
  358. package/Select-2q1iSzAX.cjs +0 -1
  359. package/Select-BVQZtoi9.js +0 -646
  360. package/SelectionManager-CwYux2h3.cjs +0 -1
  361. package/Spinner-D31SXm-U.js +0 -41
  362. package/Spinner-P35rvvsl.cjs +0 -6
  363. package/Table-B40CGLT-.cjs +0 -16
  364. package/Tabs-B4oZJkZG.js +0 -404
  365. package/Tabs-DA2qXhzb.cjs +0 -1
  366. package/Tag-DPAGmcMK.cjs +0 -1
  367. package/Text-BoXuUVVH.js +0 -15
  368. package/TextArea-C7JZ_pQd.cjs +0 -1
  369. package/TextArea-XeBCSyzl.js +0 -191
  370. package/TextField-BgNdhZi_.cjs +0 -1
  371. package/Toast-AbDA1BOs.cjs +0 -1
  372. package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
  373. package/Tooltip-DeBuBKhS.cjs +0 -1
  374. package/VisuallyHidden-CLWHbz2n.cjs +0 -1
  375. package/arrow-right-QJ2gXPKQ.cjs +0 -6
  376. package/assets/Tabs.css +0 -1
  377. package/check-CLF6Yxza.js +0 -11
  378. package/check-D_KoootC.cjs +0 -6
  379. package/chevron-down-Cd1bkzXT.js +0 -13
  380. package/chevron-down-jl83cllc.cjs +0 -6
  381. package/circle-check-BGo8gML8.cjs +0 -11
  382. package/context-DjwhtgxQ.cjs +0 -1
  383. package/createLucideIcon-Cg_wkoIA.cjs +0 -21
  384. package/createLucideIcon-DeWljiyi.js +0 -79
  385. package/info-CIEIENo6.cjs +0 -6
  386. package/scrollIntoView-C8doLzDd.cjs +0 -1
  387. package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
  388. package/triangle-alert-DJW8U7jL.cjs +0 -6
  389. package/useButton-cpNi-fY4.cjs +0 -1
  390. package/useEvent-DxBxMX2V.cjs +0 -1
  391. package/useField-CXKYU74k.cjs +0 -1
  392. package/useFocusRing-CbImDrwF.cjs +0 -1
  393. package/useFocusRing-XnR3cZjO.js +0 -82
  394. package/useFocusable-NUVSFcRC.cjs +0 -1
  395. package/useFormValidation-ClximP89.cjs +0 -1
  396. package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
  397. package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
  398. package/useHover-DjIHtjGN.js +0 -490
  399. package/useHover-_mv5J4_q.cjs +0 -1
  400. package/useLabels-BLOfc6Y-.cjs +0 -1
  401. package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
  402. package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
  403. package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
  404. package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
  405. package/usePress-0AjDbW9R.cjs +0 -7
  406. package/useTextField--czJtyNd.cjs +0 -1
  407. package/utils-BNtZbAib.cjs +0 -1
  408. package/utils-DIMfEPAt.js +0 -308
  409. package/x-H8Zrx8-x.cjs +0 -6
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "close": "Close"
4
+ },
5
+ "sv": {
6
+ "close": "Stäng"
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
package/label/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-7Ybb99CE.cjs");exports.Label=e.Label;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-E3LhQfNv.cjs");exports.Label=e.Label;
package/label/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as o } from "../Label-BwJrdqEE.js";
1
+ import { L as o } from "../Label-D2GmP8_2.js";
2
2
  export {
3
3
  o as Label
4
4
  };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "moreInfo": "More info"
4
+ },
5
+ "sv": {
6
+ "moreInfo": "Mer information"
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
@@ -53,6 +53,7 @@ export interface MidasLayout {
53
53
  */
54
54
  clientSideHref?: (href: Href) => string;
55
55
  variant: 'internal' | 'external';
56
+ className?: string;
56
57
  }
57
58
  export declare const Layout: React.FC<MidasLayout> & {
58
59
  Provider: typeof LayoutProvider;
@@ -14,6 +14,7 @@ interface LayoutContextProps {
14
14
  clientSideRouter?: (path: string, routerOptions: undefined) => void;
15
15
  clientSideHref?: (href: Href) => string;
16
16
  variant: 'internal' | 'external';
17
+ id: string;
17
18
  }
18
19
  export declare const LayoutProvider: React.FC<LayoutContextProps & {
19
20
  children: React.ReactNode;
package/layout/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-1g6bMH62.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-Ri7XQHFp.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-Ey8flY7E.js";
1
+ import { H as e, L as s, N as b, S as d, a as i } from "../Layout-BMNgqjXv.js";
2
2
  export {
3
3
  e as Header,
4
4
  s as Layout,
@@ -0,0 +1,23 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "closeMenu": "Close menu",
4
+ "openMenu": "Open menu",
5
+ "maximizeMenu": "Maximize menu",
6
+ "minimizeMenu": "Minimize menu",
7
+ "sidebarMenu": "Sidebar menu",
8
+ "bottomMenu": "Bottom menu",
9
+ "skipToContent": "Skip to main content"
10
+ },
11
+ "sv": {
12
+ "closeMenu": "Stäng meny",
13
+ "openMenu": "Öppna meny",
14
+ "maximizeMenu": "Maximera meny",
15
+ "minimizeMenu": "Minimera meny",
16
+ "sidebarMenu": "Sidomeny",
17
+ "bottomMenu": "Bottenmeny",
18
+ "skipToContent": "Hoppa till huvudinnehåll"
19
+ }
20
+ }
21
+ ;
22
+
23
+ export default _default;
package/link/Link.d.ts CHANGED
@@ -15,5 +15,5 @@ interface MidasLinkProps<C extends React.ElementType> {
15
15
  as?: C;
16
16
  }
17
17
  export type LinkProps<C extends React.ElementType> = MidasLinkProps<C> & Omit<React.ComponentProps<C>, keyof MidasLinkProps<C>>;
18
- export declare const Link: <C extends React.ElementType = (props: import('react-aria-components').LinkProps & React.RefAttributes<HTMLAnchorElement>) => React.ReactElement | null>({ children, standalone, target, stretched, download, icon: IconComponent, className, as, ...rest }: LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const Link: <C extends React.ElementType = typeof AriaLink>({ children, standalone, target, stretched, download, icon: IconComponent, className, as, ...rest }: LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
19
19
  export { RouterProvider };
package/link/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-B88l_oaE.cjs"),r=require("../usePress-0AjDbW9R.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-CVvnCOGP.cjs"),r=require("../usePress-BooY_CAy.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-DX5BbBnn.js";
2
- import { $ as a } from "../usePress-CNjmDzap.js";
1
+ import { L as e } from "../Link-BCVI5W_i.js";
2
+ import { $ as a } from "../usePress-DuR4pVsE.js";
3
3
  export {
4
4
  e as Link,
5
5
  a as RouterProvider
@@ -37,5 +37,5 @@ export type LinkButtonProps<C extends React.ElementType> = MidasLinkProps<C> & O
37
37
  /**
38
38
  * A link to be used when a user expects a button but web technologies force us to use a a-tag
39
39
  * */
40
- export declare const LinkButton: <C extends React.ElementType = (props: import('react-aria-components').LinkProps & React.RefAttributes<HTMLAnchorElement>) => React.ReactElement | null>({ children, variant, fullwidth, icon: IconComponent, iconPlacement, className, as, size, ...rest }: LinkButtonProps<C>) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const LinkButton: <C extends React.ElementType = typeof AriaLink>({ children, variant, fullwidth, icon: IconComponent, iconPlacement, className, as, size, ...rest }: LinkButtonProps<C>) => import("react/jsx-runtime").JSX.Element;
41
41
  export { RouterProvider };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-CBpGLETx.cjs"),t=require("../usePress-0AjDbW9R.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-B6AWNiRn.cjs"),t=require("../usePress-BooY_CAy.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
@@ -1,5 +1,5 @@
1
- import { L as t } from "../LinkButton-o6uS1XsR.js";
2
- import { $ as a } from "../usePress-CNjmDzap.js";
1
+ import { L as t } from "../LinkButton-Cui-gvAk.js";
2
+ import { $ as a } from "../usePress-DuR4pVsE.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-BGaigBnG.cjs"),o=require("../ListBoxButton-DPBrtXyv.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-CfQZoURJ.cjs"),o=require("../ListBoxButton-DNm3gvcT.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-C0BGnpB4.js";
2
- import { L as B } from "../ListBoxButton-D_J3jlP0.js";
1
+ import { L as s, a as x, b as L, c as a } from "../ListBoxSection-BVR2xtOH.js";
2
+ import { L as B } from "../ListBoxButton-C_krklY0.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-DT2_2O43.cjs");exports.Logo=o.Logo;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-BpH0HC91.cjs");exports.Logo=o.Logo;
package/logo/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L } from "../Logo-BIrOEINM.js";
1
+ import { L } from "../Logo-ME4ffCue.js";
2
2
  export {
3
3
  L as Logo
4
4
  };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "logotype": "Logotype of the Swedish Migration Agency"
4
+ },
5
+ "sv": {
6
+ "logotype": "Migrationsverkets logotyp"
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
@@ -0,0 +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;
@@ -0,0 +1,115 @@
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 : () => {
5
+ };
6
+ function d(f) {
7
+ const e = a(null);
8
+ return i(() => {
9
+ e.current = f;
10
+ }, [
11
+ f
12
+ ]), s((...c) => {
13
+ const n = e.current;
14
+ return n == null ? void 0 : n(...c);
15
+ }, []);
16
+ }
17
+ function m(f) {
18
+ let [e, c] = $(f), n = a(null), t = d(() => {
19
+ if (!n.current) return;
20
+ let r = n.current.next();
21
+ if (r.done) {
22
+ n.current = null;
23
+ return;
24
+ }
25
+ e === r.value ? t() : c(r.value);
26
+ });
27
+ i(() => {
28
+ n.current && t();
29
+ });
30
+ let l = d((r) => {
31
+ n.current = r(e), t();
32
+ });
33
+ return [
34
+ e,
35
+ l
36
+ ];
37
+ }
38
+ let g = !!(typeof window < "u" && window.document && window.document.createElement), u = /* @__PURE__ */ new Map(), o;
39
+ typeof FinalizationRegistry < "u" && (o = new FinalizationRegistry((f) => {
40
+ u.delete(f);
41
+ }));
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, [
47
+ n
48
+ ]);
49
+ }
50
+ return i(() => {
51
+ let r = t;
52
+ return () => {
53
+ o && o.unregister(l), u.delete(r);
54
+ };
55
+ }, [
56
+ t
57
+ ]), p(() => {
58
+ let r = n.current;
59
+ return r && c(r), () => {
60
+ r && (n.current = null);
61
+ };
62
+ }), t;
63
+ }
64
+ function w(f, e) {
65
+ if (f === e) return f;
66
+ let c = u.get(f);
67
+ if (c)
68
+ return c.forEach((t) => t.current = e), e;
69
+ let n = u.get(e);
70
+ return n ? (n.forEach((t) => t.current = f), f) : e;
71
+ }
72
+ function k(f = []) {
73
+ let e = v(), [c, n] = m(e), t = s(() => {
74
+ n(function* () {
75
+ yield e, yield document.getElementById(e) ? e : void 0;
76
+ });
77
+ }, [
78
+ e,
79
+ n
80
+ ]);
81
+ return i(t, [
82
+ e,
83
+ t,
84
+ ...f
85
+ ]), c;
86
+ }
87
+ function I(...f) {
88
+ return (...e) => {
89
+ for (let c of f) typeof c == "function" && c(...e);
90
+ };
91
+ }
92
+ function C(...f) {
93
+ let e = {
94
+ ...f[0]
95
+ };
96
+ for (let c = 1; c < f.length; c++) {
97
+ let n = f[c];
98
+ 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
+ t[0] === "o" && t[1] === "n" && t.charCodeAt(2) >= /* 'A' */
102
+ 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;
104
+ }
105
+ }
106
+ return e;
107
+ }
108
+ export {
109
+ i as $,
110
+ C as a,
111
+ k as b,
112
+ v as c,
113
+ d,
114
+ I as e
115
+ };
package/modal/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-BOrYdX50.cjs"),o=require("../Dialog-B8GTYbvu.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-DnMwnqiC.cjs"),o=require("../Dialog-CSnN6baf.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-CXNu48AC.js";
2
- import { $ as g } from "../Dialog-D14MbJ7o.js";
1
+ import { M as a } from "../Dialog-0ZBhhPyd.js";
2
+ import { $ as g } from "../Dialog-CtVrVuMr.js";
3
3
  export {
4
4
  g as DialogTrigger,
5
5
  a as Modal
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "close": "Close"
4
+ },
5
+ "sv": {
6
+ "close": "Stäng"
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
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": "10.3.0",
17
+ "version": "10.4.1",
18
18
  "main": "./index.cjs",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
package/popover/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CqNWzPf-.cjs");exports.Popover=e.Popover;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CnAsw3wI.cjs");exports.Popover=e.Popover;
package/popover/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as e } from "../Popover-BGGXeD54.js";
1
+ import { P as e } from "../Popover-C8VY1YKi.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-Jbg28j2a.cjs");exports.ProgressBar=r.ProgressBar;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-D4lOEhAh.cjs");exports.ProgressBar=r.ProgressBar;
@@ -1,4 +1,4 @@
1
- import { P as s } from "../ProgressBar-DMSg-Prr.js";
1
+ import { P as s } from "../ProgressBar-Bpq-hyZa.js";
2
2
  export {
3
3
  s as ProgressBar
4
4
  };
package/radio/Radio.d.ts CHANGED
@@ -17,8 +17,5 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
17
17
  * RadioGroup is used to group several radio items together
18
18
  */
19
19
  export declare const RadioGroup: React.FC<MVDSRadioGroupProps>;
20
- /**
21
- * Radio item
22
- * */
23
- export declare const Radio: (props: RadioProps) => import("react/jsx-runtime").JSX.Element;
20
+ export declare const Radio: ({ className, ...rest }: RadioProps) => import("react/jsx-runtime").JSX.Element;
24
21
  export {};
package/radio/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-BwqrdhQE.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-CwNbUGah.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-Cz29wPXd.js";
1
+ import { R as r, a as R } from "../Radio-BPcq9kW5.js";
2
2
  export {
3
3
  r as Radio,
4
4
  R as RadioGroup
@@ -1,4 +1,4 @@
1
- import { $ as T } from "./utils-DIMfEPAt.js";
1
+ import { $ as T } from "./mergeProps-C1U1OIeJ.js";
2
2
  import { useState as y } from "react";
3
3
  function W(e, o) {
4
4
  if (!e) return !1;
@@ -0,0 +1 @@
1
+ "use strict";const W=require("./mergeProps-B5KXZAI3.cjs"),I=require("react");function C(e,o){if(!e)return!1;let l=window.getComputedStyle(e),t=/(auto|scroll)/.test(l.overflow+l.overflowX+l.overflowY);return t&&o&&(t=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),t}function S(e,o){const l=[];for(;e&&e!==document.documentElement;)C(e,o)&&l.push(e),e=e.parentElement;return l}let R=0;const u=new Map;function k(e){let[o,l]=I.useState();return W.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{if(!e)return;let t=u.get(e);if(t)l(t.element.id);else{let d=`react-aria-description-${R++}`;l(d);let f=document.createElement("div");f.id=d,f.style.display="none",f.textContent=e,document.body.appendChild(f),t={refCount:0,element:f},u.set(e,t)}return t.refCount++,()=>{t&&--t.refCount===0&&(t.element.remove(),u.delete(e))}},[e]),{"aria-describedby":e?o:void 0}}function L(e,o){let l=g(e,o,"left"),t=g(e,o,"top"),d=o.offsetWidth,f=o.offsetHeight,r=e.scrollLeft,n=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:a,scrollPaddingRight:s,scrollPaddingBottom:T,scrollPaddingLeft:m}=getComputedStyle(e),y=r+parseInt(i,10),b=n+parseInt(c,10),$=y+e.clientWidth,p=b+e.clientHeight,v=parseInt(a,10)||0,P=parseInt(T,10)||0,h=parseInt(s,10)||0,x=parseInt(m,10)||0;l<=r+x?r=l-parseInt(i,10)-x:l+d>$-h&&(r+=l+d-$+h),t<=b+v?n=t-parseInt(c,10)-v:t+f>p-P&&(n+=t+f-p+P),e.scrollLeft=r,e.scrollTop=n}function g(e,o,l){const t=l==="left"?"offsetLeft":"offsetTop";let d=0;for(;o.offsetParent&&(d+=o[t],o.offsetParent!==e);){if(o.offsetParent.contains(e)){d-=e[t];break}o=o.offsetParent}return d}function B(e,o){if(e&&document.contains(e)){let r=document.scrollingElement||document.documentElement;if(window.getComputedStyle(r).overflow==="hidden"){let c=S(e);for(let i of c)L(i,e)}else{var l;let{left:c,top:i}=e.getBoundingClientRect();e==null||(l=e.scrollIntoView)===null||l===void 0||l.call(e,{block:"nearest"});let{left:a,top:s}=e.getBoundingClientRect();if(Math.abs(c-a)>1||Math.abs(i-s)>1){var t,d,f;o==null||(d=o.containingElement)===null||d===void 0||(t=d.scrollIntoView)===null||t===void 0||t.call(d,{block:"center",inline:"center"}),(f=e.scrollIntoView)===null||f===void 0||f.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=B;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=C;exports.$ef06256079686ba0$export$f8aeda7b10753fa1=k;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-CxMwDeUM.cjs");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-DEoGi9xv.cjs");exports.SearchField=e.SearchField;
@@ -1,4 +1,4 @@
1
- import { S as a } from "../SearchField-IlvZ3Kh6.js";
1
+ import { S as a } from "../SearchField-CDyD5iWr.js";
2
2
  export {
3
3
  a as SearchField
4
4
  };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "search": "Search"
4
+ },
5
+ "sv": {
6
+ "search": "Sök"
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
package/select/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-2q1iSzAX.cjs");exports.Select=e.Select;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-nRN944QZ.cjs");exports.Select=e.Select;
package/select/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "../Select-BVQZtoi9.js";
1
+ import { S as r } from "../Select-B2wYDnAU.js";
2
2
  export {
3
3
  r as Select
4
4
  };
@@ -0,0 +1,17 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "clearAll": "Clear all",
4
+ "selectAll": "Select all",
5
+ "selectedItems": "Selected items",
6
+ "chosen": "chosen"
7
+ },
8
+ "sv": {
9
+ "clearAll": "Rensa alla",
10
+ "selectAll": "Välj alla",
11
+ "selectedItems": "Valda objekt",
12
+ "chosen": "valda"
13
+ }
14
+ }
15
+ ;
16
+
17
+ export default _default;
@@ -7,5 +7,6 @@ export interface SpinnerProps {
7
7
  * @default false
8
8
  */
9
9
  isOnColor?: boolean;
10
+ className?: string;
10
11
  }
11
12
  export declare const Spinner: React.FC<SpinnerProps>;
package/spinner/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-P35rvvsl.cjs");exports.Spinner=e.Spinner;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-vof0Y9Hh.cjs");exports.Spinner=e.Spinner;
package/spinner/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as n } from "../Spinner-D31SXm-U.js";
1
+ import { S as n } from "../Spinner-VSyPhiJ9.js";
2
2
  export {
3
3
  n as Spinner
4
4
  };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ "en": {
3
+ "loadingPleaseWait": "Loading, please wait..."
4
+ },
5
+ "sv": {
6
+ "loadingPleaseWait": "Laddar, vänligen vänta..."
7
+ }
8
+ }
9
+ ;
10
+
11
+ export default _default;
@@ -1,15 +1,15 @@
1
- import { c as t } from "./createLucideIcon-DeWljiyi.js";
1
+ import { c as t } from "./createLucideIcon-XRdN60yz.js";
2
2
  /**
3
- * @license lucide-react v0.453.0 - ISC
3
+ * @license lucide-react v0.525.0 - ISC
4
4
  *
5
5
  * This source code is licensed under the ISC license.
6
6
  * See the LICENSE file in the root directory of this source tree.
7
7
  */
8
- const r = t("SquareArrowOutUpRight", [
8
+ const a = [
9
9
  ["path", { d: "M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6", key: "y09zxi" }],
10
10
  ["path", { d: "m21 3-9 9", key: "mpx6sq" }],
11
11
  ["path", { d: "M15 3h6v6", key: "1q9fwt" }]
12
- ]);
12
+ ], r = t("square-arrow-out-up-right", a);
13
13
  export {
14
14
  r as S
15
15
  };
@@ -0,0 +1,6 @@
1
+ "use strict";const t=require("./createLucideIcon-CTVXwe6i.cjs");/**
2
+ * @license lucide-react v0.525.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const e=[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],r=t.createLucideIcon("square-arrow-out-up-right",e);exports.SquareArrowOutUpRight=r;
package/table/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-B40CGLT-.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-DAhnYYIA.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;
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-F4oYBtUM.js";
1
+ import { b as l, C as s, R as o, T as b, $ as T, a as r } from "../Table-zKvjzd9t.js";
2
2
  export {
3
3
  l as Cell,
4
4
  s as Column,
package/tabs/Tab.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { TabProps } from 'react-aria-components';
2
+ import * as React from 'react';
3
+ export declare const Tab: React.FC<TabProps>;
4
+ export type { TabProps };
@@ -0,0 +1,3 @@
1
+ import { TabListProps } from 'react-aria-components';
2
+ export declare const TabList: <T extends object>({ className, ...props }: TabListProps<T>) => import("react/jsx-runtime").JSX.Element;
3
+ export type { TabListProps };
@@ -0,0 +1,4 @@
1
+ import { TabPanelProps } from 'react-aria-components';
2
+ import * as React from 'react';
3
+ export declare const TabPanel: React.FC<TabPanelProps>;
4
+ export type { TabPanelProps };
package/tabs/Tabs.d.ts CHANGED
@@ -1,17 +1,23 @@
1
1
  import { TabsProps as AriaTabsProps } from 'react-aria-components';
2
2
  import * as React from 'react';
3
- export interface TabsProps extends Omit<AriaTabsProps, 'orientation'> {
3
+ export interface TabsProps extends AriaTabsProps {
4
4
  /**
5
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}
6
8
  */
7
- tabs: string[];
9
+ tabs?: string[];
8
10
  /**
9
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}
10
14
  */
11
- label: string;
15
+ label?: string;
12
16
  /**
13
- * Amount of children must match the amount of tabs
17
+ * The orientation of the tabs.
18
+ * Will adjust to screen size automatically if omitted
19
+ * @default undefined
14
20
  */
15
- children: React.ReactNode;
21
+ orientation?: AriaTabsProps['orientation'];
16
22
  }
17
23
  export declare const Tabs: React.FC<TabsProps>;
package/tabs/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tabs-DA2qXhzb.cjs");exports.Tabs=e.Tabs;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../TabList-CheXtBJm.cjs");exports.Tab=a.Tab;exports.TabList=a.TabList;exports.TabPanel=a.TabPanel;exports.Tabs=a.Tabs;
package/tabs/index.d.ts CHANGED
@@ -1 +1,4 @@
1
1
  export * from './Tabs';
2
+ export * from './Tab';
3
+ export * from './TabPanel';
4
+ export * from './TabList';
package/tabs/index.js CHANGED
@@ -1,4 +1,7 @@
1
- import { T as r } from "../Tabs-B4oZJkZG.js";
1
+ import { a as b, c as T, b as e, T as o } from "../TabList-D0qzIjSx.js";
2
2
  export {
3
- r as Tabs
3
+ b as Tab,
4
+ T as TabList,
5
+ e as TabPanel,
6
+ o as Tabs
4
7
  };
package/tag/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-DPAGmcMK.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-t-aJVo3W.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-Du7GvSv2.js";
1
+ import { T as r, a as T } from "../Tag-BoqT5nbh.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-3MNwRMpI.cjs");exports.Text=e.Text;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-DBHWi5gA.cjs");exports.Text=e.Text;
package/text/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as r } from "../Text-jWWg0B20.js";
1
+ import { T as r } from "../Text-DlKqpvSa.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-C7JZ_pQd.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-B5und61h.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;