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

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 (609) hide show
  1. package/dist/components/ActionMenu/ActionMenu.cjs.js +1 -1
  2. package/dist/components/ActionMenu/ActionMenu.cjs.js.map +1 -1
  3. package/dist/components/ActionMenu/ActionMenu.es.js +238 -186
  4. package/dist/components/ActionMenu/ActionMenu.es.js.map +1 -1
  5. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +1 -1
  6. package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +1 -1
  7. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +7 -8
  8. package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +1 -1
  9. package/dist/components/Menu/MenuTrigger.cjs.js +1 -1
  10. package/dist/components/Menu/MenuTrigger.cjs.js.map +1 -1
  11. package/dist/components/Menu/MenuTrigger.es.js +65 -73
  12. package/dist/components/Menu/MenuTrigger.es.js.map +1 -1
  13. package/dist/components/Menu/PopoverMenu.cjs.js +1 -1
  14. package/dist/components/Menu/PopoverMenu.cjs.js.map +1 -1
  15. package/dist/components/Menu/PopoverMenu.es.js +110 -104
  16. package/dist/components/Menu/PopoverMenu.es.js.map +1 -1
  17. package/dist/components/Popover/Popover.cjs.js +1 -1
  18. package/dist/components/Popover/Popover.cjs.js.map +1 -1
  19. package/dist/components/Popover/Popover.es.js +43 -64
  20. package/dist/components/Popover/Popover.es.js.map +1 -1
  21. package/dist/components/Select/Select.cjs.js +1 -1
  22. package/dist/components/Select/Select.cjs.js.map +1 -1
  23. package/dist/components/Select/Select.es.js +170 -119
  24. package/dist/components/Select/Select.es.js.map +1 -1
  25. package/dist/components/ThemeProvider.cjs.js +1 -1
  26. package/dist/components/ThemeProvider.cjs.js.map +1 -1
  27. package/dist/components/ThemeProvider.es.js +14 -13
  28. package/dist/components/ThemeProvider.es.js.map +1 -1
  29. package/dist/index.cjs.js +1 -1
  30. package/dist/index.d.ts +62 -78
  31. package/dist/index.es.js +37 -38
  32. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +1 -1
  33. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +1 -1
  34. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +12 -16
  35. package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +1 -1
  36. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +1 -1
  37. package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +1 -1
  38. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +8 -31
  39. package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +1 -1
  40. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +1 -1
  41. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +1 -1
  42. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +35 -43
  43. package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +1 -1
  44. package/dist/node_modules/react-aria-components/dist/utils.cjs.js +1 -1
  45. package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +1 -1
  46. package/dist/node_modules/react-aria-components/dist/utils.es.js +36 -48
  47. package/dist/node_modules/react-aria-components/dist/utils.es.js.map +1 -1
  48. package/dist/style.css +1 -1
  49. package/package.json +2 -1
  50. package/dist/_virtual/index.cjs.js +0 -2
  51. package/dist/_virtual/index.cjs.js.map +0 -1
  52. package/dist/_virtual/index.es.js +0 -5
  53. package/dist/_virtual/index.es.js.map +0 -1
  54. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js +0 -2
  55. package/dist/_virtual/use-sync-external-store-shim.development.cjs.js.map +0 -1
  56. package/dist/_virtual/use-sync-external-store-shim.development.es.js +0 -5
  57. package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +0 -1
  58. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js +0 -2
  59. package/dist/_virtual/use-sync-external-store-shim.production.cjs.js.map +0 -1
  60. package/dist/_virtual/use-sync-external-store-shim.production.es.js +0 -5
  61. package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +0 -1
  62. package/dist/components/ListBox/ListBox.cjs.js +0 -2
  63. package/dist/components/ListBox/ListBox.cjs.js.map +0 -1
  64. package/dist/components/ListBox/ListBox.es.js +0 -25
  65. package/dist/components/ListBox/ListBox.es.js.map +0 -1
  66. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js +0 -2
  67. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js.map +0 -1
  68. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js +0 -48
  69. package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js.map +0 -1
  70. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js +0 -2
  71. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js.map +0 -1
  72. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js +0 -33
  73. package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js.map +0 -1
  74. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js +0 -2
  75. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js.map +0 -1
  76. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js +0 -134
  77. package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js.map +0 -1
  78. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js +0 -2
  79. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  80. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js +0 -145
  81. package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js.map +0 -1
  82. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js +0 -2
  83. package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js.map +0 -1
  84. package/dist/node_modules/@react-aria/collections/dist/Document.es.js +0 -220
  85. package/dist/node_modules/@react-aria/collections/dist/Document.es.js.map +0 -1
  86. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js +0 -2
  87. package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js.map +0 -1
  88. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js +0 -36
  89. package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js.map +0 -1
  90. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js +0 -2
  91. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js.map +0 -1
  92. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js +0 -37
  93. package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js.map +0 -1
  94. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js +0 -2
  95. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js.map +0 -1
  96. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js +0 -32
  97. package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js.map +0 -1
  98. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js +0 -2
  99. package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js.map +0 -1
  100. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js +0 -12
  101. package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js.map +0 -1
  102. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js +0 -2
  103. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js.map +0 -1
  104. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js +0 -24
  105. package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js.map +0 -1
  106. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js +0 -2
  107. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js.map +0 -1
  108. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js +0 -15
  109. package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js.map +0 -1
  110. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js +0 -2
  111. package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js.map +0 -1
  112. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js +0 -85
  113. package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js.map +0 -1
  114. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js +0 -2
  115. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js.map +0 -1
  116. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js +0 -50
  117. package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js.map +0 -1
  118. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js +0 -2
  119. package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js.map +0 -1
  120. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js +0 -52
  121. package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js.map +0 -1
  122. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js +0 -2
  123. package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js.map +0 -1
  124. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js +0 -79
  125. package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js.map +0 -1
  126. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js +0 -2
  127. package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js.map +0 -1
  128. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js +0 -14
  129. package/dist/node_modules/@react-aria/listbox/dist/utils.es.js.map +0 -1
  130. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js +0 -2
  131. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js.map +0 -1
  132. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js +0 -48
  133. package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js.map +0 -1
  134. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js +0 -2
  135. package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js.map +0 -1
  136. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js +0 -8
  137. package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js.map +0 -1
  138. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js +0 -2
  139. package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js.map +0 -1
  140. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js +0 -8
  141. package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js.map +0 -1
  142. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js +0 -2
  143. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js.map +0 -1
  144. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js +0 -8
  145. package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js.map +0 -1
  146. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js +0 -2
  147. package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js.map +0 -1
  148. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js +0 -8
  149. package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js.map +0 -1
  150. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js +0 -2
  151. package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js.map +0 -1
  152. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js +0 -8
  153. package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js.map +0 -1
  154. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js +0 -2
  155. package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js.map +0 -1
  156. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js +0 -8
  157. package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js.map +0 -1
  158. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js +0 -2
  159. package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js.map +0 -1
  160. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js +0 -8
  161. package/dist/node_modules/@react-aria/menu/dist/en-US.es.js.map +0 -1
  162. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js +0 -2
  163. package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js.map +0 -1
  164. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js +0 -8
  165. package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js.map +0 -1
  166. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js +0 -2
  167. package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js.map +0 -1
  168. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js +0 -8
  169. package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js.map +0 -1
  170. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js +0 -2
  171. package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js.map +0 -1
  172. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js +0 -8
  173. package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js.map +0 -1
  174. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js +0 -2
  175. package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js.map +0 -1
  176. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js +0 -8
  177. package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js.map +0 -1
  178. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js +0 -2
  179. package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js.map +0 -1
  180. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js +0 -8
  181. package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js.map +0 -1
  182. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js +0 -2
  183. package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js.map +0 -1
  184. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js +0 -8
  185. package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js.map +0 -1
  186. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js +0 -2
  187. package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js.map +0 -1
  188. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js +0 -8
  189. package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js.map +0 -1
  190. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js +0 -2
  191. package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js.map +0 -1
  192. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js +0 -75
  193. package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js.map +0 -1
  194. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js +0 -2
  195. package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js.map +0 -1
  196. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js +0 -8
  197. package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js.map +0 -1
  198. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js +0 -2
  199. package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js.map +0 -1
  200. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js +0 -8
  201. package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js.map +0 -1
  202. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js +0 -2
  203. package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js.map +0 -1
  204. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js +0 -8
  205. package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js.map +0 -1
  206. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js +0 -2
  207. package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js.map +0 -1
  208. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js +0 -8
  209. package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js.map +0 -1
  210. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js +0 -2
  211. package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js.map +0 -1
  212. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js +0 -8
  213. package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js.map +0 -1
  214. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js +0 -2
  215. package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js.map +0 -1
  216. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js +0 -8
  217. package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js.map +0 -1
  218. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js +0 -2
  219. package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js.map +0 -1
  220. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js +0 -8
  221. package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js.map +0 -1
  222. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js +0 -2
  223. package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js.map +0 -1
  224. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js +0 -8
  225. package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js.map +0 -1
  226. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js +0 -2
  227. package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js.map +0 -1
  228. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js +0 -8
  229. package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js.map +0 -1
  230. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js +0 -2
  231. package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js.map +0 -1
  232. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js +0 -8
  233. package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js.map +0 -1
  234. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js +0 -2
  235. package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js.map +0 -1
  236. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js +0 -8
  237. package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js.map +0 -1
  238. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js +0 -2
  239. package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js.map +0 -1
  240. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js +0 -8
  241. package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js.map +0 -1
  242. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js +0 -2
  243. package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js.map +0 -1
  244. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js +0 -8
  245. package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js.map +0 -1
  246. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js +0 -2
  247. package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js.map +0 -1
  248. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js +0 -8
  249. package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js.map +0 -1
  250. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js +0 -2
  251. package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js.map +0 -1
  252. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js +0 -8
  253. package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js.map +0 -1
  254. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js +0 -2
  255. package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js.map +0 -1
  256. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js +0 -8
  257. package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js.map +0 -1
  258. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js +0 -2
  259. package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js.map +0 -1
  260. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js +0 -8
  261. package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js.map +0 -1
  262. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js +0 -2
  263. package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js.map +0 -1
  264. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js +0 -8
  265. package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js.map +0 -1
  266. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js +0 -2
  267. package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js.map +0 -1
  268. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js +0 -39
  269. package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js.map +0 -1
  270. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js +0 -2
  271. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js.map +0 -1
  272. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js +0 -144
  273. package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js.map +0 -1
  274. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js +0 -2
  275. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js.map +0 -1
  276. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js +0 -64
  277. package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js.map +0 -1
  278. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js +0 -2
  279. package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js.map +0 -1
  280. package/dist/node_modules/@react-aria/menu/dist/utils.es.js +0 -5
  281. package/dist/node_modules/@react-aria/menu/dist/utils.es.js.map +0 -1
  282. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js +0 -2
  283. package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js.map +0 -1
  284. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js +0 -8
  285. package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js.map +0 -1
  286. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js +0 -2
  287. package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js.map +0 -1
  288. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js +0 -8
  289. package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js.map +0 -1
  290. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js +0 -2
  291. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js.map +0 -1
  292. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js +0 -26
  293. package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js.map +0 -1
  294. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js +0 -2
  295. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js.map +0 -1
  296. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js +0 -11
  297. package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js.map +0 -1
  298. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js +0 -2
  299. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js.map +0 -1
  300. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js +0 -8
  301. package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js.map +0 -1
  302. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js +0 -2
  303. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js.map +0 -1
  304. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js +0 -8
  305. package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js.map +0 -1
  306. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js +0 -2
  307. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js.map +0 -1
  308. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js +0 -200
  309. package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js.map +0 -1
  310. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js +0 -2
  311. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js.map +0 -1
  312. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js +0 -8
  313. package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js.map +0 -1
  314. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js +0 -2
  315. package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js.map +0 -1
  316. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js +0 -8
  317. package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js.map +0 -1
  318. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js +0 -2
  319. package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js.map +0 -1
  320. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js +0 -8
  321. package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js.map +0 -1
  322. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js +0 -2
  323. package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js.map +0 -1
  324. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js +0 -8
  325. package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js.map +0 -1
  326. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js +0 -2
  327. package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js.map +0 -1
  328. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js +0 -8
  329. package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js.map +0 -1
  330. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js +0 -2
  331. package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js.map +0 -1
  332. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js +0 -8
  333. package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js.map +0 -1
  334. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js +0 -2
  335. package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js.map +0 -1
  336. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js +0 -8
  337. package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js.map +0 -1
  338. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js +0 -2
  339. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js.map +0 -1
  340. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js +0 -8
  341. package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js.map +0 -1
  342. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js +0 -2
  343. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js.map +0 -1
  344. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js +0 -8
  345. package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js.map +0 -1
  346. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js +0 -2
  347. package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js.map +0 -1
  348. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js +0 -8
  349. package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js.map +0 -1
  350. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js +0 -2
  351. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js.map +0 -1
  352. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js +0 -8
  353. package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js.map +0 -1
  354. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js +0 -2
  355. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js.map +0 -1
  356. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js +0 -8
  357. package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js.map +0 -1
  358. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js +0 -2
  359. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js.map +0 -1
  360. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js +0 -75
  361. package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js.map +0 -1
  362. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js +0 -2
  363. package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js.map +0 -1
  364. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js +0 -8
  365. package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js.map +0 -1
  366. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js +0 -2
  367. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js.map +0 -1
  368. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js +0 -8
  369. package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js.map +0 -1
  370. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js +0 -2
  371. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js.map +0 -1
  372. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js +0 -8
  373. package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js.map +0 -1
  374. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js +0 -2
  375. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js.map +0 -1
  376. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js +0 -8
  377. package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js.map +0 -1
  378. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js +0 -2
  379. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js.map +0 -1
  380. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js +0 -8
  381. package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js.map +0 -1
  382. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js +0 -2
  383. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js.map +0 -1
  384. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js +0 -8
  385. package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js.map +0 -1
  386. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js +0 -2
  387. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js.map +0 -1
  388. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js +0 -8
  389. package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js.map +0 -1
  390. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js +0 -2
  391. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js.map +0 -1
  392. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js +0 -8
  393. package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js.map +0 -1
  394. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js +0 -2
  395. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js.map +0 -1
  396. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js +0 -8
  397. package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js.map +0 -1
  398. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js +0 -2
  399. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js.map +0 -1
  400. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js +0 -8
  401. package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js.map +0 -1
  402. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js +0 -2
  403. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js.map +0 -1
  404. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js +0 -8
  405. package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js.map +0 -1
  406. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js +0 -2
  407. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js.map +0 -1
  408. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js +0 -8
  409. package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js.map +0 -1
  410. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js +0 -2
  411. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js.map +0 -1
  412. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js +0 -8
  413. package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js.map +0 -1
  414. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js +0 -2
  415. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js.map +0 -1
  416. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js +0 -8
  417. package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js.map +0 -1
  418. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js +0 -2
  419. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js.map +0 -1
  420. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js +0 -8
  421. package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js.map +0 -1
  422. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js +0 -2
  423. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js.map +0 -1
  424. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js +0 -8
  425. package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js.map +0 -1
  426. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js +0 -2
  427. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js.map +0 -1
  428. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js +0 -8
  429. package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js.map +0 -1
  430. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js +0 -2
  431. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js.map +0 -1
  432. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js +0 -8
  433. package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js.map +0 -1
  434. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js +0 -2
  435. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js.map +0 -1
  436. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js +0 -26
  437. package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js.map +0 -1
  438. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js +0 -2
  439. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js.map +0 -1
  440. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js +0 -143
  441. package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js.map +0 -1
  442. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js +0 -2
  443. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js.map +0 -1
  444. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js +0 -27
  445. package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js.map +0 -1
  446. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js +0 -2
  447. package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js.map +0 -1
  448. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js +0 -45
  449. package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js.map +0 -1
  450. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js +0 -2
  451. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js.map +0 -1
  452. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js +0 -8
  453. package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js.map +0 -1
  454. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js +0 -2
  455. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js.map +0 -1
  456. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js +0 -8
  457. package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js.map +0 -1
  458. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js +0 -2
  459. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js.map +0 -1
  460. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js +0 -73
  461. package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js.map +0 -1
  462. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js +0 -2
  463. package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js.map +0 -1
  464. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js +0 -117
  465. package/dist/node_modules/@react-aria/select/dist/useSelect.es.js.map +0 -1
  466. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js +0 -2
  467. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js.map +0 -1
  468. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js +0 -41
  469. package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js.map +0 -1
  470. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js +0 -2
  471. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js.map +0 -1
  472. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js +0 -122
  473. package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js.map +0 -1
  474. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js +0 -2
  475. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js.map +0 -1
  476. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js +0 -227
  477. package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js.map +0 -1
  478. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js +0 -2
  479. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js.map +0 -1
  480. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js +0 -122
  481. package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js.map +0 -1
  482. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js +0 -2
  483. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js.map +0 -1
  484. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js +0 -37
  485. package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js.map +0 -1
  486. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js +0 -2
  487. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js.map +0 -1
  488. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js +0 -33
  489. package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js.map +0 -1
  490. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js +0 -2
  491. package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js.map +0 -1
  492. package/dist/node_modules/@react-aria/selection/dist/utils.es.js +0 -24
  493. package/dist/node_modules/@react-aria/selection/dist/utils.es.js.map +0 -1
  494. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js +0 -2
  495. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js.map +0 -1
  496. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js +0 -171
  497. package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js.map +0 -1
  498. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js +0 -2
  499. package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js.map +0 -1
  500. package/dist/node_modules/@react-stately/collections/dist/Item.es.js +0 -38
  501. package/dist/node_modules/@react-stately/collections/dist/Item.es.js.map +0 -1
  502. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js +0 -2
  503. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js.map +0 -1
  504. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js +0 -34
  505. package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js.map +0 -1
  506. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js +0 -2
  507. package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js.map +0 -1
  508. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js +0 -14
  509. package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js.map +0 -1
  510. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js +0 -2
  511. package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js.map +0 -1
  512. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js +0 -24
  513. package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js.map +0 -1
  514. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js +0 -2
  515. package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js.map +0 -1
  516. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js +0 -57
  517. package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js.map +0 -1
  518. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js +0 -2
  519. package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js.map +0 -1
  520. package/dist/node_modules/@react-stately/list/dist/useListState.es.js +0 -70
  521. package/dist/node_modules/@react-stately/list/dist/useListState.es.js.map +0 -1
  522. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js +0 -2
  523. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js.map +0 -1
  524. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js +0 -35
  525. package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js.map +0 -1
  526. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js +0 -2
  527. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js.map +0 -1
  528. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js +0 -34
  529. package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js.map +0 -1
  530. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js +0 -2
  531. package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js.map +0 -1
  532. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js +0 -33
  533. package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js.map +0 -1
  534. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js +0 -2
  535. package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js.map +0 -1
  536. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js +0 -9
  537. package/dist/node_modules/@react-stately/selection/dist/Selection.es.js.map +0 -1
  538. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js +0 -2
  539. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js.map +0 -1
  540. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js +0 -285
  541. package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js.map +0 -1
  542. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js +0 -2
  543. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js.map +0 -1
  544. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js +0 -58
  545. package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js.map +0 -1
  546. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js +0 -2
  547. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js.map +0 -1
  548. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js +0 -53
  549. package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js.map +0 -1
  550. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js +0 -2
  551. package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js.map +0 -1
  552. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js +0 -38
  553. package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js.map +0 -1
  554. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js +0 -2
  555. package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js.map +0 -1
  556. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js +0 -6
  557. package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js.map +0 -1
  558. package/dist/node_modules/react-aria-components/dist/Button.cjs.js +0 -2
  559. package/dist/node_modules/react-aria-components/dist/Button.cjs.js.map +0 -1
  560. package/dist/node_modules/react-aria-components/dist/Button.es.js +0 -77
  561. package/dist/node_modules/react-aria-components/dist/Button.es.js.map +0 -1
  562. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js +0 -2
  563. package/dist/node_modules/react-aria-components/dist/Collection.cjs.js.map +0 -1
  564. package/dist/node_modules/react-aria-components/dist/Collection.es.js +0 -48
  565. package/dist/node_modules/react-aria-components/dist/Collection.es.js.map +0 -1
  566. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js +0 -2
  567. package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js.map +0 -1
  568. package/dist/node_modules/react-aria-components/dist/Dialog.es.js +0 -6
  569. package/dist/node_modules/react-aria-components/dist/Dialog.es.js.map +0 -1
  570. package/dist/node_modules/react-aria-components/dist/Header.cjs.js +0 -2
  571. package/dist/node_modules/react-aria-components/dist/Header.cjs.js.map +0 -1
  572. package/dist/node_modules/react-aria-components/dist/Header.es.js +0 -15
  573. package/dist/node_modules/react-aria-components/dist/Header.es.js.map +0 -1
  574. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js +0 -2
  575. package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js.map +0 -1
  576. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js +0 -6
  577. package/dist/node_modules/react-aria-components/dist/Keyboard.es.js.map +0 -1
  578. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js +0 -2
  579. package/dist/node_modules/react-aria-components/dist/Menu.cjs.js.map +0 -1
  580. package/dist/node_modules/react-aria-components/dist/Menu.es.js +0 -283
  581. package/dist/node_modules/react-aria-components/dist/Menu.es.js.map +0 -1
  582. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js +0 -2
  583. package/dist/node_modules/react-aria-components/dist/Popover.cjs.js.map +0 -1
  584. package/dist/node_modules/react-aria-components/dist/Popover.es.js +0 -130
  585. package/dist/node_modules/react-aria-components/dist/Popover.es.js.map +0 -1
  586. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js +0 -2
  587. package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js.map +0 -1
  588. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js +0 -6
  589. package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js.map +0 -1
  590. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js +0 -2
  591. package/dist/node_modules/react-aria-components/dist/Separator.cjs.js.map +0 -1
  592. package/dist/node_modules/react-aria-components/dist/Separator.es.js +0 -6
  593. package/dist/node_modules/react-aria-components/dist/Separator.es.js.map +0 -1
  594. package/dist/node_modules/react-aria-components/dist/Text.cjs.js +0 -2
  595. package/dist/node_modules/react-aria-components/dist/Text.cjs.js.map +0 -1
  596. package/dist/node_modules/react-aria-components/dist/Text.es.js +0 -16
  597. package/dist/node_modules/react-aria-components/dist/Text.es.js.map +0 -1
  598. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js +0 -10
  599. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js.map +0 -1
  600. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +0 -68
  601. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +0 -1
  602. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js +0 -10
  603. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js.map +0 -1
  604. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +0 -56
  605. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +0 -1
  606. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js +0 -2
  607. package/dist/node_modules/use-sync-external-store/shim/index.cjs.js.map +0 -1
  608. package/dist/node_modules/use-sync-external-store/shim/index.es.js +0 -9
  609. package/dist/node_modules/use-sync-external-store/shim/index.es.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"useHover.cjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":"wIAsBA,IAAIA,EAAwD,GACxDC,EAAmC,EACvC,SAASC,GAA2D,CAChEF,EAAwD,GAKxD,WAAW,IAAI,CACXA,EAAwD,EAC3D,EAAE,EAAE,CACT,CACA,SAASG,EAA+CC,EAAG,CACnDA,EAAE,cAAgB,SAASF,EAAwD,CAC3F,CACA,SAASG,GAA+C,CACpD,GAAI,SAAO,SAAa,KACxB,OAAI,OAAO,aAAiB,IAAa,SAAS,iBAAiB,YAAaF,CAA8C,EACrH,QAAQ,IAAI,WAAa,QAAQ,SAAS,iBAAiB,WAAYD,CAAwD,EACxID,IACO,IAAI,CACPA,IACI,EAAAA,EAAmC,KACnC,OAAO,aAAiB,IAAa,SAAS,oBAAoB,YAAaE,CAA8C,EACxH,QAAQ,IAAI,WAAa,QAAQ,SAAS,oBAAoB,WAAYD,CAAwD,EACnJ,CACA,CACA,SAASI,EAA0CC,EAAO,CACtD,GAAI,CAAE,aAAcC,EAAc,cAAeC,EAAe,WAAYC,EAAY,WAAYC,CAAY,EAAGJ,EAC/G,CAACK,EAAWC,CAAU,EAAQC,EAAe,SAAE,EAAK,EAC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AkB,EAAG,EAAE,WAAW,CAClD,EACYH,EAAW,eAAkB,GAAI,CACzB,CAACV,GAAc,EAAE,cAAc,SAAS,EAAE,MAAM,GAAGW,EAAgB,EAAG,EAAE,WAAW,CACvG,GACmB,QAAQ,IAAI,WAAa,SAChCD,EAAW,aAAe,IAAI,CAC1BN,EAAM,0BAA4B,EAClD,EACYM,EAAW,aAAgB,GAAI,CACvB,CAACN,EAAM,2BAA6B,CAACf,GAAuDwB,EAAkB,EAAG,OAAO,EAC5HT,EAAM,0BAA4B,EAClD,EACYM,EAAW,aAAgB,GAAI,CACvB,CAACV,GAAc,EAAE,cAAc,SAAS,EAAE,MAAM,GAAGW,EAAgB,EAAG,OAAO,CACjG,GAEe,CACH,WAAYD,EACZ,gBAAiBC,CAC7B,CACA,EAAO,CACCd,EACAC,EACAC,EACAC,EACAI,EACAG,EACAC,CACR,CAAK,EACD,OAAIF,EAAgB,UAAE,IAAI,CAGlBN,GAAYW,EAAgB,CAC5B,cAAeP,EAAM,MACjC,EAAWA,EAAM,WAAW,CAE5B,EAAO,CACCJ,CACR,CAAK,EACM,CACH,WAAYU,EACZ,UAAWT,CACnB,CACA","x_google_ignoreList":[0]}
@@ -1,85 +0,0 @@
1
- import { useGlobalListeners as L, getOwnerDocument as P, nodeContains as M } from "@react-aria/utils";
2
- import { useState as G, useRef as D, useEffect as h, useMemo as N } from "react";
3
- let u = !1, g = 0;
4
- function p() {
5
- u = !0, setTimeout(() => {
6
- u = !1;
7
- }, 50);
8
- }
9
- function $(l) {
10
- l.pointerType === "touch" && p();
11
- }
12
- function S() {
13
- if (!(typeof document > "u"))
14
- return typeof PointerEvent < "u" ? document.addEventListener("pointerup", $) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", p), g++, () => {
15
- g--, !(g > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", $) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", p));
16
- };
17
- }
18
- function V(l) {
19
- let { onHoverStart: d, onHoverChange: s, onHoverEnd: v, isDisabled: r } = l, [b, E] = G(!1), t = D({
20
- isHovered: !1,
21
- ignoreEmulatedMouseEvents: !1,
22
- pointerType: "",
23
- target: null
24
- }).current;
25
- h(S, []);
26
- let { addGlobalListener: c, removeAllGlobalListeners: m } = L(), { hoverProps: T, triggerHoverEnd: y } = N(() => {
27
- let H = (e, n) => {
28
- if (t.pointerType = n, r || n === "touch" || t.isHovered || !e.currentTarget.contains(e.target)) return;
29
- t.isHovered = !0;
30
- let i = e.currentTarget;
31
- t.target = i, c(P(e.target), "pointerover", (f) => {
32
- t.isHovered && t.target && !M(t.target, f.target) && a(f, f.pointerType);
33
- }, {
34
- capture: !0
35
- }), d && d({
36
- type: "hoverstart",
37
- target: i,
38
- pointerType: n
39
- }), s && s(!0), E(!0);
40
- }, a = (e, n) => {
41
- let i = t.target;
42
- t.pointerType = "", t.target = null, !(n === "touch" || !t.isHovered || !i) && (t.isHovered = !1, m(), v && v({
43
- type: "hoverend",
44
- target: i,
45
- pointerType: n
46
- }), s && s(!1), E(!1));
47
- }, o = {};
48
- return typeof PointerEvent < "u" ? (o.onPointerEnter = (e) => {
49
- u && e.pointerType === "mouse" || H(e, e.pointerType);
50
- }, o.onPointerLeave = (e) => {
51
- !r && e.currentTarget.contains(e.target) && a(e, e.pointerType);
52
- }) : process.env.NODE_ENV === "test" && (o.onTouchStart = () => {
53
- t.ignoreEmulatedMouseEvents = !0;
54
- }, o.onMouseEnter = (e) => {
55
- !t.ignoreEmulatedMouseEvents && !u && H(e, "mouse"), t.ignoreEmulatedMouseEvents = !1;
56
- }, o.onMouseLeave = (e) => {
57
- !r && e.currentTarget.contains(e.target) && a(e, "mouse");
58
- }), {
59
- hoverProps: o,
60
- triggerHoverEnd: a
61
- };
62
- }, [
63
- d,
64
- s,
65
- v,
66
- r,
67
- t,
68
- c,
69
- m
70
- ]);
71
- return h(() => {
72
- r && y({
73
- currentTarget: t.target
74
- }, t.pointerType);
75
- }, [
76
- r
77
- ]), {
78
- hoverProps: T,
79
- isHovered: b
80
- };
81
- }
82
- export {
83
- V as useHover
84
- };
85
- //# sourceMappingURL=useHover.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useHover.es.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useHover.mjs"],"sourcesContent":["import {useGlobalListeners as $AWxnT$useGlobalListeners, getOwnerDocument as $AWxnT$getOwnerDocument, nodeContains as $AWxnT$nodeContains} from \"@react-aria/utils\";\nimport {useState as $AWxnT$useState, useRef as $AWxnT$useRef, useEffect as $AWxnT$useEffect, useMemo as $AWxnT$useMemo} from \"react\";\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 */ // Portions of the code in this file are based on code from react.\n// Original licensing for the following can be found in the\n// NOTICE file in the root directory of this source tree.\n// See https://github.com/facebook/react/tree/cc7c1aece46a6b69b41958d731e0fd27c94bfc6c/packages/react-interactions\n\n\n// iOS fires onPointerEnter twice: once with pointerType=\"touch\" and again with pointerType=\"mouse\".\n// We want to ignore these emulated events so they do not trigger hover behavior.\n// See https://bugs.webkit.org/show_bug.cgi?id=214609.\nlet $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\nlet $6179b936705e76d3$var$hoverCount = 0;\nfunction $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents() {\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = true;\n // Clear globalIgnoreEmulatedMouseEvents after a short timeout. iOS fires onPointerEnter\n // with pointerType=\"mouse\" immediately after onPointerUp and before onFocus. On other\n // devices that don't have this quirk, we don't want to ignore a mouse hover sometime in\n // the distant future because a user previously touched the element.\n setTimeout(()=>{\n $6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents = false;\n }, 50);\n}\nfunction $6179b936705e76d3$var$handleGlobalPointerEvent(e) {\n if (e.pointerType === 'touch') $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents();\n}\nfunction $6179b936705e76d3$var$setupGlobalTouchEvents() {\n if (typeof document === 'undefined') return;\n if (typeof PointerEvent !== 'undefined') document.addEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.addEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n $6179b936705e76d3$var$hoverCount++;\n return ()=>{\n $6179b936705e76d3$var$hoverCount--;\n if ($6179b936705e76d3$var$hoverCount > 0) return;\n if (typeof PointerEvent !== 'undefined') document.removeEventListener('pointerup', $6179b936705e76d3$var$handleGlobalPointerEvent);\n else if (process.env.NODE_ENV === 'test') document.removeEventListener('touchend', $6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents);\n };\n}\nfunction $6179b936705e76d3$export$ae780daf29e6d456(props) {\n let { onHoverStart: onHoverStart, onHoverChange: onHoverChange, onHoverEnd: onHoverEnd, isDisabled: isDisabled } = props;\n let [isHovered, setHovered] = (0, $AWxnT$useState)(false);\n let state = (0, $AWxnT$useRef)({\n isHovered: false,\n ignoreEmulatedMouseEvents: false,\n pointerType: '',\n target: null\n }).current;\n (0, $AWxnT$useEffect)($6179b936705e76d3$var$setupGlobalTouchEvents, []);\n let { addGlobalListener: addGlobalListener, removeAllGlobalListeners: removeAllGlobalListeners } = (0, $AWxnT$useGlobalListeners)();\n let { hoverProps: hoverProps, triggerHoverEnd: triggerHoverEnd } = (0, $AWxnT$useMemo)(()=>{\n let triggerHoverStart = (event, pointerType)=>{\n state.pointerType = pointerType;\n if (isDisabled || pointerType === 'touch' || state.isHovered || !event.currentTarget.contains(event.target)) return;\n state.isHovered = true;\n let target = event.currentTarget;\n state.target = target;\n // When an element that is hovered over is removed, no pointerleave event is fired by the browser,\n // even though the originally hovered target may have shrunk in size so it is no longer hovered.\n // However, a pointerover event will be fired on the new target the mouse is over.\n // In Chrome this happens immediately. In Safari and Firefox, it happens upon moving the mouse one pixel.\n addGlobalListener((0, $AWxnT$getOwnerDocument)(event.target), 'pointerover', (e)=>{\n if (state.isHovered && state.target && !(0, $AWxnT$nodeContains)(state.target, e.target)) triggerHoverEnd(e, e.pointerType);\n }, {\n capture: true\n });\n if (onHoverStart) onHoverStart({\n type: 'hoverstart',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(true);\n setHovered(true);\n };\n let triggerHoverEnd = (event, pointerType)=>{\n let target = state.target;\n state.pointerType = '';\n state.target = null;\n if (pointerType === 'touch' || !state.isHovered || !target) return;\n state.isHovered = false;\n removeAllGlobalListeners();\n if (onHoverEnd) onHoverEnd({\n type: 'hoverend',\n target: target,\n pointerType: pointerType\n });\n if (onHoverChange) onHoverChange(false);\n setHovered(false);\n };\n let hoverProps = {};\n if (typeof PointerEvent !== 'undefined') {\n hoverProps.onPointerEnter = (e)=>{\n if ($6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents && e.pointerType === 'mouse') return;\n triggerHoverStart(e, e.pointerType);\n };\n hoverProps.onPointerLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, e.pointerType);\n };\n } else if (process.env.NODE_ENV === 'test') {\n hoverProps.onTouchStart = ()=>{\n state.ignoreEmulatedMouseEvents = true;\n };\n hoverProps.onMouseEnter = (e)=>{\n if (!state.ignoreEmulatedMouseEvents && !$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents) triggerHoverStart(e, 'mouse');\n state.ignoreEmulatedMouseEvents = false;\n };\n hoverProps.onMouseLeave = (e)=>{\n if (!isDisabled && e.currentTarget.contains(e.target)) triggerHoverEnd(e, 'mouse');\n };\n }\n return {\n hoverProps: hoverProps,\n triggerHoverEnd: triggerHoverEnd\n };\n }, [\n onHoverStart,\n onHoverChange,\n onHoverEnd,\n isDisabled,\n state,\n addGlobalListener,\n removeAllGlobalListeners\n ]);\n (0, $AWxnT$useEffect)(()=>{\n // Call the triggerHoverEnd as soon as isDisabled changes to true\n // Safe to call triggerHoverEnd, it will early return if we aren't currently hovering\n if (isDisabled) triggerHoverEnd({\n currentTarget: state.target\n }, state.pointerType);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n isDisabled\n ]);\n return {\n hoverProps: hoverProps,\n isHovered: isHovered\n };\n}\n\n\nexport {$6179b936705e76d3$export$ae780daf29e6d456 as useHover};\n//# sourceMappingURL=useHover.module.js.map\n"],"names":["$6179b936705e76d3$var$globalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$hoverCount","$6179b936705e76d3$var$setGlobalIgnoreEmulatedMouseEvents","$6179b936705e76d3$var$handleGlobalPointerEvent","e","$6179b936705e76d3$var$setupGlobalTouchEvents","$6179b936705e76d3$export$ae780daf29e6d456","props","onHoverStart","onHoverChange","onHoverEnd","isDisabled","isHovered","setHovered","$AWxnT$useState","state","$AWxnT$useRef","$AWxnT$useEffect","addGlobalListener","removeAllGlobalListeners","$AWxnT$useGlobalListeners","hoverProps","triggerHoverEnd","$AWxnT$useMemo","triggerHoverStart","event","pointerType","target","$AWxnT$getOwnerDocument","$AWxnT$nodeContains"],"mappings":";;AAsBA,IAAIA,IAAwD,IACxDC,IAAmC;AACvC,SAASC,IAA2D;AAChE,EAAAF,IAAwD,IAKxD,WAAW,MAAI;AACX,IAAAA,IAAwD;AAAA,EAC3D,GAAE,EAAE;AACT;AACA,SAASG,EAA+CC,GAAG;AACvD,EAAIA,EAAE,gBAAgB,WAASF,EAAwD;AAC3F;AACA,SAASG,IAA+C;AACpD,MAAI,SAAO,WAAa;AACxB,WAAI,OAAO,eAAiB,MAAa,SAAS,iBAAiB,aAAaF,CAA8C,IACrH,QAAQ,IAAI,aAAa,UAAQ,SAAS,iBAAiB,YAAYD,CAAwD,GACxID,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ACjC,GAAWA,EAAM,WAAW;AAAA,EAE5B,GAAO;AAAA,IACCJ;AAAA,EACR,CAAK,GACM;AAAA,IACH,YAAYU;AAAA,IACZ,WAAWT;AAAA,EACnB;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./usePress.cjs.js"),t=require("@react-aria/utils"),m=require("react"),L=500;function y(a){let{isDisabled:n,onLongPressStart:o,onLongPressEnd:i,onLongPress:s,threshold:l=L,accessibilityDescription:p}=a;const r=m.useRef(void 0);let{addGlobalListener:u,removeGlobalListener:d}=t.useGlobalListeners(),{pressProps:g}=f.usePress({isDisabled:n,onPressStart(e){if(e.continuePropagation(),(e.pointerType==="mouse"||e.pointerType==="touch")&&(o&&o({...e,type:"longpressstart"}),r.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),t.getOwnerDocument(e.target).activeElement!==e.target&&t.focusWithoutScrolling(e.target),s&&s({...e,type:"longpress"}),r.current=void 0},l),e.pointerType==="touch")){let c=b=>{b.preventDefault()};u(e.target,"contextmenu",c,{once:!0}),u(window,"pointerup",()=>{setTimeout(()=>{d(e.target,"contextmenu",c)},30)},{once:!0})}},onPressEnd(e){r.current&&clearTimeout(r.current),i&&(e.pointerType==="mouse"||e.pointerType==="touch")&&i({...e,type:"longpressend"})}}),P=t.useDescription(s&&!n?p:void 0);return{longPressProps:t.mergeProps(g,P)}}exports.useLongPress=y;
2
- //# sourceMappingURL=useLongPress.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLongPress.cjs.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useLongPress.mjs"],"sourcesContent":["import {usePress as $f6c31cce2adf654f$export$45712eceda6fad21} from \"./usePress.mjs\";\nimport {useGlobalListeners as $4k2kv$useGlobalListeners, getOwnerDocument as $4k2kv$getOwnerDocument, focusWithoutScrolling as $4k2kv$focusWithoutScrolling, useDescription as $4k2kv$useDescription, mergeProps as $4k2kv$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $4k2kv$useRef} from \"react\";\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\n\nconst $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;\nfunction $8a26561d2877236e$export$c24ed0104d07eab9(props) {\n let { isDisabled: isDisabled, onLongPressStart: onLongPressStart, onLongPressEnd: onLongPressEnd, onLongPress: onLongPress, threshold: threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription: accessibilityDescription } = props;\n const timeRef = (0, $4k2kv$useRef)(undefined);\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $4k2kv$useGlobalListeners)();\n let { pressProps: pressProps } = (0, $f6c31cce2adf654f$export$45712eceda6fad21)({\n isDisabled: isDisabled,\n onPressStart (e) {\n e.continuePropagation();\n if (e.pointerType === 'mouse' || e.pointerType === 'touch') {\n if (onLongPressStart) onLongPressStart({\n ...e,\n type: 'longpressstart'\n });\n timeRef.current = setTimeout(()=>{\n // Prevent other usePress handlers from also handling this event.\n e.target.dispatchEvent(new PointerEvent('pointercancel', {\n bubbles: true\n }));\n // Ensure target is focused. On touch devices, browsers typically focus on pointer up.\n if ((0, $4k2kv$getOwnerDocument)(e.target).activeElement !== e.target) (0, $4k2kv$focusWithoutScrolling)(e.target);\n if (onLongPress) onLongPress({\n ...e,\n type: 'longpress'\n });\n timeRef.current = undefined;\n }, threshold);\n // Prevent context menu, which may be opened on long press on touch devices\n if (e.pointerType === 'touch') {\n let onContextMenu = (e)=>{\n e.preventDefault();\n };\n addGlobalListener(e.target, 'contextmenu', onContextMenu, {\n once: true\n });\n addGlobalListener(window, 'pointerup', ()=>{\n // If no contextmenu event is fired quickly after pointerup, remove the handler\n // so future context menu events outside a long press are not prevented.\n setTimeout(()=>{\n removeGlobalListener(e.target, 'contextmenu', onContextMenu);\n }, 30);\n }, {\n once: true\n });\n }\n }\n },\n onPressEnd (e) {\n if (timeRef.current) clearTimeout(timeRef.current);\n if (onLongPressEnd && (e.pointerType === 'mouse' || e.pointerType === 'touch')) onLongPressEnd({\n ...e,\n type: 'longpressend'\n });\n }\n });\n let descriptionProps = (0, $4k2kv$useDescription)(onLongPress && !isDisabled ? accessibilityDescription : undefined);\n return {\n longPressProps: (0, $4k2kv$mergeProps)(pressProps, descriptionProps)\n };\n}\n\n\nexport {$8a26561d2877236e$export$c24ed0104d07eab9 as useLongPress};\n//# sourceMappingURL=useLongPress.module.js.map\n"],"names":["$8a26561d2877236e$var$DEFAULT_THRESHOLD","$8a26561d2877236e$export$c24ed0104d07eab9","props","isDisabled","onLongPressStart","onLongPressEnd","onLongPress","threshold","accessibilityDescription","timeRef","$4k2kv$useRef","addGlobalListener","removeGlobalListener","$4k2kv$useGlobalListeners","pressProps","$f6c31cce2adf654f$export$45712eceda6fad21","$4k2kv$getOwnerDocument","$4k2kv$focusWithoutScrolling","onContextMenu","e","descriptionProps","$4k2kv$useDescription","$4k2kv$mergeProps"],"mappings":"uKAiBMA,EAA0C,IAChD,SAASC,EAA0CC,EAAO,CACtD,GAAI,CAAE,WAAYC,EAAY,iBAAkBC,EAAkB,eAAgBC,EAAgB,YAAaC,EAAa,UAAWC,EAAYP,EAAyC,yBAA0BQ,CAA0B,EAAGN,EACnP,MAAMO,EAAcC,SAAe,MAAS,EAC5C,GAAI,CAAE,kBAAmBC,EAAmB,qBAAsBC,CAAsB,EAAOC,EAAAA,qBAC3F,CAAE,WAAYC,CAAY,EAAOC,EAAAA,SAA2C,CAC5E,WAAYZ,EACZ,aAAc,EAAG,CAEb,GADA,EAAE,oBAAmB,GACjB,EAAE,cAAgB,SAAW,EAAE,cAAgB,WAC3CC,GAAkBA,EAAiB,CACnC,GAAG,EACH,KAAM,gBAC1B,CAAiB,EACDK,EAAQ,QAAU,WAAW,IAAI,CAE7B,EAAE,OAAO,cAAc,IAAI,aAAa,gBAAiB,CACrD,QAAS,EACZ,CAAA,CAAC,EAEMO,EAAuB,iBAAE,EAAE,MAAM,EAAE,gBAAkB,EAAE,QAAYC,EAAAA,sBAA8B,EAAE,MAAM,EAC7GX,GAAaA,EAAY,CACzB,GAAG,EACH,KAAM,WAC9B,CAAqB,EACDG,EAAQ,QAAU,MACrB,EAAEF,CAAS,EAER,EAAE,cAAgB,SAAS,CAC3B,IAAIW,EAAiBC,GAAI,CACrBA,EAAE,eAAc,CACxC,EACoBR,EAAkB,EAAE,OAAQ,cAAeO,EAAe,CACtD,KAAM,EAC9B,CAAqB,EACDP,EAAkB,OAAQ,YAAa,IAAI,CAGvC,WAAW,IAAI,CACXC,EAAqB,EAAE,OAAQ,cAAeM,CAAa,CAC9D,EAAE,EAAE,CAC7B,EAAuB,CACC,KAAM,EAC9B,CAAqB,CACJ,CAER,EACD,WAAY,EAAG,CACPT,EAAQ,SAAS,aAAaA,EAAQ,OAAO,EAC7CJ,IAAmB,EAAE,cAAgB,SAAW,EAAE,cAAgB,UAAUA,EAAe,CAC3F,GAAG,EACH,KAAM,cACtB,CAAa,CACJ,CACT,CAAK,EACGe,EAAuBC,iBAAuBf,GAAe,CAACH,EAAaK,EAA2B,MAAS,EACnH,MAAO,CACH,eAAoBc,EAAAA,WAAmBR,EAAYM,CAAgB,CAC3E,CACA","x_google_ignoreList":[0]}
@@ -1,50 +0,0 @@
1
- import { usePress as m } from "./usePress.es.js";
2
- import { useGlobalListeners as P, getOwnerDocument as b, focusWithoutScrolling as L, useDescription as y, mergeProps as D } from "@react-aria/utils";
3
- import { useRef as T } from "react";
4
- const h = 500;
5
- function x(a) {
6
- let { isDisabled: o, onLongPressStart: n, onLongPressEnd: s, onLongPress: r, threshold: c = h, accessibilityDescription: u } = a;
7
- const t = T(void 0);
8
- let { addGlobalListener: i, removeGlobalListener: l } = P(), { pressProps: d } = m({
9
- isDisabled: o,
10
- onPressStart(e) {
11
- if (e.continuePropagation(), (e.pointerType === "mouse" || e.pointerType === "touch") && (n && n({
12
- ...e,
13
- type: "longpressstart"
14
- }), t.current = setTimeout(() => {
15
- e.target.dispatchEvent(new PointerEvent("pointercancel", {
16
- bubbles: !0
17
- })), b(e.target).activeElement !== e.target && L(e.target), r && r({
18
- ...e,
19
- type: "longpress"
20
- }), t.current = void 0;
21
- }, c), e.pointerType === "touch")) {
22
- let p = (g) => {
23
- g.preventDefault();
24
- };
25
- i(e.target, "contextmenu", p, {
26
- once: !0
27
- }), i(window, "pointerup", () => {
28
- setTimeout(() => {
29
- l(e.target, "contextmenu", p);
30
- }, 30);
31
- }, {
32
- once: !0
33
- });
34
- }
35
- },
36
- onPressEnd(e) {
37
- t.current && clearTimeout(t.current), s && (e.pointerType === "mouse" || e.pointerType === "touch") && s({
38
- ...e,
39
- type: "longpressend"
40
- });
41
- }
42
- }), f = y(r && !o ? u : void 0);
43
- return {
44
- longPressProps: D(d, f)
45
- };
46
- }
47
- export {
48
- x as useLongPress
49
- };
50
- //# sourceMappingURL=useLongPress.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLongPress.es.js","sources":["../../../../../node_modules/@react-aria/interactions/dist/useLongPress.mjs"],"sourcesContent":["import {usePress as $f6c31cce2adf654f$export$45712eceda6fad21} from \"./usePress.mjs\";\nimport {useGlobalListeners as $4k2kv$useGlobalListeners, getOwnerDocument as $4k2kv$getOwnerDocument, focusWithoutScrolling as $4k2kv$focusWithoutScrolling, useDescription as $4k2kv$useDescription, mergeProps as $4k2kv$mergeProps} from \"@react-aria/utils\";\nimport {useRef as $4k2kv$useRef} from \"react\";\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\n\nconst $8a26561d2877236e$var$DEFAULT_THRESHOLD = 500;\nfunction $8a26561d2877236e$export$c24ed0104d07eab9(props) {\n let { isDisabled: isDisabled, onLongPressStart: onLongPressStart, onLongPressEnd: onLongPressEnd, onLongPress: onLongPress, threshold: threshold = $8a26561d2877236e$var$DEFAULT_THRESHOLD, accessibilityDescription: accessibilityDescription } = props;\n const timeRef = (0, $4k2kv$useRef)(undefined);\n let { addGlobalListener: addGlobalListener, removeGlobalListener: removeGlobalListener } = (0, $4k2kv$useGlobalListeners)();\n let { pressProps: pressProps } = (0, $f6c31cce2adf654f$export$45712eceda6fad21)({\n isDisabled: isDisabled,\n onPressStart (e) {\n e.continuePropagation();\n if (e.pointerType === 'mouse' || e.pointerType === 'touch') {\n if (onLongPressStart) onLongPressStart({\n ...e,\n type: 'longpressstart'\n });\n timeRef.current = setTimeout(()=>{\n // Prevent other usePress handlers from also handling this event.\n e.target.dispatchEvent(new PointerEvent('pointercancel', {\n bubbles: true\n }));\n // Ensure target is focused. On touch devices, browsers typically focus on pointer up.\n if ((0, $4k2kv$getOwnerDocument)(e.target).activeElement !== e.target) (0, $4k2kv$focusWithoutScrolling)(e.target);\n if (onLongPress) onLongPress({\n ...e,\n type: 'longpress'\n });\n timeRef.current = undefined;\n }, threshold);\n // Prevent context menu, which may be opened on long press on touch devices\n if (e.pointerType === 'touch') {\n let onContextMenu = (e)=>{\n e.preventDefault();\n };\n addGlobalListener(e.target, 'contextmenu', onContextMenu, {\n once: true\n });\n addGlobalListener(window, 'pointerup', ()=>{\n // If no contextmenu event is fired quickly after pointerup, remove the handler\n // so future context menu events outside a long press are not prevented.\n setTimeout(()=>{\n removeGlobalListener(e.target, 'contextmenu', onContextMenu);\n }, 30);\n }, {\n once: true\n });\n }\n }\n },\n onPressEnd (e) {\n if (timeRef.current) clearTimeout(timeRef.current);\n if (onLongPressEnd && (e.pointerType === 'mouse' || e.pointerType === 'touch')) onLongPressEnd({\n ...e,\n type: 'longpressend'\n });\n }\n });\n let descriptionProps = (0, $4k2kv$useDescription)(onLongPress && !isDisabled ? accessibilityDescription : undefined);\n return {\n longPressProps: (0, $4k2kv$mergeProps)(pressProps, descriptionProps)\n };\n}\n\n\nexport {$8a26561d2877236e$export$c24ed0104d07eab9 as useLongPress};\n//# sourceMappingURL=useLongPress.module.js.map\n"],"names":["$8a26561d2877236e$var$DEFAULT_THRESHOLD","$8a26561d2877236e$export$c24ed0104d07eab9","props","isDisabled","onLongPressStart","onLongPressEnd","onLongPress","threshold","accessibilityDescription","timeRef","$4k2kv$useRef","addGlobalListener","removeGlobalListener","$4k2kv$useGlobalListeners","pressProps","$f6c31cce2adf654f$export$45712eceda6fad21","$4k2kv$getOwnerDocument","$4k2kv$focusWithoutScrolling","onContextMenu","e","descriptionProps","$4k2kv$useDescription","$4k2kv$mergeProps"],"mappings":";;;AAiBA,MAAMA,IAA0C;AAChD,SAASC,EAA0CC,GAAO;AACtD,MAAI,EAAE,YAAYC,GAAY,kBAAkBC,GAAkB,gBAAgBC,GAAgB,aAAaC,GAAa,WAAWC,IAAYP,GAAyC,0BAA0BQ,EAA0B,IAAGN;AACnP,QAAMO,IAAcC,EAAe,MAAS;AAC5C,MAAI,EAAE,mBAAmBC,GAAmB,sBAAsBC,EAAsB,IAAOC,KAC3F,EAAE,YAAYC,EAAY,IAAOC,EAA2C;AAAA,IAC5E,YAAYZ;AAAA,IACZ,aAAc,GAAG;AAEb,UADA,EAAE,oBAAmB,IACjB,EAAE,gBAAgB,WAAW,EAAE,gBAAgB,aAC3CC,KAAkBA,EAAiB;AAAA,QACnC,GAAG;AAAA,QACH,MAAM;AAAA,MAC1B,CAAiB,GACDK,EAAQ,UAAU,WAAW,MAAI;AAE7B,UAAE,OAAO,cAAc,IAAI,aAAa,iBAAiB;AAAA,UACrD,SAAS;AAAA,QACZ,CAAA,CAAC,GAEMO,EAAyB,EAAE,MAAM,EAAE,kBAAkB,EAAE,UAAYC,EAA8B,EAAE,MAAM,GAC7GX,KAAaA,EAAY;AAAA,UACzB,GAAG;AAAA,UACH,MAAM;AAAA,QAC9B,CAAqB,GACDG,EAAQ,UAAU;AAAA,MACrB,GAAEF,CAAS,GAER,EAAE,gBAAgB,UAAS;AAC3B,YAAIW,IAAgB,CAACC,MAAI;AACrB,UAAAA,EAAE,eAAc;AAAA,QACxC;AACoB,QAAAR,EAAkB,EAAE,QAAQ,eAAeO,GAAe;AAAA,UACtD,MAAM;AAAA,QAC9B,CAAqB,GACDP,EAAkB,QAAQ,aAAa,MAAI;AAGvC,qBAAW,MAAI;AACX,YAAAC,EAAqB,EAAE,QAAQ,eAAeM,CAAa;AAAA,UAC9D,GAAE,EAAE;AAAA,QAC7B,GAAuB;AAAA,UACC,MAAM;AAAA,QAC9B,CAAqB;AAAA,MACJ;AAAA,IAER;AAAA,IACD,WAAY,GAAG;AACX,MAAIT,EAAQ,WAAS,aAAaA,EAAQ,OAAO,GAC7CJ,MAAmB,EAAE,gBAAgB,WAAW,EAAE,gBAAgB,YAAUA,EAAe;AAAA,QAC3F,GAAG;AAAA,QACH,MAAM;AAAA,MACtB,CAAa;AAAA,IACJ;AAAA,EACT,CAAK,GACGe,IAAuBC,EAAuBf,KAAe,CAACH,IAAaK,IAA2B,MAAS;AACnH,SAAO;AAAA,IACH,gBAAoBc,EAAmBR,GAAYM,CAAgB;AAAA,EAC3E;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./utils.cjs.js"),o=require("@react-aria/utils"),b=require("../../interactions/dist/useFocusWithin.cjs.js"),P=require("../../label/dist/useLabel.cjs.js"),g=require("../../selection/dist/useSelectableList.cjs.js");function v(e,i,n){let r=o.filterDOMProps(e,{labelable:!0}),s=e.selectionBehavior||"toggle",l=e.linkBehavior||(s==="replace"?"action":"override");s==="toggle"&&l==="action"&&(l="override");let{listProps:u}=g.useSelectableList({...e,ref:n,selectionManager:i.selectionManager,collection:i.collection,disabledKeys:i.disabledKeys,linkBehavior:l}),{focusWithinProps:c}=b.useFocusWithin({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),t=o.useId(e.id);h.listData.set(i,{id:t,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:l});let{labelProps:a,fieldProps:d}=P.useLabel({...e,id:t,labelElementType:"span"});return{labelProps:a,listBoxProps:o.mergeProps(r,c,i.selectionManager.selectionMode==="multiple"?{"aria-multiselectable":"true"}:{},{role:"listbox",...o.mergeProps(d,u)})}}exports.useListBox=v;
2
- //# sourceMappingURL=useListBox.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useListBox.cjs.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/useListBox.mjs"],"sourcesContent":["import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\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\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n"],"names":["$c132121280ec012d$export$50eacbbf140a3141","props","state","ref","domProps","$by1yQ$filterDOMProps","selectionBehavior","linkBehavior","listProps","$by1yQ$useSelectableList","focusWithinProps","$by1yQ$useFocusWithin","id","$by1yQ$useId","$b1f0cad8af73213b$export$3585ede4d035bf14","labelProps","fieldProps","$by1yQ$useLabel","$by1yQ$mergeProps"],"mappings":"qTAqBA,SAASA,EAA0CC,EAAOC,EAAOC,EAAK,CAClE,IAAIC,EAAeC,EAAqB,eAAEJ,EAAO,CAC7C,UAAW,EACnB,CAAK,EAEGK,EAAoBL,EAAM,mBAAqB,SAC/CM,EAAeN,EAAM,eAAiBK,IAAsB,UAAY,SAAW,YACnFA,IAAsB,UAAYC,IAAiB,WAGvDA,EAAe,YACf,GAAI,CAAE,UAAWC,CAAW,EAAOC,EAAAA,kBAA0B,CACzD,GAAGR,EACH,IAAKE,EACL,iBAAkBD,EAAM,iBACxB,WAAYA,EAAM,WAClB,aAAcA,EAAM,aACpB,aAAcK,CACtB,CAAK,EACG,CAAE,iBAAkBG,CAAkB,EAAOC,EAAAA,eAAuB,CACpE,cAAeV,EAAM,QACrB,aAAcA,EAAM,OACpB,oBAAqBA,EAAM,aACnC,CAAK,EAEGW,EAASC,EAAAA,MAAcZ,EAAM,EAAE,EAC/Ba,EAAyC,SAAE,IAAIZ,EAAO,CACtD,GAAIU,EACJ,sBAAuBX,EAAM,sBAC7B,sBAAuBA,EAAM,sBAC7B,mBAAoBA,EAAM,mBAC1B,cAAeA,EAAM,cACrB,SAAUA,EAAM,SAChB,aAAcM,CACtB,CAAK,EACD,GAAI,CAAE,WAAYQ,EAAY,WAAYC,CAAU,EAASC,WAAiB,CAC1E,GAAGhB,EACH,GAAIW,EAGJ,iBAAkB,MAC1B,CAAK,EACD,MAAO,CACH,WAAYG,EACZ,aAAkBG,EAAiB,WAAEd,EAAUM,EAAkBR,EAAM,iBAAiB,gBAAkB,WAAa,CACnH,uBAAwB,MAC3B,EAAG,GAAI,CACJ,KAAM,UACN,GAAOgB,EAAAA,WAAmBF,EAAYR,CAAS,CAC3D,CAAS,CACT,CACA","x_google_ignoreList":[0]}
@@ -1,52 +0,0 @@
1
- import { listData as b } from "./utils.es.js";
2
- import { filterDOMProps as f, useId as h, mergeProps as s } from "@react-aria/utils";
3
- import { useFocusWithin as m } from "../../interactions/dist/useFocusWithin.es.js";
4
- import { useLabel as P } from "../../label/dist/useLabel.es.js";
5
- import { useSelectableList as $ } from "../../selection/dist/useSelectableList.es.js";
6
- function W(e, o, r) {
7
- let a = f(e, {
8
- labelable: !0
9
- }), l = e.selectionBehavior || "toggle", i = e.linkBehavior || (l === "replace" ? "action" : "override");
10
- l === "toggle" && i === "action" && (i = "override");
11
- let { listProps: n } = $({
12
- ...e,
13
- ref: r,
14
- selectionManager: o.selectionManager,
15
- collection: o.collection,
16
- disabledKeys: o.disabledKeys,
17
- linkBehavior: i
18
- }), { focusWithinProps: c } = m({
19
- onFocusWithin: e.onFocus,
20
- onBlurWithin: e.onBlur,
21
- onFocusWithinChange: e.onFocusChange
22
- }), t = h(e.id);
23
- b.set(o, {
24
- id: t,
25
- shouldUseVirtualFocus: e.shouldUseVirtualFocus,
26
- shouldSelectOnPressUp: e.shouldSelectOnPressUp,
27
- shouldFocusOnHover: e.shouldFocusOnHover,
28
- isVirtualized: e.isVirtualized,
29
- onAction: e.onAction,
30
- linkBehavior: i
31
- });
32
- let { labelProps: u, fieldProps: d } = P({
33
- ...e,
34
- id: t,
35
- // listbox is not an HTML input element so it
36
- // shouldn't be labeled by a <label> element.
37
- labelElementType: "span"
38
- });
39
- return {
40
- labelProps: u,
41
- listBoxProps: s(a, c, o.selectionManager.selectionMode === "multiple" ? {
42
- "aria-multiselectable": "true"
43
- } : {}, {
44
- role: "listbox",
45
- ...s(d, n)
46
- })
47
- };
48
- }
49
- export {
50
- W as useListBox
51
- };
52
- //# sourceMappingURL=useListBox.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useListBox.es.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/useListBox.mjs"],"sourcesContent":["import {listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {filterDOMProps as $by1yQ$filterDOMProps, useId as $by1yQ$useId, mergeProps as $by1yQ$mergeProps} from \"@react-aria/utils\";\nimport {useFocusWithin as $by1yQ$useFocusWithin} from \"@react-aria/interactions\";\nimport {useLabel as $by1yQ$useLabel} from \"@react-aria/label\";\nimport {useSelectableList as $by1yQ$useSelectableList} from \"@react-aria/selection\";\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\n\n\n\nfunction $c132121280ec012d$export$50eacbbf140a3141(props, state, ref) {\n let domProps = (0, $by1yQ$filterDOMProps)(props, {\n labelable: true\n });\n // Use props instead of state here. We don't want this to change due to long press.\n let selectionBehavior = props.selectionBehavior || 'toggle';\n let linkBehavior = props.linkBehavior || (selectionBehavior === 'replace' ? 'action' : 'override');\n if (selectionBehavior === 'toggle' && linkBehavior === 'action') // linkBehavior=\"action\" does not work with selectionBehavior=\"toggle\" because there is no way\n // to initiate selection (checkboxes are not allowed inside a listbox). Link items will not be\n // selectable in this configuration.\n linkBehavior = 'override';\n let { listProps: listProps } = (0, $by1yQ$useSelectableList)({\n ...props,\n ref: ref,\n selectionManager: state.selectionManager,\n collection: state.collection,\n disabledKeys: state.disabledKeys,\n linkBehavior: linkBehavior\n });\n let { focusWithinProps: focusWithinProps } = (0, $by1yQ$useFocusWithin)({\n onFocusWithin: props.onFocus,\n onBlurWithin: props.onBlur,\n onFocusWithinChange: props.onFocusChange\n });\n // Share list id and some props with child options.\n let id = (0, $by1yQ$useId)(props.id);\n (0, $b1f0cad8af73213b$export$3585ede4d035bf14).set(state, {\n id: id,\n shouldUseVirtualFocus: props.shouldUseVirtualFocus,\n shouldSelectOnPressUp: props.shouldSelectOnPressUp,\n shouldFocusOnHover: props.shouldFocusOnHover,\n isVirtualized: props.isVirtualized,\n onAction: props.onAction,\n linkBehavior: linkBehavior\n });\n let { labelProps: labelProps, fieldProps: fieldProps } = (0, $by1yQ$useLabel)({\n ...props,\n id: id,\n // listbox is not an HTML input element so it\n // shouldn't be labeled by a <label> element.\n labelElementType: 'span'\n });\n return {\n labelProps: labelProps,\n listBoxProps: (0, $by1yQ$mergeProps)(domProps, focusWithinProps, state.selectionManager.selectionMode === 'multiple' ? {\n 'aria-multiselectable': 'true'\n } : {}, {\n role: 'listbox',\n ...(0, $by1yQ$mergeProps)(fieldProps, listProps)\n })\n };\n}\n\n\nexport {$c132121280ec012d$export$50eacbbf140a3141 as useListBox};\n//# sourceMappingURL=useListBox.module.js.map\n"],"names":["$c132121280ec012d$export$50eacbbf140a3141","props","state","ref","domProps","$by1yQ$filterDOMProps","selectionBehavior","linkBehavior","listProps","$by1yQ$useSelectableList","focusWithinProps","$by1yQ$useFocusWithin","id","$by1yQ$useId","$b1f0cad8af73213b$export$3585ede4d035bf14","labelProps","fieldProps","$by1yQ$useLabel","$by1yQ$mergeProps"],"mappings":";;;;;AAqBA,SAASA,EAA0CC,GAAOC,GAAOC,GAAK;AAClE,MAAIC,IAAeC,EAAuBJ,GAAO;AAAA,IAC7C,WAAW;AAAA,EACnB,CAAK,GAEGK,IAAoBL,EAAM,qBAAqB,UAC/CM,IAAeN,EAAM,iBAAiBK,MAAsB,YAAY,WAAW;AACvF,EAAIA,MAAsB,YAAYC,MAAiB,aAGvDA,IAAe;AACf,MAAI,EAAE,WAAWC,EAAW,IAAOC,EAA0B;AAAA,IACzD,GAAGR;AAAA,IACH,KAAKE;AAAA,IACL,kBAAkBD,EAAM;AAAA,IACxB,YAAYA,EAAM;AAAA,IAClB,cAAcA,EAAM;AAAA,IACpB,cAAcK;AAAA,EACtB,CAAK,GACG,EAAE,kBAAkBG,EAAkB,IAAOC,EAAuB;AAAA,IACpE,eAAeV,EAAM;AAAA,IACrB,cAAcA,EAAM;AAAA,IACpB,qBAAqBA,EAAM;AAAA,EACnC,CAAK,GAEGW,IAASC,EAAcZ,EAAM,EAAE;AACnC,EAAIa,EAA2C,IAAIZ,GAAO;AAAA,IACtD,IAAIU;AAAA,IACJ,uBAAuBX,EAAM;AAAA,IAC7B,uBAAuBA,EAAM;AAAA,IAC7B,oBAAoBA,EAAM;AAAA,IAC1B,eAAeA,EAAM;AAAA,IACrB,UAAUA,EAAM;AAAA,IAChB,cAAcM;AAAA,EACtB,CAAK;AACD,MAAI,EAAE,YAAYQ,GAAY,YAAYC,EAAU,IAASC,EAAiB;AAAA,IAC1E,GAAGhB;AAAA,IACH,IAAIW;AAAA;AAAA;AAAA,IAGJ,kBAAkB;AAAA,EAC1B,CAAK;AACD,SAAO;AAAA,IACH,YAAYG;AAAA,IACZ,cAAkBG,EAAmBd,GAAUM,GAAkBR,EAAM,iBAAiB,kBAAkB,aAAa;AAAA,MACnH,wBAAwB;AAAA,IAC3B,IAAG,IAAI;AAAA,MACJ,MAAM;AAAA,MACN,GAAOgB,EAAmBF,GAAYR,CAAS;AAAA,IAC3D,CAAS;AAAA,EACT;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./utils.cjs.js"),s=require("@react-aria/utils"),$=require("../../../@react-stately/collections/dist/getItemCount.cjs.js"),D=require("../../interactions/dist/useFocusVisible.cjs.js"),x=require("../../interactions/dist/useHover.cjs.js"),B=require("../../selection/dist/useSelectableItem.cjs.js");function C(l,o,U){var u,a;let{key:d}=l,e=A.listData.get(o);var c;let t=(c=l.isDisabled)!==null&&c!==void 0?c:o.selectionManager.isDisabled(d);var v;let S=(v=l.isSelected)!==null&&v!==void 0?v:o.selectionManager.isSelected(d);var p;let F=(p=l.shouldSelectOnPressUp)!==null&&p!==void 0?p:e==null?void 0:e.shouldSelectOnPressUp;var b;let _=(b=l.shouldFocusOnHover)!==null&&b!==void 0?b:e==null?void 0:e.shouldFocusOnHover;var P;let y=(P=l.shouldUseVirtualFocus)!==null&&P!==void 0?P:e==null?void 0:e.shouldUseVirtualFocus;var h;let g=(h=l.isVirtualized)!==null&&h!==void 0?h:e==null?void 0:e.isVirtualized,f=s.useSlotId(),m=s.useSlotId(),n={role:"option","aria-disabled":t||void 0,"aria-selected":o.selectionManager.selectionMode!=="none"?S:void 0};s.isMac()&&s.isWebKit()||(n["aria-label"]=l["aria-label"],n["aria-labelledby"]=f,n["aria-describedby"]=m);let i=o.collection.getItem(d);if(g){let r=Number(i==null?void 0:i.index);n["aria-posinset"]=Number.isNaN(r)?void 0:r+1,n["aria-setsize"]=$.getItemCount(o.collection)}let V=e!=null&&e.onAction?()=>{var r;return e==null||(r=e.onAction)===null||r===void 0?void 0:r.call(e,d)}:void 0,O=A.getItemId(o,d),{itemProps:k,isPressed:H,isFocused:M,hasAction:q,allowsSelection:z}=B.useSelectableItem({selectionManager:o.selectionManager,key:d,ref:U,shouldSelectOnPressUp:F,allowsDifferentPressOrigin:F&&_,isVirtualized:g,shouldUseVirtualFocus:y,isDisabled:t,onAction:V||!(i==null||(u=i.props)===null||u===void 0)&&u.onAction?s.chain(i==null||(a=i.props)===null||a===void 0?void 0:a.onAction,V):void 0,linkBehavior:e==null?void 0:e.linkBehavior,id:O}),{hoverProps:w}=x.useHover({isDisabled:t||!_,onHoverStart(){D.isFocusVisible()||(o.selectionManager.setFocused(!0),o.selectionManager.setFocusedKey(d))}}),I=s.filterDOMProps(i==null?void 0:i.props);delete I.id;let N=s.useLinkProps(i==null?void 0:i.props);return{optionProps:{...n,...s.mergeProps(I,k,w,N),id:O},labelProps:{id:f},descriptionProps:{id:m},isFocused:M,isFocusVisible:M&&o.selectionManager.isFocused&&D.isFocusVisible(),isSelected:S,isDisabled:t,isPressed:H,allowsSelection:z,hasAction:q}}exports.useOption=C;
2
- //# sourceMappingURL=useOption.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOption.cjs.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/useOption.mjs"],"sourcesContent":["import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\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\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n"],"names":["$293f70390ea03370$export$497855f14858aa34","props","state","ref","_item_props","_item_props1","key","data","$b1f0cad8af73213b$export$3585ede4d035bf14","_props_isDisabled","isDisabled","_props_isSelected","isSelected","_props_shouldSelectOnPressUp","shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","shouldUseVirtualFocus","_props_isVirtualized","isVirtualized","labelId","$fcwmx$useSlotId","descriptionId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","item","index","$fcwmx$getItemCount","onAction","_data_onAction","id","$b1f0cad8af73213b$export$9145995848b05025","itemProps","isPressed","isFocused","hasAction","allowsSelection","$fcwmx$useSelectableItem","$fcwmx$chain","hoverProps","$fcwmx$useHover","$fcwmx$isFocusVisible","domProps","$fcwmx$filterDOMProps","linkProps","$fcwmx$useLinkProps","$fcwmx$mergeProps"],"mappings":"uYAqBA,SAASA,EAA0CC,EAAOC,EAAOC,EAAK,CAClE,IAAIC,EAAaC,EACjB,GAAI,CAAE,IAAKC,CAAK,EAAGL,EACfM,EAAWC,EAAAA,SAA2C,IAAIN,CAAK,EACnE,IAAIO,EACJ,IAAIC,GAAcD,EAAoBR,EAAM,cAAgB,MAAQQ,IAAsB,OAASA,EAAoBP,EAAM,iBAAiB,WAAWI,CAAG,EAC5J,IAAIK,EACJ,IAAIC,GAAcD,EAAoBV,EAAM,cAAgB,MAAQU,IAAsB,OAASA,EAAoBT,EAAM,iBAAiB,WAAWI,CAAG,EAC5J,IAAIO,EACJ,IAAIC,GAAyBD,EAA+BZ,EA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AAWC,EAAW,UAAWC,EAAW,gBAAiBC,CAAiB,EAAOC,EAAAA,kBAA0B,CAC7J,iBAAkBrC,EAAM,iBACxB,IAAKI,EACL,IAAKH,EACL,sBAAuBW,EACvB,2BAA4BA,GAAyBE,EACrD,cAAeI,EACf,sBAAuBF,EACvB,WAAYR,EACZ,SAAUoB,GAAa,EAAAH,GAAS,OAAoCvB,EAAcuB,EAAK,SAAW,MAAQvB,IAAgB,SAAkBA,EAAY,SAAgBoC,EAAAA,MAAcb,GAAS,OAAoCtB,EAAesB,EAAK,SAAW,MAAQtB,IAAiB,OAAlE,OAAoFA,EAAa,SAAUyB,CAAQ,EAAI,OAChV,aAAcvB,GAAS,KAA0B,OAASA,EAAK,aAC/D,GAAIyB,CACZ,CAAK,EACG,CAAE,WAAYS,CAAY,EAAOC,EAAAA,SAAiB,CAClD,WAAYhC,GAAc,CAACM,EAC3B,cAAgB,CACH2B,EAAAA,mBACLzC,EAAM,iBAAiB,WAAW,EAAI,EACtCA,EAAM,iBAAiB,cAAcI,CAAG,EAE/C,CACT,CAAK,EACGsC,EAAeC,iBAAuBlB,GAAS,KAA0B,OAASA,EAAK,KAAK,EAChG,OAAOiB,EAAS,GAChB,IAAIE,EAAgBC,eAAqBpB,GAAS,KAA0B,OAASA,EAAK,KAAK,EAC/F,MAAO,CACH,YAAa,CACT,GAAGH,EACH,GAAOwB,EAAAA,WAAmBJ,EAAUV,EAAWO,EAAYK,CAAS,EACpE,GAAId,CACP,EACD,WAAY,CACR,GAAIX,CACP,EACD,iBAAkB,CACd,GAAIE,CACP,EACD,UAAWa,EACX,eAAgBA,GAAalC,EAAM,iBAAiB,WAAiByC,EAAAA,eAAwB,EAC7F,WAAY/B,EACZ,WAAYF,EACZ,UAAWyB,EACX,gBAAiBG,EACjB,UAAWD,CACnB,CACA","x_google_ignoreList":[0]}
@@ -1,79 +0,0 @@
1
- import { listData as w, getItemId as N } from "./utils.es.js";
2
- import { useSlotId as M, isMac as B, isWebKit as K, chain as C, filterDOMProps as L, useLinkProps as W, mergeProps as j } from "@react-aria/utils";
3
- import { getItemCount as q } from "../../../@react-stately/collections/dist/getItemCount.es.js";
4
- import { isFocusVisible as x } from "../../interactions/dist/useFocusVisible.es.js";
5
- import { useHover as E } from "../../interactions/dist/useHover.es.js";
6
- import { useSelectableItem as G } from "../../selection/dist/useSelectableItem.es.js";
7
- function Z(l, o, A) {
8
- var a, t;
9
- let { key: s } = l, e = w.get(o);
10
- var u;
11
- let n = (u = l.isDisabled) !== null && u !== void 0 ? u : o.selectionManager.isDisabled(s);
12
- var c;
13
- let m = (c = l.isSelected) !== null && c !== void 0 ? c : o.selectionManager.isSelected(s);
14
- var v;
15
- let h = (v = l.shouldSelectOnPressUp) !== null && v !== void 0 ? v : e == null ? void 0 : e.shouldSelectOnPressUp;
16
- var p;
17
- let P = (p = l.shouldFocusOnHover) !== null && p !== void 0 ? p : e == null ? void 0 : e.shouldFocusOnHover;
18
- var b;
19
- let D = (b = l.shouldUseVirtualFocus) !== null && b !== void 0 ? b : e == null ? void 0 : e.shouldUseVirtualFocus;
20
- var f;
21
- let $ = (f = l.isVirtualized) !== null && f !== void 0 ? f : e == null ? void 0 : e.isVirtualized, _ = M(), F = M(), d = {
22
- role: "option",
23
- "aria-disabled": n || void 0,
24
- "aria-selected": o.selectionManager.selectionMode !== "none" ? m : void 0
25
- };
26
- B() && K() || (d["aria-label"] = l["aria-label"], d["aria-labelledby"] = _, d["aria-describedby"] = F);
27
- let i = o.collection.getItem(s);
28
- if ($) {
29
- let r = Number(i == null ? void 0 : i.index);
30
- d["aria-posinset"] = Number.isNaN(r) ? void 0 : r + 1, d["aria-setsize"] = q(o.collection);
31
- }
32
- let S = e != null && e.onAction ? () => {
33
- var r;
34
- return e == null || (r = e.onAction) === null || r === void 0 ? void 0 : r.call(e, s);
35
- } : void 0, g = N(o, s), { itemProps: U, isPressed: I, isFocused: O, hasAction: k, allowsSelection: y } = G({
36
- selectionManager: o.selectionManager,
37
- key: s,
38
- ref: A,
39
- shouldSelectOnPressUp: h,
40
- allowsDifferentPressOrigin: h && P,
41
- isVirtualized: $,
42
- shouldUseVirtualFocus: D,
43
- isDisabled: n,
44
- onAction: S || !(i == null || (a = i.props) === null || a === void 0) && a.onAction ? C(i == null || (t = i.props) === null || t === void 0 ? void 0 : t.onAction, S) : void 0,
45
- linkBehavior: e == null ? void 0 : e.linkBehavior,
46
- id: g
47
- }), { hoverProps: z } = E({
48
- isDisabled: n || !P,
49
- onHoverStart() {
50
- x() || (o.selectionManager.setFocused(!0), o.selectionManager.setFocusedKey(s));
51
- }
52
- }), V = L(i == null ? void 0 : i.props);
53
- delete V.id;
54
- let H = W(i == null ? void 0 : i.props);
55
- return {
56
- optionProps: {
57
- ...d,
58
- ...j(V, U, z, H),
59
- id: g
60
- },
61
- labelProps: {
62
- id: _
63
- },
64
- descriptionProps: {
65
- id: F
66
- },
67
- isFocused: O,
68
- isFocusVisible: O && o.selectionManager.isFocused && x(),
69
- isSelected: m,
70
- isDisabled: n,
71
- isPressed: I,
72
- allowsSelection: y,
73
- hasAction: k
74
- };
75
- }
76
- export {
77
- Z as useOption
78
- };
79
- //# sourceMappingURL=useOption.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useOption.es.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/useOption.mjs"],"sourcesContent":["import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from \"./utils.mjs\";\nimport {useSlotId as $fcwmx$useSlotId, isMac as $fcwmx$isMac, isWebKit as $fcwmx$isWebKit, chain as $fcwmx$chain, filterDOMProps as $fcwmx$filterDOMProps, useLinkProps as $fcwmx$useLinkProps, mergeProps as $fcwmx$mergeProps} from \"@react-aria/utils\";\nimport {getItemCount as $fcwmx$getItemCount} from \"@react-stately/collections\";\nimport {useHover as $fcwmx$useHover, isFocusVisible as $fcwmx$isFocusVisible} from \"@react-aria/interactions\";\nimport {useSelectableItem as $fcwmx$useSelectableItem} from \"@react-aria/selection\";\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\n\n\n\nfunction $293f70390ea03370$export$497855f14858aa34(props, state, ref) {\n var _item_props, _item_props1;\n let { key: key } = props;\n let data = (0, $b1f0cad8af73213b$export$3585ede4d035bf14).get(state);\n var _props_isDisabled;\n let isDisabled = (_props_isDisabled = props.isDisabled) !== null && _props_isDisabled !== void 0 ? _props_isDisabled : state.selectionManager.isDisabled(key);\n var _props_isSelected;\n let isSelected = (_props_isSelected = props.isSelected) !== null && _props_isSelected !== void 0 ? _props_isSelected : state.selectionManager.isSelected(key);\n var _props_shouldSelectOnPressUp;\n let shouldSelectOnPressUp = (_props_shouldSelectOnPressUp = props.shouldSelectOnPressUp) !== null && _props_shouldSelectOnPressUp !== void 0 ? _props_shouldSelectOnPressUp : data === null || data === void 0 ? void 0 : data.shouldSelectOnPressUp;\n var _props_shouldFocusOnHover;\n let shouldFocusOnHover = (_props_shouldFocusOnHover = props.shouldFocusOnHover) !== null && _props_shouldFocusOnHover !== void 0 ? _props_shouldFocusOnHover : data === null || data === void 0 ? void 0 : data.shouldFocusOnHover;\n var _props_shouldUseVirtualFocus;\n let shouldUseVirtualFocus = (_props_shouldUseVirtualFocus = props.shouldUseVirtualFocus) !== null && _props_shouldUseVirtualFocus !== void 0 ? _props_shouldUseVirtualFocus : data === null || data === void 0 ? void 0 : data.shouldUseVirtualFocus;\n var _props_isVirtualized;\n let isVirtualized = (_props_isVirtualized = props.isVirtualized) !== null && _props_isVirtualized !== void 0 ? _props_isVirtualized : data === null || data === void 0 ? void 0 : data.isVirtualized;\n let labelId = (0, $fcwmx$useSlotId)();\n let descriptionId = (0, $fcwmx$useSlotId)();\n let optionProps = {\n role: 'option',\n 'aria-disabled': isDisabled || undefined,\n 'aria-selected': state.selectionManager.selectionMode !== 'none' ? isSelected : undefined\n };\n // Safari with VoiceOver on macOS misreads options with aria-labelledby or aria-label as simply \"text\".\n // We should not map slots to the label and description on Safari and instead just have VoiceOver read the textContent.\n // https://bugs.webkit.org/show_bug.cgi?id=209279\n if (!((0, $fcwmx$isMac)() && (0, $fcwmx$isWebKit)())) {\n optionProps['aria-label'] = props['aria-label'];\n optionProps['aria-labelledby'] = labelId;\n optionProps['aria-describedby'] = descriptionId;\n }\n let item = state.collection.getItem(key);\n if (isVirtualized) {\n let index = Number(item === null || item === void 0 ? void 0 : item.index);\n optionProps['aria-posinset'] = Number.isNaN(index) ? undefined : index + 1;\n optionProps['aria-setsize'] = (0, $fcwmx$getItemCount)(state.collection);\n }\n let onAction = (data === null || data === void 0 ? void 0 : data.onAction) ? ()=>{\n var _data_onAction;\n return data === null || data === void 0 ? void 0 : (_data_onAction = data.onAction) === null || _data_onAction === void 0 ? void 0 : _data_onAction.call(data, key);\n } : undefined;\n let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);\n let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({\n selectionManager: state.selectionManager,\n key: key,\n ref: ref,\n shouldSelectOnPressUp: shouldSelectOnPressUp,\n allowsDifferentPressOrigin: shouldSelectOnPressUp && shouldFocusOnHover,\n isVirtualized: isVirtualized,\n shouldUseVirtualFocus: shouldUseVirtualFocus,\n isDisabled: isDisabled,\n onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,\n linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,\n id: id\n });\n let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({\n isDisabled: isDisabled || !shouldFocusOnHover,\n onHoverStart () {\n if (!(0, $fcwmx$isFocusVisible)()) {\n state.selectionManager.setFocused(true);\n state.selectionManager.setFocusedKey(key);\n }\n }\n });\n let domProps = (0, $fcwmx$filterDOMProps)(item === null || item === void 0 ? void 0 : item.props);\n delete domProps.id;\n let linkProps = (0, $fcwmx$useLinkProps)(item === null || item === void 0 ? void 0 : item.props);\n return {\n optionProps: {\n ...optionProps,\n ...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),\n id: id\n },\n labelProps: {\n id: labelId\n },\n descriptionProps: {\n id: descriptionId\n },\n isFocused: isFocused,\n isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(),\n isSelected: isSelected,\n isDisabled: isDisabled,\n isPressed: isPressed,\n allowsSelection: allowsSelection,\n hasAction: hasAction\n };\n}\n\n\nexport {$293f70390ea03370$export$497855f14858aa34 as useOption};\n//# sourceMappingURL=useOption.module.js.map\n"],"names":["$293f70390ea03370$export$497855f14858aa34","props","state","ref","_item_props","_item_props1","key","data","$b1f0cad8af73213b$export$3585ede4d035bf14","_props_isDisabled","isDisabled","_props_isSelected","isSelected","_props_shouldSelectOnPressUp","shouldSelectOnPressUp","_props_shouldFocusOnHover","shouldFocusOnHover","_props_shouldUseVirtualFocus","shouldUseVirtualFocus","_props_isVirtualized","isVirtualized","labelId","$fcwmx$useSlotId","descriptionId","optionProps","$fcwmx$isMac","$fcwmx$isWebKit","item","index","$fcwmx$getItemCount","onAction","_data_onAction","id","$b1f0cad8af73213b$export$9145995848b05025","itemProps","isPressed","isFocused","hasAction","allowsSelection","$fcwmx$useSelectableItem","$fcwmx$chain","hoverProps","$fcwmx$useHover","$fcwmx$isFocusVisible","domProps","$fcwmx$filterDOMProps","linkProps","$fcwmx$useLink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KAAK;AAChG,SAAOiB,EAAS;AAChB,MAAIE,IAAgBC,EAAqBpB,KAAS,OAA0B,SAASA,EAAK,KAAK;AAC/F,SAAO;AAAA,IACH,aAAa;AAAA,MACT,GAAGH;AAAA,MACH,GAAOwB,EAAmBJ,GAAUV,GAAWO,GAAYK,CAAS;AAAA,MACpE,IAAId;AAAA,IACP;AAAA,IACD,YAAY;AAAA,MACR,IAAIX;AAAA,IACP;AAAA,IACD,kBAAkB;AAAA,MACd,IAAIE;AAAA,IACP;AAAA,IACD,WAAWa;AAAA,IACX,gBAAgBA,KAAalC,EAAM,iBAAiB,aAAiByC,EAAwB;AAAA,IAC7F,YAAY/B;AAAA,IACZ,YAAYF;AAAA,IACZ,WAAWyB;AAAA,IACX,iBAAiBG;AAAA,IACjB,WAAWD;AAAA,EACnB;AACA;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=new WeakMap;function a(t){return typeof t=="string"?t.replace(/\s*/g,""):""+t}function o(t,n){let e=r.get(t);if(!e)throw new Error("Unknown list");return`${e.id}-option-${a(n)}`}exports.getItemId=o;exports.listData=r;
2
- //# sourceMappingURL=utils.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.cjs.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/utils.mjs"],"sourcesContent":["/*\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 */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","key","$b1f0cad8af73213b$export$9145995848b05025","state","itemKey","data"],"mappings":"gFAUS,MAACA,EAA4C,IAAI,QAC1D,SAASC,EAAmCC,EAAK,CAC7C,OAAI,OAAOA,GAAQ,SAAiBA,EAAI,QAAQ,OAAQ,EAAE,EACnD,GAAKA,CAChB,CACA,SAASC,EAA0CC,EAAOC,EAAS,CAC/D,IAAIC,EAAON,EAA0C,IAAII,CAAK,EAC9D,GAAI,CAACE,EAAM,MAAM,IAAI,MAAM,cAAc,EACzC,MAAO,GAAGA,EAAK,EAAE,WAAWL,EAAmCI,CAAO,CAAC,EAC3E","x_google_ignoreList":[0]}
@@ -1,14 +0,0 @@
1
- const r = /* @__PURE__ */ new WeakMap();
2
- function n(t) {
3
- return typeof t == "string" ? t.replace(/\s*/g, "") : "" + t;
4
- }
5
- function o(t, a) {
6
- let e = r.get(t);
7
- if (!e) throw new Error("Unknown list");
8
- return `${e.id}-option-${n(a)}`;
9
- }
10
- export {
11
- o as getItemId,
12
- r as listData
13
- };
14
- //# sourceMappingURL=utils.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.es.js","sources":["../../../../../node_modules/@react-aria/listbox/dist/utils.mjs"],"sourcesContent":["/*\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 */ const $b1f0cad8af73213b$export$3585ede4d035bf14 = new WeakMap();\nfunction $b1f0cad8af73213b$var$normalizeKey(key) {\n if (typeof key === 'string') return key.replace(/\\s*/g, '');\n return '' + key;\n}\nfunction $b1f0cad8af73213b$export$9145995848b05025(state, itemKey) {\n let data = $b1f0cad8af73213b$export$3585ede4d035bf14.get(state);\n if (!data) throw new Error('Unknown list');\n return `${data.id}-option-${$b1f0cad8af73213b$var$normalizeKey(itemKey)}`;\n}\n\n\nexport {$b1f0cad8af73213b$export$3585ede4d035bf14 as listData, $b1f0cad8af73213b$export$9145995848b05025 as getItemId};\n//# sourceMappingURL=utils.module.js.map\n"],"names":["$b1f0cad8af73213b$export$3585ede4d035bf14","$b1f0cad8af73213b$var$normalizeKey","key","$b1f0cad8af73213b$export$9145995848b05025","state","itemKey","data"],"mappings":"AAUS,MAACA,IAA4C,oBAAI,QAAU;AACpE,SAASC,EAAmCC,GAAK;AAC7C,SAAI,OAAOA,KAAQ,WAAiBA,EAAI,QAAQ,QAAQ,EAAE,IACnD,KAAKA;AAChB;AACA,SAASC,EAA0CC,GAAOC,GAAS;AAC/D,MAAIC,IAAON,EAA0C,IAAII,CAAK;AAC9D,MAAI,CAACE,EAAM,OAAM,IAAI,MAAM,cAAc;AACzC,SAAO,GAAGA,EAAK,EAAE,WAAWL,EAAmCI,CAAO,CAAC;AAC3E;","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=7e3;let i=null;function s(n,e="assertive",t=r){i?i.announce(n,e,t):(i=new h,(typeof IS_REACT_ACT_ENVIRONMENT=="boolean"?IS_REACT_ACT_ENVIRONMENT:typeof jest<"u")?i.announce(n,e,t):setTimeout(()=>{i!=null&&i.isAttached()&&(i==null||i.announce(n,e,t))},100))}class h{isAttached(){var e;return(e=this.node)===null||e===void 0?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",a=r){var d,l;if(!this.node)return;let o=document.createElement("div");typeof e=="object"?(o.setAttribute("role","img"),o.setAttribute("aria-labelledby",e["aria-labelledby"])):o.textContent=e,t==="assertive"?(d=this.assertiveLog)===null||d===void 0||d.appendChild(o):(l=this.politeLog)===null||l===void 0||l.appendChild(o),e!==""&&setTimeout(()=>{o.remove()},a)}clear(e){this.node&&((!e||e==="assertive")&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||e==="polite")&&this.politeLog&&(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,typeof document<"u"&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}exports.announce=s;
2
- //# sourceMappingURL=LiveAnnouncer.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LiveAnnouncer.cjs.js","sources":["../../../../../node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs"],"sourcesContent":["/*\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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $319e236875307eab$var$liveAnnouncer = null;\nfunction $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer = new $319e236875307eab$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n // @ts-ignore\n if (!(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.isAttached()) $319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n }, 100);\n else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $319e236875307eab$export$d10ae4f68404609a(assertiveness) {\n if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $319e236875307eab$export$d8686216b8b81b2f() {\n if ($319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer.destroy();\n $319e236875307eab$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $319e236875307eab$var$LiveAnnouncer {\n isAttached() {\n var _this_node;\n return (_this_node = this.node) === null || _this_node === void 0 ? void 0 : _this_node.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n var _this_assertiveLog, _this_politeLog;\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') (_this_assertiveLog = this.assertiveLog) === null || _this_assertiveLog === void 0 ? void 0 : _this_assertiveLog.appendChild(node);\n else (_this_politeLog = this.politeLog) === null || _this_politeLog === void 0 ? void 0 : _this_politeLog.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n}\n\n\nexport {$319e236875307eab$export$a9b970dcc4ae71a9 as announce, $319e236875307eab$export$d10ae4f68404609a as clearAnnouncer, $319e236875307eab$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.module.js.map\n"],"names":["$319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY","$319e236875307eab$var$liveAnnouncer","$319e236875307eab$export$a9b970dcc4ae71a9","message","assertiveness","timeout","$319e236875307eab$var$LiveAnnouncer","_this_node","ariaLive","node","_this_assertiveLog","_this_politeLog"],"mappings":"gFAUqE,MAAMA,EAAiD,IAC5H,IAAIC,EAAsC,KAC1C,SAASC,EAA0CC,EAASC,EAAgB,YAAaC,EAAUL,EAAgD,CAC1IC,EAaEA,EAAoC,SAASE,EAASC,EAAeC,CAAO,GAZ/EJ,EAAsC,IAAIK,GAQpC,OAAO,0BAA6B,UAAY,yBAA2B,OAAO,KAAS,KAG5FL,EAAoC,SAASE,EAASC,EAAeC,CAAO,EAH8B,WAAW,IAAI,CACtHJ,GAAwC,MAAkEA,EAAoC,WAAU,IAAIA,GAAwC,MAAkEA,EAAoC,SAASE,EAASC,EAAeC,CAAO,EACzV,EAAE,GAAG,EAGd,CAgBA,MAAMC,CAAoC,CACtC,YAAa,CACT,IAAIC,EACJ,OAAQA,EAAa,KAAK,QAAU,MAAQA,IAAe,OAAS,OAASA,EAAW,WAC3F,CACD,UAAUC,EAAU,CAChB,IAAIC,EAAO,SAAS,cAAc,KAAK,EACvC,OAAAA,EAA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AAK,UAAY,KAAK,UAAU,QAAQ,EACxC,KAAK,KAAK,YAAY,KAAK,SAAS,EACpC,SAAS,KAAK,QAAQ,KAAK,IAAI,EAEtC,CACL","x_google_ignoreList":[0]}
@@ -1,48 +0,0 @@
1
- let i = null;
2
- function s(n, e = "assertive", t = 7e3) {
3
- i ? i.announce(n, e, t) : (i = new a(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? i.announce(n, e, t) : setTimeout(() => {
4
- i != null && i.isAttached() && (i == null || i.announce(n, e, t));
5
- }, 100));
6
- }
7
- class a {
8
- isAttached() {
9
- var e;
10
- return (e = this.node) === null || e === void 0 ? void 0 : e.isConnected;
11
- }
12
- createLog(e) {
13
- let t = document.createElement("div");
14
- return t.setAttribute("role", "log"), t.setAttribute("aria-live", e), t.setAttribute("aria-relevant", "additions"), t;
15
- }
16
- destroy() {
17
- this.node && (document.body.removeChild(this.node), this.node = null);
18
- }
19
- announce(e, t = "assertive", r = 7e3) {
20
- var d, l;
21
- if (!this.node) return;
22
- let o = document.createElement("div");
23
- typeof e == "object" ? (o.setAttribute("role", "img"), o.setAttribute("aria-labelledby", e["aria-labelledby"])) : o.textContent = e, t === "assertive" ? (d = this.assertiveLog) === null || d === void 0 || d.appendChild(o) : (l = this.politeLog) === null || l === void 0 || l.appendChild(o), e !== "" && setTimeout(() => {
24
- o.remove();
25
- }, r);
26
- }
27
- clear(e) {
28
- this.node && ((!e || e === "assertive") && this.assertiveLog && (this.assertiveLog.innerHTML = ""), (!e || e === "polite") && this.politeLog && (this.politeLog.innerHTML = ""));
29
- }
30
- constructor() {
31
- this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
32
- border: 0,
33
- clip: "rect(0 0 0 0)",
34
- clipPath: "inset(50%)",
35
- height: "1px",
36
- margin: "-1px",
37
- overflow: "hidden",
38
- padding: 0,
39
- position: "absolute",
40
- width: "1px",
41
- whiteSpace: "nowrap"
42
- }), this.assertiveLog = this.createLog("assertive"), this.node.appendChild(this.assertiveLog), this.politeLog = this.createLog("polite"), this.node.appendChild(this.politeLog), document.body.prepend(this.node));
43
- }
44
- }
45
- export {
46
- s as announce
47
- };
48
- //# sourceMappingURL=LiveAnnouncer.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LiveAnnouncer.es.js","sources":["../../../../../node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs"],"sourcesContent":["/*\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 */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $319e236875307eab$var$liveAnnouncer = null;\nfunction $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer = new $319e236875307eab$var$LiveAnnouncer();\n // wait for the live announcer regions to be added to the dom, then announce\n // otherwise Safari won't announce the message if it's added too quickly\n // found most times less than 100ms were not consistent when announcing with Safari\n // IS_REACT_ACT_ENVIRONMENT is used by React 18. Previous versions checked for the `jest` global.\n // https://github.com/reactwg/react-18/discussions/102\n // if we're in a test environment, announce without waiting\n // @ts-ignore\n if (!(typeof IS_REACT_ACT_ENVIRONMENT === 'boolean' ? IS_REACT_ACT_ENVIRONMENT : typeof jest !== 'undefined')) setTimeout(()=>{\n if ($319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.isAttached()) $319e236875307eab$var$liveAnnouncer === null || $319e236875307eab$var$liveAnnouncer === void 0 ? void 0 : $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n }, 100);\n else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n } else $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $319e236875307eab$export$d10ae4f68404609a(assertiveness) {\n if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $319e236875307eab$export$d8686216b8b81b2f() {\n if ($319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer.destroy();\n $319e236875307eab$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $319e236875307eab$var$LiveAnnouncer {\n isAttached() {\n var _this_node;\n return (_this_node = this.node) === null || _this_node === void 0 ? void 0 : _this_node.isConnected;\n }\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n var _this_assertiveLog, _this_politeLog;\n if (!this.node) return;\n let node = document.createElement('div');\n if (typeof message === 'object') {\n // To read an aria-labelledby, the element must have an appropriate role, such as img.\n node.setAttribute('role', 'img');\n node.setAttribute('aria-labelledby', message['aria-labelledby']);\n } else node.textContent = message;\n if (assertiveness === 'assertive') (_this_assertiveLog = this.assertiveLog) === null || _this_assertiveLog === void 0 ? void 0 : _this_assertiveLog.appendChild(node);\n else (_this_politeLog = this.politeLog) === null || _this_politeLog === void 0 ? void 0 : _this_politeLog.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if ((!assertiveness || assertiveness === 'assertive') && this.assertiveLog) this.assertiveLog.innerHTML = '';\n if ((!assertiveness || assertiveness === 'polite') && this.politeLog) this.politeLog.innerHTML = '';\n }\n constructor(){\n this.node = null;\n this.assertiveLog = null;\n this.politeLog = null;\n if (typeof document !== 'undefined') {\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n }\n}\n\n\nexport {$319e236875307eab$export$a9b970dcc4ae71a9 as announce, $319e236875307eab$export$d10ae4f68404609a as clearAnnouncer, $319e236875307eab$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.module.js.map\n"],"names":["$319e236875307eab$var$liveAnnouncer","$319e236875307eab$export$a9b970dcc4ae71a9","message","assertiveness","timeout","$319e236875307eab$var$LiveAnnouncer","_this_node","ariaLive","node","_this_assertiveLog","_this_politeLog"],"mappings":"AAWA,IAAIA,IAAsC;AAC1C,SAASC,EAA0CC,GAASC,IAAgB,aAAaC,IAAU,KAAgD;AAC/I,EAAKJ,IAa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