@protonradio/proton-ui 0.11.5-beta.2 → 0.11.5

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 (1057) hide show
  1. package/dist/Button-BLlr5ezy.js +31 -0
  2. package/dist/Button-BLlr5ezy.js.map +1 -0
  3. package/dist/Button-DuAhPJPD.mjs +727 -0
  4. package/dist/Button-DuAhPJPD.mjs.map +1 -0
  5. package/dist/Button.cjs.js +2 -0
  6. package/dist/Button.cjs.js.map +1 -0
  7. package/dist/Button.d.ts +53 -0
  8. package/dist/Button.es.js +9 -0
  9. package/dist/Button.es.js.map +1 -0
  10. package/dist/{constants/breakpoint.es.js → breakpoint-9y1_8U_b.mjs} +2 -2
  11. package/dist/breakpoint-9y1_8U_b.mjs.map +1 -0
  12. package/dist/breakpoint-DtqbboOa.js +2 -0
  13. package/dist/breakpoint-DtqbboOa.js.map +1 -0
  14. package/dist/color2k-CpDB_dpw.mjs +168 -0
  15. package/dist/color2k-CpDB_dpw.mjs.map +1 -0
  16. package/dist/color2k-DCgwXUem.js +2 -0
  17. package/dist/color2k-DCgwXUem.js.map +1 -0
  18. package/dist/{design/colors.es.js → colors-CWaj9dFz.mjs} +7 -7
  19. package/dist/colors-CWaj9dFz.mjs.map +1 -0
  20. package/dist/colors-CebzFjpe.js +2 -0
  21. package/dist/{design/darkTheme/colors.es.js.map → colors-CebzFjpe.js.map} +1 -1
  22. package/dist/{design/darkTheme/colors.es.js → colors-Ceyo4oCJ.mjs} +13 -13
  23. package/dist/{design/darkTheme/colors.cjs.js.map → colors-Ceyo4oCJ.mjs.map} +1 -1
  24. package/dist/colors-CmSJBHaf.js +2 -0
  25. package/dist/colors-CmSJBHaf.js.map +1 -0
  26. package/dist/colors-DL1dYffC.js +2 -0
  27. package/dist/{design/lightTheme/colors.es.js.map → colors-DL1dYffC.js.map} +1 -1
  28. package/dist/{design/lightTheme/colors.es.js → colors-DMkDnu4U.mjs} +11 -11
  29. package/dist/{design/lightTheme/colors.cjs.js.map → colors-DMkDnu4U.mjs.map} +1 -1
  30. package/dist/constants.cjs.js +1 -1
  31. package/dist/constants.cjs.js.map +1 -1
  32. package/dist/constants.es.js +26 -3
  33. package/dist/constants.es.js.map +1 -1
  34. package/dist/copy-DxIZCnfT.js +2 -0
  35. package/dist/copy-DxIZCnfT.js.map +1 -0
  36. package/dist/{utils/copy.es.js → copy-qSgElu2b.mjs} +2 -2
  37. package/dist/copy-qSgElu2b.mjs.map +1 -0
  38. package/dist/hooks.cjs.js +1 -1
  39. package/dist/hooks.cjs.js.map +1 -1
  40. package/dist/hooks.es.js +37 -8
  41. package/dist/hooks.es.js.map +1 -1
  42. package/dist/image-CUSfY1_T.js +2 -0
  43. package/dist/image-CUSfY1_T.js.map +1 -0
  44. package/dist/image-DFyN0Kd9.mjs +207 -0
  45. package/dist/image-DFyN0Kd9.mjs.map +1 -0
  46. package/dist/index.cjs.js +17 -1
  47. package/dist/index.cjs.js.map +1 -1
  48. package/dist/index.d.ts +27 -5
  49. package/dist/index.es.js +8700 -61
  50. package/dist/index.es.js.map +1 -1
  51. package/dist/navigation-DdxS0JoV.js +2 -0
  52. package/dist/navigation-DdxS0JoV.js.map +1 -0
  53. package/dist/navigation-DsfDNfej.mjs +16 -0
  54. package/dist/navigation-DsfDNfej.mjs.map +1 -0
  55. package/dist/theme/dark.cjs.js +1 -1
  56. package/dist/theme/dark.cjs.js.map +1 -1
  57. package/dist/theme/dark.es.js +55 -8
  58. package/dist/theme/dark.es.js.map +1 -1
  59. package/dist/theme/light.cjs.js +1 -1
  60. package/dist/theme/light.cjs.js.map +1 -1
  61. package/dist/theme/light.es.js +55 -8
  62. package/dist/theme/light.es.js.map +1 -1
  63. package/dist/theme.cjs.js +1 -1
  64. package/dist/theme.cjs.js.map +1 -1
  65. package/dist/theme.es.js +15 -9
  66. package/dist/theme.es.js.map +1 -1
  67. package/dist/useBreakpoint-CjRyGKN-.mjs +53 -0
  68. package/dist/useBreakpoint-CjRyGKN-.mjs.map +1 -0
  69. package/dist/useBreakpoint-DA-JqOu3.js +2 -0
  70. package/dist/useBreakpoint-DA-JqOu3.js.map +1 -0
  71. package/dist/utils.cjs.js +1 -1
  72. package/dist/utils.es.js +16 -19
  73. package/dist/utils.es.js.map +1 -1
  74. package/package.json +10 -5
  75. package/dist/_virtual/index.cjs.js +0 -2
  76. package/dist/_virtual/index.cjs.js.map +0 -1
  77. package/dist/_virtual/index.es.js +0 -5
  78. package/dist/_virtual/index.es.js.map +0 -1
  79. package/dist/_virtual/jsx-runtime.cjs.js +0 -2
  80. package/dist/_virtual/jsx-runtime.cjs.js.map +0 -1
  81. package/dist/_virtual/jsx-runtime.es.js +0 -5
  82. package/dist/_virtual/jsx-runtime.es.js.map +0 -1
  83. package/dist/_virtual/react-jsx-runtime.development.cjs.js +0 -2
  84. package/dist/_virtual/react-jsx-runtime.development.cjs.js.map +0 -1
  85. package/dist/_virtual/react-jsx-runtime.development.es.js +0 -5
  86. package/dist/_virtual/react-jsx-runtime.development.es.js.map +0 -1
  87. package/dist/_virtual/react-jsx-runtime.production.min.cjs.js +0 -2
  88. package/dist/_virtual/react-jsx-runtime.production.min.cjs.js.map +0 -1
  89. package/dist/_virtual/react-jsx-runtime.production.min.es.js +0 -5
  90. package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +0 -1
  91. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js +0 -2
  92. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js.map +0 -1
  93. package/dist/_virtual/use-sync-external-store-shim.development.es.js +0 -5
  94. package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +0 -1
  95. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js +0 -2
  96. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js.map +0 -1
  97. package/dist/_virtual/use-sync-external-store-shim.production.es.js +0 -5
  98. package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +0 -1
  99. package/dist/assets/svg/icons.svg.cjs.js +0 -2
  100. package/dist/assets/svg/icons.svg.cjs.js.map +0 -1
  101. package/dist/assets/svg/icons.svg.es.js +0 -5
  102. package/dist/assets/svg/icons.svg.es.js.map +0 -1
  103. package/dist/components/ActionMenu/ActionMenu.cjs.js +0 -2
  104. package/dist/components/ActionMenu/ActionMenu.cjs.js.map +0 -1
  105. package/dist/components/ActionMenu/ActionMenu.es.js +0 -210
  106. package/dist/components/ActionMenu/ActionMenu.es.js.map +0 -1
  107. package/dist/components/Badge/Badge.cjs.js +0 -2
  108. package/dist/components/Badge/Badge.cjs.js.map +0 -1
  109. package/dist/components/Badge/Badge.es.js +0 -25
  110. package/dist/components/Badge/Badge.es.js.map +0 -1
  111. package/dist/components/Banner/Banner.cjs.js +0 -2
  112. package/dist/components/Banner/Banner.cjs.js.map +0 -1
  113. package/dist/components/Banner/Banner.es.js +0 -131
  114. package/dist/components/Banner/Banner.es.js.map +0 -1
  115. package/dist/components/Button/Button.cjs.js +0 -2
  116. package/dist/components/Button/Button.cjs.js.map +0 -1
  117. package/dist/components/Button/Button.es.js +0 -99
  118. package/dist/components/Button/Button.es.js.map +0 -1
  119. package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -2
  120. package/dist/components/ButtonGroup/ButtonGroup.cjs.js.map +0 -1
  121. package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -51
  122. package/dist/components/ButtonGroup/ButtonGroup.es.js.map +0 -1
  123. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +0 -2
  124. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +0 -1
  125. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +0 -81
  126. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +0 -1
  127. package/dist/components/DataTable/DataTable.cjs.js +0 -2
  128. package/dist/components/DataTable/DataTable.cjs.js.map +0 -1
  129. package/dist/components/DataTable/DataTable.es.js +0 -137
  130. package/dist/components/DataTable/DataTable.es.js.map +0 -1
  131. package/dist/components/Dialog/Dialog.cjs.js +0 -2
  132. package/dist/components/Dialog/Dialog.cjs.js.map +0 -1
  133. package/dist/components/Dialog/Dialog.es.js +0 -15
  134. package/dist/components/Dialog/Dialog.es.js.map +0 -1
  135. package/dist/components/Elevation/Elevation.cjs.js +0 -2
  136. package/dist/components/Elevation/Elevation.cjs.js.map +0 -1
  137. package/dist/components/Elevation/Elevation.es.js +0 -33
  138. package/dist/components/Elevation/Elevation.es.js.map +0 -1
  139. package/dist/components/Icon/Icon.cjs.js +0 -2
  140. package/dist/components/Icon/Icon.cjs.js.map +0 -1
  141. package/dist/components/Icon/Icon.es.js +0 -42
  142. package/dist/components/Icon/Icon.es.js.map +0 -1
  143. package/dist/components/ImageBackground/ImageBackground.cjs.js +0 -2
  144. package/dist/components/ImageBackground/ImageBackground.cjs.js.map +0 -1
  145. package/dist/components/ImageBackground/ImageBackground.es.js +0 -55
  146. package/dist/components/ImageBackground/ImageBackground.es.js.map +0 -1
  147. package/dist/components/Input/BaseInput/Input.cjs.js +0 -2
  148. package/dist/components/Input/BaseInput/Input.cjs.js.map +0 -1
  149. package/dist/components/Input/BaseInput/Input.es.js +0 -182
  150. package/dist/components/Input/BaseInput/Input.es.js.map +0 -1
  151. package/dist/components/Input/CopyInput/CopyInput.cjs.js +0 -2
  152. package/dist/components/Input/CopyInput/CopyInput.cjs.js.map +0 -1
  153. package/dist/components/Input/CopyInput/CopyInput.es.js +0 -83
  154. package/dist/components/Input/CopyInput/CopyInput.es.js.map +0 -1
  155. package/dist/components/Input/SearchInput/SearchInput.cjs.js +0 -2
  156. package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +0 -1
  157. package/dist/components/Input/SearchInput/SearchInput.es.js +0 -118
  158. package/dist/components/Input/SearchInput/SearchInput.es.js.map +0 -1
  159. package/dist/components/ListBox/ListBox.cjs.js +0 -2
  160. package/dist/components/ListBox/ListBox.cjs.js.map +0 -1
  161. package/dist/components/ListBox/ListBox.es.js +0 -25
  162. package/dist/components/ListBox/ListBox.es.js.map +0 -1
  163. package/dist/components/Menu/MenuTrigger.cjs.js +0 -2
  164. package/dist/components/Menu/MenuTrigger.cjs.js.map +0 -1
  165. package/dist/components/Menu/MenuTrigger.es.js +0 -97
  166. package/dist/components/Menu/MenuTrigger.es.js.map +0 -1
  167. package/dist/components/Menu/PopoverMenu.cjs.js +0 -2
  168. package/dist/components/Menu/PopoverMenu.cjs.js.map +0 -1
  169. package/dist/components/Menu/PopoverMenu.es.js +0 -116
  170. package/dist/components/Menu/PopoverMenu.es.js.map +0 -1
  171. package/dist/components/Modal/Modal.cjs.js +0 -2
  172. package/dist/components/Modal/Modal.cjs.js.map +0 -1
  173. package/dist/components/Modal/Modal.es.js +0 -122
  174. package/dist/components/Modal/Modal.es.js.map +0 -1
  175. package/dist/components/Popover/Popover.cjs.js +0 -2
  176. package/dist/components/Popover/Popover.cjs.js.map +0 -1
  177. package/dist/components/Popover/Popover.es.js +0 -74
  178. package/dist/components/Popover/Popover.es.js.map +0 -1
  179. package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js +0 -2
  180. package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js.map +0 -1
  181. package/dist/components/ScreenOverlay/ScreenOverlay.es.js +0 -44
  182. package/dist/components/ScreenOverlay/ScreenOverlay.es.js.map +0 -1
  183. package/dist/components/Select/Select.cjs.js +0 -2
  184. package/dist/components/Select/Select.cjs.js.map +0 -1
  185. package/dist/components/Select/Select.es.js +0 -173
  186. package/dist/components/Select/Select.es.js.map +0 -1
  187. package/dist/components/Switch/Switch.cjs.js +0 -2
  188. package/dist/components/Switch/Switch.cjs.js.map +0 -1
  189. package/dist/components/Switch/Switch.es.js +0 -40
  190. package/dist/components/Switch/Switch.es.js.map +0 -1
  191. package/dist/components/Table/Collection/CompoundComponents.cjs.js +0 -2
  192. package/dist/components/Table/Collection/CompoundComponents.cjs.js.map +0 -1
  193. package/dist/components/Table/Collection/CompoundComponents.es.js +0 -9
  194. package/dist/components/Table/Collection/CompoundComponents.es.js.map +0 -1
  195. package/dist/components/Table/Collection/collectionParser.cjs.js +0 -2
  196. package/dist/components/Table/Collection/collectionParser.cjs.js.map +0 -1
  197. package/dist/components/Table/Collection/collectionParser.es.js +0 -54
  198. package/dist/components/Table/Collection/collectionParser.es.js.map +0 -1
  199. package/dist/components/Table/Collection/useTableCollection.cjs.js +0 -2
  200. package/dist/components/Table/Collection/useTableCollection.cjs.js.map +0 -1
  201. package/dist/components/Table/Collection/useTableCollection.es.js +0 -59
  202. package/dist/components/Table/Collection/useTableCollection.es.js.map +0 -1
  203. package/dist/components/Table/Table.cjs.js +0 -2
  204. package/dist/components/Table/Table.cjs.js.map +0 -1
  205. package/dist/components/Table/Table.es.js +0 -89
  206. package/dist/components/Table/Table.es.js.map +0 -1
  207. package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js +0 -2
  208. package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js.map +0 -1
  209. package/dist/components/Text/TextEllipsis/TextEllipsis.es.js +0 -30
  210. package/dist/components/Text/TextEllipsis/TextEllipsis.es.js.map +0 -1
  211. package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js +0 -2
  212. package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js.map +0 -1
  213. package/dist/components/Text/TextEmphasis/TextEmphasis.es.js +0 -54
  214. package/dist/components/Text/TextEmphasis/TextEmphasis.es.js.map +0 -1
  215. package/dist/components/ThemeProvider.cjs.js +0 -2
  216. package/dist/components/ThemeProvider.cjs.js.map +0 -1
  217. package/dist/components/ThemeProvider.es.js +0 -42
  218. package/dist/components/ThemeProvider.es.js.map +0 -1
  219. package/dist/components/Tombstone/Tombstone.cjs.js +0 -2
  220. package/dist/components/Tombstone/Tombstone.cjs.js.map +0 -1
  221. package/dist/components/Tombstone/Tombstone.es.js +0 -35
  222. package/dist/components/Tombstone/Tombstone.es.js.map +0 -1
  223. package/dist/components/Tooltip/Tooltip.cjs.js +0 -2
  224. package/dist/components/Tooltip/Tooltip.cjs.js.map +0 -1
  225. package/dist/components/Tooltip/Tooltip.es.js +0 -78
  226. package/dist/components/Tooltip/Tooltip.es.js.map +0 -1
  227. package/dist/components/Waveform/Waveform.cjs.js +0 -2
  228. package/dist/components/Waveform/Waveform.cjs.js.map +0 -1
  229. package/dist/components/Waveform/Waveform.es.js +0 -163
  230. package/dist/components/Waveform/Waveform.es.js.map +0 -1
  231. package/dist/components/Waveform/WaveformBar.cjs.js +0 -2
  232. package/dist/components/Waveform/WaveformBar.cjs.js.map +0 -1
  233. package/dist/components/Waveform/WaveformBar.es.js +0 -74
  234. package/dist/components/Waveform/WaveformBar.es.js.map +0 -1
  235. package/dist/constants/breakpoint.cjs.js +0 -2
  236. package/dist/constants/breakpoint.cjs.js.map +0 -1
  237. package/dist/constants/breakpoint.es.js.map +0 -1
  238. package/dist/constants/placement.cjs.js +0 -2
  239. package/dist/constants/placement.cjs.js.map +0 -1
  240. package/dist/constants/placement.es.js +0 -28
  241. package/dist/constants/placement.es.js.map +0 -1
  242. package/dist/design/colors.cjs.js +0 -2
  243. package/dist/design/colors.cjs.js.map +0 -1
  244. package/dist/design/colors.es.js.map +0 -1
  245. package/dist/design/darkTheme/colors.cjs.js +0 -2
  246. package/dist/design/darkTheme/stylesheet.cjs.js +0 -2
  247. package/dist/design/darkTheme/stylesheet.cjs.js.map +0 -1
  248. package/dist/design/darkTheme/stylesheet.es.js +0 -52
  249. package/dist/design/darkTheme/stylesheet.es.js.map +0 -1
  250. package/dist/design/generateStylesheet.cjs.js +0 -2
  251. package/dist/design/generateStylesheet.cjs.js.map +0 -1
  252. package/dist/design/generateStylesheet.es.js +0 -26
  253. package/dist/design/generateStylesheet.es.js.map +0 -1
  254. package/dist/design/lightTheme/colors.cjs.js +0 -2
  255. package/dist/design/lightTheme/stylesheet.cjs.js +0 -2
  256. package/dist/design/lightTheme/stylesheet.cjs.js.map +0 -1
  257. package/dist/design/lightTheme/stylesheet.es.js +0 -52
  258. package/dist/design/lightTheme/stylesheet.es.js.map +0 -1
  259. package/dist/design/theme.cjs.js +0 -2
  260. package/dist/design/theme.cjs.js.map +0 -1
  261. package/dist/design/theme.es.js +0 -12
  262. package/dist/design/theme.es.js.map +0 -1
  263. package/dist/hooks/useBreakpoint.cjs.js +0 -2
  264. package/dist/hooks/useBreakpoint.cjs.js.map +0 -1
  265. package/dist/hooks/useBreakpoint.es.js +0 -17
  266. package/dist/hooks/useBreakpoint.es.js.map +0 -1
  267. package/dist/hooks/useIsClosing.cjs.js +0 -2
  268. package/dist/hooks/useIsClosing.cjs.js.map +0 -1
  269. package/dist/hooks/useIsClosing.es.js +0 -30
  270. package/dist/hooks/useIsClosing.es.js.map +0 -1
  271. package/dist/hooks/useLockBodyScroll.cjs.js +0 -2
  272. package/dist/hooks/useLockBodyScroll.cjs.js.map +0 -1
  273. package/dist/hooks/useLockBodyScroll.es.js +0 -14
  274. package/dist/hooks/useLockBodyScroll.es.js.map +0 -1
  275. package/dist/hooks/usePalette.cjs.js +0 -2
  276. package/dist/hooks/usePalette.cjs.js.map +0 -1
  277. package/dist/hooks/usePalette.es.js +0 -37
  278. package/dist/hooks/usePalette.es.js.map +0 -1
  279. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js +0 -2
  280. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js.map +0 -1
  281. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js +0 -48
  282. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js.map +0 -1
  283. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js +0 -2
  284. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js.map +0 -1
  285. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js +0 -33
  286. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js.map +0 -1
  287. package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js +0 -2
  288. package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js.map +0 -1
  289. package/dist/node_modules/@react-aria/button/dist/useButton.es.js +0 -47
  290. package/dist/node_modules/@react-aria/button/dist/useButton.es.js.map +0 -1
  291. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js +0 -2
  292. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js.map +0 -1
  293. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js +0 -134
  294. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js.map +0 -1
  295. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js +0 -2
  296. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  297. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js +0 -145
  298. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js.map +0 -1
  299. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js +0 -2
  300. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js.map +0 -1
  301. package/dist/node_modules/@react-aria/collections/dist/Document.es.js +0 -220
  302. package/dist/node_modules/@react-aria/collections/dist/Document.es.js.map +0 -1
  303. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js +0 -2
  304. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js.map +0 -1
  305. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js +0 -36
  306. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js.map +0 -1
  307. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js +0 -2
  308. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js.map +0 -1
  309. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js +0 -37
  310. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js.map +0 -1
  311. package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js +0 -2
  312. package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js.map +0 -1
  313. package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js +0 -44
  314. package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js.map +0 -1
  315. package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js +0 -2
  316. package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js.map +0 -1
  317. package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js +0 -423
  318. package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js.map +0 -1
  319. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js +0 -2
  320. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js.map +0 -1
  321. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js +0 -23
  322. package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js.map +0 -1
  323. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js +0 -2
  324. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js.map +0 -1
  325. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js +0 -32
  326. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js.map +0 -1
  327. package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js +0 -2
  328. package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js.map +0 -1
  329. package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js +0 -76
  330. package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js.map +0 -1
  331. package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js +0 -2
  332. package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js.map +0 -1
  333. package/dist/node_modules/@react-aria/i18n/dist/context.es.js +0 -11
  334. package/dist/node_modules/@react-aria/i18n/dist/context.es.js.map +0 -1
  335. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js +0 -2
  336. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js.map +0 -1
  337. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js +0 -12
  338. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js.map +0 -1
  339. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js +0 -2
  340. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js.map +0 -1
  341. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js +0 -30
  342. package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js.map +0 -1
  343. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js +0 -2
  344. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js.map +0 -1
  345. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js +0 -24
  346. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js.map +0 -1
  347. package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js +0 -2
  348. package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js.map +0 -1
  349. package/dist/node_modules/@react-aria/i18n/dist/utils.es.js +0 -45
  350. package/dist/node_modules/@react-aria/i18n/dist/utils.es.js.map +0 -1
  351. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js +0 -2
  352. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js.map +0 -1
  353. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js +0 -15
  354. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js.map +0 -1
  355. package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js +0 -2
  356. package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js.map +0 -1
  357. package/dist/node_modules/@react-aria/interactions/dist/context.es.js +0 -10
  358. package/dist/node_modules/@react-aria/interactions/dist/context.es.js.map +0 -1
  359. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js +0 -2
  360. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js.map +0 -1
  361. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js +0 -29
  362. package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js.map +0 -1
  363. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js +0 -2
  364. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js.map +0 -1
  365. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js +0 -15
  366. package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js.map +0 -1
  367. package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js +0 -2
  368. package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js.map +0 -1
  369. package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js +0 -35
  370. package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js.map +0 -1
  371. package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js +0 -2
  372. package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js.map +0 -1
  373. package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js +0 -30
  374. package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js.map +0 -1
  375. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +0 -2
  376. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +0 -1
  377. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +0 -67
  378. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +0 -1
  379. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js +0 -2
  380. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js.map +0 -1
  381. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js +0 -56
  382. package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js.map +0 -1
  383. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js +0 -2
  384. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js.map +0 -1
  385. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js +0 -42
  386. package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js.map +0 -1
  387. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js +0 -2
  388. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js.map +0 -1
  389. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js +0 -85
  390. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js.map +0 -1
  391. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js +0 -2
  392. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js.map +0 -1
  393. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js +0 -51
  394. package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js.map +0 -1
  395. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js +0 -2
  396. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js.map +0 -1
  397. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js +0 -13
  398. package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js.map +0 -1
  399. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js +0 -2
  400. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js.map +0 -1
  401. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js +0 -50
  402. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js.map +0 -1
  403. package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js +0 -2
  404. package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js.map +0 -1
  405. package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js +0 -375
  406. package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js.map +0 -1
  407. package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js +0 -2
  408. package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js.map +0 -1
  409. package/dist/node_modules/@react-aria/interactions/dist/utils.es.js +0 -92
  410. package/dist/node_modules/@react-aria/interactions/dist/utils.es.js.map +0 -1
  411. package/dist/node_modules/@react-aria/label/dist/useField.cjs.js +0 -2
  412. package/dist/node_modules/@react-aria/label/dist/useField.cjs.js.map +0 -1
  413. package/dist/node_modules/@react-aria/label/dist/useField.es.js +0 -36
  414. package/dist/node_modules/@react-aria/label/dist/useField.es.js.map +0 -1
  415. package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js +0 -2
  416. package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js.map +0 -1
  417. package/dist/node_modules/@react-aria/label/dist/useLabel.es.js +0 -23
  418. package/dist/node_modules/@react-aria/label/dist/useLabel.es.js.map +0 -1
  419. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js +0 -2
  420. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js.map +0 -1
  421. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js +0 -52
  422. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js.map +0 -1
  423. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js +0 -2
  424. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js.map +0 -1
  425. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js +0 -79
  426. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js.map +0 -1
  427. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js +0 -2
  428. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js.map +0 -1
  429. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js +0 -14
  430. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js.map +0 -1
  431. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js +0 -2
  432. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js.map +0 -1
  433. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js +0 -48
  434. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js.map +0 -1
  435. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js +0 -2
  436. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js.map +0 -1
  437. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js +0 -8
  438. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js.map +0 -1
  439. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js +0 -2
  440. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js.map +0 -1
  441. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js +0 -8
  442. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js.map +0 -1
  443. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js +0 -2
  444. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js.map +0 -1
  445. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js +0 -8
  446. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js.map +0 -1
  447. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js +0 -2
  448. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js.map +0 -1
  449. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js +0 -8
  450. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js.map +0 -1
  451. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js +0 -2
  452. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js.map +0 -1
  453. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js +0 -8
  454. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js.map +0 -1
  455. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js +0 -2
  456. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js.map +0 -1
  457. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js +0 -8
  458. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js.map +0 -1
  459. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js +0 -2
  460. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js.map +0 -1
  461. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js +0 -8
  462. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js.map +0 -1
  463. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js +0 -2
  464. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js.map +0 -1
  465. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js +0 -8
  466. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js.map +0 -1
  467. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js +0 -2
  468. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js.map +0 -1
  469. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js +0 -8
  470. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js.map +0 -1
  471. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js +0 -2
  472. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js.map +0 -1
  473. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js +0 -8
  474. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js.map +0 -1
  475. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js +0 -2
  476. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js.map +0 -1
  477. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js +0 -8
  478. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js.map +0 -1
  479. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js +0 -2
  480. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js.map +0 -1
  481. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js +0 -8
  482. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js.map +0 -1
  483. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js +0 -2
  484. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js.map +0 -1
  485. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js +0 -8
  486. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js.map +0 -1
  487. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js +0 -2
  488. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js.map +0 -1
  489. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js +0 -8
  490. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js.map +0 -1
  491. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js +0 -2
  492. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js.map +0 -1
  493. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js +0 -75
  494. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js.map +0 -1
  495. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js +0 -2
  496. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js.map +0 -1
  497. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js +0 -8
  498. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js.map +0 -1
  499. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js +0 -2
  500. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js.map +0 -1
  501. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js +0 -8
  502. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js.map +0 -1
  503. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js +0 -2
  504. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js.map +0 -1
  505. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js +0 -8
  506. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js.map +0 -1
  507. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js +0 -2
  508. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js.map +0 -1
  509. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js +0 -8
  510. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js.map +0 -1
  511. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js +0 -2
  512. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js.map +0 -1
  513. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js +0 -8
  514. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js.map +0 -1
  515. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js +0 -2
  516. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js.map +0 -1
  517. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js +0 -8
  518. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js.map +0 -1
  519. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js +0 -2
  520. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js.map +0 -1
  521. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js +0 -8
  522. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js.map +0 -1
  523. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js +0 -2
  524. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js.map +0 -1
  525. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js +0 -8
  526. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js.map +0 -1
  527. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js +0 -2
  528. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js.map +0 -1
  529. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js +0 -8
  530. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js.map +0 -1
  531. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js +0 -2
  532. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js.map +0 -1
  533. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js +0 -8
  534. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js.map +0 -1
  535. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js +0 -2
  536. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js.map +0 -1
  537. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js +0 -8
  538. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js.map +0 -1
  539. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js +0 -2
  540. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js.map +0 -1
  541. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js +0 -8
  542. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js.map +0 -1
  543. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js +0 -2
  544. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js.map +0 -1
  545. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js +0 -8
  546. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js.map +0 -1
  547. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js +0 -2
  548. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js.map +0 -1
  549. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js +0 -8
  550. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js.map +0 -1
  551. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js +0 -2
  552. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js.map +0 -1
  553. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js +0 -8
  554. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js.map +0 -1
  555. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js +0 -2
  556. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js.map +0 -1
  557. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js +0 -8
  558. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js.map +0 -1
  559. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js +0 -2
  560. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js.map +0 -1
  561. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js +0 -8
  562. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js.map +0 -1
  563. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js +0 -2
  564. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js.map +0 -1
  565. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js +0 -8
  566. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js.map +0 -1
  567. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js +0 -2
  568. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js.map +0 -1
  569. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js +0 -39
  570. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js.map +0 -1
  571. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js +0 -2
  572. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js.map +0 -1
  573. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js +0 -144
  574. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js.map +0 -1
  575. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js +0 -2
  576. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js.map +0 -1
  577. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js +0 -64
  578. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js.map +0 -1
  579. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js +0 -2
  580. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js.map +0 -1
  581. package/dist/node_modules/@react-aria/menu/dist/utils.es.js +0 -5
  582. package/dist/node_modules/@react-aria/menu/dist/utils.es.js.map +0 -1
  583. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js +0 -2
  584. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js.map +0 -1
  585. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js +0 -8
  586. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js.map +0 -1
  587. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js +0 -2
  588. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js.map +0 -1
  589. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js +0 -8
  590. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js.map +0 -1
  591. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js +0 -2
  592. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js.map +0 -1
  593. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js +0 -26
  594. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js.map +0 -1
  595. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +0 -2
  596. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +0 -1
  597. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +0 -39
  598. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +0 -1
  599. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js +0 -2
  600. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js.map +0 -1
  601. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js +0 -11
  602. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js.map +0 -1
  603. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js +0 -2
  604. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js.map +0 -1
  605. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js +0 -8
  606. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js.map +0 -1
  607. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +0 -2
  608. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +0 -1
  609. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +0 -72
  610. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +0 -1
  611. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js +0 -2
  612. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js.map +0 -1
  613. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js +0 -8
  614. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js.map +0 -1
  615. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js +0 -2
  616. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js.map +0 -1
  617. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js +0 -200
  618. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js.map +0 -1
  619. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js +0 -2
  620. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js.map +0 -1
  621. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js +0 -8
  622. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js.map +0 -1
  623. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js +0 -2
  624. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js.map +0 -1
  625. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js +0 -8
  626. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js.map +0 -1
  627. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js +0 -2
  628. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js.map +0 -1
  629. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js +0 -8
  630. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js.map +0 -1
  631. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js +0 -2
  632. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js.map +0 -1
  633. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js +0 -8
  634. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js.map +0 -1
  635. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js +0 -2
  636. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js.map +0 -1
  637. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js +0 -8
  638. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js.map +0 -1
  639. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js +0 -2
  640. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js.map +0 -1
  641. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js +0 -8
  642. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js.map +0 -1
  643. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js +0 -2
  644. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js.map +0 -1
  645. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js +0 -8
  646. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js.map +0 -1
  647. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js +0 -2
  648. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js.map +0 -1
  649. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js +0 -8
  650. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js.map +0 -1
  651. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js +0 -2
  652. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js.map +0 -1
  653. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js +0 -8
  654. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js.map +0 -1
  655. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js +0 -2
  656. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js.map +0 -1
  657. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js +0 -8
  658. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js.map +0 -1
  659. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js +0 -2
  660. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js.map +0 -1
  661. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js +0 -8
  662. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js.map +0 -1
  663. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js +0 -2
  664. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js.map +0 -1
  665. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js +0 -8
  666. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js.map +0 -1
  667. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js +0 -2
  668. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js.map +0 -1
  669. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js +0 -75
  670. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js.map +0 -1
  671. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js +0 -2
  672. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js.map +0 -1
  673. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js +0 -8
  674. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js.map +0 -1
  675. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js +0 -2
  676. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js.map +0 -1
  677. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js +0 -8
  678. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js.map +0 -1
  679. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js +0 -2
  680. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js.map +0 -1
  681. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js +0 -8
  682. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js.map +0 -1
  683. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js +0 -2
  684. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js.map +0 -1
  685. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js +0 -8
  686. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js.map +0 -1
  687. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js +0 -2
  688. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js.map +0 -1
  689. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js +0 -8
  690. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js.map +0 -1
  691. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js +0 -2
  692. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js.map +0 -1
  693. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js +0 -8
  694. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js.map +0 -1
  695. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js +0 -2
  696. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js.map +0 -1
  697. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js +0 -8
  698. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js.map +0 -1
  699. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js +0 -2
  700. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js.map +0 -1
  701. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js +0 -8
  702. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js.map +0 -1
  703. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js +0 -2
  704. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js.map +0 -1
  705. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js +0 -8
  706. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js.map +0 -1
  707. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js +0 -2
  708. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js.map +0 -1
  709. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js +0 -8
  710. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js.map +0 -1
  711. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js +0 -2
  712. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js.map +0 -1
  713. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js +0 -8
  714. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js.map +0 -1
  715. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js +0 -2
  716. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js.map +0 -1
  717. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js +0 -8
  718. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js.map +0 -1
  719. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js +0 -2
  720. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js.map +0 -1
  721. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js +0 -8
  722. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js.map +0 -1
  723. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js +0 -2
  724. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js.map +0 -1
  725. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js +0 -8
  726. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js.map +0 -1
  727. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js +0 -2
  728. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js.map +0 -1
  729. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js +0 -8
  730. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js.map +0 -1
  731. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js +0 -2
  732. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js.map +0 -1
  733. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js +0 -8
  734. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js.map +0 -1
  735. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js +0 -2
  736. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js.map +0 -1
  737. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js +0 -8
  738. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js.map +0 -1
  739. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js +0 -2
  740. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js.map +0 -1
  741. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js +0 -8
  742. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js.map +0 -1
  743. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js +0 -2
  744. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js.map +0 -1
  745. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js +0 -26
  746. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js.map +0 -1
  747. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js +0 -2
  748. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js.map +0 -1
  749. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js +0 -30
  750. package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js.map +0 -1
  751. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js +0 -2
  752. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js.map +0 -1
  753. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js +0 -53
  754. package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js.map +0 -1
  755. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js +0 -2
  756. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js.map +0 -1
  757. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js +0 -143
  758. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js.map +0 -1
  759. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js +0 -2
  760. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js.map +0 -1
  761. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js +0 -27
  762. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js.map +0 -1
  763. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js +0 -2
  764. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js.map +0 -1
  765. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js +0 -45
  766. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js.map +0 -1
  767. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js +0 -2
  768. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js.map +0 -1
  769. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js +0 -98
  770. package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js.map +0 -1
  771. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js +0 -2
  772. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js.map +0 -1
  773. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js +0 -8
  774. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js.map +0 -1
  775. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js +0 -2
  776. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js.map +0 -1
  777. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js +0 -8
  778. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js.map +0 -1
  779. package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js +0 -2
  780. package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js.map +0 -1
  781. package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js +0 -58
  782. package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js.map +0 -1
  783. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js +0 -2
  784. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js.map +0 -1
  785. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js +0 -78
  786. package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js.map +0 -1
  787. package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js +0 -2
  788. package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js.map +0 -1
  789. package/dist/node_modules/@react-aria/radio/dist/utils.es.js +0 -5
  790. package/dist/node_modules/@react-aria/radio/dist/utils.es.js.map +0 -1
  791. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js +0 -2
  792. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js.map +0 -1
  793. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js +0 -73
  794. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js.map +0 -1
  795. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js +0 -2
  796. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js.map +0 -1
  797. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js +0 -117
  798. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js.map +0 -1
  799. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js +0 -2
  800. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js.map +0 -1
  801. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js +0 -41
  802. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js.map +0 -1
  803. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js +0 -2
  804. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js.map +0 -1
  805. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js +0 -122
  806. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js.map +0 -1
  807. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js +0 -2
  808. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js.map +0 -1
  809. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js +0 -227
  810. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js.map +0 -1
  811. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js +0 -2
  812. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js.map +0 -1
  813. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js +0 -122
  814. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js.map +0 -1
  815. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js +0 -2
  816. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js.map +0 -1
  817. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js +0 -37
  818. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js.map +0 -1
  819. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js +0 -2
  820. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js.map +0 -1
  821. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js +0 -33
  822. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js.map +0 -1
  823. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js +0 -2
  824. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js.map +0 -1
  825. package/dist/node_modules/@react-aria/selection/dist/utils.es.js +0 -24
  826. package/dist/node_modules/@react-aria/selection/dist/utils.es.js.map +0 -1
  827. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js +0 -2
  828. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js.map +0 -1
  829. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js +0 -19
  830. package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js.map +0 -1
  831. package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js +0 -2
  832. package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js.map +0 -1
  833. package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js +0 -20
  834. package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js.map +0 -1
  835. package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js +0 -2
  836. package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js.map +0 -1
  837. package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js +0 -48
  838. package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js.map +0 -1
  839. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js +0 -2
  840. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js.map +0 -1
  841. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js +0 -41
  842. package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js.map +0 -1
  843. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js +0 -2
  844. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  845. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js +0 -171
  846. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js.map +0 -1
  847. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js +0 -2
  848. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js.map +0 -1
  849. package/dist/node_modules/@react-stately/collections/dist/Item.es.js +0 -38
  850. package/dist/node_modules/@react-stately/collections/dist/Item.es.js.map +0 -1
  851. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js +0 -2
  852. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js.map +0 -1
  853. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js +0 -34
  854. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js.map +0 -1
  855. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js +0 -2
  856. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js.map +0 -1
  857. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js +0 -14
  858. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js.map +0 -1
  859. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js +0 -2
  860. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js.map +0 -1
  861. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js +0 -24
  862. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js.map +0 -1
  863. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js +0 -2
  864. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js.map +0 -1
  865. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js +0 -110
  866. package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js.map +0 -1
  867. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js +0 -2
  868. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js.map +0 -1
  869. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js +0 -57
  870. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js.map +0 -1
  871. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js +0 -2
  872. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js.map +0 -1
  873. package/dist/node_modules/@react-stately/list/dist/useListState.es.js +0 -70
  874. package/dist/node_modules/@react-stately/list/dist/useListState.es.js.map +0 -1
  875. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js +0 -2
  876. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js.map +0 -1
  877. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js +0 -35
  878. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js.map +0 -1
  879. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js +0 -2
  880. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js.map +0 -1
  881. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js +0 -34
  882. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js.map +0 -1
  883. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js +0 -2
  884. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js.map +0 -1
  885. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js +0 -30
  886. package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js.map +0 -1
  887. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js +0 -2
  888. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js.map +0 -1
  889. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js +0 -33
  890. package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js.map +0 -1
  891. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js +0 -2
  892. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js.map +0 -1
  893. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js +0 -33
  894. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js.map +0 -1
  895. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js +0 -2
  896. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js.map +0 -1
  897. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js +0 -9
  898. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js.map +0 -1
  899. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js +0 -2
  900. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js.map +0 -1
  901. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js +0 -285
  902. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js.map +0 -1
  903. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js +0 -2
  904. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js.map +0 -1
  905. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js +0 -58
  906. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js.map +0 -1
  907. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js +0 -2
  908. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js.map +0 -1
  909. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js +0 -19
  910. package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js.map +0 -1
  911. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js +0 -2
  912. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js.map +0 -1
  913. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js +0 -53
  914. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js.map +0 -1
  915. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js +0 -2
  916. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js.map +0 -1
  917. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js +0 -38
  918. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js.map +0 -1
  919. package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js +0 -2
  920. package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js.map +0 -1
  921. package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js +0 -31
  922. package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js.map +0 -1
  923. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js +0 -2
  924. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js.map +0 -1
  925. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js +0 -9
  926. package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js.map +0 -1
  927. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js +0 -2
  928. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js.map +0 -1
  929. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js +0 -8
  930. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js.map +0 -1
  931. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js +0 -2
  932. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js.map +0 -1
  933. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js +0 -13
  934. package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js.map +0 -1
  935. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js +0 -2
  936. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js.map +0 -1
  937. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js +0 -9
  938. package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js.map +0 -1
  939. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js +0 -2
  940. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js.map +0 -1
  941. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js +0 -11
  942. package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js.map +0 -1
  943. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js +0 -2
  944. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js.map +0 -1
  945. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js +0 -9
  946. package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js.map +0 -1
  947. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js +0 -2
  948. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js.map +0 -1
  949. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js +0 -11
  950. package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js.map +0 -1
  951. package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js +0 -2
  952. package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js.map +0 -1
  953. package/dist/node_modules/color2k/dist/index.exports.import.es.es.js +0 -171
  954. package/dist/node_modules/color2k/dist/index.exports.import.es.es.js.map +0 -1
  955. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -23
  956. package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js.map +0 -1
  957. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -609
  958. package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +0 -1
  959. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -10
  960. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js.map +0 -1
  961. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -29
  962. package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +0 -1
  963. package/dist/node_modules/react/jsx-runtime.cjs.js +0 -2
  964. package/dist/node_modules/react/jsx-runtime.cjs.js.map +0 -1
  965. package/dist/node_modules/react/jsx-runtime.es.js +0 -9
  966. package/dist/node_modules/react/jsx-runtime.es.js.map +0 -1
  967. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js +0 -2
  968. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js.map +0 -1
  969. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js +0 -6
  970. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js.map +0 -1
  971. package/dist/node_modules/react-aria-components/dist/Button.cjs.js +0 -2
  972. package/dist/node_modules/react-aria-components/dist/Button.cjs.js.map +0 -1
  973. package/dist/node_modules/react-aria-components/dist/Button.es.js +0 -77
  974. package/dist/node_modules/react-aria-components/dist/Button.es.js.map +0 -1
  975. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js +0 -2
  976. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js.map +0 -1
  977. package/dist/node_modules/react-aria-components/dist/Collection.es.js +0 -48
  978. package/dist/node_modules/react-aria-components/dist/Collection.es.js.map +0 -1
  979. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js +0 -2
  980. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js.map +0 -1
  981. package/dist/node_modules/react-aria-components/dist/Dialog.es.js +0 -6
  982. package/dist/node_modules/react-aria-components/dist/Dialog.es.js.map +0 -1
  983. package/dist/node_modules/react-aria-components/dist/Header.cjs.js +0 -2
  984. package/dist/node_modules/react-aria-components/dist/Header.cjs.js.map +0 -1
  985. package/dist/node_modules/react-aria-components/dist/Header.es.js +0 -15
  986. package/dist/node_modules/react-aria-components/dist/Header.es.js.map +0 -1
  987. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js +0 -2
  988. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js.map +0 -1
  989. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js +0 -6
  990. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js.map +0 -1
  991. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js +0 -2
  992. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js.map +0 -1
  993. package/dist/node_modules/react-aria-components/dist/Menu.es.js +0 -283
  994. package/dist/node_modules/react-aria-components/dist/Menu.es.js.map +0 -1
  995. package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js +0 -2
  996. package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js.map +0 -1
  997. package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js +0 -37
  998. package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js.map +0 -1
  999. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js +0 -2
  1000. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js.map +0 -1
  1001. package/dist/node_modules/react-aria-components/dist/Popover.es.js +0 -130
  1002. package/dist/node_modules/react-aria-components/dist/Popover.es.js.map +0 -1
  1003. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js +0 -2
  1004. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js.map +0 -1
  1005. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js +0 -6
  1006. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js.map +0 -1
  1007. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js +0 -2
  1008. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js.map +0 -1
  1009. package/dist/node_modules/react-aria-components/dist/Separator.es.js +0 -6
  1010. package/dist/node_modules/react-aria-components/dist/Separator.es.js.map +0 -1
  1011. package/dist/node_modules/react-aria-components/dist/Text.cjs.js +0 -2
  1012. package/dist/node_modules/react-aria-components/dist/Text.cjs.js.map +0 -1
  1013. package/dist/node_modules/react-aria-components/dist/Text.es.js +0 -16
  1014. package/dist/node_modules/react-aria-components/dist/Text.es.js.map +0 -1
  1015. package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js +0 -2
  1016. package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js.map +0 -1
  1017. package/dist/node_modules/react-aria-components/dist/Tooltip.es.js +0 -97
  1018. package/dist/node_modules/react-aria-components/dist/Tooltip.es.js.map +0 -1
  1019. package/dist/node_modules/react-aria-components/dist/utils.cjs.js +0 -2
  1020. package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +0 -1
  1021. package/dist/node_modules/react-aria-components/dist/utils.es.js +0 -101
  1022. package/dist/node_modules/react-aria-components/dist/utils.es.js.map +0 -1
  1023. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js +0 -10
  1024. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js.map +0 -1
  1025. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +0 -68
  1026. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +0 -1
  1027. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js +0 -10
  1028. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js.map +0 -1
  1029. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +0 -56
  1030. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +0 -1
  1031. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js +0 -2
  1032. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js.map +0 -1
  1033. package/dist/node_modules/use-sync-external-store/shim/index.es.js +0 -9
  1034. package/dist/node_modules/use-sync-external-store/shim/index.es.js.map +0 -1
  1035. package/dist/utils/color2k.cjs.js +0 -2
  1036. package/dist/utils/color2k.cjs.js.map +0 -1
  1037. package/dist/utils/color2k.es.js +0 -14
  1038. package/dist/utils/color2k.es.js.map +0 -1
  1039. package/dist/utils/copy.cjs.js +0 -2
  1040. package/dist/utils/copy.cjs.js.map +0 -1
  1041. package/dist/utils/copy.es.js.map +0 -1
  1042. package/dist/utils/image.cjs.js +0 -2
  1043. package/dist/utils/image.cjs.js.map +0 -1
  1044. package/dist/utils/image.es.js +0 -28
  1045. package/dist/utils/image.es.js.map +0 -1
  1046. package/dist/utils/navigation.cjs.js +0 -2
  1047. package/dist/utils/navigation.cjs.js.map +0 -1
  1048. package/dist/utils/navigation.es.js +0 -12
  1049. package/dist/utils/navigation.es.js.map +0 -1
  1050. package/dist/utils/palette.cjs.js +0 -2
  1051. package/dist/utils/palette.cjs.js.map +0 -1
  1052. package/dist/utils/palette.es.js +0 -183
  1053. package/dist/utils/palette.es.js.map +0 -1
  1054. package/dist/utils/string.cjs.js +0 -2
  1055. package/dist/utils/string.cjs.js.map +0 -1
  1056. package/dist/utils/string.es.js +0 -8
  1057. package/dist/utils/string.es.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"LocalizedStringFormatter.es.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n"],"names":["$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","key","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","locale","strings"],"mappings":"AAUI,MAAMA,IAAyC,oBAAI,OACjDC,IAA0C,oBAAI;AACpD,MAAMC,EAA0C;AAAA;AAAA,EACqC,OAAOC,GAAKC,GAAW;AACpG,QAAIC,IAAU,KAAK,QAAQ,mBAAmBF,GAAK,KAAK,MAAM;AAC9D,WAAO,OAAOE,KAAY,aAAaA,EAAQD,GAAW,IAAI,IAAIC;AAAA,EACrE;AAAA,EACD,OAAOC,GAAOC,GAASC,IAAO,YAAY;AACtC,QAAIC,IAAMF,EAAQ,MAAMD,CAAK;AAC7B,QAAIG,EAAK,QAAO,OAAOA,KAAQ,aAAaA,EAAK,IAAGA;AACpD,QAAIN,IAAM,KAAK,SAAS,MAAMK,GAC1BE,IAAcV,EAAuC,IAAIG,CAAG;AAChE,IAAKO,MACDA,IAAc,IAAI,KAAK,YAAY,KAAK,QAAQ;AAAA,MAC5C,MAAMF;AAAA,IACtB,CAAa,GACDR,EAAuC,IAAIG,GAAKO,CAAW;AAE/D,QAAIC,IAAWD,EAAY,OAAOJ,CAAK;AACvC,WAAAG,IAAMF,EAAQI,CAAQ,KAAKJ,EAAQ,OAC5B,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,OAAOG,GAAO;AACV,QAAIC,IAAeZ,EAAwC,IAAI,KAAK,MAAM;AAC1E,WAAKY,MACDA,IAAe,IAAI,KAAK,aAAa,KAAK,MAAM,GAChDZ,EAAwC,IAAI,KAAK,QAAQY,CAAY,IAElEA,EAAa,OAAOD,CAAK;AAAA,EACnC;AAAA,EACD,OAAOL,GAASK,GAAO;AACnB,QAAIH,IAAMF,EAAQK,CAAK,KAAKL,EAAQ;AACpC,WAAO,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,YAAYK,GAAQC,GAAQ;AACxB,SAAK,SAASD,GACd,KAAK,UAAUC;AAAA,EAClB;AACL;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@react-aria/utils"),m=require("../../interactions/dist/usePress.cjs.js"),x=require("../../interactions/dist/useFocusable.cjs.js");function O(e,o){let{elementType:s="button",isDisabled:r,onPress:u,onPressStart:d,onPressEnd:l,onPressUp:P,onPressChange:b,preventFocusOnPress:c,allowFocusWhenDisabled:p,onClick:f,href:g,target:h,rel:y,type:i="button"}=e,n;s==="button"?n={type:i,disabled:r}:n={role:"button",href:s==="a"&&!r?g:void 0,target:s==="a"?h:void 0,type:s==="input"?i:void 0,disabled:s==="input"?r:void 0,"aria-disabled":!r||s==="input"?void 0:r,rel:s==="a"?y:void 0};let{pressProps:F,isPressed:C}=m.usePress({onPressStart:d,onPressEnd:l,onPressChange:b,onPress:u,onPressUp:P,onClick:f,isDisabled:r,preventFocusOnPress:c,ref:o}),{focusableProps:a}=x.useFocusable(e,o);p&&(a.tabIndex=r?-1:a.tabIndex);let D=t.mergeProps(a,F,t.filterDOMProps(e,{labelable:!0}));return{isPressed:C,buttonProps:t.mergeProps(n,D,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"]})}}exports.useButton=O;
2
- //# sourceMappingURL=useButton.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useButton.cjs.js","sources":["../../../../../node_modules/@react-aria/button/dist/useButton.mjs"],"sourcesContent":["import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {usePress as $bwqiF$usePress, useFocusable as $bwqiF$useFocusable} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current']\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n"],"names":["$701a24aa0da5b062$export$ea18c227d4417cc3","props","ref","elementType","isDisabled","onPress","onPressStart","onPressEnd","onPressUp","onPressChange","preventFocusOnPress","allowFocusWhenDisabled","onClick","href","target","rel","type","additionalProps","pressProps","isPressed","$bwqiF$usePress","focusableProps","$bwqiF$useFocusable","buttonProps","$bwqiF$mergeProps","$bwqiF$filterDOMProps"],"mappings":"mOAeA,S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+0,0 @@
1
- import { mergeProps as i, filterDOMProps as C } from "@react-aria/utils";
2
- import { usePress as D } from "../../interactions/dist/usePress.es.js";
3
- import { useFocusable as F } from "../../interactions/dist/useFocusable.es.js";
4
- function E(e, t) {
5
- let { elementType: s = "button", isDisabled: r, onPress: d, onPressStart: l, onPressEnd: u, onPressUp: P, onPressChange: p, preventFocusOnPress: c, allowFocusWhenDisabled: f, onClick: b, href: h, target: m, rel: $, type: o = "button" } = e, a;
6
- s === "button" ? a = {
7
- type: o,
8
- disabled: r
9
- } : a = {
10
- role: "button",
11
- href: s === "a" && !r ? h : void 0,
12
- target: s === "a" ? m : void 0,
13
- type: s === "input" ? o : void 0,
14
- disabled: s === "input" ? r : void 0,
15
- "aria-disabled": !r || s === "input" ? void 0 : r,
16
- rel: s === "a" ? $ : void 0
17
- };
18
- let { pressProps: x, isPressed: g } = D({
19
- onPressStart: l,
20
- onPressEnd: u,
21
- onPressChange: p,
22
- onPress: d,
23
- onPressUp: P,
24
- onClick: b,
25
- isDisabled: r,
26
- preventFocusOnPress: c,
27
- ref: t
28
- }), { focusableProps: n } = F(e, t);
29
- f && (n.tabIndex = r ? -1 : n.tabIndex);
30
- let y = i(n, x, C(e, {
31
- labelable: !0
32
- }));
33
- return {
34
- isPressed: g,
35
- buttonProps: i(a, y, {
36
- "aria-haspopup": e["aria-haspopup"],
37
- "aria-expanded": e["aria-expanded"],
38
- "aria-controls": e["aria-controls"],
39
- "aria-pressed": e["aria-pressed"],
40
- "aria-current": e["aria-current"]
41
- })
42
- };
43
- }
44
- export {
45
- E as useButton
46
- };
47
- //# sourceMappingURL=useButton.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useButton.es.js","sources":["../../../../../node_modules/@react-aria/button/dist/useButton.mjs"],"sourcesContent":["import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {usePress as $bwqiF$usePress, useFocusable as $bwqiF$useFocusable} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current']\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n"],"names":["$701a24aa0da5b062$export$ea18c227d4417cc3","props","ref","elementType","isDisabled","onPress","onPressStart","onPressEnd","onPressUp","onPressChange","preventFocusOnPress","allowFocusWhenDisabled","onClick","href","target","rel","type","additionalProps","pressProps","isPressed","$bwqiF$usePress","focusableProps","$bwqiF$useFocusable","buttonProps","$bwqiF$mergeProps","$bwqiF$filterDOMProps"],"mappings":";;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,UAAU,YAAYC,GAAY,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,WAAWC,GAAW,eAAeC,GAAe,qBAAqBC,GAAqB,wBACvOC,GAAwB,SAASC,GAAS,MAAMC,GAAM,QAAQC,GAAQ,KAAKC,GAAK,MAAMC,IAAO,SAAQ,IAAKf,GACtGgB;AACJ,EAAId,MAAgB,WAAUc,IAAkB;AAAA,IAC5C,MAAMD;AAAA,IACN,UAAUZ;AAAA,EAClB,IACSa,IAAkB;AAAA,IACnB,MAAM;AAAA,IACN,MAAMd,MAAgB,OAAO,CAACC,IAAaS,IAAO;AAAA,IAClD,QAAQV,MAAgB,MAAMW,IAAS;AAAA,IACvC,MAAMX,MAAgB,UAAUa,IAAO;AAAA,IACvC,UAAUb,MAAgB,UAAUC,IAAa;AAAA,IACjD,iBAAiB,CAACA,KAAcD,MAAgB,UAAU,SAAYC;AAAA,IACtE,KAAKD,MAAgB,MAAMY,IAAM;AAAA,EACzC;AACI,MAAI,EAAE,YAAYG,GAAY,WAAWC,EAAS,IAASC,EAAiB;AAAA,IACxE,cAAcd;AAAA,IACd,YAAYC;AAAA,IACZ,eAAeE;AAAA,IACf,SAASJ;AAAA,IACT,WAAWG;AAAA,IACX,SAASI;AAAA,IACT,YAAYR;AAAA,IACZ,qBAAqBM;AAAA,IACrB,KAAKR;AAAA,EACb,CAAK,GACG,EAAE,gBAAgBmB,EAAgB,IAAOC,EAAqBrB,GAAOC,CAAG;AAC5E,EAAIS,MAAwBU,EAAe,WAAWjB,IAAa,KAAKiB,EAAe;AACvF,MAAIE,IAAkBC,EAAmBH,GAAgBH,GAAgBO,EAAuBxB,GAAO;AAAA,IACnG,WAAW;AAAA,EACd,CAAA,CAAC;AACF,SAAO;AAAA,IACH,WAAWkB;AAAA,IACX,aAAiBK,EAAmBP,GAAiBM,GAAa;AAAA,MAC9D,iBAAiBtB,EAAM,eAAe;AAAA,MACtC,iBAAiBA,EAAM,eAAe;AAAA,MACtC,iBAAiBA,EAAM,eAAe;AAAA,MACtC,gBAAgBA,EAAM,cAAc;AAAA,MACpC,gBAAgBA,EAAM,cAAc;AAAA,IAChD,CAAS;AAAA,EACT;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class o{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new o(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,e){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=t,this.key=e}}class d{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let e=this.keyMap;return{*[Symbol.iterator](){let l=e.get(t),n=(l==null?void 0:l.firstChildKey)!=null?e.get(l.firstChildKey):null;for(;n;)yield n,n=n.nextKey!=null?e.get(n.nextKey):void 0}}}getKeyBefore(t){let e=this.keyMap.get(t);if(!e)return null;if(e.prevKey!=null){for(e=this.keyMap.get(e.prevKey);e&&e.type!=="item"&&e.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);var l;return(l=e==null?void 0:e.key)!==null&&l!==void 0?l:null}return e.parentKey}getKeyAfter(t){let e=this.keyMap.get(t);if(!e)return null;if(e.type!=="item"&&e.firstChildKey!=null)return e.firstChildKey;for(;e;){if(e.nextKey!=null)return e.nextKey;if(e.parentKey!=null)e=this.keyMap.get(e.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var e;return(e=t==null?void 0:t.key)!==null&&e!==void 0?e:null}getItem(t){var e;return(e=this.keyMap.get(t))!==null&&e!==void 0?e:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,e=new t;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,e,l=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=e,this.frozen=!l}UNSTABLE_filter(t){let e=new d,l=null;for(let n of this)if(n.type==="section"&&n.hasChildNodes){let i=n.clone(),r=null;for(let h of this.getChildren(n.key))if(a(h,t,this,e)){let s=h.clone();r==null&&(i.firstChildKey=s.key),e.firstKey==null&&(e.firstKey=i.key),r&&r.parentKey===s.parentKey?(r.nextKey=s.key,s.prevKey=r.key):s.prevKey=null,s.nextKey=null,e.addNode(s),r=s}r&&(r.type!=="header"?(i.lastChildKey=r.key,l==null?i.prevKey=null:(l.type==="section"||l.type==="separator")&&(l.nextKey=i.key,i.prevKey=l.key),i.nextKey=null,l=i,e.addNode(i)):(e.firstKey===i.key&&(e.firstKey=null),e.removeNode(r.key)))}else if(n.type==="separator"){let i=n.clone();i.nextKey=null,(l==null?void 0:l.type)==="section"&&(l.nextKey=i.key,i.prevKey=l.key,l=i,e.addNode(i))}else{let i=n.clone();a(i,t,this,e)&&(e.firstKey==null&&(e.firstKey=i.key),l!=null&&l.type!=="section"&&l.type!=="separator"&&l.parentKey===i.parentKey?(l.nextKey=i.key,i.prevKey=l.key):i.prevKey=null,i.nextKey=null,e.addNode(i),l=i)}if((l==null?void 0:l.type)==="separator"&&l.nextKey===null){let n;l.prevKey!=null&&(n=e.getItem(l.prevKey),n.nextKey=null),e.removeNode(l.key),l=n}return e.lastKey=(l==null?void 0:l.key)||null,e}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function a(y,t,e,l){if(y.type==="subdialogtrigger"||y.type==="submenutrigger"){let n=[...e.getChildren(y.key)][0];if(n&&t(n.textValue)){let i=n.clone();return l.addNode(i),!0}else return!1}else return y.type==="header"?!0:t(y.textValue)}exports.BaseCollection=d;exports.CollectionNode=o;
2
- //# sourceMappingURL=BaseCollection.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseCollection.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"gFAUI,MAAMA,CAA0C,CAChD,IAAI,YAAa,CACb,MAAM,IAAI,MAAM,6BAA6B,CAChD,CACD,OAAQ,CACJ,IAAIC,EAAO,IAAID,EAA0C,KAAK,KAAM,KAAK,GAAG,EAC5E,OAAAC,EAAK,MAAQ,KAAK,MAClBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,SAAW,KAAK,SACrBA,EAAK,UAAY,KAAK,UACtBA,EAAK,YAAY,EAAI,KAAK,YAAY,EACtCA,EAAK,MAAQ,KAAK,MAClBA,EAAK,UAAY,KAAK,UACtBA,EAAK,QAAU,KAAK,QACpBA,EAAK,QAAU,KAAK,QACpBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,aAAe,KAAK,aACzBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,OAAS,KAAK,OACnBA,EAAK,QAAU,KAAK,QACpBA,EAAK,SAAW,KAAK,SACdA,CACV,CACD,YAAYC,EAAMC,EAAI,CAClB,KAAK,MAAQ,KACb,KAAK,MAAQ,EACb,KAAK,cAAgB,GACrB,KAAK,SAAW,KAChB,KAAK,UAAY,GACjB,KAAK,YAAY,EAAI,OACrB,KAAK,MAA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EAAatB,EAAK,QAClBmB,EAAqCG,EAAYT,EAAU,KAAMC,CAAa,IAC1EA,EAAc,UAAY,OAAMA,EAAc,SAAWQ,EAAW,KACpEP,GAAY,MAAQA,EAAS,OAAS,WAAaA,EAAS,OAAS,aAAeA,EAAS,YAAcO,EAAW,WACtHP,EAAS,QAAUO,EAAW,IAC9BA,EAAW,QAAUP,EAAS,KAC3BO,EAAW,QAAU,KAC5BA,EAAW,QAAU,KACrBR,EAAc,QAAQQ,CAAU,EAChCP,EAAWO,EAElB,CAEL,IAAKP,GAAa,KAA8B,OAASA,EAAS,QAAU,aAAeA,EAAS,UAAY,KAAM,CAClH,IAAIQ,EACAR,EAAS,SAAW,OACpBQ,EAAcT,EAAc,QAAQC,EAAS,OAAO,EACpDQ,EAAY,QAAU,MAE1BT,EAAc,WAAWC,EAAS,GAAG,EACrCA,EAAWQ,CACd,CACD,OAAAT,EAAc,SAAWC,GAAa,KAA8B,OAASA,EAAS,MAAQ,KACvFD,CACV,CACD,aAAa,CACT,KAAK,OAAS,IAAI,IAClB,KAAK,SAAW,KAChB,KAAK,QAAU,KACf,KAAK,OAAS,EACjB,CACL,CACA,SAASK,EAAqCnB,EAAMa,EAAUW,EAAeV,EAAe,CACxF,GAAId,EAAK,OAAS,oBAAsBA,EAAK,OAAS,iBAAkB,CAGpE,IAAIyB,EAAe,CACf,GAAGD,EAAc,YAAYxB,EAAK,GAAG,CACxC,EAAC,CAAC,EACH,GAAIyB,GAAgBZ,EAASY,EAAa,SAAS,EAAG,CAClD,IAAIL,EAAcK,EAAa,QAC/B,OAAAX,EAAc,QAAQM,CAAW,EAC1B,EACV,KAAM,OAAO,EACjB,KAAM,QAAIpB,EAAK,OAAS,SAAiB,GAC9Ba,EAASb,EAAK,SAAS,CACvC","x_google_ignoreList":[0]}
@@ -1,134 +0,0 @@
1
- class a {
2
- get childNodes() {
3
- throw new Error("childNodes is not supported");
4
- }
5
- clone() {
6
- let t = new a(this.type, this.key);
7
- return t.value = this.value, t.level = this.level, t.hasChildNodes = this.hasChildNodes, t.rendered = this.rendered, t.textValue = this.textValue, t["aria-label"] = this["aria-label"], t.index = this.index, t.parentKey = this.parentKey, t.prevKey = this.prevKey, t.nextKey = this.nextKey, t.firstChildKey = this.firstChildKey, t.lastChildKey = this.lastChildKey, t.props = this.props, t.render = this.render, t.colSpan = this.colSpan, t.colIndex = this.colIndex, t;
8
- }
9
- constructor(t, e) {
10
- 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 = t, this.key = e;
11
- }
12
- }
13
- class d {
14
- get size() {
15
- return this.keyMap.size;
16
- }
17
- getKeys() {
18
- return this.keyMap.keys();
19
- }
20
- *[Symbol.iterator]() {
21
- let t = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
22
- for (; t; )
23
- yield t, t = t.nextKey != null ? this.keyMap.get(t.nextKey) : void 0;
24
- }
25
- getChildren(t) {
26
- let e = this.keyMap;
27
- return {
28
- *[Symbol.iterator]() {
29
- let l = e.get(t), n = (l == null ? void 0 : l.firstChildKey) != null ? e.get(l.firstChildKey) : null;
30
- for (; n; )
31
- yield n, n = n.nextKey != null ? e.get(n.nextKey) : void 0;
32
- }
33
- };
34
- }
35
- getKeyBefore(t) {
36
- let e = this.keyMap.get(t);
37
- if (!e) return null;
38
- if (e.prevKey != null) {
39
- for (e = this.keyMap.get(e.prevKey); e && e.type !== "item" && e.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
40
- var l;
41
- return (l = e == null ? void 0 : e.key) !== null && l !== void 0 ? l : null;
42
- }
43
- return e.parentKey;
44
- }
45
- getKeyAfter(t) {
46
- let e = this.keyMap.get(t);
47
- if (!e) return null;
48
- if (e.type !== "item" && e.firstChildKey != null) return e.firstChildKey;
49
- for (; e; ) {
50
- if (e.nextKey != null) return e.nextKey;
51
- if (e.parentKey != null) e = this.keyMap.get(e.parentKey);
52
- else return null;
53
- }
54
- return null;
55
- }
56
- getFirstKey() {
57
- return this.firstKey;
58
- }
59
- getLastKey() {
60
- let t = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
61
- for (; (t == null ? void 0 : t.lastChildKey) != null; ) t = this.keyMap.get(t.lastChildKey);
62
- var e;
63
- return (e = t == null ? void 0 : t.key) !== null && e !== void 0 ? e : null;
64
- }
65
- getItem(t) {
66
- var e;
67
- return (e = this.keyMap.get(t)) !== null && e !== void 0 ? e : null;
68
- }
69
- at() {
70
- throw new Error("Not implemented");
71
- }
72
- clone() {
73
- let t = this.constructor, e = new t();
74
- return e.keyMap = new Map(this.keyMap), e.firstKey = this.firstKey, e.lastKey = this.lastKey, e;
75
- }
76
- addNode(t) {
77
- if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
78
- this.keyMap.set(t.key, t);
79
- }
80
- removeNode(t) {
81
- if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
82
- this.keyMap.delete(t);
83
- }
84
- commit(t, e, l = !1) {
85
- if (this.frozen) throw new Error("Cannot commit a frozen collection");
86
- this.firstKey = t, this.lastKey = e, this.frozen = !l;
87
- }
88
- // TODO: this is pretty specific to menu, will need to check if it is generic enough
89
- // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
90
- // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
91
- // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
92
- UNSTABLE_filter(t) {
93
- let e = new d(), l = null;
94
- for (let n of this)
95
- if (n.type === "section" && n.hasChildNodes) {
96
- let i = n.clone(), r = null;
97
- for (let o of this.getChildren(n.key)) if (h(o, t, this, e)) {
98
- let s = o.clone();
99
- r == null && (i.firstChildKey = s.key), e.firstKey == null && (e.firstKey = i.key), r && r.parentKey === s.parentKey ? (r.nextKey = s.key, s.prevKey = r.key) : s.prevKey = null, s.nextKey = null, e.addNode(s), r = s;
100
- }
101
- r && (r.type !== "header" ? (i.lastChildKey = r.key, l == null ? i.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = i.key, i.prevKey = l.key), i.nextKey = null, l = i, e.addNode(i)) : (e.firstKey === i.key && (e.firstKey = null), e.removeNode(r.key)));
102
- } else if (n.type === "separator") {
103
- let i = n.clone();
104
- i.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = i.key, i.prevKey = l.key, l = i, e.addNode(i));
105
- } else {
106
- let i = n.clone();
107
- h(i, t, this, e) && (e.firstKey == null && (e.firstKey = i.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === i.parentKey ? (l.nextKey = i.key, i.prevKey = l.key) : i.prevKey = null, i.nextKey = null, e.addNode(i), l = i);
108
- }
109
- if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
110
- let n;
111
- l.prevKey != null && (n = e.getItem(l.prevKey), n.nextKey = null), e.removeNode(l.key), l = n;
112
- }
113
- return e.lastKey = (l == null ? void 0 : l.key) || null, e;
114
- }
115
- constructor() {
116
- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
117
- }
118
- }
119
- function h(y, t, e, l) {
120
- if (y.type === "subdialogtrigger" || y.type === "submenutrigger") {
121
- let n = [
122
- ...e.getChildren(y.key)
123
- ][0];
124
- if (n && t(n.textValue)) {
125
- let i = n.clone();
126
- return l.addNode(i), !0;
127
- } else return !1;
128
- } else return y.type === "header" ? !0 : t(y.textValue);
129
- }
130
- export {
131
- d as BaseCollection,
132
- a as CollectionNode
133
- };
134
- //# sourceMappingURL=BaseCollection.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BaseCollection.es.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"AAUI,MAAMA,EAA0C;AAAA,EAChD,IAAI,aAAa;AACb,UAAM,IAAI,MAAM,6BAA6B;AAAA,EAChD;AAAA,EACD,QAAQ;AACJ,QAAIC,IAAO,IAAID,EAA0C,KAAK,MAAM,KAAK,GAAG;AAC5E,WAAAC,EAAK,QAAQ,KAAK,OAClBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,WAAW,KAAK,UACrBA,EAAK,YAAY,KAAK,WACtBA,EAAK,YAAY,IAAI,KAAK,YAAY,GACtCA,EAAK,QAAQ,KAAK,OAClBA,EAAK,YAAY,KAAK,WACtBA,EAAK,UAAU,KAAK,SACpBA,EAAK,UAAU,KAAK,SACpBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,eAAe,KAAK,cACzBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,SAAS,KAAK,QACnBA,EAAK,UAAU,KAAK,SACpBA,EAAK,WAAW,KAAK,UACdA;AAAA,EACV;AAAA,EACD,YAAYC,GAAMC,GAAI;AAClB,SAAK,QAAQ,MACb,KAAK,QAAQ,GACb,KAAK,gBAAgB,IACrB,KAAK,WAAW,MAChB,K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f,GAAGD,EAAc,YAAYxB,EAAK,GAAG;AAAA,IACxC,EAAC,CAAC;AACH,QAAIyB,KAAgBZ,EAASY,EAAa,SAAS,GAAG;AAClD,UAAIL,IAAcK,EAAa;AAC/B,aAAAX,EAAc,QAAQM,CAAW,GAC1B;AAAA,IACV,MAAM,QAAO;AAAA,EACjB,MAAM,QAAIpB,EAAK,SAAS,WAAiB,KAC9Ba,EAASb,EAAK,SAAS;AACvC;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BaseCollection.cjs.js"),b=require("./Document.cjs.js"),R=require("./useCachedChildren.cjs.js"),h=require("./Hidden.cjs.js"),p=require("react-dom"),$=require("../../interactions/dist/useFocusable.cjs.js"),t=require("react"),S=require("../../ssr/dist/SSRProvider.cjs.js"),P=require("@react-aria/utils"),w=require("../../../use-sync-external-store/shim/index.cjs.js"),m=t.createContext(!1),s=t.createContext(null);function y(n){if(t.useContext(s))return n.content;let{collection:l,document:r}=k(n.createCollection);return t.createElement(t.Fragment,null,t.createElement(h.Hidden,null,t.createElement(s.Provider,{value:r},n.content)),t.createElement(q,{render:n.children,collection:l}))}function q({collection:n,render:e}){return e(n)}function g(n,e,l){let r=S.useIsSSR(),o=t.useRef(r);o.current=r;let c=t.useCallback(()=>o.current?l():e(),[e,l]);return w.shimExports.useSyncExternalStore(n,c)}const D=typeof t.useSyncExternalStore=="function"?t.useSyncExternalStore:g;function k(n){let[e]=t.useState(()=>new b.Document((n==null?void 0:n())||new E.BaseCollection)),l=t.useCallback(a=>e.subscribe(a),[e]),r=t.useCallback(()=>{let a=e.getCollection();return e.isSSR&&e.resetAfterSSR(),a},[e]),o=t.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),c=D(l,r,o);return P.useLayoutEffect(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:c,document:e}}const d=t.createContext(null);function f(n,e,l,r,o,c){let a=t.useCallback(u=>{u==null||u.setProps(e,l,r,c)},[e,l,r,c]),i=t.useContext(d);if(i){let u=i.ownerDocument.nodesByProps.get(e);return u||(u=i.ownerDocument.createElement(n),u.setProps(e,l,r,c),i.appendChild(u),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(e,u)),o?t.createElement(d.Provider,{value:u},o):null}return t.createElement(n,{ref:a},o)}function B(n,e){let l=({node:o})=>e(o.props,o.props.ref,o),r=t.forwardRef((o,c)=>{let a=t.useContext($.FocusableContext);if(!t.useContext(m)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(o,c)}return f(n,o,c,"children"in o?o.children:null,null,u=>t.createElement($.FocusableContext.Provider,{value:a},t.createElement(l,{node:u})))});return r.displayName=e.name,r}function F(n,e,l=v){let r=({node:c})=>e(c.props,c.props.ref,c),o=t.forwardRef((c,a)=>{let i=l(c);var u;return(u=f(n,c,a,null,i,x=>t.createElement(r,{node:x})))!==null&&u!==void 0?u:t.createElement(t.Fragment,null)});return o.displayName=e.name,o}function v(n){return R.useCachedChildren({...n,addIdAndValue:!0})}const C=t.createContext(null);function M(n){let e=t.useContext(C),l=((e==null?void 0:e.dependencies)||[]).concat(n.dependencies),r=n.idScope||(e==null?void 0:e.idScope),o=v({...n,idScope:r,dependencies:l});return t.useContext(s)&&(o=t.createElement(N,null,o)),e=t.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),t.createElement(C.Provider,{value:e},o)}function N({children:n}){let e=t.useContext(s),l=t.useMemo(()=>t.createElement(s.Provider,{value:null},t.createElement(m.Provider,{value:!0},n)),[n]);return S.useIsSSR()?t.createElement(d.Provider,{value:e},l):p.createPortal(l,e)}exports.Collection=M;exports.CollectionBuilder=y;exports.createBranchComponent=F;exports.createLeafComponent=B;
2
- //# sourceMappingURL=CollectionBuilder.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionBuilder.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/CollectionBuilder.mjs"],"sourcesContent":["import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport {FocusableContext as $95feo$FocusableContext} from \"@react-aria/interactions\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by\n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let focusableProps = (0, $95feo$useContext)((0, $95feo$FocusableContext));\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$FocusableContext).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n"],"names":["$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","props","$95feo$useContext","collection","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$f39a9eba43920ace$export$8dc98ba7eadeaa56","$e1995378a142960e$var$CollectionInner","render","$e1995378a142960e$var$useSyncExternalStoreFallback","subscribe","getSnapshot","getServerSnapshot","isSSR","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$681cc3c98f569e39$export$b34a105447964f9f","$23b9f4fcf0fe224b$export$408d25a4e12db025","fn","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","ref","rendered","children","itemRef","element","parentNode","$e1995378a142960e$export$18af5c7a9e9b3664","type","Component","node","Result","$95feo$forwardRef","focusableProps","$95feo$FocusableContext","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","options","$e948873055cbafe4$export$727c8fc270210f13","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","ctx","dependencies","idScope","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal"],"mappings":"gdA+BMA,EAA+DC,gB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D,EAAM,YAAY,EAC7GsD,EAAUtD,EAAM,UAAYoD,GAAQ,KAAyB,OAASA,EAAI,SAC1EpB,EAAWc,EAA4C,CACvD,GAAG9C,EACH,QAASsD,EACT,aAAcD,CACtB,CAAK,EAED,OADcpD,aAAmBH,CAA+C,IACvEkC,EAA6B3B,EAAc,cAAckD,EAAsC,KAAMvB,CAAQ,GAEtHoB,EAAUI,EAAAA,QAAgB,KAAK,CACvB,aAAcH,EACd,QAASC,CACrB,GAAY,CACJA,EACA,GAAGD,CACX,CAAK,EACwBhD,EAAc,cAAc6C,EAAwC,SAAU,CACnG,MAAOE,CACV,EAAEpB,CAAQ,CACf,CACA,SAASuB,EAAqC,CAAE,SAAUvB,GAAY,CAClE,IAAIyB,EAAUxD,aAAmBH,CAA+C,EAC5E4D,EAAsBF,UAAgB,IAAsBnD,EAAc,cAAcP,EAAgD,SAAU,CAC9I,MAAO,IACV,EAAoBO,EAAc,cAAcT,EAA2C,SAAU,CAClG,MAAO,EACnB,EAAWoC,CAAQ,CAAC,EAAG,CACfA,CACR,CAAK,EAGD,OAAWlB,EAAe,SAAA,EAAwBT,EAAc,cAAcsB,EAAiC,SAAU,CACrH,MAAO8B,CACV,EAAEC,CAAe,EAAsBC,EAAmB,aAAED,EAAiBD,CAAG,CACrF","x_google_ignoreList":[0]}
@@ -1,145 +0,0 @@
1
- import { BaseCollection as w } from "./BaseCollection.es.js";
2
- import { Document as P } from "./Document.es.js";
3
- import { useCachedChildren as y } from "./useCachedChildren.es.js";
4
- import { Hidden as g } from "./Hidden.es.js";
5
- import { createPortal as D } from "react-dom";
6
- import { FocusableContext as S } from "../../interactions/dist/useFocusable.es.js";
7
- import r, { useContext as d, useState as B, useCallback as s, forwardRef as p, useMemo as C, createContext as f, useRef as N } from "react";
8
- import { useIsSSR as b } from "../../ssr/dist/SSRProvider.es.js";
9
- import { useLayoutEffect as F } from "@react-aria/utils";
10
- import { s as I } from "../../../use-sync-external-store/shim/index.es.js";
11
- const x = /* @__PURE__ */ f(!1), $ = /* @__PURE__ */ f(null);
12
- function Q(t) {
13
- if (d($))
14
- return t.content;
15
- let { collection: o, document: l } = L(t.createCollection);
16
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(g, null, /* @__PURE__ */ r.createElement($.Provider, {
17
- value: l
18
- }, t.content)), /* @__PURE__ */ r.createElement(M, {
19
- render: t.children,
20
- collection: o
21
- }));
22
- }
23
- function M({ collection: t, render: e }) {
24
- return e(t);
25
- }
26
- function k(t, e, o) {
27
- let l = b(), n = N(l);
28
- n.current = l;
29
- let c = s(() => n.current ? o() : e(), [
30
- e,
31
- o
32
- ]);
33
- return I.useSyncExternalStore(t, c);
34
- }
35
- const A = typeof r.useSyncExternalStore == "function" ? r.useSyncExternalStore : k;
36
- function L(t) {
37
- let [e] = B(() => new P((t == null ? void 0 : t()) || new w())), o = s((u) => e.subscribe(u), [
38
- e
39
- ]), l = s(() => {
40
- let u = e.getCollection();
41
- return e.isSSR && e.resetAfterSSR(), u;
42
- }, [
43
- e
44
- ]), n = s(() => (e.isSSR = !0, e.getCollection()), [
45
- e
46
- ]), c = A(o, l, n);
47
- return F(() => (e.isMounted = !0, () => {
48
- e.isMounted = !1;
49
- }), [
50
- e
51
- ]), {
52
- collection: c,
53
- document: e
54
- };
55
- }
56
- const m = /* @__PURE__ */ f(null);
57
- function E(t, e, o, l, n, c) {
58
- let u = s((a) => {
59
- a == null || a.setProps(e, o, l, c);
60
- }, [
61
- e,
62
- o,
63
- l,
64
- c
65
- ]), i = d(m);
66
- if (i) {
67
- let a = i.ownerDocument.nodesByProps.get(e);
68
- return a || (a = i.ownerDocument.createElement(t), a.setProps(e, o, l, c), i.appendChild(a), i.ownerDocument.updateCollection(), i.ownerDocument.nodesByProps.set(e, a)), n ? /* @__PURE__ */ r.createElement(m.Provider, {
69
- value: a
70
- }, n) : null;
71
- }
72
- return /* @__PURE__ */ r.createElement(t, {
73
- ref: u
74
- }, n);
75
- }
76
- function U(t, e) {
77
- let o = ({ node: n }) => e(n.props, n.props.ref, n), l = p((n, c) => {
78
- let u = d(S);
79
- if (!d(x)) {
80
- if (e.length >= 3) throw new Error(e.name + " cannot be rendered outside a collection.");
81
- return e(n, c);
82
- }
83
- return E(t, n, c, "children" in n ? n.children : null, null, (a) => (
84
- // Forward FocusableContext to real DOM tree so tooltips work.
85
- /* @__PURE__ */ r.createElement(S.Provider, {
86
- value: u
87
- }, /* @__PURE__ */ r.createElement(o, {
88
- node: a
89
- }))
90
- ));
91
- });
92
- return l.displayName = e.name, l;
93
- }
94
- function X(t, e, o = R) {
95
- let l = ({ node: c }) => e(c.props, c.props.ref, c), n = p((c, u) => {
96
- let i = o(c);
97
- var a;
98
- return (a = E(t, c, u, null, i, (h) => /* @__PURE__ */ r.createElement(l, {
99
- node: h
100
- }))) !== null && a !== void 0 ? a : /* @__PURE__ */ r.createElement(r.Fragment, null);
101
- });
102
- return n.displayName = e.name, n;
103
- }
104
- function R(t) {
105
- return y({
106
- ...t,
107
- addIdAndValue: !0
108
- });
109
- }
110
- const v = /* @__PURE__ */ f(null);
111
- function Y(t) {
112
- let e = d(v), o = ((e == null ? void 0 : e.dependencies) || []).concat(t.dependencies), l = t.idScope || (e == null ? void 0 : e.idScope), n = R({
113
- ...t,
114
- idScope: l,
115
- dependencies: o
116
- });
117
- return d($) && (n = /* @__PURE__ */ r.createElement(H, null, n)), e = C(() => ({
118
- dependencies: o,
119
- idScope: l
120
- }), [
121
- l,
122
- ...o
123
- ]), /* @__PURE__ */ r.createElement(v.Provider, {
124
- value: e
125
- }, n);
126
- }
127
- function H({ children: t }) {
128
- let e = d($), o = C(() => /* @__PURE__ */ r.createElement($.Provider, {
129
- value: null
130
- }, /* @__PURE__ */ r.createElement(x.Provider, {
131
- value: !0
132
- }, t)), [
133
- t
134
- ]);
135
- return b() ? /* @__PURE__ */ r.createElement(m.Provider, {
136
- value: e
137
- }, o) : /* @__PURE__ */ D(o, e);
138
- }
139
- export {
140
- Y as Collection,
141
- Q as CollectionBuilder,
142
- X as createBranchComponent,
143
- U as createLeafComponent
144
- };
145
- //# sourceMappingURL=CollectionBuilder.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CollectionBuilder.es.js","sources":["../../../../../node_modules/@react-aria/collections/dist/CollectionBuilder.mjs"],"sourcesContent":["import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport {FocusableContext as $95feo$FocusableContext} from \"@react-aria/interactions\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by\n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let focusableProps = (0, $95feo$useContext)((0, $95feo$FocusableContext));\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$FocusableContext).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n"],"names":["$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","props","$95feo$useContext","collection","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$f39a9eba43920ace$export$8dc98ba7eadeaa56","$e1995378a142960e$var$CollectionInner","render","$e1995378a142960e$var$useSyncExternalStoreFallback","subscribe","getSnapshot","getServerSnapshot","isSSR","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$681cc3c98f569e39$export$b34a105447964f9f","$23b9f4fcf0fe224b$export$408d25a4e12db025","fn","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","ref","rendered","children","itemRef","element","parentNode","$e1995378a142960e$export$18af5c7a9e9b3664","type","Component","node","Result","$95feo$forwardRef","focusableProps","$95feo$FocusableContext","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","options","$e948873055cbafe4$export$727c8fc270210f13","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","ctx","dependencies","idScope","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal"],"mappings":";;;;;;;;;;AA+BA,MAAMA,IAA+DC,gBAAAA,EAAsB,EAAK,GAC1FC,IAAoED,gBAAAA,EAAsB,IAAI;AACpG,SAASE,EAA0CC,GAAO;AAGtD,MADcC,EAAmBH,CAA+C;AAMhF,WAAOE,EAAM;AAKb,MAAI,EAAE,YAAYE,GAAY,UAAUC,EAAQ,IAAKC,EAA4CJ,EAAM,gBAAgB;AACvH,SAAyBK,gBAAAA,EAAc,cAAkBA,EAAc,UAAU,MAAwBA,gBAAAA,EAAc,cAAkBC,GAA4C,MAAwBD,gBAAAA,EAAc,cAAcP,EAAgD,UAAU;AAAA,IAC/R,OAAOK;AAAA,EACf,GAAOH,EAAM,OAAO,CAAC,GAAqBK,gBAAAA,EAAc,cAAcE,GAAuC;AAAA,IACrG,QAAQP,EAAM;AAAA,IACd,YAAYE;AAAA,EACf,CAAA,CAAC;AACN;AACA,SAASK,EAAsC,EAAE,YAAYL,GAAY,QAAQM,EAAM,GAAI;AACvF,SAAOA,EAAON,CAAU;AAC5B;AAGA,SAASO,EAAmDC,GAAWC,GAAaC,GAAmB;AACnG,MAAIC,IAAYC,KACZC,IAAeC,EAAeH,CAAK;AAKvC,EAAAE,EAAS,UAAUF;AACnB,MAAII,IAAyBC,EAAoB,MACtCH,EAAS,UAAUH,EAAmB,IAAGD,EAAW,GAC5D;AAAA,IACCA;AAAA,IACAC;AAAA,EACR,CAAK;AACD,SAAWO,EAA2B,qBAAET,GAAWO,CAAkB;AACzE;AACA,MAAMG,IAA6C,OAAWf,EAAc,wBAA4B,aAAiBA,EAAc,uBAA0BI;AACjK,SAASL,EAA4CiB,GAAkB;AAGnE,MAAI,CAAClB,CAAQ,IAAQmB,EAAiB,MAAI,IAAQC,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EAA2C,UAAU;AAAA,IAClG,OAAO;AAAA,EACnB,GAAWoC,CAAQ,CAAC,GAAG;AAAA,IACfA;AAAA,EACR,CAAK;AAGD,SAAWlB,EAAe,IAAwBT,gBAAAA,EAAc,cAAcsB,EAAiC,UAAU;AAAA,IACrH,OAAO8B;AAAA,EACV,GAAEC,CAAe,IAAsBC,gBAAAA,EAAqBD,GAAiBD,CAAG;AACrF;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./BaseCollection.cjs.js");class p{*[Symbol.iterator](){let i=this.firstChild;for(;i;)yield i,i=i.nextSibling}get firstChild(){return this._firstChild}set firstChild(i){this._firstChild=i,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(i){this._lastChild=i,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(i){this._previousSibling=i,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(i){this._nextSibling=i,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(i){this._parentNode=i,this.ownerDocument.markDirty(this)}get isConnected(){var i;return((i=this.parentNode)===null||i===void 0?void 0:i.isConnected)||!1}invalidateChildIndices(i){(this._minInvalidChildIndex==null||i.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=i)}updateChildIndices(){let i=this._minInvalidChildIndex;for(;i;)i.index=i.previousSibling?i.previousSibling.index+1:0,i=i.nextSibling;this._minInvalidChildIndex=null}appendChild(i){i.parentNode&&i.parentNode.removeChild(i),this.firstChild==null&&(this.firstChild=i),this.lastChild?(this.lastChild.nextSibling=i,i.index=this.lastChild.index+1,i.previousSibling=this.lastChild):(i.previousSibling=null,i.index=0),i.parentNode=this,i.nextSibling=null,this.lastChild=i,this.ownerDocument.markDirty(this),this.ownerDocument.queueUpdate()}insertBefore(i,t){if(t==null)return this.appendChild(i);i.parentNode&&i.parentNode.removeChild(i),i.nextSibling=t,i.previousSibling=t.previousSibling,i.index=t.index,this.firstChild===t?this.firstChild=i:t.previousSibling&&(t.previousSibling.nextSibling=i),t.previousSibling=i,i.parentNode=t.parentNode,this.invalidateChildIndices(t),this.ownerDocument.queueUpdate()}removeChild(i){i.parentNode!==this||!this.ownerDocument.isMounted||(i.nextSibling&&(this.invalidateChildIndices(i.nextSibling),i.nextSibling.previousSibling=i.previousSibling),i.previousSibling&&(i.previousSibling.nextSibling=i.nextSibling),this.firstChild===i&&(this.firstChild=i.nextSibling),this.lastChild===i&&(this.lastChild=i.previousSibling),i.parentNode=null,i.nextSibling=null,i.previousSibling=null,i.index=0,this.ownerDocument.markDirty(i),this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let i=this.previousSibling;for(;i&&i.isHidden;)i=i.previousSibling;return i}get nextVisibleSibling(){let i=this.nextSibling;for(;i&&i.isHidden;)i=i.nextSibling;return i}get firstVisibleChild(){let i=this.firstChild;for(;i&&i.isHidden;)i=i.nextSibling;return i}get lastVisibleChild(){let i=this.lastChild;for(;i&&i.isHidden;)i=i.previousSibling;return i}constructor(i){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=i}}class h extends p{get index(){return this._index}set index(i){this._index=i,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof h?this.parentNode.level+(this.node.type==="item"?1:0):0}getMutableNode(){return this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node}updateNode(){var i,t,n;let s=this.nextVisibleSibling,e=this.getMutableNode();e.index=this.index,e.level=this.level,e.parentKey=this.parentNode instanceof h?this.parentNode.node.key:null;var o;e.prevKey=(o=(i=this.previousVisibleSibling)===null||i===void 0?void 0:i.node.key)!==null&&o!==void 0?o:null;var r;e.nextKey=(r=s==null?void 0:s.node.key)!==null&&r!==void 0?r:null,e.hasChildNodes=!!this.firstChild;var d;e.firstChildKey=(d=(t=this.firstVisibleChild)===null||t===void 0?void 0:t.node.key)!==null&&d!==void 0?d:null;var l;if(e.lastChildKey=(l=(n=this.lastVisibleChild)===null||n===void 0?void 0:n.node.key)!==null&&l!==void 0?l:null,(e.colSpan!=null||e.colIndex!=null)&&s){var u,a;let v=((u=e.colIndex)!==null&&u!==void 0?u:e.index)+((a=e.colSpan)!==null&&a!==void 0?a:1);if(v!==s.node.colIndex){let g=s.getMutableNode();g.colIndex=v}}}setProps(i,t,n,s){let e=this.getMutableNode(),{value:o,textValue:r,id:d,...l}=i;if(l.ref=t,e.props=l,e.rendered=n,e.render=s,e.value=o,e.textValue=r||(typeof l.children=="string"?l.children:"")||i["aria-label"]||"",d!=null&&d!==e.key){if(this.hasSetProps)throw new Error("Cannot change the id of an item");e.key=d}l.colSpan!=null&&(e.colSpan=l.colSpan),this.hasSetProps=!0,this.ownerDocument.queueUpdate()}get style(){let i=this;return{get display(){return i.isHidden?"none":""},set display(t){let n=t==="none";if(i.isHidden!==n){var s,e;(((s=i.parentNode)===null||s===void 0?void 0:s.firstVisibleChild)===i||((e=i.parentNode)===null||e===void 0?void 0:e.lastVisibleChild)===i)&&i.ownerDocument.markDirty(i.parentNode);let o=i.previousVisibleSibling,r=i.nextVisibleSibling;o&&i.ownerDocument.markDirty(o),r&&i.ownerDocument.markDirty(r),i.isHidden=n,i.ownerDocument.markDirty(i)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}constructor(i,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.hasSetProps=!1,this.isHidden=!1,this.node=new S.CollectionNode(i,`react-aria-${++t.nodeId}`)}}class C extends p{get isConnected(){return this.isMounted}createElement(i){return new h(i,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(i){this.dirtyNodes.add(i)}addNode(i){if(i.isHidden)return;let t=this.getMutableCollection();if(!t.getItem(i.node.key))for(let n of i)this.addNode(n);t.addNode(i.node)}removeNode(i){for(let n of i)this.removeNode(n);this.getMutableCollection().removeNode(i.node.key)}getCollection(){return this.inSubscription?this.collection.clone():(this.queuedRender=!1,this.updateCollection(),this.collection)}updateCollection(){for(let e of this.dirtyNodes)e instanceof h&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof h&&(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.isMutated=!1);if(this.dirtyNodes.clear(),this.nextCollection){var i,t,n,s;this.nextCollection.commit((n=(i=this.firstVisibleChild)===null||i===void 0?void 0:i.node.key)!==null&&n!==void 0?n:null,(s=(t=this.lastVisibleChild)===null||t===void 0?void 0:t.node.key)!==null&&s!==void 0?s:null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null)}}queueUpdate(){if(!(this.dirtyNodes.size===0||this.queuedRender)){this.queuedRender=!0,this.inSubscription=!0;for(let i of this.subscriptions)i();this.inSubscription=!1}}subscribe(i){return this.subscriptions.add(i),()=>this.subscriptions.delete(i)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}constructor(i){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.isMounted=!0,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=i,this.nextCollection=i}}exports.BaseNode=p;exports.Document=C;exports.ElementNode=h;
2
- //# sourceMappingURL=Document.cjs.js.map