@midas-ds/components 10.4.1 → 11.1.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 (251) hide show
  1. package/{AccordionItem-oeN1Cc09.js → AccordionItem-BPOQqTkQ.js} +17 -16
  2. package/AccordionItem-CS-QKqrU.cjs +1 -0
  3. package/{BadgeContainer-DM8TdyMT.js → BadgeContainer-CKBIZWsc.js} +13 -13
  4. package/BadgeContainer-DWVHS5dn.cjs +1 -0
  5. package/{Breadcrumbs-D8ad6xvL.js → Breadcrumbs-BBzSV4SK.js} +4 -4
  6. package/{Breadcrumbs-DkJIkGG5.cjs → Breadcrumbs-CFUryOhf.cjs} +1 -1
  7. package/{Button-DtSrCAf6.js → Button-BjMaGya2.js} +1 -1
  8. package/{Button-CFYdzG0H.js → Button-CepQFEit.js} +4 -4
  9. package/CHANGELOG.md +34 -0
  10. package/{Card-BzJ_OEe6.js → Card-BRs1FKX5.js} +3 -3
  11. package/{CharacterCounter-cLhqPZlk.js → CharacterCounter-DpBDwvLw.js} +2 -2
  12. package/{Checkbox-LuUwTZ3W.js → Checkbox-EB_SCBEo.js} +3 -3
  13. package/CheckboxGroup-CT_eqERw.cjs +1 -0
  14. package/{CheckboxGroup-CcTfzurp.js → CheckboxGroup-oosHSGAt.js} +7 -8
  15. package/{Collection--62xKPm9.js → Collection-D2jVTmDW.js} +1 -1
  16. package/{ColorSchemeSwitch-y8qKczjQ.js → ColorSchemeSwitch-Cnyb9EKC.js} +1 -1
  17. package/ComboBox-CQ49PhNd.cjs +1 -0
  18. package/{ComboBox-CZyP8Dfh.js → ComboBox-D4MsSPBu.js} +64 -65
  19. package/{DateField-1w5J_iyF.cjs → DateField-BURrxhil.cjs} +1 -1
  20. package/{DateField-BTROlenJ.js → DateField-COs1-CkQ.js} +4 -4
  21. package/{DateInputDivider-Bi5N-C0c.js → DateInputDivider-B3oE1_tB.js} +39 -38
  22. package/DateInputDivider-ToFY-yjB.cjs +1 -0
  23. package/DateRangePicker-Bfibl08v.cjs +6 -0
  24. package/{DateRangePicker-DmZP9laM.js → DateRangePicker-CvEycxmX.js} +43 -44
  25. package/{Dialog-DnMwnqiC.cjs → Dialog-B3R3WtL5.cjs} +1 -1
  26. package/{Dialog-0ZBhhPyd.js → Dialog-BkUw6PlA.js} +6 -6
  27. package/{Dialog-CtVrVuMr.js → Dialog-DKHo0W9B.js} +443 -468
  28. package/Dialog-DtHk3eXI.cjs +1 -0
  29. package/{DragAndDrop-BoEd260f.cjs → DragAndDrop-CSg60YQE.cjs} +1 -1
  30. package/{DragAndDrop-DkSTL28C.js → DragAndDrop-DOXLfJaA.js} +1 -1
  31. package/{Dropdown-By91MEV2.cjs → Dropdown-CYakzdJg.cjs} +1 -1
  32. package/{Dropdown-BEAMfAxj.js → Dropdown-D6WCi_Ll.js} +2 -2
  33. package/FieldError-Bv3Q6ZP-.cjs +1 -0
  34. package/FieldError-CDCvUjK5.js +46 -0
  35. package/{FileUpload-DvQdIZ6k.js → FileUpload-BokzdXVc.js} +448 -562
  36. package/{FileUpload-vf0oJd0K.cjs → FileUpload-Bz9md5zc.cjs} +2 -2
  37. package/{FocusScope-D_hwN_TJ.js → FocusScope-BCsrRPqD.js} +1 -1
  38. package/{Group-CpkUzEAs.js → Group-B0vQfHDy.js} +1 -1
  39. package/{Heading-NxtGri2i.js → Heading-D2y_kiC0.js} +1 -1
  40. package/{InfoBanner-yj90XVEP.js → InfoBanner-D05poAe3.js} +1 -1
  41. package/{Input-LnjmFI1x.js → Input-n-Z20KbW.js} +1 -1
  42. package/{Label-E3LhQfNv.cjs → Label-ChjDdBlv.cjs} +1 -1
  43. package/{Label-D2GmP8_2.js → Label-DA6FZwy0.js} +4 -4
  44. package/{Layout-Ri7XQHFp.cjs → Layout-BwLxIwtY.cjs} +1 -1
  45. package/{Layout-BMNgqjXv.js → Layout-CcADAhds.js} +6 -6
  46. package/{Link-Bn8V3ZI0.js → Link-CibH8uRY.js} +3 -3
  47. package/{Link-CVvnCOGP.cjs → Link-ESjrl63P.cjs} +1 -1
  48. package/{Link-BCVI5W_i.js → Link-ovwNVMfg.js} +12 -11
  49. package/{LinkButton-Cui-gvAk.js → LinkButton-BkZULm2a.js} +1 -1
  50. package/{ListBox-BCz5-23H.cjs → ListBox-B0E1hdEt.cjs} +1 -1
  51. package/{ListBox-C-isJIHL.js → ListBox-CsxDGpCA.js} +11 -11
  52. package/{ListBoxButton-DNm3gvcT.cjs → ListBoxButton-BsuHFd_O.cjs} +1 -1
  53. package/{ListBoxButton-C_krklY0.js → ListBoxButton-DawRfuny.js} +1 -1
  54. package/{ListBoxSection-CfQZoURJ.cjs → ListBoxSection-C-Rz358T.cjs} +1 -1
  55. package/{ListBoxSection-BVR2xtOH.js → ListBoxSection-Cc2cx0_S.js} +6 -6
  56. package/{ListKeyboardDelegate-CY6t6y1t.js → ListKeyboardDelegate-C-sPNj0f.js} +2 -2
  57. package/{ListKeyboardDelegate-CPsZ7D83.cjs → ListKeyboardDelegate-ZKBk2IId.cjs} +1 -1
  58. package/{OverlayArrow-CfhSYL46.js → OverlayArrow-DB_aVTVM.js} +1 -1
  59. package/{Popover-CnAsw3wI.cjs → Popover-BDvKByTT.cjs} +1 -1
  60. package/{Popover-C8VY1YKi.js → Popover-DHoXfBp2.js} +3 -3
  61. package/PressResponder-4jE_HLu3.cjs +1 -0
  62. package/PressResponder-C3APAKsz.js +34 -0
  63. package/{ProgressBar-Bpq-hyZa.js → ProgressBar-C0IBfi5I.js} +2 -2
  64. package/{ProgressBar-D4lOEhAh.cjs → ProgressBar-ClysdvqU.cjs} +1 -1
  65. package/{Radio-BPcq9kW5.js → Radio-B6N9dCtB.js} +19 -20
  66. package/Radio-Cz0vLIBw.cjs +1 -0
  67. package/{RangeCalendar-6miAJVoO.js → RangeCalendar-BCruEq9d.js} +16 -15
  68. package/RangeCalendar-BY82hPRu.cjs +11 -0
  69. package/{SearchField-DEoGi9xv.cjs → SearchField-QFyuaT-K.cjs} +1 -1
  70. package/{SearchField-CDyD5iWr.js → SearchField-nwlyszwt.js} +3 -3
  71. package/{Select-B2wYDnAU.js → Select-DMVj2lrG.js} +104 -105
  72. package/Select-DiCEyap1.cjs +1 -0
  73. package/SelectionManager-BJjqIWtf.cjs +1 -0
  74. package/{SelectionManager-zsWy3vsd.js → SelectionManager-BubxiIKu.js} +25 -24
  75. package/{Separator-Dn5LYN5I.js → Separator-CEZ5y7tZ.js} +4 -4
  76. package/{Separator-CxF-3jhR.cjs → Separator-DPLEx950.cjs} +1 -1
  77. package/{TabList-CheXtBJm.cjs → TabList-BkSWzbDG.cjs} +1 -1
  78. package/{TabList-D0qzIjSx.js → TabList-QApx8qRC.js} +8 -8
  79. package/{Table-zKvjzd9t.js → Table-B5Aine4F.js} +35 -34
  80. package/Table-DGYC-sDq.cjs +16 -0
  81. package/{Tag-BoqT5nbh.js → Tag-Byva_Xuy.js} +123 -122
  82. package/Tag-bYq-wf5D.cjs +1 -0
  83. package/{Text-DlKqpvSa.js → Text-BPcfhYQ9.js} +1 -1
  84. package/{Text-92cPh38G.js → Text-DcZqSUN9.js} +3 -3
  85. package/{TextArea-B5und61h.cjs → TextArea-DJKHFKuI.cjs} +1 -1
  86. package/{TextArea-Pxr-eLXe.js → TextArea-eK7Jx3qs.js} +8 -8
  87. package/{TextField-BdK9KEQ5.cjs → TextField-BAX93sq7.cjs} +1 -1
  88. package/{TextField-ByDJkig9.js → TextField-Dma22dnD.js} +19 -19
  89. package/{Toast-DfKiA5hp.js → Toast-CWt_mNIg.js} +1 -1
  90. package/{ToggleButtonGroup-DhlfvYGg.js → ToggleButtonGroup-HjvaTYD4.js} +3 -3
  91. package/{Tooltip-5mLWn_wO.js → Tooltip-DjNc93tV.js} +3 -3
  92. package/accordion/Accordion.d.ts +1 -2
  93. package/accordion/index.cjs +1 -1
  94. package/accordion/index.d.ts +2 -1
  95. package/accordion/index.js +3 -2
  96. package/assets/BadgeContainer.css +1 -1
  97. package/assets/Button.css +1 -1
  98. package/assets/FileUpload.css +1 -1
  99. package/assets/LinkButton.css +1 -1
  100. package/assets/Popover.css +1 -1
  101. package/badge/index.cjs +1 -1
  102. package/badge/index.js +1 -1
  103. package/breadcrumbs/index.cjs +1 -1
  104. package/breadcrumbs/index.d.ts +1 -0
  105. package/breadcrumbs/index.js +1 -1
  106. package/button/Button.d.ts +1 -2
  107. package/button/index.d.ts +1 -1
  108. package/button/index.js +1 -1
  109. package/calendar/index.cjs +1 -1
  110. package/calendar/index.js +1 -1
  111. package/card/index.js +1 -1
  112. package/character-counter/index.js +1 -1
  113. package/checkbox/index.cjs +1 -1
  114. package/checkbox/index.js +2 -2
  115. package/color-scheme-switch/index.d.ts +1 -0
  116. package/color-scheme-switch/index.js +1 -1
  117. package/combobox/ComboBox.d.ts +1 -1
  118. package/combobox/index.cjs +1 -1
  119. package/combobox/index.js +1 -1
  120. package/date-field/index.cjs +1 -1
  121. package/date-field/index.d.ts +1 -0
  122. package/date-field/index.js +2 -2
  123. package/date-picker/index.cjs +1 -1
  124. package/date-picker/index.js +1 -1
  125. package/dropdown/Dropdown.d.ts +1 -2
  126. package/dropdown/index.cjs +1 -1
  127. package/dropdown/index.d.ts +1 -1
  128. package/dropdown/index.js +1 -1
  129. package/field-error/index.cjs +1 -1
  130. package/field-error/index.d.ts +1 -0
  131. package/field-error/index.js +1 -1
  132. package/file-upload/FileUpload.d.ts +3 -14
  133. package/file-upload/index.cjs +1 -1
  134. package/file-upload/index.d.ts +1 -1
  135. package/file-upload/index.js +3 -2
  136. package/{getScrollParent-CsZ9ciml.cjs → getScrollParent-DuKmPmUa.cjs} +1 -1
  137. package/{getScrollParent-CT_L9LUr.js → getScrollParent-Ru2U2LlM.js} +1 -1
  138. package/grid/index.d.ts +1 -1
  139. package/heading/index.d.ts +1 -0
  140. package/heading/index.js +1 -1
  141. package/index.cjs +1 -1
  142. package/index.d.ts +1 -1
  143. package/index.js +118 -116
  144. package/info-banner/index.d.ts +1 -1
  145. package/info-banner/index.js +1 -1
  146. package/label/index.cjs +1 -1
  147. package/label/index.js +1 -1
  148. package/layout/index.cjs +1 -1
  149. package/layout/index.d.ts +1 -0
  150. package/layout/index.js +1 -1
  151. package/link/Link.d.ts +2 -2
  152. package/link/index.cjs +1 -1
  153. package/link/index.d.ts +1 -1
  154. package/link/index.js +2 -2
  155. package/link-button/LinkButton.d.ts +2 -2
  156. package/link-button/index.d.ts +1 -0
  157. package/link-button/index.js +2 -2
  158. package/list-box/index.cjs +1 -1
  159. package/list-box/index.js +2 -2
  160. package/modal/Dialog.d.ts +1 -1
  161. package/modal/index.cjs +1 -1
  162. package/modal/index.d.ts +1 -1
  163. package/modal/index.js +2 -2
  164. package/package.json +1 -1
  165. package/popover/Popover.d.ts +1 -2
  166. package/popover/index.cjs +1 -1
  167. package/popover/index.d.ts +1 -0
  168. package/popover/index.js +1 -1
  169. package/progress-bar/ProgressBar.d.ts +1 -2
  170. package/progress-bar/index.cjs +1 -1
  171. package/progress-bar/index.d.ts +1 -0
  172. package/progress-bar/index.js +1 -1
  173. package/radio/Radio.d.ts +1 -2
  174. package/radio/index.cjs +1 -1
  175. package/radio/index.d.ts +1 -1
  176. package/radio/index.js +1 -1
  177. package/scrollIntoView-ClEACHUk.js +57 -0
  178. package/scrollIntoView-DRSoJp89.cjs +1 -0
  179. package/search-field/index.cjs +1 -1
  180. package/search-field/index.d.ts +1 -1
  181. package/search-field/index.js +1 -1
  182. package/select/Select.d.ts +1 -1
  183. package/select/index.cjs +1 -1
  184. package/select/index.js +1 -1
  185. package/skeleton/index.d.ts +1 -1
  186. package/spinner/index.d.ts +1 -1
  187. package/table/index.cjs +1 -1
  188. package/table/index.d.ts +1 -0
  189. package/table/index.js +1 -1
  190. package/tabs/index.cjs +1 -1
  191. package/tabs/index.d.ts +1 -0
  192. package/tabs/index.js +1 -1
  193. package/tag/index.cjs +1 -1
  194. package/tag/index.d.ts +1 -1
  195. package/tag/index.js +1 -1
  196. package/text/index.d.ts +1 -0
  197. package/text/index.js +1 -1
  198. package/textfield/index.cjs +1 -1
  199. package/textfield/index.d.ts +3 -0
  200. package/textfield/index.js +1 -1
  201. package/theme/index.cjs +1 -1
  202. package/theme/index.d.ts +1 -0
  203. package/theme/index.js +2 -2
  204. package/theme/tokens.d.ts +1 -0
  205. package/toast/Toast.d.ts +2 -3
  206. package/toast/index.d.ts +1 -0
  207. package/toast/index.js +1 -1
  208. package/toggle-button/index.js +1 -1
  209. package/{tokens-BghDnMdO.cjs → tokens-BF-dPard.cjs} +1 -1
  210. package/{tokens-fEwCQXDv.js → tokens-r1r3wC04.js} +4 -3
  211. package/tooltip/Tooltip.d.ts +1 -2
  212. package/tooltip/index.d.ts +1 -0
  213. package/tooltip/index.js +1 -1
  214. package/{useButton-1-Jf-oHj.js → useButton-BoIV3kDJ.js} +5 -5
  215. package/{useDateFormatter-BVCkxVdw.js → useDateFormatter-C7BJgoDR.js} +1 -1
  216. package/useDescription-CPo72trh.cjs +1 -0
  217. package/useDescription-DYfKjGGU.js +32 -0
  218. package/{useField-BEBXv5Mh.js → useField-CefQB81E.js} +1 -1
  219. package/{useFilter-e2oIVF_O.cjs → useFilter-BhM2yVO3.cjs} +1 -1
  220. package/{useFilter-CousKe2K.js → useFilter-DginflOU.js} +1 -1
  221. package/{useFocusable-ChPA2Jc7.js → useFocusable-BjE42axF.js} +7 -7
  222. package/{useHasTabbableChild-BE81d_ab.js → useHasTabbableChild-DP62kzkG.js} +1 -1
  223. package/{useHighlightSelectionDescription-BfR_vGOe.cjs → useHighlightSelectionDescription-DmbDkFGY.cjs} +1 -1
  224. package/{useHighlightSelectionDescription-D73hrkmn.js → useHighlightSelectionDescription-xr_16pKd.js} +2 -2
  225. package/{useListState-CebsX_1d.js → useListState-DNB7JWoj.js} +1 -1
  226. package/{useListState-DymkJGDF.cjs → useListState-wLau6fXo.cjs} +1 -1
  227. package/{usePress-DuR4pVsE.js → usePress-BW47IcyU.js} +34 -34
  228. package/{useSingleSelectListState-BLXvGjLI.js → useSingleSelectListState-B0OMoHd_.js} +1 -1
  229. package/{useSingleSelectListState-BPhlCU26.cjs → useSingleSelectListState-DlO5H9N-.cjs} +1 -1
  230. package/{useTextField-C-sUypsx.js → useTextField-DjxayZsV.js} +2 -2
  231. package/{utils-DJhAJHk_.js → utils-KLjWgdLR.js} +5 -5
  232. package/AccordionItem-D2QYNgZS.cjs +0 -1
  233. package/BadgeContainer-I1XA3OCl.cjs +0 -1
  234. package/CheckboxGroup-DWxQTABg.cjs +0 -1
  235. package/ComboBox-Dg2xhkLC.cjs +0 -1
  236. package/DateInputDivider-3BvwXXa9.cjs +0 -1
  237. package/DateRangePicker-CX3830ZF.cjs +0 -6
  238. package/Dialog-CSnN6baf.cjs +0 -1
  239. package/FieldError-B3YFj-an.js +0 -23
  240. package/FieldError-BbR-29BM.js +0 -28
  241. package/FieldError-MVsU-Mgw.cjs +0 -1
  242. package/FieldError-bRTpchvr.cjs +0 -1
  243. package/Radio-CwNbUGah.cjs +0 -1
  244. package/RangeCalendar-CAI1PRDo.cjs +0 -11
  245. package/Select-nRN944QZ.cjs +0 -1
  246. package/SelectionManager-D0jYUYcy.cjs +0 -1
  247. package/Table-DAhnYYIA.cjs +0 -16
  248. package/Tag-t-aJVo3W.cjs +0 -1
  249. package/file-upload/intl/translations.json.d.ts +0 -17
  250. package/scrollIntoView-BLnsPvFA.js +0 -87
  251. package/scrollIntoView-joIyo-Jt.cjs +0 -1
package/index.js CHANGED
@@ -1,114 +1,116 @@
1
- import { A as r, a as e } from "./AccordionItem-oeN1Cc09.js";
2
- import { B as s, a as p } from "./BadgeContainer-DM8TdyMT.js";
3
- import { B as x } from "./Breadcrumbs-D8ad6xvL.js";
4
- import { B as i } from "./Button-DtSrCAf6.js";
5
- import { B as d } from "./ButtonGroup-DvVvear6.js";
6
- import { C as l, R as C } from "./RangeCalendar-6miAJVoO.js";
7
- import { C as g, d as u, c, a as B, e as S, f as D, b as L } from "./Card-BzJ_OEe6.js";
8
- import { C as I } from "./CharacterCounter-cLhqPZlk.js";
9
- import { C as R } from "./Checkbox-LuUwTZ3W.js";
10
- import { C as P } from "./CheckboxGroup-CcTfzurp.js";
11
- import { C as h } from "./ColorSchemeSwitch-y8qKczjQ.js";
12
- import { C as H, a as w, c as $, b as y } from "./ComboBox-CZyP8Dfh.js";
13
- import { D as N } from "./DateField-BTROlenJ.js";
14
- import { a as Q, b as U, D as j } from "./DateInputDivider-Bi5N-C0c.js";
15
- import { D as z, a as J } from "./DateRangePicker-DmZP9laM.js";
16
- import { D as O, a as V } from "./Dropdown-BEAMfAxj.js";
17
- import { F as X } from "./FieldError-B3YFj-an.js";
18
- import { F as Z } from "./FileUpload-DvQdIZ6k.js";
19
- import { F as aa, G as oa } from "./Grid--OhtgCo6.js";
20
- import { F as ea, G as ta } from "./GridItem-DlbSdRmB.js";
21
- import { H as pa } from "./Heading-NxtGri2i.js";
22
- import { I as xa } from "./InfoBanner-yj90XVEP.js";
23
- import { L as ia } from "./Label-D2GmP8_2.js";
24
- import { H as da, L as Ta, N as la, S as Ca, a as ba } from "./Layout-BMNgqjXv.js";
25
- import { L as ua } from "./Link-BCVI5W_i.js";
26
- import { L as Ba } from "./LinkButton-Cui-gvAk.js";
27
- import { L as Da } from "./Logo-ME4ffCue.js";
28
- import { M as Fa } from "./Dialog-0ZBhhPyd.js";
29
- import { P as Ga } from "./Popover-C8VY1YKi.js";
30
- import { P as ka } from "./ProgressBar-Bpq-hyZa.js";
31
- import { R as Aa, a as ha } from "./Radio-BPcq9kW5.js";
32
- import { S as Ha } from "./SearchField-CDyD5iWr.js";
33
- import { S as $a } from "./Select-B2wYDnAU.js";
1
+ import { a as r, b as e, A as s } from "./AccordionItem-BPOQqTkQ.js";
2
+ import { B as p, a as m } from "./BadgeContainer-CKBIZWsc.js";
3
+ import { B as f } from "./Breadcrumbs-BBzSV4SK.js";
4
+ import { B as n } from "./Button-BjMaGya2.js";
5
+ import { B as T } from "./ButtonGroup-DvVvear6.js";
6
+ import { C as l, R as b } from "./RangeCalendar-BCruEq9d.js";
7
+ import { C as u, d as c, c as B, a as D, e as S, f as I, b as L } from "./Card-BRs1FKX5.js";
8
+ import { C as R } from "./CharacterCounter-DpBDwvLw.js";
9
+ import { C as k } from "./Checkbox-EB_SCBEo.js";
10
+ import { C as A } from "./CheckboxGroup-oosHSGAt.js";
11
+ import { C as v } from "./ColorSchemeSwitch-Cnyb9EKC.js";
12
+ import { C as w, a as N, c as $, b as y } from "./ComboBox-D4MsSPBu.js";
13
+ import { D as M } from "./DateField-COs1-CkQ.js";
14
+ import { a as _, b as Q, D as Z } from "./DateInputDivider-B3oE1_tB.js";
15
+ import { D as q, a as z } from "./DateRangePicker-CvEycxmX.js";
16
+ import { D as K, a as U } from "./Dropdown-D6WCi_Ll.js";
17
+ import { F as W } from "./FieldError-CDCvUjK5.js";
18
+ import { D as Y, F as aa } from "./FileUpload-BokzdXVc.js";
19
+ import { F as ra, G as ea } from "./Grid--OhtgCo6.js";
20
+ import { F as ta, G as pa } from "./GridItem-DlbSdRmB.js";
21
+ import { H as xa } from "./Heading-D2y_kiC0.js";
22
+ import { I as ia } from "./InfoBanner-D05poAe3.js";
23
+ import { L as da } from "./Label-DA6FZwy0.js";
24
+ import { H as Ca, L as la, N as ba, S as ga, a as ua } from "./Layout-CcADAhds.js";
25
+ import { L as Ba } from "./Link-ovwNVMfg.js";
26
+ import { L as Sa } from "./LinkButton-BkZULm2a.js";
27
+ import { L as La } from "./Logo-ME4ffCue.js";
28
+ import { M as Ra } from "./Dialog-BkUw6PlA.js";
29
+ import { P as ka } from "./Popover-DHoXfBp2.js";
30
+ import { P as Aa } from "./ProgressBar-C0IBfi5I.js";
31
+ import { R as va, a as Ha } from "./Radio-B6N9dCtB.js";
32
+ import { S as Na } from "./SearchField-nwlyszwt.js";
33
+ import { S as ya } from "./Select-DMVj2lrG.js";
34
34
  import { S as Ma } from "./Skeleton-BePDRmrO.js";
35
- import { S as Ea } from "./Spinner-VSyPhiJ9.js";
36
- import { b as Ua, C as ja, R as qa, T as za, $ as Ja, a as Ka } from "./Table-zKvjzd9t.js";
37
- import { a as Va, c as Wa, b as Xa, T as Ya } from "./TabList-D0qzIjSx.js";
38
- import { T as _a, a as ao } from "./Tag-BoqT5nbh.js";
39
- import { T as ro } from "./Text-DlKqpvSa.js";
40
- import { I as to, b as so, a as po, T as mo } from "./TextArea-Pxr-eLXe.js";
41
- import { G as fo, b as io, T as no, a as To, t as lo, u as Co } from "./Toast-DfKiA5hp.js";
42
- import { T as go, a as uo } from "./ToggleButtonGroup-DhlfvYGg.js";
43
- import { T as Bo, a as So } from "./Tooltip-5mLWn_wO.js";
44
- import { $ as Lo } from "./usePress-DuR4pVsE.js";
45
- import { $ as Io } from "./Dialog-CtVrVuMr.js";
35
+ import { S as _a } from "./Spinner-VSyPhiJ9.js";
36
+ import { b as Za, C as ja, R as qa, T as za, $ as Ja, a as Ka } from "./Table-B5Aine4F.js";
37
+ import { a as Va, c as Wa, b as Xa, T as Ya } from "./TabList-QApx8qRC.js";
38
+ import { T as oo, a as ro } from "./Tag-Byva_Xuy.js";
39
+ import { T as so } from "./Text-BPcfhYQ9.js";
40
+ import { I as po, b as mo, a as xo, T as fo } from "./TextArea-eK7Jx3qs.js";
41
+ import { G as no, b as To, T as Co, a as lo, t as bo, u as go } from "./Toast-CWt_mNIg.js";
42
+ import { T as co, a as Bo } from "./ToggleButtonGroup-HjvaTYD4.js";
43
+ import { T as So, a as Io } from "./Tooltip-DjNc93tV.js";
44
+ import { $ as Fo } from "./usePress-BW47IcyU.js";
45
+ import { $ as Go } from "./Dialog-DKHo0W9B.js";
46
46
  export {
47
- r as Accordion,
48
- e as AccordionItem,
49
- s as Badge,
50
- p as BadgeContainer,
51
- x as Breadcrumbs,
52
- i as Button,
53
- d as ButtonGroup,
47
+ r as ACCORDION_TEST_ID,
48
+ e as Accordion,
49
+ s as AccordionItem,
50
+ p as Badge,
51
+ m as BadgeContainer,
52
+ f as Breadcrumbs,
53
+ n as Button,
54
+ T as ButtonGroup,
54
55
  l as Calendar,
55
- g as Card,
56
- u as CardActionArea,
57
- c as CardActions,
58
- B as CardContent,
56
+ u as Card,
57
+ c as CardActionArea,
58
+ B as CardActions,
59
+ D as CardContent,
59
60
  S as CardImage,
60
- D as CardLink,
61
+ I as CardLink,
61
62
  L as CardTitle,
62
- Ua as Cell,
63
- I as CharacterCounter,
64
- R as Checkbox,
65
- P as CheckboxGroup,
66
- h as ColorSchemeSwitch,
63
+ Za as Cell,
64
+ R as CharacterCounter,
65
+ k as Checkbox,
66
+ A as CheckboxGroup,
67
+ v as ColorSchemeSwitch,
67
68
  ja as Column,
68
- H as ComboBox,
69
- w as ComboBoxItem,
69
+ w as ComboBox,
70
+ N as ComboBoxItem,
70
71
  $ as ComboBoxSection,
71
72
  y as ComboBoxSelection,
72
- N as DateField,
73
- Q as DateInput,
74
- U as DateInputDivider,
75
- z as DatePicker,
76
- J as DateRangePicker,
77
- j as DateSegment,
78
- Io as DialogTrigger,
79
- O as Dropdown,
80
- V as DropdownItem,
81
- X as FieldError,
82
- Z as FileUpload,
83
- aa as Flex,
84
- ea as FlexItem,
85
- fo as GlobalToastRegion,
86
- oa as Grid,
87
- ta as GridItem,
88
- da as Header,
89
- pa as Heading,
90
- xa as InfoBanner,
91
- to as Input,
92
- ia as Label,
93
- Ta as Layout,
94
- ua as Link,
95
- Ba as LinkButton,
96
- Da as Logo,
97
- Fa as Modal,
98
- la as Navbar,
99
- Ga as Popover,
100
- ka as ProgressBar,
101
- Aa as Radio,
102
- ha as RadioGroup,
103
- C as RangeCalendar,
104
- Lo as RouterProvider,
73
+ M as DateField,
74
+ _ as DateInput,
75
+ Q as DateInputDivider,
76
+ q as DatePicker,
77
+ z as DateRangePicker,
78
+ Z as DateSegment,
79
+ Go as DialogTrigger,
80
+ Y as DropZone,
81
+ K as Dropdown,
82
+ U as DropdownItem,
83
+ W as FieldError,
84
+ aa as FileTrigger,
85
+ ra as Flex,
86
+ ta as FlexItem,
87
+ no as GlobalToastRegion,
88
+ ea as Grid,
89
+ pa as GridItem,
90
+ Ca as Header,
91
+ xa as Heading,
92
+ ia as InfoBanner,
93
+ po as Input,
94
+ da as Label,
95
+ la as Layout,
96
+ Ba as Link,
97
+ Sa as LinkButton,
98
+ La as Logo,
99
+ Ra as Modal,
100
+ ba as Navbar,
101
+ ka as Popover,
102
+ Aa as ProgressBar,
103
+ va as Radio,
104
+ Ha as RadioGroup,
105
+ b as RangeCalendar,
106
+ Fo as RouterProvider,
105
107
  qa as Row,
106
- Ha as SearchField,
107
- $a as Select,
108
- Ca as Sidebar,
109
- ba as SidebarLink,
108
+ Na as SearchField,
109
+ ya as Select,
110
+ ga as Sidebar,
111
+ ua as SidebarLink,
110
112
  Ma as Skeleton,
111
- Ea as Spinner,
113
+ _a as Spinner,
112
114
  Va as Tab,
113
115
  Wa as TabList,
114
116
  Xa as TabPanel,
@@ -116,19 +118,19 @@ export {
116
118
  Ja as TableBody,
117
119
  Ka as TableHeader,
118
120
  Ya as Tabs,
119
- _a as Tag,
120
- ao as TagGroup,
121
- ro as Text,
122
- so as TextArea,
123
- po as TextField,
124
- mo as TextFieldBase,
125
- io as Toast,
126
- no as ToastProvider,
127
- To as ToastRegion,
128
- go as ToggleButton,
129
- uo as ToggleButtonGroup,
130
- Bo as Tooltip,
131
- So as TooltipTrigger,
132
- lo as toastQueue,
133
- Co as useToastState
121
+ oo as Tag,
122
+ ro as TagGroup,
123
+ so as Text,
124
+ mo as TextArea,
125
+ xo as TextField,
126
+ fo as TextFieldBase,
127
+ To as Toast,
128
+ Co as ToastProvider,
129
+ lo as ToastRegion,
130
+ co as ToggleButton,
131
+ Bo as ToggleButtonGroup,
132
+ So as Tooltip,
133
+ Io as TooltipTrigger,
134
+ bo as toastQueue,
135
+ go as useToastState
134
136
  };
@@ -1 +1 @@
1
- export { InfoBanner } from './InfoBanner';
1
+ export { InfoBanner, type InfoBannerProps } from './InfoBanner';
@@ -1,4 +1,4 @@
1
- import { I as r } from "../InfoBanner-yj90XVEP.js";
1
+ import { I as r } from "../InfoBanner-D05poAe3.js";
2
2
  export {
3
3
  r as InfoBanner
4
4
  };
package/label/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-E3LhQfNv.cjs");exports.Label=e.Label;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Label-ChjDdBlv.cjs");exports.Label=e.Label;
package/label/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { L as o } from "../Label-D2GmP8_2.js";
1
+ import { L as o } from "../Label-DA6FZwy0.js";
2
2
  export {
3
3
  o as Label
4
4
  };
package/layout/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-Ri7XQHFp.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Layout-BwLxIwtY.cjs");exports.Header=e.Header;exports.Layout=e.Layout;exports.Navbar=e.Navbar;exports.Sidebar=e.Sidebar;exports.SidebarLink=e.SidebarLink;
package/layout/index.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from './components/Header';
3
3
  export * from './components/Sidebar';
4
4
  export * from './components/SidebarLink';
5
5
  export * from './components/Navbar';
6
+ export type { SidebarLinkGroup, SidebarLinkProps, SidebarUser, App, MidasLayout } from './Layout';
package/layout/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { H as e, L as s, N as b, S as d, a as i } from "../Layout-BMNgqjXv.js";
1
+ import { H as e, L as s, N as b, S as d, a as i } from "../Layout-CcADAhds.js";
2
2
  export {
3
3
  e as Header,
4
4
  s as Layout,
package/link/Link.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Link as AriaLink, RouterProvider } from 'react-aria-components';
2
2
  import { LucideIcon } from 'lucide-react';
3
- interface MidasLinkProps<C extends React.ElementType> {
3
+ export interface LinkComponentProps<C extends React.ElementType> {
4
4
  children: React.ReactNode;
5
5
  /** Use standalone to use the component as a standalone link, for example under a block of text.*/
6
6
  standalone?: boolean;
@@ -14,6 +14,6 @@ interface MidasLinkProps<C extends React.ElementType> {
14
14
  */
15
15
  as?: C;
16
16
  }
17
- export type LinkProps<C extends React.ElementType> = MidasLinkProps<C> & Omit<React.ComponentProps<C>, keyof MidasLinkProps<C>>;
17
+ export type LinkProps<C extends React.ElementType> = LinkComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkComponentProps<C>>;
18
18
  export declare const Link: <C extends React.ElementType = typeof AriaLink>({ children, standalone, target, stretched, download, icon: IconComponent, className, as, ...rest }: LinkProps<C>) => import("react/jsx-runtime").JSX.Element;
19
19
  export { RouterProvider };
package/link/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-CVvnCOGP.cjs"),r=require("../usePress-BooY_CAy.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Link-ESjrl63P.cjs"),r=require("../usePress-BooY_CAy.cjs");exports.Link=e.Link;exports.RouterProvider=r.$ea8dcbcb9ea1b556$export$323e4fc2fa4753fb;
package/link/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Link, RouterProvider, type LinkProps } from './Link';
1
+ export { Link, RouterProvider, type LinkProps, type LinkComponentProps } from './Link';
package/link/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as e } from "../Link-BCVI5W_i.js";
2
- import { $ as a } from "../usePress-DuR4pVsE.js";
1
+ import { L as e } from "../Link-ovwNVMfg.js";
2
+ import { $ as a } from "../usePress-BW47IcyU.js";
3
3
  export {
4
4
  e as Link,
5
5
  a as RouterProvider
@@ -2,7 +2,7 @@ import { default as React } from 'react';
2
2
  import { Link as AriaLink, RouterProvider } from 'react-aria-components';
3
3
  import { LucideIcon } from 'lucide-react';
4
4
  import { Size } from '../common/types';
5
- interface MidasLinkProps<C extends React.ElementType> {
5
+ export interface LinkButtonComponentProps<C extends React.ElementType> {
6
6
  children: React.ReactNode;
7
7
  /**
8
8
  * Primary button is used as a positive action in a flow. Always use one primary button and never a seconday button on it's own. When using just an icon you must pass an aria-label
@@ -33,7 +33,7 @@ interface MidasLinkProps<C extends React.ElementType> {
33
33
  **/
34
34
  size?: Size;
35
35
  }
36
- export type LinkButtonProps<C extends React.ElementType> = MidasLinkProps<C> & Omit<React.ComponentProps<C>, keyof MidasLinkProps<C>>;
36
+ export type LinkButtonProps<C extends React.ElementType> = LinkButtonComponentProps<C> & Omit<React.ComponentProps<C>, keyof LinkButtonComponentProps<C>>;
37
37
  /**
38
38
  * A link to be used when a user expects a button but web technologies force us to use a a-tag
39
39
  * */
@@ -1 +1,2 @@
1
1
  export * from './LinkButton';
2
+ export type { LinkButtonComponentProps } from './LinkButton';
@@ -1,5 +1,5 @@
1
- import { L as t } from "../LinkButton-Cui-gvAk.js";
2
- import { $ as a } from "../usePress-DuR4pVsE.js";
1
+ import { L as t } from "../LinkButton-BkZULm2a.js";
2
+ import { $ as a } from "../usePress-BW47IcyU.js";
3
3
  export {
4
4
  t as LinkButton,
5
5
  a as RouterProvider
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-CfQZoURJ.cjs"),o=require("../ListBoxButton-DNm3gvcT.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ListBoxSection-C-Rz358T.cjs"),o=require("../ListBoxButton-BsuHFd_O.cjs");exports.ListBox=t.ListBox;exports.ListBoxItem=t.ListBoxItem;exports.ListBoxPopover=t.ListBoxPopover;exports.ListBoxSection=t.ListBoxSection;exports.ListBoxButton=o.ListBoxButton;
package/list-box/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { L as s, a as x, b as L, c as a } from "../ListBoxSection-BVR2xtOH.js";
2
- import { L as B } from "../ListBoxButton-C_krklY0.js";
1
+ import { L as s, a as x, b as L, c as a } from "../ListBoxSection-Cc2cx0_S.js";
2
+ import { L as B } from "../ListBoxButton-DawRfuny.js";
3
3
  export {
4
4
  s as ListBox,
5
5
  B as ListBoxButton,
package/modal/Dialog.d.ts CHANGED
@@ -2,7 +2,7 @@ import { AriaDialogProps } from 'react-aria';
2
2
  import { DialogTrigger } from 'react-aria-components';
3
3
  import { AriaModalOverlayProps } from '@react-aria/overlays';
4
4
  import * as React from 'react';
5
- interface DialogProps extends AriaDialogProps {
5
+ export interface DialogProps extends AriaDialogProps {
6
6
  /**
7
7
  * An optional title for the dialog. If omitted, please provide an aria-label for accessibility.
8
8
  */
package/modal/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-DnMwnqiC.cjs"),o=require("../Dialog-CSnN6baf.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Dialog-B3R3WtL5.cjs"),o=require("../Dialog-DtHk3eXI.cjs");exports.Modal=e.Modal;exports.DialogTrigger=o.$de32f1b87079253c$export$2e1e1122cf0cba88;
package/modal/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Modal, DialogTrigger } from './Dialog';
1
+ export { Modal, DialogTrigger, type DialogProps } from './Dialog';
package/modal/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { M as a } from "../Dialog-0ZBhhPyd.js";
2
- import { $ as g } from "../Dialog-CtVrVuMr.js";
1
+ import { M as a } from "../Dialog-BkUw6PlA.js";
2
+ import { $ as g } from "../Dialog-DKHo0W9B.js";
3
3
  export {
4
4
  g as DialogTrigger,
5
5
  a as Modal
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.4.1",
17
+ "version": "11.1.0",
18
18
  "main": "./index.cjs",
19
19
  "module": "./index.js",
20
20
  "types": "./index.d.ts",
@@ -1,7 +1,6 @@
1
1
  import { PopoverProps } from 'react-aria-components';
2
2
  import * as React from 'react';
3
- interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
3
+ export interface MidasPopoverProps extends Omit<PopoverProps, 'children'> {
4
4
  children: React.ReactNode;
5
5
  }
6
6
  export declare function Popover({ children, className, offset, ...props }: MidasPopoverProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
package/popover/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-CnAsw3wI.cjs");exports.Popover=e.Popover;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Popover-BDvKByTT.cjs");exports.Popover=e.Popover;
@@ -1 +1,2 @@
1
1
  export * from './Popover';
2
+ export type { MidasPopoverProps } from './Popover';
package/popover/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as e } from "../Popover-C8VY1YKi.js";
1
+ import { P as e } from "../Popover-DHoXfBp2.js";
2
2
  export {
3
3
  e as Popover
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { LabelProps, ProgressBarProps as AriaProgressBarProps } from 'react-aria-components';
2
2
  import * as React from 'react';
3
- interface ProgressBarProps extends AriaProgressBarProps {
3
+ export interface ProgressBarProps extends AriaProgressBarProps {
4
4
  /**
5
5
  * A visual label
6
6
  * */
@@ -15,4 +15,3 @@ interface ProgressBarProps extends AriaProgressBarProps {
15
15
  showValueLabel?: boolean;
16
16
  }
17
17
  export declare const ProgressBar: React.FC<ProgressBarProps>;
18
- export {};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-D4lOEhAh.cjs");exports.ProgressBar=r.ProgressBar;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../ProgressBar-ClysdvqU.cjs");exports.ProgressBar=r.ProgressBar;
@@ -1 +1,2 @@
1
1
  export * from './ProgressBar';
2
+ export type { ProgressBarProps } from './ProgressBar';
@@ -1,4 +1,4 @@
1
- import { P as s } from "../ProgressBar-Bpq-hyZa.js";
1
+ import { P as s } from "../ProgressBar-C0IBfi5I.js";
2
2
  export {
3
3
  s as ProgressBar
4
4
  };
package/radio/Radio.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { RadioGroupProps, RadioProps, ValidationResult } from 'react-aria-components';
2
2
  import { InfoPopoverProps } from '../label';
3
3
  import * as React from 'react';
4
- interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
4
+ export interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
5
5
  children?: React.ReactNode;
6
6
  /** Label for the RadioGroup */
7
7
  label?: string;
@@ -18,4 +18,3 @@ interface MVDSRadioGroupProps extends Omit<RadioGroupProps, 'children'> {
18
18
  */
19
19
  export declare const RadioGroup: React.FC<MVDSRadioGroupProps>;
20
20
  export declare const Radio: ({ className, ...rest }: RadioProps) => import("react/jsx-runtime").JSX.Element;
21
- export {};
package/radio/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-CwNbUGah.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../Radio-Cz0vLIBw.cjs");exports.Radio=o.Radio;exports.RadioGroup=o.RadioGroup;
package/radio/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { Radio, RadioGroup } from './Radio';
1
+ export { Radio, RadioGroup, type MVDSRadioGroupProps } from './Radio';
package/radio/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { R as r, a as R } from "../Radio-BPcq9kW5.js";
1
+ import { R as r, a as R } from "../Radio-B6N9dCtB.js";
2
2
  export {
3
3
  r as Radio,
4
4
  R as RadioGroup
@@ -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;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-DEoGi9xv.cjs");exports.SearchField=e.SearchField;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SearchField-QFyuaT-K.cjs");exports.SearchField=e.SearchField;
@@ -1 +1 @@
1
- export { SearchField } from './SearchField';
1
+ export { SearchField, type SearchFieldProps } from './SearchField';
@@ -1,4 +1,4 @@
1
- import { S as a } from "../SearchField-CDyD5iWr.js";
1
+ import { S as a } from "../SearchField-nwlyszwt.js";
2
2
  export {
3
3
  a as SearchField
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { SelectProps } from './types';
2
2
  import * as React from 'react';
3
3
  export declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "children" | "items"> & {
4
- options: import('..').ListBoxOption[];
4
+ options: import('../list-box').ListBoxOption[];
5
5
  } & React.RefAttributes<HTMLButtonElement>>;
package/select/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-nRN944QZ.cjs");exports.Select=e.Select;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Select-DiCEyap1.cjs");exports.Select=e.Select;
package/select/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as r } from "../Select-B2wYDnAU.js";
1
+ import { S as r } from "../Select-DMVj2lrG.js";
2
2
  export {
3
3
  r as Select
4
4
  };
@@ -1 +1 @@
1
- export { Skeleton } from './Skeleton';
1
+ export { Skeleton, type SkeletonProps } from './Skeleton';
@@ -1 +1 @@
1
- export { Spinner } from './Spinner';
1
+ export { Spinner, type SpinnerProps } from './Spinner';
package/table/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-DAhnYYIA.cjs");exports.Cell=e.Cell;exports.Column=e.Column;exports.Row=e.Row;exports.Table=e.Table;exports.TableBody=e.$1910c06f0ca9905e$export$76ccd210b9029917;exports.TableHeader=e.TableHeader;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Table-DGYC-sDq.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;