@nulogy/components 16.0.0 → 16.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/locales/ja_JP.json +63 -0
- package/dist/main.js +1733 -587
- package/dist/main.js.map +1 -1
- package/dist/main.module.js +1732 -586
- package/dist/main.module.js.map +1 -1
- package/dist/src/Alert/Alert.d.ts +1 -1
- package/dist/src/Alert/Alert.js +3 -8
- package/dist/src/Alert/Alert.story.d.ts +1 -1
- package/dist/src/Alert/Alert.story.js +3 -9
- package/dist/src/Alert/CloseButton.d.ts +1 -1
- package/dist/src/Alert/CloseButton.js +2 -3
- package/dist/src/AppTag/AppTag.d.ts +1 -2
- package/dist/src/AppTag/AppTag.js +2 -6
- package/dist/src/AppTag/components/NulogyLogo.d.ts +1 -1
- package/dist/src/AppTag/components/NulogyLogo.js +2 -3
- package/dist/src/AppTag/stories/AppTag.story.d.ts +2 -3
- package/dist/src/AppTag/stories/AppTag.story.js +6 -8
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +5 -6
- package/dist/src/AppTag/stories/AppTag.usecases.story.js +12 -58
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.d.ts +1 -2
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.js +4 -4
- package/dist/src/AsyncSelect/AsyncSelect.js +21 -23
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +9 -10
- package/dist/src/AsyncSelect/AsyncSelect.story.js +11 -14
- package/dist/src/AsyncSelect/AsyncSelectComponents.d.ts +8 -9
- package/dist/src/AsyncSelect/AsyncSelectComponents.js +9 -19
- package/dist/src/Banner/Banner.d.ts +2 -2
- package/dist/src/Banner/Banner.js +2 -2
- package/dist/src/Banner/Banner.story.d.ts +6 -7
- package/dist/src/Banner/Banner.story.js +7 -24
- package/dist/src/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/src/BottomSheet/BottomSheet.js +3 -17
- package/dist/src/BottomSheet/BottomSheet.parts.d.ts +3 -3
- package/dist/src/BottomSheet/BottomSheet.parts.js +6 -5
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +4 -4
- package/dist/src/BottomSheet/BottomSheetProvider.d.ts +1 -1
- package/dist/src/BottomSheet/BottomSheetProvider.js +2 -2
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +3 -4
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.js +4 -9
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.d.ts +3 -4
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.js +4 -11
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +5 -6
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.js +12 -42
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.d.ts +2 -3
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.js +3 -23
- package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +2 -3
- package/dist/src/BottomSheet/stories/BottomSheet.story.js +3 -5
- package/dist/src/Box/Box.story.d.ts +12 -13
- package/dist/src/Box/Box.story.js +14 -32
- package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +1 -1
- package/dist/src/BrandedNavBar/BrandLogoContainer.js +2 -5
- package/dist/src/BrandedNavBar/DesktopMenu.js +6 -9
- package/dist/src/BrandedNavBar/MenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/MenuTrigger.js +12 -12
- package/dist/src/BrandedNavBar/MenuTriggerButton.js +7 -8
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +1 -1
- package/dist/src/BrandedNavBar/MobileMenu.js +8 -24
- package/dist/src/BrandedNavBar/NavBar.d.ts +1 -1
- package/dist/src/BrandedNavBar/NavBar.js +6 -16
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +13 -14
- package/dist/src/BrandedNavBar/NavBar.story.js +27 -42
- package/dist/src/BrandedNavBar/NavBarDropdownMenu.js +34 -39
- package/dist/src/BrandedNavBar/NulogyLogo.d.ts +1 -2
- package/dist/src/BrandedNavBar/NulogyLogo.js +2 -14
- package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +1 -2
- package/dist/src/BrandedNavBar/NulogyLogoContainer.js +2 -5
- package/dist/src/BrandedNavBar/SmallNavBar.js +9 -17
- package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +6 -7
- package/dist/src/BrandedNavBar/SmallNavBar.story.js +10 -16
- package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +1 -1
- package/dist/src/BrandedNavBar/SubMenuTrigger.js +4 -5
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.js +2 -4
- package/dist/src/BrandedNavBar/renderSubMenuItems.js +5 -10
- package/dist/src/Branding/Branding.d.ts +1 -2
- package/dist/src/Branding/Branding.js +5 -10
- package/dist/src/Branding/Branding.story.d.ts +1 -2
- package/dist/src/Branding/Branding.story.js +2 -77
- package/dist/src/Branding/LettermarkLogo.d.ts +1 -2
- package/dist/src/Branding/LettermarkLogo.js +2 -3
- package/dist/src/Branding/WordmarkLogo.d.ts +1 -1
- package/dist/src/Branding/WordmarkLogo.js +2 -10
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +1 -2
- package/dist/src/Breadcrumbs/Breadcrumbs.js +4 -5
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +3 -4
- package/dist/src/Breadcrumbs/Breadcrumbs.story.js +4 -16
- package/dist/src/Button/Button.js +2 -4
- package/dist/src/Button/Button.story.d.ts +9 -10
- package/dist/src/Button/Button.story.js +10 -26
- package/dist/src/Button/CloseButton.js +2 -2
- package/dist/src/Button/ControlIcon.js +2 -2
- package/dist/src/Button/ControlIcon.story.d.ts +3 -4
- package/dist/src/Button/ControlIcon.story.js +4 -4
- package/dist/src/Button/IconicButton.js +13 -17
- package/dist/src/Button/IconicButton.story.d.ts +15 -16
- package/dist/src/Button/IconicButton.story.js +16 -31
- package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +5 -6
- package/dist/src/ButtonGroup/ButtonGroup.story.js +6 -43
- package/dist/src/Card/Card.d.ts +1 -2
- package/dist/src/Card/Card.js +2 -2
- package/dist/src/Card/Card.story.d.ts +4 -5
- package/dist/src/Card/Card.story.js +6 -39
- package/dist/src/Checkbox/Checkbox.js +3 -6
- package/dist/src/Checkbox/Checkbox.story.d.ts +11 -12
- package/dist/src/Checkbox/Checkbox.story.js +13 -26
- package/dist/src/Checkbox/CheckboxGroup.d.ts +1 -1
- package/dist/src/Checkbox/CheckboxGroup.js +3 -11
- package/dist/src/Checkbox/CheckboxGroup.story.d.ts +6 -7
- package/dist/src/Checkbox/CheckboxGroup.story.js +7 -25
- package/dist/src/DatePickers/DatePicker.js +3 -2
- package/dist/src/DatePickers/MonthPicker.js +3 -2
- package/dist/src/DatePickers/WeekPicker.js +4 -7
- package/dist/src/DatePickers/custom/MonthPickerHeader.d.ts +1 -2
- package/dist/src/DatePickers/custom/MonthPickerHeader.js +2 -5
- package/dist/src/DatePickers/shared/components/BasePicker.js +3 -5
- package/dist/src/DatePickers/shared/components/DatePickerHeader.d.ts +2 -2
- package/dist/src/DatePickers/shared/components/DatePickerHeader.js +3 -9
- package/dist/src/DatePickers/shared/components/DatePickerInput.js +2 -1
- package/dist/src/DatePickers/stories/DatePicker.story.d.ts +4 -4
- package/dist/src/DatePickers/stories/DatePicker.story.js +6 -7
- package/dist/src/DatePickers/stories/MonthPicker.story.d.ts +6 -7
- package/dist/src/DatePickers/stories/MonthPicker.story.js +8 -7
- package/dist/src/DatePickers/stories/WeekPicker.story.d.ts +8 -9
- package/dist/src/DatePickers/stories/WeekPicker.story.js +10 -11
- package/dist/src/DateRange/DateRange.js +12 -17
- package/dist/src/DateRange/DateRange.story.d.ts +12 -13
- package/dist/src/DateRange/DateRange.story.js +14 -20
- package/dist/src/Decorations/index.d.ts +1 -2
- package/dist/src/Decorations/index.js +2 -4
- package/dist/src/DescriptionList/DescriptionList.d.ts +1 -2
- package/dist/src/DescriptionList/DescriptionList.js +2 -4
- package/dist/src/DescriptionList/DescriptionListContext.d.ts +2 -2
- package/dist/src/DescriptionList/DescriptionListContext.js +3 -2
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +7 -26
- package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.js +2 -8
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +4 -30
- package/dist/src/DescriptionList/stories/DescriptionList.playground.story.js +83 -148
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.js +5 -44
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.d.ts +3 -4
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.js +5 -59
- package/dist/src/DescriptionList/stories/fixtures.d.ts +1 -1
- package/dist/src/DescriptionList/stories/fixtures.js +2 -27
- package/dist/src/Divider/Divider.story.d.ts +4 -4
- package/dist/src/Divider/Divider.story.js +5 -17
- package/dist/src/DropdownMenu/DropdownMenu.js +10 -10
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +12 -13
- package/dist/src/DropdownMenu/DropdownMenu.story.js +13 -45
- package/dist/src/DropdownMenu/DropdownText.d.ts +2 -2
- package/dist/src/FieldLabel/FieldLabel.d.ts +1 -2
- package/dist/src/FieldLabel/FieldLabel.js +2 -10
- package/dist/src/FieldLabel/FieldLabel.story.d.ts +7 -8
- package/dist/src/FieldLabel/FieldLabel.story.js +12 -32
- package/dist/src/FieldLabel/MaybeFieldLabel.d.ts +1 -2
- package/dist/src/FieldLabel/MaybeFieldLabel.js +2 -2
- package/dist/src/FieldLabel/RequirementText.d.ts +1 -2
- package/dist/src/FieldLabel/RequirementText.js +2 -2
- package/dist/src/Flex/Flex.story.d.ts +18 -19
- package/dist/src/Flex/Flex.story.js +23 -122
- package/dist/src/Form/Form.d.ts +1 -1
- package/dist/src/Form/Form.js +2 -4
- package/dist/src/Form/Form.story.d.ts +6 -7
- package/dist/src/Form/Form.story.js +7 -59
- package/dist/src/Form/FormSection.d.ts +1 -1
- package/dist/src/Form/FormSection.js +2 -4
- package/dist/src/Icon/Icon.js +5 -5
- package/dist/src/Icon/Icon.story.d.ts +6 -7
- package/dist/src/Icon/Icon.story.js +8 -37
- package/dist/src/Icon/LoadingIcon.js +2 -11
- package/dist/src/Input/Input.js +3 -4
- package/dist/src/Input/Input.story.d.ts +11 -12
- package/dist/src/Input/Input.story.js +24 -55
- package/dist/src/Input/InputField.js +5 -13
- package/dist/src/Input/Prefix.d.ts +1 -2
- package/dist/src/Input/Prefix.js +2 -3
- package/dist/src/Input/Suffix.d.ts +1 -2
- package/dist/src/Input/Suffix.js +2 -3
- package/dist/src/Layout/ApplicationFrame.d.ts +2 -2
- package/dist/src/Layout/ApplicationFrame.js +2 -6
- package/dist/src/Layout/ApplicationFrame.story.d.ts +1 -2
- package/dist/src/Layout/ApplicationFrame.story.js +2 -2
- package/dist/src/Layout/Header.d.ts +2 -2
- package/dist/src/Layout/Header.js +2 -13
- package/dist/src/Layout/Header.story.d.ts +10 -11
- package/dist/src/Layout/Header.story.js +12 -52
- package/dist/src/Layout/Page.applicationFrame.story.d.ts +2 -3
- package/dist/src/Layout/Page.applicationFrame.story.js +7 -14
- package/dist/src/Layout/Page.d.ts +2 -2
- package/dist/src/Layout/Page.js +4 -6
- package/dist/src/Layout/Page.story.d.ts +1 -2
- package/dist/src/Layout/Page.story.js +15 -28
- package/dist/src/Layout/Sidebar.d.ts +1 -1
- package/dist/src/Layout/Sidebar.js +4 -16
- package/dist/src/Layout/Sidebar.story.d.ts +10 -11
- package/dist/src/Layout/Sidebar.story.js +17 -88
- package/dist/src/Link/Link.d.ts +1 -1
- package/dist/src/Link/Link.js +3 -6
- package/dist/src/Link/Link.story.d.ts +10 -11
- package/dist/src/Link/Link.story.js +11 -12
- package/dist/src/List/List.story.d.ts +5 -6
- package/dist/src/List/List.story.js +6 -21
- package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +1 -1
- package/dist/src/LoadingAnimation/LoadingAnimation.js +2 -21
- package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +4 -5
- package/dist/src/LoadingAnimation/LoadingAnimation.story.js +5 -22
- package/dist/src/MaybeTooltip/MaybeTooltip.d.ts +1 -2
- package/dist/src/MaybeTooltip/MaybeTooltip.js +3 -3
- package/dist/src/MaybeTooltip/MaybeTooltip.story.d.ts +1 -2
- package/dist/src/MaybeTooltip/MaybeTooltip.story.js +4 -5
- package/dist/src/MiniTooltip/index.d.ts +2 -2
- package/dist/src/MiniTooltip/index.js +3 -7
- package/dist/src/Modal/Modal.js +5 -10
- package/dist/src/Modal/Modal.story.js +10 -40
- package/dist/src/NDSProvider/ComponentVariantContext.d.ts +1 -1
- package/dist/src/NDSProvider/ComponentVariantContext.js +3 -2
- package/dist/src/NDSProvider/FeatureFlagsContext.d.ts +1 -1
- package/dist/src/NDSProvider/FeatureFlagsContext.js +3 -2
- package/dist/src/NDSProvider/GlobalStylesComposer.d.ts +1 -1
- package/dist/src/NDSProvider/GlobalStylesComposer.js +3 -6
- package/dist/src/NDSProvider/LocaleContext.d.ts +1 -1
- package/dist/src/NDSProvider/LocaleContext.js +2 -1
- package/dist/src/NDSProvider/NDSProvider.d.ts +1 -1
- package/dist/src/NDSProvider/NDSProvider.js +3 -7
- package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.js +2 -2
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +1 -1
- package/dist/src/NavBarSearch/NavBarSearch.js +2 -5
- package/dist/src/Navigation/Navigation.d.ts +1 -1
- package/dist/src/Navigation/Navigation.js +2 -2
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.d.ts +1 -1
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.js +3 -12
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.js +2 -1
- package/dist/src/Navigation/components/AppSwitcher/parts/Link.js +2 -2
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.d.ts +1 -2
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.js +3 -30
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.d.ts +1 -1
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.js +2 -2
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.d.ts +1 -1
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.js +2 -3
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.d.ts +1 -2
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.js +5 -13
- package/dist/src/Navigation/components/MobileNav/MobileNav.d.ts +1 -2
- package/dist/src/Navigation/components/MobileNav/MobileNav.js +2 -29
- package/dist/src/Navigation/components/MobileNav/parts/MobileMenuItem.js +11 -27
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.d.ts +1 -2
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.js +8 -10
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.d.ts +2 -2
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.js +2 -9
- package/dist/src/Navigation/components/UserMenu/UserMenu.d.ts +1 -1
- package/dist/src/Navigation/components/UserMenu/parts/Header.d.ts +1 -2
- package/dist/src/Navigation/components/UserMenu/parts/Header.js +2 -6
- package/dist/src/Navigation/components/UserMenu/parts/Item.js +5 -7
- package/dist/src/Navigation/components/UserMenu/parts/MobileItem.js +6 -10
- package/dist/src/Navigation/components/shared/NavigationLogo.d.ts +1 -1
- package/dist/src/Navigation/components/shared/NavigationLogo.js +2 -2
- package/dist/src/Navigation/components/shared/NavigationLogoLink.d.ts +1 -2
- package/dist/src/Navigation/components/shared/NavigationLogoLink.js +2 -2
- package/dist/src/Navigation/components/shared/NavigationMenuItem.js +9 -18
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +4 -5
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.js +10 -30
- package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +9 -10
- package/dist/src/Navigation/stories/Navigation.logos.story.js +11 -70
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.js +12 -38
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.js +17 -70
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.d.ts +3 -4
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.js +4 -4
- package/dist/src/Navigation/stories/Navigation.story.d.ts +3 -4
- package/dist/src/Navigation/stories/Navigation.story.js +16 -36
- package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +5 -6
- package/dist/src/Navigation/stories/Navigation.userMenu.story.js +40 -71
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.js +2 -13
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.js +2 -29
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.js +2 -3
- package/dist/src/Overlay/Overlay.story.d.ts +2 -3
- package/dist/src/Overlay/Overlay.story.js +3 -9
- package/dist/src/Pagination/NextButton.d.ts +1 -1
- package/dist/src/Pagination/NextButton.js +2 -4
- package/dist/src/Pagination/Pagination.d.ts +2 -2
- package/dist/src/Pagination/Pagination.js +23 -26
- package/dist/src/Pagination/Pagination.story.d.ts +6 -7
- package/dist/src/Pagination/Pagination.story.js +12 -44
- package/dist/src/Pagination/PaginationCount.d.ts +1 -2
- package/dist/src/Pagination/PaginationCount.js +2 -2
- package/dist/src/Pagination/PreviousButton.d.ts +1 -1
- package/dist/src/Pagination/PreviousButton.js +2 -4
- package/dist/src/Popper/Popper.js +25 -26
- package/dist/src/Radio/Radio.js +3 -9
- package/dist/src/Radio/Radio.story.js +8 -16
- package/dist/src/Radio/RadioGroup.d.ts +1 -1
- package/dist/src/Radio/RadioGroup.js +3 -8
- package/dist/src/Radio/RadioGroup.story.d.ts +6 -7
- package/dist/src/Radio/RadioGroup.story.js +7 -28
- package/dist/src/RangeContainer/RangeContainer.d.ts +1 -1
- package/dist/src/RangeContainer/RangeContainer.js +2 -9
- package/dist/src/RangeContainer/RangeContainer.story.d.ts +1 -2
- package/dist/src/RangeContainer/RangeContainer.story.js +2 -2
- package/dist/src/Select/MenuList.d.ts +1 -2
- package/dist/src/Select/MenuList.js +10 -10
- package/dist/src/Select/Select.js +18 -20
- package/dist/src/Select/Select.story.d.ts +24 -24
- package/dist/src/Select/Select.story.fixture.d.ts +2 -3
- package/dist/src/Select/Select.story.fixture.js +4 -8
- package/dist/src/Select/Select.story.js +29 -52
- package/dist/src/Select/SelectComponents.d.ts +7 -8
- package/dist/src/Select/SelectComponents.js +8 -15
- package/dist/src/Select/SelectOption.d.ts +1 -1
- package/dist/src/Select/SelectOption.js +2 -3
- package/dist/src/SortingTable/SortingTable.d.ts +1 -2
- package/dist/src/SortingTable/SortingTable.js +4 -3
- package/dist/src/SortingTable/SortingTable.story.d.ts +1 -2
- package/dist/src/SortingTable/SortingTable.story.js +2 -2
- package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +10 -11
- package/dist/src/StatusIndicator/StatusIndicator.story.js +11 -51
- package/dist/src/Summary/Summary.js +2 -3
- package/dist/src/Summary/Summary.story.d.ts +2 -3
- package/dist/src/Summary/Summary.story.js +3 -11
- package/dist/src/Summary/SummaryContext.js +4 -3
- package/dist/src/Summary/SummaryDivider.d.ts +1 -2
- package/dist/src/Summary/SummaryDivider.js +2 -2
- package/dist/src/Summary/SummaryItem.js +2 -4
- package/dist/src/Switcher/Switch.js +2 -1
- package/dist/src/Switcher/Switcher.js +2 -2
- package/dist/src/Switcher/Switcher.story.d.ts +3 -4
- package/dist/src/Switcher/Switcher.story.js +5 -17
- package/dist/src/Table/BaseTable.d.ts +2 -2
- package/dist/src/Table/BaseTable.js +2 -5
- package/dist/src/Table/SortingColumnHeader.d.ts +1 -1
- package/dist/src/Table/SortingColumnHeader.js +2 -4
- package/dist/src/Table/StatefulTable.d.ts +1 -1
- package/dist/src/Table/StatefulTable.js +3 -4
- package/dist/src/Table/Table.d.ts +1 -2
- package/dist/src/Table/Table.js +2 -2
- package/dist/src/Table/TableBody.d.ts +2 -2
- package/dist/src/Table/TableBody.js +8 -13
- package/dist/src/Table/TableCell.d.ts +1 -1
- package/dist/src/Table/TableCell.js +3 -3
- package/dist/src/Table/TableFoot.d.ts +1 -2
- package/dist/src/Table/TableFoot.js +8 -8
- package/dist/src/Table/TableHead.d.ts +1 -2
- package/dist/src/Table/TableHead.js +3 -4
- package/dist/src/Table/addExpandableControl.js +3 -3
- package/dist/src/Table/addSelectableControl.js +4 -4
- package/dist/src/Table/stories/BaseTable.story.d.ts +7 -8
- package/dist/src/Table/stories/BaseTable.story.js +15 -24
- package/dist/src/Table/stories/CustomContent.story.d.ts +2 -3
- package/dist/src/Table/stories/CustomContent.story.js +89 -116
- package/dist/src/Table/stories/Density.story.d.ts +2 -3
- package/dist/src/Table/stories/Density.story.js +3 -3
- package/dist/src/Table/stories/Table.story.js +6 -13
- package/dist/src/Table/stories/TableWithCustomSorting.story.d.ts +1 -2
- package/dist/src/Table/stories/TableWithCustomSorting.story.js +5 -4
- package/dist/src/Table/stories/TableWithExpandableRows.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithExpandableRows.story.js +4 -5
- package/dist/src/Table/stories/TableWithFiltering.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithFiltering.story.js +7 -6
- package/dist/src/Table/stories/TableWithSelectableRows.story.d.ts +2 -3
- package/dist/src/Table/stories/TableWithSelectableRows.story.js +3 -3
- package/dist/src/Table/stories/TableWithServerSidePagination.story.d.ts +1 -2
- package/dist/src/Table/stories/TableWithServerSidePagination.story.js +3 -4
- package/dist/src/Tabs/Tab.js +2 -1
- package/dist/src/Tabs/TabScrollIndicator.js +2 -3
- package/dist/src/Tabs/TabScrollIndicators.d.ts +1 -1
- package/dist/src/Tabs/TabScrollIndicators.js +5 -8
- package/dist/src/Tabs/Tabs.d.ts +2 -2
- package/dist/src/Tabs/Tabs.js +3 -6
- package/dist/src/Tabs/Tabs.story.d.ts +9 -10
- package/dist/src/Tabs/Tabs.story.js +11 -60
- package/dist/src/Textarea/Textarea.js +3 -5
- package/dist/src/Textarea/Textarea.story.d.ts +9 -10
- package/dist/src/Textarea/Textarea.story.js +11 -12
- package/dist/src/TimePicker/TimePicker.js +10 -14
- package/dist/src/TimePicker/TimePicker.story.d.ts +10 -11
- package/dist/src/TimePicker/TimePicker.story.js +13 -14
- package/dist/src/TimeRange/TimeRange.js +5 -4
- package/dist/src/TimeRange/TimeRange.story.d.ts +5 -6
- package/dist/src/TimeRange/TimeRange.story.js +7 -9
- package/dist/src/Toast/Toast.d.ts +1 -2
- package/dist/src/Toast/Toast.js +3 -3
- package/dist/src/Toast/Toast.story.d.ts +7 -8
- package/dist/src/Toast/Toast.story.js +18 -39
- package/dist/src/ToastContainer/ToastContainer.d.ts +1 -2
- package/dist/src/ToastContainer/ToastContainer.js +3 -2
- package/dist/src/ToastContainer/ToastContainer.story.d.ts +1 -2
- package/dist/src/ToastContainer/ToastContainer.story.js +26 -51
- package/dist/src/ToastContainer/ToastFunction.js +6 -7
- package/dist/src/Toggle/Toggle.js +2 -5
- package/dist/src/Toggle/Toggle.story.d.ts +8 -9
- package/dist/src/Toggle/Toggle.story.js +10 -14
- package/dist/src/Toggle/ToggleButton.js +5 -6
- package/dist/src/Tokens/Tokens.story.d.ts +9 -10
- package/dist/src/Tokens/Tokens.story.js +13 -46
- package/dist/src/Tooltip/Tooltip.d.ts +1 -1
- package/dist/src/Tooltip/Tooltip.js +2 -6
- package/dist/src/Tooltip/Tooltip.story.js +14 -89
- package/dist/src/Tooltip/components/TooltipComponents.d.ts +1 -1
- package/dist/src/Tooltip/components/TooltipComponents.js +5 -7
- package/dist/src/TopBar/TopBar.d.ts +1 -1
- package/dist/src/TopBar/TopBar.js +2 -4
- package/dist/src/TopBar/components/BackLink.d.ts +2 -2
- package/dist/src/TopBar/components/BackLink.js +2 -5
- package/dist/src/TopBar/components/Menu.d.ts +1 -1
- package/dist/src/TopBar/components/Menu.js +6 -10
- package/dist/src/TopBar/components/MenuItem.d.ts +1 -1
- package/dist/src/TopBar/components/MenuItem.js +2 -2
- package/dist/src/TopBar/components/MenuItemLink.d.ts +2 -2
- package/dist/src/TopBar/components/MenuItemLink.js +2 -6
- package/dist/src/TopBar/components/PageTitle.d.ts +2 -2
- package/dist/src/TopBar/components/PageTitle.js +2 -2
- package/dist/src/TopBar/stories/TopBar.backButton.story.d.ts +3 -4
- package/dist/src/TopBar/stories/TopBar.backButton.story.js +9 -21
- package/dist/src/TopBar/stories/TopBar.menu.story.d.ts +5 -6
- package/dist/src/TopBar/stories/TopBar.menu.story.js +6 -27
- package/dist/src/TopBar/stories/TopBar.story.d.ts +3 -4
- package/dist/src/TopBar/stories/TopBar.story.js +4 -38
- package/dist/src/TruncatedText/TruncatedText.d.ts +1 -2
- package/dist/src/TruncatedText/TruncatedText.js +3 -3
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +9 -10
- package/dist/src/TruncatedText/TruncatedText.story.js +10 -17
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.d.ts +1 -2
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.js +3 -3
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.d.ts +1 -2
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.js +2 -3
- package/dist/src/Type/Headings.d.ts +8 -8
- package/dist/src/Type/Headings.story.d.ts +3 -4
- package/dist/src/Type/Headings.story.js +4 -12
- package/dist/src/Type/Text.story.d.ts +6 -7
- package/dist/src/Type/Text.story.js +7 -24
- package/dist/src/Type/Typography.story.d.ts +2 -3
- package/dist/src/Type/Typography.story.js +3 -204
- package/dist/src/Validation/InlineValidation.d.ts +1 -1
- package/dist/src/Validation/InlineValidation.js +2 -7
- package/dist/src/Validation/InlineValidation.story.d.ts +4 -5
- package/dist/src/Validation/InlineValidation.story.js +5 -10
- package/dist/src/Validation/mapErrorsToList.d.ts +1 -2
- package/dist/src/Validation/mapErrorsToList.js +2 -2
- package/dist/src/VerticalDivider/VerticalDivider.story.d.ts +2 -2
- package/dist/src/VerticalDivider/VerticalDivider.story.js +3 -9
- package/dist/src/VisualTests/Select.story.d.ts +6 -7
- package/dist/src/VisualTests/Select.story.js +7 -15
- package/dist/src/VisualTests/WithSpace.story.d.ts +18 -19
- package/dist/src/VisualTests/WithSpace.story.js +19 -39
- package/dist/src/i18n.js +4 -0
- package/dist/src/locale.story.d.ts +1 -2
- package/dist/src/locale.story.js +8 -7
- package/dist/src/locales.const.d.ts +5 -0
- package/dist/src/locales.const.js +7 -1
- package/dist/src/pages/ErrorPage.story.d.ts +4 -5
- package/dist/src/pages/ErrorPage.story.js +5 -31
- package/dist/src/pages/LoginPage.story.d.ts +5 -6
- package/dist/src/pages/LoginPage.story.js +6 -55
- package/dist/src/theme/NDSThemeProvider.d.ts +1 -2
- package/dist/src/theme/NDSThemeProvider.js +2 -3
- package/dist/src/utils/DetectOutsideClick.d.ts +1 -1
- package/dist/src/utils/DetectOutsideClick.js +2 -1
- package/dist/src/utils/ScrollIndicators.d.ts +1 -1
- package/dist/src/utils/ScrollIndicators.js +7 -13
- package/dist/src/utils/story/placeholder.d.ts +1 -2
- package/dist/src/utils/story/placeholder.js +2 -7
- package/dist/src/utils/story/resizable.d.ts +1 -1
- package/dist/src/utils/story/resizable.js +5 -8
- package/dist/src/utils/ts/FocusManager.js +7 -6
- package/dist/src/utils/useWindowDimension.story.d.ts +1 -2
- package/dist/src/utils/useWindowDimension.story.js +2 -14
- package/dist/src/utils/withMenuState.js +2 -1
- package/dist/vite.config.js +2 -0
- package/package.json +22 -24
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { BrowserRouter, Link } from "react-router-dom";
|
|
3
3
|
import Navigation from "../Navigation";
|
|
4
4
|
import { ApplicationFrame, Page } from "../../Layout";
|
|
@@ -19,7 +19,7 @@ export default {
|
|
|
19
19
|
},
|
|
20
20
|
};
|
|
21
21
|
export const BasicUsage = () => {
|
|
22
|
-
return (
|
|
22
|
+
return (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { primaryNavigation: [
|
|
23
23
|
{
|
|
24
24
|
key: "dashboard",
|
|
25
25
|
label: "Dashboard",
|
|
@@ -95,40 +95,10 @@ export const BasicUsage = () => {
|
|
|
95
95
|
},
|
|
96
96
|
},
|
|
97
97
|
},
|
|
98
|
-
] }) },
|
|
99
|
-
React.createElement(Page, { fullHeight: true },
|
|
100
|
-
React.createElement(Flex, null,
|
|
101
|
-
React.createElement(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "64px", bottom: "0px" },
|
|
102
|
-
React.createElement(Flex, { flexDirection: "column", gap: "x2" },
|
|
103
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" },
|
|
104
|
-
"In this example, the ",
|
|
105
|
-
React.createElement("strong", null, "Dashboard"),
|
|
106
|
-
", ",
|
|
107
|
-
React.createElement("strong", null, "Inspector"),
|
|
108
|
-
", and",
|
|
109
|
-
" ",
|
|
110
|
-
React.createElement("strong", null, "Reports"),
|
|
111
|
-
" are links, and the ",
|
|
112
|
-
React.createElement("strong", null, "Sheets"),
|
|
113
|
-
" and ",
|
|
114
|
-
React.createElement("strong", null, "Forms"),
|
|
115
|
-
" are buttons."),
|
|
116
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" },
|
|
117
|
-
"The ",
|
|
118
|
-
React.createElement("strong", null, "Search"),
|
|
119
|
-
" and ",
|
|
120
|
-
React.createElement("strong", null, "Settings"),
|
|
121
|
-
" buttons are secondary navigation items."),
|
|
122
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" },
|
|
123
|
-
"Everything that can be rendered in the ",
|
|
124
|
-
React.createElement(Code, null, "primaryNavigation"),
|
|
125
|
-
" (left part of the navigation) can also be rendered in the ",
|
|
126
|
-
React.createElement(Code, null, "secondaryNavigation"),
|
|
127
|
-
" (right part of the navigation), and vice versa."))),
|
|
128
|
-
React.createElement(Box, { flex: 1 })))));
|
|
98
|
+
] }), children: _jsx(Page, { fullHeight: true, children: _jsxs(Flex, { children: [_jsx(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "64px", bottom: "0px", children: _jsxs(Flex, { flexDirection: "column", gap: "x2", children: [_jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["In this example, the ", _jsx("strong", { children: "Dashboard" }), ", ", _jsx("strong", { children: "Inspector" }), ", and", " ", _jsx("strong", { children: "Reports" }), " are links, and the ", _jsx("strong", { children: "Sheets" }), " and ", _jsx("strong", { children: "Forms" }), " are buttons."] }), _jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["The ", _jsx("strong", { children: "Search" }), " and ", _jsx("strong", { children: "Settings" }), " buttons are secondary navigation items."] }), _jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["Everything that can be rendered in the ", _jsx(Code, { children: "primaryNavigation" }), " (left part of the navigation) can also be rendered in the ", _jsx(Code, { children: "secondaryNavigation" }), " (right part of the navigation), and vice versa."] })] }) }), _jsx(Box, { flex: 1 })] }) }) }));
|
|
129
99
|
};
|
|
130
100
|
export const Separators = () => {
|
|
131
|
-
return (
|
|
101
|
+
return (_jsx(Navigation, { primaryNavigation: [
|
|
132
102
|
{
|
|
133
103
|
key: "dashboard",
|
|
134
104
|
label: "Dashboard",
|
|
@@ -173,12 +143,12 @@ export const Separators = () => {
|
|
|
173
143
|
] }));
|
|
174
144
|
};
|
|
175
145
|
export const CustomMenuItems = () => {
|
|
176
|
-
return (
|
|
146
|
+
return (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { primaryNavigation: [
|
|
177
147
|
{
|
|
178
148
|
key: "custom-menu-item",
|
|
179
149
|
type: "custom",
|
|
180
150
|
render: () => {
|
|
181
|
-
return (
|
|
151
|
+
return (_jsx(Text, { color: "red", fontWeight: "bold", children: "I am a custom menu item" }));
|
|
182
152
|
},
|
|
183
153
|
},
|
|
184
154
|
{
|
|
@@ -190,14 +160,14 @@ export const CustomMenuItems = () => {
|
|
|
190
160
|
key: "custom-submenu-item-1",
|
|
191
161
|
type: "custom",
|
|
192
162
|
render: () => {
|
|
193
|
-
return
|
|
163
|
+
return _jsx(Text, { color: "darkGrey", children: "I am custom submenu item 1" });
|
|
194
164
|
},
|
|
195
165
|
},
|
|
196
166
|
{
|
|
197
167
|
key: "custom-submenu-item-2",
|
|
198
168
|
type: "custom",
|
|
199
169
|
render: () => {
|
|
200
|
-
return
|
|
170
|
+
return _jsx(Button, { children: "I am custom submenu item 2" });
|
|
201
171
|
},
|
|
202
172
|
},
|
|
203
173
|
],
|
|
@@ -205,42 +175,20 @@ export const CustomMenuItems = () => {
|
|
|
205
175
|
{
|
|
206
176
|
key: "custom-panel-1",
|
|
207
177
|
type: "custom",
|
|
208
|
-
render: ({ withinSubMenu, withinMobileNav, level }) => (
|
|
209
|
-
React.createElement(NavigationMenuTrigger, null, "Open custom panel"),
|
|
210
|
-
React.createElement(NavigationMenuContent, { padding: "x2", background: "coral", right: withinMobileNav ? "100%" : "auto", top: withinMobileNav ? "0px" : "auto" },
|
|
211
|
-
React.createElement(Text, { fontWeight: "bold" }, "I am a custom panel."),
|
|
212
|
-
React.createElement("pre", null,
|
|
213
|
-
React.createElement(Text, null,
|
|
214
|
-
"withinSubMenu: ",
|
|
215
|
-
withinSubMenu ? "true" : "false"),
|
|
216
|
-
React.createElement(Text, null,
|
|
217
|
-
"withinMobileNav: ",
|
|
218
|
-
withinMobileNav ? "true" : "false"),
|
|
219
|
-
React.createElement(Text, null,
|
|
220
|
-
"level: ",
|
|
221
|
-
level))))),
|
|
178
|
+
render: ({ withinSubMenu, withinMobileNav, level }) => (_jsxs(_Fragment, { children: [_jsx(NavigationMenuTrigger, { children: "Open custom panel" }), _jsxs(NavigationMenuContent, { padding: "x2", background: "coral", right: withinMobileNav ? "100%" : "auto", top: withinMobileNav ? "0px" : "auto", children: [_jsx(Text, { fontWeight: "bold", children: "I am a custom panel." }), _jsxs("pre", { children: [_jsxs(Text, { children: ["withinSubMenu: ", withinSubMenu ? "true" : "false"] }), _jsxs(Text, { children: ["withinMobileNav: ", withinMobileNav ? "true" : "false"] }), _jsxs(Text, { children: ["level: ", level] })] })] })] })),
|
|
222
179
|
},
|
|
223
180
|
], secondaryNavigation: [
|
|
224
181
|
{
|
|
225
182
|
key: "custom-menu-item",
|
|
226
183
|
type: "custom",
|
|
227
184
|
render: () => {
|
|
228
|
-
return
|
|
185
|
+
return _jsx(Input, { placeholder: "Custom menu item too!", iconLeft: "search" });
|
|
229
186
|
},
|
|
230
187
|
},
|
|
231
|
-
] }) },
|
|
232
|
-
React.createElement(Page, { fullHeight: true },
|
|
233
|
-
React.createElement(Alert, { type: "warning" },
|
|
234
|
-
"Custom menu items should be used sparingly. When used, make sure they remain accessible and use styles that are inline with the rest of the navigation. The render function gives you access to ",
|
|
235
|
-
React.createElement(Code, null, "withinSubMenu"),
|
|
236
|
-
", ",
|
|
237
|
-
React.createElement(Code, null, "withinMobileNav"),
|
|
238
|
-
", and ",
|
|
239
|
-
React.createElement(Code, null, "level"),
|
|
240
|
-
" to style and position the rendered items properly. See component documentation for more details."))));
|
|
188
|
+
] }), children: _jsx(Page, { fullHeight: true, children: _jsxs(Alert, { type: "warning", children: ["Custom menu items should be used sparingly. When used, make sure they remain accessible and use styles that are inline with the rest of the navigation. The render function gives you access to ", _jsx(Code, { children: "withinSubMenu" }), ", ", _jsx(Code, { children: "withinMobileNav" }), ", and ", _jsx(Code, { children: "level" }), " to style and position the rendered items properly. See component documentation for more details."] }) }) }));
|
|
241
189
|
};
|
|
242
190
|
export const IconsAndLabels = () => {
|
|
243
|
-
return (
|
|
191
|
+
return (_jsx(Navigation, { primaryNavigation: [
|
|
244
192
|
{
|
|
245
193
|
key: "icon-and-label",
|
|
246
194
|
label: "Icon and label",
|
|
@@ -279,27 +227,26 @@ export const IconsAndLabels = () => {
|
|
|
279
227
|
] }));
|
|
280
228
|
};
|
|
281
229
|
export const WithClientRouting = () => {
|
|
282
|
-
return (
|
|
283
|
-
React.createElement(Navigation, { primaryNavigation: [
|
|
230
|
+
return (_jsx(BrowserRouter, { children: _jsx(Navigation, { primaryNavigation: [
|
|
284
231
|
{
|
|
285
232
|
key: "dashboard",
|
|
286
233
|
label: "Dashboard",
|
|
287
234
|
type: "link",
|
|
288
|
-
element:
|
|
235
|
+
element: _jsx(Link, { to: "/dashboard" }),
|
|
289
236
|
},
|
|
290
237
|
{
|
|
291
238
|
key: "profile",
|
|
292
239
|
label: "Profile",
|
|
293
240
|
type: "link",
|
|
294
241
|
icon: "user",
|
|
295
|
-
element:
|
|
242
|
+
element: _jsx(Link, { to: "/profile" }),
|
|
296
243
|
},
|
|
297
244
|
{
|
|
298
245
|
key: "settings",
|
|
299
246
|
tooltip: "Settings",
|
|
300
247
|
type: "link",
|
|
301
248
|
icon: "settings",
|
|
302
|
-
element:
|
|
249
|
+
element: _jsx(Link, { to: "/settings" }),
|
|
303
250
|
},
|
|
304
|
-
] })));
|
|
251
|
+
] }) }));
|
|
305
252
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,6 +5,6 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare const SubMenus: () =>
|
|
10
|
-
export declare const SubMenuSeparator: () =>
|
|
11
|
-
export declare const IconsAndLabels: () =>
|
|
8
|
+
export declare const SubMenus: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const SubMenuSeparator: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const IconsAndLabels: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Navigation from "../Navigation";
|
|
3
3
|
export default {
|
|
4
4
|
title: "Components/Navigation/Navigation Menus/Sub Menus",
|
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
},
|
|
8
8
|
};
|
|
9
9
|
export const SubMenus = () => {
|
|
10
|
-
return (
|
|
10
|
+
return (_jsx(Navigation, { primaryNavigation: [
|
|
11
11
|
{
|
|
12
12
|
key: "company",
|
|
13
13
|
label: "Company",
|
|
@@ -119,7 +119,7 @@ export const SubMenus = () => {
|
|
|
119
119
|
] }));
|
|
120
120
|
};
|
|
121
121
|
export const SubMenuSeparator = () => {
|
|
122
|
-
return (
|
|
122
|
+
return (_jsx(Navigation, { primaryNavigation: [
|
|
123
123
|
{
|
|
124
124
|
key: "company",
|
|
125
125
|
label: "Company",
|
|
@@ -149,7 +149,7 @@ export const SubMenuSeparator = () => {
|
|
|
149
149
|
] }));
|
|
150
150
|
};
|
|
151
151
|
export const IconsAndLabels = () => {
|
|
152
|
-
return (
|
|
152
|
+
return (_jsx(Navigation, { primaryNavigation: [
|
|
153
153
|
{
|
|
154
154
|
key: "primary-submenu-parent",
|
|
155
155
|
label: "Primary submenu parent",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,6 +5,6 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare const BasicUsage: () =>
|
|
10
|
-
export declare const WithACustomBreakpoint: () =>
|
|
11
|
-
export declare const WithBanners: () =>
|
|
8
|
+
export declare const BasicUsage: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const WithACustomBreakpoint: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const WithBanners: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useState } from "react";
|
|
2
3
|
import { Input } from "../../Input";
|
|
3
4
|
import { Navigation } from "..";
|
|
4
5
|
import { ApplicationFrame, Page, Sidebar } from "../../Layout";
|
|
@@ -15,7 +16,7 @@ export default {
|
|
|
15
16
|
layout: "fullscreen",
|
|
16
17
|
},
|
|
17
18
|
};
|
|
18
|
-
export const BasicUsage = () => (
|
|
19
|
+
export const BasicUsage = () => (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { appSwitcher: {
|
|
19
20
|
apps: {
|
|
20
21
|
"production-scheduling": {
|
|
21
22
|
url: "https://nulogy.com/",
|
|
@@ -139,24 +140,22 @@ export const BasicUsage = () => (React.createElement(ApplicationFrame, { navBar:
|
|
|
139
140
|
},
|
|
140
141
|
},
|
|
141
142
|
},
|
|
142
|
-
], secondaryLogo:
|
|
143
|
+
], secondaryLogo: _jsx(CustomLogo3, { style: { width: "auto", height: 32 } }), userMenu: {
|
|
143
144
|
triggerText: { title: "haidera@nulogy.com", subtitle2: "Toronto, ON" },
|
|
144
145
|
header: {
|
|
145
146
|
title: "Haider Alshamma",
|
|
146
147
|
subtitle1: "haidera@nulogy.com",
|
|
147
148
|
subtitle2: "Nulogy",
|
|
148
149
|
},
|
|
149
|
-
controls: () => (
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
{
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
{ value: "user", label: "User" },
|
|
159
|
-
] }))),
|
|
150
|
+
controls: () => (_jsxs(Flex, { gap: "x2", flexDirection: "column", width: "100%", pt: "x1", children: [_jsx(Select, { labelText: "Company", defaultValue: ["Nulogy Canada"], options: [
|
|
151
|
+
{ value: "Nulogy Canada", label: "Nulogy - Canada" },
|
|
152
|
+
{ value: "Nulogy US", label: "Nulogy - US" },
|
|
153
|
+
{ value: "Nulogy UK", label: "Nulogy - UK" },
|
|
154
|
+
] }), _jsx(Select, { labelText: "User group", defaultValue: ["super-user"], options: [
|
|
155
|
+
{ value: "super-user", label: "Super User" },
|
|
156
|
+
{ value: "admin", label: "Admin" },
|
|
157
|
+
{ value: "user", label: "User" },
|
|
158
|
+
] })] })),
|
|
160
159
|
menuItems: [
|
|
161
160
|
{
|
|
162
161
|
key: "preferences",
|
|
@@ -179,30 +178,11 @@ export const BasicUsage = () => (React.createElement(ApplicationFrame, { navBar:
|
|
|
179
178
|
},
|
|
180
179
|
},
|
|
181
180
|
],
|
|
182
|
-
} }) }
|
|
183
|
-
React.createElement(Page, { fullHeight: true },
|
|
184
|
-
React.createElement(Placeholder, null))));
|
|
181
|
+
} }), children: _jsx(Page, { fullHeight: true, children: _jsx(Placeholder, {}) }) }));
|
|
185
182
|
export const WithACustomBreakpoint = () => {
|
|
186
183
|
const [breakpoint, setBreakpoint] = useState("1000px");
|
|
187
|
-
return (
|
|
188
|
-
React.createElement(Page, { fullHeight: true },
|
|
189
|
-
React.createElement(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "64px", bottom: "0px" },
|
|
190
|
-
React.createElement(Flex, { flexDirection: "column", gap: "x2" },
|
|
191
|
-
React.createElement(Input, { labelText: "Breakpoint", value: breakpoint, onChange: (e) => setBreakpoint(e.target.value) }),
|
|
192
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" },
|
|
193
|
-
"The navigation will transition to desktop when the viewport is wider than ",
|
|
194
|
-
React.createElement(Code, null, breakpoint),
|
|
195
|
-
"."),
|
|
196
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" },
|
|
197
|
-
"You can also use any valid key from the ",
|
|
198
|
-
React.createElement("a", { href: "/?path=/story/tokens--breakpoints" }, "theme breakpoints"),
|
|
199
|
-
" ",
|
|
200
|
-
"as a breakpoint value."))))));
|
|
184
|
+
return (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { primaryNavigation: [{ key: "dashboard", label: "Dashboard", type: "link" }], secondaryNavigation: [{ key: "settings", icon: "settings", tooltip: "Settings", type: "button" }], breakpoint: breakpoint }), children: _jsx(Page, { fullHeight: true, children: _jsx(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "64px", bottom: "0px", children: _jsxs(Flex, { flexDirection: "column", gap: "x2", children: [_jsx(Input, { labelText: "Breakpoint", value: breakpoint, onChange: (e) => setBreakpoint(e.target.value) }), _jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["The navigation will transition to desktop when the viewport is wider than ", _jsx(Code, { children: breakpoint }), "."] }), _jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["You can also use any valid key from the ", _jsx("a", { href: "/?path=/story/tokens--breakpoints", children: "theme breakpoints" }), " ", "as a breakpoint value."] })] }) }) }) }));
|
|
201
185
|
};
|
|
202
186
|
export const WithBanners = () => {
|
|
203
|
-
return (
|
|
204
|
-
React.createElement(Banner, { title: "Action required" }, "We have detected unauthorized access attempts on your account. Please change your password immediately to secure your account."),
|
|
205
|
-
React.createElement(Navigation, { primaryNavigation: [{ key: "dashboard", label: "Dashboard", type: "link" }], secondaryNavigation: [{ key: "settings", icon: "settings", tooltip: "Settings", type: "button" }] })) },
|
|
206
|
-
React.createElement(Page, { fullHeight: true },
|
|
207
|
-
React.createElement(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "83px", bottom: "0px" }))));
|
|
187
|
+
return (_jsx(ApplicationFrame, { environment: "production", navBar: _jsxs(_Fragment, { children: [_jsx(Banner, { title: "Action required", children: "We have detected unauthorized access attempts on your account. Please change your password immediately to secure your account." }), _jsx(Navigation, { primaryNavigation: [{ key: "dashboard", label: "Dashboard", type: "link" }], secondaryNavigation: [{ key: "settings", icon: "settings", tooltip: "Settings", type: "button" }] })] }), children: _jsx(Page, { fullHeight: true, children: _jsx(Sidebar, { height: "100%", width: "350px", hideCloseButton: true, isOpen: true, title: "Story information", overlay: "hide", top: "83px", bottom: "0px" }) }) }));
|
|
208
188
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
1
|
declare const _default: {
|
|
3
2
|
title: string;
|
|
4
3
|
parameters: {
|
|
@@ -6,8 +5,8 @@ declare const _default: {
|
|
|
6
5
|
};
|
|
7
6
|
};
|
|
8
7
|
export default _default;
|
|
9
|
-
export declare const BasicUsage: () =>
|
|
10
|
-
export declare const WithoutATrigger: () =>
|
|
11
|
-
export declare const Header: () =>
|
|
12
|
-
export declare const Controls: () =>
|
|
13
|
-
export declare const MenuItems: () =>
|
|
8
|
+
export declare const BasicUsage: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const WithoutATrigger: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Header: () => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const Controls: () => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const MenuItems: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { BrowserRouter, Link } from "react-router-dom";
|
|
3
4
|
import { Flex } from "../../Flex";
|
|
@@ -23,24 +24,22 @@ export const BasicUsage = () => {
|
|
|
23
24
|
when: "absent",
|
|
24
25
|
},
|
|
25
26
|
});
|
|
26
|
-
return (
|
|
27
|
+
return (_jsx(Navigation, { userMenu: {
|
|
27
28
|
triggerText: { title: "haidera@nulogy.com", subtitle1: "Nulogy", subtitle2: "Toronto, ON" },
|
|
28
29
|
header: {
|
|
29
30
|
title: "Haider Alshamma",
|
|
30
31
|
subtitle1: "haidera@nulogy.com",
|
|
31
32
|
subtitle2: "Nulogy",
|
|
32
33
|
},
|
|
33
|
-
controls: () => (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
{ value: "user", label: "User" },
|
|
43
|
-
] }))),
|
|
34
|
+
controls: () => (_jsxs(Flex, { gap: "x2", flexDirection: "column", width: "100%", pt: "x1", children: [_jsx(Select, { labelText: "Company", defaultValue: ["Nulogy Canada"], options: [
|
|
35
|
+
{ value: "Nulogy Canada", label: "Nulogy - Canada" },
|
|
36
|
+
{ value: "Nulogy US", label: "Nulogy - US" },
|
|
37
|
+
{ value: "Nulogy UK", label: "Nulogy - UK" },
|
|
38
|
+
] }), _jsx(Select, { labelText: "User group", defaultValue: ["super-user"], options: [
|
|
39
|
+
{ value: "super-user", label: "Super User" },
|
|
40
|
+
{ value: "admin", label: "Admin" },
|
|
41
|
+
{ value: "user", label: "User" },
|
|
42
|
+
] })] })),
|
|
44
43
|
menuItems: [
|
|
45
44
|
{
|
|
46
45
|
key: "preferences",
|
|
@@ -69,33 +68,19 @@ export const WithoutATrigger = () => {
|
|
|
69
68
|
const [title, setTitle] = React.useState("haidera@nulogy.com");
|
|
70
69
|
const [subtitle1, setSubtitle1] = React.useState("Nulogy");
|
|
71
70
|
const [subtitle2, setSubtitle2] = React.useState("Toronto, ON");
|
|
72
|
-
return (
|
|
71
|
+
return (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { userMenu: {
|
|
73
72
|
triggerText: {
|
|
74
73
|
title: title,
|
|
75
74
|
subtitle1: subtitle1,
|
|
76
75
|
subtitle2: subtitle2,
|
|
77
76
|
},
|
|
78
|
-
} }) },
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
React.createElement(Code, null, "subtitle1"),
|
|
86
|
-
", and ",
|
|
87
|
-
React.createElement(Code, null, "subtitle2"),
|
|
88
|
-
" to the trigger text of the user menu. Values will be truncated if they do not fit."),
|
|
89
|
-
React.createElement(Text, { fontSize: "small", color: "darkGrey" }, "If the user menu does not contain anything other than the trigger text, the user menu button will be disabled, like in this example."),
|
|
90
|
-
React.createElement(Input, { labelText: "Title", value: title, onChange: (e) => {
|
|
91
|
-
setTitle(e.target.value);
|
|
92
|
-
} }),
|
|
93
|
-
React.createElement(Input, { labelText: "Subtitle 1", value: subtitle1, onChange: (e) => {
|
|
94
|
-
setSubtitle1(e.target.value);
|
|
95
|
-
} }),
|
|
96
|
-
React.createElement(Input, { labelText: "Subtitle 2", value: subtitle2, onChange: (e) => {
|
|
97
|
-
setSubtitle2(e.target.value);
|
|
98
|
-
} })))));
|
|
77
|
+
} }), children: _jsx(Page, { fullHeight: true, children: _jsxs(Flex, { width: "600px", flexDirection: "column", gap: "x2", children: [_jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["You can add a ", _jsx(Code, { children: "title" }), ", ", _jsx(Code, { children: "subtitle1" }), ", and ", _jsx(Code, { children: "subtitle2" }), " to the trigger text of the user menu. Values will be truncated if they do not fit."] }), _jsx(Text, { fontSize: "small", color: "darkGrey", children: "If the user menu does not contain anything other than the trigger text, the user menu button will be disabled, like in this example." }), _jsx(Input, { labelText: "Title", value: title, onChange: (e) => {
|
|
78
|
+
setTitle(e.target.value);
|
|
79
|
+
} }), _jsx(Input, { labelText: "Subtitle 1", value: subtitle1, onChange: (e) => {
|
|
80
|
+
setSubtitle1(e.target.value);
|
|
81
|
+
} }), _jsx(Input, { labelText: "Subtitle 2", value: subtitle2, onChange: (e) => {
|
|
82
|
+
setSubtitle2(e.target.value);
|
|
83
|
+
} })] }) }) }));
|
|
99
84
|
};
|
|
100
85
|
export const Header = () => {
|
|
101
86
|
const [title, setTitle] = React.useState("Haider Alshamma");
|
|
@@ -108,7 +93,7 @@ export const Header = () => {
|
|
|
108
93
|
when: "absent",
|
|
109
94
|
},
|
|
110
95
|
});
|
|
111
|
-
return (
|
|
96
|
+
return (_jsx(ApplicationFrame, { navBar: _jsx(Navigation, { userMenu: {
|
|
112
97
|
triggerText: {
|
|
113
98
|
title: "haidera@nulogy.com",
|
|
114
99
|
subtitle1: "Nulogy",
|
|
@@ -117,26 +102,13 @@ export const Header = () => {
|
|
|
117
102
|
header: {
|
|
118
103
|
title: title,
|
|
119
104
|
},
|
|
120
|
-
} }) },
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
React.createElement(Code, null, "subtitle1"),
|
|
128
|
-
", and ",
|
|
129
|
-
React.createElement(Code, null, "subtitle2"),
|
|
130
|
-
"."),
|
|
131
|
-
React.createElement(Input, { labelText: "Title", value: title, onChange: (e) => {
|
|
132
|
-
setTitle(e.target.value);
|
|
133
|
-
} }),
|
|
134
|
-
React.createElement(Input, { labelText: "Subtitle 1", value: subtitle1, onChange: (e) => {
|
|
135
|
-
setSubtitle1(e.target.value);
|
|
136
|
-
} }),
|
|
137
|
-
React.createElement(Input, { labelText: "Subtitle 2", value: subtitle2, onChange: (e) => {
|
|
138
|
-
setSubtitle2(e.target.value);
|
|
139
|
-
} })))));
|
|
105
|
+
} }), children: _jsx(Page, { fullHeight: true, children: _jsxs(Flex, { width: "600px", flexDirection: "column", gap: "x2", children: [_jsxs(Text, { fontSize: "small", color: "darkGrey", children: ["The header is optional. You can add a ", _jsx(Code, { children: "title" }), ", ", _jsx(Code, { children: "subtitle1" }), ", and ", _jsx(Code, { children: "subtitle2" }), "."] }), _jsx(Input, { labelText: "Title", value: title, onChange: (e) => {
|
|
106
|
+
setTitle(e.target.value);
|
|
107
|
+
} }), _jsx(Input, { labelText: "Subtitle 1", value: subtitle1, onChange: (e) => {
|
|
108
|
+
setSubtitle1(e.target.value);
|
|
109
|
+
} }), _jsx(Input, { labelText: "Subtitle 2", value: subtitle2, onChange: (e) => {
|
|
110
|
+
setSubtitle2(e.target.value);
|
|
111
|
+
} })] }) }) }));
|
|
140
112
|
};
|
|
141
113
|
export const Controls = () => {
|
|
142
114
|
useConditionalAutoClick({
|
|
@@ -146,23 +118,21 @@ export const Controls = () => {
|
|
|
146
118
|
when: "absent",
|
|
147
119
|
},
|
|
148
120
|
});
|
|
149
|
-
return (
|
|
121
|
+
return (_jsx(Navigation, { userMenu: {
|
|
150
122
|
triggerText: {
|
|
151
123
|
title: "haidera@nulogy.com",
|
|
152
124
|
subtitle1: "Nulogy",
|
|
153
125
|
subtitle2: "Toronto, ON",
|
|
154
126
|
},
|
|
155
|
-
controls: () => (
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
{ value: "pallets", label: "Pallets" },
|
|
165
|
-
], labelText: "Base" }))),
|
|
127
|
+
controls: () => (_jsxs(Flex, { gap: "x2", flexDirection: "column", width: "100%", children: [_jsx(Select, { defaultValue: ["eaches"], options: [
|
|
128
|
+
{ value: "eaches", label: "Eaches" },
|
|
129
|
+
{ value: "cases", label: "Cases" },
|
|
130
|
+
{ value: "pallets", label: "Pallets" },
|
|
131
|
+
], labelText: "Default" }), _jsx(Select, { defaultValue: ["eaches"], options: [
|
|
132
|
+
{ value: "eaches", label: "Eaches" },
|
|
133
|
+
{ value: "cases", label: "Cases" },
|
|
134
|
+
{ value: "pallets", label: "Pallets" },
|
|
135
|
+
], labelText: "Base" })] })),
|
|
166
136
|
} }));
|
|
167
137
|
};
|
|
168
138
|
export const MenuItems = () => {
|
|
@@ -173,8 +143,7 @@ export const MenuItems = () => {
|
|
|
173
143
|
when: "absent",
|
|
174
144
|
},
|
|
175
145
|
});
|
|
176
|
-
return (
|
|
177
|
-
React.createElement(Navigation, { userMenu: {
|
|
146
|
+
return (_jsx(BrowserRouter, { children: _jsx(Navigation, { userMenu: {
|
|
178
147
|
triggerText: {
|
|
179
148
|
title: "haidera@nulogy.com",
|
|
180
149
|
subtitle1: "Nulogy",
|
|
@@ -203,7 +172,7 @@ export const MenuItems = () => {
|
|
|
203
172
|
key: "client-side-routing",
|
|
204
173
|
label: "A menu item can use client-side routing",
|
|
205
174
|
type: "link",
|
|
206
|
-
element:
|
|
175
|
+
element: _jsx(Link, { to: "/finance" }),
|
|
207
176
|
},
|
|
208
177
|
{
|
|
209
178
|
key: "nested-items",
|
|
@@ -211,5 +180,5 @@ export const MenuItems = () => {
|
|
|
211
180
|
type: "button",
|
|
212
181
|
},
|
|
213
182
|
],
|
|
214
|
-
} })));
|
|
183
|
+
} }) }));
|
|
215
184
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default function CustomLogo2(props: SVGProps<SVGSVGElement>):
|
|
1
|
+
import { SVGProps } from "react";
|
|
2
|
+
export default function CustomLogo2(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
export default function CustomLogo2(props) {
|
|
3
|
-
return (
|
|
4
|
-
React.createElement("path", { d: "M122.355 29.5238H127.018V11.9352H122.355V29.5238ZM122.355 9.19238H127.018V5.00952H122.355V9.19238Z", fill: "black" }),
|
|
5
|
-
React.createElement("path", { d: "M130.023 35.2838H134.686V27.5352H134.754C135.748 29.0438 137.36 30.0381 139.828 30.0381C144.354 30.0381 147.44 26.4381 147.44 20.7467C147.44 15.2609 144.457 11.4552 139.794 11.4552C137.394 11.4552 135.748 12.5867 134.617 14.1295H134.514V11.9352H130.023V35.2838ZM138.834 26.1638C136.057 26.1638 134.583 24.0724 134.583 20.8838C134.583 17.7295 135.748 15.2267 138.663 15.2267C141.543 15.2267 142.708 17.5581 142.708 20.8838C142.708 24.2095 141.2 26.1638 138.834 26.1638Z", fill: "black" }),
|
|
6
|
-
React.createElement("path", { d: "M156.741 30.0381C161.13 30.0381 164.147 27.9124 164.147 24.3809C164.147 20.2667 160.89 19.4438 157.941 18.8267C155.438 18.3124 153.107 18.1752 153.107 16.6667C153.107 15.3981 154.307 14.7124 156.124 14.7124C158.113 14.7124 159.313 15.3981 159.518 17.2838H163.735C163.393 13.7524 160.821 11.4552 156.193 11.4552C152.181 11.4552 149.027 13.2724 149.027 17.0781C149.027 20.9181 152.113 21.7752 155.267 22.3924C157.667 22.8724 159.895 23.0438 159.895 24.7238C159.895 25.9581 158.73 26.7467 156.673 26.7467C154.581 26.7467 153.141 25.8552 152.833 23.8324H148.513C148.787 27.5695 151.633 30.0381 156.741 30.0381Z", fill: "black" }),
|
|
7
|
-
React.createElement("path", { d: "M181.85 29.5238V11.9352H177.187V22.0838C177.187 24.4152 175.85 26.0609 173.656 26.0609C171.667 26.0609 170.742 24.9295 170.742 22.8724V11.9352H166.113V23.6609C166.113 27.5009 168.307 30.0038 172.216 30.0038C174.685 30.0038 176.056 29.0781 177.256 27.4667H177.359V29.5238H181.85Z", fill: "black" }),
|
|
8
|
-
React.createElement("path", { d: "M184.866 29.5238H189.529V19.3067C189.529 16.9752 190.798 15.4667 192.684 15.4667C194.398 15.4667 195.392 16.4952 195.392 18.4838V29.5238H200.055V19.3067C200.055 16.9752 201.255 15.4667 203.209 15.4667C204.924 15.4667 205.918 16.4952 205.918 18.4838V29.5238H210.581V17.6952C210.581 13.8552 208.489 11.4552 204.786 11.4552C202.558 11.4552 200.706 12.6209 199.506 14.5409H199.438C198.581 12.6895 196.798 11.4552 194.569 11.4552C192.135 11.4552 190.421 12.6895 189.461 14.3009H189.358V11.9352H184.866V29.5238Z", fill: "black" }),
|
|
9
|
-
React.createElement("path", { d: "M0.824158 29.5238H5.48701V5.00952H0.824158V29.5238Z", fill: "black" }),
|
|
10
|
-
React.createElement("path", { d: "M16.8884 30.0381C22.3398 30.0381 26.0769 25.9924 26.0769 20.7467C26.0769 15.5009 22.3398 11.4552 16.8884 11.4552C11.4369 11.4552 7.69978 15.5009 7.69978 20.7467C7.69978 25.9924 11.4369 30.0381 16.8884 30.0381ZM16.8884 26.4724C14.0084 26.4724 12.4312 24.1752 12.4312 20.7467C12.4312 17.3181 14.0084 14.9867 16.8884 14.9867C19.7341 14.9867 21.3455 17.3181 21.3455 20.7467C21.3455 24.1752 19.7341 26.4724 16.8884 26.4724Z", fill: "black" }),
|
|
11
|
-
React.createElement("path", { d: "M35.993 35.5238C38.5987 35.5238 40.8616 34.9067 42.3358 33.5352C43.6387 32.3352 44.4273 30.6552 44.4273 28.1867V11.9352H39.9359V13.7867H39.8673C38.8044 12.3124 37.193 11.4552 34.9987 11.4552C30.5416 11.4552 27.3873 14.8152 27.3873 20.0609C27.3873 25.3752 31.2273 28.4609 35.1359 28.4609C37.3644 28.4609 38.7016 27.5695 39.7301 26.4038H39.833V28.3238C39.833 30.7238 38.5644 31.9924 35.9244 31.9924C33.7644 31.9924 32.7701 31.1352 32.393 30.0381H27.7644C28.2444 33.4667 31.193 35.5238 35.993 35.5238ZM35.9244 24.7238C33.5244 24.7238 31.9473 22.9752 31.9473 19.9924C31.9473 17.0438 33.5244 15.1924 35.8901 15.1924C38.7016 15.1924 40.073 17.3867 40.073 19.9581C40.073 22.5638 38.873 24.7238 35.9244 24.7238Z", fill: "black" }),
|
|
12
|
-
React.createElement("path", { d: "M55.7611 30.0381C61.2125 30.0381 64.9497 25.9924 64.9497 20.7467C64.9497 15.5009 61.2125 11.4552 55.7611 11.4552C50.3097 11.4552 46.5725 15.5009 46.5725 20.7467C46.5725 25.9924 50.3097 30.0381 55.7611 30.0381ZM55.7611 26.4724C52.8811 26.4724 51.304 24.1752 51.304 20.7467C51.304 17.3181 52.8811 14.9867 55.7611 14.9867C58.6068 14.9867 60.2183 17.3181 60.2183 20.7467C60.2183 24.1752 58.6068 26.4724 55.7611 26.4724Z", fill: "black" }),
|
|
13
|
-
React.createElement("path", { d: "M212.275 9.04762C212.275 8.25864 212.915 7.61905 213.704 7.61905H216.561C217.35 7.61905 217.99 8.25864 217.99 9.04762C217.99 9.8366 217.35 10.4762 216.561 10.4762H213.704C212.915 10.4762 212.275 9.8366 212.275 9.04762Z", fill: "black" }),
|
|
14
|
-
React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M93.2277 0C104.273 0 113.228 8.95431 113.228 20C113.228 31.0457 104.273 40 93.2277 40C82.182 40 73.2277 31.0457 73.2277 20C73.2277 8.95431 82.182 0 93.2277 0ZM92.5048 1.49659C90.2231 1.81769 88.0505 3.65108 86.364 6.7174C85.8748 7.60683 85.4334 8.58946 85.0488 9.65044C87.342 9.07417 89.8611 8.73442 92.5048 8.68187V1.49659ZM83.3584 10.1308C83.8368 8.62958 84.4219 7.2484 85.0972 6.02065C85.9332 4.50059 86.9254 3.18795 88.0433 2.17977C81.9644 3.94523 77.1729 8.73679 75.4074 14.8157C76.4156 13.6978 77.7282 12.7056 79.2483 11.8696C80.4761 11.1943 81.8572 10.6091 83.3584 10.1308ZM82.8781 11.8211C82.3018 14.1143 81.9621 16.6334 81.9095 19.2771H74.7242C75.0453 16.9954 76.8787 14.8228 79.9451 13.1364C80.8345 12.6472 81.8171 12.2058 82.8781 11.8211ZM83.3556 19.2771C83.4153 16.392 83.8307 13.6834 84.5179 11.2902C86.9111 10.603 89.6197 10.1876 92.5048 10.1279V13.2508C91.4285 16.0062 89.2333 18.2012 86.4778 19.2771H83.3556ZM81.9095 20.7229H74.7242C75.0453 23.0046 76.8787 25.1771 79.9451 26.8636C80.8345 27.3528 81.8171 27.7942 82.8781 28.1789C82.3018 25.8857 81.9621 23.3666 81.9095 20.7229ZM84.5179 28.7098C83.8307 26.3166 83.4153 23.608 83.3556 20.7229H86.4778C89.2333 21.7988 91.4285 23.9938 92.5048 26.7492V29.8721C89.6197 29.8124 86.9111 29.397 84.5179 28.7098ZM83.3584 29.8692C81.8572 29.3909 80.4761 28.8057 79.2483 28.1304C77.7282 27.2944 76.4156 26.3022 75.4074 25.1843C77.1729 31.2632 81.9644 36.0548 88.0433 37.8202C86.9254 36.812 85.9332 35.4994 85.0972 33.9793C84.4219 32.7516 83.8368 31.3704 83.3584 29.8692ZM92.5048 38.5034C90.2231 38.1823 88.0505 36.3489 86.364 33.2826C85.8748 32.3932 85.4334 31.4105 85.0488 30.3496C87.342 30.9258 89.8611 31.2656 92.5048 31.3181V38.5034ZM98.412 37.8202C99.5299 36.812 100.522 35.4994 101.358 33.9793C102.033 32.7516 102.619 31.3704 103.097 29.8692C104.598 29.3909 105.979 28.8057 107.207 28.1304C108.727 27.2944 110.04 26.3022 111.048 25.1843C109.282 31.2632 104.491 36.0548 98.412 37.8202ZM101.407 30.3496C101.022 31.4105 100.58 32.3932 100.091 33.2826C98.4048 36.3489 96.2322 38.1823 93.9505 38.5034V31.3181C96.5942 31.2656 99.1133 30.9258 101.407 30.3496ZM103.577 28.1789C104.638 27.7942 105.621 27.3528 106.51 26.8636C109.577 25.1772 111.41 23.0046 111.731 20.7229H104.546C104.493 23.3666 104.153 25.8857 103.577 28.1789ZM103.1 20.7229C103.04 23.608 102.625 26.3166 101.937 28.7098C99.5442 29.397 96.8356 29.8124 93.9505 29.8721V26.7515C95.0265 23.9951 97.2222 21.7991 99.9784 20.7229H103.1ZM104.546 19.2771H111.731C111.41 16.9954 109.577 14.8228 106.51 13.1364C105.621 12.6472 104.638 12.2058 103.577 11.8211C104.153 14.1143 104.493 16.6334 104.546 19.2771ZM101.937 11.2902C102.625 13.6834 103.04 16.392 103.1 19.2771H99.9785C97.2222 18.2009 95.0265 16.0049 93.9505 13.2485V10.1279C96.8356 10.1876 99.5442 10.603 101.937 11.2902ZM103.097 10.1308C104.598 10.6091 105.979 11.1943 107.207 11.8696C108.727 12.7056 110.04 13.6978 111.048 14.8157C109.282 8.73679 104.491 3.94523 98.412 2.17977C99.5299 3.18795 100.522 4.50059 101.358 6.02065C102.033 7.2484 102.619 8.62958 103.097 10.1308ZM93.9505 1.49659C96.2322 1.81769 98.4048 3.65108 100.091 6.7174C100.58 7.60684 101.022 8.58946 101.407 9.65044C99.1133 9.07417 96.5942 8.73442 93.9505 8.68187V1.49659Z", fill: "black" })));
|
|
3
|
+
return (_jsxs("svg", { id: "logo-76", viewBox: "0 0 218 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props, children: [_jsx("path", { d: "M122.355 29.5238H127.018V11.9352H122.355V29.5238ZM122.355 9.19238H127.018V5.00952H122.355V9.19238Z", fill: "black" }), _jsx("path", { d: "M130.023 35.2838H134.686V27.5352H134.754C135.748 29.0438 137.36 30.0381 139.828 30.0381C144.354 30.0381 147.44 26.4381 147.44 20.7467C147.44 15.2609 144.457 11.4552 139.794 11.4552C137.394 11.4552 135.748 12.5867 134.617 14.1295H134.514V11.9352H130.023V35.2838ZM138.834 26.1638C136.057 26.1638 134.583 24.0724 134.583 20.8838C134.583 17.7295 135.748 15.2267 138.663 15.2267C141.543 15.2267 142.708 17.5581 142.708 20.8838C142.708 24.2095 141.2 26.1638 138.834 26.1638Z", fill: "black" }), _jsx("path", { d: "M156.741 30.0381C161.13 30.0381 164.147 27.9124 164.147 24.3809C164.147 20.2667 160.89 19.4438 157.941 18.8267C155.438 18.3124 153.107 18.1752 153.107 16.6667C153.107 15.3981 154.307 14.7124 156.124 14.7124C158.113 14.7124 159.313 15.3981 159.518 17.2838H163.735C163.393 13.7524 160.821 11.4552 156.193 11.4552C152.181 11.4552 149.027 13.2724 149.027 17.0781C149.027 20.9181 152.113 21.7752 155.267 22.3924C157.667 22.8724 159.895 23.0438 159.895 24.7238C159.895 25.9581 158.73 26.7467 156.673 26.7467C154.581 26.7467 153.141 25.8552 152.833 23.8324H148.513C148.787 27.5695 151.633 30.0381 156.741 30.0381Z", fill: "black" }), _jsx("path", { d: "M181.85 29.5238V11.9352H177.187V22.0838C177.187 24.4152 175.85 26.0609 173.656 26.0609C171.667 26.0609 170.742 24.9295 170.742 22.8724V11.9352H166.113V23.6609C166.113 27.5009 168.307 30.0038 172.216 30.0038C174.685 30.0038 176.056 29.0781 177.256 27.4667H177.359V29.5238H181.85Z", fill: "black" }), _jsx("path", { d: "M184.866 29.5238H189.529V19.3067C189.529 16.9752 190.798 15.4667 192.684 15.4667C194.398 15.4667 195.392 16.4952 195.392 18.4838V29.5238H200.055V19.3067C200.055 16.9752 201.255 15.4667 203.209 15.4667C204.924 15.4667 205.918 16.4952 205.918 18.4838V29.5238H210.581V17.6952C210.581 13.8552 208.489 11.4552 204.786 11.4552C202.558 11.4552 200.706 12.6209 199.506 14.5409H199.438C198.581 12.6895 196.798 11.4552 194.569 11.4552C192.135 11.4552 190.421 12.6895 189.461 14.3009H189.358V11.9352H184.866V29.5238Z", fill: "black" }), _jsx("path", { d: "M0.824158 29.5238H5.48701V5.00952H0.824158V29.5238Z", fill: "black" }), _jsx("path", { d: "M16.8884 30.0381C22.3398 30.0381 26.0769 25.9924 26.0769 20.7467C26.0769 15.5009 22.3398 11.4552 16.8884 11.4552C11.4369 11.4552 7.69978 15.5009 7.69978 20.7467C7.69978 25.9924 11.4369 30.0381 16.8884 30.0381ZM16.8884 26.4724C14.0084 26.4724 12.4312 24.1752 12.4312 20.7467C12.4312 17.3181 14.0084 14.9867 16.8884 14.9867C19.7341 14.9867 21.3455 17.3181 21.3455 20.7467C21.3455 24.1752 19.7341 26.4724 16.8884 26.4724Z", fill: "black" }), _jsx("path", { d: "M35.993 35.5238C38.5987 35.5238 40.8616 34.9067 42.3358 33.5352C43.6387 32.3352 44.4273 30.6552 44.4273 28.1867V11.9352H39.9359V13.7867H39.8673C38.8044 12.3124 37.193 11.4552 34.9987 11.4552C30.5416 11.4552 27.3873 14.8152 27.3873 20.0609C27.3873 25.3752 31.2273 28.4609 35.1359 28.4609C37.3644 28.4609 38.7016 27.5695 39.7301 26.4038H39.833V28.3238C39.833 30.7238 38.5644 31.9924 35.9244 31.9924C33.7644 31.9924 32.7701 31.1352 32.393 30.0381H27.7644C28.2444 33.4667 31.193 35.5238 35.993 35.5238ZM35.9244 24.7238C33.5244 24.7238 31.9473 22.9752 31.9473 19.9924C31.9473 17.0438 33.5244 15.1924 35.8901 15.1924C38.7016 15.1924 40.073 17.3867 40.073 19.9581C40.073 22.5638 38.873 24.7238 35.9244 24.7238Z", fill: "black" }), _jsx("path", { d: "M55.7611 30.0381C61.2125 30.0381 64.9497 25.9924 64.9497 20.7467C64.9497 15.5009 61.2125 11.4552 55.7611 11.4552C50.3097 11.4552 46.5725 15.5009 46.5725 20.7467C46.5725 25.9924 50.3097 30.0381 55.7611 30.0381ZM55.7611 26.4724C52.8811 26.4724 51.304 24.1752 51.304 20.7467C51.304 17.3181 52.8811 14.9867 55.7611 14.9867C58.6068 14.9867 60.2183 17.3181 60.2183 20.7467C60.2183 24.1752 58.6068 26.4724 55.7611 26.4724Z", fill: "black" }), _jsx("path", { d: "M212.275 9.04762C212.275 8.25864 212.915 7.61905 213.704 7.61905H216.561C217.35 7.61905 217.99 8.25864 217.99 9.04762C217.99 9.8366 217.35 10.4762 216.561 10.4762H213.704C212.915 10.4762 212.275 9.8366 212.275 9.04762Z", fill: "black" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M93.2277 0C104.273 0 113.228 8.95431 113.228 20C113.228 31.0457 104.273 40 93.2277 40C82.182 40 73.2277 31.0457 73.2277 20C73.2277 8.95431 82.182 0 93.2277 0ZM92.5048 1.49659C90.2231 1.81769 88.0505 3.65108 86.364 6.7174C85.8748 7.60683 85.4334 8.58946 85.0488 9.65044C87.342 9.07417 89.8611 8.73442 92.5048 8.68187V1.49659ZM83.3584 10.1308C83.8368 8.62958 84.4219 7.2484 85.0972 6.02065C85.9332 4.50059 86.9254 3.18795 88.0433 2.17977C81.9644 3.94523 77.1729 8.73679 75.4074 14.8157C76.4156 13.6978 77.7282 12.7056 79.2483 11.8696C80.4761 11.1943 81.8572 10.6091 83.3584 10.1308ZM82.8781 11.8211C82.3018 14.1143 81.9621 16.6334 81.9095 19.2771H74.7242C75.0453 16.9954 76.8787 14.8228 79.9451 13.1364C80.8345 12.6472 81.8171 12.2058 82.8781 11.8211ZM83.3556 19.2771C83.4153 16.392 83.8307 13.6834 84.5179 11.2902C86.9111 10.603 89.6197 10.1876 92.5048 10.1279V13.2508C91.4285 16.0062 89.2333 18.2012 86.4778 19.2771H83.3556ZM81.9095 20.7229H74.7242C75.0453 23.0046 76.8787 25.1771 79.9451 26.8636C80.8345 27.3528 81.8171 27.7942 82.8781 28.1789C82.3018 25.8857 81.9621 23.3666 81.9095 20.7229ZM84.5179 28.7098C83.8307 26.3166 83.4153 23.608 83.3556 20.7229H86.4778C89.2333 21.7988 91.4285 23.9938 92.5048 26.7492V29.8721C89.6197 29.8124 86.9111 29.397 84.5179 28.7098ZM83.3584 29.8692C81.8572 29.3909 80.4761 28.8057 79.2483 28.1304C77.7282 27.2944 76.4156 26.3022 75.4074 25.1843C77.1729 31.2632 81.9644 36.0548 88.0433 37.8202C86.9254 36.812 85.9332 35.4994 85.0972 33.9793C84.4219 32.7516 83.8368 31.3704 83.3584 29.8692ZM92.5048 38.5034C90.2231 38.1823 88.0505 36.3489 86.364 33.2826C85.8748 32.3932 85.4334 31.4105 85.0488 30.3496C87.342 30.9258 89.8611 31.2656 92.5048 31.3181V38.5034ZM98.412 37.8202C99.5299 36.812 100.522 35.4994 101.358 33.9793C102.033 32.7516 102.619 31.3704 103.097 29.8692C104.598 29.3909 105.979 28.8057 107.207 28.1304C108.727 27.2944 110.04 26.3022 111.048 25.1843C109.282 31.2632 104.491 36.0548 98.412 37.8202ZM101.407 30.3496C101.022 31.4105 100.58 32.3932 100.091 33.2826C98.4048 36.3489 96.2322 38.1823 93.9505 38.5034V31.3181C96.5942 31.2656 99.1133 30.9258 101.407 30.3496ZM103.577 28.1789C104.638 27.7942 105.621 27.3528 106.51 26.8636C109.577 25.1772 111.41 23.0046 111.731 20.7229H104.546C104.493 23.3666 104.153 25.8857 103.577 28.1789ZM103.1 20.7229C103.04 23.608 102.625 26.3166 101.937 28.7098C99.5442 29.397 96.8356 29.8124 93.9505 29.8721V26.7515C95.0265 23.9951 97.2222 21.7991 99.9784 20.7229H103.1ZM104.546 19.2771H111.731C111.41 16.9954 109.577 14.8228 106.51 13.1364C105.621 12.6472 104.638 12.2058 103.577 11.8211C104.153 14.1143 104.493 16.6334 104.546 19.2771ZM101.937 11.2902C102.625 13.6834 103.04 16.392 103.1 19.2771H99.9785C97.2222 18.2009 95.0265 16.0049 93.9505 13.2485V10.1279C96.8356 10.1876 99.5442 10.603 101.937 11.2902ZM103.097 10.1308C104.598 10.6091 105.979 11.1943 107.207 11.8696C108.727 12.7056 110.04 13.6978 111.048 14.8157C109.282 8.73679 104.491 3.94523 98.412 2.17977C99.5299 3.18795 100.522 4.50059 101.358 6.02065C102.033 7.2484 102.619 8.62958 103.097 10.1308ZM93.9505 1.49659C96.2322 1.81769 98.4048 3.65108 100.091 6.7174C100.58 7.60684 101.022 8.58946 101.407 9.65044C99.1133 9.07417 96.5942 8.73442 93.9505 8.68187V1.49659Z", fill: "black" })] }));
|
|
15
4
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export default function CustomLogo3(props: SVGProps<SVGSVGElement>):
|
|
1
|
+
import { SVGProps } from "react";
|
|
2
|
+
export default function CustomLogo3(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|