@midas-ds/components 11.2.0 → 12.0.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 (324) hide show
  1. package/AccordionItem-DEiRuizp.js +361 -0
  2. package/AccordionItem-Dhr7uo8u.cjs +1 -0
  3. package/BadgeContainer-CxVmqJ7g.cjs +1 -0
  4. package/BadgeContainer-DGJGJMPi.js +37 -0
  5. package/{Breadcrumbs-BBzSV4SK.js → Breadcrumbs-CEyKlcGU.js} +11 -11
  6. package/{Breadcrumbs-CFUryOhf.cjs → Breadcrumbs-CnGzvtbn.cjs} +1 -1
  7. package/{Button-Dq6ugqxT.cjs → Button-DQm2iqKU.cjs} +1 -1
  8. package/{Button-DExMoP5f.cjs → Button-DZzQGk-L.cjs} +1 -1
  9. package/{Button-CepQFEit.js → Button-DtC_ZOyd.js} +12 -12
  10. package/{Button-BjMaGya2.js → Button-akT6Hvug.js} +1 -1
  11. package/CHANGELOG.md +49 -0
  12. package/{Card-BRs1FKX5.js → Card-CwwVnA_a.js} +5 -5
  13. package/Card-DPfOZC7f.cjs +1 -0
  14. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DPphWPzA.js} +5 -5
  15. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-DQJVM-mZ.cjs} +1 -1
  16. package/{Checkbox-EB_SCBEo.js → Checkbox-BN_3F2Hl.js} +21 -21
  17. package/{Checkbox-Co3h0hur.cjs → Checkbox-CZtCj4yR.cjs} +1 -1
  18. package/{CheckboxGroup-DvrN1oyw.js → CheckboxGroup--xgOT1Do.js} +11 -11
  19. package/{CheckboxGroup-CT_eqERw.cjs → CheckboxGroup-DGHaqRvb.cjs} +1 -1
  20. package/{Collection-BtBX5IMY.cjs → Collection-B1xL4EdF.cjs} +1 -1
  21. package/{Collection-D2jVTmDW.js → Collection-C5vE9MtJ.js} +11 -11
  22. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-DtyJ9-5B.cjs} +3 -3
  23. package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-DyZ9FAKG.js} +12 -12
  24. package/{ComboBox-DfJ_aJrf.js → ComboBox-Dn3tQzri.js} +93 -97
  25. package/{ComboBox-D_jh7TKo.cjs → ComboBox-UadZMhiR.cjs} +1 -1
  26. package/{DateField-BURrxhil.cjs → DateField-CNEoLyf5.cjs} +1 -1
  27. package/{DateField-DKCbEonm.js → DateField-CZmLugT0.js} +4 -4
  28. package/{DateInputDivider-ToFY-yjB.cjs → DateInputDivider-CCjiq90K.cjs} +1 -1
  29. package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CJEGWmG0.js} +22 -22
  30. package/{DateRangePicker-DkIAEIIj.cjs → DateRangePicker-DhgLEa9P.cjs} +2 -2
  31. package/{DateRangePicker-B5vx9onl.js → DateRangePicker-WQ97Psz7.js} +22 -22
  32. package/{Dialog-DtHk3eXI.cjs → Dialog-BT0tVGQb.cjs} +1 -1
  33. package/{Dialog-D5c_dUnB.js → Dialog-BuJdAr0D.js} +48 -48
  34. package/Dialog-DYK8lySl.cjs +1 -0
  35. package/Dialog-L53DWF0Z.js +220 -0
  36. package/{DragAndDrop-DOXLfJaA.js → DragAndDrop-DKxsUpmW.js} +9 -9
  37. package/{DragAndDrop-CSg60YQE.cjs → DragAndDrop-Dgfq6uJ0.cjs} +1 -1
  38. package/{Dropdown-Cpc2EszJ.js → Dropdown-BWbdSQ9U.js} +35 -34
  39. package/Dropdown-CJ-sujKv.cjs +6 -0
  40. package/FieldError-BlKkw9YL.js +46 -0
  41. package/{FieldError-Bv3Q6ZP-.cjs → FieldError-BvU0sueN.cjs} +1 -1
  42. package/{FileUpload-BokzdXVc.js → FileUpload-B89QfnCB.js} +13 -13
  43. package/{FileUpload-Bz9md5zc.cjs → FileUpload-KQ1XAKAc.cjs} +1 -1
  44. package/{FocusScope-vcXLOQiu.cjs → FocusScope-CAgWgk3N.cjs} +1 -1
  45. package/{FocusScope-DMsfA3bj.js → FocusScope-CEgd3xCY.js} +17 -17
  46. package/{Grid--OhtgCo6.js → Grid-B2av0vt8.js} +6 -9
  47. package/Grid-Db5wZrw6.cjs +1 -0
  48. package/{GridItem-XgHmZWXY.cjs → GridItem-BnyULDnc.cjs} +1 -1
  49. package/{GridItem-DlbSdRmB.js → GridItem-orSzD7H5.js} +27 -30
  50. package/{Group-B0vQfHDy.js → Group-B3mRMVy7.js} +11 -11
  51. package/{Group-DOpbdoAi.cjs → Group-Cdy6z9ra.cjs} +1 -1
  52. package/{Heading-D2y_kiC0.js → Heading-DDhdwRAW.js} +7 -7
  53. package/Heading-OUPkdoEJ.cjs +1 -0
  54. package/{Hidden-C9KWUR7b.js → Hidden-B5ir3Lei.js} +2 -2
  55. package/InfoBanner-DpLcq_1R.cjs +1 -0
  56. package/InfoBanner-U5hxOipC.js +99 -0
  57. package/{Input-n-Z20KbW.js → Input-BnpBRnJz.js} +9 -9
  58. package/{Input-MJji5hhq.cjs → Input-DIhhWEPW.cjs} +1 -1
  59. package/{Label-endv1fkJ.js → Label-ByWt6Lfh.js} +24 -24
  60. package/Label-COpr4xVt.cjs +1 -0
  61. package/{Layout-D0E1fOgZ.cjs → Layout-BR3Or1Ga.cjs} +2 -2
  62. package/{Layout-DtyhUz-G.js → Layout-Bdqauktv.js} +17 -17
  63. package/{Link-CibH8uRY.js → Link-CM2N5Jq-.js} +7 -7
  64. package/{Link-ovwNVMfg.js → Link-Dnnv00g9.js} +1 -1
  65. package/{Link-ESjrl63P.cjs → Link-Dq8IFDBx.cjs} +1 -1
  66. package/{Link-CidjjqHb.cjs → Link-ceVlGaWQ.cjs} +1 -1
  67. package/{LinkButton-B6AWNiRn.cjs → LinkButton-BJA9_HzL.cjs} +1 -1
  68. package/{LinkButton-BkZULm2a.js → LinkButton-DH3Nfdis.js} +1 -1
  69. package/{ListBox-B0E1hdEt.cjs → ListBox-D0u9svwm.cjs} +1 -1
  70. package/{ListBox-Djy7244v.js → ListBox-y_dw__MI.js} +16 -16
  71. package/{ListBoxButton-CIqNRR3y.cjs → ListBoxButton-C2zp-gXD.cjs} +1 -1
  72. package/{ListBoxButton-sqirI6I4.js → ListBoxButton-DiseS_LX.js} +1 -1
  73. package/{ListBoxSection-Cicbu8pS.js → ListBoxSection-Cv-gN76G.js} +9 -9
  74. package/{ListBoxSection-BYJccE4T.cjs → ListBoxSection-DtsigmC1.cjs} +1 -1
  75. package/{ListKeyboardDelegate-ZKBk2IId.cjs → ListKeyboardDelegate-fZKXmHAk.cjs} +1 -1
  76. package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-mcrZobNa.js} +2 -2
  77. package/{Logo-BpH0HC91.cjs → Logo-BW5NXAdu.cjs} +1 -1
  78. package/{Logo-ME4ffCue.js → Logo-qkVS1MCN.js} +1 -1
  79. package/{OverlayArrow-DpZ1FqOd.cjs → OverlayArrow-8praV_Xy.cjs} +1 -1
  80. package/{OverlayArrow-DB_aVTVM.js → OverlayArrow-DfkRZlgG.js} +4 -4
  81. package/{Popover-BDvKByTT.cjs → Popover-C5chAY42.cjs} +1 -1
  82. package/{Popover-Tniqbaes.js → Popover-viLqHHX2.js} +2 -2
  83. package/{PressResponder-C3APAKsz.js → PressResponder-B_Zqu7b1.js} +9 -9
  84. package/PressResponder-Bm3_RM9c.cjs +1 -0
  85. package/{ProgressBar-ClysdvqU.cjs → ProgressBar-D5mNQTID.cjs} +1 -1
  86. package/{ProgressBar-DTn23Zkr.js → ProgressBar-wQirOG1N.js} +2 -2
  87. package/{Radio-CCN3o3s-.js → Radio-BIomn_sP.js} +23 -23
  88. package/{Radio-Cz0vLIBw.cjs → Radio-CxvJ5Wrl.cjs} +1 -1
  89. package/{RangeCalendar-BY82hPRu.cjs → RangeCalendar-BvvZ2SBj.cjs} +1 -1
  90. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-DGGMbb0j.js} +19 -19
  91. package/{SSRProvider-40TXmsUG.js → SSRProvider-D8lZ0o6A.js} +5 -5
  92. package/{SSRProvider-Bc-sMhsT.cjs → SSRProvider-DZRLwxPS.cjs} +1 -1
  93. package/{SearchField-nwlyszwt.js → SearchField-B0dlPqsW.js} +6 -6
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-Ma3KB8Em.cjs} +2 -2
  95. package/{Select-MwvnbChP.js → Select-769RSZ9V.js} +114 -114
  96. package/{Select-lhIwwJL7.cjs → Select-Go5x0zWl.cjs} +1 -1
  97. package/{SelectionManager-BKrZ_mMO.js → SelectionManager-BdKKuso-.js} +9 -9
  98. package/{SelectionManager-BJjqIWtf.cjs → SelectionManager-BvREZgeu.cjs} +1 -1
  99. package/{Separator-DvvVAypT.js → Separator-CggS0R7Q.js} +4 -4
  100. package/{Separator-DPLEx950.cjs → Separator-DBsDhqCr.cjs} +1 -1
  101. package/{Spinner-VSyPhiJ9.js → Spinner-AXFRWuT6.js} +2 -2
  102. package/{Spinner-vof0Y9Hh.cjs → Spinner-yHx_DX_4.cjs} +1 -1
  103. package/TabList-0gj27e_e.js +386 -0
  104. package/TabList-Cqpup53E.cjs +1 -0
  105. package/Table-BhtlNY9P.cjs +16 -0
  106. package/{Table-DGTwyh7U.js → Table-CTS0J_sQ.js} +289 -268
  107. package/{Tag-rI-NhuT0.js → Tag-B9M-nBTM.js} +49 -49
  108. package/{Tag-bYq-wf5D.cjs → Tag-DkW6zaIS.cjs} +1 -1
  109. package/{Text-DcZqSUN9.js → Text--KL3Auo7.js} +3 -3
  110. package/{Text-BPcfhYQ9.js → Text-BUDAzDjW.js} +1 -1
  111. package/{Text-DBHWi5gA.cjs → Text-DA_gK6a2.cjs} +1 -1
  112. package/{Text-CfcjRtke.cjs → Text-wuw0HQoa.cjs} +1 -1
  113. package/TextArea-CSrrYY05.cjs +1 -0
  114. package/{TextArea-CrEALC58.js → TextArea-DphcH6wE.js} +16 -16
  115. package/{TextField-Dma22dnD.js → TextField-CsyRTSEG.js} +13 -13
  116. package/{TextField-BAX93sq7.cjs → TextField-P5yICj5z.cjs} +1 -1
  117. package/Toast-BEh5yYzO.cjs +1 -0
  118. package/{Toast-CWt_mNIg.js → Toast-BnzpC_5v.js} +130 -137
  119. package/{ToggleButtonGroup-DZ_wo0qx.cjs → ToggleButtonGroup-BwFAhFEi.cjs} +1 -1
  120. package/{ToggleButtonGroup-98z8Dw8-.js → ToggleButtonGroup-CuxAKB3-.js} +7 -7
  121. package/{Tooltip-pN5W3IK6.cjs → Tooltip-Bz0xCZSw.cjs} +1 -1
  122. package/{Tooltip-DjNc93tV.js → Tooltip-EuEQtHZj.js} +12 -12
  123. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-BKslUoMJ.js} +8 -8
  124. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-DxDOcIsh.cjs} +1 -1
  125. package/accordion/Accordion.d.ts +8 -2
  126. package/accordion/AccordionContext.d.ts +4 -0
  127. package/accordion/AccordionItem.d.ts +6 -4
  128. package/accordion/index.cjs +1 -1
  129. package/accordion/index.js +1 -1
  130. package/assets/AccordionItem.css +1 -1
  131. package/assets/BadgeContainer.css +1 -1
  132. package/assets/Button.css +1 -1
  133. package/assets/DateRangePicker.css +1 -1
  134. package/assets/Dialog.css +1 -1
  135. package/assets/LinkButton.css +1 -1
  136. package/assets/Table.css +1 -1
  137. package/assets/theme.css +1 -0
  138. package/badge/index.cjs +1 -1
  139. package/badge/index.js +1 -1
  140. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  141. package/breadcrumbs/index.cjs +1 -1
  142. package/breadcrumbs/index.js +1 -1
  143. package/button/index.cjs +1 -1
  144. package/button/index.js +1 -1
  145. package/calendar/index.cjs +1 -1
  146. package/calendar/index.js +1 -1
  147. package/card/index.cjs +1 -1
  148. package/card/index.js +1 -1
  149. package/character-counter/index.cjs +1 -1
  150. package/character-counter/index.js +1 -1
  151. package/checkbox/index.cjs +1 -1
  152. package/checkbox/index.js +2 -2
  153. package/color-scheme-switch/index.cjs +1 -1
  154. package/color-scheme-switch/index.js +1 -1
  155. package/combobox/ComboBox.d.ts +0 -4
  156. package/combobox/index.cjs +1 -1
  157. package/combobox/index.d.ts +1 -2
  158. package/combobox/index.js +2 -3
  159. package/combobox/types.d.ts +0 -13
  160. package/common/icon-map.d.ts +6 -0
  161. package/common/types.d.ts +8 -0
  162. package/{context-CGNJ3grH.js → context-Dl_saGB6.js} +11 -11
  163. package/{context-Df3XbgBG.cjs → context-UOrD6Zxk.cjs} +1 -1
  164. package/date-field/index.cjs +1 -1
  165. package/date-field/index.js +2 -2
  166. package/date-picker/index.cjs +1 -1
  167. package/date-picker/index.js +1 -1
  168. package/dropdown/Dropdown.d.ts +7 -1
  169. package/dropdown/index.cjs +1 -1
  170. package/dropdown/index.js +1 -1
  171. package/field-error/index.cjs +1 -1
  172. package/field-error/index.js +1 -1
  173. package/file-upload/index.cjs +1 -1
  174. package/file-upload/index.js +1 -1
  175. package/grid/Grid.d.ts +0 -8
  176. package/grid/GridItem.d.ts +0 -8
  177. package/grid/index.cjs +1 -1
  178. package/grid/index.d.ts +2 -2
  179. package/grid/index.js +4 -6
  180. package/heading/index.cjs +1 -1
  181. package/heading/index.js +1 -1
  182. package/icon-map-9XcghDra.cjs +11 -0
  183. package/icon-map-uS87FT_Q.js +43 -0
  184. package/{index-CGRFP4CC.js → index-BSMrH_Du.js} +7 -7
  185. package/{index-Dsz3aiWt.cjs → index-D97L3EBk.cjs} +2 -2
  186. package/index.cjs +1 -1
  187. package/index.js +108 -111
  188. package/inertValue-BWmZ1afe.cjs +1 -0
  189. package/info-banner/InfoBanner.d.ts +18 -10
  190. package/info-banner/index.cjs +1 -1
  191. package/info-banner/index.js +1 -1
  192. package/label/index.cjs +1 -1
  193. package/label/index.js +1 -1
  194. package/layout/index.cjs +1 -1
  195. package/layout/index.js +1 -1
  196. package/link/index.cjs +1 -1
  197. package/link/index.js +2 -2
  198. package/link-button/index.cjs +1 -1
  199. package/link-button/index.js +2 -2
  200. package/list-box/index.cjs +1 -1
  201. package/list-box/index.js +2 -2
  202. package/logo/index.cjs +1 -1
  203. package/logo/index.js +1 -1
  204. package/{mergeProps-C1U1OIeJ.js → mergeProps-BYJQ6N1s.js} +11 -11
  205. package/{mergeProps-B5KXZAI3.cjs → mergeProps-C7Sx47fA.cjs} +1 -1
  206. package/modal/index.cjs +1 -1
  207. package/modal/index.js +2 -2
  208. package/package.json +4 -1
  209. package/popover/index.cjs +1 -1
  210. package/popover/index.js +1 -1
  211. package/progress-bar/index.cjs +1 -1
  212. package/progress-bar/index.js +1 -1
  213. package/radio/index.cjs +1 -1
  214. package/radio/index.js +1 -1
  215. package/search-field/index.cjs +1 -1
  216. package/search-field/index.js +1 -1
  217. package/select/index.cjs +1 -1
  218. package/select/index.d.ts +1 -1
  219. package/select/index.js +1 -1
  220. package/select/types.d.ts +1 -13
  221. package/spinner/index.cjs +1 -1
  222. package/spinner/index.js +1 -1
  223. package/table/Table.d.ts +7 -12
  224. package/table/index.cjs +1 -1
  225. package/table/index.js +1 -1
  226. package/tabs/Tabs.d.ts +0 -12
  227. package/tabs/index.cjs +1 -1
  228. package/tabs/index.js +1 -1
  229. package/tag/Tag.d.ts +2 -1
  230. package/tag/index.cjs +1 -1
  231. package/tag/index.js +1 -1
  232. package/text/index.cjs +1 -1
  233. package/text/index.js +1 -1
  234. package/textfield/index.cjs +1 -1
  235. package/textfield/index.js +1 -1
  236. package/theme/index.cjs +1 -1
  237. package/theme/index.d.ts +36 -12
  238. package/theme/index.js +12 -11
  239. package/theme/tokens.d.ts +36 -18
  240. package/toast/Toast.d.ts +2 -1
  241. package/toast/index.cjs +1 -1
  242. package/toast/index.js +1 -1
  243. package/toggle-button/index.cjs +1 -1
  244. package/toggle-button/index.js +1 -1
  245. package/tokens-BWo7EvNX.cjs +1 -0
  246. package/{tokens-CqvelUoA.js → tokens-BtEBd3jO.js} +69 -31
  247. package/tooltip/index.cjs +1 -1
  248. package/tooltip/index.js +1 -1
  249. package/{useButton-BoIV3kDJ.js → useButton-CWHoXYnj.js} +3 -3
  250. package/{useButton-D60q0SQw.cjs → useButton-CwOQUGtY.cjs} +1 -1
  251. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-DiIUdTak.js} +2 -2
  252. package/{useDateFormatter-BJBt0jk_.cjs → useDateFormatter-bzjwqA2K.cjs} +1 -1
  253. package/{useDescription-CPo72trh.cjs → useDescription-ByNlNIRU.cjs} +1 -1
  254. package/{useDescription-DYfKjGGU.js → useDescription-LmB1V4Tg.js} +1 -1
  255. package/useEvent-CGRyLM2c.cjs +1 -0
  256. package/{useEvent-CigwyJOw.js → useEvent-DqWz89vg.js} +1 -1
  257. package/{useField-CefQB81E.js → useField-5CEdtfab.js} +2 -2
  258. package/{useField-D1UkzeaI.cjs → useField-CoQAzygg.cjs} +1 -1
  259. package/{useFilter-DsOxD9JB.js → useFilter-BKQT28sh.js} +1 -1
  260. package/{useFilter-BhM2yVO3.cjs → useFilter-Bjh5dq2Q.cjs} +1 -1
  261. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BM-zcH6L.cjs} +1 -1
  262. package/{useFocusRing-DOfBqnUN.js → useFocusRing-HoJn20X5.js} +2 -2
  263. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-Cn18Myw6.js} +1 -1
  264. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-o0WjCpEB.cjs} +1 -1
  265. package/{useFocusable-D7I1ujkW.cjs → useFocusable-DbmryjUH.cjs} +1 -1
  266. package/{useFocusable-BjE42axF.js → useFocusable-ZjCKo1ed.js} +14 -14
  267. package/{useFormValidation-BzzruZKm.js → useFormValidation-BW2NSTM4.js} +2 -2
  268. package/{useFormValidation-BlFGdPZB.cjs → useFormValidation-DSRwb9US.cjs} +1 -1
  269. package/useHasTabbableChild-CogBR_6o.cjs +1 -0
  270. package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-CyOmqumh.js} +2 -2
  271. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-DAhPdEG6.cjs} +1 -1
  272. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-DTxHtOsw.js} +5 -5
  273. package/{useHover-BE_XKZKe.cjs → useHover-CaFzQrR_.cjs} +1 -1
  274. package/{useHover-DQvJ3Y-W.js → useHover-D8fja4GW.js} +6 -6
  275. package/{useLabels-CSU0kbtJ.cjs → useLabels-BtDN_ALM.cjs} +1 -1
  276. package/{useLabels-LrKQiY11.js → useLabels-DZlvh4P4.js} +1 -1
  277. package/{useListState-wLau6fXo.cjs → useListState-TtWy_rDI.cjs} +1 -1
  278. package/{useListState-B3c3xcNW.js → useListState-e7cL-FOK.js} +1 -1
  279. package/{useLocalizedStringFormatter-BO2iZEL0.cjs → useLocalizedStringFormatter-BSac43NO.cjs} +1 -1
  280. package/useLocalizedStringFormatter-CHAo1AyN.cjs +1 -0
  281. package/{useLocalizedStringFormatter-CL9MUZ8A.js → useLocalizedStringFormatter-CSEh15AZ.js} +1 -1
  282. package/{useLocalizedStringFormatter-N0AyjzbM.js → useLocalizedStringFormatter-aOhh7wdl.js} +1 -1
  283. package/useObserveElement-BzEr5D32.cjs +1 -0
  284. package/{usePress-BooY_CAy.cjs → usePress-BOGIOlm8.cjs} +2 -2
  285. package/{usePress-BW47IcyU.js → usePress-B_jgTf4k.js} +105 -105
  286. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-BiJMNaOl.cjs} +1 -1
  287. package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-D7LjjoUJ.js} +1 -1
  288. package/{useTextField-DnRrCg5o.cjs → useTextField-BVIOd8Ld.cjs} +1 -1
  289. package/{useTextField-DjxayZsV.js → useTextField-DFkSHoQN.js} +11 -11
  290. package/{useUpdateEffect-C5YQs_1w.cjs → useUpdateEffect-sk3kiVGz.cjs} +1 -1
  291. package/{utils-DHNZrQmj.cjs → utils-BM2vxlNA.cjs} +1 -1
  292. package/{utils-Dvdohqm9.cjs → utils-C5-CzvX2.cjs} +1 -1
  293. package/{utils-CoCR_Fce.js → utils-CuqJqFqQ.js} +1 -1
  294. package/{utils-KLjWgdLR.js → utils-KYuflGZt.js} +10 -10
  295. package/AccordionItem-BPOQqTkQ.js +0 -323
  296. package/AccordionItem-CS-QKqrU.cjs +0 -1
  297. package/BadgeContainer-CKBIZWsc.js +0 -37
  298. package/BadgeContainer-DWVHS5dn.cjs +0 -1
  299. package/Card-cdL5669N.cjs +0 -1
  300. package/Dialog-CxHiZorC.cjs +0 -1
  301. package/Dialog-DuGcBeNN.js +0 -212
  302. package/Dropdown-CYakzdJg.cjs +0 -6
  303. package/FieldError-CDCvUjK5.js +0 -46
  304. package/Grid-DVQtOcu9.cjs +0 -1
  305. package/Heading-CKTR4sOz.cjs +0 -1
  306. package/InfoBanner-CzwbOdRG.cjs +0 -1
  307. package/InfoBanner-D05poAe3.js +0 -91
  308. package/Label-ChjDdBlv.cjs +0 -1
  309. package/PressResponder-4jE_HLu3.cjs +0 -1
  310. package/TabList-CWMlbijV.cjs +0 -1
  311. package/TabList-VpTv_Xff.js +0 -435
  312. package/Table-DGYC-sDq.cjs +0 -16
  313. package/TextArea-DJKHFKuI.cjs +0 -1
  314. package/Toast-DdmSvNaO.cjs +0 -1
  315. package/circle-check-BErh6TKu.js +0 -26
  316. package/circle-check-OVUGxwp9.cjs +0 -11
  317. package/inertValue-B3AFhVG4.cjs +0 -1
  318. package/tokens-5PzK5zK7.cjs +0 -1
  319. package/triangle-alert-B_qAPmWC.js +0 -21
  320. package/triangle-alert-BviJNFjf.cjs +0 -6
  321. package/useEvent-DPxMu-X9.cjs +0 -1
  322. package/useHasTabbableChild-CoQRpNbC.cjs +0 -1
  323. package/useLocalizedStringFormatter-BiX5BTlb.cjs +0 -1
  324. package/useObserveElement-MhzEsCkX.cjs +0 -1
@@ -0,0 +1,220 @@
1
+ import { jsx as $, jsxs as h } from "react/jsx-runtime";
2
+ import { e as z, f as H, g as I, h as j, i as x, j as A, k as U, l as K } from "./Dialog-BuJdAr0D.js";
3
+ import { $ as V, b as O, h as F, a as w, f as W } from "./utils-KYuflGZt.js";
4
+ import { a as g } from "./mergeProps-BYJQ6N1s.js";
5
+ import { $ as R } from "./filterDOMProps-D6KHYVBX.js";
6
+ import c, { useState as k, useEffect as _, forwardRef as C, useContext as u, createContext as P, useRef as X, useMemo as q } from "react";
7
+ import { $ as S } from "./SSRProvider-D8lZ0o6A.js";
8
+ import { a as G, b as E, c as D } from "./OverlayArrow-DfkRZlgG.js";
9
+ import { B as J } from "./Button-akT6Hvug.js";
10
+ import { H as Q } from "./Heading-DDhdwRAW.js";
11
+ import { u as Y } from "./useLocalizedStringFormatter-aOhh7wdl.js";
12
+ import { X as Z } from "./x-C2xUHAEl.js";
13
+ import './assets/Dialog.css';let l = typeof document < "u" && window.visualViewport;
14
+ function ee() {
15
+ let a = S(), [e, t] = k(() => a ? {
16
+ width: 0,
17
+ height: 0
18
+ } : p());
19
+ return _(() => {
20
+ let i = () => {
21
+ t((n) => {
22
+ let d = p();
23
+ return d.width === n.width && d.height === n.height ? n : d;
24
+ });
25
+ };
26
+ return l ? l.addEventListener("resize", i) : window.addEventListener("resize", i), () => {
27
+ l ? l.removeEventListener("resize", i) : window.removeEventListener("resize", i);
28
+ };
29
+ }, []), e;
30
+ }
31
+ function p() {
32
+ return {
33
+ width: l && (l == null ? void 0 : l.width) || window.innerWidth,
34
+ height: l && (l == null ? void 0 : l.height) || window.innerHeight
35
+ };
36
+ }
37
+ function te(a, e, t) {
38
+ let { overlayProps: i, underlayProps: n } = z({
39
+ ...a,
40
+ isOpen: e.isOpen,
41
+ onClose: e.close
42
+ }, t);
43
+ return H({
44
+ isDisabled: !e.isOpen
45
+ }), I(), _(() => {
46
+ if (e.isOpen && t.current) return j([
47
+ t.current
48
+ ]);
49
+ }, [
50
+ e.isOpen,
51
+ t
52
+ ]), {
53
+ modalProps: g(i),
54
+ underlayProps: n
55
+ };
56
+ }
57
+ const ae = /* @__PURE__ */ P(null), v = /* @__PURE__ */ P(null), ie = /* @__PURE__ */ C(function(e, t) {
58
+ if (u(v)) return /* @__PURE__ */ c.createElement(y, {
59
+ ...e,
60
+ modalRef: t
61
+ }, e.children);
62
+ let { isDismissable: n, isKeyboardDismissDisabled: d, isOpen: r, defaultOpen: s, onOpenChange: f, children: o, isEntering: b, isExiting: N, UNSTABLE_portalContainer: B, shouldCloseOnInteractOutside: L, ...T } = e;
63
+ return /* @__PURE__ */ c.createElement(M, {
64
+ isDismissable: n,
65
+ isKeyboardDismissDisabled: d,
66
+ isOpen: r,
67
+ defaultOpen: s,
68
+ onOpenChange: f,
69
+ isEntering: b,
70
+ isExiting: N,
71
+ UNSTABLE_portalContainer: B,
72
+ shouldCloseOnInteractOutside: L
73
+ }, /* @__PURE__ */ c.createElement(y, {
74
+ ...T,
75
+ modalRef: t
76
+ }, o));
77
+ });
78
+ function ne(a, e) {
79
+ [a, e] = V(a, e, ae);
80
+ let t = u(x), i = G(a), n = a.isOpen != null || a.defaultOpen != null || !t ? i : t, d = O(e), r = X(null), s = E(d, n.isOpen), f = E(r, n.isOpen), o = s || f || a.isExiting || !1, b = S();
81
+ return !n.isOpen && !o || b ? null : /* @__PURE__ */ c.createElement(de, {
82
+ ...a,
83
+ state: n,
84
+ isExiting: o,
85
+ overlayRef: d,
86
+ modalRef: r
87
+ });
88
+ }
89
+ const M = /* @__PURE__ */ C(ne);
90
+ function de({ UNSTABLE_portalContainer: a, ...e }) {
91
+ let t = e.modalRef, { state: i } = e, { modalProps: n, underlayProps: d } = te(e, i, t), r = D(e.overlayRef) || e.isEntering || !1, s = w({
92
+ ...e,
93
+ defaultClassName: "react-aria-ModalOverlay",
94
+ values: {
95
+ isEntering: r,
96
+ isExiting: e.isExiting,
97
+ state: i
98
+ }
99
+ }), f = ee(), o = {
100
+ ...s.style,
101
+ "--visual-viewport-height": f.height + "px"
102
+ };
103
+ return /* @__PURE__ */ c.createElement(U, {
104
+ isExiting: e.isExiting,
105
+ portalContainer: a
106
+ }, /* @__PURE__ */ c.createElement("div", {
107
+ ...g(R(e), d),
108
+ ...s,
109
+ style: o,
110
+ ref: e.overlayRef,
111
+ "data-entering": r || void 0,
112
+ "data-exiting": e.isExiting || void 0
113
+ }, /* @__PURE__ */ c.createElement(W, {
114
+ values: [
115
+ [
116
+ v,
117
+ {
118
+ modalProps: n,
119
+ modalRef: t,
120
+ isExiting: e.isExiting,
121
+ isDismissable: e.isDismissable
122
+ }
123
+ ],
124
+ [
125
+ x,
126
+ i
127
+ ]
128
+ ]
129
+ }, s.children)));
130
+ }
131
+ function y(a) {
132
+ let { modalProps: e, modalRef: t, isExiting: i, isDismissable: n } = u(v), d = u(x), r = q(() => F(a.modalRef, t), [
133
+ a.modalRef,
134
+ t
135
+ ]), s = O(r), f = D(s), o = w({
136
+ ...a,
137
+ defaultClassName: "react-aria-Modal",
138
+ values: {
139
+ isEntering: f,
140
+ isExiting: i,
141
+ state: d
142
+ }
143
+ });
144
+ return /* @__PURE__ */ c.createElement("div", {
145
+ ...g(R(a), e),
146
+ ...o,
147
+ ref: s,
148
+ "data-entering": f || void 0,
149
+ "data-exiting": i || void 0
150
+ }, n && /* @__PURE__ */ c.createElement(A, {
151
+ onDismiss: d.close
152
+ }), o.children);
153
+ }
154
+ const le = "_modal_x9enn_4", se = "_overlay_x9enn_26", re = "_modalHeader_x9enn_47", oe = "_modalTitle_x9enn_57", ce = "_modalBody_x9enn_63", m = {
155
+ modal: le,
156
+ overlay: se,
157
+ modalHeader: re,
158
+ modalTitle: oe,
159
+ modalBody: ce
160
+ }, fe = {
161
+ close: "Close"
162
+ }, $e = {
163
+ close: "Stäng"
164
+ }, me = {
165
+ en: fe,
166
+ sv: $e
167
+ }, _e = ({
168
+ children: a,
169
+ title: e,
170
+ ...t
171
+ }) => {
172
+ const i = Y(me);
173
+ return /* @__PURE__ */ $(
174
+ M,
175
+ {
176
+ ...t,
177
+ className: m.overlay,
178
+ children: /* @__PURE__ */ $(
179
+ ie,
180
+ {
181
+ ...t,
182
+ className: m.modal,
183
+ children: /* @__PURE__ */ h(K, { ...t, children: [
184
+ /* @__PURE__ */ h("div", { className: m.modalHeader, children: [
185
+ /* @__PURE__ */ $("div", { className: m.modalTitle, children: e && /* @__PURE__ */ $(
186
+ Q,
187
+ {
188
+ level: 3,
189
+ elementType: "h2",
190
+ children: e
191
+ }
192
+ ) }),
193
+ /* @__PURE__ */ $(
194
+ J,
195
+ {
196
+ slot: "close",
197
+ variant: "tertiary",
198
+ icon: Z,
199
+ iconPlacement: "right",
200
+ children: i.format("close")
201
+ }
202
+ )
203
+ ] }),
204
+ /* @__PURE__ */ $(
205
+ "div",
206
+ {
207
+ className: m.modalBody,
208
+ tabIndex: -1,
209
+ children: a
210
+ }
211
+ )
212
+ ] })
213
+ }
214
+ )
215
+ }
216
+ );
217
+ };
218
+ export {
219
+ _e as M
220
+ };
@@ -1,10 +1,10 @@
1
1
  import { $ } from "./getScrollParent-Ru2U2LlM.js";
2
- import { d, $ as b } from "./mergeProps-C1U1OIeJ.js";
3
- import a, { useRef as v, createContext as f, useCallback as s, forwardRef as g, useContext as x, useMemo as m } from "react";
2
+ import { d, $ as b } from "./mergeProps-BYJQ6N1s.js";
3
+ import o, { useRef as v, createContext as f, useCallback as s, forwardRef as g, useMemo as x, useContext as m } from "react";
4
4
  function w(r, e) {
5
5
  let { collection: i, onLoadMore: n, scrollOffset: l = 1 } = r, c = v(null), t = d((u) => {
6
- for (let o of u)
7
- o.isIntersecting && n && n();
6
+ for (let a of u)
7
+ a.isIntersecting && n && n();
8
8
  });
9
9
  b(() => (e.current && (c.current = new IntersectionObserver(t, {
10
10
  root: $(e == null ? void 0 : e.current),
@@ -19,13 +19,13 @@ function w(r, e) {
19
19
  ]);
20
20
  }
21
21
  const C = /* @__PURE__ */ f({}), I = /* @__PURE__ */ f(null), y = /* @__PURE__ */ g(function(e, i) {
22
- let { render: n } = x(I);
23
- return /* @__PURE__ */ a.createElement(a.Fragment, null, n(e, i));
22
+ let { render: n } = m(I);
23
+ return /* @__PURE__ */ o.createElement(o.Fragment, null, n(e, i));
24
24
  });
25
25
  function L(r, e) {
26
26
  var i;
27
27
  let n = r == null ? void 0 : r.renderDropIndicator, l = r == null || (i = r.isVirtualDragging) === null || i === void 0 ? void 0 : i.call(r), c = s((t) => {
28
- if (l || e != null && e.isDropTarget(t)) return n ? n(t) : /* @__PURE__ */ a.createElement(y, {
28
+ if (l || e != null && e.isDropTarget(t)) return n ? n(t) : /* @__PURE__ */ o.createElement(y, {
29
29
  target: t
30
30
  });
31
31
  }, [
@@ -43,10 +43,10 @@ function R(r, e, i) {
43
43
  var u;
44
44
  i.target.dropPosition === "after" && (t = (u = i.collection.getKeyAfter(t)) !== null && u !== void 0 ? u : t);
45
45
  }
46
- return m(() => new Set([
46
+ return x(() => new Set([
47
47
  c,
48
48
  t
49
- ].filter((o) => o != null)), [
49
+ ].filter((a) => a != null)), [
50
50
  c,
51
51
  t
52
52
  ]);
@@ -1 +1 @@
1
- "use strict";const f=require("./getScrollParent-DuKmPmUa.cjs"),$=require("./mergeProps-B5KXZAI3.cjs"),l=require("react");function d(r,e){let{collection:t,onLoadMore:i,scrollOffset:c=1}=r,u=l.useRef(null),n=$.$8ae05eaa5c114e9c$export$7f54fc3180508a52(o=>{for(let b of o)b.isIntersecting&&i&&i()});$.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(u.current=new IntersectionObserver(n,{root:f.$62d8ded9296f3872$export$cfa2225e87938781(e==null?void 0:e.current),rootMargin:`0px ${100*c}% ${100*c}% ${100*c}%`}),u.current.observe(e.current)),()=>{u.current&&u.current.disconnect()}),[t,n,e,c])}const v=l.createContext({}),a=l.createContext(null),s=l.forwardRef(function(e,t){let{render:i}=l.useContext(a);return l.createElement(l.Fragment,null,i(e,t))});function x(r,e){var t;let i=r==null?void 0:r.renderDropIndicator,c=r==null||(t=r.isVirtualDragging)===null||t===void 0?void 0:t.call(r),u=l.useCallback(n=>{if(c||e!=null&&e.isDropTarget(n))return i?i(n):l.createElement(s,{target:n})},[e==null?void 0:e.target,c,i]);return r!=null&&r.useDropIndicator?u:void 0}function g(r,e,t){var i,c;let u=r.focusedKey,n=null;if(!(e==null||(i=e.isVirtualDragging)===null||i===void 0)&&i.call(e)&&(t==null||(c=t.target)===null||c===void 0?void 0:c.type)==="item"){n=t.target.key;var o;t.target.dropPosition==="after"&&(n=(o=t.collection.getKeyAfter(n))!==null&&o!==void 0?o:n)}return l.useMemo(()=>new Set([u,n].filter(b=>b!=null)),[u,n])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=x;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=v;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=g;exports.$612b8eb6cb90e02d$export$f55761759794cf55=a;exports.$a5fa973c1850dd36$export$90a12e6abf95cbe0=d;
1
+ "use strict";const f=require("./getScrollParent-DuKmPmUa.cjs"),b=require("./mergeProps-C7Sx47fA.cjs"),l=require("react");function d(r,e){let{collection:t,onLoadMore:i,scrollOffset:c=1}=r,u=l.useRef(null),n=b.$8ae05eaa5c114e9c$export$7f54fc3180508a52(o=>{for(let $ of o)$.isIntersecting&&i&&i()});b.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>(e.current&&(u.current=new IntersectionObserver(n,{root:f.$62d8ded9296f3872$export$cfa2225e87938781(e==null?void 0:e.current),rootMargin:`0px ${100*c}% ${100*c}% ${100*c}%`}),u.current.observe(e.current)),()=>{u.current&&u.current.disconnect()}),[t,n,e,c])}const v=l.createContext({}),a=l.createContext(null),s=l.forwardRef(function(e,t){let{render:i}=l.useContext(a);return l.createElement(l.Fragment,null,i(e,t))});function x(r,e){var t;let i=r==null?void 0:r.renderDropIndicator,c=r==null||(t=r.isVirtualDragging)===null||t===void 0?void 0:t.call(r),u=l.useCallback(n=>{if(c||e!=null&&e.isDropTarget(n))return i?i(n):l.createElement(s,{target:n})},[e==null?void 0:e.target,c,i]);return r!=null&&r.useDropIndicator?u:void 0}function g(r,e,t){var i,c;let u=r.focusedKey,n=null;if(!(e==null||(i=e.isVirtualDragging)===null||i===void 0)&&i.call(e)&&(t==null||(c=t.target)===null||c===void 0?void 0:c.type)==="item"){n=t.target.key;var o;t.target.dropPosition==="after"&&(n=(o=t.collection.getKeyAfter(n))!==null&&o!==void 0?o:n)}return l.useMemo(()=>new Set([u,n].filter($=>$!=null)),[u,n])}exports.$612b8eb6cb90e02d$export$971707d8a129a1f7=x;exports.$612b8eb6cb90e02d$export$d188a835a7bc5783=v;exports.$612b8eb6cb90e02d$export$d1e8e3fbb7461f6=g;exports.$612b8eb6cb90e02d$export$f55761759794cf55=a;exports.$a5fa973c1850dd36$export$90a12e6abf95cbe0=d;
@@ -1,38 +1,39 @@
1
- import { jsxs as o, jsx as c, Fragment as i } from "react/jsx-runtime";
2
- import { b as l, a as s, c as d, d as m } from "./Dialog-D5c_dUnB.js";
3
- import { B as u } from "./Button-BjMaGya2.js";
4
- import { c as b } from "./clsx-OuTLNxxd.js";
5
- import { c as f } from "./createLucideIcon-XRdN60yz.js";
1
+ import { jsxs as i, jsx as c, Fragment as l } from "react/jsx-runtime";
2
+ import { b as s, a as d, c as m, d as u } from "./Dialog-BuJdAr0D.js";
3
+ import { B as b } from "./Button-akT6Hvug.js";
4
+ import { c as f } from "./clsx-OuTLNxxd.js";
5
+ import { c as x } from "./createLucideIcon-XRdN60yz.js";
6
6
  import './assets/Dropdown.css';/**
7
7
  * @license lucide-react v0.525.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
11
  */
12
- const x = [
12
+ const h = [
13
13
  ["circle", { cx: "12", cy: "12", r: "1", key: "41hilf" }],
14
14
  ["circle", { cx: "12", cy: "5", r: "1", key: "gxeob9" }],
15
15
  ["circle", { cx: "12", cy: "19", r: "1", key: "lyex9k" }]
16
- ], h = f("ellipsis-vertical", x), $ = "_dropDownMenu_1rzf1_4", y = "_menuItem_1rzf1_15", a = {
17
- dropDownMenu: $,
18
- menuItem: y
16
+ ], $ = x("ellipsis-vertical", h), y = "_dropDownMenu_1rzf1_4", _ = "_menuItem_1rzf1_15", a = {
17
+ dropDownMenu: y,
18
+ menuItem: _
19
19
  };
20
- function I({
20
+ function N({
21
21
  label: e,
22
- title: t,
23
- children: r,
24
- ...n
22
+ title: r,
23
+ children: n,
24
+ icon: o = $,
25
+ ...t
25
26
  }) {
26
- return /* @__PURE__ */ o(l, { ...n, children: [
27
- /* @__PURE__ */ o(
28
- u,
27
+ return /* @__PURE__ */ i(s, { ...t, children: [
28
+ /* @__PURE__ */ i(
29
+ b,
29
30
  {
30
- "aria-label": e || n["aria-label"],
31
+ "aria-label": e || t["aria-label"],
31
32
  variant: "icon",
32
33
  children: [
33
- t,
34
+ r,
34
35
  /* @__PURE__ */ c(
35
- h,
36
+ o,
36
37
  {
37
38
  size: 20,
38
39
  "aria-hidden": !0
@@ -41,32 +42,32 @@ function I({
41
42
  ]
42
43
  }
43
44
  ),
44
- /* @__PURE__ */ c(s, { children: /* @__PURE__ */ c(
45
- d,
45
+ /* @__PURE__ */ c(d, { children: /* @__PURE__ */ c(
46
+ m,
46
47
  {
47
- ...n,
48
+ ...t,
48
49
  className: a.dropDownMenu,
49
- children: r
50
+ children: n
50
51
  }
51
52
  ) })
52
53
  ] });
53
54
  }
54
- function N(e) {
55
- const t = e.textValue || (typeof e.children == "string" ? e.children : void 0);
55
+ function g(e) {
56
+ const r = e.textValue || (typeof e.children == "string" ? e.children : void 0);
56
57
  return /* @__PURE__ */ c(
57
- m,
58
+ u,
58
59
  {
59
60
  ...e,
60
- textValue: t,
61
- className: ({ isFocused: r, isOpen: n }) => b(
61
+ textValue: r,
62
+ className: ({ isFocused: n, isOpen: o }) => f(
62
63
  a.menuItem,
63
64
  e.className,
64
- r && "focused",
65
- n && "open"
65
+ n && "focused",
66
+ o && "open"
66
67
  ),
67
- children: ({ hasSubmenu: r }) => /* @__PURE__ */ o(i, { children: [
68
+ children: ({ hasSubmenu: n }) => /* @__PURE__ */ i(l, { children: [
68
69
  e.children,
69
- r && /* @__PURE__ */ c(
70
+ n && /* @__PURE__ */ c(
70
71
  "svg",
71
72
  {
72
73
  className: "chevron",
@@ -79,6 +80,6 @@ function N(e) {
79
80
  );
80
81
  }
81
82
  export {
82
- I as D,
83
- N as a
83
+ N as D,
84
+ g as a
84
85
  };
@@ -0,0 +1,6 @@
1
+ "use strict";require('./assets/Dropdown.css');const e=require("react/jsx-runtime"),r=require("./Dialog-BT0tVGQb.cjs"),l=require("./Button-DQm2iqKU.cjs"),d=require("./clsx-C11secjj.cjs"),a=require("./createLucideIcon-CTVXwe6i.cjs");/**
2
+ * @license lucide-react v0.525.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 u=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],x=a.createLucideIcon("ellipsis-vertical",u),m="_dropDownMenu_1rzf1_4",b="_menuItem_1rzf1_15",s={dropDownMenu:m,menuItem:b};function h({label:c,title:t,children:n,icon:i=x,...o}){return e.jsxs(r.$3674c52c6b3c5bce$export$27d2ad3c5815583e,{...o,children:[e.jsxs(l.Button,{"aria-label":c||o["aria-label"],variant:"icon",children:[t,e.jsx(i,{size:20,"aria-hidden":!0})]}),e.jsx(r.$07b14b47974efb58$export$5b6b19405a83ff9d,{children:e.jsx(r.$3674c52c6b3c5bce$export$d9b273488cd8ce6f,{...o,className:s.dropDownMenu,children:n})})]})}function $(c){const t=c.textValue||(typeof c.children=="string"?c.children:void 0);return e.jsx(r.$3674c52c6b3c5bce$export$2ce376c2cc3355c8,{...c,textValue:t,className:({isFocused:n,isOpen:i})=>d.clsx(s.menuItem,c.className,n&&"focused",i&&"open"),children:({hasSubmenu:n})=>e.jsxs(e.Fragment,{children:[c.children,n&&e.jsx("svg",{className:"chevron",viewBox:"0 0 24 24",children:e.jsx("path",{d:"m9 18 6-6-6-6"})})]})})}exports.Dropdown=h;exports.DropdownItem=$;
@@ -0,0 +1,46 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import * as d from "react";
3
+ import f, { createContext as $, forwardRef as s, useContext as c } from "react";
4
+ import { a as m } from "./utils-KYuflGZt.js";
5
+ import { a as u } from "./Text--KL3Auo7.js";
6
+ import { $ as E } from "./filterDOMProps-D6KHYVBX.js";
7
+ import { c as p } from "./clsx-OuTLNxxd.js";
8
+ import { T as v } from "./Text-BUDAzDjW.js";
9
+ import './assets/FieldError.css';const l = /* @__PURE__ */ $(null), x = /* @__PURE__ */ s(function(o, r) {
10
+ let t = c(l);
11
+ return t != null && t.isInvalid ? /* @__PURE__ */ f.createElement(b, {
12
+ ...o,
13
+ ref: r
14
+ }) : null;
15
+ }), b = /* @__PURE__ */ s((e, o) => {
16
+ let r = c(l), t = E(e), a = m({
17
+ ...e,
18
+ defaultClassName: "react-aria-FieldError",
19
+ defaultChildren: r.validationErrors.length === 0 ? void 0 : r.validationErrors.join(" "),
20
+ values: r
21
+ });
22
+ return a.children == null ? null : /* @__PURE__ */ f.createElement(u, {
23
+ slot: "errorMessage",
24
+ ...t,
25
+ ...a,
26
+ ref: o
27
+ });
28
+ }), C = "_fieldError_17ine_4", F = {
29
+ fieldError: C
30
+ }, w = d.forwardRef(
31
+ (e, o) => {
32
+ const { children: r, isInvalid: t } = e, a = p(F.fieldError, e.className), n = d.useContext(l);
33
+ return !n && t && typeof r != "function" ? /* @__PURE__ */ i(v, { className: a, children: r }) : n != null && n.isInvalid ? /* @__PURE__ */ i(
34
+ x,
35
+ {
36
+ ...e,
37
+ ref: o,
38
+ className: a
39
+ }
40
+ ) : null;
41
+ }
42
+ );
43
+ export {
44
+ l as $,
45
+ w as F
46
+ };
@@ -1 +1 @@
1
- "use strict";require('./assets/FieldError.css');const s=require("react/jsx-runtime"),o=require("react"),d=require("./utils-DHNZrQmj.cjs"),f=require("./Text-CfcjRtke.cjs"),u=require("./filterDOMProps-BS2lrgFA.cjs"),$=require("./clsx-C11secjj.cjs"),x=require("./Text-DBHWi5gA.cjs");function b(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=b(o),i=o.createContext(null),E=o.forwardRef(function(n,r){let t=o.useContext(i);return t!=null&&t.isInvalid?o.createElement(v,{...n,ref:r}):null}),v=o.forwardRef((e,n)=>{let r=o.useContext(i),t=u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),c=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return c.children==null?null:o.createElement(f.$514c0188e459b4c0$export$5f1af8db9871e1d6,{slot:"errorMessage",...t,...c,ref:n})}),m="_fieldError_17ine_4",p={fieldError:m},j=a.forwardRef((e,n)=>{const{children:r,isInvalid:t}=e,c=$.clsx(p.fieldError,e.className),l=a.useContext(i);return!l&&t&&typeof r!="function"?s.jsx(x.Text,{className:c,children:r}):l!=null&&l.isInvalid?s.jsx(E,{...e,ref:n,className:c}):null});exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=i;exports.FieldError=j;
1
+ "use strict";require('./assets/FieldError.css');const a=require("react/jsx-runtime"),o=require("react"),d=require("./utils-BM2vxlNA.cjs"),f=require("./Text-wuw0HQoa.cjs"),u=require("./filterDOMProps-BS2lrgFA.cjs"),$=require("./clsx-C11secjj.cjs"),x=require("./Text-DA_gK6a2.cjs");function b(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const s=b(o),i=o.createContext(null),E=o.forwardRef(function(n,r){let t=o.useContext(i);return t!=null&&t.isInvalid?o.createElement(v,{...n,ref:r}):null}),v=o.forwardRef((e,n)=>{let r=o.useContext(i),t=u.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(e),c=d.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,defaultClassName:"react-aria-FieldError",defaultChildren:r.validationErrors.length===0?void 0:r.validationErrors.join(" "),values:r});return c.children==null?null:o.createElement(f.$514c0188e459b4c0$export$5f1af8db9871e1d6,{slot:"errorMessage",...t,...c,ref:n})}),m="_fieldError_17ine_4",p={fieldError:m},j=s.forwardRef((e,n)=>{const{children:r,isInvalid:t}=e,c=$.clsx(p.fieldError,e.className),l=s.useContext(i);return!l&&t&&typeof r!="function"?a.jsx(x.Text,{className:c,children:r}):l!=null&&l.isInvalid?a.jsx(E,{...e,ref:n,className:c}):null});exports.$ee014567cb39d3f0$export$ff05c3ac10437e03=i;exports.FieldError=j;
@@ -1,19 +1,19 @@
1
1
  import { jsx as X } from "react/jsx-runtime";
2
- import { $ as Ae, b as W, a as fe, f as he } from "./utils-KLjWgdLR.js";
3
- import { $ as Fe } from "./Text-DcZqSUN9.js";
4
- import { d as b, $ as ve, e as ye, b as Te, a as Z } from "./mergeProps-C1U1OIeJ.js";
2
+ import { $ as Ae, b as W, a as fe, f as he } from "./utils-KYuflGZt.js";
3
+ import { $ as Fe } from "./Text--KL3Auo7.js";
4
+ import { d as b, $ as ve, e as ye, b as Te, a as Z } from "./mergeProps-BYJQ6N1s.js";
5
5
  import { $ as J } from "./filterDOMProps-D6KHYVBX.js";
6
- import { $ as ze } from "./useLabels-LrKQiY11.js";
7
- import { k as Se } from "./utils-CoCR_Fce.js";
6
+ import { $ as ze } from "./useLabels-DZlvh4P4.js";
7
+ import { k as Se } from "./utils-CuqJqFqQ.js";
8
8
  import k, { useState as Q, useEffect as _, useRef as O, forwardRef as uu, createContext as Pe } from "react";
9
- import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-DQvJ3Y-W.js";
10
- import { $ as Le } from "./useDescription-DYfKjGGU.js";
11
- import { $ as eu } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
12
- import { $ as Re } from "./useButton-BoIV3kDJ.js";
13
- import { $ as Oe } from "./useFocusRing-DOfBqnUN.js";
14
- import { $ as Ne } from "./VisuallyHidden-CYfmTSCD.js";
15
- import { a as Ze } from "./Input-n-Z20KbW.js";
16
- import { $ as Ue } from "./PressResponder-C3APAKsz.js";
9
+ import { p as Ke, h as Ie, k as je, c as Ve, $ as we } from "./useHover-D8fja4GW.js";
10
+ import { $ as Le } from "./useDescription-LmB1V4Tg.js";
11
+ import { $ as eu } from "./useLocalizedStringFormatter-CSEh15AZ.js";
12
+ import { $ as Re } from "./useButton-CWHoXYnj.js";
13
+ import { $ as Oe } from "./useFocusRing-HoJn20X5.js";
14
+ import { $ as Ne } from "./VisuallyHidden-BKslUoMJ.js";
15
+ import { a as Ze } from "./Input-BnpBRnJz.js";
16
+ import { $ as Ue } from "./PressResponder-B_Zqu7b1.js";
17
17
  import { c as qe } from "./clsx-OuTLNxxd.js";
18
18
  import './assets/FileUpload.css';var D = /* @__PURE__ */ function(u) {
19
19
  return u[u.none = 0] = "none", u[u.cancel = 0] = "cancel", u[u.move = 1] = "move", u[u.copy = 2] = "copy", u[u.link = 4] = "link", u[u.all = 7] = "all", u;