@commercetools/nimbus 0.0.0-canary-20250901122738 → 0.0.0-canary-20250902091333

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 (1089) hide show
  1. package/dist/chunks/Button-BtJHe9xY.cjs.js +2 -0
  2. package/dist/chunks/Button-BtJHe9xY.cjs.js.map +1 -0
  3. package/dist/chunks/Button-CNBS3n5a.es.js +73 -0
  4. package/dist/chunks/Button-CNBS3n5a.es.js.map +1 -0
  5. package/dist/chunks/DateField-Dm2Qlhbk.es.js +2685 -0
  6. package/dist/chunks/DateField-Dm2Qlhbk.es.js.map +1 -0
  7. package/dist/chunks/DateField-rweHHCKR.cjs.js +2 -0
  8. package/dist/chunks/DateField-rweHHCKR.cjs.js.map +1 -0
  9. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js +2 -0
  10. package/dist/chunks/DatePicker-BdV6ICAm.cjs.js.map +1 -0
  11. package/dist/chunks/DatePicker-BthC1bZ_.es.js +782 -0
  12. package/dist/chunks/DatePicker-BthC1bZ_.es.js.map +1 -0
  13. package/dist/chunks/Dialog-BeQ6Z6l2.es.js +1924 -0
  14. package/dist/chunks/Dialog-BeQ6Z6l2.es.js.map +1 -0
  15. package/dist/chunks/Dialog-CYa26HlL.cjs.js +2 -0
  16. package/dist/chunks/Dialog-CYa26HlL.cjs.js.map +1 -0
  17. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +81 -0
  18. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +1 -0
  19. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +2 -0
  20. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +1 -0
  21. package/dist/chunks/FieldError-CXcEMuBf.es.js.map +1 -1
  22. package/dist/chunks/FieldError-DyGFfqST.cjs.js.map +1 -1
  23. package/dist/chunks/FocusScope-CNO0fzPs.es.js +625 -0
  24. package/dist/chunks/FocusScope-CNO0fzPs.es.js.map +1 -0
  25. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js +2 -0
  26. package/dist/chunks/FocusScope-DPn5XtSy.cjs.js.map +1 -0
  27. package/dist/chunks/Form-BuOomA4T.cjs.js.map +1 -1
  28. package/dist/chunks/Form-CXcEMuBf.es.js.map +1 -1
  29. package/dist/chunks/Group-Cfixd-fh.es.js +46 -0
  30. package/dist/chunks/Group-Cfixd-fh.es.js.map +1 -0
  31. package/dist/chunks/Group-MdeByg6t.cjs.js +2 -0
  32. package/dist/chunks/Group-MdeByg6t.cjs.js.map +1 -0
  33. package/dist/chunks/Heading-BaW6t55l.cjs.js +2 -0
  34. package/dist/chunks/Heading-BaW6t55l.cjs.js.map +1 -0
  35. package/dist/chunks/Heading-DEfy_f01.es.js +1618 -0
  36. package/dist/chunks/Heading-DEfy_f01.es.js.map +1 -0
  37. package/dist/chunks/Hidden-CNJIJ63M.cjs.js.map +1 -1
  38. package/dist/chunks/Hidden-j3Lbt7xL.es.js.map +1 -1
  39. package/dist/chunks/Input-BiHwUBo4.es.js +43 -0
  40. package/dist/chunks/Input-BiHwUBo4.es.js.map +1 -0
  41. package/dist/chunks/Input-HBDt7LmM.cjs.js +2 -0
  42. package/dist/chunks/Input-HBDt7LmM.cjs.js.map +1 -0
  43. package/dist/chunks/Keyboard-Clnp4zAC.es.js.map +1 -1
  44. package/dist/chunks/Keyboard-rYf2KxZN.cjs.js.map +1 -1
  45. package/dist/chunks/Label-B2YyCdLl.es.js +17 -0
  46. package/dist/chunks/Label-B2YyCdLl.es.js.map +1 -0
  47. package/dist/chunks/Label-BgrYyYXn.cjs.js +2 -0
  48. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +1 -0
  49. package/dist/chunks/ListBox-CikEmFBx.cjs.js +2 -0
  50. package/dist/chunks/ListBox-CikEmFBx.cjs.js.map +1 -0
  51. package/dist/chunks/ListBox-DF3NHeEX.es.js +605 -0
  52. package/dist/chunks/ListBox-DF3NHeEX.es.js.map +1 -0
  53. package/dist/chunks/NumberFormatter-DewVDY5w.cjs.js.map +1 -1
  54. package/dist/chunks/NumberFormatter-DgOUVrge.es.js.map +1 -1
  55. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js +2 -0
  56. package/dist/chunks/OverlayArrow-CYjyBtg8.cjs.js.map +1 -0
  57. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js +491 -0
  58. package/dist/chunks/OverlayArrow-sJzRZNbO.es.js.map +1 -0
  59. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js +2 -0
  60. package/dist/chunks/ProgressBar-BA3sLh1k.cjs.js.map +1 -0
  61. package/dist/chunks/ProgressBar-DjaUQI7N.es.js +42 -0
  62. package/dist/chunks/ProgressBar-DjaUQI7N.es.js.map +1 -0
  63. package/dist/chunks/RSPContexts-B4yvXuBR.es.js.map +1 -1
  64. package/dist/chunks/RSPContexts-CkSl9jRK.cjs.js.map +1 -1
  65. package/dist/chunks/SSRProvider-Bc-sMhsT.cjs.js.map +1 -1
  66. package/dist/chunks/SSRProvider-Cu8KibIK.es.js.map +1 -1
  67. package/dist/chunks/SelectionManager-CLyu96pU.es.js +1946 -0
  68. package/dist/chunks/SelectionManager-CLyu96pU.es.js.map +1 -0
  69. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js +18 -0
  70. package/dist/chunks/SelectionManager-Mrwf4SFv.cjs.js.map +1 -0
  71. package/dist/chunks/Separator-3-E2tRbk.es.js +92 -0
  72. package/dist/chunks/Separator-3-E2tRbk.es.js.map +1 -0
  73. package/dist/chunks/Separator-CAOg-vqY.cjs.js +2 -0
  74. package/dist/chunks/Separator-CAOg-vqY.cjs.js.map +1 -0
  75. package/dist/chunks/Text-BWSfeB9p.cjs.js.map +1 -1
  76. package/dist/chunks/Text-DOcU1ycg.es.js.map +1 -1
  77. package/dist/chunks/TextArea-BmpgvS0R.es.js +42 -0
  78. package/dist/chunks/TextArea-BmpgvS0R.es.js.map +1 -0
  79. package/dist/chunks/TextArea-D3FFXnUy.cjs.js +2 -0
  80. package/dist/chunks/TextArea-D3FFXnUy.cjs.js.map +1 -0
  81. package/dist/chunks/ToggleButton-C3JL0pgD.es.js +145 -0
  82. package/dist/chunks/ToggleButton-C3JL0pgD.es.js.map +1 -0
  83. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js +2 -0
  84. package/dist/chunks/ToggleButton-CPAdPTCr.cjs.js.map +1 -0
  85. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js +2 -0
  86. package/dist/chunks/VisuallyHidden-Bv_AJXZ7.cjs.js.map +1 -0
  87. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js +41 -0
  88. package/dist/chunks/VisuallyHidden-VHEPK04F.es.js.map +1 -0
  89. package/dist/chunks/accordion-Be--VNW6.cjs.js +2 -0
  90. package/dist/chunks/accordion-Be--VNW6.cjs.js.map +1 -0
  91. package/dist/chunks/accordion-Drl_Y6QC.es.js +223 -0
  92. package/dist/chunks/accordion-Drl_Y6QC.es.js.map +1 -0
  93. package/dist/chunks/alert-CTCZ5bln.es.js +187 -0
  94. package/dist/chunks/alert-CTCZ5bln.es.js.map +1 -0
  95. package/dist/chunks/alert-_ZQT8Lkj.cjs.js +2 -0
  96. package/dist/chunks/alert-_ZQT8Lkj.cjs.js.map +1 -0
  97. package/dist/chunks/avatar-DEAravTR.cjs.js +2 -0
  98. package/dist/chunks/avatar-DEAravTR.cjs.js.map +1 -0
  99. package/dist/chunks/avatar-DXWmY247.es.js +38 -0
  100. package/dist/chunks/avatar-DXWmY247.es.js.map +1 -0
  101. package/dist/chunks/badge-BjhZ-byo.cjs.js +2 -0
  102. package/dist/chunks/badge-BjhZ-byo.cjs.js.map +1 -0
  103. package/dist/chunks/badge-Cg7jASs5.es.js +78 -0
  104. package/dist/chunks/badge-Cg7jASs5.es.js.map +1 -0
  105. package/dist/chunks/box-BK_2R49p.es.js +13 -0
  106. package/dist/chunks/box-BK_2R49p.es.js.map +1 -0
  107. package/dist/chunks/box-BwCVnAwb.cjs.js +2 -0
  108. package/dist/chunks/box-BwCVnAwb.cjs.js.map +1 -0
  109. package/dist/chunks/button-CXRRo1Zo.es.js +59 -0
  110. package/dist/chunks/button-CXRRo1Zo.es.js.map +1 -0
  111. package/dist/chunks/button-DYpzmnga.cjs.js +2 -0
  112. package/dist/chunks/button-DYpzmnga.cjs.js.map +1 -0
  113. package/dist/chunks/calendar-D7q7B1ej.cjs.js +2 -0
  114. package/dist/chunks/calendar-D7q7B1ej.cjs.js.map +1 -0
  115. package/dist/chunks/calendar-DAPG3st4.es.js +187 -0
  116. package/dist/chunks/calendar-DAPG3st4.es.js.map +1 -0
  117. package/dist/chunks/card-DX8r4prk.es.js +139 -0
  118. package/dist/chunks/card-DX8r4prk.es.js.map +1 -0
  119. package/dist/chunks/card-DgvP36g1.cjs.js +2 -0
  120. package/dist/chunks/card-DgvP36g1.cjs.js.map +1 -0
  121. package/dist/chunks/checkbox-Bfms-o7I.cjs.js +2 -0
  122. package/dist/chunks/checkbox-Bfms-o7I.cjs.js.map +1 -0
  123. package/dist/chunks/checkbox-KT-n-5er.es.js +219 -0
  124. package/dist/chunks/checkbox-KT-n-5er.es.js.map +1 -0
  125. package/dist/chunks/code-C3WbF6Qh.cjs.js +2 -0
  126. package/dist/chunks/code-C3WbF6Qh.cjs.js.map +1 -0
  127. package/dist/chunks/code-DM_AtVy-.es.js +8 -0
  128. package/dist/chunks/code-DM_AtVy-.es.js.map +1 -0
  129. package/dist/chunks/combobox-BOXZUeIh.cjs.js +2 -0
  130. package/dist/chunks/combobox-BOXZUeIh.cjs.js.map +1 -0
  131. package/dist/chunks/combobox-DpnWEs47.es.js +2392 -0
  132. package/dist/chunks/combobox-DpnWEs47.es.js.map +1 -0
  133. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
  134. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
  135. package/dist/chunks/context-OoV8SSWX.cjs.js +2 -0
  136. package/dist/chunks/context-OoV8SSWX.cjs.js.map +1 -0
  137. package/dist/chunks/context-R4YUlO9Y.es.js +108 -0
  138. package/dist/chunks/context-R4YUlO9Y.es.js.map +1 -0
  139. package/dist/chunks/create-recipe-context-CrNaylZN.es.js +62 -0
  140. package/dist/chunks/create-recipe-context-CrNaylZN.es.js.map +1 -0
  141. package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js +2 -0
  142. package/dist/chunks/create-recipe-context-bXYFTZLs.cjs.js.map +1 -0
  143. package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js +104 -0
  144. package/dist/chunks/create-slot-recipe-context--T0CaFjW.es.js.map +1 -0
  145. package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js +2 -0
  146. package/dist/chunks/create-slot-recipe-context-CimocFDH.cjs.js.map +1 -0
  147. package/dist/chunks/data-table-CkldF9nZ.es.js +4031 -0
  148. package/dist/chunks/data-table-CkldF9nZ.es.js.map +1 -0
  149. package/dist/chunks/data-table-DPetwlWs.cjs.js +2 -0
  150. package/dist/chunks/data-table-DPetwlWs.cjs.js.map +1 -0
  151. package/dist/chunks/date-input-jXS-SVpU.cjs.js +2 -0
  152. package/dist/chunks/date-input-jXS-SVpU.cjs.js.map +1 -0
  153. package/dist/chunks/date-input-wQ1WdB4N.es.js +17 -0
  154. package/dist/chunks/date-input-wQ1WdB4N.es.js.map +1 -0
  155. package/dist/chunks/date-picker-CDbiNEBg.cjs.js +2 -0
  156. package/dist/chunks/date-picker-CDbiNEBg.cjs.js.map +1 -0
  157. package/dist/chunks/date-picker-Do5hNEe5.es.js +190 -0
  158. package/dist/chunks/date-picker-Do5hNEe5.es.js.map +1 -0
  159. package/dist/chunks/date-range-picker-Bq6Wkwwo.cjs.js +2 -0
  160. package/dist/chunks/date-range-picker-Bq6Wkwwo.cjs.js.map +1 -0
  161. package/dist/chunks/date-range-picker-DhX5QVXh.es.js +283 -0
  162. package/dist/chunks/date-range-picker-DhX5QVXh.es.js.map +1 -0
  163. package/dist/chunks/dialog-BQa_NWSr.cjs.js +2 -0
  164. package/dist/chunks/dialog-BQa_NWSr.cjs.js.map +1 -0
  165. package/dist/chunks/dialog-D4u5so0e.es.js +1912 -0
  166. package/dist/chunks/dialog-D4u5so0e.es.js.map +1 -0
  167. package/dist/chunks/divider-Cjs3ESH7.es.js +54 -0
  168. package/dist/chunks/divider-Cjs3ESH7.es.js.map +1 -0
  169. package/dist/chunks/divider-DU351gdE.cjs.js +2 -0
  170. package/dist/chunks/divider-DU351gdE.cjs.js.map +1 -0
  171. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
  172. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
  173. package/dist/chunks/factory-CVGqU9CD.cjs.js +3 -0
  174. package/dist/chunks/factory-CVGqU9CD.cjs.js.map +1 -0
  175. package/dist/chunks/factory-DmIX2puY.es.js +269 -0
  176. package/dist/chunks/factory-DmIX2puY.es.js.map +1 -0
  177. package/dist/chunks/filterDOMProps-BSVCO5jK.es.js.map +1 -1
  178. package/dist/chunks/filterDOMProps-WUskt27c.cjs.js.map +1 -1
  179. package/dist/chunks/flex-BFC_f5BH.es.js +40 -0
  180. package/dist/chunks/flex-BFC_f5BH.es.js.map +1 -0
  181. package/dist/chunks/flex-yqydM5z_.cjs.js +2 -0
  182. package/dist/chunks/flex-yqydM5z_.cjs.js.map +1 -0
  183. package/dist/chunks/focusSafely-DJpphVHF.es.js +27 -0
  184. package/dist/chunks/focusSafely-DJpphVHF.es.js.map +1 -0
  185. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js +2 -0
  186. package/dist/chunks/focusSafely-jDMW9aEx.cjs.js.map +1 -0
  187. package/dist/chunks/focusWithoutScrolling-BlyUcXdY.cjs.js.map +1 -1
  188. package/dist/chunks/focusWithoutScrolling-CDw3JYiq.es.js.map +1 -1
  189. package/dist/chunks/form-field-B8N-bvac.es.js +310 -0
  190. package/dist/chunks/form-field-B8N-bvac.es.js.map +1 -0
  191. package/dist/chunks/form-field-CH2EUQMc.cjs.js +11 -0
  192. package/dist/chunks/form-field-CH2EUQMc.cjs.js.map +1 -0
  193. package/dist/chunks/grid-B3Ggy_FW.es.js +14 -0
  194. package/dist/chunks/grid-B3Ggy_FW.es.js.map +1 -0
  195. package/dist/chunks/grid-CXpKN2OR.cjs.js +2 -0
  196. package/dist/chunks/grid-CXpKN2OR.cjs.js.map +1 -0
  197. package/dist/chunks/grid-item-CGwfSnm7.cjs.js +2 -0
  198. package/dist/chunks/grid-item-CGwfSnm7.cjs.js.map +1 -0
  199. package/dist/chunks/grid-item-DuAynDd1.es.js +78 -0
  200. package/dist/chunks/grid-item-DuAynDd1.es.js.map +1 -0
  201. package/dist/chunks/group-Buy-O6Mr.cjs.js +2 -0
  202. package/dist/chunks/group-Buy-O6Mr.cjs.js.map +1 -0
  203. package/dist/chunks/group-CqfSQXe7.es.js +14 -0
  204. package/dist/chunks/group-CqfSQXe7.es.js.map +1 -0
  205. package/dist/chunks/icon-BDsjJ4Zi.es.js +32 -0
  206. package/dist/chunks/icon-BDsjJ4Zi.es.js.map +1 -0
  207. package/dist/chunks/icon-DHoLo7_S.cjs.js +2 -0
  208. package/dist/chunks/icon-DHoLo7_S.cjs.js.map +1 -0
  209. package/dist/chunks/icon-button-1MQYEWVd.cjs.js +2 -0
  210. package/dist/chunks/icon-button-1MQYEWVd.cjs.js.map +1 -0
  211. package/dist/chunks/icon-button-Bp92vS0I.es.js +14 -0
  212. package/dist/chunks/icon-button-Bp92vS0I.es.js.map +1 -0
  213. package/dist/chunks/icon-toggle-button-D42wYTJF.cjs.js +2 -0
  214. package/dist/chunks/icon-toggle-button-D42wYTJF.cjs.js.map +1 -0
  215. package/dist/chunks/icon-toggle-button-D7N1RxnR.es.js +13 -0
  216. package/dist/chunks/icon-toggle-button-D7N1RxnR.es.js.map +1 -0
  217. package/dist/chunks/image-B3ISQSVL.cjs.js +2 -0
  218. package/dist/chunks/image-B3ISQSVL.cjs.js.map +1 -0
  219. package/dist/chunks/image-CwcCZREa.es.js +22 -0
  220. package/dist/chunks/image-CwcCZREa.es.js.map +1 -0
  221. package/dist/chunks/image-MeWmLoV0.es.js +8 -0
  222. package/dist/chunks/image-MeWmLoV0.es.js.map +1 -0
  223. package/dist/chunks/image-bt28epM5.cjs.js +2 -0
  224. package/dist/chunks/image-bt28epM5.cjs.js.map +1 -0
  225. package/dist/chunks/index-46Tt2Ww4.es.js +8 -0
  226. package/dist/chunks/index-46Tt2Ww4.es.js.map +1 -0
  227. package/dist/chunks/index-BYEAMD8A.cjs.js +2 -0
  228. package/dist/chunks/index-BYEAMD8A.cjs.js.map +1 -0
  229. package/dist/chunks/intlStrings-Cd44R5hT.es.js.map +1 -1
  230. package/dist/chunks/intlStrings-ClBuC6xN.cjs.js.map +1 -1
  231. package/dist/chunks/kbd-Bc97Bwq3.es.js +16 -0
  232. package/dist/chunks/kbd-Bc97Bwq3.es.js.map +1 -0
  233. package/dist/chunks/kbd-BlZ2RGfa.cjs.js +2 -0
  234. package/dist/chunks/kbd-BlZ2RGfa.cjs.js.map +1 -0
  235. package/dist/chunks/link-DjzrPyx3.es.js +50 -0
  236. package/dist/chunks/link-DjzrPyx3.es.js.map +1 -0
  237. package/dist/chunks/link-DzUonoQg.cjs.js +2 -0
  238. package/dist/chunks/link-DzUonoQg.cjs.js.map +1 -0
  239. package/dist/chunks/list-BTkkDy6B.es.js +23 -0
  240. package/dist/chunks/list-BTkkDy6B.es.js.map +1 -0
  241. package/dist/chunks/list-DokC0Ks-.cjs.js +2 -0
  242. package/dist/chunks/list-DokC0Ks-.cjs.js.map +1 -0
  243. package/dist/chunks/loading-spinner-DuBf2cIy.es.js +106 -0
  244. package/dist/chunks/loading-spinner-DuBf2cIy.es.js.map +1 -0
  245. package/dist/chunks/loading-spinner-VVQyl725.cjs.js +2 -0
  246. package/dist/chunks/loading-spinner-VVQyl725.cjs.js.map +1 -0
  247. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js +22 -0
  248. package/dist/chunks/make-element-focusable-C4ZHUSEU.es.js.map +1 -0
  249. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js +2 -0
  250. package/dist/chunks/make-element-focusable-bPAMXt4D.cjs.js.map +1 -0
  251. package/dist/chunks/menu-DFrwX16L.es.js +157 -0
  252. package/dist/chunks/menu-DFrwX16L.es.js.map +1 -0
  253. package/dist/chunks/menu-DHZ-kLy2.cjs.js +2 -0
  254. package/dist/chunks/menu-DHZ-kLy2.cjs.js.map +1 -0
  255. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +2 -0
  256. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +1 -0
  257. package/dist/chunks/mergeProps-B_9syxhT.es.js +130 -0
  258. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +1 -0
  259. package/dist/chunks/multiline-text-input-DJUUQQcc.es.js +120 -0
  260. package/dist/chunks/multiline-text-input-DJUUQQcc.es.js.map +1 -0
  261. package/dist/chunks/multiline-text-input-c-ycPy7O.cjs.js +12 -0
  262. package/dist/chunks/multiline-text-input-c-ycPy7O.cjs.js.map +1 -0
  263. package/dist/chunks/namespace---Td8pR2.es.js +74 -0
  264. package/dist/chunks/namespace---Td8pR2.es.js.map +1 -0
  265. package/dist/chunks/namespace-CpLmDcCq.cjs.js +2 -0
  266. package/dist/chunks/namespace-CpLmDcCq.cjs.js.map +1 -0
  267. package/dist/chunks/nimbus-provider-CVhVm-aq.cjs.js +2 -0
  268. package/dist/chunks/nimbus-provider-CVhVm-aq.cjs.js.map +1 -0
  269. package/dist/chunks/nimbus-provider-_f5vEIR_.es.js +101 -0
  270. package/dist/chunks/nimbus-provider-_f5vEIR_.es.js.map +1 -0
  271. package/dist/chunks/number-DHvo-MDe.cjs.js.map +1 -1
  272. package/dist/chunks/number-dMxJejI6.es.js.map +1 -1
  273. package/dist/chunks/number-input-BFmnS-UB.cjs.js +2 -0
  274. package/dist/chunks/number-input-BFmnS-UB.cjs.js.map +1 -0
  275. package/dist/chunks/number-input-DloMrtt6.es.js +657 -0
  276. package/dist/chunks/number-input-DloMrtt6.es.js.map +1 -0
  277. package/dist/chunks/openLink-Ctl0AdAy.es.js +105 -0
  278. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +1 -0
  279. package/dist/chunks/openLink-DkCJYbzq.cjs.js.map +1 -1
  280. package/dist/chunks/password-input-C-tPs6EJ.cjs.js +2 -0
  281. package/dist/chunks/password-input-C-tPs6EJ.cjs.js.map +1 -0
  282. package/dist/chunks/password-input-CBdBny43.es.js +50 -0
  283. package/dist/chunks/password-input-CBdBny43.es.js.map +1 -0
  284. package/dist/chunks/platform-BDLy2vDY.cjs.js.map +1 -1
  285. package/dist/chunks/platform-Z5fvtFmM.es.js +47 -0
  286. package/dist/chunks/platform-Z5fvtFmM.es.js.map +1 -0
  287. package/dist/chunks/progress-bar-Dx1MVCsz.es.js +77 -0
  288. package/dist/chunks/progress-bar-Dx1MVCsz.es.js.map +1 -0
  289. package/dist/chunks/progress-bar-vPPXrzbA.cjs.js +2 -0
  290. package/dist/chunks/progress-bar-vPPXrzbA.cjs.js.map +1 -0
  291. package/dist/chunks/provider-CHFgwvsP.es.js +989 -0
  292. package/dist/chunks/provider-CHFgwvsP.es.js.map +1 -0
  293. package/dist/chunks/provider-DFlBEH6q.cjs.js +16 -0
  294. package/dist/chunks/provider-DFlBEH6q.cjs.js.map +1 -0
  295. package/dist/chunks/radio-input-1eswyY0o.cjs.js +2 -0
  296. package/dist/chunks/radio-input-1eswyY0o.cjs.js.map +1 -0
  297. package/dist/chunks/radio-input-D-9Q8REK.es.js +341 -0
  298. package/dist/chunks/radio-input-D-9Q8REK.es.js.map +1 -0
  299. package/dist/chunks/range-calendar-B6T5RB2u.es.js +187 -0
  300. package/dist/chunks/range-calendar-B6T5RB2u.es.js.map +1 -0
  301. package/dist/chunks/range-calendar-NhqUtCdU.cjs.js +2 -0
  302. package/dist/chunks/range-calendar-NhqUtCdU.cjs.js.map +1 -0
  303. package/dist/chunks/rich-text-input-BvYBUkt_.es.js +691 -0
  304. package/dist/chunks/rich-text-input-BvYBUkt_.es.js.map +1 -0
  305. package/dist/chunks/rich-text-input-DXzaZuhE.cjs.js +2 -0
  306. package/dist/chunks/rich-text-input-DXzaZuhE.cjs.js.map +1 -0
  307. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +94 -0
  308. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +1 -0
  309. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +2 -0
  310. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +1 -0
  311. package/dist/chunks/select-CXwoEwFo.cjs.js +2 -0
  312. package/dist/chunks/select-CXwoEwFo.cjs.js.map +1 -0
  313. package/dist/chunks/select-CanxdDbU.es.js +559 -0
  314. package/dist/chunks/select-CanxdDbU.es.js.map +1 -0
  315. package/dist/chunks/simple-grid-B7BgfVAS.cjs.js +2 -0
  316. package/dist/chunks/simple-grid-B7BgfVAS.cjs.js.map +1 -0
  317. package/dist/chunks/simple-grid-C6GRMtip.es.js +38 -0
  318. package/dist/chunks/simple-grid-C6GRMtip.es.js.map +1 -0
  319. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js +24 -0
  320. package/dist/chunks/slate-helpers-BN_9Hky2.cjs.js.map +1 -0
  321. package/dist/chunks/slate-helpers-DunxggA8.es.js +6919 -0
  322. package/dist/chunks/slate-helpers-DunxggA8.es.js.map +1 -0
  323. package/dist/chunks/split-button-BTheahW8.es.js +103 -0
  324. package/dist/chunks/split-button-BTheahW8.es.js.map +1 -0
  325. package/dist/chunks/split-button-CM-MvUGD.cjs.js +2 -0
  326. package/dist/chunks/split-button-CM-MvUGD.cjs.js.map +1 -0
  327. package/dist/chunks/stack-BG0j9HvT.cjs.js +2 -0
  328. package/dist/chunks/stack-BG0j9HvT.cjs.js.map +1 -0
  329. package/dist/chunks/stack-QzuqKTKb.es.js +89 -0
  330. package/dist/chunks/stack-QzuqKTKb.es.js.map +1 -0
  331. package/dist/chunks/switch-D2Wfgfnu.cjs.js +2 -0
  332. package/dist/chunks/switch-D2Wfgfnu.cjs.js.map +1 -0
  333. package/dist/chunks/switch-DfH87j5a.es.js +79 -0
  334. package/dist/chunks/switch-DfH87j5a.es.js.map +1 -0
  335. package/dist/chunks/tag-group-BxRaZjiA.cjs.js +2 -0
  336. package/dist/chunks/tag-group-BxRaZjiA.cjs.js.map +1 -0
  337. package/dist/chunks/tag-group-EIsTAERM.es.js +781 -0
  338. package/dist/chunks/tag-group-EIsTAERM.es.js.map +1 -0
  339. package/dist/chunks/text-DSjt3Sqv.es.js +26 -0
  340. package/dist/chunks/text-DSjt3Sqv.es.js.map +1 -0
  341. package/dist/chunks/text-Dg1sFCuC.cjs.js +2 -0
  342. package/dist/chunks/text-Dg1sFCuC.cjs.js.map +1 -0
  343. package/dist/chunks/text-input-BnwR9awD.es.js +19 -0
  344. package/dist/chunks/text-input-BnwR9awD.es.js.map +1 -0
  345. package/dist/chunks/text-input-DtwV2zvu.cjs.js +2 -0
  346. package/dist/chunks/text-input-DtwV2zvu.cjs.js.map +1 -0
  347. package/dist/chunks/time-input-BS5RS11d.cjs.js +2 -0
  348. package/dist/chunks/time-input-BS5RS11d.cjs.js.map +1 -0
  349. package/dist/chunks/time-input-BuFPyNcW.es.js +132 -0
  350. package/dist/chunks/time-input-BuFPyNcW.es.js.map +1 -0
  351. package/dist/chunks/toggle-button-B5nYtXCP.es.js +30 -0
  352. package/dist/chunks/toggle-button-B5nYtXCP.es.js.map +1 -0
  353. package/dist/chunks/toggle-button-CZcbVyDV.cjs.js +2 -0
  354. package/dist/chunks/toggle-button-CZcbVyDV.cjs.js.map +1 -0
  355. package/dist/chunks/toggle-button-group-DHMnBWSg.es.js +82 -0
  356. package/dist/chunks/toggle-button-group-DHMnBWSg.es.js.map +1 -0
  357. package/dist/chunks/toggle-button-group-LddoXszz.cjs.js +2 -0
  358. package/dist/chunks/toggle-button-group-LddoXszz.cjs.js.map +1 -0
  359. package/dist/chunks/toolbar-CWst3Tik.es.js +59 -0
  360. package/dist/chunks/toolbar-CWst3Tik.es.js.map +1 -0
  361. package/dist/chunks/toolbar-CrxjHhQi.cjs.js +2 -0
  362. package/dist/chunks/toolbar-CrxjHhQi.cjs.js.map +1 -0
  363. package/dist/chunks/tooltip-CIAEV4_B.cjs.js +2 -0
  364. package/dist/chunks/tooltip-CIAEV4_B.cjs.js.map +1 -0
  365. package/dist/chunks/tooltip-CTvNYvui.es.js +269 -0
  366. package/dist/chunks/tooltip-CTvNYvui.es.js.map +1 -0
  367. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js +2 -0
  368. package/dist/chunks/use-formatting-state-DVcnyVBl.cjs.js.map +1 -0
  369. package/dist/chunks/use-formatting-state-DdKYccZs.es.js +247 -0
  370. package/dist/chunks/use-formatting-state-DdKYccZs.es.js.map +1 -0
  371. package/dist/chunks/use-recipe-DuU8En0C.es.js +13 -0
  372. package/dist/chunks/use-recipe-DuU8En0C.es.js.map +1 -0
  373. package/dist/chunks/use-recipe-pbWWLWIq.cjs.js +2 -0
  374. package/dist/chunks/use-recipe-pbWWLWIq.cjs.js.map +1 -0
  375. package/dist/chunks/useButton-BgBfaV_L.cjs.js +2 -0
  376. package/dist/chunks/useButton-BgBfaV_L.cjs.js.map +1 -0
  377. package/dist/chunks/useButton-DAeSjgg9.es.js +57 -0
  378. package/dist/chunks/useButton-DAeSjgg9.es.js.map +1 -0
  379. package/dist/chunks/useCollator-BHMZd1r6.es.js +12 -0
  380. package/dist/chunks/useCollator-BHMZd1r6.es.js.map +1 -0
  381. package/dist/chunks/useCollator-YVJAe1GI.cjs.js +2 -0
  382. package/dist/chunks/useCollator-YVJAe1GI.cjs.js.map +1 -0
  383. package/dist/chunks/useControlledState-D0L6S_5r.cjs.js.map +1 -1
  384. package/dist/chunks/useControlledState-u436Wbp1.es.js.map +1 -1
  385. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js +1601 -0
  386. package/dist/chunks/useDateFormatter-C7Kxzwro.es.js.map +1 -0
  387. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js +2 -0
  388. package/dist/chunks/useDateFormatter-CS19Cch2.cjs.js.map +1 -0
  389. package/dist/chunks/useEvent-CuUOU5WV.cjs.js +2 -0
  390. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +1 -0
  391. package/dist/chunks/useEvent-YHhqZvpU.es.js +22 -0
  392. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +1 -0
  393. package/dist/chunks/useField-Ce9zQxmx.es.js +36 -0
  394. package/dist/chunks/useField-Ce9zQxmx.es.js.map +1 -0
  395. package/dist/chunks/useField-DmqO9k7a.cjs.js +2 -0
  396. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +1 -0
  397. package/dist/chunks/useFilter-CG8lxfCP.cjs.js +2 -0
  398. package/dist/chunks/useFilter-CG8lxfCP.cjs.js.map +1 -0
  399. package/dist/chunks/useFilter-DOfNzeZ9.es.js +36 -0
  400. package/dist/chunks/useFilter-DOfNzeZ9.es.js.map +1 -0
  401. package/dist/chunks/useFocus-BtJ38vev.cjs.js +2 -0
  402. package/dist/chunks/useFocus-BtJ38vev.cjs.js.map +1 -0
  403. package/dist/chunks/useFocus-DkWJ2TJC.es.js +29 -0
  404. package/dist/chunks/useFocus-DkWJ2TJC.es.js.map +1 -0
  405. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js +2 -0
  406. package/dist/chunks/useFocusRing-CzFer4bD.cjs.js.map +1 -0
  407. package/dist/chunks/useFocusRing-updnkDQg.es.js +35 -0
  408. package/dist/chunks/useFocusRing-updnkDQg.es.js.map +1 -0
  409. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js +111 -0
  410. package/dist/chunks/useFocusVisible-CWDaG0ze.es.js.map +1 -0
  411. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js +2 -0
  412. package/dist/chunks/useFocusVisible-Co0C61s7.cjs.js.map +1 -0
  413. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js +2 -0
  414. package/dist/chunks/useFocusWithin-BDSWp3rw.cjs.js.map +1 -0
  415. package/dist/chunks/useFocusWithin-ByYlHjju.es.js +56 -0
  416. package/dist/chunks/useFocusWithin-ByYlHjju.es.js.map +1 -0
  417. package/dist/chunks/useFocusable-CrsD8ZcF.es.js +77 -0
  418. package/dist/chunks/useFocusable-CrsD8ZcF.es.js.map +1 -0
  419. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js +2 -0
  420. package/dist/chunks/useFocusable-DCgmQxS1.cjs.js.map +1 -0
  421. package/dist/chunks/useFormReset--wPlnEOl.cjs.js +2 -0
  422. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +1 -0
  423. package/dist/chunks/useFormReset-DurgUJL-.es.js +21 -0
  424. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +1 -0
  425. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js +202 -0
  426. package/dist/chunks/useFormValidation-4hZ1_a6w.es.js.map +1 -0
  427. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js +2 -0
  428. package/dist/chunks/useFormValidation-BEaCuNx1.cjs.js.map +1 -0
  429. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  430. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  431. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js +598 -0
  432. package/dist/chunks/useHighlightSelectionDescription-BQg1WcM3.es.js.map +1 -0
  433. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js +2 -0
  434. package/dist/chunks/useHighlightSelectionDescription-CpDw-Mgj.cjs.js.map +1 -0
  435. package/dist/chunks/useHover-CiP9jMFy.cjs.js +2 -0
  436. package/dist/chunks/useHover-CiP9jMFy.cjs.js.map +1 -0
  437. package/dist/chunks/useHover-DhoE75lX.es.js +86 -0
  438. package/dist/chunks/useHover-DhoE75lX.es.js.map +1 -0
  439. package/dist/chunks/useLabel-BBmkkrPP.es.js +37 -0
  440. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +1 -0
  441. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +2 -0
  442. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +1 -0
  443. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js +97 -0
  444. package/dist/chunks/useLocalizedStringFormatter-BRnRyxJp.es.js.map +1 -0
  445. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js +2 -0
  446. package/dist/chunks/useLocalizedStringFormatter-sB0mFYtL.cjs.js.map +1 -0
  447. package/dist/chunks/useObjectRef-CaJ5pgjX.es.js.map +1 -1
  448. package/dist/chunks/useObjectRef-dXOJdONs.cjs.js.map +1 -1
  449. package/dist/chunks/usePress-C8-hLXJw.cjs.js +8 -0
  450. package/dist/chunks/usePress-C8-hLXJw.cjs.js.map +1 -0
  451. package/dist/chunks/usePress-DHhWHfMz.es.js +456 -0
  452. package/dist/chunks/usePress-DHhWHfMz.es.js.map +1 -0
  453. package/dist/chunks/useProgressBar-DHFmTHqL.es.js +48 -0
  454. package/dist/chunks/useProgressBar-DHFmTHqL.es.js.map +1 -0
  455. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js +2 -0
  456. package/dist/chunks/useProgressBar-DWH4I0qR.cjs.js.map +1 -0
  457. package/dist/chunks/useSeparator-B-OtWwE7.cjs.js.map +1 -1
  458. package/dist/chunks/useSeparator-Dg70ACBm.es.js.map +1 -1
  459. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js +35 -0
  460. package/dist/chunks/useSingleSelectListState-D1rjgMv_.es.js.map +1 -0
  461. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js +2 -0
  462. package/dist/chunks/useSingleSelectListState-F2WkLZRg.cjs.js.map +1 -0
  463. package/dist/chunks/useSpinButton-C9DPDo0r.es.js +433 -0
  464. package/dist/chunks/useSpinButton-C9DPDo0r.es.js.map +1 -0
  465. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js +2 -0
  466. package/dist/chunks/useSpinButton-DA7sVP3T.cjs.js.map +1 -0
  467. package/dist/chunks/useSyncRef-DGRbdR4H.es.js +13 -0
  468. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +1 -0
  469. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +2 -0
  470. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +1 -0
  471. package/dist/chunks/useTextField-BcthGRd8.cjs.js +2 -0
  472. package/dist/chunks/useTextField-BcthGRd8.cjs.js.map +1 -0
  473. package/dist/chunks/useTextField-BnL6tOdd.es.js +91 -0
  474. package/dist/chunks/useTextField-BnL6tOdd.es.js.map +1 -0
  475. package/dist/chunks/useToggle-DqruaaTq.es.js +62 -0
  476. package/dist/chunks/useToggle-DqruaaTq.es.js.map +1 -0
  477. package/dist/chunks/useToggle-VJWgbeCC.cjs.js +2 -0
  478. package/dist/chunks/useToggle-VJWgbeCC.cjs.js.map +1 -0
  479. package/dist/chunks/useToggleState-Dl-o05wQ.cjs.js.map +1 -1
  480. package/dist/chunks/useToggleState-Uh0wTgdI.es.js.map +1 -1
  481. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js +2 -0
  482. package/dist/chunks/useToolbar-Bqn3EANT.cjs.js.map +1 -0
  483. package/dist/chunks/useToolbar-CLH6Sjes.es.js +55 -0
  484. package/dist/chunks/useToolbar-CLH6Sjes.es.js.map +1 -0
  485. package/dist/chunks/useUpdateEffect-C5YQs_1w.cjs.js.map +1 -1
  486. package/dist/chunks/useUpdateEffect-CCDx8D4X.es.js.map +1 -1
  487. package/dist/chunks/utils-BGHwK7fd.cjs.js +2 -0
  488. package/dist/chunks/utils-BGHwK7fd.cjs.js.map +1 -0
  489. package/dist/chunks/utils-BHdR5Nww.cjs.js +2 -0
  490. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +1 -0
  491. package/dist/chunks/utils-BkdW_cdL.es.js +128 -0
  492. package/dist/chunks/utils-BkdW_cdL.es.js.map +1 -0
  493. package/dist/chunks/utils-jpfA6kxk.es.js +188 -0
  494. package/dist/chunks/utils-jpfA6kxk.es.js.map +1 -0
  495. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js +2 -0
  496. package/dist/chunks/visually-hidden-Bh-G5QHv.cjs.js.map +1 -0
  497. package/dist/chunks/visually-hidden-BluyWhUI.es.js +11 -0
  498. package/dist/chunks/visually-hidden-BluyWhUI.es.js.map +1 -0
  499. package/dist/chunks/walk-object-CPVtf-bb.cjs.js +2 -0
  500. package/dist/chunks/walk-object-CPVtf-bb.cjs.js.map +1 -0
  501. package/dist/chunks/walk-object-Dpb8i9wi.es.js +27 -0
  502. package/dist/chunks/walk-object-Dpb8i9wi.es.js.map +1 -0
  503. package/dist/components/accordion.cjs +1 -1
  504. package/dist/components/accordion.es.js +1 -1
  505. package/dist/components/alert.cjs +1 -1
  506. package/dist/components/alert.es.js +1 -1
  507. package/dist/components/avatar.cjs +1 -1
  508. package/dist/components/avatar.es.js +1 -1
  509. package/dist/components/badge.cjs +1 -1
  510. package/dist/components/badge.es.js +1 -1
  511. package/dist/components/box.cjs +1 -1
  512. package/dist/components/box.es.js +1 -1
  513. package/dist/components/button.cjs +1 -1
  514. package/dist/components/button.es.js +1 -1
  515. package/dist/components/calendar.cjs +1 -1
  516. package/dist/components/calendar.es.js +1 -1
  517. package/dist/components/card.cjs +1 -1
  518. package/dist/components/card.es.js +1 -1
  519. package/dist/components/checkbox.cjs +1 -1
  520. package/dist/components/checkbox.es.js +1 -1
  521. package/dist/components/code.cjs +1 -1
  522. package/dist/components/code.es.js +1 -1
  523. package/dist/components/combobox.cjs +1 -1
  524. package/dist/components/combobox.es.js +1 -1
  525. package/dist/components/components.cjs +1 -1
  526. package/dist/components/components.es.js +55 -55
  527. package/dist/components/data-table.cjs +1 -1
  528. package/dist/components/data-table.es.js +1 -1
  529. package/dist/components/date-input.cjs +1 -1
  530. package/dist/components/date-input.es.js +1 -1
  531. package/dist/components/date-picker.cjs +1 -1
  532. package/dist/components/date-picker.es.js +1 -1
  533. package/dist/components/date-range-picker.cjs +1 -1
  534. package/dist/components/date-range-picker.es.js +1 -1
  535. package/dist/components/dialog.cjs +1 -1
  536. package/dist/components/dialog.es.js +1 -1
  537. package/dist/components/divider.cjs +1 -1
  538. package/dist/components/divider.es.js +1 -1
  539. package/dist/components/flex.cjs +1 -1
  540. package/dist/components/flex.es.js +1 -1
  541. package/dist/components/form-field.cjs +1 -1
  542. package/dist/components/form-field.es.js +1 -1
  543. package/dist/components/grid.cjs +1 -1
  544. package/dist/components/grid.es.js +1 -1
  545. package/dist/components/group.cjs +1 -1
  546. package/dist/components/group.es.js +1 -1
  547. package/dist/components/heading.cjs +1 -1
  548. package/dist/components/heading.es.js +1 -1
  549. package/dist/components/hooks.cjs +1 -1
  550. package/dist/components/hooks.es.js +1 -1
  551. package/dist/components/icon-button.cjs +1 -1
  552. package/dist/components/icon-button.es.js +1 -1
  553. package/dist/components/icon-toggle-button.cjs +1 -1
  554. package/dist/components/icon-toggle-button.es.js +1 -1
  555. package/dist/components/icon.cjs +1 -1
  556. package/dist/components/icon.es.js +1 -1
  557. package/dist/components/image.cjs +1 -1
  558. package/dist/components/image.es.js +1 -1
  559. package/dist/components/kbd.cjs +1 -1
  560. package/dist/components/kbd.es.js +1 -1
  561. package/dist/components/link.cjs +1 -1
  562. package/dist/components/link.es.js +1 -1
  563. package/dist/components/list.cjs +1 -1
  564. package/dist/components/list.es.js +1 -1
  565. package/dist/components/loading-spinner.cjs +1 -1
  566. package/dist/components/loading-spinner.es.js +1 -1
  567. package/dist/components/multiline-text-input.cjs +1 -1
  568. package/dist/components/multiline-text-input.es.js +1 -1
  569. package/dist/components/nimbus-provider.cjs +1 -1
  570. package/dist/components/nimbus-provider.es.js +1 -1
  571. package/dist/components/number-input.cjs +1 -1
  572. package/dist/components/number-input.es.js +1 -1
  573. package/dist/components/password-input.cjs +1 -1
  574. package/dist/components/password-input.es.js +1 -1
  575. package/dist/components/popover.cjs +1 -1
  576. package/dist/components/popover.es.js +2 -2
  577. package/dist/components/progress-bar.cjs +1 -1
  578. package/dist/components/progress-bar.es.js +1 -1
  579. package/dist/components/radio-input.cjs +1 -1
  580. package/dist/components/radio-input.es.js +1 -1
  581. package/dist/components/range-calendar.cjs +1 -1
  582. package/dist/components/range-calendar.es.js +1 -1
  583. package/dist/components/rich-text-input.cjs +1 -1
  584. package/dist/components/rich-text-input.es.js +1 -1
  585. package/dist/components/select.cjs +1 -1
  586. package/dist/components/select.es.js +1 -1
  587. package/dist/components/simple-grid.cjs +1 -1
  588. package/dist/components/simple-grid.es.js +1 -1
  589. package/dist/components/split-button.cjs +1 -1
  590. package/dist/components/split-button.es.js +1 -1
  591. package/dist/components/stack.cjs +1 -1
  592. package/dist/components/stack.es.js +1 -1
  593. package/dist/components/switch.cjs +1 -1
  594. package/dist/components/switch.es.js +1 -1
  595. package/dist/components/table.cjs +1 -1
  596. package/dist/components/table.es.js +1 -1
  597. package/dist/components/tag-group.cjs +1 -1
  598. package/dist/components/tag-group.es.js +1 -1
  599. package/dist/components/text-input.cjs +1 -1
  600. package/dist/components/text-input.es.js +1 -1
  601. package/dist/components/text.cjs +1 -1
  602. package/dist/components/text.es.js +1 -1
  603. package/dist/components/time-input.cjs +1 -1
  604. package/dist/components/time-input.es.js +1 -1
  605. package/dist/components/toggle-button-group.cjs +1 -1
  606. package/dist/components/toggle-button-group.es.js +1 -1
  607. package/dist/components/toggle-button.cjs +1 -1
  608. package/dist/components/toggle-button.es.js +1 -1
  609. package/dist/components/toolbar.cjs +1 -1
  610. package/dist/components/toolbar.es.js +1 -1
  611. package/dist/components/tooltip.cjs +1 -1
  612. package/dist/components/tooltip.es.js +2 -2
  613. package/dist/components/utils.cjs +1 -1
  614. package/dist/components/utils.es.js +2 -2
  615. package/dist/components/visually-hidden.cjs +1 -1
  616. package/dist/components/visually-hidden.es.js +1 -1
  617. package/dist/index.cjs +1 -1
  618. package/dist/index.cjs.map +1 -1
  619. package/dist/index.es.js +57 -57
  620. package/dist/index.es.js.map +1 -1
  621. package/package.json +18 -18
  622. package/dist/chunks/Button-MmwT6xpw.cjs.js +0 -2
  623. package/dist/chunks/Button-MmwT6xpw.cjs.js.map +0 -1
  624. package/dist/chunks/Button-wUEF0Zow.es.js +0 -73
  625. package/dist/chunks/Button-wUEF0Zow.es.js.map +0 -1
  626. package/dist/chunks/Collection-CDJ_uFKV.es.js +0 -1925
  627. package/dist/chunks/Collection-CDJ_uFKV.es.js.map +0 -1
  628. package/dist/chunks/Collection-D_q1hY13.cjs.js +0 -18
  629. package/dist/chunks/Collection-D_q1hY13.cjs.js.map +0 -1
  630. package/dist/chunks/DateField-BRw4EOOA.cjs.js +0 -2
  631. package/dist/chunks/DateField-BRw4EOOA.cjs.js.map +0 -1
  632. package/dist/chunks/DateField-Cg2n5ili.es.js +0 -2673
  633. package/dist/chunks/DateField-Cg2n5ili.es.js.map +0 -1
  634. package/dist/chunks/DatePicker-CqbnVxIC.cjs.js +0 -2
  635. package/dist/chunks/DatePicker-CqbnVxIC.cjs.js.map +0 -1
  636. package/dist/chunks/DatePicker-DVtAIdlj.es.js +0 -778
  637. package/dist/chunks/DatePicker-DVtAIdlj.es.js.map +0 -1
  638. package/dist/chunks/Dialog-BTicQJXP.es.js +0 -1904
  639. package/dist/chunks/Dialog-BTicQJXP.es.js.map +0 -1
  640. package/dist/chunks/Dialog-ljK75Ezb.cjs.js +0 -2
  641. package/dist/chunks/Dialog-ljK75Ezb.cjs.js.map +0 -1
  642. package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js +0 -2
  643. package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js.map +0 -1
  644. package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js +0 -81
  645. package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js.map +0 -1
  646. package/dist/chunks/FocusScope-B5Aod9bV.es.js +0 -696
  647. package/dist/chunks/FocusScope-B5Aod9bV.es.js.map +0 -1
  648. package/dist/chunks/FocusScope-sU1ErK5w.cjs.js +0 -2
  649. package/dist/chunks/FocusScope-sU1ErK5w.cjs.js.map +0 -1
  650. package/dist/chunks/Group-CU1nz0u2.es.js +0 -46
  651. package/dist/chunks/Group-CU1nz0u2.es.js.map +0 -1
  652. package/dist/chunks/Group-DxD-SZdK.cjs.js +0 -2
  653. package/dist/chunks/Group-DxD-SZdK.cjs.js.map +0 -1
  654. package/dist/chunks/Heading-BorDTn_V.cjs.js +0 -2
  655. package/dist/chunks/Heading-BorDTn_V.cjs.js.map +0 -1
  656. package/dist/chunks/Heading-CXKMd84h.es.js +0 -1619
  657. package/dist/chunks/Heading-CXKMd84h.es.js.map +0 -1
  658. package/dist/chunks/Input-B7Cnwv00.es.js +0 -43
  659. package/dist/chunks/Input-B7Cnwv00.es.js.map +0 -1
  660. package/dist/chunks/Input-DK49tQti.cjs.js +0 -2
  661. package/dist/chunks/Input-DK49tQti.cjs.js.map +0 -1
  662. package/dist/chunks/Label-CXgc_ps9.es.js +0 -17
  663. package/dist/chunks/Label-CXgc_ps9.es.js.map +0 -1
  664. package/dist/chunks/Label-DSG_MTc3.cjs.js +0 -2
  665. package/dist/chunks/Label-DSG_MTc3.cjs.js.map +0 -1
  666. package/dist/chunks/ListBox-CGw4-iNr.es.js +0 -615
  667. package/dist/chunks/ListBox-CGw4-iNr.es.js.map +0 -1
  668. package/dist/chunks/ListBox-DETV_5At.cjs.js +0 -2
  669. package/dist/chunks/ListBox-DETV_5At.cjs.js.map +0 -1
  670. package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js +0 -2
  671. package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js.map +0 -1
  672. package/dist/chunks/OverlayArrow-DbPNbnKm.es.js +0 -479
  673. package/dist/chunks/OverlayArrow-DbPNbnKm.es.js.map +0 -1
  674. package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js +0 -2
  675. package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js.map +0 -1
  676. package/dist/chunks/ProgressBar-DNmmtJsB.es.js +0 -42
  677. package/dist/chunks/ProgressBar-DNmmtJsB.es.js.map +0 -1
  678. package/dist/chunks/Separator-Ahj2J22_.es.js +0 -574
  679. package/dist/chunks/Separator-Ahj2J22_.es.js.map +0 -1
  680. package/dist/chunks/Separator-CinA2hg4.cjs.js +0 -2
  681. package/dist/chunks/Separator-CinA2hg4.cjs.js.map +0 -1
  682. package/dist/chunks/TextArea-DTir64d8.es.js +0 -42
  683. package/dist/chunks/TextArea-DTir64d8.es.js.map +0 -1
  684. package/dist/chunks/TextArea-p1OqtLgN.cjs.js +0 -2
  685. package/dist/chunks/TextArea-p1OqtLgN.cjs.js.map +0 -1
  686. package/dist/chunks/ToggleButton-CmN8Ay9u.es.js +0 -145
  687. package/dist/chunks/ToggleButton-CmN8Ay9u.es.js.map +0 -1
  688. package/dist/chunks/ToggleButton-DWTy3juF.cjs.js +0 -2
  689. package/dist/chunks/ToggleButton-DWTy3juF.cjs.js.map +0 -1
  690. package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js +0 -41
  691. package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js.map +0 -1
  692. package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js +0 -2
  693. package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js.map +0 -1
  694. package/dist/chunks/accordion-DF0by3UE.es.js +0 -223
  695. package/dist/chunks/accordion-DF0by3UE.es.js.map +0 -1
  696. package/dist/chunks/accordion-Db0ZaAwE.cjs.js +0 -2
  697. package/dist/chunks/accordion-Db0ZaAwE.cjs.js.map +0 -1
  698. package/dist/chunks/alert-Ck60ax0h.cjs.js +0 -2
  699. package/dist/chunks/alert-Ck60ax0h.cjs.js.map +0 -1
  700. package/dist/chunks/alert-DfnvHvbA.es.js +0 -187
  701. package/dist/chunks/alert-DfnvHvbA.es.js.map +0 -1
  702. package/dist/chunks/avatar-B7CMxFNg.es.js +0 -38
  703. package/dist/chunks/avatar-B7CMxFNg.es.js.map +0 -1
  704. package/dist/chunks/avatar-mL-2hOve.cjs.js +0 -2
  705. package/dist/chunks/avatar-mL-2hOve.cjs.js.map +0 -1
  706. package/dist/chunks/badge-B58WR_nK.es.js +0 -78
  707. package/dist/chunks/badge-B58WR_nK.es.js.map +0 -1
  708. package/dist/chunks/badge-D3iqhdY4.cjs.js +0 -2
  709. package/dist/chunks/badge-D3iqhdY4.cjs.js.map +0 -1
  710. package/dist/chunks/box-BPfqlznQ.cjs.js +0 -2
  711. package/dist/chunks/box-BPfqlznQ.cjs.js.map +0 -1
  712. package/dist/chunks/box-C8731OYq.es.js +0 -13
  713. package/dist/chunks/box-C8731OYq.es.js.map +0 -1
  714. package/dist/chunks/button-N0fUFhvD.cjs.js +0 -2
  715. package/dist/chunks/button-N0fUFhvD.cjs.js.map +0 -1
  716. package/dist/chunks/button-Nd45zL1x.es.js +0 -59
  717. package/dist/chunks/button-Nd45zL1x.es.js.map +0 -1
  718. package/dist/chunks/calendar-Cj6tlZEj.cjs.js +0 -2
  719. package/dist/chunks/calendar-Cj6tlZEj.cjs.js.map +0 -1
  720. package/dist/chunks/calendar-kDDTW9QY.es.js +0 -187
  721. package/dist/chunks/calendar-kDDTW9QY.es.js.map +0 -1
  722. package/dist/chunks/card-33QKPI9V.es.js +0 -139
  723. package/dist/chunks/card-33QKPI9V.es.js.map +0 -1
  724. package/dist/chunks/card-DFkYZ6Cs.cjs.js +0 -2
  725. package/dist/chunks/card-DFkYZ6Cs.cjs.js.map +0 -1
  726. package/dist/chunks/checkbox-D2tsRAy1.es.js +0 -219
  727. package/dist/chunks/checkbox-D2tsRAy1.es.js.map +0 -1
  728. package/dist/chunks/checkbox-g5gMaiLJ.cjs.js +0 -2
  729. package/dist/chunks/checkbox-g5gMaiLJ.cjs.js.map +0 -1
  730. package/dist/chunks/code-CTuEvrXA.cjs.js +0 -2
  731. package/dist/chunks/code-CTuEvrXA.cjs.js.map +0 -1
  732. package/dist/chunks/code-CieYW1ER.es.js +0 -8
  733. package/dist/chunks/code-CieYW1ER.es.js.map +0 -1
  734. package/dist/chunks/combobox-C1nOP0Qh.es.js +0 -1932
  735. package/dist/chunks/combobox-C1nOP0Qh.es.js.map +0 -1
  736. package/dist/chunks/combobox-D1AqzXjA.cjs.js +0 -2
  737. package/dist/chunks/combobox-D1AqzXjA.cjs.js.map +0 -1
  738. package/dist/chunks/context-D0_cRaDZ.cjs.js +0 -2
  739. package/dist/chunks/context-D0_cRaDZ.cjs.js.map +0 -1
  740. package/dist/chunks/context-Pt-0ojuK.es.js +0 -94
  741. package/dist/chunks/context-Pt-0ojuK.es.js.map +0 -1
  742. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js +0 -2
  743. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js.map +0 -1
  744. package/dist/chunks/create-recipe-context-i2odau3L.es.js +0 -62
  745. package/dist/chunks/create-recipe-context-i2odau3L.es.js.map +0 -1
  746. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js +0 -104
  747. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +0 -1
  748. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +0 -2
  749. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +0 -1
  750. package/dist/chunks/data-table-CgICAQC9.cjs.js +0 -2
  751. package/dist/chunks/data-table-CgICAQC9.cjs.js.map +0 -1
  752. package/dist/chunks/data-table-DlBw5XeS.es.js +0 -3984
  753. package/dist/chunks/data-table-DlBw5XeS.es.js.map +0 -1
  754. package/dist/chunks/date-input-CHWJMf4Y.cjs.js +0 -2
  755. package/dist/chunks/date-input-CHWJMf4Y.cjs.js.map +0 -1
  756. package/dist/chunks/date-input-DBd91qhQ.es.js +0 -17
  757. package/dist/chunks/date-input-DBd91qhQ.es.js.map +0 -1
  758. package/dist/chunks/date-picker-DkegHUiZ.es.js +0 -190
  759. package/dist/chunks/date-picker-DkegHUiZ.es.js.map +0 -1
  760. package/dist/chunks/date-picker-W70bKrmU.cjs.js +0 -2
  761. package/dist/chunks/date-picker-W70bKrmU.cjs.js.map +0 -1
  762. package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js +0 -2
  763. package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js.map +0 -1
  764. package/dist/chunks/date-range-picker-vzDrtZ94.es.js +0 -283
  765. package/dist/chunks/date-range-picker-vzDrtZ94.es.js.map +0 -1
  766. package/dist/chunks/dialog-CG-cCFkg.es.js +0 -1889
  767. package/dist/chunks/dialog-CG-cCFkg.es.js.map +0 -1
  768. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +0 -2
  769. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +0 -1
  770. package/dist/chunks/divider-BZkfiFj5.cjs.js +0 -2
  771. package/dist/chunks/divider-BZkfiFj5.cjs.js.map +0 -1
  772. package/dist/chunks/divider-Vtnb6QbI.es.js +0 -54
  773. package/dist/chunks/divider-Vtnb6QbI.es.js.map +0 -1
  774. package/dist/chunks/domHelpers-InH3T0qs.es.js +0 -16
  775. package/dist/chunks/domHelpers-InH3T0qs.es.js.map +0 -1
  776. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +0 -2
  777. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +0 -1
  778. package/dist/chunks/factory-BpxiKxSs.es.js +0 -269
  779. package/dist/chunks/factory-BpxiKxSs.es.js.map +0 -1
  780. package/dist/chunks/factory-DlCuwIGL.cjs.js +0 -3
  781. package/dist/chunks/factory-DlCuwIGL.cjs.js.map +0 -1
  782. package/dist/chunks/flex-B81RbgfK.es.js +0 -40
  783. package/dist/chunks/flex-B81RbgfK.es.js.map +0 -1
  784. package/dist/chunks/flex-BhVeeItQ.cjs.js +0 -2
  785. package/dist/chunks/flex-BhVeeItQ.cjs.js.map +0 -1
  786. package/dist/chunks/focusSafely-CgVjbH-x.cjs.js +0 -2
  787. package/dist/chunks/focusSafely-CgVjbH-x.cjs.js.map +0 -1
  788. package/dist/chunks/focusSafely-D8bIeV7X.es.js +0 -26
  789. package/dist/chunks/focusSafely-D8bIeV7X.es.js.map +0 -1
  790. package/dist/chunks/form-field-CS9GGlbl.cjs.js +0 -11
  791. package/dist/chunks/form-field-CS9GGlbl.cjs.js.map +0 -1
  792. package/dist/chunks/form-field-DcQW2A1i.es.js +0 -310
  793. package/dist/chunks/form-field-DcQW2A1i.es.js.map +0 -1
  794. package/dist/chunks/grid-CWdLtU5p.cjs.js +0 -2
  795. package/dist/chunks/grid-CWdLtU5p.cjs.js.map +0 -1
  796. package/dist/chunks/grid-Cdmh4YaF.es.js +0 -14
  797. package/dist/chunks/grid-Cdmh4YaF.es.js.map +0 -1
  798. package/dist/chunks/grid-item-CJHf3veC.cjs.js +0 -2
  799. package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +0 -1
  800. package/dist/chunks/grid-item-CpPkpUVF.es.js +0 -78
  801. package/dist/chunks/grid-item-CpPkpUVF.es.js.map +0 -1
  802. package/dist/chunks/group-CYRXn-NO.es.js +0 -14
  803. package/dist/chunks/group-CYRXn-NO.es.js.map +0 -1
  804. package/dist/chunks/group-DgCuvf_U.cjs.js +0 -2
  805. package/dist/chunks/group-DgCuvf_U.cjs.js.map +0 -1
  806. package/dist/chunks/icon-C_BZeqkm.cjs.js +0 -2
  807. package/dist/chunks/icon-C_BZeqkm.cjs.js.map +0 -1
  808. package/dist/chunks/icon-DTe62Nqz.es.js +0 -32
  809. package/dist/chunks/icon-DTe62Nqz.es.js.map +0 -1
  810. package/dist/chunks/icon-button-BkjZ1Pq8.es.js +0 -14
  811. package/dist/chunks/icon-button-BkjZ1Pq8.es.js.map +0 -1
  812. package/dist/chunks/icon-button-Cs41MKV5.cjs.js +0 -2
  813. package/dist/chunks/icon-button-Cs41MKV5.cjs.js.map +0 -1
  814. package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js +0 -2
  815. package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js.map +0 -1
  816. package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js +0 -13
  817. package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js.map +0 -1
  818. package/dist/chunks/image-B2WbQ5hi.es.js +0 -8
  819. package/dist/chunks/image-B2WbQ5hi.es.js.map +0 -1
  820. package/dist/chunks/image-BAqoLZQB.cjs.js +0 -2
  821. package/dist/chunks/image-BAqoLZQB.cjs.js.map +0 -1
  822. package/dist/chunks/image-BP9LcU28.cjs.js +0 -2
  823. package/dist/chunks/image-BP9LcU28.cjs.js.map +0 -1
  824. package/dist/chunks/image-BycsRl2K.es.js +0 -22
  825. package/dist/chunks/image-BycsRl2K.es.js.map +0 -1
  826. package/dist/chunks/index-0CyuQQet.es.js +0 -8
  827. package/dist/chunks/index-0CyuQQet.es.js.map +0 -1
  828. package/dist/chunks/index-x9OhLGGf.cjs.js +0 -2
  829. package/dist/chunks/index-x9OhLGGf.cjs.js.map +0 -1
  830. package/dist/chunks/kbd-BjfxBIWW.es.js +0 -16
  831. package/dist/chunks/kbd-BjfxBIWW.es.js.map +0 -1
  832. package/dist/chunks/kbd-DxwHwPaF.cjs.js +0 -2
  833. package/dist/chunks/kbd-DxwHwPaF.cjs.js.map +0 -1
  834. package/dist/chunks/link-CNe7kOhA.cjs.js +0 -2
  835. package/dist/chunks/link-CNe7kOhA.cjs.js.map +0 -1
  836. package/dist/chunks/link-D0XhkPu6.es.js +0 -50
  837. package/dist/chunks/link-D0XhkPu6.es.js.map +0 -1
  838. package/dist/chunks/list-r1G4iBXo.cjs.js +0 -2
  839. package/dist/chunks/list-r1G4iBXo.cjs.js.map +0 -1
  840. package/dist/chunks/list-x423RThD.es.js +0 -23
  841. package/dist/chunks/list-x423RThD.es.js.map +0 -1
  842. package/dist/chunks/loading-spinner-COTpElt8.es.js +0 -106
  843. package/dist/chunks/loading-spinner-COTpElt8.es.js.map +0 -1
  844. package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js +0 -2
  845. package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js.map +0 -1
  846. package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js +0 -2
  847. package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js.map +0 -1
  848. package/dist/chunks/make-element-focusable-DS5T93TG.es.js +0 -22
  849. package/dist/chunks/make-element-focusable-DS5T93TG.es.js.map +0 -1
  850. package/dist/chunks/menu-BaTd4n0a.cjs.js +0 -2
  851. package/dist/chunks/menu-BaTd4n0a.cjs.js.map +0 -1
  852. package/dist/chunks/menu-DKTon-Vn.es.js +0 -157
  853. package/dist/chunks/menu-DKTon-Vn.es.js.map +0 -1
  854. package/dist/chunks/mergeProps-CtwSzqnr.es.js +0 -131
  855. package/dist/chunks/mergeProps-CtwSzqnr.es.js.map +0 -1
  856. package/dist/chunks/mergeProps-DRkWdaVg.cjs.js +0 -2
  857. package/dist/chunks/mergeProps-DRkWdaVg.cjs.js.map +0 -1
  858. package/dist/chunks/multiline-text-input-Bsazfavw.es.js +0 -120
  859. package/dist/chunks/multiline-text-input-Bsazfavw.es.js.map +0 -1
  860. package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js +0 -12
  861. package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js.map +0 -1
  862. package/dist/chunks/namespace-CYjqWfVn.cjs.js +0 -2
  863. package/dist/chunks/namespace-CYjqWfVn.cjs.js.map +0 -1
  864. package/dist/chunks/namespace-HxAMZBwF.es.js +0 -74
  865. package/dist/chunks/namespace-HxAMZBwF.es.js.map +0 -1
  866. package/dist/chunks/nimbus-provider-BinjIRf7.es.js +0 -101
  867. package/dist/chunks/nimbus-provider-BinjIRf7.es.js.map +0 -1
  868. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js +0 -2
  869. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js.map +0 -1
  870. package/dist/chunks/number-input-2C9g1Xgr.cjs.js +0 -2
  871. package/dist/chunks/number-input-2C9g1Xgr.cjs.js.map +0 -1
  872. package/dist/chunks/number-input-l32lWVbX.es.js +0 -673
  873. package/dist/chunks/number-input-l32lWVbX.es.js.map +0 -1
  874. package/dist/chunks/openLink-BwkmFekP.es.js +0 -105
  875. package/dist/chunks/openLink-BwkmFekP.es.js.map +0 -1
  876. package/dist/chunks/password-input-B9Uv-ybv.es.js +0 -50
  877. package/dist/chunks/password-input-B9Uv-ybv.es.js.map +0 -1
  878. package/dist/chunks/password-input-q1cxpiOP.cjs.js +0 -2
  879. package/dist/chunks/password-input-q1cxpiOP.cjs.js.map +0 -1
  880. package/dist/chunks/platform-BOO1jCtB.es.js +0 -47
  881. package/dist/chunks/platform-BOO1jCtB.es.js.map +0 -1
  882. package/dist/chunks/progress-bar-BGTJgcWE.cjs.js +0 -2
  883. package/dist/chunks/progress-bar-BGTJgcWE.cjs.js.map +0 -1
  884. package/dist/chunks/progress-bar-C8onDqV2.es.js +0 -77
  885. package/dist/chunks/progress-bar-C8onDqV2.es.js.map +0 -1
  886. package/dist/chunks/provider-BzZZw3fF.cjs.js +0 -16
  887. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +0 -1
  888. package/dist/chunks/provider-DxFdjgyb.es.js +0 -989
  889. package/dist/chunks/provider-DxFdjgyb.es.js.map +0 -1
  890. package/dist/chunks/radio-input-BlE9GNwl.cjs.js +0 -2
  891. package/dist/chunks/radio-input-BlE9GNwl.cjs.js.map +0 -1
  892. package/dist/chunks/radio-input-uMVsYeTe.es.js +0 -341
  893. package/dist/chunks/radio-input-uMVsYeTe.es.js.map +0 -1
  894. package/dist/chunks/range-calendar-CvTT4HY-.cjs.js +0 -2
  895. package/dist/chunks/range-calendar-CvTT4HY-.cjs.js.map +0 -1
  896. package/dist/chunks/range-calendar-YuvY8LUd.es.js +0 -187
  897. package/dist/chunks/range-calendar-YuvY8LUd.es.js.map +0 -1
  898. package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js +0 -2
  899. package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js.map +0 -1
  900. package/dist/chunks/rich-text-input-CVqiVHV1.es.js +0 -691
  901. package/dist/chunks/rich-text-input-CVqiVHV1.es.js.map +0 -1
  902. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +0 -2
  903. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +0 -1
  904. package/dist/chunks/scrollIntoView-CdmKMaOn.es.js +0 -64
  905. package/dist/chunks/scrollIntoView-CdmKMaOn.es.js.map +0 -1
  906. package/dist/chunks/select-CgapbY3S.es.js +0 -559
  907. package/dist/chunks/select-CgapbY3S.es.js.map +0 -1
  908. package/dist/chunks/select-Dd2f6hd1.cjs.js +0 -2
  909. package/dist/chunks/select-Dd2f6hd1.cjs.js.map +0 -1
  910. package/dist/chunks/simple-grid-Crtlocqj.es.js +0 -38
  911. package/dist/chunks/simple-grid-Crtlocqj.es.js.map +0 -1
  912. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js +0 -2
  913. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +0 -1
  914. package/dist/chunks/slate-helpers-BwRHJO4o.es.js +0 -6919
  915. package/dist/chunks/slate-helpers-BwRHJO4o.es.js.map +0 -1
  916. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js +0 -24
  917. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js.map +0 -1
  918. package/dist/chunks/split-button-Blbr2czN.cjs.js +0 -2
  919. package/dist/chunks/split-button-Blbr2czN.cjs.js.map +0 -1
  920. package/dist/chunks/split-button-DoRlks-p.es.js +0 -103
  921. package/dist/chunks/split-button-DoRlks-p.es.js.map +0 -1
  922. package/dist/chunks/stack-B6PqFPMh.cjs.js +0 -2
  923. package/dist/chunks/stack-B6PqFPMh.cjs.js.map +0 -1
  924. package/dist/chunks/stack-CBx-c8hI.es.js +0 -89
  925. package/dist/chunks/stack-CBx-c8hI.es.js.map +0 -1
  926. package/dist/chunks/switch-Cb0mCIEe.es.js +0 -79
  927. package/dist/chunks/switch-Cb0mCIEe.es.js.map +0 -1
  928. package/dist/chunks/switch-Cha1HMzo.cjs.js +0 -2
  929. package/dist/chunks/switch-Cha1HMzo.cjs.js.map +0 -1
  930. package/dist/chunks/tag-group-5uAuEquc.cjs.js +0 -2
  931. package/dist/chunks/tag-group-5uAuEquc.cjs.js.map +0 -1
  932. package/dist/chunks/tag-group-CvKA8ufC.es.js +0 -769
  933. package/dist/chunks/tag-group-CvKA8ufC.es.js.map +0 -1
  934. package/dist/chunks/text-BOdnmoaN.cjs.js +0 -2
  935. package/dist/chunks/text-BOdnmoaN.cjs.js.map +0 -1
  936. package/dist/chunks/text-DkO9mfur.es.js +0 -26
  937. package/dist/chunks/text-DkO9mfur.es.js.map +0 -1
  938. package/dist/chunks/text-input-C3q-zUxw.es.js +0 -19
  939. package/dist/chunks/text-input-C3q-zUxw.es.js.map +0 -1
  940. package/dist/chunks/text-input-eShRYnI3.cjs.js +0 -2
  941. package/dist/chunks/text-input-eShRYnI3.cjs.js.map +0 -1
  942. package/dist/chunks/time-input-CkNODZOE.cjs.js +0 -2
  943. package/dist/chunks/time-input-CkNODZOE.cjs.js.map +0 -1
  944. package/dist/chunks/time-input-ZZK92O_5.es.js +0 -132
  945. package/dist/chunks/time-input-ZZK92O_5.es.js.map +0 -1
  946. package/dist/chunks/toggle-button-BEOCbO0O.cjs.js +0 -2
  947. package/dist/chunks/toggle-button-BEOCbO0O.cjs.js.map +0 -1
  948. package/dist/chunks/toggle-button-Bfo8opbK.es.js +0 -30
  949. package/dist/chunks/toggle-button-Bfo8opbK.es.js.map +0 -1
  950. package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js +0 -2
  951. package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js.map +0 -1
  952. package/dist/chunks/toggle-button-group-yB5nqdV3.es.js +0 -82
  953. package/dist/chunks/toggle-button-group-yB5nqdV3.es.js.map +0 -1
  954. package/dist/chunks/toolbar-BZkvVoAw.cjs.js +0 -2
  955. package/dist/chunks/toolbar-BZkvVoAw.cjs.js.map +0 -1
  956. package/dist/chunks/toolbar-DvkcbAsl.es.js +0 -59
  957. package/dist/chunks/toolbar-DvkcbAsl.es.js.map +0 -1
  958. package/dist/chunks/tooltip-Bb_I4Owj.es.js +0 -274
  959. package/dist/chunks/tooltip-Bb_I4Owj.es.js.map +0 -1
  960. package/dist/chunks/tooltip-D7QmPw5W.cjs.js +0 -2
  961. package/dist/chunks/tooltip-D7QmPw5W.cjs.js.map +0 -1
  962. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js +0 -2
  963. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js.map +0 -1
  964. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js +0 -247
  965. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js.map +0 -1
  966. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js +0 -2
  967. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +0 -1
  968. package/dist/chunks/use-recipe-CR4W7Dne.es.js +0 -13
  969. package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +0 -1
  970. package/dist/chunks/useButton-6DDhTkQ5.cjs.js +0 -2
  971. package/dist/chunks/useButton-6DDhTkQ5.cjs.js.map +0 -1
  972. package/dist/chunks/useButton-CKkFEBt0.es.js +0 -56
  973. package/dist/chunks/useButton-CKkFEBt0.es.js.map +0 -1
  974. package/dist/chunks/useCollator-BvjDbml1.es.js +0 -12
  975. package/dist/chunks/useCollator-BvjDbml1.es.js.map +0 -1
  976. package/dist/chunks/useCollator-ZqnkTllN.cjs.js +0 -2
  977. package/dist/chunks/useCollator-ZqnkTllN.cjs.js.map +0 -1
  978. package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js +0 -2
  979. package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js.map +0 -1
  980. package/dist/chunks/useDateFormatter-DGeAh0SC.es.js +0 -1601
  981. package/dist/chunks/useDateFormatter-DGeAh0SC.es.js.map +0 -1
  982. package/dist/chunks/useDescription-CVIOL3si.es.js +0 -33
  983. package/dist/chunks/useDescription-CVIOL3si.es.js.map +0 -1
  984. package/dist/chunks/useDescription-Dwd7oLGP.cjs.js +0 -2
  985. package/dist/chunks/useDescription-Dwd7oLGP.cjs.js.map +0 -1
  986. package/dist/chunks/useEvent-AOCWMUCu.cjs.js +0 -2
  987. package/dist/chunks/useEvent-AOCWMUCu.cjs.js.map +0 -1
  988. package/dist/chunks/useEvent-k0_MYJWL.es.js +0 -22
  989. package/dist/chunks/useEvent-k0_MYJWL.es.js.map +0 -1
  990. package/dist/chunks/useField-9-dizG-T.es.js +0 -36
  991. package/dist/chunks/useField-9-dizG-T.es.js.map +0 -1
  992. package/dist/chunks/useField-D5vZhNS3.cjs.js +0 -2
  993. package/dist/chunks/useField-D5vZhNS3.cjs.js.map +0 -1
  994. package/dist/chunks/useFilter-Bh0adxQ-.es.js +0 -36
  995. package/dist/chunks/useFilter-Bh0adxQ-.es.js.map +0 -1
  996. package/dist/chunks/useFilter-Du48WXDn.cjs.js +0 -2
  997. package/dist/chunks/useFilter-Du48WXDn.cjs.js.map +0 -1
  998. package/dist/chunks/useFocus-DpnjsJ3H.cjs.js +0 -2
  999. package/dist/chunks/useFocus-DpnjsJ3H.cjs.js.map +0 -1
  1000. package/dist/chunks/useFocus-Lq2Mmyje.es.js +0 -29
  1001. package/dist/chunks/useFocus-Lq2Mmyje.es.js.map +0 -1
  1002. package/dist/chunks/useFocusRing-BFWuvq6P.es.js +0 -35
  1003. package/dist/chunks/useFocusRing-BFWuvq6P.es.js.map +0 -1
  1004. package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js +0 -2
  1005. package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js.map +0 -1
  1006. package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js +0 -2
  1007. package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js.map +0 -1
  1008. package/dist/chunks/useFocusVisible-DGwGbqVH.es.js +0 -148
  1009. package/dist/chunks/useFocusVisible-DGwGbqVH.es.js.map +0 -1
  1010. package/dist/chunks/useFocusWithin-BcxLc412.cjs.js +0 -2
  1011. package/dist/chunks/useFocusWithin-BcxLc412.cjs.js.map +0 -1
  1012. package/dist/chunks/useFocusWithin-QIERmzTm.es.js +0 -56
  1013. package/dist/chunks/useFocusWithin-QIERmzTm.es.js.map +0 -1
  1014. package/dist/chunks/useFocusable-BKWax3sD.cjs.js +0 -2
  1015. package/dist/chunks/useFocusable-BKWax3sD.cjs.js.map +0 -1
  1016. package/dist/chunks/useFocusable-ZY85zm7p.es.js +0 -101
  1017. package/dist/chunks/useFocusable-ZY85zm7p.es.js.map +0 -1
  1018. package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js +0 -2
  1019. package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js.map +0 -1
  1020. package/dist/chunks/useFormReset-C27nadG4.es.js +0 -21
  1021. package/dist/chunks/useFormReset-C27nadG4.es.js.map +0 -1
  1022. package/dist/chunks/useFormValidation-B5jwexNB.cjs.js +0 -2
  1023. package/dist/chunks/useFormValidation-B5jwexNB.cjs.js.map +0 -1
  1024. package/dist/chunks/useFormValidation-Chwu6llz.es.js +0 -202
  1025. package/dist/chunks/useFormValidation-Chwu6llz.es.js.map +0 -1
  1026. package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js +0 -598
  1027. package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js.map +0 -1
  1028. package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js +0 -2
  1029. package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js.map +0 -1
  1030. package/dist/chunks/useHover-BmNjdf-e.cjs.js +0 -2
  1031. package/dist/chunks/useHover-BmNjdf-e.cjs.js.map +0 -1
  1032. package/dist/chunks/useHover-C5D2lV7p.es.js +0 -86
  1033. package/dist/chunks/useHover-C5D2lV7p.es.js.map +0 -1
  1034. package/dist/chunks/useLabel-BvIA-VYU.cjs.js +0 -2
  1035. package/dist/chunks/useLabel-BvIA-VYU.cjs.js.map +0 -1
  1036. package/dist/chunks/useLabel-DHa3lVYx.es.js +0 -37
  1037. package/dist/chunks/useLabel-DHa3lVYx.es.js.map +0 -1
  1038. package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js +0 -97
  1039. package/dist/chunks/useLocalizedStringFormatter-CvzOUusg.es.js.map +0 -1
  1040. package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js +0 -2
  1041. package/dist/chunks/useLocalizedStringFormatter-fJnbqb2x.cjs.js.map +0 -1
  1042. package/dist/chunks/usePress-CEcydhMs.es.js +0 -473
  1043. package/dist/chunks/usePress-CEcydhMs.es.js.map +0 -1
  1044. package/dist/chunks/usePress-_EFFCs1n.cjs.js +0 -8
  1045. package/dist/chunks/usePress-_EFFCs1n.cjs.js.map +0 -1
  1046. package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js +0 -2
  1047. package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js.map +0 -1
  1048. package/dist/chunks/useProgressBar-DjpcXNXW.es.js +0 -48
  1049. package/dist/chunks/useProgressBar-DjpcXNXW.es.js.map +0 -1
  1050. package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js +0 -35
  1051. package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js.map +0 -1
  1052. package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js +0 -2
  1053. package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js.map +0 -1
  1054. package/dist/chunks/useSpinButton-BmgSsr4J.es.js +0 -462
  1055. package/dist/chunks/useSpinButton-BmgSsr4J.es.js.map +0 -1
  1056. package/dist/chunks/useSpinButton-CjLHguQd.cjs.js +0 -2
  1057. package/dist/chunks/useSpinButton-CjLHguQd.cjs.js.map +0 -1
  1058. package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js +0 -2
  1059. package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js.map +0 -1
  1060. package/dist/chunks/useSyncRef-KqQTqZax.es.js +0 -47
  1061. package/dist/chunks/useSyncRef-KqQTqZax.es.js.map +0 -1
  1062. package/dist/chunks/useTextField-D0VFuWqP.es.js +0 -91
  1063. package/dist/chunks/useTextField-D0VFuWqP.es.js.map +0 -1
  1064. package/dist/chunks/useTextField-DvU8XT6q.cjs.js +0 -2
  1065. package/dist/chunks/useTextField-DvU8XT6q.cjs.js.map +0 -1
  1066. package/dist/chunks/useToggle-C9HpNiZE.es.js +0 -62
  1067. package/dist/chunks/useToggle-C9HpNiZE.es.js.map +0 -1
  1068. package/dist/chunks/useToggle-ChOojvWq.cjs.js +0 -2
  1069. package/dist/chunks/useToggle-ChOojvWq.cjs.js.map +0 -1
  1070. package/dist/chunks/useToolbar-DfnAHPrS.cjs.js +0 -2
  1071. package/dist/chunks/useToolbar-DfnAHPrS.cjs.js.map +0 -1
  1072. package/dist/chunks/useToolbar-Dzap6P-D.es.js +0 -55
  1073. package/dist/chunks/useToolbar-Dzap6P-D.es.js.map +0 -1
  1074. package/dist/chunks/utils-3xKI25I1.cjs.js +0 -2
  1075. package/dist/chunks/utils-3xKI25I1.cjs.js.map +0 -1
  1076. package/dist/chunks/utils-4CfAFtL7.es.js +0 -242
  1077. package/dist/chunks/utils-4CfAFtL7.es.js.map +0 -1
  1078. package/dist/chunks/utils-CB9xZl-T.cjs.js +0 -2
  1079. package/dist/chunks/utils-CB9xZl-T.cjs.js.map +0 -1
  1080. package/dist/chunks/utils-emYDjcZU.es.js +0 -128
  1081. package/dist/chunks/utils-emYDjcZU.es.js.map +0 -1
  1082. package/dist/chunks/visually-hidden-Bw4WH-b1.es.js +0 -11
  1083. package/dist/chunks/visually-hidden-Bw4WH-b1.es.js.map +0 -1
  1084. package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js +0 -2
  1085. package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js.map +0 -1
  1086. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js +0 -2
  1087. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js.map +0 -1
  1088. package/dist/chunks/walk-object-Drjey5HY.es.js +0 -27
  1089. package/dist/chunks/walk-object-Drjey5HY.es.js.map +0 -1
@@ -1,1925 +0,0 @@
1
- import S, { useRef as E, useState as Y, useEffect as X, useMemo as B, cloneElement as qe, forwardRef as We, useContext as H, createContext as G, useCallback as Z, isValidElement as ot } from "react";
2
- import { c as Ge, b as st } from "./FocusScope-B5Aod9bV.es.js";
3
- import { d as me, a as _e, c as we, $ as le, f as ut } from "./mergeProps-CtwSzqnr.es.js";
4
- import { $ as De } from "./focusWithoutScrolling-CDw3JYiq.es.js";
5
- import { $ as je, d as at } from "./openLink-BwkmFekP.es.js";
6
- import { $ as ee } from "./useEvent-k0_MYJWL.es.js";
7
- import { a as ct, b as Ee, c as ke } from "./scrollIntoView-CdmKMaOn.es.js";
8
- import { b as Ie } from "./useFocusVisible-DGwGbqVH.es.js";
9
- import { $ as be } from "./focusSafely-D8bIeV7X.es.js";
10
- import { flushSync as dt, createPortal as ft } from "react-dom";
11
- import { $ as ht } from "./context-Pt-0ojuK.es.js";
12
- import { b as yt, f as pt } from "./platform-BOO1jCtB.es.js";
13
- import { $ as Ye } from "./usePress-CEcydhMs.es.js";
14
- import { j as vt, $ as gt, g as mt } from "./utils-4CfAFtL7.es.js";
15
- import { $ as bt } from "./useSyncRef-KqQTqZax.es.js";
16
- import { $ as St } from "./useGlobalListeners-BOOfV5Wh.es.js";
17
- import { b as Kt } from "./domHelpers-InH3T0qs.es.js";
18
- import { a as $t } from "./Hidden-j3Lbt7xL.es.js";
19
- import { b as Pe } from "./useFocusable-ZY85zm7p.es.js";
20
- import { $ as Xe } from "./SSRProvider-Cu8KibIK.es.js";
21
- import { $ as xt } from "./useControlledState-u436Wbp1.es.js";
22
- function Fe(r, e) {
23
- const t = E(!0), i = E(null);
24
- me(() => (t.current = !0, () => {
25
- t.current = !1;
26
- }), []), me(() => {
27
- t.current ? t.current = !1 : (!i.current || e.some((l, n) => !Object.is(l, i[n]))) && r(), i.current = e;
28
- }, e);
29
- }
30
- const Ct = "react-aria-clear-focus", wt = "react-aria-focus";
31
- function q(r) {
32
- return yt() ? r.metaKey : r.ctrlKey;
33
- }
34
- let Dt = 0;
35
- const he = /* @__PURE__ */ new Map();
36
- function Et(r) {
37
- let [e, t] = Y();
38
- return vt(() => {
39
- if (!r) return;
40
- let i = he.get(r);
41
- if (i)
42
- t(i.element.id);
43
- else {
44
- let l = `react-aria-description-${Dt++}`;
45
- t(l);
46
- let n = document.createElement("div");
47
- n.id = l, n.style.display = "none", n.textContent = r, document.body.appendChild(n), i = {
48
- refCount: 0,
49
- element: n
50
- }, he.set(r, i);
51
- }
52
- return i.refCount++, () => {
53
- i && --i.refCount === 0 && (i.element.remove(), he.delete(r));
54
- };
55
- }, [
56
- r
57
- ]), {
58
- "aria-describedby": r ? e : void 0
59
- };
60
- }
61
- const kt = 500;
62
- function It(r) {
63
- let { isDisabled: e, onLongPressStart: t, onLongPressEnd: i, onLongPress: l, threshold: n = kt, accessibilityDescription: o } = r;
64
- const c = E(void 0);
65
- let { addGlobalListener: u, removeGlobalListener: v } = St(), { pressProps: $ } = Ye({
66
- isDisabled: e,
67
- onPressStart(f) {
68
- if (f.continuePropagation(), (f.pointerType === "mouse" || f.pointerType === "touch") && (t && t({
69
- ...f,
70
- type: "longpressstart"
71
- }), c.current = setTimeout(() => {
72
- f.target.dispatchEvent(new PointerEvent("pointercancel", {
73
- bubbles: !0
74
- })), gt(f.target).activeElement !== f.target && mt(f.target), l && l({
75
- ...f,
76
- type: "longpress"
77
- }), c.current = void 0;
78
- }, n), f.pointerType === "touch")) {
79
- let h = (p) => {
80
- p.preventDefault();
81
- };
82
- u(f.target, "contextmenu", h, {
83
- once: !0
84
- }), u(window, "pointerup", () => {
85
- setTimeout(() => {
86
- v(f.target, "contextmenu", h);
87
- }, 30);
88
- }, {
89
- once: !0
90
- });
91
- }
92
- },
93
- onPressEnd(f) {
94
- c.current && clearTimeout(c.current), i && (f.pointerType === "mouse" || f.pointerType === "touch") && i({
95
- ...f,
96
- type: "longpressend"
97
- });
98
- }
99
- }), d = Et(l && !e ? o : void 0);
100
- return {
101
- longPressProps: bt($, d)
102
- };
103
- }
104
- function Ze(r) {
105
- let e = Ft(Kt(r));
106
- e !== r && (e && Pt(e, r), r && Je(r, e));
107
- }
108
- function Pt(r, e) {
109
- r.dispatchEvent(new FocusEvent("blur", {
110
- relatedTarget: e
111
- })), r.dispatchEvent(new FocusEvent("focusout", {
112
- bubbles: !0,
113
- relatedTarget: e
114
- }));
115
- }
116
- function Je(r, e) {
117
- r.dispatchEvent(new FocusEvent("focus", {
118
- relatedTarget: e
119
- })), r.dispatchEvent(new FocusEvent("focusin", {
120
- bubbles: !0,
121
- relatedTarget: e
122
- }));
123
- }
124
- function Ft(r) {
125
- let e = Ge(r), t = e?.getAttribute("aria-activedescendant");
126
- return t && r.getElementById(t) || e;
127
- }
128
- function Se(r) {
129
- return pt() ? r.altKey : r.ctrlKey;
130
- }
131
- function ie(r, e) {
132
- var t, i;
133
- let l = `[data-key="${CSS.escape(String(e))}"]`, n = (t = r.current) === null || t === void 0 ? void 0 : t.dataset.collection;
134
- return n && (l = `[data-collection="${CSS.escape(n)}"]${l}`), (i = r.current) === null || i === void 0 ? void 0 : i.querySelector(l);
135
- }
136
- const Qe = /* @__PURE__ */ new WeakMap();
137
- function Mt(r) {
138
- let e = _e();
139
- return Qe.set(r, e), e;
140
- }
141
- function At(r) {
142
- return Qe.get(r);
143
- }
144
- const Rt = 1e3;
145
- function Tt(r) {
146
- let { keyboardDelegate: e, selectionManager: t, onTypeSelect: i } = r, l = E({
147
- search: "",
148
- timeout: void 0
149
- }).current, n = (o) => {
150
- let c = Ot(o.key);
151
- if (!(!c || o.ctrlKey || o.metaKey || !o.currentTarget.contains(o.target) || l.search.length === 0 && c === " ")) {
152
- if (c === " " && l.search.trim().length > 0 && (o.preventDefault(), "continuePropagation" in o || o.stopPropagation()), l.search += c, e.getKeyForSearch != null) {
153
- let u = e.getKeyForSearch(l.search, t.focusedKey);
154
- u == null && (u = e.getKeyForSearch(l.search)), u != null && (t.setFocusedKey(u), i && i(u));
155
- }
156
- clearTimeout(l.timeout), l.timeout = setTimeout(() => {
157
- l.search = "";
158
- }, Rt);
159
- }
160
- };
161
- return {
162
- typeSelectProps: {
163
- // Using a capturing listener to catch the keydown event before
164
- // other hooks in order to handle the Spacebar event.
165
- onKeyDownCapture: e.getKeyForSearch ? n : void 0
166
- }
167
- };
168
- }
169
- function Ot(r) {
170
- return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
171
- }
172
- function $i(r) {
173
- let { selectionManager: e, keyboardDelegate: t, ref: i, autoFocus: l = !1, shouldFocusWrap: n = !1, disallowEmptySelection: o = !1, disallowSelectAll: c = !1, escapeKeyBehavior: u = "clearSelection", selectOnFocus: v = e.selectionBehavior === "replace", disallowTypeAhead: $ = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, isVirtualized: h, scrollRef: p = i, linkBehavior: K = "action" } = r, { direction: g } = ht(), m = je(), C = (a) => {
174
- var b;
175
- if (a.altKey && a.key === "Tab" && a.preventDefault(), !(!((b = i.current) === null || b === void 0) && b.contains(a.target))) return;
176
- const s = (y, z) => {
177
- if (y != null) {
178
- if (e.isLink(y) && K === "selection" && v && !Se(a)) {
179
- dt(() => {
180
- e.setFocusedKey(y, z);
181
- });
182
- let U = ie(i, y), Ce = e.getItemProps(y);
183
- U && m.open(U, a, Ce.href, Ce.routerOptions);
184
- return;
185
- }
186
- if (e.setFocusedKey(y, z), e.isLink(y) && K === "override") return;
187
- a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && !Se(a) && e.replaceSelection(y);
188
- }
189
- };
190
- switch (a.key) {
191
- case "ArrowDown":
192
- if (t.getKeyBelow) {
193
- var w, F, P;
194
- let y = e.focusedKey != null ? (w = t.getKeyBelow) === null || w === void 0 ? void 0 : w.call(t, e.focusedKey) : (F = t.getFirstKey) === null || F === void 0 ? void 0 : F.call(t);
195
- y == null && n && (y = (P = t.getFirstKey) === null || P === void 0 ? void 0 : P.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y));
196
- }
197
- break;
198
- case "ArrowUp":
199
- if (t.getKeyAbove) {
200
- var L, N, oe;
201
- let y = e.focusedKey != null ? (L = t.getKeyAbove) === null || L === void 0 ? void 0 : L.call(t, e.focusedKey) : (N = t.getLastKey) === null || N === void 0 ? void 0 : N.call(t);
202
- y == null && n && (y = (oe = t.getLastKey) === null || oe === void 0 ? void 0 : oe.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y));
203
- }
204
- break;
205
- case "ArrowLeft":
206
- if (t.getKeyLeftOf) {
207
- var se, ue, ae;
208
- let y = e.focusedKey != null ? (se = t.getKeyLeftOf) === null || se === void 0 ? void 0 : se.call(t, e.focusedKey) : null;
209
- y == null && n && (y = g === "rtl" ? (ue = t.getFirstKey) === null || ue === void 0 ? void 0 : ue.call(t, e.focusedKey) : (ae = t.getLastKey) === null || ae === void 0 ? void 0 : ae.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y, g === "rtl" ? "first" : "last"));
210
- }
211
- break;
212
- case "ArrowRight":
213
- if (t.getKeyRightOf) {
214
- var ce, de, fe;
215
- let y = e.focusedKey != null ? (ce = t.getKeyRightOf) === null || ce === void 0 ? void 0 : ce.call(t, e.focusedKey) : null;
216
- y == null && n && (y = g === "rtl" ? (de = t.getLastKey) === null || de === void 0 ? void 0 : de.call(t, e.focusedKey) : (fe = t.getFirstKey) === null || fe === void 0 ? void 0 : fe.call(t, e.focusedKey)), y != null && (a.preventDefault(), s(y, g === "rtl" ? "last" : "first"));
217
- }
218
- break;
219
- case "Home":
220
- if (t.getFirstKey) {
221
- if (e.focusedKey === null && a.shiftKey) return;
222
- a.preventDefault();
223
- let y = t.getFirstKey(e.focusedKey, q(a));
224
- e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
225
- }
226
- break;
227
- case "End":
228
- if (t.getLastKey) {
229
- if (e.focusedKey === null && a.shiftKey) return;
230
- a.preventDefault();
231
- let y = t.getLastKey(e.focusedKey, q(a));
232
- e.setFocusedKey(y), y != null && (q(a) && a.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(y) : v && e.replaceSelection(y));
233
- }
234
- break;
235
- case "PageDown":
236
- if (t.getKeyPageBelow && e.focusedKey != null) {
237
- let y = t.getKeyPageBelow(e.focusedKey);
238
- y != null && (a.preventDefault(), s(y));
239
- }
240
- break;
241
- case "PageUp":
242
- if (t.getKeyPageAbove && e.focusedKey != null) {
243
- let y = t.getKeyPageAbove(e.focusedKey);
244
- y != null && (a.preventDefault(), s(y));
245
- }
246
- break;
247
- case "a":
248
- q(a) && e.selectionMode === "multiple" && c !== !0 && (a.preventDefault(), e.selectAll());
249
- break;
250
- case "Escape":
251
- u === "clearSelection" && !o && e.selectedKeys.size !== 0 && (a.stopPropagation(), a.preventDefault(), e.clearSelection());
252
- break;
253
- case "Tab":
254
- if (!f) {
255
- if (a.shiftKey) i.current.focus();
256
- else {
257
- let y = st(i.current, {
258
- tabbable: !0
259
- }), z, U;
260
- do
261
- U = y.lastChild(), U && (z = U);
262
- while (U);
263
- z && !z.contains(document.activeElement) && De(z);
264
- }
265
- break;
266
- }
267
- }
268
- }, x = E({
269
- top: 0,
270
- left: 0
271
- });
272
- ee(p, "scroll", h ? void 0 : () => {
273
- var a, b, s, w;
274
- x.current = {
275
- top: (s = (a = p.current) === null || a === void 0 ? void 0 : a.scrollTop) !== null && s !== void 0 ? s : 0,
276
- left: (w = (b = p.current) === null || b === void 0 ? void 0 : b.scrollLeft) !== null && w !== void 0 ? w : 0
277
- };
278
- });
279
- let k = (a) => {
280
- if (e.isFocused) {
281
- a.currentTarget.contains(a.target) || e.setFocused(!1);
282
- return;
283
- }
284
- if (a.currentTarget.contains(a.target)) {
285
- if (e.setFocused(!0), e.focusedKey == null) {
286
- var b, s;
287
- let P = (N) => {
288
- N != null && (e.setFocusedKey(N), v && !e.isSelected(N) && e.replaceSelection(N));
289
- }, L = a.relatedTarget;
290
- var w, F;
291
- L && a.currentTarget.compareDocumentPosition(L) & Node.DOCUMENT_POSITION_FOLLOWING ? P((w = e.lastSelectedKey) !== null && w !== void 0 ? w : (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) : P((F = e.firstSelectedKey) !== null && F !== void 0 ? F : (s = t.getFirstKey) === null || s === void 0 ? void 0 : s.call(t));
292
- } else !h && p.current && (p.current.scrollTop = x.current.top, p.current.scrollLeft = x.current.left);
293
- if (e.focusedKey != null && p.current) {
294
- let P = ie(i, e.focusedKey);
295
- P instanceof HTMLElement && (!P.contains(document.activeElement) && !d && De(P), Ie() === "keyboard" && Ee(P, {
296
- containingElement: i.current
297
- }));
298
- }
299
- }
300
- }, M = (a) => {
301
- a.currentTarget.contains(a.relatedTarget) || e.setFocused(!1);
302
- }, A = E(!1);
303
- ee(i, wt, d ? (a) => {
304
- let { detail: b } = a;
305
- a.stopPropagation(), e.setFocused(!0), b?.focusStrategy === "first" && (A.current = !0);
306
- } : void 0);
307
- let T = we(() => {
308
- var a, b;
309
- let s = (b = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && b !== void 0 ? b : null;
310
- if (s == null) {
311
- let w = Ge();
312
- Ze(i.current), Je(w, null), e.collection.size > 0 && (A.current = !1);
313
- } else
314
- e.setFocusedKey(s), A.current = !1;
315
- });
316
- Fe(() => {
317
- A.current && T();
318
- }, [
319
- e.collection,
320
- T
321
- ]);
322
- let I = we(() => {
323
- e.collection.size > 0 && (A.current = !1);
324
- });
325
- Fe(() => {
326
- I();
327
- }, [
328
- e.focusedKey,
329
- I
330
- ]), ee(i, Ct, d ? (a) => {
331
- var b;
332
- a.stopPropagation(), e.setFocused(!1), !((b = a.detail) === null || b === void 0) && b.clearFocusKey && e.setFocusedKey(null);
333
- } : void 0);
334
- const _ = E(l), O = E(!1);
335
- X(() => {
336
- if (_.current) {
337
- var a, b;
338
- let F = null;
339
- var s;
340
- l === "first" && (F = (s = (a = t.getFirstKey) === null || a === void 0 ? void 0 : a.call(t)) !== null && s !== void 0 ? s : null);
341
- var w;
342
- l === "last" && (F = (w = (b = t.getLastKey) === null || b === void 0 ? void 0 : b.call(t)) !== null && w !== void 0 ? w : null);
343
- let P = e.selectedKeys;
344
- if (P.size) {
345
- for (let L of P) if (e.canSelectItem(L)) {
346
- F = L;
347
- break;
348
- }
349
- }
350
- e.setFocused(!0), e.setFocusedKey(F), F == null && !d && i.current && be(i.current), e.collection.size > 0 && (_.current = !1, O.current = !0);
351
- }
352
- });
353
- let V = E(e.focusedKey), D = E(null);
354
- X(() => {
355
- if (e.isFocused && e.focusedKey != null && (e.focusedKey !== V.current || O.current) && p.current && i.current) {
356
- let a = Ie(), b = ie(i, e.focusedKey);
357
- if (!(b instanceof HTMLElement))
358
- return;
359
- (a === "keyboard" || O.current) && (D.current && cancelAnimationFrame(D.current), D.current = requestAnimationFrame(() => {
360
- p.current && (ct(p.current, b), a !== "virtual" && Ee(b, {
361
- containingElement: i.current
362
- }));
363
- }));
364
- }
365
- !d && e.isFocused && e.focusedKey == null && V.current != null && i.current && be(i.current), V.current = e.focusedKey, O.current = !1;
366
- }), X(() => () => {
367
- D.current && cancelAnimationFrame(D.current);
368
- }, []), ee(i, "react-aria-focus-scope-restore", (a) => {
369
- a.preventDefault(), e.setFocused(!0);
370
- });
371
- let j = {
372
- onKeyDown: C,
373
- onFocus: k,
374
- onBlur: M,
375
- onMouseDown(a) {
376
- p.current === a.target && a.preventDefault();
377
- }
378
- }, { typeSelectProps: ne } = Tt({
379
- keyboardDelegate: t,
380
- selectionManager: e
381
- });
382
- $ || (j = le(ne, j));
383
- let Q;
384
- d || (Q = e.focusedKey == null ? 0 : -1);
385
- let re = Mt(e.collection);
386
- return {
387
- collectionProps: le(j, {
388
- tabIndex: Q,
389
- "data-collection": re
390
- })
391
- };
392
- }
393
- function xi(r) {
394
- let { id: e, selectionManager: t, key: i, ref: l, shouldSelectOnPressUp: n, shouldUseVirtualFocus: o, focus: c, isDisabled: u, onAction: v, allowsDifferentPressOrigin: $, linkBehavior: d = "action" } = r, f = je();
395
- e = _e(e);
396
- let h = (s) => {
397
- if (s.pointerType === "keyboard" && Se(s)) t.toggleSelection(i);
398
- else {
399
- if (t.selectionMode === "none") return;
400
- if (t.isLink(i)) {
401
- if (d === "selection" && l.current) {
402
- let w = t.getItemProps(i);
403
- f.open(l.current, s, w.href, w.routerOptions), t.setSelectedKeys(t.selectedKeys);
404
- return;
405
- } else if (d === "override" || d === "none") return;
406
- }
407
- t.selectionMode === "single" ? t.isSelected(i) && !t.disallowEmptySelection ? t.toggleSelection(i) : t.replaceSelection(i) : s && s.shiftKey ? t.extendSelection(i) : t.selectionBehavior === "toggle" || s && (q(s) || s.pointerType === "touch" || s.pointerType === "virtual") ? t.toggleSelection(i) : t.replaceSelection(i);
408
- }
409
- };
410
- X(() => {
411
- i === t.focusedKey && t.isFocused && (o ? Ze(l.current) : c ? c() : document.activeElement !== l.current && l.current && be(l.current));
412
- }, [
413
- l,
414
- i,
415
- t.focusedKey,
416
- t.childFocusStrategy,
417
- t.isFocused,
418
- o
419
- ]), u = u || t.isDisabled(i);
420
- let p = {};
421
- !o && !u ? p = {
422
- tabIndex: i === t.focusedKey ? 0 : -1,
423
- onFocus(s) {
424
- s.target === l.current && t.setFocusedKey(i);
425
- }
426
- } : u && (p.onMouseDown = (s) => {
427
- s.preventDefault();
428
- });
429
- let K = t.isLink(i) && d === "override", g = t.isLink(i) && d !== "selection" && d !== "none", m = !u && t.canSelectItem(i) && !K, C = (v || g) && !u, x = C && (t.selectionBehavior === "replace" ? !m : !m || t.isEmpty), k = C && m && t.selectionBehavior === "replace", M = x || k, A = E(null), T = M && m, I = E(!1), _ = E(!1), O = t.getItemProps(i), V = (s) => {
430
- v && v(), g && l.current && f.open(l.current, s, O.href, O.routerOptions);
431
- }, D = {
432
- ref: l
433
- };
434
- if (n ? (D.onPressStart = (s) => {
435
- A.current = s.pointerType, I.current = T, s.pointerType === "keyboard" && (!M || Ae()) && h(s);
436
- }, $ ? (D.onPressUp = x ? void 0 : (s) => {
437
- s.pointerType === "mouse" && m && h(s);
438
- }, D.onPress = x ? V : (s) => {
439
- s.pointerType !== "keyboard" && s.pointerType !== "mouse" && m && h(s);
440
- }) : D.onPress = (s) => {
441
- if (x || k && s.pointerType !== "mouse") {
442
- if (s.pointerType === "keyboard" && !Me()) return;
443
- V(s);
444
- } else s.pointerType !== "keyboard" && m && h(s);
445
- }) : (D.onPressStart = (s) => {
446
- A.current = s.pointerType, I.current = T, _.current = x, m && (s.pointerType === "mouse" && !x || s.pointerType === "keyboard" && (!C || Ae())) && h(s);
447
- }, D.onPress = (s) => {
448
- (s.pointerType === "touch" || s.pointerType === "pen" || s.pointerType === "virtual" || s.pointerType === "keyboard" && M && Me() || s.pointerType === "mouse" && _.current) && (M ? V(s) : m && h(s));
449
- }), p["data-collection"] = At(t.collection), p["data-key"] = i, D.preventFocusOnPress = o, o && (D = le(D, {
450
- onPressStart(s) {
451
- s.pointerType !== "touch" && (t.setFocused(!0), t.setFocusedKey(i));
452
- },
453
- onPress(s) {
454
- s.pointerType === "touch" && (t.setFocused(!0), t.setFocusedKey(i));
455
- }
456
- })), O)
457
- for (let s of [
458
- "onPressStart",
459
- "onPressEnd",
460
- "onPressChange",
461
- "onPress",
462
- "onPressUp",
463
- "onClick"
464
- ]) O[s] && (D[s] = ut(D[s], O[s]));
465
- let { pressProps: j, isPressed: ne } = Ye(D), Q = k ? (s) => {
466
- A.current === "mouse" && (s.stopPropagation(), s.preventDefault(), V(s));
467
- } : void 0, { longPressProps: re } = It({
468
- isDisabled: !T,
469
- onLongPress(s) {
470
- s.pointerType === "touch" && (h(s), t.setSelectionBehavior("toggle"));
471
- }
472
- }), a = (s) => {
473
- A.current === "touch" && I.current && s.preventDefault();
474
- }, b = d !== "none" && t.isLink(i) ? (s) => {
475
- at.isOpening || s.preventDefault();
476
- } : void 0;
477
- return {
478
- itemProps: le(
479
- p,
480
- m || x || o && !u ? j : {},
481
- T ? re : {},
482
- {
483
- onDoubleClick: Q,
484
- onDragStartCapture: a,
485
- onClick: b,
486
- id: e
487
- },
488
- // Prevent DOM focus from moving on mouse down when using virtual focus
489
- o ? {
490
- onMouseDown: (s) => s.preventDefault()
491
- } : void 0
492
- ),
493
- isPressed: ne,
494
- isSelected: t.isSelected(i),
495
- isFocused: t.isFocused && t.focusedKey === i,
496
- isDisabled: u,
497
- allowsSelection: m,
498
- hasAction: M
499
- };
500
- }
501
- function Me() {
502
- let r = window.event;
503
- return r?.key === "Enter";
504
- }
505
- function Ae() {
506
- let r = window.event;
507
- return r?.key === " " || r?.code === "Space";
508
- }
509
- class Re {
510
- getItemRect(e) {
511
- let t = this.ref.current;
512
- if (!t) return null;
513
- let i = e != null ? ie(this.ref, e) : null;
514
- if (!i) return null;
515
- let l = t.getBoundingClientRect(), n = i.getBoundingClientRect();
516
- return {
517
- x: n.left - l.left + t.scrollLeft,
518
- y: n.top - l.top + t.scrollTop,
519
- width: n.width,
520
- height: n.height
521
- };
522
- }
523
- getContentSize() {
524
- let e = this.ref.current;
525
- var t, i;
526
- return {
527
- width: (t = e?.scrollWidth) !== null && t !== void 0 ? t : 0,
528
- height: (i = e?.scrollHeight) !== null && i !== void 0 ? i : 0
529
- };
530
- }
531
- getVisibleRect() {
532
- let e = this.ref.current;
533
- var t, i, l, n;
534
- return {
535
- x: (t = e?.scrollLeft) !== null && t !== void 0 ? t : 0,
536
- y: (i = e?.scrollTop) !== null && i !== void 0 ? i : 0,
537
- width: (l = e?.offsetWidth) !== null && l !== void 0 ? l : 0,
538
- height: (n = e?.offsetHeight) !== null && n !== void 0 ? n : 0
539
- };
540
- }
541
- constructor(e) {
542
- this.ref = e;
543
- }
544
- }
545
- class Ci {
546
- isDisabled(e) {
547
- var t;
548
- return this.disabledBehavior === "all" && (((t = e.props) === null || t === void 0 ? void 0 : t.isDisabled) || this.disabledKeys.has(e.key));
549
- }
550
- findNextNonDisabled(e, t) {
551
- let i = e;
552
- for (; i != null; ) {
553
- let l = this.collection.getItem(i);
554
- if (l?.type === "item" && !this.isDisabled(l)) return i;
555
- i = t(i);
556
- }
557
- return null;
558
- }
559
- getNextKey(e) {
560
- let t = e;
561
- return t = this.collection.getKeyAfter(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyAfter(i));
562
- }
563
- getPreviousKey(e) {
564
- let t = e;
565
- return t = this.collection.getKeyBefore(t), this.findNextNonDisabled(t, (i) => this.collection.getKeyBefore(i));
566
- }
567
- findKey(e, t, i) {
568
- let l = e, n = this.layoutDelegate.getItemRect(l);
569
- if (!n || l == null) return null;
570
- let o = n;
571
- do {
572
- if (l = t(l), l == null) break;
573
- n = this.layoutDelegate.getItemRect(l);
574
- } while (n && i(o, n) && l != null);
575
- return l;
576
- }
577
- isSameRow(e, t) {
578
- return e.y === t.y || e.x !== t.x;
579
- }
580
- isSameColumn(e, t) {
581
- return e.x === t.x || e.y !== t.y;
582
- }
583
- getKeyBelow(e) {
584
- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getNextKey(t), this.isSameRow) : this.getNextKey(e);
585
- }
586
- getKeyAbove(e) {
587
- return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(e, (t) => this.getPreviousKey(t), this.isSameRow) : this.getPreviousKey(e);
588
- }
589
- getNextColumn(e, t) {
590
- return t ? this.getPreviousKey(e) : this.getNextKey(e);
591
- }
592
- getKeyRightOf(e) {
593
- let t = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
594
- return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "rtl") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "rtl") : null;
595
- }
596
- getKeyLeftOf(e) {
597
- let t = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
598
- return this.layoutDelegate[t] ? (e = this.layoutDelegate[t](e), this.findNextNonDisabled(e, (i) => this.layoutDelegate[t](i))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(e, this.direction === "ltr") : this.findKey(e, (i) => this.getNextColumn(i, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(e, this.direction === "ltr") : null;
599
- }
600
- getFirstKey() {
601
- let e = this.collection.getFirstKey();
602
- return this.findNextNonDisabled(e, (t) => this.collection.getKeyAfter(t));
603
- }
604
- getLastKey() {
605
- let e = this.collection.getLastKey();
606
- return this.findNextNonDisabled(e, (t) => this.collection.getKeyBefore(t));
607
- }
608
- getKeyPageAbove(e) {
609
- let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
610
- if (!i) return null;
611
- if (t && !ke(t)) return this.getFirstKey();
612
- let l = e;
613
- if (this.orientation === "horizontal") {
614
- let n = Math.max(0, i.x + i.width - this.layoutDelegate.getVisibleRect().width);
615
- for (; i && i.x > n && l != null; )
616
- l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
617
- } else {
618
- let n = Math.max(0, i.y + i.height - this.layoutDelegate.getVisibleRect().height);
619
- for (; i && i.y > n && l != null; )
620
- l = this.getKeyAbove(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
621
- }
622
- return l ?? this.getFirstKey();
623
- }
624
- getKeyPageBelow(e) {
625
- let t = this.ref.current, i = this.layoutDelegate.getItemRect(e);
626
- if (!i) return null;
627
- if (t && !ke(t)) return this.getLastKey();
628
- let l = e;
629
- if (this.orientation === "horizontal") {
630
- let n = Math.min(this.layoutDelegate.getContentSize().width, i.y - i.width + this.layoutDelegate.getVisibleRect().width);
631
- for (; i && i.x < n && l != null; )
632
- l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
633
- } else {
634
- let n = Math.min(this.layoutDelegate.getContentSize().height, i.y - i.height + this.layoutDelegate.getVisibleRect().height);
635
- for (; i && i.y < n && l != null; )
636
- l = this.getKeyBelow(l), i = l == null ? null : this.layoutDelegate.getItemRect(l);
637
- }
638
- return l ?? this.getLastKey();
639
- }
640
- getKeyForSearch(e, t) {
641
- if (!this.collator) return null;
642
- let i = this.collection, l = t || this.getFirstKey();
643
- for (; l != null; ) {
644
- let n = i.getItem(l);
645
- if (!n) return null;
646
- let o = n.textValue.slice(0, e.length);
647
- if (n.textValue && this.collator.compare(o, e) === 0) return l;
648
- l = this.getNextKey(l);
649
- }
650
- return null;
651
- }
652
- constructor(...e) {
653
- if (e.length === 1) {
654
- let t = e[0];
655
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new Re(t.ref);
656
- } else
657
- this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new Re(this.ref);
658
- this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
659
- }
660
- }
661
- class Lt {
662
- build(e, t) {
663
- return this.context = t, Te(() => this.iterateCollection(e));
664
- }
665
- *iterateCollection(e) {
666
- let { children: t, items: i } = e;
667
- if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({
668
- children: t.props.children,
669
- items: i
670
- });
671
- else if (typeof t == "function") {
672
- if (!i) throw new Error("props.children was a function but props.items is missing");
673
- let l = 0;
674
- for (let n of i)
675
- yield* this.getFullNode({
676
- value: n,
677
- index: l
678
- }, {
679
- renderer: t
680
- }), l++;
681
- } else {
682
- let l = [];
683
- S.Children.forEach(t, (o) => {
684
- o && l.push(o);
685
- });
686
- let n = 0;
687
- for (let o of l) {
688
- let c = this.getFullNode({
689
- element: o,
690
- index: n
691
- }, {});
692
- for (let u of c)
693
- n++, yield u;
694
- }
695
- }
696
- }
697
- getKey(e, t, i, l) {
698
- if (e.key != null) return e.key;
699
- if (t.type === "cell" && t.key != null) return `${l}${t.key}`;
700
- let n = t.value;
701
- if (n != null) {
702
- var o;
703
- let c = (o = n.key) !== null && o !== void 0 ? o : n.id;
704
- if (c == null) throw new Error("No key found for item");
705
- return c;
706
- }
707
- return l ? `${l}.${t.index}` : `$.${t.index}`;
708
- }
709
- getChildState(e, t) {
710
- return {
711
- renderer: t.renderer || e.renderer
712
- };
713
- }
714
- *getFullNode(e, t, i, l) {
715
- if (S.isValidElement(e.element) && e.element.type === S.Fragment) {
716
- let g = [];
717
- S.Children.forEach(e.element.props.children, (C) => {
718
- g.push(C);
719
- });
720
- var n;
721
- let m = (n = e.index) !== null && n !== void 0 ? n : 0;
722
- for (const C of g) yield* this.getFullNode({
723
- element: C,
724
- index: m++
725
- }, t, i, l);
726
- return;
727
- }
728
- let o = e.element;
729
- if (!o && e.value && t && t.renderer) {
730
- let g = this.cache.get(e.value);
731
- if (g && (!g.shouldInvalidate || !g.shouldInvalidate(this.context))) {
732
- g.index = e.index, g.parentKey = l ? l.key : null, yield g;
733
- return;
734
- }
735
- o = t.renderer(e.value);
736
- }
737
- if (S.isValidElement(o)) {
738
- let g = o.type;
739
- if (typeof g != "function" && typeof g.getCollectionNode != "function") {
740
- let k = o.type;
741
- throw new Error(`Unknown element <${k}> in collection.`);
742
- }
743
- let m = g.getCollectionNode(o.props, this.context);
744
- var c;
745
- let C = (c = e.index) !== null && c !== void 0 ? c : 0, x = m.next();
746
- for (; !x.done && x.value; ) {
747
- let k = x.value;
748
- e.index = C;
749
- var u;
750
- let M = (u = k.key) !== null && u !== void 0 ? u : null;
751
- M == null && (M = k.element ? null : this.getKey(o, e, t, i));
752
- let T = [
753
- ...this.getFullNode({
754
- ...k,
755
- key: M,
756
- index: C,
757
- wrapper: Bt(e.wrapper, k.wrapper)
758
- }, this.getChildState(t, k), i ? `${i}${o.key}` : o.key, l)
759
- ];
760
- for (let I of T) {
761
- var v, $;
762
- I.value = ($ = (v = k.value) !== null && v !== void 0 ? v : e.value) !== null && $ !== void 0 ? $ : null, I.value && this.cache.set(I.value, I);
763
- var d;
764
- if (e.type && I.type !== e.type) throw new Error(`Unsupported type <${ye(I.type)}> in <${ye((d = l?.type) !== null && d !== void 0 ? d : "unknown parent type")}>. Only <${ye(e.type)}> is supported.`);
765
- C++, yield I;
766
- }
767
- x = m.next(T);
768
- }
769
- return;
770
- }
771
- if (e.key == null || e.type == null) return;
772
- let f = this;
773
- var h, p;
774
- let K = {
775
- type: e.type,
776
- props: e.props,
777
- key: e.key,
778
- parentKey: l ? l.key : null,
779
- value: (h = e.value) !== null && h !== void 0 ? h : null,
780
- level: l ? l.level + 1 : 0,
781
- index: e.index,
782
- rendered: e.rendered,
783
- textValue: (p = e.textValue) !== null && p !== void 0 ? p : "",
784
- "aria-label": e["aria-label"],
785
- wrapper: e.wrapper,
786
- shouldInvalidate: e.shouldInvalidate,
787
- hasChildNodes: e.hasChildNodes || !1,
788
- childNodes: Te(function* () {
789
- if (!e.hasChildNodes || !e.childNodes) return;
790
- let g = 0;
791
- for (let m of e.childNodes()) {
792
- m.key != null && (m.key = `${K.key}${m.key}`);
793
- let C = f.getFullNode({
794
- ...m,
795
- index: g
796
- }, f.getChildState(t, m), K.key, K);
797
- for (let x of C)
798
- g++, yield x;
799
- }
800
- })
801
- };
802
- yield K;
803
- }
804
- constructor() {
805
- this.cache = /* @__PURE__ */ new WeakMap();
806
- }
807
- }
808
- function Te(r) {
809
- let e = [], t = null;
810
- return {
811
- *[Symbol.iterator]() {
812
- for (let i of e) yield i;
813
- t || (t = r());
814
- for (let i of t)
815
- e.push(i), yield i;
816
- }
817
- };
818
- }
819
- function Bt(r, e) {
820
- if (r && e) return (t) => r(e(t));
821
- if (r) return r;
822
- if (e) return e;
823
- }
824
- function ye(r) {
825
- return r[0].toUpperCase() + r.slice(1);
826
- }
827
- function wi(r, e, t) {
828
- let i = B(() => new Lt(), []), { children: l, items: n, collection: o } = r;
829
- return B(() => {
830
- if (o) return o;
831
- let u = i.build({
832
- children: l,
833
- items: n
834
- }, t);
835
- return e(u);
836
- }, [
837
- i,
838
- l,
839
- n,
840
- o,
841
- t,
842
- e
843
- ]);
844
- }
845
- function Vt(r, e) {
846
- return typeof e.getChildren == "function" ? e.getChildren(r.key) : r.childNodes;
847
- }
848
- function Nt(r) {
849
- return zt(r, 0);
850
- }
851
- function zt(r, e) {
852
- if (e < 0) return;
853
- let t = 0;
854
- for (let i of r) {
855
- if (t === e) return i;
856
- t++;
857
- }
858
- }
859
- function Di(r) {
860
- let e;
861
- for (let t of r) e = t;
862
- return e;
863
- }
864
- function pe(r, e, t) {
865
- if (e.parentKey === t.parentKey) return e.index - t.index;
866
- let i = [
867
- ...Oe(r, e),
868
- e
869
- ], l = [
870
- ...Oe(r, t),
871
- t
872
- ], n = i.slice(0, l.length).findIndex((o, c) => o !== l[c]);
873
- return n !== -1 ? (e = i[n], t = l[n], e.index - t.index) : i.findIndex((o) => o === t) >= 0 ? 1 : (l.findIndex((o) => o === e) >= 0, -1);
874
- }
875
- function Oe(r, e) {
876
- let t = [], i = e;
877
- for (; i?.parentKey != null; )
878
- i = r.getItem(i.parentKey), i && t.unshift(i);
879
- return t;
880
- }
881
- var te = { exports: {} }, ve = {};
882
- /**
883
- * @license React
884
- * use-sync-external-store-shim.production.js
885
- *
886
- * Copyright (c) Meta Platforms, Inc. and affiliates.
887
- *
888
- * This source code is licensed under the MIT license found in the
889
- * LICENSE file in the root directory of this source tree.
890
- */
891
- var Le;
892
- function Ut() {
893
- if (Le) return ve;
894
- Le = 1;
895
- var r = S;
896
- function e(d, f) {
897
- return d === f && (d !== 0 || 1 / d === 1 / f) || d !== d && f !== f;
898
- }
899
- var t = typeof Object.is == "function" ? Object.is : e, i = r.useState, l = r.useEffect, n = r.useLayoutEffect, o = r.useDebugValue;
900
- function c(d, f) {
901
- var h = f(), p = i({ inst: { value: h, getSnapshot: f } }), K = p[0].inst, g = p[1];
902
- return n(
903
- function() {
904
- K.value = h, K.getSnapshot = f, u(K) && g({ inst: K });
905
- },
906
- [d, h, f]
907
- ), l(
908
- function() {
909
- return u(K) && g({ inst: K }), d(function() {
910
- u(K) && g({ inst: K });
911
- });
912
- },
913
- [d]
914
- ), o(h), h;
915
- }
916
- function u(d) {
917
- var f = d.getSnapshot;
918
- d = d.value;
919
- try {
920
- var h = f();
921
- return !t(d, h);
922
- } catch {
923
- return !0;
924
- }
925
- }
926
- function v(d, f) {
927
- return f();
928
- }
929
- var $ = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? v : c;
930
- return ve.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : $, ve;
931
- }
932
- var ge = {};
933
- /**
934
- * @license React
935
- * use-sync-external-store-shim.development.js
936
- *
937
- * Copyright (c) Meta Platforms, Inc. and affiliates.
938
- *
939
- * This source code is licensed under the MIT license found in the
940
- * LICENSE file in the root directory of this source tree.
941
- */
942
- var Be;
943
- function Ht() {
944
- return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
945
- function r(h, p) {
946
- return h === p && (h !== 0 || 1 / h === 1 / p) || h !== h && p !== p;
947
- }
948
- function e(h, p) {
949
- $ || l.startTransition === void 0 || ($ = !0, console.error(
950
- "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
951
- ));
952
- var K = p();
953
- if (!d) {
954
- var g = p();
955
- n(K, g) || (console.error(
956
- "The result of getSnapshot should be cached to avoid an infinite loop"
957
- ), d = !0);
958
- }
959
- g = o({
960
- inst: { value: K, getSnapshot: p }
961
- });
962
- var m = g[0].inst, C = g[1];
963
- return u(
964
- function() {
965
- m.value = K, m.getSnapshot = p, t(m) && C({ inst: m });
966
- },
967
- [h, K, p]
968
- ), c(
969
- function() {
970
- return t(m) && C({ inst: m }), h(function() {
971
- t(m) && C({ inst: m });
972
- });
973
- },
974
- [h]
975
- ), v(K), K;
976
- }
977
- function t(h) {
978
- var p = h.getSnapshot;
979
- h = h.value;
980
- try {
981
- var K = p();
982
- return !n(h, K);
983
- } catch {
984
- return !0;
985
- }
986
- }
987
- function i(h, p) {
988
- return p();
989
- }
990
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
991
- var l = S, n = typeof Object.is == "function" ? Object.is : r, o = l.useState, c = l.useEffect, u = l.useLayoutEffect, v = l.useDebugValue, $ = !1, d = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : e;
992
- ge.useSyncExternalStore = l.useSyncExternalStore !== void 0 ? l.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
993
- }()), ge;
994
- }
995
- var Ve;
996
- function qt() {
997
- return Ve || (Ve = 1, process.env.NODE_ENV === "production" ? te.exports = Ut() : te.exports = Ht()), te.exports;
998
- }
999
- var Wt = /* @__PURE__ */ qt();
1000
- class $e {
1001
- get childNodes() {
1002
- throw new Error("childNodes is not supported");
1003
- }
1004
- clone() {
1005
- let e = new $e(this.type, this.key);
1006
- return e.value = this.value, e.level = this.level, e.hasChildNodes = this.hasChildNodes, e.rendered = this.rendered, e.textValue = this.textValue, e["aria-label"] = this["aria-label"], e.index = this.index, e.parentKey = this.parentKey, e.prevKey = this.prevKey, e.nextKey = this.nextKey, e.firstChildKey = this.firstChildKey, e.lastChildKey = this.lastChildKey, e.props = this.props, e.render = this.render, e.colSpan = this.colSpan, e.colIndex = this.colIndex, e;
1007
- }
1008
- constructor(e, t) {
1009
- this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = e, this.key = t;
1010
- }
1011
- }
1012
- class xe {
1013
- get size() {
1014
- return this.itemCount;
1015
- }
1016
- getKeys() {
1017
- return this.keyMap.keys();
1018
- }
1019
- *[Symbol.iterator]() {
1020
- let e = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
1021
- for (; e; )
1022
- yield e, e = e.nextKey != null ? this.keyMap.get(e.nextKey) : void 0;
1023
- }
1024
- getChildren(e) {
1025
- let t = this.keyMap;
1026
- return {
1027
- *[Symbol.iterator]() {
1028
- let i = t.get(e), l = i?.firstChildKey != null ? t.get(i.firstChildKey) : null;
1029
- for (; l; )
1030
- yield l, l = l.nextKey != null ? t.get(l.nextKey) : void 0;
1031
- }
1032
- };
1033
- }
1034
- getKeyBefore(e) {
1035
- let t = this.keyMap.get(e);
1036
- if (!t) return null;
1037
- if (t.prevKey != null) {
1038
- for (t = this.keyMap.get(t.prevKey); t && t.type !== "item" && t.lastChildKey != null; ) t = this.keyMap.get(t.lastChildKey);
1039
- var i;
1040
- return (i = t?.key) !== null && i !== void 0 ? i : null;
1041
- }
1042
- return t.parentKey;
1043
- }
1044
- getKeyAfter(e) {
1045
- let t = this.keyMap.get(e);
1046
- if (!t) return null;
1047
- if (t.type !== "item" && t.firstChildKey != null) return t.firstChildKey;
1048
- for (; t; ) {
1049
- if (t.nextKey != null) return t.nextKey;
1050
- if (t.parentKey != null) t = this.keyMap.get(t.parentKey);
1051
- else return null;
1052
- }
1053
- return null;
1054
- }
1055
- getFirstKey() {
1056
- return this.firstKey;
1057
- }
1058
- getLastKey() {
1059
- let e = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
1060
- for (; e?.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
1061
- var t;
1062
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1063
- }
1064
- getItem(e) {
1065
- var t;
1066
- return (t = this.keyMap.get(e)) !== null && t !== void 0 ? t : null;
1067
- }
1068
- at() {
1069
- throw new Error("Not implemented");
1070
- }
1071
- clone() {
1072
- let e = this.constructor, t = new e();
1073
- return t.keyMap = new Map(this.keyMap), t.firstKey = this.firstKey, t.lastKey = this.lastKey, t.itemCount = this.itemCount, t;
1074
- }
1075
- addNode(e) {
1076
- if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
1077
- e.type === "item" && this.keyMap.get(e.key) == null && this.itemCount++, this.keyMap.set(e.key, e);
1078
- }
1079
- removeNode(e) {
1080
- if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
1081
- let t = this.keyMap.get(e);
1082
- t != null && t.type === "item" && this.itemCount--, this.keyMap.delete(e);
1083
- }
1084
- commit(e, t, i = !1) {
1085
- if (this.frozen) throw new Error("Cannot commit a frozen collection");
1086
- this.firstKey = e, this.lastKey = t, this.frozen = !i;
1087
- }
1088
- // TODO: this is pretty specific to menu, will need to check if it is generic enough
1089
- // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
1090
- // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
1091
- // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
1092
- UNSTABLE_filter(e) {
1093
- let t = new xe(), i = null;
1094
- for (let l of this)
1095
- if (l.type === "section" && l.hasChildNodes) {
1096
- let n = l.clone(), o = null;
1097
- for (let c of this.getChildren(l.key)) if (Ne(c, e, this, t)) {
1098
- let u = c.clone();
1099
- o == null && (n.firstChildKey = u.key), t.firstKey == null && (t.firstKey = n.key), o && o.parentKey === u.parentKey ? (o.nextKey = u.key, u.prevKey = o.key) : u.prevKey = null, u.nextKey = null, t.addNode(u), o = u;
1100
- }
1101
- o && (o.type !== "header" ? (n.lastChildKey = o.key, i == null ? n.prevKey = null : (i.type === "section" || i.type === "separator") && (i.nextKey = n.key, n.prevKey = i.key), n.nextKey = null, i = n, t.addNode(n)) : (t.firstKey === n.key && (t.firstKey = null), t.removeNode(o.key)));
1102
- } else if (l.type === "separator") {
1103
- let n = l.clone();
1104
- n.nextKey = null, i?.type === "section" && (i.nextKey = n.key, n.prevKey = i.key, i = n, t.addNode(n));
1105
- } else {
1106
- let n = l.clone();
1107
- Ne(n, e, this, t) && (t.firstKey == null && (t.firstKey = n.key), i != null && i.type !== "section" && i.type !== "separator" && i.parentKey === n.parentKey ? (i.nextKey = n.key, n.prevKey = i.key) : n.prevKey = null, n.nextKey = null, t.addNode(n), i = n);
1108
- }
1109
- if (i?.type === "separator" && i.nextKey === null) {
1110
- let l;
1111
- i.prevKey != null && (l = t.getItem(i.prevKey), l.nextKey = null), t.removeNode(i.key), i = l;
1112
- }
1113
- return t.lastKey = i?.key || null, t;
1114
- }
1115
- constructor() {
1116
- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
1117
- }
1118
- }
1119
- function Ne(r, e, t, i) {
1120
- if (r.type === "subdialogtrigger" || r.type === "submenutrigger") {
1121
- let l = [
1122
- ...t.getChildren(r.key)
1123
- ][0];
1124
- if (l && e(l.textValue)) {
1125
- let n = l.clone();
1126
- return i.addNode(n), !0;
1127
- } else return !1;
1128
- } else return r.type === "header" ? !0 : e(r.textValue);
1129
- }
1130
- class et {
1131
- *[Symbol.iterator]() {
1132
- let e = this.firstChild;
1133
- for (; e; )
1134
- yield e, e = e.nextSibling;
1135
- }
1136
- get firstChild() {
1137
- return this._firstChild;
1138
- }
1139
- set firstChild(e) {
1140
- this._firstChild = e, this.ownerDocument.markDirty(this);
1141
- }
1142
- get lastChild() {
1143
- return this._lastChild;
1144
- }
1145
- set lastChild(e) {
1146
- this._lastChild = e, this.ownerDocument.markDirty(this);
1147
- }
1148
- get previousSibling() {
1149
- return this._previousSibling;
1150
- }
1151
- set previousSibling(e) {
1152
- this._previousSibling = e, this.ownerDocument.markDirty(this);
1153
- }
1154
- get nextSibling() {
1155
- return this._nextSibling;
1156
- }
1157
- set nextSibling(e) {
1158
- this._nextSibling = e, this.ownerDocument.markDirty(this);
1159
- }
1160
- get parentNode() {
1161
- return this._parentNode;
1162
- }
1163
- set parentNode(e) {
1164
- this._parentNode = e, this.ownerDocument.markDirty(this);
1165
- }
1166
- get isConnected() {
1167
- var e;
1168
- return ((e = this.parentNode) === null || e === void 0 ? void 0 : e.isConnected) || !1;
1169
- }
1170
- invalidateChildIndices(e) {
1171
- (this._minInvalidChildIndex == null || !this._minInvalidChildIndex.isConnected || e.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = e, this.ownerDocument.markDirty(this));
1172
- }
1173
- updateChildIndices() {
1174
- let e = this._minInvalidChildIndex;
1175
- for (; e; )
1176
- e.index = e.previousSibling ? e.previousSibling.index + 1 : 0, e = e.nextSibling;
1177
- this._minInvalidChildIndex = null;
1178
- }
1179
- appendChild(e) {
1180
- e.parentNode && e.parentNode.removeChild(e), this.firstChild == null && (this.firstChild = e), this.lastChild ? (this.lastChild.nextSibling = e, e.index = this.lastChild.index + 1, e.previousSibling = this.lastChild) : (e.previousSibling = null, e.index = 0), e.parentNode = this, e.nextSibling = null, this.lastChild = e, this.ownerDocument.markDirty(this), this.isConnected && this.ownerDocument.queueUpdate();
1181
- }
1182
- insertBefore(e, t) {
1183
- if (t == null) return this.appendChild(e);
1184
- e.parentNode && e.parentNode.removeChild(e), e.nextSibling = t, e.previousSibling = t.previousSibling, e.index = t.index - 1, this.firstChild === t ? this.firstChild = e : t.previousSibling && (t.previousSibling.nextSibling = e), t.previousSibling = e, e.parentNode = t.parentNode, this.invalidateChildIndices(e), this.isConnected && this.ownerDocument.queueUpdate();
1185
- }
1186
- removeChild(e) {
1187
- e.parentNode !== this || !this.ownerDocument.isMounted || (this._minInvalidChildIndex === e && (this._minInvalidChildIndex = null), e.nextSibling && (this.invalidateChildIndices(e.nextSibling), e.nextSibling.previousSibling = e.previousSibling), e.previousSibling && (e.previousSibling.nextSibling = e.nextSibling), this.firstChild === e && (this.firstChild = e.nextSibling), this.lastChild === e && (this.lastChild = e.previousSibling), e.parentNode = null, e.nextSibling = null, e.previousSibling = null, e.index = 0, this.ownerDocument.markDirty(e), this.isConnected && this.ownerDocument.queueUpdate());
1188
- }
1189
- addEventListener() {
1190
- }
1191
- removeEventListener() {
1192
- }
1193
- get previousVisibleSibling() {
1194
- let e = this.previousSibling;
1195
- for (; e && e.isHidden; ) e = e.previousSibling;
1196
- return e;
1197
- }
1198
- get nextVisibleSibling() {
1199
- let e = this.nextSibling;
1200
- for (; e && e.isHidden; ) e = e.nextSibling;
1201
- return e;
1202
- }
1203
- get firstVisibleChild() {
1204
- let e = this.firstChild;
1205
- for (; e && e.isHidden; ) e = e.nextSibling;
1206
- return e;
1207
- }
1208
- get lastVisibleChild() {
1209
- let e = this.lastChild;
1210
- for (; e && e.isHidden; ) e = e.previousSibling;
1211
- return e;
1212
- }
1213
- constructor(e) {
1214
- this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
1215
- }
1216
- }
1217
- class W extends et {
1218
- get index() {
1219
- return this._index;
1220
- }
1221
- set index(e) {
1222
- this._index = e, this.ownerDocument.markDirty(this);
1223
- }
1224
- get level() {
1225
- return this.parentNode instanceof W ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
1226
- }
1227
- /**
1228
- * Lazily gets a mutable instance of a Node. If the node has already
1229
- * been cloned during this update cycle, it just returns the existing one.
1230
- */
1231
- getMutableNode() {
1232
- return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
1233
- }
1234
- updateNode() {
1235
- var e, t, i;
1236
- let l = this.nextVisibleSibling, n = this.getMutableNode();
1237
- n.index = this.index, n.level = this.level, n.parentKey = this.parentNode instanceof W ? this.parentNode.node.key : null;
1238
- var o;
1239
- n.prevKey = (o = (e = this.previousVisibleSibling) === null || e === void 0 ? void 0 : e.node.key) !== null && o !== void 0 ? o : null;
1240
- var c;
1241
- n.nextKey = (c = l?.node.key) !== null && c !== void 0 ? c : null, n.hasChildNodes = !!this.firstChild;
1242
- var u;
1243
- n.firstChildKey = (u = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && u !== void 0 ? u : null;
1244
- var v;
1245
- if (n.lastChildKey = (v = (i = this.lastVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && v !== void 0 ? v : null, (n.colSpan != null || n.colIndex != null) && l) {
1246
- var $, d;
1247
- let f = (($ = n.colIndex) !== null && $ !== void 0 ? $ : n.index) + ((d = n.colSpan) !== null && d !== void 0 ? d : 1);
1248
- if (f !== l.node.colIndex) {
1249
- let h = l.getMutableNode();
1250
- h.colIndex = f;
1251
- }
1252
- }
1253
- }
1254
- setProps(e, t, i, l) {
1255
- let n = this.getMutableNode(), { value: o, textValue: c, id: u, ...v } = e;
1256
- if (v.ref = t, n.props = v, n.rendered = i, n.render = l, n.value = o, n.textValue = c || (typeof v.children == "string" ? v.children : "") || e["aria-label"] || "", u != null && u !== n.key) {
1257
- if (this.hasSetProps) throw new Error("Cannot change the id of an item");
1258
- n.key = u;
1259
- }
1260
- v.colSpan != null && (n.colSpan = v.colSpan), this.hasSetProps = !0, this.isConnected && this.ownerDocument.queueUpdate();
1261
- }
1262
- get style() {
1263
- let e = this;
1264
- return {
1265
- get display() {
1266
- return e.isHidden ? "none" : "";
1267
- },
1268
- set display(t) {
1269
- let i = t === "none";
1270
- if (e.isHidden !== i) {
1271
- var l, n;
1272
- (((l = e.parentNode) === null || l === void 0 ? void 0 : l.firstVisibleChild) === e || ((n = e.parentNode) === null || n === void 0 ? void 0 : n.lastVisibleChild) === e) && e.ownerDocument.markDirty(e.parentNode);
1273
- let o = e.previousVisibleSibling, c = e.nextVisibleSibling;
1274
- o && e.ownerDocument.markDirty(o), c && e.ownerDocument.markDirty(c), e.isHidden = i, e.ownerDocument.markDirty(e);
1275
- }
1276
- }
1277
- };
1278
- }
1279
- hasAttribute() {
1280
- }
1281
- setAttribute() {
1282
- }
1283
- setAttributeNS() {
1284
- }
1285
- removeAttribute() {
1286
- }
1287
- constructor(e, t) {
1288
- super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new $e(e, `react-aria-${++t.nodeId}`);
1289
- }
1290
- }
1291
- class Gt extends et {
1292
- get isConnected() {
1293
- return this.isMounted;
1294
- }
1295
- createElement(e) {
1296
- return new W(e, this);
1297
- }
1298
- getMutableCollection() {
1299
- return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
1300
- }
1301
- markDirty(e) {
1302
- this.dirtyNodes.add(e);
1303
- }
1304
- addNode(e) {
1305
- if (e.isHidden) return;
1306
- let t = this.getMutableCollection();
1307
- if (!t.getItem(e.node.key)) for (let i of e) this.addNode(i);
1308
- t.addNode(e.node);
1309
- }
1310
- removeNode(e) {
1311
- for (let i of e) this.removeNode(i);
1312
- this.getMutableCollection().removeNode(e.node.key);
1313
- }
1314
- /** Finalizes the collection update, updating all nodes and freezing the collection. */
1315
- getCollection() {
1316
- return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
1317
- }
1318
- updateCollection() {
1319
- for (let n of this.dirtyNodes) n instanceof W && (!n.isConnected || n.isHidden) ? this.removeNode(n) : n.updateChildIndices();
1320
- for (let n of this.dirtyNodes) n instanceof W && (n.isConnected && !n.isHidden && (n.updateNode(), this.addNode(n)), n.isMutated = !1);
1321
- if (this.dirtyNodes.clear(), this.nextCollection) {
1322
- var e, t, i, l;
1323
- this.nextCollection.commit((i = (e = this.firstVisibleChild) === null || e === void 0 ? void 0 : e.node.key) !== null && i !== void 0 ? i : null, (l = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
1324
- }
1325
- }
1326
- queueUpdate() {
1327
- if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
1328
- this.queuedRender = !0, this.inSubscription = !0;
1329
- for (let e of this.subscriptions) e();
1330
- this.inSubscription = !1;
1331
- }
1332
- }
1333
- subscribe(e) {
1334
- return this.subscriptions.add(e), () => this.subscriptions.delete(e);
1335
- }
1336
- resetAfterSSR() {
1337
- this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
1338
- }
1339
- constructor(e) {
1340
- super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
1341
- }
1342
- }
1343
- function tt(r) {
1344
- let { children: e, items: t, idScope: i, addIdAndValue: l, dependencies: n = [] } = r, o = B(() => /* @__PURE__ */ new WeakMap(), n);
1345
- return B(() => {
1346
- if (t && typeof e == "function") {
1347
- let v = [];
1348
- for (let $ of t) {
1349
- let d = o.get($);
1350
- if (!d) {
1351
- d = e($);
1352
- var c, u;
1353
- let f = (u = (c = d.props.id) !== null && c !== void 0 ? c : $.key) !== null && u !== void 0 ? u : $.id;
1354
- if (f == null) throw new Error("Could not determine key for item");
1355
- i && (f = i + ":" + f), d = qe(d, l ? {
1356
- key: f,
1357
- id: f,
1358
- value: $
1359
- } : {
1360
- key: f
1361
- }), o.set($, d);
1362
- }
1363
- v.push(d);
1364
- }
1365
- return v;
1366
- } else if (typeof e != "function") return e;
1367
- }, [
1368
- e,
1369
- t,
1370
- o,
1371
- i,
1372
- l
1373
- ]);
1374
- }
1375
- const it = /* @__PURE__ */ G(!1), J = /* @__PURE__ */ G(null);
1376
- function Ei(r) {
1377
- if (H(J))
1378
- return r.content;
1379
- let { collection: t, document: i } = Xt(r.createCollection);
1380
- return /* @__PURE__ */ S.createElement(S.Fragment, null, /* @__PURE__ */ S.createElement($t, null, /* @__PURE__ */ S.createElement(J.Provider, {
1381
- value: i
1382
- }, r.content)), /* @__PURE__ */ S.createElement(_t, {
1383
- render: r.children,
1384
- collection: t
1385
- }));
1386
- }
1387
- function _t({ collection: r, render: e }) {
1388
- return e(r);
1389
- }
1390
- function jt(r, e, t) {
1391
- let i = Xe(), l = E(i);
1392
- l.current = i;
1393
- let n = Z(() => l.current ? t() : e(), [
1394
- e,
1395
- t
1396
- ]);
1397
- return Wt.useSyncExternalStore(r, n);
1398
- }
1399
- const Yt = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : jt;
1400
- function Xt(r) {
1401
- let [e] = Y(() => new Gt(r?.() || new xe())), t = Z((o) => e.subscribe(o), [
1402
- e
1403
- ]), i = Z(() => {
1404
- let o = e.getCollection();
1405
- return e.isSSR && e.resetAfterSSR(), o;
1406
- }, [
1407
- e
1408
- ]), l = Z(() => (e.isSSR = !0, e.getCollection()), [
1409
- e
1410
- ]), n = Yt(t, i, l);
1411
- return me(() => (e.isMounted = !0, () => {
1412
- e.isMounted = !1;
1413
- }), [
1414
- e
1415
- ]), {
1416
- collection: n,
1417
- document: e
1418
- };
1419
- }
1420
- const Ke = /* @__PURE__ */ G(null);
1421
- function lt(r, e, t, i, l, n) {
1422
- let o = Z((u) => {
1423
- u?.setProps(e, t, i, n);
1424
- }, [
1425
- e,
1426
- t,
1427
- i,
1428
- n
1429
- ]), c = H(Ke);
1430
- if (c) {
1431
- let u = c.ownerDocument.nodesByProps.get(e);
1432
- return u || (u = c.ownerDocument.createElement(r), u.setProps(e, t, i, n), c.appendChild(u), c.ownerDocument.updateCollection(), c.ownerDocument.nodesByProps.set(e, u)), l ? /* @__PURE__ */ S.createElement(Ke.Provider, {
1433
- value: u
1434
- }, l) : null;
1435
- }
1436
- return /* @__PURE__ */ S.createElement(r, {
1437
- ref: o
1438
- }, l);
1439
- }
1440
- function ki(r, e) {
1441
- let t = ({ node: l }) => e(l.props, l.props.ref, l), i = We((l, n) => {
1442
- let o = H(Pe);
1443
- if (!H(it)) {
1444
- if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
1445
- return e(l, n);
1446
- }
1447
- return lt(r, l, n, "children" in l ? l.children : null, null, (u) => (
1448
- // Forward FocusableContext to real DOM tree so tooltips work.
1449
- /* @__PURE__ */ S.createElement(Pe.Provider, {
1450
- value: o
1451
- }, /* @__PURE__ */ S.createElement(t, {
1452
- node: u
1453
- }))
1454
- ));
1455
- });
1456
- return i.displayName = e.name, i;
1457
- }
1458
- function Ii(r, e, t = nt) {
1459
- let i = ({ node: n }) => e(n.props, n.props.ref, n), l = We((n, o) => {
1460
- let c = t(n);
1461
- var u;
1462
- return (u = lt(r, n, o, null, c, (v) => /* @__PURE__ */ S.createElement(i, {
1463
- node: v
1464
- }))) !== null && u !== void 0 ? u : /* @__PURE__ */ S.createElement(S.Fragment, null);
1465
- });
1466
- return l.displayName = e.name, l;
1467
- }
1468
- function nt(r) {
1469
- return tt({
1470
- ...r,
1471
- addIdAndValue: !0
1472
- });
1473
- }
1474
- const ze = /* @__PURE__ */ G(null);
1475
- function Pi(r) {
1476
- let e = H(ze), t = (e?.dependencies || []).concat(r.dependencies), i = r.idScope || e?.idScope, l = nt({
1477
- ...r,
1478
- idScope: i,
1479
- dependencies: t
1480
- });
1481
- return H(J) && (l = /* @__PURE__ */ S.createElement(Zt, null, l)), e = B(() => ({
1482
- dependencies: t,
1483
- idScope: i
1484
- }), [
1485
- i,
1486
- ...t
1487
- ]), /* @__PURE__ */ S.createElement(ze.Provider, {
1488
- value: e
1489
- }, l);
1490
- }
1491
- function Zt({ children: r }) {
1492
- let e = H(J), t = B(() => /* @__PURE__ */ S.createElement(J.Provider, {
1493
- value: null
1494
- }, /* @__PURE__ */ S.createElement(it.Provider, {
1495
- value: !0
1496
- }, r)), [
1497
- r
1498
- ]);
1499
- return Xe() ? /* @__PURE__ */ S.createElement(Ke.Provider, {
1500
- value: e
1501
- }, t) : /* @__PURE__ */ ft(t, e);
1502
- }
1503
- class R extends Set {
1504
- constructor(e, t, i) {
1505
- super(e), e instanceof R ? (this.anchorKey = t ?? e.anchorKey, this.currentKey = i ?? e.currentKey) : (this.anchorKey = t ?? null, this.currentKey = i ?? null);
1506
- }
1507
- }
1508
- function Jt(r, e) {
1509
- if (r.size !== e.size) return !1;
1510
- for (let t of r)
1511
- if (!e.has(t)) return !1;
1512
- return !0;
1513
- }
1514
- function Fi(r) {
1515
- let { selectionMode: e = "none", disallowEmptySelection: t = !1, allowDuplicateSelectionEvents: i, selectionBehavior: l = "toggle", disabledBehavior: n = "all" } = r, o = E(!1), [, c] = Y(!1), u = E(null), v = E(null), [, $] = Y(null), d = B(() => Ue(r.selectedKeys), [
1516
- r.selectedKeys
1517
- ]), f = B(() => Ue(r.defaultSelectedKeys, new R()), [
1518
- r.defaultSelectedKeys
1519
- ]), [h, p] = xt(d, f, r.onSelectionChange), K = B(() => r.disabledKeys ? new Set(r.disabledKeys) : /* @__PURE__ */ new Set(), [
1520
- r.disabledKeys
1521
- ]), [g, m] = Y(l);
1522
- l === "replace" && g === "toggle" && typeof h == "object" && h.size === 0 && m("replace");
1523
- let C = E(l);
1524
- return X(() => {
1525
- l !== C.current && (m(l), C.current = l);
1526
- }, [
1527
- l
1528
- ]), {
1529
- selectionMode: e,
1530
- disallowEmptySelection: t,
1531
- selectionBehavior: g,
1532
- setSelectionBehavior: m,
1533
- get isFocused() {
1534
- return o.current;
1535
- },
1536
- setFocused(x) {
1537
- o.current = x, c(x);
1538
- },
1539
- get focusedKey() {
1540
- return u.current;
1541
- },
1542
- get childFocusStrategy() {
1543
- return v.current;
1544
- },
1545
- setFocusedKey(x, k = "first") {
1546
- u.current = x, v.current = k, $(x);
1547
- },
1548
- selectedKeys: h,
1549
- setSelectedKeys(x) {
1550
- (i || !Jt(x, h)) && p(x);
1551
- },
1552
- disabledKeys: K,
1553
- disabledBehavior: n
1554
- };
1555
- }
1556
- function Ue(r, e) {
1557
- return r ? r === "all" ? "all" : new R(r) : e;
1558
- }
1559
- class rt {
1560
- /**
1561
- * The type of selection that is allowed in the collection.
1562
- */
1563
- get selectionMode() {
1564
- return this.state.selectionMode;
1565
- }
1566
- /**
1567
- * Whether the collection allows empty selection.
1568
- */
1569
- get disallowEmptySelection() {
1570
- return this.state.disallowEmptySelection;
1571
- }
1572
- /**
1573
- * The selection behavior for the collection.
1574
- */
1575
- get selectionBehavior() {
1576
- return this.state.selectionBehavior;
1577
- }
1578
- /**
1579
- * Sets the selection behavior for the collection.
1580
- */
1581
- setSelectionBehavior(e) {
1582
- this.state.setSelectionBehavior(e);
1583
- }
1584
- /**
1585
- * Whether the collection is currently focused.
1586
- */
1587
- get isFocused() {
1588
- return this.state.isFocused;
1589
- }
1590
- /**
1591
- * Sets whether the collection is focused.
1592
- */
1593
- setFocused(e) {
1594
- this.state.setFocused(e);
1595
- }
1596
- /**
1597
- * The current focused key in the collection.
1598
- */
1599
- get focusedKey() {
1600
- return this.state.focusedKey;
1601
- }
1602
- /** Whether the first or last child of the focused key should receive focus. */
1603
- get childFocusStrategy() {
1604
- return this.state.childFocusStrategy;
1605
- }
1606
- /**
1607
- * Sets the focused key.
1608
- */
1609
- setFocusedKey(e, t) {
1610
- (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);
1611
- }
1612
- /**
1613
- * The currently selected keys in the collection.
1614
- */
1615
- get selectedKeys() {
1616
- return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;
1617
- }
1618
- /**
1619
- * The raw selection value for the collection.
1620
- * Either 'all' for select all, or a set of keys.
1621
- */
1622
- get rawSelection() {
1623
- return this.state.selectedKeys;
1624
- }
1625
- /**
1626
- * Returns whether a key is selected.
1627
- */
1628
- isSelected(e) {
1629
- if (this.state.selectionMode === "none") return !1;
1630
- let t = this.getKey(e);
1631
- return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);
1632
- }
1633
- /**
1634
- * Whether the selection is empty.
1635
- */
1636
- get isEmpty() {
1637
- return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;
1638
- }
1639
- /**
1640
- * Whether all items in the collection are selected.
1641
- */
1642
- get isSelectAll() {
1643
- if (this.isEmpty) return !1;
1644
- if (this.state.selectedKeys === "all") return !0;
1645
- if (this._isSelectAll != null) return this._isSelectAll;
1646
- let e = this.getSelectAllKeys(), t = this.state.selectedKeys;
1647
- return this._isSelectAll = e.every((i) => t.has(i)), this._isSelectAll;
1648
- }
1649
- get firstSelectedKey() {
1650
- let e = null;
1651
- for (let i of this.state.selectedKeys) {
1652
- let l = this.collection.getItem(i);
1653
- (!e || l && pe(this.collection, l, e) < 0) && (e = l);
1654
- }
1655
- var t;
1656
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1657
- }
1658
- get lastSelectedKey() {
1659
- let e = null;
1660
- for (let i of this.state.selectedKeys) {
1661
- let l = this.collection.getItem(i);
1662
- (!e || l && pe(this.collection, l, e) > 0) && (e = l);
1663
- }
1664
- var t;
1665
- return (t = e?.key) !== null && t !== void 0 ? t : null;
1666
- }
1667
- get disabledKeys() {
1668
- return this.state.disabledKeys;
1669
- }
1670
- get disabledBehavior() {
1671
- return this.state.disabledBehavior;
1672
- }
1673
- /**
1674
- * Extends the selection to the given key.
1675
- */
1676
- extendSelection(e) {
1677
- if (this.selectionMode === "none") return;
1678
- if (this.selectionMode === "single") {
1679
- this.replaceSelection(e);
1680
- return;
1681
- }
1682
- let t = this.getKey(e);
1683
- if (t == null) return;
1684
- let i;
1685
- if (this.state.selectedKeys === "all") i = new R([
1686
- t
1687
- ], t, t);
1688
- else {
1689
- let o = this.state.selectedKeys;
1690
- var l;
1691
- let c = (l = o.anchorKey) !== null && l !== void 0 ? l : t;
1692
- i = new R(o, c, t);
1693
- var n;
1694
- for (let u of this.getKeyRange(c, (n = o.currentKey) !== null && n !== void 0 ? n : t)) i.delete(u);
1695
- for (let u of this.getKeyRange(t, c)) this.canSelectItem(u) && i.add(u);
1696
- }
1697
- this.state.setSelectedKeys(i);
1698
- }
1699
- getKeyRange(e, t) {
1700
- let i = this.collection.getItem(e), l = this.collection.getItem(t);
1701
- return i && l ? pe(this.collection, i, l) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
1702
- }
1703
- getKeyRangeInternal(e, t) {
1704
- var i;
1705
- if (!((i = this.layoutDelegate) === null || i === void 0) && i.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
1706
- let l = [], n = e;
1707
- for (; n != null; ) {
1708
- let o = this.collection.getItem(n);
1709
- if (o && (o.type === "item" || o.type === "cell" && this.allowsCellSelection) && l.push(n), n === t) return l;
1710
- n = this.collection.getKeyAfter(n);
1711
- }
1712
- return [];
1713
- }
1714
- getKey(e) {
1715
- let t = this.collection.getItem(e);
1716
- if (!t || t.type === "cell" && this.allowsCellSelection) return e;
1717
- for (; t && t.type !== "item" && t.parentKey != null; ) t = this.collection.getItem(t.parentKey);
1718
- return !t || t.type !== "item" ? null : t.key;
1719
- }
1720
- /**
1721
- * Toggles whether the given key is selected.
1722
- */
1723
- toggleSelection(e) {
1724
- if (this.selectionMode === "none") return;
1725
- if (this.selectionMode === "single" && !this.isSelected(e)) {
1726
- this.replaceSelection(e);
1727
- return;
1728
- }
1729
- let t = this.getKey(e);
1730
- if (t == null) return;
1731
- let i = new R(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
1732
- i.has(t) ? i.delete(t) : this.canSelectItem(t) && (i.add(t), i.anchorKey = t, i.currentKey = t), !(this.disallowEmptySelection && i.size === 0) && this.state.setSelectedKeys(i);
1733
- }
1734
- /**
1735
- * Replaces the selection with only the given key.
1736
- */
1737
- replaceSelection(e) {
1738
- if (this.selectionMode === "none") return;
1739
- let t = this.getKey(e);
1740
- if (t == null) return;
1741
- let i = this.canSelectItem(t) ? new R([
1742
- t
1743
- ], t, t) : new R();
1744
- this.state.setSelectedKeys(i);
1745
- }
1746
- /**
1747
- * Replaces the selection with the given keys.
1748
- */
1749
- setSelectedKeys(e) {
1750
- if (this.selectionMode === "none") return;
1751
- let t = new R();
1752
- for (let i of e) {
1753
- let l = this.getKey(i);
1754
- if (l != null && (t.add(l), this.selectionMode === "single"))
1755
- break;
1756
- }
1757
- this.state.setSelectedKeys(t);
1758
- }
1759
- getSelectAllKeys() {
1760
- let e = [], t = (i) => {
1761
- for (; i != null; ) {
1762
- if (this.canSelectItem(i)) {
1763
- var l;
1764
- let o = this.collection.getItem(i);
1765
- o?.type === "item" && e.push(i);
1766
- var n;
1767
- o?.hasChildNodes && (this.allowsCellSelection || o.type !== "item") && t((n = (l = Nt(Vt(o, this.collection))) === null || l === void 0 ? void 0 : l.key) !== null && n !== void 0 ? n : null);
1768
- }
1769
- i = this.collection.getKeyAfter(i);
1770
- }
1771
- };
1772
- return t(this.collection.getFirstKey()), e;
1773
- }
1774
- /**
1775
- * Selects all items in the collection.
1776
- */
1777
- selectAll() {
1778
- !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
1779
- }
1780
- /**
1781
- * Removes all keys from the selection.
1782
- */
1783
- clearSelection() {
1784
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new R());
1785
- }
1786
- /**
1787
- * Toggles between select all and an empty selection.
1788
- */
1789
- toggleSelectAll() {
1790
- this.isSelectAll ? this.clearSelection() : this.selectAll();
1791
- }
1792
- select(e, t) {
1793
- this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));
1794
- }
1795
- /**
1796
- * Returns whether the current selection is equal to the given selection.
1797
- */
1798
- isSelectionEqual(e) {
1799
- if (e === this.state.selectedKeys) return !0;
1800
- let t = this.selectedKeys;
1801
- if (e.size !== t.size) return !1;
1802
- for (let i of e)
1803
- if (!t.has(i)) return !1;
1804
- for (let i of t)
1805
- if (!e.has(i)) return !1;
1806
- return !0;
1807
- }
1808
- canSelectItem(e) {
1809
- var t;
1810
- if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;
1811
- let i = this.collection.getItem(e);
1812
- return !(!i || !(i == null || (t = i.props) === null || t === void 0) && t.isDisabled || i.type === "cell" && !this.allowsCellSelection);
1813
- }
1814
- isDisabled(e) {
1815
- var t, i;
1816
- return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.isDisabled));
1817
- }
1818
- isLink(e) {
1819
- var t, i;
1820
- return !!(!((i = this.collection.getItem(e)) === null || i === void 0 || (t = i.props) === null || t === void 0) && t.href);
1821
- }
1822
- getItemProps(e) {
1823
- var t;
1824
- return (t = this.collection.getItem(e)) === null || t === void 0 ? void 0 : t.props;
1825
- }
1826
- withCollection(e) {
1827
- return new rt(e, this.state, {
1828
- allowsCellSelection: this.allowsCellSelection,
1829
- layoutDelegate: this.layoutDelegate || void 0
1830
- });
1831
- }
1832
- constructor(e, t, i) {
1833
- this.collection = e, this.state = t;
1834
- var l;
1835
- this.allowsCellSelection = (l = i?.allowsCellSelection) !== null && l !== void 0 ? l : !1, this._isSelectAll = null, this.layoutDelegate = i?.layoutDelegate || null;
1836
- }
1837
- }
1838
- const Mi = /* @__PURE__ */ G(null), Qt = {
1839
- CollectionRoot({ collection: r, renderDropIndicator: e }) {
1840
- return He(r, null, e);
1841
- },
1842
- CollectionBranch({ collection: r, parent: e, renderDropIndicator: t }) {
1843
- return He(r, e, t);
1844
- }
1845
- };
1846
- function He(r, e, t) {
1847
- return tt({
1848
- items: e ? r.getChildren(e.key) : r,
1849
- dependencies: [
1850
- t
1851
- ],
1852
- children(i) {
1853
- let l = i.render(i);
1854
- return !t || i.type !== "item" ? l : /* @__PURE__ */ S.createElement(S.Fragment, null, t({
1855
- type: "item",
1856
- key: i.key,
1857
- dropPosition: "before"
1858
- }), l, ei(r, i, t));
1859
- }
1860
- });
1861
- }
1862
- function ei(r, e, t) {
1863
- let i = e.key, l = r.getKeyAfter(i), n = l != null ? r.getItem(l) : null;
1864
- for (; n != null && n.type !== "item"; )
1865
- l = r.getKeyAfter(n.key), n = l != null ? r.getItem(l) : null;
1866
- let o = e.nextKey != null ? r.getItem(e.nextKey) : null;
1867
- for (; o != null && o.type !== "item"; ) o = o.nextKey != null ? r.getItem(o.nextKey) : null;
1868
- let c = [];
1869
- if (o == null) {
1870
- let u = e;
1871
- for (; u && (!n || u.parentKey !== n.parentKey && n.level < u.level); ) {
1872
- let v = t({
1873
- type: "item",
1874
- key: u.key,
1875
- dropPosition: "after"
1876
- });
1877
- /* @__PURE__ */ ot(v) && c.push(/* @__PURE__ */ qe(v, {
1878
- key: `${u.key}-after`
1879
- })), u = u.parentKey != null ? r.getItem(u.parentKey) : null;
1880
- }
1881
- }
1882
- return c;
1883
- }
1884
- const Ai = /* @__PURE__ */ G(Qt);
1885
- function Ri(r) {
1886
- return B(() => r != null ? /* @__PURE__ */ new Set([
1887
- r
1888
- ]) : null, [
1889
- r
1890
- ]);
1891
- }
1892
- export {
1893
- xi as $,
1894
- tt as A,
1895
- xe as B,
1896
- $e as C,
1897
- It as D,
1898
- Fi as a,
1899
- wi as b,
1900
- rt as c,
1901
- ki as d,
1902
- Ii as e,
1903
- Ei as f,
1904
- Pi as g,
1905
- Ai as h,
1906
- Ci as i,
1907
- Mi as j,
1908
- Tt as k,
1909
- $i as l,
1910
- Vt as m,
1911
- wt as n,
1912
- Ze as o,
1913
- Ct as p,
1914
- Pt as q,
1915
- Je as r,
1916
- q as s,
1917
- Ft as t,
1918
- Qt as u,
1919
- Ri as v,
1920
- Di as w,
1921
- Nt as x,
1922
- zt as y,
1923
- Re as z
1924
- };
1925
- //# sourceMappingURL=Collection-CDJ_uFKV.es.js.map