@laerdal/life-react-components 3.5.1-dev.11 → 3.5.1-dev.13
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/Accordion/AccordionMenu.d.ts +15 -0
- package/dist/Accordion/ContentAccordion.d.ts +14 -0
- package/dist/AuthPage/AuthPage.d.ts +2 -2
- package/dist/Banners/Banner.d.ts +24 -3
- package/dist/Banners/OverviewBanner.d.ts +1 -1
- package/dist/Breadcrumb/Breadcrumb.d.ts +8 -1
- package/dist/Breadcrumb/BreadcrumbItem.d.ts +2 -0
- package/dist/Button/BackButton.d.ts +7 -0
- package/dist/Button/Button.d.ts +29 -10
- package/dist/Button/DualFunctionButton.d.ts +10 -0
- package/dist/Button/Iconbutton.d.ts +17 -11
- package/dist/Card/HorizontalCard/types.d.ts +13 -3
- package/dist/Card/VerticalCard/Card.d.ts +8 -1
- package/dist/Card/VerticalCard/CardBottomSection.d.ts +11 -0
- package/dist/Card/VerticalCard/CardMiddleSection.d.ts +8 -0
- package/dist/Card/VerticalCard/CardTopSection.d.ts +11 -0
- package/dist/Chips/ChipTypes.d.ts +35 -1
- package/dist/ChipsInput/ChipDropdownInput.d.ts +9 -1
- package/dist/ChipsInput/index.d.ts +1 -0
- package/dist/Dropdown/BasicDropdown.d.ts +76 -0
- package/dist/Dropdown/CommonStyling.d.ts +0 -1
- package/dist/Dropdown/DropdownButtonTypes.d.ts +28 -1
- package/dist/Dropdown/DropdownContent.d.ts +10 -1
- package/dist/Dropdown/DropdownFilter.d.ts +18 -1
- package/dist/Footer/Components/FooterBottomLinks.d.ts +2 -2
- package/dist/Footer/Components/FooterDropdownLinks.d.ts +2 -2
- package/dist/Footer/Components/FooterNavSection.d.ts +2 -2
- package/dist/Footer/Components/FooterNewsletterAndSocialSection.d.ts +2 -2
- package/dist/Footer/Components/FooterTop.d.ts +2 -2
- package/dist/Footer/Footer.d.ts +2 -2
- package/dist/Footer/SiteFooter.d.ts +1 -1
- package/dist/GlobalNavigationBar/__tests__/GlobalNavigationBar.tests.js +299 -0
- package/dist/GlobalNavigationBar/__tests__/Logo.tests.js +26 -0
- package/dist/GlobalNavigationBar/desktop/ExtendedMainMenu.d.ts +2 -2
- package/dist/GlobalNavigationBar/desktop/UserMenu.d.ts +2 -2
- package/dist/GlobalNavigationBar/mobile/MobileMenu.d.ts +2 -2
- package/dist/GlobalNavigationBar/types.d.ts +5 -1
- package/dist/HyperLink/HyperLink.d.ts +7 -0
- package/dist/Image/ImageWithFallbacks.d.ts +1 -1
- package/dist/InputFields/DatepickerField.d.ts +39 -1
- package/dist/InputFields/DatepickerFieldHeader.d.ts +5 -2
- package/dist/InputFields/NumberField.d.ts +46 -17
- package/dist/InputFields/PasswordField.d.ts +73 -1
- package/dist/InputFields/QuickSearch.d.ts +12 -0
- package/dist/InputFields/RadioButton.d.ts +26 -2
- package/dist/InputFields/RichTextField.d.ts +57 -0
- package/dist/InputFields/SearchBar.d.ts +64 -0
- package/dist/InputFields/TextField.d.ts +113 -1
- package/dist/InputFields/types.d.ts +39 -1
- package/dist/LinearProgress/LinearProgress.d.ts +6 -0
- package/dist/List/ListRow.d.ts +17 -4
- package/dist/List/__tests__/ListRow.tests.js +51 -0
- package/dist/LoadingIndicator/LoadingIndicator.d.ts +6 -3
- package/dist/LoadingPage/GlobalLoadingPage.d.ts +1 -1
- package/dist/MenuItem/MenuItem.d.ts +7 -1
- package/dist/MiniProductCard/MiniProductCard.d.ts +2 -2
- package/dist/Modals/Modal.d.ts +4 -4
- package/dist/Modals/ModalContainer.d.ts +1 -1
- package/dist/Modals/ModalContent.d.ts +1 -1
- package/dist/Modals/ModalDialog.d.ts +14 -4
- package/dist/NavItem/NavItem.d.ts +1 -1
- package/dist/NavItem/NestedNavItem.d.ts +20 -2
- package/dist/NotificationDot/NotificationDot.d.ts +10 -0
- package/dist/Paginator/Paginator.d.ts +18 -4
- package/dist/Panel/Panel.d.ts +24 -6
- package/dist/Popover/Popover.d.ts +80 -12
- package/dist/ProfileButton/ProfileButton.d.ts +31 -3
- package/dist/QuizButton/QuizButton.d.ts +25 -1
- package/dist/SegmentControl/SegmentControl.d.ts +25 -2
- package/dist/SegmentControl/index.d.ts +2 -2
- package/dist/SideMenu/SideMenuBody.d.ts +2 -2
- package/dist/SideMenu/SideMenuFooter.d.ts +2 -2
- package/dist/SideMenu/SideMenuHeader.d.ts +2 -2
- package/dist/Switcher/MobileSwitcherMenu.d.ts +1 -1
- package/dist/Switcher/SwitcherMenuItem.d.ts +2 -2
- package/dist/Switcher/__tests__/SwitcherMenuItem.js +53 -0
- package/dist/Table/TableTypes.d.ts +130 -0
- package/dist/Tabs/HorizontalTabs.d.ts +14 -3
- package/dist/Tabs/TabLink.d.ts +1 -1
- package/dist/Tabs/VerticalTabs.d.ts +30 -2
- package/dist/Tabs/__tests__/TabLink.tests.js +83 -0
- package/dist/Tabs/__tests__/Tablist.tests.js +78 -0
- package/dist/Tabs/index.d.ts +1 -1
- package/dist/Tag/Tag.d.ts +3 -0
- package/dist/Tile/TileCommonItems.d.ts +2 -2
- package/dist/Toasters/Toast.d.ts +9 -1
- package/dist/Toggles/ToggleButton.d.ts +5 -0
- package/dist/Toggles/TogglerTypes.d.ts +7 -0
- package/dist/Tooltips/TooltipOverflow.d.ts +1 -1
- package/dist/Tooltips/TooltipStyles.d.ts +2 -1
- package/dist/Tooltips/TooltipTypes.d.ts +10 -0
- package/dist/Tooltips/TooltipWrapper.d.ts +2 -2
- package/dist/index.d.ts +1 -1
- package/dist/src/Accordion/AccordionItem.js +47 -0
- package/dist/src/Accordion/AccordionMenu.js +66 -0
- package/dist/src/Accordion/ContentAccordion.js +107 -0
- package/dist/src/Accordion/index.js +7 -0
- package/dist/src/Accordion/styles.js +12 -0
- package/dist/src/AuthPage/AuthPage.d.ts +1 -1
- package/dist/src/AuthPage/AuthPage.js +29 -0
- package/dist/src/AuthPage/ScreenSetsContainer.js +9 -0
- package/dist/src/AuthPage/index.js +4 -0
- package/dist/src/Banners/Banner.d.ts +2 -2
- package/dist/src/Banners/Banner.js +112 -0
- package/dist/src/Banners/OverviewBanner.d.ts +1 -1
- package/dist/src/Banners/OverviewBanner.js +39 -0
- package/dist/src/Banners/index.js +4 -0
- package/dist/src/Banners/styles.js +55 -0
- package/dist/src/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/src/Breadcrumb/Breadcrumb.js +67 -0
- package/dist/src/Breadcrumb/BreadcrumbItem.js +1 -0
- package/dist/src/Breadcrumb/index.js +4 -0
- package/dist/src/Breadcrumb/styles.js +24 -0
- package/dist/src/Button/BackButton.js +45 -0
- package/dist/src/Button/Button.js +87 -0
- package/dist/src/Button/DualFunctionButton.js +71 -0
- package/dist/src/Button/Iconbutton.js +70 -0
- package/dist/src/Button/index.js +8 -0
- package/dist/src/Card/HorizontalCard/HorizontalCard.js +55 -0
- package/dist/src/Card/HorizontalCard/HorizontalCardActions.d.ts +1 -1
- package/dist/src/Card/HorizontalCard/HorizontalCardActions.js +39 -0
- package/dist/src/Card/HorizontalCard/HorizontalCardBody.d.ts +1 -1
- package/dist/src/Card/HorizontalCard/HorizontalCardBody.js +23 -0
- package/dist/src/Card/HorizontalCard/HorizontalCardThumbnail.d.ts +1 -1
- package/dist/src/Card/HorizontalCard/HorizontalCardThumbnail.js +21 -0
- package/dist/src/Card/HorizontalCard/index.js +4 -0
- package/dist/src/Card/HorizontalCard/types.d.ts +5 -5
- package/dist/src/Card/HorizontalCard/types.js +1 -0
- package/dist/src/Card/VerticalCard/Card.js +61 -0
- package/dist/src/Card/VerticalCard/CardBottomSection.js +45 -0
- package/dist/src/Card/VerticalCard/CardMiddleSection.js +32 -0
- package/dist/src/Card/VerticalCard/CardTopSection.js +33 -0
- package/dist/src/Card/VerticalCard/index.js +7 -0
- package/dist/src/Card/index.js +2 -0
- package/dist/src/Chips/ActionChip.js +45 -0
- package/dist/src/Chips/ChipStyles.js +16 -0
- package/dist/src/Chips/ChipTypes.d.ts +1 -1
- package/dist/src/Chips/ChipTypes.js +1 -0
- package/dist/src/Chips/ChoiceChips.js +70 -0
- package/dist/src/Chips/FilterChip.js +49 -0
- package/dist/src/Chips/InputChip.js +71 -0
- package/dist/src/Chips/index.js +6 -0
- package/dist/src/ChipsInput/ChipDropdownInput.js +230 -0
- package/dist/src/ChipsInput/ChipInput.js +99 -0
- package/dist/src/ChipsInput/ChipInputField.js +114 -0
- package/dist/src/ChipsInput/ChipInputTypes.js +1 -0
- package/dist/src/ChipsInput/index.js +2 -0
- package/dist/src/Dropdown/BasicDropdown.d.ts +3 -3
- package/dist/src/Dropdown/BasicDropdown.js +153 -0
- package/dist/src/Dropdown/CommonStyling.js +24 -0
- package/dist/src/Dropdown/DropdownButton.js +107 -0
- package/dist/src/Dropdown/DropdownButtonTypes.d.ts +3 -3
- package/dist/src/Dropdown/DropdownButtonTypes.js +1 -0
- package/dist/src/Dropdown/DropdownContent.js +339 -0
- package/dist/src/Dropdown/DropdownFilter.js +161 -0
- package/dist/src/Dropdown/index.js +8 -0
- package/dist/src/Footer/Components/FooterBottomLinks.js +20 -0
- package/dist/src/Footer/Components/FooterDropdownLinks.js +25 -0
- package/dist/src/Footer/Components/FooterNavSection.js +32 -0
- package/dist/src/Footer/Components/FooterNewsletterAndSocialSection.js +42 -0
- package/dist/src/Footer/Components/FooterTop.js +34 -0
- package/dist/src/Footer/Footer.js +17 -0
- package/dist/src/Footer/SiteFooter.js +57 -0
- package/dist/src/Footer/index.js +2 -0
- package/dist/src/GlobalNavigationBar/GlobalNavigationBar.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/GlobalNavigationBar.js +93 -0
- package/dist/src/GlobalNavigationBar/Logo.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/Logo.js +33 -0
- package/dist/src/GlobalNavigationBar/__tests__/GlobalNavigationBar.tests.js +299 -0
- package/dist/src/GlobalNavigationBar/__tests__/Logo.tests.js +26 -0
- package/dist/src/GlobalNavigationBar/desktop/DesktopActions.js +88 -0
- package/dist/src/GlobalNavigationBar/desktop/ExtendedMainMenu.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/desktop/ExtendedMainMenu.js +42 -0
- package/dist/src/GlobalNavigationBar/desktop/MainMenu.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/desktop/MainMenu.js +175 -0
- package/dist/src/GlobalNavigationBar/desktop/RightSideNav.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/desktop/RightSideNav.js +46 -0
- package/dist/src/GlobalNavigationBar/desktop/SubMenu.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/desktop/SubMenu.js +131 -0
- package/dist/src/GlobalNavigationBar/desktop/UserMenu.js +90 -0
- package/dist/src/GlobalNavigationBar/index.js +3 -0
- package/dist/src/GlobalNavigationBar/mobile/CommonStyles.js +28 -0
- package/dist/src/GlobalNavigationBar/mobile/MobileActionContainer.js +18 -0
- package/dist/src/GlobalNavigationBar/mobile/MobileMenu.d.ts +1 -1
- package/dist/src/GlobalNavigationBar/mobile/MobileMenu.js +94 -0
- package/dist/src/GlobalNavigationBar/mobile/MobileMenuContent.js +89 -0
- package/dist/src/GlobalNavigationBar/mobile/MobileMenuHeader.js +108 -0
- package/dist/src/GlobalNavigationBar/types.d.ts +8 -8
- package/dist/src/GlobalNavigationBar/types.js +1 -0
- package/dist/src/GlobalNavigationBar/utils.js +7 -0
- package/dist/src/HyperLink/HyperLink.js +36 -0
- package/dist/src/HyperLink/index.js +3 -0
- package/dist/src/HyperLink/styling.js +9 -0
- package/dist/src/Image/ImageWithFallbacks.d.ts +1 -1
- package/dist/src/Image/ImageWithFallbacks.js +87 -0
- package/dist/src/Image/index.js +2 -0
- package/dist/src/InputFields/Checkbox.js +65 -0
- package/dist/src/InputFields/DatepickerField.d.ts +1 -1
- package/dist/src/InputFields/DatepickerField.js +237 -0
- package/dist/src/InputFields/DatepickerFieldHeader.js +45 -0
- package/dist/src/InputFields/Label.d.ts +1 -1
- package/dist/src/InputFields/Label.js +83 -0
- package/dist/src/InputFields/NumberField.js +194 -0
- package/dist/src/InputFields/PasswordField.d.ts +1 -1
- package/dist/src/InputFields/PasswordField.js +60 -0
- package/dist/src/InputFields/QuickSearch.d.ts +1 -1
- package/dist/src/InputFields/QuickSearch.js +92 -0
- package/dist/src/InputFields/RadioButton.d.ts +1 -1
- package/dist/src/InputFields/RadioButton.js +54 -0
- package/dist/src/InputFields/ResponsiveComponentWrapper.d.ts +1 -1
- package/dist/src/InputFields/ResponsiveComponentWrapper.js +24 -0
- package/dist/src/InputFields/RichTextField.js +83 -0
- package/dist/src/InputFields/SearchBar.d.ts +1 -1
- package/dist/src/InputFields/SearchBar.js +63 -0
- package/dist/src/InputFields/TextField.d.ts +1 -1
- package/dist/src/InputFields/TextField.js +51 -0
- package/dist/src/InputFields/Textarea.js +65 -0
- package/dist/src/InputFields/components/SearchBarInput.d.ts +1 -1
- package/dist/src/InputFields/components/SearchBarInput.js +26 -0
- package/dist/src/InputFields/components/SearchField.js +44 -0
- package/dist/src/InputFields/index.js +13 -0
- package/dist/src/InputFields/styling.js +33 -0
- package/dist/src/InputFields/types.d.ts +2 -2
- package/dist/src/InputFields/types.js +2 -0
- package/dist/src/Layouts/index.js +25 -0
- package/dist/src/LinearProgress/LinearProgress.js +78 -0
- package/dist/src/LinearProgress/index.js +3 -0
- package/dist/src/List/ListRow.js +83 -0
- package/dist/src/List/__tests__/ListRow.tests.js +51 -0
- package/dist/src/List/index.js +2 -0
- package/dist/src/LoadingIndicator/LoadingIndicator.d.ts +1 -1
- package/dist/src/LoadingIndicator/LoadingIndicator.js +26 -0
- package/dist/src/LoadingIndicator/index.js +1 -0
- package/dist/src/LoadingPage/GlobalLoadingPage.js +26 -0
- package/dist/src/LoadingPage/index.js +1 -0
- package/dist/src/MenuItem/MenuItem.d.ts +1 -1
- package/dist/src/MenuItem/MenuItem.js +60 -0
- package/dist/src/MenuItem/index.js +1 -0
- package/dist/src/MiniProductCard/MiniProductCard.d.ts +1 -1
- package/dist/src/MiniProductCard/MiniProductCard.js +30 -0
- package/dist/src/MiniProductCard/index.js +1 -0
- package/dist/src/Modals/Modal.d.ts +1 -1
- package/dist/src/Modals/Modal.js +38 -0
- package/dist/src/Modals/ModalContainer.d.ts +2 -2
- package/dist/src/Modals/ModalContainer.js +130 -0
- package/dist/src/Modals/ModalContent.js +159 -0
- package/dist/src/Modals/ModalDialog.js +166 -0
- package/dist/src/Modals/ModalNote.js +27 -0
- package/dist/src/Modals/ModalStyles.js +55 -0
- package/dist/src/Modals/ModalTypes.d.ts +2 -2
- package/dist/src/Modals/ModalTypes.js +1 -0
- package/dist/src/Modals/index.js +6 -0
- package/dist/src/NavItem/NavItem.d.ts +1 -1
- package/dist/src/NavItem/NavItem.js +26 -0
- package/dist/src/NavItem/NestedNavItem.js +18 -0
- package/dist/src/NavItem/index.js +1 -0
- package/dist/src/NotificationDot/NotificationDot.js +17 -0
- package/dist/src/NotificationDot/index.js +1 -0
- package/dist/src/Paginator/Paginator.js +77 -0
- package/dist/src/Paginator/index.js +2 -0
- package/dist/src/Panel/Panel.d.ts +1 -1
- package/dist/src/Panel/Panel.js +82 -0
- package/dist/src/Panel/index.js +1 -0
- package/dist/src/Popover/Popover.js +101 -0
- package/dist/src/Popover/index.js +1 -0
- package/dist/src/ProfileButton/ProfileButton.d.ts +2 -2
- package/dist/src/ProfileButton/ProfileButton.js +52 -0
- package/dist/src/ProfileButton/index.js +1 -0
- package/dist/src/QuizButton/QuizButton.d.ts +1 -1
- package/dist/src/QuizButton/QuizButton.js +53 -0
- package/dist/src/QuizButton/index.js +1 -0
- package/dist/src/SegmentControl/SegmentControl.js +57 -0
- package/dist/src/SegmentControl/index.js +2 -0
- package/dist/src/Services/functions.js +11 -0
- package/dist/src/SideMenu/SideMenu.js +43 -0
- package/dist/src/SideMenu/SideMenuBody.js +24 -0
- package/dist/src/SideMenu/SideMenuFooter.js +43 -0
- package/dist/src/SideMenu/SideMenuHeader.js +46 -0
- package/dist/src/SideMenu/index.js +2 -0
- package/dist/src/SideMenu/types.d.ts +3 -3
- package/dist/src/SideMenu/types.js +1 -0
- package/dist/src/SkipToContent/SkipToContent.d.ts +1 -1
- package/dist/src/SkipToContent/SkipToContent.js +17 -0
- package/dist/src/SkipToContent/index.js +1 -0
- package/dist/src/Switcher/MobileCustomMenuContent.js +26 -0
- package/dist/src/Switcher/MobileSwitcherMenu.js +21 -0
- package/dist/src/Switcher/SwitcherMenuItem.js +18 -0
- package/dist/src/Switcher/__tests__/SwitcherMenuItem.js +53 -0
- package/dist/src/Switcher/index.js +3 -0
- package/dist/src/Table/Table.js +292 -0
- package/dist/src/Table/TableBody.js +116 -0
- package/dist/src/Table/TableFooter.js +41 -0
- package/dist/src/Table/TableHeaders.js +26 -0
- package/dist/src/Table/TableStyles.js +46 -0
- package/dist/src/Table/TableTypes.d.ts +4 -4
- package/dist/src/Table/TableTypes.js +2 -0
- package/dist/src/Table/index.js +3 -0
- package/dist/src/Tabs/HorizontalTabs.js +122 -0
- package/dist/src/Tabs/TabLink.js +76 -0
- package/dist/src/Tabs/Tabs.d.ts +1 -1
- package/dist/src/Tabs/Tabs.js +62 -0
- package/dist/src/Tabs/VerticalTabs.js +13 -0
- package/dist/src/Tabs/__tests__/TabLink.tests.js +83 -0
- package/dist/src/Tabs/__tests__/Tablist.tests.js +78 -0
- package/dist/src/Tabs/index.js +3 -0
- package/dist/src/Tag/Tag.d.ts +2 -2
- package/dist/src/Tag/Tag.js +41 -0
- package/dist/src/Tag/index.js +1 -0
- package/dist/src/Tile/Tile.js +43 -0
- package/dist/src/Tile/TileBody.js +15 -0
- package/dist/src/Tile/TileCommonItems.js +75 -0
- package/dist/src/Tile/TileFooter.js +19 -0
- package/dist/src/Tile/TileHeader.js +57 -0
- package/dist/src/Tile/TileTypes.d.ts +8 -8
- package/dist/src/Tile/TileTypes.js +1 -0
- package/dist/src/Tile/index.js +3 -0
- package/dist/src/Toasters/Toast.d.ts +2 -2
- package/dist/src/Toasters/Toast.js +166 -0
- package/dist/src/Toasters/ToastContext.d.ts +2 -2
- package/dist/src/Toasters/ToastContext.js +69 -0
- package/dist/src/Toasters/index.js +4 -0
- package/dist/src/Toggles/ToggleButton.js +48 -0
- package/dist/src/Toggles/ToggleSwitch.js +65 -0
- package/dist/src/Toggles/TogglerStyles.js +17 -0
- package/dist/src/Toggles/TogglerTypes.js +1 -0
- package/dist/src/Toggles/index.js +3 -0
- package/dist/src/Tooltips/TooltipOverflow.js +71 -0
- package/dist/src/Tooltips/TooltipStyles.d.ts +1 -1
- package/dist/src/Tooltips/TooltipStyles.js +41 -0
- package/dist/src/Tooltips/TooltipTypes.js +1 -0
- package/dist/src/Tooltips/TooltipWrapper.js +65 -0
- package/dist/src/Tooltips/index.js +3 -0
- package/dist/src/assets/index.d.ts +1 -1
- package/dist/src/assets/index.js +41 -0
- package/dist/src/common/ActionWithin.js +25 -0
- package/dist/src/common/ClickOutside.js +20 -0
- package/dist/src/common/EventHandlers.js +8 -0
- package/dist/src/common/FocusOutside.js +20 -0
- package/dist/src/common/FocusVisible.d.ts +1 -1
- package/dist/src/common/FocusVisible.js +75 -0
- package/dist/src/common/InputStyling.js +8 -0
- package/dist/src/common/NavigationHelper.js +18 -0
- package/dist/src/common/ScrollableContainer.js +22 -0
- package/dist/src/common/StackState.js +10 -0
- package/dist/src/common/index.js +6 -0
- package/dist/src/icons/contenticons/Adaptive.js +31 -0
- package/dist/src/icons/contenticons/Add.js +31 -0
- package/dist/src/icons/contenticons/Adult.js +31 -0
- package/dist/src/icons/contenticons/AedNoShockAdvised.js +31 -0
- package/dist/src/icons/contenticons/AedPads.js +31 -0
- package/dist/src/icons/contenticons/AedPadsCorrect.js +31 -0
- package/dist/src/icons/contenticons/AedPadsError.js +31 -0
- package/dist/src/icons/contenticons/AedShockAdvised.js +31 -0
- package/dist/src/icons/contenticons/Ambulance.js +31 -0
- package/dist/src/icons/contenticons/Assignments.js +31 -0
- package/dist/src/icons/contenticons/Attention.js +31 -0
- package/dist/src/icons/contenticons/AutomaticMode.js +31 -0
- package/dist/src/icons/contenticons/AwardWinningPerson.js +31 -0
- package/dist/src/icons/contenticons/Biohazard.js +31 -0
- package/dist/src/icons/contenticons/Bleeding.js +31 -0
- package/dist/src/icons/contenticons/Book.js +31 -0
- package/dist/src/icons/contenticons/Buildings.js +31 -0
- package/dist/src/icons/contenticons/CPRCall.js +31 -0
- package/dist/src/icons/contenticons/CPRCycles.js +31 -0
- package/dist/src/icons/contenticons/CPRTraining.js +31 -0
- package/dist/src/icons/contenticons/Calendar.js +31 -0
- package/dist/src/icons/contenticons/Call.js +31 -0
- package/dist/src/icons/contenticons/Certificate.js +31 -0
- package/dist/src/icons/contenticons/ChestCompressionFraction.js +31 -0
- package/dist/src/icons/contenticons/Child.js +31 -0
- package/dist/src/icons/contenticons/Cleaning.js +31 -0
- package/dist/src/icons/contenticons/ClinicalFindings.js +31 -0
- package/dist/src/icons/contenticons/Cloud.js +31 -0
- package/dist/src/icons/contenticons/CloudAttension.js +31 -0
- package/dist/src/icons/contenticons/CloudChecked.js +31 -0
- package/dist/src/icons/contenticons/CloudDownload.js +31 -0
- package/dist/src/icons/contenticons/CloudLocked.js +31 -0
- package/dist/src/icons/contenticons/CloudNoConnection.js +31 -0
- package/dist/src/icons/contenticons/CloudSyncing.js +31 -0
- package/dist/src/icons/contenticons/CloudUpload.js +31 -0
- package/dist/src/icons/contenticons/Code.js +31 -0
- package/dist/src/icons/contenticons/CoffeeBreak.js +31 -0
- package/dist/src/icons/contenticons/Contact.js +31 -0
- package/dist/src/icons/contenticons/ContactInfo.js +31 -0
- package/dist/src/icons/contenticons/Cookie.js +31 -0
- package/dist/src/icons/contenticons/CountAloud.js +31 -0
- package/dist/src/icons/contenticons/Dashboard.js +31 -0
- package/dist/src/icons/contenticons/Data.js +31 -0
- package/dist/src/icons/contenticons/DecisionFlow.js +31 -0
- package/dist/src/icons/contenticons/Defribilator.js +31 -0
- package/dist/src/icons/contenticons/DefribilatorMonitor.js +31 -0
- package/dist/src/icons/contenticons/Depth.js +31 -0
- package/dist/src/icons/contenticons/Desktop.js +31 -0
- package/dist/src/icons/contenticons/DeviceChecked.js +31 -0
- package/dist/src/icons/contenticons/Dispatcher.js +31 -0
- package/dist/src/icons/contenticons/Doctor.js +31 -0
- package/dist/src/icons/contenticons/DocumentChecked.js +31 -0
- package/dist/src/icons/contenticons/Download.js +31 -0
- package/dist/src/icons/contenticons/ELearning.js +31 -0
- package/dist/src/icons/contenticons/EMSRescuer.js +31 -0
- package/dist/src/icons/contenticons/ESimulation.js +31 -0
- package/dist/src/icons/contenticons/Edit.js +31 -0
- package/dist/src/icons/contenticons/Educator.js +31 -0
- package/dist/src/icons/contenticons/Elderly.js +31 -0
- package/dist/src/icons/contenticons/Embryo.js +31 -0
- package/dist/src/icons/contenticons/EventLog.js +31 -0
- package/dist/src/icons/contenticons/Faq.js +31 -0
- package/dist/src/icons/contenticons/Female.js +31 -0
- package/dist/src/icons/contenticons/FirstAid.js +31 -0
- package/dist/src/icons/contenticons/Geriatric.js +31 -0
- package/dist/src/icons/contenticons/GiftCard.js +31 -0
- package/dist/src/icons/contenticons/Goals.js +31 -0
- package/dist/src/icons/contenticons/Grid.js +31 -0
- package/dist/src/icons/contenticons/GuidedTour.js +31 -0
- package/dist/src/icons/contenticons/HandPlacement.js +31 -0
- package/dist/src/icons/contenticons/HandPlacementCorrect.js +31 -0
- package/dist/src/icons/contenticons/HandPlacementIncorrect.js +31 -0
- package/dist/src/icons/contenticons/HeadTilt.js +31 -0
- package/dist/src/icons/contenticons/Heart.js +31 -0
- package/dist/src/icons/contenticons/HeartPulse.js +31 -0
- package/dist/src/icons/contenticons/HeartShock.js +31 -0
- package/dist/src/icons/contenticons/Help.js +31 -0
- package/dist/src/icons/contenticons/Hierarchy.js +31 -0
- package/dist/src/icons/contenticons/Hospital.js +31 -0
- package/dist/src/icons/contenticons/Hospitalized.js +31 -0
- package/dist/src/icons/contenticons/House.js +31 -0
- package/dist/src/icons/contenticons/Infant.js +31 -0
- package/dist/src/icons/contenticons/Information.js +31 -0
- package/dist/src/icons/contenticons/Injustice.js +31 -0
- package/dist/src/icons/contenticons/Institute.js +31 -0
- package/dist/src/icons/contenticons/Justice.js +31 -0
- package/dist/src/icons/contenticons/Laptop.js +31 -0
- package/dist/src/icons/contenticons/Leaflet.js +31 -0
- package/dist/src/icons/contenticons/Learner.js +31 -0
- package/dist/src/icons/contenticons/Levels.js +31 -0
- package/dist/src/icons/contenticons/LevelsDecreasing.js +31 -0
- package/dist/src/icons/contenticons/LevelsIncreasing.js +31 -0
- package/dist/src/icons/contenticons/LevelsStarred.js +31 -0
- package/dist/src/icons/contenticons/Maintenance.js +31 -0
- package/dist/src/icons/contenticons/Male.js +31 -0
- package/dist/src/icons/contenticons/Manikin.js +31 -0
- package/dist/src/icons/contenticons/ManikinCorrect.js +31 -0
- package/dist/src/icons/contenticons/ManikinError.js +31 -0
- package/dist/src/icons/contenticons/ManualMode.js +31 -0
- package/dist/src/icons/contenticons/MapPoint.js +31 -0
- package/dist/src/icons/contenticons/MaskLeak.js +31 -0
- package/dist/src/icons/contenticons/MedicalHistory.js +31 -0
- package/dist/src/icons/contenticons/MedicalRecord.js +31 -0
- package/dist/src/icons/contenticons/Medication.js +31 -0
- package/dist/src/icons/contenticons/Metronome.js +31 -0
- package/dist/src/icons/contenticons/MoodHappy.js +31 -0
- package/dist/src/icons/contenticons/MoodIndifferent.js +31 -0
- package/dist/src/icons/contenticons/MoodSad.js +31 -0
- package/dist/src/icons/contenticons/MoodVeryHappy.js +31 -0
- package/dist/src/icons/contenticons/MoodVerySad.js +31 -0
- package/dist/src/icons/contenticons/Newborn.js +31 -0
- package/dist/src/icons/contenticons/NoInterruption.js +31 -0
- package/dist/src/icons/contenticons/Note.js +31 -0
- package/dist/src/icons/contenticons/Pain.js +31 -0
- package/dist/src/icons/contenticons/Patient.js +31 -0
- package/dist/src/icons/contenticons/PatientAssignment.js +31 -0
- package/dist/src/icons/contenticons/PatientMonitor.js +31 -0
- package/dist/src/icons/contenticons/PatientStretcher.js +31 -0
- package/dist/src/icons/contenticons/PatientTransfer.js +31 -0
- package/dist/src/icons/contenticons/PatientTreatment.js +31 -0
- package/dist/src/icons/contenticons/Person.js +31 -0
- package/dist/src/icons/contenticons/PhysiologicalModel.js +31 -0
- package/dist/src/icons/contenticons/PieChart.js +31 -0
- package/dist/src/icons/contenticons/Pill.js +31 -0
- package/dist/src/icons/contenticons/Pregnant.js +31 -0
- package/dist/src/icons/contenticons/Print.js +31 -0
- package/dist/src/icons/contenticons/ProvidersOrders.js +31 -0
- package/dist/src/icons/contenticons/Pulse.js +31 -0
- package/dist/src/icons/contenticons/RQICart.js +31 -0
- package/dist/src/icons/contenticons/Rate.js +31 -0
- package/dist/src/icons/contenticons/RateTooFast.js +31 -0
- package/dist/src/icons/contenticons/RateTooSlow.js +31 -0
- package/dist/src/icons/contenticons/Recoil.js +31 -0
- package/dist/src/icons/contenticons/Ruler.js +31 -0
- package/dist/src/icons/contenticons/Screens.js +31 -0
- package/dist/src/icons/contenticons/Search.js +31 -0
- package/dist/src/icons/contenticons/Sepsis.js +31 -0
- package/dist/src/icons/contenticons/Settings.js +31 -0
- package/dist/src/icons/contenticons/Shock.js +31 -0
- package/dist/src/icons/contenticons/ShockAdvised.js +31 -0
- package/dist/src/icons/contenticons/ShockAutomated.js +31 -0
- package/dist/src/icons/contenticons/ShockNotAdvised.js +31 -0
- package/dist/src/icons/contenticons/Sleep.js +31 -0
- package/dist/src/icons/contenticons/Smartphone.js +31 -0
- package/dist/src/icons/contenticons/Speech.js +31 -0
- package/dist/src/icons/contenticons/SpeechBubble.js +31 -0
- package/dist/src/icons/contenticons/SpeechBubbles.js +31 -0
- package/dist/src/icons/contenticons/Star.js +31 -0
- package/dist/src/icons/contenticons/Stethoscope.js +31 -0
- package/dist/src/icons/contenticons/Stock.js +31 -0
- package/dist/src/icons/contenticons/Stopwatch.js +31 -0
- package/dist/src/icons/contenticons/Suitcase.js +31 -0
- package/dist/src/icons/contenticons/SwitchCamera.js +31 -0
- package/dist/src/icons/contenticons/SwitchRoles.js +31 -0
- package/dist/src/icons/contenticons/Tablet.js +31 -0
- package/dist/src/icons/contenticons/Talking.js +31 -0
- package/dist/src/icons/contenticons/TargetGroup.js +31 -0
- package/dist/src/icons/contenticons/TaskTrainer.js +31 -0
- package/dist/src/icons/contenticons/TeamLead.js +31 -0
- package/dist/src/icons/contenticons/TeamWork.js +31 -0
- package/dist/src/icons/contenticons/Terms.js +31 -0
- package/dist/src/icons/contenticons/TimelineReview.js +31 -0
- package/dist/src/icons/contenticons/Translation.js +31 -0
- package/dist/src/icons/contenticons/Trophy.js +31 -0
- package/dist/src/icons/contenticons/Trophy1st.js +31 -0
- package/dist/src/icons/contenticons/Trophy2nd.js +31 -0
- package/dist/src/icons/contenticons/Trophy3rd.js +31 -0
- package/dist/src/icons/contenticons/TrophyStar.js +31 -0
- package/dist/src/icons/contenticons/Truck.js +31 -0
- package/dist/src/icons/contenticons/TwoRescuerCPR.js +31 -0
- package/dist/src/icons/contenticons/USB.js +31 -0
- package/dist/src/icons/contenticons/Ultrasound.js +31 -0
- package/dist/src/icons/contenticons/VentilationLungs.js +31 -0
- package/dist/src/icons/contenticons/VentilationPressure.js +31 -0
- package/dist/src/icons/contenticons/VentilationVolume.js +31 -0
- package/dist/src/icons/contenticons/Video.js +31 -0
- package/dist/src/icons/contenticons/VideoRecording.js +31 -0
- package/dist/src/icons/contenticons/Visibility.js +31 -0
- package/dist/src/icons/contenticons/VitalSigns.js +31 -0
- package/dist/src/icons/contenticons/index.js +179 -0
- package/dist/src/icons/index.d.ts +1 -1
- package/dist/src/icons/index.js +45 -0
- package/dist/src/icons/systemicons/Accessibility.js +31 -0
- package/dist/src/icons/systemicons/Add.js +31 -0
- package/dist/src/icons/systemicons/AddUser.js +31 -0
- package/dist/src/icons/systemicons/Adult.js +31 -0
- package/dist/src/icons/systemicons/AedPads.js +31 -0
- package/dist/src/icons/systemicons/AedPadsCorrect.js +31 -0
- package/dist/src/icons/systemicons/AedPadsError.js +31 -0
- package/dist/src/icons/systemicons/Archive.js +31 -0
- package/dist/src/icons/systemicons/ArrowCollapse.js +31 -0
- package/dist/src/icons/systemicons/ArrowDropDown.js +31 -0
- package/dist/src/icons/systemicons/ArrowDropLeft.js +31 -0
- package/dist/src/icons/systemicons/ArrowDropRight.js +31 -0
- package/dist/src/icons/systemicons/ArrowDropUp.js +31 -0
- package/dist/src/icons/systemicons/ArrowExpand.js +31 -0
- package/dist/src/icons/systemicons/ArrowLineDown.js +31 -0
- package/dist/src/icons/systemicons/ArrowLineLeft.js +31 -0
- package/dist/src/icons/systemicons/ArrowLineRight.js +31 -0
- package/dist/src/icons/systemicons/ArrowLineUp.js +31 -0
- package/dist/src/icons/systemicons/ArrowStopLeft.js +31 -0
- package/dist/src/icons/systemicons/ArrowStopRight.js +31 -0
- package/dist/src/icons/systemicons/Assignments.js +31 -0
- package/dist/src/icons/systemicons/Asterisk.js +31 -0
- package/dist/src/icons/systemicons/Attachment.js +31 -0
- package/dist/src/icons/systemicons/Attention.js +31 -0
- package/dist/src/icons/systemicons/AudioDescriptionOn.js +31 -0
- package/dist/src/icons/systemicons/BackwardsFiveSec.js +31 -0
- package/dist/src/icons/systemicons/Battery0.js +31 -0
- package/dist/src/icons/systemicons/Battery1.js +31 -0
- package/dist/src/icons/systemicons/Battery2.js +31 -0
- package/dist/src/icons/systemicons/Battery3.js +31 -0
- package/dist/src/icons/systemicons/Battery4.js +31 -0
- package/dist/src/icons/systemicons/Battery5.js +31 -0
- package/dist/src/icons/systemicons/Battery6.js +31 -0
- package/dist/src/icons/systemicons/BatteryFull.js +31 -0
- package/dist/src/icons/systemicons/Bluetooth.js +31 -0
- package/dist/src/icons/systemicons/Book.js +31 -0
- package/dist/src/icons/systemicons/BookmarkAdd.js +31 -0
- package/dist/src/icons/systemicons/BookmarkCollection.js +31 -0
- package/dist/src/icons/systemicons/BookmarkOff.js +31 -0
- package/dist/src/icons/systemicons/BookmarkOn.js +31 -0
- package/dist/src/icons/systemicons/Bullet.js +31 -0
- package/dist/src/icons/systemicons/Calendar.js +31 -0
- package/dist/src/icons/systemicons/CheckMark.js +31 -0
- package/dist/src/icons/systemicons/CheckboxOff.js +31 -0
- package/dist/src/icons/systemicons/CheckboxOn.js +31 -0
- package/dist/src/icons/systemicons/CheckboxSemi.js +31 -0
- package/dist/src/icons/systemicons/ChevronDown.js +31 -0
- package/dist/src/icons/systemicons/ChevronLeft.js +31 -0
- package/dist/src/icons/systemicons/ChevronRight.js +31 -0
- package/dist/src/icons/systemicons/ChevronUp.js +31 -0
- package/dist/src/icons/systemicons/Child.js +31 -0
- package/dist/src/icons/systemicons/Clear.js +31 -0
- package/dist/src/icons/systemicons/Close.js +31 -0
- package/dist/src/icons/systemicons/ClosedCaptionOn.js +31 -0
- package/dist/src/icons/systemicons/Cloud.js +31 -0
- package/dist/src/icons/systemicons/CloudAttention.js +31 -0
- package/dist/src/icons/systemicons/CloudCheck.js +31 -0
- package/dist/src/icons/systemicons/CloudDownload.js +31 -0
- package/dist/src/icons/systemicons/CloudLocked.js +31 -0
- package/dist/src/icons/systemicons/CloudNoConnection.js +31 -0
- package/dist/src/icons/systemicons/CloudSyncing.js +31 -0
- package/dist/src/icons/systemicons/CloudUpload.js +31 -0
- package/dist/src/icons/systemicons/CoffeeBreak.js +31 -0
- package/dist/src/icons/systemicons/Copy.js +31 -0
- package/dist/src/icons/systemicons/Dashboard.js +31 -0
- package/dist/src/icons/systemicons/DecisionFlow.js +31 -0
- package/dist/src/icons/systemicons/Delete.js +31 -0
- package/dist/src/icons/systemicons/Document.js +31 -0
- package/dist/src/icons/systemicons/Download.js +31 -0
- package/dist/src/icons/systemicons/DragHandle.js +31 -0
- package/dist/src/icons/systemicons/DragIndicator.js +31 -0
- package/dist/src/icons/systemicons/Edit.js +31 -0
- package/dist/src/icons/systemicons/Educator.js +31 -0
- package/dist/src/icons/systemicons/Equals.js +31 -0
- package/dist/src/icons/systemicons/EventLog.js +31 -0
- package/dist/src/icons/systemicons/Export.js +31 -0
- package/dist/src/icons/systemicons/ExportCVS.js +31 -0
- package/dist/src/icons/systemicons/ExportDoc.js +31 -0
- package/dist/src/icons/systemicons/ExportEXL.js +31 -0
- package/dist/src/icons/systemicons/ExportJpg.js +31 -0
- package/dist/src/icons/systemicons/ExportPDF.js +31 -0
- package/dist/src/icons/systemicons/ExportPNG.js +31 -0
- package/dist/src/icons/systemicons/ExtendTextArea.js +31 -0
- package/dist/src/icons/systemicons/Facebook.js +31 -0
- package/dist/src/icons/systemicons/Filter.js +31 -0
- package/dist/src/icons/systemicons/Flickr.js +31 -0
- package/dist/src/icons/systemicons/Forward.js +31 -0
- package/dist/src/icons/systemicons/ForwardFiveSec.js +31 -0
- package/dist/src/icons/systemicons/ForwardSlash.js +31 -0
- package/dist/src/icons/systemicons/Fullscreen.js +31 -0
- package/dist/src/icons/systemicons/FullscreenExit.js +31 -0
- package/dist/src/icons/systemicons/GearSettings.js +31 -0
- package/dist/src/icons/systemicons/GridView.js +31 -0
- package/dist/src/icons/systemicons/Group.js +31 -0
- package/dist/src/icons/systemicons/GuidedTour.js +31 -0
- package/dist/src/icons/systemicons/HeartShock.js +31 -0
- package/dist/src/icons/systemicons/Help.js +31 -0
- package/dist/src/icons/systemicons/Hierarchy.js +31 -0
- package/dist/src/icons/systemicons/History.js +31 -0
- package/dist/src/icons/systemicons/Home.js +31 -0
- package/dist/src/icons/systemicons/Image.js +31 -0
- package/dist/src/icons/systemicons/Infant.js +31 -0
- package/dist/src/icons/systemicons/Information.js +31 -0
- package/dist/src/icons/systemicons/Institute.js +31 -0
- package/dist/src/icons/systemicons/Keyboard.js +31 -0
- package/dist/src/icons/systemicons/Language.js +31 -0
- package/dist/src/icons/systemicons/Learner.js +31 -0
- package/dist/src/icons/systemicons/Legend.js +31 -0
- package/dist/src/icons/systemicons/Legend1Circle.js +31 -0
- package/dist/src/icons/systemicons/Legend2Triangle.js +31 -0
- package/dist/src/icons/systemicons/Legend3Star.js +31 -0
- package/dist/src/icons/systemicons/Legend4Square.js +31 -0
- package/dist/src/icons/systemicons/Legend5Diamond.js +31 -0
- package/dist/src/icons/systemicons/Legend6Nabla.js +31 -0
- package/dist/src/icons/systemicons/Legend7Pentagon.js +31 -0
- package/dist/src/icons/systemicons/Legend8Rectangle.js +31 -0
- package/dist/src/icons/systemicons/LegendStrokeDashed.js +31 -0
- package/dist/src/icons/systemicons/LegendStrokeSolid.js +31 -0
- package/dist/src/icons/systemicons/LikeOff.js +31 -0
- package/dist/src/icons/systemicons/LikeOn.js +31 -0
- package/dist/src/icons/systemicons/Link.js +31 -0
- package/dist/src/icons/systemicons/LinkedIn.js +31 -0
- package/dist/src/icons/systemicons/ListView.js +31 -0
- package/dist/src/icons/systemicons/LoadingMedium.js +8 -0
- package/dist/src/icons/systemicons/LoadingSmall.js +8 -0
- package/dist/src/icons/systemicons/LockedOff.js +31 -0
- package/dist/src/icons/systemicons/LockedOn.js +31 -0
- package/dist/src/icons/systemicons/Login.js +31 -0
- package/dist/src/icons/systemicons/Logout.js +31 -0
- package/dist/src/icons/systemicons/Loop.js +31 -0
- package/dist/src/icons/systemicons/Mail.js +31 -0
- package/dist/src/icons/systemicons/Manikin.js +31 -0
- package/dist/src/icons/systemicons/MapPoint.js +31 -0
- package/dist/src/icons/systemicons/Menu.js +31 -0
- package/dist/src/icons/systemicons/Metronome.js +31 -0
- package/dist/src/icons/systemicons/Microphone.js +31 -0
- package/dist/src/icons/systemicons/Minus.js +31 -0
- package/dist/src/icons/systemicons/MoreHorizontal.js +31 -0
- package/dist/src/icons/systemicons/MoreVertical.js +31 -0
- package/dist/src/icons/systemicons/Notification.js +31 -0
- package/dist/src/icons/systemicons/NotificationNew.js +31 -0
- package/dist/src/icons/systemicons/OpenFolder.js +31 -0
- package/dist/src/icons/systemicons/OpenNewWindow.js +31 -0
- package/dist/src/icons/systemicons/OverView.js +31 -0
- package/dist/src/icons/systemicons/Pause.js +31 -0
- package/dist/src/icons/systemicons/PieChart.js +31 -0
- package/dist/src/icons/systemicons/Pin.js +31 -0
- package/dist/src/icons/systemicons/Play.js +31 -0
- package/dist/src/icons/systemicons/PlayList.js +31 -0
- package/dist/src/icons/systemicons/PlayOutline.js +31 -0
- package/dist/src/icons/systemicons/PlaybackSpeed.js +31 -0
- package/dist/src/icons/systemicons/Plus.js +31 -0
- package/dist/src/icons/systemicons/PointDown.js +31 -0
- package/dist/src/icons/systemicons/PointLeft.js +31 -0
- package/dist/src/icons/systemicons/PointRight.js +31 -0
- package/dist/src/icons/systemicons/PointUp.js +31 -0
- package/dist/src/icons/systemicons/Print.js +31 -0
- package/dist/src/icons/systemicons/RadioButtonOff.js +31 -0
- package/dist/src/icons/systemicons/RadioButtonOn.js +31 -0
- package/dist/src/icons/systemicons/Record.js +31 -0
- package/dist/src/icons/systemicons/Refresh.js +31 -0
- package/dist/src/icons/systemicons/Replay.js +31 -0
- package/dist/src/icons/systemicons/Rewind.js +31 -0
- package/dist/src/icons/systemicons/SUN.js +31 -0
- package/dist/src/icons/systemicons/Save.js +31 -0
- package/dist/src/icons/systemicons/Search.js +31 -0
- package/dist/src/icons/systemicons/SendTo.js +31 -0
- package/dist/src/icons/systemicons/Share.js +31 -0
- package/dist/src/icons/systemicons/Shock.js +31 -0
- package/dist/src/icons/systemicons/ShockAdvised.js +31 -0
- package/dist/src/icons/systemicons/ShockAutomated.js +31 -0
- package/dist/src/icons/systemicons/ShockNotAdvised.js +31 -0
- package/dist/src/icons/systemicons/ShoppingCart.js +31 -0
- package/dist/src/icons/systemicons/SkipForward.js +31 -0
- package/dist/src/icons/systemicons/Sort.js +31 -0
- package/dist/src/icons/systemicons/SpeechBuble.js +31 -0
- package/dist/src/icons/systemicons/StarFilled.js +31 -0
- package/dist/src/icons/systemicons/StarOutlined.js +31 -0
- package/dist/src/icons/systemicons/Stop.js +31 -0
- package/dist/src/icons/systemicons/Support.js +31 -0
- package/dist/src/icons/systemicons/SwitchApp.js +31 -0
- package/dist/src/icons/systemicons/Team.js +31 -0
- package/dist/src/icons/systemicons/TechnicalWarning.js +31 -0
- package/dist/src/icons/systemicons/ThumbsDown.js +31 -0
- package/dist/src/icons/systemicons/ThumbsUp.js +31 -0
- package/dist/src/icons/systemicons/Time.js +31 -0
- package/dist/src/icons/systemicons/TimeLimited.js +31 -0
- package/dist/src/icons/systemicons/Timeline.js +31 -0
- package/dist/src/icons/systemicons/Tip.js +31 -0
- package/dist/src/icons/systemicons/Transcript.js +31 -0
- package/dist/src/icons/systemicons/Translation.js +31 -0
- package/dist/src/icons/systemicons/Twitter.js +31 -0
- package/dist/src/icons/systemicons/Upload.js +31 -0
- package/dist/src/icons/systemicons/Usb.js +31 -0
- package/dist/src/icons/systemicons/User.js +31 -0
- package/dist/src/icons/systemicons/Video.js +31 -0
- package/dist/src/icons/systemicons/VisibleOff.js +31 -0
- package/dist/src/icons/systemicons/VisibleOn.js +31 -0
- package/dist/src/icons/systemicons/VolumeDown.js +31 -0
- package/dist/src/icons/systemicons/VolumeOff.js +31 -0
- package/dist/src/icons/systemicons/VolumeUp.js +31 -0
- package/dist/src/icons/systemicons/Youtube.js +31 -0
- package/dist/src/icons/systemicons/Zoom.js +31 -0
- package/dist/src/icons/systemicons/ZoomOut.js +31 -0
- package/dist/src/icons/systemicons/index.js +204 -0
- package/dist/src/index.js +45 -0
- package/dist/src/styles/breakpoints.js +6 -0
- package/dist/src/styles/colors.d.ts +0 -1
- package/dist/src/styles/colors.js +89 -0
- package/dist/src/styles/focus-styles.js +9 -0
- package/dist/src/styles/global.js +13 -0
- package/dist/src/styles/index.d.ts +2 -1
- package/dist/src/styles/index.js +20 -0
- package/dist/src/styles/overwritecolors.d.ts +2 -0
- package/dist/src/styles/overwritecolors.js +12 -0
- package/dist/src/styles/shadowstyles.js +7 -0
- package/dist/src/styles/typography.d.ts +1 -1
- package/dist/src/styles/typography.js +130 -0
- package/dist/src/styles/z-indexes.js +16 -0
- package/dist/src/types.js +51 -0
- package/dist/src/utils/utils.js +3 -0
- package/dist/stories/Accordion/AccordionMenu.stories.d.ts +1 -1
- package/dist/stories/Accordion/AccordionMenu.stories.js +153 -0
- package/dist/stories/Accordion/ContentAccordion.stories.d.ts +1 -1
- package/dist/stories/Accordion/ContentAccordion.stories.js +234 -0
- package/dist/stories/AuthPage.stories.js +88 -0
- package/dist/stories/Banner.stories.d.ts +1 -1
- package/dist/stories/Banner.stories.js +107 -0
- package/dist/stories/Breadcrumb.stories.d.ts +1 -1
- package/dist/stories/Breadcrumb.stories.js +151 -0
- package/dist/stories/Button/BackButton.stories.d.ts +1 -1
- package/dist/stories/Button/BackButton.stories.js +32 -0
- package/dist/stories/Button/Button.stories.d.ts +1 -1
- package/dist/stories/Button/Button.stories.js +499 -0
- package/dist/stories/Button/DualFunctionButton.stories.d.ts +1 -1
- package/dist/stories/Button/DualFunctionButton.stories.js +374 -0
- package/dist/stories/Button/IconButton.stories.d.ts +1 -1
- package/dist/stories/Button/IconButton.stories.js +81 -0
- package/dist/stories/Card/Card.stories.d.ts +1 -1
- package/dist/stories/Card/Card.stories.js +710 -0
- package/dist/stories/Card/HorizontalCard.stories.d.ts +1 -1
- package/dist/stories/Card/HorizontalCard.stories.js +116 -0
- package/dist/stories/Chip/ActionChip.stories.d.ts +1 -1
- package/dist/stories/Chip/ActionChip.stories.js +69 -0
- package/dist/stories/Chip/ChoiceChip.stories.d.ts +1 -1
- package/dist/stories/Chip/ChoiceChip.stories.js +43 -0
- package/dist/stories/Chip/FilterChip.stories.d.ts +1 -1
- package/dist/stories/Chip/FilterChip.stories.js +68 -0
- package/dist/stories/Chip/InputChip.stories.d.ts +1 -1
- package/dist/stories/Chip/InputChip.stories.js +94 -0
- package/dist/stories/Dropdown/BasicDropdown.stories.d.ts +1 -1
- package/dist/stories/Dropdown/BasicDropdown.stories.js +122 -0
- package/dist/stories/Dropdown/ButtonDropdown.stories.d.ts +1 -1
- package/dist/stories/Dropdown/ButtonDropdown.stories.js +165 -0
- package/dist/stories/Dropdown/DropdownFilter.stories.d.ts +1 -1
- package/dist/stories/Dropdown/DropdownFilter.stories.js +81 -0
- package/dist/stories/Footer.stories.js +95 -0
- package/dist/stories/GlobalLoadingPage.stories.js +10 -0
- package/dist/stories/GlobalNavigationBar.stories.js +477 -0
- package/dist/stories/HorizontalTabs.stories.d.ts +1 -1
- package/dist/stories/HorizontalTabs.stories.js +161 -0
- package/dist/stories/Icon.stories.js +86 -0
- package/dist/stories/InputFields/CheckboxDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/CheckboxDemo.stories.js +63 -0
- package/dist/stories/InputFields/ChipInputField.stories.d.ts +1 -1
- package/dist/stories/InputFields/ChipInputField.stories.js +195 -0
- package/dist/stories/InputFields/DatepickerDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/DatepickerDemo.stories.js +54 -0
- package/dist/stories/InputFields/FormDemo.stories.js +47 -0
- package/dist/stories/InputFields/NumberFieldDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/NumberFieldDemo.stories.js +147 -0
- package/dist/stories/InputFields/PasswordDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/PasswordDemo.stories.js +52 -0
- package/dist/stories/InputFields/QuickSearchDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/QuickSearchDemo.stories.js +78 -0
- package/dist/stories/InputFields/RadioButtonDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/RadioButtonDemo.stories.js +52 -0
- package/dist/stories/InputFields/RichTextFieldDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/RichTextFieldDemo.stories.js +74 -0
- package/dist/stories/InputFields/SearchBarDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/SearchBarDemo.stories.js +108 -0
- package/dist/stories/InputFields/TextFieldDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/TextFieldDemo.stories.js +113 -0
- package/dist/stories/InputFields/TextareaDemo.stories.d.ts +1 -1
- package/dist/stories/InputFields/TextareaDemo.stories.js +80 -0
- package/dist/stories/Layout.stories.js +15 -0
- package/dist/stories/LinearProgress.stories.d.ts +1 -1
- package/dist/stories/LinearProgress.stories.js +69 -0
- package/dist/stories/List.stories.d.ts +1 -1
- package/dist/stories/List.stories.js +290 -0
- package/dist/stories/LoadingIndicator.stories.d.ts +1 -1
- package/dist/stories/LoadingIndicator.stories.js +24 -0
- package/dist/stories/MenuItem.stories.d.ts +1 -1
- package/dist/stories/MenuItem.stories.js +101 -0
- package/dist/stories/ModalContent.stories.js +468 -0
- package/dist/stories/ModalDialog.stories.js +862 -0
- package/dist/stories/NavItem.stories.d.ts +1 -1
- package/dist/stories/NavItem.stories.js +18 -0
- package/dist/stories/Notification.stories.d.ts +1 -1
- package/dist/stories/Notification.stories.js +30 -0
- package/dist/stories/Paginator.stories.d.ts +1 -1
- package/dist/stories/Paginator.stories.js +27 -0
- package/dist/stories/Popover.stories.js +836 -0
- package/dist/stories/ProfileButton.stories.d.ts +1 -1
- package/dist/stories/ProfileButton.stories.js +56 -0
- package/dist/stories/QuizButton.stories.d.ts +1 -1
- package/dist/stories/QuizButton.stories.js +128 -0
- package/dist/stories/Scrollbar.stories.js +70 -0
- package/dist/stories/SegmentControl.stories.d.ts +1 -1
- package/dist/stories/SegmentControl.stories.js +89 -0
- package/dist/stories/ShadowStyles.stories.js +24 -0
- package/dist/stories/SideMenu.stories.js +149 -0
- package/dist/stories/Switcher.stories.js +17 -0
- package/dist/stories/Tables.stories.js +436 -0
- package/dist/stories/Tabs.stories.js +92 -0
- package/dist/stories/Tag.stories.d.ts +1 -1
- package/dist/stories/Tag.stories.js +52 -0
- package/dist/stories/Tile.stories.d.ts +1 -1
- package/dist/stories/Tile.stories.js +1618 -0
- package/dist/stories/Toast.stories.d.ts +1 -1
- package/dist/stories/Toast.stories.js +294 -0
- package/dist/stories/ToggleButton.stories.d.ts +1 -1
- package/dist/stories/ToggleButton.stories.js +74 -0
- package/dist/stories/ToggleSwitch.stories.d.ts +1 -1
- package/dist/stories/ToggleSwitch.stories.js +94 -0
- package/dist/stories/Tooltip.stories.d.ts +1 -1
- package/dist/stories/Tooltip.stories.js +88 -0
- package/dist/stories/Typography.stories.js +130 -0
- package/dist/stories/color.stories.js +272 -0
- package/dist/styles/colors.cjs +1 -11
- package/dist/styles/colors.cjs.map +1 -1
- package/dist/styles/colors.js +0 -9
- package/dist/styles/colors.js.map +1 -1
- package/dist/styles/global.d.ts +1 -1
- package/dist/styles/index.cjs +3 -5
- package/dist/styles/index.cjs.map +1 -1
- package/dist/styles/index.d.ts +2 -1
- package/dist/styles/index.js +2 -1
- package/dist/styles/index.js.map +1 -1
- package/dist/styles/overwritecolors.cjs +20 -0
- package/dist/styles/overwritecolors.cjs.map +1 -0
- package/dist/styles/overwritecolors.d.ts +3 -0
- package/dist/styles/overwritecolors.js +12 -0
- package/dist/styles/overwritecolors.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,38 +2,114 @@ import * as React from 'react';
|
|
|
2
2
|
import { DropdownItem } from './DropdownContent';
|
|
3
3
|
import { Size, Testable } from '../types';
|
|
4
4
|
export interface BasicDropdownCommonProps extends Testable, Omit<React.HTMLAttributes<HTMLDivElement>, 'onSelect' | 'placeholder' | 'tabIndex' | 'onMouseDown' | 'onClick' | 'onKeyDown'> {
|
|
5
|
+
/**
|
|
6
|
+
* Required. An array of DropdownItem objects representing the items in the dropdown.
|
|
7
|
+
*/
|
|
5
8
|
list: DropdownItem[];
|
|
9
|
+
/**
|
|
10
|
+
* Optional. The type of the items in the dropdown. Can be 'normal', 'checkbox', or 'radio'.
|
|
11
|
+
*/
|
|
6
12
|
itemsType?: 'normal' | 'checkbox' | 'radio';
|
|
13
|
+
/**
|
|
14
|
+
* Optional. A function to be called when the action button in the dropdown is clicked.
|
|
15
|
+
*/
|
|
7
16
|
action?: () => void;
|
|
17
|
+
/**
|
|
18
|
+
* Optional. The label for the action button in the dropdown.
|
|
19
|
+
*/
|
|
8
20
|
actionLabel?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Optional. The variant of the action button in the dropdown. Can be 'primary', 'secondary', 'tertiary', or undefined.
|
|
23
|
+
*/
|
|
9
24
|
actionVariant?: 'primary' | 'secondary' | 'tertiary' | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Optional. The icon for the action button in the dropdown.
|
|
27
|
+
*/
|
|
10
28
|
actionIcon?: React.ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Optional. A boolean indicating whether the action button in the dropdown is loading.
|
|
31
|
+
*/
|
|
11
32
|
actionLoading?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Optional. A boolean indicating whether the action button in the dropdown is disabled.
|
|
35
|
+
*/
|
|
12
36
|
actionDisabled?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Optional. A boolean indicating whether the top item in the dropdown should be pinned.
|
|
39
|
+
*/
|
|
13
40
|
pinTopItem?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Optional. A boolean indicating whether the dropdown content is scrollable.
|
|
43
|
+
*/
|
|
14
44
|
scrollable?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Optional. The maximum height of the dropdown.
|
|
47
|
+
*/
|
|
15
48
|
maxHeight?: string;
|
|
16
49
|
placeholder?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional. A boolean indicating whether sorting is disabled in the dropdown.
|
|
52
|
+
*/
|
|
17
53
|
disableSorting?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Optional. The message to be displayed when there are no results in the dropdown.
|
|
56
|
+
*/
|
|
18
57
|
messageOnNoResults?: string;
|
|
58
|
+
/**
|
|
59
|
+
* Optional. A boolean indicating whether the dropdown is disabled.
|
|
60
|
+
*/
|
|
19
61
|
disabled?: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Optional. A boolean indicating whether the dropdown is read-only.
|
|
64
|
+
*/
|
|
20
65
|
readOnly?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Optional. A boolean indicating whether the dropdown is a button.
|
|
68
|
+
*/
|
|
21
69
|
isButton?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Optional. The validation message to be displayed when the dropdown is active.
|
|
72
|
+
*/
|
|
22
73
|
activeValidationMessage?: string;
|
|
74
|
+
/**
|
|
75
|
+
* Optional. The message to be displayed when the dropdown is autofilled.
|
|
76
|
+
*/
|
|
23
77
|
autofilledMessage?: string;
|
|
78
|
+
/**
|
|
79
|
+
* Optional. The size of the dropdown. Can be 'Small' or 'Medium'.
|
|
80
|
+
*/
|
|
24
81
|
size?: Size.Small | Size.Medium;
|
|
82
|
+
/**
|
|
83
|
+
* Optional. The margin of the dropdown. Can be any valid CSS margin value.
|
|
84
|
+
*/
|
|
25
85
|
margin?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Optional. The minimum width of the dropdown.
|
|
88
|
+
*/
|
|
26
89
|
minWidth?: string;
|
|
90
|
+
/**
|
|
91
|
+
* Optional. The text overflow behavior of the dropdown. Can be 'ellipsis' or 'default'.
|
|
92
|
+
*/
|
|
27
93
|
textOverflow?: 'ellipsis' | 'default';
|
|
94
|
+
/**
|
|
95
|
+
* Optional. The position of the tooltip when dropdown is closed. Can be 'top' or 'bottom'.
|
|
96
|
+
*/
|
|
97
|
+
overflowTooltipPosition?: 'top' | 'bottom';
|
|
28
98
|
}
|
|
29
99
|
export type BasicDropdownMultiSelectProps = BasicDropdownCommonProps & {
|
|
100
|
+
/** Required. If this flag is set then user can select multiple items. */
|
|
30
101
|
multiSelect: true;
|
|
102
|
+
/** Required. Selected items. */
|
|
31
103
|
value?: string[];
|
|
104
|
+
/** Required. Callback handler to call when user selects one of the items. Provides all selected items after last change. */
|
|
32
105
|
onSelect: (value: string[]) => void;
|
|
33
106
|
};
|
|
34
107
|
export type BasucDropdownSingleSelectProps = BasicDropdownCommonProps & {
|
|
108
|
+
/** Required. If this flag is set then user can select multiple items. */
|
|
35
109
|
multiSelect?: false;
|
|
110
|
+
/** Required. Selected item. */
|
|
36
111
|
value?: string;
|
|
112
|
+
/** Required. Callback handler to call when user selects one of the items. Provides value of selected item. */
|
|
37
113
|
onSelect: (value: string) => void;
|
|
38
114
|
};
|
|
39
115
|
export type BasicDropdownProps = BasucDropdownSingleSelectProps | BasicDropdownMultiSelectProps;
|
|
@@ -13,7 +13,6 @@ export declare const DropdownInputFieldStyles: import("styled-components").Style
|
|
|
13
13
|
readOnly: boolean;
|
|
14
14
|
showValidationMessage?: boolean | undefined;
|
|
15
15
|
isPlaceholder?: boolean | undefined;
|
|
16
|
-
fontSize?: string | undefined;
|
|
17
16
|
minWidth?: string | undefined;
|
|
18
17
|
}, never>;
|
|
19
18
|
export declare const DropdownContentButtonStyling: import("styled-components").FlattenSimpleInterpolation;
|
|
@@ -3,35 +3,62 @@ import { Size, Testable } from '../types';
|
|
|
3
3
|
import { DropdownItem } from './DropdownContent';
|
|
4
4
|
import { TooltipProps } from "../Tooltips/TooltipTypes";
|
|
5
5
|
export interface DropdownButtonBaseProps extends Testable {
|
|
6
|
+
/** Optional. Id of the top level component, button or text wrapper, depending on 'type'. */
|
|
6
7
|
id?: string;
|
|
8
|
+
/** Required. Array of items to be shown in the dropdown. */
|
|
7
9
|
items: DropdownItem[];
|
|
10
|
+
/** Optional. Currently selected items. */
|
|
8
11
|
value?: string[];
|
|
12
|
+
/** Optional. Handler to be called, provides array of values of currently selected items. */
|
|
9
13
|
onClick: (value: string[]) => void;
|
|
14
|
+
/** Optional. If disabled user can not interact with the button. */
|
|
10
15
|
disabled?: boolean;
|
|
11
|
-
|
|
16
|
+
/** Optional. Size of the items in the dropdown content, does not affect button itself. */
|
|
17
|
+
size?: Size.Small | Size.Medium | Size.Large;
|
|
18
|
+
/** Optional. Type of the items to be shown in the dropdown. */
|
|
12
19
|
itemsType?: 'normal' | 'radio' | 'checkbox';
|
|
20
|
+
/** Optional. Handler of the extra action item to be shown in the dropdown content. */
|
|
13
21
|
action?: () => void;
|
|
22
|
+
/** Optional. Label of the extra action item to be shown in the dropdown content. */
|
|
14
23
|
actionLabel?: string;
|
|
24
|
+
/** Optional. Icon of the extra action item to be shown in the dropdown content. */
|
|
15
25
|
actionIcon?: React.ReactNode;
|
|
26
|
+
/** Optional. Loading state of the extra action item to be shown in the dropdown content. */
|
|
16
27
|
actionLoading?: boolean;
|
|
28
|
+
/** Optional. Button variant of the extra action item in the dropdown contnet. */
|
|
17
29
|
actionVariant?: 'primary' | 'secondary' | 'tertiary' | undefined;
|
|
30
|
+
/** Optional. If set, then user can select multiple items in the dropdown. */
|
|
18
31
|
multiSelect?: boolean;
|
|
32
|
+
/** Optional. If set, then dropdown content is scrollable. */
|
|
19
33
|
scrollable?: boolean;
|
|
34
|
+
/** Optional. Maximum height of the dropdown content container. */
|
|
20
35
|
maxHeight?: string;
|
|
36
|
+
/** Optional. If this flag is set, multiselect flag is set and checkbox or radio item types are used, then
|
|
37
|
+
* will show extra item in the top that will allow to 'Select all' items. */
|
|
21
38
|
pinTopItem?: boolean;
|
|
39
|
+
/** Optional. Custom classname to set on the top level container of the component */
|
|
22
40
|
className?: string;
|
|
41
|
+
/** Optional. Icon of the component, is required if type 'icon' is used. */
|
|
23
42
|
icon?: React.ReactNode;
|
|
43
|
+
/** Optional. Sets width of the dropdown container. */
|
|
24
44
|
width?: string;
|
|
45
|
+
/** Optional. If set, then dropdown content will be aligned with the left edge of the button, otherwise with the right edge. */
|
|
25
46
|
alignLeft?: boolean;
|
|
26
47
|
}
|
|
27
48
|
export type IconDropdownButtonProps = DropdownButtonBaseProps & {
|
|
49
|
+
/** Icon type of the dropdown button. */
|
|
28
50
|
type: 'icon';
|
|
51
|
+
/** Required. Icon to be shown with the component. */
|
|
29
52
|
icon: React.ReactNode;
|
|
53
|
+
/** Optional. Tooltip to be shown with the component. */
|
|
30
54
|
tooltip?: TooltipProps;
|
|
31
55
|
};
|
|
32
56
|
export type TextDropdownButtonProps = DropdownButtonBaseProps & {
|
|
57
|
+
/** Text drodown button type. */
|
|
33
58
|
type: 'text';
|
|
59
|
+
/** Optional. Label to be shown with the dropdown button if none of the items in the dropdown is selected. */
|
|
34
60
|
label?: string;
|
|
61
|
+
/** Optional. If set to true, then 'label' will be shown even if user selects items in the dropdown. */
|
|
35
62
|
keepLabel?: boolean;
|
|
36
63
|
};
|
|
37
64
|
export type DropdownButtonProps = IconDropdownButtonProps | TextDropdownButtonProps;
|
|
@@ -19,14 +19,23 @@ export declare const DropdownContentListContainer: import("styled-components").S
|
|
|
19
19
|
outline?: boolean | undefined;
|
|
20
20
|
}, never>;
|
|
21
21
|
export interface DropdownItem {
|
|
22
|
+
/** Required. Value of the DropdownItem. */
|
|
22
23
|
value: string;
|
|
24
|
+
/** Optional. Display label to show in the MenuItem. If not provided then 'value' will be used as label. */
|
|
23
25
|
displayLabel?: string;
|
|
26
|
+
/** Optional. Note label to be shown under the Display label in the MenuItem. */
|
|
24
27
|
noteLabel?: string;
|
|
28
|
+
/** */
|
|
25
29
|
suggestion?: boolean;
|
|
30
|
+
/** Optional. Show dividing line on the top of the item. */
|
|
26
31
|
showDividerAbove?: boolean;
|
|
32
|
+
/** Optional. If disabled user can not interact with the item. */
|
|
27
33
|
disabled?: boolean;
|
|
34
|
+
/** Optional. If item is locked then user can not interact with the item and 'lock' icon is shown on the right side of the item. */
|
|
28
35
|
locked?: boolean;
|
|
36
|
+
/** Optional. Icon to be shown on the left side of the menu item */
|
|
29
37
|
icon?: React.ReactNode;
|
|
38
|
+
/** */
|
|
30
39
|
customContent?: React.ReactNode;
|
|
31
40
|
}
|
|
32
41
|
export interface DropdownCustomizationProps {
|
|
@@ -51,7 +60,7 @@ export interface DropdownProps {
|
|
|
51
60
|
alignLeft?: boolean;
|
|
52
61
|
isOpen: boolean;
|
|
53
62
|
setIsOpen: (open: boolean) => void;
|
|
54
|
-
size?: Size;
|
|
63
|
+
size?: Size.Small | Size.Medium | Size.Large;
|
|
55
64
|
id: string;
|
|
56
65
|
filter: string;
|
|
57
66
|
width?: string;
|
|
@@ -2,22 +2,39 @@ import * as React from 'react';
|
|
|
2
2
|
import { DropdownItem } from './DropdownContent';
|
|
3
3
|
import { Size, Testable } from '../types';
|
|
4
4
|
export interface DropdownFilterProps extends Testable, Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onSelect' | 'size' | 'list' | 'autoComplete' | 'type' | 'placeholder' | 'onKeyDown' | 'value' | 'onChange' | 'required' | 'tabIndex' | 'disabled' | 'readOnly'> {
|
|
5
|
+
/** Required. List of items to show in the dropdown. */
|
|
5
6
|
list: DropdownItem[];
|
|
7
|
+
/** Optional. Placeholder text to show when there is no input and no item was selected */
|
|
6
8
|
placeholder?: string;
|
|
9
|
+
/** Optional. Currently selected item */
|
|
7
10
|
value?: string;
|
|
11
|
+
/** Optional. Handler to be called when user selects one of the items. */
|
|
8
12
|
onSelect?: (value: string) => void;
|
|
13
|
+
/** Optional. Handler to be called when user changes text in the input. */
|
|
9
14
|
onInputChange?: (input: string) => void;
|
|
15
|
+
/** Optional. If set, then HTML 'required' attribute will be set for the input field */
|
|
10
16
|
required?: boolean;
|
|
17
|
+
/** Optional. If set, then user will not be able to interact with the input field */
|
|
11
18
|
disabled?: boolean;
|
|
19
|
+
/** Optional. If set, then 'readonly' HTML attribute will be set to the input field */
|
|
12
20
|
readOnly?: boolean;
|
|
21
|
+
/** Optional. If set, then loading indicator will be shown in the input field. */
|
|
13
22
|
loading?: boolean;
|
|
23
|
+
/** Optional. If set, then items in the dropdown will not be filtered depending on the user input */
|
|
14
24
|
disableFiltering?: boolean;
|
|
25
|
+
/** Optional. If none of the items fits input, then there will be a message shown in the dropdown. */
|
|
15
26
|
messageOnNoResults?: string;
|
|
27
|
+
/** Optional. Validation error message to be shown under the input field. */
|
|
16
28
|
activeValidationMessage?: string;
|
|
29
|
+
/** Optional. Informal message to show under the input field. */
|
|
17
30
|
autofilledMessage?: string;
|
|
31
|
+
/** Optional. Size of the input field */
|
|
18
32
|
size?: Size.Small | Size.Medium;
|
|
19
|
-
|
|
33
|
+
/** Optional. Position of the tooltip to show when input is overflowing the input field. */
|
|
34
|
+
overflowTooltipPosition?: 'top' | 'bottom';
|
|
35
|
+
/** Optional. Margin of the dropdown container items */
|
|
20
36
|
margin?: string;
|
|
37
|
+
/** Optional. Sets if dropdown container is scrollable */
|
|
21
38
|
scrollable?: boolean;
|
|
22
39
|
}
|
|
23
40
|
declare const DropdownFilter: React.ForwardRefExoticComponent<DropdownFilterProps & React.RefAttributes<unknown>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface Link {
|
|
3
3
|
label: string;
|
|
4
4
|
to: string;
|
|
@@ -8,5 +8,5 @@ interface FooterLinkProps {
|
|
|
8
8
|
bottomLinks?: Link[];
|
|
9
9
|
copyrightText?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const FooterBottomLinks: ({ bottomLinks, copyrightText }: FooterLinkProps) => JSX.Element;
|
|
11
|
+
declare const FooterBottomLinks: ({ bottomLinks, copyrightText }: FooterLinkProps) => React.JSX.Element;
|
|
12
12
|
export default FooterBottomLinks;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { NavSection } from '../../types';
|
|
3
3
|
interface FooterNavSectionProps {
|
|
4
4
|
navSection: NavSection;
|
|
5
5
|
width: number;
|
|
6
6
|
}
|
|
7
|
-
declare const FooterDropdownLinks: ({ navSection, width }: FooterNavSectionProps) => JSX.Element;
|
|
7
|
+
declare const FooterDropdownLinks: ({ navSection, width }: FooterNavSectionProps) => React.JSX.Element;
|
|
8
8
|
export default FooterDropdownLinks;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { NavOptions } from '../../types';
|
|
3
3
|
interface FooterNavSectionProps {
|
|
4
4
|
navOptions: NavOptions;
|
|
5
5
|
mainId: string;
|
|
6
6
|
}
|
|
7
|
-
declare const FooterNavSection: ({ navOptions }: FooterNavSectionProps) => JSX.Element;
|
|
7
|
+
declare const FooterNavSection: ({ navOptions }: FooterNavSectionProps) => React.JSX.Element;
|
|
8
8
|
export default FooterNavSection;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface FooterNewsletterAndSocialSection {
|
|
3
3
|
actionOnNewsletterSignup?: (email: string) => void;
|
|
4
4
|
newsletterLabel: string;
|
|
5
5
|
placeholderEmail?: string;
|
|
6
6
|
}
|
|
7
|
-
declare const FooterNewsletterAndSocialSection: ({ actionOnNewsletterSignup, newsletterLabel, placeholderEmail }: FooterNewsletterAndSocialSection) => JSX.Element;
|
|
7
|
+
declare const FooterNewsletterAndSocialSection: ({ actionOnNewsletterSignup, newsletterLabel, placeholderEmail }: FooterNewsletterAndSocialSection) => React.JSX.Element;
|
|
8
8
|
export default FooterNewsletterAndSocialSection;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface FooterTopProps {
|
|
3
3
|
sitename?: string;
|
|
4
4
|
showBetaTag?: boolean;
|
|
5
5
|
toTopText: string;
|
|
6
6
|
}
|
|
7
|
-
declare const FooterTop: ({ sitename, showBetaTag, toTopText }: FooterTopProps) => JSX.Element;
|
|
7
|
+
declare const FooterTop: ({ sitename, showBetaTag, toTopText }: FooterTopProps) => React.JSX.Element;
|
|
8
8
|
export default FooterTop;
|
package/dist/Footer/Footer.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const Footer: ({ children }: any) => JSX.Element;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const Footer: ({ children }: any) => React.JSX.Element;
|
|
3
3
|
export default Footer;
|
|
@@ -22,5 +22,5 @@ interface NewFooterProps extends Omit<React.HTMLAttributes<HTMLElement>, 'id'> {
|
|
|
22
22
|
useMaxWidth?: boolean;
|
|
23
23
|
maxWidth?: number;
|
|
24
24
|
}
|
|
25
|
-
declare const SiteFooter: ({ id, sitename, bottomLinks, showBetaTag, copyrightText, toTopText, placeholderEmailField, includeNewsletterAndSocialSection, newsletterLabel, navOptions, onNewsletterSignup, useMaxWidth, maxWidth, ...rest }: NewFooterProps) => JSX.Element;
|
|
25
|
+
declare const SiteFooter: ({ id, sitename, bottomLinks, showBetaTag, copyrightText, toTopText, placeholderEmailField, includeNewsletterAndSocialSection, newsletterLabel, navOptions, onNewsletterSignup, useMaxWidth, maxWidth, ...rest }: NewFooterProps) => React.JSX.Element;
|
|
26
26
|
export default SiteFooter;
|
|
@@ -0,0 +1,299 @@
|
|
|
1
|
+
var __assign = (this && this.__assign) || function () {
|
|
2
|
+
__assign = Object.assign || function(t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
+
t[p] = s[p];
|
|
7
|
+
}
|
|
8
|
+
return t;
|
|
9
|
+
};
|
|
10
|
+
return __assign.apply(this, arguments);
|
|
11
|
+
};
|
|
12
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
13
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
14
|
+
if (ar || !(i in from)) {
|
|
15
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
16
|
+
ar[i] = from[i];
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
20
|
+
};
|
|
21
|
+
import * as React from 'react';
|
|
22
|
+
import { render } from '@testing-library/react';
|
|
23
|
+
import GlobalNavigationBar from '../GlobalNavigationBar';
|
|
24
|
+
import { createMemoryHistory } from 'history';
|
|
25
|
+
import { SystemIcons } from '../../icons';
|
|
26
|
+
import { Router } from 'react-router-dom';
|
|
27
|
+
jest.mock('rooks', function () { return (__assign(__assign({}, jest.requireActual('rooks')), { useDimensionsRef: function () { return []; }, useMediaMatch: function () { return true; } })); });
|
|
28
|
+
jest.mock('react-router-dom', function () { return (__assign(__assign({}, jest.requireActual('react-router-dom')), { useLocation: function () { return 'location'; } })); });
|
|
29
|
+
jest.mock('react-router', function () { return (__assign(__assign({}, jest.requireActual('react-router')), { useHistory: function () { return ({ push: jest.fn() }); } })); });
|
|
30
|
+
describe('GlobalNavigationBar', function () {
|
|
31
|
+
var mainNavigationOptions = [
|
|
32
|
+
{
|
|
33
|
+
label: 'Overview',
|
|
34
|
+
to: '/',
|
|
35
|
+
exact: true,
|
|
36
|
+
onClick: function () {
|
|
37
|
+
console.log('Clicked on overview page');
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
label: 'Services',
|
|
42
|
+
to: '/services',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
label: 'Products',
|
|
46
|
+
to: '/products',
|
|
47
|
+
},
|
|
48
|
+
];
|
|
49
|
+
var secondaryNavigationOptions = [
|
|
50
|
+
{
|
|
51
|
+
label: 'Pinned Tab',
|
|
52
|
+
to: 'pinned',
|
|
53
|
+
pinned: true
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
var headerActions = [
|
|
57
|
+
{
|
|
58
|
+
type: 'action',
|
|
59
|
+
action: function (e) {
|
|
60
|
+
console.log('search');
|
|
61
|
+
},
|
|
62
|
+
icon: React.createElement(SystemIcons.Search, null),
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: 'action',
|
|
66
|
+
action: function (e) {
|
|
67
|
+
console.log('notifications');
|
|
68
|
+
},
|
|
69
|
+
icon: React.createElement(SystemIcons.Notification, null),
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'action',
|
|
73
|
+
action: function (e) {
|
|
74
|
+
console.log('language');
|
|
75
|
+
},
|
|
76
|
+
icon: React.createElement(SystemIcons.Language, null),
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
type: 'action',
|
|
80
|
+
action: function (e) {
|
|
81
|
+
console.log('settings');
|
|
82
|
+
},
|
|
83
|
+
icon: React.createElement(SystemIcons.GearSettings, null),
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: 'profile',
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
type: 'action',
|
|
90
|
+
action: function (e) {
|
|
91
|
+
console.log('shop');
|
|
92
|
+
},
|
|
93
|
+
icon: React.createElement(SystemIcons.ShoppingCart, null),
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
type: 'switcher',
|
|
97
|
+
action: function (e) {
|
|
98
|
+
// @ts-ignore
|
|
99
|
+
window.portalNav.toggle();
|
|
100
|
+
console.log('switcher');
|
|
101
|
+
},
|
|
102
|
+
}
|
|
103
|
+
];
|
|
104
|
+
var notifications = [
|
|
105
|
+
{
|
|
106
|
+
label: 'First',
|
|
107
|
+
note: 'This is a note',
|
|
108
|
+
to: '/n7',
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
label: 'Second',
|
|
112
|
+
note: 'This is a note',
|
|
113
|
+
to: '/n6',
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
label: 'Third',
|
|
117
|
+
note: 'This is a note',
|
|
118
|
+
to: '/n5',
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
label: 'Fourth',
|
|
122
|
+
note: 'This is a note',
|
|
123
|
+
to: '/n4',
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
label: 'Fifth',
|
|
127
|
+
note: 'This is a note',
|
|
128
|
+
to: '/n3',
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
label: 'Sixth',
|
|
132
|
+
note: 'This is a note',
|
|
133
|
+
to: '/n2',
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
label: 'Seventh',
|
|
137
|
+
note: 'This is a note',
|
|
138
|
+
to: '/n1',
|
|
139
|
+
},
|
|
140
|
+
];
|
|
141
|
+
var mobileActions = [
|
|
142
|
+
{
|
|
143
|
+
type: 'submenu',
|
|
144
|
+
menu: {
|
|
145
|
+
type: 'custom',
|
|
146
|
+
label: 'Search',
|
|
147
|
+
custom: function () { return 'custom'; }
|
|
148
|
+
},
|
|
149
|
+
icon: React.createElement(SystemIcons.Search, null),
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: 'submenu',
|
|
153
|
+
menu: {
|
|
154
|
+
type: 'group',
|
|
155
|
+
label: 'Notifications',
|
|
156
|
+
items: notifications
|
|
157
|
+
},
|
|
158
|
+
icon: React.createElement(SystemIcons.Notification, null),
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: 'action',
|
|
162
|
+
action: function (e) {
|
|
163
|
+
console.log('language');
|
|
164
|
+
return true;
|
|
165
|
+
},
|
|
166
|
+
icon: React.createElement(SystemIcons.Language, null),
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: 'profile',
|
|
170
|
+
placement: 'left'
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
type: 'switcher',
|
|
174
|
+
action: function (e) {
|
|
175
|
+
// @ts-ignore
|
|
176
|
+
window.portalNav.toggle();
|
|
177
|
+
console.log('switcher');
|
|
178
|
+
},
|
|
179
|
+
}
|
|
180
|
+
];
|
|
181
|
+
var mobileStickyNav = [
|
|
182
|
+
{
|
|
183
|
+
label: 'Help',
|
|
184
|
+
to: '/help',
|
|
185
|
+
pinned: true,
|
|
186
|
+
icon: React.createElement(SystemIcons.Help, null),
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
label: 'Support',
|
|
190
|
+
to: '/support',
|
|
191
|
+
pinned: true,
|
|
192
|
+
icon: React.createElement(SystemIcons.Support, null),
|
|
193
|
+
},
|
|
194
|
+
];
|
|
195
|
+
var accountSection = [
|
|
196
|
+
{ label: 'My Account', to: '/account/myaccount', icon: React.createElement(SystemIcons.User, null), external: false },
|
|
197
|
+
{ label: 'Language & Region', to: '/account/language', icon: React.createElement(SystemIcons.Language, null), external: false },
|
|
198
|
+
{ label: 'Settings', to: '/account/settings', icon: React.createElement(SystemIcons.GearSettings, null), external: false },
|
|
199
|
+
];
|
|
200
|
+
var organizationSection = [
|
|
201
|
+
{
|
|
202
|
+
label: 'Organization details',
|
|
203
|
+
to: '/organization/myorganization',
|
|
204
|
+
icon: React.createElement(SystemIcons.Institute, null),
|
|
205
|
+
external: false
|
|
206
|
+
},
|
|
207
|
+
{ label: 'People', to: '/organization/user-management', icon: React.createElement(SystemIcons.Team, null), external: false },
|
|
208
|
+
];
|
|
209
|
+
var supportSection = [
|
|
210
|
+
{
|
|
211
|
+
label: 'Help',
|
|
212
|
+
to: 'https://laerdal.force.com/HelpCenter',
|
|
213
|
+
icon: React.createElement(SystemIcons.Help, null),
|
|
214
|
+
external: true,
|
|
215
|
+
pinned: true
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
label: 'Support',
|
|
219
|
+
to: 'https://www.laerdal.com/support/',
|
|
220
|
+
icon: React.createElement(SystemIcons.Support, null),
|
|
221
|
+
external: true,
|
|
222
|
+
pinned: true
|
|
223
|
+
},
|
|
224
|
+
];
|
|
225
|
+
var mobileNavigationSubGroup = {
|
|
226
|
+
type: 'group',
|
|
227
|
+
items: __spreadArray(__spreadArray([], organizationSection, true), supportSection, true),
|
|
228
|
+
note: 'This is a note',
|
|
229
|
+
header: {
|
|
230
|
+
header: 'Title',
|
|
231
|
+
note: 'Note Text'
|
|
232
|
+
},
|
|
233
|
+
footer: {
|
|
234
|
+
header: 'Title',
|
|
235
|
+
note: 'Note text',
|
|
236
|
+
link: {
|
|
237
|
+
label: 'Link text',
|
|
238
|
+
href: '#',
|
|
239
|
+
external: false
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
action: {
|
|
243
|
+
label: 'Sign out',
|
|
244
|
+
action: function () {
|
|
245
|
+
console.log('Sign out');
|
|
246
|
+
},
|
|
247
|
+
icon: React.createElement(SystemIcons.Logout, null)
|
|
248
|
+
},
|
|
249
|
+
label: 'Organization',
|
|
250
|
+
icon: React.createElement(SystemIcons.Institute, null),
|
|
251
|
+
};
|
|
252
|
+
it('should render', function () {
|
|
253
|
+
var history = createMemoryHistory();
|
|
254
|
+
var wrapper = render(React.createElement(Router, { navigator: history, location: "/" },
|
|
255
|
+
React.createElement(GlobalNavigationBar, { name: "Home", logo: {
|
|
256
|
+
showBetaTag: true,
|
|
257
|
+
to: '/main'
|
|
258
|
+
}, desktop: {
|
|
259
|
+
buttons: headerActions,
|
|
260
|
+
items: __spreadArray([], mainNavigationOptions, true),
|
|
261
|
+
}, profile: {
|
|
262
|
+
label: 'Account',
|
|
263
|
+
user: {
|
|
264
|
+
firstName: 'John',
|
|
265
|
+
lastName: 'Doe',
|
|
266
|
+
email: 'email@email.com',
|
|
267
|
+
link: {
|
|
268
|
+
label: 'Manage your account',
|
|
269
|
+
icon: React.createElement(SystemIcons.OpenNewWindow, null),
|
|
270
|
+
href: '/account/myaccount',
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
signOut: {
|
|
274
|
+
label: 'Sign out',
|
|
275
|
+
action: function () {
|
|
276
|
+
console.log('Sign out');
|
|
277
|
+
},
|
|
278
|
+
},
|
|
279
|
+
sections: [{
|
|
280
|
+
items: __spreadArray([], accountSection, true),
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
label: 'Laerdal Medical AS',
|
|
284
|
+
items: __spreadArray([], organizationSection, true),
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
items: __spreadArray([], supportSection, true),
|
|
288
|
+
pinned: true,
|
|
289
|
+
}]
|
|
290
|
+
}, mobile: {
|
|
291
|
+
buttons: mobileActions,
|
|
292
|
+
items: __spreadArray(__spreadArray(__spreadArray([], mainNavigationOptions, true), [mobileNavigationSubGroup], false), mobileStickyNav, true),
|
|
293
|
+
}, isAuthenticated: true })));
|
|
294
|
+
expect(wrapper.getByText('Home')).toBeDefined();
|
|
295
|
+
__spreadArray([], mainNavigationOptions, true).forEach(function (item) {
|
|
296
|
+
expect(wrapper.findByText(item.label)).toBeDefined();
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
});
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { act, fireEvent, render } from '@testing-library/react';
|
|
3
|
+
import Logo from '../Logo';
|
|
4
|
+
import { MemoryRouter } from 'react-router';
|
|
5
|
+
describe('Logo', function () {
|
|
6
|
+
it('should render Laerdal logo', function () {
|
|
7
|
+
var wrapper = render(React.createElement(MemoryRouter, null,
|
|
8
|
+
React.createElement(Logo, { name: 'name' })));
|
|
9
|
+
expect(wrapper.getByText('name')).toBeDefined();
|
|
10
|
+
expect(wrapper.getByText('Laerdal logo')).toBeDefined();
|
|
11
|
+
});
|
|
12
|
+
it('should render beta tag', function () {
|
|
13
|
+
var wrapper = render(React.createElement(MemoryRouter, null,
|
|
14
|
+
React.createElement(Logo, { name: 'name', showBetaTag: true })));
|
|
15
|
+
expect(wrapper.getByText('BETA')).toBeDefined();
|
|
16
|
+
});
|
|
17
|
+
it('should call onClick when logo is clicked', function () {
|
|
18
|
+
var onClickSpy = jest.fn();
|
|
19
|
+
var wrapper = render(React.createElement(MemoryRouter, null,
|
|
20
|
+
React.createElement(Logo, { name: 'name', onClick: onClickSpy })));
|
|
21
|
+
act(function () {
|
|
22
|
+
fireEvent.click(wrapper.container.querySelector('a'));
|
|
23
|
+
});
|
|
24
|
+
expect(onClickSpy).toHaveBeenCalled();
|
|
25
|
+
});
|
|
26
|
+
});
|