@midas-ds/components 10.3.0 → 10.4.1

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 (409) hide show
  1. package/AccordionItem-D2QYNgZS.cjs +1 -0
  2. package/{AccordionItem-ChHpW8EW.js → AccordionItem-oeN1Cc09.js} +41 -39
  3. package/{Breadcrumbs-CwDUNIqF.js → Breadcrumbs-D8ad6xvL.js} +77 -65
  4. package/Breadcrumbs-DkJIkGG5.cjs +1 -0
  5. package/{Button-DjBChs7s.js → Button-CFYdzG0H.js} +24 -23
  6. package/Button-DExMoP5f.cjs +1 -0
  7. package/{Button-BoJl6JGM.cjs → Button-Dq6ugqxT.cjs} +1 -1
  8. package/{Button-Csih3v23.js → Button-DtSrCAf6.js} +2 -2
  9. package/Button.module-D-mPLRxe.js +14 -0
  10. package/Button.module-goCEz5qs.cjs +1 -0
  11. package/CHANGELOG.md +41 -0
  12. package/{Card-yrtGzt70.js → Card-BzJ_OEe6.js} +4 -4
  13. package/{Card-0G0mj9q5.cjs → Card-cdL5669N.cjs} +1 -1
  14. package/{CharacterCounter-CHcTDHO-.cjs → CharacterCounter-DSFBv3Rw.cjs} +1 -1
  15. package/{CharacterCounter-BL_nZHya.js → CharacterCounter-cLhqPZlk.js} +4 -4
  16. package/Checkbox-Co3h0hur.cjs +1 -0
  17. package/{Checkbox-5HINZdGu.js → Checkbox-LuUwTZ3W.js} +69 -68
  18. package/CheckboxGroup-CcTfzurp.js +160 -0
  19. package/CheckboxGroup-DWxQTABg.cjs +1 -0
  20. package/{Collection-Brgjpkne.js → Collection--62xKPm9.js} +17 -16
  21. package/Collection-BtBX5IMY.cjs +1 -0
  22. package/ColorSchemeSwitch-owUryjYz.cjs +16 -0
  23. package/{ColorSchemeSwitch-BpzQ7g0b.js → ColorSchemeSwitch-y8qKczjQ.js} +53 -36
  24. package/{ComboBox-CVDyp2a-.js → ComboBox-CZyP8Dfh.js} +310 -299
  25. package/ComboBox-Dg2xhkLC.cjs +1 -0
  26. package/{DateField-DeDhiYnW.cjs → DateField-1w5J_iyF.cjs} +1 -1
  27. package/{DateField-DhU3q-rG.js → DateField-BTROlenJ.js} +4 -4
  28. package/DateInputDivider-3BvwXXa9.cjs +1 -0
  29. package/{DateInputDivider-CF4xWsMT.js → DateInputDivider-Bi5N-C0c.js} +90 -86
  30. package/DateRangePicker-CX3830ZF.cjs +6 -0
  31. package/{DateRangePicker-ziD1_k1W.js → DateRangePicker-DmZP9laM.js} +120 -117
  32. package/Dialog-0ZBhhPyd.js +221 -0
  33. package/Dialog-CSnN6baf.cjs +1 -0
  34. package/{Dialog-D14MbJ7o.js → Dialog-CtVrVuMr.js} +101 -98
  35. package/Dialog-DnMwnqiC.cjs +1 -0
  36. package/DragAndDrop-BoEd260f.cjs +1 -0
  37. package/{DragAndDrop-o3ruz_SR.js → DragAndDrop-DkSTL28C.js} +2 -2
  38. package/{Dropdown-Df58j43I.js → Dropdown-BEAMfAxj.js} +19 -19
  39. package/Dropdown-By91MEV2.cjs +6 -0
  40. package/FieldError-B3YFj-an.js +23 -0
  41. package/FieldError-BbR-29BM.js +28 -0
  42. package/FieldError-MVsU-Mgw.cjs +1 -0
  43. package/FieldError-bRTpchvr.cjs +1 -0
  44. package/{FileUpload-D6qoEAjn.js → FileUpload-DvQdIZ6k.js} +496 -475
  45. package/{FileUpload-CxCOtyB9.cjs → FileUpload-vf0oJd0K.cjs} +2 -2
  46. package/{FocusScope-CxkURfoc.js → FocusScope-D_hwN_TJ.js} +25 -24
  47. package/FocusScope-vcXLOQiu.cjs +1 -0
  48. package/Group-CpkUzEAs.js +45 -0
  49. package/Group-DOpbdoAi.cjs +1 -0
  50. package/{Heading-mHhCbGjY.cjs → Heading-CKTR4sOz.cjs} +1 -1
  51. package/{Heading-BFtiin0g.js → Heading-NxtGri2i.js} +1 -1
  52. package/InfoBanner-CzwbOdRG.cjs +1 -0
  53. package/{InfoBanner-BLM-TJJ6.js → InfoBanner-yj90XVEP.js} +47 -39
  54. package/{Input-BTzwcf72.js → Input-LnjmFI1x.js} +13 -12
  55. package/Input-MJji5hhq.cjs +1 -0
  56. package/Label-D2GmP8_2.js +78 -0
  57. package/Label-E3LhQfNv.cjs +1 -0
  58. package/Layout-BMNgqjXv.js +498 -0
  59. package/Layout-Ri7XQHFp.cjs +16 -0
  60. package/Link-BCVI5W_i.js +59 -0
  61. package/{Link-yNO2-sqx.js → Link-Bn8V3ZI0.js} +8 -7
  62. package/Link-CVvnCOGP.cjs +6 -0
  63. package/Link-CidjjqHb.cjs +1 -0
  64. package/LinkButton-B6AWNiRn.cjs +6 -0
  65. package/LinkButton-Cui-gvAk.js +69 -0
  66. package/ListBox-BCz5-23H.cjs +1 -0
  67. package/{ListBox-GnVK_Pdq.js → ListBox-C-isJIHL.js} +101 -99
  68. package/{ListBoxButton-D_J3jlP0.js → ListBoxButton-C_krklY0.js} +1 -1
  69. package/{ListBoxButton-DPBrtXyv.cjs → ListBoxButton-DNm3gvcT.cjs} +1 -1
  70. package/{ListBoxSection-C0BGnpB4.js → ListBoxSection-BVR2xtOH.js} +9 -9
  71. package/ListBoxSection-CfQZoURJ.cjs +1 -0
  72. package/{ListKeyboardDelegate-DTg9h4v6.cjs → ListKeyboardDelegate-CPsZ7D83.cjs} +1 -1
  73. package/{ListKeyboardDelegate-DNI8GQtX.js → ListKeyboardDelegate-CY6t6y1t.js} +3 -3
  74. package/LocalizedStringFormatter-C0C54hjf.cjs +1 -0
  75. package/LocalizedStringFormatter-D-4Qyql0.js +77 -0
  76. package/Logo-BpH0HC91.cjs +1 -0
  77. package/{Logo-BIrOEINM.js → Logo-ME4ffCue.js} +34 -26
  78. package/{OverlayArrow-CDLXPTew.js → OverlayArrow-CfhSYL46.js} +57 -56
  79. package/OverlayArrow-DpZ1FqOd.cjs +1 -0
  80. package/{Popover-BGGXeD54.js → Popover-C8VY1YKi.js} +2 -2
  81. package/{Popover-CqNWzPf-.cjs → Popover-CnAsw3wI.cjs} +1 -1
  82. package/{ProgressBar-DMSg-Prr.js → ProgressBar-Bpq-hyZa.js} +2 -2
  83. package/{ProgressBar-Jbg28j2a.cjs → ProgressBar-D4lOEhAh.cjs} +1 -1
  84. package/{Radio-Cz29wPXd.js → Radio-BPcq9kW5.js} +50 -47
  85. package/Radio-CwNbUGah.cjs +1 -0
  86. package/{RangeCalendar-RAlAHlNL.js → RangeCalendar-6miAJVoO.js} +349 -342
  87. package/RangeCalendar-CAI1PRDo.cjs +11 -0
  88. package/SSRProvider-40TXmsUG.js +50 -0
  89. package/SSRProvider-Bc-sMhsT.cjs +1 -0
  90. package/SearchField-CDyD5iWr.js +371 -0
  91. package/SearchField-DEoGi9xv.cjs +6 -0
  92. package/Select-B2wYDnAU.js +665 -0
  93. package/Select-nRN944QZ.cjs +1 -0
  94. package/SelectionManager-D0jYUYcy.cjs +1 -0
  95. package/{SelectionManager-B4ORduja.js → SelectionManager-zsWy3vsd.js} +91 -90
  96. package/{Separator-DECIYLtZ.cjs → Separator-CxF-3jhR.cjs} +1 -1
  97. package/{Separator-Cu9fYKUM.js → Separator-Dn5LYN5I.js} +4 -4
  98. package/Spinner-VSyPhiJ9.js +51 -0
  99. package/Spinner-vof0Y9Hh.cjs +6 -0
  100. package/TabList-CheXtBJm.cjs +1 -0
  101. package/TabList-D0qzIjSx.js +435 -0
  102. package/Table-DAhnYYIA.cjs +16 -0
  103. package/{Table-F4oYBtUM.js → Table-zKvjzd9t.js} +66 -64
  104. package/{Tag-Du7GvSv2.js → Tag-BoqT5nbh.js} +142 -140
  105. package/Tag-t-aJVo3W.cjs +1 -0
  106. package/Text-92cPh38G.js +15 -0
  107. package/{Text-B2K-BJKQ.cjs → Text-CfcjRtke.cjs} +1 -1
  108. package/{Text-3MNwRMpI.cjs → Text-DBHWi5gA.cjs} +1 -1
  109. package/{Text-jWWg0B20.js → Text-DlKqpvSa.js} +1 -1
  110. package/TextArea-B5und61h.cjs +1 -0
  111. package/TextArea-Pxr-eLXe.js +119 -0
  112. package/TextField-BdK9KEQ5.cjs +1 -0
  113. package/{TextField-C-hTPukq.js → TextField-ByDJkig9.js} +23 -22
  114. package/Toast-DdmSvNaO.cjs +1 -0
  115. package/{Toast-Btg21Xge.js → Toast-DfKiA5hp.js} +79 -72
  116. package/ToggleButtonGroup-DZ_wo0qx.cjs +1 -0
  117. package/{ToggleButtonGroup-B5yz1tm2.js → ToggleButtonGroup-DhlfvYGg.js} +47 -46
  118. package/{Tooltip-CMLs7WMw.js → Tooltip-5mLWn_wO.js} +29 -27
  119. package/Tooltip-pN5W3IK6.cjs +1 -0
  120. package/{VisuallyHidden-ZCYf65q4.js → VisuallyHidden-CYfmTSCD.js} +2 -2
  121. package/VisuallyHidden-Doyzl0F7.cjs +1 -0
  122. package/accordion/index.cjs +1 -1
  123. package/accordion/index.js +1 -1
  124. package/arrow-right-BGd86zzR.cjs +6 -0
  125. package/{arrow-right-Dg8sttFO.js → arrow-right-uemUGIg8.js} +5 -5
  126. package/assets/Button.css +1 -1
  127. package/assets/Checkbox.css +1 -1
  128. package/assets/FileUpload.css +1 -1
  129. package/assets/LinkButton.css +1 -1
  130. package/assets/RangeCalendar.css +1 -1
  131. package/assets/SearchField.css +1 -1
  132. package/assets/Spinner.css +1 -1
  133. package/assets/TabList.css +1 -0
  134. package/assets/Tag.css +1 -1
  135. package/breadcrumbs/Breadcrumbs.d.ts +11 -7
  136. package/breadcrumbs/index.cjs +1 -1
  137. package/breadcrumbs/index.d.ts +1 -1
  138. package/breadcrumbs/index.js +1 -1
  139. package/button/index.cjs +1 -1
  140. package/button/index.js +1 -1
  141. package/calendar/CalendarGrid.d.ts +1 -0
  142. package/calendar/index.cjs +1 -1
  143. package/calendar/index.js +1 -1
  144. package/card/Card.d.ts +1 -1
  145. package/card/index.cjs +1 -1
  146. package/card/index.js +1 -1
  147. package/character-counter/index.cjs +1 -1
  148. package/character-counter/index.js +1 -1
  149. package/check-B0aKTFe5.cjs +6 -0
  150. package/check-B5h1DvDs.js +11 -0
  151. package/checkbox/Checkbox.d.ts +3 -1
  152. package/checkbox/index.cjs +1 -1
  153. package/checkbox/index.js +2 -2
  154. package/checkbox/intl/translations.json.d.ts +2 -30
  155. package/checkbox/types.d.ts +3 -1
  156. package/chevron-down-5hFlg_lR.cjs +6 -0
  157. package/chevron-down-DmZMdOiC.js +11 -0
  158. package/{circle-check-B9HYcH7Z.js → circle-check-BErh6TKu.js} +9 -9
  159. package/circle-check-OVUGxwp9.cjs +11 -0
  160. package/color-scheme-switch/ColorSchemeSwitch.d.ts +1 -0
  161. package/color-scheme-switch/index.cjs +1 -1
  162. package/color-scheme-switch/index.js +1 -1
  163. package/color-scheme-switch/intl/translations.json.d.ts +15 -0
  164. package/combobox/index.cjs +1 -1
  165. package/combobox/index.js +1 -1
  166. package/combobox/intl/translations.json.d.ts +11 -0
  167. package/{context-C81gPYvC.js → context-CGNJ3grH.js} +1 -1
  168. package/context-Df3XbgBG.cjs +1 -0
  169. package/createLucideIcon-CTVXwe6i.cjs +21 -0
  170. package/createLucideIcon-XRdN60yz.js +94 -0
  171. package/date-field/index.cjs +1 -1
  172. package/date-field/index.js +2 -2
  173. package/date-picker/index.cjs +1 -1
  174. package/date-picker/index.js +1 -1
  175. package/dropdown/index.cjs +1 -1
  176. package/dropdown/index.js +1 -1
  177. package/field-error/index.cjs +1 -1
  178. package/field-error/index.js +1 -1
  179. package/file-upload/FileUpload.d.ts +1 -0
  180. package/file-upload/index.cjs +1 -1
  181. package/file-upload/index.js +1 -1
  182. package/file-upload/intl/translations.json.d.ts +17 -0
  183. package/{getScrollParent-BhFcYrwL.js → getScrollParent-CT_L9LUr.js} +1 -1
  184. package/{getScrollParent-DDJu9WHU.cjs → getScrollParent-CsZ9ciml.cjs} +1 -1
  185. package/heading/index.cjs +1 -1
  186. package/heading/index.js +1 -1
  187. package/index.cjs +1 -1
  188. package/index.js +100 -97
  189. package/{info-BZwphdye.js → info-CPK1vbOJ.js} +5 -5
  190. package/info-Dj6SyPex.cjs +6 -0
  191. package/info-banner/index.cjs +1 -1
  192. package/info-banner/index.js +1 -1
  193. package/info-banner/intl/translations.json.d.ts +11 -0
  194. package/label/index.cjs +1 -1
  195. package/label/index.js +1 -1
  196. package/label/intl/translations.json.d.ts +11 -0
  197. package/layout/Layout.d.ts +1 -0
  198. package/layout/context/LayoutContext.d.ts +1 -0
  199. package/layout/index.cjs +1 -1
  200. package/layout/index.js +1 -1
  201. package/layout/intl/translations.json.d.ts +23 -0
  202. package/link/Link.d.ts +1 -1
  203. package/link/index.cjs +1 -1
  204. package/link/index.js +2 -2
  205. package/link-button/LinkButton.d.ts +1 -1
  206. package/link-button/index.cjs +1 -1
  207. package/link-button/index.js +2 -2
  208. package/list-box/index.cjs +1 -1
  209. package/list-box/index.js +2 -2
  210. package/logo/index.cjs +1 -1
  211. package/logo/index.js +1 -1
  212. package/logo/intl/translations.json.d.ts +11 -0
  213. package/mergeProps-B5KXZAI3.cjs +1 -0
  214. package/mergeProps-C1U1OIeJ.js +115 -0
  215. package/modal/index.cjs +1 -1
  216. package/modal/index.js +2 -2
  217. package/modal/intl/translations.json.d.ts +11 -0
  218. package/package.json +1 -1
  219. package/popover/index.cjs +1 -1
  220. package/popover/index.js +1 -1
  221. package/progress-bar/index.cjs +1 -1
  222. package/progress-bar/index.js +1 -1
  223. package/radio/Radio.d.ts +1 -4
  224. package/radio/index.cjs +1 -1
  225. package/radio/index.js +1 -1
  226. package/{scrollIntoView-Hwb_aaNf.js → scrollIntoView-BLnsPvFA.js} +1 -1
  227. package/scrollIntoView-joIyo-Jt.cjs +1 -0
  228. package/search-field/index.cjs +1 -1
  229. package/search-field/index.js +1 -1
  230. package/search-field/intl/translations.json.d.ts +11 -0
  231. package/select/index.cjs +1 -1
  232. package/select/index.js +1 -1
  233. package/select/intl/translations.json.d.ts +17 -0
  234. package/spinner/Spinner.d.ts +1 -0
  235. package/spinner/index.cjs +1 -1
  236. package/spinner/index.js +1 -1
  237. package/spinner/intl/translations.json.d.ts +11 -0
  238. package/{square-arrow-out-up-right-BkyqV2PN.js → square-arrow-out-up-right-ok0A3Ovo.js} +4 -4
  239. package/square-arrow-out-up-right-xCFdJTzY.cjs +6 -0
  240. package/table/index.cjs +1 -1
  241. package/table/index.js +1 -1
  242. package/tabs/Tab.d.ts +4 -0
  243. package/tabs/TabList.d.ts +3 -0
  244. package/tabs/TabPanel.d.ts +4 -0
  245. package/tabs/Tabs.d.ts +11 -5
  246. package/tabs/index.cjs +1 -1
  247. package/tabs/index.d.ts +3 -0
  248. package/tabs/index.js +5 -2
  249. package/tag/index.cjs +1 -1
  250. package/tag/index.js +1 -1
  251. package/text/index.cjs +1 -1
  252. package/text/index.js +1 -1
  253. package/textfield/index.cjs +1 -1
  254. package/textfield/index.js +1 -1
  255. package/textfield/intl/translations.json.d.ts +0 -72
  256. package/theme/index.cjs +1 -1
  257. package/theme/index.d.ts +5 -0
  258. package/theme/index.js +2 -2
  259. package/theme/tokens.d.ts +5 -0
  260. package/toast/Toast.d.ts +5 -2
  261. package/toast/index.cjs +1 -1
  262. package/toast/index.js +1 -1
  263. package/toggle-button/index.cjs +1 -1
  264. package/toggle-button/index.js +1 -1
  265. package/{tokens-p6pg1Cea.cjs → tokens-BghDnMdO.cjs} +1 -1
  266. package/{tokens-xp-7KMK7.js → tokens-fEwCQXDv.js} +16 -11
  267. package/tooltip/index.cjs +1 -1
  268. package/tooltip/index.js +1 -1
  269. package/{triangle-alert-wxyxspAl.js → triangle-alert-B_qAPmWC.js} +5 -5
  270. package/triangle-alert-BviJNFjf.cjs +6 -0
  271. package/{useButton-B8dB9sot.js → useButton-1-Jf-oHj.js} +3 -3
  272. package/useButton-D60q0SQw.cjs +1 -0
  273. package/{useDateFormatter-CnxoJ4jF.cjs → useDateFormatter-BJBt0jk_.cjs} +1 -1
  274. package/{useDateFormatter-EHm4auIg.js → useDateFormatter-BVCkxVdw.js} +2 -2
  275. package/{useEvent-IsD2Awnh.js → useEvent-CigwyJOw.js} +3 -3
  276. package/useEvent-DPxMu-X9.cjs +1 -0
  277. package/{useField-DvpGZkw_.js → useField-BEBXv5Mh.js} +4 -4
  278. package/useField-D1UkzeaI.cjs +1 -0
  279. package/{useFilter-CUq74PQ2.js → useFilter-CousKe2K.js} +1 -1
  280. package/{useFilter-BTgDWHVx.cjs → useFilter-e2oIVF_O.cjs} +1 -1
  281. package/useFocusRing-B-A1OLhU.cjs +1 -0
  282. package/useFocusRing-DOfBqnUN.js +33 -0
  283. package/useFocusWithin-CG8mAt2D.cjs +1 -0
  284. package/useFocusWithin-T1ifEM_s.js +54 -0
  285. package/{useFocusable-C8uh8K4g.js → useFocusable-ChPA2Jc7.js} +20 -18
  286. package/useFocusable-D7I1ujkW.cjs +1 -0
  287. package/useFormValidation-BlFGdPZB.cjs +1 -0
  288. package/{useFormValidation-BIGzfO9h.js → useFormValidation-BzzruZKm.js} +2 -2
  289. package/{useHasTabbableChild-C-1mZUQe.js → useHasTabbableChild-BE81d_ab.js} +2 -2
  290. package/useHasTabbableChild-CoQRpNbC.cjs +1 -0
  291. package/useHighlightSelectionDescription-BfR_vGOe.cjs +1 -0
  292. package/{useHighlightSelectionDescription-CnBDT86u.js → useHighlightSelectionDescription-D73hrkmn.js} +5 -5
  293. package/useHover-BE_XKZKe.cjs +1 -0
  294. package/useHover-DQvJ3Y-W.js +262 -0
  295. package/useLabels-CSU0kbtJ.cjs +1 -0
  296. package/{useLabels-BDwkBYbE.js → useLabels-LrKQiY11.js} +1 -1
  297. package/{useListState-CrZFZffI.js → useListState-CebsX_1d.js} +1 -1
  298. package/{useListState-Bx8u4IFG.cjs → useListState-DymkJGDF.cjs} +1 -1
  299. package/useLocalizedStringFormatter-BO2iZEL0.cjs +1 -0
  300. package/useLocalizedStringFormatter-BiX5BTlb.cjs +1 -0
  301. package/useLocalizedStringFormatter-CL9MUZ8A.js +22 -0
  302. package/useLocalizedStringFormatter-N0AyjzbM.js +25 -0
  303. package/usePress-BooY_CAy.cjs +7 -0
  304. package/{usePress-CNjmDzap.js → usePress-DuR4pVsE.js} +129 -128
  305. package/{useSingleSelectListState-0AGHxvy3.js → useSingleSelectListState-BLXvGjLI.js} +1 -1
  306. package/{useSingleSelectListState-Cl3KV5E1.cjs → useSingleSelectListState-BPhlCU26.cjs} +1 -1
  307. package/{useTextField-Cw-33OP_.js → useTextField-C-sUypsx.js} +8 -8
  308. package/useTextField-DnRrCg5o.cjs +1 -0
  309. package/utils/intl/useLocalizedStringFormatter.d.ts +2 -0
  310. package/utils-CoCR_Fce.js +234 -0
  311. package/utils-DHNZrQmj.cjs +1 -0
  312. package/utils-DJhAJHk_.js +152 -0
  313. package/utils-Dvdohqm9.cjs +1 -0
  314. package/{x-JK7i-TQC.js → x-C2xUHAEl.js} +5 -5
  315. package/x-rV-nu490.cjs +6 -0
  316. package/AccordionItem-BGWiWjxA.cjs +0 -1
  317. package/Breadcrumbs-DtjJ1UmU.cjs +0 -1
  318. package/Button-htW9qIsS.cjs +0 -1
  319. package/Button.module-DEQtBYe5.cjs +0 -1
  320. package/Button.module-tti8HGxs.js +0 -14
  321. package/Checkbox-DqcPg5hz.cjs +0 -1
  322. package/CheckboxGroup-BBrSMuDY.cjs +0 -1
  323. package/CheckboxGroup-CLgixk2p.js +0 -243
  324. package/Collection-BIDsXNhi.cjs +0 -1
  325. package/ColorSchemeSwitch-C-qWuqkU.cjs +0 -16
  326. package/ComboBox-CWJUg9Xx.cjs +0 -1
  327. package/DateInputDivider-ADvOavHw.cjs +0 -1
  328. package/DateRangePicker-BsAHhy99.cjs +0 -6
  329. package/Dialog-B8GTYbvu.cjs +0 -1
  330. package/Dialog-BOrYdX50.cjs +0 -1
  331. package/Dialog-CXNu48AC.js +0 -208
  332. package/DragAndDrop-DNth776R.cjs +0 -1
  333. package/Dropdown-CJ6My6EI.cjs +0 -6
  334. package/FieldError-CAcjosk_.js +0 -46
  335. package/FieldError-CKBb2-mp.cjs +0 -1
  336. package/FocusScope-5c9SVBcR.cjs +0 -1
  337. package/Group-B6EslsHZ.js +0 -44
  338. package/Group-CgiqQHH1.cjs +0 -1
  339. package/InfoBanner-C2kTIsrB.cjs +0 -1
  340. package/Input-DKSAYvsw.cjs +0 -1
  341. package/Label-7Ybb99CE.cjs +0 -1
  342. package/Label-BwJrdqEE.js +0 -70
  343. package/Layout-1g6bMH62.cjs +0 -16
  344. package/Layout-Ey8flY7E.js +0 -468
  345. package/Link-B88l_oaE.cjs +0 -6
  346. package/Link-BQhauBuw.cjs +0 -1
  347. package/Link-DX5BbBnn.js +0 -59
  348. package/LinkButton-CBpGLETx.cjs +0 -6
  349. package/LinkButton-o6uS1XsR.js +0 -69
  350. package/ListBox-DP9M4H6R.cjs +0 -1
  351. package/ListBoxSection-BGaigBnG.cjs +0 -1
  352. package/Logo-DT2_2O43.cjs +0 -1
  353. package/OverlayArrow-D75k-EMl.cjs +0 -1
  354. package/Radio-BwqrdhQE.cjs +0 -1
  355. package/RangeCalendar-BehUaydF.cjs +0 -11
  356. package/SearchField-CxMwDeUM.cjs +0 -6
  357. package/SearchField-IlvZ3Kh6.js +0 -362
  358. package/Select-2q1iSzAX.cjs +0 -1
  359. package/Select-BVQZtoi9.js +0 -646
  360. package/SelectionManager-CwYux2h3.cjs +0 -1
  361. package/Spinner-D31SXm-U.js +0 -41
  362. package/Spinner-P35rvvsl.cjs +0 -6
  363. package/Table-B40CGLT-.cjs +0 -16
  364. package/Tabs-B4oZJkZG.js +0 -404
  365. package/Tabs-DA2qXhzb.cjs +0 -1
  366. package/Tag-DPAGmcMK.cjs +0 -1
  367. package/Text-BoXuUVVH.js +0 -15
  368. package/TextArea-C7JZ_pQd.cjs +0 -1
  369. package/TextArea-XeBCSyzl.js +0 -191
  370. package/TextField-BgNdhZi_.cjs +0 -1
  371. package/Toast-AbDA1BOs.cjs +0 -1
  372. package/ToggleButtonGroup-BFDoj0P6.cjs +0 -1
  373. package/Tooltip-DeBuBKhS.cjs +0 -1
  374. package/VisuallyHidden-CLWHbz2n.cjs +0 -1
  375. package/arrow-right-QJ2gXPKQ.cjs +0 -6
  376. package/assets/Tabs.css +0 -1
  377. package/check-CLF6Yxza.js +0 -11
  378. package/check-D_KoootC.cjs +0 -6
  379. package/chevron-down-Cd1bkzXT.js +0 -13
  380. package/chevron-down-jl83cllc.cjs +0 -6
  381. package/circle-check-BGo8gML8.cjs +0 -11
  382. package/context-DjwhtgxQ.cjs +0 -1
  383. package/createLucideIcon-Cg_wkoIA.cjs +0 -21
  384. package/createLucideIcon-DeWljiyi.js +0 -79
  385. package/info-CIEIENo6.cjs +0 -6
  386. package/scrollIntoView-C8doLzDd.cjs +0 -1
  387. package/square-arrow-out-up-right-V4Gd08uI.cjs +0 -6
  388. package/triangle-alert-DJW8U7jL.cjs +0 -6
  389. package/useButton-cpNi-fY4.cjs +0 -1
  390. package/useEvent-DxBxMX2V.cjs +0 -1
  391. package/useField-CXKYU74k.cjs +0 -1
  392. package/useFocusRing-CbImDrwF.cjs +0 -1
  393. package/useFocusRing-XnR3cZjO.js +0 -82
  394. package/useFocusable-NUVSFcRC.cjs +0 -1
  395. package/useFormValidation-ClximP89.cjs +0 -1
  396. package/useHasTabbableChild-DCBTulUQ.cjs +0 -1
  397. package/useHighlightSelectionDescription-CzYucm61.cjs +0 -1
  398. package/useHover-DjIHtjGN.js +0 -490
  399. package/useHover-_mv5J4_q.cjs +0 -1
  400. package/useLabels-BLOfc6Y-.cjs +0 -1
  401. package/useLocalizedStringFormatter-BKoxGZf1.js +0 -96
  402. package/useLocalizedStringFormatter-BsxLt89S.cjs +0 -1
  403. package/useLocalizedStringFormatter-D3JQyjb4.js +0 -21
  404. package/useLocalizedStringFormatter-ioacM-Yt.cjs +0 -1
  405. package/usePress-0AjDbW9R.cjs +0 -7
  406. package/useTextField--czJtyNd.cjs +0 -1
  407. package/utils-BNtZbAib.cjs +0 -1
  408. package/utils-DIMfEPAt.js +0 -308
  409. package/x-H8Zrx8-x.cjs +0 -6
@@ -1,18 +1,19 @@
1
- import { jsx as $, jsxs as y, Fragment as Te } from "react/jsx-runtime";
2
- import { B as ge } from "./Button-Csih3v23.js";
1
+ import { jsx as p, jsxs as y, Fragment as Te } from "react/jsx-runtime";
2
+ import { B as ge } from "./Button-DtSrCAf6.js";
3
3
  import A, { useState as P, useCallback as L, useEffect as T, useRef as v, useMemo as ye } from "react";
4
4
  import { createPortal as Le, flushSync as _e } from "react-dom";
5
- import { c as I } from "./clsx-OuTLNxxd.js";
5
+ import { c as B } from "./clsx-OuTLNxxd.js";
6
6
  import { s as N } from "./index-CGRFP4CC.js";
7
- import { $ as j, e as we, d as Be, f as Ie, c as Ce } from "./utils-DIMfEPAt.js";
8
- import { $ as Ae, r as _, v as E } from "./useHover-DjIHtjGN.js";
9
- import { a as Pe } from "./useFocusRing-XnR3cZjO.js";
10
- import { b as F } from "./useLocalizedStringFormatter-BKoxGZf1.js";
7
+ import { $ as j, c as we, b as Be, d as Ie, a as Ce } from "./mergeProps-C1U1OIeJ.js";
8
+ import { m as E } from "./utils-CoCR_Fce.js";
9
+ import { $ as Ae, f as _ } from "./useHover-DQvJ3Y-W.js";
10
+ import { $ as Pe } from "./useFocusWithin-T1ifEM_s.js";
11
+ import { $ as F } from "./useLocalizedStringFormatter-CL9MUZ8A.js";
11
12
  import { $ as Ne } from "./filterDOMProps-D6KHYVBX.js";
12
- import { T as je } from "./triangle-alert-wxyxspAl.js";
13
- import { C as Fe, a as De } from "./circle-check-B9HYcH7Z.js";
14
- import { I as Se } from "./info-BZwphdye.js";
15
- import { X as Re } from "./x-JK7i-TQC.js";
13
+ import { T as je } from "./triangle-alert-B_qAPmWC.js";
14
+ import { C as Fe, a as De } from "./circle-check-BErh6TKu.js";
15
+ import { I as Se } from "./info-CPK1vbOJ.js";
16
+ import { X as Re } from "./x-C2xUHAEl.js";
16
17
  import './assets/Toast.css';const D = 1, w = Symbol.for("react-aria-landmark-manager");
17
18
  function Me(t) {
18
19
  return document.addEventListener("react-aria-landmark-manager-change", t), () => document.removeEventListener("react-aria-landmark-manager-change", t);
@@ -244,11 +245,11 @@ class He {
244
245
  }
245
246
  function Ve(t, e) {
246
247
  const { role: n, "aria-label": i, "aria-labelledby": o, focus: r } = t;
247
- let u = Oe(), a = i || o, [p, d] = P(!1), f = L(() => {
248
+ let u = Oe(), a = i || o, [b, d] = P(!1), f = L(() => {
248
249
  d(!0);
249
250
  }, [
250
251
  d
251
- ]), m = L(() => {
252
+ ]), h = L(() => {
252
253
  d(!1);
253
254
  }, [
254
255
  d
@@ -259,7 +260,7 @@ function Ve(t, e) {
259
260
  label: a,
260
261
  role: n,
261
262
  focus: r || f,
262
- blur: m
263
+ blur: h
263
264
  });
264
265
  }, [
265
266
  u,
@@ -268,17 +269,17 @@ function Ve(t, e) {
268
269
  n,
269
270
  r,
270
271
  f,
271
- m
272
+ h
272
273
  ]), T(() => {
273
274
  var s;
274
- p && ((s = e.current) === null || s === void 0 || s.focus());
275
+ b && ((s = e.current) === null || s === void 0 || s.focus());
275
276
  }, [
276
- p,
277
+ b,
277
278
  e
278
279
  ]), {
279
280
  landmarkProps: {
280
281
  role: n,
281
- tabIndex: p ? -1 : void 0,
282
+ tabIndex: b ? -1 : void 0,
282
283
  "aria-label": i,
283
284
  "aria-labelledby": o
284
285
  }
@@ -561,8 +562,8 @@ $e = {
561
562
  other: () => `${e.number(t.count)} 個通知`
562
563
  })}。`
563
564
  };
564
- var B = {};
565
- B = {
565
+ var I = {};
566
+ I = {
566
567
  "ar-AE": S,
567
568
  "bg-BG": R,
568
569
  "cs-CZ": M,
@@ -612,7 +613,7 @@ function Ue(t, e, n) {
612
613
  o,
613
614
  r
614
615
  ]);
615
- let u = we(), a = Be(), p = F(ze(B), "@react-aria/toast"), [d, f] = P(!1);
616
+ let u = we(), a = Be(), b = F(ze(I), "@react-aria/toast"), [d, f] = P(!1);
616
617
  return T(() => {
617
618
  f(!0);
618
619
  }, []), {
@@ -638,7 +639,7 @@ function Ue(t, e, n) {
638
639
  id: a
639
640
  },
640
641
  closeButtonProps: {
641
- "aria-label": p.format("close"),
642
+ "aria-label": b.format("close"),
642
643
  onPress: () => e.close(i)
643
644
  }
644
645
  };
@@ -647,52 +648,52 @@ function We(t) {
647
648
  return t && t.__esModule ? t.default : t;
648
649
  }
649
650
  function Ke(t, e, n) {
650
- let i = F(We(B), "@react-aria/toast"), { landmarkProps: o } = Ve({
651
+ let i = F(We(I), "@react-aria/toast"), { landmarkProps: o } = Ve({
651
652
  role: "region",
652
653
  "aria-label": t["aria-label"] || i.format("notifications", {
653
654
  count: e.visibleToasts.length
654
655
  })
655
656
  }, n), r = v(!1), u = v(!1), a = Ie(() => {
656
657
  r.current || u.current ? e.pauseAll() : e.resumeAll();
657
- }), { hoverProps: p } = Ae({
658
+ }), { hoverProps: b } = Ae({
658
659
  onHoverStart: () => {
659
660
  r.current = !0, a();
660
661
  },
661
662
  onHoverEnd: () => {
662
663
  r.current = !1, a();
663
664
  }
664
- }), d = v([]), f = v(e.visibleToasts), m = v(null);
665
+ }), d = v([]), f = v(e.visibleToasts), h = v(null);
665
666
  j(() => {
666
- if (m.current === -1 || e.visibleToasts.length === 0 || !n.current) {
667
+ if (h.current === -1 || e.visibleToasts.length === 0 || !n.current) {
667
668
  d.current = [], f.current = e.visibleToasts;
668
669
  return;
669
670
  }
670
671
  if (d.current = [
671
672
  ...n.current.querySelectorAll('[role="alertdialog"]')
672
- ], f.current.length === e.visibleToasts.length && e.visibleToasts.every((c, b) => c.key === f.current[b].key)) {
673
+ ], f.current.length === e.visibleToasts.length && e.visibleToasts.every((c, m) => c.key === f.current[m].key)) {
673
674
  f.current = e.visibleToasts;
674
675
  return;
675
676
  }
676
- let l = f.current.map((c, b) => ({
677
+ let l = f.current.map((c, m) => ({
677
678
  ...c,
678
- i: b,
679
- isRemoved: !e.visibleToasts.some((h) => c.key === h.key)
680
- })), g = l.findIndex((c) => c.i === m.current && c.isRemoved);
679
+ i: m,
680
+ isRemoved: !e.visibleToasts.some(($) => c.key === $.key)
681
+ })), g = l.findIndex((c) => c.i === h.current && c.isRemoved);
681
682
  if (g > -1) {
682
683
  var k;
683
684
  if (_() === "pointer" && (!((k = s.current) === null || k === void 0) && k.isConnected)) E(s.current);
684
685
  else {
685
- let c = 0, b, h;
686
+ let c = 0, m, $;
686
687
  for (; c <= g; )
687
- l[c].isRemoved || (h = Math.max(0, c - 1)), c++;
688
+ l[c].isRemoved || ($ = Math.max(0, c - 1)), c++;
688
689
  for (; c < l.length; ) {
689
690
  if (!l[c].isRemoved) {
690
- b = c - 1;
691
+ m = c - 1;
691
692
  break;
692
693
  }
693
694
  c++;
694
695
  }
695
- h === void 0 && b === void 0 && (h = 0), h >= 0 && h < d.current.length ? E(d.current[h]) : b >= 0 && b < d.current.length && E(d.current[b]);
696
+ $ === void 0 && m === void 0 && ($ = 0), $ >= 0 && $ < d.current.length ? E(d.current[$]) : m >= 0 && m < d.current.length && E(d.current[m]);
696
697
  }
697
698
  }
698
699
  f.current = e.visibleToasts;
@@ -721,7 +722,7 @@ function Ke(t, e, n) {
721
722
  }, [
722
723
  n
723
724
  ]), {
724
- regionProps: Ce(o, p, Ee, {
725
+ regionProps: Ce(o, b, Ee, {
725
726
  tabIndex: -1,
726
727
  // Mark the toast region as a "top layer", so that it:
727
728
  // - is not aria-hidden when opening an overlay
@@ -733,10 +734,10 @@ function Ke(t, e, n) {
733
734
  // and we need to follow all focus changes
734
735
  onFocus: (l) => {
735
736
  let g = l.target.closest('[role="alertdialog"]');
736
- m.current = d.current.findIndex((k) => k === g);
737
+ h.current = d.current.findIndex((k) => k === g);
737
738
  },
738
739
  onBlur: () => {
739
- m.current = -1;
740
+ h.current = -1;
740
741
  }
741
742
  })
742
743
  };
@@ -870,10 +871,10 @@ function lt(t = {}) {
870
871
  );
871
872
  return pe(i);
872
873
  }
873
- const ct = new ve(xe), wt = (t) => {
874
+ const ct = new ve(xe), Bt = (t) => {
874
875
  const e = pe(ct);
875
876
  return e.visibleToasts.length > 0 ? Le(
876
- /* @__PURE__ */ $(
877
+ /* @__PURE__ */ p(
877
878
  ke,
878
879
  {
879
880
  ...t,
@@ -882,11 +883,11 @@ const ct = new ve(xe), wt = (t) => {
882
883
  ),
883
884
  document.body
884
885
  ) : null;
885
- }, Bt = ({ children: t, ...e }) => {
886
+ }, It = ({ children: t, ...e }) => {
886
887
  const n = lt(xe);
887
888
  return /* @__PURE__ */ y(Te, { children: [
888
889
  typeof t == "function" ? t(n) : t,
889
- n.visibleToasts.length > 0 && /* @__PURE__ */ $(
890
+ n.visibleToasts.length > 0 && /* @__PURE__ */ p(
890
891
  ke,
891
892
  {
892
893
  ...e,
@@ -897,50 +898,56 @@ const ct = new ve(xe), wt = (t) => {
897
898
  };
898
899
  function ke({
899
900
  state: t,
900
- ...e
901
+ className: e,
902
+ ...n
901
903
  }) {
902
- const n = A.useRef(null), { regionProps: i } = Ke(e, t, n);
903
- return /* @__PURE__ */ $(
904
+ const i = A.useRef(null), { regionProps: o } = Ke(n, t, i);
905
+ return /* @__PURE__ */ p(
904
906
  "div",
905
907
  {
906
- ...i,
907
- ref: n,
908
- className: x.toastRegion,
909
- children: t.visibleToasts.map((o) => /* @__PURE__ */ $(
908
+ ...o,
909
+ ref: i,
910
+ className: B(x.toastRegion, e),
911
+ children: t.visibleToasts.map((r) => /* @__PURE__ */ p(
910
912
  dt,
911
913
  {
912
- toast: o,
914
+ toast: r,
913
915
  state: t
914
916
  },
915
- o.key
917
+ r.key
916
918
  ))
917
919
  }
918
920
  );
919
921
  }
920
922
  function dt({
921
923
  state: t,
922
- ...e
924
+ className: e,
925
+ ...n
923
926
  }) {
924
- const n = A.useRef(null), { toastProps: i, contentProps: o, titleProps: r, closeButtonProps: u } = Ue(
925
- e,
927
+ const i = A.useRef(null), { toastProps: o, contentProps: r, titleProps: u, closeButtonProps: a } = Ue(
928
+ n,
926
929
  t
927
- ), a = st[e.toast.content.type];
930
+ ), b = st[n.toast.content.type];
928
931
  return /* @__PURE__ */ y(
929
932
  "div",
930
933
  {
931
- ...i,
932
- ref: n,
933
- className: I(x.toast, x[e.toast.content.type]),
934
- style: { viewTransitionName: e.toast.key },
934
+ ...o,
935
+ ref: i,
936
+ className: B(
937
+ x.toast,
938
+ x[n.toast.content.type],
939
+ e
940
+ ),
941
+ style: { viewTransitionName: n.toast.key },
935
942
  children: [
936
943
  /* @__PURE__ */ y(
937
944
  "div",
938
945
  {
939
- ...o,
940
- className: I(x.toastContent, o.className),
946
+ ...r,
947
+ className: B(x.toastContent, r.className),
941
948
  children: [
942
- /* @__PURE__ */ $(
943
- a,
949
+ /* @__PURE__ */ p(
950
+ b,
944
951
  {
945
952
  className: x.icon,
946
953
  size: 20,
@@ -948,25 +955,25 @@ function dt({
948
955
  }
949
956
  ),
950
957
  /* @__PURE__ */ y("div", { children: [
951
- /* @__PURE__ */ $(
958
+ /* @__PURE__ */ p(
952
959
  "p",
953
960
  {
954
961
  className: x.toastMessage,
955
- ...r,
956
- children: e.toast.content.message
962
+ ...u,
963
+ children: n.toast.content.message
957
964
  }
958
965
  ),
959
- e.toast.content.children
966
+ n.toast.content.children
960
967
  ] })
961
968
  ]
962
969
  }
963
970
  ),
964
- /* @__PURE__ */ $(
971
+ /* @__PURE__ */ p(
965
972
  ge,
966
973
  {
967
974
  variant: "icon",
968
- ...u,
969
- children: /* @__PURE__ */ $(
975
+ ...a,
976
+ children: /* @__PURE__ */ p(
970
977
  Re,
971
978
  {
972
979
  size: 20,
@@ -980,8 +987,8 @@ function dt({
980
987
  );
981
988
  }
982
989
  export {
983
- wt as G,
984
- Bt as T,
990
+ Bt as G,
991
+ It as T,
985
992
  ke as a,
986
993
  dt as b,
987
994
  ct as t,
@@ -0,0 +1 @@
1
+ "use strict";require('./assets/ToggleButtonGroup.css');const D=require("react/jsx-runtime"),x=require("./utils-DHNZrQmj.cjs"),a=require("react"),T=require("./useToggleState-DoIkSQdj.cjs"),w=require("./useFocusRing-B-A1OLhU.cjs"),S=require("./mergeProps-B5KXZAI3.cjs"),q=require("./useHover-BE_XKZKe.cjs"),y=require("./Button.module-goCEz5qs.cjs"),h=require("./clsx-C11secjj.cjs"),C=require("./useControlledState-D0L6S_5r.cjs"),F=require("./useButton-D60q0SQw.cjs"),M=require("./FocusScope-vcXLOQiu.cjs"),p=require("./filterDOMProps-BS2lrgFA.cjs"),E=require("./context-Df3XbgBG.cjs");function m(t,e,d){const{isSelected:i}=e,{isPressed:o,buttonProps:l}=F.$701a24aa0da5b062$export$ea18c227d4417cc3({...t,onPress:S.$ff5963eb1fccf552$export$e08e3b67e392101e(e.toggle,t.onPress)},d);return{isPressed:o,isSelected:i,isDisabled:t.isDisabled||!1,buttonProps:S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,{"aria-pressed":i})}}function N(t,e){const{"aria-label":d,"aria-labelledby":i,orientation:o="horizontal"}=t;let[l,r]=a.useState(!1);S.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(()=>{var s;r(!!(e.current&&(!((s=e.current.parentElement)===null||s===void 0)&&s.closest('[role="toolbar"]'))))});const{direction:n}=E.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),f=n==="rtl"&&o==="horizontal";let u=M.$9bf71ea28793e738$export$c5251b9e124bf29(e);const $=s=>{if(s.currentTarget.contains(s.target)){if(o==="horizontal"&&s.key==="ArrowRight"||o==="vertical"&&s.key==="ArrowDown")f?u.focusPrevious():u.focusNext();else if(o==="horizontal"&&s.key==="ArrowLeft"||o==="vertical"&&s.key==="ArrowUp")f?u.focusNext():u.focusPrevious();else if(s.key==="Tab"){s.stopPropagation(),c.current=document.activeElement,s.shiftKey?u.focusFirst():u.focusLast();return}else return;s.stopPropagation(),s.preventDefault()}},c=a.useRef(null),P=s=>{!s.currentTarget.contains(s.relatedTarget)&&!c.current&&(c.current=s.target)},g=s=>{var b;if(c.current&&!s.currentTarget.contains(s.relatedTarget)&&(!((b=e.current)===null||b===void 0)&&b.contains(s.target))){var v;(v=c.current)===null||v===void 0||v.focus(),c.current=null}};return{toolbarProps:{...p.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(t,{labelable:!0}),role:l?"group":"toolbar","aria-orientation":o,"aria-label":d,"aria-labelledby":d==null?i:void 0,onKeyDownCapture:l?void 0:$,onFocusCapture:l?void 0:g,onBlurCapture:l?void 0:P}}}function R(t,e,d){let{isDisabled:i}=t,{toolbarProps:o}=N(t,d);return{groupProps:{...o,role:e.selectionMode==="single"?"radiogroup":o.role,"aria-disabled":i}}}function _(t,e,d){let i={isSelected:e.selectedKeys.has(t.id),setSelected(f){e.setSelected(t.id,f)},toggle(){e.toggleKey(t.id)}},{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}=m({...t,id:void 0,isDisabled:t.isDisabled||e.isDisabled},i,d);return e.selectionMode==="single"&&(n.role="radio",n["aria-checked"]=i.isSelected,delete n["aria-pressed"]),{isPressed:o,isSelected:l,isDisabled:r,buttonProps:n}}function z(t){let{selectionMode:e="single",disallowEmptySelection:d,isDisabled:i=!1}=t,[o,l]=C.$458b0a5536c1a7cf$export$40bfa8c7b0832715(a.useMemo(()=>t.selectedKeys?new Set(t.selectedKeys):void 0,[t.selectedKeys]),a.useMemo(()=>t.defaultSelectedKeys?new Set(t.defaultSelectedKeys):new Set,[t.defaultSelectedKeys]),t.onSelectionChange);return{selectionMode:e,isDisabled:i,selectedKeys:o,setSelectedKeys:l,toggleKey(r){let n;e==="multiple"?(n=new Set(o),n.has(r)&&(!d||n.size>1)?n.delete(r):n.add(r)):n=new Set(o.has(r)&&!d?[]:[r]),l(n)},setSelected(r,n){n!==o.has(r)&&this.toggleKey(r)}}}const A=a.createContext({}),B=a.createContext(null),G=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,A);let i=z(e),{groupProps:o}=R(e,i,d),l=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,values:{isDisabled:i.isDisabled,state:i},defaultClassName:"react-aria-ToggleButtonGroup"});return a.createElement("div",{...o,...l,ref:d,slot:e.slot||void 0,"data-orientation":e.orientation||"horizontal","data-disabled":e.isDisabled||void 0},a.createElement(B.Provider,{value:i},l.children))}),H=a.createContext({}),L=a.forwardRef(function(e,d){[e,d]=x.$64fa3d84918910a7$export$29f1550f4b0d4415(e,d,H);let i=a.useContext(B),o=T.$3017fa7ffdddec74$export$8042c6c013fd5226(i&&e.id!=null?{isSelected:i.selectedKeys.has(e.id),onChange(b){i.setSelected(e.id,b)}}:e),{buttonProps:l,isPressed:r,isSelected:n,isDisabled:f}=i&&e.id!=null?_({...e,id:e.id},i,d):m({...e,id:e.id!=null?String(e.id):void 0},o,d),{focusProps:u,isFocused:$,isFocusVisible:c}=w.$f7dceffc5ad7768b$export$4e328f61c538687f(e),{hoverProps:P,isHovered:g}=q.$6179b936705e76d3$export$ae780daf29e6d456(e),s=x.$64fa3d84918910a7$export$4d86445c2cf5e3({...e,id:void 0,values:{isHovered:g,isPressed:r,isFocused:$,isSelected:o.isSelected,isFocusVisible:c,isDisabled:f,state:o},defaultClassName:"react-aria-ToggleButton"});return a.createElement("button",{...S.$3ef42575df84b30b$export$9d1611c77c2fe928(l,u,P),...s,ref:d,slot:e.slot||void 0,"data-focused":$||void 0,"data-disabled":f||void 0,"data-pressed":r||void 0,"data-selected":n||void 0,"data-hovered":g||void 0,"data-focus-visible":c||void 0})}),j="_group_syep5_4",V="_toggleButton_syep5_13",K={group:j,toggleButton:V},k=({...t})=>D.jsx(L,{...t,className:h.clsx(y.ButtonStyles.button,y.ButtonStyles.iconBtn,K.toggleButton,t.className)}),I=({...t})=>D.jsx(G,{...t,className:h.clsx(K.group,t.className)});exports.ToggleButton=k;exports.ToggleButtonGroup=I;
@@ -1,36 +1,37 @@
1
1
  import { jsx as y } from "react/jsx-runtime";
2
- import { n as _, c as D, $ as E, a as h, b as K } from "./utils-DIMfEPAt.js";
3
- import P, { useState as F, useRef as N, useMemo as x, forwardRef as B, createContext as S, useContext as M } from "react";
4
- import { $ as z } from "./useToggleState-Bz5rAf4C.js";
5
- import { $ as R } from "./useFocusRing-XnR3cZjO.js";
6
- import { $ as A } from "./useHover-DjIHtjGN.js";
7
- import { B as v } from "./Button.module-tti8HGxs.js";
8
- import { c as p } from "./clsx-OuTLNxxd.js";
2
+ import { $ as D, a as h } from "./utils-DJhAJHk_.js";
3
+ import P, { useState as _, useRef as E, useMemo as x, forwardRef as K, createContext as S, useContext as F } from "react";
4
+ import { $ as N } from "./useToggleState-Bz5rAf4C.js";
5
+ import { $ as M } from "./useFocusRing-DOfBqnUN.js";
6
+ import { e as z, a as p, $ as R } from "./mergeProps-C1U1OIeJ.js";
7
+ import { $ as A } from "./useHover-DQvJ3Y-W.js";
8
+ import { B as v } from "./Button.module-D-mPLRxe.js";
9
+ import { c as B } from "./clsx-OuTLNxxd.js";
9
10
  import { $ as L } from "./useControlledState-u436Wbp1.js";
10
- import { $ as G } from "./useButton-B8dB9sot.js";
11
- import { b as H } from "./FocusScope-CxkURfoc.js";
11
+ import { $ as G } from "./useButton-1-Jf-oHj.js";
12
+ import { b as H } from "./FocusScope-D_hwN_TJ.js";
12
13
  import { $ as V } from "./filterDOMProps-D6KHYVBX.js";
13
- import { $ as k } from "./context-C81gPYvC.js";
14
+ import { $ as k } from "./context-CGNJ3grH.js";
14
15
  import './assets/ToggleButtonGroup.css';function w(t, e, d) {
15
16
  const { isSelected: a } = e, { isPressed: s, buttonProps: l } = G({
16
17
  ...t,
17
- onPress: _(e.toggle, t.onPress)
18
+ onPress: z(e.toggle, t.onPress)
18
19
  }, d);
19
20
  return {
20
21
  isPressed: s,
21
22
  isSelected: a,
22
23
  isDisabled: t.isDisabled || !1,
23
- buttonProps: D(l, {
24
+ buttonProps: p(l, {
24
25
  "aria-pressed": a
25
26
  })
26
27
  };
27
28
  }
28
29
  function I(t, e) {
29
30
  const { "aria-label": d, "aria-labelledby": a, orientation: s = "horizontal" } = t;
30
- let [l, n] = F(!1);
31
- E(() => {
31
+ let [l, r] = _(!1);
32
+ R(() => {
32
33
  var o;
33
- n(!!(e.current && (!((o = e.current.parentElement) === null || o === void 0) && o.closest('[role="toolbar"]'))));
34
+ r(!!(e.current && (!((o = e.current.parentElement) === null || o === void 0) && o.closest('[role="toolbar"]'))));
34
35
  });
35
36
  const { direction: i } = k(), u = i === "rtl" && s === "horizontal";
36
37
  let c = H(e);
@@ -41,19 +42,19 @@ function I(t, e) {
41
42
  else if (s === "horizontal" && o.key === "ArrowLeft" || s === "vertical" && o.key === "ArrowUp")
42
43
  u ? c.focusNext() : c.focusPrevious();
43
44
  else if (o.key === "Tab") {
44
- o.stopPropagation(), r.current = document.activeElement, o.shiftKey ? c.focusFirst() : c.focusLast();
45
+ o.stopPropagation(), n.current = document.activeElement, o.shiftKey ? c.focusFirst() : c.focusLast();
45
46
  return;
46
47
  } else
47
48
  return;
48
49
  o.stopPropagation(), o.preventDefault();
49
50
  }
50
- }, r = N(null), g = (o) => {
51
- !o.currentTarget.contains(o.relatedTarget) && !r.current && (r.current = o.target);
51
+ }, n = E(null), g = (o) => {
52
+ !o.currentTarget.contains(o.relatedTarget) && !n.current && (n.current = o.target);
52
53
  }, $ = (o) => {
53
54
  var f;
54
- if (r.current && !o.currentTarget.contains(o.relatedTarget) && (!((f = e.current) === null || f === void 0) && f.contains(o.target))) {
55
+ if (n.current && !o.currentTarget.contains(o.relatedTarget) && (!((f = e.current) === null || f === void 0) && f.contains(o.target))) {
55
56
  var m;
56
- (m = r.current) === null || m === void 0 || m.focus(), r.current = null;
57
+ (m = n.current) === null || m === void 0 || m.focus(), n.current = null;
57
58
  }
58
59
  };
59
60
  return {
@@ -90,7 +91,7 @@ function U(t, e, d) {
90
91
  toggle() {
91
92
  e.toggleKey(t.id);
92
93
  }
93
- }, { isPressed: s, isSelected: l, isDisabled: n, buttonProps: i } = w({
94
+ }, { isPressed: s, isSelected: l, isDisabled: r, buttonProps: i } = w({
94
95
  ...t,
95
96
  id: void 0,
96
97
  isDisabled: t.isDisabled || e.isDisabled
@@ -98,7 +99,7 @@ function U(t, e, d) {
98
99
  return e.selectionMode === "single" && (i.role = "radio", i["aria-checked"] = a.isSelected, delete i["aria-pressed"]), {
99
100
  isPressed: s,
100
101
  isSelected: l,
101
- isDisabled: n,
102
+ isDisabled: r,
102
103
  buttonProps: i
103
104
  };
104
105
  }
@@ -113,20 +114,20 @@ function q(t) {
113
114
  isDisabled: a,
114
115
  selectedKeys: s,
115
116
  setSelectedKeys: l,
116
- toggleKey(n) {
117
+ toggleKey(r) {
117
118
  let i;
118
- e === "multiple" ? (i = new Set(s), i.has(n) && (!d || i.size > 1) ? i.delete(n) : i.add(n)) : i = new Set(s.has(n) && !d ? [] : [
119
- n
119
+ e === "multiple" ? (i = new Set(s), i.has(r) && (!d || i.size > 1) ? i.delete(r) : i.add(r)) : i = new Set(s.has(r) && !d ? [] : [
120
+ r
120
121
  ]), l(i);
121
122
  },
122
- setSelected(n, i) {
123
- i !== s.has(n) && this.toggleKey(n);
123
+ setSelected(r, i) {
124
+ i !== s.has(r) && this.toggleKey(r);
124
125
  }
125
126
  };
126
127
  }
127
- const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ */ B(function(e, d) {
128
- [e, d] = h(e, d, J);
129
- let a = q(e), { groupProps: s } = j(e, a, d), l = K({
128
+ const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ */ K(function(e, d) {
129
+ [e, d] = D(e, d, J);
130
+ let a = q(e), { groupProps: s } = j(e, a, d), l = h({
130
131
  ...e,
131
132
  values: {
132
133
  isDisabled: a.isDisabled,
@@ -144,67 +145,67 @@ const J = /* @__PURE__ */ S({}), T = /* @__PURE__ */ S(null), O = /* @__PURE__ *
144
145
  }, /* @__PURE__ */ P.createElement(T.Provider, {
145
146
  value: a
146
147
  }, l.children));
147
- }), Q = /* @__PURE__ */ S({}), W = /* @__PURE__ */ B(function(e, d) {
148
- [e, d] = h(e, d, Q);
149
- let a = M(T), s = z(a && e.id != null ? {
148
+ }), Q = /* @__PURE__ */ S({}), W = /* @__PURE__ */ K(function(e, d) {
149
+ [e, d] = D(e, d, Q);
150
+ let a = F(T), s = N(a && e.id != null ? {
150
151
  isSelected: a.selectedKeys.has(e.id),
151
152
  onChange(f) {
152
153
  a.setSelected(e.id, f);
153
154
  }
154
- } : e), { buttonProps: l, isPressed: n, isSelected: i, isDisabled: u } = a && e.id != null ? U({
155
+ } : e), { buttonProps: l, isPressed: r, isSelected: i, isDisabled: u } = a && e.id != null ? U({
155
156
  ...e,
156
157
  id: e.id
157
158
  }, a, d) : w({
158
159
  ...e,
159
160
  id: e.id != null ? String(e.id) : void 0
160
- }, s, d), { focusProps: c, isFocused: b, isFocusVisible: r } = R(e), { hoverProps: g, isHovered: $ } = A(e), o = K({
161
+ }, s, d), { focusProps: c, isFocused: b, isFocusVisible: n } = M(e), { hoverProps: g, isHovered: $ } = A(e), o = h({
161
162
  ...e,
162
163
  id: void 0,
163
164
  values: {
164
165
  isHovered: $,
165
- isPressed: n,
166
+ isPressed: r,
166
167
  isFocused: b,
167
168
  isSelected: s.isSelected,
168
- isFocusVisible: r,
169
+ isFocusVisible: n,
169
170
  isDisabled: u,
170
171
  state: s
171
172
  },
172
173
  defaultClassName: "react-aria-ToggleButton"
173
174
  });
174
175
  return /* @__PURE__ */ P.createElement("button", {
175
- ...D(l, c, g),
176
+ ...p(l, c, g),
176
177
  ...o,
177
178
  ref: d,
178
179
  slot: e.slot || void 0,
179
180
  "data-focused": b || void 0,
180
181
  "data-disabled": u || void 0,
181
- "data-pressed": n || void 0,
182
+ "data-pressed": r || void 0,
182
183
  "data-selected": i || void 0,
183
184
  "data-hovered": $ || void 0,
184
- "data-focus-visible": r || void 0
185
+ "data-focus-visible": n || void 0
185
186
  });
186
187
  }), X = "_group_syep5_4", Y = "_toggleButton_syep5_13", C = {
187
188
  group: X,
188
189
  toggleButton: Y
189
- }, fe = ({ ...t }) => /* @__PURE__ */ y(
190
+ }, be = ({ ...t }) => /* @__PURE__ */ y(
190
191
  W,
191
192
  {
192
193
  ...t,
193
- className: p(
194
+ className: B(
194
195
  v.button,
195
196
  v.iconBtn,
196
197
  C.toggleButton,
197
198
  t.className
198
199
  )
199
200
  }
200
- ), be = ({ ...t }) => /* @__PURE__ */ y(
201
+ ), $e = ({ ...t }) => /* @__PURE__ */ y(
201
202
  O,
202
203
  {
203
204
  ...t,
204
- className: p(C.group, t.className)
205
+ className: B(C.group, t.className)
205
206
  }
206
207
  );
207
208
  export {
208
- fe as T,
209
- be as a
209
+ be as T,
210
+ $e as a
210
211
  };