@midas-ds/components 10.3.0 → 10.4.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 (363) hide show
  1. package/AccordionItem-BcsoC78F.cjs +1 -0
  2. package/{AccordionItem-ChHpW8EW.js → AccordionItem-BqsgiVWV.js} +38 -36
  3. package/Breadcrumbs-CfW5IuyE.cjs +1 -0
  4. package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D7eoibWk.js} +77 -65
  5. package/{Button-BoJl6JGM.cjs → Button-BXY5ZhqI.cjs} +1 -1
  6. package/{Button-Csih3v23.js → Button-BZUo7vsZ.js} +1 -1
  7. package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
  8. package/Button-DExMoP5f.cjs +1 -0
  9. package/CHANGELOG.md +28 -0
  10. package/{Card-yrtGzt70.js → Card-BaWSgtSF.js} +3 -3
  11. package/{Card-0G0mj9q5.cjs → Card-Cc1TNPcQ.cjs} +1 -1
  12. package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  13. package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
  14. package/Checkbox-Co3h0hur.cjs +1 -0
  15. package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
  16. package/CheckboxGroup-CUA8_xSx.js +160 -0
  17. package/CheckboxGroup-DmUOM0xl.cjs +1 -0
  18. package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
  19. package/Collection-BtBX5IMY.cjs +1 -0
  20. package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-Cwono7Ap.js} +51 -35
  21. package/ColorSchemeSwitch-DDXdSzqg.cjs +16 -0
  22. package/ComboBox-BBC7jhnm.cjs +1 -0
  23. package/{ComboBox-CVDyp2a-.js → ComboBox-HLIAbb2q.js} +309 -298
  24. package/{DateField-DeDhiYnW.cjs → DateField-B3VjOSde.cjs} +1 -1
  25. package/{DateField-DhU3q-rG.js → DateField-CnLEi7uX.js} +4 -4
  26. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  27. package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
  28. package/DateRangePicker-BPlZ12r8.cjs +6 -0
  29. package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-CFOoGvut.js} +86 -83
  30. package/Dialog-CSnN6baf.cjs +1 -0
  31. package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
  32. package/Dialog-SqciohRY.js +221 -0
  33. package/Dialog-pSSy1zwf.cjs +1 -0
  34. package/DragAndDrop-BoEd260f.cjs +1 -0
  35. package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
  36. package/{Dropdown-Df58j43I.js → Dropdown-CkBp70BH.js} +2 -2
  37. package/{Dropdown-CJ6My6EI.cjs → Dropdown-DAsVShlt.cjs} +1 -1
  38. package/FieldError-B3YFj-an.js +23 -0
  39. package/FieldError-BbR-29BM.js +28 -0
  40. package/FieldError-MVsU-Mgw.cjs +1 -0
  41. package/FieldError-bRTpchvr.cjs +1 -0
  42. package/{FileUpload-D6qoEAjn.js → FileUpload-B4rv-wke.js} +496 -475
  43. package/{FileUpload-CxCOtyB9.cjs → FileUpload-BwMhyLjG.cjs} +2 -2
  44. package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
  45. package/FocusScope-vcXLOQiu.cjs +1 -0
  46. package/Group-CpkUzEAs.js +45 -0
  47. package/Group-DOpbdoAi.cjs +1 -0
  48. package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
  49. package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
  50. package/{InfoBanner-BLM-TJJ6.js → InfoBanner-CBUoad7A.js} +47 -39
  51. package/InfoBanner-CVry6Y8i.cjs +1 -0
  52. package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
  53. package/Input-MJji5hhq.cjs +1 -0
  54. package/Label-CNmTN1YY.cjs +1 -0
  55. package/Label-TVxwGZ-O.js +78 -0
  56. package/Layout-Dw-oCqxd.cjs +16 -0
  57. package/Layout-amz9BESl.js +498 -0
  58. package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
  59. package/Link-CidjjqHb.cjs +1 -0
  60. package/{Link-B88l_oaE.cjs → Link-D92ftFi2.cjs} +1 -1
  61. package/{Link-DX5BbBnn.js → Link-DegonJfl.js} +1 -1
  62. package/{LinkButton-o6uS1XsR.js → LinkButton-CckYzfJ8.js} +1 -1
  63. package/{LinkButton-CBpGLETx.cjs → LinkButton-DKZ4z6zu.cjs} +1 -1
  64. package/ListBox-BCz5-23H.cjs +1 -0
  65. package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
  66. package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
  67. package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  68. package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
  69. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  70. package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
  71. package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
  72. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  73. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  74. package/Logo-BpH0HC91.cjs +1 -0
  75. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  76. package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
  77. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  78. package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
  79. package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
  80. package/{ProgressBar-DMSg-Prr.js → ProgressBar-BNCjpcv8.js} +2 -2
  81. package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-CcbxcWdT.cjs} +1 -1
  82. package/Radio-B2zfEFdq.cjs +1 -0
  83. package/{Radio-Cz29wPXd.js → Radio-CZYibh9r.js} +50 -47
  84. package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-B16b6tJD.js} +304 -293
  85. package/RangeCalendar-C1LFeOVk.cjs +11 -0
  86. package/SSRProvider-40TXmsUG.js +50 -0
  87. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  88. package/SearchField-CML0kjtn.cjs +6 -0
  89. package/{SearchField-IlvZ3Kh6.js → SearchField-giwECmXS.js} +175 -166
  90. package/Select-DKey6CeS.cjs +1 -0
  91. package/Select-mwaAv20X.js +665 -0
  92. package/SelectionManager-D0jYUYcy.cjs +1 -0
  93. package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
  94. package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
  95. package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
  96. package/Spinner-CbJ6YAz-.js +53 -0
  97. package/Spinner-yHcy8YHC.cjs +6 -0
  98. package/TabList-7VtCiXxX.cjs +1 -0
  99. package/TabList-CthsM5h6.js +435 -0
  100. package/{Table-F4oYBtUM.js → Table-BcQPvJT3.js} +46 -44
  101. package/Table-DkvNp6xm.cjs +16 -0
  102. package/{Tag-Du7GvSv2.js → Tag-Bs8T2Ei7.js} +131 -129
  103. package/Tag-CFWZ2LQW.cjs +1 -0
  104. package/Text-92cPh38G.js +15 -0
  105. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  106. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  107. package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
  108. package/TextArea-DBNAVWqL.js +119 -0
  109. package/TextArea-XJDfeXRs.cjs +1 -0
  110. package/TextField-BdK9KEQ5.cjs +1 -0
  111. package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
  112. package/{Toast-Btg21Xge.js → Toast-DPPvPhrF.js} +75 -68
  113. package/Toast-l1bKo2oA.cjs +1 -0
  114. package/ToggleButtonGroup-DH8IgR4G.cjs +1 -0
  115. package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-HOWNWtQZ.js} +46 -45
  116. package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
  117. package/Tooltip-pN5W3IK6.cjs +1 -0
  118. package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
  119. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  120. package/accordion/index.cjs +1 -1
  121. package/accordion/index.js +1 -1
  122. package/assets/Checkbox.css +1 -1
  123. package/assets/FileUpload.css +1 -1
  124. package/assets/RangeCalendar.css +1 -1
  125. package/assets/SearchField.css +1 -1
  126. package/assets/Spinner.css +1 -1
  127. package/assets/TabList.css +1 -0
  128. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  129. package/breadcrumbs/index.cjs +1 -1
  130. package/breadcrumbs/index.d.ts +1 -1
  131. package/breadcrumbs/index.js +1 -1
  132. package/button/index.cjs +1 -1
  133. package/button/index.js +1 -1
  134. package/calendar/CalendarGrid.d.ts +1 -0
  135. package/calendar/index.cjs +1 -1
  136. package/calendar/index.js +1 -1
  137. package/card/index.cjs +1 -1
  138. package/card/index.js +1 -1
  139. package/character-counter/index.cjs +1 -1
  140. package/character-counter/index.js +1 -1
  141. package/checkbox/Checkbox.d.ts +3 -1
  142. package/checkbox/index.cjs +1 -1
  143. package/checkbox/index.js +2 -2
  144. package/checkbox/intl/translations.json.d.ts +2 -30
  145. package/checkbox/types.d.ts +3 -1
  146. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  147. package/color-scheme-switch/index.cjs +1 -1
  148. package/color-scheme-switch/index.js +1 -1
  149. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  150. package/combobox/index.cjs +1 -1
  151. package/combobox/index.js +1 -1
  152. package/combobox/intl/translations.json.d.ts +11 -0
  153. package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
  154. package/context-Df3XbgBG.cjs +1 -0
  155. package/date-field/index.cjs +1 -1
  156. package/date-field/index.js +2 -2
  157. package/date-picker/index.cjs +1 -1
  158. package/date-picker/index.js +1 -1
  159. package/dropdown/index.cjs +1 -1
  160. package/dropdown/index.js +1 -1
  161. package/field-error/index.cjs +1 -1
  162. package/field-error/index.js +1 -1
  163. package/file-upload/FileUpload.d.ts +1 -0
  164. package/file-upload/index.cjs +1 -1
  165. package/file-upload/index.js +1 -1
  166. package/file-upload/intl/translations.json.d.ts +17 -0
  167. package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
  168. package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  169. package/heading/index.cjs +1 -1
  170. package/heading/index.js +1 -1
  171. package/index.cjs +1 -1
  172. package/index.js +100 -97
  173. package/info-banner/index.cjs +1 -1
  174. package/info-banner/index.js +1 -1
  175. package/info-banner/intl/translations.json.d.ts +11 -0
  176. package/label/index.cjs +1 -1
  177. package/label/index.js +1 -1
  178. package/label/intl/translations.json.d.ts +11 -0
  179. package/layout/Layout.d.ts +1 -0
  180. package/layout/context/LayoutContext.d.ts +1 -0
  181. package/layout/index.cjs +1 -1
  182. package/layout/index.js +1 -1
  183. package/layout/intl/translations.json.d.ts +23 -0
  184. package/link/index.cjs +1 -1
  185. package/link/index.js +2 -2
  186. package/link-button/index.cjs +1 -1
  187. package/link-button/index.js +2 -2
  188. package/list-box/index.cjs +1 -1
  189. package/list-box/index.js +2 -2
  190. package/logo/index.cjs +1 -1
  191. package/logo/index.js +1 -1
  192. package/logo/intl/translations.json.d.ts +11 -0
  193. package/mergeProps-B5KXZAI3.cjs +1 -0
  194. package/mergeProps-C1U1OIeJ.js +115 -0
  195. package/modal/index.cjs +1 -1
  196. package/modal/index.js +2 -2
  197. package/modal/intl/translations.json.d.ts +11 -0
  198. package/package.json +1 -1
  199. package/popover/index.cjs +1 -1
  200. package/popover/index.js +1 -1
  201. package/progress-bar/index.cjs +1 -1
  202. package/progress-bar/index.js +1 -1
  203. package/radio/Radio.d.ts +1 -4
  204. package/radio/index.cjs +1 -1
  205. package/radio/index.js +1 -1
  206. package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
  207. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  208. package/search-field/index.cjs +1 -1
  209. package/search-field/index.js +1 -1
  210. package/search-field/intl/translations.json.d.ts +11 -0
  211. package/select/index.cjs +1 -1
  212. package/select/index.js +1 -1
  213. package/select/intl/translations.json.d.ts +17 -0
  214. package/spinner/Spinner.d.ts +1 -0
  215. package/spinner/index.cjs +1 -1
  216. package/spinner/index.js +1 -1
  217. package/spinner/intl/translations.json.d.ts +11 -0
  218. package/table/index.cjs +1 -1
  219. package/table/index.js +1 -1
  220. package/tabs/Tab.d.ts +4 -0
  221. package/tabs/TabList.d.ts +3 -0
  222. package/tabs/TabPanel.d.ts +4 -0
  223. package/tabs/Tabs.d.ts +11 -5
  224. package/tabs/index.cjs +1 -1
  225. package/tabs/index.d.ts +3 -0
  226. package/tabs/index.js +5 -2
  227. package/tag/index.cjs +1 -1
  228. package/tag/index.js +1 -1
  229. package/text/index.cjs +1 -1
  230. package/text/index.js +1 -1
  231. package/textfield/index.cjs +1 -1
  232. package/textfield/index.js +1 -1
  233. package/textfield/intl/translations.json.d.ts +0 -72
  234. package/theme/index.cjs +1 -1
  235. package/theme/index.d.ts +5 -0
  236. package/theme/index.js +2 -2
  237. package/theme/tokens.d.ts +5 -0
  238. package/toast/Toast.d.ts +5 -2
  239. package/toast/index.cjs +1 -1
  240. package/toast/index.js +1 -1
  241. package/toggle-button/index.cjs +1 -1
  242. package/toggle-button/index.js +1 -1
  243. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  244. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  245. package/tooltip/index.cjs +1 -1
  246. package/tooltip/index.js +1 -1
  247. package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
  248. package/useButton-D60q0SQw.cjs +1 -0
  249. package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  250. package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
  251. package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
  252. package/useEvent-DPxMu-X9.cjs +1 -0
  253. package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
  254. package/useField-D1UkzeaI.cjs +1 -0
  255. package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
  256. package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
  257. package/useFocusRing-B-A1OLhU.cjs +1 -0
  258. package/useFocusRing-DOfBqnUN.js +33 -0
  259. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  260. package/useFocusWithin-T1ifEM_s.js +54 -0
  261. package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
  262. package/useFocusable-D7I1ujkW.cjs +1 -0
  263. package/useFormValidation-BlFGdPZB.cjs +1 -0
  264. package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
  265. package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  266. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  267. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  268. package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
  269. package/useHover-BE_XKZKe.cjs +1 -0
  270. package/useHover-DQvJ3Y-W.js +262 -0
  271. package/useLabels-CSU0kbtJ.cjs +1 -0
  272. package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
  273. package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
  274. package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
  275. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  276. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  277. package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
  278. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  279. package/usePress-BooY_CAy.cjs +7 -0
  280. package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
  281. package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  282. package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  283. package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
  284. package/useTextField-DnRrCg5o.cjs +1 -0
  285. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  286. package/utils-CoCR_Fce.js +234 -0
  287. package/utils-DHNZrQmj.cjs +1 -0
  288. package/utils-DJhAJHk_.js +152 -0
  289. package/utils-Dvdohqm9.cjs +1 -0
  290. package/AccordionItem-BGWiWjxA.cjs +0 -1
  291. package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
  292. package/Button-htW9qIsS.cjs +0 -1
  293. package/Checkbox-DqcPg5hz.cjs +0 -1
  294. package/CheckboxGroup-BBrSMuDY.cjs +0 -1
  295. package/CheckboxGroup-CLgixk2p.js +0 -243
  296. package/Collection-BIDsXNhi.cjs +0 -1
  297. package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
  298. package/ComboBox-CWJUg9Xx.cjs +0 -1
  299. package/DateInputDivider-ADvOavHw.cjs +0 -1
  300. package/DateRangePicker-BsAHhy99.cjs +0 -6
  301. package/Dialog-B8GTYbvu.cjs +0 -1
  302. package/Dialog-BOrYdX50.cjs +0 -1
  303. package/Dialog-CXNu48AC.js +0 -208
  304. package/DragAndDrop-DNth776R.cjs +0 -1
  305. package/FieldError-CAcjosk_.js +0 -46
  306. package/FieldError-CKBb2-mp.cjs +0 -1
  307. package/FocusScope-5c9SVBcR.cjs +0 -1
  308. package/Group-B6EslsHZ.js +0 -44
  309. package/Group-CgiqQHH1.cjs +0 -1
  310. package/InfoBanner-C2kTIsrB.cjs +0 -1
  311. package/Input-DKSAYvsw.cjs +0 -1
  312. package/Label-7Ybb99CE.cjs +0 -1
  313. package/Label-BwJrdqEE.js +0 -70
  314. package/Layout-1g6bMH62.cjs +0 -16
  315. package/Layout-Ey8flY7E.js +0 -468
  316. package/Link-BQhauBuw.cjs +0 -1
  317. package/ListBox-DP9M4H6R.cjs +0 -1
  318. package/ListBoxSection-BGaigBnG.cjs +0 -1
  319. package/Logo-DT2_2O43.cjs +0 -1
  320. package/OverlayArrow-D75k-EMl.cjs +0 -1
  321. package/Radio-BwqrdhQE.cjs +0 -1
  322. package/RangeCalendar-BehUaydF.cjs +0 -11
  323. package/SearchField-CxMwDeUM.cjs +0 -6
  324. package/Select-2q1iSzAX.cjs +0 -1
  325. package/Select-BVQZtoi9.js +0 -646
  326. package/SelectionManager-CwYux2h3.cjs +0 -1
  327. package/Spinner-D31SXm-U.js +0 -41
  328. package/Spinner-P35rvvsl.cjs +0 -6
  329. package/Table-B40CGLT-.cjs +0 -16
  330. package/Tabs-B4oZJkZG.js +0 -404
  331. package/Tabs-DA2qXhzb.cjs +0 -1
  332. package/Tag-DPAGmcMK.cjs +0 -1
  333. package/Text-BoXuUVVH.js +0 -15
  334. package/TextArea-C7JZ_pQd.cjs +0 -1
  335. package/TextArea-XeBCSyzl.js +0 -191
  336. package/TextField-BgNdhZi_.cjs +0 -1
  337. package/Toast-AbDA1BOs.cjs +0 -1
  338. package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
  339. package/Tooltip-DeBuBKhS.cjs +0 -1
  340. package/VisuallyHidden-CLWHbz2n.cjs +0 -1
  341. package/assets/Tabs.css +0 -1
  342. package/context-DjwhtgxQ.cjs +0 -1
  343. package/scrollIntoView-C8doLzDd.cjs +0 -1
  344. package/useButton-cpNi-fY4.cjs +0 -1
  345. package/useEvent-DxBxMX2V.cjs +0 -1
  346. package/useField-CXKYU74k.cjs +0 -1
  347. package/useFocusRing-CbImDrwF.cjs +0 -1
  348. package/useFocusRing-XnR3cZjO.js +0 -82
  349. package/useFocusable-NUVSFcRC.cjs +0 -1
  350. package/useFormValidation-ClximP89.cjs +0 -1
  351. package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
  352. package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
  353. package/useHover-DjIHtjGN.js +0 -490
  354. package/useHover-_mv5J4_q.cjs +0 -1
  355. package/useLabels-BLOfc6Y-.cjs +0 -1
  356. package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
  357. package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
  358. package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
  359. package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
  360. package/usePress-0AjDbW9R.cjs +0 -7
  361. package/useTextField--czJtyNd.cjs +0 -1
  362. package/utils-BNtZbAib.cjs +0 -1
  363. package/utils-DIMfEPAt.js +0 -308
@@ -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/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-D92ftFi2.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-DegonJfl.js";
2
+ import { $ as a } from "../usePress-DuR4pVsE.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-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-DKZ4z6zu.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-CckYzfJ8.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-pSSy1zwf.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-SqciohRY.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.0",
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-CcbxcWdT.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-BNCjpcv8.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-B2zfEFdq.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-CZYibh9r.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-CML0kjtn.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-giwECmXS.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-DKey6CeS.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-mwaAv20X.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-yHcy8YHC.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-CbJ6YAz-.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;
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-DkvNp6xm.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-BcQPvJT3.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-7VtCiXxX.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-CthsM5h6.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-CFWZ2LQW.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-Bs8T2Ei7.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-XJDfeXRs.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-XeBCSyzl.js";
1
+ import { I as s, b as t, a as x, T } from "../TextArea-DBNAVWqL.js";
2
2
  export {
3
3
  s as Input,
4
4
  t as TextArea,
@@ -6,78 +6,6 @@ declare const _default: {
6
6
  "sv": {
7
7
  "hide": "Dölj",
8
8
  "show": "Visa"
9
- },
10
- "es": {
11
- "hide": "Ocultar",
12
- "show": "Mostrar"
13
- },
14
- "fr": {
15
- "hide": "Cacher",
16
- "show": "Afficher"
17
- },
18
- "de": {
19
- "hide": "Verstecken",
20
- "show": "Anzeigen"
21
- },
22
- "ja": {
23
- "hide": "隠す",
24
- "show": "表示"
25
- },
26
- "zh": {
27
- "hide": "隐藏",
28
- "show": "显示"
29
- },
30
- "ar": {
31
- "hide": "إخفاء",
32
- "show": "إظهار"
33
- },
34
- "ru": {
35
- "hide": "Скрыть",
36
- "show": "Показать"
37
- },
38
- "pt": {
39
- "hide": "Ocultar",
40
- "show": "Mostrar"
41
- },
42
- "it": {
43
- "hide": "Nascondi",
44
- "show": "Mostra"
45
- },
46
- "ko": {
47
- "hide": "숨기기",
48
- "show": "보여주기"
49
- },
50
- "hi": {
51
- "hide": "छुपाएँ",
52
- "show": "दिखाएँ"
53
- },
54
- "nl": {
55
- "hide": "Verbergen",
56
- "show": "Tonen"
57
- },
58
- "pl": {
59
- "hide": "Ukryj",
60
- "show": "Pokaż"
61
- },
62
- "tr": {
63
- "hide": "Gizle",
64
- "show": "Göster"
65
- },
66
- "vi": {
67
- "hide": "Ẩn",
68
- "show": "Hiện"
69
- },
70
- "th": {
71
- "hide": "ซ่อน",
72
- "show": "แสดง"
73
- },
74
- "id": {
75
- "hide": "Sembunyikan",
76
- "show": "Tampilkan"
77
- },
78
- "ms": {
79
- "hide": "Sembunyikan",
80
- "show": "Tunjukkan"
81
9
  }
82
10
  }
83
11
  ;
package/theme/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tokens-p6pg1Cea.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 e=require("../tokens-BghDnMdO.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;
package/theme/index.d.ts CHANGED
@@ -219,6 +219,11 @@ export declare const theme: {
219
219
  buttonBackgroundDisabled: string;
220
220
  buttonBackgroundSkeleton: string;
221
221
  buttonBorderSecondary: string;
222
+ calendarDateBackgroundHover: string;
223
+ calendarDateBackgroundSelected: string;
224
+ calendarDateBackgroundStartRange: string;
225
+ calendarDateBackgroundInRange: string;
226
+ calendarDateBackgroundEndRange: string;
222
227
  logoPrimary: string;
223
228
  menuItemBackgroundHover: string;
224
229
  menuItemBackgroundSelected: string;
package/theme/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as s } from "../tokens-xp-7KMK7.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-xp-7KMK7.js";
1
+ import { t as s } from "../tokens-fEwCQXDv.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-fEwCQXDv.js";
3
3
  const t = { ...s };
4
4
  export {
5
5
  n as baseColors,
package/theme/tokens.d.ts CHANGED
@@ -223,6 +223,11 @@ export declare const semantic: {
223
223
  */
224
224
  buttonBackgroundSkeleton: string;
225
225
  buttonBorderSecondary: string;
226
+ calendarDateBackgroundHover: string;
227
+ calendarDateBackgroundSelected: string;
228
+ calendarDateBackgroundStartRange: string;
229
+ calendarDateBackgroundInRange: string;
230
+ calendarDateBackgroundEndRange: string;
226
231
  logoPrimary: string;
227
232
  menuItemBackgroundHover: string;
228
233
  menuItemBackgroundSelected: string;