@midas-ds/components 11.2.0 → 12.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 (465) hide show
  1. package/AccordionItem-C9dBt-tQ.js +335 -0
  2. package/AccordionItem-SOfjXh3V.cjs +1 -0
  3. package/BadgeContainer-iNNgJKD9.js +37 -0
  4. package/{BadgeContainer-DWVHS5dn.cjs → BadgeContainer-su0iCJKy.cjs} +1 -1
  5. package/Breadcrumbs-BAHJMPsu.js +271 -0
  6. package/Breadcrumbs-DUcHHI_2.cjs +1 -0
  7. package/Button-CMIbSc4-.cjs +1 -0
  8. package/{Button-CepQFEit.js → Button-DD5_S-tD.js} +154 -160
  9. package/{Button-BjMaGya2.js → Button-DYcmg49Z.js} +2 -2
  10. package/{Button-Dq6ugqxT.cjs → Button-DrL5Jv-s.cjs} +1 -1
  11. package/Button.module-BNLcvARn.cjs +1 -0
  12. package/Button.module-Bax2YU6N.js +14 -0
  13. package/ButtonGroup-ClYTgaRc.cjs +1 -0
  14. package/{ButtonGroup-DvVvear6.js → ButtonGroup-WZZDPu9Z.js} +1 -1
  15. package/CHANGELOG.md +114 -0
  16. package/Card-BDDyGAMA.js +131 -0
  17. package/Card-mj5lCIR4.cjs +1 -0
  18. package/{CharacterCounter-DSFBv3Rw.cjs → CharacterCounter-CnRv-iUP.cjs} +1 -1
  19. package/{CharacterCounter-DpBDwvLw.js → CharacterCounter-DT7A0wWP.js} +8 -8
  20. package/Checkbox-BtM2rFh9.js +278 -0
  21. package/Checkbox-CvdIG43J.cjs +1 -0
  22. package/CheckboxGroup-C94as9Xt.cjs +1 -0
  23. package/CheckboxGroup-CjcDYBRk.js +157 -0
  24. package/Collection-B0_WAieZ.js +625 -0
  25. package/Collection-BvWp2xBd.cjs +1 -0
  26. package/{ColorSchemeSwitch-PiEHptw1.js → ColorSchemeSwitch-C4PMYeD5.js} +17 -25
  27. package/{ColorSchemeSwitch-owUryjYz.cjs → ColorSchemeSwitch-CKcoGZM1.cjs} +1 -1
  28. package/ComboBox-B2EmfOyr.cjs +1 -0
  29. package/{ComboBox-DfJ_aJrf.js → ComboBox-BWXJZyOR.js} +522 -511
  30. package/DateField-CcQJYDLD.js +47 -0
  31. package/DateField-IpCiF81R.cjs +1 -0
  32. package/{DateInputDivider-BmvqW1Hk.js → DateInputDivider-CXkUdlzc.js} +936 -839
  33. package/DateInputDivider-Cf5GZHlM.cjs +1 -0
  34. package/DateRangePicker-B2BJO1KC.js +889 -0
  35. package/DateRangePicker-Dfwe9RhJ.cjs +6 -0
  36. package/Dialog-B8swxl24.js +1643 -0
  37. package/Dialog-DR6nEqMT.cjs +1 -0
  38. package/Dialog-DgJobm71.cjs +1 -0
  39. package/Dialog-P3frHOdq.js +240 -0
  40. package/DragAndDrop-Dw8JZmrn.cjs +1 -0
  41. package/DragAndDrop-PrUJv--B.js +75 -0
  42. package/{Dropdown-Cpc2EszJ.js → Dropdown-CIvWpN3v.js} +33 -32
  43. package/Dropdown-DJ2vWAqk.cjs +6 -0
  44. package/FieldError-Cornph2A.cjs +1 -0
  45. package/{FieldError-CDCvUjK5.js → FieldError-DdvFyIf4.js} +16 -14
  46. package/{FileUpload-BokzdXVc.js → FileUpload-D2gnQKdn.js} +76 -74
  47. package/{FileUpload-Bz9md5zc.cjs → FileUpload-D3RaARDV.cjs} +2 -2
  48. package/{FocusScope-DMsfA3bj.js → FocusScope-Bj40Ir-g.js} +192 -195
  49. package/FocusScope-Uy3DiY0-.cjs +1 -0
  50. package/Grid-WbEkSCGh.cjs +1 -0
  51. package/{Grid--OhtgCo6.js → Grid-s8ovKDi8.js} +6 -9
  52. package/GridItem-CIVF1fRW.cjs +1 -0
  53. package/GridItem-D3FZyyO-.js +243 -0
  54. package/{Group-DOpbdoAi.cjs → Group-BKYGeOBr.cjs} +1 -1
  55. package/{Group-B0vQfHDy.js → Group-C73mD_-i.js} +6 -6
  56. package/Heading-BQlmb5Tm.js +46 -0
  57. package/Heading-D3FR_KXb.cjs +1 -0
  58. package/InfoBanner-CqjnTYaa.cjs +1 -0
  59. package/InfoBanner-CrA8MS3v.js +83 -0
  60. package/{Input-n-Z20KbW.js → Input-BLVRv0FK.js} +4 -4
  61. package/{Input-MJji5hhq.cjs → Input-CzMx2mfl.cjs} +1 -1
  62. package/{Label-endv1fkJ.js → Label-BG7G0iyG.js} +23 -27
  63. package/Label-C00qz3kQ.cjs +1 -0
  64. package/Layout-Bta_Cpq_.cjs +16 -0
  65. package/Layout-CG-Qxr_1.js +482 -0
  66. package/{Link-ovwNVMfg.js → Link-BtxKZ0h3.js} +16 -16
  67. package/Link-Bx6avHVl.cjs +6 -0
  68. package/Link-CbFSuEI1.js +73 -0
  69. package/Link-wM7cVPlS.cjs +1 -0
  70. package/LinkButton-BvXu6vAH.cjs +6 -0
  71. package/LinkButton-D3EnZ65v.js +69 -0
  72. package/ListBox-ICZKGluC.cjs +1 -0
  73. package/ListBox-LncMQt6I.js +523 -0
  74. package/ListBoxLoadMoreItem-Ceo73a2q.cjs +1 -0
  75. package/ListBoxLoadMoreItem-W11V-Lef.js +41 -0
  76. package/ListBoxSection-BCPv9H50.js +1085 -0
  77. package/ListBoxSection-Dx75ZinL.cjs +1 -0
  78. package/{ListKeyboardDelegate-CHki611g.js → ListKeyboardDelegate-CVxkAn5D.js} +13 -9
  79. package/ListKeyboardDelegate-C_X1wLkh.cjs +1 -0
  80. package/{Logo-BpH0HC91.cjs → Logo-CFjZc5u2.cjs} +1 -1
  81. package/{Logo-ME4ffCue.js → Logo-DkagDdKQ.js} +14 -18
  82. package/OverlayArrow-ByH6lM-H.cjs +1 -0
  83. package/OverlayArrow-CvNuu3e3.js +519 -0
  84. package/{Popover-BDvKByTT.cjs → Popover-Bi5yJEoE.cjs} +1 -1
  85. package/{Popover-Tniqbaes.js → Popover-CyEVqpJ6.js} +11 -11
  86. package/{PressResponder-C3APAKsz.js → PressResponder-CxVtArtP.js} +4 -4
  87. package/{PressResponder-4jE_HLu3.cjs → PressResponder-DbnYqwGB.cjs} +1 -1
  88. package/ProgressBar-CdXHEJh6.js +53 -0
  89. package/ProgressBar-CjuHokVZ.cjs +1 -0
  90. package/Radio-Bll-7H8O.cjs +1 -0
  91. package/Radio-DoWx2AE1.js +333 -0
  92. package/RangeCalendar-A4WQIG7P.cjs +6 -0
  93. package/{RangeCalendar-BCruEq9d.js → RangeCalendar-D7eFVAPP.js} +637 -629
  94. package/{SearchField-QFyuaT-K.cjs → SearchField-BbrUZpQm.cjs} +2 -2
  95. package/{SearchField-nwlyszwt.js → SearchField-F2FKgYds.js} +27 -31
  96. package/Select-BnbDXwgD.cjs +1 -0
  97. package/Select-Dpi3LhbI.js +654 -0
  98. package/{SelectionManager-BKrZ_mMO.js → SelectionManager-Bq-Gw1UT.js} +291 -282
  99. package/SelectionManager-BtbHoHpA.cjs +1 -0
  100. package/Separator-CM0KPvsX.js +105 -0
  101. package/Separator-Cfv2pbWf.cjs +1 -0
  102. package/Separator-DH-5wu9X.js +77 -0
  103. package/Separator-Dgin8BNW.cjs +1 -0
  104. package/Skeleton-BpYj25p8.js +37 -0
  105. package/Skeleton-DMOxEwnd.cjs +1 -0
  106. package/Spinner-D1UBuLy4.cjs +6 -0
  107. package/Spinner-DTKb_LAA.js +47 -0
  108. package/TabList-D4WwgQY3.cjs +1 -0
  109. package/TabList-D9tl2s85.js +397 -0
  110. package/Table-C6k3PiiC.cjs +16 -0
  111. package/{Table-DGTwyh7U.js → Table-CkN3y69S.js} +883 -804
  112. package/Tag-7dHEMQum.cjs +1 -0
  113. package/Tag-BUJ20HHw.js +765 -0
  114. package/Text-BAFsaON-.cjs +1 -0
  115. package/{Text-DcZqSUN9.js → Text-Be7WIOwv.js} +1 -1
  116. package/{Text-CfcjRtke.cjs → Text-BtPiT2P1.cjs} +1 -1
  117. package/Text-CmlsaWMA.js +32 -0
  118. package/TextArea-BCikUXaD.cjs +1 -0
  119. package/TextArea-h5_oBQH1.js +125 -0
  120. package/TextField-Bm5916AD.cjs +1 -0
  121. package/TextField-_UY8CXtW.js +134 -0
  122. package/TextField.module-C9Zm9unF.js +13 -0
  123. package/TextField.module-GTQtNO0r.cjs +1 -0
  124. package/{Toast-CWt_mNIg.js → Toast-BBkWczCk.js} +234 -253
  125. package/Toast-DclaxvZM.cjs +1 -0
  126. package/ToggleButtonGroup-BGG64PK1.js +214 -0
  127. package/ToggleButtonGroup-Da330GRT.cjs +1 -0
  128. package/Tooltip-BHAtsp9k.js +281 -0
  129. package/Tooltip-CZa9n5sT.cjs +1 -0
  130. package/{VisuallyHidden-CYfmTSCD.js → VisuallyHidden-CGEtjAP7.js} +2 -2
  131. package/{VisuallyHidden-Doyzl0F7.cjs → VisuallyHidden-EjrqodVh.cjs} +1 -1
  132. package/accordion/Accordion.d.ts +8 -2
  133. package/accordion/AccordionContext.d.ts +4 -0
  134. package/accordion/AccordionItem.d.ts +6 -4
  135. package/accordion/index.cjs +1 -1
  136. package/accordion/index.js +1 -1
  137. package/assets/AccordionItem.css +1 -1
  138. package/assets/BadgeContainer.css +1 -1
  139. package/assets/Breadcrumbs.css +1 -1
  140. package/assets/Button.css +1 -1
  141. package/assets/ButtonGroup.css +1 -1
  142. package/assets/Card.css +1 -1
  143. package/assets/CharacterCounter.css +1 -1
  144. package/assets/Checkbox.css +1 -1
  145. package/assets/ComboBox.css +1 -1
  146. package/assets/DateField.css +1 -1
  147. package/assets/DateInputDivider.css +1 -1
  148. package/assets/DateRangePicker.css +1 -1
  149. package/assets/Dialog.css +1 -1
  150. package/assets/Dropdown.css +1 -1
  151. package/assets/FieldError.css +1 -1
  152. package/assets/FileUpload.css +1 -1
  153. package/assets/GridItem.css +1 -1
  154. package/assets/Heading.css +1 -1
  155. package/assets/InfoBanner.css +1 -1
  156. package/assets/Label.css +1 -1
  157. package/assets/Layout.css +1 -1
  158. package/assets/Link.css +1 -1
  159. package/assets/LinkButton.css +1 -1
  160. package/assets/ListBoxSection.css +1 -1
  161. package/assets/Logo.css +1 -1
  162. package/assets/Popover.css +1 -1
  163. package/assets/ProgressBar.css +1 -1
  164. package/assets/Radio.css +1 -1
  165. package/assets/RangeCalendar.css +1 -1
  166. package/assets/SearchField.css +1 -1
  167. package/assets/Select.css +1 -1
  168. package/assets/Separator.css +1 -0
  169. package/assets/Skeleton.css +1 -1
  170. package/assets/Spinner.css +1 -1
  171. package/assets/TabList.css +1 -1
  172. package/assets/Table.css +1 -1
  173. package/assets/Tag.css +1 -1
  174. package/assets/Text.css +1 -1
  175. package/assets/TextField.css +1 -1
  176. package/assets/Toast.css +1 -1
  177. package/assets/ToggleButtonGroup.css +1 -1
  178. package/assets/Tooltip.css +1 -1
  179. package/assets/theme.css +1 -0
  180. package/assets/variables.css +1 -0
  181. package/badge/index.cjs +1 -1
  182. package/badge/index.js +1 -1
  183. package/breadcrumbs/Breadcrumbs.d.ts +0 -2
  184. package/breadcrumbs/index.cjs +1 -1
  185. package/breadcrumbs/index.js +1 -1
  186. package/button/index.cjs +1 -1
  187. package/button/index.js +2 -2
  188. package/calendar/index.cjs +1 -1
  189. package/calendar/index.js +1 -1
  190. package/card/index.cjs +1 -1
  191. package/card/index.js +1 -1
  192. package/character-counter/index.cjs +1 -1
  193. package/character-counter/index.js +1 -1
  194. package/checkbox/index.cjs +1 -1
  195. package/checkbox/index.js +2 -2
  196. package/chevron-right-0-sUFBiR.cjs +6 -0
  197. package/chevron-right-BYYHEJjK.js +11 -0
  198. package/color-scheme-switch/index.cjs +1 -1
  199. package/color-scheme-switch/index.js +1 -1
  200. package/combobox/ComboBox.d.ts +0 -4
  201. package/combobox/index.cjs +1 -1
  202. package/combobox/index.d.ts +1 -2
  203. package/combobox/index.js +2 -3
  204. package/combobox/intl/translations.json.d.ts +4 -2
  205. package/combobox/types.d.ts +0 -13
  206. package/common/icon-map.d.ts +6 -0
  207. package/common/types.d.ts +8 -0
  208. package/date-field/index.cjs +1 -1
  209. package/date-field/index.js +2 -2
  210. package/date-picker/index.cjs +1 -1
  211. package/date-picker/index.js +1 -1
  212. package/dropdown/Dropdown.d.ts +25 -1
  213. package/dropdown/index.cjs +1 -1
  214. package/dropdown/index.js +1 -1
  215. package/field-error/index.cjs +1 -1
  216. package/field-error/index.js +1 -1
  217. package/file-upload/index.cjs +1 -1
  218. package/file-upload/index.js +1 -1
  219. package/filterDOMProps-RRlKPKX0.cjs +1 -0
  220. package/filterDOMProps-wsa9OcNI.js +65 -0
  221. package/grid/Grid.d.ts +0 -8
  222. package/grid/GridItem.d.ts +0 -8
  223. package/grid/index.cjs +1 -1
  224. package/grid/index.d.ts +2 -2
  225. package/grid/index.js +4 -6
  226. package/heading/index.cjs +1 -1
  227. package/heading/index.js +1 -1
  228. package/icon-map-9XcghDra.cjs +11 -0
  229. package/icon-map-uS87FT_Q.js +43 -0
  230. package/{index-CGRFP4CC.js → index-BLPblar-.js} +34 -31
  231. package/index-DSFSh2sC.cjs +17 -0
  232. package/index.cjs +1 -1
  233. package/index.d.ts +2 -0
  234. package/index.js +133 -121
  235. package/info-banner/InfoBanner.d.ts +18 -10
  236. package/info-banner/index.cjs +1 -1
  237. package/info-banner/index.js +1 -1
  238. package/label/index.cjs +1 -1
  239. package/label/index.js +1 -1
  240. package/layout/index.cjs +1 -1
  241. package/layout/index.js +1 -1
  242. package/link/index.cjs +1 -1
  243. package/link/index.js +2 -2
  244. package/link-button/index.cjs +1 -1
  245. package/link-button/index.js +2 -2
  246. package/list-box/ListBoxLoadMoreItem.d.ts +4 -0
  247. package/list-box/index.cjs +1 -1
  248. package/list-box/index.d.ts +1 -0
  249. package/list-box/index.js +6 -5
  250. package/list-box/intl/translations.json.d.ts +11 -0
  251. package/logo/index.cjs +1 -1
  252. package/logo/index.js +1 -1
  253. package/menu/Menu.d.ts +13 -0
  254. package/menu/MenuItem.d.ts +5 -0
  255. package/menu/MenuPopover.d.ts +3 -0
  256. package/menu/MenuSection.d.ts +3 -0
  257. package/menu/Separator.d.ts +3 -0
  258. package/menu/index.cjs +1 -0
  259. package/menu/index.d.ts +5 -0
  260. package/menu/index.js +8 -0
  261. package/{mergeProps-C1U1OIeJ.js → mergeProps-BSsN7Bgk.js} +36 -34
  262. package/mergeProps-JhcJ7uJL.cjs +1 -0
  263. package/modal/index.cjs +1 -1
  264. package/modal/index.js +2 -2
  265. package/package.json +9 -4
  266. package/popover/index.cjs +1 -1
  267. package/popover/index.js +1 -1
  268. package/progress-bar/index.cjs +1 -1
  269. package/progress-bar/index.js +1 -1
  270. package/radio/index.cjs +1 -1
  271. package/radio/index.js +1 -1
  272. package/search-field/index.cjs +1 -1
  273. package/search-field/index.js +1 -1
  274. package/select/Select.d.ts +1 -1
  275. package/select/index.cjs +1 -1
  276. package/select/index.d.ts +1 -1
  277. package/select/index.js +1 -1
  278. package/select/types.d.ts +1 -13
  279. package/skeleton/index.cjs +1 -1
  280. package/skeleton/index.js +1 -1
  281. package/spinner/index.cjs +1 -1
  282. package/spinner/index.js +1 -1
  283. package/table/Table.d.ts +7 -12
  284. package/table/index.cjs +1 -1
  285. package/table/index.js +1 -1
  286. package/tabs/Tabs.d.ts +0 -12
  287. package/tabs/index.cjs +1 -1
  288. package/tabs/index.js +1 -1
  289. package/tag/Tag.d.ts +2 -1
  290. package/tag/index.cjs +1 -1
  291. package/tag/index.js +1 -1
  292. package/text/index.cjs +1 -1
  293. package/text/index.js +1 -1
  294. package/textfield/Input.d.ts +7 -2
  295. package/textfield/PasswordField.d.ts +1 -1
  296. package/textfield/index.cjs +1 -1
  297. package/textfield/index.js +1 -1
  298. package/theme/generated-object.d.ts +384 -0
  299. package/theme/generated-tokens.d.ts +334 -0
  300. package/theme/index.cjs +1 -1
  301. package/theme/index.d.ts +39 -12
  302. package/theme/index.js +4037 -13
  303. package/theme/tokens.d.ts +65 -18
  304. package/toast/Toast.d.ts +2 -1
  305. package/toast/index.cjs +1 -1
  306. package/toast/index.js +1 -1
  307. package/toggle-button/index.cjs +1 -1
  308. package/toggle-button/index.js +1 -1
  309. package/tokens-B3FfJ-rY.cjs +1 -0
  310. package/{tokens-CqvelUoA.js → tokens-B9ooUP4g.js} +69 -32
  311. package/tooltip/index.cjs +1 -1
  312. package/tooltip/index.js +1 -1
  313. package/useButton-D6iUB8cN.js +56 -0
  314. package/useButton-R8-i3HLC.cjs +1 -0
  315. package/useDateFormatter-2B0vgHc-.cjs +1 -0
  316. package/{useDateFormatter-C7BJgoDR.js → useDateFormatter-BJ1ZyaH1.js} +431 -407
  317. package/{useDescription-DYfKjGGU.js → useDescription-BLmIkYCq.js} +1 -1
  318. package/{useDescription-CPo72trh.cjs → useDescription-BMuiAqI5.cjs} +1 -1
  319. package/{useEvent-DPxMu-X9.cjs → useEvent-3ZO5TPSH.cjs} +1 -1
  320. package/{useEvent-CigwyJOw.js → useEvent-DpBHTuHJ.js} +1 -1
  321. package/{useField-CefQB81E.js → useField-BMegM8fA.js} +2 -2
  322. package/{useField-D1UkzeaI.cjs → useField-DyeD7MLj.cjs} +1 -1
  323. package/{useFilter-DsOxD9JB.js → useFilter-BFnSe_Eq.js} +1 -1
  324. package/{useFilter-BhM2yVO3.cjs → useFilter-aoggM85n.cjs} +1 -1
  325. package/{useFocusRing-B-A1OLhU.cjs → useFocusRing-BcbYske2.cjs} +1 -1
  326. package/{useFocusRing-DOfBqnUN.js → useFocusRing-DMo8ctYV.js} +2 -2
  327. package/{useFocusWithin-T1ifEM_s.js → useFocusWithin-ClMkhYcq.js} +1 -1
  328. package/{useFocusWithin-CG8mAt2D.cjs → useFocusWithin-DTnk0e8a.cjs} +1 -1
  329. package/{useFocusable-D7I1ujkW.cjs → useFocusable-CsG-IPuC.cjs} +1 -1
  330. package/{useFocusable-BjE42axF.js → useFocusable-DXlMChFC.js} +4 -4
  331. package/useFormValidation-BQIRxgbU.cjs +1 -0
  332. package/useFormValidation-L0UHvOsP.js +217 -0
  333. package/{useHasTabbableChild-BgEe5J35.js → useHasTabbableChild-BDaxMsGu.js} +2 -2
  334. package/{useHasTabbableChild-CoQRpNbC.cjs → useHasTabbableChild-CJcLnolh.cjs} +1 -1
  335. package/{useHighlightSelectionDescription-xr_16pKd.js → useHighlightSelectionDescription-BkEv9Jye.js} +4 -4
  336. package/{useHighlightSelectionDescription-DmbDkFGY.cjs → useHighlightSelectionDescription-CQaG611l.cjs} +1 -1
  337. package/{useHover-DQvJ3Y-W.js → useHover-D6bNIkU0.js} +76 -74
  338. package/useHover-DGAmG7jt.cjs +1 -0
  339. package/{useLabels-CSU0kbtJ.cjs → useLabels-CvUk-yS3.cjs} +1 -1
  340. package/{useLabels-LrKQiY11.js → useLabels-Kmq5JCp_.js} +1 -1
  341. package/useListState-D2IEg6_e.cjs +1 -0
  342. package/{useListState-B3c3xcNW.js → useListState-pixYqSLl.js} +43 -42
  343. package/usePress-CicXV7UO.cjs +7 -0
  344. package/{usePress-BW47IcyU.js → usePress-DMUpU0GU.js} +153 -149
  345. package/{useSingleSelectListState-DdBsBWKG.js → useSingleSelectListState-BlvpP8y-.js} +1 -1
  346. package/{useSingleSelectListState-DlO5H9N-.cjs → useSingleSelectListState-CwWK_Dx2.cjs} +1 -1
  347. package/{useTextField-DjxayZsV.js → useTextField-BC5X_AO_.js} +30 -27
  348. package/useTextField-Cxpfu0U3.cjs +1 -0
  349. package/useToggleState-BVOqL4hI.js +21 -0
  350. package/useToggleState-SqDyNfRi.cjs +1 -0
  351. package/utils/types.d.ts +4 -0
  352. package/{utils-DHNZrQmj.cjs → utils-CMHKYKlz.cjs} +1 -1
  353. package/{utils-KLjWgdLR.js → utils-Cpcjg55U.js} +1 -1
  354. package/utils-DFIwp4PB.js +262 -0
  355. package/utils-__vrf9VZ.cjs +1 -0
  356. package/AccordionItem-BPOQqTkQ.js +0 -323
  357. package/AccordionItem-CS-QKqrU.cjs +0 -1
  358. package/BadgeContainer-CKBIZWsc.js +0 -37
  359. package/Breadcrumbs-BBzSV4SK.js +0 -262
  360. package/Breadcrumbs-CFUryOhf.cjs +0 -1
  361. package/Button-DExMoP5f.cjs +0 -1
  362. package/Button.module-D-mPLRxe.js +0 -14
  363. package/Button.module-goCEz5qs.cjs +0 -1
  364. package/ButtonGroup-DUqW5dzM.cjs +0 -1
  365. package/Card-BRs1FKX5.js +0 -131
  366. package/Card-cdL5669N.cjs +0 -1
  367. package/Checkbox-Co3h0hur.cjs +0 -1
  368. package/Checkbox-EB_SCBEo.js +0 -264
  369. package/CheckboxGroup-CT_eqERw.cjs +0 -1
  370. package/CheckboxGroup-DvrN1oyw.js +0 -159
  371. package/Collection-BtBX5IMY.cjs +0 -1
  372. package/Collection-D2jVTmDW.js +0 -577
  373. package/ComboBox-D_jh7TKo.cjs +0 -1
  374. package/DateField-BURrxhil.cjs +0 -1
  375. package/DateField-DKCbEonm.js +0 -47
  376. package/DateInputDivider-ToFY-yjB.cjs +0 -1
  377. package/DateRangePicker-B5vx9onl.js +0 -870
  378. package/DateRangePicker-DkIAEIIj.cjs +0 -6
  379. package/Dialog-CxHiZorC.cjs +0 -1
  380. package/Dialog-D5c_dUnB.js +0 -1611
  381. package/Dialog-DtHk3eXI.cjs +0 -1
  382. package/Dialog-DuGcBeNN.js +0 -212
  383. package/DragAndDrop-CSg60YQE.cjs +0 -1
  384. package/DragAndDrop-DOXLfJaA.js +0 -60
  385. package/Dropdown-CYakzdJg.cjs +0 -6
  386. package/FieldError-Bv3Q6ZP-.cjs +0 -1
  387. package/FocusScope-vcXLOQiu.cjs +0 -1
  388. package/Grid-DVQtOcu9.cjs +0 -1
  389. package/GridItem-DlbSdRmB.js +0 -246
  390. package/GridItem-XgHmZWXY.cjs +0 -1
  391. package/Heading-CKTR4sOz.cjs +0 -1
  392. package/Heading-D2y_kiC0.js +0 -46
  393. package/InfoBanner-CzwbOdRG.cjs +0 -1
  394. package/InfoBanner-D05poAe3.js +0 -91
  395. package/Label-ChjDdBlv.cjs +0 -1
  396. package/Layout-D0E1fOgZ.cjs +0 -16
  397. package/Layout-DtyhUz-G.js +0 -498
  398. package/Link-CibH8uRY.js +0 -72
  399. package/Link-CidjjqHb.cjs +0 -1
  400. package/Link-ESjrl63P.cjs +0 -6
  401. package/LinkButton-B6AWNiRn.cjs +0 -6
  402. package/LinkButton-BkZULm2a.js +0 -69
  403. package/ListBox-B0E1hdEt.cjs +0 -1
  404. package/ListBox-Djy7244v.js +0 -531
  405. package/ListBoxButton-CIqNRR3y.cjs +0 -1
  406. package/ListBoxButton-sqirI6I4.js +0 -15
  407. package/ListBoxSection-BYJccE4T.cjs +0 -1
  408. package/ListBoxSection-Cicbu8pS.js +0 -1058
  409. package/ListKeyboardDelegate-ZKBk2IId.cjs +0 -1
  410. package/OverlayArrow-DB_aVTVM.js +0 -507
  411. package/OverlayArrow-DpZ1FqOd.cjs +0 -1
  412. package/ProgressBar-ClysdvqU.cjs +0 -1
  413. package/ProgressBar-DTn23Zkr.js +0 -53
  414. package/Radio-CCN3o3s-.js +0 -313
  415. package/Radio-Cz0vLIBw.cjs +0 -1
  416. package/RangeCalendar-BY82hPRu.cjs +0 -11
  417. package/Select-MwvnbChP.js +0 -664
  418. package/Select-lhIwwJL7.cjs +0 -1
  419. package/SelectionManager-BJjqIWtf.cjs +0 -1
  420. package/Separator-DPLEx950.cjs +0 -1
  421. package/Separator-DvvVAypT.js +0 -59
  422. package/Skeleton-BAwbfKBW.cjs +0 -1
  423. package/Skeleton-BePDRmrO.js +0 -40
  424. package/Spinner-VSyPhiJ9.js +0 -51
  425. package/Spinner-vof0Y9Hh.cjs +0 -6
  426. package/TabList-CWMlbijV.cjs +0 -1
  427. package/TabList-VpTv_Xff.js +0 -435
  428. package/Table-DGYC-sDq.cjs +0 -16
  429. package/Tag-bYq-wf5D.cjs +0 -1
  430. package/Tag-rI-NhuT0.js +0 -748
  431. package/Text-BPcfhYQ9.js +0 -32
  432. package/Text-DBHWi5gA.cjs +0 -1
  433. package/TextArea-CrEALC58.js +0 -119
  434. package/TextArea-DJKHFKuI.cjs +0 -1
  435. package/TextField-BAX93sq7.cjs +0 -1
  436. package/TextField-Dma22dnD.js +0 -120
  437. package/TextField.module-BcpPBWnD.js +0 -13
  438. package/TextField.module-Dw5Rtn9y.cjs +0 -1
  439. package/Toast-DdmSvNaO.cjs +0 -1
  440. package/ToggleButtonGroup-98z8Dw8-.js +0 -211
  441. package/ToggleButtonGroup-DZ_wo0qx.cjs +0 -1
  442. package/Tooltip-DjNc93tV.js +0 -285
  443. package/Tooltip-pN5W3IK6.cjs +0 -1
  444. package/circle-check-BErh6TKu.js +0 -26
  445. package/circle-check-OVUGxwp9.cjs +0 -11
  446. package/filterDOMProps-BS2lrgFA.cjs +0 -1
  447. package/filterDOMProps-D6KHYVBX.js +0 -24
  448. package/index-Dsz3aiWt.cjs +0 -17
  449. package/mergeProps-B5KXZAI3.cjs +0 -1
  450. package/tokens-5PzK5zK7.cjs +0 -1
  451. package/triangle-alert-B_qAPmWC.js +0 -21
  452. package/triangle-alert-BviJNFjf.cjs +0 -6
  453. package/useButton-BoIV3kDJ.js +0 -47
  454. package/useButton-D60q0SQw.cjs +0 -1
  455. package/useDateFormatter-BJBt0jk_.cjs +0 -1
  456. package/useFormValidation-BlFGdPZB.cjs +0 -1
  457. package/useFormValidation-BzzruZKm.js +0 -215
  458. package/useHover-BE_XKZKe.cjs +0 -1
  459. package/useListState-wLau6fXo.cjs +0 -1
  460. package/usePress-BooY_CAy.cjs +0 -7
  461. package/useTextField-DnRrCg5o.cjs +0 -1
  462. package/useToggleState-Bz5rAf4C.js +0 -18
  463. package/useToggleState-DoIkSQdj.cjs +0 -1
  464. package/utils-CoCR_Fce.js +0 -234
  465. package/utils-Dvdohqm9.cjs +0 -1
@@ -0,0 +1,765 @@
1
+ import { jsxs as Ge, jsx as N } from "react/jsx-runtime";
2
+ import { e as qe, b as Xe } from "./Button-DD5_S-tD.js";
3
+ import { $ as Je, d as Qe, g as G, k as Ye, b as Ze, c as eo, l as oo } from "./Collection-B0_WAieZ.js";
4
+ import { b as to, a as q, f as X, $ as j, d as ro } from "./utils-Cpcjg55U.js";
5
+ import { g as z } from "./ListBox-LncMQt6I.js";
6
+ import { c as ao, b as io } from "./ListKeyboardDelegate-CVxkAn5D.js";
7
+ import { $ as no } from "./Text-Be7WIOwv.js";
8
+ import { c as J, a as E, b as lo, e as uo } from "./mergeProps-BSsN7Bgk.js";
9
+ import { $ as S } from "./filterDOMProps-wsa9OcNI.js";
10
+ import D, { useRef as V, useState as so, useEffect as Q, forwardRef as Y, useContext as T, createContext as Z } from "react";
11
+ import { $ as ee } from "./useFocusRing-DMo8ctYV.js";
12
+ import { a as co, p as po, $ as fo } from "./useHover-D6bNIkU0.js";
13
+ import { $ as bo, a as $o } from "./useHighlightSelectionDescription-BkEv9Jye.js";
14
+ import { $ as mo } from "./useHasTabbableChild-BDaxMsGu.js";
15
+ import { $ as vo } from "./Separator-CM0KPvsX.js";
16
+ import { $ as go } from "./useField-BMegM8fA.js";
17
+ import { $ as xo } from "./useFocusWithin-ClMkhYcq.js";
18
+ import { $ as oe } from "./context-CGNJ3grH.js";
19
+ import { g as te } from "./usePress-DMUpU0GU.js";
20
+ import { $ as Do } from "./useDescription-BLmIkYCq.js";
21
+ import { b as L, a as yo } from "./useFocusable-DXlMChFC.js";
22
+ import { $ as K } from "./getScrollParent-Ru2U2LlM.js";
23
+ import { b as F } from "./scrollIntoView-ClEACHUk.js";
24
+ import { $ as I } from "./FocusScope-Bj40Ir-g.js";
25
+ import { d as Bo } from "./SelectionManager-Bq-Gw1UT.js";
26
+ import { $ as Po } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
27
+ import { $ as ko, a as ho } from "./useListState-pixYqSLl.js";
28
+ import { B as Eo } from "./Button-DYcmg49Z.js";
29
+ import { c as wo } from "./clsx-OuTLNxxd.js";
30
+ import { X as Co } from "./x-C2xUHAEl.js";
31
+ import './assets/Tag.css';const _ = /* @__PURE__ */ new WeakMap();
32
+ function U(t, e) {
33
+ var o;
34
+ let { id: i } = (o = _.get(t)) !== null && o !== void 0 ? o : {};
35
+ if (!i) throw new Error("Unknown list");
36
+ return `${i}-${Lo(e)}`;
37
+ }
38
+ function Lo(t) {
39
+ return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
40
+ }
41
+ function Ao(t, e, o) {
42
+ let { isVirtualized: i, keyboardDelegate: u, layoutDelegate: r, onAction: n, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: m = "arrow", escapeKeyBehavior: l = "clearSelection", shouldSelectOnPressUp: g } = t;
43
+ !t["aria-label"] && !t["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
44
+ let { listProps: d } = vo({
45
+ selectionManager: e.selectionManager,
46
+ collection: e.collection,
47
+ disabledKeys: e.disabledKeys,
48
+ ref: o,
49
+ keyboardDelegate: u,
50
+ layoutDelegate: r,
51
+ isVirtualized: i,
52
+ selectOnFocus: e.selectionManager.selectionBehavior === "replace",
53
+ shouldFocusWrap: t.shouldFocusWrap,
54
+ linkBehavior: c,
55
+ disallowTypeAhead: s,
56
+ autoFocus: t.autoFocus,
57
+ escapeKeyBehavior: l
58
+ }), $ = J(t.id);
59
+ _.set(e, {
60
+ id: $,
61
+ onAction: n,
62
+ linkBehavior: c,
63
+ keyboardNavigationBehavior: m,
64
+ shouldSelectOnPressUp: g
65
+ });
66
+ let p = bo({
67
+ selectionManager: e.selectionManager,
68
+ hasItemActions: !!n
69
+ }), k = mo(o, {
70
+ isDisabled: e.collection.size !== 0
71
+ }), x = S(t, {
72
+ labelable: !0
73
+ }), y = E(
74
+ x,
75
+ {
76
+ role: "grid",
77
+ id: $,
78
+ "aria-multiselectable": e.selectionManager.selectionMode === "multiple" ? "true" : void 0
79
+ },
80
+ // If collection is empty, make sure the grid is tabbable unless there is a child tabbable element.
81
+ e.collection.size === 0 ? {
82
+ tabIndex: k ? -1 : 0
83
+ } : d,
84
+ p
85
+ );
86
+ return i && (y["aria-rowcount"] = e.collection.size, y["aria-colcount"] = 1), $o({}, e), {
87
+ gridProps: y
88
+ };
89
+ }
90
+ const W = {
91
+ expand: {
92
+ ltr: "ArrowRight",
93
+ rtl: "ArrowLeft"
94
+ },
95
+ collapse: {
96
+ ltr: "ArrowLeft",
97
+ rtl: "ArrowRight"
98
+ }
99
+ };
100
+ function Mo(t, e, o) {
101
+ var i, u;
102
+ let { node: r, isVirtualized: n } = t, { direction: s } = oe(), { onAction: c, linkBehavior: m, keyboardNavigationBehavior: l, shouldSelectOnPressUp: g } = _.get(e), d = lo(), $ = V(null), p = () => {
103
+ var a;
104
+ o.current !== null && ($.current != null && r.key !== $.current || !(!((a = o.current) === null || a === void 0) && a.contains(document.activeElement))) && L(o.current);
105
+ }, k = {}, x = t.hasChildItems, y = e.selectionManager.isLink(r.key);
106
+ if (r != null && "expandedKeys" in e) {
107
+ var w, C;
108
+ let a = (w = (C = e.collection).getChildren) === null || w === void 0 ? void 0 : w.call(C, r.key);
109
+ x = x || [
110
+ ...a ?? []
111
+ ].length > 1, c == null && !y && e.selectionManager.selectionMode === "none" && x && (c = () => e.toggleKey(r.key));
112
+ let f = x ? e.expandedKeys.has(r.key) : void 0, v = 1;
113
+ if (r.level > 0 && (r == null ? void 0 : r.parentKey) != null) {
114
+ let b = e.collection.getItem(r.parentKey);
115
+ if (b) {
116
+ var B, A;
117
+ v = [
118
+ ...(B = (A = e.collection).getChildren) === null || B === void 0 ? void 0 : B.call(A, b.key)
119
+ ].filter((He) => He.type === "item").length;
120
+ }
121
+ } else v = [
122
+ ...e.collection
123
+ ].filter((b) => b.level === 0 && b.type === "item").length;
124
+ k = {
125
+ "aria-expanded": f,
126
+ "aria-level": r.level + 1,
127
+ "aria-posinset": (r == null ? void 0 : r.index) + 1,
128
+ "aria-setsize": v
129
+ };
130
+ }
131
+ let { itemProps: R, ...M } = Bo({
132
+ selectionManager: e.selectionManager,
133
+ key: r.key,
134
+ ref: o,
135
+ isVirtualized: n,
136
+ shouldSelectOnPressUp: t.shouldSelectOnPressUp || g,
137
+ onAction: c || !((i = r.props) === null || i === void 0) && i.onAction ? uo((u = r.props) === null || u === void 0 ? void 0 : u.onAction, c ? () => c(r.key) : void 0) : void 0,
138
+ focus: p,
139
+ linkBehavior: m
140
+ }), Ve = (a) => {
141
+ if (!a.currentTarget.contains(a.target) || !o.current || !document.activeElement) return;
142
+ let f = I(o.current);
143
+ if (f.currentNode = document.activeElement, "expandedKeys" in e && document.activeElement === o.current) {
144
+ if (a.key === W.expand[s] && e.selectionManager.focusedKey === r.key && x && !e.expandedKeys.has(r.key)) {
145
+ e.toggleKey(r.key), a.stopPropagation();
146
+ return;
147
+ } else if (a.key === W.collapse[s] && e.selectionManager.focusedKey === r.key && x && e.expandedKeys.has(r.key)) {
148
+ e.toggleKey(r.key), a.stopPropagation();
149
+ return;
150
+ }
151
+ }
152
+ switch (a.key) {
153
+ case "ArrowLeft":
154
+ if (l === "arrow") {
155
+ let b = s === "rtl" ? f.nextNode() : f.previousNode();
156
+ if (b)
157
+ a.preventDefault(), a.stopPropagation(), L(b), F(b, {
158
+ containingElement: K(o.current)
159
+ });
160
+ else if (a.preventDefault(), a.stopPropagation(), s === "rtl")
161
+ L(o.current), F(o.current, {
162
+ containingElement: K(o.current)
163
+ });
164
+ else {
165
+ f.currentNode = o.current;
166
+ let h = H(f);
167
+ h && (L(h), F(h, {
168
+ containingElement: K(o.current)
169
+ }));
170
+ }
171
+ }
172
+ break;
173
+ case "ArrowRight":
174
+ if (l === "arrow") {
175
+ let b = s === "rtl" ? f.previousNode() : f.nextNode();
176
+ if (b)
177
+ a.preventDefault(), a.stopPropagation(), L(b), F(b, {
178
+ containingElement: K(o.current)
179
+ });
180
+ else if (a.preventDefault(), a.stopPropagation(), s === "ltr")
181
+ L(o.current), F(o.current, {
182
+ containingElement: K(o.current)
183
+ });
184
+ else {
185
+ f.currentNode = o.current;
186
+ let h = H(f);
187
+ h && (L(h), F(h, {
188
+ containingElement: K(o.current)
189
+ }));
190
+ }
191
+ }
192
+ break;
193
+ case "ArrowUp":
194
+ case "ArrowDown":
195
+ if (!a.altKey && o.current.contains(a.target)) {
196
+ var v;
197
+ a.stopPropagation(), a.preventDefault(), (v = o.current.parentElement) === null || v === void 0 || v.dispatchEvent(new KeyboardEvent(a.nativeEvent.type, a.nativeEvent));
198
+ }
199
+ break;
200
+ }
201
+ }, _e = (a) => {
202
+ if ($.current = r.key, a.target !== o.current) {
203
+ co() || e.selectionManager.setFocusedKey(r.key);
204
+ return;
205
+ }
206
+ }, Oe = (a) => {
207
+ if (!(!a.currentTarget.contains(a.target) || !o.current || !document.activeElement))
208
+ switch (a.key) {
209
+ case "Tab":
210
+ if (l === "tab") {
211
+ let f = I(o.current, {
212
+ tabbable: !0
213
+ });
214
+ f.currentNode = document.activeElement, (a.shiftKey ? f.previousNode() : f.nextNode()) && a.stopPropagation();
215
+ }
216
+ }
217
+ }, Ie = te(r.props), Ue = M.hasAction ? Ie : {}, O = E(R, Ue, {
218
+ role: "row",
219
+ onKeyDownCapture: Ve,
220
+ onKeyDown: Oe,
221
+ onFocus: _e,
222
+ // 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),
223
+ "aria-label": r.textValue || void 0,
224
+ "aria-selected": e.selectionManager.canSelectItem(r.key) ? e.selectionManager.isSelected(r.key) : void 0,
225
+ "aria-disabled": e.selectionManager.isDisabled(r.key) || void 0,
226
+ "aria-labelledby": d && r.textValue ? `${U(e, r.key)} ${d}` : void 0,
227
+ id: U(e, r.key)
228
+ });
229
+ if (n) {
230
+ let { collection: a } = e, f = [
231
+ ...a
232
+ ];
233
+ O["aria-rowindex"] = f.find((v) => v.type === "section") ? [
234
+ ...a.getKeys()
235
+ ].filter((v) => {
236
+ var b;
237
+ return ((b = a.getItem(v)) === null || b === void 0 ? void 0 : b.type) !== "section";
238
+ }).findIndex((v) => v === r.key) + 1 : r.index + 1;
239
+ }
240
+ let We = {
241
+ role: "gridcell",
242
+ "aria-colindex": 1
243
+ };
244
+ return {
245
+ rowProps: {
246
+ ...E(O, k)
247
+ },
248
+ gridCellProps: We,
249
+ descriptionProps: {
250
+ id: d
251
+ },
252
+ ...M
253
+ };
254
+ }
255
+ function H(t) {
256
+ let e = null, o = null;
257
+ do
258
+ o = t.lastChild(), o && (e = o);
259
+ while (o);
260
+ return e;
261
+ }
262
+ const re = /* @__PURE__ */ new WeakMap();
263
+ function Ko(t, e, o) {
264
+ let { direction: i } = oe(), u = t.keyboardDelegate || new ao({
265
+ collection: e.collection,
266
+ ref: o,
267
+ orientation: "horizontal",
268
+ direction: i,
269
+ disabledKeys: e.disabledKeys,
270
+ disabledBehavior: e.selectionManager.disabledBehavior
271
+ }), { labelProps: r, fieldProps: n, descriptionProps: s, errorMessageProps: c } = go({
272
+ ...t,
273
+ labelElementType: "span"
274
+ }), { gridProps: m } = Ao({
275
+ ...t,
276
+ ...n,
277
+ keyboardDelegate: u,
278
+ shouldFocusWrap: !0,
279
+ linkBehavior: "override",
280
+ keyboardNavigationBehavior: "tab"
281
+ }, e, o), [l, g] = so(!1), { focusWithinProps: d } = xo({
282
+ onFocusWithinChange: g
283
+ }), $ = S(t), p = V(e.collection.size);
284
+ return Q(() => {
285
+ o.current && p.current > 0 && e.collection.size === 0 && l && o.current.focus(), p.current = e.collection.size;
286
+ }, [
287
+ e.collection.size,
288
+ l,
289
+ o
290
+ ]), re.set(e, {
291
+ onRemove: t.onRemove
292
+ }), {
293
+ gridProps: E(m, $, {
294
+ role: e.collection.size ? "grid" : "group",
295
+ "aria-atomic": !1,
296
+ "aria-relevant": "additions",
297
+ "aria-live": l ? "polite" : "off",
298
+ ...d,
299
+ ...n
300
+ }),
301
+ labelProps: r,
302
+ descriptionProps: s,
303
+ errorMessageProps: c
304
+ };
305
+ }
306
+ var ae = {};
307
+ ae = {
308
+ removeButtonLabel: "إزالة",
309
+ removeDescription: "اضغط على مفتاح DELETE لإزالة علامة."
310
+ };
311
+ var ie = {};
312
+ ie = {
313
+ removeButtonLabel: "Премахване",
314
+ removeDescription: "Натиснете Delete, за да премахнете маркера."
315
+ };
316
+ var ne = {};
317
+ ne = {
318
+ removeButtonLabel: "Odebrat",
319
+ removeDescription: "Stisknutím klávesy Delete odeberete značku."
320
+ };
321
+ var le = {};
322
+ le = {
323
+ removeButtonLabel: "Fjern",
324
+ removeDescription: "Tryk på Slet for at fjerne tag."
325
+ };
326
+ var ue = {};
327
+ ue = {
328
+ removeButtonLabel: "Entfernen",
329
+ removeDescription: "Auf „Löschen“ drücken, um das Tag zu entfernen."
330
+ };
331
+ var se = {};
332
+ se = {
333
+ removeButtonLabel: "Κατάργηση",
334
+ removeDescription: "Πατήστε Διαγραφή για να καταργήσετε την ετικέτα."
335
+ };
336
+ var ce = {};
337
+ ce = {
338
+ removeDescription: "Press Delete to remove tag.",
339
+ removeButtonLabel: "Remove"
340
+ };
341
+ var de = {};
342
+ de = {
343
+ removeButtonLabel: "Quitar",
344
+ removeDescription: "Pulse Eliminar para quitar la etiqueta."
345
+ };
346
+ var pe = {};
347
+ pe = {
348
+ removeButtonLabel: "Eemalda",
349
+ removeDescription: "Sildi eemaldamiseks vajutage kustutusklahvi Delete."
350
+ };
351
+ var fe = {};
352
+ fe = {
353
+ removeButtonLabel: "Poista",
354
+ removeDescription: "Poista tunniste painamalla Poista-painiketta."
355
+ };
356
+ var be = {};
357
+ be = {
358
+ removeButtonLabel: "Supprimer",
359
+ removeDescription: "Appuyez sur Supprimer pour supprimer l’étiquette."
360
+ };
361
+ var $e = {};
362
+ $e = {
363
+ removeButtonLabel: "הסר",
364
+ removeDescription: "לחץ על מחק כדי להסיר תג."
365
+ };
366
+ var me = {};
367
+ me = {
368
+ removeButtonLabel: "Ukloni",
369
+ removeDescription: "Pritisnite Delete za uklanjanje oznake."
370
+ };
371
+ var ve = {};
372
+ ve = {
373
+ removeButtonLabel: "Eltávolítás",
374
+ removeDescription: "Nyomja meg a Delete billentyűt a címke eltávolításához."
375
+ };
376
+ var ge = {};
377
+ ge = {
378
+ removeButtonLabel: "Rimuovi",
379
+ removeDescription: "Premi Elimina per rimuovere il tag."
380
+ };
381
+ var xe = {};
382
+ xe = {
383
+ removeButtonLabel: "削除",
384
+ removeDescription: "タグを削除するには、Delete キーを押します。"
385
+ };
386
+ var De = {};
387
+ De = {
388
+ removeButtonLabel: "제거",
389
+ removeDescription: "태그를 제거하려면 Delete 키를 누르십시오."
390
+ };
391
+ var ye = {};
392
+ ye = {
393
+ removeButtonLabel: "Pašalinti",
394
+ removeDescription: "Norėdami pašalinti žymą, paspauskite „Delete“ klavišą."
395
+ };
396
+ var Be = {};
397
+ Be = {
398
+ removeButtonLabel: "Noņemt",
399
+ removeDescription: "Nospiediet Delete [Dzēst], lai noņemtu tagu."
400
+ };
401
+ var Pe = {};
402
+ Pe = {
403
+ removeButtonLabel: "Fjern",
404
+ removeDescription: "Trykk på Slett for å fjerne taggen."
405
+ };
406
+ var ke = {};
407
+ ke = {
408
+ removeButtonLabel: "Verwijderen",
409
+ removeDescription: "Druk op Verwijderen om de tag te verwijderen."
410
+ };
411
+ var he = {};
412
+ he = {
413
+ removeButtonLabel: "Usuń",
414
+ removeDescription: "Naciśnij Usuń, aby usunąć znacznik."
415
+ };
416
+ var Ee = {};
417
+ Ee = {
418
+ removeButtonLabel: "Remover",
419
+ removeDescription: "Pressione Delete para remover a tag."
420
+ };
421
+ var we = {};
422
+ we = {
423
+ removeButtonLabel: "Eliminar",
424
+ removeDescription: "Prima Delete para eliminar a tag."
425
+ };
426
+ var Ce = {};
427
+ Ce = {
428
+ removeButtonLabel: "Îndepărtaţi",
429
+ removeDescription: "Apăsați pe Delete (Ștergere) pentru a elimina eticheta."
430
+ };
431
+ var Le = {};
432
+ Le = {
433
+ removeButtonLabel: "Удалить",
434
+ removeDescription: "Нажмите DELETE, чтобы удалить тег."
435
+ };
436
+ var Ae = {};
437
+ Ae = {
438
+ removeButtonLabel: "Odstrániť",
439
+ removeDescription: "Ak chcete odstrániť značku, stlačte kláves Delete."
440
+ };
441
+ var Me = {};
442
+ Me = {
443
+ removeButtonLabel: "Odstrani",
444
+ removeDescription: "Pritisnite Delete, da odstranite oznako."
445
+ };
446
+ var Ke = {};
447
+ Ke = {
448
+ removeButtonLabel: "Ukloni",
449
+ removeDescription: "Pritisnite Obriši da biste uklonili oznaku."
450
+ };
451
+ var Fe = {};
452
+ Fe = {
453
+ removeButtonLabel: "Ta bort",
454
+ removeDescription: "Tryck på Radera för att ta bort taggen."
455
+ };
456
+ var Se = {};
457
+ Se = {
458
+ removeButtonLabel: "Kaldır",
459
+ removeDescription: "Etiketi kaldırmak için Sil tuşuna basın."
460
+ };
461
+ var Ne = {};
462
+ Ne = {
463
+ removeButtonLabel: "Вилучити",
464
+ removeDescription: "Натисніть Delete, щоб вилучити тег."
465
+ };
466
+ var Te = {};
467
+ Te = {
468
+ removeButtonLabel: "删除",
469
+ removeDescription: "按下“删除”以删除标记。"
470
+ };
471
+ var ze = {};
472
+ ze = {
473
+ removeButtonLabel: "移除",
474
+ removeDescription: "按 Delete 鍵以移除標記。"
475
+ };
476
+ var Re = {};
477
+ Re = {
478
+ "ar-AE": ae,
479
+ "bg-BG": ie,
480
+ "cs-CZ": ne,
481
+ "da-DK": le,
482
+ "de-DE": ue,
483
+ "el-GR": se,
484
+ "en-US": ce,
485
+ "es-ES": de,
486
+ "et-EE": pe,
487
+ "fi-FI": fe,
488
+ "fr-FR": be,
489
+ "he-IL": $e,
490
+ "hr-HR": me,
491
+ "hu-HU": ve,
492
+ "it-IT": ge,
493
+ "ja-JP": xe,
494
+ "ko-KR": De,
495
+ "lt-LT": ye,
496
+ "lv-LV": Be,
497
+ "nb-NO": Pe,
498
+ "nl-NL": ke,
499
+ "pl-PL": he,
500
+ "pt-BR": Ee,
501
+ "pt-PT": we,
502
+ "ro-RO": Ce,
503
+ "ru-RU": Le,
504
+ "sk-SK": Ae,
505
+ "sl-SI": Me,
506
+ "sr-SP": Ke,
507
+ "sv-SE": Fe,
508
+ "tr-TR": Se,
509
+ "uk-UA": Ne,
510
+ "zh-CN": Te,
511
+ "zh-TW": ze
512
+ };
513
+ function Fo(t) {
514
+ return t && t.__esModule ? t.default : t;
515
+ }
516
+ function So(t, e, o) {
517
+ let { item: i } = t, u = Po(Fo(Re), "@react-aria/tag"), r = J(), { onRemove: n } = re.get(e) || {}, { rowProps: s, gridCellProps: c, ...m } = Mo({
518
+ node: i
519
+ }, e, o), { descriptionProps: l, ...g } = m, d = e.disabledKeys.has(i.key) || i.props.isDisabled, $ = (M) => {
520
+ if (M.key === "Delete" || M.key === "Backspace") {
521
+ if (d) return;
522
+ M.preventDefault(), e.selectionManager.isSelected(i.key) ? n == null || n(new Set(e.selectionManager.selectedKeys)) : n == null || n(/* @__PURE__ */ new Set([
523
+ i.key
524
+ ]));
525
+ }
526
+ }, p = po();
527
+ p === "virtual" && typeof window < "u" && "ontouchstart" in window && (p = "pointer");
528
+ let k = n && (p === "keyboard" || p === "virtual") ? u.format("removeDescription") : "", x = Do(k), y = i.key === e.selectionManager.focusedKey, w = e.selectionManager.focusedKey != null, C = -1;
529
+ !d && (y || !w) && (C = 0);
530
+ let B = S(i.props), A = te(i.props), { focusableProps: R } = yo({
531
+ isDisabled: d
532
+ }, o);
533
+ return {
534
+ removeButtonProps: {
535
+ "aria-label": u.format("removeButtonLabel"),
536
+ "aria-labelledby": `${r} ${s.id}`,
537
+ isDisabled: d,
538
+ id: r,
539
+ onPress: () => n ? n(/* @__PURE__ */ new Set([
540
+ i.key
541
+ ])) : null
542
+ },
543
+ rowProps: E(R, s, B, A, {
544
+ tabIndex: C,
545
+ onKeyDown: n ? $ : void 0,
546
+ "aria-describedby": x["aria-describedby"]
547
+ }),
548
+ gridCellProps: E(c, {
549
+ "aria-errormessage": t["aria-errormessage"],
550
+ "aria-label": t["aria-label"]
551
+ }),
552
+ ...g,
553
+ allowsRemoving: !!n
554
+ };
555
+ }
556
+ const No = /* @__PURE__ */ Z(null), je = /* @__PURE__ */ Z(null), To = /* @__PURE__ */ Y(function(e, o) {
557
+ return [e, o] = j(e, o, No), /* @__PURE__ */ D.createElement(Ze, {
558
+ content: e.children
559
+ }, (i) => /* @__PURE__ */ D.createElement(zo, {
560
+ props: e,
561
+ forwardedRef: o,
562
+ collection: i
563
+ }));
564
+ });
565
+ function zo({ props: t, forwardedRef: e, collection: o }) {
566
+ let i;
567
+ [i] = j({}, null, io);
568
+ let { filter: u, ...r } = i, { shouldUseVirtualFocus: n, disallowTypeAhead: s, ...c } = r || {}, m = V(null), [l, g] = ro(!t["aria-label"] && !t["aria-labelledby"]), d = ko({
569
+ ...t,
570
+ children: void 0,
571
+ collection: o
572
+ }), $ = ho(d, u), p = S(t, {
573
+ global: !0
574
+ }), k = Object.fromEntries(Object.entries(p).map(([A]) => [
575
+ A,
576
+ void 0
577
+ ])), { gridProps: x, labelProps: y, descriptionProps: w, errorMessageProps: C } = Ko({
578
+ ...t,
579
+ ...k,
580
+ ...c,
581
+ label: g
582
+ }, $, m);
583
+ var B;
584
+ return /* @__PURE__ */ D.createElement("div", {
585
+ ...p,
586
+ ref: e,
587
+ slot: t.slot || void 0,
588
+ className: (B = t.className) !== null && B !== void 0 ? B : "react-aria-TagGroup",
589
+ style: t.style
590
+ }, /* @__PURE__ */ D.createElement(X, {
591
+ values: [
592
+ [
593
+ Xe,
594
+ {
595
+ ...y,
596
+ elementType: "span",
597
+ ref: l
598
+ }
599
+ ],
600
+ [
601
+ je,
602
+ {
603
+ ...x,
604
+ ref: m
605
+ }
606
+ ],
607
+ [
608
+ z,
609
+ $
610
+ ],
611
+ [
612
+ no,
613
+ {
614
+ slots: {
615
+ description: w,
616
+ errorMessage: C
617
+ }
618
+ }
619
+ ]
620
+ ]
621
+ }, t.children));
622
+ }
623
+ const Ro = /* @__PURE__ */ Y(function(e, o) {
624
+ return T(z) ? /* @__PURE__ */ D.createElement(jo, {
625
+ props: e,
626
+ forwardedRef: o
627
+ }) : /* @__PURE__ */ D.createElement(eo, e);
628
+ });
629
+ function jo({ props: t, forwardedRef: e }) {
630
+ let o = T(z), { CollectionRoot: i } = T(G), [u, r] = j({}, e, je), { focusProps: n, isFocused: s, isFocusVisible: c } = ee(), m = {
631
+ isEmpty: o.collection.size === 0,
632
+ isFocused: s,
633
+ isFocusVisible: c,
634
+ state: o
635
+ }, l = q({
636
+ className: t.className,
637
+ style: t.style,
638
+ defaultClassName: "react-aria-TagList",
639
+ values: m
640
+ }), g = oo(o.selectionManager.focusedKey), d = S(t, {
641
+ global: !0
642
+ });
643
+ return /* @__PURE__ */ D.createElement("div", {
644
+ ...E(d, l, u, n),
645
+ ref: r,
646
+ "data-empty": o.collection.size === 0 || void 0,
647
+ "data-focused": s || void 0,
648
+ "data-focus-visible": c || void 0
649
+ }, o.collection.size === 0 && t.renderEmptyState ? t.renderEmptyState(m) : /* @__PURE__ */ D.createElement(i, {
650
+ collection: o.collection,
651
+ persistedKeys: g
652
+ }));
653
+ }
654
+ const Vo = /* @__PURE__ */ Je(Qe, (t, e, o) => {
655
+ let i = T(z), u = to(e), { focusProps: r, isFocusVisible: n } = ee({
656
+ within: !1
657
+ }), { rowProps: s, gridCellProps: c, removeButtonProps: m, ...l } = So({
658
+ item: o
659
+ }, i, u), { hoverProps: g, isHovered: d } = fo({
660
+ isDisabled: !l.allowsSelection,
661
+ onHoverStart: o.props.onHoverStart,
662
+ onHoverChange: o.props.onHoverChange,
663
+ onHoverEnd: o.props.onHoverEnd
664
+ }), $ = q({
665
+ ...t,
666
+ id: void 0,
667
+ children: o.rendered,
668
+ defaultClassName: "react-aria-Tag",
669
+ values: {
670
+ ...l,
671
+ isFocusVisible: n,
672
+ isHovered: d,
673
+ selectionMode: i.selectionManager.selectionMode,
674
+ selectionBehavior: i.selectionManager.selectionBehavior
675
+ }
676
+ });
677
+ Q(() => {
678
+ !o.textValue && process.env.NODE_ENV !== "production" && console.warn("A `textValue` prop is required for <Tag> elements with non-plain text children for accessibility.");
679
+ }, [
680
+ o.textValue
681
+ ]);
682
+ let p = S(t, {
683
+ global: !0
684
+ });
685
+ return delete p.id, delete p.onClick, /* @__PURE__ */ D.createElement("div", {
686
+ ref: u,
687
+ ...E(p, $, s, r, g),
688
+ "data-selected": l.isSelected || void 0,
689
+ "data-disabled": l.isDisabled || void 0,
690
+ "data-hovered": d || void 0,
691
+ "data-focused": l.isFocused || void 0,
692
+ "data-focus-visible": n || void 0,
693
+ "data-pressed": l.isPressed || void 0,
694
+ "data-allows-removing": l.allowsRemoving || void 0,
695
+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
696
+ }, /* @__PURE__ */ D.createElement("div", {
697
+ ...c,
698
+ style: {
699
+ display: "contents"
700
+ }
701
+ }, /* @__PURE__ */ D.createElement(X, {
702
+ values: [
703
+ [
704
+ qe,
705
+ {
706
+ slots: {
707
+ remove: m
708
+ }
709
+ }
710
+ ],
711
+ [
712
+ G,
713
+ Ye
714
+ ]
715
+ ]
716
+ }, $.children)));
717
+ }), _o = "_button_5i8ej_1", Oo = "_success_5i8ej_16", Io = "_warning_5i8ej_17", Uo = "_info_5i8ej_18", Wo = "_important_5i8ej_19", Ho = "_tag_5i8ej_31", Go = "_dismissable_5i8ej_73", qo = "_tagText_5i8ej_81", Xo = "_tagList_5i8ej_90", P = {
718
+ button: _o,
719
+ success: Oo,
720
+ warning: Io,
721
+ info: Uo,
722
+ important: Wo,
723
+ tag: Ho,
724
+ dismissable: Go,
725
+ tagText: qo,
726
+ tagList: Xo
727
+ }, Et = ({ children: t, ...e }) => /* @__PURE__ */ N(To, { ...e, children: /* @__PURE__ */ N(Ro, { className: P.tagList, children: t }) }), wt = ({
728
+ children: t,
729
+ dismissable: e,
730
+ className: o,
731
+ type: i,
732
+ ...u
733
+ }) => /* @__PURE__ */ Ge(
734
+ Vo,
735
+ {
736
+ className: wo(
737
+ P.tag,
738
+ e && P.dismissable,
739
+ i === "success" && P.success,
740
+ i === "info" && P.info,
741
+ i === "important" && P.important,
742
+ i === "warning" && P.warning,
743
+ o
744
+ ),
745
+ ...u,
746
+ children: [
747
+ /* @__PURE__ */ N("div", { className: P.tagText, children: t }),
748
+ e && /* @__PURE__ */ N(
749
+ Eo,
750
+ {
751
+ variant: "icon",
752
+ size: "medium",
753
+ className: P.button,
754
+ slot: "remove",
755
+ children: /* @__PURE__ */ N(Co, { size: 20 })
756
+ }
757
+ )
758
+ ]
759
+ }
760
+ );
761
+ export {
762
+ Ro as $,
763
+ wt as T,
764
+ Et as a
765
+ };