@redsift/design-system 11.6.0-muiv5-alpha.4 → 11.6.0-muiv5-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_internal/Alert2.js +54 -0
- package/_internal/Alert2.js.map +1 -0
- package/_internal/AppBar.js +37 -0
- package/_internal/AppBar.js.map +1 -0
- package/_internal/AppContainer.js +96 -0
- package/_internal/AppContainer.js.map +1 -0
- package/_internal/AppContent.js +25 -0
- package/_internal/AppContent.js.map +1 -0
- package/_internal/Badge2.js +9 -0
- package/_internal/Badge2.js.map +1 -0
- package/_internal/BreadcrumbItem.js +9 -0
- package/_internal/BreadcrumbItem.js.map +1 -0
- package/_internal/Breadcrumbs2.js +29 -0
- package/_internal/Breadcrumbs2.js.map +1 -0
- package/_internal/Button2.js +30 -0
- package/_internal/Button2.js.map +1 -0
- package/_internal/ButtonGroup.js +41 -0
- package/_internal/ButtonGroup.js.map +1 -0
- package/_internal/ButtonLink.js +28 -0
- package/_internal/ButtonLink.js.map +1 -0
- package/_internal/Card2.js +35 -0
- package/_internal/Card2.js.map +1 -0
- package/_internal/CardActions.js +9 -0
- package/_internal/CardActions.js.map +1 -0
- package/_internal/CardBody.js +9 -0
- package/_internal/CardBody.js.map +1 -0
- package/_internal/CardHeader.js +9 -0
- package/_internal/CardHeader.js.map +1 -0
- package/_internal/Checkbox2.js +68 -0
- package/_internal/Checkbox2.js.map +1 -0
- package/_internal/CheckboxGroup.js +10 -0
- package/_internal/CheckboxGroup.js.map +1 -0
- package/_internal/ConditionalWrapper.js +14 -0
- package/_internal/ConditionalWrapper.js.map +1 -0
- package/_internal/DetailedCard.js +52 -0
- package/_internal/DetailedCard.js.map +1 -0
- package/_internal/DetailedCardCollapsibleSectionItems.js +9 -0
- package/_internal/DetailedCardCollapsibleSectionItems.js.map +1 -0
- package/_internal/DetailedCardHeader.js +9 -0
- package/_internal/DetailedCardHeader.js.map +1 -0
- package/_internal/DetailedCardSection.js +9 -0
- package/_internal/DetailedCardSection.js.map +1 -0
- package/_internal/DetailedCardSectionItem.js +9 -0
- package/_internal/DetailedCardSectionItem.js.map +1 -0
- package/_internal/Flexbox2.js +30 -0
- package/_internal/Flexbox2.js.map +1 -0
- package/_internal/Grid2.js +32 -0
- package/_internal/Grid2.js.map +1 -0
- package/_internal/GridItem.js +9 -0
- package/_internal/GridItem.js.map +1 -0
- package/_internal/Heading2.js +9 -0
- package/_internal/Heading2.js.map +1 -0
- package/_internal/Icon2.js +10 -0
- package/_internal/Icon2.js.map +1 -0
- package/_internal/IconButton.js +12 -0
- package/_internal/IconButton.js.map +1 -0
- package/_internal/IconButtonLink.js +28 -0
- package/_internal/IconButtonLink.js.map +1 -0
- package/_internal/Item2.js +82 -0
- package/_internal/Item2.js.map +1 -0
- package/_internal/Link2.js +26 -0
- package/_internal/Link2.js.map +1 -0
- package/_internal/LinkButton.js +23 -0
- package/_internal/LinkButton.js.map +1 -0
- package/_internal/Listbox2.js +274 -0
- package/_internal/Listbox2.js.map +1 -0
- package/_internal/Number2.js +69 -0
- package/_internal/Number2.js.map +1 -0
- package/_internal/NumberField.js +80 -0
- package/_internal/NumberField.js.map +1 -0
- package/_internal/Pill2.js +9 -0
- package/_internal/Pill2.js.map +1 -0
- package/_internal/ProgressBar.js +26 -0
- package/_internal/ProgressBar.js.map +1 -0
- package/_internal/Radio2.js +66 -0
- package/_internal/Radio2.js.map +1 -0
- package/_internal/RadioGroup.js +10 -0
- package/_internal/RadioGroup.js.map +1 -0
- package/_internal/Shield2.js +9 -0
- package/_internal/Shield2.js.map +1 -0
- package/_internal/SideNavigationMenu.js +9 -0
- package/_internal/SideNavigationMenu.js.map +1 -0
- package/_internal/SideNavigationMenuBar.js +9 -0
- package/_internal/SideNavigationMenuItem.js +9 -0
- package/_internal/SideNavigationMenuItem.js.map +1 -0
- package/_internal/Skeleton2.js +15 -0
- package/_internal/Skeleton2.js.map +1 -0
- package/_internal/SkeletonCircle.js +9 -0
- package/_internal/SkeletonCircle.js.map +1 -0
- package/_internal/SkeletonText.js +9 -0
- package/_internal/SkeletonText.js.map +1 -0
- package/_internal/Spinner2.js +43 -0
- package/_internal/Spinner2.js.map +1 -0
- package/_internal/Switch2.js +66 -0
- package/_internal/Switch2.js.map +1 -0
- package/_internal/SwitchGroup.js +10 -0
- package/_internal/SwitchGroup.js.map +1 -0
- package/_internal/Text2.js +9 -0
- package/_internal/Text2.js.map +1 -0
- package/_internal/TextArea.js +34 -0
- package/_internal/TextArea.js.map +1 -0
- package/_internal/TextField.js +29 -0
- package/_internal/TextField.js.map +1 -0
- package/_internal/_rollupPluginBabelHelpers.js +133 -0
- package/_internal/alert.js +5 -0
- package/_internal/alert.js.map +1 -0
- package/_internal/app-bar.js +8 -0
- package/_internal/app-bar.js.map +1 -0
- package/_internal/app-container.js +9 -0
- package/_internal/app-container.js.map +1 -0
- package/_internal/app-content.js +5 -0
- package/_internal/app-content.js.map +1 -0
- package/_internal/app-side-panel.js +11 -0
- package/_internal/app-side-panel.js.map +1 -0
- package/_internal/badge.js +6 -0
- package/_internal/badge.js.map +1 -0
- package/_internal/breadcrumb-item.js +5 -0
- package/_internal/breadcrumb-item.js.map +1 -0
- package/_internal/breadcrumbs.js +6 -0
- package/_internal/breadcrumbs.js.map +1 -0
- package/_internal/button-group.js +5 -0
- package/_internal/button-group.js.map +1 -0
- package/_internal/button-link.js +8 -0
- package/_internal/button-link.js.map +1 -0
- package/_internal/button.js +8 -0
- package/_internal/button.js.map +1 -0
- package/_internal/card-actions.js +5 -0
- package/_internal/card-actions.js.map +1 -0
- package/_internal/card-body.js +5 -0
- package/_internal/card-body.js.map +1 -0
- package/_internal/card-header.js +9 -0
- package/_internal/card-header.js.map +1 -0
- package/_internal/card.js +11 -0
- package/_internal/card.js.map +1 -0
- package/_internal/checkbox-group.js +6 -0
- package/_internal/checkbox-group.js.map +1 -0
- package/_internal/checkbox.js +6 -0
- package/_internal/checkbox.js.map +1 -0
- package/_internal/colors.js +102 -0
- package/_internal/colors.js.map +1 -0
- package/_internal/conditional-wrapper.js +2 -0
- package/_internal/conditional-wrapper.js.map +1 -0
- package/_internal/context.js +6 -0
- package/_internal/context.js.map +1 -0
- package/_internal/context2.js +300 -0
- package/_internal/context2.js.map +1 -0
- package/_internal/context3.js +6 -0
- package/_internal/context3.js.map +1 -0
- package/_internal/context4.js +6 -0
- package/_internal/context4.js.map +1 -0
- package/_internal/context5.js +6 -0
- package/_internal/context5.js.map +1 -0
- package/_internal/detailed-card-collapsible-section-items.js +4 -0
- package/_internal/detailed-card-collapsible-section-items.js.map +1 -0
- package/_internal/detailed-card-header.js +8 -0
- package/_internal/detailed-card-header.js.map +1 -0
- package/_internal/detailed-card-section-item.js +11 -0
- package/_internal/detailed-card-section-item.js.map +1 -0
- package/_internal/detailed-card-section.js +7 -0
- package/_internal/detailed-card-section.js.map +1 -0
- package/_internal/detailed-card.js +16 -0
- package/_internal/detailed-card.js.map +1 -0
- package/_internal/filterComponents.js +24 -0
- package/_internal/filterComponents.js.map +1 -0
- package/_internal/flexbox.js +5 -0
- package/_internal/flexbox.js.map +1 -0
- package/_internal/focus-within-group.js +3 -0
- package/_internal/focus-within-group.js.map +1 -0
- package/_internal/fonts.js +12 -0
- package/_internal/gradient-border.js +19 -0
- package/_internal/gradient-border.js.map +1 -0
- package/_internal/grid-item.js +5 -0
- package/_internal/grid-item.js.map +1 -0
- package/_internal/grid.js +6 -0
- package/_internal/grid.js.map +1 -0
- package/_internal/heading.js +7 -0
- package/_internal/heading.js.map +1 -0
- package/_internal/helpers.js +23 -0
- package/_internal/icon-button-link.js +8 -0
- package/_internal/icon-button-link.js.map +1 -0
- package/_internal/icon-button.js +7 -0
- package/_internal/icon-button.js.map +1 -0
- package/_internal/icon.js +6 -0
- package/_internal/icon.js.map +1 -0
- package/_internal/isComponent.js +15 -0
- package/_internal/isComponent.js.map +1 -0
- package/_internal/item.js +8 -0
- package/_internal/item.js.map +1 -0
- package/_internal/link-button.js +8 -0
- package/_internal/link-button.js.map +1 -0
- package/_internal/link.js +8 -0
- package/_internal/link.js.map +1 -0
- package/_internal/listbox.js +6 -0
- package/_internal/listbox.js.map +1 -0
- package/_internal/number-field.js +9 -0
- package/_internal/number-field.js.map +1 -0
- package/_internal/number.js +7 -0
- package/_internal/number.js.map +1 -0
- package/_internal/partitionComponents.js +26 -0
- package/_internal/pill.js +6 -0
- package/_internal/pill.js.map +1 -0
- package/_internal/progress-bar.js +5 -0
- package/_internal/progress-bar.js.map +1 -0
- package/_internal/radio-group.js +6 -0
- package/_internal/radio-group.js.map +1 -0
- package/_internal/radio.js +6 -0
- package/_internal/radio.js.map +1 -0
- package/_internal/redsift-design-tokens.js +1391 -0
- package/_internal/shared.js +5 -0
- package/_internal/shared.js.map +1 -0
- package/_internal/shield.js +6 -0
- package/_internal/shield.js.map +1 -0
- package/_internal/side-navigation-menu-bar.js +9 -0
- package/_internal/side-navigation-menu-bar.js.map +1 -0
- package/_internal/side-navigation-menu-item.js +8 -0
- package/_internal/side-navigation-menu-item.js.map +1 -0
- package/_internal/side-navigation-menu.js +8 -0
- package/_internal/side-navigation-menu.js.map +1 -0
- package/_internal/skeleton-circle.js +7 -0
- package/_internal/skeleton-circle.js.map +1 -0
- package/_internal/skeleton-text.js +7 -0
- package/_internal/skeleton-text.js.map +1 -0
- package/_internal/skeleton.js +8 -0
- package/_internal/skeleton.js.map +1 -0
- package/_internal/spinner.js +5 -0
- package/_internal/spinner.js.map +1 -0
- package/_internal/styles.js +17 -0
- package/_internal/styles.js.map +1 -0
- package/_internal/styles2.js +283 -0
- package/_internal/styles2.js.map +1 -0
- package/_internal/styles3.js +145 -0
- package/_internal/styles3.js.map +1 -0
- package/_internal/styles4.js +250 -0
- package/_internal/styles4.js.map +1 -0
- package/_internal/styles5.js +143 -0
- package/_internal/styles5.js.map +1 -0
- package/_internal/styles6.js +84 -0
- package/_internal/styles6.js.map +1 -0
- package/_internal/switch-group.js +6 -0
- package/_internal/switch-group.js.map +1 -0
- package/_internal/switch.js +6 -0
- package/_internal/switch.js.map +1 -0
- package/_internal/text-area.js +9 -0
- package/_internal/text-area.js.map +1 -0
- package/_internal/text-field.js +10 -0
- package/_internal/text-field.js.map +1 -0
- package/_internal/text.js +7 -0
- package/_internal/text.js.map +1 -0
- package/_internal/theme.js +4 -0
- package/_internal/theme.js.map +1 -0
- package/_internal/types.js +39 -0
- package/_internal/types.js.map +1 -0
- package/_internal/types10.js +20 -0
- package/_internal/types11.js +27 -0
- package/_internal/types12.js +35 -0
- package/_internal/types13.js +143 -0
- package/_internal/types14.js +11 -0
- package/_internal/types15.js +62 -0
- package/_internal/types16.js +56 -0
- package/_internal/types17.js +57 -0
- package/_internal/types18.js +40 -0
- package/_internal/types19.js +101 -0
- package/_internal/types2.js +37 -0
- package/_internal/types2.js.map +1 -0
- package/_internal/types20.js +47 -0
- package/_internal/types21.js +68 -0
- package/_internal/types22.js +52 -0
- package/_internal/types23.js +174 -0
- package/_internal/types24.js +18 -0
- package/_internal/types25.js +12 -0
- package/_internal/types26.js +36 -0
- package/_internal/types27.js +72 -0
- package/_internal/types28.js +73 -0
- package/_internal/types29.js +99 -0
- package/_internal/types3.js +23 -0
- package/_internal/types3.js.map +1 -0
- package/_internal/types4.js +67 -0
- package/_internal/types5.js +11 -0
- package/_internal/types6.js +11 -0
- package/_internal/types7.js +28 -0
- package/_internal/types8.js +72 -0
- package/_internal/types9.js +16 -0
- package/_internal/useAppSidePanel.js +12 -0
- package/_internal/useAppSidePanel.js.map +1 -0
- package/_internal/useFocusOnList.js +83 -0
- package/_internal/useFocusOnList.js.map +1 -0
- package/_internal/useFocusOnListItem.js +203 -0
- package/_internal/useFocusOnListItem.js.map +1 -0
- package/_internal/useFocusRing.js +669 -0
- package/_internal/useFocusRing.js.map +1 -0
- package/_internal/useId.js +42 -0
- package/_internal/useId.js.map +1 -0
- package/_internal/useIsLoaded.js +14 -0
- package/_internal/useListboxItem.js +32 -0
- package/_internal/useListboxItem.js.map +1 -0
- package/_internal/useMessageFormatter.js +143 -0
- package/_internal/useMessageFormatter.js.map +1 -0
- package/_internal/useNumberFormatter.js +239 -0
- package/_internal/useNumberFormatter.js.map +1 -0
- package/_internal/useSideNavigationMenuBar.js +9 -0
- package/_internal/useSideNavigationMenuBar.js.map +1 -0
- package/_internal/useTheme.js +13 -0
- package/_internal/useTheme.js.map +1 -0
- package/_internal/warnIfNoAccessibleLabelFound.js +20 -0
- package/index.js +1738 -122
- package/index.js.map +1 -1
- package/package.json +2 -7
- package/_virtual/_rollupPluginBabelHelpers.js +0 -133
- package/components/alert/Alert.d.ts +0 -9
- package/components/alert/Alert.js +0 -117
- package/components/alert/Alert.js.map +0 -1
- package/components/alert/intl/en-US.json.js +0 -7
- package/components/alert/intl/en-US.json.js.map +0 -1
- package/components/alert/intl/fr-FR.json.js +0 -7
- package/components/alert/intl/fr-FR.json.js.map +0 -1
- package/components/alert/intl/index.js +0 -10
- package/components/alert/intl/index.js.map +0 -1
- package/components/alert/styles.js +0 -54
- package/components/alert/styles.js.map +0 -1
- package/components/alert/types.d.ts +0 -49
- package/components/alert/types.js +0 -20
- package/components/alert/types.js.map +0 -1
- package/components/app-bar/AppBar.d.ts +0 -9
- package/components/app-bar/AppBar.js +0 -95
- package/components/app-bar/AppBar.js.map +0 -1
- package/components/app-bar/intl/en-US.json.js +0 -9
- package/components/app-bar/intl/en-US.json.js.map +0 -1
- package/components/app-bar/intl/fr-FR.json.js +0 -9
- package/components/app-bar/intl/fr-FR.json.js.map +0 -1
- package/components/app-bar/intl/index.js +0 -10
- package/components/app-bar/intl/index.js.map +0 -1
- package/components/app-bar/styles.js +0 -139
- package/components/app-bar/styles.js.map +0 -1
- package/components/app-bar/types.d.ts +0 -31
- package/components/app-container/AppContainer.d.ts +0 -11
- package/components/app-container/AppContainer.js +0 -117
- package/components/app-container/AppContainer.js.map +0 -1
- package/components/app-container/context.d.ts +0 -6
- package/components/app-container/context.js +0 -6
- package/components/app-container/context.js.map +0 -1
- package/components/app-container/styles.js +0 -30
- package/components/app-container/styles.js.map +0 -1
- package/components/app-container/types.d.ts +0 -51
- package/components/app-content/AppContent.d.ts +0 -9
- package/components/app-content/AppContent.js +0 -42
- package/components/app-content/AppContent.js.map +0 -1
- package/components/app-content/styles.js +0 -54
- package/components/app-content/styles.js.map +0 -1
- package/components/app-content/types.d.ts +0 -19
- package/components/app-side-panel/AppSidePanel.d.ts +0 -9
- package/components/app-side-panel/AppSidePanel.js +0 -86
- package/components/app-side-panel/AppSidePanel.js.map +0 -1
- package/components/app-side-panel/intl/en-US.json.js +0 -9
- package/components/app-side-panel/intl/en-US.json.js.map +0 -1
- package/components/app-side-panel/intl/fr-FR.json.js +0 -9
- package/components/app-side-panel/intl/fr-FR.json.js.map +0 -1
- package/components/app-side-panel/intl/index.js +0 -10
- package/components/app-side-panel/intl/index.js.map +0 -1
- package/components/app-side-panel/styles.js +0 -183
- package/components/app-side-panel/styles.js.map +0 -1
- package/components/app-side-panel/types.d.ts +0 -39
- package/components/app-side-panel/types.js +0 -15
- package/components/app-side-panel/types.js.map +0 -1
- package/components/app-side-panel/useAppSidePanel.d.ts +0 -6
- package/components/app-side-panel/useAppSidePanel.js +0 -23
- package/components/app-side-panel/useAppSidePanel.js.map +0 -1
- package/components/badge/Badge.d.ts +0 -9
- package/components/badge/Badge.js +0 -44
- package/components/badge/Badge.js.map +0 -1
- package/components/badge/styles.js +0 -93
- package/components/badge/styles.js.map +0 -1
- package/components/badge/types.d.ts +0 -37
- package/components/badge/types.js +0 -14
- package/components/badge/types.js.map +0 -1
- package/components/breadcrumb-item/BreadcrumbItem.d.ts +0 -9
- package/components/breadcrumb-item/BreadcrumbItem.js +0 -47
- package/components/breadcrumb-item/BreadcrumbItem.js.map +0 -1
- package/components/breadcrumb-item/styles.js +0 -48
- package/components/breadcrumb-item/styles.js.map +0 -1
- package/components/breadcrumb-item/types.d.ts +0 -23
- package/components/breadcrumbs/Breadcrumbs.d.ts +0 -13
- package/components/breadcrumbs/Breadcrumbs.js +0 -61
- package/components/breadcrumbs/Breadcrumbs.js.map +0 -1
- package/components/breadcrumbs/styles.js +0 -38
- package/components/breadcrumbs/styles.js.map +0 -1
- package/components/breadcrumbs/types.d.ts +0 -19
- package/components/button/Button.d.ts +0 -13
- package/components/button/Button.js +0 -92
- package/components/button/Button.js.map +0 -1
- package/components/button/styles.d.ts +0 -20
- package/components/button/styles.js +0 -219
- package/components/button/styles.js.map +0 -1
- package/components/button/types.d.ts +0 -67
- package/components/button/types.js +0 -19
- package/components/button/types.js.map +0 -1
- package/components/button-group/ButtonGroup.d.ts +0 -9
- package/components/button-group/ButtonGroup.js +0 -67
- package/components/button-group/ButtonGroup.js.map +0 -1
- package/components/button-group/styles.js +0 -103
- package/components/button-group/styles.js.map +0 -1
- package/components/button-group/types.d.ts +0 -36
- package/components/button-group/types.js +0 -19
- package/components/button-group/types.js.map +0 -1
- package/components/button-link/ButtonLink.d.ts +0 -13
- package/components/button-link/ButtonLink.js +0 -85
- package/components/button-link/ButtonLink.js.map +0 -1
- package/components/button-link/types.d.ts +0 -18
- package/components/card/Card.d.ts +0 -13
- package/components/card/Card.js +0 -81
- package/components/card/Card.js.map +0 -1
- package/components/card/intl/en-US.json.js +0 -9
- package/components/card/intl/en-US.json.js.map +0 -1
- package/components/card/intl/fr-FR.json.js +0 -9
- package/components/card/intl/fr-FR.json.js.map +0 -1
- package/components/card/intl/index.js +0 -10
- package/components/card/intl/index.js.map +0 -1
- package/components/card/styles.js +0 -63
- package/components/card/styles.js.map +0 -1
- package/components/card/types.d.ts +0 -25
- package/components/card-actions/CardActions.d.ts +0 -9
- package/components/card-actions/CardActions.js +0 -33
- package/components/card-actions/CardActions.js.map +0 -1
- package/components/card-actions/styles.js +0 -15
- package/components/card-actions/styles.js.map +0 -1
- package/components/card-actions/types.d.ts +0 -11
- package/components/card-body/CardBody.d.ts +0 -9
- package/components/card-body/CardBody.js +0 -28
- package/components/card-body/CardBody.js.map +0 -1
- package/components/card-body/styles.js +0 -18
- package/components/card-body/styles.js.map +0 -1
- package/components/card-body/types.d.ts +0 -11
- package/components/card-header/CardHeader.d.ts +0 -9
- package/components/card-header/CardHeader.js +0 -56
- package/components/card-header/CardHeader.js.map +0 -1
- package/components/card-header/styles.js +0 -31
- package/components/card-header/styles.js.map +0 -1
- package/components/card-header/types.d.ts +0 -28
- package/components/checkbox/Checkbox.d.ts +0 -11
- package/components/checkbox/Checkbox.js +0 -135
- package/components/checkbox/Checkbox.js.map +0 -1
- package/components/checkbox/styles.js +0 -113
- package/components/checkbox/styles.js.map +0 -1
- package/components/checkbox/types.d.ts +0 -60
- package/components/checkbox-group/CheckboxGroup.d.ts +0 -10
- package/components/checkbox-group/CheckboxGroup.js +0 -101
- package/components/checkbox-group/CheckboxGroup.js.map +0 -1
- package/components/checkbox-group/context.js +0 -6
- package/components/checkbox-group/context.js.map +0 -1
- package/components/checkbox-group/styles.js +0 -78
- package/components/checkbox-group/styles.js.map +0 -1
- package/components/checkbox-group/types.d.ts +0 -72
- package/components/checkbox-group/types.js +0 -18
- package/components/checkbox-group/types.js.map +0 -1
- package/components/conditional-wrapper/ConditionalWrapper.d.ts +0 -6
- package/components/conditional-wrapper/ConditionalWrapper.js +0 -13
- package/components/conditional-wrapper/ConditionalWrapper.js.map +0 -1
- package/components/conditional-wrapper/types.d.ts +0 -10
- package/components/detailed-card/DetailedCard.d.ts +0 -15
- package/components/detailed-card/DetailedCard.js +0 -170
- package/components/detailed-card/DetailedCard.js.map +0 -1
- package/components/detailed-card/intl/en-US.json.js +0 -7
- package/components/detailed-card/intl/en-US.json.js.map +0 -1
- package/components/detailed-card/intl/fr-FR.json.js +0 -7
- package/components/detailed-card/intl/fr-FR.json.js.map +0 -1
- package/components/detailed-card/intl/index.js +0 -10
- package/components/detailed-card/intl/index.js.map +0 -1
- package/components/detailed-card/styles.js +0 -49
- package/components/detailed-card/styles.js.map +0 -1
- package/components/detailed-card/types.d.ts +0 -49
- package/components/detailed-card-collapsible-section-items/DetailedCardCollapsibleSectionItems.d.ts +0 -9
- package/components/detailed-card-collapsible-section-items/DetailedCardCollapsibleSectionItems.js +0 -33
- package/components/detailed-card-collapsible-section-items/DetailedCardCollapsibleSectionItems.js.map +0 -1
- package/components/detailed-card-collapsible-section-items/styles.js +0 -35
- package/components/detailed-card-collapsible-section-items/styles.js.map +0 -1
- package/components/detailed-card-collapsible-section-items/types.d.ts +0 -16
- package/components/detailed-card-header/DetailedCardHeader.d.ts +0 -9
- package/components/detailed-card-header/DetailedCardHeader.js +0 -45
- package/components/detailed-card-header/DetailedCardHeader.js.map +0 -1
- package/components/detailed-card-header/styles.js +0 -26
- package/components/detailed-card-header/styles.js.map +0 -1
- package/components/detailed-card-header/types.d.ts +0 -20
- package/components/detailed-card-section/DetailedCardSection.d.ts +0 -9
- package/components/detailed-card-section/DetailedCardSection.js +0 -90
- package/components/detailed-card-section/DetailedCardSection.js.map +0 -1
- package/components/detailed-card-section/intl/en-US.json.js +0 -9
- package/components/detailed-card-section/intl/en-US.json.js.map +0 -1
- package/components/detailed-card-section/intl/fr-FR.json.js +0 -9
- package/components/detailed-card-section/intl/fr-FR.json.js.map +0 -1
- package/components/detailed-card-section/intl/index.js +0 -10
- package/components/detailed-card-section/intl/index.js.map +0 -1
- package/components/detailed-card-section/styles.js +0 -69
- package/components/detailed-card-section/styles.js.map +0 -1
- package/components/detailed-card-section/types.d.ts +0 -27
- package/components/detailed-card-section-item/DetailedCardSectionItem.d.ts +0 -9
- package/components/detailed-card-section-item/DetailedCardSectionItem.js +0 -64
- package/components/detailed-card-section-item/DetailedCardSectionItem.js.map +0 -1
- package/components/detailed-card-section-item/styles.js +0 -34
- package/components/detailed-card-section-item/styles.js.map +0 -1
- package/components/detailed-card-section-item/types.d.ts +0 -35
- package/components/flexbox/Flexbox.d.ts +0 -9
- package/components/flexbox/Flexbox.js +0 -44
- package/components/flexbox/Flexbox.js.map +0 -1
- package/components/flexbox/styles.js +0 -54
- package/components/flexbox/styles.js.map +0 -1
- package/components/flexbox/types.d.ts +0 -24
- package/components/focus-within-group/FocusWithinGroup.d.ts +0 -41
- package/components/focus-within-group/FocusWithinGroup.js +0 -91
- package/components/focus-within-group/FocusWithinGroup.js.map +0 -1
- package/components/focus-within-group/context.d.ts +0 -7
- package/components/focus-within-group/context.js +0 -21
- package/components/focus-within-group/context.js.map +0 -1
- package/components/focus-within-group/reducer.d.ts +0 -5
- package/components/focus-within-group/reducer.js +0 -419
- package/components/focus-within-group/reducer.js.map +0 -1
- package/components/focus-within-group/types.d.ts +0 -143
- package/components/focus-within-group/types.js +0 -42
- package/components/focus-within-group/types.js.map +0 -1
- package/components/focus-within-group/useFocusOnList.d.ts +0 -5
- package/components/focus-within-group/useFocusOnList.js +0 -44
- package/components/focus-within-group/useFocusOnList.js.map +0 -1
- package/components/focus-within-group/useFocusOnListItem.d.ts +0 -39
- package/components/focus-within-group/useFocusOnListItem.js +0 -148
- package/components/focus-within-group/useFocusOnListItem.js.map +0 -1
- package/components/gradient-border/index.d.ts +0 -14
- package/components/gradient-border/index.js +0 -38
- package/components/gradient-border/index.js.map +0 -1
- package/components/grid/Grid.d.ts +0 -13
- package/components/grid/Grid.js +0 -45
- package/components/grid/Grid.js.map +0 -1
- package/components/grid/styles.js +0 -55
- package/components/grid/styles.js.map +0 -1
- package/components/grid/types.d.ts +0 -22
- package/components/grid-item/GridItem.d.ts +0 -9
- package/components/grid-item/GridItem.js +0 -28
- package/components/grid-item/GridItem.js.map +0 -1
- package/components/grid-item/styles.js +0 -16
- package/components/grid-item/styles.js.map +0 -1
- package/components/grid-item/types.d.ts +0 -11
- package/components/heading/Heading.d.ts +0 -9
- package/components/heading/Heading.js +0 -50
- package/components/heading/Heading.js.map +0 -1
- package/components/heading/styles.js +0 -67
- package/components/heading/styles.js.map +0 -1
- package/components/heading/types.d.ts +0 -62
- package/components/heading/types.js +0 -26
- package/components/heading/types.js.map +0 -1
- package/components/icon/Icon.d.ts +0 -10
- package/components/icon/Icon.js +0 -116
- package/components/icon/Icon.js.map +0 -1
- package/components/icon/styles.js +0 -84
- package/components/icon/styles.js.map +0 -1
- package/components/icon/types.d.ts +0 -57
- package/components/icon/types.js +0 -18
- package/components/icon/types.js.map +0 -1
- package/components/icon-button/IconButton.d.ts +0 -12
- package/components/icon-button/IconButton.js +0 -81
- package/components/icon-button/IconButton.js.map +0 -1
- package/components/icon-button/styles.js +0 -31
- package/components/icon-button/styles.js.map +0 -1
- package/components/icon-button/types.d.ts +0 -56
- package/components/icon-button/types.js +0 -19
- package/components/icon-button/types.js.map +0 -1
- package/components/icon-button-link/IconButtonLink.d.ts +0 -13
- package/components/icon-button-link/IconButtonLink.js +0 -76
- package/components/icon-button-link/IconButtonLink.js.map +0 -1
- package/components/icon-button-link/types.d.ts +0 -18
- package/components/item/Item.d.ts +0 -10
- package/components/item/Item.js +0 -225
- package/components/item/Item.js.map +0 -1
- package/components/item/styles.d.ts +0 -20
- package/components/item/styles.js +0 -129
- package/components/item/styles.js.map +0 -1
- package/components/item/types.d.ts +0 -59
- package/components/item/useMenuItem.js +0 -55
- package/components/item/useMenuItem.js.map +0 -1
- package/components/link/Link.d.ts +0 -14
- package/components/link/Link.js +0 -67
- package/components/link/Link.js.map +0 -1
- package/components/link/styles.d.ts +0 -15
- package/components/link/styles.js +0 -145
- package/components/link/styles.js.map +0 -1
- package/components/link/types.d.ts +0 -40
- package/components/link-button/LinkButton.d.ts +0 -13
- package/components/link-button/LinkButton.js +0 -66
- package/components/link-button/LinkButton.js.map +0 -1
- package/components/link-button/types.d.ts +0 -13
- package/components/listbox/ActiveDescendantListbox.d.ts +0 -8
- package/components/listbox/ActiveDescendantListbox.js +0 -74
- package/components/listbox/ActiveDescendantListbox.js.map +0 -1
- package/components/listbox/Listbox.d.ts +0 -10
- package/components/listbox/Listbox.js +0 -110
- package/components/listbox/Listbox.js.map +0 -1
- package/components/listbox/RovingTabindexListbox.d.ts +0 -8
- package/components/listbox/RovingTabindexListbox.js +0 -30
- package/components/listbox/RovingTabindexListbox.js.map +0 -1
- package/components/listbox/context.d.ts +0 -7
- package/components/listbox/context.js +0 -15
- package/components/listbox/context.js.map +0 -1
- package/components/listbox/reducer.d.ts +0 -5
- package/components/listbox/reducer.js +0 -45
- package/components/listbox/reducer.js.map +0 -1
- package/components/listbox/styles.js +0 -44
- package/components/listbox/styles.js.map +0 -1
- package/components/listbox/types.d.ts +0 -101
- package/components/listbox/types.js +0 -32
- package/components/listbox/types.js.map +0 -1
- package/components/listbox/useListboxItem.d.ts +0 -12
- package/components/listbox/useListboxItem.js +0 -90
- package/components/listbox/useListboxItem.js.map +0 -1
- package/components/number/Number.d.ts +0 -9
- package/components/number/Number.js +0 -105
- package/components/number/Number.js.map +0 -1
- package/components/number/styles.js +0 -10
- package/components/number/styles.js.map +0 -1
- package/components/number/types.d.ts +0 -63
- package/components/number-field/NumberField.d.ts +0 -10
- package/components/number-field/NumberField.js +0 -216
- package/components/number-field/NumberField.js.map +0 -1
- package/components/number-field/styles.js +0 -240
- package/components/number-field/styles.js.map +0 -1
- package/components/number-field/types.d.ts +0 -74
- package/components/number-field/types.js +0 -14
- package/components/number-field/types.js.map +0 -1
- package/components/pill/Pill.d.ts +0 -9
- package/components/pill/Pill.js +0 -93
- package/components/pill/Pill.js.map +0 -1
- package/components/pill/styles.js +0 -305
- package/components/pill/styles.js.map +0 -1
- package/components/pill/types.d.ts +0 -47
- package/components/pill/types.js +0 -15
- package/components/pill/types.js.map +0 -1
- package/components/progress-bar/ProgressBar.d.ts +0 -9
- package/components/progress-bar/ProgressBar.js +0 -35
- package/components/progress-bar/ProgressBar.js.map +0 -1
- package/components/progress-bar/styles.js +0 -38
- package/components/progress-bar/styles.js.map +0 -1
- package/components/progress-bar/types.d.ts +0 -20
- package/components/radio/Radio.d.ts +0 -11
- package/components/radio/Radio.js +0 -128
- package/components/radio/Radio.js.map +0 -1
- package/components/radio/styles.js +0 -113
- package/components/radio/styles.js.map +0 -1
- package/components/radio/types.d.ts +0 -58
- package/components/radio-group/RadioGroup.d.ts +0 -10
- package/components/radio-group/RadioGroup.js +0 -89
- package/components/radio-group/RadioGroup.js.map +0 -1
- package/components/radio-group/context.js +0 -6
- package/components/radio-group/context.js.map +0 -1
- package/components/radio-group/styles.js +0 -78
- package/components/radio-group/styles.js.map +0 -1
- package/components/radio-group/types.d.ts +0 -68
- package/components/radio-group/types.js +0 -18
- package/components/radio-group/types.js.map +0 -1
- package/components/shared/styles.d.ts +0 -17
- package/components/shared/styles.js +0 -250
- package/components/shared/styles.js.map +0 -1
- package/components/shield/Shield.d.ts +0 -9
- package/components/shield/Shield.js +0 -136
- package/components/shield/Shield.js.map +0 -1
- package/components/shield/styles.js +0 -71
- package/components/shield/styles.js.map +0 -1
- package/components/shield/types.d.ts +0 -52
- package/components/shield/types.js +0 -25
- package/components/shield/types.js.map +0 -1
- package/components/side-navigation-menu/SideNavigationMenu.d.ts +0 -9
- package/components/side-navigation-menu/SideNavigationMenu.js +0 -367
- package/components/side-navigation-menu/SideNavigationMenu.js.map +0 -1
- package/components/side-navigation-menu/context.js +0 -6
- package/components/side-navigation-menu/context.js.map +0 -1
- package/components/side-navigation-menu/reducer.js +0 -26
- package/components/side-navigation-menu/reducer.js.map +0 -1
- package/components/side-navigation-menu/styles.js +0 -196
- package/components/side-navigation-menu/styles.js.map +0 -1
- package/components/side-navigation-menu/types.d.ts +0 -72
- package/components/side-navigation-menu/types.js +0 -21
- package/components/side-navigation-menu/types.js.map +0 -1
- package/components/side-navigation-menu-bar/SideNavigationMenuBar.d.ts +0 -9
- package/components/side-navigation-menu-bar/SideNavigationMenuBar.js +0 -217
- package/components/side-navigation-menu-bar/SideNavigationMenuBar.js.map +0 -1
- package/components/side-navigation-menu-bar/context.js +0 -6
- package/components/side-navigation-menu-bar/context.js.map +0 -1
- package/components/side-navigation-menu-bar/styles.js +0 -89
- package/components/side-navigation-menu-bar/styles.js.map +0 -1
- package/components/side-navigation-menu-bar/types.d.ts +0 -65
- package/components/side-navigation-menu-bar/types.js +0 -22
- package/components/side-navigation-menu-bar/types.js.map +0 -1
- package/components/side-navigation-menu-bar/useSideNavigationMenuBar.d.ts +0 -9
- package/components/side-navigation-menu-bar/useSideNavigationMenuBar.js +0 -70
- package/components/side-navigation-menu-bar/useSideNavigationMenuBar.js.map +0 -1
- package/components/side-navigation-menu-item/SideNavigationMenuItem.d.ts +0 -9
- package/components/side-navigation-menu-item/SideNavigationMenuItem.js +0 -115
- package/components/side-navigation-menu-item/SideNavigationMenuItem.js.map +0 -1
- package/components/side-navigation-menu-item/styles.js +0 -174
- package/components/side-navigation-menu-item/styles.js.map +0 -1
- package/components/side-navigation-menu-item/types.d.ts +0 -51
- package/components/skeleton/Skeleton.d.ts +0 -15
- package/components/skeleton/Skeleton.js +0 -42
- package/components/skeleton/Skeleton.js.map +0 -1
- package/components/skeleton/styles.js +0 -84
- package/components/skeleton/styles.js.map +0 -1
- package/components/skeleton/types.d.ts +0 -18
- package/components/skeleton-circle/SkeletonCircle.d.ts +0 -9
- package/components/skeleton-circle/SkeletonCircle.js +0 -36
- package/components/skeleton-circle/SkeletonCircle.js.map +0 -1
- package/components/skeleton-circle/styles.js +0 -26
- package/components/skeleton-circle/styles.js.map +0 -1
- package/components/skeleton-circle/types.d.ts +0 -12
- package/components/skeleton-text/SkeletonText.d.ts +0 -9
- package/components/skeleton-text/SkeletonText.js +0 -42
- package/components/skeleton-text/SkeletonText.js.map +0 -1
- package/components/skeleton-text/styles.js +0 -39
- package/components/skeleton-text/styles.js.map +0 -1
- package/components/skeleton-text/types.d.ts +0 -36
- package/components/skeleton-text/types.js +0 -20
- package/components/skeleton-text/types.js.map +0 -1
- package/components/spinner/Spinner.d.ts +0 -9
- package/components/spinner/Spinner.js +0 -82
- package/components/spinner/Spinner.js.map +0 -1
- package/components/spinner/images/spinner-grey-l1.svg.js +0 -4
- package/components/spinner/images/spinner-grey-l1.svg.js.map +0 -1
- package/components/spinner/images/spinner-grey-l2.svg.js +0 -4
- package/components/spinner/images/spinner-grey-l2.svg.js.map +0 -1
- package/components/spinner/images/spinner-grey-l3.svg.js +0 -4
- package/components/spinner/images/spinner-grey-l3.svg.js.map +0 -1
- package/components/spinner/images/spinner-primary-n.svg.js +0 -4
- package/components/spinner/images/spinner-primary-n.svg.js.map +0 -1
- package/components/spinner/intl/en-US.json.js +0 -7
- package/components/spinner/intl/en-US.json.js.map +0 -1
- package/components/spinner/intl/fr-FR.json.js +0 -7
- package/components/spinner/intl/fr-FR.json.js.map +0 -1
- package/components/spinner/intl/index.js +0 -10
- package/components/spinner/intl/index.js.map +0 -1
- package/components/spinner/styles.js +0 -13
- package/components/spinner/styles.js.map +0 -1
- package/components/spinner/types.d.ts +0 -38
- package/components/spinner/types.js +0 -16
- package/components/spinner/types.js.map +0 -1
- package/components/switch/Switch.d.ts +0 -11
- package/components/switch/Switch.js +0 -137
- package/components/switch/Switch.js.map +0 -1
- package/components/switch/styles.js +0 -187
- package/components/switch/styles.js.map +0 -1
- package/components/switch/types.d.ts +0 -58
- package/components/switch-group/SwitchGroup.d.ts +0 -10
- package/components/switch-group/SwitchGroup.js +0 -101
- package/components/switch-group/SwitchGroup.js.map +0 -1
- package/components/switch-group/context.js +0 -6
- package/components/switch-group/context.js.map +0 -1
- package/components/switch-group/styles.js +0 -78
- package/components/switch-group/styles.js.map +0 -1
- package/components/switch-group/types.d.ts +0 -72
- package/components/switch-group/types.js +0 -18
- package/components/switch-group/types.js.map +0 -1
- package/components/text/Text.d.ts +0 -9
- package/components/text/Text.js +0 -51
- package/components/text/Text.js.map +0 -1
- package/components/text/styles.js +0 -112
- package/components/text/styles.js.map +0 -1
- package/components/text/types.d.ts +0 -73
- package/components/text/types.js +0 -34
- package/components/text/types.js.map +0 -1
- package/components/text-area/TextArea.d.ts +0 -10
- package/components/text-area/TextArea.js +0 -165
- package/components/text-area/TextArea.js.map +0 -1
- package/components/text-area/styles.js +0 -240
- package/components/text-area/styles.js.map +0 -1
- package/components/text-area/types.d.ts +0 -28
- package/components/text-area/types.js +0 -14
- package/components/text-area/types.js.map +0 -1
- package/components/text-field/TextField.d.ts +0 -10
- package/components/text-field/TextField.js +0 -197
- package/components/text-field/TextField.js.map +0 -1
- package/components/text-field/intl/en-US.json.js +0 -8
- package/components/text-field/intl/en-US.json.js.map +0 -1
- package/components/text-field/intl/fr-FR.json.js +0 -8
- package/components/text-field/intl/fr-FR.json.js.map +0 -1
- package/components/text-field/intl/index.js +0 -10
- package/components/text-field/intl/index.js.map +0 -1
- package/components/text-field/styles.d.ts +0 -22
- package/components/text-field/styles.js +0 -252
- package/components/text-field/styles.js.map +0 -1
- package/components/text-field/types.d.ts +0 -99
- package/components/text-field/types.js +0 -18
- package/components/text-field/types.js.map +0 -1
- package/components/theme/context.d.ts +0 -11
- package/components/theme/context.js +0 -7
- package/components/theme/context.js.map +0 -1
- package/components/theme/useTheme.d.ts +0 -5
- package/components/theme/useTheme.js +0 -13
- package/components/theme/useTheme.js.map +0 -1
- package/hooks/useBoundingRect.d.ts +0 -8
- package/hooks/useBoundingRect.js +0 -17
- package/hooks/useBoundingRect.js.map +0 -1
- package/hooks/useComputeNumberOfRows.d.ts +0 -15
- package/hooks/useComputeNumberOfRows.js +0 -40
- package/hooks/useComputeNumberOfRows.js.map +0 -1
- package/hooks/useIsLoaded.d.ts +0 -5
- package/hooks/useIsLoaded.js +0 -14
- package/hooks/useWindowSize.d.ts +0 -8
- package/hooks/useWindowSize.js +0 -42
- package/hooks/useWindowSize.js.map +0 -1
- package/index.d.ts +0 -157
- package/react-aria/internationalized/date/DateFormatter.d.ts +0 -25
- package/react-aria/internationalized/date/DateFormatter.js +0 -187
- package/react-aria/internationalized/date/DateFormatter.js.map +0 -1
- package/react-aria/internationalized/message/MessageDictionary.d.ts +0 -7
- package/react-aria/internationalized/message/MessageDictionary.js +0 -82
- package/react-aria/internationalized/message/MessageDictionary.js.map +0 -1
- package/react-aria/internationalized/message/MessageFormatter.js +0 -38
- package/react-aria/internationalized/message/MessageFormatter.js.map +0 -1
- package/react-aria/internationalized/number/NumberFormatter.d.ts +0 -6
- package/react-aria/internationalized/number/NumberFormatter.js +0 -222
- package/react-aria/internationalized/number/NumberFormatter.js.map +0 -1
- package/react-aria/internationalized/number/NumberParser.js +0 -288
- package/react-aria/internationalized/number/NumberParser.js.map +0 -1
- package/react-aria/internationalized/string/LocalizedStringDictionary.d.ts +0 -21
- package/react-aria/internationalized/string/LocalizedStringDictionary.js +0 -118
- package/react-aria/internationalized/string/LocalizedStringDictionary.js.map +0 -1
- package/react-aria/internationalized/string/LocalizedStringFormatter.d.ts +0 -21
- package/react-aria/internationalized/string/LocalizedStringFormatter.js +0 -70
- package/react-aria/internationalized/string/LocalizedStringFormatter.js.map +0 -1
- package/react-aria/react-aria/button/useButton.js +0 -95
- package/react-aria/react-aria/button/useButton.js.map +0 -1
- package/react-aria/react-aria/focus/focusSafely.js +0 -33
- package/react-aria/react-aria/focus/focusSafely.js.map +0 -1
- package/react-aria/react-aria/focus/useFocusRing.js +0 -57
- package/react-aria/react-aria/focus/useFocusRing.js.map +0 -1
- package/react-aria/react-aria/focus/useFocusable.js +0 -47
- package/react-aria/react-aria/focus/useFocusable.js.map +0 -1
- package/react-aria/react-aria/form/useFormValidation.js +0 -112
- package/react-aria/react-aria/form/useFormValidation.js.map +0 -1
- package/react-aria/react-aria/i18n/context.d.ts +0 -19
- package/react-aria/react-aria/i18n/context.js +0 -41
- package/react-aria/react-aria/i18n/context.js.map +0 -1
- package/react-aria/react-aria/i18n/useCollator.d.ts +0 -8
- package/react-aria/react-aria/i18n/useCollator.js +0 -25
- package/react-aria/react-aria/i18n/useCollator.js.map +0 -1
- package/react-aria/react-aria/i18n/useDateFormatter.d.ts +0 -13
- package/react-aria/react-aria/i18n/useDateFormatter.js +0 -39
- package/react-aria/react-aria/i18n/useDateFormatter.js.map +0 -1
- package/react-aria/react-aria/i18n/useDefaultLocale.d.ts +0 -10
- package/react-aria/react-aria/i18n/useDefaultLocale.js +0 -67
- package/react-aria/react-aria/i18n/useDefaultLocale.js.map +0 -1
- package/react-aria/react-aria/i18n/useFilter.d.ts +0 -15
- package/react-aria/react-aria/i18n/useFilter.js +0 -58
- package/react-aria/react-aria/i18n/useFilter.js.map +0 -1
- package/react-aria/react-aria/i18n/useListFormatter.d.ts +0 -8
- package/react-aria/react-aria/i18n/useListFormatter.js +0 -20
- package/react-aria/react-aria/i18n/useListFormatter.js.map +0 -1
- package/react-aria/react-aria/i18n/useLocalizedStringFormatter.d.ts +0 -15
- package/react-aria/react-aria/i18n/useLocalizedStringFormatter.js +0 -38
- package/react-aria/react-aria/i18n/useLocalizedStringFormatter.js.map +0 -1
- package/react-aria/react-aria/i18n/useMessageFormatter.d.ts +0 -13
- package/react-aria/react-aria/i18n/useMessageFormatter.js +0 -32
- package/react-aria/react-aria/i18n/useMessageFormatter.js.map +0 -1
- package/react-aria/react-aria/i18n/useNumberFormatter.d.ts +0 -10
- package/react-aria/react-aria/i18n/useNumberFormatter.js +0 -21
- package/react-aria/react-aria/i18n/useNumberFormatter.js.map +0 -1
- package/react-aria/react-aria/i18n/utils.js +0 -49
- package/react-aria/react-aria/i18n/utils.js.map +0 -1
- package/react-aria/react-aria/interactions/context.js +0 -20
- package/react-aria/react-aria/interactions/context.js.map +0 -1
- package/react-aria/react-aria/interactions/createEventHandler.js +0 -48
- package/react-aria/react-aria/interactions/createEventHandler.js.map +0 -1
- package/react-aria/react-aria/interactions/textSelection.js +0 -85
- package/react-aria/react-aria/interactions/textSelection.js.map +0 -1
- package/react-aria/react-aria/interactions/useFocus.js +0 -53
- package/react-aria/react-aria/interactions/useFocus.js.map +0 -1
- package/react-aria/react-aria/interactions/useFocusVisible.js +0 -236
- package/react-aria/react-aria/interactions/useFocusVisible.js.map +0 -1
- package/react-aria/react-aria/interactions/useFocusWithin.js +0 -65
- package/react-aria/react-aria/interactions/useFocusWithin.js.map +0 -1
- package/react-aria/react-aria/interactions/useKeyboard.js +0 -27
- package/react-aria/react-aria/interactions/useKeyboard.js.map +0 -1
- package/react-aria/react-aria/interactions/usePress.js +0 -769
- package/react-aria/react-aria/interactions/usePress.js.map +0 -1
- package/react-aria/react-aria/interactions/useScrollWheel.js +0 -31
- package/react-aria/react-aria/interactions/useScrollWheel.js.map +0 -1
- package/react-aria/react-aria/interactions/utils.js +0 -116
- package/react-aria/react-aria/interactions/utils.js.map +0 -1
- package/react-aria/react-aria/label/useField.js +0 -42
- package/react-aria/react-aria/label/useField.js.map +0 -1
- package/react-aria/react-aria/label/useLabel.js +0 -42
- package/react-aria/react-aria/label/useLabel.js.map +0 -1
- package/react-aria/react-aria/live-announcer/LiveAnnouncer.js +0 -121
- package/react-aria/react-aria/live-announcer/LiveAnnouncer.js.map +0 -1
- package/react-aria/react-aria/numberfield/intl/en-US.json.js +0 -11
- package/react-aria/react-aria/numberfield/intl/en-US.json.js.map +0 -1
- package/react-aria/react-aria/numberfield/intl/fr-FR.json.js +0 -11
- package/react-aria/react-aria/numberfield/intl/fr-FR.json.js.map +0 -1
- package/react-aria/react-aria/numberfield/intl/index.js +0 -10
- package/react-aria/react-aria/numberfield/intl/index.js.map +0 -1
- package/react-aria/react-aria/numberfield/useNumberField.js +0 -294
- package/react-aria/react-aria/numberfield/useNumberField.js.map +0 -1
- package/react-aria/react-aria/spinbutton/intl/en-US.json.js +0 -7
- package/react-aria/react-aria/spinbutton/intl/en-US.json.js.map +0 -1
- package/react-aria/react-aria/spinbutton/intl/fr-FR.json.js +0 -7
- package/react-aria/react-aria/spinbutton/intl/fr-FR.json.js.map +0 -1
- package/react-aria/react-aria/spinbutton/intl/index.js +0 -10
- package/react-aria/react-aria/spinbutton/intl/index.js.map +0 -1
- package/react-aria/react-aria/spinbutton/useSpinButton.js +0 -168
- package/react-aria/react-aria/spinbutton/useSpinButton.js.map +0 -1
- package/react-aria/react-aria/ssr/SSRProvider.d.ts +0 -22
- package/react-aria/react-aria/ssr/SSRProvider.js +0 -157
- package/react-aria/react-aria/ssr/SSRProvider.js.map +0 -1
- package/react-aria/react-aria/textfield/useFormattedTextField.js +0 -142
- package/react-aria/react-aria/textfield/useFormattedTextField.js.map +0 -1
- package/react-aria/react-aria/textfield/useTextField.js +0 -156
- package/react-aria/react-aria/textfield/useTextField.js.map +0 -1
- package/react-aria/react-aria/utils/chain.js +0 -33
- package/react-aria/react-aria/utils/chain.js.map +0 -1
- package/react-aria/react-aria/utils/domHelpers.js +0 -14
- package/react-aria/react-aria/utils/domHelpers.js.map +0 -1
- package/react-aria/react-aria/utils/filterDOMProps.js +0 -45
- package/react-aria/react-aria/utils/filterDOMProps.js.map +0 -1
- package/react-aria/react-aria/utils/focusWithoutScrolling.js +0 -88
- package/react-aria/react-aria/utils/focusWithoutScrolling.js.map +0 -1
- package/react-aria/react-aria/utils/isVirtualEvent.js +0 -51
- package/react-aria/react-aria/utils/isVirtualEvent.js.map +0 -1
- package/react-aria/react-aria/utils/mergeProps.js +0 -48
- package/react-aria/react-aria/utils/mergeProps.js.map +0 -1
- package/react-aria/react-aria/utils/openLink.js +0 -55
- package/react-aria/react-aria/utils/openLink.js.map +0 -1
- package/react-aria/react-aria/utils/platform.js +0 -69
- package/react-aria/react-aria/utils/platform.js.map +0 -1
- package/react-aria/react-aria/utils/runAfterTransition.js +0 -100
- package/react-aria/react-aria/utils/runAfterTransition.js.map +0 -1
- package/react-aria/react-aria/utils/useDeepMemo.js +0 -16
- package/react-aria/react-aria/utils/useDeepMemo.js.map +0 -1
- package/react-aria/react-aria/utils/useEffectEvent.js +0 -31
- package/react-aria/react-aria/utils/useEffectEvent.js.map +0 -1
- package/react-aria/react-aria/utils/useEvent.js +0 -21
- package/react-aria/react-aria/utils/useEvent.js.map +0 -1
- package/react-aria/react-aria/utils/useFormReset.js +0 -23
- package/react-aria/react-aria/utils/useFormReset.js.map +0 -1
- package/react-aria/react-aria/utils/useGlobalListeners.js +0 -44
- package/react-aria/react-aria/utils/useGlobalListeners.js.map +0 -1
- package/react-aria/react-aria/utils/useId.js +0 -86
- package/react-aria/react-aria/utils/useId.js.map +0 -1
- package/react-aria/react-aria/utils/useLabels.js +0 -39
- package/react-aria/react-aria/utils/useLabels.js.map +0 -1
- package/react-aria/react-aria/utils/useLayoutEffect.js +0 -21
- package/react-aria/react-aria/utils/useLayoutEffect.js.map +0 -1
- package/react-aria/react-aria/utils/useSyncRef.js +0 -29
- package/react-aria/react-aria/utils/useSyncRef.js.map +0 -1
- package/react-aria/react-aria/utils/useValueEffect.js +0 -52
- package/react-aria/react-aria/utils/useValueEffect.js.map +0 -1
- package/react-aria/react-stately/form/useFormValidationState.js +0 -191
- package/react-aria/react-stately/form/useFormValidationState.js.map +0 -1
- package/react-aria/react-stately/numberfield/useNumberFieldState.js +0 -196
- package/react-aria/react-stately/numberfield/useNumberFieldState.js.map +0 -1
- package/react-aria/react-stately/utils/number.js +0 -56
- package/react-aria/react-stately/utils/number.js.map +0 -1
- package/react-aria/react-stately/utils/useControlledState.js +0 -68
- package/react-aria/react-stately/utils/useControlledState.js.map +0 -1
- package/react-aria/react-types/shared/locale.d.ts +0 -3
- package/types/colors.d.ts +0 -102
- package/types/colors.js +0 -64
- package/types/colors.js.map +0 -1
- package/types/fonts.d.ts +0 -12
- package/types/fonts.js +0 -10
- package/types/helpers.d.ts +0 -23
- package/types/products.d.ts +0 -40
- package/types/products.js +0 -38
- package/types/products.js.map +0 -1
- package/types/styles.d.ts +0 -283
- package/types/styles.js +0 -161
- package/types/styles.js.map +0 -1
- package/utils/filterComponents.d.ts +0 -12
- package/utils/filterComponents.js +0 -24
- package/utils/filterComponents.js.map +0 -1
- package/utils/getTextWidth.d.ts +0 -6
- package/utils/getTextWidth.js +0 -32
- package/utils/getTextWidth.js.map +0 -1
- package/utils/isComponent.d.ts +0 -12
- package/utils/isComponent.js +0 -15
- package/utils/isComponent.js.map +0 -1
- package/utils/partitionComponents.d.ts +0 -10
- package/utils/partitionComponents.js +0 -26
- package/utils/redsift-design-tokens.d.ts +0 -1389
- package/utils/redsift-design-tokens.js +0 -1391
- package/utils/useId.d.ts +0 -6
- package/utils/useId.js +0 -42
- package/utils/useId.js.map +0 -1
- package/utils/warnIfNoAccessibleLabelFound.d.ts +0 -11
- package/utils/warnIfNoAccessibleLabelFound.js +0 -20
- /package/{_virtual → _internal}/_rollupPluginBabelHelpers.js.map +0 -0
- /package/{types → _internal}/fonts.js.map +0 -0
- /package/{utils → _internal}/partitionComponents.js.map +0 -0
- /package/{utils → _internal}/redsift-design-tokens.js.map +0 -0
- /package/{hooks → _internal}/useIsLoaded.js.map +0 -0
- /package/{utils → _internal}/warnIfNoAccessibleLabelFound.js.map +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types3.js","sources":["../../src/components/skeleton-text/types.ts"],"sourcesContent":["import { ValueOf } from '../../types';\nimport { SkeletonProps } from '../skeleton/types';\n\n/**\n * Component variant.\n */\nexport const SkeletonTextVariant = {\n h1: 'h1',\n h2: 'h2',\n h3: 'h3',\n h4: 'h4',\n h5: 'h5',\n body: 'body',\n button: 'button',\n caption: 'caption',\n} as const;\nexport type SkeletonTextVariant = ValueOf<typeof SkeletonTextVariant>;\n\n/**\n * Component props.\n */\nexport interface SkeletonTextProps extends SkeletonProps {\n /** Font size. */\n fontSize?: string;\n /** Line height. */\n lineHeight?: string;\n /** Variant. */\n variant?: SkeletonTextVariant;\n}\n\nexport type StyledSkeletonTextProps = Omit<SkeletonTextProps, 'fontSize' | 'lineHeight' | 'variant'> & {\n $fontSize: SkeletonTextProps['fontSize'];\n $lineHeight: SkeletonTextProps['lineHeight'];\n $variant: SkeletonTextProps['variant'];\n $theme: SkeletonProps['theme'];\n};\n"],"names":["SkeletonTextVariant","h1","h2","h3","h4","h5","body","button","caption"],"mappings":"AAGA;AACA;AACA;AACO,MAAMA,mBAAmB,GAAG;AACjCC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,EAAE,EAAE,IAAI;AACRC,EAAAA,IAAI,EAAE,MAAM;AACZC,EAAAA,MAAM,EAAE,QAAQ;AAChBC,EAAAA,OAAO,EAAE,SAAA;AACX,EAAU;;AAGV;AACA;AACA;;;;"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { b as IconProps } from './types17.js';
|
|
3
|
+
import { V as ValueOf } from './helpers.js';
|
|
4
|
+
import { B as ButtonsColorPalette, T as Theme } from './colors.js';
|
|
5
|
+
import { h as StylingProps } from './styles2.js';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Component variant.
|
|
9
|
+
*/
|
|
10
|
+
declare const ButtonVariant: {
|
|
11
|
+
readonly primary: "primary";
|
|
12
|
+
readonly secondary: "secondary";
|
|
13
|
+
readonly unstyled: "unstyled";
|
|
14
|
+
};
|
|
15
|
+
type ButtonVariant = ValueOf<typeof ButtonVariant>;
|
|
16
|
+
/**
|
|
17
|
+
* Component color.
|
|
18
|
+
*/
|
|
19
|
+
type ButtonColor = ButtonsColorPalette;
|
|
20
|
+
/**
|
|
21
|
+
* Component props.
|
|
22
|
+
*/
|
|
23
|
+
interface ButtonProps extends ComponentProps<'button'>, StylingProps {
|
|
24
|
+
/** Color variant. */
|
|
25
|
+
color?: ButtonColor;
|
|
26
|
+
/** Whether the component take the full width or not. */
|
|
27
|
+
fullWidth?: boolean;
|
|
28
|
+
/** Whether the component is active or not. */
|
|
29
|
+
isActive?: boolean;
|
|
30
|
+
/** Whether the component is disabled or not. */
|
|
31
|
+
isDisabled?: boolean;
|
|
32
|
+
/** Whether the component is hovered or not. */
|
|
33
|
+
isHovered?: boolean;
|
|
34
|
+
/** Whether the component is in a loading state or not. */
|
|
35
|
+
isLoading?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
38
|
+
* Can also be a ReactElement.
|
|
39
|
+
*/
|
|
40
|
+
leftIcon?: IconProps['icon'];
|
|
41
|
+
/** Props to add to the left icon. */
|
|
42
|
+
leftIconProps?: Omit<IconProps, 'icon' | 'ref'>;
|
|
43
|
+
/**
|
|
44
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
45
|
+
* Can also be a ReactElement.
|
|
46
|
+
*/
|
|
47
|
+
rightIcon?: IconProps['icon'];
|
|
48
|
+
/** Props to add to the right icon. */
|
|
49
|
+
rightIconProps?: Omit<IconProps, 'icon' | 'ref'>;
|
|
50
|
+
/** Theme. */
|
|
51
|
+
theme?: Theme;
|
|
52
|
+
/** Button variant. */
|
|
53
|
+
variant?: ButtonVariant;
|
|
54
|
+
}
|
|
55
|
+
type StyledButtonProps = ButtonProps & {
|
|
56
|
+
$color: ButtonProps['color'];
|
|
57
|
+
$fullWidth?: ButtonProps['fullWidth'];
|
|
58
|
+
$isActive: ButtonProps['isActive'];
|
|
59
|
+
$isDisabled: ButtonProps['isDisabled'];
|
|
60
|
+
$isGradient: boolean;
|
|
61
|
+
$isHovered: ButtonProps['isHovered'];
|
|
62
|
+
$isLoading: ButtonProps['isLoading'];
|
|
63
|
+
$theme: ButtonProps['theme'];
|
|
64
|
+
$variant: ButtonProps['variant'];
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
export { ButtonVariant as B, StyledButtonProps as S, ButtonColor as a, ButtonProps as b };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { C as ContainerProps } from './styles2.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Component props.
|
|
6
|
+
*/
|
|
7
|
+
interface CardActionsProps extends ComponentProps<'div'>, ContainerProps {
|
|
8
|
+
}
|
|
9
|
+
type StyledCardActionsProps = CardActionsProps;
|
|
10
|
+
|
|
11
|
+
export { CardActionsProps as C, StyledCardActionsProps as S };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { C as ContainerProps } from './styles2.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Component props.
|
|
6
|
+
*/
|
|
7
|
+
interface CardBodyProps extends ComponentProps<'div'>, ContainerProps {
|
|
8
|
+
}
|
|
9
|
+
type StyledCardBodyProps = CardBodyProps;
|
|
10
|
+
|
|
11
|
+
export { CardBodyProps as C, StyledCardBodyProps as S };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { b as HeadingProps } from './types15.js';
|
|
3
|
+
import { b as IconProps } from './types17.js';
|
|
4
|
+
import { h as StylingProps, g as FlexLayoutProps } from './styles2.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Component props.
|
|
8
|
+
*/
|
|
9
|
+
interface CardHeaderProps extends ComponentProps<'div'>, StylingProps, Omit<FlexLayoutProps, 'inline'> {
|
|
10
|
+
/** Header. */
|
|
11
|
+
header?: string;
|
|
12
|
+
/** Heading props allowing to override the component rendered by the heading without changing its style. */
|
|
13
|
+
headingProps?: Pick<HeadingProps, 'as' | 'noWrap' | 'variant'>;
|
|
14
|
+
/** Subheader */
|
|
15
|
+
subheader?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Can be a string or an array of strings containing `d` property of the `path` SVG element.<br />
|
|
18
|
+
* Can also be a ReactElement.
|
|
19
|
+
*/
|
|
20
|
+
icon?: IconProps['icon'];
|
|
21
|
+
/** Custom props to pass to the Icon component. */
|
|
22
|
+
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
23
|
+
/** Whether the card is loading or not. */
|
|
24
|
+
isLoading?: boolean;
|
|
25
|
+
}
|
|
26
|
+
type StyledCardHeaderProps = CardHeaderProps;
|
|
27
|
+
|
|
28
|
+
export { CardHeaderProps as C, StyledCardHeaderProps as S };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { V as ValueOf } from './helpers.js';
|
|
3
|
+
import { h as StylingProps } from './styles2.js';
|
|
4
|
+
import { T as Theme } from './colors.js';
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Context props.
|
|
8
|
+
*/
|
|
9
|
+
type CheckboxGroupState = {
|
|
10
|
+
/** Adds a value to the set of selected values. */
|
|
11
|
+
addValue(value: string): void;
|
|
12
|
+
/** Whether the checkbox group is disabled or not. */
|
|
13
|
+
readonly isDisabled: boolean;
|
|
14
|
+
/** Whether the checkbox group is read only or not. */
|
|
15
|
+
readonly isReadOnly: boolean;
|
|
16
|
+
/** Removes a value from the set of selected values. */
|
|
17
|
+
removeValue(value: string): void;
|
|
18
|
+
/** Sets the selected values. */
|
|
19
|
+
setValue(value: string[]): void;
|
|
20
|
+
/** Current selected values. */
|
|
21
|
+
readonly value: readonly string[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Component orientation.
|
|
25
|
+
*/
|
|
26
|
+
declare const CheckboxGroupOrientation: {
|
|
27
|
+
readonly vertical: "vertical";
|
|
28
|
+
readonly horizontal: "horizontal";
|
|
29
|
+
};
|
|
30
|
+
type CheckboxGroupOrientation = ValueOf<typeof CheckboxGroupOrientation>;
|
|
31
|
+
/**
|
|
32
|
+
* Component props.
|
|
33
|
+
*/
|
|
34
|
+
interface CheckboxGroupProps extends Omit<ComponentProps<'div'>, 'onChange'>, StylingProps {
|
|
35
|
+
/**
|
|
36
|
+
* Default selected values.
|
|
37
|
+
* Used for uncontrolled version.
|
|
38
|
+
*/
|
|
39
|
+
defaultValues?: string[];
|
|
40
|
+
/** Description of the checkbox group. */
|
|
41
|
+
description?: string;
|
|
42
|
+
/** Whether the component is disabled or not. */
|
|
43
|
+
isDisabled?: boolean;
|
|
44
|
+
/** Whether the component is invalid or not. */
|
|
45
|
+
isInvalid?: boolean;
|
|
46
|
+
/** Whether the component is read only or not. */
|
|
47
|
+
isReadOnly?: boolean;
|
|
48
|
+
/** Whether the component is required or not. */
|
|
49
|
+
isRequired?: boolean;
|
|
50
|
+
/** Label of the checkbox group. */
|
|
51
|
+
label?: string;
|
|
52
|
+
/** Method to handle component change. */
|
|
53
|
+
onChange?(values: string[]): void;
|
|
54
|
+
/** Method to handle component change. */
|
|
55
|
+
orientation?: CheckboxGroupOrientation;
|
|
56
|
+
/** Theme. */
|
|
57
|
+
theme?: Theme;
|
|
58
|
+
/**
|
|
59
|
+
* Currently selected values.
|
|
60
|
+
* Used for controlled version.
|
|
61
|
+
*/
|
|
62
|
+
value?: string[];
|
|
63
|
+
}
|
|
64
|
+
type StyledCheckboxGroupProps = Omit<CheckboxGroupProps, 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'orientation' | 'isRequired'> & {
|
|
65
|
+
$isDisabled: CheckboxGroupProps['isDisabled'];
|
|
66
|
+
$isInvalid: CheckboxGroupProps['isInvalid'];
|
|
67
|
+
$isReadOnly: CheckboxGroupProps['isReadOnly'];
|
|
68
|
+
$orientation: CheckboxGroupProps['orientation'];
|
|
69
|
+
$theme: CheckboxGroupProps['theme'];
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
export { CheckboxGroupState as C, StyledCheckboxGroupProps as S, CheckboxGroupOrientation as a, CheckboxGroupProps as b };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Component props.
|
|
5
|
+
*/
|
|
6
|
+
interface DetailedCardCollapsibleSectionItemsProps extends ComponentProps<'div'> {
|
|
7
|
+
/** Small caption at the bottom right corner of the collapsible area. */
|
|
8
|
+
caption?: string;
|
|
9
|
+
/** Whether the background should be hidden or not. */
|
|
10
|
+
hideBackground?: boolean;
|
|
11
|
+
}
|
|
12
|
+
type StyledDetailedCardCollapsibleSectionItemsProps = Omit<DetailedCardCollapsibleSectionItemsProps, 'hideBackground'> & {
|
|
13
|
+
$hideBackground: DetailedCardCollapsibleSectionItemsProps['hideBackground'];
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export { DetailedCardCollapsibleSectionItemsProps as D, StyledDetailedCardCollapsibleSectionItemsProps as S };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a as AppSidePanelProps } from './types.js';
|
|
2
|
+
import { C as Comp } from './helpers.js';
|
|
3
|
+
import { U as UseSideNavigationMenuBarProps } from './useSideNavigationMenuBar.js';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* The AppSidePanel component.
|
|
7
|
+
*/
|
|
8
|
+
declare const AppSidePanel: Comp<AppSidePanelProps, HTMLDivElement>;
|
|
9
|
+
|
|
10
|
+
declare const useAppSidePanel: ({ items, isActive }: UseSideNavigationMenuBarProps) => Omit<AppSidePanelProps, 'ref'>;
|
|
11
|
+
|
|
12
|
+
export { AppSidePanel as A, useAppSidePanel as u };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useAppSidePanel.js","sources":["../../src/hooks/useWindowSize.ts","../../src/components/app-side-panel/intl/index.ts","../../src/components/app-side-panel/styles.ts","../../src/components/app-side-panel/AppSidePanel.tsx","../../src/components/app-side-panel/useAppSidePanel.tsx"],"sourcesContent":["import { useState, useEffect } from 'react';\n\ninterface WindowSize {\n height?: number;\n width?: number;\n size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';\n}\n\nexport const useWindowSize = () => {\n const [windowSize, setWindowSize] = useState<WindowSize>({\n width: undefined,\n height: undefined,\n size: undefined,\n });\n\n useEffect(() => {\n function handleResize() {\n setWindowSize((windowSize) => {\n if (\n window.innerWidth === windowSize.width &&\n window.innerHeight === windowSize.height\n ) {\n return windowSize;\n }\n\n let size: WindowSize['size'];\n if (window.innerWidth <= 480) {\n size = 'xs';\n } else if (window.innerWidth <= 768) {\n size = 'sm';\n } else if (window.innerWidth <= 1024) {\n size = 'md';\n } else if (window.innerWidth <= 1200) {\n size = 'lg';\n } else {\n size = 'xl';\n }\n return {\n width: window.innerWidth,\n height: window.innerHeight,\n size,\n };\n });\n }\n\n window.addEventListener('resize', handleResize);\n handleResize();\n\n return () => window.removeEventListener('resize', handleResize);\n }, []);\n return windowSize;\n};\n","import enUS from './en-US.json';\nimport frFR from './fr-FR.json';\n\nexport default {\n 'en-US': enUS,\n 'fr-FR': frFR,\n};\n","import styled, { css } from 'styled-components';\nimport { AppSidePanelVariant, StyledAppSidePanelProps } from './types';\n\n/**\n * Component style.\n */\nexport const StyledAppSidePanel = styled.div<StyledAppSidePanelProps>`\n align-items: center;\n background-color: ${({ $theme }) => css`var(--redsift-color-${$theme}-components-side-navigation-background)`};\n border-right: 4px solid ${({ $theme }) => css`var(--redsift-color-${$theme}-components-side-navigation-right-line)`};\n box-sizing: border-box;\n flex-direction: column;\n height: 100%;\n left: 0px;\n overflow: hidden;\n position: fixed;\n top: 0;\n transition: width 300ms ease-out;\n width: ${({ $variant }) =>\n $variant === AppSidePanelVariant.hidden ? '0' : $variant === AppSidePanelVariant.shrinked ? '68px' : '254px'};\n z-index: var(--redsift-layout-z-index-side-panel);\n\n .redsift-app-side-panel__header {\n box-sizing: border-box;\n transition: padding 300ms ease-out;\n padding: 18px\n ${({ $variant }) =>\n $variant === AppSidePanelVariant.hidden ? '0' : $variant === AppSidePanelVariant.shrinked ? '16px' : '24px'};\n margin-bottom: 16px;\n width: 100%;\n\n height: 92px;\n @media (max-width: 1080px) {\n height: 72px;\n }\n\n display: grid;\n justify-items: start;\n align-items: center;\n\n .redsift-icon-button {\n > span,\n > span > svg {\n width: 24px;\n height: 24px;\n }\n }\n }\n\n .redsift-app-side-panel-header__logo {\n align-items: center;\n display: flex;\n grid-column: 1;\n grid-row: 1;\n transition: opacity 300ms ease-out;\n opacity: ${({ $variant }) => ($variant === AppSidePanelVariant.shrinked ? '0' : '1')};\n\n height: 56px;\n @media (max-width: 1080px) {\n height: 36px;\n }\n }\n\n .redsift-app-side-panel-header__logo > img {\n max-height: 56px;\n @media (max-width: 1080px) {\n max-height: 36px;\n }\n max-width: 195px;\n }\n\n .redsift-app-side-panel-header__expand-button {\n grid-column: 1;\n grid-row: 1;\n transition: opacity 300ms ease-out;\n opacity: ${({ $variant }) => ($variant === AppSidePanelVariant.shrinked ? '1' : '0')};\n padding: 2px;\n margin-left: -1px;\n }\n\n .redsift-app-side-panel__featured {\n box-sizing: border-box;\n border-left: 4px solid #e1e1e1;\n border-right: unset;\n margin-bottom: 16px;\n padding: 0px 16px;\n width: 100%;\n }\n\n [dir='rtl'] & {\n left: unset;\n right: 0px;\n transform: unset;\n transition: unset;\n }\n\n scrollbar-color: ${({ $theme }) =>\n css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting) transparent`};\n scrollbar-width: thin;\n\n &::-webkit-scrollbar {\n block-size: 9px;\n inline-size: 9px;\n }\n\n &::-webkit-scrollbar-thumb {\n background-clip: padding-box;\n background-color: ${({ $theme }) =>\n css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-resting)`};\n border-radius: 0px;\n border-left: 2px solid transparent;\n border-right: 2px solid transparent;\n }\n\n &::-webkit-scrollbar-track {\n background-color: transparent;\n }\n\n &::-webkit-scrollbar-thumb:horizontal,\n &::-webkit-scrollbar-thumb:vertical {\n &:hover {\n background-color: ${({ $theme }) =>\n css`var(--redsift-color-${$theme}-components-side-navigation-scrollbar-hover)`};\n }\n }\n\n &::-webkit-scrollbar-corner {\n visibility: hidden;\n }\n`;\n\n// --redsift-color-${$theme}-components-side-navigation-background\n// --redsift-color-${$theme}-components-side-navigation-right-line\n// --redsift-color-${$theme}-components-side-navigation-current-marker\n// --redsift-color-${$theme}-components-side-navigation-text\n// --redsift-color-${$theme}-components-side-navigation-icon\n// --redsift-color-${$theme}-components-side-navigation-chat-background-hover\n// --redsift-color-${$theme}-components-side-navigation-chat-background-down\n\n// ${({ $theme }) => css`var(--redsift-color-${$theme}-components-side-navigation-background)`};\n","import React, { ComponentProps, forwardRef, MouseEvent, RefObject, useContext, useEffect } from 'react';\nimport classNames from 'classnames';\n\nimport { useMessageFormatter } from '../../react-aria/react-aria/i18n';\nimport intlMessages from './intl';\n\nimport { Comp, ProductLogo } from '../../types';\nimport { IconButton } from '../icon-button';\nimport { AppContainerContext } from '../app-container/context';\nimport { StyledAppSidePanel } from './styles';\nimport { AppSidePanelProps } from './types';\nimport { mdiMenu } from '@redsift/icons';\nimport { Icon } from '../icon';\nimport { useWindowSize } from '../../hooks';\nimport { useTheme } from '../theme';\n\nconst COMPONENT_NAME = 'AppSidePanel';\nconst CLASSNAME = 'redsift-app-side-panel';\n\n/**\n * The AppSidePanel component.\n */\nexport const AppSidePanel: Comp<AppSidePanelProps, HTMLDivElement> = forwardRef((props, ref) => {\n const {\n children,\n className,\n featuredElements,\n iconButtonProps,\n iconButtonRef,\n logo,\n onOpen,\n theme: propsTheme,\n variant,\n ...forwardedProps\n } = props;\n\n const { width } = useWindowSize();\n\n const appContainerState = useContext(AppContainerContext);\n const theme = useTheme(propsTheme);\n\n const format = useMessageFormatter(intlMessages);\n\n useEffect(() => {\n if (appContainerState && variant && appContainerState.sidePanelVariant !== variant) {\n appContainerState.setSidePanelVariant(variant);\n }\n }, [variant]);\n\n const handleClose = (event: MouseEvent) => {\n onOpen?.(event);\n appContainerState?.expandSidePanel();\n };\n\n const computedVariant = appContainerState ? appContainerState.sidePanelVariant : variant;\n const product = appContainerState && appContainerState.product;\n\n return (\n <StyledAppSidePanel\n {...forwardedProps}\n $theme={theme}\n $variant={computedVariant}\n className={classNames(AppSidePanel.className, className)}\n ref={ref as RefObject<HTMLDivElement>}\n >\n <div className={`${AppSidePanel.className}__header`}>\n <div className={`${AppSidePanel.className}-header__logo`}>\n {React.isValidElement(logo) ? (\n logo\n ) : logo ? (\n <img src={(logo as ComponentProps<'img'>).src} alt={(logo as ComponentProps<'img'>).alt} />\n ) : product && (typeof product === 'string' || product.logo) ? (\n <Icon\n icon={typeof product === 'string' ? ProductLogo[product] : product.logo!}\n size={{ height: width && width > 1080 ? 41 : 36 }}\n />\n ) : null}\n </div>\n <IconButton\n className={`${AppSidePanel.className}-header__expand-button`}\n {...iconButtonProps}\n aria-label={format('expand')}\n icon={mdiMenu}\n onClick={handleClose}\n ref={iconButtonRef as RefObject<HTMLButtonElement>}\n color=\"grey\"\n isDisabled={computedVariant === 'standard'}\n />\n </div>\n {featuredElements ? <div className={`${AppSidePanel.className}__featured`}>{featuredElements}</div> : null}\n {children}\n </StyledAppSidePanel>\n );\n});\nAppSidePanel.className = CLASSNAME;\nAppSidePanel.displayName = COMPONENT_NAME;\n","import React from 'react';\nimport {\n SideNavigationMenuBar,\n useSideNavigationMenuBar,\n UseSideNavigationMenuBarProps,\n} from '../side-navigation-menu-bar';\nimport { AppSidePanelProps } from './types';\n\nexport const useAppSidePanel = ({ items, isActive }: UseSideNavigationMenuBarProps): Omit<AppSidePanelProps, 'ref'> => {\n const sideNavigationMenuBarProps = useSideNavigationMenuBar({\n items,\n isActive,\n });\n\n return {\n children: <SideNavigationMenuBar {...sideNavigationMenuBarProps} aria-label=\"Navigation\" />,\n };\n};\n"],"names":["useWindowSize","windowSize","setWindowSize","useState","width","undefined","height","size","useEffect","handleResize","window","innerWidth","innerHeight","addEventListener","removeEventListener","enUS","frFR","StyledAppSidePanel","styled","div","_ref","$theme","css","_ref2","_ref3","$variant","AppSidePanelVariant","hidden","shrinked","_ref4","_ref5","_ref6","_ref7","_ref8","_ref9","COMPONENT_NAME","CLASSNAME","AppSidePanel","forwardRef","props","ref","children","className","featuredElements","iconButtonProps","iconButtonRef","logo","onOpen","theme","propsTheme","variant","forwardedProps","_objectWithoutProperties","_excluded","appContainerState","useContext","AppContainerContext","useTheme","format","useMessageFormatter","intlMessages","sidePanelVariant","setSidePanelVariant","handleClose","event","expandSidePanel","computedVariant","product","React","createElement","_extends","classNames","isValidElement","src","alt","Icon","icon","ProductLogo","IconButton","mdiMenu","onClick","color","isDisabled","displayName","useAppSidePanel","items","isActive","sideNavigationMenuBarProps","useSideNavigationMenuBar","SideNavigationMenuBar"],"mappings":";;;;;;;;;;;;;;AAQaA,MAAAA,aAAa,GAAGA,MAAM;AACjC,EAAA,MAAM,CAACC,UAAU,EAAEC,aAAa,CAAC,GAAGC,QAAQ,CAAa;AACvDC,IAAA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E2B,cAAA,CAAAC,aAAA,CAACoB,qBAAqB,EAAAnB,QAAA,CAAA,EAAA,EAAKiB,0BAA0B,EAAA;MAAE,YAAW,EAAA,YAAA;KAAc,CAAA,CAAA;GAC3F,CAAA;AACH;;;;"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { f as FocusWithinGroupProps, F as FocusWithinGroupState, e as FocusWithinGroupContextProps, c as FocusWithinGroupAction, U as UseFocusWithinGroupProps, d as UseFocusGroupProps } from './types13.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The FocusWithinGroup component.
|
|
6
|
+
*
|
|
7
|
+
* @param {ReactNode} children - The child content, which will
|
|
8
|
+
* include the DOM elements to rove between using the tab key.
|
|
9
|
+
* @param {KeyDirection} direction - An optional direction value
|
|
10
|
+
* that only applies when the roving tabindex is not being
|
|
11
|
+
* used within a grid. This value specifies the arrow key behaviour.
|
|
12
|
+
* The default value is 'horizontal'.
|
|
13
|
+
* When set to 'horizontal' then only the ArrowLeft and ArrowRight
|
|
14
|
+
* keys move to the previous and next tab stop respectively.
|
|
15
|
+
* When set to 'vertical' then only the ArrowUp and ArrowDown keys
|
|
16
|
+
* move to the previous and next tab stop respectively. When set
|
|
17
|
+
* to 'both' then both the ArrowLeft and ArrowUp keys can be used
|
|
18
|
+
* to move to the previous tab stop, and both the ArrowRight
|
|
19
|
+
* and ArrowDown keys can be used to move to the next tab stop.
|
|
20
|
+
* If you do not pass an explicit value then the 'horizontal'
|
|
21
|
+
* behaviour applies.
|
|
22
|
+
* @param {boolean} focusOnClick - An optional flag for indicating
|
|
23
|
+
* if `focus()` should invoked on an item in the roving tabindex
|
|
24
|
+
* when it is clicked. The default value for this flag is `false`,
|
|
25
|
+
* meaning that `focus()` will not be invoked on click.
|
|
26
|
+
* Browsers are
|
|
27
|
+
* [inconsistent in their behaviour](https://zellwk.com/blog/inconsistent-button-behavior/)
|
|
28
|
+
* when a button is clicked so you will see some variation between
|
|
29
|
+
* the browsers with the default value. Prior to version 3 of this library,
|
|
30
|
+
* the behaviour was to always invoke `focus()` on click; this behaviour
|
|
31
|
+
* can be maintained by passing `true`.
|
|
32
|
+
* @param {boolean} loopAround - An optional flag that,
|
|
33
|
+
* when set to `true`, will loop the tabindex around when the user
|
|
34
|
+
* tries to tab to the first or last elements in the roving tabindex,
|
|
35
|
+
* rather than stopping. The default value is `false` (no looping).
|
|
36
|
+
* Note that this option does not apply if the roving tabindex
|
|
37
|
+
* is being used on a grid.
|
|
38
|
+
*/
|
|
39
|
+
declare const FocusWithinGroup: React.FC<FocusWithinGroupProps>;
|
|
40
|
+
|
|
41
|
+
declare const FOCUS_WITHING_GROUP_INITIAL_STATE: FocusWithinGroupState;
|
|
42
|
+
declare const FocusWithinGroupContext: React.Context<FocusWithinGroupContextProps>;
|
|
43
|
+
|
|
44
|
+
declare const FocusWithinGroupReducer: (state: FocusWithinGroupState, action: FocusWithinGroupAction) => FocusWithinGroupState;
|
|
45
|
+
|
|
46
|
+
declare function uniqueId(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Includes the given DOM element in the current roving tabindex.
|
|
49
|
+
* @param {RefObject<Element>} domElementRef The DOM element to include.
|
|
50
|
+
* This must be the same DOM element for the lifetime of the containing
|
|
51
|
+
* component.
|
|
52
|
+
* @param {boolean} isDisabled Whether or not the DOM element is currently
|
|
53
|
+
* enabled. This value can be updated as appropriate throughout the lifetime
|
|
54
|
+
* of the containing component.
|
|
55
|
+
* @param {number?} rowIndex An optional integer value that must be
|
|
56
|
+
* populated if the roving tabindex is being used in a grid. In that case,
|
|
57
|
+
* set it to the zero-based index of the row that the given DOM element
|
|
58
|
+
* is currently part of. You can update this row index as appropriate
|
|
59
|
+
* throughout the lifetime of the containing component, for example if
|
|
60
|
+
* the shape of the grid can change dynamically.
|
|
61
|
+
* @returns A tuple of values to be applied by the containing
|
|
62
|
+
* component for the roving tabindex to work correctly.
|
|
63
|
+
* First tuple value: The tabIndex value to apply to the tab stop
|
|
64
|
+
* element.
|
|
65
|
+
* Second tuple value: Whether or not focus() should be invoked on the
|
|
66
|
+
* tab stop element.
|
|
67
|
+
* Third tuple value: The onKeyDown callback to apply to the tab
|
|
68
|
+
* stop element. If the key press is relevant to the hook then
|
|
69
|
+
* event.preventDefault() will be invoked on the event.
|
|
70
|
+
* Fourth tuple value: The onClick callback to apply to the tab
|
|
71
|
+
* stop element.
|
|
72
|
+
*/
|
|
73
|
+
declare function useFocusOnListItem(props: {
|
|
74
|
+
domElementRef: RefObject<Element>;
|
|
75
|
+
isDisabled: boolean;
|
|
76
|
+
id?: string;
|
|
77
|
+
value?: string;
|
|
78
|
+
rowIndex?: number | null;
|
|
79
|
+
}): UseFocusWithinGroupProps;
|
|
80
|
+
|
|
81
|
+
declare function useFocusOnList(): UseFocusGroupProps;
|
|
82
|
+
|
|
83
|
+
export { FocusWithinGroup as F, FOCUS_WITHING_GROUP_INITIAL_STATE as a, FocusWithinGroupContext as b, FocusWithinGroupReducer as c, useFocusOnListItem as d, useFocusOnList as e, uniqueId as u };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFocusOnList.js","sources":["../../src/components/focus-within-group/reducer.ts","../../src/components/focus-within-group/FocusWithinGroup.tsx","../../src/components/focus-within-group/useFocusOnList.ts"],"sourcesContent":["import {\n FocusWithinGroupState,\n FocusWithinGroupAction,\n FocusWithinGroupActionType,\n TabStop,\n RowStartMap,\n EventKey,\n Navigation,\n} from './types';\n\nconst DOCUMENT_POSITION_FOLLOWING = 4;\n\nexport const FocusWithinGroupReducer = (\n state: FocusWithinGroupState,\n action: FocusWithinGroupAction\n): FocusWithinGroupState => {\n switch (action.type) {\n case FocusWithinGroupActionType.REGISTER_TAB_STOP: {\n const newTabStop = action.payload;\n if (!newTabStop.domElementRef.current) {\n return state;\n }\n\n // Iterate backwards through state.tabStops since it is\n // most likely that the tab stop will need to be inserted\n // at the end of that array.\n let indexToInsertAt = -1;\n for (let i = state.tabStops.length - 1; i >= 0; --i) {\n const loopTabStop = state.tabStops[i];\n if (loopTabStop.id === newTabStop.id) {\n // console.warn(false, `'${newTabStop.id}' tab stop already registered`);\n return state;\n }\n // The compareDocumentPosition condition is true\n // if newTabStop follows loopTabStop:\n if (\n indexToInsertAt === -1 &&\n loopTabStop.domElementRef.current &&\n !!(\n loopTabStop.domElementRef.current.compareDocumentPosition(newTabStop.domElementRef.current) &\n DOCUMENT_POSITION_FOLLOWING\n )\n ) {\n indexToInsertAt = i + 1;\n break;\n }\n }\n\n // The indexToInsertAt is -1 when newTabStop should be inserted\n // at the start of tabStops (the compareDocumentPosition condition\n // always returns false in that case).\n if (indexToInsertAt === -1) {\n indexToInsertAt = 0;\n }\n\n const newTabStops = state.tabStops.slice();\n newTabStops.splice(indexToInsertAt, 0, newTabStop);\n\n return {\n ...state,\n selectedId: state.focusOnInit ? getUpdatedSelectedId(newTabStops, state.selectedId) : null,\n tabStops: newTabStops,\n rowStartMap: null,\n };\n }\n case FocusWithinGroupActionType.UNREGISTER_TAB_STOP: {\n const id = action.payload.id;\n const newTabStops = state.tabStops.filter((tabStop) => tabStop.id !== id);\n if (newTabStops.length === state.tabStops.length) {\n // console.warn(false, `'${id}' tab stop already unregistered`);\n return state;\n }\n return {\n ...state,\n selectedId: state.focusOnInit ? getUpdatedSelectedId(newTabStops, state.selectedId) : null,\n tabStops: newTabStops,\n rowStartMap: null,\n };\n }\n case FocusWithinGroupActionType.TAB_STOP_UPDATED: {\n const { id, rowIndex, isDisabled, value } = action.payload;\n const index = state.tabStops.findIndex((tabStop) => tabStop.id === id);\n if (index === -1) {\n console.warn(false, `'${id}' tab stop not registered`);\n return state;\n }\n\n const tabStop = state.tabStops[index];\n if (tabStop.isDisabled === isDisabled && tabStop.rowIndex === rowIndex && tabStop.value === value) {\n // Nothing to do so short-circuit.\n return state;\n }\n\n const newTabStop = { ...tabStop, rowIndex, isDisabled, value };\n const newTabStops = state.tabStops.slice();\n newTabStops.splice(index, 1, newTabStop);\n\n return {\n ...state,\n selectedId: state.focusOnInit ? getUpdatedSelectedId(newTabStops, state.selectedId) : null,\n tabStops: newTabStops,\n rowStartMap: null,\n };\n }\n case FocusWithinGroupActionType.KEY_DOWN_ON_ITEM: {\n const { id, key, ctrlKey } = action.payload;\n const index = state.tabStops.findIndex((tabStop) => tabStop.id === id);\n if (index === -1) {\n console.warn(false, `'${id}' tab stop not registered`);\n return state;\n }\n return moveSelectionFromKey(state, index, key, ctrlKey);\n }\n case FocusWithinGroupActionType.CLICK_ON_ITEM: {\n const id = action.payload.id;\n const index = state.tabStops.findIndex((tabStop) => tabStop.id === id);\n if (index === -1) {\n console.warn(false, `'${id}' tab stop not registered`);\n return state;\n }\n const currentTabStop = state.tabStops[index];\n return currentTabStop.isDisabled ? state : selectTabStop(state, currentTabStop, undefined, state.focusOnClick);\n }\n case FocusWithinGroupActionType.FOCUS_ON_LIST: {\n const id = action.payload.id ?? state.tabStops[0]?.id;\n const index = state.tabStops.findIndex((tabStop) => tabStop.id === id);\n if (index === -1) {\n return state;\n }\n const currentTabStop = state.tabStops[index];\n return currentTabStop.isDisabled\n ? { ...state, delayedAction: undefined, ...action.payload }\n : selectTabStop(\n { ...state, delayedAction: undefined, ...action.payload },\n currentTabStop,\n undefined,\n state.focusOnClick\n );\n }\n case FocusWithinGroupActionType.BLUR_ON_LIST: {\n return { ...state, activedescendant: ['', ''] };\n }\n case FocusWithinGroupActionType.KEY_DOWN_ON_LIST: {\n const { key, ctrlKey } = action.payload;\n let index = state.tabStops.findIndex((tabStop) => tabStop.id === state.selectedId);\n if (index === -1) {\n if (state.focusOnInit) {\n console.warn(false, `'${state.selectedId}' tab stop not registered`);\n return { ...state, delayedAction: undefined };\n } else {\n index = 0;\n }\n }\n return moveSelectionFromKey({ ...state, delayedAction: undefined }, index, key, ctrlKey);\n }\n case FocusWithinGroupActionType.OPTIONS_UPDATED:\n return { ...state, ...action.payload };\n case FocusWithinGroupActionType.FILTER_LIST:\n return { ...state, selectedId: null, ...action.payload };\n case FocusWithinGroupActionType.DELAY_ACTION:\n return { ...state, delayedAction: action.payload };\n /* istanbul ignore next */\n default:\n return state;\n }\n};\n\nfunction findIndexOfVeryFirstActiveTabStop(tabStops: FocusWithinGroupState['tabStops']): number {\n return tabStops.findIndex((tabStop) => !tabStop.isDisabled);\n}\n\nfunction findIndexOfVeryLastActiveTabStop(tabStops: FocusWithinGroupState['tabStops']): number {\n for (let i = tabStops.length - 1; i >= 0; --i) {\n const tabStop = tabStops[i];\n if (!tabStop.isDisabled) {\n return i;\n }\n }\n return -1;\n}\n\n// Determine the updated value for selectedId:\nfunction getUpdatedSelectedId(\n tabStops: FocusWithinGroupState['tabStops'],\n currentSelectedId: FocusWithinGroupState['selectedId']\n): FocusWithinGroupState['selectedId'] {\n if (currentSelectedId === null) {\n // There is not currently selected tab stop, so find\n // the first tab stop that is not isDisabled and return\n // its id, otherwise return null.\n const index = tabStops.findIndex((tabStop) => !tabStop.isDisabled);\n return index === -1 ? null : tabStops[index].id;\n }\n\n let index = tabStops.findIndex((tabStop) => tabStop.id === currentSelectedId);\n if (index !== -1 && !tabStops[index].isDisabled) {\n // The current selected id is still valid, so return it.\n return currentSelectedId;\n }\n\n // Finds the first tab stop that is not isDisabled and return\n // its id, otherwise return null.\n index = tabStops.findIndex((tabStop) => !tabStop.isDisabled);\n return index === -1 ? null : tabStops[index].id;\n}\n\n// Translates the user key down event info into a navigation instruction.\nfunction getNavigationValue(\n key: EventKey,\n ctrlKey: boolean,\n isGrid: boolean,\n direction: string,\n loopAround: boolean,\n isFirst: boolean,\n isLast: boolean\n): Navigation | null {\n switch (key) {\n case EventKey.ArrowLeft:\n if (isGrid || direction === 'horizontal' || direction === 'both') {\n return !isGrid && loopAround && isFirst ? Navigation.VERY_LAST : Navigation.PREVIOUS;\n }\n return null;\n case EventKey.ArrowRight:\n if (isGrid || direction === 'horizontal' || direction === 'both') {\n return !isGrid && loopAround && isLast ? Navigation.VERY_FIRST : Navigation.NEXT;\n }\n return null;\n case EventKey.ArrowUp:\n if (isGrid) {\n return Navigation.PREVIOUS_ROW;\n } else if (direction === 'vertical' || direction === 'both') {\n return loopAround && isFirst ? Navigation.VERY_LAST : Navigation.PREVIOUS;\n }\n return null;\n case EventKey.ArrowDown:\n if (isGrid) {\n return Navigation.NEXT_ROW;\n } else if (direction === 'vertical' || direction === 'both') {\n return loopAround && isLast ? Navigation.VERY_FIRST : Navigation.NEXT;\n }\n return null;\n case EventKey.Home:\n return !isGrid || ctrlKey ? Navigation.VERY_FIRST : Navigation.FIRST_IN_ROW;\n case EventKey.End:\n return !isGrid || ctrlKey ? Navigation.VERY_LAST : Navigation.LAST_IN_ROW;\n /* istanbul ignore next */\n default:\n return null;\n }\n}\n\n// Creates the new state for a tab stop when it becomes the selected one.\nfunction selectTabStop(\n state: FocusWithinGroupState,\n tabStop: TabStop,\n rowStartMap?: RowStartMap,\n allowFocusing = true\n) {\n return {\n ...state,\n allowFocusing,\n selectedId: tabStop.id,\n rowStartMap: rowStartMap || state.rowStartMap,\n activedescendant:\n state.focusType === 'virtual-focus' ? ([tabStop.id, tabStop.value] as [string, string]) : undefined,\n };\n}\n\n// Creates the row start index lookup map\n// for the currently registered tab stops.\nfunction createRowStartMap(state: FocusWithinGroupState) {\n const map: RowStartMap = new Map();\n for (let i = 0; i < state.tabStops.length; ++i) {\n const { rowIndex } = state.tabStops[i];\n if (rowIndex !== null && !map.has(rowIndex)) {\n map.set(rowIndex, i);\n }\n }\n return map;\n}\n\nfunction moveSelectionFromKey(state: FocusWithinGroupState, index: number, key: EventKey, ctrlKey: boolean) {\n const currentTabStop = state.tabStops[index];\n if (currentTabStop.isDisabled) {\n return state;\n }\n const isGrid = currentTabStop.rowIndex !== null;\n const isFirst = index === findIndexOfVeryFirstActiveTabStop(state.tabStops);\n const isLast = index === findIndexOfVeryLastActiveTabStop(state.tabStops);\n const navigation = getNavigationValue(key, ctrlKey, isGrid, state.direction, state.loopAround, isFirst, isLast);\n if (!navigation) {\n return state;\n }\n\n switch (navigation) {\n case Navigation.NEXT:\n {\n for (let i = index + 1; i < state.tabStops.length; ++i) {\n const tabStop = state.tabStops[i];\n if (isGrid && tabStop.rowIndex !== currentTabStop.rowIndex) {\n break;\n }\n if (!tabStop.isDisabled) {\n return selectTabStop(state, tabStop);\n }\n }\n }\n break;\n case Navigation.PREVIOUS:\n {\n for (let i = index - 1; i >= 0; --i) {\n const tabStop = state.tabStops[i];\n if (isGrid && tabStop.rowIndex !== currentTabStop.rowIndex) {\n break;\n }\n if (!tabStop.isDisabled) {\n return selectTabStop(state, tabStop);\n }\n }\n }\n break;\n case Navigation.VERY_FIRST:\n {\n const index = findIndexOfVeryFirstActiveTabStop(state.tabStops);\n if (index > -1) {\n return selectTabStop(state, state.tabStops[index]);\n }\n }\n break;\n case Navigation.VERY_LAST:\n {\n const index = findIndexOfVeryLastActiveTabStop(state.tabStops);\n if (index > -1) {\n return selectTabStop(state, state.tabStops[index]);\n }\n }\n break;\n case Navigation.PREVIOUS_ROW: {\n if (currentTabStop.rowIndex === null || currentTabStop.rowIndex === 0) {\n return state;\n }\n const rowStartMap = state.rowStartMap || createRowStartMap(state);\n const rowStartIndex = rowStartMap.get(currentTabStop.rowIndex);\n if (rowStartIndex === undefined) {\n return state;\n }\n const columnOffset = index - rowStartIndex;\n for (let i = currentTabStop.rowIndex - 1; i >= 0; --i) {\n const rowStartIndex = rowStartMap.get(i);\n if (rowStartIndex === undefined) {\n return state;\n }\n const rowTabStop = state.tabStops[rowStartIndex + columnOffset];\n if (rowTabStop && !rowTabStop.isDisabled) {\n return selectTabStop(state, rowTabStop, rowStartMap);\n }\n }\n return { ...state, allowFocusing: true, rowStartMap };\n }\n case Navigation.NEXT_ROW: {\n const maxRowIndex = state.tabStops[state.tabStops.length - 1].rowIndex;\n if (currentTabStop.rowIndex === null || maxRowIndex === null || currentTabStop.rowIndex === maxRowIndex) {\n return state;\n }\n const rowStartMap = state.rowStartMap || createRowStartMap(state);\n const rowStartIndex = rowStartMap.get(currentTabStop.rowIndex);\n if (rowStartIndex === undefined) {\n return state;\n }\n const columnOffset = index - rowStartIndex;\n for (let i = currentTabStop.rowIndex + 1; i <= maxRowIndex; ++i) {\n const rowStartIndex = rowStartMap.get(i);\n if (rowStartIndex === undefined) {\n return state;\n }\n const rowTabStop = state.tabStops[rowStartIndex + columnOffset];\n if (rowTabStop && !rowTabStop.isDisabled) {\n return selectTabStop(state, rowTabStop, rowStartMap);\n }\n }\n return { ...state, allowFocusing: true, rowStartMap };\n }\n case Navigation.FIRST_IN_ROW:\n {\n if (currentTabStop.rowIndex === null) {\n return state;\n }\n const rowStartMap = state.rowStartMap || createRowStartMap(state);\n const rowStartIndex = rowStartMap.get(currentTabStop.rowIndex);\n if (rowStartIndex === undefined) {\n return state;\n }\n for (let i = rowStartIndex; i < state.tabStops.length; ++i) {\n const tabStop = state.tabStops[i];\n if (tabStop.rowIndex !== currentTabStop.rowIndex) {\n break;\n } else if (!tabStop.isDisabled) {\n return selectTabStop(state, state.tabStops[i], rowStartMap);\n }\n }\n }\n break;\n case Navigation.LAST_IN_ROW:\n {\n if (currentTabStop.rowIndex === null) {\n return state;\n }\n const rowStartMap = state.rowStartMap || createRowStartMap(state);\n const rowEndIndex = rowStartMap.has(currentTabStop.rowIndex + 1)\n ? (rowStartMap.get(currentTabStop.rowIndex + 1) || 0) - 1\n : state.tabStops.length - 1;\n for (let i = rowEndIndex; i >= 0; --i) {\n const tabStop = state.tabStops[i];\n if (tabStop.rowIndex !== currentTabStop.rowIndex) {\n break;\n } else if (!tabStop.isDisabled) {\n return selectTabStop(state, state.tabStops[i], rowStartMap);\n }\n }\n }\n break;\n }\n return state;\n}\n","import React, { useEffect, useMemo, useReducer } from 'react';\nimport {\n FocusWithinGroupActionType,\n FocusWithinGroupContextProps,\n FocusWithinGroupProps,\n FocusWithinGroupState,\n} from './types';\nimport { FOCUS_WITHING_GROUP_INITIAL_STATE, FocusWithinGroupContext } from './context';\nimport { FocusWithinGroupReducer } from './reducer';\n\n/**\n * The FocusWithinGroup component.\n *\n * @param {ReactNode} children - The child content, which will\n * include the DOM elements to rove between using the tab key.\n * @param {KeyDirection} direction - An optional direction value\n * that only applies when the roving tabindex is not being\n * used within a grid. This value specifies the arrow key behaviour.\n * The default value is 'horizontal'.\n * When set to 'horizontal' then only the ArrowLeft and ArrowRight\n * keys move to the previous and next tab stop respectively.\n * When set to 'vertical' then only the ArrowUp and ArrowDown keys\n * move to the previous and next tab stop respectively. When set\n * to 'both' then both the ArrowLeft and ArrowUp keys can be used\n * to move to the previous tab stop, and both the ArrowRight\n * and ArrowDown keys can be used to move to the next tab stop.\n * If you do not pass an explicit value then the 'horizontal'\n * behaviour applies.\n * @param {boolean} focusOnClick - An optional flag for indicating\n * if `focus()` should invoked on an item in the roving tabindex\n * when it is clicked. The default value for this flag is `false`,\n * meaning that `focus()` will not be invoked on click.\n * Browsers are\n * [inconsistent in their behaviour](https://zellwk.com/blog/inconsistent-button-behavior/)\n * when a button is clicked so you will see some variation between\n * the browsers with the default value. Prior to version 3 of this library,\n * the behaviour was to always invoke `focus()` on click; this behaviour\n * can be maintained by passing `true`.\n * @param {boolean} loopAround - An optional flag that,\n * when set to `true`, will loop the tabindex around when the user\n * tries to tab to the first or last elements in the roving tabindex,\n * rather than stopping. The default value is `false` (no looping).\n * Note that this option does not apply if the roving tabindex\n * is being used on a grid.\n */\nexport const FocusWithinGroup: React.FC<FocusWithinGroupProps> = (props) => {\n const {\n children,\n direction,\n focusOnClick,\n loopAround,\n focusType,\n listRole,\n focusOnInit,\n activedescendant,\n maxOptionsLength,\n } = props;\n\n const [state, dispatch] = useReducer(FocusWithinGroupReducer, {\n ...FOCUS_WITHING_GROUP_INITIAL_STATE,\n direction,\n focusOnClick,\n loopAround,\n focusType,\n listRole,\n focusOnInit,\n activedescendant,\n maxOptionsLength,\n } as FocusWithinGroupState);\n\n // Update the options whenever they change:\n useEffect(() => {\n dispatch({\n type: FocusWithinGroupActionType.OPTIONS_UPDATED,\n payload: {\n direction: direction ?? FOCUS_WITHING_GROUP_INITIAL_STATE.direction,\n focusOnClick: focusOnClick ?? FOCUS_WITHING_GROUP_INITIAL_STATE.focusOnClick,\n loopAround: loopAround ?? FOCUS_WITHING_GROUP_INITIAL_STATE.loopAround,\n focusType: focusType ?? FOCUS_WITHING_GROUP_INITIAL_STATE.focusType,\n listRole: listRole ?? FOCUS_WITHING_GROUP_INITIAL_STATE.listRole,\n focusOnInit: focusOnInit ?? FOCUS_WITHING_GROUP_INITIAL_STATE.focusOnInit,\n activedescendant: activedescendant ?? FOCUS_WITHING_GROUP_INITIAL_STATE.activedescendant,\n maxOptionsLength: maxOptionsLength ?? FOCUS_WITHING_GROUP_INITIAL_STATE.maxOptionsLength,\n },\n });\n }, [direction, focusOnClick, focusOnInit, loopAround, focusType, listRole, activedescendant, maxOptionsLength]);\n\n const context = useMemo<FocusWithinGroupContextProps>(\n () => ({\n state,\n dispatch,\n }),\n [state]\n );\n\n return <FocusWithinGroupContext.Provider value={context}>{children}</FocusWithinGroupContext.Provider>;\n};\n","import { useCallback, useContext, KeyboardEvent } from 'react';\nimport { FocusWithinGroupContext } from './context';\nimport { FocusWithinGroupActionType, EventKey, UseFocusGroupProps } from './types';\n\nexport function useFocusOnList(): UseFocusGroupProps {\n const context = useContext(FocusWithinGroupContext);\n\n const handleKeyDown = useCallback((event: KeyboardEvent) => {\n const key = EventKey[event.key as EventKey];\n if (!key) {\n return;\n }\n context.dispatch({\n type: FocusWithinGroupActionType.KEY_DOWN_ON_LIST,\n payload: { key, ctrlKey: event.ctrlKey },\n });\n event.preventDefault();\n }, []);\n\n const handleFocus = useCallback(() => {\n context.dispatch({\n type: FocusWithinGroupActionType.FOCUS_ON_LIST,\n payload: {\n id: context.state.selectedId!,\n },\n });\n }, [context.state.selectedId]);\n\n const handleBlur = useCallback(() => {\n context.dispatch({\n type: FocusWithinGroupActionType.BLUR_ON_LIST,\n payload: {},\n });\n }, []);\n\n return {\n activedescendant: context.state.activedescendant,\n handleKeyDown,\n handleFocus,\n handleBlur,\n };\n}\n"],"names":["DOCUMENT_POSITION_FOLLOWING","FocusWithinGroupReducer","state","action","type","FocusWithinGroupActionType","REGISTER_TAB_STOP","newTabStop","payload","domElementRef","current","indexToInsertAt","i","tabStops","length","loopTabStop","id","compareDocumentPosition","newTabStops","slice","splice","_objectSpread","selectedId","focusOnInit","getUpdatedSelectedId","rowStartMap","UNREGISTER_TAB_STOP","filter","tabStop","TAB_STOP_UPDATED","rowIndex","isDisabled","value","index","findIndex","console","warn","KEY_DOWN_ON_ITEM","key","ctrlKey","moveSelectionFromKey","CLICK_ON_ITEM","currentTabStop","selectTabStop","undefined","focusOnClick","FOCUS_ON_LIST","_action$payload$id","_state$tabStops$","delayedAction","BLUR_ON_LIST","activedescendant","KEY_DOWN_ON_LIST","OPTIONS_UPDATED","FILTER_LIST","DELAY_ACTION","findIndexOfVeryFirstActiveTabStop","findIndexOfVeryLastActiveTabStop","currentSelectedId","getNavigationValue","isGrid","direction","loopAround","isFirst","isLast","EventKey","ArrowLeft","Navigation","VERY_LAST","PREVIOUS","ArrowRight","VERY_FIRST","NEXT","ArrowUp","PREVIOUS_ROW","ArrowDown","NEXT_ROW","Home","FIRST_IN_ROW","End","LAST_IN_ROW","allowFocusing","arguments","focusType","createRowStartMap","map","Map","has","set","navigation","rowStartIndex","get","columnOffset","rowTabStop","maxRowIndex","rowEndIndex","FocusWithinGroup","props","children","listRole","maxOptionsLength","dispatch","useReducer","FOCUS_WITHING_GROUP_INITIAL_STATE","useEffect","context","useMemo","React","createElement","FocusWithinGroupContext","Provider","useFocusOnList","useContext","handleKeyDown","useCallback","event","preventDefault","handleFocus","handleBlur"],"mappings":";;;;AAUA,MAAMA,2BAA2B,GAAG,CAAC,CAAA;MAExBC,uBAAuB,GAAGA,CACrCC,KAA4B,EAC5BC,MAA8B,KACJ;EAC1B,QAAQA,MAAM,CAACC,IAAI;IACjB,KAAKC,0BAA0B,CAACC,iBAAiB;AAAE,MAAA;AACjD,Q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