@protonradio/proton-ui 0.11.10-beta.3 → 0.11.10
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/README.md +148 -148
- package/dist/{constants/breakpoint.es.js → breakpoint-9y1_8U_b.mjs} +2 -2
- package/dist/breakpoint-9y1_8U_b.mjs.map +1 -0
- package/dist/breakpoint-DtqbboOa.js +2 -0
- package/dist/breakpoint-DtqbboOa.js.map +1 -0
- package/dist/color2k-CpDB_dpw.mjs +168 -0
- package/dist/color2k-CpDB_dpw.mjs.map +1 -0
- package/dist/color2k-DCgwXUem.js +2 -0
- package/dist/color2k-DCgwXUem.js.map +1 -0
- package/dist/{design/colors.es.js → colors-CWaj9dFz.mjs} +7 -7
- package/dist/colors-CWaj9dFz.mjs.map +1 -0
- package/dist/colors-CebzFjpe.js +2 -0
- package/dist/colors-CebzFjpe.js.map +1 -0
- package/dist/{design/darkTheme/colors.es.js → colors-Ceyo4oCJ.mjs} +13 -13
- package/dist/colors-Ceyo4oCJ.mjs.map +1 -0
- package/dist/colors-CmSJBHaf.js +2 -0
- package/dist/colors-CmSJBHaf.js.map +1 -0
- package/dist/colors-DL1dYffC.js +2 -0
- package/dist/colors-DL1dYffC.js.map +1 -0
- package/dist/{design/lightTheme/colors.es.js → colors-DMkDnu4U.mjs} +11 -11
- package/dist/colors-DMkDnu4U.mjs.map +1 -0
- package/dist/constants.cjs.js +1 -1
- package/dist/constants.cjs.js.map +1 -1
- package/dist/constants.es.js +26 -3
- package/dist/constants.es.js.map +1 -1
- package/dist/dark.cjs.js +1 -1
- package/dist/dark.cjs.js.map +1 -1
- package/dist/dark.es.js +55 -8
- package/dist/dark.es.js.map +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.cjs.js.map +1 -1
- package/dist/hooks.es.js +37 -8
- package/dist/hooks.es.js.map +1 -1
- package/dist/icons.svg +10 -10
- package/dist/image-CUSfY1_T.js +2 -0
- package/dist/image-CUSfY1_T.js.map +1 -0
- package/dist/image-DFyN0Kd9.mjs +207 -0
- package/dist/image-DFyN0Kd9.mjs.map +1 -0
- package/dist/index.cjs.js +36 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +71 -81
- package/dist/index.es.js +5421 -61
- package/dist/index.es.js.map +1 -1
- package/dist/light.cjs.js +1 -1
- package/dist/light.cjs.js.map +1 -1
- package/dist/light.es.js +55 -8
- package/dist/light.es.js.map +1 -1
- package/dist/navigation-BB0MBIiR.js +2 -0
- package/dist/navigation-BB0MBIiR.js.map +1 -0
- package/dist/navigation-Bj7Pex9j.mjs +43 -0
- package/dist/navigation-Bj7Pex9j.mjs.map +1 -0
- package/dist/style.css +1 -1
- package/dist/theme.cjs.js +1 -1
- package/dist/theme.cjs.js.map +1 -1
- package/dist/theme.es.js +15 -9
- package/dist/theme.es.js.map +1 -1
- package/dist/useBreakpoint-CjRyGKN-.mjs +53 -0
- package/dist/useBreakpoint-CjRyGKN-.mjs.map +1 -0
- package/dist/useBreakpoint-DA-JqOu3.js +2 -0
- package/dist/useBreakpoint-DA-JqOu3.js.map +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +15 -19
- package/dist/utils.es.js.map +1 -1
- package/package.json +140 -140
- package/dist/_virtual/index.cjs.js +0 -2
- package/dist/_virtual/index.cjs.js.map +0 -1
- package/dist/_virtual/index.es.js +0 -5
- package/dist/_virtual/index.es.js.map +0 -1
- package/dist/_virtual/jsx-runtime.cjs.js +0 -2
- package/dist/_virtual/jsx-runtime.cjs.js.map +0 -1
- package/dist/_virtual/jsx-runtime.es.js +0 -5
- package/dist/_virtual/jsx-runtime.es.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.cjs.js +0 -2
- package/dist/_virtual/react-jsx-runtime.development.cjs.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.development.es.js +0 -5
- package/dist/_virtual/react-jsx-runtime.development.es.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.cjs.js +0 -2
- package/dist/_virtual/react-jsx-runtime.production.min.cjs.js.map +0 -1
- package/dist/_virtual/react-jsx-runtime.production.min.es.js +0 -5
- package/dist/_virtual/react-jsx-runtime.production.min.es.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.development.cjs.js +0 -2
- package/dist/_virtual/use-sync-external-store-shim.development.cjs.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.development.es.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.development.es.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.production.cjs.js +0 -2
- package/dist/_virtual/use-sync-external-store-shim.production.cjs.js.map +0 -1
- package/dist/_virtual/use-sync-external-store-shim.production.es.js +0 -5
- package/dist/_virtual/use-sync-external-store-shim.production.es.js.map +0 -1
- package/dist/assets/svg/icons.svg.cjs.js +0 -2
- package/dist/assets/svg/icons.svg.cjs.js.map +0 -1
- package/dist/assets/svg/icons.svg.es.js +0 -5
- package/dist/assets/svg/icons.svg.es.js.map +0 -1
- package/dist/components/ActionMenu/ActionMenu.cjs.js +0 -2
- package/dist/components/ActionMenu/ActionMenu.cjs.js.map +0 -1
- package/dist/components/ActionMenu/ActionMenu.es.js +0 -210
- package/dist/components/ActionMenu/ActionMenu.es.js.map +0 -1
- package/dist/components/Badge/Badge.cjs.js +0 -2
- package/dist/components/Badge/Badge.cjs.js.map +0 -1
- package/dist/components/Badge/Badge.es.js +0 -25
- package/dist/components/Badge/Badge.es.js.map +0 -1
- package/dist/components/Banner/Banner.cjs.js +0 -2
- package/dist/components/Banner/Banner.cjs.js.map +0 -1
- package/dist/components/Banner/Banner.es.js +0 -131
- package/dist/components/Banner/Banner.es.js.map +0 -1
- package/dist/components/Button/Button.cjs.js +0 -2
- package/dist/components/Button/Button.cjs.js.map +0 -1
- package/dist/components/Button/Button.es.js +0 -99
- package/dist/components/Button/Button.es.js.map +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js +0 -2
- package/dist/components/ButtonGroup/ButtonGroup.cjs.js.map +0 -1
- package/dist/components/ButtonGroup/ButtonGroup.es.js +0 -51
- package/dist/components/ButtonGroup/ButtonGroup.es.js.map +0 -1
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js +0 -2
- package/dist/components/ButtonWithSelect/ButtonWithSelect.cjs.js.map +0 -1
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js +0 -81
- package/dist/components/ButtonWithSelect/ButtonWithSelect.es.js.map +0 -1
- package/dist/components/DataTable/DataTable.cjs.js +0 -2
- package/dist/components/DataTable/DataTable.cjs.js.map +0 -1
- package/dist/components/DataTable/DataTable.es.js +0 -137
- package/dist/components/DataTable/DataTable.es.js.map +0 -1
- package/dist/components/Dialog/Dialog.cjs.js +0 -2
- package/dist/components/Dialog/Dialog.cjs.js.map +0 -1
- package/dist/components/Dialog/Dialog.es.js +0 -15
- package/dist/components/Dialog/Dialog.es.js.map +0 -1
- package/dist/components/Elevation/Elevation.cjs.js +0 -2
- package/dist/components/Elevation/Elevation.cjs.js.map +0 -1
- package/dist/components/Elevation/Elevation.es.js +0 -33
- package/dist/components/Elevation/Elevation.es.js.map +0 -1
- package/dist/components/Icon/Icon.cjs.js +0 -2
- package/dist/components/Icon/Icon.cjs.js.map +0 -1
- package/dist/components/Icon/Icon.es.js +0 -42
- package/dist/components/Icon/Icon.es.js.map +0 -1
- package/dist/components/ImageBackground/ImageBackground.cjs.js +0 -2
- package/dist/components/ImageBackground/ImageBackground.cjs.js.map +0 -1
- package/dist/components/ImageBackground/ImageBackground.es.js +0 -55
- package/dist/components/ImageBackground/ImageBackground.es.js.map +0 -1
- package/dist/components/Input/BaseInput/Input.cjs.js +0 -2
- package/dist/components/Input/BaseInput/Input.cjs.js.map +0 -1
- package/dist/components/Input/BaseInput/Input.es.js +0 -182
- package/dist/components/Input/BaseInput/Input.es.js.map +0 -1
- package/dist/components/Input/CopyInput/CopyInput.cjs.js +0 -2
- package/dist/components/Input/CopyInput/CopyInput.cjs.js.map +0 -1
- package/dist/components/Input/CopyInput/CopyInput.es.js +0 -83
- package/dist/components/Input/CopyInput/CopyInput.es.js.map +0 -1
- package/dist/components/Input/SearchInput/SearchInput.cjs.js +0 -2
- package/dist/components/Input/SearchInput/SearchInput.cjs.js.map +0 -1
- package/dist/components/Input/SearchInput/SearchInput.es.js +0 -118
- package/dist/components/Input/SearchInput/SearchInput.es.js.map +0 -1
- package/dist/components/ListBox/ListBox.cjs.js +0 -2
- package/dist/components/ListBox/ListBox.cjs.js.map +0 -1
- package/dist/components/ListBox/ListBox.es.js +0 -25
- package/dist/components/ListBox/ListBox.es.js.map +0 -1
- package/dist/components/Menu/MenuTrigger.cjs.js +0 -2
- package/dist/components/Menu/MenuTrigger.cjs.js.map +0 -1
- package/dist/components/Menu/MenuTrigger.es.js +0 -97
- package/dist/components/Menu/MenuTrigger.es.js.map +0 -1
- package/dist/components/Menu/PopoverMenu.cjs.js +0 -2
- package/dist/components/Menu/PopoverMenu.cjs.js.map +0 -1
- package/dist/components/Menu/PopoverMenu.es.js +0 -116
- package/dist/components/Menu/PopoverMenu.es.js.map +0 -1
- package/dist/components/Modal/Modal.cjs.js +0 -2
- package/dist/components/Modal/Modal.cjs.js.map +0 -1
- package/dist/components/Modal/Modal.es.js +0 -122
- package/dist/components/Modal/Modal.es.js.map +0 -1
- package/dist/components/Popover/Popover.cjs.js +0 -2
- package/dist/components/Popover/Popover.cjs.js.map +0 -1
- package/dist/components/Popover/Popover.es.js +0 -74
- package/dist/components/Popover/Popover.es.js.map +0 -1
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js +0 -2
- package/dist/components/ScreenOverlay/ScreenOverlay.cjs.js.map +0 -1
- package/dist/components/ScreenOverlay/ScreenOverlay.es.js +0 -44
- package/dist/components/ScreenOverlay/ScreenOverlay.es.js.map +0 -1
- package/dist/components/Select/Select.cjs.js +0 -2
- package/dist/components/Select/Select.cjs.js.map +0 -1
- package/dist/components/Select/Select.es.js +0 -173
- package/dist/components/Select/Select.es.js.map +0 -1
- package/dist/components/Switch/Switch.cjs.js +0 -2
- package/dist/components/Switch/Switch.cjs.js.map +0 -1
- package/dist/components/Switch/Switch.es.js +0 -40
- package/dist/components/Switch/Switch.es.js.map +0 -1
- package/dist/components/Table/Collection/CompoundComponents.cjs.js +0 -2
- package/dist/components/Table/Collection/CompoundComponents.cjs.js.map +0 -1
- package/dist/components/Table/Collection/CompoundComponents.es.js +0 -9
- package/dist/components/Table/Collection/CompoundComponents.es.js.map +0 -1
- package/dist/components/Table/Collection/collectionParser.cjs.js +0 -2
- package/dist/components/Table/Collection/collectionParser.cjs.js.map +0 -1
- package/dist/components/Table/Collection/collectionParser.es.js +0 -54
- package/dist/components/Table/Collection/collectionParser.es.js.map +0 -1
- package/dist/components/Table/Collection/useTableCollection.cjs.js +0 -2
- package/dist/components/Table/Collection/useTableCollection.cjs.js.map +0 -1
- package/dist/components/Table/Collection/useTableCollection.es.js +0 -59
- package/dist/components/Table/Collection/useTableCollection.es.js.map +0 -1
- package/dist/components/Table/Table.cjs.js +0 -2
- package/dist/components/Table/Table.cjs.js.map +0 -1
- package/dist/components/Table/Table.es.js +0 -89
- package/dist/components/Table/Table.es.js.map +0 -1
- package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js +0 -2
- package/dist/components/Text/TextEllipsis/TextEllipsis.cjs.js.map +0 -1
- package/dist/components/Text/TextEllipsis/TextEllipsis.es.js +0 -30
- package/dist/components/Text/TextEllipsis/TextEllipsis.es.js.map +0 -1
- package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js +0 -2
- package/dist/components/Text/TextEmphasis/TextEmphasis.cjs.js.map +0 -1
- package/dist/components/Text/TextEmphasis/TextEmphasis.es.js +0 -54
- package/dist/components/Text/TextEmphasis/TextEmphasis.es.js.map +0 -1
- package/dist/components/ThemeProvider.cjs.js +0 -2
- package/dist/components/ThemeProvider.cjs.js.map +0 -1
- package/dist/components/ThemeProvider.es.js +0 -42
- package/dist/components/ThemeProvider.es.js.map +0 -1
- package/dist/components/Tombstone/Tombstone.cjs.js +0 -2
- package/dist/components/Tombstone/Tombstone.cjs.js.map +0 -1
- package/dist/components/Tombstone/Tombstone.es.js +0 -35
- package/dist/components/Tombstone/Tombstone.es.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.cjs.js +0 -2
- package/dist/components/Tooltip/Tooltip.cjs.js.map +0 -1
- package/dist/components/Tooltip/Tooltip.es.js +0 -78
- package/dist/components/Tooltip/Tooltip.es.js.map +0 -1
- package/dist/components/Waveform/Waveform.cjs.js +0 -2
- package/dist/components/Waveform/Waveform.cjs.js.map +0 -1
- package/dist/components/Waveform/Waveform.es.js +0 -163
- package/dist/components/Waveform/Waveform.es.js.map +0 -1
- package/dist/components/Waveform/WaveformBar.cjs.js +0 -2
- package/dist/components/Waveform/WaveformBar.cjs.js.map +0 -1
- package/dist/components/Waveform/WaveformBar.es.js +0 -74
- package/dist/components/Waveform/WaveformBar.es.js.map +0 -1
- package/dist/constants/breakpoint.cjs.js +0 -2
- package/dist/constants/breakpoint.cjs.js.map +0 -1
- package/dist/constants/breakpoint.es.js.map +0 -1
- package/dist/constants/placement.cjs.js +0 -2
- package/dist/constants/placement.cjs.js.map +0 -1
- package/dist/constants/placement.es.js +0 -28
- package/dist/constants/placement.es.js.map +0 -1
- package/dist/design/colors.cjs.js +0 -2
- package/dist/design/colors.cjs.js.map +0 -1
- package/dist/design/colors.es.js.map +0 -1
- package/dist/design/darkTheme/colors.cjs.js +0 -2
- package/dist/design/darkTheme/colors.cjs.js.map +0 -1
- package/dist/design/darkTheme/colors.es.js.map +0 -1
- package/dist/design/darkTheme/stylesheet.cjs.js +0 -2
- package/dist/design/darkTheme/stylesheet.cjs.js.map +0 -1
- package/dist/design/darkTheme/stylesheet.es.js +0 -52
- package/dist/design/darkTheme/stylesheet.es.js.map +0 -1
- package/dist/design/generateStylesheet.cjs.js +0 -2
- package/dist/design/generateStylesheet.cjs.js.map +0 -1
- package/dist/design/generateStylesheet.es.js +0 -26
- package/dist/design/generateStylesheet.es.js.map +0 -1
- package/dist/design/lightTheme/colors.cjs.js +0 -2
- package/dist/design/lightTheme/colors.cjs.js.map +0 -1
- package/dist/design/lightTheme/colors.es.js.map +0 -1
- package/dist/design/lightTheme/stylesheet.cjs.js +0 -2
- package/dist/design/lightTheme/stylesheet.cjs.js.map +0 -1
- package/dist/design/lightTheme/stylesheet.es.js +0 -52
- package/dist/design/lightTheme/stylesheet.es.js.map +0 -1
- package/dist/design/theme.cjs.js +0 -2
- package/dist/design/theme.cjs.js.map +0 -1
- package/dist/design/theme.es.js +0 -12
- package/dist/design/theme.es.js.map +0 -1
- package/dist/hooks/useBreakpoint.cjs.js +0 -2
- package/dist/hooks/useBreakpoint.cjs.js.map +0 -1
- package/dist/hooks/useBreakpoint.es.js +0 -17
- package/dist/hooks/useBreakpoint.es.js.map +0 -1
- package/dist/hooks/useIsClosing.cjs.js +0 -2
- package/dist/hooks/useIsClosing.cjs.js.map +0 -1
- package/dist/hooks/useIsClosing.es.js +0 -30
- package/dist/hooks/useIsClosing.es.js.map +0 -1
- package/dist/hooks/useLockBodyScroll.cjs.js +0 -2
- package/dist/hooks/useLockBodyScroll.cjs.js.map +0 -1
- package/dist/hooks/useLockBodyScroll.es.js +0 -14
- package/dist/hooks/useLockBodyScroll.es.js.map +0 -1
- package/dist/hooks/usePalette.cjs.js +0 -2
- package/dist/hooks/usePalette.cjs.js.map +0 -1
- package/dist/hooks/usePalette.es.js +0 -37
- package/dist/hooks/usePalette.es.js.map +0 -1
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js +0 -2
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.cjs.js.map +0 -1
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js +0 -48
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringDictionary.es.js.map +0 -1
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js +0 -2
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.cjs.js.map +0 -1
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js +0 -33
- package/dist/node_modules/@internationalized/string/dist/LocalizedStringFormatter.es.js.map +0 -1
- package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js +0 -2
- package/dist/node_modules/@react-aria/button/dist/useButton.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/button/dist/useButton.es.js +0 -55
- package/dist/node_modules/@react-aria/button/dist/useButton.es.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js +0 -2
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js +0 -135
- package/dist/node_modules/@react-aria/collections/dist/BaseCollection.es.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js +0 -2
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js +0 -145
- package/dist/node_modules/@react-aria/collections/dist/CollectionBuilder.es.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js +0 -2
- package/dist/node_modules/@react-aria/collections/dist/Document.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/Document.es.js +0 -220
- package/dist/node_modules/@react-aria/collections/dist/Document.es.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js +0 -2
- package/dist/node_modules/@react-aria/collections/dist/Hidden.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js +0 -36
- package/dist/node_modules/@react-aria/collections/dist/Hidden.es.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js +0 -2
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js +0 -37
- package/dist/node_modules/@react-aria/collections/dist/useCachedChildren.es.js.map +0 -1
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js +0 -2
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js +0 -44
- package/dist/node_modules/@react-aria/dialog/dist/useDialog.es.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js +0 -2
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js +0 -437
- package/dist/node_modules/@react-aria/focus/dist/FocusScope.es.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js +0 -2
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js +0 -32
- package/dist/node_modules/@react-aria/focus/dist/virtualFocus.es.js.map +0 -1
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js +0 -2
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js +0 -78
- package/dist/node_modules/@react-aria/form/dist/useFormValidation.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/context.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js +0 -11
- package/dist/node_modules/@react-aria/i18n/dist/context.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js +0 -12
- package/dist/node_modules/@react-aria/i18n/dist/useCollator.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js +0 -30
- package/dist/node_modules/@react-aria/i18n/dist/useDefaultLocale.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js +0 -24
- package/dist/node_modules/@react-aria/i18n/dist/useLocalizedStringFormatter.es.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/i18n/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js +0 -45
- package/dist/node_modules/@react-aria/i18n/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js +0 -15
- package/dist/node_modules/@react-aria/interactions/dist/PressResponder.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/context.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js +0 -10
- package/dist/node_modules/@react-aria/interactions/dist/context.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js +0 -29
- package/dist/node_modules/@react-aria/interactions/dist/createEventHandler.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js +0 -15
- package/dist/node_modules/@react-aria/interactions/dist/focusSafely.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js +0 -35
- package/dist/node_modules/@react-aria/interactions/dist/textSelection.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js +0 -30
- package/dist/node_modules/@react-aria/interactions/dist/useFocus.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js +0 -67
- package/dist/node_modules/@react-aria/interactions/dist/useFocusVisible.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js +0 -56
- package/dist/node_modules/@react-aria/interactions/dist/useFocusWithin.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js +0 -42
- package/dist/node_modules/@react-aria/interactions/dist/useFocusable.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useHover.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js +0 -85
- package/dist/node_modules/@react-aria/interactions/dist/useHover.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js +0 -51
- package/dist/node_modules/@react-aria/interactions/dist/useInteractOutside.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js +0 -13
- package/dist/node_modules/@react-aria/interactions/dist/useKeyboard.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js +0 -50
- package/dist/node_modules/@react-aria/interactions/dist/useLongPress.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js +0 -8
- package/dist/node_modules/@react-aria/interactions/dist/usePress.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js +0 -386
- package/dist/node_modules/@react-aria/interactions/dist/usePress.es.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/interactions/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js +0 -92
- package/dist/node_modules/@react-aria/interactions/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js +0 -2
- package/dist/node_modules/@react-aria/label/dist/useField.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useField.es.js +0 -36
- package/dist/node_modules/@react-aria/label/dist/useField.es.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js +0 -2
- package/dist/node_modules/@react-aria/label/dist/useLabel.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js +0 -23
- package/dist/node_modules/@react-aria/label/dist/useLabel.es.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js +0 -2
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js +0 -52
- package/dist/node_modules/@react-aria/listbox/dist/useListBox.es.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js +0 -2
- package/dist/node_modules/@react-aria/listbox/dist/useOption.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js +0 -79
- package/dist/node_modules/@react-aria/listbox/dist/useOption.es.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/listbox/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/listbox/dist/utils.es.js +0 -14
- package/dist/node_modules/@react-aria/listbox/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js +0 -2
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js +0 -48
- package/dist/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/ar-AE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/bg-BG.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/cs-CZ.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/da-DK.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/da-DK.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/de-DE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/de-DE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/el-GR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/el-GR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/en-US.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/en-US.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/en-US.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/es-ES.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/es-ES.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/et-EE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/et-EE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/fi-FI.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/fr-FR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/he-IL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/he-IL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/hr-HR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/hu-HU.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js +0 -75
- package/dist/node_modules/@react-aria/menu/dist/intlStrings.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/it-IT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/it-IT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/ja-JP.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/ko-KR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/lt-LT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/lv-LV.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/nb-NO.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/nl-NL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/pl-PL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/pt-BR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/pt-PT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/ro-RO.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/ru-RU.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/sk-SK.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/sl-SI.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/sr-SP.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/sv-SE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/tr-TR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/uk-UA.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/useMenu.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js +0 -39
- package/dist/node_modules/@react-aria/menu/dist/useMenu.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js +0 -145
- package/dist/node_modules/@react-aria/menu/dist/useMenuItem.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js +0 -64
- package/dist/node_modules/@react-aria/menu/dist/useMenuTrigger.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/utils.es.js +0 -5
- package/dist/node_modules/@react-aria/menu/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/zh-CN.es.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js +0 -2
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js +0 -8
- package/dist/node_modules/@react-aria/menu/dist/zh-TW.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js +0 -26
- package/dist/node_modules/@react-aria/overlays/dist/DismissButton.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js +0 -39
- package/dist/node_modules/@react-aria/overlays/dist/Overlay.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js +0 -11
- package/dist/node_modules/@react-aria/overlays/dist/PortalProvider.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/ar-AE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js +0 -78
- package/dist/node_modules/@react-aria/overlays/dist/ariaHideOutside.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/bg-BG.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js +0 -200
- package/dist/node_modules/@react-aria/overlays/dist/calculatePosition.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/cs-CZ.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/da-DK.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/de-DE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/el-GR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/en-US.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/en-US.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/es-ES.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/et-EE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/fi-FI.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/fr-FR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/he-IL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/hr-HR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/hu-HU.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js +0 -75
- package/dist/node_modules/@react-aria/overlays/dist/intlStrings.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/it-IT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/ja-JP.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/ko-KR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/lt-LT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/lv-LV.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/nb-NO.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/nl-NL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/pl-PL.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/pt-BR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/pt-PT.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/ro-RO.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/ru-RU.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/sk-SK.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/sl-SI.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/sr-SP.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/sv-SE.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/tr-TR.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/uk-UA.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js +0 -26
- package/dist/node_modules/@react-aria/overlays/dist/useCloseOnScroll.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js +0 -32
- package/dist/node_modules/@react-aria/overlays/dist/useModalOverlay.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js +0 -53
- package/dist/node_modules/@react-aria/overlays/dist/useOverlay.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js +0 -143
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayPosition.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js +0 -27
- package/dist/node_modules/@react-aria/overlays/dist/useOverlayTrigger.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js +0 -48
- package/dist/node_modules/@react-aria/overlays/dist/usePopover.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js +0 -100
- package/dist/node_modules/@react-aria/overlays/dist/usePreventScroll.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/zh-CN.es.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js +0 -2
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js +0 -8
- package/dist/node_modules/@react-aria/overlays/dist/zh-TW.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/useRadio.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js +0 -70
- package/dist/node_modules/@react-aria/radio/dist/useRadio.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js +0 -80
- package/dist/node_modules/@react-aria/radio/dist/useRadioGroup.es.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/radio/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js +0 -5
- package/dist/node_modules/@react-aria/radio/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js +0 -2
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js +0 -105
- package/dist/node_modules/@react-aria/select/dist/HiddenSelect.es.js.map +0 -1
- package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js +0 -2
- package/dist/node_modules/@react-aria/select/dist/useSelect.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/select/dist/useSelect.es.js +0 -126
- package/dist/node_modules/@react-aria/select/dist/useSelect.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js +0 -41
- package/dist/node_modules/@react-aria/selection/dist/DOMLayoutDelegate.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js +0 -122
- package/dist/node_modules/@react-aria/selection/dist/ListKeyboardDelegate.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js +0 -235
- package/dist/node_modules/@react-aria/selection/dist/useSelectableCollection.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js +0 -127
- package/dist/node_modules/@react-aria/selection/dist/useSelectableItem.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js +0 -37
- package/dist/node_modules/@react-aria/selection/dist/useSelectableList.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js +0 -33
- package/dist/node_modules/@react-aria/selection/dist/useTypeSelect.es.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js +0 -2
- package/dist/node_modules/@react-aria/selection/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/selection/dist/utils.es.js +0 -24
- package/dist/node_modules/@react-aria/selection/dist/utils.es.js.map +0 -1
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js +0 -2
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js +0 -19
- package/dist/node_modules/@react-aria/ssr/dist/SSRProvider.es.js.map +0 -1
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js +0 -2
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js +0 -20
- package/dist/node_modules/@react-aria/switch/dist/useSwitch.es.js.map +0 -1
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js +0 -2
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js +0 -60
- package/dist/node_modules/@react-aria/toggle/dist/useToggle.es.js.map +0 -1
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js +0 -2
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.cjs.js.map +0 -1
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js +0 -41
- package/dist/node_modules/@react-aria/visually-hidden/dist/VisuallyHidden.es.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js +0 -2
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js +0 -171
- package/dist/node_modules/@react-stately/collections/dist/CollectionBuilder.es.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js +0 -2
- package/dist/node_modules/@react-stately/collections/dist/Item.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/Item.es.js +0 -38
- package/dist/node_modules/@react-stately/collections/dist/Item.es.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js +0 -2
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js +0 -34
- package/dist/node_modules/@react-stately/collections/dist/getChildNodes.es.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js +0 -2
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js +0 -15
- package/dist/node_modules/@react-stately/collections/dist/getItemCount.es.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js +0 -2
- package/dist/node_modules/@react-stately/collections/dist/useCollection.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js +0 -24
- package/dist/node_modules/@react-stately/collections/dist/useCollection.es.js.map +0 -1
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js +0 -110
- package/dist/node_modules/@react-stately/form/dist/useFormValidationState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js +0 -2
- package/dist/node_modules/@react-stately/list/dist/ListCollection.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js +0 -57
- package/dist/node_modules/@react-stately/list/dist/ListCollection.es.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/list/dist/useListState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/useListState.es.js +0 -70
- package/dist/node_modules/@react-stately/list/dist/useListState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js +0 -35
- package/dist/node_modules/@react-stately/list/dist/useSingleSelectListState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js +0 -34
- package/dist/node_modules/@react-stately/menu/dist/useMenuTriggerState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js +0 -30
- package/dist/node_modules/@react-stately/overlays/dist/useOverlayTriggerState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js +0 -35
- package/dist/node_modules/@react-stately/radio/dist/useRadioGroupState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/select/dist/useSelectState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js +0 -35
- package/dist/node_modules/@react-stately/select/dist/useSelectState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js +0 -2
- package/dist/node_modules/@react-stately/selection/dist/Selection.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/Selection.es.js +0 -9
- package/dist/node_modules/@react-stately/selection/dist/Selection.es.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js +0 -2
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js +0 -285
- package/dist/node_modules/@react-stately/selection/dist/SelectionManager.es.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js +0 -58
- package/dist/node_modules/@react-stately/selection/dist/useMultipleSelectionState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js +0 -22
- package/dist/node_modules/@react-stately/toggle/dist/useToggleState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js +0 -2
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js +0 -53
- package/dist/node_modules/@react-stately/tree/dist/TreeCollection.es.js.map +0 -1
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js +0 -38
- package/dist/node_modules/@react-stately/tree/dist/useTreeState.es.js.map +0 -1
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js +0 -2
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.cjs.js.map +0 -1
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js +0 -31
- package/dist/node_modules/@react-stately/utils/dist/useControlledState.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_check_private_redeclaration.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js +0 -8
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js +0 -13
- package/dist/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js +0 -11
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_get.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js +0 -9
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_init.es.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js +0 -2
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.cjs.js.map +0 -1
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js +0 -11
- package/dist/node_modules/@swc/helpers/esm/_class_private_field_set.es.js.map +0 -1
- package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js +0 -2
- package/dist/node_modules/color2k/dist/index.exports.import.es.cjs.js.map +0 -1
- package/dist/node_modules/color2k/dist/index.exports.import.es.es.js +0 -171
- package/dist/node_modules/color2k/dist/index.exports.import.es.es.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js +0 -23
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.cjs.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js +0 -609
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.es.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js +0 -10
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.cjs.js.map +0 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js +0 -29
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.min.es.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.cjs.js +0 -2
- package/dist/node_modules/react/jsx-runtime.cjs.js.map +0 -1
- package/dist/node_modules/react/jsx-runtime.es.js +0 -9
- package/dist/node_modules/react/jsx-runtime.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Autocomplete.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js +0 -6
- package/dist/node_modules/react-aria-components/dist/Autocomplete.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Button.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Button.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Button.es.js +0 -70
- package/dist/node_modules/react-aria-components/dist/Button.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Collection.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Collection.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Collection.es.js +0 -64
- package/dist/node_modules/react-aria-components/dist/Collection.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Dialog.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Dialog.es.js +0 -6
- package/dist/node_modules/react-aria-components/dist/Dialog.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Header.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Header.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Header.es.js +0 -15
- package/dist/node_modules/react-aria-components/dist/Header.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Keyboard.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Keyboard.es.js +0 -6
- package/dist/node_modules/react-aria-components/dist/Keyboard.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Menu.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Menu.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Menu.es.js +0 -286
- package/dist/node_modules/react-aria-components/dist/Menu.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js +0 -37
- package/dist/node_modules/react-aria-components/dist/OverlayArrow.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Popover.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Popover.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Popover.es.js +0 -141
- package/dist/node_modules/react-aria-components/dist/Popover.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/ProgressBar.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js +0 -6
- package/dist/node_modules/react-aria-components/dist/ProgressBar.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Separator.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Separator.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Separator.es.js +0 -6
- package/dist/node_modules/react-aria-components/dist/Separator.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Text.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Text.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Text.es.js +0 -16
- package/dist/node_modules/react-aria-components/dist/Text.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/Tooltip.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/Tooltip.es.js +0 -98
- package/dist/node_modules/react-aria-components/dist/Tooltip.es.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/utils.cjs.js +0 -2
- package/dist/node_modules/react-aria-components/dist/utils.cjs.js.map +0 -1
- package/dist/node_modules/react-aria-components/dist/utils.es.js +0 -101
- package/dist/node_modules/react-aria-components/dist/utils.es.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js +0 -10
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js +0 -68
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.es.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js +0 -10
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js +0 -56
- package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.es.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/shim/index.cjs.js +0 -2
- package/dist/node_modules/use-sync-external-store/shim/index.cjs.js.map +0 -1
- package/dist/node_modules/use-sync-external-store/shim/index.es.js +0 -9
- package/dist/node_modules/use-sync-external-store/shim/index.es.js.map +0 -1
- package/dist/utils/color2k.cjs.js +0 -2
- package/dist/utils/color2k.cjs.js.map +0 -1
- package/dist/utils/color2k.es.js +0 -14
- package/dist/utils/color2k.es.js.map +0 -1
- package/dist/utils/copy.cjs.js +0 -2
- package/dist/utils/copy.cjs.js.map +0 -1
- package/dist/utils/copy.es.js +0 -31
- package/dist/utils/copy.es.js.map +0 -1
- package/dist/utils/image.cjs.js +0 -2
- package/dist/utils/image.cjs.js.map +0 -1
- package/dist/utils/image.es.js +0 -28
- package/dist/utils/image.es.js.map +0 -1
- package/dist/utils/navigation.cjs.js +0 -2
- package/dist/utils/navigation.cjs.js.map +0 -1
- package/dist/utils/navigation.es.js +0 -12
- package/dist/utils/navigation.es.js.map +0 -1
- package/dist/utils/palette.cjs.js +0 -2
- package/dist/utils/palette.cjs.js.map +0 -1
- package/dist/utils/palette.es.js +0 -183
- package/dist/utils/palette.es.js.map +0 -1
- package/dist/utils/string.cjs.js +0 -2
- package/dist/utils/string.cjs.js.map +0 -1
- package/dist/utils/string.es.js +0 -8
- package/dist/utils/string.es.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DOMLayoutDelegate.cjs.js","sources":["../../../../../node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\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 */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left + container.scrollLeft,\n y: itemRect.top - containerRect.top + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_offsetWidth, _container_offsetHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_offsetWidth = container === null || container === void 0 ? void 0 : container.offsetWidth) !== null && _container_offsetWidth !== void 0 ? _container_offsetWidth : 0,\n height: (_container_offsetHeight = container === null || container === void 0 ? void 0 : container.offsetHeight) !== null && _container_offsetHeight !== void 0 ? _container_offsetHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_offsetWidth","_container_offsetHeight","ref"],"mappings":"kHAaA,MAAMA,CAA0C,CAC5C,YAAYC,EAAK,CACb,IAAIC,EAAY,KAAK,IAAI,QACzB,GAAI,CAACA,EAAW,OAAO,KACvB,IAAIC,EAAOF,GAAO,KAAWG,EAAAA,eAA2C,KAAK,IAAKH,CAAG,EAAI,KACzF,GAAI,CAACE,EAAM,OAAO,KAClB,IAAIE,EAAgBH,EAAU,wBAC1BI,EAAWH,EAAK,wBACpB,MAAO,CACH,EAAGG,EAAS,KAAOD,EAAc,KAAOH,EAAU,WAClD,EAAGI,EAAS,IAAMD,EAAc,IAAMH,EAAU,UAChD,MAAOI,EAAS,MAChB,OAAQA,EAAS,MAC7B,CACK,CACD,gBAAiB,CACb,IAAIJ,EAAY,KAAK,IAAI,QACzB,IAAIK,EAAwBC,EAC5B,MAAO,CACH,OAAQD,EAAyBL,GAAc,KAA+B,OAASA,EAAU,eAAiB,MAAQK,IAA2B,OAASA,EAAyB,EACvL,QAASC,EAA0BN,GAAc,KAA+B,OAASA,EAAU,gBAAkB,MAAQM,IAA4B,OAASA,EAA0B,CACxM,CACK,CACD,gBAAiB,CACb,IAAIN,EAAY,KAAK,IAAI,QACzB,IAAIO,EAAuBC,EAAsBC,EAAwBC,EACzE,MAAO,CACH,GAAIH,EAAwBP,GAAc,KAA+B,OAASA,EAAU,cAAgB,MAAQO,IAA0B,OAASA,EAAwB,EAC/K,GAAIC,EAAuBR,GAAc,KAA+B,OAASA,EAAU,aAAe,MAAQQ,IAAyB,OAASA,EAAuB,EAC3K,OAAQC,EAAyBT,GAAc,KAA+B,OAASA,EAAU,eAAiB,MAAQS,IAA2B,OAASA,EAAyB,EACvL,QAASC,EAA0BV,GAAc,KAA+B,OAASA,EAAU,gBAAkB,MAAQU,IAA4B,OAASA,EAA0B,CACxM,CACK,CACD,YAAYC,EAAI,CACZ,KAAK,IAAMA,CACd,CACL","x_google_ignoreList":[0]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { getItemElement as n } from "./utils.es.js";
|
|
2
|
-
class f {
|
|
3
|
-
getItemRect(t) {
|
|
4
|
-
let e = this.ref.current;
|
|
5
|
-
if (!e) return null;
|
|
6
|
-
let l = t != null ? n(this.ref, t) : null;
|
|
7
|
-
if (!l) return null;
|
|
8
|
-
let o = e.getBoundingClientRect(), i = l.getBoundingClientRect();
|
|
9
|
-
return {
|
|
10
|
-
x: i.left - o.left + e.scrollLeft,
|
|
11
|
-
y: i.top - o.top + e.scrollTop,
|
|
12
|
-
width: i.width,
|
|
13
|
-
height: i.height
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
getContentSize() {
|
|
17
|
-
let t = this.ref.current;
|
|
18
|
-
var e, l;
|
|
19
|
-
return {
|
|
20
|
-
width: (e = t == null ? void 0 : t.scrollWidth) !== null && e !== void 0 ? e : 0,
|
|
21
|
-
height: (l = t == null ? void 0 : t.scrollHeight) !== null && l !== void 0 ? l : 0
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
getVisibleRect() {
|
|
25
|
-
let t = this.ref.current;
|
|
26
|
-
var e, l, o, i;
|
|
27
|
-
return {
|
|
28
|
-
x: (e = t == null ? void 0 : t.scrollLeft) !== null && e !== void 0 ? e : 0,
|
|
29
|
-
y: (l = t == null ? void 0 : t.scrollTop) !== null && l !== void 0 ? l : 0,
|
|
30
|
-
width: (o = t == null ? void 0 : t.offsetWidth) !== null && o !== void 0 ? o : 0,
|
|
31
|
-
height: (i = t == null ? void 0 : t.offsetHeight) !== null && i !== void 0 ? i : 0
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
constructor(t) {
|
|
35
|
-
this.ref = t;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
f as DOMLayoutDelegate
|
|
40
|
-
};
|
|
41
|
-
//# sourceMappingURL=DOMLayoutDelegate.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DOMLayoutDelegate.es.js","sources":["../../../../../node_modules/@react-aria/selection/dist/DOMLayoutDelegate.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f} from \"./utils.mjs\";\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 */ \nclass $657e4dc4a6e88df0$export$8f5ed9ff9f511381 {\n getItemRect(key) {\n let container = this.ref.current;\n if (!container) return null;\n let item = key != null ? (0, $feb5ffebff200149$export$c3d8340acf92597f)(this.ref, key) : null;\n if (!item) return null;\n let containerRect = container.getBoundingClientRect();\n let itemRect = item.getBoundingClientRect();\n return {\n x: itemRect.left - containerRect.left + container.scrollLeft,\n y: itemRect.top - containerRect.top + container.scrollTop,\n width: itemRect.width,\n height: itemRect.height\n };\n }\n getContentSize() {\n let container = this.ref.current;\n var _container_scrollWidth, _container_scrollHeight;\n return {\n width: (_container_scrollWidth = container === null || container === void 0 ? void 0 : container.scrollWidth) !== null && _container_scrollWidth !== void 0 ? _container_scrollWidth : 0,\n height: (_container_scrollHeight = container === null || container === void 0 ? void 0 : container.scrollHeight) !== null && _container_scrollHeight !== void 0 ? _container_scrollHeight : 0\n };\n }\n getVisibleRect() {\n let container = this.ref.current;\n var _container_scrollLeft, _container_scrollTop, _container_offsetWidth, _container_offsetHeight;\n return {\n x: (_container_scrollLeft = container === null || container === void 0 ? void 0 : container.scrollLeft) !== null && _container_scrollLeft !== void 0 ? _container_scrollLeft : 0,\n y: (_container_scrollTop = container === null || container === void 0 ? void 0 : container.scrollTop) !== null && _container_scrollTop !== void 0 ? _container_scrollTop : 0,\n width: (_container_offsetWidth = container === null || container === void 0 ? void 0 : container.offsetWidth) !== null && _container_offsetWidth !== void 0 ? _container_offsetWidth : 0,\n height: (_container_offsetHeight = container === null || container === void 0 ? void 0 : container.offsetHeight) !== null && _container_offsetHeight !== void 0 ? _container_offsetHeight : 0\n };\n }\n constructor(ref){\n this.ref = ref;\n }\n}\n\n\nexport {$657e4dc4a6e88df0$export$8f5ed9ff9f511381 as DOMLayoutDelegate};\n//# sourceMappingURL=DOMLayoutDelegate.module.js.map\n"],"names":["$657e4dc4a6e88df0$export$8f5ed9ff9f511381","key","container","item","$feb5ffebff200149$export$c3d8340acf92597f","containerRect","itemRect","_container_scrollWidth","_container_scrollHeight","_container_scrollLeft","_container_scrollTop","_container_offsetWidth","_container_offsetHeight","ref"],"mappings":";AAaA,MAAMA,EAA0C;AAAA,EAC5C,YAAYC,GAAK;AACb,QAAIC,IAAY,KAAK,IAAI;AACzB,QAAI,CAACA,EAAW,QAAO;AACvB,QAAIC,IAAOF,KAAO,OAAWG,EAA2C,KAAK,KAAKH,CAAG,IAAI;AACzF,QAAI,CAACE,EAAM,QAAO;AAClB,QAAIE,IAAgBH,EAAU,yBAC1BI,IAAWH,EAAK;AACpB,WAAO;AAAA,MACH,GAAGG,EAAS,OAAOD,EAAc,OAAOH,EAAU;AAAA,MAClD,GAAGI,EAAS,MAAMD,EAAc,MAAMH,EAAU;AAAA,MAChD,OAAOI,EAAS;AAAA,MAChB,QAAQA,EAAS;AAAA,IAC7B;AAAA,EACK;AAAA,EACD,iBAAiB;AACb,QAAIJ,IAAY,KAAK,IAAI;AACzB,QAAIK,GAAwBC;AAC5B,WAAO;AAAA,MACH,QAAQD,IAAyBL,KAAc,OAA+B,SAASA,EAAU,iBAAiB,QAAQK,MAA2B,SAASA,IAAyB;AAAA,MACvL,SAASC,IAA0BN,KAAc,OAA+B,SAASA,EAAU,kBAAkB,QAAQM,MAA4B,SAASA,IAA0B;AAAA,IACxM;AAAA,EACK;AAAA,EACD,iBAAiB;AACb,QAAIN,IAAY,KAAK,IAAI;AACzB,QAAIO,GAAuBC,GAAsBC,GAAwBC;AACzE,WAAO;AAAA,MACH,IAAIH,IAAwBP,KAAc,OAA+B,SAASA,EAAU,gBAAgB,QAAQO,MAA0B,SAASA,IAAwB;AAAA,MAC/K,IAAIC,IAAuBR,KAAc,OAA+B,SAASA,EAAU,eAAe,QAAQQ,MAAyB,SAASA,IAAuB;AAAA,MAC3K,QAAQC,IAAyBT,KAAc,OAA+B,SAASA,EAAU,iBAAiB,QAAQS,MAA2B,SAASA,IAAyB;AAAA,MACvL,SAASC,IAA0BV,KAAc,OAA+B,SAASA,EAAU,kBAAkB,QAAQU,MAA4B,SAASA,IAA0B;AAAA,IACxM;AAAA,EACK;AAAA,EACD,YAAYC,GAAI;AACZ,SAAK,MAAMA;AAAA,EACd;AACL;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./DOMLayoutDelegate.cjs.js"),r=require("@react-aria/utils");class h{isDisabled(t){var e;return this.disabledBehavior==="all"&&(((e=t.props)===null||e===void 0?void 0:e.isDisabled)||this.disabledKeys.has(t.key))}findNextNonDisabled(t,e){let l=t;for(;l!=null;){let i=this.collection.getItem(l);if((i==null?void 0:i.type)==="item"&&!this.isDisabled(i))return l;l=e(l)}return null}getNextKey(t){let e=t;return e=this.collection.getKeyAfter(e),this.findNextNonDisabled(e,l=>this.collection.getKeyAfter(l))}getPreviousKey(t){let e=t;return e=this.collection.getKeyBefore(e),this.findNextNonDisabled(e,l=>this.collection.getKeyBefore(l))}findKey(t,e,l){let i=t,s=this.layoutDelegate.getItemRect(i);if(!s||i==null)return null;let o=s;do{if(i=e(i),i==null)break;s=this.layoutDelegate.getItemRect(i)}while(s&&l(o,s)&&i!=null);return i}isSameRow(t,e){return t.y===e.y||t.x!==e.x}isSameColumn(t,e){return t.x===e.x||t.y!==e.y}getKeyBelow(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,e=>this.getNextKey(e),this.isSameRow):this.getNextKey(t)}getKeyAbove(t){return this.layout==="grid"&&this.orientation==="vertical"?this.findKey(t,e=>this.getPreviousKey(e),this.isSameRow):this.getPreviousKey(t)}getNextColumn(t,e){return e?this.getPreviousKey(t):this.getNextKey(t)}getKeyRightOf(t){let e=this.direction==="ltr"?"getKeyRightOf":"getKeyLeftOf";return this.layoutDelegate[e]?(t=this.layoutDelegate[e](t),this.findNextNonDisabled(t,l=>this.layoutDelegate[e](l))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="rtl"):this.findKey(t,l=>this.getNextColumn(l,this.direction==="rtl"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="rtl"):null}getKeyLeftOf(t){let e=this.direction==="ltr"?"getKeyLeftOf":"getKeyRightOf";return this.layoutDelegate[e]?(t=this.layoutDelegate[e](t),this.findNextNonDisabled(t,l=>this.layoutDelegate[e](l))):this.layout==="grid"?this.orientation==="vertical"?this.getNextColumn(t,this.direction==="ltr"):this.findKey(t,l=>this.getNextColumn(l,this.direction==="ltr"),this.isSameColumn):this.orientation==="horizontal"?this.getNextColumn(t,this.direction==="ltr"):null}getFirstKey(){let t=this.collection.getFirstKey();return this.findNextNonDisabled(t,e=>this.collection.getKeyAfter(e))}getLastKey(){let t=this.collection.getLastKey();return this.findNextNonDisabled(t,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(t){let e=this.ref.current,l=this.layoutDelegate.getItemRect(t);if(!l)return null;if(e&&!r.isScrollable(e))return this.getFirstKey();let i=t;if(this.orientation==="horizontal"){let s=Math.max(0,l.x+l.width-this.layoutDelegate.getVisibleRect().width);for(;l&&l.x>s&&i!=null;)i=this.getKeyAbove(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}else{let s=Math.max(0,l.y+l.height-this.layoutDelegate.getVisibleRect().height);for(;l&&l.y>s&&i!=null;)i=this.getKeyAbove(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getFirstKey()}getKeyPageBelow(t){let e=this.ref.current,l=this.layoutDelegate.getItemRect(t);if(!l)return null;if(e&&!r.isScrollable(e))return this.getLastKey();let i=t;if(this.orientation==="horizontal"){let s=Math.min(this.layoutDelegate.getContentSize().width,l.y-l.width+this.layoutDelegate.getVisibleRect().width);for(;l&&l.x<s&&i!=null;)i=this.getKeyBelow(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}else{let s=Math.min(this.layoutDelegate.getContentSize().height,l.y-l.height+this.layoutDelegate.getVisibleRect().height);for(;l&&l.y<s&&i!=null;)i=this.getKeyBelow(i),l=i==null?null:this.layoutDelegate.getItemRect(i)}return i??this.getLastKey()}getKeyForSearch(t,e){if(!this.collator)return null;let l=this.collection,i=e||this.getFirstKey();for(;i!=null;){let s=l.getItem(i);if(!s)return null;let o=s.textValue.slice(0,t.length);if(s.textValue&&this.collator.compare(o,t)===0)return i;i=this.getNextKey(i)}return null}constructor(...t){if(t.length===1){let e=t[0];this.collection=e.collection,this.ref=e.ref,this.collator=e.collator,this.disabledKeys=e.disabledKeys||new Set,this.disabledBehavior=e.disabledBehavior||"all",this.orientation=e.orientation||"vertical",this.direction=e.direction,this.layout=e.layout||"stack",this.layoutDelegate=e.layoutDelegate||new n.DOMLayoutDelegate(e.ref)}else this.collection=t[0],this.disabledKeys=t[1],this.ref=t[2],this.collator=t[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new n.DOMLayoutDelegate(this.ref);this.layout==="stack"&&this.orientation==="vertical"&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}}exports.ListKeyboardDelegate=h;
|
|
2
|
-
//# sourceMappingURL=ListKeyboardDelegate.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListKeyboardDelegate.cjs.js","sources":["../../../../../node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\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\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$2a25aae57d74318e$export$a05409b8bb224a5a","item","_item_props","key","getNext","nextKey","shouldSkip","tempKey","itemRect","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts","$657e4dc4a6e88df0$export$8f5ed9ff9f511381"],"mappings":"6JAeA,MAAMA,CAA0C,CAC5C,WAAWC,EAAM,CACb,IAAIC,EACJ,OAAO,KAAK,mBAAqB,UAAYA,EAAcD,EAAK,SAAW,MAAQC,IAAgB,OAAS,OAASA,EAAY,aAAe,KAAK,aAAa,IAAID,EAAK,GAAG,EACjL,CACD,oBAAoBE,EAAKC,EAAS,CAC9B,IAAIC,EAAUF,EACd,KAAME,GAAW,MAAK,CAClB,IAAIJ,EAAO,KAAK,WAAW,QAAQI,CAAO,EAC1C,IAAKJ,GAAS,KAA0B,OAASA,EAAK,QAAU,QAAU,CAAC,KAAK,WAAWA,CAAI,EAAG,OAAOI,EACzGA,EAAUD,EAAQC,CAAO,CAC5B,CACD,OAAO,IACV,CACD,WAAWF,EAAK,CACZ,IAAIE,EAAUF,EACd,OAAAE,EAAU,KAAK,WAAW,YAAYA,CAAO,EACtC,KAAK,oBAAoBA,EAAUF,GAAM,KAAK,WAAW,YAAYA,CAAG,CAAC,CACnF,CACD,eAAeA,EAAK,CAChB,IAAIE,EAAUF,EACd,OAAAE,EAAU,KAAK,WAAW,aAAaA,CAAO,EACvC,KAAK,oBAAoBA,EAAUF,GAAM,KAAK,WAAW,aAAaA,CAAG,CAAC,CACpF,CACD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} from "@react-aria/utils";
|
|
3
|
-
class g {
|
|
4
|
-
isDisabled(t) {
|
|
5
|
-
var e;
|
|
6
|
-
return this.disabledBehavior === "all" && (((e = t.props) === null || e === void 0 ? void 0 : e.isDisabled) || this.disabledKeys.has(t.key));
|
|
7
|
-
}
|
|
8
|
-
findNextNonDisabled(t, e) {
|
|
9
|
-
let l = t;
|
|
10
|
-
for (; l != null; ) {
|
|
11
|
-
let i = this.collection.getItem(l);
|
|
12
|
-
if ((i == null ? void 0 : i.type) === "item" && !this.isDisabled(i)) return l;
|
|
13
|
-
l = e(l);
|
|
14
|
-
}
|
|
15
|
-
return null;
|
|
16
|
-
}
|
|
17
|
-
getNextKey(t) {
|
|
18
|
-
let e = t;
|
|
19
|
-
return e = this.collection.getKeyAfter(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyAfter(l));
|
|
20
|
-
}
|
|
21
|
-
getPreviousKey(t) {
|
|
22
|
-
let e = t;
|
|
23
|
-
return e = this.collection.getKeyBefore(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyBefore(l));
|
|
24
|
-
}
|
|
25
|
-
findKey(t, e, l) {
|
|
26
|
-
let i = t, s = this.layoutDelegate.getItemRect(i);
|
|
27
|
-
if (!s || i == null) return null;
|
|
28
|
-
let o = s;
|
|
29
|
-
do {
|
|
30
|
-
if (i = e(i), i == null) break;
|
|
31
|
-
s = this.layoutDelegate.getItemRect(i);
|
|
32
|
-
} while (s && l(o, s) && i != null);
|
|
33
|
-
return i;
|
|
34
|
-
}
|
|
35
|
-
isSameRow(t, e) {
|
|
36
|
-
return t.y === e.y || t.x !== e.x;
|
|
37
|
-
}
|
|
38
|
-
isSameColumn(t, e) {
|
|
39
|
-
return t.x === e.x || t.y !== e.y;
|
|
40
|
-
}
|
|
41
|
-
getKeyBelow(t) {
|
|
42
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getNextKey(e), this.isSameRow) : this.getNextKey(t);
|
|
43
|
-
}
|
|
44
|
-
getKeyAbove(t) {
|
|
45
|
-
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getPreviousKey(e), this.isSameRow) : this.getPreviousKey(t);
|
|
46
|
-
}
|
|
47
|
-
getNextColumn(t, e) {
|
|
48
|
-
return e ? this.getPreviousKey(t) : this.getNextKey(t);
|
|
49
|
-
}
|
|
50
|
-
getKeyRightOf(t) {
|
|
51
|
-
let e = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
52
|
-
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "rtl") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "rtl") : null;
|
|
53
|
-
}
|
|
54
|
-
getKeyLeftOf(t) {
|
|
55
|
-
let e = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
56
|
-
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "ltr") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "ltr") : null;
|
|
57
|
-
}
|
|
58
|
-
getFirstKey() {
|
|
59
|
-
let t = this.collection.getFirstKey();
|
|
60
|
-
return this.findNextNonDisabled(t, (e) => this.collection.getKeyAfter(e));
|
|
61
|
-
}
|
|
62
|
-
getLastKey() {
|
|
63
|
-
let t = this.collection.getLastKey();
|
|
64
|
-
return this.findNextNonDisabled(t, (e) => this.collection.getKeyBefore(e));
|
|
65
|
-
}
|
|
66
|
-
getKeyPageAbove(t) {
|
|
67
|
-
let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
|
|
68
|
-
if (!l) return null;
|
|
69
|
-
if (e && !r(e)) return this.getFirstKey();
|
|
70
|
-
let i = t;
|
|
71
|
-
if (this.orientation === "horizontal") {
|
|
72
|
-
let s = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
|
|
73
|
-
for (; l && l.x > s && i != null; )
|
|
74
|
-
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
75
|
-
} else {
|
|
76
|
-
let s = Math.max(0, l.y + l.height - this.layoutDelegate.getVisibleRect().height);
|
|
77
|
-
for (; l && l.y > s && i != null; )
|
|
78
|
-
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
79
|
-
}
|
|
80
|
-
return i ?? this.getFirstKey();
|
|
81
|
-
}
|
|
82
|
-
getKeyPageBelow(t) {
|
|
83
|
-
let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
|
|
84
|
-
if (!l) return null;
|
|
85
|
-
if (e && !r(e)) return this.getLastKey();
|
|
86
|
-
let i = t;
|
|
87
|
-
if (this.orientation === "horizontal") {
|
|
88
|
-
let s = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
|
|
89
|
-
for (; l && l.x < s && i != null; )
|
|
90
|
-
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
91
|
-
} else {
|
|
92
|
-
let s = Math.min(this.layoutDelegate.getContentSize().height, l.y - l.height + this.layoutDelegate.getVisibleRect().height);
|
|
93
|
-
for (; l && l.y < s && i != null; )
|
|
94
|
-
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
95
|
-
}
|
|
96
|
-
return i ?? this.getLastKey();
|
|
97
|
-
}
|
|
98
|
-
getKeyForSearch(t, e) {
|
|
99
|
-
if (!this.collator) return null;
|
|
100
|
-
let l = this.collection, i = e || this.getFirstKey();
|
|
101
|
-
for (; i != null; ) {
|
|
102
|
-
let s = l.getItem(i);
|
|
103
|
-
if (!s) return null;
|
|
104
|
-
let o = s.textValue.slice(0, t.length);
|
|
105
|
-
if (s.textValue && this.collator.compare(o, t) === 0) return i;
|
|
106
|
-
i = this.getNextKey(i);
|
|
107
|
-
}
|
|
108
|
-
return null;
|
|
109
|
-
}
|
|
110
|
-
constructor(...t) {
|
|
111
|
-
if (t.length === 1) {
|
|
112
|
-
let e = t[0];
|
|
113
|
-
this.collection = e.collection, this.ref = e.ref, this.collator = e.collator, this.disabledKeys = e.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = e.disabledBehavior || "all", this.orientation = e.orientation || "vertical", this.direction = e.direction, this.layout = e.layout || "stack", this.layoutDelegate = e.layoutDelegate || new n(e.ref);
|
|
114
|
-
} else
|
|
115
|
-
this.collection = t[0], this.disabledKeys = t[1], this.ref = t[2], this.collator = t[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new n(this.ref);
|
|
116
|
-
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
export {
|
|
120
|
-
g as ListKeyboardDelegate
|
|
121
|
-
};
|
|
122
|
-
//# sourceMappingURL=ListKeyboardDelegate.es.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListKeyboardDelegate.es.js","sources":["../../../../../node_modules/@react-aria/selection/dist/ListKeyboardDelegate.mjs"],"sourcesContent":["import {DOMLayoutDelegate as $657e4dc4a6e88df0$export$8f5ed9ff9f511381} from \"./DOMLayoutDelegate.mjs\";\nimport {isScrollable as $eak97$isScrollable} from \"@react-aria/utils\";\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\nclass $2a25aae57d74318e$export$a05409b8bb224a5a {\n isDisabled(item) {\n var _item_props;\n return this.disabledBehavior === 'all' && (((_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.isDisabled) || this.disabledKeys.has(item.key));\n }\n findNextNonDisabled(key, getNext) {\n let nextKey = key;\n while(nextKey != null){\n let item = this.collection.getItem(nextKey);\n if ((item === null || item === void 0 ? void 0 : item.type) === 'item' && !this.isDisabled(item)) return nextKey;\n nextKey = getNext(nextKey);\n }\n return null;\n }\n getNextKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyAfter(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyAfter(key));\n }\n getPreviousKey(key) {\n let nextKey = key;\n nextKey = this.collection.getKeyBefore(nextKey);\n return this.findNextNonDisabled(nextKey, (key)=>this.collection.getKeyBefore(key));\n }\n findKey(key, nextKey, shouldSkip) {\n let tempKey = key;\n let itemRect = this.layoutDelegate.getItemRect(tempKey);\n if (!itemRect || tempKey == null) return null;\n // Find the item above or below in the same column.\n let prevRect = itemRect;\n do {\n tempKey = nextKey(tempKey);\n if (tempKey == null) break;\n itemRect = this.layoutDelegate.getItemRect(tempKey);\n }while (itemRect && shouldSkip(prevRect, itemRect) && tempKey != null);\n return tempKey;\n }\n isSameRow(prevRect, itemRect) {\n return prevRect.y === itemRect.y || prevRect.x !== itemRect.x;\n }\n isSameColumn(prevRect, itemRect) {\n return prevRect.x === itemRect.x || prevRect.y !== itemRect.y;\n }\n getKeyBelow(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getNextKey(key), this.isSameRow);\n else return this.getNextKey(key);\n }\n getKeyAbove(key) {\n if (this.layout === 'grid' && this.orientation === 'vertical') return this.findKey(key, (key)=>this.getPreviousKey(key), this.isSameRow);\n else return this.getPreviousKey(key);\n }\n getNextColumn(key, right) {\n return right ? this.getPreviousKey(key) : this.getNextKey(key);\n }\n getKeyRightOf(key) {\n // This is a temporary solution for CardView until we refactor useSelectableCollection.\n // https://github.com/orgs/adobe/projects/19/views/32?pane=issue&itemId=77825042\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyRightOf' : 'getKeyLeftOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'rtl');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'rtl'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'rtl');\n return null;\n }\n getKeyLeftOf(key) {\n let layoutDelegateMethod = this.direction === 'ltr' ? 'getKeyLeftOf' : 'getKeyRightOf';\n if (this.layoutDelegate[layoutDelegateMethod]) {\n key = this.layoutDelegate[layoutDelegateMethod](key);\n return this.findNextNonDisabled(key, (key)=>this.layoutDelegate[layoutDelegateMethod](key));\n }\n if (this.layout === 'grid') {\n if (this.orientation === 'vertical') return this.getNextColumn(key, this.direction === 'ltr');\n else return this.findKey(key, (key)=>this.getNextColumn(key, this.direction === 'ltr'), this.isSameColumn);\n } else if (this.orientation === 'horizontal') return this.getNextColumn(key, this.direction === 'ltr');\n return null;\n }\n getFirstKey() {\n let key = this.collection.getFirstKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyAfter(key));\n }\n getLastKey() {\n let key = this.collection.getLastKey();\n return this.findNextNonDisabled(key, (key)=>this.collection.getKeyBefore(key));\n }\n getKeyPageAbove(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getFirstKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.max(0, itemRect.x + itemRect.width - this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x > pageX && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.max(0, itemRect.y + itemRect.height - this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y > pageY && nextKey != null){\n nextKey = this.getKeyAbove(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getFirstKey();\n }\n getKeyPageBelow(key) {\n let menu = this.ref.current;\n let itemRect = this.layoutDelegate.getItemRect(key);\n if (!itemRect) return null;\n if (menu && !(0, $eak97$isScrollable)(menu)) return this.getLastKey();\n let nextKey = key;\n if (this.orientation === 'horizontal') {\n let pageX = Math.min(this.layoutDelegate.getContentSize().width, itemRect.y - itemRect.width + this.layoutDelegate.getVisibleRect().width);\n while(itemRect && itemRect.x < pageX && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n } else {\n let pageY = Math.min(this.layoutDelegate.getContentSize().height, itemRect.y - itemRect.height + this.layoutDelegate.getVisibleRect().height);\n while(itemRect && itemRect.y < pageY && nextKey != null){\n nextKey = this.getKeyBelow(nextKey);\n itemRect = nextKey == null ? null : this.layoutDelegate.getItemRect(nextKey);\n }\n }\n return nextKey !== null && nextKey !== void 0 ? nextKey : this.getLastKey();\n }\n getKeyForSearch(search, fromKey) {\n if (!this.collator) return null;\n let collection = this.collection;\n let key = fromKey || this.getFirstKey();\n while(key != null){\n let item = collection.getItem(key);\n if (!item) return null;\n let substring = item.textValue.slice(0, search.length);\n if (item.textValue && this.collator.compare(substring, search) === 0) return key;\n key = this.getNextKey(key);\n }\n return null;\n }\n constructor(...args){\n if (args.length === 1) {\n let opts = args[0];\n this.collection = opts.collection;\n this.ref = opts.ref;\n this.collator = opts.collator;\n this.disabledKeys = opts.disabledKeys || new Set();\n this.disabledBehavior = opts.disabledBehavior || 'all';\n this.orientation = opts.orientation || 'vertical';\n this.direction = opts.direction;\n this.layout = opts.layout || 'stack';\n this.layoutDelegate = opts.layoutDelegate || new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(opts.ref);\n } else {\n this.collection = args[0];\n this.disabledKeys = args[1];\n this.ref = args[2];\n this.collator = args[3];\n this.layout = 'stack';\n this.orientation = 'vertical';\n this.disabledBehavior = 'all';\n this.layoutDelegate = new (0, $657e4dc4a6e88df0$export$8f5ed9ff9f511381)(this.ref);\n }\n // If this is a vertical stack, remove the left/right methods completely\n // so they aren't called by useDroppableCollection.\n if (this.layout === 'stack' && this.orientation === 'vertical') {\n this.getKeyLeftOf = undefined;\n this.getKeyRightOf = undefined;\n }\n }\n}\n\n\nexport {$2a25aae57d74318e$export$a05409b8bb224a5a as ListKeyboardDelegate};\n//# sourceMappingURL=ListKeyboardDelegate.module.js.map\n"],"names":["$2a25aae57d74318e$export$a05409b8bb224a5a","item","_item_props","key","getNext","nextKey","shouldSkip","tempKey","itemRect","prevRect","right","layoutDelegateMethod","menu","$eak97$isScrollable","pageX","pageY","search","fromKey","collection","substring","args","opts","$657e4dc4a6e88df0$export$8f5ed9ff9f511381"],"mappings":";;AAeA,MAAMA,EAA0C;AAAA,EAC5C,WAAWC,GAAM;AACb,QAAIC;AACJ,WAAO,KAAK,qBAAqB,YAAYA,IAAcD,EAAK,WAAW,QAAQC,MAAgB,SAAS,SAASA,EAAY,eAAe,KAAK,aAAa,IAAID,EAAK,GAAG;AAAA,EACjL;AAAA,EACD,oBAAoBE,GAAKC,GAAS;AAC9B,QAAIC,IAAUF;AACd,WAAME,KAAW,QAAK;AAClB,UAAIJ,IAAO,KAAK,WAAW,QAAQI,CAAO;AAC1C,WAAKJ,KAAS,OAA0B,SAASA,EAAK,UAAU,U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K,MAAMA,EAAK,KAChB,KAAK,WAAWA,EAAK,UACrB,KAAK,eAAeA,EAAK,gBAAgB,oBAAI,IAAG,GAChD,KAAK,mBAAmBA,EAAK,oBAAoB,OACjD,KAAK,cAAcA,EAAK,eAAe,YACvC,KAAK,YAAYA,EAAK,WACtB,KAAK,SAASA,EAAK,UAAU,SAC7B,KAAK,iBAAiBA,EAAK,kBAAkB,IAAQC,EAA2CD,EAAK,GAAG;AAAA,IACpH;AACY,WAAK,aAAaD,EAAK,CAAC,GACxB,KAAK,eAAeA,EAAK,CAAC,GAC1B,KAAK,MAAMA,EAAK,CAAC,GACjB,KAAK,WAAWA,EAAK,CAAC,GACtB,KAAK,SAAS,SACd,KAAK,cAAc,YACnB,KAAK,mBAAmB,OACxB,KAAK,iBAAiB,IAAQE,EAA2C,KAAK,GAAG;AAIrF,IAAI,KAAK,WAAW,WAAW,KAAK,gBAAgB,eAChD,KAAK,eAAe,QACpB,KAAK,gBAAgB;AAAA,EAE5B;AACL;","x_google_ignoreList":[0]}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./utils.cjs.js"),re=require("./useTypeSelect.cjs.js"),u=require("@react-aria/utils"),ue=require("../../focus/dist/FocusScope.cjs.js"),z=require("../../focus/dist/virtualFocus.cjs.js"),W=require("../../interactions/dist/useFocusVisible.cjs.js"),H=require("../../interactions/dist/focusSafely.cjs.js"),ie=require("react-dom"),v=require("react"),ne=require("../../i18n/dist/context.cjs.js");function ce(j){let{selectionManager:e,keyboardDelegate:t,ref:n,autoFocus:P=!1,shouldFocusWrap:T=!1,disallowEmptySelection:G=!1,disallowSelectAll:J=!1,escapeKeyBehavior:Q="clearSelection",selectOnFocus:S=e.selectionBehavior==="replace",disallowTypeAhead:X=!1,shouldUseVirtualFocus:F,allowsTabNavigation:Y=!1,isVirtualized:q,scrollRef:a=n,linkBehavior:N="action"}=j,{direction:h}=ne.useLocale(),Z=u.useRouter(),_=l=>{var r;if(l.altKey&&l.key==="Tab"&&l.preventDefault(),!(!((r=n.current)===null||r===void 0)&&r.contains(l.target)))return;const i=(o,p)=>{if(o!=null){if(e.isLink(o)&&N==="selection"&&S&&!m.isNonContiguousSelectionModifier(l)){ie.flushSync(()=>{e.setFocusedKey(o,p)});let K=m.getItemElement(n,o),$=e.getItemProps(o);K&&Z.open(K,l,$.href,$.routerOptions);return}if(e.setFocusedKey(o,p),e.isLink(o)&&N==="override")return;l.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(o):S&&!m.isNonContiguousSelectionModifier(l)&&e.replaceSelection(o)}};switch(l.key){case"ArrowDown":if(t.getKeyBelow){var c,f,s;let o=e.focusedKey!=null?(c=t.getKeyBelow)===null||c===void 0?void 0:c.call(t,e.focusedKey):(f=t.getFirstKey)===null||f===void 0?void 0:f.call(t);o==null&&T&&(o=(s=t.getFirstKey)===null||s===void 0?void 0:s.call(t,e.focusedKey)),o!=null&&(l.preventDefault(),i(o))}break;case"ArrowUp":if(t.getKeyAbove){var d,y,I;let o=e.focusedKey!=null?(d=t.getKeyAbove)===null||d===void 0?void 0:d.call(t,e.focusedKey):(y=t.getLastKey)===null||y===void 0?void 0:y.call(t);o==null&&T&&(o=(I=t.getLastKey)===null||I===void 0?void 0:I.call(t,e.focusedKey)),o!=null&&(l.preventDefault(),i(o))}break;case"ArrowLeft":if(t.getKeyLeftOf){var k,M,x;let o=e.focusedKey!=null?(k=t.getKeyLeftOf)===null||k===void 0?void 0:k.call(t,e.focusedKey):null;o==null&&T&&(o=h==="rtl"?(M=t.getFirstKey)===null||M===void 0?void 0:M.call(t,e.focusedKey):(x=t.getLastKey)===null||x===void 0?void 0:x.call(t,e.focusedKey)),o!=null&&(l.preventDefault(),i(o,h==="rtl"?"first":"last"))}break;case"ArrowRight":if(t.getKeyRightOf){var C,V,O;let o=e.focusedKey!=null?(C=t.getKeyRightOf)===null||C===void 0?void 0:C.call(t,e.focusedKey):null;o==null&&T&&(o=h==="rtl"?(V=t.getLastKey)===null||V===void 0?void 0:V.call(t,e.focusedKey):(O=t.getFirstKey)===null||O===void 0?void 0:O.call(t,e.focusedKey)),o!=null&&(l.preventDefault(),i(o,h==="rtl"?"last":"first"))}break;case"Home":if(t.getFirstKey){if(e.focusedKey===null&&l.shiftKey)return;l.preventDefault();let o=t.getFirstKey(e.focusedKey,u.isCtrlKeyPressed(l));e.setFocusedKey(o),o!=null&&(u.isCtrlKeyPressed(l)&&l.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(o):S&&e.replaceSelection(o))}break;case"End":if(t.getLastKey){if(e.focusedKey===null&&l.shiftKey)return;l.preventDefault();let o=t.getLastKey(e.focusedKey,u.isCtrlKeyPressed(l));e.setFocusedKey(o),o!=null&&(u.isCtrlKeyPressed(l)&&l.shiftKey&&e.selectionMode==="multiple"?e.extendSelection(o):S&&e.replaceSelection(o))}break;case"PageDown":if(t.getKeyPageBelow&&e.focusedKey!=null){let o=t.getKeyPageBelow(e.focusedKey);o!=null&&(l.preventDefault(),i(o))}break;case"PageUp":if(t.getKeyPageAbove&&e.focusedKey!=null){let o=t.getKeyPageAbove(e.focusedKey);o!=null&&(l.preventDefault(),i(o))}break;case"a":u.isCtrlKeyPressed(l)&&e.selectionMode==="multiple"&&J!==!0&&(l.preventDefault(),e.selectAll());break;case"Escape":Q==="clearSelection"&&!G&&e.selectedKeys.size!==0&&(l.stopPropagation(),l.preventDefault(),e.clearSelection());break;case"Tab":if(!Y){if(l.shiftKey)n.current.focus();else{let o=ue.getFocusableTreeWalker(n.current,{tabbable:!0}),p,K;do K=o.lastChild(),K&&(p=K);while(K);p&&!p.contains(document.activeElement)&&u.focusWithoutScrolling(p)}break}}},D=v.useRef({top:0,left:0});u.useEvent(a,"scroll",q?void 0:()=>{var l,r,i,c;D.current={top:(i=(l=a.current)===null||l===void 0?void 0:l.scrollTop)!==null&&i!==void 0?i:0,left:(c=(r=a.current)===null||r===void 0?void 0:r.scrollLeft)!==null&&c!==void 0?c:0}});let ee=l=>{if(e.isFocused){l.currentTarget.contains(l.target)||e.setFocused(!1);return}if(l.currentTarget.contains(l.target)){if(e.setFocused(!0),e.focusedKey==null){var r,i;let s=y=>{y!=null&&(e.setFocusedKey(y),S&&!e.isSelected(y)&&e.replaceSelection(y))},d=l.relatedTarget;var c,f;d&&l.currentTarget.compareDocumentPosition(d)&Node.DOCUMENT_POSITION_FOLLOWING?s((c=e.lastSelectedKey)!==null&&c!==void 0?c:(r=t.getLastKey)===null||r===void 0?void 0:r.call(t)):s((f=e.firstSelectedKey)!==null&&f!==void 0?f:(i=t.getFirstKey)===null||i===void 0?void 0:i.call(t))}else!q&&a.current&&(a.current.scrollTop=D.current.top,a.current.scrollLeft=D.current.left);if(e.focusedKey!=null&&a.current){let s=m.getItemElement(n,e.focusedKey);s instanceof HTMLElement&&(!s.contains(document.activeElement)&&!F&&u.focusWithoutScrolling(s),W.getInteractionModality()==="keyboard"&&u.scrollIntoViewport(s,{containingElement:n.current}))}}},le=l=>{l.currentTarget.contains(l.relatedTarget)||e.setFocused(!1)},b=v.useRef(!1);u.useEvent(n,u.FOCUS_EVENT,F?l=>{let{detail:r}=l;l.stopPropagation(),e.setFocused(!0),(r==null?void 0:r.focusStrategy)==="first"&&(b.current=!0)}:void 0);let B=u.useEffectEvent(()=>{var l,r;let i=(r=(l=t.getFirstKey)===null||l===void 0?void 0:l.call(t))!==null&&r!==void 0?r:null;if(i==null){let c=u.getActiveElement();z.moveVirtualFocus(n.current),z.dispatchVirtualFocus(c,null),e.collection.size>0&&(b.current=!1)}else e.setFocusedKey(i),b.current=!1});u.useUpdateLayoutEffect(()=>{b.current&&B()},[e.collection,B]);let U=u.useEffectEvent(()=>{e.collection.size>0&&(b.current=!1)});u.useUpdateLayoutEffect(()=>{U()},[e.focusedKey,U]),u.useEvent(n,u.CLEAR_FOCUS_EVENT,F?l=>{var r;l.stopPropagation(),e.setFocused(!1),!((r=l.detail)===null||r===void 0)&&r.clearFocusKey&&e.setFocusedKey(null)}:void 0);const g=v.useRef(P),w=v.useRef(!1);v.useEffect(()=>{if(g.current){var l,r;let f=null;var i;P==="first"&&(f=(i=(l=t.getFirstKey)===null||l===void 0?void 0:l.call(t))!==null&&i!==void 0?i:null);var c;P==="last"&&(f=(c=(r=t.getLastKey)===null||r===void 0?void 0:r.call(t))!==null&&c!==void 0?c:null);let s=e.selectedKeys;if(s.size){for(let d of s)if(e.canSelectItem(d)){f=d;break}}e.setFocused(!0),e.setFocusedKey(f),f==null&&!F&&n.current&&H.focusSafely(n.current),e.collection.size>0&&(g.current=!1,w.current=!0)}});let A=v.useRef(e.focusedKey),E=v.useRef(null);v.useEffect(()=>{if(e.isFocused&&e.focusedKey!=null&&(e.focusedKey!==A.current||w.current)&&a.current&&n.current){let l=W.getInteractionModality(),r=m.getItemElement(n,e.focusedKey);if(!(r instanceof HTMLElement))return;(l==="keyboard"||w.current)&&(E.current&&cancelAnimationFrame(E.current),E.current=requestAnimationFrame(()=>{a.current&&(u.scrollIntoView(a.current,r),l!=="virtual"&&u.scrollIntoViewport(r,{containingElement:n.current}))}))}!F&&e.isFocused&&e.focusedKey==null&&A.current!=null&&n.current&&H.focusSafely(n.current),A.current=e.focusedKey,w.current=!1}),v.useEffect(()=>()=>{E.current&&cancelAnimationFrame(E.current)},[]),u.useEvent(n,"react-aria-focus-scope-restore",l=>{l.preventDefault(),e.setFocused(!0)});let R={onKeyDown:_,onFocus:ee,onBlur:le,onMouseDown(l){a.current===l.target&&l.preventDefault()}},{typeSelectProps:te}=re.useTypeSelect({keyboardDelegate:t,selectionManager:e});X||(R=u.mergeProps(te,R));let L;F||(L=e.focusedKey==null?0:-1);let oe=m.useCollectionId(e.collection);return{collectionProps:u.mergeProps(R,{tabIndex:L,"data-collection":oe})}}exports.useSelectableCollection=ce;
|
|
2
|
-
//# sourceMappingURL=useSelectableCollection.cjs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSelectableCollection.cjs.js","sources":["../../../../../node_modules/@react-aria/selection/dist/useSelectableCollection.mjs"],"sourcesContent":["import {getItemElement as $feb5ffebff200149$export$c3d8340acf92597f, isNonContiguousSelectionModifier as $feb5ffebff200149$export$d3e3bd3e26688c04, useCollectionId as $feb5ffebff200149$export$881eb0d9f3605d9d} from \"./utils.mjs\";\nimport {useTypeSelect as $fb3050f43d946246$export$e32c88dfddc6e1d8} from \"./useTypeSelect.mjs\";\nimport {useRouter as $3H3GQ$useRouter, isCtrlKeyPressed as $3H3GQ$isCtrlKeyPressed, focusWithoutScrolling as $3H3GQ$focusWithoutScrolling, useEvent as $3H3GQ$useEvent, scrollIntoViewport as $3H3GQ$scrollIntoViewport, FOCUS_EVENT as $3H3GQ$FOCUS_EVENT, useEffectEvent as $3H3GQ$useEffectEvent, getActiveElement as $3H3GQ$getActiveElement, useUpdateLayoutEffect as $3H3GQ$useUpdateLayoutEffect, CLEAR_FOCUS_EVENT as $3H3GQ$CLEAR_FOCUS_EVENT, scrollIntoView as $3H3GQ$scrollIntoView, mergeProps as $3H3GQ$mergeProps} from \"@react-aria/utils\";\nimport {getFocusableTreeWalker as $3H3GQ$getFocusableTreeWalker, moveVirtualFocus as $3H3GQ$moveVirtualFocus, dispatchVirtualFocus as $3H3GQ$dispatchVirtualFocus} from \"@react-aria/focus\";\nimport {flushSync as $3H3GQ$flushSync} from \"react-dom\";\nimport {useRef as $3H3GQ$useRef, useEffect as $3H3GQ$useEffect} from \"react\";\nimport {getInteractionModality as $3H3GQ$getInteractionModality, focusSafely as $3H3GQ$focusSafely} from \"@react-aria/interactions\";\nimport {useLocale as $3H3GQ$useLocale} from \"@react-aria/i18n\";\n\n/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\n\n\n\n\n\nfunction $ae20dd8cbca75726$export$d6daf82dcd84e87c(options) {\n let { selectionManager: manager, keyboardDelegate: delegate, ref: ref, autoFocus: autoFocus = false, shouldFocusWrap: shouldFocusWrap = false, disallowEmptySelection: disallowEmptySelection = false, disallowSelectAll: disallowSelectAll = false, escapeKeyBehavior: escapeKeyBehavior = 'clearSelection', selectOnFocus: selectOnFocus = manager.selectionBehavior === 'replace', disallowTypeAhead: disallowTypeAhead = false, shouldUseVirtualFocus: shouldUseVirtualFocus, allowsTabNavigation: allowsTabNavigation = false, isVirtualized: isVirtualized, scrollRef: // If no scrollRef is provided, assume the collection ref is the scrollable region\n scrollRef = ref, linkBehavior: linkBehavior = 'action' } = options;\n let { direction: direction } = (0, $3H3GQ$useLocale)();\n let router = (0, $3H3GQ$useRouter)();\n let onKeyDown = (e)=>{\n var _ref_current;\n // Prevent option + tab from doing anything since it doesn't move focus to the cells, only buttons/checkboxes\n if (e.altKey && e.key === 'Tab') e.preventDefault();\n // Keyboard events bubble through portals. Don't handle keyboard events\n // for elements outside the collection (e.g. menus).\n if (!((_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.contains(e.target))) return;\n const navigateToKey = (key, childFocus)=>{\n if (key != null) {\n if (manager.isLink(key) && linkBehavior === 'selection' && selectOnFocus && !(0, $feb5ffebff200149$export$d3e3bd3e26688c04)(e)) {\n // Set focused key and re-render synchronously to bring item into view if needed.\n (0, $3H3GQ$flushSync)(()=>{\n manager.setFocusedKey(key, childFocus);\n });\n let item = (0, $feb5ffebff200149$export$c3d8340acf92597f)(ref, key);\n let itemProps = manager.getItemProps(key);\n if (item) router.open(item, e, itemProps.href, itemProps.routerOptions);\n return;\n }\n manager.setFocusedKey(key, childFocus);\n if (manager.isLink(key) && linkBehavior === 'override') return;\n if (e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(key);\n else if (selectOnFocus && !(0, $feb5ffebff200149$export$d3e3bd3e26688c04)(e)) manager.replaceSelection(key);\n }\n };\n switch(e.key){\n case 'ArrowDown':\n if (delegate.getKeyBelow) {\n var _delegate_getKeyBelow, _delegate_getFirstKey, _delegate_getFirstKey1;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyBelow = delegate.getKeyBelow) === null || _delegate_getKeyBelow === void 0 ? void 0 : _delegate_getKeyBelow.call(delegate, manager.focusedKey) : (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate);\n if (nextKey == null && shouldFocusWrap) nextKey = (_delegate_getFirstKey1 = delegate.getFirstKey) === null || _delegate_getFirstKey1 === void 0 ? void 0 : _delegate_getFirstKey1.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowUp':\n if (delegate.getKeyAbove) {\n var _delegate_getKeyAbove, _delegate_getLastKey, _delegate_getLastKey1;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyAbove = delegate.getKeyAbove) === null || _delegate_getKeyAbove === void 0 ? void 0 : _delegate_getKeyAbove.call(delegate, manager.focusedKey) : (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate);\n if (nextKey == null && shouldFocusWrap) nextKey = (_delegate_getLastKey1 = delegate.getLastKey) === null || _delegate_getLastKey1 === void 0 ? void 0 : _delegate_getLastKey1.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'ArrowLeft':\n if (delegate.getKeyLeftOf) {\n var _delegate_getKeyLeftOf, _delegate_getFirstKey2, _delegate_getLastKey2;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyLeftOf = delegate.getKeyLeftOf) === null || _delegate_getKeyLeftOf === void 0 ? void 0 : _delegate_getKeyLeftOf.call(delegate, manager.focusedKey) : null;\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? (_delegate_getFirstKey2 = delegate.getFirstKey) === null || _delegate_getFirstKey2 === void 0 ? void 0 : _delegate_getFirstKey2.call(delegate, manager.focusedKey) : (_delegate_getLastKey2 = delegate.getLastKey) === null || _delegate_getLastKey2 === void 0 ? void 0 : _delegate_getLastKey2.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'first' : 'last');\n }\n }\n break;\n case 'ArrowRight':\n if (delegate.getKeyRightOf) {\n var _delegate_getKeyRightOf, _delegate_getLastKey3, _delegate_getFirstKey3;\n let nextKey = manager.focusedKey != null ? (_delegate_getKeyRightOf = delegate.getKeyRightOf) === null || _delegate_getKeyRightOf === void 0 ? void 0 : _delegate_getKeyRightOf.call(delegate, manager.focusedKey) : null;\n if (nextKey == null && shouldFocusWrap) nextKey = direction === 'rtl' ? (_delegate_getLastKey3 = delegate.getLastKey) === null || _delegate_getLastKey3 === void 0 ? void 0 : _delegate_getLastKey3.call(delegate, manager.focusedKey) : (_delegate_getFirstKey3 = delegate.getFirstKey) === null || _delegate_getFirstKey3 === void 0 ? void 0 : _delegate_getFirstKey3.call(delegate, manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey, direction === 'rtl' ? 'last' : 'first');\n }\n }\n break;\n case 'Home':\n if (delegate.getFirstKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let firstKey = delegate.getFirstKey(manager.focusedKey, (0, $3H3GQ$isCtrlKeyPressed)(e));\n manager.setFocusedKey(firstKey);\n if (firstKey != null) {\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(firstKey);\n else if (selectOnFocus) manager.replaceSelection(firstKey);\n }\n }\n break;\n case 'End':\n if (delegate.getLastKey) {\n if (manager.focusedKey === null && e.shiftKey) return;\n e.preventDefault();\n let lastKey = delegate.getLastKey(manager.focusedKey, (0, $3H3GQ$isCtrlKeyPressed)(e));\n manager.setFocusedKey(lastKey);\n if (lastKey != null) {\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && e.shiftKey && manager.selectionMode === 'multiple') manager.extendSelection(lastKey);\n else if (selectOnFocus) manager.replaceSelection(lastKey);\n }\n }\n break;\n case 'PageDown':\n if (delegate.getKeyPageBelow && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageBelow(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'PageUp':\n if (delegate.getKeyPageAbove && manager.focusedKey != null) {\n let nextKey = delegate.getKeyPageAbove(manager.focusedKey);\n if (nextKey != null) {\n e.preventDefault();\n navigateToKey(nextKey);\n }\n }\n break;\n case 'a':\n if ((0, $3H3GQ$isCtrlKeyPressed)(e) && manager.selectionMode === 'multiple' && disallowSelectAll !== true) {\n e.preventDefault();\n manager.selectAll();\n }\n break;\n case 'Escape':\n if (escapeKeyBehavior === 'clearSelection' && !disallowEmptySelection && manager.selectedKeys.size !== 0) {\n e.stopPropagation();\n e.preventDefault();\n manager.clearSelection();\n }\n break;\n case 'Tab':\n if (!allowsTabNavigation) {\n // There may be elements that are \"tabbable\" inside a collection (e.g. in a grid cell).\n // However, collections should be treated as a single tab stop, with arrow key navigation internally.\n // We don't control the rendering of these, so we can't override the tabIndex to prevent tabbing.\n // Instead, we handle the Tab key, and move focus manually to the first/last tabbable element\n // in the collection, so that the browser default behavior will apply starting from that element\n // rather than the currently focused one.\n if (e.shiftKey) ref.current.focus();\n else {\n let walker = (0, $3H3GQ$getFocusableTreeWalker)(ref.current, {\n tabbable: true\n });\n let next = undefined;\n let last;\n do {\n last = walker.lastChild();\n if (last) next = last;\n }while (last);\n if (next && !next.contains(document.activeElement)) (0, $3H3GQ$focusWithoutScrolling)(next);\n }\n break;\n }\n }\n };\n // Store the scroll position so we can restore it later.\n /// TODO: should this happen all the time??\n let scrollPos = (0, $3H3GQ$useRef)({\n top: 0,\n left: 0\n });\n (0, $3H3GQ$useEvent)(scrollRef, 'scroll', isVirtualized ? undefined : ()=>{\n var _scrollRef_current, _scrollRef_current1;\n var _scrollRef_current_scrollTop, _scrollRef_current_scrollLeft;\n scrollPos.current = {\n top: (_scrollRef_current_scrollTop = (_scrollRef_current = scrollRef.current) === null || _scrollRef_current === void 0 ? void 0 : _scrollRef_current.scrollTop) !== null && _scrollRef_current_scrollTop !== void 0 ? _scrollRef_current_scrollTop : 0,\n left: (_scrollRef_current_scrollLeft = (_scrollRef_current1 = scrollRef.current) === null || _scrollRef_current1 === void 0 ? void 0 : _scrollRef_current1.scrollLeft) !== null && _scrollRef_current_scrollLeft !== void 0 ? _scrollRef_current_scrollLeft : 0\n };\n });\n let onFocus = (e)=>{\n if (manager.isFocused) {\n // If a focus event bubbled through a portal, reset focus state.\n if (!e.currentTarget.contains(e.target)) manager.setFocused(false);\n return;\n }\n // Focus events can bubble through portals. Ignore these events.\n if (!e.currentTarget.contains(e.target)) return;\n manager.setFocused(true);\n if (manager.focusedKey == null) {\n var _delegate_getLastKey, _delegate_getFirstKey;\n let navigateToKey = (key)=>{\n if (key != null) {\n manager.setFocusedKey(key);\n if (selectOnFocus && !manager.isSelected(key)) manager.replaceSelection(key);\n }\n };\n // If the user hasn't yet interacted with the collection, there will be no focusedKey set.\n // Attempt to detect whether the user is tabbing forward or backward into the collection\n // and either focus the first or last item accordingly.\n let relatedTarget = e.relatedTarget;\n var _manager_lastSelectedKey, _manager_firstSelectedKey;\n if (relatedTarget && e.currentTarget.compareDocumentPosition(relatedTarget) & Node.DOCUMENT_POSITION_FOLLOWING) navigateToKey((_manager_lastSelectedKey = manager.lastSelectedKey) !== null && _manager_lastSelectedKey !== void 0 ? _manager_lastSelectedKey : (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate));\n else navigateToKey((_manager_firstSelectedKey = manager.firstSelectedKey) !== null && _manager_firstSelectedKey !== void 0 ? _manager_firstSelectedKey : (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate));\n } else if (!isVirtualized && scrollRef.current) {\n // Restore the scroll position to what it was before.\n scrollRef.current.scrollTop = scrollPos.current.top;\n scrollRef.current.scrollLeft = scrollPos.current.left;\n }\n if (manager.focusedKey != null && scrollRef.current) {\n // Refocus and scroll the focused item into view if it exists within the scrollable region.\n let element = (0, $feb5ffebff200149$export$c3d8340acf92597f)(ref, manager.focusedKey);\n if (element instanceof HTMLElement) {\n // This prevents a flash of focus on the first/last element in the collection, or the collection itself.\n if (!element.contains(document.activeElement) && !shouldUseVirtualFocus) (0, $3H3GQ$focusWithoutScrolling)(element);\n let modality = (0, $3H3GQ$getInteractionModality)();\n if (modality === 'keyboard') (0, $3H3GQ$scrollIntoViewport)(element, {\n containingElement: ref.current\n });\n }\n }\n };\n let onBlur = (e)=>{\n // Don't set blurred and then focused again if moving focus within the collection.\n if (!e.currentTarget.contains(e.relatedTarget)) manager.setFocused(false);\n };\n // Ref to track whether the first item in the collection should be automatically focused. Specifically used for autocomplete when user types\n // to focus the first key AFTER the collection updates.\n // TODO: potentially expand the usage of this\n let shouldVirtualFocusFirst = (0, $3H3GQ$useRef)(false);\n // Add event listeners for custom virtual events. These handle updating the focused key in response to various keyboard events\n // at the autocomplete level\n // TODO: fix type later\n (0, $3H3GQ$useEvent)(ref, (0, $3H3GQ$FOCUS_EVENT), !shouldUseVirtualFocus ? undefined : (e)=>{\n let { detail: detail } = e;\n e.stopPropagation();\n manager.setFocused(true);\n // If the user is typing forwards, autofocus the first option in the list.\n if ((detail === null || detail === void 0 ? void 0 : detail.focusStrategy) === 'first') shouldVirtualFocusFirst.current = true;\n });\n let updateActiveDescendant = (0, $3H3GQ$useEffectEvent)(()=>{\n var _delegate_getFirstKey;\n var _delegate_getFirstKey1;\n let keyToFocus = (_delegate_getFirstKey1 = (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate)) !== null && _delegate_getFirstKey1 !== void 0 ? _delegate_getFirstKey1 : null;\n // If no focusable items exist in the list, make sure to clear any activedescendant that may still exist and move focus back to\n // the original active element (e.g. the autocomplete input)\n if (keyToFocus == null) {\n let previousActiveElement = (0, $3H3GQ$getActiveElement)();\n (0, $3H3GQ$moveVirtualFocus)(ref.current);\n (0, $3H3GQ$dispatchVirtualFocus)(previousActiveElement, null);\n // If there wasn't a focusable key but the collection had items, then that means we aren't in an intermediate load state and all keys are disabled.\n // Reset shouldVirtualFocusFirst so that we don't erronously autofocus an item when the collection is filtered again.\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n } else {\n manager.setFocusedKey(keyToFocus);\n // Only set shouldVirtualFocusFirst to false if we've successfully set the first key as the focused key\n // If there wasn't a key to focus, we might be in a temporary loading state so we'll want to still focus the first key\n // after the collection updates after load\n shouldVirtualFocusFirst.current = false;\n }\n });\n (0, $3H3GQ$useUpdateLayoutEffect)(()=>{\n if (shouldVirtualFocusFirst.current) updateActiveDescendant();\n }, [\n manager.collection,\n updateActiveDescendant\n ]);\n let resetFocusFirstFlag = (0, $3H3GQ$useEffectEvent)(()=>{\n // If user causes the focused key to change in any other way, clear shouldVirtualFocusFirst so we don't\n // accidentally move focus from under them. Skip this if the collection was empty because we might be in a load\n // state and will still want to focus the first item after load\n if (manager.collection.size > 0) shouldVirtualFocusFirst.current = false;\n });\n (0, $3H3GQ$useUpdateLayoutEffect)(()=>{\n resetFocusFirstFlag();\n }, [\n manager.focusedKey,\n resetFocusFirstFlag\n ]);\n (0, $3H3GQ$useEvent)(ref, (0, $3H3GQ$CLEAR_FOCUS_EVENT), !shouldUseVirtualFocus ? undefined : (e)=>{\n var _e_detail;\n e.stopPropagation();\n manager.setFocused(false);\n if ((_e_detail = e.detail) === null || _e_detail === void 0 ? void 0 : _e_detail.clearFocusKey) manager.setFocusedKey(null);\n });\n const autoFocusRef = (0, $3H3GQ$useRef)(autoFocus);\n const didAutoFocusRef = (0, $3H3GQ$useRef)(false);\n (0, $3H3GQ$useEffect)(()=>{\n if (autoFocusRef.current) {\n var _delegate_getFirstKey, _delegate_getLastKey;\n let focusedKey = null;\n var _delegate_getFirstKey1;\n // Check focus strategy to determine which item to focus\n if (autoFocus === 'first') focusedKey = (_delegate_getFirstKey1 = (_delegate_getFirstKey = delegate.getFirstKey) === null || _delegate_getFirstKey === void 0 ? void 0 : _delegate_getFirstKey.call(delegate)) !== null && _delegate_getFirstKey1 !== void 0 ? _delegate_getFirstKey1 : null;\n var _delegate_getLastKey1;\n if (autoFocus === 'last') focusedKey = (_delegate_getLastKey1 = (_delegate_getLastKey = delegate.getLastKey) === null || _delegate_getLastKey === void 0 ? void 0 : _delegate_getLastKey.call(delegate)) !== null && _delegate_getLastKey1 !== void 0 ? _delegate_getLastKey1 : null;\n // If there are any selected keys, make the first one the new focus target\n let selectedKeys = manager.selectedKeys;\n if (selectedKeys.size) {\n for (let key of selectedKeys)if (manager.canSelectItem(key)) {\n focusedKey = key;\n break;\n }\n }\n manager.setFocused(true);\n manager.setFocusedKey(focusedKey);\n // If no default focus key is selected, focus the collection itself.\n if (focusedKey == null && !shouldUseVirtualFocus && ref.current) (0, $3H3GQ$focusSafely)(ref.current);\n // Wait until the collection has items to autofocus.\n if (manager.collection.size > 0) {\n autoFocusRef.current = false;\n didAutoFocusRef.current = true;\n }\n }\n });\n // Scroll the focused element into view when the focusedKey changes.\n let lastFocusedKey = (0, $3H3GQ$useRef)(manager.focusedKey);\n let raf = (0, $3H3GQ$useRef)(null);\n (0, $3H3GQ$useEffect)(()=>{\n if (manager.isFocused && manager.focusedKey != null && (manager.focusedKey !== lastFocusedKey.current || didAutoFocusRef.current) && scrollRef.current && ref.current) {\n let modality = (0, $3H3GQ$getInteractionModality)();\n let element = (0, $feb5ffebff200149$export$c3d8340acf92597f)(ref, manager.focusedKey);\n if (!(element instanceof HTMLElement)) // If item element wasn't found, return early (don't update autoFocusRef and lastFocusedKey).\n // The collection may initially be empty (e.g. virtualizer), so wait until the element exists.\n return;\n if (modality === 'keyboard' || didAutoFocusRef.current) {\n if (raf.current) cancelAnimationFrame(raf.current);\n raf.current = requestAnimationFrame(()=>{\n if (scrollRef.current) {\n (0, $3H3GQ$scrollIntoView)(scrollRef.current, element);\n // Avoid scroll in iOS VO, since it may cause overlay to close (i.e. RAC submenu)\n if (modality !== 'virtual') (0, $3H3GQ$scrollIntoViewport)(element, {\n containingElement: ref.current\n });\n }\n });\n }\n }\n // If the focused key becomes null (e.g. the last item is deleted), focus the whole collection.\n if (!shouldUseVirtualFocus && manager.isFocused && manager.focusedKey == null && lastFocusedKey.current != null && ref.current) (0, $3H3GQ$focusSafely)(ref.current);\n lastFocusedKey.current = manager.focusedKey;\n didAutoFocusRef.current = false;\n });\n (0, $3H3GQ$useEffect)(()=>{\n return ()=>{\n if (raf.current) cancelAnimationFrame(raf.current);\n };\n }, []);\n // Intercept FocusScope restoration since virtualized collections can reuse DOM nodes.\n (0, $3H3GQ$useEvent)(ref, 'react-aria-focus-scope-restore', (e)=>{\n e.preventDefault();\n manager.setFocused(true);\n });\n let handlers = {\n onKeyDown: onKeyDown,\n onFocus: onFocus,\n onBlur: onBlur,\n onMouseDown (e) {\n // Ignore events that bubbled through portals.\n if (scrollRef.current === e.target) // Prevent focus going to the collection when clicking on the scrollbar.\n e.preventDefault();\n }\n };\n let { typeSelectProps: typeSelectProps } = (0, $fb3050f43d946246$export$e32c88dfddc6e1d8)({\n keyboardDelegate: delegate,\n selectionManager: manager\n });\n if (!disallowTypeAhead) handlers = (0, $3H3GQ$mergeProps)(typeSelectProps, handlers);\n // If nothing is focused within the collection, make the collection itself tabbable.\n // This will be marshalled to either the first or last item depending on where focus came from.\n let tabIndex = undefined;\n if (!shouldUseVirtualFocus) tabIndex = manager.focusedKey == null ? 0 : -1;\n let collectionId = (0, $feb5ffebff200149$export$881eb0d9f3605d9d)(manager.collection);\n return {\n collectionProps: (0, $3H3GQ$mergeProps)(handlers, {\n tabIndex: tabIndex,\n 'data-collection': collectionId\n })\n };\n}\n\n\nexport {$ae20dd8cbca75726$export$d6daf82dcd84e87c as useSelectableCollection};\n//# sourceMappingURL=useSelectableCollection.module.js.map\n"],"names":["$ae20dd8cbca75726$export$d6daf82dcd84e87c","options","manager","delegate","ref","autoFocus","shouldFocusWrap","disallowEmptySelection","disallowSelectAll","escapeKeyBehavior","selectOnFocus","disallowTypeAhead","shouldUseVirtualFocus","allowsTabNavigation","isVirtualized","scrollRef","linkBehavior","direction","$3H3GQ$useLocale","router","$3H3GQ$useRouter","onKeyDown","e","_ref_current","navigateToKey","key","childFocus","$feb5ffebff200149$export$d3e3bd3e26688c04","$3H3GQ$flushSync","item","$feb5ffebff200149$export$c3d8340acf92597f","itemProps","_delegate_getKeyBelow","_delegate_getFirstKey","_delegate_getFirstKey1","nextKey","_delegate_getKeyAbove","_delegate_getLastKey","_delegate_getLastKey1","_delegate_getKeyLeftOf","_delegate_getFirstKey2","_delegate_getLastKey2","_delegate_getKeyRightOf","_delegate_getLastKey3","_delegate_getFirstKey3","firstKey","$3H3GQ$isCtrlKeyPressed","lastKey","walker","$3H3GQ$getFocusableTreeWalker","next","last","$3H3GQ$focusWithoutScrolling","scrollPos","$3H3GQ$useRef","$3H3GQ$useEvent","_scrollRef_current","_scrollRef_current1","_scrollRef_current_scrollTop","_scrollRef_current_scrollLeft","onFocus","relatedTarget","_manager_lastSelectedKey","_manager_firstSelectedKey","element","$3H3GQ$getInteractionModality","$3H3GQ$scrollIntoViewport","onBlur","shouldVirtualFocusFirst","$3H3GQ$FOCUS_EVENT","detail","updateActiveDescendant","$3H3GQ$useEffectEvent","keyToFocus","previousActiveElement","$3H3GQ$getActiveElement","$3H3GQ$moveVirtualFocus","$3H3GQ$dispatchVirtualFocus","$3H3GQ$useUpdateLayoutEffect","resetFocusFirstFlag","$3H3GQ$CLEAR_FOCUS_EVENT","_e_detail","autoFocusRef","didAutoFocusRef","$3H3GQ$useEffect","focusedKey","selectedKeys","$3H3GQ$focusSafely","lastFocusedKey","raf","modality","$3H3GQ$scrollIntoView","handlers","typeSelectProps","$fb3050f43d946246$export$e32c88dfddc6e1d8","$3H3GQ$mergeProps","tabIndex","collectionId","$feb5ffebff200149$export$881eb0d9f3605d9d"],"mappings":"qeA2BA,SAASA,GAA0CC,EAAS,CACxD,GAAI,CAAE,iBAAkBC,EAAS,iBAAkBC,EAAU,IAAKC,EAAK,UAAWC,EAAY,GAAO,gBAAiBC,EAAkB,GAAO,uBAAwBC,EAAyB,GAAO,kBAAmBC,EAAoB,GAAO,kBAAmBC,EAAoB,iBAAkB,cAAeC,EAAgBR,EAAQ,oBAAsB,UAAW,kBAAmBS,EAAoB,GAAO,sBAAuBC,EAAuB,oBAAqBC,EAAsB,GAAO,cAAeC,EAAe,UACliBC,EAAYX,EAAK,aAAcY,EAAe,QAAQ,EAAKf,EACvD,CAAE,UAAWgB,GAAkBC,GAAgB,UAAA,EAC/CC,EAAaC,EAAAA,YACbC,EAAaC,GAAI,CACjB,IAAIC,EAKJ,GAHID,EAAE,QAAUA,EAAE,MAAQ,OAAOA,EAAE,iBAG/B,EAAG,GAAAC,EAAenB,EAAI,WAAa,MAAQmB,IAAiB,SAAkBA,EAAa,SAASD,EAAE,MAAM,GAAI,OACpH,MAAME,EAAgB,CAACC,EAAKC,IAAa,CACrC,GAAID,GAAO,KAAM,CACb,GAAIvB,EAAQ,OAAOuB,CAAG,GAAKT,IAAiB,aAAeN,GAAiB,CAAKiB,mCAA2CL,CAAC,EAAG,CAExHM,GAAgB,UAAE,IAAI,CACtB1B,EAAQ,cAAcuB,EAAKC,CAAU,CAC7D,CAAqB,EACD,IAAIG,EAAWC,EAAAA,eAA2C1B,EAAKqB,CAAG,EAC9DM,EAAY7B,EAAQ,aAAauB,CAAG,EACpCI,GAAMV,EAAO,KAAKU,EAAMP,EAAGS,EAAU,KAAMA,E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