@midas-ds/components 10.1.1 → 10.3.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 (383) hide show
  1. package/AccordionItem-BGWiWjxA.cjs +1 -0
  2. package/AccordionItem-ChHpW8EW.js +320 -0
  3. package/BadgeContainer-DM8TdyMT.js +37 -0
  4. package/BadgeContainer-I1XA3OCl.cjs +1 -0
  5. package/Breadcrumbs-CwDUNIqF.js +250 -0
  6. package/Breadcrumbs-DtjJ1UmU.cjs +1 -0
  7. package/Button-BoJl6JGM.cjs +1 -0
  8. package/Button-Csih3v23.js +38 -0
  9. package/Button-DjBChs7s.js +340 -0
  10. package/Button-htW9qIsS.cjs +1 -0
  11. package/Button.module-DEQtBYe5.cjs +1 -0
  12. package/Button.module-tti8HGxs.js +14 -0
  13. package/ButtonGroup-DUqW5dzM.cjs +1 -0
  14. package/ButtonGroup-DvVvear6.js +22 -0
  15. package/CHANGELOG.md +68 -0
  16. package/Card-0G0mj9q5.cjs +1 -0
  17. package/Card-yrtGzt70.js +131 -0
  18. package/CharacterCounter-BL_nZHya.js +22 -0
  19. package/CharacterCounter-CHcTDHO-.cjs +1 -0
  20. package/Checkbox-5HINZdGu.js +263 -0
  21. package/Checkbox-DqcPg5hz.cjs +1 -0
  22. package/CheckboxGroup-BBrSMuDY.cjs +1 -0
  23. package/CheckboxGroup-CLgixk2p.js +243 -0
  24. package/Collection-BIDsXNhi.cjs +1 -0
  25. package/Collection-Brgjpkne.js +576 -0
  26. package/ColorSchemeSwitch-BpzQ7g0b.js +106 -0
  27. package/ColorSchemeSwitch-C-qWuqkU.cjs +16 -0
  28. package/ComboBox-CVDyp2a-.js +1379 -0
  29. package/ComboBox-CWJUg9Xx.cjs +1 -0
  30. package/DateField-DeDhiYnW.cjs +1 -0
  31. package/DateField-DhU3q-rG.js +47 -0
  32. package/DateInputDivider-ADvOavHw.cjs +1 -0
  33. package/DateInputDivider-CF4xWsMT.js +2904 -0
  34. package/DateRangePicker-BsAHhy99.cjs +6 -0
  35. package/DateRangePicker-ziD1_k1W.js +881 -0
  36. package/Dialog-B8GTYbvu.cjs +1 -0
  37. package/Dialog-BOrYdX50.cjs +1 -0
  38. package/Dialog-CXNu48AC.js +208 -0
  39. package/Dialog-D14MbJ7o.js +1633 -0
  40. package/DragAndDrop-DNth776R.cjs +1 -0
  41. package/DragAndDrop-o3ruz_SR.js +60 -0
  42. package/Dropdown-CJ6My6EI.cjs +6 -0
  43. package/Dropdown-Df58j43I.js +84 -0
  44. package/FieldError-CAcjosk_.js +46 -0
  45. package/FieldError-CKBb2-mp.cjs +1 -0
  46. package/FileUpload-CxCOtyB9.cjs +2 -0
  47. package/FileUpload-D6qoEAjn.js +2373 -0
  48. package/FocusScope-5c9SVBcR.cjs +1 -0
  49. package/FocusScope-CxkURfoc.js +625 -0
  50. package/Form-BuOomA4T.cjs +1 -0
  51. package/Form-CXcEMuBf.js +5 -0
  52. package/Grid--OhtgCo6.js +27 -0
  53. package/Grid-DVQtOcu9.cjs +1 -0
  54. package/GridItem-DlbSdRmB.js +246 -0
  55. package/GridItem-XgHmZWXY.cjs +1 -0
  56. package/Group-B6EslsHZ.js +44 -0
  57. package/Group-CgiqQHH1.cjs +1 -0
  58. package/Heading-BFtiin0g.js +46 -0
  59. package/Heading-mHhCbGjY.cjs +1 -0
  60. package/Hidden-BxRZGdEW.cjs +1 -0
  61. package/Hidden-C9KWUR7b.js +34 -0
  62. package/InfoBanner-BLM-TJJ6.js +83 -0
  63. package/InfoBanner-C2kTIsrB.cjs +1 -0
  64. package/Input-BTzwcf72.js +41 -0
  65. package/Input-DKSAYvsw.cjs +1 -0
  66. package/Label-7Ybb99CE.cjs +1 -0
  67. package/Label-BwJrdqEE.js +70 -0
  68. package/Layout-1g6bMH62.cjs +16 -0
  69. package/Layout-Ey8flY7E.js +468 -0
  70. package/Link-B88l_oaE.cjs +6 -0
  71. package/Link-BQhauBuw.cjs +1 -0
  72. package/Link-DX5BbBnn.js +59 -0
  73. package/Link-yNO2-sqx.js +71 -0
  74. package/LinkButton-CBpGLETx.cjs +6 -0
  75. package/LinkButton-o6uS1XsR.js +69 -0
  76. package/ListBox-DP9M4H6R.cjs +1 -0
  77. package/ListBox-GnVK_Pdq.js +529 -0
  78. package/ListBoxButton-DPBrtXyv.cjs +1 -0
  79. package/ListBoxButton-D_J3jlP0.js +15 -0
  80. package/ListBoxSection-BGaigBnG.cjs +1 -0
  81. package/ListBoxSection-C0BGnpB4.js +1058 -0
  82. package/ListKeyboardDelegate-DNI8GQtX.js +167 -0
  83. package/ListKeyboardDelegate-DTg9h4v6.cjs +1 -0
  84. package/Logo-BIrOEINM.js +133 -0
  85. package/Logo-DT2_2O43.cjs +1 -0
  86. package/OverlayArrow-CDLXPTew.js +506 -0
  87. package/OverlayArrow-D75k-EMl.cjs +1 -0
  88. package/Popover-BGGXeD54.js +38 -0
  89. package/Popover-CqNWzPf-.cjs +1 -0
  90. package/ProgressBar-DMSg-Prr.js +53 -0
  91. package/ProgressBar-Jbg28j2a.cjs +1 -0
  92. package/RSPContexts-BW2SEIqe.js +11 -0
  93. package/RSPContexts-D8hmBfGm.cjs +1 -0
  94. package/Radio-BwqrdhQE.cjs +1 -0
  95. package/Radio-Cz29wPXd.js +311 -0
  96. package/RangeCalendar-BehUaydF.cjs +11 -0
  97. package/RangeCalendar-RAlAHlNL.js +1683 -0
  98. package/SearchField-CxMwDeUM.cjs +6 -0
  99. package/SearchField-IlvZ3Kh6.js +362 -0
  100. package/Select-2q1iSzAX.cjs +1 -0
  101. package/Select-BVQZtoi9.js +646 -0
  102. package/SelectionManager-B4ORduja.js +1032 -0
  103. package/SelectionManager-CwYux2h3.cjs +1 -0
  104. package/Separator-Cu9fYKUM.js +59 -0
  105. package/Separator-DECIYLtZ.cjs +1 -0
  106. package/Skeleton-BAwbfKBW.cjs +1 -0
  107. package/Skeleton-BePDRmrO.js +40 -0
  108. package/Spinner-D31SXm-U.js +41 -0
  109. package/Spinner-P35rvvsl.cjs +6 -0
  110. package/Table-B40CGLT-.cjs +16 -0
  111. package/Table-F4oYBtUM.js +2447 -0
  112. package/Tabs-B4oZJkZG.js +404 -0
  113. package/Tabs-DA2qXhzb.cjs +1 -0
  114. package/Tag-DPAGmcMK.cjs +1 -0
  115. package/Tag-Du7GvSv2.js +745 -0
  116. package/Text-3MNwRMpI.cjs +1 -0
  117. package/Text-B2K-BJKQ.cjs +1 -0
  118. package/Text-BoXuUVVH.js +15 -0
  119. package/Text-jWWg0B20.js +32 -0
  120. package/TextArea-C7JZ_pQd.cjs +1 -0
  121. package/TextArea-XeBCSyzl.js +191 -0
  122. package/TextField-BgNdhZi_.cjs +1 -0
  123. package/TextField-C-hTPukq.js +119 -0
  124. package/TextField.module-BcpPBWnD.js +13 -0
  125. package/TextField.module-Dw5Rtn9y.cjs +1 -0
  126. package/Toast-AbDA1BOs.cjs +1 -0
  127. package/Toast-Btg21Xge.js +989 -0
  128. package/ToggleButtonGroup-B5yz1tm2.js +210 -0
  129. package/ToggleButtonGroup-BFDoj0P6.cjs +1 -0
  130. package/Tooltip-CMLs7WMw.js +283 -0
  131. package/Tooltip-DeBuBKhS.cjs +1 -0
  132. package/VisuallyHidden-CLWHbz2n.cjs +1 -0
  133. package/VisuallyHidden-ZCYf65q4.js +40 -0
  134. package/accordion/index.cjs +1 -0
  135. package/accordion/index.js +5 -0
  136. package/arrow-right-Dg8sttFO.js +14 -0
  137. package/arrow-right-QJ2gXPKQ.cjs +6 -0
  138. package/assets/AccordionItem.css +1 -0
  139. package/assets/BadgeContainer.css +1 -0
  140. package/assets/Breadcrumbs.css +1 -0
  141. package/assets/Button.css +1 -0
  142. package/assets/ButtonGroup.css +1 -0
  143. package/assets/Card.css +1 -0
  144. package/assets/CharacterCounter.css +1 -0
  145. package/assets/Checkbox.css +1 -0
  146. package/assets/ColorSchemeSwitch.css +1 -0
  147. package/assets/ComboBox.css +1 -0
  148. package/assets/DateField.css +1 -0
  149. package/assets/DateInputDivider.css +1 -0
  150. package/assets/DateRangePicker.css +1 -0
  151. package/assets/Dialog.css +1 -0
  152. package/assets/Dropdown.css +1 -0
  153. package/assets/FieldError.css +1 -0
  154. package/assets/FileUpload.css +1 -0
  155. package/assets/GridItem.css +1 -0
  156. package/assets/Heading.css +1 -0
  157. package/assets/InfoBanner.css +1 -0
  158. package/assets/Label.css +1 -0
  159. package/assets/Layout.css +1 -0
  160. package/assets/Link.css +1 -0
  161. package/assets/LinkButton.css +1 -0
  162. package/assets/ListBoxSection.css +1 -0
  163. package/assets/Logo.css +1 -0
  164. package/assets/Popover.css +1 -0
  165. package/assets/ProgressBar.css +1 -0
  166. package/assets/Radio.css +1 -0
  167. package/assets/RangeCalendar.css +1 -0
  168. package/assets/SearchField.css +1 -0
  169. package/assets/Select.css +1 -0
  170. package/assets/Skeleton.css +1 -0
  171. package/assets/Spinner.css +1 -0
  172. package/assets/Table.css +1 -0
  173. package/assets/Tabs.css +1 -0
  174. package/assets/Tag.css +1 -0
  175. package/assets/Text.css +1 -0
  176. package/assets/TextField.css +1 -0
  177. package/assets/Toast.css +1 -0
  178. package/assets/ToggleButtonGroup.css +1 -0
  179. package/assets/Tooltip.css +1 -0
  180. package/badge/index.cjs +1 -0
  181. package/badge/index.js +5 -0
  182. package/breadcrumbs/index.cjs +1 -0
  183. package/breadcrumbs/index.js +4 -0
  184. package/button/index.cjs +1 -0
  185. package/button/index.js +6 -0
  186. package/calendar/CalendarHeader.d.ts +2 -1
  187. package/calendar/index.cjs +1 -0
  188. package/calendar/index.js +5 -0
  189. package/card/index.cjs +1 -0
  190. package/card/index.js +10 -0
  191. package/character-counter/index.cjs +1 -0
  192. package/character-counter/index.js +4 -0
  193. package/check-CLF6Yxza.js +11 -0
  194. package/check-D_KoootC.cjs +6 -0
  195. package/checkbox/Checkbox.d.ts +2 -2
  196. package/checkbox/CheckboxGroup.d.ts +8 -8
  197. package/checkbox/CheckboxGroupFieldError.d.ts +8 -0
  198. package/checkbox/CheckboxGroupItem.d.ts +3 -0
  199. package/checkbox/CheckboxInner.d.ts +2 -0
  200. package/checkbox/SingleCheckbox.d.ts +3 -0
  201. package/checkbox/context.d.ts +3 -0
  202. package/checkbox/index.cjs +1 -0
  203. package/checkbox/index.d.ts +2 -1
  204. package/checkbox/index.js +6 -0
  205. package/checkbox/intl/translations.json.d.ts +35 -0
  206. package/checkbox/types.d.ts +14 -0
  207. package/checkbox/useSelectAll.d.ts +7 -0
  208. package/chevron-down-Cd1bkzXT.js +13 -0
  209. package/chevron-down-jl83cllc.cjs +6 -0
  210. package/circle-check-B9HYcH7Z.js +26 -0
  211. package/circle-check-BGo8gML8.cjs +11 -0
  212. package/clsx-C11secjj.cjs +1 -0
  213. package/clsx-OuTLNxxd.js +16 -0
  214. package/color-scheme-switch/index.cjs +1 -0
  215. package/color-scheme-switch/index.js +4 -0
  216. package/combobox/ComboBox.d.ts +3 -1
  217. package/combobox/index.cjs +1 -0
  218. package/combobox/index.js +7 -0
  219. package/common/types.d.ts +2 -0
  220. package/context-C81gPYvC.js +80 -0
  221. package/context-DjwhtgxQ.cjs +1 -0
  222. package/createLucideIcon-Cg_wkoIA.cjs +21 -0
  223. package/createLucideIcon-DeWljiyi.js +79 -0
  224. package/date-field/DateField.d.ts +3 -0
  225. package/date-field/index.cjs +1 -0
  226. package/date-field/index.js +8 -0
  227. package/date-picker/DatePicker.d.ts +3 -0
  228. package/date-picker/DateRangePicker.d.ts +3 -0
  229. package/date-picker/index.cjs +1 -0
  230. package/date-picker/index.js +5 -0
  231. package/dropdown/index.cjs +1 -0
  232. package/dropdown/index.js +5 -0
  233. package/field-error/FieldError.d.ts +4 -1
  234. package/field-error/index.cjs +1 -0
  235. package/field-error/index.js +4 -0
  236. package/file-upload/FileUpload.d.ts +3 -0
  237. package/file-upload/index.cjs +1 -0
  238. package/file-upload/index.js +4 -0
  239. package/filterDOMProps-BS2lrgFA.cjs +1 -0
  240. package/filterDOMProps-D6KHYVBX.js +24 -0
  241. package/getScrollParent-BhFcYrwL.js +9 -0
  242. package/getScrollParent-DDJu9WHU.cjs +1 -0
  243. package/grid/Grid.d.ts +15 -4
  244. package/grid/GridItem.d.ts +31 -2
  245. package/grid/index.cjs +1 -0
  246. package/grid/index.d.ts +2 -2
  247. package/grid/index.js +8 -0
  248. package/heading/index.cjs +1 -0
  249. package/heading/index.js +4 -0
  250. package/index-CGRFP4CC.js +120 -0
  251. package/index-Dsz3aiWt.cjs +17 -0
  252. package/index.cjs +1 -169
  253. package/index.d.ts +1 -1
  254. package/index.js +129 -29979
  255. package/inertValue-B3AFhVG4.cjs +1 -0
  256. package/inertValue-B7loUihk.js +8 -0
  257. package/info-BZwphdye.js +15 -0
  258. package/info-CIEIENo6.cjs +6 -0
  259. package/info-banner/index.cjs +1 -0
  260. package/info-banner/index.js +4 -0
  261. package/label/InfoPopover.d.ts +9 -0
  262. package/label/LabelWrapper.d.ts +11 -0
  263. package/label/index.cjs +1 -0
  264. package/label/index.d.ts +1 -0
  265. package/label/index.js +4 -0
  266. package/layout/index.cjs +1 -0
  267. package/layout/index.js +8 -0
  268. package/link/index.cjs +1 -0
  269. package/link/index.js +6 -0
  270. package/link-button/index.cjs +1 -0
  271. package/link-button/index.js +6 -0
  272. package/list-box/index.cjs +1 -0
  273. package/list-box/index.js +9 -0
  274. package/logo/index.cjs +1 -0
  275. package/logo/index.js +4 -0
  276. package/modal/index.cjs +1 -0
  277. package/modal/index.js +6 -0
  278. package/number-BE8InLgI.js +6 -0
  279. package/number-E0x3H9cL.cjs +1 -0
  280. package/package.json +4 -4
  281. package/popover/Popover.d.ts +7 -0
  282. package/popover/index.cjs +1 -0
  283. package/popover/index.d.ts +1 -0
  284. package/popover/index.js +4 -0
  285. package/progress-bar/index.cjs +1 -0
  286. package/progress-bar/index.js +4 -0
  287. package/radio/Radio.d.ts +3 -0
  288. package/radio/index.cjs +1 -0
  289. package/radio/index.js +5 -0
  290. package/scrollIntoView-C8doLzDd.cjs +1 -0
  291. package/scrollIntoView-Hwb_aaNf.js +87 -0
  292. package/search-field/index.cjs +1 -0
  293. package/search-field/index.js +4 -0
  294. package/select/index.cjs +1 -0
  295. package/select/index.js +4 -0
  296. package/skeleton/Skeleton.d.ts +5 -0
  297. package/skeleton/index.cjs +1 -0
  298. package/skeleton/index.js +4 -0
  299. package/spinner/index.cjs +1 -0
  300. package/spinner/index.js +4 -0
  301. package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
  302. package/square-arrow-out-up-right-V4Gd08uI.cjs +6 -0
  303. package/table/Table.d.ts +7 -1
  304. package/table/index.cjs +1 -0
  305. package/table/index.js +9 -0
  306. package/tabs/index.cjs +1 -0
  307. package/tabs/index.js +4 -0
  308. package/tag/index.cjs +1 -0
  309. package/tag/index.js +5 -0
  310. package/text/index.cjs +1 -0
  311. package/text/index.js +4 -0
  312. package/textfield/TextFieldBase.d.ts +2 -0
  313. package/textfield/index.cjs +1 -0
  314. package/textfield/index.js +7 -0
  315. package/theme/index.cjs +1 -0
  316. package/theme/index.d.ts +4 -0
  317. package/{theme.js → theme/index.js} +2 -2
  318. package/theme/tokens.d.ts +10 -0
  319. package/toast/index.cjs +1 -0
  320. package/toast/index.js +9 -0
  321. package/toggle-button/index.cjs +1 -0
  322. package/toggle-button/index.js +5 -0
  323. package/tokens-p6pg1Cea.cjs +1 -0
  324. package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
  325. package/tooltip/index.cjs +1 -0
  326. package/tooltip/index.js +5 -0
  327. package/triangle-alert-DJW8U7jL.cjs +6 -0
  328. package/triangle-alert-wxyxspAl.js +21 -0
  329. package/useButton-B8dB9sot.js +47 -0
  330. package/useButton-cpNi-fY4.cjs +1 -0
  331. package/useControlledState-D0L6S_5r.cjs +1 -0
  332. package/useControlledState-u436Wbp1.js +30 -0
  333. package/useDateFormatter-CnxoJ4jF.cjs +1 -0
  334. package/useDateFormatter-EHm4auIg.js +1571 -0
  335. package/useEvent-DxBxMX2V.cjs +1 -0
  336. package/useEvent-IsD2Awnh.js +21 -0
  337. package/useField-CXKYU74k.cjs +1 -0
  338. package/useField-DvpGZkw_.js +35 -0
  339. package/useFilter-BTgDWHVx.cjs +1 -0
  340. package/useFilter-CUq74PQ2.js +35 -0
  341. package/useFocusRing-CbImDrwF.cjs +1 -0
  342. package/useFocusRing-XnR3cZjO.js +82 -0
  343. package/useFocusable-C8uh8K4g.js +125 -0
  344. package/useFocusable-NUVSFcRC.cjs +1 -0
  345. package/useFormValidation-BIGzfO9h.js +215 -0
  346. package/useFormValidation-ClximP89.cjs +1 -0
  347. package/useHasTabbableChild-C-1mZUQe.js +34 -0
  348. package/useHasTabbableChild-DCBTulUQ.cjs +1 -0
  349. package/useHighlightSelectionDescription-CnBDT86u.js +567 -0
  350. package/useHighlightSelectionDescription-CzYucm61.cjs +1 -0
  351. package/useHover-DjIHtjGN.js +490 -0
  352. package/useHover-_mv5J4_q.cjs +1 -0
  353. package/useLabels-BDwkBYbE.js +17 -0
  354. package/useLabels-BLOfc6Y-.cjs +1 -0
  355. package/useListState-Bx8u4IFG.cjs +1 -0
  356. package/useListState-CrZFZffI.js +132 -0
  357. package/useLocalizedStringFormatter-BKoxGZf1.js +96 -0
  358. package/useLocalizedStringFormatter-BsxLt89S.cjs +1 -0
  359. package/useLocalizedStringFormatter-D3JQyjb4.js +21 -0
  360. package/useLocalizedStringFormatter-ioacM-Yt.cjs +1 -0
  361. package/useObserveElement-BdI4zgd7.js +27 -0
  362. package/useObserveElement-MhzEsCkX.cjs +1 -0
  363. package/usePress-0AjDbW9R.cjs +7 -0
  364. package/usePress-CNjmDzap.js +542 -0
  365. package/useSingleSelectListState-0AGHxvy3.js +34 -0
  366. package/useSingleSelectListState-Cl3KV5E1.cjs +1 -0
  367. package/useTextField--czJtyNd.cjs +1 -0
  368. package/useTextField-Cw-33OP_.js +86 -0
  369. package/useToggleState-Bz5rAf4C.js +18 -0
  370. package/useToggleState-DoIkSQdj.cjs +1 -0
  371. package/useUpdateEffect-C5YQs_1w.cjs +1 -0
  372. package/useUpdateEffect-CCDx8D4X.js +13 -0
  373. package/utils-BNtZbAib.cjs +1 -0
  374. package/utils-DIMfEPAt.js +308 -0
  375. package/x-H8Zrx8-x.cjs +6 -0
  376. package/x-JK7i-TQC.js +14 -0
  377. package/flex/Flex.d.ts +0 -17
  378. package/flex/FlexItem.d.ts +0 -15
  379. package/flex/index.d.ts +0 -2
  380. package/index.css +0 -1
  381. package/theme.cjs +0 -1
  382. package/tokens-COoF1t17.cjs +0 -1
  383. /package/{global.css → assets/global.css} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";const t=require("react");function c(e){const r=t.version.split(".");return parseInt(r[0],10)>=19?e:e?"true":void 0}exports.$cdc5a6778b766db2$export$a9d04c5684123369=c;
@@ -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,15 @@
1
+ import { c } 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 o = c("Info", [
9
+ ["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
10
+ ["path", { d: "M12 16v-4", key: "1dtifu" }],
11
+ ["path", { d: "M12 8h.01", key: "e9boi3" }]
12
+ ]);
13
+ export {
14
+ o as I
15
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";const e=require("./createLucideIcon-Cg_wkoIA.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("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.Info=c;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../InfoBanner-C2kTIsrB.cjs");exports.InfoBanner=e.InfoBanner;
@@ -0,0 +1,4 @@
1
+ import { I as r } from "../InfoBanner-BLM-TJJ6.js";
2
+ export {
3
+ r as InfoBanner
4
+ };
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+ /** Display an info-icon with popover next to the label to further explain what the user should enter in the field */
3
+ export interface InfoPopoverProps {
4
+ /** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
5
+ children: React.ReactNode;
6
+ /** An aria-label for the info icon button trigger */
7
+ 'aria-label'?: string;
8
+ }
9
+ export declare const InfoPopover: React.FC<InfoPopoverProps>;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { InfoPopoverProps } from './InfoPopover';
3
+ export interface LabelWrapperContextValue {
4
+ popoverId?: string;
5
+ }
6
+ export declare const LabelWrapperContext: React.Context<LabelWrapperContextValue | undefined>;
7
+ export declare const useLabelWrapperContext: () => LabelWrapperContextValue | undefined;
8
+ export declare const LabelWrapper: React.FC<{
9
+ children: React.ReactNode;
10
+ popover?: InfoPopoverProps;
11
+ }>;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-7Ybb99CE.cjs");exports.Label=e.Label;
package/label/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './Label';
2
+ export { type InfoPopoverProps } from './InfoPopover';
package/label/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { L as o } from "../Label-BwJrdqEE.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-1g6bMH62.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-Ey8flY7E.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-B88l_oaE.cjs"),r=require("../usePress-0AjDbW9R.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-DX5BbBnn.js";
2
+ import { $ as a } from "../usePress-CNjmDzap.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-CBpGLETx.cjs"),t=require("../usePress-0AjDbW9R.cjs");exports.LinkButton=e.LinkButton;exports.RouterProvider=t.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
@@ -0,0 +1,6 @@
1
+ import { L as t } from "../LinkButton-o6uS1XsR.js";
2
+ import { $ as a } from "../usePress-CNjmDzap.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-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;
@@ -0,0 +1,9 @@
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";
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-BOrYdX50.cjs"),o=require("../Dialog-B8GTYbvu.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-CXNu48AC.js";
2
+ import { $ as g } from "../Dialog-D14MbJ7o.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.3.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,7 @@
1
+ import { PopoverProps } from 'react-aria-components';
2
+ import * as React from 'react';
3
+ interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
4
+ children: React.ReactNode;
5
+ }
6
+ export declare function Popover({ children, className, offset, ...props }: MidasPopoverProps): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CqNWzPf-.cjs");exports.Popover=e.Popover;
@@ -0,0 +1 @@
1
+ export * from './Popover';
@@ -0,0 +1,4 @@
1
+ import { P as e } from "../Popover-BGGXeD54.js";
2
+ export {
3
+ e as Popover
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-Jbg28j2a.cjs");exports.ProgressBar=r.ProgressBar;
@@ -0,0 +1,4 @@
1
+ import { P as s } from "../ProgressBar-DMSg-Prr.js";
2
+ export {
3
+ s as ProgressBar
4
+ };
package/radio/Radio.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { RadioGroupProps, RadioProps, ValidationResult } from 'react-aria-components';
2
+ import { InfoPopoverProps } from '../label';
2
3
  import * as React from 'react';
3
4
  interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
4
5
  children?: React.ReactNode;
@@ -9,6 +10,8 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
9
10
  /** String to display as error message or function to handle the result and produce the error message */
10
11
  errorMessage?: string | ((validation: ValidationResult) => string);
11
12
  errorPosition?: 'top' | 'bottom';
13
+ /** An assistive text that helps the user understand the field better. Will be hidden in a popover with an info icon button. */
14
+ popover?: InfoPopoverProps;
12
15
  }
13
16
  /**
14
17
  * RadioGroup is used to group several radio items together
@@ -0,0 +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;
package/radio/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { R as r, a as R } from "../Radio-Cz29wPXd.js";
2
+ export {
3
+ r as Radio,
4
+ R as RadioGroup
5
+ };
@@ -0,0 +1 @@
1
+ "use strict";const W=require("./utils-BNtZbAib.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:y}=getComputedStyle(e),m=r+parseInt(i,10),b=n+parseInt(c,10),$=m+e.clientWidth,p=b+e.clientHeight,v=parseInt(a,10)||0,P=parseInt(T,10)||0,h=parseInt(s,10)||0,x=parseInt(y,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;
@@ -0,0 +1,87 @@
1
+ import { $ as T } from "./utils-DIMfEPAt.js";
2
+ import { useState as y } from "react";
3
+ function W(e, o) {
4
+ if (!e) return !1;
5
+ let l = window.getComputedStyle(e), t = /(auto|scroll)/.test(l.overflow + l.overflowX + l.overflowY);
6
+ return t && o && (t = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), t;
7
+ }
8
+ function I(e, o) {
9
+ const l = [];
10
+ for (; e && e !== document.documentElement; )
11
+ W(e, o) && l.push(e), e = e.parentElement;
12
+ return l;
13
+ }
14
+ let S = 0;
15
+ const u = /* @__PURE__ */ new Map();
16
+ function R(e) {
17
+ let [o, l] = y();
18
+ return T(() => {
19
+ if (!e) return;
20
+ let t = u.get(e);
21
+ if (t)
22
+ l(t.element.id);
23
+ else {
24
+ let d = `react-aria-description-${S++}`;
25
+ l(d);
26
+ let f = document.createElement("div");
27
+ f.id = d, f.style.display = "none", f.textContent = e, document.body.appendChild(f), t = {
28
+ refCount: 0,
29
+ element: f
30
+ }, u.set(e, t);
31
+ }
32
+ return t.refCount++, () => {
33
+ t && --t.refCount === 0 && (t.element.remove(), u.delete(e));
34
+ };
35
+ }, [
36
+ e
37
+ ]), {
38
+ "aria-describedby": e ? o : void 0
39
+ };
40
+ }
41
+ function k(e, o) {
42
+ let l = m(e, o, "left"), t = m(e, o, "top"), d = o.offsetWidth, f = o.offsetHeight, r = e.scrollLeft, n = e.scrollTop, { borderTopWidth: i, borderLeftWidth: c, scrollPaddingTop: a, scrollPaddingRight: s, scrollPaddingBottom: x, scrollPaddingLeft: C } = getComputedStyle(e), L = r + parseInt(c, 10), b = n + parseInt(i, 10), p = L + e.clientWidth, $ = b + e.clientHeight, v = parseInt(a, 10) || 0, P = parseInt(x, 10) || 0, h = parseInt(s, 10) || 0, g = parseInt(C, 10) || 0;
43
+ l <= r + g ? r = l - parseInt(c, 10) - g : l + d > p - h && (r += l + d - p + h), t <= b + v ? n = t - parseInt(i, 10) - v : t + f > $ - P && (n += t + f - $ + P), e.scrollLeft = r, e.scrollTop = n;
44
+ }
45
+ function m(e, o, l) {
46
+ const t = l === "left" ? "offsetLeft" : "offsetTop";
47
+ let d = 0;
48
+ for (; o.offsetParent && (d += o[t], o.offsetParent !== e); ) {
49
+ if (o.offsetParent.contains(e)) {
50
+ d -= e[t];
51
+ break;
52
+ }
53
+ o = o.offsetParent;
54
+ }
55
+ return d;
56
+ }
57
+ function H(e, o) {
58
+ if (e && document.contains(e)) {
59
+ let r = document.scrollingElement || document.documentElement;
60
+ if (window.getComputedStyle(r).overflow === "hidden") {
61
+ let i = I(e);
62
+ for (let c of i) k(c, e);
63
+ } else {
64
+ var l;
65
+ let { left: i, top: c } = e.getBoundingClientRect();
66
+ e == null || (l = e.scrollIntoView) === null || l === void 0 || l.call(e, {
67
+ block: "nearest"
68
+ });
69
+ let { left: a, top: s } = e.getBoundingClientRect();
70
+ if (Math.abs(i - a) > 1 || Math.abs(c - s) > 1) {
71
+ var t, d, f;
72
+ o == null || (d = o.containingElement) === null || d === void 0 || (t = d.scrollIntoView) === null || t === void 0 || t.call(d, {
73
+ block: "center",
74
+ inline: "center"
75
+ }), (f = e.scrollIntoView) === null || f === void 0 || f.call(e, {
76
+ block: "nearest"
77
+ });
78
+ }
79
+ }
80
+ }
81
+ }
82
+ export {
83
+ W as $,
84
+ R as a,
85
+ k as b,
86
+ H as c
87
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-CxMwDeUM.cjs");exports.SearchField=e.SearchField;
@@ -0,0 +1,4 @@
1
+ import { S as a } from "../SearchField-IlvZ3Kh6.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-2q1iSzAX.cjs");exports.Select=e.Select;
@@ -0,0 +1,4 @@
1
+ import { S as r } from "../Select-BVQZtoi9.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-P35rvvsl.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,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
+ };
@@ -0,0 +1,6 @@
1
+ "use strict";const t=require("./createLucideIcon-Cg_wkoIA.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;
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-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;
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-F4oYBtUM.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-DA2qXhzb.cjs");exports.Tabs=e.Tabs;
package/tabs/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import { T as r } from "../Tabs-B4oZJkZG.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-DPAGmcMK.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-Du7GvSv2.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-jWWg0B20.js";
2
+ export {
3
+ r as Text
4
+ };
@@ -1,5 +1,6 @@
1
1
  import { TextFieldProps, ValidationResult } from 'react-aria-components';
2
2
  import { Size } from '../common/types';
3
+ import { InfoPopoverProps } from '../label';
3
4
  import * as React from 'react';
4
5
  export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
5
6
  children?: React.ReactNode;
@@ -20,5 +21,6 @@ export interface TextFieldBaseProps extends Omit<TextFieldProps, 'className'> {
20
21
  * @default 'large'
21
22
  * */
22
23
  size?: Size;
24
+ popover?: InfoPopoverProps;
23
25
  }
24
26
  export declare const TextFieldBase: React.ForwardRefExoticComponent<TextFieldBaseProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +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;
@@ -0,0 +1,7 @@
1
+ import { I as s, b as t, a as x, T } from "../TextArea-XeBCSyzl.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-AbDA1BOs.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-Btg21Xge.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-BFDoj0P6.cjs");exports.ToggleButton=o.ToggleButton;exports.ToggleButtonGroup=o.ToggleButtonGroup;
@@ -0,0 +1,5 @@
1
+ import { T as g, a } from "../ToggleButtonGroup-B5yz1tm2.js";
2
+ export {
3
+ g as ToggleButton,
4
+ a as ToggleButtonGroup
5
+ };