@strapi/design-system 0.0.0-599b75fb-test → 0.0.0-622b91ef
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +47 -0
- package/dist/Accordion/Accordion.cjs +4 -4
- package/dist/Accordion/Accordion.js +13 -71
- package/dist/Accordion/AccordionContent.cjs +1 -1
- package/dist/Accordion/AccordionContent.js +3 -16
- package/dist/Accordion/AccordionContext.cjs +1 -1
- package/dist/Accordion/AccordionGroup.cjs +4 -4
- package/dist/Accordion/AccordionGroup.js +19 -89
- package/dist/Accordion/AccordionToggle.cjs +3 -3
- package/dist/Accordion/AccordionToggle.js +11 -101
- package/dist/Accordion/index.cjs +1 -1
- package/dist/Accordion/utils.cjs +1 -1
- package/dist/Alert/Alert.cjs +23 -29
- package/dist/Alert/Alert.js +33 -111
- package/dist/Alert/index.cjs +1 -1
- package/dist/Alert/utils.cjs +1 -1
- package/dist/Alert/utils.js +14 -3
- package/dist/Avatar/Avatar.cjs +5 -5
- package/dist/Avatar/Avatar.js +12 -56
- package/dist/Avatar/AvatarGroup.cjs +3 -3
- package/dist/Avatar/constants.cjs +1 -1
- package/dist/Avatar/index.cjs +1 -1
- package/dist/Badge/Badge.cjs +2 -2
- package/dist/Badge/Badge.js +4 -33
- package/dist/Badge/index.cjs +1 -1
- package/dist/BaseButton/BaseButton.cjs +4 -4
- package/dist/BaseButton/BaseButton.js +15 -38
- package/dist/BaseButton/index.cjs +1 -1
- package/dist/BaseCheckbox/BaseCheckbox.cjs +4 -4
- package/dist/BaseCheckbox/BaseCheckbox.js +19 -62
- package/dist/BaseCheckbox/index.cjs +1 -1
- package/dist/BaseCheckbox/utils.cjs +1 -1
- package/dist/BaseLink/BaseLink.cjs +1 -3
- package/dist/BaseLink/BaseLink.js +2 -18
- package/dist/BaseLink/index.cjs +1 -1
- package/dist/BaseRadio/BaseRadio.cjs +2 -2
- package/dist/BaseRadio/BaseRadio.js +12 -38
- package/dist/BaseRadio/RadioGroup.cjs +1 -1
- package/dist/BaseRadio/RadioGroup.js +3 -25
- package/dist/BaseRadio/context.cjs +1 -1
- package/dist/BaseRadio/index.cjs +1 -1
- package/dist/BaseRadio/utils.cjs +1 -1
- package/dist/Box/Box.cjs +3 -3
- package/dist/Box/Box.js +47 -173
- package/dist/Box/index.cjs +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs +4 -4
- package/dist/Breadcrumbs/Breadcrumbs.js +10 -43
- package/dist/Breadcrumbs/index.cjs +1 -1
- package/dist/Button/Button.cjs +10 -5
- package/dist/Button/Button.js +27 -69
- package/dist/Button/constants.cjs +1 -1
- package/dist/Button/index.cjs +1 -1
- package/dist/Button/utils.cjs +1 -1
- package/dist/Card/Card.cjs +1 -1
- package/dist/Card/Card.js +5 -25
- package/dist/Card/CardAction.cjs +2 -2
- package/dist/Card/CardAsset.cjs +3 -3
- package/dist/Card/CardAsset.js +5 -25
- package/dist/Card/CardBadge.cjs +2 -2
- package/dist/Card/CardBadge.js +2 -8
- package/dist/Card/CardBody.cjs +1 -1
- package/dist/Card/CardBody.js +1 -10
- package/dist/Card/CardCheckbox.cjs +1 -1
- package/dist/Card/CardCheckbox.js +5 -10
- package/dist/Card/CardContent.cjs +2 -2
- package/dist/Card/CardContent.js +1 -7
- package/dist/Card/CardContext.cjs +1 -1
- package/dist/Card/CardContext.js +1 -3
- package/dist/Card/CardHeader.cjs +2 -2
- package/dist/Card/CardHeader.js +2 -8
- package/dist/Card/CardTimer.cjs +1 -1
- package/dist/Card/CardTimer.js +1 -19
- package/dist/Card/CardTitle.cjs +1 -1
- package/dist/Card/CardTitle.js +3 -17
- package/dist/Card/index.cjs +1 -1
- package/dist/CarouselInput/Carousel.cjs +6 -7
- package/dist/CarouselInput/Carousel.js +24 -69
- package/dist/CarouselInput/CarouselActions.cjs +1 -1
- package/dist/CarouselInput/CarouselActions.js +4 -16
- package/dist/CarouselInput/CarouselImage.cjs +3 -4
- package/dist/CarouselInput/CarouselImage.js +13 -22
- package/dist/CarouselInput/CarouselInput.cjs +1 -1
- package/dist/CarouselInput/CarouselInput.js +12 -72
- package/dist/CarouselInput/CarouselSlide.cjs +1 -3
- package/dist/CarouselInput/CarouselSlide.js +4 -28
- package/dist/CarouselInput/index.cjs +1 -1
- package/dist/Checkbox/Checkbox.cjs +2 -2
- package/dist/Checkbox/Checkbox.js +21 -38
- package/dist/Checkbox/index.cjs +1 -1
- package/dist/Combobox/Combobox.cjs +107 -1
- package/dist/Combobox/Combobox.js +168 -280
- package/dist/Combobox/ComboboxList.cjs +5 -1
- package/dist/Combobox/ComboboxList.js +8 -6
- package/dist/Combobox/ComboboxOption.cjs +1 -1
- package/dist/Combobox/ComboboxOption.js +3 -29
- package/dist/Combobox/index.cjs +1 -1
- package/dist/DatePicker/DatePicker.cjs +85 -5
- package/dist/DatePicker/DatePicker.js +423 -76
- package/dist/DatePicker/index.cjs +1 -1
- package/dist/DateTimePicker/DateTimePicker.cjs +7 -1
- package/dist/DateTimePicker/DateTimePicker.js +96 -103
- package/dist/DateTimePicker/index.cjs +1 -1
- package/dist/DateTimePicker/index.js +3 -2
- package/dist/DesignSystemProvider.cjs +1 -0
- package/dist/DesignSystemProvider.js +10 -0
- package/dist/Dialog/Dialog.cjs +4 -4
- package/dist/Dialog/Dialog.js +20 -45
- package/dist/Dialog/DialogBody.cjs +2 -2
- package/dist/Dialog/DialogBody.js +9 -18
- package/dist/Dialog/DialogFooter.cjs +2 -2
- package/dist/Dialog/DialogFooter.js +7 -17
- package/dist/Dialog/index.cjs +1 -1
- package/dist/DismissibleLayer/index.cjs +1 -1
- package/dist/DismissibleLayer/index.js +3 -2
- package/dist/Divider/Divider.cjs +2 -2
- package/dist/Divider/Divider.js +6 -15
- package/dist/Divider/index.cjs +1 -1
- package/dist/EmptyStateLayout/EmptyStateLayout.cjs +2 -7
- package/dist/EmptyStateLayout/EmptyStateLayout.js +8 -25
- package/dist/EmptyStateLayout/index.cjs +1 -1
- package/dist/EmptyStateLayout/story-assets/Illo.cjs +1 -1
- package/dist/EmptyStateLayout/story-assets/Illo.js +3 -62
- package/dist/Field/Field.cjs +1 -1
- package/dist/Field/Field.js +5 -26
- package/dist/Field/FieldAction.cjs +2 -2
- package/dist/Field/FieldAction.js +5 -20
- package/dist/Field/FieldContext.cjs +1 -1
- package/dist/Field/FieldError.cjs +1 -1
- package/dist/Field/FieldError.js +2 -12
- package/dist/Field/FieldHint.cjs +1 -1
- package/dist/Field/FieldHint.js +4 -14
- package/dist/Field/FieldInput.cjs +4 -4
- package/dist/Field/FieldInput.js +19 -86
- package/dist/Field/FieldLabel.cjs +4 -4
- package/dist/Field/FieldLabel.js +7 -32
- package/dist/Field/index.cjs +1 -1
- package/dist/Flex/Flex.cjs +4 -4
- package/dist/Flex/Flex.js +10 -25
- package/dist/Flex/index.cjs +1 -1
- package/dist/FocusTrap/FocusTrap.cjs +1 -1
- package/dist/FocusTrap/FocusTrap.js +14 -22
- package/dist/FocusTrap/index.cjs +1 -1
- package/dist/Grid/Grid.cjs +3 -3
- package/dist/Grid/Grid.js +10 -20
- package/dist/Grid/GridItem.cjs +2 -2
- package/dist/Grid/GridItem.js +10 -26
- package/dist/Grid/index.cjs +1 -1
- package/dist/Icon/Icon.cjs +3 -3
- package/dist/Icon/Icon.js +6 -21
- package/dist/Icon/index.cjs +1 -1
- package/dist/IconButton/IconButton.cjs +4 -4
- package/dist/IconButton/IconButton.js +34 -85
- package/dist/IconButton/index.cjs +1 -1
- package/dist/JSONInput/JSONInput.cjs +1 -1
- package/dist/JSONInput/JSONInput.js +11 -56
- package/dist/JSONInput/JSONInputContainer.cjs +3 -3
- package/dist/JSONInput/JSONInputContainer.js +7 -14
- package/dist/JSONInput/index.cjs +1 -1
- package/dist/JSONInput/utils/decorationExtension.cjs +1 -1
- package/dist/JSONInput/utils/decorationExtension.js +3 -0
- package/dist/KeyboardNavigable/KeyboardNavigable.cjs +1 -1
- package/dist/KeyboardNavigable/KeyboardNavigable.js +32 -39
- package/dist/KeyboardNavigable/index.cjs +1 -1
- package/dist/Layout/ActionLayout.cjs +1 -9
- package/dist/Layout/ActionLayout.js +4 -23
- package/dist/Layout/ContentLayout.cjs +1 -1
- package/dist/Layout/ContentLayout.js +3 -7
- package/dist/Layout/GridLayout.cjs +3 -3
- package/dist/Layout/GridLayout.js +4 -8
- package/dist/Layout/HeaderLayout.cjs +4 -3
- package/dist/Layout/HeaderLayout.js +25 -96
- package/dist/Layout/Layout.cjs +4 -4
- package/dist/Layout/Layout.js +8 -16
- package/dist/Layout/TwoColsLayout.cjs +1 -1
- package/dist/Layout/TwoColsLayout.js +6 -11
- package/dist/Layout/index.cjs +1 -1
- package/dist/Link/Link.cjs +4 -4
- package/dist/Link/Link.js +9 -53
- package/dist/Link/index.cjs +1 -1
- package/dist/LinkButton/LinkButton.cjs +2 -2
- package/dist/LinkButton/LinkButton.js +8 -51
- package/dist/LinkButton/index.cjs +1 -1
- package/dist/LiveRegions/LiveRegions.cjs +1 -1
- package/dist/LiveRegions/LiveRegions.js +1 -18
- package/dist/LiveRegions/constants.cjs +1 -1
- package/dist/LiveRegions/index.cjs +1 -1
- package/dist/LiveRegions/useNotifyAT.cjs +1 -1
- package/dist/Loader/Loader.cjs +2 -2
- package/dist/Loader/Loader.js +3 -22
- package/dist/Loader/index.cjs +1 -1
- package/dist/Main/Main.cjs +2 -2
- package/dist/Main/Main.js +6 -15
- package/dist/Main/SkipToContent.cjs +4 -7
- package/dist/Main/SkipToContent.js +5 -24
- package/dist/Main/index.cjs +1 -1
- package/dist/MainNav/MainNav.cjs +2 -2
- package/dist/MainNav/MainNav.js +9 -30
- package/dist/MainNav/MainNavContext.cjs +1 -1
- package/dist/MainNav/MainNavContext.js +1 -1
- package/dist/MainNav/NavBrand.cjs +3 -3
- package/dist/MainNav/NavBrand.js +14 -24
- package/dist/MainNav/NavCondense.cjs +2 -2
- package/dist/MainNav/NavCondense.js +10 -14
- package/dist/MainNav/NavFooter.cjs +1 -1
- package/dist/MainNav/NavFooter.js +4 -9
- package/dist/MainNav/NavLink.cjs +6 -6
- package/dist/MainNav/NavLink.js +39 -51
- package/dist/MainNav/NavSection.cjs +1 -1
- package/dist/MainNav/NavSection.js +9 -33
- package/dist/MainNav/NavSections.cjs +2 -2
- package/dist/MainNav/NavSections.js +8 -21
- package/dist/MainNav/NavUser.cjs +2 -2
- package/dist/MainNav/NavUser.js +14 -25
- package/dist/MainNav/index.cjs +1 -1
- package/dist/ModalLayout/ModalBody.cjs +2 -2
- package/dist/ModalLayout/ModalBody.js +6 -6
- package/dist/ModalLayout/ModalContext.cjs +1 -1
- package/dist/ModalLayout/ModalContext.js +2 -1
- package/dist/ModalLayout/ModalFooter.cjs +2 -6
- package/dist/ModalLayout/ModalFooter.js +8 -21
- package/dist/ModalLayout/ModalHeader.cjs +2 -2
- package/dist/ModalLayout/ModalHeader.js +13 -21
- package/dist/ModalLayout/ModalLayout.cjs +3 -5
- package/dist/ModalLayout/ModalLayout.js +12 -31
- package/dist/ModalLayout/index.cjs +1 -1
- package/dist/NumberInput/NumberInput.cjs +2 -2
- package/dist/NumberInput/NumberInput.js +69 -162
- package/dist/NumberInput/index.cjs +1 -1
- package/dist/Pagination/Pagination.cjs +1 -5
- package/dist/Pagination/Pagination.js +8 -21
- package/dist/Pagination/PaginationContext.cjs +1 -1
- package/dist/Pagination/components.cjs +10 -13
- package/dist/Pagination/components.js +33 -69
- package/dist/Pagination/index.cjs +1 -1
- package/dist/Popover/Popover.cjs +4 -5
- package/dist/Popover/Popover.js +105 -110
- package/dist/Popover/index.cjs +1 -1
- package/dist/Popover/index.js +5 -9
- package/dist/Popover/primitives.cjs +1 -0
- package/dist/Popover/primitives.js +5 -0
- package/dist/Portal/Portal.cjs +1 -1
- package/dist/Portal/Portal.js +7 -11
- package/dist/Portal/index.cjs +1 -1
- package/dist/ProgressBar/ProgressBar.cjs +5 -5
- package/dist/ProgressBar/ProgressBar.js +6 -36
- package/dist/ProgressBar/index.cjs +1 -1
- package/dist/Radio/Radio.cjs +1 -4
- package/dist/Radio/Radio.js +6 -15
- package/dist/Radio/index.cjs +1 -1
- package/dist/RawTable/RawCell.cjs +1 -1
- package/dist/RawTable/RawCell.js +6 -29
- package/dist/RawTable/RawTable.cjs +1 -1
- package/dist/RawTable/RawTable.js +4 -28
- package/dist/RawTable/RawTableContext.cjs +1 -1
- package/dist/RawTable/RawTbody.cjs +1 -1
- package/dist/RawTable/RawTbody.js +3 -11
- package/dist/RawTable/RawThead.cjs +1 -1
- package/dist/RawTable/RawThead.js +3 -11
- package/dist/RawTable/RawTr.cjs +1 -1
- package/dist/RawTable/RawTr.js +3 -13
- package/dist/RawTable/focusFocusable.cjs +1 -1
- package/dist/RawTable/index.cjs +1 -1
- package/dist/Searchbar/SearchForm.cjs +1 -1
- package/dist/Searchbar/SearchForm.js +3 -3
- package/dist/Searchbar/Searchbar.cjs +10 -11
- package/dist/Searchbar/Searchbar.js +31 -59
- package/dist/Searchbar/index.cjs +1 -1
- package/dist/Select/MultiSelect.cjs +30 -0
- package/dist/Select/MultiSelect.js +75 -0
- package/dist/Select/MultiSelectNested.cjs +3 -1
- package/dist/Select/MultiSelectNested.js +7 -12
- package/dist/Select/OptGroup.cjs +5 -1
- package/dist/Select/OptGroup.js +8 -22
- package/dist/Select/Option.cjs +5 -45
- package/dist/Select/Option.js +13 -99
- package/dist/Select/Select.cjs +6 -3
- package/dist/Select/Select.js +16 -206
- package/dist/Select/SelectList.cjs +5 -1
- package/dist/Select/SelectList.js +67 -69
- package/dist/Select/SelectParts.cjs +83 -0
- package/dist/Select/SelectParts.js +110 -0
- package/dist/Select/SingleSelect.cjs +1 -0
- package/dist/Select/SingleSelect.js +44 -0
- package/dist/Select/index.cjs +1 -1
- package/dist/Select/index.js +17 -10
- package/dist/SimpleMenu/SimpleMenu.cjs +9 -9
- package/dist/SimpleMenu/SimpleMenu.js +73 -143
- package/dist/SimpleMenu/index.cjs +1 -1
- package/dist/SimpleMenu/utils.cjs +1 -1
- package/dist/Stack/Stack.cjs +5 -5
- package/dist/Stack/Stack.js +7 -28
- package/dist/Stack/index.cjs +1 -1
- package/dist/Status/Status.cjs +7 -7
- package/dist/Status/Status.js +12 -38
- package/dist/Status/index.cjs +1 -1
- package/dist/SubNav/SubNav.cjs +5 -5
- package/dist/SubNav/SubNav.js +8 -13
- package/dist/SubNav/SubNavHeader.cjs +3 -3
- package/dist/SubNav/SubNavHeader.js +32 -69
- package/dist/SubNav/SubNavLink.cjs +13 -13
- package/dist/SubNav/SubNavLink.js +18 -44
- package/dist/SubNav/SubNavLinkSection.cjs +4 -4
- package/dist/SubNav/SubNavLinkSection.js +15 -24
- package/dist/SubNav/SubNavSection.cjs +2 -2
- package/dist/SubNav/SubNavSection.js +16 -49
- package/dist/SubNav/SubNavSectionLabel.cjs +3 -3
- package/dist/SubNav/SubNavSectionLabel.js +11 -36
- package/dist/SubNav/SubNavSections.cjs +1 -1
- package/dist/SubNav/SubNavSections.js +5 -18
- package/dist/SubNav/index.cjs +1 -1
- package/dist/Switch/Switch.cjs +3 -3
- package/dist/Switch/Switch.js +15 -44
- package/dist/Switch/index.cjs +1 -1
- package/dist/Table/Cell.cjs +3 -3
- package/dist/Table/Cell.js +9 -18
- package/dist/Table/TFooter.cjs +3 -3
- package/dist/Table/TFooter.js +11 -16
- package/dist/Table/Table.cjs +12 -12
- package/dist/Table/Table.js +16 -24
- package/dist/Table/Tbody.cjs +2 -2
- package/dist/Table/Tbody.js +6 -6
- package/dist/Table/Thead.cjs +2 -2
- package/dist/Table/Thead.js +6 -6
- package/dist/Table/Tr.cjs +2 -2
- package/dist/Table/Tr.js +6 -6
- package/dist/Table/index.cjs +1 -1
- package/dist/Tabs/TabGroup.cjs +1 -1
- package/dist/Tabs/TabGroup.js +13 -36
- package/dist/Tabs/TabPanels.cjs +1 -1
- package/dist/Tabs/TabPanels.js +11 -21
- package/dist/Tabs/Tabs.cjs +2 -2
- package/dist/Tabs/Tabs.js +56 -106
- package/dist/Tabs/TabsContext.cjs +1 -1
- package/dist/Tabs/TabsContext.js +11 -4
- package/dist/Tabs/components.cjs +17 -17
- package/dist/Tabs/index.cjs +1 -1
- package/dist/Tag/Tag.cjs +4 -4
- package/dist/Tag/Tag.js +6 -43
- package/dist/Tag/index.cjs +1 -1
- package/dist/TextButton/TextButton.cjs +6 -12
- package/dist/TextButton/TextButton.js +17 -60
- package/dist/TextButton/index.cjs +1 -1
- package/dist/TextInput/TextInput.cjs +1 -1
- package/dist/TextInput/TextInput.js +10 -41
- package/dist/TextInput/index.cjs +1 -1
- package/dist/Textarea/Textarea.cjs +14 -12
- package/dist/Textarea/Textarea.js +33 -52
- package/dist/Textarea/index.cjs +1 -1
- package/dist/ThemeProvider/ThemeProvider.cjs +2 -2
- package/dist/ThemeProvider/ThemeProvider.js +5 -12
- package/dist/ThemeProvider/hooks.cjs +1 -1
- package/dist/ThemeProvider/index.cjs +1 -1
- package/dist/TimePicker/TimePicker.cjs +5 -7
- package/dist/TimePicker/TimePicker.js +79 -53
- package/dist/TimePicker/index.cjs +1 -1
- package/dist/TimePicker/index.js +3 -2
- package/dist/ToggleCheckbox/ToggleCheckbox.cjs +8 -8
- package/dist/ToggleCheckbox/ToggleCheckbox.js +27 -122
- package/dist/ToggleCheckbox/index.cjs +1 -1
- package/dist/ToggleInput/ToggleInput.cjs +3 -3
- package/dist/ToggleInput/ToggleInput.js +15 -62
- package/dist/ToggleInput/index.cjs +1 -1
- package/dist/Tooltip/Tooltip.cjs +2 -2
- package/dist/Tooltip/Tooltip.js +9 -52
- package/dist/Tooltip/hooks/useTooltipHandlers.cjs +1 -1
- package/dist/Tooltip/hooks/useTooltipLayout.cjs +1 -1
- package/dist/Tooltip/index.cjs +1 -1
- package/dist/Tooltip/utils/positionTooltip.cjs +1 -1
- package/dist/Typography/Typography.cjs +2 -2
- package/dist/Typography/Typography.js +11 -26
- package/dist/Typography/constants.cjs +1 -1
- package/dist/Typography/index.cjs +1 -1
- package/dist/Typography/utils.cjs +9 -9
- package/dist/VisuallyHidden/VisuallyHidden.cjs +1 -1
- package/dist/VisuallyHidden/index.cjs +1 -1
- package/dist/helpers/context.cjs +1 -0
- package/dist/helpers/context.js +21 -0
- package/dist/helpers/deprecations.cjs +1 -1
- package/dist/helpers/getDefaultLocale.cjs +4 -1
- package/dist/helpers/getDefaultLocale.js +7 -2
- package/dist/helpers/getFocusableNodes.cjs +1 -1
- package/dist/helpers/keyboardKeys.cjs +1 -1
- package/dist/helpers/objects.cjs +1 -1
- package/dist/helpers/objects.js +6 -22
- package/dist/helpers/setOpacity.cjs +1 -1
- package/dist/helpers/setTabIndexOnFirstItem.cjs +1 -1
- package/dist/helpers/strings.cjs +1 -0
- package/dist/helpers/strings.js +4 -0
- package/dist/helpers/theme.cjs +1 -1
- package/dist/helpers/useElementOnScreen.cjs +4 -1
- package/dist/helpers/useElementOnScreen.js +6 -1
- package/dist/helpers/useId.cjs +4 -1
- package/dist/helpers/useId.js +6 -1
- package/dist/helpers/useIntersection.cjs +4 -1
- package/dist/helpers/useIntersection.js +6 -1
- package/dist/helpers/useLockScroll.cjs +4 -1
- package/dist/helpers/useLockScroll.js +6 -1
- package/dist/helpers/usePrevious.cjs +4 -1
- package/dist/helpers/usePrevious.js +6 -1
- package/dist/helpers/useResizeObserver.cjs +4 -1
- package/dist/helpers/useResizeObserver.js +6 -1
- package/dist/hooks/useComposeRefs.cjs +1 -0
- package/dist/hooks/useComposeRefs.js +14 -0
- package/dist/hooks/useControllableState.cjs +1 -1
- package/dist/hooks/useControllableState.js +7 -7
- package/dist/hooks/useDateFormatter.cjs +1 -0
- package/dist/hooks/useDateFormatter.js +20 -0
- package/dist/hooks/useElementOnScreen.cjs +1 -1
- package/dist/hooks/useId.cjs +1 -1
- package/dist/hooks/useIntersection.cjs +1 -1
- package/dist/hooks/useIntersection.js +8 -8
- package/dist/hooks/useLockScroll.cjs +1 -1
- package/dist/hooks/usePrevious.cjs +1 -1
- package/dist/hooks/useResizeObserver.cjs +1 -1
- package/dist/hooks/useResizeObserver.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +305 -293
- package/dist/themes/common-theme.cjs +1 -1
- package/dist/themes/darkTheme/dark-colors.cjs +1 -1
- package/dist/themes/darkTheme/dark-shadows.cjs +1 -1
- package/dist/themes/darkTheme/index.cjs +1 -1
- package/dist/themes/extendTheme.cjs +4 -4
- package/dist/themes/extendTheme.js +21 -13
- package/dist/themes/index.cjs +1 -1
- package/dist/themes/lightTheme/index.cjs +1 -1
- package/dist/themes/lightTheme/light-colors.cjs +1 -1
- package/dist/themes/lightTheme/light-shadows.cjs +1 -1
- package/dist/themes/sizes.cjs +1 -1
- package/dist/themes/sizes.js +4 -4
- package/dist/themes/utils.cjs +4 -4
- package/dist/themes/utils.js +7 -6
- package/dist/v2/Breadcrumbs/Breadcrumbs.cjs +2 -2
- package/dist/v2/Breadcrumbs/Breadcrumbs.js +15 -19
- package/dist/v2/Breadcrumbs/Crumb.cjs +1 -1
- package/dist/v2/Breadcrumbs/Crumb.js +5 -23
- package/dist/v2/Breadcrumbs/CrumbLink.cjs +2 -2
- package/dist/v2/Breadcrumbs/CrumbLink.js +6 -14
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.cjs +4 -3
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +11 -16
- package/dist/v2/Breadcrumbs/Divider.cjs +1 -1
- package/dist/v2/Breadcrumbs/Divider.js +5 -5
- package/dist/v2/Breadcrumbs/index.cjs +1 -1
- package/dist/v2/Link/Link.cjs +13 -11
- package/dist/v2/Link/Link.js +23 -37
- package/dist/v2/Link/index.cjs +1 -1
- package/dist/v2/LinkButton/LinkButton.cjs +2 -2
- package/dist/v2/LinkButton/LinkButton.js +11 -49
- package/dist/v2/LinkButton/index.cjs +1 -1
- package/dist/v2/MainNav/MainNav.cjs +2 -2
- package/dist/v2/MainNav/MainNav.js +9 -30
- package/dist/v2/MainNav/MainNavContext.cjs +1 -1
- package/dist/v2/MainNav/MainNavContext.js +1 -1
- package/dist/v2/MainNav/NavBrand.cjs +3 -3
- package/dist/v2/MainNav/NavBrand.js +16 -23
- package/dist/v2/MainNav/NavCondense.cjs +2 -5
- package/dist/v2/MainNav/NavCondense.js +19 -22
- package/dist/v2/MainNav/NavFooter.cjs +1 -1
- package/dist/v2/MainNav/NavFooter.js +4 -9
- package/dist/v2/MainNav/NavLink.cjs +10 -10
- package/dist/v2/MainNav/NavLink.js +39 -50
- package/dist/v2/MainNav/NavSection.cjs +1 -1
- package/dist/v2/MainNav/NavSection.js +9 -33
- package/dist/v2/MainNav/NavSections.cjs +2 -2
- package/dist/v2/MainNav/NavSections.js +7 -20
- package/dist/v2/MainNav/NavUser.cjs +2 -2
- package/dist/v2/MainNav/NavUser.js +15 -26
- package/dist/v2/MainNav/index.cjs +1 -1
- package/dist/v2/Pagination/Pagination.cjs +1 -5
- package/dist/v2/Pagination/Pagination.js +8 -21
- package/dist/v2/Pagination/PaginationContext.cjs +1 -1
- package/dist/v2/Pagination/components.cjs +10 -13
- package/dist/v2/Pagination/components.js +31 -51
- package/dist/v2/Pagination/index.cjs +1 -1
- package/dist/v2/SimpleMenu/Menu.cjs +65 -0
- package/dist/v2/SimpleMenu/Menu.js +89 -0
- package/dist/v2/SimpleMenu/SimpleMenu.cjs +1 -33
- package/dist/v2/SimpleMenu/SimpleMenu.js +25 -177
- package/dist/v2/SimpleMenu/index.cjs +1 -1
- package/dist/v2/SimpleMenu/index.js +5 -3
- package/dist/v2/SubNav/SubNav.cjs +5 -5
- package/dist/v2/SubNav/SubNav.js +8 -13
- package/dist/v2/SubNav/SubNavHeader.cjs +3 -3
- package/dist/v2/SubNav/SubNavHeader.js +33 -70
- package/dist/v2/SubNav/SubNavLink.cjs +5 -5
- package/dist/v2/SubNav/SubNavLink.js +21 -49
- package/dist/v2/SubNav/SubNavLinkSection.cjs +4 -4
- package/dist/v2/SubNav/SubNavLinkSection.js +16 -24
- package/dist/v2/SubNav/SubNavSection.cjs +2 -2
- package/dist/v2/SubNav/SubNavSection.js +14 -46
- package/dist/v2/SubNav/SubNavSectionLabel.cjs +3 -3
- package/dist/v2/SubNav/SubNavSectionLabel.js +11 -36
- package/dist/v2/SubNav/SubNavSections.cjs +1 -1
- package/dist/v2/SubNav/SubNavSections.js +5 -18
- package/dist/v2/SubNav/index.cjs +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.js +53 -51
- package/package.json +23 -35
- package/dist/Combobox/components.cjs +0 -53
- package/dist/Combobox/components.js +0 -64
- package/dist/Combobox/utils.cjs +0 -1
- package/dist/Combobox/utils.js +0 -78
- package/dist/DatePicker/DatePickerCalendar.cjs +0 -1
- package/dist/DatePicker/DatePickerCalendar.js +0 -142
- package/dist/DatePicker/DatePickerTd.cjs +0 -19
- package/dist/DatePicker/DatePickerTd.js +0 -61
- package/dist/DatePicker/DatePickerTh.cjs +0 -9
- package/dist/DatePicker/DatePickerTh.js +0 -42
- package/dist/DatePicker/compareDates.cjs +0 -1
- package/dist/DatePicker/compareDates.js +0 -4
- package/dist/DatePicker/components.cjs +0 -33
- package/dist/DatePicker/components.js +0 -43
- package/dist/DatePicker/utils/formatDate.cjs +0 -1
- package/dist/DatePicker/utils/formatDate.js +0 -4
- package/dist/DatePicker/utils/generateWeeks.cjs +0 -1
- package/dist/DatePicker/utils/generateWeeks.js +0 -17
- package/dist/DatePicker/utils/getDayOfWeek.cjs +0 -1
- package/dist/DatePicker/utils/getDayOfWeek.js +0 -15
- package/dist/DatePicker/utils/getMonths.cjs +0 -1
- package/dist/DatePicker/utils/getMonths.js +0 -7
- package/dist/DatePicker/utils/getYears.cjs +0 -1
- package/dist/DatePicker/utils/getYears.js +0 -9
- package/dist/DatePicker/utils/index.cjs +0 -1
- package/dist/DatePicker/utils/index.js +0 -12
- package/dist/DismissibleLayer/DismissibleLayer.cjs +0 -1
- package/dist/DismissibleLayer/DismissibleLayer.js +0 -30
- package/dist/Grid/GridContext.cjs +0 -1
- package/dist/Grid/GridContext.js +0 -6
- package/dist/Select/SelectButton.cjs +0 -19
- package/dist/Select/SelectButton.js +0 -69
- package/dist/Select/SelectTags.cjs +0 -6
- package/dist/Select/SelectTags.js +0 -38
- package/dist/Select/components.cjs +0 -39
- package/dist/Select/components.js +0 -48
- package/dist/Select/constants.cjs +0 -1
- package/dist/Select/constants.js +0 -8
- package/dist/Select/hooks/useButtonRef.cjs +0 -1
- package/dist/Select/hooks/useButtonRef.js +0 -13
- package/dist/Select/hooks/useListRef.cjs +0 -1
- package/dist/Select/hooks/useListRef.js +0 -18
- package/dist/Select/utils.cjs +0 -1
- package/dist/Select/utils.js +0 -17
- package/dist/Tabs/useTabsFocus.cjs +0 -1
- package/dist/Tabs/useTabsFocus.js +0 -17
- package/dist/Textarea/TextareaInput.cjs +0 -30
- package/dist/Textarea/TextareaInput.js +0 -70
- package/dist/helpers/arrays.cjs +0 -1
- package/dist/helpers/arrays.js +0 -6
- package/dist/helpers/escapeSelector.cjs +0 -1
- package/dist/helpers/escapeSelector.js +0 -4
- package/dist/v2/SimpleMenu/utils.cjs +0 -12
- package/dist/v2/SimpleMenu/utils.js +0 -15
- /package/dist/BaseCheckbox/assets/{checkmark-black.cjs → checkmark-black.svg.cjs} +0 -0
- /package/dist/BaseCheckbox/assets/{checkmark-black.js → checkmark-black.svg.js} +0 -0
- /package/dist/BaseCheckbox/assets/{checkmark.cjs → checkmark.svg.cjs} +0 -0
- /package/dist/BaseCheckbox/assets/{checkmark.js → checkmark.svg.js} +0 -0
- /package/dist/Loader/assets/{loader.cjs → loader.svg.cjs} +0 -0
- /package/dist/Loader/assets/{loader.js → loader.svg.js} +0 -0
- /package/dist/Pagination/assets/{next.cjs → next.svg.cjs} +0 -0
- /package/dist/Pagination/assets/{next.js → next.svg.js} +0 -0
- /package/dist/Pagination/assets/{previous.cjs → previous.svg.cjs} +0 -0
- /package/dist/Pagination/assets/{previous.js → previous.svg.js} +0 -0
- /package/dist/v2/Pagination/assets/{next.cjs → next.svg.cjs} +0 -0
- /package/dist/v2/Pagination/assets/{next.js → next.svg.js} +0 -0
- /package/dist/v2/Pagination/assets/{previous.cjs → previous.svg.cjs} +0 -0
- /package/dist/v2/Pagination/assets/{previous.js → previous.svg.js} +0 -0
|
@@ -1,71 +1,33 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import h from "react";
|
|
3
3
|
import y from "styled-components";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { getDisabledStyle as d, getHoverStyle as b, getActiveStyle as v, getVariantStyle as x } from "../../Button/utils.js";
|
|
5
|
+
import { BaseButtonWrapper as S } from "../../BaseButton/BaseButton.js";
|
|
6
|
+
import { BaseLink as p } from "../../BaseLink/BaseLink.js";
|
|
7
7
|
import { Flex as l } from "../../Flex/Flex.js";
|
|
8
8
|
import { Typography as B } from "../../Typography/Typography.js";
|
|
9
|
-
const k = y(
|
|
9
|
+
const k = y(S)`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
|
|
12
12
|
&[aria-disabled='true'] {
|
|
13
|
-
${
|
|
13
|
+
${d}
|
|
14
14
|
&:active {
|
|
15
|
-
${
|
|
15
|
+
${d}
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
&:hover {
|
|
20
|
-
${
|
|
20
|
+
${b}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:active {
|
|
24
|
-
${
|
|
24
|
+
${v}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
${
|
|
28
|
-
`, L = h.forwardRef(({
|
|
29
|
-
variant: m = "default",
|
|
30
|
-
startIcon: e,
|
|
31
|
-
endIcon: i,
|
|
32
|
-
disabled: o = !1,
|
|
33
|
-
children: u,
|
|
34
|
-
size: t = "S",
|
|
35
|
-
as: f = d,
|
|
36
|
-
...s
|
|
37
|
-
}, g) => {
|
|
27
|
+
${x}
|
|
28
|
+
`, L = h.forwardRef(({ variant: m = "default", startIcon: e, endIcon: i, disabled: o = !1, children: u, size: t = "S", as: f = p, ...s }, g) => {
|
|
38
29
|
const a = t === "S" ? 2 : "10px", n = 4;
|
|
39
|
-
return c(k, {
|
|
40
|
-
ref: g,
|
|
41
|
-
"aria-disabled": o,
|
|
42
|
-
size: t,
|
|
43
|
-
variant: m,
|
|
44
|
-
background: "buttonPrimary600",
|
|
45
|
-
borderColor: "buttonPrimary600",
|
|
46
|
-
hasRadius: !0,
|
|
47
|
-
gap: 2,
|
|
48
|
-
inline: !0,
|
|
49
|
-
paddingBottom: a,
|
|
50
|
-
paddingLeft: n,
|
|
51
|
-
paddingRight: n,
|
|
52
|
-
paddingTop: a,
|
|
53
|
-
pointerEvents: o ? "none" : void 0,
|
|
54
|
-
...s,
|
|
55
|
-
as: f || d,
|
|
56
|
-
children: [e && r(l, {
|
|
57
|
-
"aria-hidden": !0,
|
|
58
|
-
children: e
|
|
59
|
-
}), r(B, {
|
|
60
|
-
variant: t === "S" ? "pi" : void 0,
|
|
61
|
-
fontWeight: "bold",
|
|
62
|
-
textColor: "buttonNeutral0",
|
|
63
|
-
children: u
|
|
64
|
-
}), i && r(l, {
|
|
65
|
-
"aria-hidden": !0,
|
|
66
|
-
children: i
|
|
67
|
-
})]
|
|
68
|
-
});
|
|
30
|
+
return c(k, { ref: g, "aria-disabled": o, size: t, variant: m, background: "buttonPrimary600", borderColor: "buttonPrimary600", hasRadius: !0, gap: 2, inline: !0, paddingBottom: a, paddingLeft: n, paddingRight: n, paddingTop: a, pointerEvents: o ? "none" : void 0, ...s, as: f || p, children: [e && r(l, { "aria-hidden": !0, children: e }), r(B, { variant: t === "S" ? "pi" : void 0, fontWeight: "bold", textColor: "buttonNeutral0", children: u }), i && r(l, { "aria-hidden": !0, children: i })] });
|
|
69
31
|
});
|
|
70
32
|
L.displayName = "LinkButton";
|
|
71
33
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./LinkButton.cjs");exports.LinkButton=t.LinkButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),r=require("styled-components"),o=require("./MainNavContext.cjs"),a=require("../../Flex/Flex.cjs"),i=e=>e&&e.__esModule?e:{default:e},s=i(r),l=s.default(a.Flex)`
|
|
2
2
|
width: ${({condensed:e})=>e?"max-content":`${224/16}rem`};
|
|
3
3
|
border-right: 1px solid ${({theme:e})=>e.colors.neutral150};
|
|
4
|
-
`,
|
|
4
|
+
`,u=({condensed:e=!1,...n})=>t.jsx(o.MainNavContext.Provider,{value:e,children:t.jsx(l,{alignItems:"normal",as:"nav",background:"neutral0",condensed:e,direction:"column",height:"100vh",position:"sticky",top:0,zIndex:2,...n})});exports.MainNav=u;
|
|
@@ -1,32 +1,11 @@
|
|
|
1
|
-
import o from "react";
|
|
2
|
-
import n from "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
`, r = ({ condensed: e, ...t }) => /* @__PURE__ */ o.createElement(i.Provider, { value: e }, /* @__PURE__ */ o.createElement(
|
|
10
|
-
p,
|
|
11
|
-
{
|
|
12
|
-
alignItems: "normal",
|
|
13
|
-
as: "nav",
|
|
14
|
-
background: "neutral0",
|
|
15
|
-
condensed: e,
|
|
16
|
-
direction: "column",
|
|
17
|
-
height: "100vh",
|
|
18
|
-
position: "sticky",
|
|
19
|
-
top: 0,
|
|
20
|
-
zIndex: 2,
|
|
21
|
-
...t
|
|
22
|
-
}
|
|
23
|
-
));
|
|
24
|
-
r.defaultProps = {
|
|
25
|
-
condensed: !1
|
|
26
|
-
};
|
|
27
|
-
r.propTypes = {
|
|
28
|
-
condensed: n.bool
|
|
29
|
-
};
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import n from "styled-components";
|
|
3
|
+
import { MainNavContext as e } from "./MainNavContext.js";
|
|
4
|
+
import { Flex as i } from "../../Flex/Flex.js";
|
|
5
|
+
const a = n(i)`
|
|
6
|
+
width: ${({ condensed: r }) => r ? "max-content" : `${224 / 16}rem`};
|
|
7
|
+
border-right: 1px solid ${({ theme: r }) => r.colors.neutral150};
|
|
8
|
+
`, c = ({ condensed: r = !1, ...t }) => o(e.Provider, { value: r, children: o(a, { alignItems: "normal", as: "nav", background: "neutral0", condensed: r, direction: "column", height: "100vh", position: "sticky", top: 0, zIndex: 2, ...t }) });
|
|
30
9
|
export {
|
|
31
|
-
|
|
10
|
+
c as MainNav
|
|
32
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=e.createContext(!1),a=()=>e.useContext(t);exports.MainNavContext=t;exports.useMainNav=a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),p=require("react"),g=require("styled-components"),f=require("./MainNavContext.cjs"),c=require("../../BaseLink/BaseLink.cjs"),d=require("../../Box/Box.cjs"),s=require("../../VisuallyHidden/VisuallyHidden.cjs"),j=require("../../Flex/Flex.cjs"),o=require("../../Typography/Typography.cjs"),u=e=>e&&e.__esModule?e:{default:e},y=u(p),h=u(g),l=h.default.div`
|
|
2
2
|
border-radius: ${({theme:e})=>e.borderRadius};
|
|
3
3
|
|
|
4
4
|
svg,
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
height: ${({condensed:e})=>e?`${40/16}rem`:`${32/16}rem`};
|
|
7
7
|
width: ${({condensed:e})=>e?`${40/16}rem`:`${32/16}rem`};
|
|
8
8
|
}
|
|
9
|
-
`,
|
|
9
|
+
`,B=h.default(c.BaseLink)`
|
|
10
10
|
text-decoration: unset;
|
|
11
11
|
color: inherit;
|
|
12
|
-
`,
|
|
12
|
+
`,m=y.default.forwardRef(({workplace:e,title:t,icon:i,...r},a)=>{const x=f.useMainNav();return r.to=r?.to??"/",x?n.jsx(c.BaseLink,{ref:a,...r,children:n.jsx(d.Box,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:n.jsxs(l,{condensed:!0,children:[i,n.jsxs(s.VisuallyHidden,{children:[n.jsx("span",{children:t}),n.jsx("span",{children:e})]})]})})}):n.jsx(B,{ref:a,...r,children:n.jsx(d.Box,{paddingLeft:3,paddingRight:3,paddingTop:4,paddingBottom:4,children:n.jsxs(j.Flex,{children:[n.jsx(l,{"aria-hidden":!0,tabIndex:-1,children:i}),n.jsxs(d.Box,{paddingLeft:2,children:[n.jsxs(o.Typography,{fontWeight:"bold",textColor:"neutral800",as:"span",children:[t,n.jsx(s.VisuallyHidden,{as:"span",children:e})]}),n.jsx(o.Typography,{variant:"pi",as:"p",textColor:"neutral600","aria-hidden":!0,children:e})]})]})})})});exports.NavBrand=m;
|
|
@@ -1,34 +1,27 @@
|
|
|
1
|
-
import e from "react";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as d, jsxs as e } from "react/jsx-runtime";
|
|
2
|
+
import f from "react";
|
|
3
|
+
import l from "styled-components";
|
|
4
4
|
import { useMainNav as g } from "./MainNavContext.js";
|
|
5
|
-
import { BaseLink as
|
|
5
|
+
import { BaseLink as c } from "../../BaseLink/BaseLink.js";
|
|
6
6
|
import { Box as n } from "../../Box/Box.js";
|
|
7
|
-
import {
|
|
7
|
+
import { VisuallyHidden as m } from "../../VisuallyHidden/VisuallyHidden.js";
|
|
8
|
+
import { Flex as u } from "../../Flex/Flex.js";
|
|
8
9
|
import { Typography as p } from "../../Typography/Typography.js";
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
border-radius: ${({ theme: t }) => t.borderRadius};
|
|
10
|
+
const h = l.div`
|
|
11
|
+
border-radius: ${({ theme: r }) => r.borderRadius};
|
|
12
12
|
|
|
13
13
|
svg,
|
|
14
14
|
img {
|
|
15
|
-
height: ${({ condensed:
|
|
16
|
-
width: ${({ condensed:
|
|
15
|
+
height: ${({ condensed: r }) => r ? `${40 / 16}rem` : `${32 / 16}rem`};
|
|
16
|
+
width: ${({ condensed: r }) => r ? `${40 / 16}rem` : `${32 / 16}rem`};
|
|
17
17
|
}
|
|
18
|
-
`,
|
|
18
|
+
`, x = l(c)`
|
|
19
19
|
text-decoration: unset;
|
|
20
20
|
color: inherit;
|
|
21
|
-
`,
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
a.propTypes = {
|
|
27
|
-
icon: r.node.isRequired,
|
|
28
|
-
title: r.string.isRequired,
|
|
29
|
-
to: r.string,
|
|
30
|
-
workplace: r.string.isRequired
|
|
31
|
-
};
|
|
21
|
+
`, W = f.forwardRef(({ workplace: r, title: t, icon: o, ...i }, a) => {
|
|
22
|
+
const s = g();
|
|
23
|
+
return i.to = i?.to ?? "/", s ? d(c, { ref: a, ...i, children: d(n, { paddingLeft: 3, paddingRight: 3, paddingTop: 4, paddingBottom: 4, children: e(h, { condensed: !0, children: [o, e(m, { children: [d("span", { children: t }), d("span", { children: r })] })] }) }) }) : d(x, { ref: a, ...i, children: d(n, { paddingLeft: 3, paddingRight: 3, paddingTop: 4, paddingBottom: 4, children: e(u, { children: [d(h, { "aria-hidden": !0, tabIndex: -1, children: o }), e(n, { paddingLeft: 2, children: [e(p, { fontWeight: "bold", textColor: "neutral800", as: "span", children: [t, d(m, { as: "span", children: r })] }), d(p, { variant: "pi", as: "p", textColor: "neutral600", "aria-hidden": !0, children: r })] })] }) }) });
|
|
24
|
+
});
|
|
32
25
|
export {
|
|
33
|
-
|
|
26
|
+
W as NavBrand
|
|
34
27
|
};
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),o=require("@strapi/icons"),s=require("styled-components"),i=require("./MainNavContext.cjs"),d=require("../../Flex/Flex.cjs"),a=require("../../Icon/Icon.cjs"),u=require("../../VisuallyHidden/VisuallyHidden.cjs"),l=e=>e&&e.__esModule?e:{default:e},c=l(s),h=c.default(d.Flex).attrs(e=>({justifyContent:"center",...e}))`
|
|
2
2
|
background: ${({theme:e})=>e.colors.neutral0};
|
|
3
3
|
border: 1px solid ${({theme:e})=>e.colors.neutral150};
|
|
4
4
|
border-radius: ${({theme:e})=>e.borderRadius};
|
|
5
|
-
display: flex;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
5
|
position: absolute;
|
|
9
6
|
bottom: ${(9+4)/16}rem; // 9 is the height of the svg and 4 is the padding below
|
|
10
7
|
right: ${({theme:e,condensed:t})=>t?0:e.spaces[5]};
|
|
@@ -17,4 +14,4 @@
|
|
|
17
14
|
width: ${6/16}rem;
|
|
18
15
|
height: ${9/16}rem;
|
|
19
16
|
}
|
|
20
|
-
`,
|
|
17
|
+
`,g=({children:e,...t})=>{const r=i.useMainNav();return n.jsxs(h,{as:"button",condensed:r,...t,children:[n.jsx(a.Icon,{as:r?o.ChevronRight:o.ChevronLeft,"aria-hidden":!0,color:"neutral600"}),n.jsx(u.VisuallyHidden,{children:e})]})};exports.NavCondense=g;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import t from "react";
|
|
2
|
-
import { ChevronRight as
|
|
3
|
-
import
|
|
4
|
-
import a from "
|
|
5
|
-
import {
|
|
6
|
-
import { Icon as
|
|
1
|
+
import { jsxs as n, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronRight as i, ChevronLeft as s } from "@strapi/icons";
|
|
3
|
+
import d from "styled-components";
|
|
4
|
+
import { useMainNav as a } from "./MainNavContext.js";
|
|
5
|
+
import { Flex as m } from "../../Flex/Flex.js";
|
|
6
|
+
import { Icon as h } from "../../Icon/Icon.js";
|
|
7
7
|
import { VisuallyHidden as l } from "../../VisuallyHidden/VisuallyHidden.js";
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
const c = d(m).attrs((r) => ({
|
|
9
|
+
justifyContent: "center",
|
|
10
|
+
...r
|
|
11
|
+
}))`
|
|
12
|
+
background: ${({ theme: r }) => r.colors.neutral0};
|
|
13
|
+
border: 1px solid ${({ theme: r }) => r.colors.neutral150};
|
|
14
|
+
border-radius: ${({ theme: r }) => r.borderRadius};
|
|
15
15
|
position: absolute;
|
|
16
16
|
bottom: ${(9 + 4) / 16}rem; // 9 is the height of the svg and 4 is the padding below
|
|
17
|
-
right: ${({ theme:
|
|
18
|
-
transform: ${({ condensed:
|
|
17
|
+
right: ${({ theme: r, condensed: e }) => e ? 0 : r.spaces[5]};
|
|
18
|
+
transform: ${({ condensed: r }) => r ? "translateX(50%)" : void 0};
|
|
19
19
|
z-index: 2;
|
|
20
20
|
width: ${18 / 16}rem;
|
|
21
21
|
height: ${25 / 16}rem;
|
|
@@ -24,13 +24,10 @@ const p = a.button`
|
|
|
24
24
|
width: ${6 / 16}rem;
|
|
25
25
|
height: ${9 / 16}rem;
|
|
26
26
|
}
|
|
27
|
-
`,
|
|
28
|
-
const o =
|
|
29
|
-
return
|
|
30
|
-
};
|
|
31
|
-
c.propTypes = {
|
|
32
|
-
children: s.string.isRequired
|
|
27
|
+
`, x = ({ children: r, ...e }) => {
|
|
28
|
+
const o = a();
|
|
29
|
+
return n(c, { as: "button", condensed: o, ...e, children: [t(h, { as: o ? i : s, "aria-hidden": !0, color: "neutral600" }), t(l, { children: r })] });
|
|
33
30
|
};
|
|
34
31
|
export {
|
|
35
|
-
|
|
32
|
+
x as NavCondense
|
|
36
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),t=require("../../Box/Box.cjs"),r=({children:e})=>o.jsx(t.Box,{position:"relative",children:e});exports.NavFooter=r;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import r from "react";
|
|
2
|
-
import t from "
|
|
3
|
-
|
|
4
|
-
const e = ({ children: o }) => /* @__PURE__ */ r.createElement(p, { position: "relative" }, o);
|
|
5
|
-
e.displayName = "NavFooter";
|
|
6
|
-
e.propTypes = {
|
|
7
|
-
children: t.node.isRequired
|
|
8
|
-
};
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Box as t } from "../../Box/Box.js";
|
|
3
|
+
const m = ({ children: o }) => r(t, { position: "relative", children: o });
|
|
9
4
|
export {
|
|
10
|
-
|
|
5
|
+
m as NavFooter
|
|
11
6
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),$=require("react"),y=require("styled-components"),f=require("./MainNavContext.cjs"),x=require("../../Box/Box.cjs"),j=require("../../BaseLink/BaseLink.cjs"),s=require("../../Typography/Typography.cjs"),h=require("../../Flex/Flex.cjs"),v=require("../../Badge/Badge.cjs"),m=require("../../Tooltip/Tooltip.cjs"),g=e=>e&&e.__esModule?e:{default:e},b=g($),a=g(y),c=a.default(x.Box)`
|
|
2
2
|
svg {
|
|
3
3
|
width: 1rem;
|
|
4
4
|
height: 1rem;
|
|
5
5
|
}
|
|
6
|
-
`,
|
|
6
|
+
`,d=a.default(j.BaseLink)`
|
|
7
7
|
position: relative;
|
|
8
8
|
text-decoration: none;
|
|
9
9
|
display: block;
|
|
10
10
|
border-radius: ${({theme:e})=>e.borderRadius};
|
|
11
11
|
background: ${({theme:e})=>e.colors.neutral0};
|
|
12
12
|
|
|
13
|
-
${
|
|
13
|
+
${s.Typography} {
|
|
14
14
|
color: ${({theme:e})=>e.colors.neutral600};
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
&:hover {
|
|
22
22
|
background: ${({theme:e})=>e.colors.neutral100};
|
|
23
23
|
|
|
24
|
-
${
|
|
24
|
+
${s.Typography} {
|
|
25
25
|
color: ${({theme:e})=>e.colors.neutral700};
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -37,22 +37,22 @@
|
|
|
37
37
|
fill: ${({theme:e})=>e.colors.primary600};
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
${
|
|
40
|
+
${s.Typography} {
|
|
41
41
|
color: ${({theme:e})=>e.colors.primary600};
|
|
42
42
|
font-weight: 500;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
`,
|
|
45
|
+
`,u=a.default(h.Flex)`
|
|
46
46
|
padding: ${({theme:e})=>`${e.spaces[2]} ${e.spaces[3]}`};
|
|
47
|
-
`,
|
|
48
|
-
${({theme:e,condensed:
|
|
47
|
+
`,p=a.default(v.Badge)`
|
|
48
|
+
${({theme:e,condensed:o})=>o&&`
|
|
49
49
|
position: absolute;
|
|
50
50
|
// Values based on visual aspect
|
|
51
51
|
top: -${e.spaces[3]};
|
|
52
52
|
right: -${e.spaces[1]};
|
|
53
53
|
`}
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${s.Typography} {
|
|
56
56
|
//find a solution to remove !important
|
|
57
57
|
color: ${({theme:e})=>e.colors.neutral0} !important;
|
|
58
58
|
line-height: 0;
|
|
@@ -66,4 +66,4 @@
|
|
|
66
66
|
padding: ${({theme:e})=>`0 ${e.spaces[2]}`};
|
|
67
67
|
border-radius: ${({theme:e})=>e.spaces[10]};
|
|
68
68
|
background: ${({theme:e})=>e.colors.primary600};
|
|
69
|
-
`,
|
|
69
|
+
`,k=b.default.forwardRef(({children:e,icon:o,badgeContent:t,badgeAriaLabel:n,...i},l)=>f.useMainNav()?r.jsx(d,{ref:l,...i,children:r.jsx(m.Tooltip,{position:"right",label:e,children:r.jsxs(u,{as:"span",justifyContent:"center",children:[r.jsx(c,{"aria-hidden":!0,paddingRight:0,as:"span",children:o}),t&&r.jsx(p,{condensed:!0,"aria-label":n,children:t})]})})}):r.jsx(d,{ref:l,...i,children:r.jsxs(u,{as:"span",justifyContent:"space-between",children:[r.jsxs(h.Flex,{children:[r.jsx(c,{"aria-hidden":!0,paddingRight:3,as:"span",children:o}),r.jsx(s.Typography,{children:e})]}),t&&r.jsx(p,{justifyContent:"center","aria-label":n,children:t})]})}));exports.NavLink=k;
|
|
@@ -1,93 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
2
|
+
import $ from "react";
|
|
3
|
+
import t from "styled-components";
|
|
4
4
|
import { useMainNav as f } from "./MainNavContext.js";
|
|
5
|
-
import {
|
|
6
|
-
import { BaseLink as
|
|
7
|
-
import {
|
|
8
|
-
import { Flex as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
const
|
|
5
|
+
import { Box as g } from "../../Box/Box.js";
|
|
6
|
+
import { BaseLink as v } from "../../BaseLink/BaseLink.js";
|
|
7
|
+
import { Typography as e } from "../../Typography/Typography.js";
|
|
8
|
+
import { Flex as h } from "../../Flex/Flex.js";
|
|
9
|
+
import { Badge as y } from "../../Badge/Badge.js";
|
|
10
|
+
import { Tooltip as b } from "../../Tooltip/Tooltip.js";
|
|
11
|
+
const p = t(g)`
|
|
12
12
|
svg {
|
|
13
13
|
width: 1rem;
|
|
14
14
|
height: 1rem;
|
|
15
15
|
}
|
|
16
|
-
`,
|
|
16
|
+
`, d = t(v)`
|
|
17
17
|
position: relative;
|
|
18
18
|
text-decoration: none;
|
|
19
19
|
display: block;
|
|
20
|
-
border-radius: ${({ theme:
|
|
21
|
-
background: ${({ theme:
|
|
20
|
+
border-radius: ${({ theme: r }) => r.borderRadius};
|
|
21
|
+
background: ${({ theme: r }) => r.colors.neutral0};
|
|
22
22
|
|
|
23
|
-
${
|
|
24
|
-
color: ${({ theme:
|
|
23
|
+
${e} {
|
|
24
|
+
color: ${({ theme: r }) => r.colors.neutral600};
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
svg path {
|
|
28
|
-
fill: ${({ theme:
|
|
28
|
+
fill: ${({ theme: r }) => r.colors.neutral500};
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
&:hover {
|
|
32
|
-
background: ${({ theme:
|
|
32
|
+
background: ${({ theme: r }) => r.colors.neutral100};
|
|
33
33
|
|
|
34
|
-
${
|
|
35
|
-
color: ${({ theme:
|
|
34
|
+
${e} {
|
|
35
|
+
color: ${({ theme: r }) => r.colors.neutral700};
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
svg path {
|
|
39
|
-
fill: ${({ theme:
|
|
39
|
+
fill: ${({ theme: r }) => r.colors.neutral600};
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
&.active {
|
|
44
|
-
background: ${({ theme:
|
|
44
|
+
background: ${({ theme: r }) => r.colors.primary100};
|
|
45
45
|
|
|
46
46
|
svg path {
|
|
47
|
-
fill: ${({ theme:
|
|
47
|
+
fill: ${({ theme: r }) => r.colors.primary600};
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
${
|
|
51
|
-
color: ${({ theme:
|
|
50
|
+
${e} {
|
|
51
|
+
color: ${({ theme: r }) => r.colors.primary600};
|
|
52
52
|
font-weight: 500;
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
`,
|
|
56
|
-
padding: ${({ theme:
|
|
57
|
-
`,
|
|
58
|
-
${({ theme:
|
|
55
|
+
`, m = t(h)`
|
|
56
|
+
padding: ${({ theme: r }) => `${r.spaces[2]} ${r.spaces[3]}`};
|
|
57
|
+
`, u = t(y)`
|
|
58
|
+
${({ theme: r, condensed: i }) => i && `
|
|
59
59
|
position: absolute;
|
|
60
60
|
// Values based on visual aspect
|
|
61
|
-
top: -${
|
|
62
|
-
right: -${
|
|
61
|
+
top: -${r.spaces[3]};
|
|
62
|
+
right: -${r.spaces[1]};
|
|
63
63
|
`}
|
|
64
64
|
|
|
65
|
-
${
|
|
65
|
+
${e} {
|
|
66
66
|
//find a solution to remove !important
|
|
67
|
-
color: ${({ theme:
|
|
67
|
+
color: ${({ theme: r }) => r.colors.neutral0} !important;
|
|
68
68
|
line-height: 0;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
display: flex;
|
|
72
72
|
justify-content: center;
|
|
73
73
|
align-items: center;
|
|
74
|
-
min-width: ${({ theme:
|
|
75
|
-
height: ${({ theme:
|
|
76
|
-
padding: ${({ theme:
|
|
77
|
-
border-radius: ${({ theme:
|
|
78
|
-
background: ${({ theme:
|
|
79
|
-
`,
|
|
80
|
-
s.displayName = "NavLink";
|
|
81
|
-
s.defaultProps = {
|
|
82
|
-
badgeContent: void 0,
|
|
83
|
-
badgeAriaLabel: void 0
|
|
84
|
-
};
|
|
85
|
-
s.propTypes = {
|
|
86
|
-
badgeAriaLabel: o.string,
|
|
87
|
-
badgeContent: o.oneOfType([o.string, o.number]),
|
|
88
|
-
children: o.string.isRequired,
|
|
89
|
-
icon: o.node.isRequired
|
|
90
|
-
};
|
|
74
|
+
min-width: ${({ theme: r }) => r.spaces[6]};
|
|
75
|
+
height: ${({ theme: r }) => r.spaces[5]};
|
|
76
|
+
padding: ${({ theme: r }) => `0 ${r.spaces[2]}`};
|
|
77
|
+
border-radius: ${({ theme: r }) => r.spaces[10]};
|
|
78
|
+
background: ${({ theme: r }) => r.colors.primary600};
|
|
79
|
+
`, C = $.forwardRef(({ children: r, icon: i, badgeContent: a, badgeAriaLabel: n, ...l }, c) => f() ? o(d, { ref: c, ...l, children: o(b, { position: "right", label: r, children: s(m, { as: "span", justifyContent: "center", children: [o(p, { "aria-hidden": !0, paddingRight: 0, as: "span", children: i }), a && o(u, { condensed: !0, "aria-label": n, children: a })] }) }) }) : o(d, { ref: c, ...l, children: s(m, { as: "span", justifyContent: "space-between", children: [s(h, { children: [o(p, { "aria-hidden": !0, paddingRight: 3, as: "span", children: i }), o(e, { children: r })] }), a && o(u, { justifyContent: "center", "aria-label": n, children: a })] }) }));
|
|
91
80
|
export {
|
|
92
|
-
|
|
81
|
+
C as NavLink
|
|
93
82
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("react"),u=require("./MainNavContext.cjs"),r=require("../../Flex/Flex.cjs"),l=require("../../Box/Box.cjs"),x=require("../../Divider/Divider.cjs"),g=require("../../VisuallyHidden/VisuallyHidden.cjs"),p=require("../../Typography/Typography.cjs"),h=({label:s,children:a,horizontal:n=!1,spacing:d=2,...c})=>u.useMainNav()?e.jsxs(r.Flex,{direction:"column",alignItems:"stretch",gap:2,children:[e.jsxs(l.Box,{paddingTop:1,paddingBottom:1,background:"neutral0",hasRadius:!0,as:"span",children:[e.jsx(x.Divider,{}),e.jsx(g.VisuallyHidden,{children:e.jsx("span",{children:s})})]}),e.jsx(r.Flex,{as:"ul",gap:d,direction:n?"row":"column",alignItems:n?"center":"stretch",...c,children:o.Children.map(a,(i,t)=>e.jsx("li",{children:i},t))})]}):e.jsxs(r.Flex,{direction:"column",alignItems:"stretch",gap:2,children:[e.jsx(l.Box,{paddingTop:1,paddingBottom:1,background:"neutral0",paddingRight:3,paddingLeft:3,hasRadius:!0,as:"span",children:e.jsx(p.Typography,{variant:"sigma",textColor:"neutral600",children:s})}),e.jsx(r.Flex,{as:"ul",gap:d,direction:n?"row":"column",alignItems:n?"center":"stretch",...c,children:o.Children.map(a,(i,t)=>e.jsx("li",{children:i},t))})]});exports.NavSection=h;
|
|
@@ -1,36 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import { useMainNav as
|
|
4
|
-
import {
|
|
1
|
+
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { Children as s } from "react";
|
|
3
|
+
import { useMainNav as p } from "./MainNavContext.js";
|
|
4
|
+
import { Flex as e } from "../../Flex/Flex.js";
|
|
5
|
+
import { Box as l } from "../../Box/Box.js";
|
|
5
6
|
import { Divider as u } from "../../Divider/Divider.js";
|
|
6
|
-
import {
|
|
7
|
-
import { Typography as
|
|
8
|
-
|
|
9
|
-
const E = ({ label: i, children: m, horizontal: t = !1, spacing: o = 2, ...l }) => s() ? /* @__PURE__ */ e.createElement(r, { direction: "column", alignItems: "stretch", gap: 2 }, /* @__PURE__ */ e.createElement(p, { paddingTop: 1, paddingBottom: 1, background: "neutral0", hasRadius: !0, as: "span" }, /* @__PURE__ */ e.createElement(u, null), /* @__PURE__ */ e.createElement(f, null, /* @__PURE__ */ e.createElement("span", null, i))), /* @__PURE__ */ e.createElement(
|
|
10
|
-
r,
|
|
11
|
-
{
|
|
12
|
-
as: "ul",
|
|
13
|
-
gap: o,
|
|
14
|
-
direction: t ? "row" : "column",
|
|
15
|
-
alignItems: t ? "center" : "stretch",
|
|
16
|
-
...l
|
|
17
|
-
},
|
|
18
|
-
c.map(m, (n, a) => /* @__PURE__ */ e.createElement("li", { key: a }, n))
|
|
19
|
-
)) : /* @__PURE__ */ e.createElement(r, { direction: "column", alignItems: "stretch", gap: 2 }, /* @__PURE__ */ e.createElement(p, { paddingTop: 1, paddingBottom: 1, background: "neutral0", paddingRight: 3, paddingLeft: 3, hasRadius: !0, as: "span" }, /* @__PURE__ */ e.createElement(g, { variant: "sigma", textColor: "neutral600" }, i)), /* @__PURE__ */ e.createElement(
|
|
20
|
-
r,
|
|
21
|
-
{
|
|
22
|
-
as: "ul",
|
|
23
|
-
gap: o,
|
|
24
|
-
direction: t ? "row" : "column",
|
|
25
|
-
alignItems: t ? "center" : "stretch",
|
|
26
|
-
...l
|
|
27
|
-
},
|
|
28
|
-
c.map(m, (n, a) => /* @__PURE__ */ e.createElement("li", { key: a }, n))
|
|
29
|
-
));
|
|
30
|
-
E.propTypes = {
|
|
31
|
-
children: d.node.isRequired,
|
|
32
|
-
label: d.string.isRequired
|
|
33
|
-
};
|
|
7
|
+
import { VisuallyHidden as g } from "../../VisuallyHidden/VisuallyHidden.js";
|
|
8
|
+
import { Typography as h } from "../../Typography/Typography.js";
|
|
9
|
+
const k = ({ label: o, children: a, horizontal: n = !1, spacing: c = 2, ...m }) => p() ? d(e, { direction: "column", alignItems: "stretch", gap: 2, children: [d(l, { paddingTop: 1, paddingBottom: 1, background: "neutral0", hasRadius: !0, as: "span", children: [r(u, {}), r(g, { children: r("span", { children: o }) })] }), r(e, { as: "ul", gap: c, direction: n ? "row" : "column", alignItems: n ? "center" : "stretch", ...m, children: s.map(a, (i, t) => r("li", { children: i }, t)) })] }) : d(e, { direction: "column", alignItems: "stretch", gap: 2, children: [r(l, { paddingTop: 1, paddingBottom: 1, background: "neutral0", paddingRight: 3, paddingLeft: 3, hasRadius: !0, as: "span", children: r(h, { variant: "sigma", textColor: "neutral600", children: o }) }), r(e, { as: "ul", gap: c, direction: n ? "row" : "column", alignItems: n ? "center" : "stretch", ...m, children: s.map(a, (i, t) => r("li", { children: i }, t)) })] });
|
|
34
10
|
export {
|
|
35
|
-
|
|
11
|
+
k as NavSection
|
|
36
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("react"),c=require("styled-components"),d=require("../../Box/Box.cjs"),u=require("../../Flex/Flex.cjs"),a=e=>e&&e.__esModule?e:{default:e},g=a(c),x=g.default(d.Box)`
|
|
2
2
|
flex-grow: 1;
|
|
3
3
|
overflow-y: auto;
|
|
4
|
-
`,
|
|
4
|
+
`,f=({children:e,spacing:r=4,horizontal:o=!1,...n})=>t.jsx(x,{paddingLeft:3,paddingRight:2,paddingTop:3,paddingBottom:8,children:t.jsx(u.Flex,{as:"ul",gap:r,direction:o?"row":"column",alignItems:o?"center":"stretch",...n,children:l.Children.map(e,(i,s)=>t.jsx("li",{children:i},s))})});exports.NavSections=f;
|