@midas-ds/components 10.1.0 → 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 (401) 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 +81 -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/Card.d.ts +3 -0
  201. package/card/index.cjs +1 -0
  202. package/card/index.js +10 -0
  203. package/character-counter/index.cjs +1 -0
  204. package/character-counter/index.js +4 -0
  205. package/check-CLF6Yxza.js +11 -0
  206. package/check-Dw9c62O4.cjs +6 -0
  207. package/checkbox/index.cjs +1 -0
  208. package/checkbox/index.js +6 -0
  209. package/chevron-down-C2E7aZ3N.cjs +6 -0
  210. package/chevron-down-Cd1bkzXT.js +13 -0
  211. package/clsx-C11secjj.cjs +1 -0
  212. package/clsx-OuTLNxxd.js +16 -0
  213. package/color-scheme-switch/index.cjs +1 -0
  214. package/color-scheme-switch/index.js +4 -0
  215. package/combobox/ComboBox.d.ts +9 -5
  216. package/combobox/index.cjs +1 -0
  217. package/combobox/index.d.ts +1 -1
  218. package/combobox/index.js +7 -0
  219. package/combobox/types.d.ts +6 -0
  220. package/combobox/utils.d.ts +3 -10
  221. package/common/types.d.ts +2 -0
  222. package/context-B8cn10po.js +80 -0
  223. package/context-DjwhtgxQ.cjs +1 -0
  224. package/createLucideIcon-DAY4oS-S.cjs +21 -0
  225. package/createLucideIcon-DeWljiyi.js +79 -0
  226. package/date-field/index.cjs +1 -0
  227. package/date-field/index.js +8 -0
  228. package/date-picker/index.cjs +1 -0
  229. package/date-picker/index.js +5 -0
  230. package/dropdown/index.cjs +1 -0
  231. package/dropdown/index.js +5 -0
  232. package/field-error/FieldError.d.ts +4 -1
  233. package/field-error/index.cjs +1 -0
  234. package/field-error/index.js +4 -0
  235. package/file-upload/index.cjs +1 -0
  236. package/file-upload/index.js +4 -0
  237. package/filterDOMProps-BS2lrgFA.cjs +1 -0
  238. package/filterDOMProps-D6KHYVBX.js +24 -0
  239. package/focusSafely-Bqfo_DH7.cjs +1 -0
  240. package/focusSafely-C48ucRUz.js +56 -0
  241. package/getScrollParent-DuKmPmUa.cjs +1 -0
  242. package/getScrollParent-Ru2U2LlM.js +9 -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-BSMrH_Du.js +120 -0
  251. package/index-D97L3EBk.cjs +17 -0
  252. package/index.cjs +1 -164
  253. package/index.d.ts +1 -1
  254. package/index.js +127 -30044
  255. package/inertValue-B7loUihk.js +8 -0
  256. package/inertValue-BWmZ1afe.cjs +1 -0
  257. package/info-DkzVqB8I.js +38 -0
  258. package/info-DlzSeKbc.cjs +16 -0
  259. package/info-banner/index.cjs +1 -0
  260. package/info-banner/index.js +4 -0
  261. package/label/index.cjs +1 -0
  262. package/label/index.js +4 -0
  263. package/layout/index.cjs +1 -0
  264. package/layout/index.js +8 -0
  265. package/link/Link.d.ts +4 -1
  266. package/link/index.cjs +1 -0
  267. package/link/index.js +6 -0
  268. package/link-button/LinkButton.d.ts +24 -1
  269. package/link-button/index.cjs +1 -0
  270. package/link-button/index.js +6 -0
  271. package/list-box/ListBox.d.ts +4 -0
  272. package/list-box/ListBoxButton.d.ts +2 -0
  273. package/list-box/ListBoxItem.d.ts +3 -0
  274. package/list-box/ListBoxPopover.d.ts +3 -0
  275. package/list-box/ListBoxSection.d.ts +8 -0
  276. package/list-box/index.cjs +1 -0
  277. package/list-box/index.d.ts +6 -0
  278. package/list-box/index.js +9 -0
  279. package/list-box/types.d.ts +23 -0
  280. package/logo/index.cjs +1 -0
  281. package/logo/index.js +4 -0
  282. package/modal/index.cjs +1 -0
  283. package/modal/index.js +6 -0
  284. package/number-BE8InLgI.js +6 -0
  285. package/number-E0x3H9cL.cjs +1 -0
  286. package/package.json +4 -4
  287. package/progress-bar/index.cjs +1 -0
  288. package/progress-bar/index.js +4 -0
  289. package/radio/index.cjs +1 -0
  290. package/radio/index.js +5 -0
  291. package/scrollIntoView-ClEACHUk.js +57 -0
  292. package/scrollIntoView-DRSoJp89.cjs +1 -0
  293. package/search-field/index.cjs +1 -0
  294. package/search-field/index.js +4 -0
  295. package/select/HiddenMultiSelect.d.ts +5 -4
  296. package/select/MultiSelectValueTag.d.ts +11 -0
  297. package/select/Select.d.ts +2 -77
  298. package/select/SelectFieldError.d.ts +8 -0
  299. package/select/SelectListBox.d.ts +4 -3
  300. package/select/SelectTrigger.d.ts +10 -0
  301. package/select/index.cjs +1 -0
  302. package/select/index.d.ts +1 -0
  303. package/select/index.js +4 -0
  304. package/select/types.d.ts +188 -0
  305. package/select/useMultiSelect.d.ts +4 -21
  306. package/select/useMultiSelectListState.d.ts +3 -15
  307. package/select/useMultiSelectState.d.ts +3 -19
  308. package/skeleton/Skeleton.d.ts +5 -0
  309. package/skeleton/index.cjs +1 -0
  310. package/skeleton/index.js +4 -0
  311. package/spinner/index.cjs +1 -0
  312. package/spinner/index.js +4 -0
  313. package/square-arrow-out-up-right-BCAO2eJs.cjs +6 -0
  314. package/square-arrow-out-up-right-BkyqV2PN.js +15 -0
  315. package/table/Table.d.ts +7 -1
  316. package/table/index.cjs +1 -0
  317. package/table/index.js +9 -0
  318. package/tabs/index.cjs +1 -0
  319. package/tabs/index.js +4 -0
  320. package/tag/index.cjs +1 -0
  321. package/tag/index.js +5 -0
  322. package/text/index.cjs +1 -0
  323. package/text/index.js +4 -0
  324. package/textfield/index.cjs +1 -0
  325. package/textfield/index.js +7 -0
  326. package/theme/index.cjs +1 -0
  327. package/theme/index.d.ts +4 -0
  328. package/{theme.js → theme/index.js} +2 -2
  329. package/theme/tokens.d.ts +10 -0
  330. package/toast/index.cjs +1 -0
  331. package/toast/index.js +9 -0
  332. package/toggle-button/index.cjs +1 -0
  333. package/toggle-button/index.js +5 -0
  334. package/tokens-p6pg1Cea.cjs +1 -0
  335. package/{tokens-C0U7hdoO.js → tokens-xp-7KMK7.js} +18 -8
  336. package/tooltip/index.cjs +1 -0
  337. package/tooltip/index.js +5 -0
  338. package/triangle-alert-C0lvfCYH.cjs +6 -0
  339. package/triangle-alert-wxyxspAl.js +21 -0
  340. package/useButton-B1Fa-6qE.cjs +1 -0
  341. package/useButton-C-Lq7CNY.js +47 -0
  342. package/useCollator-C_ozeWLo.cjs +1 -0
  343. package/useCollator-CgZcHC8N.js +11 -0
  344. package/useControlledState-D0L6S_5r.cjs +1 -0
  345. package/useControlledState-u436Wbp1.js +30 -0
  346. package/useDateFormatter-C53Uxdli.js +1571 -0
  347. package/useDateFormatter-g2maMTGH.cjs +1 -0
  348. package/useDescription-CVKhFa3c.js +32 -0
  349. package/useDescription-DmQYSEES.cjs +1 -0
  350. package/useEvent-CjkbBniY.cjs +1 -0
  351. package/useEvent-Cyd2ZL0c.js +21 -0
  352. package/useField-B1RU0GKs.cjs +1 -0
  353. package/useField-BPMAlIbU.js +35 -0
  354. package/useFilter-ChIbnALW.js +35 -0
  355. package/useFilter-CtIwF2qW.cjs +1 -0
  356. package/useFocusRing-BDGH3lpn.js +82 -0
  357. package/useFocusRing-CbImDrwF.cjs +1 -0
  358. package/useFocusable-CaedRTpB.js +74 -0
  359. package/useFocusable-CuPQ7Cm5.cjs +1 -0
  360. package/useFormValidation-ClximP89.cjs +1 -0
  361. package/useFormValidation-R8hQIjWP.js +215 -0
  362. package/useHasTabbableChild-DgphNvnk.cjs +1 -0
  363. package/useHasTabbableChild-DsD9AJwE.js +34 -0
  364. package/useHighlightSelectionDescription-BizKjvPU.cjs +1 -0
  365. package/useHighlightSelectionDescription-DFfcgbUj.js +567 -0
  366. package/useHover-_mv5J4_q.cjs +1 -0
  367. package/useHover-qRAon4nS.js +490 -0
  368. package/useLabel-DDdAJ1JO.js +23 -0
  369. package/useLabel-m_S5xkHy.cjs +1 -0
  370. package/useLabels-BLOfc6Y-.cjs +1 -0
  371. package/useLabels-BZjoZA1Z.js +17 -0
  372. package/useListState-Ca2-uZMO.cjs +1 -0
  373. package/useListState-DFQ9d-uE.js +132 -0
  374. package/useLocalizedStringFormatter-D07YB2e1.js +22 -0
  375. package/useLocalizedStringFormatter-u9SJaOwk.cjs +1 -0
  376. package/useObserveElement-BdI4zgd7.js +27 -0
  377. package/useObserveElement-BzEr5D32.cjs +1 -0
  378. package/usePress-BFa6cT9o.cjs +7 -0
  379. package/usePress-CUJ3pMOw.js +542 -0
  380. package/useSingleSelectListState-C-nB8cug.js +34 -0
  381. package/useSingleSelectListState-MGNxUTum.cjs +1 -0
  382. package/useTextField-5OZQPyOW.js +86 -0
  383. package/useTextField-CtUDWsUl.cjs +1 -0
  384. package/useToggleState-Bz5rAf4C.js +18 -0
  385. package/useToggleState-DoIkSQdj.cjs +1 -0
  386. package/useUpdateEffect-CCDx8D4X.js +13 -0
  387. package/useUpdateEffect-sk3kiVGz.cjs +1 -0
  388. package/utils/test.d.ts +1 -1
  389. package/utils-BNtZbAib.cjs +1 -0
  390. package/utils-HNTsIwux.js +308 -0
  391. package/x-CvxiAZTW.cjs +6 -0
  392. package/x-JK7i-TQC.js +14 -0
  393. package/flex/Flex.d.ts +0 -17
  394. package/flex/FlexItem.d.ts +0 -15
  395. package/flex/index.d.ts +0 -2
  396. package/index.css +0 -1
  397. package/select/SelectPopover.d.ts +0 -10
  398. package/theme.cjs +0 -1
  399. package/tokens-COoF1t17.cjs +0 -1
  400. /package/{global.css → assets/global.css} +0 -0
  401. /package/{select → list-box}/SectionedListLayout.d.ts +0 -0
@@ -0,0 +1,188 @@
1
+ import { MenuTriggerState } from '@react-stately/menu';
2
+ import { FormValidationState } from '@react-stately/form';
3
+ import { OverlayTriggerProps } from '@react-types/overlays';
4
+ import { ListState } from '@react-stately/list';
5
+ import { AsyncLoadable, CollectionBase, FocusableProps, InputBase, LabelableProps, MultipleSelection, TextInputBase, Validation, Key, Node, CollectionChildren } from '@react-types/shared';
6
+ import { HTMLAttributes } from 'react';
7
+ import { AriaListBoxOptions } from 'react-aria';
8
+ import { AriaButtonProps } from '@react-types/button';
9
+ import { AriaSelectProps } from '@react-types/select';
10
+ import { Size } from '../common/types';
11
+ import { ListBoxItemElement, ListBoxOption, ListBoxSectionElement } from '../list-box/';
12
+ /**
13
+ * Props used for setting up the list state
14
+ */
15
+ export interface MultiSelectListProps<T extends ListBoxOption> extends CollectionBase<T>, MultipleSelection {
16
+ }
17
+ /**
18
+ * The state of the select list
19
+ */
20
+ export interface MultiSelectListState<T extends ListBoxOption> extends ListState<T> {
21
+ /**
22
+ * The keys for the currently selected items.
23
+ */
24
+ selectedKeys: Set<Key>;
25
+ /**
26
+ * Sets the selected keys.
27
+ */
28
+ setSelectedKeys(keys: Iterable<Key>): void;
29
+ /**
30
+ * The value of the currently selected items.
31
+ */
32
+ selectedItems: Node<T>[] | null;
33
+ /**
34
+ * The type of selection.
35
+ */
36
+ selectionMode: MultiSelectListProps<T>['selectionMode'];
37
+ }
38
+ /**
39
+ * Props used for setting up the select component state
40
+ */
41
+ export interface MultiSelectStateProps<T extends ListBoxOption> extends MultiSelectListProps<T>, AsyncLoadable, FocusableProps, LabelableProps, Omit<InputBase, 'isReadOnly'>, OverlayTriggerProps, TextInputBase, Validation {
42
+ /**
43
+ * Whether the menu should automatically flip direction when space is limited.
44
+ * @default true
45
+ */
46
+ shouldFlip?: boolean;
47
+ }
48
+ /**
49
+ * The state of the select component
50
+ */
51
+ export interface MultiSelectState<T extends ListBoxOption> extends MultiSelectListState<T>, MenuTriggerState, FormValidationState {
52
+ /**
53
+ * Whether the select is currently focused.
54
+ */
55
+ isFocused: boolean;
56
+ /**
57
+ * Sets whether the select is focused.
58
+ */
59
+ setFocused(isFocused: boolean): void;
60
+ }
61
+ /**
62
+ * Props for setting up the select component parts
63
+ */
64
+ export interface MultiSelectProps<T extends ListBoxOption> extends Omit<AriaSelectProps<T>, 'onSelectionChange'> {
65
+ /**
66
+ * Wheter to allow an empty selection or not
67
+ */
68
+ disallowEmptySelection?: boolean;
69
+ onSelectionChange?: MultiSelectStateProps<T>['onSelectionChange'];
70
+ }
71
+ /**
72
+ * DOM attributes for rendering the parts of the Select component
73
+ */
74
+ export interface MultiSelectDOMProps<T extends ListBoxOption> {
75
+ /**
76
+ * Props for the label element.
77
+ */
78
+ labelProps: HTMLAttributes<HTMLElement>;
79
+ /**
80
+ * Props for the popup trigger element.
81
+ */
82
+ triggerProps: AriaButtonProps;
83
+ /**
84
+ * Props for the element representing the selected value.
85
+ */
86
+ valueProps: HTMLAttributes<HTMLElement>;
87
+ /**
88
+ * Props for the popup.
89
+ */
90
+ menuProps: AriaListBoxOptions<T>;
91
+ }
92
+ export type SelectionMode = 'single' | 'multiple';
93
+ export interface SelectProps extends MultiSelectStateProps<ListBoxOption> {
94
+ /**
95
+ * Whether the element should receive focus on render.
96
+ */
97
+ autoFocus?: boolean;
98
+ children: CollectionChildren<ListBoxOption>;
99
+ /**
100
+ * Sets the CSS [`className`](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element.
101
+ */
102
+ className?: string;
103
+ /**
104
+ * Sets the default open state of the field (uncontrolled).
105
+ */
106
+ defaultOpen?: boolean;
107
+ excludeFromTabOrder?: boolean;
108
+ items: ListBoxOption[];
109
+ /**
110
+ * Whether the field can be emptied.
111
+ * @default true
112
+ */
113
+ isClearable?: boolean;
114
+ /**
115
+ * Whether the field is disabled.
116
+ */
117
+ isDisabled?: boolean;
118
+ /**
119
+ * Whether to show a button to select all items.
120
+ */
121
+ isSelectableAll?: boolean;
122
+ /**
123
+ * Sets the open state of the field (controlled).
124
+ */
125
+ isOpen?: boolean;
126
+ /**
127
+ * The content to display as the label.
128
+ */
129
+ label: string;
130
+ /**
131
+ * Optional description
132
+ */
133
+ description?: string;
134
+ /**
135
+ * Placeholder value
136
+ */
137
+ placeholder?: string;
138
+ /**
139
+ * Show selected items as tags below select
140
+ */
141
+ showTags?: boolean;
142
+ /**
143
+ * The type of selection that is allowed in the collection.
144
+ * @default 'single'
145
+ */
146
+ selectionMode?: SelectionMode;
147
+ /**
148
+ * The selection is valid or not
149
+ */
150
+ isInvalid?: boolean;
151
+ /**
152
+ * Error message to be displayed in case of invalid state
153
+ */
154
+ errorMessage?: string;
155
+ /**
156
+ * Whether the field is required.
157
+ */
158
+ isRequired?: boolean;
159
+ /**
160
+ * Name of the field, for uncontrolled use
161
+ */
162
+ name?: string;
163
+ /**
164
+ * The position of the error message
165
+ * @default "top"
166
+ */
167
+ errorPosition?: 'top' | 'bottom';
168
+ /** Component size (large: height 48px, medium: height 40px)
169
+ * @default 'large'
170
+ */
171
+ size?: Size;
172
+ }
173
+ export type SelectContainerProps = Omit<SelectProps, 'children' | 'items'> & {
174
+ /** Item objects in the collection. */
175
+ options: ListBoxOption[];
176
+ };
177
+ /**
178
+ * @deprecated since v10.1.0 please use `ListBoxOption` intead
179
+ */
180
+ export type Option = ListBoxOption;
181
+ /**
182
+ * @deprecated since v10.1.0 please use `ListBoxItemElement` intead
183
+ */
184
+ export type OptionItem = ListBoxItemElement;
185
+ /**
186
+ * @deprecated since v10.1.0 please use `ListBoxSectionElement` intead
187
+ */
188
+ export type OptionSection = ListBoxSectionElement;
@@ -1,21 +1,4 @@
1
- import { AriaListBoxOptions } from 'react-aria';
2
- import { HTMLAttributes, RefObject } from 'react';
3
- import { MultiSelectProps as MultiSelectStateProps, MultiSelectState } from './useMultiSelectState';
4
- import { AriaButtonProps } from '@react-types/button';
5
- import { AriaSelectProps } from '@react-types/select';
6
- type MultiSelectProps<T> = Omit<AriaSelectProps<T>, 'onSelectionChange'> & {
7
- disallowEmptySelection?: boolean;
8
- onSelectionChange?: MultiSelectStateProps<T>['onSelectionChange'];
9
- };
10
- interface MultiSelectAria<T> {
11
- /** Props for the label element. */
12
- labelProps: HTMLAttributes<HTMLElement>;
13
- /** Props for the popup trigger element. */
14
- triggerProps: AriaButtonProps;
15
- /** Props for the element representing the selected value. */
16
- valueProps: HTMLAttributes<HTMLElement>;
17
- /** Props for the popup. */
18
- menuProps: AriaListBoxOptions<T>;
19
- }
20
- export declare function useMultiSelect<T>(props: MultiSelectProps<T>, state: MultiSelectState<T>, ref: RefObject<HTMLElement>): MultiSelectAria<T>;
21
- export {};
1
+ import { RefObject } from 'react';
2
+ import { MultiSelectDOMProps, MultiSelectProps, MultiSelectState } from './types';
3
+ import { ListBoxOption } from '../list-box';
4
+ export declare function useMultiSelect<T extends ListBoxOption>(props: MultiSelectProps<T>, state: MultiSelectState<T>, ref: RefObject<HTMLElement>): MultiSelectDOMProps<T>;
@@ -1,15 +1,3 @@
1
- import { ListState } from '@react-stately/list';
2
- import { Key, CollectionBase, MultipleSelection, Node } from '@react-types/shared';
3
- export interface MultiSelectListProps<T> extends CollectionBase<T>, MultipleSelection {
4
- }
5
- export interface MultiSelectListState<T> extends ListState<T> {
6
- /** The keys for the currently selected items. */
7
- selectedKeys: Set<Key>;
8
- /** Sets the selected keys. */
9
- setSelectedKeys(keys: Iterable<Key>): void;
10
- /** The value of the currently selected items. */
11
- selectedItems: Node<T>[] | null;
12
- /** The type of selection. */
13
- selectionMode: MultipleSelection['selectionMode'];
14
- }
15
- export declare function useMultiSelectListState<T extends object>(props: MultiSelectListProps<T>): MultiSelectListState<T>;
1
+ import { MultiSelectListProps, MultiSelectListState } from './types';
2
+ import { ListBoxOption } from '../list-box';
3
+ export declare function useMultiSelectListState<T extends ListBoxOption>(props: MultiSelectListProps<T>): MultiSelectListState<T>;
@@ -1,19 +1,3 @@
1
- import { MenuTriggerState } from '@react-stately/menu';
2
- import { MultiSelectListState } from './useMultiSelectListState';
3
- import { OverlayTriggerProps } from '@react-types/overlays';
4
- import { AsyncLoadable, CollectionBase, FocusableProps, InputBase, LabelableProps, MultipleSelection, TextInputBase, Validation } from '@react-types/shared';
5
- import { FormValidationState } from '@react-stately/form';
6
- export interface MultiSelectProps<T> extends CollectionBase<T>, AsyncLoadable, Omit<InputBase, 'isReadOnly'>, Validation, LabelableProps, TextInputBase, MultipleSelection, FocusableProps, OverlayTriggerProps {
7
- /**
8
- * Whether the menu should automatically flip direction when space is limited.
9
- * @default true
10
- */
11
- shouldFlip?: boolean;
12
- }
13
- export interface MultiSelectState<T> extends MultiSelectListState<T>, MenuTriggerState, FormValidationState {
14
- /** Whether the select is currently focused. */
15
- isFocused: boolean;
16
- /** Sets whether the select is focused. */
17
- setFocused(isFocused: boolean): void;
18
- }
19
- export declare function useMultiSelectState<T extends object>(props: MultiSelectProps<T>): MultiSelectState<T>;
1
+ import { MultiSelectState, MultiSelectStateProps } from './types';
2
+ import { ListBoxOption } from '../list-box';
3
+ export declare function useMultiSelectState<T extends ListBoxOption>(props: MultiSelectStateProps<T>): MultiSelectState<T>;
@@ -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
+ };
@@ -0,0 +1,6 @@
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 t=e.createLucideIcon("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);exports.TriangleAlert=t;
@@ -0,0 +1,21 @@
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 t = e("TriangleAlert", [
9
+ [
10
+ "path",
11
+ {
12
+ d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",
13
+ key: "wmoenq"
14
+ }
15
+ ],
16
+ ["path", { d: "M12 9v4", key: "juzpu7" }],
17
+ ["path", { d: "M12 17h.01", key: "p32p05" }]
18
+ ]);
19
+ export {
20
+ t as T
21
+ };
@@ -0,0 +1 @@
1
+ "use strict";const o=require("./utils-BNtZbAib.cjs"),D=require("./filterDOMProps-BS2lrgFA.cjs"),F=require("./usePress-BFa6cT9o.cjs"),q=require("./useFocusable-CuPQ7Cm5.cjs");function O(e,t){let{elementType:s="button",isDisabled:r,onPress:i,onPressStart:c,onPressEnd:l,onPressUp:u,onPressChange:b,preventFocusOnPress:P,allowFocusWhenDisabled:f,onClick:p,href:$,target:x,rel:h,type:d="button"}=e,a;s==="button"?a={type:d,disabled:r}:a={role:"button",href:s==="a"&&!r?$:void 0,target:s==="a"?x:void 0,type:s==="input"?d:void 0,disabled:s==="input"?r:void 0,"aria-disabled":!r||s==="input"?void 0:r,rel:s==="a"?h:void 0};let{pressProps:g,isPressed:y}=F.$f6c31cce2adf654f$export$45712eceda6fad21({onPressStart:c,onPressEnd:l,onPressChange:b,onPress:i,onPressUp:u,onClick:p,isDisabled:r,preventFocusOnPress:P,ref:t}),{focusableProps:n}=q.$f645667febf57a63$export$4c014de7c8940b4c(e,t);f&&(n.tabIndex=r?-1:n.tabIndex);let C=o.$3ef42575df84b30b$export$9d1611c77c2fe928(n,g,D.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e,{labelable:!0}));return{isPressed:y,buttonProps:o.$3ef42575df84b30b$export$9d1611c77c2fe928(a,C,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"]})}}exports.$701a24aa0da5b062$export$ea18c227d4417cc3=O;