@dfds-ui/react-components 2.2.0-alpha.938dc7f0 → 2.2.0-alpha.96d72953
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/accordion/Accordion.d.ts +101 -0
- package/accordion/Accordion.js +131 -0
- package/accordion/AccordionContent.d.ts +14 -0
- package/accordion/AccordionContent.js +27 -0
- package/accordion/AccordionSmall.d.ts +56 -0
- package/accordion/AccordionSmall.js +94 -0
- package/accordion/index.d.ts +3 -0
- package/accordion/index.js +3 -0
- package/app-bar/AppBar.d.ts +13 -0
- package/app-bar/AppBar.js +194 -0
- package/app-bar/AppBarContext.d.ts +12 -0
- package/app-bar/AppBarContext.js +36 -0
- package/app-bar/AppBarDrawer.d.ts +5 -0
- package/app-bar/AppBarDrawer.js +38 -0
- package/app-bar/AppBarIconButton.d.ts +10 -0
- package/app-bar/AppBarIconButton.js +35 -0
- package/app-bar/AppBarItem.d.ts +23 -0
- package/app-bar/AppBarItem.js +182 -0
- package/app-bar/AppBarListItem.d.ts +15 -0
- package/app-bar/AppBarListItem.js +17 -0
- package/app-bar/index.d.ts +7 -0
- package/app-bar/index.js +7 -0
- package/assertions/banner/Banner.d.ts +74 -0
- package/assertions/banner/Banner.js +251 -0
- package/assertions/banner/BannerAction.d.ts +19 -0
- package/assertions/banner/BannerAction.js +41 -0
- package/assertions/banner/BannerTypography.d.ts +9 -0
- package/assertions/banner/BannerTypography.js +41 -0
- package/assertions/banner/index.d.ts +3 -0
- package/assertions/banner/index.js +3 -0
- package/assertions/index.d.ts +2 -0
- package/assertions/index.js +2 -0
- package/assertions/toast/Toast.d.ts +13 -0
- package/assertions/toast/Toast.js +99 -0
- package/assertions/toast/Toaster.d.ts +19 -0
- package/assertions/toast/Toaster.js +167 -0
- package/assertions/toast/index.d.ts +2 -0
- package/assertions/toast/index.js +2 -0
- package/badge/Badge.d.ts +26 -0
- package/badge/Badge.js +47 -0
- package/badge/index.d.ts +2 -0
- package/badge/index.js +2 -0
- package/button/BadgeIcon.d.ts +7 -0
- package/button/BadgeIcon.js +31 -0
- package/button/BaseButton.d.ts +14 -0
- package/button/BaseButton.js +23 -0
- package/button/Button.d.ts +19 -0
- package/button/Button.js +162 -0
- package/button/IconButton.d.ts +75 -0
- package/button/IconButton.js +139 -0
- package/button/LinkButton.d.ts +8 -0
- package/button/LinkButton.js +21 -0
- package/button/button-style.d.ts +7 -0
- package/button/button-style.js +17 -0
- package/button/index.d.ts +7 -0
- package/button/index.js +9 -0
- package/button-stack/ButtonStack.d.ts +12 -0
- package/button-stack/ButtonStack.js +58 -0
- package/button-stack/index.d.ts +1 -0
- package/button-stack/index.js +1 -0
- package/card/Card.d.ts +19 -0
- package/card/Card.js +152 -0
- package/card/CardActions.d.ts +4 -0
- package/card/CardActions.js +30 -0
- package/card/CardContent.d.ts +14 -0
- package/card/CardContent.js +44 -0
- package/card/CardMedia.d.ts +19 -0
- package/card/CardMedia.js +50 -0
- package/card/CardPriceTag.d.ts +25 -0
- package/card/CardPriceTag.js +112 -0
- package/card/CardTitle.d.ts +19 -0
- package/card/CardTitle.js +48 -0
- package/card/index.d.ts +6 -0
- package/card/index.js +6 -0
- package/chip/Chip.d.ts +19 -0
- package/chip/Chip.js +136 -0
- package/chip/index.d.ts +2 -0
- package/chip/index.js +2 -0
- package/cjs/accordion/Accordion.d.ts +101 -0
- package/cjs/accordion/Accordion.js +129 -0
- package/cjs/accordion/AccordionContent.d.ts +14 -0
- package/cjs/accordion/AccordionContent.js +27 -0
- package/cjs/accordion/AccordionSmall.d.ts +56 -0
- package/cjs/accordion/AccordionSmall.js +95 -0
- package/cjs/accordion/index.d.ts +3 -0
- package/cjs/accordion/index.js +38 -0
- package/cjs/app-bar/AppBar.d.ts +13 -0
- package/cjs/app-bar/AppBar.js +182 -0
- package/cjs/app-bar/AppBarContext.d.ts +12 -0
- package/cjs/app-bar/AppBarContext.js +34 -0
- package/cjs/app-bar/AppBarDrawer.d.ts +5 -0
- package/cjs/app-bar/AppBarDrawer.js +37 -0
- package/cjs/app-bar/AppBarIconButton.d.ts +10 -0
- package/cjs/app-bar/AppBarIconButton.js +35 -0
- package/cjs/app-bar/AppBarItem.d.ts +23 -0
- package/cjs/app-bar/AppBarItem.js +173 -0
- package/cjs/app-bar/AppBarListItem.d.ts +15 -0
- package/cjs/app-bar/AppBarListItem.js +20 -0
- package/cjs/app-bar/index.d.ts +7 -0
- package/cjs/app-bar/index.js +60 -0
- package/cjs/assertions/banner/Banner.d.ts +74 -0
- package/cjs/assertions/banner/Banner.js +235 -0
- package/cjs/assertions/banner/BannerAction.d.ts +19 -0
- package/cjs/assertions/banner/BannerAction.js +42 -0
- package/cjs/assertions/banner/BannerTypography.d.ts +9 -0
- package/cjs/assertions/banner/BannerTypography.js +46 -0
- package/cjs/assertions/banner/index.d.ts +3 -0
- package/cjs/assertions/banner/index.js +38 -0
- package/cjs/assertions/index.d.ts +2 -0
- package/cjs/assertions/index.js +27 -0
- package/cjs/assertions/toast/Toast.d.ts +13 -0
- package/cjs/assertions/toast/Toast.js +89 -0
- package/cjs/assertions/toast/Toaster.d.ts +19 -0
- package/cjs/assertions/toast/Toaster.js +141 -0
- package/cjs/assertions/toast/index.d.ts +2 -0
- package/cjs/assertions/toast/index.js +27 -0
- package/cjs/badge/Badge.d.ts +26 -0
- package/cjs/badge/Badge.js +44 -0
- package/cjs/badge/index.d.ts +2 -0
- package/cjs/badge/index.js +27 -0
- package/cjs/button/BadgeIcon.d.ts +7 -0
- package/cjs/button/BadgeIcon.js +40 -0
- package/cjs/button/BaseButton.d.ts +14 -0
- package/cjs/button/BaseButton.js +30 -0
- package/cjs/button/Button.d.ts +19 -0
- package/cjs/button/Button.js +136 -0
- package/cjs/button/IconButton.d.ts +75 -0
- package/cjs/button/IconButton.js +134 -0
- package/cjs/button/LinkButton.d.ts +8 -0
- package/cjs/button/LinkButton.js +23 -0
- package/cjs/button/button-style.d.ts +7 -0
- package/cjs/button/button-style.js +23 -0
- package/cjs/button/index.d.ts +7 -0
- package/cjs/button/index.js +77 -0
- package/cjs/button-stack/ButtonStack.d.ts +12 -0
- package/cjs/button-stack/ButtonStack.js +66 -0
- package/cjs/button-stack/index.d.ts +1 -0
- package/cjs/button-stack/index.js +13 -0
- package/cjs/card/Card.d.ts +19 -0
- package/cjs/card/Card.js +129 -0
- package/cjs/card/CardActions.d.ts +4 -0
- package/cjs/card/CardActions.js +27 -0
- package/cjs/card/CardContent.d.ts +14 -0
- package/cjs/card/CardContent.js +40 -0
- package/cjs/card/CardMedia.d.ts +19 -0
- package/cjs/card/CardMedia.js +50 -0
- package/cjs/card/CardPriceTag.d.ts +25 -0
- package/cjs/card/CardPriceTag.js +110 -0
- package/cjs/card/CardTitle.d.ts +19 -0
- package/cjs/card/CardTitle.js +44 -0
- package/cjs/card/index.d.ts +6 -0
- package/cjs/card/index.js +48 -0
- package/cjs/chip/Chip.d.ts +19 -0
- package/cjs/chip/Chip.js +112 -0
- package/cjs/chip/index.d.ts +2 -0
- package/cjs/chip/index.js +27 -0
- package/cjs/common/LockBodyScroll.d.ts +26 -0
- package/cjs/common/LockBodyScroll.js +70 -0
- package/cjs/common/arrow.d.ts +6 -0
- package/cjs/common/arrow.js +42 -0
- package/cjs/common/emotionCloneElement.d.ts +2 -0
- package/cjs/common/emotionCloneElement.js +16 -0
- package/cjs/common/intent.d.ts +3 -0
- package/cjs/common/intent.js +33 -0
- package/cjs/common/miniMoize.d.ts +1 -0
- package/cjs/common/miniMoize.js +31 -0
- package/cjs/common/polymorphic.d.ts +25 -0
- package/cjs/common/polymorphic.js +41 -0
- package/cjs/common/use-media.d.ts +1 -0
- package/cjs/common/use-media.js +37 -0
- package/cjs/common/useOnClickOutside.d.ts +3 -0
- package/cjs/common/useOnClickOutside.js +46 -0
- package/cjs/common/utils.d.ts +3 -0
- package/cjs/common/utils.js +25 -0
- package/cjs/counter/Counter.d.ts +27 -0
- package/cjs/counter/Counter.js +137 -0
- package/cjs/counter/PluralCounter.d.ts +14 -0
- package/cjs/counter/PluralCounter.js +54 -0
- package/cjs/counter/index.d.ts +2 -0
- package/cjs/counter/index.js +20 -0
- package/cjs/data-table/DataTable.d.ts +11 -0
- package/cjs/data-table/DataTable.js +89 -0
- package/cjs/data-table/index.d.ts +1 -0
- package/cjs/data-table/index.js +16 -0
- package/cjs/divider/Divider.d.ts +26 -0
- package/cjs/divider/Divider.js +44 -0
- package/cjs/divider/index.d.ts +1 -0
- package/cjs/divider/index.js +16 -0
- package/cjs/drawer/Drawer.d.ts +32 -0
- package/cjs/drawer/Drawer.js +46 -0
- package/cjs/drawer/index.d.ts +1 -0
- package/cjs/drawer/index.js +16 -0
- package/cjs/dropdown-menu/Dropdown.d.ts +46 -0
- package/cjs/dropdown-menu/Dropdown.js +137 -0
- package/cjs/dropdown-menu/DropdownContext.d.ts +13 -0
- package/cjs/dropdown-menu/DropdownContext.js +31 -0
- package/cjs/dropdown-menu/MenuCheckbox.d.ts +34 -0
- package/cjs/dropdown-menu/MenuCheckbox.js +60 -0
- package/cjs/dropdown-menu/MenuItem.d.ts +45 -0
- package/cjs/dropdown-menu/MenuItem.js +147 -0
- package/cjs/dropdown-menu/MenuTitle.d.ts +14 -0
- package/cjs/dropdown-menu/MenuTitle.js +53 -0
- package/cjs/dropdown-menu/index.d.ts +5 -0
- package/cjs/dropdown-menu/index.js +52 -0
- package/cjs/elevation/index.d.ts +3 -0
- package/cjs/elevation/index.js +47 -0
- package/cjs/flexbox/FlexBox.d.ts +100 -0
- package/cjs/flexbox/FlexBox.js +38 -0
- package/cjs/flexbox/index.d.ts +1 -0
- package/cjs/flexbox/index.js +16 -0
- package/cjs/footer/Footer.d.ts +7 -0
- package/cjs/footer/Footer.js +44 -0
- package/cjs/footer/index.d.ts +1 -0
- package/cjs/footer/index.js +13 -0
- package/cjs/forms/assistive-text/AssistiveText.d.ts +7 -0
- package/cjs/forms/assistive-text/AssistiveText.js +17 -0
- package/cjs/forms/asterisk/Asterisk.d.ts +3 -0
- package/cjs/forms/asterisk/Asterisk.js +23 -0
- package/cjs/forms/checkbox/Checkbox.d.ts +39 -0
- package/cjs/forms/checkbox/Checkbox.js +122 -0
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +11 -0
- package/cjs/forms/checkbox/ExampleControlComponent.js +25 -0
- package/cjs/forms/checkbox/index.d.ts +1 -0
- package/cjs/forms/checkbox/index.js +13 -0
- package/cjs/forms/email-field/EmailField.d.ts +22 -0
- package/cjs/forms/email-field/EmailField.js +26 -0
- package/cjs/forms/error-text/ErrorText.d.ts +7 -0
- package/cjs/forms/error-text/ErrorText.js +34 -0
- package/cjs/forms/field/Field.d.ts +11 -0
- package/cjs/forms/field/Field.js +67 -0
- package/cjs/forms/index.d.ts +21 -0
- package/cjs/forms/index.js +132 -0
- package/cjs/forms/input/Input.d.ts +19 -0
- package/cjs/forms/input/Input.js +137 -0
- package/cjs/forms/input/InputComposition.d.ts +43 -0
- package/cjs/forms/input/InputComposition.js +145 -0
- package/cjs/forms/label/Label.d.ts +11 -0
- package/cjs/forms/label/Label.js +48 -0
- package/cjs/forms/number-field/NumberField.d.ts +22 -0
- package/cjs/forms/number-field/NumberField.js +38 -0
- package/cjs/forms/password-field/PasswordField.d.ts +4 -0
- package/cjs/forms/password-field/PasswordField.js +44 -0
- package/cjs/forms/radio/Radio.d.ts +35 -0
- package/cjs/forms/radio/Radio.js +84 -0
- package/cjs/forms/reactselect/ReactSelect.d.ts +25 -0
- package/cjs/forms/reactselect/ReactSelect.js +150 -0
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +95 -0
- package/cjs/forms/select/Select.d.ts +16 -0
- package/cjs/forms/select/Select.js +108 -0
- package/cjs/forms/select-field/SelectField.d.ts +25 -0
- package/cjs/forms/select-field/SelectField.js +100 -0
- package/cjs/forms/switch/Switch.d.ts +13 -0
- package/cjs/forms/switch/Switch.js +138 -0
- package/cjs/forms/tel-field/TelField.d.ts +22 -0
- package/cjs/forms/tel-field/TelField.js +26 -0
- package/cjs/forms/text-field/TextField.d.ts +43 -0
- package/cjs/forms/text-field/TextField.js +108 -0
- package/cjs/global-styles/GlobalStyles.d.ts +3 -0
- package/cjs/global-styles/GlobalStyles.js +73 -0
- package/cjs/global-styles/ResetStyles.d.ts +9 -0
- package/cjs/global-styles/ResetStyles.js +31 -0
- package/cjs/global-styles/sanitize.d.ts +1 -0
- package/cjs/global-styles/sanitize.js +16 -0
- package/cjs/grid/Column.d.ts +10 -0
- package/cjs/grid/Column.js +30 -0
- package/cjs/grid/Container.d.ts +15 -0
- package/cjs/grid/Container.js +100 -0
- package/cjs/grid/index.d.ts +2 -0
- package/cjs/grid/index.js +20 -0
- package/cjs/hero/Hero.d.ts +10 -0
- package/cjs/hero/Hero.js +179 -0
- package/cjs/hero/index.d.ts +1 -0
- package/cjs/hero/index.js +13 -0
- package/cjs/hero/stripes.d.ts +6 -0
- package/cjs/hero/stripes.js +192 -0
- package/cjs/ie-banner/IEBanner.d.ts +12 -0
- package/cjs/ie-banner/IEBanner.js +53 -0
- package/cjs/ie-banner/index.d.ts +1 -0
- package/cjs/ie-banner/index.js +13 -0
- package/cjs/index.d.ts +43 -0
- package/cjs/index.js +515 -0
- package/cjs/layout/LayoutLegacy.d.ts +2 -0
- package/cjs/layout/LayoutLegacy.js +55 -0
- package/cjs/lists/FeatureList.d.ts +22 -0
- package/cjs/lists/FeatureList.js +44 -0
- package/cjs/lists/ListAddon.d.ts +11 -0
- package/cjs/lists/ListAddon.js +29 -0
- package/cjs/lists/ListDivider.d.ts +5 -0
- package/cjs/lists/ListDivider.js +27 -0
- package/cjs/lists/ListIcon.d.ts +18 -0
- package/cjs/lists/ListIcon.js +45 -0
- package/cjs/lists/ListItem.d.ts +46 -0
- package/cjs/lists/ListItem.js +60 -0
- package/cjs/lists/ListText.d.ts +39 -0
- package/cjs/lists/ListText.js +62 -0
- package/cjs/lists/ListTextGroup.d.ts +15 -0
- package/cjs/lists/ListTextGroup.js +28 -0
- package/cjs/lists/ListTitle.d.ts +4 -0
- package/cjs/lists/ListTitle.js +31 -0
- package/cjs/lists/index.d.ts +8 -0
- package/cjs/lists/index.js +62 -0
- package/cjs/loader/DfdsLoader.d.ts +9 -0
- package/cjs/loader/DfdsLoader.js +75 -0
- package/cjs/loader/Loader.d.ts +6 -0
- package/cjs/loader/Loader.js +65 -0
- package/cjs/loader/index.d.ts +2 -0
- package/cjs/loader/index.js +20 -0
- package/cjs/localization/LocaleFlag.d.ts +13 -0
- package/cjs/localization/LocaleFlag.js +33 -0
- package/cjs/localization/index.d.ts +2 -0
- package/cjs/localization/index.js +27 -0
- package/cjs/localization/locales.d.ts +35 -0
- package/cjs/localization/locales.js +238 -0
- package/cjs/logo/Logo.d.ts +11 -0
- package/cjs/logo/Logo.js +40 -0
- package/cjs/logo/index.d.ts +1 -0
- package/cjs/logo/index.js +16 -0
- package/cjs/media/index.d.ts +2 -0
- package/cjs/media/index.js +8 -0
- package/cjs/menu/Menu.d.ts +7 -0
- package/cjs/menu/Menu.js +83 -0
- package/cjs/menu/index.d.ts +2 -0
- package/cjs/menu/index.js +27 -0
- package/cjs/mobile-stepper/MobileStepper.d.ts +25 -0
- package/cjs/mobile-stepper/MobileStepper.js +65 -0
- package/cjs/mobile-stepper/index.d.ts +1 -0
- package/cjs/mobile-stepper/index.js +13 -0
- package/cjs/nav-bar/NavBar.d.ts +37 -0
- package/cjs/nav-bar/NavBar.js +144 -0
- package/cjs/nav-bar/index.d.ts +2 -0
- package/cjs/nav-bar/index.js +27 -0
- package/cjs/nav-menu/NavMenuItem.d.ts +10 -0
- package/cjs/nav-menu/NavMenuItem.js +51 -0
- package/cjs/nav-menu/index.d.ts +1 -0
- package/cjs/nav-menu/index.js +13 -0
- package/cjs/pagination/Pagination.d.ts +44 -0
- package/cjs/pagination/Pagination.js +116 -0
- package/cjs/pagination/Pagination.styles.d.ts +6 -0
- package/cjs/pagination/Pagination.styles.js +26 -0
- package/cjs/pagination/index.d.ts +1 -0
- package/cjs/pagination/index.js +16 -0
- package/cjs/popper/Popper.d.ts +29 -0
- package/cjs/popper/Popper.js +73 -0
- package/cjs/popper/index.d.ts +1 -0
- package/cjs/popper/index.js +13 -0
- package/cjs/progress-bar/ProgressBar.d.ts +8 -0
- package/cjs/progress-bar/ProgressBar.js +52 -0
- package/cjs/progress-bar/index.d.ts +2 -0
- package/cjs/progress-bar/index.js +27 -0
- package/cjs/schedule/ScheduleItem.d.ts +19 -0
- package/cjs/schedule/ScheduleItem.js +34 -0
- package/cjs/schedule/ScheduleList.d.ts +11 -0
- package/cjs/schedule/ScheduleList.js +29 -0
- package/cjs/schedule/index.d.ts +2 -0
- package/cjs/schedule/index.js +20 -0
- package/cjs/side-sheet/SideSheet.d.ts +57 -0
- package/cjs/side-sheet/SideSheet.js +161 -0
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +13 -0
- package/cjs/side-sheet/SideSheetCloseButton.js +38 -0
- package/cjs/side-sheet/SideSheetContent.d.ts +7 -0
- package/cjs/side-sheet/SideSheetContent.js +27 -0
- package/cjs/side-sheet/SideSheetFooter.d.ts +7 -0
- package/cjs/side-sheet/SideSheetFooter.js +27 -0
- package/cjs/side-sheet/SideSheetHeader.d.ts +9 -0
- package/cjs/side-sheet/SideSheetHeader.js +31 -0
- package/cjs/side-sheet/SideSheetHeadline.d.ts +7 -0
- package/cjs/side-sheet/SideSheetHeadline.js +24 -0
- package/cjs/side-sheet/index.d.ts +4 -0
- package/cjs/side-sheet/index.js +44 -0
- package/cjs/site-layout/SiteLayout.d.ts +40 -0
- package/cjs/site-layout/SiteLayout.js +125 -0
- package/cjs/site-layout/index.d.ts +2 -0
- package/cjs/site-layout/index.js +27 -0
- package/cjs/skeleton/Skeleton.d.ts +8 -0
- package/cjs/skeleton/Skeleton.js +38 -0
- package/cjs/skeleton/index.d.ts +1 -0
- package/cjs/skeleton/index.js +16 -0
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +24 -0
- package/cjs/social-media-link-list/SocialMediaLinkList.js +106 -0
- package/cjs/social-media-link-list/index.d.ts +1 -0
- package/cjs/social-media-link-list/index.js +16 -0
- package/cjs/spinner/Spinner.d.ts +58 -0
- package/cjs/spinner/Spinner.js +105 -0
- package/cjs/spinner/index.d.ts +1 -0
- package/cjs/spinner/index.js +16 -0
- package/cjs/step/Step.d.ts +45 -0
- package/cjs/step/Step.js +76 -0
- package/cjs/step/Step.styles.d.ts +4 -0
- package/cjs/step/Step.styles.js +24 -0
- package/cjs/step/StepButton.d.ts +4 -0
- package/cjs/step/StepButton.js +112 -0
- package/cjs/step/StepContent.d.ts +6 -0
- package/cjs/step/StepContent.js +48 -0
- package/cjs/step/StepContext.d.ts +12 -0
- package/cjs/step/StepContext.js +15 -0
- package/cjs/step/StepLabel.d.ts +7 -0
- package/cjs/step/StepLabel.js +39 -0
- package/cjs/step/index.d.ts +1 -0
- package/cjs/step/index.js +13 -0
- package/cjs/stepper/Stepper.d.ts +25 -0
- package/cjs/stepper/Stepper.js +64 -0
- package/cjs/stepper/StepperContext.d.ts +9 -0
- package/cjs/stepper/StepperContext.js +14 -0
- package/cjs/stepper/index.d.ts +1 -0
- package/cjs/stepper/index.js +13 -0
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +34 -0
- package/cjs/stepper-feedback-message/index.d.ts +1 -0
- package/cjs/stepper-feedback-message/index.js +13 -0
- package/cjs/styles/index.d.ts +3 -0
- package/cjs/styles/index.js +34 -0
- package/cjs/styles/media.d.ts +21 -0
- package/cjs/styles/media.js +41 -0
- package/cjs/styles/rem.d.ts +1 -0
- package/cjs/styles/rem.js +11 -0
- package/cjs/styles/style-helpers.d.ts +1 -0
- package/cjs/styles/style-helpers.js +19 -0
- package/cjs/styles/theme.d.ts +39 -0
- package/cjs/styles/theme.js +15 -0
- package/cjs/surface/Surface.d.ts +32 -0
- package/cjs/surface/Surface.js +85 -0
- package/cjs/surface/index.d.ts +1 -0
- package/cjs/surface/index.js +16 -0
- package/cjs/tab/Tab.d.ts +12 -0
- package/cjs/tab/Tab.js +55 -0
- package/cjs/tab/TabPanel.d.ts +7 -0
- package/cjs/tab/TabPanel.js +30 -0
- package/cjs/tab/Tabs.d.ts +11 -0
- package/cjs/tab/Tabs.js +124 -0
- package/cjs/tab/TabsContext.d.ts +16 -0
- package/cjs/tab/TabsContext.js +33 -0
- package/cjs/tab/index.d.ts +4 -0
- package/cjs/tab/index.js +44 -0
- package/cjs/tab/typings.d.js +2 -0
- package/cjs/table/Table.d.ts +22 -0
- package/cjs/table/Table.js +44 -0
- package/cjs/table/TableBody.d.ts +9 -0
- package/cjs/table/TableBody.js +20 -0
- package/cjs/table/TableDataCell.d.ts +14 -0
- package/cjs/table/TableDataCell.js +28 -0
- package/cjs/table/TableHead.d.ts +14 -0
- package/cjs/table/TableHead.js +35 -0
- package/cjs/table/TableHeaderCell.d.ts +15 -0
- package/cjs/table/TableHeaderCell.js +29 -0
- package/cjs/table/TableRow.d.ts +17 -0
- package/cjs/table/TableRow.js +38 -0
- package/cjs/table/index.d.ts +6 -0
- package/cjs/table/index.js +71 -0
- package/cjs/test/Test.d.ts +8 -0
- package/cjs/test/Test.js +16 -0
- package/cjs/tooltip/Tooltip.d.ts +26 -0
- package/cjs/tooltip/Tooltip.js +109 -0
- package/cjs/tooltip/index.d.ts +2 -0
- package/cjs/tooltip/index.js +19 -0
- package/cjs/types/global.d.js +1 -0
- package/cjs/typography/Headlines.d.ts +71 -0
- package/cjs/typography/Headlines.js +92 -0
- package/cjs/typography/Text.d.ts +4 -0
- package/cjs/typography/Text.js +23 -0
- package/cjs/typography/index.d.ts +2 -0
- package/cjs/typography/index.js +27 -0
- package/common/LockBodyScroll.d.ts +26 -0
- package/common/LockBodyScroll.js +74 -0
- package/common/arrow.d.ts +6 -0
- package/common/arrow.js +38 -0
- package/common/emotionCloneElement.d.ts +2 -0
- package/common/emotionCloneElement.js +18 -0
- package/common/intent.d.ts +3 -0
- package/common/intent.js +28 -0
- package/common/miniMoize.d.ts +1 -0
- package/common/miniMoize.js +25 -0
- package/common/polymorphic.d.ts +25 -0
- package/common/polymorphic.js +40 -0
- package/common/use-media.d.ts +1 -0
- package/common/use-media.js +52 -0
- package/common/useOnClickOutside.d.ts +3 -0
- package/common/useOnClickOutside.js +39 -0
- package/common/utils.d.ts +3 -0
- package/common/utils.js +21 -0
- package/counter/Counter.d.ts +27 -0
- package/counter/Counter.js +140 -0
- package/counter/PluralCounter.d.ts +14 -0
- package/counter/PluralCounter.js +65 -0
- package/counter/index.d.ts +2 -0
- package/counter/index.js +2 -0
- package/data-table/DataTable.d.ts +11 -0
- package/data-table/DataTable.js +103 -0
- package/data-table/index.d.ts +1 -0
- package/data-table/index.js +1 -0
- package/divider/Divider.d.ts +26 -0
- package/divider/Divider.js +46 -0
- package/divider/index.d.ts +1 -0
- package/divider/index.js +1 -0
- package/drawer/Drawer.d.ts +32 -0
- package/drawer/Drawer.js +51 -0
- package/drawer/index.d.ts +1 -0
- package/drawer/index.js +1 -0
- package/dropdown-menu/Dropdown.d.ts +46 -0
- package/dropdown-menu/Dropdown.js +155 -0
- package/dropdown-menu/DropdownContext.d.ts +13 -0
- package/dropdown-menu/DropdownContext.js +22 -0
- package/dropdown-menu/MenuCheckbox.d.ts +34 -0
- package/dropdown-menu/MenuCheckbox.js +61 -0
- package/dropdown-menu/MenuItem.d.ts +45 -0
- package/dropdown-menu/MenuItem.js +160 -0
- package/dropdown-menu/MenuTitle.d.ts +14 -0
- package/dropdown-menu/MenuTitle.js +45 -0
- package/dropdown-menu/index.d.ts +5 -0
- package/dropdown-menu/index.js +5 -0
- package/elevation/index.d.ts +3 -0
- package/elevation/index.js +42 -0
- package/flexbox/FlexBox.d.ts +100 -0
- package/flexbox/FlexBox.js +46 -0
- package/flexbox/index.d.ts +1 -0
- package/flexbox/index.js +1 -0
- package/footer/Footer.d.ts +7 -0
- package/footer/Footer.js +36 -0
- package/footer/index.d.ts +1 -0
- package/footer/index.js +1 -0
- package/forms/assistive-text/AssistiveText.d.ts +7 -0
- package/forms/assistive-text/AssistiveText.js +12 -0
- package/forms/asterisk/Asterisk.d.ts +3 -0
- package/forms/asterisk/Asterisk.js +16 -0
- package/forms/checkbox/Checkbox.d.ts +39 -0
- package/forms/checkbox/Checkbox.js +148 -0
- package/forms/checkbox/ExampleControlComponent.d.ts +11 -0
- package/forms/checkbox/ExampleControlComponent.js +39 -0
- package/forms/checkbox/index.d.ts +1 -0
- package/forms/checkbox/index.js +1 -0
- package/forms/email-field/EmailField.d.ts +22 -0
- package/forms/email-field/EmailField.js +26 -0
- package/forms/error-text/ErrorText.d.ts +7 -0
- package/forms/error-text/ErrorText.js +29 -0
- package/forms/field/Field.d.ts +11 -0
- package/forms/field/Field.js +59 -0
- package/forms/index.d.ts +21 -0
- package/forms/index.js +18 -0
- package/forms/input/Input.d.ts +19 -0
- package/forms/input/Input.js +152 -0
- package/forms/input/InputComposition.d.ts +43 -0
- package/forms/input/InputComposition.js +144 -0
- package/forms/label/Label.d.ts +11 -0
- package/forms/label/Label.js +52 -0
- package/forms/number-field/NumberField.d.ts +22 -0
- package/forms/number-field/NumberField.js +37 -0
- package/forms/password-field/PasswordField.d.ts +4 -0
- package/forms/password-field/PasswordField.js +54 -0
- package/forms/radio/Radio.d.ts +35 -0
- package/forms/radio/Radio.js +109 -0
- package/forms/reactselect/ReactSelect.d.ts +25 -0
- package/forms/reactselect/ReactSelect.js +169 -0
- package/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
- package/forms/searchable-select/AsyncSearchableSelect.js +94 -0
- package/forms/select/Select.d.ts +16 -0
- package/forms/select/Select.js +115 -0
- package/forms/select-field/SelectField.d.ts +25 -0
- package/forms/select-field/SelectField.js +99 -0
- package/forms/switch/Switch.d.ts +13 -0
- package/forms/switch/Switch.js +153 -0
- package/forms/tel-field/TelField.d.ts +22 -0
- package/forms/tel-field/TelField.js +26 -0
- package/forms/text-field/TextField.d.ts +43 -0
- package/forms/text-field/TextField.js +109 -0
- package/global-styles/GlobalStyles.d.ts +3 -0
- package/global-styles/GlobalStyles.js +62 -0
- package/global-styles/ResetStyles.d.ts +9 -0
- package/global-styles/ResetStyles.js +25 -0
- package/global-styles/sanitize.d.ts +1 -0
- package/global-styles/sanitize.js +10 -0
- package/grid/Column.d.ts +10 -0
- package/grid/Column.js +31 -0
- package/grid/Container.d.ts +15 -0
- package/grid/Container.js +101 -0
- package/grid/index.d.ts +2 -0
- package/grid/index.js +2 -0
- package/hero/Hero.d.ts +10 -0
- package/hero/Hero.js +130 -0
- package/hero/index.d.ts +1 -0
- package/hero/index.js +1 -0
- package/hero/stripes.d.ts +6 -0
- package/hero/stripes.js +185 -0
- package/ie-banner/IEBanner.d.ts +12 -0
- package/ie-banner/IEBanner.js +62 -0
- package/ie-banner/index.d.ts +1 -0
- package/ie-banner/index.js +1 -0
- package/index.d.ts +43 -0
- package/index.js +43 -0
- package/layout/LayoutLegacy.d.ts +2 -0
- package/layout/LayoutLegacy.js +44 -0
- package/lists/FeatureList.d.ts +22 -0
- package/lists/FeatureList.js +46 -0
- package/lists/ListAddon.d.ts +11 -0
- package/lists/ListAddon.js +31 -0
- package/lists/ListDivider.d.ts +5 -0
- package/lists/ListDivider.js +28 -0
- package/lists/ListIcon.d.ts +18 -0
- package/lists/ListIcon.js +48 -0
- package/lists/ListItem.d.ts +46 -0
- package/lists/ListItem.js +66 -0
- package/lists/ListText.d.ts +39 -0
- package/lists/ListText.js +62 -0
- package/lists/ListTextGroup.d.ts +15 -0
- package/lists/ListTextGroup.js +30 -0
- package/lists/ListTitle.d.ts +4 -0
- package/lists/ListTitle.js +32 -0
- package/lists/index.d.ts +8 -0
- package/lists/index.js +8 -0
- package/loader/DfdsLoader.d.ts +9 -0
- package/loader/DfdsLoader.js +54 -0
- package/loader/Loader.d.ts +6 -0
- package/loader/Loader.js +52 -0
- package/loader/index.d.ts +2 -0
- package/loader/index.js +2 -0
- package/localization/LocaleFlag.d.ts +13 -0
- package/localization/LocaleFlag.js +33 -0
- package/localization/index.d.ts +2 -0
- package/localization/index.js +2 -0
- package/localization/locales.d.ts +35 -0
- package/localization/locales.js +231 -0
- package/logo/Logo.d.ts +11 -0
- package/logo/Logo.js +37 -0
- package/logo/index.d.ts +1 -0
- package/logo/index.js +1 -0
- package/media/index.d.ts +2 -0
- package/media/index.js +2 -0
- package/menu/Menu.d.ts +7 -0
- package/menu/Menu.js +83 -0
- package/menu/index.d.ts +2 -0
- package/menu/index.js +2 -0
- package/mobile-stepper/MobileStepper.d.ts +25 -0
- package/mobile-stepper/MobileStepper.js +74 -0
- package/mobile-stepper/index.d.ts +1 -0
- package/mobile-stepper/index.js +1 -0
- package/nav-bar/NavBar.d.ts +37 -0
- package/nav-bar/NavBar.js +164 -0
- package/nav-bar/index.d.ts +2 -0
- package/nav-bar/index.js +2 -0
- package/nav-menu/NavMenuItem.d.ts +10 -0
- package/nav-menu/NavMenuItem.js +46 -0
- package/nav-menu/index.d.ts +1 -0
- package/nav-menu/index.js +1 -0
- package/package.json +19 -22
- package/pagination/Pagination.d.ts +44 -0
- package/pagination/Pagination.js +118 -0
- package/pagination/Pagination.styles.d.ts +6 -0
- package/pagination/Pagination.styles.js +19 -0
- package/pagination/index.d.ts +1 -0
- package/pagination/index.js +1 -0
- package/popper/Popper.d.ts +29 -0
- package/popper/Popper.js +77 -0
- package/popper/index.d.ts +1 -0
- package/popper/index.js +1 -0
- package/progress-bar/ProgressBar.d.ts +8 -0
- package/progress-bar/ProgressBar.js +52 -0
- package/progress-bar/index.d.ts +2 -0
- package/progress-bar/index.js +2 -0
- package/schedule/ScheduleItem.d.ts +19 -0
- package/schedule/ScheduleItem.js +27 -0
- package/schedule/ScheduleList.d.ts +11 -0
- package/schedule/ScheduleList.js +30 -0
- package/schedule/index.d.ts +2 -0
- package/schedule/index.js +2 -0
- package/side-sheet/SideSheet.d.ts +57 -0
- package/side-sheet/SideSheet.js +171 -0
- package/side-sheet/SideSheetCloseButton.d.ts +13 -0
- package/side-sheet/SideSheetCloseButton.js +40 -0
- package/side-sheet/SideSheetContent.d.ts +7 -0
- package/side-sheet/SideSheetContent.js +27 -0
- package/side-sheet/SideSheetFooter.d.ts +7 -0
- package/side-sheet/SideSheetFooter.js +27 -0
- package/side-sheet/SideSheetHeader.d.ts +9 -0
- package/side-sheet/SideSheetHeader.js +31 -0
- package/side-sheet/SideSheetHeadline.d.ts +7 -0
- package/side-sheet/SideSheetHeadline.js +15 -0
- package/side-sheet/index.d.ts +4 -0
- package/side-sheet/index.js +4 -0
- package/site-layout/SiteLayout.d.ts +40 -0
- package/site-layout/SiteLayout.js +127 -0
- package/site-layout/index.d.ts +2 -0
- package/site-layout/index.js +2 -0
- package/skeleton/Skeleton.d.ts +8 -0
- package/skeleton/Skeleton.js +41 -0
- package/skeleton/index.d.ts +1 -0
- package/skeleton/index.js +1 -0
- package/social-media-link-list/SocialMediaLinkList.d.ts +24 -0
- package/social-media-link-list/SocialMediaLinkList.js +110 -0
- package/social-media-link-list/index.d.ts +1 -0
- package/social-media-link-list/index.js +1 -0
- package/spinner/Spinner.d.ts +58 -0
- package/spinner/Spinner.js +92 -0
- package/spinner/index.d.ts +1 -0
- package/spinner/index.js +1 -0
- package/step/Step.d.ts +45 -0
- package/step/Step.js +82 -0
- package/step/Step.styles.d.ts +4 -0
- package/step/Step.styles.js +19 -0
- package/step/StepButton.d.ts +4 -0
- package/step/StepButton.js +111 -0
- package/step/StepContent.d.ts +6 -0
- package/step/StepContent.js +39 -0
- package/step/StepContext.d.ts +12 -0
- package/step/StepContext.js +8 -0
- package/step/StepLabel.d.ts +7 -0
- package/step/StepLabel.js +30 -0
- package/step/index.d.ts +1 -0
- package/step/index.js +1 -0
- package/stepper/Stepper.d.ts +25 -0
- package/stepper/Stepper.js +68 -0
- package/stepper/StepperContext.d.ts +9 -0
- package/stepper/StepperContext.js +7 -0
- package/stepper/index.d.ts +1 -0
- package/stepper/index.js +1 -0
- package/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
- package/stepper-feedback-message/StepperFeedbackMessage.js +26 -0
- package/stepper-feedback-message/index.d.ts +1 -0
- package/stepper-feedback-message/index.js +1 -0
- package/styles/index.d.ts +3 -0
- package/styles/index.js +3 -0
- package/styles/media.d.ts +21 -0
- package/styles/media.js +37 -0
- package/styles/rem.d.ts +1 -0
- package/styles/rem.js +5 -0
- package/styles/style-helpers.d.ts +1 -0
- package/styles/style-helpers.js +15 -0
- package/styles/theme.d.ts +39 -0
- package/styles/theme.js +9 -0
- package/surface/Surface.d.ts +32 -0
- package/surface/Surface.js +76 -0
- package/surface/index.d.ts +1 -0
- package/surface/index.js +1 -0
- package/tab/Tab.d.ts +12 -0
- package/tab/Tab.js +65 -0
- package/tab/TabPanel.d.ts +7 -0
- package/tab/TabPanel.js +23 -0
- package/tab/Tabs.d.ts +11 -0
- package/tab/Tabs.js +151 -0
- package/tab/TabsContext.d.ts +16 -0
- package/tab/TabsContext.js +23 -0
- package/tab/index.d.ts +4 -0
- package/tab/index.js +4 -0
- package/tab/typings.d.js +1 -0
- package/table/Table.d.ts +22 -0
- package/table/Table.js +45 -0
- package/table/TableBody.d.ts +9 -0
- package/table/TableBody.js +19 -0
- package/table/TableDataCell.d.ts +14 -0
- package/table/TableDataCell.js +32 -0
- package/table/TableHead.d.ts +14 -0
- package/table/TableHead.js +32 -0
- package/table/TableHeaderCell.d.ts +15 -0
- package/table/TableHeaderCell.js +35 -0
- package/table/TableRow.d.ts +17 -0
- package/table/TableRow.js +35 -0
- package/table/index.d.ts +6 -0
- package/table/index.js +6 -0
- package/test/Test.d.ts +8 -0
- package/test/Test.js +8 -0
- package/tooltip/Tooltip.d.ts +26 -0
- package/tooltip/Tooltip.js +113 -0
- package/tooltip/index.d.ts +2 -0
- package/tooltip/index.js +2 -0
- package/types/global.d.js +0 -0
- package/typography/Headlines.d.ts +71 -0
- package/typography/Headlines.js +97 -0
- package/typography/Text.d.ts +4 -0
- package/typography/Text.js +16 -0
- package/typography/index.d.ts +2 -0
- package/typography/index.js +2 -0
package/cjs/index.js
ADDED
|
@@ -0,0 +1,515 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
elevation: true,
|
|
8
|
+
media: true,
|
|
9
|
+
ResetStyles: true,
|
|
10
|
+
GlobalStyles: true,
|
|
11
|
+
DfdsFontFace: true
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "DfdsFontFace", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () {
|
|
16
|
+
return _GlobalStyles.DfdsFontFace;
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "GlobalStyles", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () {
|
|
22
|
+
return _GlobalStyles.GlobalStyles;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "ResetStyles", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () {
|
|
28
|
+
return _ResetStyles.ResetStyles;
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "elevation", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () {
|
|
34
|
+
return _elevation.default;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "media", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () {
|
|
40
|
+
return _media.default;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
var _elevation = _interopRequireDefault(require("./elevation"));
|
|
44
|
+
var _media = _interopRequireDefault(require("./media"));
|
|
45
|
+
var _ResetStyles = require("./global-styles/ResetStyles");
|
|
46
|
+
var _GlobalStyles = require("./global-styles/GlobalStyles");
|
|
47
|
+
var _accordion = require("./accordion");
|
|
48
|
+
Object.keys(_accordion).forEach(function (key) {
|
|
49
|
+
if (key === "default" || key === "__esModule") return;
|
|
50
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
51
|
+
if (key in exports && exports[key] === _accordion[key]) return;
|
|
52
|
+
Object.defineProperty(exports, key, {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () {
|
|
55
|
+
return _accordion[key];
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
var _appBar = require("./app-bar");
|
|
60
|
+
Object.keys(_appBar).forEach(function (key) {
|
|
61
|
+
if (key === "default" || key === "__esModule") return;
|
|
62
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
63
|
+
if (key in exports && exports[key] === _appBar[key]) return;
|
|
64
|
+
Object.defineProperty(exports, key, {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () {
|
|
67
|
+
return _appBar[key];
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
var _assertions = require("./assertions");
|
|
72
|
+
Object.keys(_assertions).forEach(function (key) {
|
|
73
|
+
if (key === "default" || key === "__esModule") return;
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
75
|
+
if (key in exports && exports[key] === _assertions[key]) return;
|
|
76
|
+
Object.defineProperty(exports, key, {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () {
|
|
79
|
+
return _assertions[key];
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
var _badge = require("./badge");
|
|
84
|
+
Object.keys(_badge).forEach(function (key) {
|
|
85
|
+
if (key === "default" || key === "__esModule") return;
|
|
86
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
87
|
+
if (key in exports && exports[key] === _badge[key]) return;
|
|
88
|
+
Object.defineProperty(exports, key, {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () {
|
|
91
|
+
return _badge[key];
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
});
|
|
95
|
+
var _buttonStack = require("./button-stack");
|
|
96
|
+
Object.keys(_buttonStack).forEach(function (key) {
|
|
97
|
+
if (key === "default" || key === "__esModule") return;
|
|
98
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
99
|
+
if (key in exports && exports[key] === _buttonStack[key]) return;
|
|
100
|
+
Object.defineProperty(exports, key, {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () {
|
|
103
|
+
return _buttonStack[key];
|
|
104
|
+
}
|
|
105
|
+
});
|
|
106
|
+
});
|
|
107
|
+
var _button = require("./button");
|
|
108
|
+
Object.keys(_button).forEach(function (key) {
|
|
109
|
+
if (key === "default" || key === "__esModule") return;
|
|
110
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
111
|
+
if (key in exports && exports[key] === _button[key]) return;
|
|
112
|
+
Object.defineProperty(exports, key, {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () {
|
|
115
|
+
return _button[key];
|
|
116
|
+
}
|
|
117
|
+
});
|
|
118
|
+
});
|
|
119
|
+
var _card = require("./card");
|
|
120
|
+
Object.keys(_card).forEach(function (key) {
|
|
121
|
+
if (key === "default" || key === "__esModule") return;
|
|
122
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
123
|
+
if (key in exports && exports[key] === _card[key]) return;
|
|
124
|
+
Object.defineProperty(exports, key, {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () {
|
|
127
|
+
return _card[key];
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
var _chip = require("./chip");
|
|
132
|
+
Object.keys(_chip).forEach(function (key) {
|
|
133
|
+
if (key === "default" || key === "__esModule") return;
|
|
134
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
135
|
+
if (key in exports && exports[key] === _chip[key]) return;
|
|
136
|
+
Object.defineProperty(exports, key, {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () {
|
|
139
|
+
return _chip[key];
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
});
|
|
143
|
+
var _polymorphic = require("./common/polymorphic");
|
|
144
|
+
Object.keys(_polymorphic).forEach(function (key) {
|
|
145
|
+
if (key === "default" || key === "__esModule") return;
|
|
146
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
147
|
+
if (key in exports && exports[key] === _polymorphic[key]) return;
|
|
148
|
+
Object.defineProperty(exports, key, {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () {
|
|
151
|
+
return _polymorphic[key];
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
var _counter = require("./counter");
|
|
156
|
+
Object.keys(_counter).forEach(function (key) {
|
|
157
|
+
if (key === "default" || key === "__esModule") return;
|
|
158
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
159
|
+
if (key in exports && exports[key] === _counter[key]) return;
|
|
160
|
+
Object.defineProperty(exports, key, {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () {
|
|
163
|
+
return _counter[key];
|
|
164
|
+
}
|
|
165
|
+
});
|
|
166
|
+
});
|
|
167
|
+
var _dataTable = require("./data-table");
|
|
168
|
+
Object.keys(_dataTable).forEach(function (key) {
|
|
169
|
+
if (key === "default" || key === "__esModule") return;
|
|
170
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
171
|
+
if (key in exports && exports[key] === _dataTable[key]) return;
|
|
172
|
+
Object.defineProperty(exports, key, {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () {
|
|
175
|
+
return _dataTable[key];
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
var _drawer = require("./drawer");
|
|
180
|
+
Object.keys(_drawer).forEach(function (key) {
|
|
181
|
+
if (key === "default" || key === "__esModule") return;
|
|
182
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
183
|
+
if (key in exports && exports[key] === _drawer[key]) return;
|
|
184
|
+
Object.defineProperty(exports, key, {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () {
|
|
187
|
+
return _drawer[key];
|
|
188
|
+
}
|
|
189
|
+
});
|
|
190
|
+
});
|
|
191
|
+
var _footer = require("./footer");
|
|
192
|
+
Object.keys(_footer).forEach(function (key) {
|
|
193
|
+
if (key === "default" || key === "__esModule") return;
|
|
194
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
195
|
+
if (key in exports && exports[key] === _footer[key]) return;
|
|
196
|
+
Object.defineProperty(exports, key, {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () {
|
|
199
|
+
return _footer[key];
|
|
200
|
+
}
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
var _forms = require("./forms");
|
|
204
|
+
Object.keys(_forms).forEach(function (key) {
|
|
205
|
+
if (key === "default" || key === "__esModule") return;
|
|
206
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
207
|
+
if (key in exports && exports[key] === _forms[key]) return;
|
|
208
|
+
Object.defineProperty(exports, key, {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () {
|
|
211
|
+
return _forms[key];
|
|
212
|
+
}
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
var _grid = require("./grid");
|
|
216
|
+
Object.keys(_grid).forEach(function (key) {
|
|
217
|
+
if (key === "default" || key === "__esModule") return;
|
|
218
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
219
|
+
if (key in exports && exports[key] === _grid[key]) return;
|
|
220
|
+
Object.defineProperty(exports, key, {
|
|
221
|
+
enumerable: true,
|
|
222
|
+
get: function () {
|
|
223
|
+
return _grid[key];
|
|
224
|
+
}
|
|
225
|
+
});
|
|
226
|
+
});
|
|
227
|
+
var _hero = require("./hero");
|
|
228
|
+
Object.keys(_hero).forEach(function (key) {
|
|
229
|
+
if (key === "default" || key === "__esModule") return;
|
|
230
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
231
|
+
if (key in exports && exports[key] === _hero[key]) return;
|
|
232
|
+
Object.defineProperty(exports, key, {
|
|
233
|
+
enumerable: true,
|
|
234
|
+
get: function () {
|
|
235
|
+
return _hero[key];
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
var _ieBanner = require("./ie-banner");
|
|
240
|
+
Object.keys(_ieBanner).forEach(function (key) {
|
|
241
|
+
if (key === "default" || key === "__esModule") return;
|
|
242
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
243
|
+
if (key in exports && exports[key] === _ieBanner[key]) return;
|
|
244
|
+
Object.defineProperty(exports, key, {
|
|
245
|
+
enumerable: true,
|
|
246
|
+
get: function () {
|
|
247
|
+
return _ieBanner[key];
|
|
248
|
+
}
|
|
249
|
+
});
|
|
250
|
+
});
|
|
251
|
+
var _lists = require("./lists");
|
|
252
|
+
Object.keys(_lists).forEach(function (key) {
|
|
253
|
+
if (key === "default" || key === "__esModule") return;
|
|
254
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
255
|
+
if (key in exports && exports[key] === _lists[key]) return;
|
|
256
|
+
Object.defineProperty(exports, key, {
|
|
257
|
+
enumerable: true,
|
|
258
|
+
get: function () {
|
|
259
|
+
return _lists[key];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
var _loader = require("./loader");
|
|
264
|
+
Object.keys(_loader).forEach(function (key) {
|
|
265
|
+
if (key === "default" || key === "__esModule") return;
|
|
266
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
267
|
+
if (key in exports && exports[key] === _loader[key]) return;
|
|
268
|
+
Object.defineProperty(exports, key, {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () {
|
|
271
|
+
return _loader[key];
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
});
|
|
275
|
+
var _localization = require("./localization");
|
|
276
|
+
Object.keys(_localization).forEach(function (key) {
|
|
277
|
+
if (key === "default" || key === "__esModule") return;
|
|
278
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
279
|
+
if (key in exports && exports[key] === _localization[key]) return;
|
|
280
|
+
Object.defineProperty(exports, key, {
|
|
281
|
+
enumerable: true,
|
|
282
|
+
get: function () {
|
|
283
|
+
return _localization[key];
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
});
|
|
287
|
+
var _menu = require("./menu");
|
|
288
|
+
Object.keys(_menu).forEach(function (key) {
|
|
289
|
+
if (key === "default" || key === "__esModule") return;
|
|
290
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
291
|
+
if (key in exports && exports[key] === _menu[key]) return;
|
|
292
|
+
Object.defineProperty(exports, key, {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: function () {
|
|
295
|
+
return _menu[key];
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
var _navBar = require("./nav-bar");
|
|
300
|
+
Object.keys(_navBar).forEach(function (key) {
|
|
301
|
+
if (key === "default" || key === "__esModule") return;
|
|
302
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
303
|
+
if (key in exports && exports[key] === _navBar[key]) return;
|
|
304
|
+
Object.defineProperty(exports, key, {
|
|
305
|
+
enumerable: true,
|
|
306
|
+
get: function () {
|
|
307
|
+
return _navBar[key];
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
var _navMenu = require("./nav-menu");
|
|
312
|
+
Object.keys(_navMenu).forEach(function (key) {
|
|
313
|
+
if (key === "default" || key === "__esModule") return;
|
|
314
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
315
|
+
if (key in exports && exports[key] === _navMenu[key]) return;
|
|
316
|
+
Object.defineProperty(exports, key, {
|
|
317
|
+
enumerable: true,
|
|
318
|
+
get: function () {
|
|
319
|
+
return _navMenu[key];
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
});
|
|
323
|
+
var _pagination = require("./pagination");
|
|
324
|
+
Object.keys(_pagination).forEach(function (key) {
|
|
325
|
+
if (key === "default" || key === "__esModule") return;
|
|
326
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
327
|
+
if (key in exports && exports[key] === _pagination[key]) return;
|
|
328
|
+
Object.defineProperty(exports, key, {
|
|
329
|
+
enumerable: true,
|
|
330
|
+
get: function () {
|
|
331
|
+
return _pagination[key];
|
|
332
|
+
}
|
|
333
|
+
});
|
|
334
|
+
});
|
|
335
|
+
var _popper = require("./popper");
|
|
336
|
+
Object.keys(_popper).forEach(function (key) {
|
|
337
|
+
if (key === "default" || key === "__esModule") return;
|
|
338
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
339
|
+
if (key in exports && exports[key] === _popper[key]) return;
|
|
340
|
+
Object.defineProperty(exports, key, {
|
|
341
|
+
enumerable: true,
|
|
342
|
+
get: function () {
|
|
343
|
+
return _popper[key];
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
});
|
|
347
|
+
var _progressBar = require("./progress-bar");
|
|
348
|
+
Object.keys(_progressBar).forEach(function (key) {
|
|
349
|
+
if (key === "default" || key === "__esModule") return;
|
|
350
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
351
|
+
if (key in exports && exports[key] === _progressBar[key]) return;
|
|
352
|
+
Object.defineProperty(exports, key, {
|
|
353
|
+
enumerable: true,
|
|
354
|
+
get: function () {
|
|
355
|
+
return _progressBar[key];
|
|
356
|
+
}
|
|
357
|
+
});
|
|
358
|
+
});
|
|
359
|
+
var _sideSheet = require("./side-sheet");
|
|
360
|
+
Object.keys(_sideSheet).forEach(function (key) {
|
|
361
|
+
if (key === "default" || key === "__esModule") return;
|
|
362
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
363
|
+
if (key in exports && exports[key] === _sideSheet[key]) return;
|
|
364
|
+
Object.defineProperty(exports, key, {
|
|
365
|
+
enumerable: true,
|
|
366
|
+
get: function () {
|
|
367
|
+
return _sideSheet[key];
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
});
|
|
371
|
+
var _schedule = require("./schedule");
|
|
372
|
+
Object.keys(_schedule).forEach(function (key) {
|
|
373
|
+
if (key === "default" || key === "__esModule") return;
|
|
374
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
375
|
+
if (key in exports && exports[key] === _schedule[key]) return;
|
|
376
|
+
Object.defineProperty(exports, key, {
|
|
377
|
+
enumerable: true,
|
|
378
|
+
get: function () {
|
|
379
|
+
return _schedule[key];
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
var _siteLayout = require("./site-layout");
|
|
384
|
+
Object.keys(_siteLayout).forEach(function (key) {
|
|
385
|
+
if (key === "default" || key === "__esModule") return;
|
|
386
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
387
|
+
if (key in exports && exports[key] === _siteLayout[key]) return;
|
|
388
|
+
Object.defineProperty(exports, key, {
|
|
389
|
+
enumerable: true,
|
|
390
|
+
get: function () {
|
|
391
|
+
return _siteLayout[key];
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
});
|
|
395
|
+
var _socialMediaLinkList = require("./social-media-link-list");
|
|
396
|
+
Object.keys(_socialMediaLinkList).forEach(function (key) {
|
|
397
|
+
if (key === "default" || key === "__esModule") return;
|
|
398
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
399
|
+
if (key in exports && exports[key] === _socialMediaLinkList[key]) return;
|
|
400
|
+
Object.defineProperty(exports, key, {
|
|
401
|
+
enumerable: true,
|
|
402
|
+
get: function () {
|
|
403
|
+
return _socialMediaLinkList[key];
|
|
404
|
+
}
|
|
405
|
+
});
|
|
406
|
+
});
|
|
407
|
+
var _spinner = require("./spinner");
|
|
408
|
+
Object.keys(_spinner).forEach(function (key) {
|
|
409
|
+
if (key === "default" || key === "__esModule") return;
|
|
410
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
411
|
+
if (key in exports && exports[key] === _spinner[key]) return;
|
|
412
|
+
Object.defineProperty(exports, key, {
|
|
413
|
+
enumerable: true,
|
|
414
|
+
get: function () {
|
|
415
|
+
return _spinner[key];
|
|
416
|
+
}
|
|
417
|
+
});
|
|
418
|
+
});
|
|
419
|
+
var _styles = require("./styles");
|
|
420
|
+
Object.keys(_styles).forEach(function (key) {
|
|
421
|
+
if (key === "default" || key === "__esModule") return;
|
|
422
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
423
|
+
if (key in exports && exports[key] === _styles[key]) return;
|
|
424
|
+
Object.defineProperty(exports, key, {
|
|
425
|
+
enumerable: true,
|
|
426
|
+
get: function () {
|
|
427
|
+
return _styles[key];
|
|
428
|
+
}
|
|
429
|
+
});
|
|
430
|
+
});
|
|
431
|
+
var _tab = require("./tab");
|
|
432
|
+
Object.keys(_tab).forEach(function (key) {
|
|
433
|
+
if (key === "default" || key === "__esModule") return;
|
|
434
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
435
|
+
if (key in exports && exports[key] === _tab[key]) return;
|
|
436
|
+
Object.defineProperty(exports, key, {
|
|
437
|
+
enumerable: true,
|
|
438
|
+
get: function () {
|
|
439
|
+
return _tab[key];
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
var _table = require("./table");
|
|
444
|
+
Object.keys(_table).forEach(function (key) {
|
|
445
|
+
if (key === "default" || key === "__esModule") return;
|
|
446
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
447
|
+
if (key in exports && exports[key] === _table[key]) return;
|
|
448
|
+
Object.defineProperty(exports, key, {
|
|
449
|
+
enumerable: true,
|
|
450
|
+
get: function () {
|
|
451
|
+
return _table[key];
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
});
|
|
455
|
+
var _typography = require("./typography");
|
|
456
|
+
Object.keys(_typography).forEach(function (key) {
|
|
457
|
+
if (key === "default" || key === "__esModule") return;
|
|
458
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
459
|
+
if (key in exports && exports[key] === _typography[key]) return;
|
|
460
|
+
Object.defineProperty(exports, key, {
|
|
461
|
+
enumerable: true,
|
|
462
|
+
get: function () {
|
|
463
|
+
return _typography[key];
|
|
464
|
+
}
|
|
465
|
+
});
|
|
466
|
+
});
|
|
467
|
+
var _LockBodyScroll = require("./common/LockBodyScroll");
|
|
468
|
+
Object.keys(_LockBodyScroll).forEach(function (key) {
|
|
469
|
+
if (key === "default" || key === "__esModule") return;
|
|
470
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
471
|
+
if (key in exports && exports[key] === _LockBodyScroll[key]) return;
|
|
472
|
+
Object.defineProperty(exports, key, {
|
|
473
|
+
enumerable: true,
|
|
474
|
+
get: function () {
|
|
475
|
+
return _LockBodyScroll[key];
|
|
476
|
+
}
|
|
477
|
+
});
|
|
478
|
+
});
|
|
479
|
+
var _dropdownMenu = require("./dropdown-menu");
|
|
480
|
+
Object.keys(_dropdownMenu).forEach(function (key) {
|
|
481
|
+
if (key === "default" || key === "__esModule") return;
|
|
482
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
483
|
+
if (key in exports && exports[key] === _dropdownMenu[key]) return;
|
|
484
|
+
Object.defineProperty(exports, key, {
|
|
485
|
+
enumerable: true,
|
|
486
|
+
get: function () {
|
|
487
|
+
return _dropdownMenu[key];
|
|
488
|
+
}
|
|
489
|
+
});
|
|
490
|
+
});
|
|
491
|
+
var _skeleton = require("./skeleton");
|
|
492
|
+
Object.keys(_skeleton).forEach(function (key) {
|
|
493
|
+
if (key === "default" || key === "__esModule") return;
|
|
494
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
495
|
+
if (key in exports && exports[key] === _skeleton[key]) return;
|
|
496
|
+
Object.defineProperty(exports, key, {
|
|
497
|
+
enumerable: true,
|
|
498
|
+
get: function () {
|
|
499
|
+
return _skeleton[key];
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
});
|
|
503
|
+
var _tooltip = require("./tooltip");
|
|
504
|
+
Object.keys(_tooltip).forEach(function (key) {
|
|
505
|
+
if (key === "default" || key === "__esModule") return;
|
|
506
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
507
|
+
if (key in exports && exports[key] === _tooltip[key]) return;
|
|
508
|
+
Object.defineProperty(exports, key, {
|
|
509
|
+
enumerable: true,
|
|
510
|
+
get: function () {
|
|
511
|
+
return _tooltip[key];
|
|
512
|
+
}
|
|
513
|
+
});
|
|
514
|
+
});
|
|
515
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.Layout = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _react2 = require("@emotion/react");
|
|
9
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
const regular = 'https://unpkg.com/@dfds-ui/fonts@0.0.42/fonts/DFDS-Regular.woff2';
|
|
12
|
+
const italic = 'https://unpkg.com/@dfds-ui/fonts@0.0.42/fonts/DFDS-Italic.woff2';
|
|
13
|
+
const bold = 'https://unpkg.com/@dfds-ui/fonts@0.0.42/fonts/DFDS-Bold.woff2';
|
|
14
|
+
const light = 'https://unpkg.com/@dfds-ui/fonts@0.0.42/fonts/DFDS-Light.woff2';
|
|
15
|
+
const DFDS_FONTS = [{
|
|
16
|
+
fontFamily: 'DFDS',
|
|
17
|
+
woff2: regular,
|
|
18
|
+
fontWeight: 400
|
|
19
|
+
}, {
|
|
20
|
+
fontFamily: 'DFDS',
|
|
21
|
+
woff2: italic,
|
|
22
|
+
fontWeight: 400,
|
|
23
|
+
fontStyle: 'italic'
|
|
24
|
+
}, {
|
|
25
|
+
fontFamily: 'DFDS',
|
|
26
|
+
woff2: bold,
|
|
27
|
+
fontWeight: 700
|
|
28
|
+
}, {
|
|
29
|
+
fontFamily: 'DFDS',
|
|
30
|
+
woff2: light,
|
|
31
|
+
fontWeight: 300
|
|
32
|
+
}];
|
|
33
|
+
function fontFace({
|
|
34
|
+
fontFamily,
|
|
35
|
+
woff2,
|
|
36
|
+
fontWeight = 400,
|
|
37
|
+
fontStyle = 'normal',
|
|
38
|
+
fontDisplay = 'fallback'
|
|
39
|
+
}) {
|
|
40
|
+
return `
|
|
41
|
+
@font-face {
|
|
42
|
+
font-family: ${fontFamily};
|
|
43
|
+
src:url(${woff2}) format('woff2');
|
|
44
|
+
font-weight: ${fontWeight};
|
|
45
|
+
font-style: ${fontStyle};
|
|
46
|
+
font-display: ${fontDisplay};
|
|
47
|
+
}`;
|
|
48
|
+
}
|
|
49
|
+
const Layout = () => {
|
|
50
|
+
const sty = /*#__PURE__*/(0, _react2.css)(DFDS_FONTS.reduce((prev, cur) => prev += fontFace(cur), ''), " *{font-family:DFDS;}" + (process.env.NODE_ENV === "production" ? "" : ";label:sty;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9sYXlvdXQvTGF5b3V0TGVnYWN5LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQ2lCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9sYXlvdXQvTGF5b3V0TGVnYWN5LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcblxuY29uc3QgcmVndWxhciA9ICdodHRwczovL3VucGtnLmNvbS9AZGZkcy11aS9mb250c0AwLjAuNDIvZm9udHMvREZEUy1SZWd1bGFyLndvZmYyJ1xuY29uc3QgaXRhbGljID0gJ2h0dHBzOi8vdW5wa2cuY29tL0BkZmRzLXVpL2ZvbnRzQDAuMC40Mi9mb250cy9ERkRTLUl0YWxpYy53b2ZmMidcbmNvbnN0IGJvbGQgPSAnaHR0cHM6Ly91bnBrZy5jb20vQGRmZHMtdWkvZm9udHNAMC4wLjQyL2ZvbnRzL0RGRFMtQm9sZC53b2ZmMidcbmNvbnN0IGxpZ2h0ID0gJ2h0dHBzOi8vdW5wa2cuY29tL0BkZmRzLXVpL2ZvbnRzQDAuMC40Mi9mb250cy9ERkRTLUxpZ2h0LndvZmYyJ1xuXG5pbXBvcnQgeyBHbG9iYWwsIGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuXG50eXBlIEZvbnREZWZpbml0aW9uID0ge1xuICBmb250RmFtaWx5OiBzdHJpbmdcbiAgd29mZjI6IHN0cmluZ1xuICBmb250V2VpZ2h0PzogMTAwIHwgMjAwIHwgMzAwIHwgNDAwIHwgNTAwIHwgNjAwIHwgNzAwIHwgODAwXG4gIGZvbnRTdHlsZT86ICdub3JtYWwnIHwgJ2l0YWxpYycgfCAnb2JsaXF1ZSdcbiAgZm9udERpc3BsYXk/OiAnYXV0bycgfCAnYmxvY2snIHwgJ3N3YXAnIHwgJ2ZhbGxiYWNrJyB8ICdvcHRpb25hbCdcbn1cblxuY29uc3QgREZEU19GT05UUzogRm9udERlZmluaXRpb25bXSA9IFtcbiAgeyBmb250RmFtaWx5OiAnREZEUycsIHdvZmYyOiByZWd1bGFyLCBmb250V2VpZ2h0OiA0MDAgfSxcbiAgeyBmb250RmFtaWx5OiAnREZEUycsIHdvZmYyOiBpdGFsaWMsIGZvbnRXZWlnaHQ6IDQwMCwgZm9udFN0eWxlOiAnaXRhbGljJyB9LFxuICB7IGZvbnRGYW1pbHk6ICdERkRTJywgd29mZjI6IGJvbGQsIGZvbnRXZWlnaHQ6IDcwMCB9LFxuICB7IGZvbnRGYW1pbHk6ICdERkRTJywgd29mZjI6IGxpZ2h0LCBmb250V2VpZ2h0OiAzMDAgfSxcbl1cblxuZnVuY3Rpb24gZm9udEZhY2Uoe1xuICBmb250RmFtaWx5LFxuICB3b2ZmMixcbiAgZm9udFdlaWdodCA9IDQwMCxcbiAgZm9udFN0eWxlID0gJ25vcm1hbCcsXG4gIGZvbnREaXNwbGF5ID0gJ2ZhbGxiYWNrJyxcbn06IEZvbnREZWZpbml0aW9uKSB7XG4gIHJldHVybiBgXG4gIEBmb250LWZhY2Uge1xuICAgIGZvbnQtZmFtaWx5OiAke2ZvbnRGYW1pbHl9O1xuICAgIHNyYzp1cmwoJHt3b2ZmMn0pIGZvcm1hdCgnd29mZjInKTtcbiAgICBmb250LXdlaWdodDogJHtmb250V2VpZ2h0fTtcbiAgICBmb250LXN0eWxlOiAke2ZvbnRTdHlsZX07XG4gICAgZm9udC1kaXNwbGF5OiAke2ZvbnREaXNwbGF5fTtcbiAgfWBcbn1cblxuZXhwb3J0IGNvbnN0IExheW91dCA9ICgpID0+IHtcbiAgY29uc3Qgc3R5ID0gY3NzYFxuICAgICR7REZEU19GT05UUy5yZWR1Y2UoKHByZXYsIGN1cikgPT4gKHByZXYgKz0gZm9udEZhY2UoY3VyKSksICcnKX1cblxuICAgICoge1xuICAgICAgZm9udC1mYW1pbHk6IERGRFM7XG4gICAgfVxuICBgXG4gIHJldHVybiA8R2xvYmFsIHN0eWxlcz17c3R5fSAvPlxufVxuIl19 */");
|
|
51
|
+
return (0, _jsxRuntime.jsx)(_react2.Global, {
|
|
52
|
+
styles: sty
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
exports.Layout = Layout;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FunctionComponent } from 'react';
|
|
2
|
+
import { FlexBoxProps } from './../flexbox/FlexBox';
|
|
3
|
+
type FeatureListProps = {
|
|
4
|
+
icon: any;
|
|
5
|
+
items: string[];
|
|
6
|
+
iconColor?: string;
|
|
7
|
+
textTag?: React.ElementType;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
};
|
|
10
|
+
type FeatureListComponent = FunctionComponent<FeatureListProps>;
|
|
11
|
+
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
} & FlexBoxProps & {
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
} & {
|
|
19
|
+
iconColor?: string;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
declare const FeatureList: FeatureListComponent;
|
|
22
|
+
export default FeatureList;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = exports.ListItem = void 0;
|
|
7
|
+
var _base = _interopRequireDefault(require("@emotion/styled/base"));
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _FlexBox = _interopRequireDefault(require("./../flexbox/FlexBox"));
|
|
10
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
11
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
|
+
const ListItem = exports.ListItem = /*#__PURE__*/(0, _base.default)(_FlexBox.default, process.env.NODE_ENV === "production" ? {
|
|
13
|
+
target: "e1hxsk0v0"
|
|
14
|
+
} : {
|
|
15
|
+
target: "e1hxsk0v0",
|
|
16
|
+
label: "ListItem"
|
|
17
|
+
})("align-items:flex-start;svg{margin-right:20px;", ({
|
|
18
|
+
iconColor
|
|
19
|
+
}) => iconColor && `color: ${iconColor}`, ";}p{margin:0 0 1em;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saXN0cy9GZWF0dXJlTGlzdC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBYzhFIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9saXN0cy9GZWF0dXJlTGlzdC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IEZsZXhCb3gsIHsgRmxleEJveFByb3BzIH0gZnJvbSAnLi8uLi9mbGV4Ym94L0ZsZXhCb3gnXG5cbnR5cGUgRmVhdHVyZUxpc3RQcm9wcyA9IHtcbiAgaWNvbjogYW55XG4gIGl0ZW1zOiBzdHJpbmdbXVxuICBpY29uQ29sb3I/OiBzdHJpbmdcbiAgdGV4dFRhZz86IFJlYWN0LkVsZW1lbnRUeXBlXG4gIGFzPzogUmVhY3QuRWxlbWVudFR5cGVcbn1cblxudHlwZSBGZWF0dXJlTGlzdENvbXBvbmVudCA9IEZ1bmN0aW9uQ29tcG9uZW50PEZlYXR1cmVMaXN0UHJvcHM+XG5cbmV4cG9ydCBjb25zdCBMaXN0SXRlbSA9IHN0eWxlZChGbGV4Qm94KTxGbGV4Qm94UHJvcHMgJiB7IGljb25Db2xvcj86IHN0cmluZyB9PmBcbiAgYWxpZ24taXRlbXM6IGZsZXgtc3RhcnQ7XG4gIHN2ZyB7XG4gICAgbWFyZ2luLXJpZ2h0OiAyMHB4O1xuICAgICR7KHsgaWNvbkNvbG9yIH0pID0+IGljb25Db2xvciAmJiBgY29sb3I6ICR7aWNvbkNvbG9yfWB9XG4gIH1cbiAgcCB7XG4gICAgbWFyZ2luOiAwIDAgMWVtO1xuICB9XG5gXG5cbmNvbnN0IEZlYXR1cmVMaXN0OiBGZWF0dXJlTGlzdENvbXBvbmVudCA9ICh7IGljb24sIGl0ZW1zLCBpY29uQ29sb3IsIHRleHRUYWcgPSAncCcsIC4uLnJlc3QgfSkgPT4ge1xuICBjb25zdCBsaXN0ID0gaXRlbXMubWFwKChpdGVtOiBzdHJpbmcsIGkpID0+IHtcbiAgICBjb25zdCBUZXh0VGFnID0gdGV4dFRhZ1xuICAgIHJldHVybiAoXG4gICAgICA8TGlzdEl0ZW0ga2V5PXtpfSBpY29uQ29sb3I9e2ljb25Db2xvcn0+XG4gICAgICAgIHtpY29ufVxuICAgICAgICA8VGV4dFRhZz57aXRlbX08L1RleHRUYWc+XG4gICAgICA8L0xpc3RJdGVtPlxuICAgIClcbiAgfSlcbiAgcmV0dXJuIChcbiAgICA8PlxuICAgICAgPEZsZXhCb3ggey4uLnJlc3R9IGRpcmVjdGlvbkNvbHVtbj5cbiAgICAgICAge2xpc3R9XG4gICAgICA8L0ZsZXhCb3g+XG4gICAgPC8+XG4gIClcbn1cblxuZXhwb3J0IGRlZmF1bHQgRmVhdHVyZUxpc3RcbiJdfQ== */"));
|
|
20
|
+
const FeatureList = ({
|
|
21
|
+
icon,
|
|
22
|
+
items,
|
|
23
|
+
iconColor,
|
|
24
|
+
textTag = 'p',
|
|
25
|
+
...rest
|
|
26
|
+
}) => {
|
|
27
|
+
const list = items.map((item, i) => {
|
|
28
|
+
const TextTag = textTag;
|
|
29
|
+
return (0, _jsxRuntime.jsxs)(ListItem, {
|
|
30
|
+
iconColor: iconColor,
|
|
31
|
+
children: [icon, (0, _jsxRuntime.jsx)(TextTag, {
|
|
32
|
+
children: item
|
|
33
|
+
})]
|
|
34
|
+
}, i);
|
|
35
|
+
});
|
|
36
|
+
return (0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
|
|
37
|
+
children: (0, _jsxRuntime.jsx)(_FlexBox.default, {
|
|
38
|
+
...rest,
|
|
39
|
+
directionColumn: true,
|
|
40
|
+
children: list
|
|
41
|
+
})
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
var _default = exports.default = FeatureList;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ListAddonProps = {
|
|
3
|
+
className?: string;
|
|
4
|
+
/**
|
|
5
|
+
* HTML tag or custom component being rendered.
|
|
6
|
+
*/
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
};
|
|
10
|
+
declare const ListAddon: ({ className, as, children, ...rest }: ListAddonProps) => React.JSX.Element;
|
|
11
|
+
export default ListAddon;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
|
+
var _react2 = require("@emotion/react");
|
|
9
|
+
var _theme = require("@dfds-ui/theme");
|
|
10
|
+
var _ListIcon = _interopRequireDefault(require("./ListIcon"));
|
|
11
|
+
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
|
+
const ListAddon = ({
|
|
14
|
+
className,
|
|
15
|
+
as = 'span',
|
|
16
|
+
children,
|
|
17
|
+
...rest
|
|
18
|
+
}) => {
|
|
19
|
+
const Component = as;
|
|
20
|
+
return (0, _jsxRuntime.jsx)(_ListIcon.default, {
|
|
21
|
+
icon: props => (0, _jsxRuntime.jsx)(Component, {
|
|
22
|
+
...props,
|
|
23
|
+
children: children
|
|
24
|
+
}),
|
|
25
|
+
css: /*#__PURE__*/(0, _react2.css)("flex-basis:auto;height:auto;margin:0;&:first-of-type{margin-left:-", _theme.theme.spacing.xs, ";}&:last-of-type{margin-right:-", _theme.theme.spacing.xs, ";}" + (process.env.NODE_ENV === "production" ? "" : ";label:ListAddon;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saXN0cy9MaXN0QWRkb24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1CYyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvbGlzdHMvTGlzdEFkZG9uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCdcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0J1xuaW1wb3J0IHsgdGhlbWUgfSBmcm9tICdAZGZkcy11aS90aGVtZSdcbmltcG9ydCBMaXN0SWNvbiBmcm9tICcuL0xpc3RJY29uJ1xuXG5leHBvcnQgdHlwZSBMaXN0QWRkb25Qcm9wcyA9IHtcbiAgY2xhc3NOYW1lPzogc3RyaW5nXG4gIC8qKlxuICAgKiBIVE1MIHRhZyBvciBjdXN0b20gY29tcG9uZW50IGJlaW5nIHJlbmRlcmVkLlxuICAgKi9cbiAgYXM/OiBSZWFjdC5FbGVtZW50VHlwZVxuICBjaGlsZHJlbj86IFJlYWN0LlJlYWN0Tm9kZVxufVxuXG5jb25zdCBMaXN0QWRkb24gPSAoeyBjbGFzc05hbWUsIGFzID0gJ3NwYW4nLCBjaGlsZHJlbiwgLi4ucmVzdCB9OiBMaXN0QWRkb25Qcm9wcykgPT4ge1xuICBjb25zdCBDb21wb25lbnQgPSBhc1xuICByZXR1cm4gKFxuICAgIDxMaXN0SWNvblxuICAgICAgaWNvbj17KHByb3BzKSA9PiA8Q29tcG9uZW50IHsuLi5wcm9wc30+e2NoaWxkcmVufTwvQ29tcG9uZW50Pn1cbiAgICAgIGNzcz17Y3NzYFxuICAgICAgICBmbGV4LWJhc2lzOiBhdXRvO1xuICAgICAgICBoZWlnaHQ6IGF1dG87XG4gICAgICAgIG1hcmdpbjogMDtcbiAgICAgICAgJjpmaXJzdC1vZi10eXBlIHtcbiAgICAgICAgICBtYXJnaW4tbGVmdDogLSR7dGhlbWUuc3BhY2luZy54c307XG4gICAgICAgIH1cbiAgICAgICAgJjpsYXN0LW9mLXR5cGUge1xuICAgICAgICAgIG1hcmdpbi1yaWdodDogLSR7dGhlbWUuc3BhY2luZy54c307XG4gICAgICAgIH1cbiAgICAgIGB9XG4gICAgICB7Li4ucmVzdH1cbiAgICAvPlxuICApXG59XG5cbmV4cG9ydCBkZWZhdWx0IExpc3RBZGRvblxuIl19 */"),
|
|
26
|
+
...rest
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
var _default = exports.default = ListAddon;
|