@dfds-ui/react-components 2.0.29-alpha.fae844df → 2.2.0-alpha.8d87a90d
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.js +3 -3
- package/accordion/AccordionContent.js +3 -3
- package/accordion/AccordionSmall.js +3 -3
- package/app-bar/AppBar.js +8 -8
- package/app-bar/AppBarContext.js +4 -4
- package/app-bar/AppBarDrawer.js +3 -3
- package/app-bar/AppBarIconButton.js +3 -3
- package/app-bar/AppBarItem.js +24 -24
- package/assertions/banner/Banner.js +8 -8
- package/assertions/banner/BannerAction.js +3 -3
- package/assertions/banner/BannerTypography.js +1 -1
- package/assertions/toast/Toast.js +3 -3
- package/assertions/toast/Toaster.js +9 -17
- package/badge/Badge.js +3 -3
- package/button/Button.js +3 -3
- package/button/IconButton.js +3 -3
- package/button/LinkButton.js +1 -1
- package/button-stack/ButtonStack.js +4 -4
- package/card/Card.js +10 -10
- package/card/CardActions.js +3 -3
- package/card/CardContent.js +2 -2
- package/card/CardMedia.js +2 -2
- package/card/CardPriceTag.js +2 -2
- package/card/CardTitle.js +3 -3
- package/chip/Chip.js +7 -7
- package/cjs/accordion/Accordion.js +4 -4
- package/cjs/accordion/AccordionContent.js +4 -4
- package/cjs/accordion/AccordionSmall.js +4 -4
- package/cjs/app-bar/AppBar.js +10 -9
- package/cjs/app-bar/AppBarContext.js +6 -5
- package/cjs/app-bar/AppBarDrawer.js +6 -5
- package/cjs/app-bar/AppBarIconButton.js +4 -4
- package/cjs/app-bar/AppBarItem.js +10 -9
- package/cjs/app-bar/AppBarListItem.js +1 -1
- package/cjs/app-bar/index.js +1 -1
- package/cjs/assertions/banner/Banner.js +10 -9
- package/cjs/assertions/banner/BannerAction.js +4 -4
- package/cjs/assertions/banner/BannerTypography.js +2 -2
- package/cjs/assertions/toast/Toast.js +4 -4
- package/cjs/assertions/toast/Toaster.js +11 -10
- package/cjs/assertions/toast/index.js +3 -2
- package/cjs/badge/Badge.js +4 -4
- package/cjs/badge/index.js +2 -1
- package/cjs/button/BadgeIcon.js +1 -1
- package/cjs/button/BaseButton.js +1 -1
- package/cjs/button/Button.js +4 -4
- package/cjs/button/IconButton.js +5 -4
- package/cjs/button/LinkButton.js +4 -3
- package/cjs/button/index.js +2 -1
- package/cjs/button-stack/ButtonStack.js +4 -4
- package/cjs/button-stack/index.js +1 -1
- package/cjs/card/Card.js +10 -9
- package/cjs/card/CardActions.js +4 -4
- package/cjs/card/CardContent.js +3 -3
- package/cjs/card/CardMedia.js +3 -3
- package/cjs/card/CardPriceTag.js +3 -3
- package/cjs/card/CardTitle.js +4 -4
- package/cjs/card/index.js +1 -1
- package/cjs/chip/Chip.js +10 -9
- package/cjs/chip/index.js +2 -1
- package/cjs/common/LockBodyScroll.js +4 -4
- package/cjs/common/emotionCloneElement.js +1 -1
- package/cjs/common/polymorphic.js +3 -3
- package/cjs/common/use-media.js +4 -4
- package/cjs/counter/Counter.js +7 -6
- package/cjs/counter/PluralCounter.js +10 -9
- package/cjs/counter/index.js +1 -1
- package/cjs/data-table/DataTable.js +9 -8
- package/cjs/date-range-picker/DateRangePicker.js +9 -8
- package/cjs/date-range-picker/index.js +1 -1
- package/cjs/divider/Divider.js +4 -4
- package/cjs/drawer/Drawer.js +4 -4
- package/cjs/dropdown-menu/Dropdown.js +8 -8
- package/cjs/dropdown-menu/DropdownContext.js +2 -1
- package/cjs/dropdown-menu/MenuCheckbox.js +2 -2
- package/cjs/dropdown-menu/MenuItem.js +8 -8
- package/cjs/dropdown-menu/MenuTitle.js +1 -1
- package/cjs/dropdown-menu/index.js +3 -2
- package/cjs/flexbox/FlexBox.js +6 -6
- package/cjs/footer/Footer.js +1 -1
- package/cjs/footer/index.js +1 -1
- package/cjs/forms/assistive-text/AssistiveText.js +1 -1
- package/cjs/forms/asterisk/Asterisk.js +1 -1
- package/cjs/forms/checkbox/Checkbox.js +4 -4
- package/cjs/forms/checkbox/ExampleControlComponent.js +8 -8
- package/cjs/forms/checkbox/index.js +1 -1
- package/cjs/forms/email-field/EmailField.js +2 -2
- package/cjs/forms/error-text/ErrorText.js +1 -1
- package/cjs/forms/field/Field.js +1 -1
- package/cjs/forms/index.js +1 -1
- package/cjs/forms/input/Input.js +4 -4
- package/cjs/forms/input/InputComposition.js +6 -5
- package/cjs/forms/label/Label.js +3 -3
- package/cjs/forms/number-field/NumberField.js +2 -2
- package/cjs/forms/password-field/PasswordField.js +8 -7
- package/cjs/forms/radio/Radio.js +4 -4
- package/cjs/forms/reactselect/ReactSelect.js +7 -6
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +4 -4
- package/cjs/forms/select/Select.js +4 -4
- package/cjs/forms/select-field/SelectField.js +4 -4
- package/cjs/forms/switch/Switch.js +4 -4
- package/cjs/forms/tel-field/TelField.js +2 -2
- package/cjs/forms/text-field/TextField.js +4 -4
- package/cjs/global-styles/GlobalStyles.js +1 -1
- package/cjs/global-styles/ResetStyles.js +1 -1
- package/cjs/grid/Column.js +4 -4
- package/cjs/grid/Container.js +4 -4
- package/cjs/grid/index.js +1 -1
- package/cjs/hero/Hero.js +1 -1
- package/cjs/hero/index.js +1 -1
- package/cjs/hero/stripes.js +1 -1
- package/cjs/ie-banner/IEBanner.js +6 -5
- package/cjs/ie-banner/index.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/LayoutLegacy.js +1 -1
- package/cjs/lists/FeatureList.js +4 -4
- package/cjs/lists/ListAddon.js +4 -4
- package/cjs/lists/ListDivider.js +4 -4
- package/cjs/lists/ListIcon.js +4 -4
- package/cjs/lists/ListItem.js +4 -4
- package/cjs/lists/ListText.js +4 -4
- package/cjs/lists/ListTextGroup.js +4 -4
- package/cjs/lists/ListTitle.js +4 -4
- package/cjs/lists/index.js +1 -1
- package/cjs/loader/DfdsLoader.js +1 -1
- package/cjs/loader/Loader.js +1 -1
- package/cjs/loader/index.js +1 -1
- package/cjs/localization/LocaleFlag.js +6 -5
- package/cjs/logo/Logo.js +6 -5
- package/cjs/menu/Menu.js +4 -4
- package/cjs/menu/index.js +2 -1
- package/cjs/mobile-stepper/MobileStepper.js +4 -4
- package/cjs/mobile-stepper/index.js +1 -1
- package/cjs/nav-bar/NavBar.js +10 -9
- package/cjs/nav-bar/index.js +2 -1
- package/cjs/nav-menu/NavMenuItem.js +1 -1
- package/cjs/nav-menu/index.js +1 -1
- package/cjs/pagination/Pagination.js +3 -3
- package/cjs/popper/Popper.js +4 -4
- package/cjs/popper/index.js +1 -1
- package/cjs/progress-bar/ProgressBar.js +1 -1
- package/cjs/progress-bar/index.js +2 -1
- package/cjs/schedule/ScheduleItem.js +1 -1
- package/cjs/schedule/ScheduleList.js +4 -4
- package/cjs/schedule/index.js +1 -1
- package/cjs/side-sheet/SideSheet.js +10 -9
- package/cjs/side-sheet/SideSheetCloseButton.js +4 -4
- package/cjs/side-sheet/SideSheetContent.js +5 -4
- package/cjs/side-sheet/SideSheetFooter.js +5 -4
- package/cjs/side-sheet/SideSheetHeader.js +6 -5
- package/cjs/side-sheet/SideSheetHeadline.js +1 -1
- package/cjs/side-sheet/index.js +3 -2
- package/cjs/site-layout/SiteLayout.js +4 -4
- package/cjs/site-layout/index.js +2 -1
- package/cjs/skeleton/Skeleton.js +4 -4
- package/cjs/social-media-link-list/SocialMediaLinkList.js +4 -4
- package/cjs/spinner/Spinner.js +4 -4
- package/cjs/step/Step.js +6 -5
- package/cjs/step/StepButton.js +3 -3
- package/cjs/step/StepContent.js +1 -1
- package/cjs/step/StepContext.js +1 -1
- package/cjs/step/StepLabel.js +1 -1
- package/cjs/step/index.js +1 -1
- package/cjs/stepper/Stepper.js +7 -6
- package/cjs/stepper/StepperContext.js +1 -1
- package/cjs/stepper/index.js +1 -1
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +1 -1
- package/cjs/stepper-feedback-message/index.js +1 -1
- package/cjs/styles/index.js +3 -2
- package/cjs/surface/Surface.js +6 -5
- package/cjs/tab/Tab.js +4 -4
- package/cjs/tab/TabPanel.js +1 -1
- package/cjs/tab/Tabs.js +10 -9
- package/cjs/tab/TabsContext.js +2 -1
- package/cjs/tab/index.js +1 -1
- package/cjs/table/Table.js +5 -4
- package/cjs/table/TableBody.js +5 -4
- package/cjs/table/TableDataCell.js +5 -4
- package/cjs/table/TableHead.js +6 -5
- package/cjs/table/TableHeaderCell.js +5 -4
- package/cjs/table/TableRow.js +6 -5
- package/cjs/test/Test.js +1 -1
- package/cjs/tooltip/Tooltip.js +6 -5
- package/cjs/tooltip/index.js +2 -1
- package/cjs/typography/Headlines.js +4 -4
- package/cjs/typography/Text.js +1 -1
- package/common/LockBodyScroll.js +3 -3
- package/common/emotionCloneElement.js +1 -1
- package/common/polymorphic.js +2 -2
- package/common/use-media.js +4 -4
- package/common/utils.js +1 -1
- package/counter/Counter.js +4 -4
- package/counter/PluralCounter.js +7 -7
- package/data-table/DataTable.js +10 -10
- package/date-range-picker/DateRangePicker.js +8 -8
- package/divider/Divider.js +3 -3
- package/drawer/Drawer.js +3 -3
- package/dropdown-menu/Dropdown.js +7 -7
- package/dropdown-menu/MenuCheckbox.js +1 -1
- package/dropdown-menu/MenuItem.js +7 -7
- package/flexbox/FlexBox.js +5 -5
- package/forms/checkbox/Checkbox.js +3 -3
- package/forms/checkbox/ExampleControlComponent.js +7 -7
- package/forms/email-field/EmailField.js +1 -1
- package/forms/input/Input.js +3 -3
- package/forms/input/InputComposition.js +3 -3
- package/forms/label/Label.js +2 -2
- package/forms/number-field/NumberField.js +1 -1
- package/forms/password-field/PasswordField.js +5 -5
- package/forms/radio/Radio.js +3 -3
- package/forms/reactselect/ReactSelect.js +4 -4
- package/forms/searchable-select/AsyncSearchableSelect.js +3 -3
- package/forms/select/Select.js +3 -3
- package/forms/select-field/SelectField.js +3 -3
- package/forms/switch/Switch.js +3 -3
- package/forms/tel-field/TelField.js +1 -1
- package/forms/text-field/TextField.js +3 -3
- package/grid/Column.js +3 -3
- package/grid/Container.js +4 -4
- package/hero/Hero.js +1 -1
- package/ie-banner/IEBanner.js +4 -4
- package/lists/FeatureList.js +3 -3
- package/lists/ListAddon.js +3 -3
- package/lists/ListDivider.js +3 -3
- package/lists/ListIcon.js +3 -3
- package/lists/ListItem.js +3 -3
- package/lists/ListText.js +3 -3
- package/lists/ListTextGroup.js +3 -3
- package/lists/ListTitle.js +3 -3
- package/loader/DfdsLoader.js +1 -1
- package/loader/Loader.js +1 -1
- package/localization/LocaleFlag.js +3 -3
- package/logo/Logo.js +3 -3
- package/menu/Menu.js +3 -3
- package/mobile-stepper/MobileStepper.js +8 -8
- package/nav-bar/NavBar.js +7 -7
- package/package.json +10 -10
- package/pagination/Pagination.js +2 -2
- package/pagination/Pagination.styles.js +1 -1
- package/popper/Popper.js +3 -3
- package/schedule/ScheduleList.js +3 -3
- package/side-sheet/SideSheet.js +8 -8
- package/side-sheet/SideSheetCloseButton.js +3 -3
- package/side-sheet/SideSheetContent.js +3 -3
- package/side-sheet/SideSheetFooter.js +3 -3
- package/side-sheet/SideSheetHeader.js +3 -3
- package/site-layout/SiteLayout.js +3 -3
- package/skeleton/Skeleton.js +4 -4
- package/social-media-link-list/SocialMediaLinkList.js +3 -3
- package/spinner/Spinner.js +4 -4
- package/step/Step.js +3 -3
- package/step/StepButton.js +2 -2
- package/stepper/Stepper.js +4 -4
- package/surface/Surface.js +4 -4
- package/tab/Tab.js +3 -3
- package/tab/Tabs.js +7 -7
- package/table/Table.js +3 -3
- package/table/TableBody.js +3 -3
- package/table/TableDataCell.js +3 -3
- package/table/TableHead.js +4 -4
- package/table/TableHeaderCell.js +3 -3
- package/table/TableRow.js +4 -4
- package/tooltip/Tooltip.js +3 -3
- package/typography/Headlines.js +3 -3
- package/cjs/accordion/Accordion.d.ts +0 -101
- package/cjs/accordion/AccordionContent.d.ts +0 -13
- package/cjs/accordion/AccordionSmall.d.ts +0 -55
- package/cjs/accordion/index.d.ts +0 -3
- package/cjs/app-bar/AppBar.d.ts +0 -13
- package/cjs/app-bar/AppBarContext.d.ts +0 -12
- package/cjs/app-bar/AppBarDrawer.d.ts +0 -5
- package/cjs/app-bar/AppBarIconButton.d.ts +0 -10
- package/cjs/app-bar/AppBarItem.d.ts +0 -23
- package/cjs/app-bar/AppBarListItem.d.ts +0 -16
- package/cjs/app-bar/index.d.ts +0 -7
- package/cjs/assertions/banner/Banner.d.ts +0 -74
- package/cjs/assertions/banner/BannerAction.d.ts +0 -19
- package/cjs/assertions/banner/BannerTypography.d.ts +0 -7
- package/cjs/assertions/banner/index.d.ts +0 -3
- package/cjs/assertions/index.d.ts +0 -2
- package/cjs/assertions/toast/Toast.d.ts +0 -12
- package/cjs/assertions/toast/Toaster.d.ts +0 -19
- package/cjs/assertions/toast/index.d.ts +0 -2
- package/cjs/badge/Badge.d.ts +0 -26
- package/cjs/badge/index.d.ts +0 -2
- package/cjs/button/BadgeIcon.d.ts +0 -7
- package/cjs/button/BaseButton.d.ts +0 -14
- package/cjs/button/Button.d.ts +0 -19
- package/cjs/button/IconButton.d.ts +0 -75
- package/cjs/button/LinkButton.d.ts +0 -8
- package/cjs/button/button-style.d.ts +0 -7
- package/cjs/button/index.d.ts +0 -7
- package/cjs/button-stack/ButtonStack.d.ts +0 -11
- package/cjs/button-stack/index.d.ts +0 -1
- package/cjs/card/Card.d.ts +0 -18
- package/cjs/card/CardActions.d.ts +0 -4
- package/cjs/card/CardContent.d.ts +0 -13
- package/cjs/card/CardMedia.d.ts +0 -18
- package/cjs/card/CardPriceTag.d.ts +0 -25
- package/cjs/card/CardTitle.d.ts +0 -18
- package/cjs/card/index.d.ts +0 -6
- package/cjs/chip/Chip.d.ts +0 -19
- package/cjs/chip/index.d.ts +0 -2
- package/cjs/common/LockBodyScroll.d.ts +0 -25
- package/cjs/common/arrow.d.ts +0 -6
- package/cjs/common/emotionCloneElement.d.ts +0 -3
- package/cjs/common/intent.d.ts +0 -3
- package/cjs/common/miniMoize.d.ts +0 -1
- package/cjs/common/polymorphic.d.ts +0 -25
- package/cjs/common/use-media.d.ts +0 -1
- package/cjs/common/useOnClickOutside.d.ts +0 -4
- package/cjs/common/utils.d.ts +0 -3
- package/cjs/counter/Counter.d.ts +0 -26
- package/cjs/counter/PluralCounter.d.ts +0 -13
- package/cjs/counter/index.d.ts +0 -2
- package/cjs/data-table/DataTable.d.ts +0 -10
- package/cjs/data-table/index.d.ts +0 -1
- package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +0 -2
- package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +0 -2
- package/cjs/date-range-picker/DateRangePicker.d.ts +0 -33
- package/cjs/date-range-picker/index.d.ts +0 -1
- package/cjs/divider/Divider.d.ts +0 -26
- package/cjs/divider/index.d.ts +0 -1
- package/cjs/drawer/Drawer.d.ts +0 -31
- package/cjs/drawer/index.d.ts +0 -1
- package/cjs/dropdown-menu/Dropdown.d.ts +0 -46
- package/cjs/dropdown-menu/DropdownContext.d.ts +0 -13
- package/cjs/dropdown-menu/MenuCheckbox.d.ts +0 -34
- package/cjs/dropdown-menu/MenuItem.d.ts +0 -45
- package/cjs/dropdown-menu/MenuTitle.d.ts +0 -14
- package/cjs/dropdown-menu/index.d.ts +0 -5
- package/cjs/elevation/index.d.ts +0 -3
- package/cjs/flexbox/FlexBox.d.ts +0 -100
- package/cjs/flexbox/index.d.ts +0 -1
- package/cjs/footer/Footer.d.ts +0 -7
- package/cjs/footer/index.d.ts +0 -1
- package/cjs/forms/assistive-text/AssistiveText.d.ts +0 -8
- package/cjs/forms/asterisk/Asterisk.d.ts +0 -3
- package/cjs/forms/checkbox/Checkbox.d.ts +0 -39
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +0 -10
- package/cjs/forms/checkbox/index.d.ts +0 -1
- package/cjs/forms/email-field/EmailField.d.ts +0 -6
- package/cjs/forms/error-text/ErrorText.d.ts +0 -8
- package/cjs/forms/field/Field.d.ts +0 -10
- package/cjs/forms/index.d.ts +0 -21
- package/cjs/forms/input/Input.d.ts +0 -19
- package/cjs/forms/input/InputComposition.d.ts +0 -43
- package/cjs/forms/label/Label.d.ts +0 -10
- package/cjs/forms/number-field/NumberField.d.ts +0 -6
- package/cjs/forms/password-field/PasswordField.d.ts +0 -4
- package/cjs/forms/radio/Radio.d.ts +0 -35
- package/cjs/forms/reactselect/ReactSelect.d.ts +0 -25
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +0 -6
- package/cjs/forms/select/Select.d.ts +0 -16
- package/cjs/forms/select-field/SelectField.d.ts +0 -17
- package/cjs/forms/switch/Switch.d.ts +0 -13
- package/cjs/forms/tel-field/TelField.d.ts +0 -6
- package/cjs/forms/text-field/TextField.d.ts +0 -26
- package/cjs/global-styles/GlobalStyles.d.ts +0 -3
- package/cjs/global-styles/ResetStyles.d.ts +0 -9
- package/cjs/global-styles/sanitize.d.ts +0 -1
- package/cjs/grid/Column.d.ts +0 -10
- package/cjs/grid/Container.d.ts +0 -15
- package/cjs/grid/index.d.ts +0 -2
- package/cjs/hero/Hero.d.ts +0 -10
- package/cjs/hero/index.d.ts +0 -1
- package/cjs/hero/stripes.d.ts +0 -6
- package/cjs/ie-banner/IEBanner.d.ts +0 -11
- package/cjs/ie-banner/index.d.ts +0 -1
- package/cjs/index.d.ts +0 -44
- package/cjs/layout/LayoutLegacy.d.ts +0 -2
- package/cjs/lists/FeatureList.d.ts +0 -24
- package/cjs/lists/ListAddon.d.ts +0 -11
- package/cjs/lists/ListDivider.d.ts +0 -5
- package/cjs/lists/ListIcon.d.ts +0 -18
- package/cjs/lists/ListItem.d.ts +0 -46
- package/cjs/lists/ListText.d.ts +0 -39
- package/cjs/lists/ListTextGroup.d.ts +0 -15
- package/cjs/lists/ListTitle.d.ts +0 -4
- package/cjs/lists/index.d.ts +0 -8
- package/cjs/loader/DfdsLoader.d.ts +0 -9
- package/cjs/loader/Loader.d.ts +0 -6
- package/cjs/loader/index.d.ts +0 -2
- package/cjs/localization/LocaleFlag.d.ts +0 -13
- package/cjs/localization/index.d.ts +0 -2
- package/cjs/localization/locales.d.ts +0 -35
- package/cjs/logo/Logo.d.ts +0 -11
- package/cjs/logo/index.d.ts +0 -1
- package/cjs/media/index.d.ts +0 -2
- package/cjs/menu/Menu.d.ts +0 -7
- package/cjs/menu/index.d.ts +0 -2
- package/cjs/mobile-stepper/MobileStepper.d.ts +0 -25
- package/cjs/mobile-stepper/index.d.ts +0 -1
- package/cjs/nav-bar/NavBar.d.ts +0 -35
- package/cjs/nav-bar/index.d.ts +0 -2
- package/cjs/nav-menu/NavMenuItem.d.ts +0 -10
- package/cjs/nav-menu/index.d.ts +0 -1
- package/cjs/pagination/Pagination.d.ts +0 -44
- package/cjs/pagination/Pagination.styles.d.ts +0 -6
- package/cjs/pagination/index.d.ts +0 -1
- package/cjs/popper/Popper.d.ts +0 -29
- package/cjs/popper/index.d.ts +0 -1
- package/cjs/progress-bar/ProgressBar.d.ts +0 -8
- package/cjs/progress-bar/index.d.ts +0 -2
- package/cjs/schedule/ScheduleItem.d.ts +0 -21
- package/cjs/schedule/ScheduleList.d.ts +0 -11
- package/cjs/schedule/index.d.ts +0 -2
- package/cjs/side-sheet/SideSheet.d.ts +0 -57
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +0 -13
- package/cjs/side-sheet/SideSheetContent.d.ts +0 -7
- package/cjs/side-sheet/SideSheetFooter.d.ts +0 -7
- package/cjs/side-sheet/SideSheetHeader.d.ts +0 -9
- package/cjs/side-sheet/SideSheetHeadline.d.ts +0 -7
- package/cjs/side-sheet/index.d.ts +0 -4
- package/cjs/site-layout/SiteLayout.d.ts +0 -36
- package/cjs/site-layout/index.d.ts +0 -2
- package/cjs/skeleton/Skeleton.d.ts +0 -8
- package/cjs/skeleton/index.d.ts +0 -1
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +0 -26
- package/cjs/social-media-link-list/index.d.ts +0 -1
- package/cjs/spinner/Spinner.d.ts +0 -58
- package/cjs/spinner/index.d.ts +0 -1
- package/cjs/step/Step.d.ts +0 -45
- package/cjs/step/Step.styles.d.ts +0 -4
- package/cjs/step/StepButton.d.ts +0 -4
- package/cjs/step/StepContent.d.ts +0 -6
- package/cjs/step/StepContext.d.ts +0 -12
- package/cjs/step/StepLabel.d.ts +0 -7
- package/cjs/step/index.d.ts +0 -1
- package/cjs/stepper/Stepper.d.ts +0 -25
- package/cjs/stepper/StepperContext.d.ts +0 -9
- package/cjs/stepper/index.d.ts +0 -1
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +0 -5
- package/cjs/stepper-feedback-message/index.d.ts +0 -1
- package/cjs/styles/index.d.ts +0 -3
- package/cjs/styles/media.d.ts +0 -21
- package/cjs/styles/rem.d.ts +0 -1
- package/cjs/styles/style-helpers.d.ts +0 -1
- package/cjs/styles/theme.d.ts +0 -39
- package/cjs/surface/Surface.d.ts +0 -32
- package/cjs/surface/index.d.ts +0 -1
- package/cjs/tab/Tab.d.ts +0 -12
- package/cjs/tab/TabPanel.d.ts +0 -7
- package/cjs/tab/Tabs.d.ts +0 -11
- package/cjs/tab/TabsContext.d.ts +0 -16
- package/cjs/tab/index.d.ts +0 -4
- package/cjs/table/Table.d.ts +0 -22
- package/cjs/table/TableBody.d.ts +0 -9
- package/cjs/table/TableDataCell.d.ts +0 -14
- package/cjs/table/TableHead.d.ts +0 -14
- package/cjs/table/TableHeaderCell.d.ts +0 -15
- package/cjs/table/TableRow.d.ts +0 -17
- package/cjs/table/index.d.ts +0 -6
- package/cjs/test/Test.d.ts +0 -8
- package/cjs/tooltip/Tooltip.d.ts +0 -26
- package/cjs/tooltip/index.d.ts +0 -2
- package/cjs/typography/Headlines.d.ts +0 -70
- package/cjs/typography/Text.d.ts +0 -5
- package/cjs/typography/index.d.ts +0 -2
package/logo/Logo.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["logoContainerProps"];
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { SvgDfdsLogo } from '@dfds-ui/icons';
|
|
8
8
|
import { theme } from '@dfds-ui/theme';
|
package/menu/Menu.js
CHANGED
|
@@ -3,9 +3,9 @@ var _excluded = ["children"],
|
|
|
3
3
|
_excluded2 = ["children", "onClick"],
|
|
4
4
|
_excluded3 = ["children"],
|
|
5
5
|
_excluded4 = ["children", "url"];
|
|
6
|
-
function _extends() {
|
|
7
|
-
function _objectWithoutProperties(
|
|
8
|
-
function _objectWithoutPropertiesLoose(
|
|
6
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { css } from '@emotion/react';
|
|
11
11
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
var _excluded = ["steps", "activeStep", "backButton", "nextButton", "variant"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _toConsumableArray(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4
4
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
|
-
function _unsupportedIterableToArray(
|
|
6
|
-
function _iterableToArray(
|
|
7
|
-
function _arrayWithoutHoles(
|
|
8
|
-
function _arrayLikeToArray(
|
|
9
|
-
function _objectWithoutProperties(
|
|
10
|
-
function _objectWithoutPropertiesLoose(
|
|
5
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
6
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
7
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
8
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
12
12
|
import React from 'react';
|
|
13
13
|
import { css } from '@emotion/react';
|
package/nav-bar/NavBar.js
CHANGED
|
@@ -2,15 +2,15 @@ import _styled from "@emotion/styled/base";
|
|
|
2
2
|
var _excluded = ["href", "className", "showLogo", "children"],
|
|
3
3
|
_excluded2 = ["children", "className", "href", "as"],
|
|
4
4
|
_excluded3 = ["children", "alignment", "menu", "onClick", "closeMenuOnClick"];
|
|
5
|
-
function _slicedToArray(
|
|
5
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
6
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
7
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
8
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
-
function _arrayWithHoles(
|
|
11
|
-
function _extends() {
|
|
12
|
-
function _objectWithoutProperties(
|
|
13
|
-
function _objectWithoutPropertiesLoose(
|
|
10
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
11
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
14
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
15
15
|
import React, { useState } from 'react';
|
|
16
16
|
import Logo from '../logo/Logo';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Shared react components within DFDS",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
|
-
"version": "2.0
|
|
6
|
+
"version": "2.2.0-alpha.8d87a90d",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"main": "./cjs/index.js",
|
|
9
9
|
"module": "./index.js",
|
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
"react-select": "^4.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dfds-ui/colors": "2.0
|
|
22
|
-
"@dfds-ui/fonts": "2.0
|
|
23
|
-
"@dfds-ui/hooks": "2.0
|
|
24
|
-
"@dfds-ui/icons": "2.0
|
|
25
|
-
"@dfds-ui/spacing": "2.0
|
|
26
|
-
"@dfds-ui/theme": "2.0
|
|
27
|
-
"@dfds-ui/typography": "2.0
|
|
21
|
+
"@dfds-ui/colors": "2.2.0-alpha.8d87a90d",
|
|
22
|
+
"@dfds-ui/fonts": "2.2.0-alpha.8d87a90d",
|
|
23
|
+
"@dfds-ui/hooks": "2.2.0-alpha.8d87a90d",
|
|
24
|
+
"@dfds-ui/icons": "2.2.0-alpha.8d87a90d",
|
|
25
|
+
"@dfds-ui/spacing": "2.2.0-alpha.8d87a90d",
|
|
26
|
+
"@dfds-ui/theme": "2.2.0-alpha.8d87a90d",
|
|
27
|
+
"@dfds-ui/typography": "2.2.0-alpha.8d87a90d",
|
|
28
28
|
"@kunukn/react-collapse": "^2.2.9",
|
|
29
29
|
"@mui/base": "^5.0.0-alpha.102",
|
|
30
30
|
"@mui/material": "^5.10.10",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"classnames": "^2.3.2",
|
|
35
35
|
"humps": "^2.0.1",
|
|
36
36
|
"react-hook-intersection-observer": "^0.1.0",
|
|
37
|
-
"uuid": "^
|
|
37
|
+
"uuid": "^11.0.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "8d87a90d4501dae81cac37ab3b4d9f13a68e2ab3",
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
}
|
package/pagination/Pagination.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _objectDestructuringEmpty(
|
|
2
|
-
function _extends() {
|
|
1
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { useBreakpoint } from '@dfds-ui/theme';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var _templateObject;
|
|
2
|
-
function _taggedTemplateLiteral(
|
|
2
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
3
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
4
4
|
import { theme, media } from '@dfds-ui/theme';
|
|
5
5
|
import { css } from '@emotion/react';
|
package/popper/Popper.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var _excluded = ["open", "children", "anchorEl", "id", "placement", "onClickAway", "className", "noMaxWidthRestriction"],
|
|
2
2
|
_excluded2 = ["children", "anchorEl", "id", "setAnchorEl", "placement", "popperRef"];
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { Popper as MaterialPopper } from '@mui/material';
|
package/schedule/ScheduleList.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["items"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import FlexBox from '../flexbox/FlexBox';
|
|
7
7
|
import { ScheduleItem } from './';
|
package/side-sheet/SideSheet.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var _templateObject, _templateObject2, _templateObject3;
|
|
2
2
|
var _excluded = ["isOpen", "alignSideSheet", "zIndex", "variant", "largeMobileFullScreen", "smallMobileFullScreen", "className", "width"],
|
|
3
3
|
_excluded2 = ["variant", "className", "isOpen", "backdrop", "width", "header", "zIndex", "largeMobileFullScreen", "smallMobileFullScreen", "onRequestClose", "backdropEmphasis", "alignSideSheet", "children"];
|
|
4
|
-
function _slicedToArray(
|
|
4
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
5
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
-
function _unsupportedIterableToArray(
|
|
7
|
-
function _arrayLikeToArray(
|
|
6
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
9
|
-
function _arrayWithHoles(
|
|
10
|
-
function _extends() {
|
|
11
|
-
function _taggedTemplateLiteral(
|
|
12
|
-
function _objectWithoutProperties(
|
|
13
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
11
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
12
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
13
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
14
14
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
15
15
|
import React, { useEffect, useState } from 'react';
|
|
16
16
|
import { css } from '@emotion/react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["onRequestClose", "className", "icon", "size", "closeLabel"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { Close } from '@dfds-ui/icons/system';
|
|
7
7
|
import { css } from '@emotion/react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children", "className"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React, { Fragment } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children", "className"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React, { Fragment } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children", "className", "sticky", "noDivider"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React, { Fragment } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -3,9 +3,9 @@ var _excluded = ["children", "className", "as"],
|
|
|
3
3
|
_excluded2 = ["children", "className", "as"],
|
|
4
4
|
_excluded3 = ["children", "className", "as"],
|
|
5
5
|
_excluded4 = ["children", "className", "as"];
|
|
6
|
-
function _extends() {
|
|
7
|
-
function _objectWithoutProperties(
|
|
8
|
-
function _objectWithoutPropertiesLoose(
|
|
6
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
7
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
9
9
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { theme } from '@dfds-ui/theme';
|
package/skeleton/Skeleton.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _excluded = ["variant", "disableAnimation"];
|
|
2
2
|
var _templateObject;
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
6
|
-
function _taggedTemplateLiteral(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
|
8
8
|
import { keyframes } from '@emotion/react';
|
|
9
9
|
import { css } from '@emotion/react';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["instagramLink", "facebookLink", "blogLink", "twitterLink", "linkedinLink", "youtubeLink", "mailshareLink", "iconSize", "noPadding", "colorOverwrite"];
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import FlexBox from '../flexbox/FlexBox';
|
|
8
8
|
import { Blog, Facebook, Instagram, LinkedIn, MailShare, Twitter, Youtube } from '@dfds-ui/icons';
|
package/spinner/Spinner.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["instant", "size", "className", "color", "as"];
|
|
3
3
|
var _templateObject, _templateObject2;
|
|
4
|
-
function _extends() {
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
7
|
-
function _taggedTemplateLiteral(
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
7
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
8
8
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { keyframes, css } from '@emotion/react';
|
package/step/Step.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["index", "label", "active", "completed", "disabled", "children", "hasError", "optionalStepText", "isEditing", "handleStepClick"];
|
|
2
|
-
function _extends() {
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
5
5
|
import React, { memo, useContext } from 'react';
|
|
6
6
|
import StepLabel from './StepLabel';
|
|
7
7
|
import StepButton from './StepButton';
|
package/step/StepButton.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _objectDestructuringEmpty(
|
|
2
|
-
function _extends() {
|
|
1
|
+
function _objectDestructuringEmpty(obj) { if (obj == null) throw new TypeError("Cannot destructure " + obj); }
|
|
2
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
3
3
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { css } from '@emotion/react';
|
package/stepper/Stepper.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["children", "activeStep", "sequential", "orientation", "stepFeedbackMessage"];
|
|
3
|
-
function _extends() {
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
-
function _defineProperty(
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
-
function _objectWithoutProperties(
|
|
10
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
11
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
12
12
|
import React, { memo } from 'react';
|
|
13
13
|
import { css } from '@emotion/react';
|
package/surface/Surface.js
CHANGED
|
@@ -3,12 +3,12 @@ var _excluded = ["surface"],
|
|
|
3
3
|
_excluded2 = ["surface", "children"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
-
function _defineProperty(
|
|
6
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
-
function _extends() {
|
|
10
|
-
function _objectWithoutProperties(
|
|
11
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
12
|
import React, { Fragment } from 'react';
|
|
13
13
|
import { theme } from '@dfds-ui/theme';
|
|
14
14
|
import { css } from '@emotion/react';
|
package/tab/Tab.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "index", "onClick"];
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
6
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { css } from '@emotion/react';
|
package/tab/Tabs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "tabsLabels"];
|
|
3
|
-
function _extends() {
|
|
4
|
-
function _slicedToArray(
|
|
3
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
5
5
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
6
|
-
function _unsupportedIterableToArray(
|
|
7
|
-
function _arrayLikeToArray(
|
|
6
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
7
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
8
8
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0) { ; } } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
9
|
-
function _arrayWithHoles(
|
|
10
|
-
function _objectWithoutProperties(
|
|
11
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
10
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
12
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
13
13
|
import React, { useEffect, useState, useRef } from 'react';
|
|
14
14
|
import { css } from '@emotion/react';
|