@midas-ds/components 10.1.1 → 10.2.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 (373) hide show
  1. package/AccordionItem-DZT76sWu.js +320 -0
  2. package/AccordionItem-Z_c9MpAM.cjs +1 -0
  3. package/BadgeContainer-D3RtqcPF.js +37 -0
  4. package/BadgeContainer-DeUgqGqb.cjs +1 -0
  5. package/Breadcrumbs-CmZXtTiS.js +250 -0
  6. package/Breadcrumbs-Cx09jwZZ.cjs +1 -0
  7. package/Button-CbFRzRrF.js +38 -0
  8. package/Button-DnhqHU01.cjs +1 -0
  9. package/Button-ZOQy9Ivu.js +78 -0
  10. package/Button-iSiWjocA.cjs +1 -0
  11. package/Button.module-CMMhIrkn.js +14 -0
  12. package/Button.module-DO5s9hOk.cjs +1 -0
  13. package/ButtonGroup-DUqW5dzM.cjs +1 -0
  14. package/ButtonGroup-DvVvear6.js +22 -0
  15. package/CHANGELOG.md +48 -0
  16. package/Card-C0BFW3wJ.cjs +1 -0
  17. package/Card-CaKKKv9k.js +131 -0
  18. package/CharacterCounter-CPGdboVJ.js +22 -0
  19. package/CharacterCounter-CrY8QRuY.cjs +1 -0
  20. package/Checkbox-CvFsn_FL.js +380 -0
  21. package/Checkbox-DSxGAJX2.cjs +1 -0
  22. package/CheckboxGroup-Bk9DPq4I.cjs +1 -0
  23. package/CheckboxGroup-Dij9zKlF.js +54 -0
  24. package/Collection-C5ONNBqd.js +576 -0
  25. package/Collection-Csx3L9gh.cjs +1 -0
  26. package/ColorSchemeSwitch-CbAWIJCg.js +106 -0
  27. package/ColorSchemeSwitch-JRrCyYVv.cjs +16 -0
  28. package/ComboBox-BCaqPEIH.js +1375 -0
  29. package/ComboBox-gveQKHU3.cjs +1 -0
  30. package/DateField-CAQlzuDD.js +46 -0
  31. package/DateField-deVVFwKA.cjs +1 -0
  32. package/DateInputDivider-DnUxETEC.cjs +1 -0
  33. package/DateInputDivider-Dx8n1Lxp.js +2908 -0
  34. package/DateRangePicker-BmBvwqo6.js +881 -0
  35. package/DateRangePicker-BzfitoK0.cjs +6 -0
  36. package/Dialog-Bd5hK360.cjs +1 -0
  37. package/Dialog-Bxx8cBEq.js +208 -0
  38. package/Dialog-CYxThuMl.js +1609 -0
  39. package/Dialog-CwTEAujZ.cjs +1 -0
  40. package/DragAndDrop-CSwmPhxC.js +60 -0
  41. package/DragAndDrop-HvycSrKY.cjs +1 -0
  42. package/Dropdown-CaGon9OR.cjs +6 -0
  43. package/Dropdown-nkjzsVYX.js +84 -0
  44. package/FieldError-BZw8UzBk.cjs +1 -0
  45. package/FieldError-CZikNDxX.js +28 -0
  46. package/FieldError-DqdfJ3fs.cjs +1 -0
  47. package/FieldError-Dv3bBEjh.js +23 -0
  48. package/FileUpload-DYRZ0M9F.cjs +2 -0
  49. package/FileUpload-ULwcYDxs.js +2372 -0
  50. package/FocusScope-DwIqdYpQ.js +625 -0
  51. package/FocusScope-NaPbvuuS.cjs +1 -0
  52. package/Form-BuOomA4T.cjs +1 -0
  53. package/Form-CXcEMuBf.js +5 -0
  54. package/Grid--OhtgCo6.js +27 -0
  55. package/Grid-DVQtOcu9.cjs +1 -0
  56. package/GridItem-DlbSdRmB.js +246 -0
  57. package/GridItem-XgHmZWXY.cjs +1 -0
  58. package/Group-CeSsSQVC.js +44 -0
  59. package/Group-CgiqQHH1.cjs +1 -0
  60. package/Heading-BY5-QN4S.js +46 -0
  61. package/Heading-DoJAtYZf.cjs +1 -0
  62. package/Hidden-B5ir3Lei.js +34 -0
  63. package/Hidden-BxRZGdEW.cjs +1 -0
  64. package/InfoBanner-BS-dAfzO.cjs +1 -0
  65. package/InfoBanner-CVIBFSWx.js +82 -0
  66. package/Input-D8Ku_FQz.js +41 -0
  67. package/Input-DKSAYvsw.cjs +1 -0
  68. package/Label-C9ivwkAd.js +21 -0
  69. package/Label-CUV21CAv.cjs +1 -0
  70. package/Label-DkDOsmUF.js +16 -0
  71. package/Label-IMWAyoKb.cjs +1 -0
  72. package/Layout-BWeHHnqU.cjs +16 -0
  73. package/Layout-CCt_2L1k.js +468 -0
  74. package/Link-B-nus-FT.js +71 -0
  75. package/Link-DsnCtNeI.cjs +6 -0
  76. package/Link-SHMbeyIP.cjs +1 -0
  77. package/Link-uFowN4qv.js +59 -0
  78. package/LinkButton-CuBilDML.js +69 -0
  79. package/LinkButton-CymMrcGL.cjs +6 -0
  80. package/ListBox-CDOsQChA.cjs +1 -0
  81. package/ListBox-DOi_y_Lt.js +530 -0
  82. package/ListBoxButton-CFeNhJhr.cjs +1 -0
  83. package/ListBoxButton-O6zN3P4W.js +15 -0
  84. package/ListBoxSection-C1aLKL9p.js +1058 -0
  85. package/ListBoxSection-DGCP6xpf.cjs +1 -0
  86. package/ListKeyboardDelegate-BqMETvPv.cjs +1 -0
  87. package/ListKeyboardDelegate-DNOzQ8nc.js +158 -0
  88. package/LiveAnnouncer-B6177m92.js +51 -0
  89. package/LiveAnnouncer-CwEWPU8b.cjs +1 -0
  90. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  91. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  92. package/Logo-BIrOEINM.js +133 -0
  93. package/Logo-DT2_2O43.cjs +1 -0
  94. package/NumberFormatter-DewVDY5w.cjs +1 -0
  95. package/NumberFormatter-DgOUVrge.js +119 -0
  96. package/OverlayArrow-D75k-EMl.cjs +1 -0
  97. package/OverlayArrow-DorA4Rbr.js +506 -0
  98. package/PressResponder-C06O3Z5P.cjs +1 -0
  99. package/PressResponder-CVEg5kND.js +33 -0
  100. package/ProgressBar-Bkw9zavs.cjs +1 -0
  101. package/ProgressBar-CEX2WNoW.js +77 -0
  102. package/ProgressBar-Dqh3ftSP.cjs +1 -0
  103. package/ProgressBar-gmAzSsrz.js +53 -0
  104. package/RSPContexts-BW2SEIqe.js +11 -0
  105. package/RSPContexts-D8hmBfGm.cjs +1 -0
  106. package/Radio-CDKrvQe4.cjs +1 -0
  107. package/Radio-_ukSkxPT.js +311 -0
  108. package/RangeCalendar-cbCKBPZv.cjs +11 -0
  109. package/RangeCalendar-uXwoBL-O.js +1685 -0
  110. package/SearchField-6yBGiojX.cjs +6 -0
  111. package/SearchField-DYl2uo7o.js +362 -0
  112. package/Select-CpHjd1tp.cjs +1 -0
  113. package/Select-PvCqY7Lp.js +646 -0
  114. package/SelectionManager-6H88Cv6B.js +1033 -0
  115. package/SelectionManager-C5NGBzvz.cjs +1 -0
  116. package/Separator-LYnFqh4L.js +60 -0
  117. package/Separator-nPra6kD-.cjs +1 -0
  118. package/Skeleton-BAwbfKBW.cjs +1 -0
  119. package/Skeleton-BePDRmrO.js +40 -0
  120. package/Spinner-D31SXm-U.js +41 -0
  121. package/Spinner-DAJtfxqJ.cjs +6 -0
  122. package/Table-B_N7wUmA.js +2451 -0
  123. package/Table-D9vNc_y-.cjs +16 -0
  124. package/Tabs-Ct6D83aR.js +404 -0
  125. package/Tabs-Dtcl2oK2.cjs +1 -0
  126. package/Tag-CVFkzg3s.cjs +1 -0
  127. package/Tag-g6HN-YCv.js +748 -0
  128. package/Text-3MNwRMpI.cjs +1 -0
  129. package/Text-B2K-BJKQ.cjs +1 -0
  130. package/Text-BN-g1iWi.js +32 -0
  131. package/Text-B_H68Tvq.js +15 -0
  132. package/TextArea-DSiQ578a.js +206 -0
  133. package/TextArea-cVyGBRbL.cjs +1 -0
  134. package/TextField-B70CL2qz.cjs +1 -0
  135. package/TextField-DBaRuNj7.js +119 -0
  136. package/TextField.module-BcpPBWnD.js +13 -0
  137. package/TextField.module-Dw5Rtn9y.cjs +1 -0
  138. package/Toast-CjpldAI8.js +988 -0
  139. package/Toast-DrkOGy4d.cjs +1 -0
  140. package/ToggleButtonGroup-BuU_6dYe.cjs +1 -0
  141. package/ToggleButtonGroup-Ceh9_yBM.js +210 -0
  142. package/Tooltip-BAIjaYax.js +283 -0
  143. package/Tooltip-CiWg4zIC.cjs +1 -0
  144. package/VisuallyHidden-CtXvK_Tw.cjs +1 -0
  145. package/VisuallyHidden-D-4z1VgU.js +40 -0
  146. package/accordion/index.cjs +1 -0
  147. package/accordion/index.js +5 -0
  148. package/arrow-right-Cw48o2oW.cjs +6 -0
  149. package/arrow-right-Dg8sttFO.js +14 -0
  150. package/assets/AccordionItem.css +1 -0
  151. package/assets/BadgeContainer.css +1 -0
  152. package/assets/Breadcrumbs.css +1 -0
  153. package/assets/Button.css +1 -0
  154. package/assets/ButtonGroup.css +1 -0
  155. package/assets/Card.css +1 -0
  156. package/assets/CharacterCounter.css +1 -0
  157. package/assets/Checkbox.css +1 -0
  158. package/assets/ColorSchemeSwitch.css +1 -0
  159. package/assets/ComboBox.css +1 -0
  160. package/assets/DateField.css +1 -0
  161. package/assets/DateInputDivider.css +1 -0
  162. package/assets/DateRangePicker.css +1 -0
  163. package/assets/Dialog.css +1 -0
  164. package/assets/Dropdown.css +1 -0
  165. package/assets/FieldError.css +1 -0
  166. package/assets/FileUpload.css +1 -0
  167. package/assets/GridItem.css +1 -0
  168. package/assets/Heading.css +1 -0
  169. package/assets/InfoBanner.css +1 -0
  170. package/assets/Label.css +1 -0
  171. package/assets/Layout.css +1 -0
  172. package/assets/Link.css +1 -0
  173. package/assets/LinkButton.css +1 -0
  174. package/assets/ListBoxSection.css +1 -0
  175. package/assets/Logo.css +1 -0
  176. package/assets/ProgressBar.css +1 -0
  177. package/assets/Radio.css +1 -0
  178. package/assets/RangeCalendar.css +1 -0
  179. package/assets/SearchField.css +1 -0
  180. package/assets/Select.css +1 -0
  181. package/assets/Skeleton.css +1 -0
  182. package/assets/Spinner.css +1 -0
  183. package/assets/Table.css +1 -0
  184. package/assets/Tabs.css +1 -0
  185. package/assets/Tag.css +1 -0
  186. package/assets/Text.css +1 -0
  187. package/assets/TextField.css +1 -0
  188. package/assets/Toast.css +1 -0
  189. package/assets/ToggleButtonGroup.css +1 -0
  190. package/assets/Tooltip.css +1 -0
  191. package/badge/index.cjs +1 -0
  192. package/badge/index.js +5 -0
  193. package/breadcrumbs/index.cjs +1 -0
  194. package/breadcrumbs/index.js +4 -0
  195. package/button/index.cjs +1 -0
  196. package/button/index.js +6 -0
  197. package/calendar/CalendarHeader.d.ts +2 -1
  198. package/calendar/index.cjs +1 -0
  199. package/calendar/index.js +5 -0
  200. package/card/index.cjs +1 -0
  201. package/card/index.js +10 -0
  202. package/character-counter/index.cjs +1 -0
  203. package/character-counter/index.js +4 -0
  204. package/check-CLF6Yxza.js +11 -0
  205. package/check-Dw9c62O4.cjs +6 -0
  206. package/checkbox/index.cjs +1 -0
  207. package/checkbox/index.js +6 -0
  208. package/chevron-down-C2E7aZ3N.cjs +6 -0
  209. package/chevron-down-Cd1bkzXT.js +13 -0
  210. package/clsx-C11secjj.cjs +1 -0
  211. package/clsx-OuTLNxxd.js +16 -0
  212. package/color-scheme-switch/index.cjs +1 -0
  213. package/color-scheme-switch/index.js +4 -0
  214. package/combobox/index.cjs +1 -0
  215. package/combobox/index.js +7 -0
  216. package/common/types.d.ts +2 -0
  217. package/context-B8cn10po.js +80 -0
  218. package/context-DjwhtgxQ.cjs +1 -0
  219. package/createLucideIcon-DAY4oS-S.cjs +21 -0
  220. package/createLucideIcon-DeWljiyi.js +79 -0
  221. package/date-field/index.cjs +1 -0
  222. package/date-field/index.js +8 -0
  223. package/date-picker/index.cjs +1 -0
  224. package/date-picker/index.js +5 -0
  225. package/dropdown/index.cjs +1 -0
  226. package/dropdown/index.js +5 -0
  227. package/field-error/FieldError.d.ts +4 -1
  228. package/field-error/index.cjs +1 -0
  229. package/field-error/index.js +4 -0
  230. package/file-upload/index.cjs +1 -0
  231. package/file-upload/index.js +4 -0
  232. package/filterDOMProps-BS2lrgFA.cjs +1 -0
  233. package/filterDOMProps-D6KHYVBX.js +24 -0
  234. package/focusSafely-Bqfo_DH7.cjs +1 -0
  235. package/focusSafely-C48ucRUz.js +56 -0
  236. package/getScrollParent-DuKmPmUa.cjs +1 -0
  237. package/getScrollParent-Ru2U2LlM.js +9 -0
  238. package/grid/Grid.d.ts +15 -4
  239. package/grid/GridItem.d.ts +31 -2
  240. package/grid/index.cjs +1 -0
  241. package/grid/index.d.ts +2 -2
  242. package/grid/index.js +8 -0
  243. package/heading/index.cjs +1 -0
  244. package/heading/index.js +4 -0
  245. package/index-BSMrH_Du.js +120 -0
  246. package/index-D97L3EBk.cjs +17 -0
  247. package/index.cjs +1 -169
  248. package/index.d.ts +0 -1
  249. package/index.js +127 -29979
  250. package/inertValue-B7loUihk.js +8 -0
  251. package/inertValue-BWmZ1afe.cjs +1 -0
  252. package/info-DkzVqB8I.js +38 -0
  253. package/info-DlzSeKbc.cjs +16 -0
  254. package/info-banner/index.cjs +1 -0
  255. package/info-banner/index.js +4 -0
  256. package/label/index.cjs +1 -0
  257. package/label/index.js +4 -0
  258. package/layout/index.cjs +1 -0
  259. package/layout/index.js +8 -0
  260. package/link/index.cjs +1 -0
  261. package/link/index.js +6 -0
  262. package/link-button/index.cjs +1 -0
  263. package/link-button/index.js +6 -0
  264. package/list-box/index.cjs +1 -0
  265. package/list-box/index.js +9 -0
  266. package/logo/index.cjs +1 -0
  267. package/logo/index.js +4 -0
  268. package/modal/index.cjs +1 -0
  269. package/modal/index.js +6 -0
  270. package/number-BE8InLgI.js +6 -0
  271. package/number-E0x3H9cL.cjs +1 -0
  272. package/package.json +4 -4
  273. package/progress-bar/index.cjs +1 -0
  274. package/progress-bar/index.js +4 -0
  275. package/radio/index.cjs +1 -0
  276. package/radio/index.js +5 -0
  277. package/scrollIntoView-ClEACHUk.js +57 -0
  278. package/scrollIntoView-DRSoJp89.cjs +1 -0
  279. package/search-field/index.cjs +1 -0
  280. package/search-field/index.js +4 -0
  281. package/select/index.cjs +1 -0
  282. package/select/index.js +4 -0
  283. package/skeleton/Skeleton.d.ts +5 -0
  284. package/skeleton/index.cjs +1 -0
  285. package/skeleton/index.js +4 -0
  286. package/spinner/index.cjs +1 -0
  287. package/spinner/index.js +4 -0
  288. package/square-arrow-out-up-right-BCAO2eJs.cjs +6 -0
  289. package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
  290. package/table/Table.d.ts +7 -1
  291. package/table/index.cjs +1 -0
  292. package/table/index.js +9 -0
  293. package/tabs/index.cjs +1 -0
  294. package/tabs/index.js +4 -0
  295. package/tag/index.cjs +1 -0
  296. package/tag/index.js +5 -0
  297. package/text/index.cjs +1 -0
  298. package/text/index.js +4 -0
  299. package/textfield/index.cjs +1 -0
  300. package/textfield/index.js +7 -0
  301. package/theme/index.cjs +1 -0
  302. package/theme/index.d.ts +4 -0
  303. package/{theme.js → theme/index.js} +2 -2
  304. package/theme/tokens.d.ts +10 -0
  305. package/toast/index.cjs +1 -0
  306. package/toast/index.js +9 -0
  307. package/toggle-button/index.cjs +1 -0
  308. package/toggle-button/index.js +5 -0
  309. package/tokens-p6pg1Cea.cjs +1 -0
  310. package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
  311. package/tooltip/index.cjs +1 -0
  312. package/tooltip/index.js +5 -0
  313. package/triangle-alert-C0lvfCYH.cjs +6 -0
  314. package/triangle-alert-wxyxspAl.js +21 -0
  315. package/useButton-B1Fa-6qE.cjs +1 -0
  316. package/useButton-C-Lq7CNY.js +47 -0
  317. package/useCollator-C_ozeWLo.cjs +1 -0
  318. package/useCollator-CgZcHC8N.js +11 -0
  319. package/useControlledState-D0L6S_5r.cjs +1 -0
  320. package/useControlledState-u436Wbp1.js +30 -0
  321. package/useDateFormatter-C53Uxdli.js +1571 -0
  322. package/useDateFormatter-g2maMTGH.cjs +1 -0
  323. package/useDescription-CVKhFa3c.js +32 -0
  324. package/useDescription-DmQYSEES.cjs +1 -0
  325. package/useEvent-CjkbBniY.cjs +1 -0
  326. package/useEvent-Cyd2ZL0c.js +21 -0
  327. package/useField-B1RU0GKs.cjs +1 -0
  328. package/useField-BPMAlIbU.js +35 -0
  329. package/useFilter-ChIbnALW.js +35 -0
  330. package/useFilter-CtIwF2qW.cjs +1 -0
  331. package/useFocusRing-BDGH3lpn.js +82 -0
  332. package/useFocusRing-CbImDrwF.cjs +1 -0
  333. package/useFocusable-CaedRTpB.js +74 -0
  334. package/useFocusable-CuPQ7Cm5.cjs +1 -0
  335. package/useFormValidation-ClximP89.cjs +1 -0
  336. package/useFormValidation-R8hQIjWP.js +215 -0
  337. package/useHasTabbableChild-DgphNvnk.cjs +1 -0
  338. package/useHasTabbableChild-DsD9AJwE.js +34 -0
  339. package/useHighlightSelectionDescription-BizKjvPU.cjs +1 -0
  340. package/useHighlightSelectionDescription-DFfcgbUj.js +567 -0
  341. package/useHover-_mv5J4_q.cjs +1 -0
  342. package/useHover-qRAon4nS.js +490 -0
  343. package/useLabel-DDdAJ1JO.js +23 -0
  344. package/useLabel-m_S5xkHy.cjs +1 -0
  345. package/useLabels-BLOfc6Y-.cjs +1 -0
  346. package/useLabels-BZjoZA1Z.js +17 -0
  347. package/useListState-Ca2-uZMO.cjs +1 -0
  348. package/useListState-DFQ9d-uE.js +132 -0
  349. package/useLocalizedStringFormatter-D07YB2e1.js +22 -0
  350. package/useLocalizedStringFormatter-u9SJaOwk.cjs +1 -0
  351. package/useObserveElement-BdI4zgd7.js +27 -0
  352. package/useObserveElement-BzEr5D32.cjs +1 -0
  353. package/usePress-BFa6cT9o.cjs +7 -0
  354. package/usePress-CUJ3pMOw.js +542 -0
  355. package/useSingleSelectListState-C-nB8cug.js +34 -0
  356. package/useSingleSelectListState-MGNxUTum.cjs +1 -0
  357. package/useTextField-5OZQPyOW.js +86 -0
  358. package/useTextField-CtUDWsUl.cjs +1 -0
  359. package/useToggleState-Bz5rAf4C.js +18 -0
  360. package/useToggleState-DoIkSQdj.cjs +1 -0
  361. package/useUpdateEffect-CCDx8D4X.js +13 -0
  362. package/useUpdateEffect-sk3kiVGz.cjs +1 -0
  363. package/utils-BNtZbAib.cjs +1 -0
  364. package/utils-HNTsIwux.js +308 -0
  365. package/x-CvxiAZTW.cjs +6 -0
  366. package/x-JK7i-TQC.js +14 -0
  367. package/flex/Flex.d.ts +0 -17
  368. package/flex/FlexItem.d.ts +0 -15
  369. package/flex/index.d.ts +0 -2
  370. package/index.css +0 -1
  371. package/theme.cjs +0 -1
  372. package/tokens-COoF1t17.cjs +0 -1
  373. /package/{global.css → assets/global.css} +0 -0
@@ -0,0 +1,8 @@
1
+ import { version as e } from "react";
2
+ function c(r) {
3
+ const t = e.split(".");
4
+ return parseInt(t[0], 10) >= 19 ? r : r ? "true" : void 0;
5
+ }
6
+ export {
7
+ c as $
8
+ };
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react");function c(r){const e=t.version.split(".");return parseInt(e[0],10)>=19?r:r?"true":void 0}exports.$cdc5a6778b766db2$export$a9d04c5684123369=c;
@@ -0,0 +1,38 @@
1
+ import { c as e } from "./createLucideIcon-DeWljiyi.js";
2
+ /**
3
+ * @license lucide-react v0.453.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const y = e("CircleAlert", [
9
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
+ ["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
11
+ ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
12
+ ]);
13
+ /**
14
+ * @license lucide-react v0.453.0 - ISC
15
+ *
16
+ * This source code is licensed under the ISC license.
17
+ * See the LICENSE file in the root directory of this source tree.
18
+ */
19
+ const r = e("CircleCheck", [
20
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
21
+ ["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
22
+ ]);
23
+ /**
24
+ * @license lucide-react v0.453.0 - ISC
25
+ *
26
+ * This source code is licensed under the ISC license.
27
+ * See the LICENSE file in the root directory of this source tree.
28
+ */
29
+ const l = e("Info", [
30
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
31
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
32
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
33
+ ]);
34
+ export {
35
+ y as C,
36
+ l as I,
37
+ r as a
38
+ };
@@ -0,0 +1,16 @@
1
+ "use strict";const e=require("./createLucideIcon-DAY4oS-S.cjs");/**
2
+ * @license lucide-react v0.453.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 c=e.createLucideIcon("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
7
+ * @license lucide-react v0.453.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */const r=e.createLucideIcon("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
12
+ * @license lucide-react v0.453.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const i=e.createLucideIcon("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);exports.CircleAlert=c;exports.CircleCheck=r;exports.Info=i;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-BS-dAfzO.cjs");exports.InfoBanner=e.InfoBanner;
@@ -0,0 +1,4 @@
1
+ import { I as r } from "../InfoBanner-CVIBFSWx.js";
2
+ export {
3
+ r as InfoBanner
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-IMWAyoKb.cjs");exports.Label=e.Label;
package/label/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { L as o } from "../Label-C9ivwkAd.js";
2
+ export {
3
+ o as Label
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-BWeHHnqU.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
@@ -0,0 +1,8 @@
1
+ import { H as e, L as s, N as b, S as d, a as i } from "../Layout-CCt_2L1k.js";
2
+ export {
3
+ e as Header,
4
+ s as Layout,
5
+ b as Navbar,
6
+ d as Sidebar,
7
+ i as SidebarLink
8
+ };
package/link/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-DsnCtNeI.cjs"),r=require("../usePress-BFa6cT9o.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
package/link/index.js ADDED
@@ -0,0 +1,6 @@
1
+ import { L as e } from "../Link-uFowN4qv.js";
2
+ import { $ as a } from "../usePress-CUJ3pMOw.js";
3
+ export {
4
+ e as Link,
5
+ a as RouterProvider
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../LinkButton-CymMrcGL.cjs"),t=require("../usePress-BFa6cT9o.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
@@ -0,0 +1,6 @@
1
+ import { L as t } from "../LinkButton-CuBilDML.js";
2
+ import { $ as a } from "../usePress-CUJ3pMOw.js";
3
+ export {
4
+ t as LinkButton,
5
+ a as RouterProvider
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-DGCP6xpf.cjs"),o=require("../ListBoxButton-CFeNhJhr.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
@@ -0,0 +1,9 @@
1
+ import { L as s, a as x, b as L, c as a } from "../ListBoxSection-C1aLKL9p.js";
2
+ import { L as B } from "../ListBoxButton-O6zN3P4W.js";
3
+ export {
4
+ s as ListBox,
5
+ B as ListBoxButton,
6
+ x as ListBoxItem,
7
+ L as ListBoxPopover,
8
+ a as ListBoxSection
9
+ };
package/logo/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Logo-DT2_2O43.cjs");exports.Logo=o.Logo;
package/logo/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { L } from "../Logo-BIrOEINM.js";
2
+ export {
3
+ L as Logo
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-CwTEAujZ.cjs"),o=require("../Dialog-Bd5hK360.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
package/modal/index.js ADDED
@@ -0,0 +1,6 @@
1
+ import { M as a } from "../Dialog-Bxx8cBEq.js";
2
+ import { $ as g } from "../Dialog-CYxThuMl.js";
3
+ export {
4
+ g as DialogTrigger,
5
+ a as Modal
6
+ };
@@ -0,0 +1,6 @@
1
+ function i(a, n = -1 / 0, t = 1 / 0) {
2
+ return Math.min(Math.max(a, n), t);
3
+ }
4
+ export {
5
+ i as $
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";function n(a,t=-1/0,c=1/0){return Math.min(Math.max(a,t),c)}exports.$9446cca9a3875146$export$7d15b64cf5a3a4c4=n;
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.1.1",
17
+ "version": "10.2.0",
18
18
  "main": "./index.cjs",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
@@ -41,11 +41,11 @@
41
41
  },
42
42
  "./theme": {
43
43
  "types": "./theme/index.d.ts",
44
- "import": "./theme.js",
45
- "require": "./theme.cjs"
44
+ "import": "./theme/index.js",
45
+ "require": "./theme/index.cjs"
46
46
  },
47
47
  "./global.css": {
48
- "import": "./global.css"
48
+ "import": "./assets/global.css"
49
49
  }
50
50
  },
51
51
  "dependencies": {
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-Dqh3ftSP.cjs");exports.ProgressBar=r.ProgressBar;
@@ -0,0 +1,4 @@
1
+ import { P as s } from "../ProgressBar-gmAzSsrz.js";
2
+ export {
3
+ s as ProgressBar
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-CDKrvQe4.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
package/radio/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { R as r, a as R } from "../Radio-_ukSkxPT.js";
2
+ export {
3
+ r as Radio,
4
+ R as RadioGroup
5
+ };
@@ -0,0 +1,57 @@
1
+ function W(e, t) {
2
+ if (!e) return !1;
3
+ let l = window.getComputedStyle(e), o = /(auto|scroll)/.test(l.overflow + l.overflowX + l.overflowY);
4
+ return o && t && (o = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), o;
5
+ }
6
+ function S(e, t) {
7
+ const l = [];
8
+ for (; e && e !== document.documentElement; )
9
+ W(e, t) && l.push(e), e = e.parentElement;
10
+ return l;
11
+ }
12
+ function k(e, t) {
13
+ let l = g(e, t, "left"), o = g(e, t, "top"), f = t.offsetWidth, r = t.offsetHeight, d = e.scrollLeft, s = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: n, scrollPaddingRight: a, scrollPaddingBottom: L, scrollPaddingLeft: T } = getComputedStyle(e), x = d + parseInt(c, 10), u = s + parseInt(i, 10), b = x + e.clientWidth, p = u + e.clientHeight, v = parseInt(n, 10) || 0, P = parseInt(L, 10) || 0, h = parseInt(a, 10) || 0, $ = parseInt(T, 10) || 0;
14
+ l <= d + $ ? d = l - parseInt(c, 10) - $ : l + f > b - h && (d += l + f - b + h), o <= u + v ? s = o - parseInt(i, 10) - v : o + r > p - P && (s += o + r - p + P), e.scrollLeft = d, e.scrollTop = s;
15
+ }
16
+ function g(e, t, l) {
17
+ const o = l === "left" ? "offsetLeft" : "offsetTop";
18
+ let f = 0;
19
+ for (; t.offsetParent && (f += t[o], t.offsetParent !== e); ) {
20
+ if (t.offsetParent.contains(e)) {
21
+ f -= e[o];
22
+ break;
23
+ }
24
+ t = t.offsetParent;
25
+ }
26
+ return f;
27
+ }
28
+ function y(e, t) {
29
+ if (e && document.contains(e)) {
30
+ let d = document.scrollingElement || document.documentElement;
31
+ if (window.getComputedStyle(d).overflow === "hidden") {
32
+ let i = S(e);
33
+ for (let c of i) k(c, e);
34
+ } else {
35
+ var l;
36
+ let { left: i, top: c } = e.getBoundingClientRect();
37
+ e == null || (l = e.scrollIntoView) === null || l === void 0 || l.call(e, {
38
+ block: "nearest"
39
+ });
40
+ let { left: n, top: a } = e.getBoundingClientRect();
41
+ if (Math.abs(i - n) > 1 || Math.abs(c - a) > 1) {
42
+ var o, f, r;
43
+ t == null || (f = t.containingElement) === null || f === void 0 || (o = f.scrollIntoView) === null || o === void 0 || o.call(f, {
44
+ block: "center",
45
+ inline: "center"
46
+ }), (r = e.scrollIntoView) === null || r === void 0 || r.call(e, {
47
+ block: "nearest"
48
+ });
49
+ }
50
+ }
51
+ }
52
+ }
53
+ export {
54
+ W as $,
55
+ k as a,
56
+ y as b
57
+ };
@@ -0,0 +1 @@
1
+ "use strict";function x(e,t){if(!e)return!1;let o=window.getComputedStyle(e),l=/(auto|scroll)/.test(o.overflow+o.overflowX+o.overflowY);return l&&t&&(l=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),l}function k(e,t){const o=[];for(;e&&e!==document.documentElement;)x(e,t)&&o.push(e),e=e.parentElement;return o}function L(e,t){let o=g(e,t,"left"),l=g(e,t,"top"),f=t.offsetWidth,r=t.offsetHeight,d=e.scrollLeft,s=e.scrollTop,{borderTopWidth:c,borderLeftWidth:i,scrollPaddingTop:n,scrollPaddingRight:b,scrollPaddingBottom:T,scrollPaddingLeft:W}=getComputedStyle(e),S=d+parseInt(i,10),u=s+parseInt(c,10),a=S+e.clientWidth,p=u+e.clientHeight,$=parseInt(n,10)||0,v=parseInt(T,10)||0,P=parseInt(b,10)||0,h=parseInt(W,10)||0;o<=d+h?d=o-parseInt(i,10)-h:o+f>a-P&&(d+=o+f-a+P),l<=u+$?s=l-parseInt(c,10)-$:l+r>p-v&&(s+=l+r-p+v),e.scrollLeft=d,e.scrollTop=s}function g(e,t,o){const l=o==="left"?"offsetLeft":"offsetTop";let f=0;for(;t.offsetParent&&(f+=t[l],t.offsetParent!==e);){if(t.offsetParent.contains(e)){f-=e[l];break}t=t.offsetParent}return f}function y(e,t){if(e&&document.contains(e)){let d=document.scrollingElement||document.documentElement;if(window.getComputedStyle(d).overflow==="hidden"){let c=k(e);for(let i of c)L(i,e)}else{var o;let{left:c,top:i}=e.getBoundingClientRect();e==null||(o=e.scrollIntoView)===null||o===void 0||o.call(e,{block:"nearest"});let{left:n,top:b}=e.getBoundingClientRect();if(Math.abs(c-n)>1||Math.abs(i-b)>1){var l,f,r;t==null||(f=t.containingElement)===null||f===void 0||(l=f.scrollIntoView)===null||l===void 0||l.call(f,{block:"center",inline:"center"}),(r=e.scrollIntoView)===null||r===void 0||r.call(e,{block:"nearest"})}}}}exports.$2f04cbc44ee30ce0$export$53a0910f038337bd=L;exports.$2f04cbc44ee30ce0$export$c826860796309d1b=y;exports.$cc38e7bd3fc7b213$export$2bb74740c4e19def=x;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-6yBGiojX.cjs");exports.SearchField=e.SearchField;
@@ -0,0 +1,4 @@
1
+ import { S as a } from "../SearchField-DYl2uo7o.js";
2
+ export {
3
+ a as SearchField
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-CpHjd1tp.cjs");exports.Select=e.Select;
@@ -0,0 +1,4 @@
1
+ import { S as r } from "../Select-PvCqY7Lp.js";
2
+ export {
3
+ r as Select
4
+ };
@@ -17,5 +17,10 @@ export interface SkeletonProps extends React.DetailedHTMLProps<React.HTMLAttribu
17
17
  * @default true
18
18
  */
19
19
  isAnimated?: boolean;
20
+ /**
21
+ * If skeleton is on a layer01 background light-dark( #f2f2f2, #262626)
22
+ * @default false
23
+ */
24
+ isOnLayer01?: boolean;
20
25
  }
21
26
  export declare const Skeleton: React.FC<SkeletonProps>;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Skeleton-BAwbfKBW.cjs");exports.Skeleton=e.Skeleton;
@@ -0,0 +1,4 @@
1
+ import { S as r } from "../Skeleton-BePDRmrO.js";
2
+ export {
3
+ r as Skeleton
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Spinner-DAJtfxqJ.cjs");exports.Spinner=e.Spinner;
@@ -0,0 +1,4 @@
1
+ import { S as n } from "../Spinner-D31SXm-U.js";
2
+ export {
3
+ n as Spinner
4
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";const t=require("./createLucideIcon-DAY4oS-S.cjs");/**
2
+ * @license lucide-react v0.453.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=t.createLucideIcon("SquareArrowOutUpRight",[["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"}]]);exports.SquareArrowOutUpRight=e;
@@ -0,0 +1,15 @@
1
+ import { c as t } from "./createLucideIcon-DeWljiyi.js";
2
+ /**
3
+ * @license lucide-react v0.453.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const r = t("SquareArrowOutUpRight", [
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
+ ["path", { d: "m21 3-9 9", key: "mpx6sq" }],
11
+ ["path", { d: "M15 3h6v6", key: "1q9fwt" }]
12
+ ]);
13
+ export {
14
+ r as S
15
+ };
package/table/Table.d.ts CHANGED
@@ -1,15 +1,21 @@
1
1
  import { RowProps, TableHeaderProps, ColumnProps, TableProps as AriaTableProps, CellProps, TableBody } from 'react-aria-components';
2
+ import { Size } from '../common/types';
2
3
  export interface TableProps extends AriaTableProps {
3
4
  /**
4
5
  * A more compact version of the table
6
+ * @deprecated since v10.1.1, please use the `size` prop instead.
5
7
  */
6
8
  narrow?: boolean;
9
+ /** Row height (large: 48px, medium: 40px)
10
+ * @default 'large'
11
+ * */
12
+ size?: Size;
7
13
  /**
8
14
  * Alternating colors for rows
9
15
  */
10
16
  striped?: boolean;
11
17
  }
12
- export declare const Table: ({ narrow, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
18
+ export declare const Table: ({ narrow, size, striped, className, ...rest }: TableProps) => import("react/jsx-runtime").JSX.Element;
13
19
  export declare const TableHeader: <T extends object>({ columns, children, }: TableHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
14
20
  export declare const Row: <T extends object>({ id, columns, children, ...rest }: RowProps<T>) => import("react/jsx-runtime").JSX.Element;
15
21
  export declare const Column: ({ children, ...rest }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-D9vNc_y-.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 ADDED
@@ -0,0 +1,9 @@
1
+ import { b as l, C as s, R as o, T as b, $ as T, a as r } from "../Table-B_N7wUmA.js";
2
+ export {
3
+ l as Cell,
4
+ s as Column,
5
+ o as Row,
6
+ b as Table,
7
+ T as TableBody,
8
+ r as TableHeader
9
+ };
package/tabs/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tabs-Dtcl2oK2.cjs");exports.Tabs=e.Tabs;
package/tabs/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { T as r } from "../Tabs-Ct6D83aR.js";
2
+ export {
3
+ r as Tabs
4
+ };
package/tag/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Tag-CVFkzg3s.cjs");exports.Tag=e.Tag;exports.TagGroup=e.TagGroup;
package/tag/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { T as r, a as T } from "../Tag-g6HN-YCv.js";
2
+ export {
3
+ r as Tag,
4
+ T as TagGroup
5
+ };
package/text/index.cjs ADDED
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Text-3MNwRMpI.cjs");exports.Text=e.Text;
package/text/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { T as r } from "../Text-BN-g1iWi.js";
2
+ export {
3
+ r as Text
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TextArea-cVyGBRbL.cjs");exports.Input=e.Input;exports.TextArea=e.TextArea;exports.TextField=e.TextField;exports.TextFieldBase=e.TextFieldBase;
@@ -0,0 +1,7 @@
1
+ import { I as s, b as t, a as x, T } from "../TextArea-DSiQ578a.js";
2
+ export {
3
+ s as Input,
4
+ t as TextArea,
5
+ x as TextField,
6
+ T as TextFieldBase
7
+ };
@@ -0,0 +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;
package/theme/index.d.ts CHANGED
@@ -124,11 +124,13 @@ export declare const theme: {
124
124
  fast: string;
125
125
  };
126
126
  windowSizes: {
127
+ sm: number;
127
128
  md: number;
128
129
  lg: number;
129
130
  xl: number;
130
131
  };
131
132
  breakpoints: {
133
+ xs: string;
132
134
  sm: string;
133
135
  md: string;
134
136
  lg: string;
@@ -169,6 +171,8 @@ export declare const theme: {
169
171
  fieldActive02: string;
170
172
  fieldDisabled: string;
171
173
  fieldSkeleton: string;
174
+ skeleton01: string;
175
+ skeleton02: string;
172
176
  iconPrimary: string;
173
177
  iconSecondary: string;
174
178
  iconTertiary: string;
@@ -1,5 +1,5 @@
1
- import { t as s } from "./tokens-C0U7hdoO.js";
2
- import { b as n, f as r, s as i, c as p, d as m, e as c, a as b, w as d, z as f } from "./tokens-C0U7hdoO.js";
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";
3
3
  const t = { ...s };
4
4
  export {
5
5
  n as baseColors,
package/theme/tokens.d.ts CHANGED
@@ -122,11 +122,13 @@ export declare const transitions: {
122
122
  fast: string;
123
123
  };
124
124
  export declare const windowSizes: {
125
+ sm: number;
125
126
  md: number;
126
127
  lg: number;
127
128
  xl: number;
128
129
  };
129
130
  export declare const breakpoints: {
131
+ xs: string;
130
132
  sm: string;
131
133
  md: string;
132
134
  lg: string;
@@ -166,7 +168,12 @@ export declare const semantic: {
166
168
  fieldHover02: string;
167
169
  fieldActive02: string;
168
170
  fieldDisabled: string;
171
+ /**
172
+ * @deprecated since v10.2.0, please use the `skeleton01` instead.
173
+ */
169
174
  fieldSkeleton: string;
175
+ skeleton01: string;
176
+ skeleton02: string;
170
177
  iconPrimary: string;
171
178
  iconSecondary: string;
172
179
  iconTertiary: string;
@@ -211,6 +218,9 @@ export declare const semantic: {
211
218
  buttonBackgroundDangerHover: string;
212
219
  buttonBackgroundDangerActive: string;
213
220
  buttonBackgroundDisabled: string;
221
+ /**
222
+ * @deprecated since v10.2.0, please use the `skeleton01` instead.
223
+ */
214
224
  buttonBackgroundSkeleton: string;
215
225
  buttonBorderSecondary: string;
216
226
  logoPrimary: string;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Toast-DrkOGy4d.cjs");exports.GlobalToastRegion=o.GlobalToastRegion;exports.Toast=o.Toast;exports.ToastProvider=o.ToastProvider;exports.ToastRegion=o.ToastRegion;exports.toastQueue=o.toastQueue;exports.useToastState=o.useToastState;
package/toast/index.js ADDED
@@ -0,0 +1,9 @@
1
+ import { G as o, b as t, T as e, a as T, t as r, u } from "../Toast-CjpldAI8.js";
2
+ export {
3
+ o as GlobalToastRegion,
4
+ t as Toast,
5
+ e as ToastProvider,
6
+ T as ToastRegion,
7
+ r as toastQueue,
8
+ u as useToastState
9
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../ToggleButtonGroup-BuU_6dYe.cjs");exports.ToggleButton=o.ToggleButton;exports.ToggleButtonGroup=o.ToggleButtonGroup;
@@ -0,0 +1,5 @@
1
+ import { T as g, a } from "../ToggleButtonGroup-Ceh9_yBM.js";
2
+ export {
3
+ g as ToggleButton,
4
+ a as ToggleButtonGroup
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r={black:"#000000",white:"#ffffff",blackHover:"#0d0d0d",whiteHover:"#e6e6e6",gray10:"#f2f2f2",gray20:"#e6e6e6",gray30:"#d9d9d9",gray40:"#cccccc",gray50:"#bfbfbf",gray60:"#b3b3b3",gray70:"#a6a6a6",gray80:"#999999",gray90:"#8c8c8c",gray100:"#808080",gray110:"#737373",gray120:"#666666",gray130:"#5d5d5d",gray140:"#525252",gray150:"#474747",gray160:"#383838",gray170:"#333333",gray180:"#262626",gray190:"#212121",gray200:"#171717",blue10:"#eaf2f6",blue20:"#d5e5ed",blue40:"#abcbdb",blue50:"#94BCD1",blue60:"#82b0c9",blue70:"#6CA3C0",blue80:"#5897b8",blue90:"#4289ad",blue100:"#2e7ca5",blue110:"#2C7399",blue120:"#29698C",blue130:"#25607f",blue150:"#143c50",purple80:"#b46ab4",purple110:"#954b95",red100:"#b90835",signalBlue10:"#eaf2f6",signalBlue100:"#0066cc",signalGreen20:"#d5f2d9",signalGreen30:"#bae5c5",signalGreen100:"#008d3c",signalYellow10:"#fff8e1",signalYellow100:"#fdb813",signalRed10:"#ffefef",signalRed20:"#ffdfdf",signalRed30:"#fcc8c8",signalRed40:"#f9b0b0",signalRed50:"#f69999",signalRed60:"#f38181",signalRed70:"#ef6a6a",signalRed80:"#eb4e4e",signalRed90:"#e93b3b",signalRed100:"#e62323",signalRed110:"#d12020",signalRed120:"#bc1d1d",signalRed130:"#a71919",signalRed140:"#921616",signalRed150:"#7d1313",signalRed160:"#691010",signalRed170:"#540d0d",signalRed180:"#3f0a0a",signalRed190:"#2a0606",signalRed200:"#150303"},a={fontFamily:'"Inter", sans-serif',lineHeight10:1,lineHeight20:1.125,lineHeight30:1.25,lineHeight40:1.375,lineHeight50:1.5,lineHeight60:1.75,lineHeight70:2,lineHeight80:2.25,lineHeight90:2.5,lineHeight100:2.75,fontSize10:"0.75rem",fontSize20:"0.875rem",fontSize30:"1rem",fontSize40:"1.125rem",fontSize50:"1.25rem",fontSize60:"1.5rem",fontSize70:"1.75rem",fontSize80:"2rem",fontSize90:"2.25rem",fontSize100:"2.625rem",weightThin:100,weightExtraLight:200,weightLight:300,weightRegular:400,weightMedium:500,weightSemiBold:600,weightBold:700,weightExtraBold:800,weightBlack:900},g={10:"0.125rem",20:"0.25rem",30:"0.5rem",40:"0.75rem",50:"1rem",60:"1.5rem",70:"2rem",80:"2.5rem",90:"3rem",100:"4rem",110:"5rem",120:"6rem"},i={focus:"0 0 0 2px light-dark(white, black), 0 0 0 4px light-dark(black, white)"},l={slow:"500ms",normal:"300ms",fast:"250ms"},e={sm:480,md:768,lg:1024,xl:1280},t={xs:`(max-width: ${e.sm-1}px)`,sm:`(min-width: ${e.sm}px)`,md:`(min-width: ${e.md}px)`,lg:`(min-width: ${e.lg}px)`,xl:`(min-width: ${e.xl}px)`,forcedColorsMode:"(forced-colors: active)",darkMode:"(prefers-color-scheme: dark)",prefersReducedMotion:"(prefers-reduced-motion: reduced)"},d={background:`light-dark(${r.white}, ${r.gray200})`,backgroundHover:`light-dark(${r.whiteHover}, ${r.gray190})`,backgroundInverse:`light-dark(${r.gray200}, ${r.gray10})`,layer01:`light-dark(${r.gray10}, ${r.gray180})`,layerHover01:`light-dark(${r.gray20}, ${r.gray170})`,layerSelected01:`light-dark(${r.gray30}, ${r.gray160})`,layerSelectedHover01:`light-dark(${r.gray40}, ${r.gray150})`,layer02:`light-dark(${r.white}, ${r.gray160})`,layerHover02:`light-dark(${r.whiteHover}, ${r.gray150})`,layerSelected02:`light-dark(${r.gray30}, ${r.gray140})`,layerSelectedHover02:`light-dark(${r.gray40}, ${r.gray130})`,layerAccent01:`light-dark(${r.gray30}, ${r.gray160})`,layerAccentHover01:`light-dark(${r.gray40}, ${r.gray150})`,layerAccentSelected01:`light-dark(${r.gray50}, ${r.gray140})`,layerAccent02:`light-dark(${r.gray10}, ${r.gray180})`,layerAccentHover02:`light-dark(${r.gray20}, ${r.gray170})`,layerAccentSelected02:`light-dark(${r.gray30}, ${r.gray160})`,brandPrimary:`light-dark(${r.red100}, ${r.red100})`,borderPrimary:`light-dark(${r.gray200}, ${r.gray10})`,borderSecondary:`light-dark(${r.gray110}, ${r.gray90})`,borderSubtle:`light-dark(${r.gray50}, ${r.gray160})`,borderTertiary:`light-dark(${r.blue150}, ${r.blue100})`,borderDisabled:`light-dark(${r.gray50}, ${r.gray140})`,field01:`light-dark(${r.gray10}, ${r.gray180})`,fieldHover01:`light-dark(${r.gray20}, ${r.gray170})`,fieldActive01:`light-dark(${r.gray30}, ${r.gray160})`,field02:`light-dark(${r.white}, ${r.gray160})`,fieldHover02:`light-dark(${r.whiteHover}, ${r.gray150})`,fieldActive02:`light-dark(${r.gray30}, ${r.gray140})`,fieldDisabled:`light-dark(${r.gray10}, ${r.gray180})`,fieldSkeleton:`light-dark(${r.gray10}, ${r.gray180})`,skeleton01:`light-dark(${r.gray10}, ${r.gray180})`,skeleton02:`light-dark(${r.gray30}, ${r.gray160})`,iconPrimary:`light-dark(${r.gray200}, ${r.gray10})`,iconSecondary:`light-dark(${r.gray140}, ${r.gray70})`,iconTertiary:`light-dark(${r.blue150}, ${r.gray10})`,iconInverse:`light-dark(${r.white}, ${r.gray200})`,iconOnColor:`light-dark(${r.white}, ${r.white})`,iconDisabled:`light-dark(${r.gray50}, ${r.gray140})`,iconSuccess:`light-dark(${r.signalGreen100}, ${r.signalGreen100})`,iconInfo:`light-dark(${r.signalBlue100}, ${r.signalBlue100})`,iconWarning:`light-dark(${r.signalRed100}, ${r.signalRed100})`,iconImportant:`light-dark(${r.signalYellow100}, ${r.signalYellow100})`,linkEnabled:`light-dark(${r.blue120}, ${r.blue70})`,linkHover:`light-dark(${r.blue150}, ${r.blue50})`,linkPressed:`light-dark(${r.gray200}, ${r.blue40})`,linkVisited:`light-dark(${r.purple110}, ${r.purple80})`,supportBorderSuccess:`light-dark(${r.signalGreen100}, ${r.signalGreen100})`,supportBorderInfo:`light-dark(${r.signalBlue100}, ${r.signalBlue100})`,supportBorderImportant:`light-dark(${r.signalYellow100}, ${r.signalYellow100})`,supportBorderWarning:`light-dark(${r.signalRed100}, ${r.signalRed100})`,supportBackgroundSuccess:`light-dark(${r.signalGreen20}, ${r.gray180})`,supportBackgroundSuccessHover:`light-dark(${r.signalGreen30}, ${r.gray170})`,supportBackgroundInfo:`light-dark(${r.signalBlue10}, ${r.gray180})`,supportBackgroundImportant:`light-dark(${r.signalYellow10}, ${r.gray180})`,supportBackgroundWarning:`light-dark(${r.signalRed20}, ${r.gray180})`,supportBackgroundWarningHover:`light-dark(${r.signalRed30}, ${r.gray170})`,textPrimary:`light-dark(${r.gray200}, ${r.gray10})`,textSecondary:`light-dark(${r.gray140}, ${r.gray70})`,textTertiary:`light-dark(${r.blue150}, ${r.gray10})`,textOnColor:`light-dark(${r.white}, ${r.white})`,textInverse:`light-dark(${r.gray10}, ${r.gray200})`,textDisabled:`light-dark(${r.gray50}, ${r.gray140})`,textWarning:`light-dark(${r.signalRed100}, ${r.signalRed80})`,textPlaceholder:`light-dark(${r.gray70}, ${r.gray140})`,buttonBackgroundPrimary:`light-dark(${r.blue150}, ${r.blue100})`,buttonBackgroundPrimaryHover:`light-dark(${r.blue130}, ${r.blue130})`,buttonBackgroundPrimaryActive:`light-dark(${r.blue100}, ${r.blue150})`,buttonBackgroundSecondary:`light-dark(${r.white}, ${r.gray200})`,buttonBackgroundSecondaryHover:`light-dark(${r.whiteHover}, ${r.gray190})`,buttonBackgroundSecondaryActive:`light-dark(${r.gray30}, ${r.gray180})`,buttonBackgroundTertiaryHover:`light-dark(${r.whiteHover}, ${r.gray190})`,buttonBackgroundTertiaryActive:`light-dark(${r.gray30}, ${r.gray180})`,buttonBackgroundDanger:`light-dark(${r.signalRed100}, ${r.signalRed100})`,buttonBackgroundDangerHover:`light-dark(${r.signalRed120}, ${r.signalRed120})`,buttonBackgroundDangerActive:`light-dark(${r.signalRed150}, ${r.signalRed150})`,buttonBackgroundDisabled:`light-dark(${r.gray10}, ${r.gray180})`,buttonBackgroundSkeleton:`light-dark(${r.gray10}, ${r.gray180})`,buttonBorderSecondary:`light-dark(${r.blue150}, ${r.gray10})`,logoPrimary:`light-dark(${r.red100}, ${r.white})`,menuItemBackgroundHover:`light-dark(${r.gray20}, ${r.gray190})`,menuItemBackgroundSelected:`light-dark(${r.gray10}, ${r.gray180})`},n={base:1,above:10,modal:1e3,toast:1100,skipToContent:1200},o=Object.freeze(Object.defineProperty({__proto__:null,baseColors:r,breakpoints:t,semantic:d,spacing:g,states:i,transitions:l,typography:a,windowSizes:e,zIndex:n},Symbol.toStringTag,{value:"Module"}));exports.baseColors=r;exports.breakpoints=t;exports.semantic=d;exports.spacing=g;exports.states=i;exports.tokens=o;exports.transitions=l;exports.typography=a;exports.windowSizes=e;exports.zIndex=n;
@@ -149,11 +149,13 @@ const r = {
149
149
  normal: "300ms",
150
150
  fast: "250ms"
151
151
  }, e = {
152
+ sm: 480,
152
153
  md: 768,
153
- lg: 1200,
154
- xl: 1440
154
+ lg: 1024,
155
+ xl: 1280
155
156
  }, t = {
156
- sm: `(max-width: ${e.md - 1}px)`,
157
+ xs: `(max-width: ${e.sm - 1}px)`,
158
+ sm: `(min-width: ${e.sm}px)`,
157
159
  md: `(min-width: ${e.md}px)`,
158
160
  lg: `(min-width: ${e.lg}px)`,
159
161
  xl: `(min-width: ${e.xl}px)`,
@@ -191,7 +193,12 @@ const r = {
191
193
  fieldHover02: `light-dark(${r.whiteHover}, ${r.gray150})`,
192
194
  fieldActive02: `light-dark(${r.gray30}, ${r.gray140})`,
193
195
  fieldDisabled: `light-dark(${r.gray10}, ${r.gray180})`,
196
+ /**
197
+ * @deprecated since v10.2.0, please use the `skeleton01` instead.
198
+ */
194
199
  fieldSkeleton: `light-dark(${r.gray10}, ${r.gray180})`,
200
+ skeleton01: `light-dark(${r.gray10}, ${r.gray180})`,
201
+ skeleton02: `light-dark(${r.gray30}, ${r.gray160})`,
195
202
  iconPrimary: `light-dark(${r.gray200}, ${r.gray10})`,
196
203
  iconSecondary: `light-dark(${r.gray140}, ${r.gray70})`,
197
204
  iconTertiary: `light-dark(${r.blue150}, ${r.gray10})`,
@@ -236,6 +243,9 @@ const r = {
236
243
  buttonBackgroundDangerHover: `light-dark(${r.signalRed120}, ${r.signalRed120})`,
237
244
  buttonBackgroundDangerActive: `light-dark(${r.signalRed150}, ${r.signalRed150})`,
238
245
  buttonBackgroundDisabled: `light-dark(${r.gray10}, ${r.gray180})`,
246
+ /**
247
+ * @deprecated since v10.2.0, please use the `skeleton01` instead.
248
+ */
239
249
  buttonBackgroundSkeleton: `light-dark(${r.gray10}, ${r.gray180})`,
240
250
  buttonBorderSecondary: `light-dark(${r.blue150}, ${r.gray10})`,
241
251
  logoPrimary: `light-dark(${r.red100}, ${r.white})`,
@@ -262,11 +272,11 @@ const r = {
262
272
  export {
263
273
  a,
264
274
  r as b,
265
- g as c,
266
- l as d,
267
- i as e,
268
- t as f,
269
- d as s,
275
+ l as c,
276
+ i as d,
277
+ t as e,
278
+ d as f,
279
+ g as s,
270
280
  o as t,
271
281
  e as w,
272
282
  n as z
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Tooltip-CiWg4zIC.cjs");exports.Tooltip=o.Tooltip;exports.TooltipTrigger=o.TooltipTrigger;
@@ -0,0 +1,5 @@
1
+ import { T, a } from "../Tooltip-BAIjaYax.js";
2
+ export {
3
+ T as Tooltip,
4
+ a as TooltipTrigger
5
+ };