@protonradio/proton-ui 0.11.4 → 0.11.5-beta.2
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.
- package/dist/_virtual/index.cjs.js +2 -0
- package/dist/_virtual/index.cjs.js.map +1 -0
- package/dist/_virtual/index.es.js +5 -0
- package/dist/_virtual/index.es.js.map +1 -0
- package/dist/_virtual/jsx-runtime.cjs.js +2 -0
- package/dist/_virtual/jsx-runtime.cjs.js.map +1 -0
- package/dist/_virtual/jsx-runtime.es.js +5 -0
- package/dist/_virtual/jsx-runtime.es.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.cjs.js +2 -0
- package/dist/_virtual/react-jsx-runtime.development.cjs.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.development.es.js +5 -0
- package/dist/_virtual/react-jsx-runtime.development.es.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.cjs.js +2 -0
- package/dist/_virtual/react-jsx-runtime.production.min.cjs.js.map +1 -0
- package/dist/_virtual/react-jsx-runtime.production.min.es.js +5 -0
- package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.cjs.js +2 -0
- package/dist/_virtual/use-sync-external-store-shim.development.cjs.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.development.es.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.cjs.js +2 -0
- package/dist/_virtual/use-sync-external-store-shim.production.cjs.js.map +1 -0
- package/dist/_virtual/use-sync-external-store-shim.production.es.js +5 -0
- package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +1 -0
- package/dist/assets/svg/icons.svg.cjs.js +2 -0
- package/dist/assets/svg/icons.svg.cjs.js.map +1 -0
- package/dist/assets/svg/icons.svg.es.js +5 -0
- package/dist/assets/svg/icons.svg.es.js.map +1 -0
- package/dist/components/ActionMenu/ActionMenu.cjs.js +2 -0
- package/dist/components/ActionMenu/ActionMenu.cjs.js.map +1 -0
- package/dist/components/ActionMenu/ActionMenu.es.js +210 -0
- package/dist/components/ActionMenu/ActionMenu.es.js.map +1 -0
- package/dist/components/Badge/Badge.cjs.js +2 -0
- package/dist/components/Badge/Badge.cjs.js.map +1 -0
- package/dist/components/Badge/Badge.es.js +25 -0
- package/dist/components/Badge/Badge.es.js.map +1 -0
- package/dist/components/Banner/Banner.cjs.js +2 -0
- package/dist/components/Banner/Banner.cjs.js.map +1 -0
- package/dist/components/Banner/Banner.es.js +131 -0
- package/dist/components/Banner/Banner.es.js.map +1 -0
- package/dist/components/Button/Button.cjs.js +2 -0
- package/dist/components/Button/Button.cjs.js.map +1 -0
- package/dist/components/Button/Button.es.js +99 -0
- package/dist/components/Button/Button.es.js.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +2 -0
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js.map +1 -0
- package/dist/components/ButtonGroup/ButtonGroup.es.js +51 -0
- package/dist/components/ButtonGroup/ButtonGroup.es.js.map +1 -0
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +2 -0
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +1 -0
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +81 -0
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +1 -0
- package/dist/components/DataTable/DataTable.cjs.js +2 -0
- package/dist/components/DataTable/DataTable.cjs.js.map +1 -0
- package/dist/components/DataTable/DataTable.es.js +137 -0
- package/dist/components/DataTable/DataTable.es.js.map +1 -0
- package/dist/components/Dialog/Dialog.cjs.js +2 -0
- package/dist/components/Dialog/Dialog.cjs.js.map +1 -0
- package/dist/components/Dialog/Dialog.es.js +15 -0
- package/dist/components/Dialog/Dialog.es.js.map +1 -0
- package/dist/components/Elevation/Elevation.cjs.js +2 -0
- package/dist/components/Elevation/Elevation.cjs.js.map +1 -0
- package/dist/components/Elevation/Elevation.es.js +33 -0
- package/dist/components/Elevation/Elevation.es.js.map +1 -0
- package/dist/components/Icon/Icon.cjs.js +2 -0
- package/dist/components/Icon/Icon.cjs.js.map +1 -0
- package/dist/components/Icon/Icon.es.js +42 -0
- package/dist/components/Icon/Icon.es.js.map +1 -0
- package/dist/components/ImageBackground/ImageBackground.cjs.js +2 -0
- package/dist/components/ImageBackground/ImageBackground.cjs.js.map +1 -0
- package/dist/components/ImageBackground/ImageBackground.es.js +55 -0
- package/dist/components/ImageBackground/ImageBackground.es.js.map +1 -0
- package/dist/components/Input/BaseInput/Input.cjs.js +2 -0
- package/dist/components/Input/BaseInput/Input.cjs.js.map +1 -0
- package/dist/components/Input/BaseInput/Input.es.js +182 -0
- package/dist/components/Input/BaseInput/Input.es.js.map +1 -0
- package/dist/components/Input/CopyInput/CopyInput.cjs.js +2 -0
- package/dist/components/Input/CopyInput/CopyInput.cjs.js.map +1 -0
- package/dist/components/Input/CopyInput/CopyInput.es.js +83 -0
- package/dist/components/Input/CopyInput/CopyInput.es.js.map +1 -0
- package/dist/components/Input/SearchInput/SearchInput.cjs.js +2 -0
- package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +1 -0
- package/dist/components/Input/SearchInput/SearchInput.es.js +118 -0
- package/dist/components/Input/SearchInput/SearchInput.es.js.map +1 -0
- package/dist/components/ListBox/ListBox.cjs.js +2 -0
- package/dist/components/ListBox/ListBox.cjs.js.map +1 -0
- package/dist/components/ListBox/ListBox.es.js +25 -0
- package/dist/components/ListBox/ListBox.es.js.map +1 -0
- package/dist/components/Menu/MenuTrigger.cjs.js +2 -0
- package/dist/components/Menu/MenuTrigger.cjs.js.map +1 -0
- package/dist/components/Menu/MenuTrigger.es.js +97 -0
- package/dist/components/Menu/MenuTrigger.es.js.map +1 -0
- package/dist/components/Menu/PopoverMenu.cjs.js +2 -0
- package/dist/components/Menu/PopoverMenu.cjs.js.map +1 -0
- package/dist/components/Menu/PopoverMenu.es.js +116 -0
- package/dist/components/Menu/PopoverMenu.es.js.map +1 -0
- package/dist/components/Modal/Modal.cjs.js +2 -0
- package/dist/components/Modal/Modal.cjs.js.map +1 -0
- package/dist/components/Modal/Modal.es.js +122 -0
- package/dist/components/Modal/Modal.es.js.map +1 -0
- package/dist/components/Popover/Popover.cjs.js +2 -0
- package/dist/components/Popover/Popover.cjs.js.map +1 -0
- package/dist/components/Popover/Popover.es.js +74 -0
- package/dist/components/Popover/Popover.es.js.map +1 -0
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js +2 -0
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js.map +1 -0
- package/dist/components/ScreenOverlay/ScreenOverlay.es.js +44 -0
- package/dist/components/ScreenOverlay/ScreenOverlay.es.js.map +1 -0
- package/dist/components/Select/Select.cjs.js +2 -0
- package/dist/components/Select/Select.cjs.js.map +1 -0
- package/dist/components/Select/Select.es.js +173 -0
- package/dist/components/Select/Select.es.js.map +1 -0
- package/dist/components/Switch/Switch.cjs.js +2 -0
- package/dist/components/Switch/Switch.cjs.js.map +1 -0
- package/dist/components/Switch/Switch.es.js +40 -0
- package/dist/components/Switch/Switch.es.js.map +1 -0
- package/dist/components/Table/Collection/CompoundComponents.cjs.js +2 -0
- package/dist/components/Table/Collection/CompoundComponents.cjs.js.map +1 -0
- package/dist/components/Table/Collection/CompoundComponents.es.js +9 -0
- package/dist/components/Table/Collection/CompoundComponents.es.js.map +1 -0
- package/dist/components/Table/Collection/collectionParser.cjs.js +2 -0
- package/dist/components/Table/Collection/collectionParser.cjs.js.map +1 -0
- package/dist/components/Table/Collection/collectionParser.es.js +54 -0
- package/dist/components/Table/Collection/collectionParser.es.js.map +1 -0
- package/dist/components/Table/Collection/useTableCollection.cjs.js +2 -0
- package/dist/components/Table/Collection/useTableCollection.cjs.js.map +1 -0
- package/dist/components/Table/Collection/useTableCollection.es.js +59 -0
- package/dist/components/Table/Collection/useTableCollection.es.js.map +1 -0
- package/dist/components/Table/Table.cjs.js +2 -0
- package/dist/components/Table/Table.cjs.js.map +1 -0
- package/dist/components/Table/Table.es.js +89 -0
- package/dist/components/Table/Table.es.js.map +1 -0
- package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js +2 -0
- package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js.map +1 -0
- package/dist/components/Text/TextEllipsis/TextEllipsis.es.js +30 -0
- package/dist/components/Text/TextEllipsis/TextEllipsis.es.js.map +1 -0
- package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js +2 -0
- package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js.map +1 -0
- package/dist/components/Text/TextEmphasis/TextEmphasis.es.js +54 -0
- package/dist/components/Text/TextEmphasis/TextEmphasis.es.js.map +1 -0
- package/dist/components/ThemeProvider.cjs.js +2 -0
- package/dist/components/ThemeProvider.cjs.js.map +1 -0
- package/dist/components/ThemeProvider.es.js +42 -0
- package/dist/components/ThemeProvider.es.js.map +1 -0
- package/dist/components/Tombstone/Tombstone.cjs.js +2 -0
- package/dist/components/Tombstone/Tombstone.cjs.js.map +1 -0
- package/dist/components/Tombstone/Tombstone.es.js +35 -0
- package/dist/components/Tombstone/Tombstone.es.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.cjs.js +2 -0
- package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -0
- package/dist/components/Tooltip/Tooltip.es.js +78 -0
- package/dist/components/Tooltip/Tooltip.es.js.map +1 -0
- package/dist/components/Waveform/Waveform.cjs.js +2 -0
- package/dist/components/Waveform/Waveform.cjs.js.map +1 -0
- package/dist/components/Waveform/Waveform.es.js +163 -0
- package/dist/components/Waveform/Waveform.es.js.map +1 -0
- package/dist/components/Waveform/WaveformBar.cjs.js +2 -0
- package/dist/components/Waveform/WaveformBar.cjs.js.map +1 -0
- package/dist/components/Waveform/WaveformBar.es.js +74 -0
- package/dist/components/Waveform/WaveformBar.es.js.map +1 -0
- package/dist/constants/breakpoint.cjs.js +2 -0
- package/dist/constants/breakpoint.cjs.js.map +1 -0
- package/dist/{breakpoint-9y1_8U_b.mjs → constants/breakpoint.es.js} +2 -2
- package/dist/constants/breakpoint.es.js.map +1 -0
- package/dist/constants/placement.cjs.js +2 -0
- package/dist/constants/placement.cjs.js.map +1 -0
- package/dist/constants/placement.es.js +28 -0
- package/dist/constants/placement.es.js.map +1 -0
- package/dist/constants.cjs.js +1 -1
- package/dist/constants.cjs.js.map +1 -1
- package/dist/constants.es.js +3 -26
- package/dist/constants.es.js.map +1 -1
- package/dist/design/colors.cjs.js +2 -0
- package/dist/design/colors.cjs.js.map +1 -0
- package/dist/{colors-CWaj9dFz.mjs → design/colors.es.js} +7 -7
- package/dist/design/colors.es.js.map +1 -0
- package/dist/design/darkTheme/colors.cjs.js +2 -0
- package/dist/{colors-Ceyo4oCJ.mjs.map → design/darkTheme/colors.cjs.js.map} +1 -1
- package/dist/{colors-Ceyo4oCJ.mjs → design/darkTheme/colors.es.js} +13 -13
- package/dist/{colors-CebzFjpe.js.map → design/darkTheme/colors.es.js.map} +1 -1
- package/dist/design/darkTheme/stylesheet.cjs.js +2 -0
- package/dist/design/darkTheme/stylesheet.cjs.js.map +1 -0
- package/dist/design/darkTheme/stylesheet.es.js +52 -0
- package/dist/design/darkTheme/stylesheet.es.js.map +1 -0
- package/dist/design/generateStylesheet.cjs.js +2 -0
- package/dist/design/generateStylesheet.cjs.js.map +1 -0
- package/dist/design/generateStylesheet.es.js +26 -0
- package/dist/design/generateStylesheet.es.js.map +1 -0
- package/dist/design/lightTheme/colors.cjs.js +2 -0
- package/dist/{colors-DMkDnu4U.mjs.map → design/lightTheme/colors.cjs.js.map} +1 -1
- package/dist/{colors-DMkDnu4U.mjs → design/lightTheme/colors.es.js} +11 -11
- package/dist/{colors-DL1dYffC.js.map → design/lightTheme/colors.es.js.map} +1 -1
- package/dist/design/lightTheme/stylesheet.cjs.js +2 -0
- package/dist/design/lightTheme/stylesheet.cjs.js.map +1 -0
- package/dist/design/lightTheme/stylesheet.es.js +52 -0
- package/dist/design/lightTheme/stylesheet.es.js.map +1 -0
- package/dist/design/theme.cjs.js +2 -0
- package/dist/design/theme.cjs.js.map +1 -0
- package/dist/design/theme.es.js +12 -0
- package/dist/design/theme.es.js.map +1 -0
- package/dist/hooks/useBreakpoint.cjs.js +2 -0
- package/dist/hooks/useBreakpoint.cjs.js.map +1 -0
- package/dist/hooks/useBreakpoint.es.js +17 -0
- package/dist/hooks/useBreakpoint.es.js.map +1 -0
- package/dist/hooks/useIsClosing.cjs.js +2 -0
- package/dist/hooks/useIsClosing.cjs.js.map +1 -0
- package/dist/hooks/useIsClosing.es.js +30 -0
- package/dist/hooks/useIsClosing.es.js.map +1 -0
- package/dist/hooks/useLockBodyScroll.cjs.js +2 -0
- package/dist/hooks/useLockBodyScroll.cjs.js.map +1 -0
- package/dist/hooks/useLockBodyScroll.es.js +14 -0
- package/dist/hooks/useLockBodyScroll.es.js.map +1 -0
- package/dist/hooks/usePalette.cjs.js +2 -0
- package/dist/hooks/usePalette.cjs.js.map +1 -0
- package/dist/hooks/usePalette.es.js +37 -0
- package/dist/hooks/usePalette.es.js.map +1 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.cjs.js.map +1 -1
- package/dist/hooks.es.js +8 -37
- package/dist/hooks.es.js.map +1 -1
- package/dist/index.cjs.js +1 -17
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +5 -27
- package/dist/index.es.js +61 -8798
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js +2 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js.map +1 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js +48 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js.map +1 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js +2 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js.map +1 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js +33 -0
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js.map +1 -0
- package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js +2 -0
- package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/button/dist/useButton.es.js +47 -0
- package/dist/node_modules/@react-aria/button/dist/useButton.es.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js +2 -0
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js +134 -0
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js +2 -0
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js +145 -0
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js +2 -0
- package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/Document.es.js +220 -0
- package/dist/node_modules/@react-aria/collections/dist/Document.es.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js +2 -0
- package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js +36 -0
- package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js +2 -0
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js +37 -0
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js.map +1 -0
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js +2 -0
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js +44 -0
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js +2 -0
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js +423 -0
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js +2 -0
- package/dist/node_modules/@react-aria/focus/dist/isElementVisible.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js +23 -0
- package/dist/node_modules/@react-aria/focus/dist/isElementVisible.es.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js +2 -0
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js +32 -0
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js.map +1 -0
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js +2 -0
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js +76 -0
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js +2 -0
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js +11 -0
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js +2 -0
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js +12 -0
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js +2 -0
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js +30 -0
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js +2 -0
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js +24 -0
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js +45 -0
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js +15 -0
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js +10 -0
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js +29 -0
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js +15 -0
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js +35 -0
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js +30 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +67 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js +56 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js +42 -0
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js +85 -0
- package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js +51 -0
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js +13 -0
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js +50 -0
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js +375 -0
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js +92 -0
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js +2 -0
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/label/dist/useField.es.js +36 -0
- package/dist/node_modules/@react-aria/label/dist/useField.es.js.map +1 -0
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js +2 -0
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js +23 -0
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js +2 -0
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js +52 -0
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js +2 -0
- package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js +79 -0
- package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/listbox/dist/utils.es.js +14 -0
- package/dist/node_modules/@react-aria/listbox/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js +2 -0
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js +48 -0
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/en-US.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/en-US.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js +75 -0
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js +39 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js +144 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js +64 -0
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/utils.es.js +5 -0
- package/dist/node_modules/@react-aria/menu/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js +2 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js +8 -0
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js +26 -0
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +39 -0
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js +11 -0
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +72 -0
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js +200 -0
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js +75 -0
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js +26 -0
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js +30 -0
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js +53 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js +143 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js +27 -0
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js +45 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js +98 -0
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js +2 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js +8 -0
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js +2 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js +58 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js +2 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js +78 -0
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js +5 -0
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js +2 -0
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js +73 -0
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js.map +1 -0
- package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js +2 -0
- package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/select/dist/useSelect.es.js +117 -0
- package/dist/node_modules/@react-aria/select/dist/useSelect.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js +41 -0
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js +122 -0
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js +227 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js +122 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js +37 -0
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js +33 -0
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js +2 -0
- package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/selection/dist/utils.es.js +24 -0
- package/dist/node_modules/@react-aria/selection/dist/utils.es.js.map +1 -0
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js +2 -0
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js +19 -0
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js.map +1 -0
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js +2 -0
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js +20 -0
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js.map +1 -0
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js +2 -0
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js +48 -0
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js.map +1 -0
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js +2 -0
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js.map +1 -0
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js +41 -0
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js +2 -0
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js +171 -0
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js +2 -0
- package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/Item.es.js +38 -0
- package/dist/node_modules/@react-stately/collections/dist/Item.es.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js +2 -0
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js +34 -0
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js +2 -0
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js +14 -0
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js +2 -0
- package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js +24 -0
- package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js.map +1 -0
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js +110 -0
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js +2 -0
- package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js +57 -0
- package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/useListState.es.js +70 -0
- package/dist/node_modules/@react-stately/list/dist/useListState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js +35 -0
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js +34 -0
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js +30 -0
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js +33 -0
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js +33 -0
- package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js +2 -0
- package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/Selection.es.js +9 -0
- package/dist/node_modules/@react-stately/selection/dist/Selection.es.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js +2 -0
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js +285 -0
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js +58 -0
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js +19 -0
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js +2 -0
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js +53 -0
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js.map +1 -0
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js +38 -0
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js.map +1 -0
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js +2 -0
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js.map +1 -0
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js +31 -0
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js +9 -0
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js +8 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js +13 -0
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js +9 -0
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js +11 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js +9 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js +2 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js.map +1 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js +11 -0
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js.map +1 -0
- package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js +2 -0
- package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js.map +1 -0
- package/dist/node_modules/color2k/dist/index.exports.import.es.es.js +171 -0
- package/dist/node_modules/color2k/dist/index.exports.import.es.es.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +23 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +609 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +10 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +29 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.cjs.js +2 -0
- package/dist/node_modules/react/jsx-runtime.cjs.js.map +1 -0
- package/dist/node_modules/react/jsx-runtime.es.js +9 -0
- package/dist/node_modules/react/jsx-runtime.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js +6 -0
- package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Button.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Button.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Button.es.js +77 -0
- package/dist/node_modules/react-aria-components/dist/Button.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Collection.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Collection.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Collection.es.js +48 -0
- package/dist/node_modules/react-aria-components/dist/Collection.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Dialog.es.js +6 -0
- package/dist/node_modules/react-aria-components/dist/Dialog.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Header.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Header.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Header.es.js +15 -0
- package/dist/node_modules/react-aria-components/dist/Header.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Keyboard.es.js +6 -0
- package/dist/node_modules/react-aria-components/dist/Keyboard.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Menu.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Menu.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Menu.es.js +283 -0
- package/dist/node_modules/react-aria-components/dist/Menu.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js +37 -0
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Popover.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Popover.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Popover.es.js +130 -0
- package/dist/node_modules/react-aria-components/dist/Popover.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js +6 -0
- package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Separator.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Separator.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Separator.es.js +6 -0
- package/dist/node_modules/react-aria-components/dist/Separator.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Text.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Text.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Text.es.js +16 -0
- package/dist/node_modules/react-aria-components/dist/Text.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/Tooltip.es.js +97 -0
- package/dist/node_modules/react-aria-components/dist/Tooltip.es.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/utils.cjs.js +2 -0
- package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +1 -0
- package/dist/node_modules/react-aria-components/dist/utils.es.js +101 -0
- package/dist/node_modules/react-aria-components/dist/utils.es.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js +10 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +68 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js +10 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +56 -0
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.cjs.js +2 -0
- package/dist/node_modules/use-sync-external-store/shim/index.cjs.js.map +1 -0
- package/dist/node_modules/use-sync-external-store/shim/index.es.js +9 -0
- package/dist/node_modules/use-sync-external-store/shim/index.es.js.map +1 -0
- package/dist/theme/dark.cjs.js +1 -1
- package/dist/theme/dark.cjs.js.map +1 -1
- package/dist/theme/dark.es.js +8 -55
- package/dist/theme/dark.es.js.map +1 -1
- package/dist/theme/light.cjs.js +1 -1
- package/dist/theme/light.cjs.js.map +1 -1
- package/dist/theme/light.es.js +8 -55
- package/dist/theme/light.es.js.map +1 -1
- package/dist/theme.cjs.js +1 -1
- package/dist/theme.cjs.js.map +1 -1
- package/dist/theme.es.js +9 -15
- package/dist/theme.es.js.map +1 -1
- package/dist/utils/color2k.cjs.js +2 -0
- package/dist/utils/color2k.cjs.js.map +1 -0
- package/dist/utils/color2k.es.js +14 -0
- package/dist/utils/color2k.es.js.map +1 -0
- package/dist/utils/copy.cjs.js +2 -0
- package/dist/utils/copy.cjs.js.map +1 -0
- package/dist/{copy-qSgElu2b.mjs → utils/copy.es.js} +2 -2
- package/dist/utils/copy.es.js.map +1 -0
- package/dist/utils/image.cjs.js +2 -0
- package/dist/utils/image.cjs.js.map +1 -0
- package/dist/utils/image.es.js +28 -0
- package/dist/utils/image.es.js.map +1 -0
- package/dist/utils/navigation.cjs.js +2 -0
- package/dist/utils/navigation.cjs.js.map +1 -0
- package/dist/utils/navigation.es.js +12 -0
- package/dist/utils/navigation.es.js.map +1 -0
- package/dist/utils/palette.cjs.js +2 -0
- package/dist/utils/palette.cjs.js.map +1 -0
- package/dist/utils/palette.es.js +183 -0
- package/dist/utils/palette.es.js.map +1 -0
- package/dist/utils/string.cjs.js +2 -0
- package/dist/utils/string.cjs.js.map +1 -0
- package/dist/utils/string.es.js +8 -0
- package/dist/utils/string.es.js.map +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +19 -16
- package/dist/utils.es.js.map +1 -1
- package/package.json +7 -9
- package/dist/Button-D5vY_uZz.js +0 -31
- package/dist/Button-D5vY_uZz.js.map +0 -1
- package/dist/Button-R07nvJbw.mjs +0 -727
- package/dist/Button-R07nvJbw.mjs.map +0 -1
- package/dist/Button.cjs.js +0 -2
- package/dist/Button.cjs.js.map +0 -1
- package/dist/Button.d.ts +0 -53
- package/dist/Button.es.js +0 -9
- package/dist/Button.es.js.map +0 -1
- package/dist/breakpoint-9y1_8U_b.mjs.map +0 -1
- package/dist/breakpoint-DtqbboOa.js +0 -2
- package/dist/breakpoint-DtqbboOa.js.map +0 -1
- package/dist/color2k-CpDB_dpw.mjs +0 -168
- package/dist/color2k-CpDB_dpw.mjs.map +0 -1
- package/dist/color2k-DCgwXUem.js +0 -2
- package/dist/color2k-DCgwXUem.js.map +0 -1
- package/dist/colors-CWaj9dFz.mjs.map +0 -1
- package/dist/colors-CebzFjpe.js +0 -2
- package/dist/colors-CmSJBHaf.js +0 -2
- package/dist/colors-CmSJBHaf.js.map +0 -1
- package/dist/colors-DL1dYffC.js +0 -2
- package/dist/copy-DxIZCnfT.js +0 -2
- package/dist/copy-DxIZCnfT.js.map +0 -1
- package/dist/copy-qSgElu2b.mjs.map +0 -1
- package/dist/image-CUSfY1_T.js +0 -2
- package/dist/image-CUSfY1_T.js.map +0 -1
- package/dist/image-DFyN0Kd9.mjs +0 -207
- package/dist/image-DFyN0Kd9.mjs.map +0 -1
- package/dist/navigation-DdxS0JoV.js +0 -2
- package/dist/navigation-DdxS0JoV.js.map +0 -1
- package/dist/navigation-DsfDNfej.mjs +0 -16
- package/dist/navigation-DsfDNfej.mjs.map +0 -1
- package/dist/useBreakpoint-CA9tMMV8.js +0 -2
- package/dist/useBreakpoint-CA9tMMV8.js.map +0 -1
- package/dist/useBreakpoint-CjRyGKN-.mjs +0 -53
- package/dist/useBreakpoint-CjRyGKN-.mjs.map +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=Symbol.for("react-aria.i18n.locale"),d=Symbol.for("react-aria.i18n.strings");let o;class a{getStringForLocale(t,e){let i=this.getStringsForLocale(e)[t];if(!i)throw new Error(`Could not find intl message ${t} in ${e} locale`);return i}getStringsForLocale(t){let e=this.strings[t];return e||(e=c(t,this.strings,this.defaultLocale),this.strings[t]=e),e}static getGlobalDictionaryForPackage(t){if(typeof window>"u")return null;let e=window[s];if(o===void 0){let i=window[d];if(!i)return null;o={};for(let l in i)o[l]=new a({[e]:i[l]},e)}let r=o==null?void 0:o[t];if(!r)throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}constructor(t,e="en-US"){this.strings=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=e}}function c(n,t,e="en-US"){if(t[n])return t[n];let r=g(n);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[e]}function g(n){return Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]}exports.LocalizedStringDictionary=a;
|
|
2
|
+
//# sourceMappingURL=LocalizedStringDictionary.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedStringDictionary.cjs.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $5b160d28a433310d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $5b160d28a433310d$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $5b160d28a433310d$var$cachedGlobalStrings = undefined;\nclass $5b160d28a433310d$export$c17fa47878dc55b6 {\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $5b160d28a433310d$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$5b160d28a433310d$var$localeSymbol];\n if ($5b160d28a433310d$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$5b160d28a433310d$var$stringsSymbol];\n if (!globalStrings) return null;\n $5b160d28a433310d$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$var$cachedGlobalStrings[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n}\nfunction $5b160d28a433310d$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $5b160d28a433310d$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $5b160d28a433310d$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$5b160d28a433310d$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.module.js.map\n"],"names":["$5b160d28a433310d$var$localeSymbol","$5b160d28a433310d$var$stringsSymbol","$5b160d28a433310d$var$cachedGlobalStrings","$5b160d28a433310d$export$c17fa47878dc55b6","key","locale","string","strings","$5b160d28a433310d$var$getStringsForLocale","packageName","globalStrings","pkg","dictionary","messages","defaultLocale","v","language","$5b160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,OAAOE,EAAQF,CAAM,EAM1C,IAAIW,EAAWC,EAAkCZ,CAAM,EACvD,GAAIE,EAAQS,CAAQ,EAAG,OAAOT,EAAQS,CAAQ,EAC9C,QAAQZ,KAAOG,EACX,GAAIH,EAAI,WAAWY,EAAW,GAAG,EAAG,OAAOT,EAAQH,CAAG,EAG1D,OAAOG,EAAQO,CAAa,CAChC,CACA,SAASG,EAAkCZ,EAAQ,CAE/C,OAAI,KAAK,OACF,IAAI,KAAK,OAAOA,CAAM,EAAE,SACxBA,EAAO,MAAM,GAAG,EAAE,CAAC,CAC9B","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const s = Symbol.for("react-aria.i18n.locale"), d = Symbol.for("react-aria.i18n.strings");
|
|
2
|
+
let o;
|
|
3
|
+
class l {
|
|
4
|
+
/** Returns a localized string for the given key and locale. */
|
|
5
|
+
getStringForLocale(t, r) {
|
|
6
|
+
let i = this.getStringsForLocale(r)[t];
|
|
7
|
+
if (!i) throw new Error(`Could not find intl message ${t} in ${r} locale`);
|
|
8
|
+
return i;
|
|
9
|
+
}
|
|
10
|
+
/** Returns all localized strings for the given locale. */
|
|
11
|
+
getStringsForLocale(t) {
|
|
12
|
+
let r = this.strings[t];
|
|
13
|
+
return r || (r = c(t, this.strings, this.defaultLocale), this.strings[t] = r), r;
|
|
14
|
+
}
|
|
15
|
+
static getGlobalDictionaryForPackage(t) {
|
|
16
|
+
if (typeof window > "u") return null;
|
|
17
|
+
let r = window[s];
|
|
18
|
+
if (o === void 0) {
|
|
19
|
+
let i = window[d];
|
|
20
|
+
if (!i) return null;
|
|
21
|
+
o = {};
|
|
22
|
+
for (let a in i) o[a] = new l({
|
|
23
|
+
[r]: i[a]
|
|
24
|
+
}, r);
|
|
25
|
+
}
|
|
26
|
+
let e = o == null ? void 0 : o[t];
|
|
27
|
+
if (!e) throw new Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
|
|
28
|
+
return e;
|
|
29
|
+
}
|
|
30
|
+
constructor(t, r = "en-US") {
|
|
31
|
+
this.strings = Object.fromEntries(Object.entries(t).filter(([, e]) => e)), this.defaultLocale = r;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
function c(n, t, r = "en-US") {
|
|
35
|
+
if (t[n]) return t[n];
|
|
36
|
+
let e = g(n);
|
|
37
|
+
if (t[e]) return t[e];
|
|
38
|
+
for (let i in t)
|
|
39
|
+
if (i.startsWith(e + "-")) return t[i];
|
|
40
|
+
return t[r];
|
|
41
|
+
}
|
|
42
|
+
function g(n) {
|
|
43
|
+
return Intl.Locale ? new Intl.Locale(n).language : n.split("-")[0];
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
l as LocalizedStringDictionary
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=LocalizedStringDictionary.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedStringDictionary.es.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringDictionary.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $5b160d28a433310d$var$localeSymbol = Symbol.for('react-aria.i18n.locale');\nconst $5b160d28a433310d$var$stringsSymbol = Symbol.for('react-aria.i18n.strings');\nlet $5b160d28a433310d$var$cachedGlobalStrings = undefined;\nclass $5b160d28a433310d$export$c17fa47878dc55b6 {\n /** Returns a localized string for the given key and locale. */ getStringForLocale(key, locale) {\n let strings = this.getStringsForLocale(locale);\n let string = strings[key];\n if (!string) throw new Error(`Could not find intl message ${key} in ${locale} locale`);\n return string;\n }\n /** Returns all localized strings for the given locale. */ getStringsForLocale(locale) {\n let strings = this.strings[locale];\n if (!strings) {\n strings = $5b160d28a433310d$var$getStringsForLocale(locale, this.strings, this.defaultLocale);\n this.strings[locale] = strings;\n }\n return strings;\n }\n static getGlobalDictionaryForPackage(packageName) {\n if (typeof window === 'undefined') return null;\n let locale = window[$5b160d28a433310d$var$localeSymbol];\n if ($5b160d28a433310d$var$cachedGlobalStrings === undefined) {\n let globalStrings = window[$5b160d28a433310d$var$stringsSymbol];\n if (!globalStrings) return null;\n $5b160d28a433310d$var$cachedGlobalStrings = {};\n for(let pkg in globalStrings)$5b160d28a433310d$var$cachedGlobalStrings[pkg] = new $5b160d28a433310d$export$c17fa47878dc55b6({\n [locale]: globalStrings[pkg]\n }, locale);\n }\n let dictionary = $5b160d28a433310d$var$cachedGlobalStrings === null || $5b160d28a433310d$var$cachedGlobalStrings === void 0 ? void 0 : $5b160d28a433310d$var$cachedGlobalStrings[packageName];\n if (!dictionary) throw new Error(`Strings for package \"${packageName}\" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);\n return dictionary;\n }\n constructor(messages, defaultLocale = 'en-US'){\n // Clone messages so we don't modify the original object.\n // Filter out entries with falsy values which may have been caused by applying optimize-locales-plugin.\n this.strings = Object.fromEntries(Object.entries(messages).filter(([, v])=>v));\n this.defaultLocale = defaultLocale;\n }\n}\nfunction $5b160d28a433310d$var$getStringsForLocale(locale, strings, defaultLocale = 'en-US') {\n // If there is an exact match, use it.\n if (strings[locale]) return strings[locale];\n // Attempt to find the closest match by language.\n // For example, if the locale is fr-CA (French Canadian), but there is only\n // an fr-FR (France) set of strings, use that.\n // This could be replaced with Intl.LocaleMatcher once it is supported.\n // https://github.com/tc39/proposal-intl-localematcher\n let language = $5b160d28a433310d$var$getLanguage(locale);\n if (strings[language]) return strings[language];\n for(let key in strings){\n if (key.startsWith(language + '-')) return strings[key];\n }\n // Nothing close, use english.\n return strings[defaultLocale];\n}\nfunction $5b160d28a433310d$var$getLanguage(locale) {\n // @ts-ignore\n if (Intl.Locale) // @ts-ignore\n return new Intl.Locale(locale).language;\n return locale.split('-')[0];\n}\n\n\nexport {$5b160d28a433310d$export$c17fa47878dc55b6 as LocalizedStringDictionary};\n//# sourceMappingURL=LocalizedStringDictionary.module.js.map\n"],"names":["$5b160d28a433310d$var$localeSymbol","$5b160d28a433310d$var$stringsSymbol","$5b160d28a433310d$var$cachedGlobalStrings","$5b160d28a433310d$export$c17fa47878dc55b6","key","locale","string","strings","$5b160d28a433310d$var$getStringsForLocale","packageName","globalStrings","pkg","dictionary","messages","defaultLocale","v","language","$5b160d28a433310d$var$getLanguage"],"mappings":"AAUI,MAAMA,IAAqC,OAAO,IAAI,wBAAwB,GAC5EC,IAAsC,OAAO,IAAI,yBAAyB;AAChF,IAAIC;AACJ,MAAMC,EAA0C;AAAA;AAAA,EACoB,mBAAmBC,GAAKC,GAAQ;AAE5F,QAAIC,IADU,KAAK,oBAAoBD,CAAM,EACxBD,CAAG;AACxB,QAAI,CAACE,EAAQ,OAAM,IAAI,MAAM,+BAA+BF,CAAG,OAAOC,CAAM,SAAS;AACrF,WAAOC;AAAA,EACV;AAAA;AAAA,EAC0D,oBAAoBD,GAAQ;AACnF,QAAIE,IAAU,KAAK,QAAQF,CAAM;AACjC,WAAKE,MACDA,IAAUC,EAA0CH,GAAQ,KAAK,SAAS,KAAK,aAAa,GAC5F,KAAK,QAAQA,CAAM,IAAIE,IAEpBA;AAAA,EACV;AAAA,EACD,OAAO,8BAA8BE,GAAa;AAC9C,QAAI,OAAO,SAAW,IAAa,QAAO;AAC1C,QAAIJ,IAAS,OAAOL,CAAkC;AACtD,QAAIE,MAA8C,QAAW;AACzD,UAAIQ,IAAgB,OAAOT,CAAmC;AAC9D,UAAI,CAACS,EAAe,QAAO;AAC3B,MAAAR,IAA4C,CAAA;AAC5C,eAAQS,KAAOD,EAAc,CAAAR,EAA0CS,CAAG,IAAI,IAAIR,EAA0C;AAAA,QACxH,CAACE,CAAM,GAAGK,EAAcC,CAAG;AAAA,MAC9B,GAAEN,CAAM;AAAA,IACZ;AACD,QAAIO,IAAaV,KAA8C,OAA+D,SAASA,EAA0CO,CAAW;AAC5L,QAAI,CAACG,EAAY,OAAM,IAAI,MAAM,wBAAwBH,CAAW,sHAAsH;AAC1L,WAAOG;AAAA,EACV;AAAA,EACD,YAAYC,GAAUC,IAAgB,SAAQ;AAG1C,SAAK,UAAU,OAAO,YAAY,OAAO,QAAQD,CAAQ,EAAE,OAAO,CAAC,CAAA,EAAGE,CAAC,MAAIA,CAAC,CAAC,GAC7E,KAAK,gBAAgBD;AAAA,EACxB;AACL;AACA,SAASN,EAA0CH,GAAQE,GAASO,IAAgB,SAAS;AAEzF,MAAIP,EAAQF,CAAM,EAAG,QAAOE,EAAQF,CAAM;AAM1C,MAAIW,IAAWC,EAAkCZ,CAAM;AACvD,MAAIE,EAAQS,CAAQ,EAAG,QAAOT,EAAQS,CAAQ;AAC9C,WAAQZ,KAAOG;AACX,QAAIH,EAAI,WAAWY,IAAW,GAAG,EAAG,QAAOT,EAAQH,CAAG;AAG1D,SAAOG,EAAQO,CAAa;AAChC;AACA,SAASG,EAAkCZ,GAAQ;AAE/C,SAAI,KAAK,SACF,IAAI,KAAK,OAAOA,CAAM,EAAE,WACxBA,EAAO,MAAM,GAAG,EAAE,CAAC;AAC9B;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=new Map,n=new Map;class i{format(t,e){let l=this.strings.getStringForLocale(t,this.locale);return typeof l=="function"?l(e,this):l}plural(t,e,l="cardinal"){let r=e["="+t];if(r)return typeof r=="function"?r():r;let c=this.locale+":"+l,a=o.get(c);a||(a=new Intl.PluralRules(this.locale,{type:l}),o.set(c,a));let s=a.select(t);return r=e[s]||e.other,typeof r=="function"?r():r}number(t){let e=n.get(this.locale);return e||(e=new Intl.NumberFormat(this.locale),n.set(this.locale,e)),e.format(t)}select(t,e){let l=t[e]||t.other;return typeof l=="function"?l():l}constructor(t,e){this.locale=t,this.strings=e}}exports.LocalizedStringFormatter=i;
|
|
2
|
+
//# sourceMappingURL=LocalizedStringFormatter.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedStringFormatter.cjs.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n"],"names":["$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","key","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","locale","strings"],"mappings":"gFAUI,MAAMA,EAAyC,IAAI,IACjDC,EAA0C,IAAI,IACpD,MAAMC,CAA0C,CACqC,OAAOC,EAAKC,EAAW,CACpG,IAAIC,EAAU,KAAK,QAAQ,mBAAmBF,EAAK,KAAK,MAAM,EAC9D,OAAO,OAAOE,GAAY,WAAaA,EAAQD,EAAW,IAAI,EAAIC,CACrE,CACD,OAAOC,EAAOC,EAASC,EAAO,WAAY,CACtC,IAAIC,EAAMF,EAAQ,IAAMD,CAAK,EAC7B,GAAIG,EAAK,OAAO,OAAOA,GAAQ,WAAaA,EAAK,EAAGA,EACpD,IAAIN,EAAM,KAAK,OAAS,IAAMK,EAC1BE,EAAcV,EAAuC,IAAIG,CAAG,EAC3DO,IACDA,EAAc,IAAI,KAAK,YAAY,KAAK,OAAQ,CAC5C,KAAMF,CACtB,CAAa,EACDR,EAAuC,IAAIG,EAAKO,CAAW,GAE/D,IAAIC,EAAWD,EAAY,OAAOJ,CAAK,EACvC,OAAAG,EAAMF,EAAQI,CAAQ,GAAKJ,EAAQ,MAC5B,OAAOE,GAAQ,WAAaA,EAAG,EAAKA,CAC9C,CACD,OAAOG,EAAO,CACV,IAAIC,EAAeZ,EAAwC,IAAI,KAAK,MAAM,EAC1E,OAAKY,IACDA,EAAe,IAAI,KAAK,aAAa,KAAK,MAAM,EAChDZ,EAAwC,IAAI,KAAK,OAAQY,CAAY,GAElEA,EAAa,OAAOD,CAAK,CACnC,CACD,OAAOL,EAASK,EAAO,CACnB,IAAIH,EAAMF,EAAQK,CAAK,GAAKL,EAAQ,MACpC,OAAO,OAAOE,GAAQ,WAAaA,EAAG,EAAKA,CAC9C,CACD,YAAYK,EAAQC,EAAQ,CACxB,KAAK,OAASD,EACd,KAAK,QAAUC,CAClB,CACL","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map();
|
|
2
|
+
class u {
|
|
3
|
+
/** Formats a localized string for the given key with the provided variables. */
|
|
4
|
+
format(t, e) {
|
|
5
|
+
let l = this.strings.getStringForLocale(t, this.locale);
|
|
6
|
+
return typeof l == "function" ? l(e, this) : l;
|
|
7
|
+
}
|
|
8
|
+
plural(t, e, l = "cardinal") {
|
|
9
|
+
let r = e["=" + t];
|
|
10
|
+
if (r) return typeof r == "function" ? r() : r;
|
|
11
|
+
let c = this.locale + ":" + l, a = o.get(c);
|
|
12
|
+
a || (a = new Intl.PluralRules(this.locale, {
|
|
13
|
+
type: l
|
|
14
|
+
}), o.set(c, a));
|
|
15
|
+
let n = a.select(t);
|
|
16
|
+
return r = e[n] || e.other, typeof r == "function" ? r() : r;
|
|
17
|
+
}
|
|
18
|
+
number(t) {
|
|
19
|
+
let e = s.get(this.locale);
|
|
20
|
+
return e || (e = new Intl.NumberFormat(this.locale), s.set(this.locale, e)), e.format(t);
|
|
21
|
+
}
|
|
22
|
+
select(t, e) {
|
|
23
|
+
let l = t[e] || t.other;
|
|
24
|
+
return typeof l == "function" ? l() : l;
|
|
25
|
+
}
|
|
26
|
+
constructor(t, e) {
|
|
27
|
+
this.locale = t, this.strings = e;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
u as LocalizedStringFormatter
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=LocalizedStringFormatter.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LocalizedStringFormatter.es.js","sources":["../../../../../node_modules/@internationalized/string/dist/LocalizedStringFormatter.mjs"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ const $6db58dc88e78b024$var$pluralRulesCache = new Map();\nconst $6db58dc88e78b024$var$numberFormatCache = new Map();\nclass $6db58dc88e78b024$export$2f817fcdc4b89ae0 {\n /** Formats a localized string for the given key with the provided variables. */ format(key, variables) {\n let message = this.strings.getStringForLocale(key, this.locale);\n return typeof message === 'function' ? message(variables, this) : message;\n }\n plural(count, options, type = 'cardinal') {\n let opt = options['=' + count];\n if (opt) return typeof opt === 'function' ? opt() : opt;\n let key = this.locale + ':' + type;\n let pluralRules = $6db58dc88e78b024$var$pluralRulesCache.get(key);\n if (!pluralRules) {\n pluralRules = new Intl.PluralRules(this.locale, {\n type: type\n });\n $6db58dc88e78b024$var$pluralRulesCache.set(key, pluralRules);\n }\n let selected = pluralRules.select(count);\n opt = options[selected] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n number(value) {\n let numberFormat = $6db58dc88e78b024$var$numberFormatCache.get(this.locale);\n if (!numberFormat) {\n numberFormat = new Intl.NumberFormat(this.locale);\n $6db58dc88e78b024$var$numberFormatCache.set(this.locale, numberFormat);\n }\n return numberFormat.format(value);\n }\n select(options, value) {\n let opt = options[value] || options.other;\n return typeof opt === 'function' ? opt() : opt;\n }\n constructor(locale, strings){\n this.locale = locale;\n this.strings = strings;\n }\n}\n\n\nexport {$6db58dc88e78b024$export$2f817fcdc4b89ae0 as LocalizedStringFormatter};\n//# sourceMappingURL=LocalizedStringFormatter.module.js.map\n"],"names":["$6db58dc88e78b024$var$pluralRulesCache","$6db58dc88e78b024$var$numberFormatCache","$6db58dc88e78b024$export$2f817fcdc4b89ae0","key","variables","message","count","options","type","opt","pluralRules","selected","value","numberFormat","locale","strings"],"mappings":"AAUI,MAAMA,IAAyC,oBAAI,OACjDC,IAA0C,oBAAI;AACpD,MAAMC,EAA0C;AAAA;AAAA,EACqC,OAAOC,GAAKC,GAAW;AACpG,QAAIC,IAAU,KAAK,QAAQ,mBAAmBF,GAAK,KAAK,MAAM;AAC9D,WAAO,OAAOE,KAAY,aAAaA,EAAQD,GAAW,IAAI,IAAIC;AAAA,EACrE;AAAA,EACD,OAAOC,GAAOC,GAASC,IAAO,YAAY;AACtC,QAAIC,IAAMF,EAAQ,MAAMD,CAAK;AAC7B,QAAIG,EAAK,QAAO,OAAOA,KAAQ,aAAaA,EAAK,IAAGA;AACpD,QAAIN,IAAM,KAAK,SAAS,MAAMK,GAC1BE,IAAcV,EAAuC,IAAIG,CAAG;AAChE,IAAKO,MACDA,IAAc,IAAI,KAAK,YAAY,KAAK,QAAQ;AAAA,MAC5C,MAAMF;AAAA,IACtB,CAAa,GACDR,EAAuC,IAAIG,GAAKO,CAAW;AAE/D,QAAIC,IAAWD,EAAY,OAAOJ,CAAK;AACvC,WAAAG,IAAMF,EAAQI,CAAQ,KAAKJ,EAAQ,OAC5B,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,OAAOG,GAAO;AACV,QAAIC,IAAeZ,EAAwC,IAAI,KAAK,MAAM;AAC1E,WAAKY,MACDA,IAAe,IAAI,KAAK,aAAa,KAAK,MAAM,GAChDZ,EAAwC,IAAI,KAAK,QAAQY,CAAY,IAElEA,EAAa,OAAOD,CAAK;AAAA,EACnC;AAAA,EACD,OAAOL,GAASK,GAAO;AACnB,QAAIH,IAAMF,EAAQK,CAAK,KAAKL,EAAQ;AACpC,WAAO,OAAOE,KAAQ,aAAaA,EAAG,IAAKA;AAAA,EAC9C;AAAA,EACD,YAAYK,GAAQC,GAAQ;AACxB,SAAK,SAASD,GACd,KAAK,UAAUC;AAAA,EAClB;AACL;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@react-aria/utils"),m=require("../../interactions/dist/usePress.cjs.js"),x=require("../../interactions/dist/useFocusable.cjs.js");function O(e,o){let{elementType:s="button",isDisabled:r,onPress:u,onPressStart:d,onPressEnd:l,onPressUp:P,onPressChange:b,preventFocusOnPress:c,allowFocusWhenDisabled:p,onClick:f,href:g,target:h,rel:y,type:i="button"}=e,n;s==="button"?n={type:i,disabled:r}:n={role:"button",href:s==="a"&&!r?g:void 0,target:s==="a"?h:void 0,type:s==="input"?i:void 0,disabled:s==="input"?r:void 0,"aria-disabled":!r||s==="input"?void 0:r,rel:s==="a"?y:void 0};let{pressProps:F,isPressed:C}=m.usePress({onPressStart:d,onPressEnd:l,onPressChange:b,onPress:u,onPressUp:P,onClick:f,isDisabled:r,preventFocusOnPress:c,ref:o}),{focusableProps:a}=x.useFocusable(e,o);p&&(a.tabIndex=r?-1:a.tabIndex);let D=t.mergeProps(a,F,t.filterDOMProps(e,{labelable:!0}));return{isPressed:C,buttonProps:t.mergeProps(n,D,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"]})}}exports.useButton=O;
|
|
2
|
+
//# sourceMappingURL=useButton.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useButton.cjs.js","sources":["../../../../../node_modules/@react-aria/button/dist/useButton.mjs"],"sourcesContent":["import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {usePress as $bwqiF$usePress, useFocusable as $bwqiF$useFocusable} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current']\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n"],"names":["$701a24aa0da5b062$export$ea18c227d4417cc3","props","ref","elementType","isDisabled","onPress","onPressStart","onPressEnd","onPressUp","onPressChange","preventFocusOnPress","allowFocusWhenDisabled","onClick","href","target","rel","type","additionalProps","pressProps","isPressed","$bwqiF$usePress","focusableProps","$bwqiF$useFocusable","buttonProps","$bwqiF$mergeProps","$bwqiF$filterDOMProps"],"mappings":"mOAeA,SAASA,EAA0CC,EAAOC,EAAK,CAC3D,GAAI,CAAE,YAAaC,EAAc,SAAU,WAAYC,EAAY,QAASC,EAAS,aAAcC,EAAc,WAAYC,EAAY,UAAWC,EAAW,cAAeC,EAAe,oBAAqBC,EAAqB,uBACvOC,EAAwB,QAASC,EAAS,KAAMC,EAAM,OAAQC,EAAQ,IAAKC,EAAK,KAAMC,EAAO,QAAQ,EAAKf,EACtGgB,EACAd,IAAgB,SAAUc,EAAkB,CAC5C,KAAMD,EACN,SAAUZ,CAClB,EACSa,EAAkB,CACnB,KAAM,SACN,KAAMd,IAAgB,KAAO,CAACC,EAAaS,EAAO,OAClD,OAAQV,IAAgB,IAAMW,EAAS,OACvC,KAAMX,IAAgB,QAAUa,EAAO,OACvC,SAAUb,IAAgB,QAAUC,EAAa,OACjD,gBAAiB,CAACA,GAAcD,IAAgB,QAAU,OAAYC,EACtE,IAAKD,IAAgB,IAAMY,EAAM,MACzC,EACI,GAAI,CAAE,WAAYG,EAAY,UAAWC,CAAS,EAASC,WAAiB,CACxE,aAAcd,EACd,WAAYC,EACZ,cAAeE,EACf,QAASJ,EACT,UAAWG,EACX,QAASI,EACT,WAAYR,EACZ,oBAAqBM,EACrB,IAAKR,CACb,CAAK,EACG,CAAE,eAAgBmB,CAAgB,EAAOC,EAAAA,aAAqBrB,EAAOC,CAAG,EACxES,IAAwBU,EAAe,SAAWjB,EAAa,GAAKiB,EAAe,UACvF,IAAIE,EAAkBC,aAAmBH,EAAgBH,EAAgBO,EAAqB,eAAExB,EAAO,CACnG,UAAW,EACd,CAAA,CAAC,EACF,MAAO,CACH,UAAWkB,EACX,YAAiBK,EAAAA,WAAmBP,EAAiBM,EAAa,CAC9D,gBAAiBtB,EAAM,eAAe,EACtC,gBAAiBA,EAAM,eAAe,EACtC,gBAAiBA,EAAM,eAAe,EACtC,eAAgBA,EAAM,cAAc,EACpC,eAAgBA,EAAM,cAAc,CAChD,CAAS,CACT,CACA","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { mergeProps as i, filterDOMProps as C } from "@react-aria/utils";
|
|
2
|
+
import { usePress as D } from "../../interactions/dist/usePress.es.js";
|
|
3
|
+
import { useFocusable as F } from "../../interactions/dist/useFocusable.es.js";
|
|
4
|
+
function E(e, t) {
|
|
5
|
+
let { elementType: s = "button", isDisabled: r, onPress: d, onPressStart: l, onPressEnd: u, onPressUp: P, onPressChange: p, preventFocusOnPress: c, allowFocusWhenDisabled: f, onClick: b, href: h, target: m, rel: $, type: o = "button" } = e, a;
|
|
6
|
+
s === "button" ? a = {
|
|
7
|
+
type: o,
|
|
8
|
+
disabled: r
|
|
9
|
+
} : a = {
|
|
10
|
+
role: "button",
|
|
11
|
+
href: s === "a" && !r ? h : void 0,
|
|
12
|
+
target: s === "a" ? m : void 0,
|
|
13
|
+
type: s === "input" ? o : void 0,
|
|
14
|
+
disabled: s === "input" ? r : void 0,
|
|
15
|
+
"aria-disabled": !r || s === "input" ? void 0 : r,
|
|
16
|
+
rel: s === "a" ? $ : void 0
|
|
17
|
+
};
|
|
18
|
+
let { pressProps: x, isPressed: g } = D({
|
|
19
|
+
onPressStart: l,
|
|
20
|
+
onPressEnd: u,
|
|
21
|
+
onPressChange: p,
|
|
22
|
+
onPress: d,
|
|
23
|
+
onPressUp: P,
|
|
24
|
+
onClick: b,
|
|
25
|
+
isDisabled: r,
|
|
26
|
+
preventFocusOnPress: c,
|
|
27
|
+
ref: t
|
|
28
|
+
}), { focusableProps: n } = F(e, t);
|
|
29
|
+
f && (n.tabIndex = r ? -1 : n.tabIndex);
|
|
30
|
+
let y = i(n, x, C(e, {
|
|
31
|
+
labelable: !0
|
|
32
|
+
}));
|
|
33
|
+
return {
|
|
34
|
+
isPressed: g,
|
|
35
|
+
buttonProps: i(a, y, {
|
|
36
|
+
"aria-haspopup": e["aria-haspopup"],
|
|
37
|
+
"aria-expanded": e["aria-expanded"],
|
|
38
|
+
"aria-controls": e["aria-controls"],
|
|
39
|
+
"aria-pressed": e["aria-pressed"],
|
|
40
|
+
"aria-current": e["aria-current"]
|
|
41
|
+
})
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
E as useButton
|
|
46
|
+
};
|
|
47
|
+
//# sourceMappingURL=useButton.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useButton.es.js","sources":["../../../../../node_modules/@react-aria/button/dist/useButton.mjs"],"sourcesContent":["import {mergeProps as $bwqiF$mergeProps, filterDOMProps as $bwqiF$filterDOMProps} from \"@react-aria/utils\";\nimport {usePress as $bwqiF$usePress, useFocusable as $bwqiF$useFocusable} from \"@react-aria/interactions\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\nfunction $701a24aa0da5b062$export$ea18c227d4417cc3(props, ref) {\n let { elementType: elementType = 'button', isDisabled: isDisabled, onPress: onPress, onPressStart: onPressStart, onPressEnd: onPressEnd, onPressUp: onPressUp, onPressChange: onPressChange, preventFocusOnPress: preventFocusOnPress, allowFocusWhenDisabled: // @ts-ignore - undocumented\n allowFocusWhenDisabled, onClick: onClick, href: href, target: target, rel: rel, type: type = 'button' } = props;\n let additionalProps;\n if (elementType === 'button') additionalProps = {\n type: type,\n disabled: isDisabled\n };\n else additionalProps = {\n role: 'button',\n href: elementType === 'a' && !isDisabled ? href : undefined,\n target: elementType === 'a' ? target : undefined,\n type: elementType === 'input' ? type : undefined,\n disabled: elementType === 'input' ? isDisabled : undefined,\n 'aria-disabled': !isDisabled || elementType === 'input' ? undefined : isDisabled,\n rel: elementType === 'a' ? rel : undefined\n };\n let { pressProps: pressProps, isPressed: isPressed } = (0, $bwqiF$usePress)({\n onPressStart: onPressStart,\n onPressEnd: onPressEnd,\n onPressChange: onPressChange,\n onPress: onPress,\n onPressUp: onPressUp,\n onClick: onClick,\n isDisabled: isDisabled,\n preventFocusOnPress: preventFocusOnPress,\n ref: ref\n });\n let { focusableProps: focusableProps } = (0, $bwqiF$useFocusable)(props, ref);\n if (allowFocusWhenDisabled) focusableProps.tabIndex = isDisabled ? -1 : focusableProps.tabIndex;\n let buttonProps = (0, $bwqiF$mergeProps)(focusableProps, pressProps, (0, $bwqiF$filterDOMProps)(props, {\n labelable: true\n }));\n return {\n isPressed: isPressed,\n buttonProps: (0, $bwqiF$mergeProps)(additionalProps, buttonProps, {\n 'aria-haspopup': props['aria-haspopup'],\n 'aria-expanded': props['aria-expanded'],\n 'aria-controls': props['aria-controls'],\n 'aria-pressed': props['aria-pressed'],\n 'aria-current': props['aria-current']\n })\n };\n}\n\n\nexport {$701a24aa0da5b062$export$ea18c227d4417cc3 as useButton};\n//# sourceMappingURL=useButton.module.js.map\n"],"names":["$701a24aa0da5b062$export$ea18c227d4417cc3","props","ref","elementType","isDisabled","onPress","onPressStart","onPressEnd","onPressUp","onPressChange","preventFocusOnPress","allowFocusWhenDisabled","onClick","href","target","rel","type","additionalProps","pressProps","isPressed","$bwqiF$usePress","focusableProps","$bwqiF$useFocusable","buttonProps","$bwqiF$mergeProps","$bwqiF$filterDOMProps"],"mappings":";;;AAeA,SAASA,EAA0CC,GAAOC,GAAK;AAC3D,MAAI,EAAE,aAAaC,IAAc,UAAU,YAAYC,GAAY,SAASC,GAAS,cAAcC,GAAc,YAAYC,GAAY,WAAWC,GAAW,eAAeC,GAAe,qBAAqBC,GAAqB,wBACvOC,GAAwB,SAASC,GAAS,MAAMC,GAAM,QAAQC,GAAQ,KAAKC,GAAK,MAAMC,IAAO,SAAQ,IAAKf,GACtGgB;AACJ,EAAId,MAAgB,WAAUc,IAAkB;AAAA,IAC5C,MAAMD;AAAA,IACN,UAAUZ;AAAA,EAClB,IACSa,IAAkB;AAAA,IACnB,MAAM;AAAA,IACN,MAAMd,MAAgB,OAAO,CAACC,IAAaS,IAAO;AAAA,IAClD,QAAQV,MAAgB,MAAMW,IAAS;AAAA,IACvC,MAAMX,MAAgB,UAAUa,IAAO;AAAA,IACvC,UAAUb,MAAgB,UAAUC,IAAa;AAAA,IACjD,iBAAiB,CAACA,KAAcD,MAAgB,UAAU,SAAYC;AAAA,IACtE,KAAKD,MAAgB,MAAMY,IAAM;AAAA,EACzC;AACI,MAAI,EAAE,YAAYG,GAAY,WAAWC,EAAS,IAASC,EAAiB;AAAA,IACxE,cAAcd;AAAA,IACd,YAAYC;AAAA,IACZ,eAAeE;AAAA,IACf,SAASJ;AAAA,IACT,WAAWG;AAAA,IACX,SAASI;AAAA,IACT,YAAYR;AAAA,IACZ,qBAAqBM;AAAA,IACrB,KAAKR;AAAA,EACb,CAAK,GACG,EAAE,gBAAgBmB,EAAgB,IAAOC,EAAqBrB,GAAOC,CAAG;AAC5E,EAAIS,MAAwBU,EAAe,WAAWjB,IAAa,KAAKiB,EAAe;AACvF,MAAIE,IAAkBC,EAAmBH,GAAgBH,GAAgBO,EAAuBxB,GAAO;AAAA,IACnG,WAAW;AAAA,EACd,CAAA,CAAC;AACF,SAAO;AAAA,IACH,WAAWkB;AAAA,IACX,aAAiBK,EAAmBP,GAAiBM,GAAa;AAAA,MAC9D,iBAAiBtB,EAAM,eAAe;AAAA,MACtC,iBAAiBA,EAAM,eAAe;AAAA,MACtC,iBAAiBA,EAAM,eAAe;AAAA,MACtC,gBAAgBA,EAAM,cAAc;AAAA,MACpC,gBAAgBA,EAAM,cAAc;AAAA,IAChD,CAAS;AAAA,EACT;AACA;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});class o{get childNodes(){throw new Error("childNodes is not supported")}clone(){let t=new o(this.type,this.key);return t.value=this.value,t.level=this.level,t.hasChildNodes=this.hasChildNodes,t.rendered=this.rendered,t.textValue=this.textValue,t["aria-label"]=this["aria-label"],t.index=this.index,t.parentKey=this.parentKey,t.prevKey=this.prevKey,t.nextKey=this.nextKey,t.firstChildKey=this.firstChildKey,t.lastChildKey=this.lastChildKey,t.props=this.props,t.render=this.render,t.colSpan=this.colSpan,t.colIndex=this.colIndex,t}constructor(t,e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=t,this.key=e}}class d{get size(){return this.keyMap.size}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let t=this.firstKey!=null?this.keyMap.get(this.firstKey):void 0;for(;t;)yield t,t=t.nextKey!=null?this.keyMap.get(t.nextKey):void 0}getChildren(t){let e=this.keyMap;return{*[Symbol.iterator](){let l=e.get(t),n=(l==null?void 0:l.firstChildKey)!=null?e.get(l.firstChildKey):null;for(;n;)yield n,n=n.nextKey!=null?e.get(n.nextKey):void 0}}}getKeyBefore(t){let e=this.keyMap.get(t);if(!e)return null;if(e.prevKey!=null){for(e=this.keyMap.get(e.prevKey);e&&e.type!=="item"&&e.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);var l;return(l=e==null?void 0:e.key)!==null&&l!==void 0?l:null}return e.parentKey}getKeyAfter(t){let e=this.keyMap.get(t);if(!e)return null;if(e.type!=="item"&&e.firstChildKey!=null)return e.firstChildKey;for(;e;){if(e.nextKey!=null)return e.nextKey;if(e.parentKey!=null)e=this.keyMap.get(e.parentKey);else return null}return null}getFirstKey(){return this.firstKey}getLastKey(){let t=this.lastKey!=null?this.keyMap.get(this.lastKey):null;for(;(t==null?void 0:t.lastChildKey)!=null;)t=this.keyMap.get(t.lastChildKey);var e;return(e=t==null?void 0:t.key)!==null&&e!==void 0?e:null}getItem(t){var e;return(e=this.keyMap.get(t))!==null&&e!==void 0?e:null}at(){throw new Error("Not implemented")}clone(){let t=this.constructor,e=new t;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e}addNode(t){if(this.frozen)throw new Error("Cannot add a node to a frozen collection");this.keyMap.set(t.key,t)}removeNode(t){if(this.frozen)throw new Error("Cannot remove a node to a frozen collection");this.keyMap.delete(t)}commit(t,e,l=!1){if(this.frozen)throw new Error("Cannot commit a frozen collection");this.firstKey=t,this.lastKey=e,this.frozen=!l}UNSTABLE_filter(t){let e=new d,l=null;for(let n of this)if(n.type==="section"&&n.hasChildNodes){let i=n.clone(),r=null;for(let h of this.getChildren(n.key))if(a(h,t,this,e)){let s=h.clone();r==null&&(i.firstChildKey=s.key),e.firstKey==null&&(e.firstKey=i.key),r&&r.parentKey===s.parentKey?(r.nextKey=s.key,s.prevKey=r.key):s.prevKey=null,s.nextKey=null,e.addNode(s),r=s}r&&(r.type!=="header"?(i.lastChildKey=r.key,l==null?i.prevKey=null:(l.type==="section"||l.type==="separator")&&(l.nextKey=i.key,i.prevKey=l.key),i.nextKey=null,l=i,e.addNode(i)):(e.firstKey===i.key&&(e.firstKey=null),e.removeNode(r.key)))}else if(n.type==="separator"){let i=n.clone();i.nextKey=null,(l==null?void 0:l.type)==="section"&&(l.nextKey=i.key,i.prevKey=l.key,l=i,e.addNode(i))}else{let i=n.clone();a(i,t,this,e)&&(e.firstKey==null&&(e.firstKey=i.key),l!=null&&l.type!=="section"&&l.type!=="separator"&&l.parentKey===i.parentKey?(l.nextKey=i.key,i.prevKey=l.key):i.prevKey=null,i.nextKey=null,e.addNode(i),l=i)}if((l==null?void 0:l.type)==="separator"&&l.nextKey===null){let n;l.prevKey!=null&&(n=e.getItem(l.prevKey),n.nextKey=null),e.removeNode(l.key),l=n}return e.lastKey=(l==null?void 0:l.key)||null,e}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1}}function a(y,t,e,l){if(y.type==="subdialogtrigger"||y.type==="submenutrigger"){let n=[...e.getChildren(y.key)][0];if(n&&t(n.textValue)){let i=n.clone();return l.addNode(i),!0}else return!1}else return y.type==="header"?!0:t(y.textValue)}exports.BaseCollection=d;exports.CollectionNode=o;
|
|
2
|
+
//# sourceMappingURL=BaseCollection.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCollection.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"gFAUI,MAAMA,CAA0C,CAChD,IAAI,YAAa,CACb,MAAM,IAAI,MAAM,6BAA6B,CAChD,CACD,OAAQ,CACJ,IAAIC,EAAO,IAAID,EAA0C,KAAK,KAAM,KAAK,GAAG,EAC5E,OAAAC,EAAK,MAAQ,KAAK,MAClBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,SAAW,KAAK,SACrBA,EAAK,UAAY,KAAK,UACtBA,EAAK,YAAY,EAAI,KAAK,YAAY,EACtCA,EAAK,MAAQ,KAAK,MAClBA,EAAK,UAAY,KAAK,UACtBA,EAAK,QAAU,KAAK,QACpBA,EAAK,QAAU,KAAK,QACpBA,EAAK,cAAgB,KAAK,cAC1BA,EAAK,aAAe,KAAK,aACzBA,EAAK,MAAQ,KAAK,MAClBA,EAAK,OAAS,KAAK,OACnBA,EAAK,QAAU,KAAK,QACpBA,EAAK,SAAW,KAAK,SACdA,CACV,CACD,YAAYC,EAAMC,EAAI,CAClB,KAAK,MAAQ,KACb,KAAK,MAAQ,EACb,KAAK,cAAgB,GACrB,KAAK,SAAW,KAChB,KAAK,UAAY,GACjB,KAAK,YAAY,EAAI,OACrB,KAAK,MAAQ,EACb,KAAK,UAAY,KACjB,KAAK,QAAU,KACf,KAAK,QAAU,KACf,KAAK,cAAgB,KACrB,KAAK,aAAe,KACpB,KAAK,MAAQ,GACb,KAAK,QAAU,KACf,KAAK,SAAW,KAChB,KAAK,KAAOD,EACZ,KAAK,IAAMC,CACd,CACL,CACA,MAAMC,CAA0C,CAC5C,IAAI,MAAO,C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AAS,KAC3BO,EAAW,QAAU,KAC5BA,EAAW,QAAU,KACrBR,EAAc,QAAQQ,CAAU,EAChCP,EAAWO,EAElB,CAEL,IAAKP,GAAa,KAA8B,OAASA,EAAS,QAAU,aAAeA,EAAS,UAAY,KAAM,CAClH,IAAIQ,EACAR,EAAS,SAAW,OACpBQ,EAAcT,EAAc,QAAQC,EAAS,OAAO,EACpDQ,EAAY,QAAU,MAE1BT,EAAc,WAAWC,EAAS,GAAG,EACrCA,EAAWQ,CACd,CACD,OAAAT,EAAc,SAAWC,GAAa,KAA8B,OAASA,EAAS,MAAQ,KACvFD,CACV,CACD,aAAa,CACT,KAAK,OAAS,IAAI,IAClB,KAAK,SAAW,KAChB,KAAK,QAAU,KACf,KAAK,OAAS,EACjB,CACL,CACA,SAASK,EAAqCnB,EAAMa,EAAUW,EAAeV,EAAe,CACxF,GAAId,EAAK,OAAS,oBAAsBA,EAAK,OAAS,iBAAkB,CAGpE,IAAIyB,EAAe,CACf,GAAGD,EAAc,YAAYxB,EAAK,GAAG,CACxC,EAAC,CAAC,EACH,GAAIyB,GAAgBZ,EAASY,EAAa,SAAS,EAAG,CAClD,IAAIL,EAAcK,EAAa,QAC/B,OAAAX,EAAc,QAAQM,CAAW,EAC1B,EACV,KAAM,OAAO,EACjB,KAAM,QAAIpB,EAAK,OAAS,SAAiB,GAC9Ba,EAASb,EAAK,SAAS,CACvC","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
class a {
|
|
2
|
+
get childNodes() {
|
|
3
|
+
throw new Error("childNodes is not supported");
|
|
4
|
+
}
|
|
5
|
+
clone() {
|
|
6
|
+
let t = new a(this.type, this.key);
|
|
7
|
+
return t.value = this.value, t.level = this.level, t.hasChildNodes = this.hasChildNodes, t.rendered = this.rendered, t.textValue = this.textValue, t["aria-label"] = this["aria-label"], t.index = this.index, t.parentKey = this.parentKey, t.prevKey = this.prevKey, t.nextKey = this.nextKey, t.firstChildKey = this.firstChildKey, t.lastChildKey = this.lastChildKey, t.props = this.props, t.render = this.render, t.colSpan = this.colSpan, t.colIndex = this.colIndex, t;
|
|
8
|
+
}
|
|
9
|
+
constructor(t, e) {
|
|
10
|
+
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = t, this.key = e;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
class d {
|
|
14
|
+
get size() {
|
|
15
|
+
return this.keyMap.size;
|
|
16
|
+
}
|
|
17
|
+
getKeys() {
|
|
18
|
+
return this.keyMap.keys();
|
|
19
|
+
}
|
|
20
|
+
*[Symbol.iterator]() {
|
|
21
|
+
let t = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
22
|
+
for (; t; )
|
|
23
|
+
yield t, t = t.nextKey != null ? this.keyMap.get(t.nextKey) : void 0;
|
|
24
|
+
}
|
|
25
|
+
getChildren(t) {
|
|
26
|
+
let e = this.keyMap;
|
|
27
|
+
return {
|
|
28
|
+
*[Symbol.iterator]() {
|
|
29
|
+
let l = e.get(t), n = (l == null ? void 0 : l.firstChildKey) != null ? e.get(l.firstChildKey) : null;
|
|
30
|
+
for (; n; )
|
|
31
|
+
yield n, n = n.nextKey != null ? e.get(n.nextKey) : void 0;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
getKeyBefore(t) {
|
|
36
|
+
let e = this.keyMap.get(t);
|
|
37
|
+
if (!e) return null;
|
|
38
|
+
if (e.prevKey != null) {
|
|
39
|
+
for (e = this.keyMap.get(e.prevKey); e && e.type !== "item" && e.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
40
|
+
var l;
|
|
41
|
+
return (l = e == null ? void 0 : e.key) !== null && l !== void 0 ? l : null;
|
|
42
|
+
}
|
|
43
|
+
return e.parentKey;
|
|
44
|
+
}
|
|
45
|
+
getKeyAfter(t) {
|
|
46
|
+
let e = this.keyMap.get(t);
|
|
47
|
+
if (!e) return null;
|
|
48
|
+
if (e.type !== "item" && e.firstChildKey != null) return e.firstChildKey;
|
|
49
|
+
for (; e; ) {
|
|
50
|
+
if (e.nextKey != null) return e.nextKey;
|
|
51
|
+
if (e.parentKey != null) e = this.keyMap.get(e.parentKey);
|
|
52
|
+
else return null;
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
getFirstKey() {
|
|
57
|
+
return this.firstKey;
|
|
58
|
+
}
|
|
59
|
+
getLastKey() {
|
|
60
|
+
let t = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
61
|
+
for (; (t == null ? void 0 : t.lastChildKey) != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
62
|
+
var e;
|
|
63
|
+
return (e = t == null ? void 0 : t.key) !== null && e !== void 0 ? e : null;
|
|
64
|
+
}
|
|
65
|
+
getItem(t) {
|
|
66
|
+
var e;
|
|
67
|
+
return (e = this.keyMap.get(t)) !== null && e !== void 0 ? e : null;
|
|
68
|
+
}
|
|
69
|
+
at() {
|
|
70
|
+
throw new Error("Not implemented");
|
|
71
|
+
}
|
|
72
|
+
clone() {
|
|
73
|
+
let t = this.constructor, e = new t();
|
|
74
|
+
return e.keyMap = new Map(this.keyMap), e.firstKey = this.firstKey, e.lastKey = this.lastKey, e;
|
|
75
|
+
}
|
|
76
|
+
addNode(t) {
|
|
77
|
+
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
78
|
+
this.keyMap.set(t.key, t);
|
|
79
|
+
}
|
|
80
|
+
removeNode(t) {
|
|
81
|
+
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
82
|
+
this.keyMap.delete(t);
|
|
83
|
+
}
|
|
84
|
+
commit(t, e, l = !1) {
|
|
85
|
+
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
86
|
+
this.firstKey = t, this.lastKey = e, this.frozen = !l;
|
|
87
|
+
}
|
|
88
|
+
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
89
|
+
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
90
|
+
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
91
|
+
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
92
|
+
UNSTABLE_filter(t) {
|
|
93
|
+
let e = new d(), l = null;
|
|
94
|
+
for (let n of this)
|
|
95
|
+
if (n.type === "section" && n.hasChildNodes) {
|
|
96
|
+
let i = n.clone(), r = null;
|
|
97
|
+
for (let o of this.getChildren(n.key)) if (h(o, t, this, e)) {
|
|
98
|
+
let s = o.clone();
|
|
99
|
+
r == null && (i.firstChildKey = s.key), e.firstKey == null && (e.firstKey = i.key), r && r.parentKey === s.parentKey ? (r.nextKey = s.key, s.prevKey = r.key) : s.prevKey = null, s.nextKey = null, e.addNode(s), r = s;
|
|
100
|
+
}
|
|
101
|
+
r && (r.type !== "header" ? (i.lastChildKey = r.key, l == null ? i.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = i.key, i.prevKey = l.key), i.nextKey = null, l = i, e.addNode(i)) : (e.firstKey === i.key && (e.firstKey = null), e.removeNode(r.key)));
|
|
102
|
+
} else if (n.type === "separator") {
|
|
103
|
+
let i = n.clone();
|
|
104
|
+
i.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = i.key, i.prevKey = l.key, l = i, e.addNode(i));
|
|
105
|
+
} else {
|
|
106
|
+
let i = n.clone();
|
|
107
|
+
h(i, t, this, e) && (e.firstKey == null && (e.firstKey = i.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === i.parentKey ? (l.nextKey = i.key, i.prevKey = l.key) : i.prevKey = null, i.nextKey = null, e.addNode(i), l = i);
|
|
108
|
+
}
|
|
109
|
+
if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
|
|
110
|
+
let n;
|
|
111
|
+
l.prevKey != null && (n = e.getItem(l.prevKey), n.nextKey = null), e.removeNode(l.key), l = n;
|
|
112
|
+
}
|
|
113
|
+
return e.lastKey = (l == null ? void 0 : l.key) || null, e;
|
|
114
|
+
}
|
|
115
|
+
constructor() {
|
|
116
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function h(y, t, e, l) {
|
|
120
|
+
if (y.type === "subdialogtrigger" || y.type === "submenutrigger") {
|
|
121
|
+
let n = [
|
|
122
|
+
...e.getChildren(y.key)
|
|
123
|
+
][0];
|
|
124
|
+
if (n && t(n.textValue)) {
|
|
125
|
+
let i = n.clone();
|
|
126
|
+
return l.addNode(i), !0;
|
|
127
|
+
} else return !1;
|
|
128
|
+
} else return y.type === "header" ? !0 : t(y.textValue);
|
|
129
|
+
}
|
|
130
|
+
export {
|
|
131
|
+
d as BaseCollection,
|
|
132
|
+
a as CollectionNode
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=BaseCollection.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCollection.es.js","sources":["../../../../../node_modules/@react-aria/collections/dist/BaseCollection.mjs"],"sourcesContent":["/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ class $23b9f4fcf0fe224b$export$d68d59712b04d9d1 {\n get childNodes() {\n throw new Error('childNodes is not supported');\n }\n clone() {\n let node = new $23b9f4fcf0fe224b$export$d68d59712b04d9d1(this.type, this.key);\n node.value = this.value;\n node.level = this.level;\n node.hasChildNodes = this.hasChildNodes;\n node.rendered = this.rendered;\n node.textValue = this.textValue;\n node['aria-label'] = this['aria-label'];\n node.index = this.index;\n node.parentKey = this.parentKey;\n node.prevKey = this.prevKey;\n node.nextKey = this.nextKey;\n node.firstChildKey = this.firstChildKey;\n node.lastChildKey = this.lastChildKey;\n node.props = this.props;\n node.render = this.render;\n node.colSpan = this.colSpan;\n node.colIndex = this.colIndex;\n return node;\n }\n constructor(type, key){\n this.value = null;\n this.level = 0;\n this.hasChildNodes = false;\n this.rendered = null;\n this.textValue = '';\n this['aria-label'] = undefined;\n this.index = 0;\n this.parentKey = null;\n this.prevKey = null;\n this.nextKey = null;\n this.firstChildKey = null;\n this.lastChildKey = null;\n this.props = {};\n this.colSpan = null;\n this.colIndex = null;\n this.type = type;\n this.key = key;\n }\n}\nclass $23b9f4fcf0fe224b$export$408d25a4e12db025 {\n get size() {\n return this.keyMap.size;\n }\n getKeys() {\n return this.keyMap.keys();\n }\n *[Symbol.iterator]() {\n let node = this.firstKey != null ? this.keyMap.get(this.firstKey) : undefined;\n while(node){\n yield node;\n node = node.nextKey != null ? this.keyMap.get(node.nextKey) : undefined;\n }\n }\n getChildren(key) {\n let keyMap = this.keyMap;\n return {\n *[Symbol.iterator] () {\n let parent = keyMap.get(key);\n let node = (parent === null || parent === void 0 ? void 0 : parent.firstChildKey) != null ? keyMap.get(parent.firstChildKey) : null;\n while(node){\n yield node;\n node = node.nextKey != null ? keyMap.get(node.nextKey) : undefined;\n }\n }\n };\n }\n getKeyBefore(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.prevKey != null) {\n node = this.keyMap.get(node.prevKey);\n while(node && node.type !== 'item' && node.lastChildKey != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n return node.parentKey;\n }\n getKeyAfter(key) {\n let node = this.keyMap.get(key);\n if (!node) return null;\n if (node.type !== 'item' && node.firstChildKey != null) return node.firstChildKey;\n while(node){\n if (node.nextKey != null) return node.nextKey;\n if (node.parentKey != null) node = this.keyMap.get(node.parentKey);\n else return null;\n }\n return null;\n }\n getFirstKey() {\n return this.firstKey;\n }\n getLastKey() {\n let node = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;\n while((node === null || node === void 0 ? void 0 : node.lastChildKey) != null)node = this.keyMap.get(node.lastChildKey);\n var _node_key;\n return (_node_key = node === null || node === void 0 ? void 0 : node.key) !== null && _node_key !== void 0 ? _node_key : null;\n }\n getItem(key) {\n var _this_keyMap_get;\n return (_this_keyMap_get = this.keyMap.get(key)) !== null && _this_keyMap_get !== void 0 ? _this_keyMap_get : null;\n }\n at() {\n throw new Error('Not implemented');\n }\n clone() {\n // We need to clone using this.constructor so that subclasses have the right prototype.\n // TypeScript isn't happy about this yet.\n // https://github.com/microsoft/TypeScript/issues/3841\n let Constructor = this.constructor;\n let collection = new Constructor();\n collection.keyMap = new Map(this.keyMap);\n collection.firstKey = this.firstKey;\n collection.lastKey = this.lastKey;\n return collection;\n }\n addNode(node) {\n if (this.frozen) throw new Error('Cannot add a node to a frozen collection');\n this.keyMap.set(node.key, node);\n }\n removeNode(key) {\n if (this.frozen) throw new Error('Cannot remove a node to a frozen collection');\n this.keyMap.delete(key);\n }\n commit(firstKey, lastKey, isSSR = false) {\n if (this.frozen) throw new Error('Cannot commit a frozen collection');\n this.firstKey = firstKey;\n this.lastKey = lastKey;\n this.frozen = !isSSR;\n }\n // TODO: this is pretty specific to menu, will need to check if it is generic enough\n // Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu\n // TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter\n // to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection\n UNSTABLE_filter(filterFn) {\n let newCollection = new $23b9f4fcf0fe224b$export$408d25a4e12db025();\n // This tracks the absolute last node we've visited in the collection when filtering, used for setting up the filteredCollection's lastKey and\n // for updating the next/prevKey for every non-filtered node.\n let lastNode = null;\n for (let node of this){\n if (node.type === 'section' && node.hasChildNodes) {\n let clonedSection = node.clone();\n let lastChildInSection = null;\n for (let child of this.getChildren(node.key))if ($23b9f4fcf0fe224b$var$shouldKeepNode(child, filterFn, this, newCollection)) {\n let clonedChild = child.clone();\n // eslint-disable-next-line max-depth\n if (lastChildInSection == null) clonedSection.firstChildKey = clonedChild.key;\n // eslint-disable-next-line max-depth\n if (newCollection.firstKey == null) newCollection.firstKey = clonedSection.key;\n // eslint-disable-next-line max-depth\n if (lastChildInSection && lastChildInSection.parentKey === clonedChild.parentKey) {\n lastChildInSection.nextKey = clonedChild.key;\n clonedChild.prevKey = lastChildInSection.key;\n } else clonedChild.prevKey = null;\n clonedChild.nextKey = null;\n newCollection.addNode(clonedChild);\n lastChildInSection = clonedChild;\n }\n // Add newly filtered section to collection if it has any valid child nodes, otherwise remove it and its header if any\n if (lastChildInSection) {\n if (lastChildInSection.type !== 'header') {\n clonedSection.lastChildKey = lastChildInSection.key;\n // If the old prev section was filtered out, will need to attach to whatever came before\n // eslint-disable-next-line max-depth\n if (lastNode == null) clonedSection.prevKey = null;\n else if (lastNode.type === 'section' || lastNode.type === 'separator') {\n lastNode.nextKey = clonedSection.key;\n clonedSection.prevKey = lastNode.key;\n }\n clonedSection.nextKey = null;\n lastNode = clonedSection;\n newCollection.addNode(clonedSection);\n } else {\n if (newCollection.firstKey === clonedSection.key) newCollection.firstKey = null;\n newCollection.removeNode(lastChildInSection.key);\n }\n }\n } else if (node.type === 'separator') {\n // will need to check if previous section key exists, if it does then we add the separator to the collection.\n // After the full collection is created we'll need to remove it it is the last node in the section (aka no following section after the separator)\n let clonedSeparator = node.clone();\n clonedSeparator.nextKey = null;\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'section') {\n lastNode.nextKey = clonedSeparator.key;\n clonedSeparator.prevKey = lastNode.key;\n lastNode = clonedSeparator;\n newCollection.addNode(clonedSeparator);\n }\n } else {\n // At this point, the node is either a subdialogtrigger node or a standard row/item\n let clonedNode = node.clone();\n if ($23b9f4fcf0fe224b$var$shouldKeepNode(clonedNode, filterFn, this, newCollection)) {\n if (newCollection.firstKey == null) newCollection.firstKey = clonedNode.key;\n if (lastNode != null && lastNode.type !== 'section' && lastNode.type !== 'separator' && lastNode.parentKey === clonedNode.parentKey) {\n lastNode.nextKey = clonedNode.key;\n clonedNode.prevKey = lastNode.key;\n } else clonedNode.prevKey = null;\n clonedNode.nextKey = null;\n newCollection.addNode(clonedNode);\n lastNode = clonedNode;\n }\n }\n }\n if ((lastNode === null || lastNode === void 0 ? void 0 : lastNode.type) === 'separator' && lastNode.nextKey === null) {\n let lastSection;\n if (lastNode.prevKey != null) {\n lastSection = newCollection.getItem(lastNode.prevKey);\n lastSection.nextKey = null;\n }\n newCollection.removeNode(lastNode.key);\n lastNode = lastSection;\n }\n newCollection.lastKey = (lastNode === null || lastNode === void 0 ? void 0 : lastNode.key) || null;\n return newCollection;\n }\n constructor(){\n this.keyMap = new Map();\n this.firstKey = null;\n this.lastKey = null;\n this.frozen = false;\n }\n}\nfunction $23b9f4fcf0fe224b$var$shouldKeepNode(node, filterFn, oldCollection, newCollection) {\n if (node.type === 'subdialogtrigger' || node.type === 'submenutrigger') {\n // Subdialog wrapper should only have one child, if it passes the filter add it to the new collection since we don't need to\n // do any extra handling for its first/next key\n let triggerChild = [\n ...oldCollection.getChildren(node.key)\n ][0];\n if (triggerChild && filterFn(triggerChild.textValue)) {\n let clonedChild = triggerChild.clone();\n newCollection.addNode(clonedChild);\n return true;\n } else return false;\n } else if (node.type === 'header') return true;\n else return filterFn(node.textValue);\n}\n\n\nexport {$23b9f4fcf0fe224b$export$d68d59712b04d9d1 as CollectionNode, $23b9f4fcf0fe224b$export$408d25a4e12db025 as BaseCollection};\n//# sourceMappingURL=BaseCollection.module.js.map\n"],"names":["$23b9f4fcf0fe224b$export$d68d59712b04d9d1","node","type","key","$23b9f4fcf0fe224b$export$408d25a4e12db025","keyMap","parent","_node_key","_this_keyMap_get","Constructor","collection","firstKey","lastKey","isSSR","filterFn","newCollection","lastNode","clonedSection","lastChildInSection","child","$23b9f4fcf0fe224b$var$shouldKeepNode","clonedChild","clonedSeparator","clonedNode","lastSection","oldCollection","triggerChild"],"mappings":"AAUI,MAAMA,EAA0C;AAAA,EAChD,IAAI,aAAa;AACb,UAAM,IAAI,MAAM,6BAA6B;AAAA,EAChD;AAAA,EACD,QAAQ;AACJ,QAAIC,IAAO,IAAID,EAA0C,KAAK,MAAM,KAAK,GAAG;AAC5E,WAAAC,EAAK,QAAQ,KAAK,OAClBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,WAAW,KAAK,UACrBA,EAAK,YAAY,KAAK,WACtBA,EAAK,YAAY,IAAI,KAAK,YAAY,GACtCA,EAAK,QAAQ,KAAK,OAClBA,EAAK,YAAY,KAAK,WACtBA,EAAK,UAAU,KAAK,SACpBA,EAAK,UAAU,KAAK,SACpBA,EAAK,gBAAgB,KAAK,eAC1BA,EAAK,eAAe,KAAK,cACzBA,EAAK,QAAQ,KAAK,OAClBA,EAAK,SAAS,KAAK,QACnBA,EAAK,UAAU,KAAK,SACpBA,EAAK,WAAW,KAAK,UACdA;AAAA,EACV;AAAA,EACD,YAAYC,GAAMC,GAAI;AAClB,SAAK,QAAQ,MACb,KAAK,QAAQ,GACb,KAAK,gBAAgB,IACrB,KAAK,WAAW,MAChB,KAAK,YAAY,IACjB,KAAK,YAAY,IAAI,QACrB,KAAK,QAAQ,GACb,KAAK,YAAY,MACjB,KAAK,UAAU,MACf,KAAK,UAAU,MACf,KAAK,gBAAgB,MACrB,KAAK,eAAe,MACpB,KAAK,QAAQ,IACb,KAAK,UAAU,MACf,KAAK,WAAW,MAChB,KAAK,OAAOD,GACZ,KAAK,MAAMC;AAAA,EACd;AACL;AACA,MAAMC,EAA0C;AAAA,EAC5C,IAAI,OAAO;AACP,WAAO,KAAK,OAA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 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./BaseCollection.cjs.js"),b=require("./Document.cjs.js"),R=require("./useCachedChildren.cjs.js"),h=require("./Hidden.cjs.js"),p=require("react-dom"),$=require("../../interactions/dist/useFocusable.cjs.js"),t=require("react"),S=require("../../ssr/dist/SSRProvider.cjs.js"),P=require("@react-aria/utils"),w=require("../../../use-sync-external-store/shim/index.cjs.js"),m=t.createContext(!1),s=t.createContext(null);function y(n){if(t.useContext(s))return n.content;let{collection:l,document:r}=k(n.createCollection);return t.createElement(t.Fragment,null,t.createElement(h.Hidden,null,t.createElement(s.Provider,{value:r},n.content)),t.createElement(q,{render:n.children,collection:l}))}function q({collection:n,render:e}){return e(n)}function g(n,e,l){let r=S.useIsSSR(),o=t.useRef(r);o.current=r;let c=t.useCallback(()=>o.current?l():e(),[e,l]);return w.shimExports.useSyncExternalStore(n,c)}const D=typeof t.useSyncExternalStore=="function"?t.useSyncExternalStore:g;function k(n){let[e]=t.useState(()=>new b.Document((n==null?void 0:n())||new E.BaseCollection)),l=t.useCallback(a=>e.subscribe(a),[e]),r=t.useCallback(()=>{let a=e.getCollection();return e.isSSR&&e.resetAfterSSR(),a},[e]),o=t.useCallback(()=>(e.isSSR=!0,e.getCollection()),[e]),c=D(l,r,o);return P.useLayoutEffect(()=>(e.isMounted=!0,()=>{e.isMounted=!1}),[e]),{collection:c,document:e}}const d=t.createContext(null);function f(n,e,l,r,o,c){let a=t.useCallback(u=>{u==null||u.setProps(e,l,r,c)},[e,l,r,c]),i=t.useContext(d);if(i){let u=i.ownerDocument.nodesByProps.get(e);return u||(u=i.ownerDocument.createElement(n),u.setProps(e,l,r,c),i.appendChild(u),i.ownerDocument.updateCollection(),i.ownerDocument.nodesByProps.set(e,u)),o?t.createElement(d.Provider,{value:u},o):null}return t.createElement(n,{ref:a},o)}function B(n,e){let l=({node:o})=>e(o.props,o.props.ref,o),r=t.forwardRef((o,c)=>{let a=t.useContext($.FocusableContext);if(!t.useContext(m)){if(e.length>=3)throw new Error(e.name+" cannot be rendered outside a collection.");return e(o,c)}return f(n,o,c,"children"in o?o.children:null,null,u=>t.createElement($.FocusableContext.Provider,{value:a},t.createElement(l,{node:u})))});return r.displayName=e.name,r}function F(n,e,l=v){let r=({node:c})=>e(c.props,c.props.ref,c),o=t.forwardRef((c,a)=>{let i=l(c);var u;return(u=f(n,c,a,null,i,x=>t.createElement(r,{node:x})))!==null&&u!==void 0?u:t.createElement(t.Fragment,null)});return o.displayName=e.name,o}function v(n){return R.useCachedChildren({...n,addIdAndValue:!0})}const C=t.createContext(null);function M(n){let e=t.useContext(C),l=((e==null?void 0:e.dependencies)||[]).concat(n.dependencies),r=n.idScope||(e==null?void 0:e.idScope),o=v({...n,idScope:r,dependencies:l});return t.useContext(s)&&(o=t.createElement(N,null,o)),e=t.useMemo(()=>({dependencies:l,idScope:r}),[r,...l]),t.createElement(C.Provider,{value:e},o)}function N({children:n}){let e=t.useContext(s),l=t.useMemo(()=>t.createElement(s.Provider,{value:null},t.createElement(m.Provider,{value:!0},n)),[n]);return S.useIsSSR()?t.createElement(d.Provider,{value:e},l):p.createPortal(l,e)}exports.Collection=M;exports.CollectionBuilder=y;exports.createBranchComponent=F;exports.createLeafComponent=B;
|
|
2
|
+
//# sourceMappingURL=CollectionBuilder.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CollectionBuilder.cjs.js","sources":["../../../../../node_modules/@react-aria/collections/dist/CollectionBuilder.mjs"],"sourcesContent":["import {BaseCollection as $23b9f4fcf0fe224b$export$408d25a4e12db025} from \"./BaseCollection.mjs\";\nimport {Document as $681cc3c98f569e39$export$b34a105447964f9f} from \"./Document.mjs\";\nimport {useCachedChildren as $e948873055cbafe4$export$727c8fc270210f13} from \"./useCachedChildren.mjs\";\nimport {Hidden as $f39a9eba43920ace$export$8dc98ba7eadeaa56} from \"./Hidden.mjs\";\nimport {createPortal as $95feo$createPortal} from \"react-dom\";\nimport {FocusableContext as $95feo$FocusableContext} from \"@react-aria/interactions\";\nimport $95feo$react, {createContext as $95feo$createContext, useContext as $95feo$useContext, useRef as $95feo$useRef, useCallback as $95feo$useCallback, useState as $95feo$useState, forwardRef as $95feo$forwardRef, useMemo as $95feo$useMemo} from \"react\";\nimport {useIsSSR as $95feo$useIsSSR} from \"@react-aria/ssr\";\nimport {useLayoutEffect as $95feo$useLayoutEffect} from \"@react-aria/utils\";\nimport {useSyncExternalStore as $95feo$useSyncExternalStore} from \"use-sync-external-store/shim/index.js\";\n\n/*\n * Copyright 2024 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\n\n\nconst $e1995378a142960e$var$ShallowRenderContext = /*#__PURE__*/ (0, $95feo$createContext)(false);\nconst $e1995378a142960e$var$CollectionDocumentContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$bf788dd355e3a401(props) {\n // If a document was provided above us, we're already in a hidden tree. Just render the content.\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) // The React types prior to 18 did not allow returning ReactNode from components\n // even though the actual implementation since React 16 did.\n // We must return ReactElement so that TS does not complain that <CollectionBuilder>\n // is not a valid JSX element with React 16 and 17 types.\n // https://github.com/DefinitelyTyped/DefinitelyTyped/issues/20544\n return props.content;\n // Otherwise, render a hidden copy of the children so that we can build the collection before constructing the state.\n // This should always come before the real DOM content so we have built the collection by the time it renders during SSR.\n // This is fine. CollectionDocumentContext never changes after mounting.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n let { collection: collection, document: document } = $e1995378a142960e$var$useCollectionDocument(props.createCollection);\n return /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null, /*#__PURE__*/ (0, $95feo$react).createElement((0, $f39a9eba43920ace$export$8dc98ba7eadeaa56), null, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: document\n }, props.content)), /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionInner, {\n render: props.children,\n collection: collection\n }));\n}\nfunction $e1995378a142960e$var$CollectionInner({ collection: collection, render: render }) {\n return render(collection);\n}\n// React 16 and 17 don't support useSyncExternalStore natively, and the shim provided by React does not support getServerSnapshot.\n// This wrapper uses the shim, but additionally calls getServerSnapshot during SSR (according to SSRProvider).\nfunction $e1995378a142960e$var$useSyncExternalStoreFallback(subscribe, getSnapshot, getServerSnapshot) {\n let isSSR = (0, $95feo$useIsSSR)();\n let isSSRRef = (0, $95feo$useRef)(isSSR);\n // This is read immediately inside the wrapper, which also runs during render.\n // We just need a ref to avoid invalidating the callback itself, which\n // would cause React to re-run the callback more than necessary.\n // eslint-disable-next-line rulesdir/pure-render\n isSSRRef.current = isSSR;\n let getSnapshotWrapper = (0, $95feo$useCallback)(()=>{\n return isSSRRef.current ? getServerSnapshot() : getSnapshot();\n }, [\n getSnapshot,\n getServerSnapshot\n ]);\n return (0, $95feo$useSyncExternalStore)(subscribe, getSnapshotWrapper);\n}\nconst $e1995378a142960e$var$useSyncExternalStore = typeof (0, $95feo$react)['useSyncExternalStore'] === 'function' ? (0, $95feo$react)['useSyncExternalStore'] : $e1995378a142960e$var$useSyncExternalStoreFallback;\nfunction $e1995378a142960e$var$useCollectionDocument(createCollection) {\n // The document instance is mutable, and should never change between renders.\n // useSyncExternalStore is used to subscribe to updates, which vends immutable Collection objects.\n let [document] = (0, $95feo$useState)(()=>new (0, $681cc3c98f569e39$export$b34a105447964f9f)((createCollection === null || createCollection === void 0 ? void 0 : createCollection()) || new (0, $23b9f4fcf0fe224b$export$408d25a4e12db025)()));\n let subscribe = (0, $95feo$useCallback)((fn)=>document.subscribe(fn), [\n document\n ]);\n let getSnapshot = (0, $95feo$useCallback)(()=>{\n let collection = document.getCollection();\n if (document.isSSR) // After SSR is complete, reset the document to empty so it is ready for React to render the portal into.\n // We do this _after_ getting the collection above so that the collection still has content in it from SSR\n // during the current render, before React has finished the client render.\n document.resetAfterSSR();\n return collection;\n }, [\n document\n ]);\n let getServerSnapshot = (0, $95feo$useCallback)(()=>{\n document.isSSR = true;\n return document.getCollection();\n }, [\n document\n ]);\n let collection = $e1995378a142960e$var$useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);\n (0, $95feo$useLayoutEffect)(()=>{\n document.isMounted = true;\n return ()=>{\n // Mark unmounted so we can skip all of the collection updates caused by\n // React calling removeChild on every item in the collection.\n document.isMounted = false;\n };\n }, [\n document\n ]);\n return {\n collection: collection,\n document: document\n };\n}\nconst $e1995378a142960e$var$SSRContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$var$useSSRCollectionNode(Type, props, ref, rendered, children, render) {\n // During SSR, portals are not supported, so the collection children will be wrapped in an SSRContext.\n // Since SSR occurs only once, we assume that the elements are rendered in order and never re-render.\n // Therefore we can create elements in our collection document during render so that they are in the\n // collection by the time we need to use the collection to render to the real DOM.\n // After hydration, we switch to client rendering using the portal.\n let itemRef = (0, $95feo$useCallback)((element)=>{\n element === null || element === void 0 ? void 0 : element.setProps(props, ref, rendered, render);\n }, [\n props,\n ref,\n rendered,\n render\n ]);\n let parentNode = (0, $95feo$useContext)($e1995378a142960e$var$SSRContext);\n if (parentNode) {\n // Guard against double rendering in strict mode.\n let element = parentNode.ownerDocument.nodesByProps.get(props);\n if (!element) {\n element = parentNode.ownerDocument.createElement(Type);\n element.setProps(props, ref, rendered, render);\n parentNode.appendChild(element);\n parentNode.ownerDocument.updateCollection();\n parentNode.ownerDocument.nodesByProps.set(props, element);\n }\n return children ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: element\n }, children) : null;\n }\n // @ts-ignore\n return /*#__PURE__*/ (0, $95feo$react).createElement(Type, {\n ref: itemRef\n }, children);\n}\nfunction $e1995378a142960e$export$18af5c7a9e9b3664(type, render) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let focusableProps = (0, $95feo$useContext)((0, $95feo$FocusableContext));\n let isShallow = (0, $95feo$useContext)($e1995378a142960e$var$ShallowRenderContext);\n if (!isShallow) {\n if (render.length >= 3) throw new Error(render.name + ' cannot be rendered outside a collection.');\n return render(props, ref);\n }\n return $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, 'children' in props ? props.children : null, null, (node)=>// Forward FocusableContext to real DOM tree so tooltips work.\n /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$FocusableContext).Provider, {\n value: focusableProps\n }, /*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n })));\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$export$e953bb1cd0f19726(type, render, useChildren = $e1995378a142960e$var$useCollectionChildren) {\n let Component = ({ node: node })=>render(node.props, node.props.ref, node);\n let Result = (0, $95feo$forwardRef)((props, ref)=>{\n let children = useChildren(props);\n var _useSSRCollectionNode;\n return (_useSSRCollectionNode = $e1995378a142960e$var$useSSRCollectionNode(type, props, ref, null, children, (node)=>/*#__PURE__*/ (0, $95feo$react).createElement(Component, {\n node: node\n }))) !== null && _useSSRCollectionNode !== void 0 ? _useSSRCollectionNode : /*#__PURE__*/ (0, $95feo$react).createElement((0, $95feo$react).Fragment, null);\n });\n // @ts-ignore\n Result.displayName = render.name;\n return Result;\n}\nfunction $e1995378a142960e$var$useCollectionChildren(options) {\n return (0, $e948873055cbafe4$export$727c8fc270210f13)({\n ...options,\n addIdAndValue: true\n });\n}\nconst $e1995378a142960e$var$CollectionContext = /*#__PURE__*/ (0, $95feo$createContext)(null);\nfunction $e1995378a142960e$export$fb8073518f34e6ec(props) {\n let ctx = (0, $95feo$useContext)($e1995378a142960e$var$CollectionContext);\n let dependencies = ((ctx === null || ctx === void 0 ? void 0 : ctx.dependencies) || []).concat(props.dependencies);\n let idScope = props.idScope || (ctx === null || ctx === void 0 ? void 0 : ctx.idScope);\n let children = $e1995378a142960e$var$useCollectionChildren({\n ...props,\n idScope: idScope,\n dependencies: dependencies\n });\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n if (doc) children = /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionRoot, null, children);\n // Propagate dependencies and idScope to child collections.\n ctx = (0, $95feo$useMemo)(()=>({\n dependencies: dependencies,\n idScope: idScope\n }), [\n idScope,\n ...dependencies\n ]);\n return /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionContext.Provider, {\n value: ctx\n }, children);\n}\nfunction $e1995378a142960e$var$CollectionRoot({ children: children }) {\n let doc = (0, $95feo$useContext)($e1995378a142960e$var$CollectionDocumentContext);\n let wrappedChildren = (0, $95feo$useMemo)(()=>/*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$CollectionDocumentContext.Provider, {\n value: null\n }, /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$ShallowRenderContext.Provider, {\n value: true\n }, children)), [\n children\n ]);\n // During SSR, we render the content directly, and append nodes to the document during render.\n // The collection children return null so that nothing is actually rendered into the HTML.\n return (0, $95feo$useIsSSR)() ? /*#__PURE__*/ (0, $95feo$react).createElement($e1995378a142960e$var$SSRContext.Provider, {\n value: doc\n }, wrappedChildren) : /*#__PURE__*/ (0, $95feo$createPortal)(wrappedChildren, doc);\n}\n\n\nexport {$e1995378a142960e$export$bf788dd355e3a401 as CollectionBuilder, $e1995378a142960e$export$18af5c7a9e9b3664 as createLeafComponent, $e1995378a142960e$export$e953bb1cd0f19726 as createBranchComponent, $e1995378a142960e$export$fb8073518f34e6ec as Collection};\n//# sourceMappingURL=CollectionBuilder.module.js.map\n"],"names":["$e1995378a142960e$var$ShallowRenderContext","$95feo$createContext","$e1995378a142960e$var$CollectionDocumentContext","$e1995378a142960e$export$bf788dd355e3a401","props","$95feo$useContext","collection","document","$e1995378a142960e$var$useCollectionDocument","$95feo$react","$f39a9eba43920ace$export$8dc98ba7eadeaa56","$e1995378a142960e$var$CollectionInner","render","$e1995378a142960e$var$useSyncExternalStoreFallback","subscribe","getSnapshot","getServerSnapshot","isSSR","$95feo$useIsSSR","isSSRRef","$95feo$useRef","getSnapshotWrapper","$95feo$useCallback","$95feo$useSyncExternalStore","$e1995378a142960e$var$useSyncExternalStore","createCollection","$95feo$useState","$681cc3c98f569e39$export$b34a105447964f9f","$23b9f4fcf0fe224b$export$408d25a4e12db025","fn","$95feo$useLayoutEffect","$e1995378a142960e$var$SSRContext","$e1995378a142960e$var$useSSRCollectionNode","Type","ref","rendered","children","itemRef","element","parentNode","$e1995378a142960e$export$18af5c7a9e9b3664","type","Component","node","Result","$95feo$forwardRef","focusableProps","$95feo$FocusableContext","$e1995378a142960e$export$e953bb1cd0f19726","useChildren","$e1995378a142960e$var$useCollectionChildren","_useSSRCollectionNode","options","$e948873055cbafe4$export$727c8fc270210f13","$e1995378a142960e$var$CollectionContext","$e1995378a142960e$export$fb8073518f34e6ec","ctx","dependencies","idScope","$e1995378a142960e$var$CollectionRoot","$95feo$useMemo","doc","wrappedChildren","$95feo$createPortal"],"mappings":"gdA+BMA,EAA+DC,gBAAsB,EAAK,EAC1FC,EAAoED,gBAAsB,IAAI,EACpG,SAASE,EAA0CC,EAAO,CAGtD,GADcC,aAAmBH,CAA+C,EAMhF,OAAOE,EAAM,QAKb,GAAI,CAAE,WAAYE,EAAY,SAAUC,CAAQ,EAAKC,EAA4CJ,EAAM,gBAAgB,EACvH,OAAyBK,EAAc,cAAkBA,EAAc,SAAU,KAAwBA,EAAc,cAAkBC,EAAAA,OAA4C,KA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