@nulogy/components 14.8.2 → 15.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/de_DE.json +63 -0
- package/dist/locales/en_US.json +63 -0
- package/dist/locales/es_ES.json +63 -0
- package/dist/locales/es_MX.json +63 -0
- package/dist/locales/fr_FR.json +63 -0
- package/dist/locales/nl_NL.json +63 -0
- package/dist/locales/pl_PL.json +63 -0
- package/dist/locales/pt_BR.json +63 -0
- package/dist/locales/ro_RO.json +63 -0
- package/dist/locales/zh_CN.json +63 -0
- package/dist/main.js +6615 -6668
- package/dist/main.module.js +6611 -6664
- package/dist/src/Alert/Alert.d.ts +26 -26
- package/dist/src/Alert/Alert.js +70 -0
- package/dist/src/Alert/Alert.story.d.ts +24 -24
- package/dist/src/Alert/Alert.story.js +27 -0
- package/dist/src/Alert/CloseButton.d.ts +7 -7
- package/dist/src/Alert/CloseButton.js +10 -0
- package/dist/src/Alert/index.d.ts +2 -2
- package/dist/src/Alert/index.js +1 -0
- package/dist/src/AppTag/AppTag.d.ts +9 -9
- package/dist/src/AppTag/AppTag.js +39 -0
- package/dist/src/AppTag/components/LogoWrapper.d.ts +5 -5
- package/dist/src/AppTag/components/LogoWrapper.js +12 -0
- package/dist/src/AppTag/components/NulogyLogo.d.ts +2 -2
- package/dist/src/AppTag/components/NulogyLogo.js +17 -0
- package/dist/src/AppTag/constants.d.ts +5 -5
- package/dist/src/AppTag/constants.js +14 -0
- package/dist/src/AppTag/index.d.ts +2 -2
- package/dist/src/AppTag/index.js +1 -0
- package/dist/src/AppTag/stories/AppTag.story.d.ts +12 -12
- package/dist/src/AppTag/stories/AppTag.story.js +34 -0
- package/dist/src/AppTag/stories/AppTag.usecases.story.d.ts +27 -27
- package/dist/src/AppTag/stories/AppTag.usecases.story.js +118 -0
- package/dist/src/AppTag/types.d.ts +3 -3
- package/dist/src/AppTag/types.js +1 -0
- package/dist/src/AsyncSelect/AsyncSelect.d.ts +24 -24
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.d.ts +6 -6
- package/dist/src/AsyncSelect/AsyncSelect.graphql.story.js +61 -0
- package/dist/src/AsyncSelect/AsyncSelect.js +46 -0
- package/dist/src/AsyncSelect/AsyncSelect.story.d.ts +29 -29
- package/dist/src/AsyncSelect/AsyncSelect.story.js +54 -0
- package/dist/src/AsyncSelect/AsyncSelectComponents.d.ts +22 -22
- package/dist/src/AsyncSelect/AsyncSelectComponents.js +54 -0
- package/dist/src/AsyncSelect/fixtures.d.ts +5 -5
- package/dist/src/AsyncSelect/fixtures.js +68 -0
- package/dist/src/AsyncSelect/index.d.ts +1 -1
- package/dist/src/AsyncSelect/index.js +1 -0
- package/dist/src/Banner/Banner.d.ts +4 -4
- package/dist/src/Banner/Banner.js +18 -0
- package/dist/src/Banner/Banner.story.d.ts +14 -14
- package/dist/src/Banner/Banner.story.js +38 -0
- package/dist/src/Banner/index.d.ts +1 -1
- package/dist/src/Banner/index.js +1 -0
- package/dist/src/BottomSheet/BottomSheet.d.ts +22 -22
- package/dist/src/BottomSheet/BottomSheet.js +49 -0
- package/dist/src/BottomSheet/BottomSheet.parts.d.ts +50 -50
- package/dist/src/BottomSheet/BottomSheet.parts.js +64 -0
- package/dist/src/BottomSheet/BottomSheet.styled.d.ts +50 -50
- package/dist/src/BottomSheet/BottomSheet.styled.js +86 -0
- package/dist/src/BottomSheet/BottomSheetProvider.d.ts +12 -12
- package/dist/src/BottomSheet/BottomSheetProvider.js +15 -0
- package/dist/src/BottomSheet/index.d.ts +3 -3
- package/dist/src/BottomSheet/index.js +2 -0
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.d.ts +13 -13
- package/dist/src/BottomSheet/stories/BottomSheet.actions.story.js +25 -0
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.d.ts +13 -13
- package/dist/src/BottomSheet/stories/BottomSheet.content.story.js +29 -0
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.d.ts +20 -20
- package/dist/src/BottomSheet/stories/BottomSheet.features.story.js +77 -0
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.d.ts +12 -12
- package/dist/src/BottomSheet/stories/BottomSheet.parts.story.js +45 -0
- package/dist/src/BottomSheet/stories/BottomSheet.story.d.ts +12 -12
- package/dist/src/BottomSheet/stories/BottomSheet.story.js +18 -0
- package/dist/src/Box/Box.d.ts +268 -268
- package/dist/src/Box/Box.js +6 -0
- package/dist/src/Box/Box.story.d.ts +72 -72
- package/dist/src/Box/Box.story.js +85 -0
- package/dist/src/Box/index.d.ts +2 -2
- package/dist/src/Box/index.js +1 -0
- package/dist/src/BrandedNavBar/BrandLogoContainer.d.ts +12 -12
- package/dist/src/BrandedNavBar/BrandLogoContainer.js +14 -0
- package/dist/src/BrandedNavBar/DesktopMenu.d.ts +11 -11
- package/dist/src/BrandedNavBar/DesktopMenu.js +98 -0
- package/dist/src/BrandedNavBar/MenuTrigger.d.ts +19 -19
- package/dist/src/BrandedNavBar/MenuTrigger.js +59 -0
- package/dist/src/BrandedNavBar/MenuTriggerButton.d.ts +10 -10
- package/dist/src/BrandedNavBar/MenuTriggerButton.js +56 -0
- package/dist/src/BrandedNavBar/MobileMenu.d.ts +20 -20
- package/dist/src/BrandedNavBar/MobileMenu.js +153 -0
- package/dist/src/BrandedNavBar/NavBar.d.ts +15 -15
- package/dist/src/BrandedNavBar/NavBar.js +69 -0
- package/dist/src/BrandedNavBar/NavBar.story.d.ts +84 -84
- package/dist/src/BrandedNavBar/NavBar.story.js +416 -0
- package/dist/src/BrandedNavBar/NavBarBackground.d.ts +10 -10
- package/dist/src/BrandedNavBar/NavBarBackground.js +12 -0
- package/dist/src/BrandedNavBar/NavBarDropdownMenu.d.ts +4 -4
- package/dist/src/BrandedNavBar/NavBarDropdownMenu.js +94 -0
- package/dist/src/BrandedNavBar/NulogyLogo.d.ts +3 -3
- package/dist/src/BrandedNavBar/NulogyLogo.js +15 -0
- package/dist/src/BrandedNavBar/NulogyLogoContainer.d.ts +8 -8
- package/dist/src/BrandedNavBar/NulogyLogoContainer.js +11 -0
- package/dist/src/BrandedNavBar/SmallNavBar.d.ts +39 -39
- package/dist/src/BrandedNavBar/SmallNavBar.js +92 -0
- package/dist/src/BrandedNavBar/SmallNavBar.story.d.ts +21 -21
- package/dist/src/BrandedNavBar/SmallNavBar.story.js +89 -0
- package/dist/src/BrandedNavBar/SubMenuTrigger.d.ts +15 -15
- package/dist/src/BrandedNavBar/SubMenuTrigger.js +61 -0
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.d.ts +8 -8
- package/dist/src/BrandedNavBar/SubMenuTriggerButton.js +31 -0
- package/dist/src/BrandedNavBar/TriggerFunctionProps.d.ts +10 -10
- package/dist/src/BrandedNavBar/TriggerFunctionProps.js +1 -0
- package/dist/src/BrandedNavBar/index.d.ts +11 -11
- package/dist/src/BrandedNavBar/index.js +6 -0
- package/dist/src/BrandedNavBar/isValidMenuItem.d.ts +2 -2
- package/dist/src/BrandedNavBar/isValidMenuItem.js +19 -0
- package/dist/src/BrandedNavBar/renderSubMenuItems.d.ts +3 -3
- package/dist/src/BrandedNavBar/renderSubMenuItems.js +52 -0
- package/dist/src/Branding/Branding.d.ts +12 -12
- package/dist/src/Branding/Branding.js +81 -0
- package/dist/src/Branding/Branding.story.d.ts +6 -6
- package/dist/src/Branding/Branding.story.js +81 -0
- package/dist/src/Branding/BrandingText.d.ts +7 -7
- package/dist/src/Branding/BrandingText.js +23 -0
- package/dist/src/Branding/LettermarkLogo.d.ts +7 -7
- package/dist/src/Branding/LettermarkLogo.js +32 -0
- package/dist/src/Branding/WordmarkLogo.d.ts +9 -9
- package/dist/src/Branding/WordmarkLogo.js +39 -0
- package/dist/src/Branding/index.d.ts +2 -2
- package/dist/src/Branding/index.js +2 -0
- package/dist/src/Breadcrumbs/Breadcrumbs.d.ts +8 -8
- package/dist/src/Breadcrumbs/Breadcrumbs.js +35 -0
- package/dist/src/Breadcrumbs/Breadcrumbs.story.d.ts +18 -18
- package/dist/src/Breadcrumbs/Breadcrumbs.story.js +29 -0
- package/dist/src/Breadcrumbs/BreadcrumbsList.d.ts +3 -3
- package/dist/src/Breadcrumbs/BreadcrumbsList.js +7 -0
- package/dist/src/Breadcrumbs/BreadcrumbsListItem.d.ts +6 -6
- package/dist/src/Breadcrumbs/BreadcrumbsListItem.js +34 -0
- package/dist/src/Breadcrumbs/index.d.ts +1 -1
- package/dist/src/Breadcrumbs/index.js +1 -0
- package/dist/src/Button/Button.d.ts +19 -19
- package/dist/src/Button/Button.js +87 -0
- package/dist/src/Button/Button.story.d.ts +49 -49
- package/dist/src/Button/Button.story.js +53 -0
- package/dist/src/Button/CloseButton.d.ts +5 -5
- package/dist/src/Button/CloseButton.js +51 -0
- package/dist/src/Button/ControlIcon.d.ts +14 -14
- package/dist/src/Button/ControlIcon.js +46 -0
- package/dist/src/Button/ControlIcon.story.d.ts +8 -8
- package/dist/src/Button/ControlIcon.story.js +9 -0
- package/dist/src/Button/DangerButton.d.ts +4 -4
- package/dist/src/Button/DangerButton.js +22 -0
- package/dist/src/Button/IconicButton.d.ts +19 -19
- package/dist/src/Button/IconicButton.js +129 -0
- package/dist/src/Button/IconicButton.story.d.ts +82 -82
- package/dist/src/Button/IconicButton.story.js +74 -0
- package/dist/src/Button/PrimaryButton.d.ts +4 -4
- package/dist/src/Button/PrimaryButton.js +22 -0
- package/dist/src/Button/QuietButton.d.ts +4 -4
- package/dist/src/Button/QuietButton.js +8 -0
- package/dist/src/Button/index.d.ts +7 -7
- package/dist/src/Button/index.js +7 -0
- package/dist/src/ButtonGroup/ButtonGroup.d.ts +9 -9
- package/dist/src/ButtonGroup/ButtonGroup.js +30 -0
- package/dist/src/ButtonGroup/ButtonGroup.story.d.ts +40 -40
- package/dist/src/ButtonGroup/ButtonGroup.story.js +63 -0
- package/dist/src/ButtonGroup/index.d.ts +1 -1
- package/dist/src/ButtonGroup/index.js +1 -0
- package/dist/src/Card/Card.d.ts +3 -3
- package/dist/src/Card/Card.js +17 -0
- package/dist/src/Card/Card.story.d.ts +19 -19
- package/dist/src/Card/Card.story.js +56 -0
- package/dist/src/Card/CardSet.d.ts +3 -3
- package/dist/src/Card/CardSet.js +8 -0
- package/dist/src/Card/index.d.ts +2 -2
- package/dist/src/Card/index.js +2 -0
- package/dist/src/Checkbox/Checkbox.d.ts +18 -18
- package/dist/src/Checkbox/Checkbox.js +97 -0
- package/dist/src/Checkbox/Checkbox.story.d.ts +58 -58
- package/dist/src/Checkbox/Checkbox.story.js +73 -0
- package/dist/src/Checkbox/CheckboxGroup.d.ts +20 -20
- package/dist/src/Checkbox/CheckboxGroup.js +44 -0
- package/dist/src/Checkbox/CheckboxGroup.story.d.ts +36 -36
- package/dist/src/Checkbox/CheckboxGroup.story.js +45 -0
- package/dist/src/Checkbox/index.d.ts +2 -2
- package/dist/src/Checkbox/index.js +2 -0
- package/dist/src/DatePickers/DatePicker.d.ts +4 -4
- package/dist/src/DatePickers/DatePicker.js +51 -0
- package/dist/src/DatePickers/MonthPicker.d.ts +6 -6
- package/dist/src/DatePickers/MonthPicker.js +41 -0
- package/dist/src/DatePickers/WeekPicker.d.ts +27 -27
- package/dist/src/DatePickers/WeekPicker.js +131 -0
- package/dist/src/DatePickers/custom/MonthPickerHeader.d.ts +5 -5
- package/dist/src/DatePickers/custom/MonthPickerHeader.js +13 -0
- package/dist/src/DatePickers/custom/weekPickerStyles.d.ts +5 -5
- package/dist/src/DatePickers/custom/weekPickerStyles.js +107 -0
- package/dist/src/DatePickers/index.d.ts +3 -3
- package/dist/src/DatePickers/index.js +3 -0
- package/dist/src/DatePickers/shared/components/BasePicker.d.ts +16 -16
- package/dist/src/DatePickers/shared/components/BasePicker.js +64 -0
- package/dist/src/DatePickers/shared/components/DatePickerHeader.d.ts +15 -15
- package/dist/src/DatePickers/shared/components/DatePickerHeader.js +19 -0
- package/dist/src/DatePickers/shared/components/DatePickerInput.d.ts +18 -18
- package/dist/src/DatePickers/shared/components/DatePickerInput.js +45 -0
- package/dist/src/DatePickers/shared/helpers.d.ts +4 -4
- package/dist/src/DatePickers/shared/helpers.js +6 -0
- package/dist/src/DatePickers/shared/styles.d.ts +2 -2
- package/dist/src/DatePickers/shared/styles.js +165 -0
- package/dist/src/DatePickers/shared/types.d.ts +23 -23
- package/dist/src/DatePickers/shared/types.js +1 -0
- package/dist/src/DatePickers/stories/DatePicker.story.d.ts +12 -12
- package/dist/src/DatePickers/stories/DatePicker.story.js +46 -0
- package/dist/src/DatePickers/stories/MonthPicker.story.d.ts +11 -11
- package/dist/src/DatePickers/stories/MonthPicker.story.js +50 -0
- package/dist/src/DatePickers/stories/WeekPicker.story.d.ts +13 -13
- package/dist/src/DatePickers/stories/WeekPicker.story.js +44 -0
- package/dist/src/DateRange/DateRange.d.ts +36 -36
- package/dist/src/DateRange/DateRange.js +105 -0
- package/dist/src/DateRange/DateRange.story.d.ts +17 -17
- package/dist/src/DateRange/DateRange.story.js +67 -0
- package/dist/src/DateRange/DateRangeStyles.d.ts +23 -23
- package/dist/src/DateRange/DateRangeStyles.js +61 -0
- package/dist/src/DateRange/EndTime.d.ts +49 -49
- package/dist/src/DateRange/EndTime.js +6 -0
- package/dist/src/DateRange/StartTime.d.ts +49 -49
- package/dist/src/DateRange/StartTime.js +6 -0
- package/dist/src/DateRange/index.d.ts +1 -1
- package/dist/src/DateRange/index.js +1 -0
- package/dist/src/Decorations/index.d.ts +3 -3
- package/dist/src/Decorations/index.js +17 -0
- package/dist/src/DescriptionList/DescriptionList.d.ts +3 -3
- package/dist/src/DescriptionList/DescriptionList.js +22 -0
- package/dist/src/DescriptionList/DescriptionList.parts.d.ts +14 -14
- package/dist/src/DescriptionList/DescriptionList.parts.js +109 -0
- package/dist/src/DescriptionList/DescriptionListContext.d.ts +19 -19
- package/dist/src/DescriptionList/DescriptionListContext.js +24 -0
- package/dist/src/DescriptionList/index.d.ts +5 -5
- package/dist/src/DescriptionList/index.js +4 -0
- package/dist/src/DescriptionList/lib/types.d.ts +26 -26
- package/dist/src/DescriptionList/lib/types.js +1 -0
- package/dist/src/DescriptionList/lib/utils.d.ts +5 -5
- package/dist/src/DescriptionList/lib/utils.js +8 -0
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.d.ts +17 -17
- package/dist/src/DescriptionList/stories/DescriptionList.column.story.js +53 -0
- package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.d.ts +9 -9
- package/dist/src/DescriptionList/stories/DescriptionList.group-min-width.story.js +26 -0
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.d.ts +17 -17
- package/dist/src/DescriptionList/stories/DescriptionList.layout.story.js +58 -0
- package/dist/src/DescriptionList/stories/DescriptionList.playground.story.d.ts +9 -9
- package/dist/src/DescriptionList/stories/DescriptionList.playground.story.js +217 -0
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.d.ts +10 -10
- package/dist/src/DescriptionList/stories/DescriptionList.sizing.story.js +52 -0
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.d.ts +10 -10
- package/dist/src/DescriptionList/stories/DescriptionList.spanning.story.js +79 -0
- package/dist/src/DescriptionList/stories/DescriptionList.story.d.ts +8 -8
- package/dist/src/DescriptionList/stories/DescriptionList.story.js +7 -0
- package/dist/src/DescriptionList/stories/fixtures.d.ts +17 -17
- package/dist/src/DescriptionList/stories/fixtures.js +57 -0
- package/dist/src/Divider/Divider.d.ts +7 -7
- package/dist/src/Divider/Divider.js +12 -0
- package/dist/src/Divider/Divider.story.d.ts +10 -10
- package/dist/src/Divider/Divider.story.js +23 -0
- package/dist/src/Divider/index.d.ts +1 -1
- package/dist/src/Divider/index.js +1 -0
- package/dist/src/DropdownMenu/DropdownButton.d.ts +13 -13
- package/dist/src/DropdownMenu/DropdownButton.js +42 -0
- package/dist/src/DropdownMenu/DropdownItem.d.ts +8 -8
- package/dist/src/DropdownMenu/DropdownItem.js +40 -0
- package/dist/src/DropdownMenu/DropdownLink.d.ts +12 -12
- package/dist/src/DropdownMenu/DropdownLink.js +47 -0
- package/dist/src/DropdownMenu/DropdownMenu.d.ts +27 -27
- package/dist/src/DropdownMenu/DropdownMenu.js +40 -0
- package/dist/src/DropdownMenu/DropdownMenu.story.d.ts +60 -60
- package/dist/src/DropdownMenu/DropdownMenu.story.js +81 -0
- package/dist/src/DropdownMenu/DropdownMenuContainer.d.ts +12 -12
- package/dist/src/DropdownMenu/DropdownMenuContainer.js +29 -0
- package/dist/src/DropdownMenu/DropdownText.d.ts +13 -13
- package/dist/src/DropdownMenu/DropdownText.js +15 -0
- package/dist/src/DropdownMenu/index.d.ts +5 -5
- package/dist/src/DropdownMenu/index.js +5 -0
- package/dist/src/FieldLabel/FieldLabel.d.ts +3 -3
- package/dist/src/FieldLabel/FieldLabel.js +31 -0
- package/dist/src/FieldLabel/FieldLabel.story.d.ts +17 -17
- package/dist/src/FieldLabel/FieldLabel.story.js +40 -0
- package/dist/src/FieldLabel/FieldLabel.type.d.ts +14 -14
- package/dist/src/FieldLabel/FieldLabel.type.js +6 -0
- package/dist/src/FieldLabel/HelpText.d.ts +12 -12
- package/dist/src/FieldLabel/HelpText.js +11 -0
- package/dist/src/FieldLabel/Label.d.ts +7 -7
- package/dist/src/FieldLabel/Label.js +7 -0
- package/dist/src/FieldLabel/LabelText.d.ts +4 -4
- package/dist/src/FieldLabel/LabelText.js +13 -0
- package/dist/src/FieldLabel/MaybeFieldLabel.d.ts +7 -7
- package/dist/src/FieldLabel/MaybeFieldLabel.js +18 -0
- package/dist/src/FieldLabel/RequirementText.d.ts +4 -4
- package/dist/src/FieldLabel/RequirementText.js +4 -0
- package/dist/src/FieldLabel/index.d.ts +4 -4
- package/dist/src/FieldLabel/index.js +4 -0
- package/dist/src/Flex/Flex.d.ts +9 -9
- package/dist/src/Flex/Flex.js +11 -0
- package/dist/src/Flex/Flex.story.d.ts +108 -108
- package/dist/src/Flex/Flex.story.js +200 -0
- package/dist/src/Flex/index.d.ts +2 -2
- package/dist/src/Flex/index.js +2 -0
- package/dist/src/Form/Field.d.ts +5 -5
- package/dist/src/Form/Field.js +7 -0
- package/dist/src/Form/Fieldset.d.ts +3 -3
- package/dist/src/Form/Fieldset.js +12 -0
- package/dist/src/Form/Form.d.ts +8 -8
- package/dist/src/Form/Form.js +47 -0
- package/dist/src/Form/Form.story.d.ts +31 -31
- package/dist/src/Form/Form.story.js +85 -0
- package/dist/src/Form/FormSection.d.ts +6 -6
- package/dist/src/Form/FormSection.js +42 -0
- package/dist/src/Form/index.d.ts +4 -4
- package/dist/src/Form/index.js +4 -0
- package/dist/src/Icon/Icon.d.ts +16 -16
- package/dist/src/Icon/Icon.js +57 -0
- package/dist/src/Icon/Icon.story.d.ts +41 -41
- package/dist/src/Icon/Icon.story.js +66 -0
- package/dist/src/Icon/LoadingIcon.d.ts +6 -6
- package/dist/src/Icon/LoadingIcon.js +30 -0
- package/dist/src/Icon/index.d.ts +2 -2
- package/dist/src/Icon/index.js +2 -0
- package/dist/src/Input/Input.d.ts +10 -10
- package/dist/src/Input/Input.js +27 -0
- package/dist/src/Input/Input.story.d.ts +56 -56
- package/dist/src/Input/Input.story.js +91 -0
- package/dist/src/Input/InputField.d.ts +31 -31
- package/dist/src/Input/InputField.js +107 -0
- package/dist/src/Input/Prefix.d.ts +8 -8
- package/dist/src/Input/Prefix.js +20 -0
- package/dist/src/Input/Suffix.d.ts +8 -8
- package/dist/src/Input/Suffix.js +19 -0
- package/dist/src/Input/index.d.ts +1 -1
- package/dist/src/Input/index.js +1 -0
- package/dist/src/Layout/ApplicationFrame.d.ts +9 -9
- package/dist/src/Layout/ApplicationFrame.js +24 -0
- package/dist/src/Layout/ApplicationFrame.story.d.ts +9 -9
- package/dist/src/Layout/ApplicationFrame.story.js +9 -0
- package/dist/src/Layout/Header.d.ts +17 -17
- package/dist/src/Layout/Header.js +41 -0
- package/dist/src/Layout/Header.story.d.ts +19 -19
- package/dist/src/Layout/Header.story.js +65 -0
- package/dist/src/Layout/Page.applicationFrame.story.d.ts +11 -11
- package/dist/src/Layout/Page.applicationFrame.story.js +24 -0
- package/dist/src/Layout/Page.d.ts +12 -12
- package/dist/src/Layout/Page.js +24 -0
- package/dist/src/Layout/Page.story.d.ts +13 -13
- package/dist/src/Layout/Page.story.js +31 -0
- package/dist/src/Layout/Sidebar.d.ts +25 -25
- package/dist/src/Layout/Sidebar.js +121 -0
- package/dist/src/Layout/Sidebar.story.d.ts +22 -22
- package/dist/src/Layout/Sidebar.story.js +205 -0
- package/dist/src/Layout/index.d.ts +4 -4
- package/dist/src/Layout/index.js +4 -0
- package/dist/src/Link/Link.d.ts +14 -14
- package/dist/src/Link/Link.js +54 -0
- package/dist/src/Link/Link.story.d.ts +55 -55
- package/dist/src/Link/Link.story.js +42 -0
- package/dist/src/Link/index.d.ts +1 -1
- package/dist/src/Link/index.js +1 -0
- package/dist/src/List/List.d.ts +10 -10
- package/dist/src/List/List.js +13 -0
- package/dist/src/List/List.story.d.ts +30 -30
- package/dist/src/List/List.story.js +37 -0
- package/dist/src/List/ListItem.d.ts +5 -5
- package/dist/src/List/ListItem.js +10 -0
- package/dist/src/List/index.d.ts +2 -2
- package/dist/src/List/index.js +2 -0
- package/dist/src/LoadingAnimation/LoadingAnimation.d.ts +6 -6
- package/dist/src/LoadingAnimation/LoadingAnimation.js +29 -0
- package/dist/src/LoadingAnimation/LoadingAnimation.story.d.ts +19 -19
- package/dist/src/LoadingAnimation/LoadingAnimation.story.js +33 -0
- package/dist/src/LoadingAnimation/index.d.ts +1 -1
- package/dist/src/LoadingAnimation/index.js +1 -0
- package/dist/src/{Tooltip2 → MiniTooltip}/index.d.ts +10 -10
- package/dist/src/MiniTooltip/index.js +83 -0
- package/dist/src/Modal/Modal.d.ts +25 -25
- package/dist/src/Modal/Modal.js +80 -0
- package/dist/src/Modal/Modal.story.d.ts +66 -66
- package/dist/src/Modal/Modal.story.js +120 -0
- package/dist/src/Modal/ModalCloseButton.d.ts +7 -7
- package/dist/src/Modal/ModalCloseButton.js +8 -0
- package/dist/src/Modal/ModalContent.d.ts +8 -8
- package/dist/src/Modal/ModalContent.js +11 -0
- package/dist/src/Modal/ModalFooter.d.ts +3 -3
- package/dist/src/Modal/ModalFooter.js +20 -0
- package/dist/src/Modal/ModalHeader.d.ts +5 -5
- package/dist/src/Modal/ModalHeader.js +21 -0
- package/dist/src/Modal/index.d.ts +1 -1
- package/dist/src/Modal/index.js +1 -0
- package/dist/src/NDSProvider/ComponentVariantContext.d.ts +10 -10
- package/dist/src/NDSProvider/ComponentVariantContext.js +12 -0
- package/dist/src/NDSProvider/FeatureFlagsContext.d.ts +12 -12
- package/dist/src/NDSProvider/FeatureFlagsContext.js +12 -0
- package/dist/src/NDSProvider/GlobalStyles.d.ts +5 -5
- package/dist/src/NDSProvider/GlobalStyles.js +29 -0
- package/dist/src/NDSProvider/GlobalStylesComposer.d.ts +10 -10
- package/dist/src/NDSProvider/GlobalStylesComposer.js +13 -0
- package/dist/src/NDSProvider/LocaleContext.d.ts +11 -11
- package/dist/src/NDSProvider/LocaleContext.js +12 -0
- package/dist/src/NDSProvider/ModalStyleOverride.d.ts +5 -5
- package/dist/src/NDSProvider/ModalStyleOverride.js +32 -0
- package/dist/src/NDSProvider/NDSProvider.d.ts +14 -14
- package/dist/src/NDSProvider/NDSProvider.js +22 -0
- package/dist/src/NDSProvider/Reset.d.ts +3 -3
- package/dist/src/NDSProvider/Reset.js +9 -0
- package/dist/src/NDSProvider/index.d.ts +1 -1
- package/dist/src/NDSProvider/index.js +1 -0
- package/dist/src/NDSProvider/mountWithNDSProvider.spec-utils.d.ts +1 -1
- package/dist/src/NDSProvider/mountWithNDSProvider.spec-utils.js +4 -0
- package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.d.ts +1 -1
- package/dist/src/NDSProvider/renderWithNDSProvider.spec-utils.js +4 -0
- package/dist/src/NavBarSearch/NavBarSearch.d.ts +11 -0
- package/dist/src/NavBarSearch/NavBarSearch.js +78 -0
- package/dist/src/NavBarSearch/index.d.ts +1 -0
- package/dist/src/NavBarSearch/index.js +1 -0
- package/dist/src/Navigation/Navigation.d.ts +16 -16
- package/dist/src/Navigation/Navigation.js +26 -0
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.d.ts +14 -14
- package/dist/src/Navigation/components/AppSwitcher/NulogyAppSwitcher.js +74 -0
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.d.ts +4 -4
- package/dist/src/Navigation/components/AppSwitcher/parts/Item.js +23 -0
- package/dist/src/Navigation/components/AppSwitcher/parts/Link.d.ts +8 -8
- package/dist/src/Navigation/components/AppSwitcher/parts/Link.js +39 -0
- package/dist/src/Navigation/components/AppSwitcher/parts/index.d.ts +56 -56
- package/dist/src/Navigation/components/AppSwitcher/parts/index.js +35 -0
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.d.ts +5 -5
- package/dist/src/Navigation/components/DesktopNav/DesktopNav.js +48 -0
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.d.ts +8 -8
- package/dist/src/Navigation/components/DesktopNav/parts/MoreMenuItem.js +20 -0
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.d.ts +6 -6
- package/dist/src/Navigation/components/EnvironmentBanner/EnvironmentBanner.js +6 -0
- package/dist/src/Navigation/components/EnvironmentBanner/index.d.ts +2 -2
- package/dist/src/Navigation/components/EnvironmentBanner/index.js +1 -0
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.d.ts +8 -8
- package/dist/src/Navigation/components/MenuSubItem/MenuSubItem.js +41 -0
- package/dist/src/Navigation/components/MenuSubItem/parts/styled.d.ts +8 -8
- package/dist/src/Navigation/components/MenuSubItem/parts/styled.js +40 -0
- package/dist/src/Navigation/components/MobileNav/MobileNav.d.ts +5 -5
- package/dist/src/Navigation/components/MobileNav/MobileNav.js +46 -0
- package/dist/src/Navigation/components/MobileNav/parts/MobileMenuItem.d.ts +9 -9
- package/dist/src/Navigation/components/MobileNav/parts/MobileMenuItem.js +84 -0
- package/dist/src/Navigation/components/MobileNav/parts/styled.d.ts +18 -18
- package/dist/src/Navigation/components/MobileNav/parts/styled.js +23 -0
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.d.ts +6 -6
- package/dist/src/Navigation/components/NulogyLogo/NulogyLogo.js +20 -0
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.d.ts +2 -2
- package/dist/src/Navigation/components/NulogyLogo/SvgNulogyLogo.js +11 -0
- package/dist/src/Navigation/components/UserMenu/UserMenu.d.ts +14 -14
- package/dist/src/Navigation/components/UserMenu/UserMenu.js +16 -0
- package/dist/src/Navigation/components/UserMenu/parts/Header.d.ts +7 -7
- package/dist/src/Navigation/components/UserMenu/parts/Header.js +39 -0
- package/dist/src/Navigation/components/UserMenu/parts/Item.d.ts +10 -10
- package/dist/src/Navigation/components/UserMenu/parts/Item.js +23 -0
- package/dist/src/Navigation/components/UserMenu/parts/MobileItem.d.ts +6 -6
- package/dist/src/Navigation/components/UserMenu/parts/MobileItem.js +27 -0
- package/dist/src/Navigation/components/UserMenu/parts/styled.d.ts +8 -8
- package/dist/src/Navigation/components/UserMenu/parts/styled.js +21 -0
- package/dist/src/Navigation/components/shared/NavigationLogo.d.ts +8 -8
- package/dist/src/Navigation/components/shared/NavigationLogo.js +27 -0
- package/dist/src/Navigation/components/shared/NavigationLogoLink.d.ts +7 -7
- package/dist/src/Navigation/components/shared/NavigationLogoLink.js +23 -0
- package/dist/src/Navigation/components/shared/NavigationMenuContent.d.ts +7 -7
- package/dist/src/Navigation/components/shared/NavigationMenuContent.js +23 -0
- package/dist/src/Navigation/components/shared/NavigationMenuItem.d.ts +12 -12
- package/dist/src/Navigation/components/shared/NavigationMenuItem.js +76 -0
- package/dist/src/Navigation/components/shared/components.d.ts +17 -17
- package/dist/src/Navigation/components/shared/components.js +87 -0
- package/dist/src/Navigation/components/shared/constants.d.ts +6 -6
- package/dist/src/Navigation/components/shared/constants.js +5 -0
- package/dist/src/Navigation/components/shared/disableHoverEvents.d.ts +6 -6
- package/dist/src/Navigation/components/shared/disableHoverEvents.js +5 -0
- package/dist/src/Navigation/components/utils/getNavigationBarItems.d.ts +2 -2
- package/dist/src/Navigation/components/utils/getNavigationBarItems.js +15 -0
- package/dist/src/Navigation/hooks/useResponsiveMenu.d.ts +12 -12
- package/dist/src/Navigation/hooks/useResponsiveMenu.js +66 -0
- package/dist/src/Navigation/index.d.ts +9 -9
- package/dist/src/Navigation/index.js +5 -0
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.d.ts +12 -12
- package/dist/src/Navigation/stories/Navigation.appSwitcher.story.js +147 -0
- package/dist/src/Navigation/stories/Navigation.logos.story.d.ts +22 -22
- package/dist/src/Navigation/stories/Navigation.logos.story.js +116 -0
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.d.ts +13 -13
- package/dist/src/Navigation/stories/Navigation.mobileVisibility.story.js +172 -0
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.d.ts +13 -13
- package/dist/src/Navigation/stories/Navigation.navigationMenus.story.js +305 -0
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.d.ts +11 -11
- package/dist/src/Navigation/stories/Navigation.navigationMenus.subMenus.story.js +203 -0
- package/dist/src/Navigation/stories/Navigation.story.d.ts +11 -11
- package/dist/src/Navigation/stories/Navigation.story.js +208 -0
- package/dist/src/Navigation/stories/Navigation.userMenu.story.d.ts +13 -13
- package/dist/src/Navigation/stories/Navigation.userMenu.story.js +215 -0
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo2.js +15 -0
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/CustomLogo3.js +31 -0
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.d.ts +2 -2
- package/dist/src/Navigation/stories/fixtures/logos/Customlogo1.js +5 -0
- package/dist/src/Navigation/types.d.ts +86 -86
- package/dist/src/Navigation/types.js +1 -0
- package/dist/src/Overlay/Overlay.d.ts +7 -7
- package/dist/src/Overlay/Overlay.js +15 -0
- package/dist/src/Overlay/Overlay.story.d.ts +12 -12
- package/dist/src/Overlay/Overlay.story.js +17 -0
- package/dist/src/Overlay/index.d.ts +1 -1
- package/dist/src/Overlay/index.js +1 -0
- package/dist/src/Pagination/NextButton.d.ts +10 -10
- package/dist/src/Pagination/NextButton.js +13 -0
- package/dist/src/Pagination/PageNumber.d.ts +12 -12
- package/dist/src/Pagination/PageNumber.js +7 -0
- package/dist/src/Pagination/Pagination.d.ts +19 -19
- package/dist/src/Pagination/Pagination.js +66 -0
- package/dist/src/Pagination/Pagination.story.d.ts +26 -26
- package/dist/src/Pagination/Pagination.story.js +93 -0
- package/dist/src/Pagination/PaginationButton.d.ts +7 -7
- package/dist/src/Pagination/PaginationButton.js +27 -0
- package/dist/src/Pagination/PaginationCount.d.ts +7 -7
- package/dist/src/Pagination/PaginationCount.js +8 -0
- package/dist/src/Pagination/PreviousButton.d.ts +10 -10
- package/dist/src/Pagination/PreviousButton.js +13 -0
- package/dist/src/Pagination/index.d.ts +1 -1
- package/dist/src/Pagination/index.js +1 -0
- package/dist/src/Pagination/lib.d.ts +9 -9
- package/dist/src/Pagination/lib.js +39 -0
- package/dist/src/Popper/Popper.d.ts +20 -20
- package/dist/src/Popper/Popper.js +107 -0
- package/dist/src/Popper/index.d.ts +1 -1
- package/dist/src/Popper/index.js +1 -0
- package/dist/src/Primitives/index.d.ts +5 -5
- package/dist/src/Primitives/index.js +5 -0
- package/dist/src/Radio/Radio.d.ts +14 -14
- package/dist/src/Radio/Radio.js +118 -0
- package/dist/src/Radio/Radio.story.d.ts +37 -37
- package/dist/src/Radio/Radio.story.js +44 -0
- package/dist/src/Radio/RadioGroup.d.ts +20 -20
- package/dist/src/Radio/RadioGroup.js +41 -0
- package/dist/src/Radio/RadioGroup.story.d.ts +46 -46
- package/dist/src/Radio/RadioGroup.story.js +54 -0
- package/dist/src/Radio/index.d.ts +2 -2
- package/dist/src/Radio/index.js +2 -0
- package/dist/src/RangeContainer/RangeContainer.d.ts +12 -12
- package/dist/src/RangeContainer/RangeContainer.js +35 -0
- package/dist/src/RangeContainer/RangeContainer.story.d.ts +11 -11
- package/dist/src/RangeContainer/RangeContainer.story.js +9 -0
- package/dist/src/RangeContainer/index.d.ts +1 -1
- package/dist/src/RangeContainer/index.js +1 -0
- package/dist/src/Select/MenuList.d.ts +3 -3
- package/dist/src/Select/MenuList.js +126 -0
- package/dist/src/Select/Select.d.ts +32 -32
- package/dist/src/Select/Select.js +60 -0
- package/dist/src/Select/Select.spec-utils.d.ts +5 -5
- package/dist/src/Select/Select.spec-utils.js +14 -0
- package/dist/src/Select/Select.story.d.ts +110 -110
- package/dist/src/Select/Select.story.fixture.d.ts +24 -24
- package/dist/src/Select/Select.story.fixture.js +89 -0
- package/dist/src/Select/Select.story.js +196 -0
- package/dist/src/Select/SelectComponents.d.ts +10 -10
- package/dist/src/Select/SelectComponents.js +31 -0
- package/dist/src/Select/SelectOption.d.ts +12 -12
- package/dist/src/Select/SelectOption.js +42 -0
- package/dist/src/Select/customReactSelectStyles.d.ts +40 -40
- package/dist/src/Select/customReactSelectStyles.js +162 -0
- package/dist/src/Select/index.d.ts +3 -3
- package/dist/src/Select/index.js +3 -0
- package/dist/src/Select/lib.d.ts +21 -21
- package/dist/src/Select/lib.js +85 -0
- package/dist/src/SortingTable/SortingTable.d.ts +7 -7
- package/dist/src/SortingTable/SortingTable.js +49 -0
- package/dist/src/SortingTable/SortingTable.story.d.ts +8 -8
- package/dist/src/SortingTable/SortingTable.story.js +24 -0
- package/dist/src/SortingTable/index.d.ts +1 -1
- package/dist/src/SortingTable/index.js +1 -0
- package/dist/src/StatusIndicator/StatusIndicator.d.ts +17 -17
- package/dist/src/StatusIndicator/StatusIndicator.js +51 -0
- package/dist/src/StatusIndicator/StatusIndicator.story.d.ts +25 -25
- package/dist/src/StatusIndicator/StatusIndicator.story.js +64 -0
- package/dist/src/StatusIndicator/index.d.ts +2 -2
- package/dist/src/StatusIndicator/index.js +1 -0
- package/dist/src/StyledProps/index.d.ts +39 -39
- package/dist/src/StyledProps/index.js +36 -0
- package/dist/src/Summary/Summary.d.ts +7 -7
- package/dist/src/Summary/Summary.js +43 -0
- package/dist/src/Summary/Summary.story.d.ts +7 -7
- package/dist/src/Summary/Summary.story.js +20 -0
- package/dist/src/Summary/SummaryContext.d.ts +7 -7
- package/dist/src/Summary/SummaryContext.js +14 -0
- package/dist/src/Summary/SummaryDivider.d.ts +3 -3
- package/dist/src/Summary/SummaryDivider.js +21 -0
- package/dist/src/Summary/SummaryItem.d.ts +8 -8
- package/dist/src/Summary/SummaryItem.js +34 -0
- package/dist/src/Summary/index.d.ts +3 -3
- package/dist/src/Summary/index.js +3 -0
- package/dist/src/Switcher/Switch.d.ts +9 -9
- package/dist/src/Switcher/Switch.js +35 -0
- package/dist/src/Switcher/Switcher.d.ts +11 -11
- package/dist/src/Switcher/Switcher.js +53 -0
- package/dist/src/Switcher/Switcher.story.d.ts +8 -8
- package/dist/src/Switcher/Switcher.story.js +32 -0
- package/dist/src/Switcher/index.d.ts +2 -2
- package/dist/src/Switcher/index.js +2 -0
- package/dist/src/Table/BaseTable.d.ts +22 -22
- package/dist/src/Table/BaseTable.js +31 -0
- package/dist/src/Table/SortingColumnHeader.d.ts +10 -10
- package/dist/src/Table/SortingColumnHeader.js +13 -0
- package/dist/src/Table/StatefulTable.d.ts +107 -107
- package/dist/src/Table/StatefulTable.js +214 -0
- package/dist/src/Table/StyledTh.d.ts +8 -8
- package/dist/src/Table/StyledTh.js +15 -0
- package/dist/src/Table/Table.d.ts +13 -13
- package/dist/src/Table/Table.js +21 -0
- package/dist/src/Table/Table.mock-utils.d.ts +32 -0
- package/dist/src/Table/Table.mock-utils.js +58 -0
- package/dist/src/Table/Table.types.d.ts +28 -28
- package/dist/src/Table/Table.types.js +1 -0
- package/dist/src/Table/TableBody.d.ts +16 -16
- package/dist/src/Table/TableBody.js +37 -0
- package/dist/src/Table/TableCell.d.ts +10 -10
- package/dist/src/Table/TableCell.js +26 -0
- package/dist/src/Table/TableFoot.d.ts +10 -10
- package/dist/src/Table/TableFoot.js +26 -0
- package/dist/src/Table/TableHead.d.ts +9 -9
- package/dist/src/Table/TableHead.js +21 -0
- package/dist/src/Table/addExpandableControl.d.ts +4 -4
- package/dist/src/Table/addExpandableControl.js +38 -0
- package/dist/src/Table/addSelectableControl.d.ts +15 -15
- package/dist/src/Table/addSelectableControl.js +38 -0
- package/dist/src/Table/index.d.ts +3 -3
- package/dist/src/Table/index.js +2 -0
- package/dist/src/Table/stories/BaseTable.story.d.ts +19 -19
- package/dist/src/Table/stories/BaseTable.story.js +300 -0
- package/dist/src/Table/stories/CustomContent.story.d.ts +7 -7
- package/dist/src/Table/stories/CustomContent.story.js +281 -0
- package/dist/src/Table/stories/Density.story.d.ts +17 -17
- package/dist/src/Table/stories/Density.story.js +68 -0
- package/dist/src/Table/stories/SortingColumnHeader.story.d.ts +6 -6
- package/dist/src/Table/stories/SortingColumnHeader.story.js +8 -0
- package/dist/src/Table/stories/Table.story.d.ts +18 -18
- package/dist/src/Table/stories/Table.story.js +302 -0
- package/dist/src/Table/stories/TableWithCustomSorting.story.d.ts +11 -11
- package/dist/src/Table/stories/TableWithCustomSorting.story.js +60 -0
- package/dist/src/Table/stories/TableWithExpandableRows.story.d.ts +17 -17
- package/dist/src/Table/stories/TableWithExpandableRows.story.js +75 -0
- package/dist/src/Table/stories/TableWithFiltering.story.d.ts +17 -17
- package/dist/src/Table/stories/TableWithFiltering.story.js +54 -0
- package/dist/src/Table/stories/TableWithSelectableRows.story.d.ts +17 -17
- package/dist/src/Table/stories/TableWithSelectableRows.story.js +69 -0
- package/dist/src/Table/stories/TableWithServerSidePagination.story.d.ts +11 -11
- package/dist/src/Table/stories/TableWithServerSidePagination.story.js +73 -0
- package/dist/src/Tabs/Tab.d.ts +12 -12
- package/dist/src/Tabs/Tab.js +87 -0
- package/dist/src/Tabs/TabContainer.d.ts +3 -3
- package/dist/src/Tabs/TabContainer.js +24 -0
- package/dist/src/Tabs/TabScrollIndicator.d.ts +11 -11
- package/dist/src/Tabs/TabScrollIndicator.js +61 -0
- package/dist/src/Tabs/TabScrollIndicators.d.ts +30 -30
- package/dist/src/Tabs/TabScrollIndicators.js +132 -0
- package/dist/src/Tabs/Tabs.d.ts +27 -27
- package/dist/src/Tabs/Tabs.js +110 -0
- package/dist/src/Tabs/Tabs.story.d.ts +55 -55
- package/dist/src/Tabs/Tabs.story.js +109 -0
- package/dist/src/Tabs/index.d.ts +4 -4
- package/dist/src/Tabs/index.js +4 -0
- package/dist/src/Textarea/StyledTextarea.d.ts +15 -15
- package/dist/src/Textarea/StyledTextarea.js +59 -0
- package/dist/src/Textarea/Textarea.d.ts +18 -18
- package/dist/src/Textarea/Textarea.js +30 -0
- package/dist/src/Textarea/Textarea.story.d.ts +14 -14
- package/dist/src/Textarea/Textarea.story.js +24 -0
- package/dist/src/Textarea/index.d.ts +1 -1
- package/dist/src/Textarea/index.js +1 -0
- package/dist/src/TimePicker/TimePicker.d.ts +42 -42
- package/dist/src/TimePicker/TimePicker.js +231 -0
- package/dist/src/TimePicker/TimePicker.story.d.ts +65 -65
- package/dist/src/TimePicker/TimePicker.story.js +58 -0
- package/dist/src/TimePicker/TimePickerDropdown.d.ts +3 -3
- package/dist/src/TimePicker/TimePickerDropdown.js +23 -0
- package/dist/src/TimePicker/TimePickerInput.d.ts +7 -7
- package/dist/src/TimePicker/TimePickerInput.js +7 -0
- package/dist/src/TimePicker/TimePickerOption.d.ts +10 -10
- package/dist/src/TimePicker/TimePickerOption.js +26 -0
- package/dist/src/TimePicker/index.d.ts +1 -1
- package/dist/src/TimePicker/index.js +1 -0
- package/dist/src/TimeRange/TimeRange.d.ts +24 -24
- package/dist/src/TimeRange/TimeRange.js +81 -0
- package/dist/src/TimeRange/TimeRange.story.d.ts +35 -35
- package/dist/src/TimeRange/TimeRange.story.js +39 -0
- package/dist/src/TimeRange/TimeRange.utils.d.ts +1 -1
- package/dist/src/TimeRange/TimeRange.utils.js +12 -0
- package/dist/src/TimeRange/index.d.ts +1 -1
- package/dist/src/TimeRange/index.js +1 -0
- package/dist/src/Toast/Toast.d.ts +36 -36
- package/dist/src/Toast/Toast.js +93 -0
- package/dist/src/Toast/Toast.story.d.ts +42 -42
- package/dist/src/Toast/Toast.story.js +192 -0
- package/dist/src/Toast/index.d.ts +1 -1
- package/dist/src/Toast/index.js +1 -0
- package/dist/src/ToastContainer/ToastContainer.d.ts +10 -10
- package/dist/src/ToastContainer/ToastContainer.js +31 -0
- package/dist/src/ToastContainer/ToastContainer.story.d.ts +6 -6
- package/dist/src/ToastContainer/ToastContainer.story.js +83 -0
- package/dist/src/ToastContainer/ToastFunction.d.ts +14 -14
- package/dist/src/ToastContainer/ToastFunction.js +32 -0
- package/dist/src/ToastContainer/index.d.ts +2 -2
- package/dist/src/ToastContainer/index.js +2 -0
- package/dist/src/Toggle/Toggle.d.ts +27 -27
- package/dist/src/Toggle/Toggle.js +68 -0
- package/dist/src/Toggle/Toggle.story.d.ts +50 -50
- package/dist/src/Toggle/Toggle.story.js +51 -0
- package/dist/src/Toggle/ToggleButton.d.ts +11 -11
- package/dist/src/Toggle/ToggleButton.js +67 -0
- package/dist/src/Toggle/index.d.ts +1 -1
- package/dist/src/Toggle/index.js +1 -0
- package/dist/src/Tokens/Tokens.story.d.ts +14 -14
- package/dist/src/Tokens/Tokens.story.js +80 -0
- package/dist/src/Tooltip/Tooltip.d.ts +19 -13
- package/dist/src/Tooltip/Tooltip.js +13 -0
- package/dist/src/Tooltip/Tooltip.story.d.ts +61 -68
- package/dist/src/Tooltip/Tooltip.story.js +121 -0
- package/dist/src/Tooltip/TooltipContainer.d.ts +11 -11
- package/dist/src/Tooltip/TooltipContainer.js +31 -0
- package/dist/src/{TruncatedText → Tooltip}/components/TooltipComponents.d.ts +17 -17
- package/dist/src/Tooltip/components/TooltipComponents.js +143 -0
- package/dist/src/Tooltip/helpers.d.ts +8 -0
- package/dist/src/Tooltip/helpers.js +4 -0
- package/dist/src/Tooltip/index.d.ts +1 -1
- package/dist/src/Tooltip/index.js +1 -0
- package/dist/src/TopBar/TopBar.d.ts +18 -18
- package/dist/src/TopBar/TopBar.js +20 -0
- package/dist/src/TopBar/TopBar.styled.d.ts +282 -282
- package/dist/src/TopBar/TopBar.styled.js +140 -0
- package/dist/src/TopBar/components/BackLink.d.ts +7 -7
- package/dist/src/TopBar/components/BackLink.js +31 -0
- package/dist/src/TopBar/components/Menu.d.ts +6 -6
- package/dist/src/TopBar/components/Menu.js +67 -0
- package/dist/src/TopBar/components/MenuItem.d.ts +2 -2
- package/dist/src/TopBar/components/MenuItem.js +27 -0
- package/dist/src/TopBar/components/MenuItemLink.d.ts +9 -9
- package/dist/src/TopBar/components/MenuItemLink.js +26 -0
- package/dist/src/TopBar/components/PageTitle.d.ts +3 -3
- package/dist/src/TopBar/components/PageTitle.js +17 -0
- package/dist/src/TopBar/constants.d.ts +3 -3
- package/dist/src/TopBar/constants.js +3 -0
- package/dist/src/TopBar/index.d.ts +2 -2
- package/dist/src/TopBar/index.js +1 -0
- package/dist/src/TopBar/stories/TopBar.backButton.story.d.ts +19 -19
- package/dist/src/TopBar/stories/TopBar.backButton.story.js +40 -0
- package/dist/src/TopBar/stories/TopBar.menu.story.d.ts +22 -22
- package/dist/src/TopBar/stories/TopBar.menu.story.js +64 -0
- package/dist/src/TopBar/stories/TopBar.story.d.ts +19 -19
- package/dist/src/TopBar/stories/TopBar.story.js +59 -0
- package/dist/src/TopBar/stories/fixtures.d.ts +44 -44
- package/dist/src/TopBar/stories/fixtures.js +54 -0
- package/dist/src/TruncatedText/TruncatedText.d.ts +4 -4
- package/dist/src/TruncatedText/TruncatedText.js +24 -0
- package/dist/src/TruncatedText/TruncatedText.story.d.ts +57 -57
- package/dist/src/TruncatedText/TruncatedText.story.js +51 -0
- package/dist/src/TruncatedText/components/MaybeTooltip.d.ts +24 -14
- package/dist/src/TruncatedText/components/MaybeTooltip.js +10 -0
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.d.ts +4 -4
- package/dist/src/TruncatedText/components/TruncatedTextFillWidth.js +28 -0
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.d.ts +4 -4
- package/dist/src/TruncatedText/components/TruncatedTextMaxCharacters.js +24 -0
- package/dist/src/TruncatedText/index.d.ts +1 -1
- package/dist/src/TruncatedText/index.js +1 -0
- package/dist/src/TruncatedText/types.d.ts +13 -13
- package/dist/src/TruncatedText/types.js +1 -0
- package/dist/src/Type/Headings.d.ts +50 -50
- package/dist/src/Type/Headings.js +67 -0
- package/dist/src/Type/Headings.story.d.ts +8 -8
- package/dist/src/Type/Headings.story.js +17 -0
- package/dist/src/Type/Text.d.ts +13 -13
- package/dist/src/Type/Text.js +17 -0
- package/dist/src/Type/Text.story.d.ts +36 -36
- package/dist/src/Type/Text.story.js +44 -0
- package/dist/src/Type/Typography.story.d.ts +7 -7
- package/dist/src/Type/Typography.story.js +214 -0
- package/dist/src/Type/index.d.ts +3 -3
- package/dist/src/Type/index.js +2 -0
- package/dist/src/Validation/InlineValidation.d.ts +10 -10
- package/dist/src/Validation/InlineValidation.js +34 -0
- package/dist/src/Validation/InlineValidation.story.d.ts +24 -24
- package/dist/src/Validation/InlineValidation.story.js +24 -0
- package/dist/src/Validation/index.d.ts +2 -2
- package/dist/src/Validation/index.js +2 -0
- package/dist/src/Validation/mapErrorsToList.d.ts +3 -3
- package/dist/src/Validation/mapErrorsToList.js +9 -0
- package/dist/src/VerticalDivider/VerticalDivider.d.ts +7 -7
- package/dist/src/VerticalDivider/VerticalDivider.js +16 -0
- package/dist/src/VerticalDivider/VerticalDivider.story.d.ts +8 -8
- package/dist/src/VerticalDivider/VerticalDivider.story.js +15 -0
- package/dist/src/VerticalDivider/index.d.ts +1 -1
- package/dist/src/VerticalDivider/index.js +1 -0
- package/dist/src/VisualTests/Select.story.d.ts +41 -41
- package/dist/src/VisualTests/Select.story.js +73 -0
- package/dist/src/VisualTests/WithSpace.story.d.ts +23 -23
- package/dist/src/VisualTests/WithSpace.story.js +115 -0
- package/dist/src/constants/index.d.ts +1 -1
- package/dist/src/constants/index.js +1 -0
- package/dist/src/constants/keyCodes.d.ts +15 -15
- package/dist/src/constants/keyCodes.js +15 -0
- package/dist/src/hooks/useMediaQuery/index.d.ts +2 -2
- package/dist/src/hooks/useMediaQuery/index.js +2 -0
- package/dist/src/hooks/useMediaQuery/useMediaQuery.d.ts +5 -5
- package/dist/src/hooks/useMediaQuery/useMediaQuery.js +30 -0
- package/dist/src/i18n.d.ts +2 -2
- package/dist/src/i18n.js +56 -0
- package/dist/src/index.d.ts +71 -71
- package/dist/src/index.js +59 -0
- package/dist/src/locale.story.d.ts +9 -9
- package/dist/src/locale.story.js +93 -0
- package/dist/src/locales.const.d.ts +53 -53
- package/dist/src/locales.const.js +66 -0
- package/dist/src/pages/ErrorPage.story.d.ts +21 -21
- package/dist/src/pages/ErrorPage.story.js +50 -0
- package/dist/src/pages/LoginPage.story.d.ts +30 -30
- package/dist/src/pages/LoginPage.story.js +71 -0
- package/dist/src/testing/matchers/toMatchDate.d.ts +0 -0
- package/dist/src/testing/matchers/toMatchDate.js +20 -0
- package/dist/src/testing/mockUtils/mockDates.d.ts +2 -0
- package/dist/src/testing/mockUtils/mockDates.js +17 -0
- package/dist/src/theme/NDSThemeProvider.d.ts +5 -5
- package/dist/src/theme/NDSThemeProvider.js +17 -0
- package/dist/src/theme/index.d.ts +2 -2
- package/dist/src/theme/index.js +1 -0
- package/dist/src/theme/mergeThemes.util.d.ts +2 -2
- package/dist/src/theme/mergeThemes.util.js +6 -0
- package/dist/src/theme/theme.d.ts +5 -5
- package/dist/src/theme/theme.js +652 -0
- package/dist/src/theme/theme.type.d.ts +153 -153
- package/dist/src/theme/theme.type.js +1 -0
- package/dist/src/theme/useNDSTheme.d.ts +21 -21
- package/dist/src/theme/useNDSTheme.js +32 -0
- package/dist/src/types/NulogyApp.d.ts +3 -3
- package/dist/src/types/NulogyApp.js +18 -0
- package/dist/src/utils/ClickInputLabel.d.ts +7 -7
- package/dist/src/utils/ClickInputLabel.js +13 -0
- package/dist/src/utils/DetectOutsideClick.d.ts +8 -0
- package/dist/src/utils/DetectOutsideClick.js +36 -0
- package/dist/src/utils/PopperArrow.d.ts +9 -9
- package/dist/src/utils/PopperArrow.js +132 -0
- package/dist/src/utils/ScrollIndicators.d.ts +16 -0
- package/dist/src/utils/ScrollIndicators.js +62 -0
- package/dist/src/utils/convertPxToNumber.d.ts +2 -0
- package/dist/src/utils/convertPxToNumber.js +4 -0
- package/dist/src/utils/datePickerLocales.d.ts +1 -0
- package/dist/src/utils/datePickerLocales.js +3 -0
- package/dist/src/utils/generateId.d.ts +2 -0
- package/dist/src/utils/generateId.js +7 -0
- package/dist/src/utils/index.d.ts +11 -11
- package/dist/src/utils/index.js +10 -0
- package/dist/src/utils/localized-date-fns.d.ts +1 -1
- package/dist/src/utils/localized-date-fns.js +5 -0
- package/dist/src/utils/noop.d.ts +5 -5
- package/dist/src/utils/noop.js +7 -0
- package/dist/src/utils/numberFromDimension/index.d.ts +5 -5
- package/dist/src/utils/numberFromDimension/index.js +7 -0
- package/dist/src/utils/numberFromDimension/numberFromDimension.spec.d.ts +1 -1
- package/dist/src/utils/numberFromDimension/numberFromDimension.spec.js +13 -0
- package/dist/src/utils/omit.d.ts +2 -0
- package/dist/src/utils/omit.js +6 -0
- package/dist/src/utils/story/code.d.ts +8 -8
- package/dist/src/utils/story/code.js +14 -0
- package/dist/src/utils/story/dashed.d.ts +9 -9
- package/dist/src/utils/story/dashed.js +12 -0
- package/dist/src/utils/story/placeholder.d.ts +7 -7
- package/dist/src/utils/story/placeholder.js +33 -0
- package/dist/src/utils/story/resizable.d.ts +25 -25
- package/dist/src/utils/story/resizable.js +38 -0
- package/dist/src/utils/story/simulatedAPIRequests.d.ts +4 -4
- package/dist/src/utils/story/simulatedAPIRequests.js +22 -0
- package/dist/src/utils/subPx.d.ts +9 -9
- package/dist/src/utils/subPx.js +10 -0
- package/dist/src/utils/subset.d.ts +3 -0
- package/dist/src/utils/subset.js +21 -0
- package/dist/src/utils/testing/createMatchMedia.d.ts +7 -7
- package/dist/src/utils/testing/createMatchMedia.js +17 -0
- package/dist/src/utils/testing/useConditionalAutoClick.d.ts +60 -60
- package/dist/src/utils/testing/useConditionalAutoClick.js +52 -0
- package/dist/src/utils/testing/useUrlProps.d.ts +6 -6
- package/dist/src/utils/testing/useUrlProps.js +23 -0
- package/dist/src/utils/ts/FocusManager.d.ts +17 -17
- package/dist/src/utils/ts/FocusManager.js +40 -0
- package/dist/src/utils/ts/recursivePartial.d.ts +3 -3
- package/dist/src/utils/ts/recursivePartial.js +1 -0
- package/dist/src/utils/useScrollLock.d.ts +55 -55
- package/dist/src/utils/useScrollLock.js +81 -0
- package/dist/src/utils/useWindowDimension.story.d.ts +6 -0
- package/dist/src/utils/useWindowDimension.story.js +25 -0
- package/dist/src/utils/useWindowDimensions.d.ts +39 -0
- package/dist/src/utils/useWindowDimensions.js +48 -0
- package/dist/src/utils/withMenuState.d.ts +12 -12
- package/dist/src/utils/withMenuState.js +76 -0
- package/dist/src/utils/withWindowDimensions.d.ts +3 -0
- package/dist/src/utils/withWindowDimensions.js +28 -0
- package/package.json +10 -14
- package/dist/src/TruncatedText/MaybeTooltip.d.ts +0 -8
- package/dist/src/TruncatedText/TooltipContent.d.ts +0 -7
|
@@ -0,0 +1,416 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import styled from "styled-components";
|
|
3
|
+
import { select } from "@storybook/addon-knobs";
|
|
4
|
+
import { BrowserRouter, Link as ReactRouterLink } from "react-router-dom";
|
|
5
|
+
import { Heading1 } from "../Type";
|
|
6
|
+
import { Icon } from "../Icon";
|
|
7
|
+
import { DropdownButton, DropdownLink } from "../DropdownMenu";
|
|
8
|
+
import { legacy as theme } from "../theme/theme";
|
|
9
|
+
import { Button } from "../Button";
|
|
10
|
+
import { Text } from "../Type";
|
|
11
|
+
import { BrandedNavBar as NDSBrandedNavBar } from "./index";
|
|
12
|
+
const sampleLogo = "http://pigment.github.io/fake-logos/logos/vector/color/auto-speed.svg";
|
|
13
|
+
const ResetStorybookView = styled.div({
|
|
14
|
+
position: "absolute",
|
|
15
|
+
top: 0,
|
|
16
|
+
left: 0,
|
|
17
|
+
width: "100vw",
|
|
18
|
+
height: "100vh",
|
|
19
|
+
});
|
|
20
|
+
const BrandedNavBar = (props) => (React.createElement(ResetStorybookView, null,
|
|
21
|
+
React.createElement(NDSBrandedNavBar, Object.assign({}, props)),
|
|
22
|
+
React.createElement(Heading1, { mt: "x3", ml: "x1" }, "Some content")));
|
|
23
|
+
const primaryMenu = [
|
|
24
|
+
{
|
|
25
|
+
name: "Dashboard",
|
|
26
|
+
items: [{ name: "Items", href: "/" }, { name: "Carriers", href: "/" }, { name: "Only text submenu" }],
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
name: "Operations",
|
|
30
|
+
items: [
|
|
31
|
+
{
|
|
32
|
+
name: "Production",
|
|
33
|
+
items: [
|
|
34
|
+
{ name: "Dashboard", href: "/" },
|
|
35
|
+
{
|
|
36
|
+
name: "Projects",
|
|
37
|
+
items: [
|
|
38
|
+
{ name: "Cycle Counts", href: "/" },
|
|
39
|
+
{ name: "Blind Counts", href: "/" },
|
|
40
|
+
{ name: "Preferences", href: "/" },
|
|
41
|
+
{ name: "Permissions", href: "/" },
|
|
42
|
+
{ name: "Manage account", href: "/" },
|
|
43
|
+
{ name: "More Link", href: "/" },
|
|
44
|
+
{ name: "One More Link", href: "/" },
|
|
45
|
+
{ name: "Test Link", href: "/" },
|
|
46
|
+
{ name: "Hello", href: "/" },
|
|
47
|
+
{ name: "World", href: "/" },
|
|
48
|
+
{ name: "Great!", href: "/" },
|
|
49
|
+
{ name: "Example", href: "/" },
|
|
50
|
+
{ name: "More Example", href: "/" },
|
|
51
|
+
],
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: "Jobs",
|
|
55
|
+
items: [{ name: "Job 1", href: "/" }],
|
|
56
|
+
},
|
|
57
|
+
{ name: "Profile", href: "/" },
|
|
58
|
+
{ name: "Preferences", href: "/" },
|
|
59
|
+
{ name: "Logout", href: "/" },
|
|
60
|
+
{ name: "Settings", href: "/" },
|
|
61
|
+
{ name: "Permissions", href: "/" },
|
|
62
|
+
{ name: "Manage account", href: "/" },
|
|
63
|
+
{ name: "More Link", href: "/" },
|
|
64
|
+
{ name: "One More Link", href: "/" },
|
|
65
|
+
{ name: "Test Link", href: "/" },
|
|
66
|
+
{ name: "Hello", href: "/" },
|
|
67
|
+
{ name: "World", href: "/" },
|
|
68
|
+
{ name: "Great!", href: "/" },
|
|
69
|
+
{ name: "Example", href: "/" },
|
|
70
|
+
{ name: "More Example", href: "/" },
|
|
71
|
+
],
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
},
|
|
75
|
+
{ name: "Link", href: "/" },
|
|
76
|
+
{ name: "Only text" },
|
|
77
|
+
];
|
|
78
|
+
const secondaryMenu = [
|
|
79
|
+
{
|
|
80
|
+
name: "User@Nulogy.com",
|
|
81
|
+
items: [
|
|
82
|
+
{ name: "Profile", href: "/" },
|
|
83
|
+
{ name: "Preferences", href: "/" },
|
|
84
|
+
{ name: "Logout", href: "/" },
|
|
85
|
+
],
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "Settings",
|
|
89
|
+
items: [
|
|
90
|
+
{ name: "Permissions", href: "/" },
|
|
91
|
+
{ name: "Manage account", href: "/" },
|
|
92
|
+
],
|
|
93
|
+
},
|
|
94
|
+
];
|
|
95
|
+
const secondaryMenuWithIcon = [
|
|
96
|
+
{
|
|
97
|
+
name: "Account Information: User@Nulogy.com",
|
|
98
|
+
items: [
|
|
99
|
+
{ name: "Profile", href: "/" },
|
|
100
|
+
{ name: "Preferences", href: "/" },
|
|
101
|
+
{ name: "Logout", href: "/" },
|
|
102
|
+
],
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: React.createElement(Icon, { icon: "settings" }),
|
|
106
|
+
ariaLabel: "Settings",
|
|
107
|
+
key: "Settings",
|
|
108
|
+
items: [
|
|
109
|
+
{ name: "Permissions", href: "/" },
|
|
110
|
+
{ name: "Manage account", href: "/" },
|
|
111
|
+
],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
name: React.createElement(Icon, { icon: "chatBubble" }),
|
|
115
|
+
ariaLabel: "chat",
|
|
116
|
+
key: "chat",
|
|
117
|
+
items: [
|
|
118
|
+
{ name: "Permissions", href: "/" },
|
|
119
|
+
{ name: "Manage account", href: "/" },
|
|
120
|
+
],
|
|
121
|
+
},
|
|
122
|
+
];
|
|
123
|
+
export default {
|
|
124
|
+
title: "Components/BrandedNavBar",
|
|
125
|
+
};
|
|
126
|
+
export const _BrandedNavBar = () => React.createElement(BrandedNavBar, { menuData: { primaryMenu, secondaryMenu } });
|
|
127
|
+
_BrandedNavBar.story = {
|
|
128
|
+
name: "BrandedNavBar",
|
|
129
|
+
};
|
|
130
|
+
export const WithACompanyLogo = () => React.createElement(BrandedNavBar, { menuData: { primaryMenu, secondaryMenu }, logoSrc: sampleLogo });
|
|
131
|
+
WithACompanyLogo.story = {
|
|
132
|
+
name: "With a company logo",
|
|
133
|
+
};
|
|
134
|
+
export const WithAppName = () => React.createElement(BrandedNavBar, { subtext: "Quality Control", menuData: { primaryMenu, secondaryMenu } });
|
|
135
|
+
WithAppName.story = {
|
|
136
|
+
name: "With app name",
|
|
137
|
+
};
|
|
138
|
+
export const WithACompanyLogoAndAppName = () => (React.createElement(BrandedNavBar, { menuData: { primaryMenu, secondaryMenu }, subtext: "Quality control", logoSrc: sampleLogo }));
|
|
139
|
+
WithACompanyLogoAndAppName.story = {
|
|
140
|
+
name: "With a company logo and app name",
|
|
141
|
+
};
|
|
142
|
+
export const WithEnvironmentBanner = () => (React.createElement(BrandedNavBar, { menuData: { primaryMenu, secondaryMenu }, subtext: "Quality control", logoSrc: sampleLogo, environment: select("environment", ["training", "development"], "training") }));
|
|
143
|
+
WithEnvironmentBanner.story = {
|
|
144
|
+
name: "with environment banner",
|
|
145
|
+
};
|
|
146
|
+
export const WithIcon = () => (React.createElement(BrandedNavBar, { menuData: {
|
|
147
|
+
primaryMenu: primaryMenu,
|
|
148
|
+
secondaryMenu: secondaryMenuWithIcon,
|
|
149
|
+
} }));
|
|
150
|
+
WithIcon.story = {
|
|
151
|
+
name: "With icon",
|
|
152
|
+
};
|
|
153
|
+
export const WithPrimaryAndSecondarySubMenus = () => (React.createElement(BrandedNavBar, { menuData: {
|
|
154
|
+
primaryMenu: [
|
|
155
|
+
{
|
|
156
|
+
name: "Operations",
|
|
157
|
+
items: [
|
|
158
|
+
{
|
|
159
|
+
name: "Production",
|
|
160
|
+
items: [
|
|
161
|
+
{ name: "Dashboard", href: "/" },
|
|
162
|
+
{
|
|
163
|
+
name: "Projects",
|
|
164
|
+
items: [
|
|
165
|
+
{ name: "Cycle Counts", href: "/" },
|
|
166
|
+
{ name: "Blind Counts", href: "/" },
|
|
167
|
+
],
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "Jobs",
|
|
171
|
+
items: [{ name: "Job 1", href: "/" }],
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
},
|
|
177
|
+
],
|
|
178
|
+
secondaryMenu: [
|
|
179
|
+
{
|
|
180
|
+
name: "Settings",
|
|
181
|
+
items: [
|
|
182
|
+
{
|
|
183
|
+
name: "Production",
|
|
184
|
+
items: [
|
|
185
|
+
{ name: "Dashboard", href: "/" },
|
|
186
|
+
{
|
|
187
|
+
name: "Projects",
|
|
188
|
+
items: [
|
|
189
|
+
{ name: "Cycle Counts", href: "/" },
|
|
190
|
+
{ name: "Blind Counts", href: "/" },
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "Jobs",
|
|
195
|
+
items: [{ name: "Job 1", href: "/" }],
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
],
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
} }));
|
|
203
|
+
export const WithExternalLinks = () => (React.createElement(BrandedNavBar, { menuData: {
|
|
204
|
+
primaryMenu: [
|
|
205
|
+
{
|
|
206
|
+
name: "Top level open in new tab link",
|
|
207
|
+
href: "https://www.google.com",
|
|
208
|
+
openInNew: true,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
name: "Top level open in same tab link",
|
|
212
|
+
href: "https://www.google.com",
|
|
213
|
+
openInNew: false,
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
name: "Dropdown",
|
|
217
|
+
items: [
|
|
218
|
+
{
|
|
219
|
+
name: "New tab link in dropdown",
|
|
220
|
+
href: "https://www.google.com",
|
|
221
|
+
openInNew: true,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
name: "Same tab link in dropdown",
|
|
225
|
+
href: "https://www.google.com",
|
|
226
|
+
openInNew: false,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
name: "Sub Menu",
|
|
230
|
+
items: [
|
|
231
|
+
{
|
|
232
|
+
name: "New tab link in submenu",
|
|
233
|
+
href: "https://www.google.com",
|
|
234
|
+
openInNew: true,
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
name: "Same tab link in submenu",
|
|
238
|
+
href: "https://www.google.com",
|
|
239
|
+
openInNew: false,
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
} }));
|
|
247
|
+
const primaryMenuReactRouter = [
|
|
248
|
+
{
|
|
249
|
+
name: "Dashboard",
|
|
250
|
+
items: [
|
|
251
|
+
{
|
|
252
|
+
name: "Customers",
|
|
253
|
+
to: "/customers",
|
|
254
|
+
as: ReactRouterLink,
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
name: "Invoices",
|
|
258
|
+
items: [
|
|
259
|
+
{
|
|
260
|
+
name: "new invoice",
|
|
261
|
+
to: "/new",
|
|
262
|
+
as: ReactRouterLink,
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
},
|
|
266
|
+
{ name: "Projects", href: "/" },
|
|
267
|
+
{ name: "Items", href: "/" },
|
|
268
|
+
{ name: "Vendors", href: "/" },
|
|
269
|
+
{ name: "Carriers", href: "/" },
|
|
270
|
+
],
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: "Inspector",
|
|
274
|
+
items: [
|
|
275
|
+
{ name: "Dashboard", href: "/" },
|
|
276
|
+
{ name: "Moves", href: "/" },
|
|
277
|
+
{ name: "Pick Lists", href: "/" },
|
|
278
|
+
{ name: "Receive Orders", href: "/" },
|
|
279
|
+
{ name: "Receipts", href: "/" },
|
|
280
|
+
{ name: "Ship Orders", href: "/" },
|
|
281
|
+
{ name: "Shipments", href: "/" },
|
|
282
|
+
{ name: "Item Lists", href: "/" },
|
|
283
|
+
{ name: "Cycle Counts", href: "/" },
|
|
284
|
+
{ name: "Blind Counts", href: "/" },
|
|
285
|
+
{ name: "Inbound Stock Transfer Orders", href: "/" },
|
|
286
|
+
{ name: "Inbound Stock Transfers", href: "/" },
|
|
287
|
+
{ name: "Outbound Stock Transfers", href: "/" },
|
|
288
|
+
],
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: "Operations",
|
|
292
|
+
items: [
|
|
293
|
+
{
|
|
294
|
+
name: "Production",
|
|
295
|
+
items: [
|
|
296
|
+
{ name: "Dashboard", href: "/" },
|
|
297
|
+
{
|
|
298
|
+
name: "Projects",
|
|
299
|
+
items: [
|
|
300
|
+
{ name: "Cycle Counts", href: "/" },
|
|
301
|
+
{ name: "Blind Counts", href: "/" },
|
|
302
|
+
],
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
name: "Jobs",
|
|
306
|
+
items: [
|
|
307
|
+
{ name: "Job 1", href: "/" },
|
|
308
|
+
{ name: "Job 2", href: "/" },
|
|
309
|
+
],
|
|
310
|
+
},
|
|
311
|
+
],
|
|
312
|
+
},
|
|
313
|
+
{ name: "Item cart", href: "/" },
|
|
314
|
+
{ name: "Inventory", href: "/" },
|
|
315
|
+
],
|
|
316
|
+
},
|
|
317
|
+
{ name: "Link", to: "/Link" },
|
|
318
|
+
];
|
|
319
|
+
export const WithReactRouter = () => (React.createElement(BrowserRouter, { basename: "/" },
|
|
320
|
+
React.createElement(BrandedNavBar, { brandingLinkTo: "/Home", brandingLinkComponent: ReactRouterLink, menuData: {
|
|
321
|
+
primaryMenu: primaryMenuReactRouter,
|
|
322
|
+
secondaryMenu: secondaryMenuWithIcon,
|
|
323
|
+
} })));
|
|
324
|
+
WithReactRouter.story = {
|
|
325
|
+
name: "With react router",
|
|
326
|
+
};
|
|
327
|
+
export const WithHamburgerMenu = () => {
|
|
328
|
+
return React.createElement(BrandedNavBar, { menuData: { primaryMenu, secondaryMenu }, defaultOpen: true });
|
|
329
|
+
};
|
|
330
|
+
WithHamburgerMenu.parameters = {
|
|
331
|
+
viewport: {
|
|
332
|
+
defaultViewport: "small", // for some reason this has to match the viewport key, NOT the name!
|
|
333
|
+
},
|
|
334
|
+
chromatic: { viewports: [parseInt(theme.breakpoints.small)] },
|
|
335
|
+
};
|
|
336
|
+
const customPrimaryMenu = [
|
|
337
|
+
{
|
|
338
|
+
name: "Submenu",
|
|
339
|
+
items: [
|
|
340
|
+
{ name: "Submenu link", href: "/" },
|
|
341
|
+
{
|
|
342
|
+
name: "Custom submenu HTML Link",
|
|
343
|
+
render: () => React.createElement("a", { href: "/" }, "Submenu Raw HTML Link"),
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
name: "Custom submenu DropdownLink",
|
|
347
|
+
render: () => React.createElement(DropdownLink, { href: "/" }, "DropdownLink"),
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: "Custom submenu DropdownButton",
|
|
351
|
+
render: ({ layer }) => React.createElement(DropdownButton, null,
|
|
352
|
+
"DropdownButton at layer ",
|
|
353
|
+
layer),
|
|
354
|
+
},
|
|
355
|
+
],
|
|
356
|
+
},
|
|
357
|
+
{ name: "Menu link", href: "/" },
|
|
358
|
+
{
|
|
359
|
+
name: "Custom Menu HTML Link",
|
|
360
|
+
render: () => React.createElement("a", { href: "/" }, "Menu Raw HTML Link"),
|
|
361
|
+
},
|
|
362
|
+
];
|
|
363
|
+
export const CustomRendering = () => React.createElement(BrandedNavBar, { menuData: { primaryMenu: customPrimaryMenu, secondaryMenu } });
|
|
364
|
+
export const CustomRenderingInHamburger = () => (React.createElement(BrandedNavBar, { menuData: { primaryMenu: customPrimaryMenu, secondaryMenu }, defaultOpen: true }));
|
|
365
|
+
CustomRenderingInHamburger.parameters = {
|
|
366
|
+
viewport: {
|
|
367
|
+
defaultViewport: "small", // for some reason this has to match the viewport key, NOT the name!
|
|
368
|
+
},
|
|
369
|
+
chromatic: { viewports: [parseInt(theme.breakpoints.small)] },
|
|
370
|
+
};
|
|
371
|
+
const primaryMenuWithCustomTriggers = [
|
|
372
|
+
{
|
|
373
|
+
name: "Menu",
|
|
374
|
+
trigger: ({ size, layer }) => (React.createElement(Button, null,
|
|
375
|
+
"Custom menu trigger for ",
|
|
376
|
+
size,
|
|
377
|
+
". layer: ",
|
|
378
|
+
layer)),
|
|
379
|
+
items: [
|
|
380
|
+
{ name: "Menu 1 link", href: "/" },
|
|
381
|
+
{
|
|
382
|
+
name: "Submenu 1 (pass-through to hamburger default)",
|
|
383
|
+
trigger: ({ size, defaultRender, layer }) => size === "medium" ? React.createElement(Button, null,
|
|
384
|
+
"Custom submenu trigger. layer: ",
|
|
385
|
+
layer) : defaultRender(),
|
|
386
|
+
items: [{ name: "Submenu 1 link", href: "/" }],
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
name: "Submenu 2",
|
|
390
|
+
trigger: ({ size, openMenu, closeMenu, defaultRender, layer }) => {
|
|
391
|
+
return size === "medium" ? (React.createElement(Button, { onMouseEnter: openMenu, onMouseLeave: closeMenu },
|
|
392
|
+
"Custom submenu trigger w/ open on hover. layer: ",
|
|
393
|
+
layer)) : (defaultRender());
|
|
394
|
+
},
|
|
395
|
+
items: [{ name: "Submenu 2 link", href: "/" }],
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
name: "Submenu 3 (pass-through to desktop default)",
|
|
399
|
+
trigger: ({ size, defaultRender, layer }) => {
|
|
400
|
+
return size === "small" ? (React.createElement(Text, { color: "black", pl: "x6" },
|
|
401
|
+
"Custom submenu hamburger heading 2. layer: ",
|
|
402
|
+
layer)) : (defaultRender());
|
|
403
|
+
},
|
|
404
|
+
items: [{ name: "Submenu 3 link", href: "/" }],
|
|
405
|
+
},
|
|
406
|
+
],
|
|
407
|
+
},
|
|
408
|
+
];
|
|
409
|
+
export const CustomMenuTriggers = () => (React.createElement(BrandedNavBar, { menuData: { primaryMenu: primaryMenuWithCustomTriggers, secondaryMenu } }));
|
|
410
|
+
export const CustomMenuTriggersInHamburger = () => (React.createElement(BrandedNavBar, { menuData: { primaryMenu: primaryMenuWithCustomTriggers, secondaryMenu }, defaultOpen: true }));
|
|
411
|
+
CustomMenuTriggersInHamburger.parameters = {
|
|
412
|
+
viewport: {
|
|
413
|
+
defaultViewport: "small", // for some reason this has to match the viewport key, NOT the name!
|
|
414
|
+
},
|
|
415
|
+
chromatic: { viewports: [parseInt(theme.breakpoints.small)] },
|
|
416
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { DefaultNDSThemeType } from "../theme";
|
|
3
|
-
import { StyledProps } from "../StyledProps";
|
|
4
|
-
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
5
|
-
export type NavBarBackgroundProps = {
|
|
6
|
-
theme?: DefaultNDSThemeType;
|
|
7
|
-
} & StyledProps;
|
|
8
|
-
declare const NavBarBackground: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Flex/Flex").FlexProps> & import("../Flex/Flex").FlexProps, never>> & string;
|
|
9
|
-
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
10
|
-
export default NavBarBackground;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { DefaultNDSThemeType } from "../theme";
|
|
3
|
+
import { StyledProps } from "../StyledProps";
|
|
4
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
5
|
+
export type NavBarBackgroundProps = {
|
|
6
|
+
theme?: DefaultNDSThemeType;
|
|
7
|
+
} & StyledProps;
|
|
8
|
+
declare const NavBarBackground: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("../Box").BoxProps> & import("../Box").BoxProps, keyof import("../Flex/Flex").FlexProps> & import("../Flex/Flex").FlexProps, never>> & string;
|
|
9
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
10
|
+
export default NavBarBackground;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { Flex } from "../Flex";
|
|
3
|
+
import { addStyledProps } from "../StyledProps";
|
|
4
|
+
const NavBarBackground = styled(Flex)(({ theme }) => ({
|
|
5
|
+
padding: `0 ${theme.space.x3}`,
|
|
6
|
+
borderBottom: `1px solid ${theme.colors.lightGrey}`,
|
|
7
|
+
alignItems: "center",
|
|
8
|
+
zIndex: theme.zIndices.navBar,
|
|
9
|
+
position: "relative",
|
|
10
|
+
}), addStyledProps);
|
|
11
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
12
|
+
export default NavBarBackground;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const NavBarDropdownMenu: React.JSXElementConstructor<any>;
|
|
3
|
-
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
4
|
-
export default NavBarDropdownMenu;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const NavBarDropdownMenu: React.JSXElementConstructor<any>;
|
|
3
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
4
|
+
export default NavBarDropdownMenu;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Manager, Reference, Popper } from "react-popper";
|
|
3
|
+
import { DetectOutsideClick, withMenuState, PopperArrow } from "../utils";
|
|
4
|
+
import DropdownMenuContainer from "../DropdownMenu/DropdownMenuContainer";
|
|
5
|
+
class StatelessNavBarDropdownMenuClass extends React.Component {
|
|
6
|
+
}
|
|
7
|
+
/* eslint-disable react/destructuring-assignment */
|
|
8
|
+
class StatelessNavBarDropdownMenu extends StatelessNavBarDropdownMenuClass {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(props);
|
|
11
|
+
this.handleOutsideClick = this.handleOutsideClick.bind(this);
|
|
12
|
+
this.setMenuRef = this.setMenuRef.bind(this);
|
|
13
|
+
this.setTriggerRef = this.setTriggerRef.bind(this);
|
|
14
|
+
}
|
|
15
|
+
setMenuRef(node) {
|
|
16
|
+
this.menuRef = node;
|
|
17
|
+
}
|
|
18
|
+
setTriggerRef(node) {
|
|
19
|
+
this.triggerRef = node;
|
|
20
|
+
}
|
|
21
|
+
menuTriggerEventHandlers() {
|
|
22
|
+
return {
|
|
23
|
+
onBlur: () => this.props.menuState.closeMenu(false),
|
|
24
|
+
onClick: () => this.handleTriggerClick(),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
menuEventHandlers() {
|
|
28
|
+
return {
|
|
29
|
+
onBlur: () => this.props.menuState.closeMenu(false),
|
|
30
|
+
onFocus: () => this.props.menuState.openMenu(false),
|
|
31
|
+
onClick: () => this.props.menuState.openMenu(false),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
handleTriggerClick() {
|
|
35
|
+
if (this.props.triggerTogglesMenuState) {
|
|
36
|
+
this.props.menuState.toggleMenu();
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
this.props.menuState.openMenu();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
handleOutsideClick() {
|
|
43
|
+
this.props.menuState.closeMenu(false);
|
|
44
|
+
}
|
|
45
|
+
render() {
|
|
46
|
+
const { trigger, children, placement, modifiers, showArrow, dropdownMenuContainerEventHandlers, menuState: { isOpen, closeMenu, openMenu }, } = this.props;
|
|
47
|
+
const childrenFnc = typeof children === "function" ? children : () => children;
|
|
48
|
+
return (React.createElement(Manager, null,
|
|
49
|
+
React.createElement(Reference, null, ({ ref }) => React.cloneElement(trigger({
|
|
50
|
+
closeMenu,
|
|
51
|
+
openMenu,
|
|
52
|
+
isOpen,
|
|
53
|
+
}), Object.assign(Object.assign({ "aria-haspopup": true, "aria-expanded": isOpen, type: "button" }, this.menuTriggerEventHandlers()), { ref: (node) => {
|
|
54
|
+
ref(node);
|
|
55
|
+
this.setTriggerRef(node);
|
|
56
|
+
} }))),
|
|
57
|
+
isOpen && (React.createElement(Popper, { placement: placement, modifiers: modifiers }, (popperProps) => (React.createElement(React.Fragment, null,
|
|
58
|
+
React.createElement(DropdownMenuContainer, Object.assign({}, popperProps, { placement: placement, showArrow: showArrow }, this.menuEventHandlers(), { ref: (node) => {
|
|
59
|
+
if (typeof popperProps.ref === "function") {
|
|
60
|
+
popperProps.ref(node);
|
|
61
|
+
}
|
|
62
|
+
this.setMenuRef(node);
|
|
63
|
+
}, onMouseDown: (e) => {
|
|
64
|
+
e.preventDefault();
|
|
65
|
+
e.target.focus();
|
|
66
|
+
} }, dropdownMenuContainerEventHandlers({
|
|
67
|
+
openMenu,
|
|
68
|
+
closeMenu,
|
|
69
|
+
})),
|
|
70
|
+
React.createElement(PopperArrow, Object.assign({}, popperProps.arrowProps, { placement: placement, ref: popperProps.arrowProps.ref, backgroundColor: "white", borderColor: "white" })),
|
|
71
|
+
React.createElement(DetectOutsideClick, { onClick: this.handleOutsideClick, clickRef: [this.menuRef, this.triggerRef] }),
|
|
72
|
+
childrenFnc({
|
|
73
|
+
closeMenu,
|
|
74
|
+
openMenu,
|
|
75
|
+
}))))))));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
/* eslint-enable react/destructuring-assignment */
|
|
79
|
+
// @ts-ignore
|
|
80
|
+
StatelessNavBarDropdownMenu.defaultProps = {
|
|
81
|
+
showArrow: true,
|
|
82
|
+
placement: "bottom-start",
|
|
83
|
+
modifiers: null,
|
|
84
|
+
triggerTogglesMenuState: true,
|
|
85
|
+
dropdownMenuContainerEventHandlers: () => { },
|
|
86
|
+
};
|
|
87
|
+
const NavBarDropdownMenu = withMenuState(StatelessNavBarDropdownMenu);
|
|
88
|
+
// @ts-ignore
|
|
89
|
+
NavBarDropdownMenu.defaultProps = {
|
|
90
|
+
showDelay: "0",
|
|
91
|
+
hideDelay: "100",
|
|
92
|
+
};
|
|
93
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
94
|
+
export default NavBarDropdownMenu;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const NulogyLogo: () => React.JSX.Element;
|
|
3
|
-
export default NulogyLogo;
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const NulogyLogo: () => React.JSX.Element;
|
|
3
|
+
export default NulogyLogo;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
const NulogyLogo = () => (React.createElement("svg", { width: "76px", height: "18px", viewBox: "0 0 76 18" },
|
|
3
|
+
React.createElement("g", { id: "FInal", stroke: "none", strokeWidth: "1", fill: "none", fillRule: "evenodd" },
|
|
4
|
+
React.createElement("g", { id: "DQI", transform: "translate(-924.000000, -30.000000)" },
|
|
5
|
+
React.createElement("g", { id: "Branding", transform: "translate(916.000000, 24.000000)" },
|
|
6
|
+
React.createElement("g", { id: "Logo/Wordmark/White", transform: "translate(8.000000, 6.000000)" },
|
|
7
|
+
React.createElement("g", { id: "Group" },
|
|
8
|
+
React.createElement("path", { d: "M27.2853035,13.6251552 L24.3693609,13.6251552 L24.3693609,5.29388243 L27.0621839,5.29388243 L27.0621839,6.69024606 C27.4508582,6.19089626 27.9367815,5.77426587 28.4910287,5.46515515 C28.9949427,5.19647371 29.5588999,5.05803724 30.1309029,5.0626097 C31.018985,5.0626097 31.6927403,5.31533697 32.1521688,5.82079152 C32.6115974,6.32624606 32.8413117,7.06588243 32.8413117,8.03970061 L32.8413117,13.6251552 L29.9407567,13.6251552 L29.9407567,8.85242788 C29.9407567,8.41606425 29.8506295,8.08624606 29.6703753,7.86297334 C29.490121,7.63970061 29.2230369,7.5306097 28.869123,7.53570061 C28.3606008,7.53570061 27.9693172,7.70515515 27.695272,8.04406425 C27.4212269,8.38297334 27.2845707,8.87642788 27.2853035,9.52442788 L27.2853035,13.6251552 Z", id: "Path", fill: "#00438F" }),
|
|
9
|
+
React.createElement("path", { d: "M40.1451818,5.0625 L43.0435386,5.0625 L43.0435386,12.7239545 L40.3507157,13.7919545 L40.3507157,12.1643182 C39.9614808,12.6643061 39.4757347,13.082268 38.9218708,13.3937727 C38.4207722,13.6600419 37.8602579,13.7969677 37.2918886,13.7919545 C36.4023411,13.7919545 35.7267539,13.5374091 35.2651271,13.0283182 C34.8035003,12.5192273 34.5719542,11.7792273 34.5704887,10.8083182 L34.5704887,5.0625 L37.4864313,5.0625 L37.4864313,10.0010455 C37.4864313,10.4374091 37.5765584,10.7686818 37.7568127,10.9948636 C37.937067,11.2210455 38.2041511,11.3334091 38.5580649,11.3319545 C39.0709836,11.3319545 39.4622673,11.1610455 39.7319159,10.8192273 C40.0015646,10.4774091 40.1382208,9.98577273 40.1418845,9.34431818 L40.1451818,5.0625 Z", id: "Path", fill: "#00438F" }),
|
|
10
|
+
React.createElement("polygon", { id: "Path", fill: "#00438F", points: "46.3103725 13.812 44.7716165 13.812 44.7716165 0.612 46.3103725 9.99200722e-16" }),
|
|
11
|
+
React.createElement("path", { d: "M47.6052632,9.60286364 C47.6052632,8.28359091 48.0276883,7.19704545 48.8725386,6.34322727 C49.7173889,5.48940909 50.7886562,5.0625 52.0863404,5.0625 C53.3840246,5.0625 54.4552919,5.48940909 55.3001422,6.34322727 C56.1449925,7.19704545 56.5674176,8.28359091 56.5674176,9.60286364 C56.5674176,10.9279545 56.1449925,12.0188636 55.3001422,12.8755909 C54.4552919,13.7323182 53.3840246,14.1592273 52.0863404,14.1563329 C50.7937854,14.1563329 49.7239836,13.7294091 48.8769351,12.8755909 C48.0298865,12.0217727 47.6059959,10.9308636 47.6052632,9.60286364 Z M49.133028,9.60286364 C49.133028,10.6392273 49.4030431,11.4730455 49.9430731,12.1043182 C50.4831032,12.7355909 51.1912973,13.0515909 52.0676555,13.0523182 C52.9469446,13.0523182 53.6580697,12.7363182 54.2010308,12.1043182 C54.7439918,11.4723182 55.0173042,10.6385 55.0209679,9.60286364 C55.0209679,8.57377273 54.7476555,7.74322727 54.2010308,7.11122727 C53.654406,6.47922727 52.9432809,6.16359091 52.0676555,6.16431693 C51.1883664,6.16431693 50.4801722,6.48031818 49.9430731,7.11231818 C49.405974,7.74431818 49.135959,8.5745 49.133028,9.60286364 Z", id: "Shape", fill: "#00438F" }),
|
|
12
|
+
React.createElement("path", { d: "M64.0871268,13.2650455 C63.6599049,13.5160632 63.2028112,13.7132209 62.7264269,13.8519545 C62.2872699,13.9773973 61.8326004,14.0412883 61.375619,14.0417727 C60.1402177,14.0417727 59.1418582,13.6348636 58.3805404,12.8210455 C57.6192225,12.0072273 57.23893,10.9377727 57.2396617,9.61268182 C57.2396617,8.26213636 57.6463339,7.16613636 58.4596764,6.32468182 C59.2730188,5.48322727 60.3354932,5.0625 61.6470995,5.0625 C62.0607066,5.06850508 62.4731354,5.10790785 62.8803025,5.18031818 C63.3492567,5.25740909 63.891485,5.37595455 64.5069874,5.53595455 L65.5962068,5.09959091 L65.5962068,12.6159545 C65.5962068,13.6203182 65.5482123,14.3552273 65.4522232,14.8206818 C65.3679541,15.2558519 65.2020399,15.6714278 64.9631186,16.0457727 C64.6019617,16.5876404 64.0882569,17.0121536 63.4859129,17.2665 C62.7842363,17.5630036 62.0270581,17.7080287 61.2646087,17.6919545 C60.7156985,17.6919213 60.1690427,17.6222662 59.6379238,17.4846818 C59.0829675,17.3384872 58.5470293,17.1287137 58.0409149,16.8595909 L57.7892184,15.0475909 L58.9158076,15.7785 C59.2556951,15.9885109 59.62653,16.1445715 60.014919,16.2410455 C60.4392817,16.3595698 60.8776378,16.4215675 61.3184652,16.4254091 C62.1977543,16.4254091 62.8795698,16.2072273 63.3639115,15.7708636 C63.8482533,15.3345 64.089325,14.7134091 64.0871268,13.9075909 L64.0871268,13.2650455 Z M64.0871268,12.1272273 L64.0871268,6.79159091 C63.7249004,6.6117699 63.3457079,6.46780202 62.9550421,6.36177273 C62.6131894,6.26948879 62.2607514,6.22145438 61.9064898,6.21886364 C60.9693141,6.21886364 60.2149573,6.53159091 59.6434194,7.15704545 C59.0718814,7.7825 58.7857461,8.6145 58.7850134,9.65304545 C58.7850134,10.6508636 59.0414727,11.4428636 59.5543914,12.0290455 C60.06731,12.6152273 60.7582847,12.9079545 61.6273155,12.9072286 C61.9914329,12.9029522 62.3527769,12.8437294 62.6989491,12.7315909 C63.1785695,12.5707605 63.6430713,12.3685328 64.0871268,12.1272273 L64.0871268,12.1272273 Z", id: "Shape", fill: "#00438F" }),
|
|
13
|
+
React.createElement("path", { d: "M66.8740602,5.0625 L68.4765646,5.0625 L70.9913315,11.6079545 L73.7588941,5.0625 L75.0635393,5.0625 L71.0572782,14.2446818 L70.9913315,14.3745 C70.3582433,15.8043182 69.8706042,16.8225 69.5284142,17.4290455 L67.8610622,17.4290455 C68.2162734,17.063213 68.5346911,16.6638682 68.8117936,16.2366818 C69.158768,15.6835017 69.4668841,15.1072249 69.7339481,14.5119545 L70.2747109,13.3566818 L66.8740602,5.0625 Z", id: "Path", fill: "#00438F" }),
|
|
14
|
+
React.createElement("path", { d: "M17.3967355,0.639272727 L20.618231,1.91781818 L20.618231,13.4301818 C20.618231,15.9021818 17.5407191,16.3363636 15.4633985,16.6276364 C16.6515379,16.3363636 17.4033301,16.0090909 17.3967355,13.4301818 L17.3967355,3.19745455 L14.1752399,1.91781818 L17.3967355,0.639272727 Z M3.86557485,15.9883636 L3.86557485,8.95527273 C3.86557485,8.24727273 4.40084211,7.44654545 5.05041695,7.17054545 L8.37632809,5.75236364 L8.37632809,10.2250909 L11.5978237,12.1527273 C12.2473985,12.48 13.5311606,12.4876364 13.5311606,11.5123636 L13.5311606,9.59345455 L12.2408038,8.95309091 L12.2408038,0 L2.41804511,3.59236364 C1.08262474,4.08 1.81208432e-14,5.61709091 1.81208432e-14,7.03527273 L1.81208432e-14,17.5876364 L3.86557485,15.9883636 Z", id: "Shape", fill: "#F0B41C" }))))))));
|
|
15
|
+
export default NulogyLogo;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
type NulogyLogoContainerProps = {
|
|
3
|
-
subText?: string;
|
|
4
|
-
height?: string;
|
|
5
|
-
};
|
|
6
|
-
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
7
|
-
export declare const NulogyLogoContainer: ({ subText, height }: NulogyLogoContainerProps) => React.JSX.Element;
|
|
8
|
-
export {};
|
|
1
|
+
import React from "react";
|
|
2
|
+
type NulogyLogoContainerProps = {
|
|
3
|
+
subText?: string;
|
|
4
|
+
height?: string;
|
|
5
|
+
};
|
|
6
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
7
|
+
export declare const NulogyLogoContainer: ({ subText, height }: NulogyLogoContainerProps) => React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Flex } from "../Flex";
|
|
3
|
+
import { Box } from "../Box";
|
|
4
|
+
import { Text } from "../Type";
|
|
5
|
+
import NulogyLogo from "./NulogyLogo";
|
|
6
|
+
const borderStyle = "1px solid #e4e7eb";
|
|
7
|
+
/** @deprecated The BrandedNavBar component is deprecated. Use the Navigation component instead. */
|
|
8
|
+
export const NulogyLogoContainer = ({ subText, height }) => (React.createElement(Flex, { px: "x1", py: "half", alignItems: "center", justifyContent: "center", flexDirection: subText ? "column" : "row", height: height, borderLeft: borderStyle, borderRight: borderStyle },
|
|
9
|
+
React.createElement(Box, { width: "76px", height: "18px" },
|
|
10
|
+
React.createElement(NulogyLogo, null)),
|
|
11
|
+
subText && (React.createElement(Text, { fontSize: "8px", lineHeight: "10px", color: "darkGrey", fontWeight: "medium", textTransform: "uppercase", letterSpacing: ".5px" }, subText))));
|