@commercetools/nimbus 0.0.13-rc2 → 0.0.14-rc1

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 (1095) hide show
  1. package/dist/accordion.d.ts +13 -4
  2. package/dist/alert.d.ts +10 -1
  3. package/dist/avatar.d.ts +9 -0
  4. package/dist/badge.d.ts +9 -0
  5. package/dist/box.d.ts +9 -0
  6. package/dist/button.d.ts +9 -0
  7. package/dist/calendar.d.ts +9 -0
  8. package/dist/card.d.ts +9 -0
  9. package/dist/checkbox.d.ts +9 -0
  10. package/dist/chunks/Button-MmwT6xpw.cjs.js +2 -0
  11. package/dist/chunks/Button-MmwT6xpw.cjs.js.map +1 -0
  12. package/dist/chunks/Button-wUEF0Zow.es.js +73 -0
  13. package/dist/chunks/Button-wUEF0Zow.es.js.map +1 -0
  14. package/dist/chunks/Collection-CDJ_uFKV.es.js +1925 -0
  15. package/dist/chunks/Collection-CDJ_uFKV.es.js.map +1 -0
  16. package/dist/chunks/Collection-D_q1hY13.cjs.js +18 -0
  17. package/dist/chunks/Collection-D_q1hY13.cjs.js.map +1 -0
  18. package/dist/chunks/DateField-BRw4EOOA.cjs.js +2 -0
  19. package/dist/chunks/DateField-BRw4EOOA.cjs.js.map +1 -0
  20. package/dist/chunks/DateField-Cg2n5ili.es.js +2673 -0
  21. package/dist/chunks/DateField-Cg2n5ili.es.js.map +1 -0
  22. package/dist/chunks/DatePicker-CqbnVxIC.cjs.js +2 -0
  23. package/dist/chunks/DatePicker-CqbnVxIC.cjs.js.map +1 -0
  24. package/dist/chunks/DatePicker-DVtAIdlj.es.js +778 -0
  25. package/dist/chunks/DatePicker-DVtAIdlj.es.js.map +1 -0
  26. package/dist/chunks/Dialog-BTicQJXP.es.js +1904 -0
  27. package/dist/chunks/Dialog-BTicQJXP.es.js.map +1 -0
  28. package/dist/chunks/Dialog-ljK75Ezb.cjs.js +2 -0
  29. package/dist/chunks/Dialog-ljK75Ezb.cjs.js.map +1 -0
  30. package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js +2 -0
  31. package/dist/chunks/DragAndDrop-QpvgGL4C.cjs.js.map +1 -0
  32. package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js +81 -0
  33. package/dist/chunks/DragAndDrop-xhP_Ei7N.es.js.map +1 -0
  34. package/dist/chunks/FocusScope-B5Aod9bV.es.js +696 -0
  35. package/dist/chunks/FocusScope-B5Aod9bV.es.js.map +1 -0
  36. package/dist/chunks/FocusScope-sU1ErK5w.cjs.js +2 -0
  37. package/dist/chunks/FocusScope-sU1ErK5w.cjs.js.map +1 -0
  38. package/dist/chunks/Group-CU1nz0u2.es.js +46 -0
  39. package/dist/chunks/Group-CU1nz0u2.es.js.map +1 -0
  40. package/dist/chunks/Group-DxD-SZdK.cjs.js +2 -0
  41. package/dist/chunks/Group-DxD-SZdK.cjs.js.map +1 -0
  42. package/dist/chunks/Heading-BorDTn_V.cjs.js +2 -0
  43. package/dist/chunks/Heading-BorDTn_V.cjs.js.map +1 -0
  44. package/dist/chunks/Heading-CXKMd84h.es.js +1619 -0
  45. package/dist/chunks/Heading-CXKMd84h.es.js.map +1 -0
  46. package/dist/chunks/Input-B7Cnwv00.es.js +43 -0
  47. package/dist/chunks/Input-B7Cnwv00.es.js.map +1 -0
  48. package/dist/chunks/Input-DK49tQti.cjs.js +2 -0
  49. package/dist/chunks/Input-DK49tQti.cjs.js.map +1 -0
  50. package/dist/chunks/Label-CXgc_ps9.es.js +17 -0
  51. package/dist/chunks/Label-CXgc_ps9.es.js.map +1 -0
  52. package/dist/chunks/Label-DSG_MTc3.cjs.js +2 -0
  53. package/dist/chunks/Label-DSG_MTc3.cjs.js.map +1 -0
  54. package/dist/chunks/ListBox-CGw4-iNr.es.js +615 -0
  55. package/dist/chunks/ListBox-CGw4-iNr.es.js.map +1 -0
  56. package/dist/chunks/ListBox-DETV_5At.cjs.js +2 -0
  57. package/dist/chunks/ListBox-DETV_5At.cjs.js.map +1 -0
  58. package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js +2 -0
  59. package/dist/chunks/OverlayArrow-C_SkpQbf.cjs.js.map +1 -0
  60. package/dist/chunks/OverlayArrow-DbPNbnKm.es.js +479 -0
  61. package/dist/chunks/OverlayArrow-DbPNbnKm.es.js.map +1 -0
  62. package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js +2 -0
  63. package/dist/chunks/ProgressBar-Bm7vfOk4.cjs.js.map +1 -0
  64. package/dist/chunks/ProgressBar-DNmmtJsB.es.js +42 -0
  65. package/dist/chunks/ProgressBar-DNmmtJsB.es.js.map +1 -0
  66. package/dist/chunks/Separator-Ahj2J22_.es.js +574 -0
  67. package/dist/chunks/Separator-Ahj2J22_.es.js.map +1 -0
  68. package/dist/chunks/Separator-CinA2hg4.cjs.js +2 -0
  69. package/dist/chunks/Separator-CinA2hg4.cjs.js.map +1 -0
  70. package/dist/chunks/TextArea-DTir64d8.es.js +42 -0
  71. package/dist/chunks/TextArea-DTir64d8.es.js.map +1 -0
  72. package/dist/chunks/TextArea-p1OqtLgN.cjs.js +2 -0
  73. package/dist/chunks/TextArea-p1OqtLgN.cjs.js.map +1 -0
  74. package/dist/chunks/ToggleButton-CmN8Ay9u.es.js +145 -0
  75. package/dist/chunks/ToggleButton-CmN8Ay9u.es.js.map +1 -0
  76. package/dist/chunks/ToggleButton-DWTy3juF.cjs.js +2 -0
  77. package/dist/chunks/ToggleButton-DWTy3juF.cjs.js.map +1 -0
  78. package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js +41 -0
  79. package/dist/chunks/VisuallyHidden-BY2z9PpP.es.js.map +1 -0
  80. package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js +2 -0
  81. package/dist/chunks/VisuallyHidden-DFP8AIDZ.cjs.js.map +1 -0
  82. package/dist/chunks/accordion-DF0by3UE.es.js +223 -0
  83. package/dist/chunks/accordion-DF0by3UE.es.js.map +1 -0
  84. package/dist/chunks/accordion-Db0ZaAwE.cjs.js +2 -0
  85. package/dist/chunks/accordion-Db0ZaAwE.cjs.js.map +1 -0
  86. package/dist/chunks/alert-Ck60ax0h.cjs.js +2 -0
  87. package/dist/chunks/alert-Ck60ax0h.cjs.js.map +1 -0
  88. package/dist/chunks/alert-DfnvHvbA.es.js +187 -0
  89. package/dist/chunks/alert-DfnvHvbA.es.js.map +1 -0
  90. package/dist/chunks/avatar-B7CMxFNg.es.js +38 -0
  91. package/dist/chunks/avatar-B7CMxFNg.es.js.map +1 -0
  92. package/dist/chunks/avatar-mL-2hOve.cjs.js +2 -0
  93. package/dist/chunks/avatar-mL-2hOve.cjs.js.map +1 -0
  94. package/dist/chunks/badge-B58WR_nK.es.js +78 -0
  95. package/dist/chunks/badge-B58WR_nK.es.js.map +1 -0
  96. package/dist/chunks/badge-D3iqhdY4.cjs.js +2 -0
  97. package/dist/chunks/badge-D3iqhdY4.cjs.js.map +1 -0
  98. package/dist/chunks/box-BPfqlznQ.cjs.js +2 -0
  99. package/dist/chunks/box-BPfqlznQ.cjs.js.map +1 -0
  100. package/dist/chunks/box-C8731OYq.es.js +13 -0
  101. package/dist/chunks/box-C8731OYq.es.js.map +1 -0
  102. package/dist/chunks/button-N0fUFhvD.cjs.js +2 -0
  103. package/dist/chunks/button-N0fUFhvD.cjs.js.map +1 -0
  104. package/dist/chunks/button-Nd45zL1x.es.js +59 -0
  105. package/dist/chunks/button-Nd45zL1x.es.js.map +1 -0
  106. package/dist/chunks/calendar-Cj6tlZEj.cjs.js +2 -0
  107. package/dist/chunks/calendar-Cj6tlZEj.cjs.js.map +1 -0
  108. package/dist/chunks/calendar-kDDTW9QY.es.js +187 -0
  109. package/dist/chunks/calendar-kDDTW9QY.es.js.map +1 -0
  110. package/dist/chunks/card-33QKPI9V.es.js +139 -0
  111. package/dist/chunks/card-33QKPI9V.es.js.map +1 -0
  112. package/dist/chunks/card-DFkYZ6Cs.cjs.js +2 -0
  113. package/dist/chunks/card-DFkYZ6Cs.cjs.js.map +1 -0
  114. package/dist/chunks/checkbox-D2tsRAy1.es.js +219 -0
  115. package/dist/chunks/checkbox-D2tsRAy1.es.js.map +1 -0
  116. package/dist/chunks/checkbox-g5gMaiLJ.cjs.js +2 -0
  117. package/dist/chunks/checkbox-g5gMaiLJ.cjs.js.map +1 -0
  118. package/dist/chunks/code-CTuEvrXA.cjs.js +2 -0
  119. package/dist/chunks/code-CTuEvrXA.cjs.js.map +1 -0
  120. package/dist/chunks/code-CieYW1ER.es.js +8 -0
  121. package/dist/chunks/code-CieYW1ER.es.js.map +1 -0
  122. package/dist/chunks/combobox-C1nOP0Qh.es.js +1932 -0
  123. package/dist/chunks/combobox-C1nOP0Qh.es.js.map +1 -0
  124. package/dist/chunks/combobox-D1AqzXjA.cjs.js +2 -0
  125. package/dist/chunks/combobox-D1AqzXjA.cjs.js.map +1 -0
  126. package/dist/chunks/config-Mt8_uyhI.cjs.js.map +1 -1
  127. package/dist/chunks/config-ufbQ08Vi.es.js.map +1 -1
  128. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js +2 -0
  129. package/dist/chunks/create-recipe-context-D0_lCuqq.cjs.js.map +1 -0
  130. package/dist/chunks/create-recipe-context-i2odau3L.es.js +62 -0
  131. package/dist/chunks/create-recipe-context-i2odau3L.es.js.map +1 -0
  132. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js +104 -0
  133. package/dist/chunks/create-slot-recipe-context-DBNItnlK.es.js.map +1 -0
  134. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js +2 -0
  135. package/dist/chunks/create-slot-recipe-context-HIF51Igr.cjs.js.map +1 -0
  136. package/dist/chunks/data-table-CgICAQC9.cjs.js +2 -0
  137. package/dist/chunks/data-table-CgICAQC9.cjs.js.map +1 -0
  138. package/dist/chunks/data-table-DlBw5XeS.es.js +3984 -0
  139. package/dist/chunks/data-table-DlBw5XeS.es.js.map +1 -0
  140. package/dist/chunks/date-input-CHWJMf4Y.cjs.js +2 -0
  141. package/dist/chunks/date-input-CHWJMf4Y.cjs.js.map +1 -0
  142. package/dist/chunks/date-input-DBd91qhQ.es.js +17 -0
  143. package/dist/chunks/date-input-DBd91qhQ.es.js.map +1 -0
  144. package/dist/chunks/date-picker-DkegHUiZ.es.js +190 -0
  145. package/dist/chunks/date-picker-DkegHUiZ.es.js.map +1 -0
  146. package/dist/chunks/date-picker-W70bKrmU.cjs.js +2 -0
  147. package/dist/chunks/date-picker-W70bKrmU.cjs.js.map +1 -0
  148. package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js +2 -0
  149. package/dist/chunks/date-range-picker-Cqdj51fV.cjs.js.map +1 -0
  150. package/dist/chunks/date-range-picker-vzDrtZ94.es.js +283 -0
  151. package/dist/chunks/date-range-picker-vzDrtZ94.es.js.map +1 -0
  152. package/dist/chunks/dialog-CG-cCFkg.es.js +1889 -0
  153. package/dist/chunks/dialog-CG-cCFkg.es.js.map +1 -0
  154. package/dist/chunks/dialog-CNZGNU5Q.cjs.js +2 -0
  155. package/dist/chunks/dialog-CNZGNU5Q.cjs.js.map +1 -0
  156. package/dist/chunks/divider-BZkfiFj5.cjs.js +2 -0
  157. package/dist/chunks/divider-BZkfiFj5.cjs.js.map +1 -0
  158. package/dist/chunks/divider-Vtnb6QbI.es.js +54 -0
  159. package/dist/chunks/divider-Vtnb6QbI.es.js.map +1 -0
  160. package/dist/chunks/domHelpers-InH3T0qs.es.js +16 -0
  161. package/dist/chunks/domHelpers-InH3T0qs.es.js.map +1 -0
  162. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js +2 -0
  163. package/dist/chunks/domHelpers-YAYZ9fE9.cjs.js.map +1 -0
  164. package/dist/chunks/empty-B5_AO6Pg.cjs.js.map +1 -1
  165. package/dist/chunks/empty-D7ZFmvo6.es.js.map +1 -1
  166. package/dist/chunks/extractStyleProps-DX5GBd9K.es.js +11 -0
  167. package/dist/chunks/extractStyleProps-DX5GBd9K.es.js.map +1 -0
  168. package/dist/chunks/extractStyleProps-yFm0qaXg.cjs.js +2 -0
  169. package/dist/chunks/extractStyleProps-yFm0qaXg.cjs.js.map +1 -0
  170. package/dist/chunks/factory-BpxiKxSs.es.js +269 -0
  171. package/dist/chunks/factory-BpxiKxSs.es.js.map +1 -0
  172. package/dist/chunks/factory-DlCuwIGL.cjs.js +3 -0
  173. package/dist/chunks/factory-DlCuwIGL.cjs.js.map +1 -0
  174. package/dist/chunks/flex-B81RbgfK.es.js +40 -0
  175. package/dist/chunks/flex-B81RbgfK.es.js.map +1 -0
  176. package/dist/chunks/flex-BhVeeItQ.cjs.js +2 -0
  177. package/dist/chunks/flex-BhVeeItQ.cjs.js.map +1 -0
  178. package/dist/chunks/focusSafely-CgVjbH-x.cjs.js +2 -0
  179. package/dist/chunks/focusSafely-CgVjbH-x.cjs.js.map +1 -0
  180. package/dist/chunks/focusSafely-D8bIeV7X.es.js +26 -0
  181. package/dist/chunks/focusSafely-D8bIeV7X.es.js.map +1 -0
  182. package/dist/chunks/form-field-CS9GGlbl.cjs.js +11 -0
  183. package/dist/chunks/form-field-CS9GGlbl.cjs.js.map +1 -0
  184. package/dist/chunks/form-field-DcQW2A1i.es.js +310 -0
  185. package/dist/chunks/form-field-DcQW2A1i.es.js.map +1 -0
  186. package/dist/chunks/grid-CWdLtU5p.cjs.js +2 -0
  187. package/dist/chunks/grid-CWdLtU5p.cjs.js.map +1 -0
  188. package/dist/chunks/grid-Cdmh4YaF.es.js +14 -0
  189. package/dist/chunks/grid-Cdmh4YaF.es.js.map +1 -0
  190. package/dist/chunks/grid-item-CJHf3veC.cjs.js +2 -0
  191. package/dist/chunks/grid-item-CJHf3veC.cjs.js.map +1 -0
  192. package/dist/chunks/grid-item-CpPkpUVF.es.js +78 -0
  193. package/dist/chunks/grid-item-CpPkpUVF.es.js.map +1 -0
  194. package/dist/chunks/group-CYRXn-NO.es.js +14 -0
  195. package/dist/chunks/group-CYRXn-NO.es.js.map +1 -0
  196. package/dist/chunks/group-DgCuvf_U.cjs.js +2 -0
  197. package/dist/chunks/group-DgCuvf_U.cjs.js.map +1 -0
  198. package/dist/chunks/icon-C_BZeqkm.cjs.js +2 -0
  199. package/dist/chunks/icon-C_BZeqkm.cjs.js.map +1 -0
  200. package/dist/chunks/icon-DTe62Nqz.es.js +32 -0
  201. package/dist/chunks/icon-DTe62Nqz.es.js.map +1 -0
  202. package/dist/chunks/icon-button-BkjZ1Pq8.es.js +14 -0
  203. package/dist/chunks/icon-button-BkjZ1Pq8.es.js.map +1 -0
  204. package/dist/chunks/icon-button-Cs41MKV5.cjs.js +2 -0
  205. package/dist/chunks/icon-button-Cs41MKV5.cjs.js.map +1 -0
  206. package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js +2 -0
  207. package/dist/chunks/icon-toggle-button-BljNXaJy.cjs.js.map +1 -0
  208. package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js +13 -0
  209. package/dist/chunks/icon-toggle-button-CEGHh-JB.es.js.map +1 -0
  210. package/dist/chunks/image-B2WbQ5hi.es.js +8 -0
  211. package/dist/chunks/image-B2WbQ5hi.es.js.map +1 -0
  212. package/dist/chunks/image-BAqoLZQB.cjs.js +2 -0
  213. package/dist/chunks/image-BAqoLZQB.cjs.js.map +1 -0
  214. package/dist/chunks/image-BP9LcU28.cjs.js +2 -0
  215. package/dist/chunks/image-BP9LcU28.cjs.js.map +1 -0
  216. package/dist/chunks/image-BycsRl2K.es.js +22 -0
  217. package/dist/chunks/image-BycsRl2K.es.js.map +1 -0
  218. package/dist/chunks/index-0CyuQQet.es.js +8 -0
  219. package/dist/chunks/index-0CyuQQet.es.js.map +1 -0
  220. package/dist/chunks/index-COhQ_99G.cjs.js +4 -0
  221. package/dist/chunks/index-COhQ_99G.cjs.js.map +1 -0
  222. package/dist/chunks/index-DRWeBbu8.es.js +3394 -0
  223. package/dist/chunks/index-DRWeBbu8.es.js.map +1 -0
  224. package/dist/chunks/index-x9OhLGGf.cjs.js +2 -0
  225. package/dist/chunks/index-x9OhLGGf.cjs.js.map +1 -0
  226. package/dist/chunks/kbd-BjfxBIWW.es.js +16 -0
  227. package/dist/chunks/kbd-BjfxBIWW.es.js.map +1 -0
  228. package/dist/chunks/kbd-DxwHwPaF.cjs.js +2 -0
  229. package/dist/chunks/kbd-DxwHwPaF.cjs.js.map +1 -0
  230. package/dist/chunks/link-CNe7kOhA.cjs.js +2 -0
  231. package/dist/chunks/link-CNe7kOhA.cjs.js.map +1 -0
  232. package/dist/chunks/link-D0XhkPu6.es.js +50 -0
  233. package/dist/chunks/link-D0XhkPu6.es.js.map +1 -0
  234. package/dist/chunks/list-r1G4iBXo.cjs.js +2 -0
  235. package/dist/chunks/list-r1G4iBXo.cjs.js.map +1 -0
  236. package/dist/chunks/list-x423RThD.es.js +23 -0
  237. package/dist/chunks/list-x423RThD.es.js.map +1 -0
  238. package/dist/chunks/loading-spinner-COTpElt8.es.js +106 -0
  239. package/dist/chunks/loading-spinner-COTpElt8.es.js.map +1 -0
  240. package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js +2 -0
  241. package/dist/chunks/loading-spinner-C_1gCLzP.cjs.js.map +1 -0
  242. package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js +2 -0
  243. package/dist/chunks/make-element-focusable-Cj8VL4H4.cjs.js.map +1 -0
  244. package/dist/chunks/make-element-focusable-DS5T93TG.es.js +22 -0
  245. package/dist/chunks/make-element-focusable-DS5T93TG.es.js.map +1 -0
  246. package/dist/chunks/menu-BaTd4n0a.cjs.js +2 -0
  247. package/dist/chunks/menu-BaTd4n0a.cjs.js.map +1 -0
  248. package/dist/chunks/menu-DKTon-Vn.es.js +157 -0
  249. package/dist/chunks/menu-DKTon-Vn.es.js.map +1 -0
  250. package/dist/chunks/mergeProps-CtwSzqnr.es.js +131 -0
  251. package/dist/chunks/mergeProps-CtwSzqnr.es.js.map +1 -0
  252. package/dist/chunks/mergeProps-DRkWdaVg.cjs.js +2 -0
  253. package/dist/chunks/mergeProps-DRkWdaVg.cjs.js.map +1 -0
  254. package/dist/chunks/multiline-text-input-Bsazfavw.es.js +120 -0
  255. package/dist/chunks/multiline-text-input-Bsazfavw.es.js.map +1 -0
  256. package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js +12 -0
  257. package/dist/chunks/multiline-text-input-DufrCFhg.cjs.js.map +1 -0
  258. package/dist/chunks/namespace-CYjqWfVn.cjs.js +2 -0
  259. package/dist/chunks/namespace-CYjqWfVn.cjs.js.map +1 -0
  260. package/dist/chunks/namespace-HxAMZBwF.es.js +74 -0
  261. package/dist/chunks/namespace-HxAMZBwF.es.js.map +1 -0
  262. package/dist/chunks/nimbus-provider-BinjIRf7.es.js +101 -0
  263. package/dist/chunks/nimbus-provider-BinjIRf7.es.js.map +1 -0
  264. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js +2 -0
  265. package/dist/chunks/nimbus-provider-Yka95N38.cjs.js.map +1 -0
  266. package/dist/chunks/number-input-2C9g1Xgr.cjs.js +2 -0
  267. package/dist/chunks/number-input-2C9g1Xgr.cjs.js.map +1 -0
  268. package/dist/chunks/number-input-l32lWVbX.es.js +673 -0
  269. package/dist/chunks/number-input-l32lWVbX.es.js.map +1 -0
  270. package/dist/chunks/openLink-BwkmFekP.es.js +105 -0
  271. package/dist/chunks/openLink-BwkmFekP.es.js.map +1 -0
  272. package/dist/chunks/password-input-B9Uv-ybv.es.js +50 -0
  273. package/dist/chunks/password-input-B9Uv-ybv.es.js.map +1 -0
  274. package/dist/chunks/password-input-q1cxpiOP.cjs.js +2 -0
  275. package/dist/chunks/password-input-q1cxpiOP.cjs.js.map +1 -0
  276. package/dist/chunks/platform-BOO1jCtB.es.js +47 -0
  277. package/dist/chunks/platform-BOO1jCtB.es.js.map +1 -0
  278. package/dist/chunks/progress-bar-BGTJgcWE.cjs.js +2 -0
  279. package/dist/chunks/progress-bar-BGTJgcWE.cjs.js.map +1 -0
  280. package/dist/chunks/progress-bar-C8onDqV2.es.js +77 -0
  281. package/dist/chunks/progress-bar-C8onDqV2.es.js.map +1 -0
  282. package/dist/chunks/provider-BzZZw3fF.cjs.js.map +1 -1
  283. package/dist/chunks/provider-DxFdjgyb.es.js.map +1 -1
  284. package/dist/chunks/radio-input-BlE9GNwl.cjs.js +2 -0
  285. package/dist/chunks/radio-input-BlE9GNwl.cjs.js.map +1 -0
  286. package/dist/chunks/radio-input-uMVsYeTe.es.js +341 -0
  287. package/dist/chunks/radio-input-uMVsYeTe.es.js.map +1 -0
  288. package/dist/chunks/range-calendar-CvTT4HY-.cjs.js +2 -0
  289. package/dist/chunks/range-calendar-CvTT4HY-.cjs.js.map +1 -0
  290. package/dist/chunks/range-calendar-YuvY8LUd.es.js +187 -0
  291. package/dist/chunks/range-calendar-YuvY8LUd.es.js.map +1 -0
  292. package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js +2 -0
  293. package/dist/chunks/rich-text-input-C7EK9LsN.cjs.js.map +1 -0
  294. package/dist/chunks/rich-text-input-CVqiVHV1.es.js +691 -0
  295. package/dist/chunks/rich-text-input-CVqiVHV1.es.js.map +1 -0
  296. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js +2 -0
  297. package/dist/chunks/scrollIntoView-B2eLOBfw.cjs.js.map +1 -0
  298. package/dist/chunks/scrollIntoView-CdmKMaOn.es.js +64 -0
  299. package/dist/chunks/scrollIntoView-CdmKMaOn.es.js.map +1 -0
  300. package/dist/chunks/select-CgapbY3S.es.js +559 -0
  301. package/dist/chunks/select-CgapbY3S.es.js.map +1 -0
  302. package/dist/chunks/select-Dd2f6hd1.cjs.js +2 -0
  303. package/dist/chunks/select-Dd2f6hd1.cjs.js.map +1 -0
  304. package/dist/chunks/simple-grid-Crtlocqj.es.js +38 -0
  305. package/dist/chunks/simple-grid-Crtlocqj.es.js.map +1 -0
  306. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js +2 -0
  307. package/dist/chunks/simple-grid-yOwvCBEN.cjs.js.map +1 -0
  308. package/dist/chunks/slate-helpers-BwRHJO4o.es.js +6919 -0
  309. package/dist/chunks/slate-helpers-BwRHJO4o.es.js.map +1 -0
  310. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js +24 -0
  311. package/dist/chunks/slate-helpers-CMAwCMk0.cjs.js.map +1 -0
  312. package/dist/chunks/split-button-Blbr2czN.cjs.js +2 -0
  313. package/dist/chunks/split-button-Blbr2czN.cjs.js.map +1 -0
  314. package/dist/chunks/split-button-DoRlks-p.es.js +103 -0
  315. package/dist/chunks/split-button-DoRlks-p.es.js.map +1 -0
  316. package/dist/chunks/stack-B6PqFPMh.cjs.js +2 -0
  317. package/dist/chunks/stack-B6PqFPMh.cjs.js.map +1 -0
  318. package/dist/chunks/stack-CBx-c8hI.es.js +89 -0
  319. package/dist/chunks/stack-CBx-c8hI.es.js.map +1 -0
  320. package/dist/chunks/switch-Cb0mCIEe.es.js +79 -0
  321. package/dist/chunks/switch-Cb0mCIEe.es.js.map +1 -0
  322. package/dist/chunks/switch-Cha1HMzo.cjs.js +2 -0
  323. package/dist/chunks/switch-Cha1HMzo.cjs.js.map +1 -0
  324. package/dist/chunks/tag-group-5uAuEquc.cjs.js +2 -0
  325. package/dist/chunks/tag-group-5uAuEquc.cjs.js.map +1 -0
  326. package/dist/chunks/tag-group-CvKA8ufC.es.js +769 -0
  327. package/dist/chunks/tag-group-CvKA8ufC.es.js.map +1 -0
  328. package/dist/chunks/text-BOdnmoaN.cjs.js +2 -0
  329. package/dist/chunks/text-BOdnmoaN.cjs.js.map +1 -0
  330. package/dist/chunks/text-DkO9mfur.es.js +26 -0
  331. package/dist/chunks/text-DkO9mfur.es.js.map +1 -0
  332. package/dist/chunks/text-input-C3q-zUxw.es.js +19 -0
  333. package/dist/chunks/text-input-C3q-zUxw.es.js.map +1 -0
  334. package/dist/chunks/text-input-eShRYnI3.cjs.js +2 -0
  335. package/dist/chunks/text-input-eShRYnI3.cjs.js.map +1 -0
  336. package/dist/chunks/time-input-CkNODZOE.cjs.js +2 -0
  337. package/dist/chunks/time-input-CkNODZOE.cjs.js.map +1 -0
  338. package/dist/chunks/time-input-ZZK92O_5.es.js +132 -0
  339. package/dist/chunks/time-input-ZZK92O_5.es.js.map +1 -0
  340. package/dist/chunks/toggle-button-BEOCbO0O.cjs.js +2 -0
  341. package/dist/chunks/toggle-button-BEOCbO0O.cjs.js.map +1 -0
  342. package/dist/chunks/toggle-button-Bfo8opbK.es.js +30 -0
  343. package/dist/chunks/toggle-button-Bfo8opbK.es.js.map +1 -0
  344. package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js +2 -0
  345. package/dist/chunks/toggle-button-group-B_C5ly_4.cjs.js.map +1 -0
  346. package/dist/chunks/toggle-button-group-yB5nqdV3.es.js +82 -0
  347. package/dist/chunks/toggle-button-group-yB5nqdV3.es.js.map +1 -0
  348. package/dist/chunks/toolbar-BZkvVoAw.cjs.js +2 -0
  349. package/dist/chunks/toolbar-BZkvVoAw.cjs.js.map +1 -0
  350. package/dist/chunks/toolbar-DvkcbAsl.es.js +59 -0
  351. package/dist/chunks/toolbar-DvkcbAsl.es.js.map +1 -0
  352. package/dist/chunks/tooltip-Bb_I4Owj.es.js +274 -0
  353. package/dist/chunks/tooltip-Bb_I4Owj.es.js.map +1 -0
  354. package/dist/chunks/tooltip-D7QmPw5W.cjs.js +2 -0
  355. package/dist/chunks/tooltip-D7QmPw5W.cjs.js.map +1 -0
  356. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js +2 -0
  357. package/dist/chunks/use-formatting-state-Denpy3Zo.cjs.js.map +1 -0
  358. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js +247 -0
  359. package/dist/chunks/use-formatting-state-RJvSR-Zg.es.js.map +1 -0
  360. package/dist/chunks/use-recipe-BZ_iqCkN.cjs.js.map +1 -1
  361. package/dist/chunks/use-recipe-CR4W7Dne.es.js.map +1 -1
  362. package/dist/chunks/useButton-6DDhTkQ5.cjs.js +2 -0
  363. package/dist/chunks/useButton-6DDhTkQ5.cjs.js.map +1 -0
  364. package/dist/chunks/useButton-CKkFEBt0.es.js +56 -0
  365. package/dist/chunks/useButton-CKkFEBt0.es.js.map +1 -0
  366. package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js +2 -0
  367. package/dist/chunks/useDateFormatter-BIkv89ta.cjs.js.map +1 -0
  368. package/dist/chunks/useDateFormatter-DGeAh0SC.es.js +1601 -0
  369. package/dist/chunks/useDateFormatter-DGeAh0SC.es.js.map +1 -0
  370. package/dist/chunks/useDescription-CVIOL3si.es.js +33 -0
  371. package/dist/chunks/useDescription-CVIOL3si.es.js.map +1 -0
  372. package/dist/chunks/useDescription-Dwd7oLGP.cjs.js +2 -0
  373. package/dist/chunks/useDescription-Dwd7oLGP.cjs.js.map +1 -0
  374. package/dist/chunks/useEvent-AOCWMUCu.cjs.js +2 -0
  375. package/dist/chunks/useEvent-AOCWMUCu.cjs.js.map +1 -0
  376. package/dist/chunks/useEvent-k0_MYJWL.es.js +22 -0
  377. package/dist/chunks/useEvent-k0_MYJWL.es.js.map +1 -0
  378. package/dist/chunks/useField-9-dizG-T.es.js +36 -0
  379. package/dist/chunks/useField-9-dizG-T.es.js.map +1 -0
  380. package/dist/chunks/useField-D5vZhNS3.cjs.js +2 -0
  381. package/dist/chunks/useField-D5vZhNS3.cjs.js.map +1 -0
  382. package/dist/chunks/useFocus-DpnjsJ3H.cjs.js +2 -0
  383. package/dist/chunks/useFocus-DpnjsJ3H.cjs.js.map +1 -0
  384. package/dist/chunks/useFocus-Lq2Mmyje.es.js +29 -0
  385. package/dist/chunks/useFocus-Lq2Mmyje.es.js.map +1 -0
  386. package/dist/chunks/useFocusRing-BFWuvq6P.es.js +35 -0
  387. package/dist/chunks/useFocusRing-BFWuvq6P.es.js.map +1 -0
  388. package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js +2 -0
  389. package/dist/chunks/useFocusRing-DjMwdeTr.cjs.js.map +1 -0
  390. package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js +2 -0
  391. package/dist/chunks/useFocusVisible-CCKx2EYu.cjs.js.map +1 -0
  392. package/dist/chunks/useFocusVisible-DGwGbqVH.es.js +148 -0
  393. package/dist/chunks/useFocusVisible-DGwGbqVH.es.js.map +1 -0
  394. package/dist/chunks/useFocusWithin-BcxLc412.cjs.js +2 -0
  395. package/dist/chunks/useFocusWithin-BcxLc412.cjs.js.map +1 -0
  396. package/dist/chunks/useFocusWithin-QIERmzTm.es.js +56 -0
  397. package/dist/chunks/useFocusWithin-QIERmzTm.es.js.map +1 -0
  398. package/dist/chunks/useFocusable-BKWax3sD.cjs.js +2 -0
  399. package/dist/chunks/useFocusable-BKWax3sD.cjs.js.map +1 -0
  400. package/dist/chunks/useFocusable-ZY85zm7p.es.js +101 -0
  401. package/dist/chunks/useFocusable-ZY85zm7p.es.js.map +1 -0
  402. package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js +2 -0
  403. package/dist/chunks/useFormReset-7-vYPDFJ.cjs.js.map +1 -0
  404. package/dist/chunks/useFormReset-C27nadG4.es.js +21 -0
  405. package/dist/chunks/useFormReset-C27nadG4.es.js.map +1 -0
  406. package/dist/chunks/useFormValidation-B5jwexNB.cjs.js +2 -0
  407. package/dist/chunks/useFormValidation-B5jwexNB.cjs.js.map +1 -0
  408. package/dist/chunks/useFormValidation-Chwu6llz.es.js +202 -0
  409. package/dist/chunks/useFormValidation-Chwu6llz.es.js.map +1 -0
  410. package/dist/chunks/useGlobalListeners-BOOfV5Wh.es.js.map +1 -1
  411. package/dist/chunks/useGlobalListeners-DcmIlwrO.cjs.js.map +1 -1
  412. package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js +598 -0
  413. package/dist/chunks/useHighlightSelectionDescription-C7xYnRNQ.es.js.map +1 -0
  414. package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js +2 -0
  415. package/dist/chunks/useHighlightSelectionDescription-DbT86zJE.cjs.js.map +1 -0
  416. package/dist/chunks/useHover-BmNjdf-e.cjs.js +2 -0
  417. package/dist/chunks/useHover-BmNjdf-e.cjs.js.map +1 -0
  418. package/dist/chunks/useHover-C5D2lV7p.es.js +86 -0
  419. package/dist/chunks/useHover-C5D2lV7p.es.js.map +1 -0
  420. package/dist/chunks/useLabel-BvIA-VYU.cjs.js +2 -0
  421. package/dist/chunks/useLabel-BvIA-VYU.cjs.js.map +1 -0
  422. package/dist/chunks/useLabel-DHa3lVYx.es.js +37 -0
  423. package/dist/chunks/useLabel-DHa3lVYx.es.js.map +1 -0
  424. package/dist/chunks/usePress-CEcydhMs.es.js +473 -0
  425. package/dist/chunks/usePress-CEcydhMs.es.js.map +1 -0
  426. package/dist/chunks/usePress-_EFFCs1n.cjs.js +8 -0
  427. package/dist/chunks/usePress-_EFFCs1n.cjs.js.map +1 -0
  428. package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js +2 -0
  429. package/dist/chunks/useProgressBar-DPrqCXGF.cjs.js.map +1 -0
  430. package/dist/chunks/useProgressBar-DjpcXNXW.es.js +48 -0
  431. package/dist/chunks/useProgressBar-DjpcXNXW.es.js.map +1 -0
  432. package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js +35 -0
  433. package/dist/chunks/useSingleSelectListState-C71okNUJ.es.js.map +1 -0
  434. package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js +2 -0
  435. package/dist/chunks/useSingleSelectListState-CVyCydEV.cjs.js.map +1 -0
  436. package/dist/chunks/useSpinButton-BmgSsr4J.es.js +462 -0
  437. package/dist/chunks/useSpinButton-BmgSsr4J.es.js.map +1 -0
  438. package/dist/chunks/useSpinButton-CjLHguQd.cjs.js +2 -0
  439. package/dist/chunks/useSpinButton-CjLHguQd.cjs.js.map +1 -0
  440. package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js +2 -0
  441. package/dist/chunks/useSyncRef-Cey7oI1w.cjs.js.map +1 -0
  442. package/dist/chunks/useSyncRef-KqQTqZax.es.js +47 -0
  443. package/dist/chunks/useSyncRef-KqQTqZax.es.js.map +1 -0
  444. package/dist/chunks/useTextField-D0VFuWqP.es.js +91 -0
  445. package/dist/chunks/useTextField-D0VFuWqP.es.js.map +1 -0
  446. package/dist/chunks/useTextField-DvU8XT6q.cjs.js +2 -0
  447. package/dist/chunks/useTextField-DvU8XT6q.cjs.js.map +1 -0
  448. package/dist/chunks/useToggle-C9HpNiZE.es.js +62 -0
  449. package/dist/chunks/useToggle-C9HpNiZE.es.js.map +1 -0
  450. package/dist/chunks/useToggle-ChOojvWq.cjs.js +2 -0
  451. package/dist/chunks/useToggle-ChOojvWq.cjs.js.map +1 -0
  452. package/dist/chunks/useToolbar-DfnAHPrS.cjs.js +2 -0
  453. package/dist/chunks/useToolbar-DfnAHPrS.cjs.js.map +1 -0
  454. package/dist/chunks/useToolbar-Dzap6P-D.es.js +55 -0
  455. package/dist/chunks/useToolbar-Dzap6P-D.es.js.map +1 -0
  456. package/dist/chunks/utils-3xKI25I1.cjs.js +2 -0
  457. package/dist/chunks/utils-3xKI25I1.cjs.js.map +1 -0
  458. package/dist/chunks/utils-4CfAFtL7.es.js +242 -0
  459. package/dist/chunks/utils-4CfAFtL7.es.js.map +1 -0
  460. package/dist/chunks/utils-CB9xZl-T.cjs.js +2 -0
  461. package/dist/chunks/utils-CB9xZl-T.cjs.js.map +1 -0
  462. package/dist/chunks/utils-emYDjcZU.es.js +128 -0
  463. package/dist/chunks/utils-emYDjcZU.es.js.map +1 -0
  464. package/dist/chunks/visually-hidden-Bw4WH-b1.es.js +11 -0
  465. package/dist/chunks/visually-hidden-Bw4WH-b1.es.js.map +1 -0
  466. package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js +2 -0
  467. package/dist/chunks/visually-hidden-CQBnuJLY.cjs.js.map +1 -0
  468. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js +2 -0
  469. package/dist/chunks/walk-object-Ad4Rz5Gh.cjs.js.map +1 -0
  470. package/dist/chunks/walk-object-Drjey5HY.es.js +27 -0
  471. package/dist/chunks/walk-object-Drjey5HY.es.js.map +1 -0
  472. package/dist/code.d.ts +9 -0
  473. package/dist/combobox.d.ts +9 -0
  474. package/dist/components/accordion.cjs +1 -1
  475. package/dist/components/accordion.es.js +1 -1
  476. package/dist/components/alert.cjs +1 -1
  477. package/dist/components/alert.es.js +1 -1
  478. package/dist/components/avatar.cjs +1 -1
  479. package/dist/components/avatar.es.js +1 -1
  480. package/dist/components/badge.cjs +1 -1
  481. package/dist/components/badge.es.js +1 -1
  482. package/dist/components/box.cjs +1 -1
  483. package/dist/components/box.es.js +1 -1
  484. package/dist/components/button.cjs +1 -1
  485. package/dist/components/button.es.js +1 -1
  486. package/dist/components/calendar.cjs +1 -1
  487. package/dist/components/calendar.es.js +1 -1
  488. package/dist/components/card.cjs +1 -1
  489. package/dist/components/card.es.js +1 -1
  490. package/dist/components/checkbox.cjs +1 -1
  491. package/dist/components/checkbox.es.js +1 -1
  492. package/dist/components/code.cjs +1 -1
  493. package/dist/components/code.es.js +1 -1
  494. package/dist/components/combobox.cjs +1 -1
  495. package/dist/components/combobox.es.js +1 -1
  496. package/dist/components/components.cjs +1 -1
  497. package/dist/components/components.es.js +115 -113
  498. package/dist/components/components.es.js.map +1 -1
  499. package/dist/components/constants.cjs +2 -0
  500. package/dist/components/constants.cjs.map +1 -0
  501. package/dist/components/constants.es.js +125 -0
  502. package/dist/components/constants.es.js.map +1 -0
  503. package/dist/components/data-table.cjs +1 -1
  504. package/dist/components/data-table.es.js +10 -11
  505. package/dist/components/date-input.cjs +1 -1
  506. package/dist/components/date-input.es.js +1 -1
  507. package/dist/components/date-picker.cjs +1 -1
  508. package/dist/components/date-picker.es.js +1 -1
  509. package/dist/components/date-range-picker.cjs +1 -1
  510. package/dist/components/date-range-picker.es.js +1 -1
  511. package/dist/components/dialog.cjs +1 -1
  512. package/dist/components/dialog.es.js +1 -1
  513. package/dist/components/divider.cjs +1 -1
  514. package/dist/components/divider.es.js +1 -1
  515. package/dist/components/flex.cjs +1 -1
  516. package/dist/components/flex.es.js +1 -1
  517. package/dist/components/form-field.cjs +1 -1
  518. package/dist/components/form-field.es.js +1 -1
  519. package/dist/components/grid.cjs +1 -1
  520. package/dist/components/grid.es.js +1 -1
  521. package/dist/components/group.cjs +1 -1
  522. package/dist/components/group.es.js +1 -1
  523. package/dist/components/heading.cjs +1 -1
  524. package/dist/components/heading.es.js +1 -1
  525. package/dist/components/hooks.cjs +2 -0
  526. package/dist/components/hooks.cjs.map +1 -0
  527. package/dist/components/hooks.es.js +8 -0
  528. package/dist/components/hooks.es.js.map +1 -0
  529. package/dist/components/icon-button.cjs +1 -1
  530. package/dist/components/icon-button.es.js +1 -1
  531. package/dist/components/icon-toggle-button.cjs +1 -1
  532. package/dist/components/icon-toggle-button.es.js +1 -1
  533. package/dist/components/icon.cjs +1 -1
  534. package/dist/components/icon.es.js +1 -1
  535. package/dist/components/image.cjs +1 -1
  536. package/dist/components/image.es.js +1 -1
  537. package/dist/components/kbd.cjs +1 -1
  538. package/dist/components/kbd.es.js +1 -1
  539. package/dist/components/link.cjs +1 -1
  540. package/dist/components/link.es.js +1 -1
  541. package/dist/components/list.cjs +1 -1
  542. package/dist/components/list.es.js +1 -1
  543. package/dist/components/loading-spinner.cjs +1 -1
  544. package/dist/components/loading-spinner.es.js +1 -1
  545. package/dist/components/multiline-text-input.cjs +1 -1
  546. package/dist/components/multiline-text-input.es.js +1 -1
  547. package/dist/components/nimbus-provider.cjs +1 -1
  548. package/dist/components/nimbus-provider.es.js +1 -1
  549. package/dist/components/number-input.cjs +1 -1
  550. package/dist/components/number-input.es.js +1 -1
  551. package/dist/components/password-input.cjs +1 -1
  552. package/dist/components/password-input.es.js +1 -1
  553. package/dist/components/popover.cjs +2 -0
  554. package/dist/components/popover.cjs.map +1 -0
  555. package/dist/components/popover.es.js +26 -0
  556. package/dist/components/popover.es.js.map +1 -0
  557. package/dist/components/progress-bar.cjs +1 -1
  558. package/dist/components/progress-bar.es.js +1 -1
  559. package/dist/components/radio-input.cjs +1 -1
  560. package/dist/components/radio-input.es.js +1 -1
  561. package/dist/components/range-calendar.cjs +1 -1
  562. package/dist/components/range-calendar.es.js +1 -1
  563. package/dist/components/rich-text-input.cjs +2 -0
  564. package/dist/components/rich-text-input.cjs.map +1 -0
  565. package/dist/components/rich-text-input.es.js +5 -0
  566. package/dist/components/rich-text-input.es.js.map +1 -0
  567. package/dist/components/select.cjs +1 -1
  568. package/dist/components/select.es.js +1 -1
  569. package/dist/components/simple-grid.cjs +1 -1
  570. package/dist/components/simple-grid.es.js +1 -1
  571. package/dist/components/split-button.cjs +1 -1
  572. package/dist/components/split-button.es.js +1 -1
  573. package/dist/components/stack.cjs +1 -1
  574. package/dist/components/stack.es.js +1 -1
  575. package/dist/components/switch.cjs +1 -1
  576. package/dist/components/switch.es.js +1 -1
  577. package/dist/components/table.cjs +1 -1
  578. package/dist/components/table.es.js +1 -1
  579. package/dist/components/tag-group.cjs +1 -1
  580. package/dist/components/tag-group.es.js +1 -1
  581. package/dist/components/text-input.cjs +1 -1
  582. package/dist/components/text-input.es.js +1 -1
  583. package/dist/components/text.cjs +1 -1
  584. package/dist/components/text.es.js +1 -1
  585. package/dist/components/time-input.cjs +1 -1
  586. package/dist/components/time-input.es.js +1 -1
  587. package/dist/components/toggle-button-group.cjs +1 -1
  588. package/dist/components/toggle-button-group.es.js +1 -1
  589. package/dist/components/toggle-button.cjs +1 -1
  590. package/dist/components/toggle-button.es.js +1 -1
  591. package/dist/components/toolbar.cjs +1 -1
  592. package/dist/components/toolbar.es.js +1 -1
  593. package/dist/components/tooltip.cjs +1 -1
  594. package/dist/components/tooltip.es.js +2 -2
  595. package/dist/components/utils.cjs +2 -0
  596. package/dist/components/utils.cjs.map +1 -0
  597. package/dist/components/utils.es.js +76 -0
  598. package/dist/components/utils.es.js.map +1 -0
  599. package/dist/components/visually-hidden.cjs +1 -1
  600. package/dist/components/visually-hidden.es.js +1 -1
  601. package/dist/components.d.ts +200 -65
  602. package/dist/constants.d.ts +129 -0
  603. package/dist/data-table.d.ts +110 -51
  604. package/dist/date-input.d.ts +9 -0
  605. package/dist/date-picker.d.ts +9 -0
  606. package/dist/date-range-picker.d.ts +9 -0
  607. package/dist/dialog.d.ts +9 -0
  608. package/dist/divider.d.ts +9 -0
  609. package/dist/flex.d.ts +9 -0
  610. package/dist/form-field.d.ts +9 -0
  611. package/dist/grid.d.ts +9 -0
  612. package/dist/group.d.ts +9 -0
  613. package/dist/heading.d.ts +10 -1
  614. package/dist/hooks.d.ts +60 -0
  615. package/dist/icon-button.d.ts +9 -0
  616. package/dist/icon-toggle-button.d.ts +9 -0
  617. package/dist/icon.d.ts +9 -0
  618. package/dist/image.d.ts +9 -0
  619. package/dist/index.cjs +1 -1
  620. package/dist/index.cjs.map +1 -1
  621. package/dist/index.d.ts +242 -125
  622. package/dist/index.es.js +422 -286
  623. package/dist/index.es.js.map +1 -1
  624. package/dist/kbd.d.ts +9 -0
  625. package/dist/link.d.ts +9 -0
  626. package/dist/list.d.ts +9 -0
  627. package/dist/loading-spinner.d.ts +9 -0
  628. package/dist/multiline-text-input.d.ts +9 -0
  629. package/dist/nimbus-provider.d.ts +9 -0
  630. package/dist/number-input.d.ts +9 -0
  631. package/dist/password-input.d.ts +9 -0
  632. package/dist/popover.d.ts +27 -0
  633. package/dist/progress-bar.d.ts +13 -2
  634. package/dist/radio-input.d.ts +9 -0
  635. package/dist/range-calendar.d.ts +9 -0
  636. package/dist/rich-text-input.d.ts +79 -0
  637. package/dist/select.d.ts +12 -3
  638. package/dist/setup-jsdom-polyfills.d.ts +9 -0
  639. package/dist/simple-grid.d.ts +10 -1
  640. package/dist/split-button.d.ts +9 -0
  641. package/dist/stack.d.ts +9 -0
  642. package/dist/switch.d.ts +9 -0
  643. package/dist/table.d.ts +9 -0
  644. package/dist/tag-group.d.ts +9 -0
  645. package/dist/text-input.d.ts +9 -0
  646. package/dist/text.d.ts +10 -1
  647. package/dist/time-input.d.ts +9 -0
  648. package/dist/toggle-button-group.d.ts +9 -0
  649. package/dist/toggle-button.d.ts +9 -0
  650. package/dist/toolbar.d.ts +25 -2
  651. package/dist/tooltip.d.ts +9 -0
  652. package/dist/utils.d.ts +164 -0
  653. package/dist/visually-hidden.d.ts +9 -0
  654. package/package.json +17 -20
  655. package/dist/chunks/Button-C-yUWwZg.es.js +0 -73
  656. package/dist/chunks/Button-C-yUWwZg.es.js.map +0 -1
  657. package/dist/chunks/Button-DQ_WkLNH.cjs.js +0 -2
  658. package/dist/chunks/Button-DQ_WkLNH.cjs.js.map +0 -1
  659. package/dist/chunks/Collection-BsItrctR.cjs.js +0 -18
  660. package/dist/chunks/Collection-BsItrctR.cjs.js.map +0 -1
  661. package/dist/chunks/Collection-DFZhstai.es.js +0 -1896
  662. package/dist/chunks/Collection-DFZhstai.es.js.map +0 -1
  663. package/dist/chunks/DateField-D-KvZd-Q.cjs.js +0 -2
  664. package/dist/chunks/DateField-D-KvZd-Q.cjs.js.map +0 -1
  665. package/dist/chunks/DateField-m1BUGo8i.es.js +0 -2672
  666. package/dist/chunks/DateField-m1BUGo8i.es.js.map +0 -1
  667. package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js +0 -2
  668. package/dist/chunks/DatePicker-BQ6EfAU2.cjs.js.map +0 -1
  669. package/dist/chunks/DatePicker-DtefBSoN.es.js +0 -779
  670. package/dist/chunks/DatePicker-DtefBSoN.es.js.map +0 -1
  671. package/dist/chunks/Dialog-B4OIDU7t.cjs.js +0 -2
  672. package/dist/chunks/Dialog-B4OIDU7t.cjs.js.map +0 -1
  673. package/dist/chunks/Dialog-DNPIKkGE.es.js +0 -1904
  674. package/dist/chunks/Dialog-DNPIKkGE.es.js.map +0 -1
  675. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js +0 -81
  676. package/dist/chunks/DragAndDrop-ChYb3tCX.es.js.map +0 -1
  677. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js +0 -2
  678. package/dist/chunks/DragAndDrop-cOfUfFj8.cjs.js.map +0 -1
  679. package/dist/chunks/FocusScope-B78iFLeF.cjs.js +0 -2
  680. package/dist/chunks/FocusScope-B78iFLeF.cjs.js.map +0 -1
  681. package/dist/chunks/FocusScope-C1Aw7j9H.es.js +0 -625
  682. package/dist/chunks/FocusScope-C1Aw7j9H.es.js.map +0 -1
  683. package/dist/chunks/Group-KVM7Xnxu.cjs.js +0 -2
  684. package/dist/chunks/Group-KVM7Xnxu.cjs.js.map +0 -1
  685. package/dist/chunks/Group-kT8-3NGT.es.js +0 -46
  686. package/dist/chunks/Group-kT8-3NGT.es.js.map +0 -1
  687. package/dist/chunks/Heading-CQJ-3eon.cjs.js +0 -2
  688. package/dist/chunks/Heading-CQJ-3eon.cjs.js.map +0 -1
  689. package/dist/chunks/Heading-DGvdnp7W.es.js +0 -1618
  690. package/dist/chunks/Heading-DGvdnp7W.es.js.map +0 -1
  691. package/dist/chunks/Input-93z9WR_a.cjs.js +0 -2
  692. package/dist/chunks/Input-93z9WR_a.cjs.js.map +0 -1
  693. package/dist/chunks/Input-C4REHQYD.es.js +0 -43
  694. package/dist/chunks/Input-C4REHQYD.es.js.map +0 -1
  695. package/dist/chunks/Label-B2YyCdLl.es.js +0 -17
  696. package/dist/chunks/Label-B2YyCdLl.es.js.map +0 -1
  697. package/dist/chunks/Label-BgrYyYXn.cjs.js +0 -2
  698. package/dist/chunks/Label-BgrYyYXn.cjs.js.map +0 -1
  699. package/dist/chunks/ListBox-B8Tz7EWS.es.js +0 -615
  700. package/dist/chunks/ListBox-B8Tz7EWS.es.js.map +0 -1
  701. package/dist/chunks/ListBox-CzZFXtHY.cjs.js +0 -2
  702. package/dist/chunks/ListBox-CzZFXtHY.cjs.js.map +0 -1
  703. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js +0 -452
  704. package/dist/chunks/OverlayArrow-BD-oGsXg.es.js.map +0 -1
  705. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js +0 -2
  706. package/dist/chunks/OverlayArrow-aq8OInch.cjs.js.map +0 -1
  707. package/dist/chunks/ProgressBar-BNPexoD9.cjs.js +0 -2
  708. package/dist/chunks/ProgressBar-BNPexoD9.cjs.js.map +0 -1
  709. package/dist/chunks/ProgressBar-BnGsEC_2.es.js +0 -42
  710. package/dist/chunks/ProgressBar-BnGsEC_2.es.js.map +0 -1
  711. package/dist/chunks/Separator-BUmWfQvi.es.js +0 -573
  712. package/dist/chunks/Separator-BUmWfQvi.es.js.map +0 -1
  713. package/dist/chunks/Separator-DBLZ41YB.cjs.js +0 -2
  714. package/dist/chunks/Separator-DBLZ41YB.cjs.js.map +0 -1
  715. package/dist/chunks/TextArea-Cc0cDaeu.cjs.js +0 -2
  716. package/dist/chunks/TextArea-Cc0cDaeu.cjs.js.map +0 -1
  717. package/dist/chunks/TextArea-DIyosEKy.es.js +0 -42
  718. package/dist/chunks/TextArea-DIyosEKy.es.js.map +0 -1
  719. package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js +0 -2
  720. package/dist/chunks/ToggleButton-BbM5Zv6q.cjs.js.map +0 -1
  721. package/dist/chunks/ToggleButton-CgbTgCVi.es.js +0 -145
  722. package/dist/chunks/ToggleButton-CgbTgCVi.es.js.map +0 -1
  723. package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js +0 -2
  724. package/dist/chunks/VisuallyHidden-B4l0wZHw.cjs.js.map +0 -1
  725. package/dist/chunks/VisuallyHidden-C38kRNm0.es.js +0 -41
  726. package/dist/chunks/VisuallyHidden-C38kRNm0.es.js.map +0 -1
  727. package/dist/chunks/accordion-B_MC1ZEv.es.js +0 -223
  728. package/dist/chunks/accordion-B_MC1ZEv.es.js.map +0 -1
  729. package/dist/chunks/accordion-C9-YyEB4.cjs.js +0 -2
  730. package/dist/chunks/accordion-C9-YyEB4.cjs.js.map +0 -1
  731. package/dist/chunks/alert-BcTfv-Kw.es.js +0 -194
  732. package/dist/chunks/alert-BcTfv-Kw.es.js.map +0 -1
  733. package/dist/chunks/alert-Bp15DXZM.cjs.js +0 -2
  734. package/dist/chunks/alert-Bp15DXZM.cjs.js.map +0 -1
  735. package/dist/chunks/avatar-BWG1uDUT.cjs.js +0 -2
  736. package/dist/chunks/avatar-BWG1uDUT.cjs.js.map +0 -1
  737. package/dist/chunks/avatar-d49Ix9eV.es.js +0 -45
  738. package/dist/chunks/avatar-d49Ix9eV.es.js.map +0 -1
  739. package/dist/chunks/badge-BeR8OqtD.es.js +0 -78
  740. package/dist/chunks/badge-BeR8OqtD.es.js.map +0 -1
  741. package/dist/chunks/badge-CJK91qKC.cjs.js +0 -2
  742. package/dist/chunks/badge-CJK91qKC.cjs.js.map +0 -1
  743. package/dist/chunks/box-7pkPaNxe.es.js +0 -13
  744. package/dist/chunks/box-7pkPaNxe.es.js.map +0 -1
  745. package/dist/chunks/box-DL4MWnyy.cjs.js +0 -2
  746. package/dist/chunks/box-DL4MWnyy.cjs.js.map +0 -1
  747. package/dist/chunks/button-D5pgTe6f.es.js +0 -57
  748. package/dist/chunks/button-D5pgTe6f.es.js.map +0 -1
  749. package/dist/chunks/button-IGP--12e.cjs.js +0 -2
  750. package/dist/chunks/button-IGP--12e.cjs.js.map +0 -1
  751. package/dist/chunks/calendar-CYqib6Tm.cjs.js +0 -2
  752. package/dist/chunks/calendar-CYqib6Tm.cjs.js.map +0 -1
  753. package/dist/chunks/calendar-jrs4VkfV.es.js +0 -209
  754. package/dist/chunks/calendar-jrs4VkfV.es.js.map +0 -1
  755. package/dist/chunks/card-4i9NTJKM.cjs.js +0 -2
  756. package/dist/chunks/card-4i9NTJKM.cjs.js.map +0 -1
  757. package/dist/chunks/card-D1BUuNzg.es.js +0 -139
  758. package/dist/chunks/card-D1BUuNzg.es.js.map +0 -1
  759. package/dist/chunks/checkbox-BJQlCxDq.es.js +0 -219
  760. package/dist/chunks/checkbox-BJQlCxDq.es.js.map +0 -1
  761. package/dist/chunks/checkbox-DVb0qX6x.cjs.js +0 -2
  762. package/dist/chunks/checkbox-DVb0qX6x.cjs.js.map +0 -1
  763. package/dist/chunks/code-C245FocZ.es.js +0 -8
  764. package/dist/chunks/code-C245FocZ.es.js.map +0 -1
  765. package/dist/chunks/code-DqjWYzPU.cjs.js +0 -2
  766. package/dist/chunks/code-DqjWYzPU.cjs.js.map +0 -1
  767. package/dist/chunks/combobox-P1kEHLnr.cjs.js +0 -2
  768. package/dist/chunks/combobox-P1kEHLnr.cjs.js.map +0 -1
  769. package/dist/chunks/combobox-eT94voy1.es.js +0 -1947
  770. package/dist/chunks/combobox-eT94voy1.es.js.map +0 -1
  771. package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js +0 -2
  772. package/dist/chunks/create-recipe-context-BEEJ70DA.cjs.js.map +0 -1
  773. package/dist/chunks/create-recipe-context-BuajKZ9o.es.js +0 -62
  774. package/dist/chunks/create-recipe-context-BuajKZ9o.es.js.map +0 -1
  775. package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js +0 -2
  776. package/dist/chunks/create-slot-recipe-context-CHGQvGou.cjs.js.map +0 -1
  777. package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js +0 -104
  778. package/dist/chunks/create-slot-recipe-context-DgamNbR-.es.js.map +0 -1
  779. package/dist/chunks/data-table-BRjRsTel.cjs.js +0 -2
  780. package/dist/chunks/data-table-BRjRsTel.cjs.js.map +0 -1
  781. package/dist/chunks/data-table-CSWloD1b.es.js +0 -3912
  782. package/dist/chunks/data-table-CSWloD1b.es.js.map +0 -1
  783. package/dist/chunks/date-input-BFHLRnBr.cjs.js +0 -2
  784. package/dist/chunks/date-input-BFHLRnBr.cjs.js.map +0 -1
  785. package/dist/chunks/date-input-DADLkfIT.es.js +0 -17
  786. package/dist/chunks/date-input-DADLkfIT.es.js.map +0 -1
  787. package/dist/chunks/date-picker-CgCR5Rwk.es.js +0 -236
  788. package/dist/chunks/date-picker-CgCR5Rwk.es.js.map +0 -1
  789. package/dist/chunks/date-picker-CsspyMz9.cjs.js +0 -2
  790. package/dist/chunks/date-picker-CsspyMz9.cjs.js.map +0 -1
  791. package/dist/chunks/date-range-picker-C6v-n1IH.es.js +0 -283
  792. package/dist/chunks/date-range-picker-C6v-n1IH.es.js.map +0 -1
  793. package/dist/chunks/date-range-picker-D_gkG0on.cjs.js +0 -2
  794. package/dist/chunks/date-range-picker-D_gkG0on.cjs.js.map +0 -1
  795. package/dist/chunks/dialog-B1XThG7_.cjs.js +0 -2
  796. package/dist/chunks/dialog-B1XThG7_.cjs.js.map +0 -1
  797. package/dist/chunks/dialog-De8l1nzr.es.js +0 -1874
  798. package/dist/chunks/dialog-De8l1nzr.es.js.map +0 -1
  799. package/dist/chunks/divider-BicBw1PK.cjs.js +0 -2
  800. package/dist/chunks/divider-BicBw1PK.cjs.js.map +0 -1
  801. package/dist/chunks/divider-DMH0p6Pr.es.js +0 -54
  802. package/dist/chunks/divider-DMH0p6Pr.es.js.map +0 -1
  803. package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js +0 -11
  804. package/dist/chunks/extractStyleProps-BBWaCIdJ.es.js.map +0 -1
  805. package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js +0 -2
  806. package/dist/chunks/extractStyleProps-wjyId_vK.cjs.js.map +0 -1
  807. package/dist/chunks/factory-DUzr3LTt.cjs.js +0 -3
  808. package/dist/chunks/factory-DUzr3LTt.cjs.js.map +0 -1
  809. package/dist/chunks/factory-Dwv06Ntb.es.js +0 -266
  810. package/dist/chunks/factory-Dwv06Ntb.es.js.map +0 -1
  811. package/dist/chunks/flex-9fkV4bsm.es.js +0 -40
  812. package/dist/chunks/flex-9fkV4bsm.es.js.map +0 -1
  813. package/dist/chunks/flex-CDVfeTs4.cjs.js +0 -2
  814. package/dist/chunks/flex-CDVfeTs4.cjs.js.map +0 -1
  815. package/dist/chunks/focusSafely-CpzfaUTO.cjs.js +0 -2
  816. package/dist/chunks/focusSafely-CpzfaUTO.cjs.js.map +0 -1
  817. package/dist/chunks/focusSafely-Di2ArC9L.es.js +0 -27
  818. package/dist/chunks/focusSafely-Di2ArC9L.es.js.map +0 -1
  819. package/dist/chunks/form-field-BHknOPYf.es.js +0 -310
  820. package/dist/chunks/form-field-BHknOPYf.es.js.map +0 -1
  821. package/dist/chunks/form-field-CM_uSyZr.cjs.js +0 -11
  822. package/dist/chunks/form-field-CM_uSyZr.cjs.js.map +0 -1
  823. package/dist/chunks/grid-DcLdIZYK.es.js +0 -14
  824. package/dist/chunks/grid-DcLdIZYK.es.js.map +0 -1
  825. package/dist/chunks/grid-Dm38IozR.cjs.js +0 -2
  826. package/dist/chunks/grid-Dm38IozR.cjs.js.map +0 -1
  827. package/dist/chunks/grid-item-B0PfRhfs.cjs.js +0 -2
  828. package/dist/chunks/grid-item-B0PfRhfs.cjs.js.map +0 -1
  829. package/dist/chunks/grid-item-BZOflk76.es.js +0 -75
  830. package/dist/chunks/grid-item-BZOflk76.es.js.map +0 -1
  831. package/dist/chunks/group-BQeamedA.es.js +0 -14
  832. package/dist/chunks/group-BQeamedA.es.js.map +0 -1
  833. package/dist/chunks/group-BwSwp_8B.cjs.js +0 -2
  834. package/dist/chunks/group-BwSwp_8B.cjs.js.map +0 -1
  835. package/dist/chunks/heading-CEFp09pV.cjs.js +0 -2
  836. package/dist/chunks/heading-CEFp09pV.cjs.js.map +0 -1
  837. package/dist/chunks/heading-DYcfaS5T.es.js +0 -8
  838. package/dist/chunks/heading-DYcfaS5T.es.js.map +0 -1
  839. package/dist/chunks/icon-Cgp53xQ2.es.js +0 -32
  840. package/dist/chunks/icon-Cgp53xQ2.es.js.map +0 -1
  841. package/dist/chunks/icon-DxRnsJFu.cjs.js +0 -2
  842. package/dist/chunks/icon-DxRnsJFu.cjs.js.map +0 -1
  843. package/dist/chunks/icon-button-C2GGAKhI.es.js +0 -14
  844. package/dist/chunks/icon-button-C2GGAKhI.es.js.map +0 -1
  845. package/dist/chunks/icon-button-KMr_sm5y.cjs.js +0 -2
  846. package/dist/chunks/icon-button-KMr_sm5y.cjs.js.map +0 -1
  847. package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js +0 -13
  848. package/dist/chunks/icon-toggle-button-CyhtfTs4.es.js.map +0 -1
  849. package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js +0 -2
  850. package/dist/chunks/icon-toggle-button-p3GT9QUC.cjs.js.map +0 -1
  851. package/dist/chunks/image-B_X4IZ54.es.js +0 -8
  852. package/dist/chunks/image-B_X4IZ54.es.js.map +0 -1
  853. package/dist/chunks/image-CenZDDs1.cjs.js +0 -2
  854. package/dist/chunks/image-CenZDDs1.cjs.js.map +0 -1
  855. package/dist/chunks/image-DCZ7u0Yz.cjs.js +0 -2
  856. package/dist/chunks/image-DCZ7u0Yz.cjs.js.map +0 -1
  857. package/dist/chunks/image-Dk3v9f16.es.js +0 -22
  858. package/dist/chunks/image-Dk3v9f16.es.js.map +0 -1
  859. package/dist/chunks/index-CPFuzoME.es.js +0 -3424
  860. package/dist/chunks/index-CPFuzoME.es.js.map +0 -1
  861. package/dist/chunks/index-CcqI-ipN.cjs.js +0 -2
  862. package/dist/chunks/index-CcqI-ipN.cjs.js.map +0 -1
  863. package/dist/chunks/index-DsGIn0AT.es.js +0 -51
  864. package/dist/chunks/index-DsGIn0AT.es.js.map +0 -1
  865. package/dist/chunks/index-XyB4gGC8.cjs.js +0 -4
  866. package/dist/chunks/index-XyB4gGC8.cjs.js.map +0 -1
  867. package/dist/chunks/kbd-CSMHvaH6.cjs.js +0 -2
  868. package/dist/chunks/kbd-CSMHvaH6.cjs.js.map +0 -1
  869. package/dist/chunks/kbd-CUSbYvfc.es.js +0 -16
  870. package/dist/chunks/kbd-CUSbYvfc.es.js.map +0 -1
  871. package/dist/chunks/link-B2cOAxZz.cjs.js +0 -2
  872. package/dist/chunks/link-B2cOAxZz.cjs.js.map +0 -1
  873. package/dist/chunks/link-DteZUB4U.es.js +0 -50
  874. package/dist/chunks/link-DteZUB4U.es.js.map +0 -1
  875. package/dist/chunks/list-Bm8bFcHO.cjs.js +0 -2
  876. package/dist/chunks/list-Bm8bFcHO.cjs.js.map +0 -1
  877. package/dist/chunks/list-De4DYOvu.es.js +0 -23
  878. package/dist/chunks/list-De4DYOvu.es.js.map +0 -1
  879. package/dist/chunks/loading-spinner-BMtvjIcS.es.js +0 -119
  880. package/dist/chunks/loading-spinner-BMtvjIcS.es.js.map +0 -1
  881. package/dist/chunks/loading-spinner-Cap3elI4.cjs.js +0 -2
  882. package/dist/chunks/loading-spinner-Cap3elI4.cjs.js.map +0 -1
  883. package/dist/chunks/make-element-focusable-_FWEyVtG.es.js +0 -22
  884. package/dist/chunks/make-element-focusable-_FWEyVtG.es.js.map +0 -1
  885. package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js +0 -2
  886. package/dist/chunks/make-element-focusable-fn-8kTQK.cjs.js.map +0 -1
  887. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js +0 -2
  888. package/dist/chunks/mergeProps-BA5Cwf5w.cjs.js.map +0 -1
  889. package/dist/chunks/mergeProps-B_9syxhT.es.js +0 -130
  890. package/dist/chunks/mergeProps-B_9syxhT.es.js.map +0 -1
  891. package/dist/chunks/multiline-text-input-CaGDNakb.es.js +0 -120
  892. package/dist/chunks/multiline-text-input-CaGDNakb.es.js.map +0 -1
  893. package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js +0 -12
  894. package/dist/chunks/multiline-text-input-ChVzVZob.cjs.js.map +0 -1
  895. package/dist/chunks/namespace-BayyiBSr.es.js +0 -74
  896. package/dist/chunks/namespace-BayyiBSr.es.js.map +0 -1
  897. package/dist/chunks/namespace-E8aHFVxM.cjs.js +0 -2
  898. package/dist/chunks/namespace-E8aHFVxM.cjs.js.map +0 -1
  899. package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js +0 -2
  900. package/dist/chunks/nimbus-provider-DCCIMVE_.cjs.js.map +0 -1
  901. package/dist/chunks/nimbus-provider-Dlt9_yol.es.js +0 -101
  902. package/dist/chunks/nimbus-provider-Dlt9_yol.es.js.map +0 -1
  903. package/dist/chunks/number-input-BHHKhYR7.es.js +0 -669
  904. package/dist/chunks/number-input-BHHKhYR7.es.js.map +0 -1
  905. package/dist/chunks/number-input-DFFxFKrR.cjs.js +0 -2
  906. package/dist/chunks/number-input-DFFxFKrR.cjs.js.map +0 -1
  907. package/dist/chunks/openLink-Ctl0AdAy.es.js +0 -105
  908. package/dist/chunks/openLink-Ctl0AdAy.es.js.map +0 -1
  909. package/dist/chunks/password-input-DVcMdFAI.cjs.js +0 -2
  910. package/dist/chunks/password-input-DVcMdFAI.cjs.js.map +0 -1
  911. package/dist/chunks/password-input-DbMYteEW.es.js +0 -65
  912. package/dist/chunks/password-input-DbMYteEW.es.js.map +0 -1
  913. package/dist/chunks/platform-Z5fvtFmM.es.js +0 -47
  914. package/dist/chunks/platform-Z5fvtFmM.es.js.map +0 -1
  915. package/dist/chunks/progress-bar-BsWBRJc2.cjs.js +0 -2
  916. package/dist/chunks/progress-bar-BsWBRJc2.cjs.js.map +0 -1
  917. package/dist/chunks/progress-bar-C3sqvC_T.es.js +0 -77
  918. package/dist/chunks/progress-bar-C3sqvC_T.es.js.map +0 -1
  919. package/dist/chunks/radio-input-CFNznM66.es.js +0 -341
  920. package/dist/chunks/radio-input-CFNznM66.es.js.map +0 -1
  921. package/dist/chunks/radio-input-D3ePwO1n.cjs.js +0 -2
  922. package/dist/chunks/radio-input-D3ePwO1n.cjs.js.map +0 -1
  923. package/dist/chunks/range-calendar-Bk_im2QK.cjs.js +0 -2
  924. package/dist/chunks/range-calendar-Bk_im2QK.cjs.js.map +0 -1
  925. package/dist/chunks/range-calendar-C5pDvIuq.es.js +0 -187
  926. package/dist/chunks/range-calendar-C5pDvIuq.es.js.map +0 -1
  927. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js +0 -94
  928. package/dist/chunks/scrollIntoView-BYF_8_6g.es.js.map +0 -1
  929. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js +0 -2
  930. package/dist/chunks/scrollIntoView-BzIqpHLO.cjs.js.map +0 -1
  931. package/dist/chunks/select-BZGHsJAO.es.js +0 -571
  932. package/dist/chunks/select-BZGHsJAO.es.js.map +0 -1
  933. package/dist/chunks/select-DCQjhFbh.cjs.js +0 -2
  934. package/dist/chunks/select-DCQjhFbh.cjs.js.map +0 -1
  935. package/dist/chunks/simple-grid-1F5YBj03.es.js +0 -38
  936. package/dist/chunks/simple-grid-1F5YBj03.es.js.map +0 -1
  937. package/dist/chunks/simple-grid-BfDDcTNA.cjs.js +0 -2
  938. package/dist/chunks/simple-grid-BfDDcTNA.cjs.js.map +0 -1
  939. package/dist/chunks/split-button-CIHXMvxD.cjs.js +0 -2
  940. package/dist/chunks/split-button-CIHXMvxD.cjs.js.map +0 -1
  941. package/dist/chunks/split-button-DJoqZPXX.es.js +0 -262
  942. package/dist/chunks/split-button-DJoqZPXX.es.js.map +0 -1
  943. package/dist/chunks/stack-B2xQMEdj.cjs.js +0 -2
  944. package/dist/chunks/stack-B2xQMEdj.cjs.js.map +0 -1
  945. package/dist/chunks/stack-DosdbBli.es.js +0 -89
  946. package/dist/chunks/stack-DosdbBli.es.js.map +0 -1
  947. package/dist/chunks/switch-C3AG1gUR.cjs.js +0 -2
  948. package/dist/chunks/switch-C3AG1gUR.cjs.js.map +0 -1
  949. package/dist/chunks/switch-DEKbPCQG.es.js +0 -79
  950. package/dist/chunks/switch-DEKbPCQG.es.js.map +0 -1
  951. package/dist/chunks/tag-group-4kwJie4V.es.js +0 -768
  952. package/dist/chunks/tag-group-4kwJie4V.es.js.map +0 -1
  953. package/dist/chunks/tag-group-BYQkpbiY.cjs.js +0 -2
  954. package/dist/chunks/tag-group-BYQkpbiY.cjs.js.map +0 -1
  955. package/dist/chunks/text-DNjTZCtR.cjs.js +0 -2
  956. package/dist/chunks/text-DNjTZCtR.cjs.js.map +0 -1
  957. package/dist/chunks/text-QANNJ4E4.es.js +0 -26
  958. package/dist/chunks/text-QANNJ4E4.es.js.map +0 -1
  959. package/dist/chunks/text-input-COPlnTZU.es.js +0 -19
  960. package/dist/chunks/text-input-COPlnTZU.es.js.map +0 -1
  961. package/dist/chunks/text-input-DnS2RVDs.cjs.js +0 -2
  962. package/dist/chunks/text-input-DnS2RVDs.cjs.js.map +0 -1
  963. package/dist/chunks/time-input-BWkx15sb.cjs.js +0 -2
  964. package/dist/chunks/time-input-BWkx15sb.cjs.js.map +0 -1
  965. package/dist/chunks/time-input-DXMs43_R.es.js +0 -132
  966. package/dist/chunks/time-input-DXMs43_R.es.js.map +0 -1
  967. package/dist/chunks/toggle-button-BEvOqB5n.es.js +0 -30
  968. package/dist/chunks/toggle-button-BEvOqB5n.es.js.map +0 -1
  969. package/dist/chunks/toggle-button-PE5251Fm.cjs.js +0 -2
  970. package/dist/chunks/toggle-button-PE5251Fm.cjs.js.map +0 -1
  971. package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js +0 -2
  972. package/dist/chunks/toggle-button-group-B2G_b7h8.cjs.js.map +0 -1
  973. package/dist/chunks/toggle-button-group-CXrwjOF0.es.js +0 -82
  974. package/dist/chunks/toggle-button-group-CXrwjOF0.es.js.map +0 -1
  975. package/dist/chunks/toolbar-BJrobBzi.es.js +0 -59
  976. package/dist/chunks/toolbar-BJrobBzi.es.js.map +0 -1
  977. package/dist/chunks/toolbar-BxIQI626.cjs.js +0 -2
  978. package/dist/chunks/toolbar-BxIQI626.cjs.js.map +0 -1
  979. package/dist/chunks/tooltip-Ya7L6lQR.es.js +0 -274
  980. package/dist/chunks/tooltip-Ya7L6lQR.es.js.map +0 -1
  981. package/dist/chunks/tooltip-fOhxG4pp.cjs.js +0 -2
  982. package/dist/chunks/tooltip-fOhxG4pp.cjs.js.map +0 -1
  983. package/dist/chunks/useButton-Cgkz8UEs.es.js +0 -56
  984. package/dist/chunks/useButton-Cgkz8UEs.es.js.map +0 -1
  985. package/dist/chunks/useButton-D3BedLtL.cjs.js +0 -2
  986. package/dist/chunks/useButton-D3BedLtL.cjs.js.map +0 -1
  987. package/dist/chunks/useDateFormatter-D9HBAX1w.es.js +0 -1601
  988. package/dist/chunks/useDateFormatter-D9HBAX1w.es.js.map +0 -1
  989. package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js +0 -2
  990. package/dist/chunks/useDateFormatter-G9oGkNG5.cjs.js.map +0 -1
  991. package/dist/chunks/useEvent-CuUOU5WV.cjs.js +0 -2
  992. package/dist/chunks/useEvent-CuUOU5WV.cjs.js.map +0 -1
  993. package/dist/chunks/useEvent-YHhqZvpU.es.js +0 -22
  994. package/dist/chunks/useEvent-YHhqZvpU.es.js.map +0 -1
  995. package/dist/chunks/useField-Ce9zQxmx.es.js +0 -36
  996. package/dist/chunks/useField-Ce9zQxmx.es.js.map +0 -1
  997. package/dist/chunks/useField-DmqO9k7a.cjs.js +0 -2
  998. package/dist/chunks/useField-DmqO9k7a.cjs.js.map +0 -1
  999. package/dist/chunks/useFocus-BcBbbuWU.cjs.js +0 -2
  1000. package/dist/chunks/useFocus-BcBbbuWU.cjs.js.map +0 -1
  1001. package/dist/chunks/useFocus-CeI1jbl8.es.js +0 -29
  1002. package/dist/chunks/useFocus-CeI1jbl8.es.js.map +0 -1
  1003. package/dist/chunks/useFocusRing-D8cwV0EM.es.js +0 -35
  1004. package/dist/chunks/useFocusRing-D8cwV0EM.es.js.map +0 -1
  1005. package/dist/chunks/useFocusRing-DRIoF592.cjs.js +0 -2
  1006. package/dist/chunks/useFocusRing-DRIoF592.cjs.js.map +0 -1
  1007. package/dist/chunks/useFocusVisible-C5ivHvqm.es.js +0 -111
  1008. package/dist/chunks/useFocusVisible-C5ivHvqm.es.js.map +0 -1
  1009. package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js +0 -2
  1010. package/dist/chunks/useFocusVisible-bRnVksaU.cjs.js.map +0 -1
  1011. package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js +0 -2
  1012. package/dist/chunks/useFocusWithin-i-cVKYQ8.cjs.js.map +0 -1
  1013. package/dist/chunks/useFocusWithin-yfiHuOEs.es.js +0 -56
  1014. package/dist/chunks/useFocusWithin-yfiHuOEs.es.js.map +0 -1
  1015. package/dist/chunks/useFocusable-BghVNiQU.es.js +0 -77
  1016. package/dist/chunks/useFocusable-BghVNiQU.es.js.map +0 -1
  1017. package/dist/chunks/useFocusable-avM9w6OE.cjs.js +0 -2
  1018. package/dist/chunks/useFocusable-avM9w6OE.cjs.js.map +0 -1
  1019. package/dist/chunks/useFormReset--wPlnEOl.cjs.js +0 -2
  1020. package/dist/chunks/useFormReset--wPlnEOl.cjs.js.map +0 -1
  1021. package/dist/chunks/useFormReset-DurgUJL-.es.js +0 -21
  1022. package/dist/chunks/useFormReset-DurgUJL-.es.js.map +0 -1
  1023. package/dist/chunks/useFormValidation-DJMNbIhx.es.js +0 -202
  1024. package/dist/chunks/useFormValidation-DJMNbIhx.es.js.map +0 -1
  1025. package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js +0 -2
  1026. package/dist/chunks/useFormValidation-DJy_cdgv.cjs.js.map +0 -1
  1027. package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js +0 -598
  1028. package/dist/chunks/useHighlightSelectionDescription-DAR8wV79.es.js.map +0 -1
  1029. package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js +0 -2
  1030. package/dist/chunks/useHighlightSelectionDescription-DPwy1mkw.cjs.js.map +0 -1
  1031. package/dist/chunks/useHover-BlZx5CU2.cjs.js +0 -2
  1032. package/dist/chunks/useHover-BlZx5CU2.cjs.js.map +0 -1
  1033. package/dist/chunks/useHover-cJOf02TT.es.js +0 -86
  1034. package/dist/chunks/useHover-cJOf02TT.es.js.map +0 -1
  1035. package/dist/chunks/useLabel-BBmkkrPP.es.js +0 -37
  1036. package/dist/chunks/useLabel-BBmkkrPP.es.js.map +0 -1
  1037. package/dist/chunks/useLabel-Y8tWagLu.cjs.js +0 -2
  1038. package/dist/chunks/useLabel-Y8tWagLu.cjs.js.map +0 -1
  1039. package/dist/chunks/usePress-BquTSwUd.es.js +0 -456
  1040. package/dist/chunks/usePress-BquTSwUd.es.js.map +0 -1
  1041. package/dist/chunks/usePress-D8F1U6qk.cjs.js +0 -8
  1042. package/dist/chunks/usePress-D8F1U6qk.cjs.js.map +0 -1
  1043. package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js +0 -2
  1044. package/dist/chunks/useProgressBar-8ZyM2_T3.cjs.js.map +0 -1
  1045. package/dist/chunks/useProgressBar-BgURyN6q.es.js +0 -48
  1046. package/dist/chunks/useProgressBar-BgURyN6q.es.js.map +0 -1
  1047. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js +0 -2
  1048. package/dist/chunks/useResizeObserver-Dx-vDLiW.cjs.js.map +0 -1
  1049. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js +0 -32
  1050. package/dist/chunks/useResizeObserver-FIPBIG5S.es.js.map +0 -1
  1051. package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js +0 -2
  1052. package/dist/chunks/useSingleSelectListState-BpAVpRdZ.cjs.js.map +0 -1
  1053. package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js +0 -35
  1054. package/dist/chunks/useSingleSelectListState-CiK-JkEX.es.js.map +0 -1
  1055. package/dist/chunks/useSpinButton-C-tpK-T9.es.js +0 -433
  1056. package/dist/chunks/useSpinButton-C-tpK-T9.es.js.map +0 -1
  1057. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js +0 -2
  1058. package/dist/chunks/useSpinButton-Cw8QxU2l.cjs.js.map +0 -1
  1059. package/dist/chunks/useSyncRef-DGRbdR4H.es.js +0 -13
  1060. package/dist/chunks/useSyncRef-DGRbdR4H.es.js.map +0 -1
  1061. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js +0 -2
  1062. package/dist/chunks/useSyncRef-bcjp9eId.cjs.js.map +0 -1
  1063. package/dist/chunks/useTextField-Cv1jQqUp.cjs.js +0 -2
  1064. package/dist/chunks/useTextField-Cv1jQqUp.cjs.js.map +0 -1
  1065. package/dist/chunks/useTextField-Doh-sQHP.es.js +0 -91
  1066. package/dist/chunks/useTextField-Doh-sQHP.es.js.map +0 -1
  1067. package/dist/chunks/useToggle-BK36AEko.cjs.js +0 -2
  1068. package/dist/chunks/useToggle-BK36AEko.cjs.js.map +0 -1
  1069. package/dist/chunks/useToggle-DcdigPKG.es.js +0 -62
  1070. package/dist/chunks/useToggle-DcdigPKG.es.js.map +0 -1
  1071. package/dist/chunks/useToolbar-CYJ2PbtO.es.js +0 -55
  1072. package/dist/chunks/useToolbar-CYJ2PbtO.es.js.map +0 -1
  1073. package/dist/chunks/useToolbar-D3B8DvbF.cjs.js +0 -2
  1074. package/dist/chunks/useToolbar-D3B8DvbF.cjs.js.map +0 -1
  1075. package/dist/chunks/utils-BHVnNfaH.cjs.js +0 -2
  1076. package/dist/chunks/utils-BHVnNfaH.cjs.js.map +0 -1
  1077. package/dist/chunks/utils-BHdR5Nww.cjs.js +0 -2
  1078. package/dist/chunks/utils-BHdR5Nww.cjs.js.map +0 -1
  1079. package/dist/chunks/utils-BkdW_cdL.es.js +0 -128
  1080. package/dist/chunks/utils-BkdW_cdL.es.js.map +0 -1
  1081. package/dist/chunks/utils-Gg3iiYhl.es.js +0 -188
  1082. package/dist/chunks/utils-Gg3iiYhl.es.js.map +0 -1
  1083. package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js +0 -2
  1084. package/dist/chunks/visually-hidden-Uhh-2Y-q.cjs.js.map +0 -1
  1085. package/dist/chunks/visually-hidden-vh07nrZa.es.js +0 -11
  1086. package/dist/chunks/visually-hidden-vh07nrZa.es.js.map +0 -1
  1087. package/dist/chunks/walk-object-CvcTxMj1.es.js +0 -27
  1088. package/dist/chunks/walk-object-CvcTxMj1.es.js.map +0 -1
  1089. package/dist/chunks/walk-object-vr3sAS3_.cjs.js +0 -2
  1090. package/dist/chunks/walk-object-vr3sAS3_.cjs.js.map +0 -1
  1091. package/i18n/compiled-data/core.json +0 -146
  1092. package/i18n/compiled-data/de.json +0 -146
  1093. package/i18n/compiled-data/en.json +0 -146
  1094. package/i18n/compiled-data/fr-FR.json +0 -146
  1095. package/i18n/compiled-data/pt-BR.json +0 -146
@@ -0,0 +1,1925 @@
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