@dfds-ui/react-components 2.2.0-alpha.4e495871 → 2.2.0-alpha.6205287b
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 +2 -2
- package/accordion/Accordion.js +3 -3
- package/accordion/AccordionContent.d.ts +1 -1
- package/accordion/AccordionContent.js +3 -3
- package/accordion/AccordionSmall.d.ts +2 -2
- package/accordion/AccordionSmall.js +3 -3
- package/app-bar/AppBar.d.ts +1 -1
- package/app-bar/AppBar.js +8 -8
- package/app-bar/AppBarContext.d.ts +1 -1
- package/app-bar/AppBarContext.js +4 -4
- package/app-bar/AppBarDrawer.js +3 -3
- package/app-bar/AppBarIconButton.d.ts +1 -1
- package/app-bar/AppBarIconButton.js +3 -3
- package/app-bar/AppBarItem.d.ts +2 -2
- package/app-bar/AppBarItem.js +24 -24
- package/assertions/banner/Banner.d.ts +3 -3
- package/assertions/banner/Banner.js +8 -8
- package/assertions/banner/BannerAction.d.ts +1 -1
- package/assertions/banner/BannerAction.js +3 -3
- package/assertions/banner/BannerTypography.js +1 -1
- package/assertions/toast/Toast.d.ts +1 -1
- package/assertions/toast/Toast.js +3 -3
- package/assertions/toast/Toaster.d.ts +2 -2
- package/assertions/toast/Toaster.js +18 -10
- package/badge/Badge.d.ts +1 -1
- package/badge/Badge.js +3 -3
- package/button/BadgeIcon.d.ts +1 -1
- package/button/BaseButton.d.ts +3 -3
- package/button/Button.d.ts +3 -3
- package/button/Button.js +3 -3
- package/button/IconButton.d.ts +2 -2
- package/button/IconButton.js +3 -3
- package/button/LinkButton.d.ts +1 -1
- package/button/LinkButton.js +1 -1
- package/button-stack/ButtonStack.d.ts +3 -3
- package/button-stack/ButtonStack.js +4 -4
- package/card/Card.d.ts +2 -2
- package/card/Card.js +10 -10
- package/card/CardActions.js +3 -3
- package/card/CardContent.d.ts +1 -1
- package/card/CardContent.js +2 -2
- package/card/CardMedia.d.ts +2 -2
- package/card/CardMedia.js +2 -2
- package/card/CardPriceTag.d.ts +1 -1
- package/card/CardPriceTag.js +2 -2
- package/card/CardTitle.d.ts +1 -1
- package/card/CardTitle.js +3 -3
- package/chip/Chip.d.ts +2 -2
- package/chip/Chip.js +7 -7
- package/cjs/accordion/Accordion.d.ts +2 -2
- package/cjs/accordion/Accordion.js +26 -22
- package/cjs/accordion/AccordionContent.d.ts +1 -1
- package/cjs/accordion/AccordionContent.js +10 -8
- package/cjs/accordion/AccordionSmall.d.ts +2 -2
- package/cjs/accordion/AccordionSmall.js +16 -13
- package/cjs/accordion/index.js +3 -3
- package/cjs/app-bar/AppBar.d.ts +1 -1
- package/cjs/app-bar/AppBar.js +65 -45
- package/cjs/app-bar/AppBarContext.d.ts +1 -1
- package/cjs/app-bar/AppBarContext.js +15 -4
- package/cjs/app-bar/AppBarDrawer.js +12 -12
- package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
- package/cjs/app-bar/AppBarIconButton.js +11 -8
- package/cjs/app-bar/AppBarItem.d.ts +2 -2
- package/cjs/app-bar/AppBarItem.js +33 -20
- package/cjs/app-bar/AppBarListItem.js +1 -1
- package/cjs/app-bar/index.js +9 -9
- package/cjs/assertions/banner/Banner.d.ts +3 -3
- package/cjs/assertions/banner/Banner.js +44 -25
- package/cjs/assertions/banner/BannerAction.d.ts +1 -1
- package/cjs/assertions/banner/BannerAction.js +11 -9
- package/cjs/assertions/banner/BannerTypography.js +2 -2
- package/cjs/assertions/banner/index.js +3 -3
- package/cjs/assertions/index.js +2 -2
- package/cjs/assertions/toast/Toast.d.ts +1 -1
- package/cjs/assertions/toast/Toast.js +15 -11
- package/cjs/assertions/toast/Toaster.d.ts +2 -2
- package/cjs/assertions/toast/Toaster.js +41 -23
- package/cjs/assertions/toast/index.js +5 -6
- package/cjs/badge/Badge.d.ts +1 -1
- package/cjs/badge/Badge.js +16 -11
- package/cjs/badge/index.js +3 -4
- package/cjs/button/BadgeIcon.d.ts +1 -1
- package/cjs/button/BadgeIcon.js +1 -1
- package/cjs/button/BaseButton.d.ts +3 -3
- package/cjs/button/BaseButton.js +1 -1
- package/cjs/button/Button.d.ts +3 -3
- package/cjs/button/Button.js +22 -15
- package/cjs/button/IconButton.d.ts +2 -2
- package/cjs/button/IconButton.js +28 -21
- package/cjs/button/LinkButton.d.ts +1 -1
- package/cjs/button/LinkButton.js +3 -4
- package/cjs/button/index.js +8 -9
- package/cjs/button-stack/ButtonStack.d.ts +3 -3
- package/cjs/button-stack/ButtonStack.js +14 -10
- package/cjs/button-stack/index.js +2 -2
- package/cjs/card/Card.d.ts +2 -2
- package/cjs/card/Card.js +38 -23
- package/cjs/card/CardActions.js +12 -8
- package/cjs/card/CardContent.d.ts +1 -1
- package/cjs/card/CardContent.js +15 -11
- package/cjs/card/CardMedia.d.ts +2 -2
- package/cjs/card/CardMedia.js +10 -7
- package/cjs/card/CardPriceTag.d.ts +1 -1
- package/cjs/card/CardPriceTag.js +12 -8
- package/cjs/card/CardTitle.d.ts +1 -1
- package/cjs/card/CardTitle.js +13 -11
- package/cjs/card/index.js +7 -7
- package/cjs/chip/Chip.d.ts +2 -2
- package/cjs/chip/Chip.js +30 -16
- package/cjs/chip/index.js +3 -4
- package/cjs/common/LockBodyScroll.d.ts +2 -2
- package/cjs/common/LockBodyScroll.js +10 -7
- package/cjs/common/arrow.d.ts +1 -1
- package/cjs/common/emotionCloneElement.js +8 -5
- package/cjs/common/intent.d.ts +1 -1
- package/cjs/common/polymorphic.d.ts +2 -2
- package/cjs/common/polymorphic.js +5 -5
- package/cjs/common/use-media.js +10 -1
- package/cjs/common/useOnClickOutside.d.ts +1 -1
- package/cjs/counter/Counter.d.ts +1 -1
- package/cjs/counter/Counter.js +15 -6
- package/cjs/counter/PluralCounter.d.ts +1 -1
- package/cjs/counter/PluralCounter.js +24 -13
- package/cjs/counter/index.js +3 -3
- package/cjs/data-table/DataTable.d.ts +1 -1
- package/cjs/data-table/DataTable.js +27 -17
- package/cjs/data-table/index.js +1 -1
- package/cjs/date-range-picker/DateRangePicker.js +56 -30
- package/cjs/date-range-picker/index.js +2 -2
- package/cjs/divider/Divider.d.ts +1 -1
- package/cjs/divider/Divider.js +11 -11
- package/cjs/divider/index.js +1 -1
- package/cjs/drawer/Drawer.d.ts +4 -4
- package/cjs/drawer/Drawer.js +17 -11
- package/cjs/drawer/index.js +1 -1
- package/cjs/dropdown-menu/Dropdown.d.ts +2 -2
- package/cjs/dropdown-menu/Dropdown.js +34 -20
- package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
- package/cjs/dropdown-menu/DropdownContext.js +1 -2
- package/cjs/dropdown-menu/MenuCheckbox.js +4 -5
- package/cjs/dropdown-menu/MenuItem.js +32 -20
- package/cjs/dropdown-menu/MenuTitle.js +3 -4
- package/cjs/dropdown-menu/index.js +7 -8
- package/cjs/elevation/index.d.ts +1 -1
- package/cjs/flexbox/FlexBox.d.ts +2 -2
- package/cjs/flexbox/FlexBox.js +12 -4
- package/cjs/flexbox/index.js +1 -1
- package/cjs/footer/Footer.js +1 -1
- package/cjs/footer/index.js +2 -2
- package/cjs/forms/assistive-text/AssistiveText.js +1 -1
- package/cjs/forms/asterisk/Asterisk.js +1 -1
- package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
- package/cjs/forms/checkbox/Checkbox.js +21 -16
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
- package/cjs/forms/checkbox/ExampleControlComponent.js +19 -8
- package/cjs/forms/checkbox/index.js +2 -2
- package/cjs/forms/email-field/EmailField.d.ts +1 -1
- package/cjs/forms/email-field/EmailField.js +3 -3
- package/cjs/forms/error-text/ErrorText.js +1 -1
- package/cjs/forms/field/Field.d.ts +1 -1
- package/cjs/forms/field/Field.js +1 -1
- package/cjs/forms/index.d.ts +3 -3
- package/cjs/forms/index.js +19 -19
- package/cjs/forms/input/Input.d.ts +3 -3
- package/cjs/forms/input/Input.js +17 -15
- package/cjs/forms/input/InputComposition.d.ts +7 -7
- package/cjs/forms/input/InputComposition.js +29 -26
- package/cjs/forms/label/Label.d.ts +1 -1
- package/cjs/forms/label/Label.js +9 -7
- package/cjs/forms/number-field/NumberField.d.ts +1 -1
- package/cjs/forms/number-field/NumberField.js +3 -3
- package/cjs/forms/password-field/PasswordField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.js +13 -5
- package/cjs/forms/radio/Radio.d.ts +4 -4
- package/cjs/forms/radio/Radio.js +34 -29
- package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
- package/cjs/forms/reactselect/ReactSelect.js +50 -43
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +34 -30
- package/cjs/forms/select/Select.d.ts +4 -4
- package/cjs/forms/select/Select.js +14 -12
- package/cjs/forms/select-field/SelectField.d.ts +2 -2
- package/cjs/forms/select-field/SelectField.js +17 -16
- package/cjs/forms/switch/Switch.d.ts +2 -2
- package/cjs/forms/switch/Switch.js +17 -13
- package/cjs/forms/tel-field/TelField.d.ts +1 -1
- package/cjs/forms/tel-field/TelField.js +3 -3
- package/cjs/forms/text-field/TextField.d.ts +3 -3
- package/cjs/forms/text-field/TextField.js +20 -19
- package/cjs/global-styles/GlobalStyles.js +1 -1
- package/cjs/global-styles/ResetStyles.js +1 -1
- package/cjs/grid/Column.d.ts +1 -1
- package/cjs/grid/Column.js +12 -10
- package/cjs/grid/Container.d.ts +1 -1
- package/cjs/grid/Container.js +13 -11
- package/cjs/grid/index.js +3 -3
- package/cjs/hero/Hero.d.ts +1 -1
- package/cjs/hero/Hero.js +1 -1
- package/cjs/hero/index.js +2 -2
- package/cjs/hero/stripes.d.ts +1 -1
- package/cjs/hero/stripes.js +1 -1
- package/cjs/ie-banner/IEBanner.d.ts +1 -1
- package/cjs/ie-banner/IEBanner.js +19 -5
- package/cjs/ie-banner/index.js +2 -2
- package/cjs/index.js +46 -46
- package/cjs/layout/LayoutLegacy.js +1 -1
- package/cjs/lists/FeatureList.d.ts +2 -2
- package/cjs/lists/FeatureList.js +12 -9
- package/cjs/lists/ListAddon.d.ts +1 -1
- package/cjs/lists/ListAddon.js +11 -8
- package/cjs/lists/ListDivider.d.ts +1 -1
- package/cjs/lists/ListDivider.js +11 -8
- package/cjs/lists/ListIcon.d.ts +2 -2
- package/cjs/lists/ListIcon.js +17 -14
- package/cjs/lists/ListItem.d.ts +1 -1
- package/cjs/lists/ListItem.js +26 -17
- package/cjs/lists/ListText.d.ts +3 -3
- package/cjs/lists/ListText.js +13 -10
- package/cjs/lists/ListTextGroup.d.ts +1 -1
- package/cjs/lists/ListTextGroup.js +15 -11
- package/cjs/lists/ListTitle.js +9 -6
- package/cjs/lists/index.js +9 -9
- package/cjs/loader/DfdsLoader.js +3 -3
- package/cjs/loader/Loader.d.ts +1 -1
- package/cjs/loader/Loader.js +1 -1
- package/cjs/loader/index.js +3 -3
- package/cjs/localization/LocaleFlag.d.ts +1 -1
- package/cjs/localization/LocaleFlag.js +14 -11
- package/cjs/localization/index.js +2 -2
- package/cjs/localization/locales.d.ts +2 -2
- package/cjs/logo/Logo.d.ts +1 -1
- package/cjs/logo/Logo.js +9 -8
- package/cjs/logo/index.js +1 -1
- package/cjs/menu/Menu.d.ts +1 -1
- package/cjs/menu/Menu.js +22 -20
- package/cjs/menu/index.js +3 -4
- package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
- package/cjs/mobile-stepper/MobileStepper.js +14 -10
- package/cjs/mobile-stepper/index.js +2 -2
- package/cjs/nav-bar/NavBar.d.ts +4 -4
- package/cjs/nav-bar/NavBar.js +38 -27
- package/cjs/nav-bar/index.js +3 -4
- package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
- package/cjs/nav-menu/NavMenuItem.js +1 -1
- package/cjs/nav-menu/index.js +2 -2
- package/cjs/pagination/Pagination.d.ts +2 -2
- package/cjs/pagination/Pagination.js +8 -9
- package/cjs/pagination/index.js +1 -1
- package/cjs/popper/Popper.d.ts +2 -2
- package/cjs/popper/Popper.js +27 -23
- package/cjs/popper/index.js +2 -2
- package/cjs/progress-bar/ProgressBar.d.ts +1 -1
- package/cjs/progress-bar/ProgressBar.js +1 -1
- package/cjs/progress-bar/index.js +3 -4
- package/cjs/schedule/ScheduleItem.d.ts +2 -2
- package/cjs/schedule/ScheduleItem.js +1 -1
- package/cjs/schedule/ScheduleList.d.ts +3 -3
- package/cjs/schedule/ScheduleList.js +8 -6
- package/cjs/schedule/index.js +3 -3
- package/cjs/side-sheet/SideSheet.d.ts +4 -4
- package/cjs/side-sheet/SideSheet.js +47 -32
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
- package/cjs/side-sheet/SideSheetCloseButton.js +15 -10
- package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
- package/cjs/side-sheet/SideSheetContent.js +9 -8
- package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
- package/cjs/side-sheet/SideSheetFooter.js +9 -8
- package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
- package/cjs/side-sheet/SideSheetHeader.js +13 -11
- package/cjs/side-sheet/SideSheetHeadline.d.ts +1 -1
- package/cjs/side-sheet/SideSheetHeadline.js +1 -1
- package/cjs/side-sheet/index.js +6 -7
- package/cjs/site-layout/SiteLayout.d.ts +3 -3
- package/cjs/site-layout/SiteLayout.js +29 -26
- package/cjs/site-layout/index.js +3 -4
- package/cjs/skeleton/Skeleton.d.ts +1 -1
- package/cjs/skeleton/Skeleton.js +16 -12
- package/cjs/skeleton/index.js +1 -1
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
- package/cjs/social-media-link-list/SocialMediaLinkList.js +17 -15
- package/cjs/social-media-link-list/index.js +1 -1
- package/cjs/spinner/Spinner.d.ts +2 -2
- package/cjs/spinner/Spinner.js +14 -10
- package/cjs/spinner/index.js +1 -1
- package/cjs/step/Step.d.ts +1 -1
- package/cjs/step/Step.js +31 -24
- package/cjs/step/StepButton.d.ts +1 -1
- package/cjs/step/StepButton.js +14 -16
- package/cjs/step/StepContent.d.ts +1 -1
- package/cjs/step/StepContent.js +3 -4
- package/cjs/step/StepContext.d.ts +1 -1
- package/cjs/step/StepContext.js +1 -1
- package/cjs/step/StepLabel.d.ts +1 -1
- package/cjs/step/StepLabel.js +4 -5
- package/cjs/step/index.js +2 -2
- package/cjs/stepper/Stepper.d.ts +1 -1
- package/cjs/stepper/Stepper.js +24 -16
- package/cjs/stepper/StepperContext.d.ts +1 -1
- package/cjs/stepper/StepperContext.js +1 -1
- package/cjs/stepper/index.js +2 -2
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +1 -1
- package/cjs/stepper-feedback-message/index.js +2 -2
- package/cjs/styles/index.js +6 -7
- package/cjs/styles/media.d.ts +1 -1
- package/cjs/styles/theme.d.ts +1 -1
- package/cjs/surface/Surface.d.ts +2 -2
- package/cjs/surface/Surface.js +20 -15
- package/cjs/surface/index.js +1 -1
- package/cjs/tab/Tab.d.ts +2 -2
- package/cjs/tab/Tab.js +16 -15
- package/cjs/tab/TabPanel.d.ts +1 -1
- package/cjs/tab/TabPanel.js +3 -4
- package/cjs/tab/Tabs.d.ts +2 -2
- package/cjs/tab/Tabs.js +39 -24
- package/cjs/tab/TabsContext.d.ts +1 -1
- package/cjs/tab/TabsContext.js +1 -2
- package/cjs/tab/index.js +5 -5
- package/cjs/table/Table.d.ts +2 -2
- package/cjs/table/Table.js +12 -9
- package/cjs/table/TableBody.d.ts +1 -1
- package/cjs/table/TableBody.js +8 -7
- package/cjs/table/TableDataCell.d.ts +1 -1
- package/cjs/table/TableDataCell.js +10 -8
- package/cjs/table/TableHead.d.ts +1 -1
- package/cjs/table/TableHead.js +12 -12
- package/cjs/table/TableHeaderCell.d.ts +2 -2
- package/cjs/table/TableHeaderCell.js +10 -8
- package/cjs/table/TableRow.d.ts +1 -1
- package/cjs/table/TableRow.js +14 -13
- package/cjs/table/index.js +6 -6
- package/cjs/test/Test.js +1 -1
- package/cjs/tooltip/Tooltip.d.ts +2 -2
- package/cjs/tooltip/Tooltip.js +14 -14
- package/cjs/tooltip/index.js +3 -4
- package/cjs/typography/Headlines.js +13 -10
- package/cjs/typography/Text.js +1 -1
- package/cjs/typography/index.js +2 -2
- package/common/LockBodyScroll.d.ts +2 -2
- package/common/LockBodyScroll.js +3 -3
- package/common/arrow.d.ts +1 -1
- package/common/emotionCloneElement.js +1 -1
- package/common/intent.d.ts +1 -1
- package/common/polymorphic.d.ts +2 -2
- package/common/polymorphic.js +2 -2
- package/common/use-media.js +4 -4
- package/common/useOnClickOutside.d.ts +1 -1
- package/common/utils.js +1 -1
- package/counter/Counter.d.ts +1 -1
- package/counter/Counter.js +4 -4
- package/counter/PluralCounter.d.ts +1 -1
- package/counter/PluralCounter.js +7 -7
- package/data-table/DataTable.d.ts +1 -1
- package/data-table/DataTable.js +10 -10
- package/date-range-picker/DateRangePicker.js +8 -8
- package/divider/Divider.d.ts +1 -1
- package/divider/Divider.js +3 -3
- package/drawer/Drawer.d.ts +4 -4
- package/drawer/Drawer.js +3 -3
- package/dropdown-menu/Dropdown.d.ts +2 -2
- package/dropdown-menu/Dropdown.js +7 -7
- package/dropdown-menu/DropdownContext.d.ts +2 -2
- package/dropdown-menu/MenuCheckbox.js +1 -1
- package/dropdown-menu/MenuItem.js +7 -7
- package/elevation/index.d.ts +1 -1
- package/flexbox/FlexBox.d.ts +2 -2
- package/flexbox/FlexBox.js +5 -5
- package/forms/checkbox/Checkbox.d.ts +4 -4
- package/forms/checkbox/Checkbox.js +3 -3
- package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
- package/forms/checkbox/ExampleControlComponent.js +7 -7
- package/forms/email-field/EmailField.d.ts +1 -1
- package/forms/email-field/EmailField.js +2 -2
- package/forms/field/Field.d.ts +1 -1
- package/forms/index.d.ts +3 -3
- package/forms/input/Input.d.ts +3 -3
- package/forms/input/Input.js +3 -3
- package/forms/input/InputComposition.d.ts +7 -7
- package/forms/input/InputComposition.js +3 -3
- package/forms/label/Label.d.ts +1 -1
- package/forms/label/Label.js +2 -2
- package/forms/number-field/NumberField.d.ts +1 -1
- package/forms/number-field/NumberField.js +2 -2
- package/forms/password-field/PasswordField.d.ts +1 -1
- package/forms/password-field/PasswordField.js +5 -5
- package/forms/radio/Radio.d.ts +4 -4
- package/forms/radio/Radio.js +3 -3
- package/forms/reactselect/ReactSelect.d.ts +2 -2
- package/forms/reactselect/ReactSelect.js +4 -4
- package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/forms/searchable-select/AsyncSearchableSelect.js +3 -3
- package/forms/select/Select.d.ts +4 -4
- package/forms/select/Select.js +3 -3
- package/forms/select-field/SelectField.d.ts +2 -2
- package/forms/select-field/SelectField.js +4 -4
- package/forms/switch/Switch.d.ts +2 -2
- package/forms/switch/Switch.js +3 -3
- package/forms/tel-field/TelField.d.ts +1 -1
- package/forms/tel-field/TelField.js +2 -2
- package/forms/text-field/TextField.d.ts +3 -3
- package/forms/text-field/TextField.js +4 -4
- package/grid/Column.d.ts +1 -1
- package/grid/Column.js +3 -3
- package/grid/Container.d.ts +1 -1
- package/grid/Container.js +4 -4
- package/hero/Hero.d.ts +1 -1
- package/hero/Hero.js +1 -1
- package/hero/stripes.d.ts +1 -1
- package/ie-banner/IEBanner.d.ts +1 -1
- package/ie-banner/IEBanner.js +4 -4
- package/lists/FeatureList.d.ts +2 -2
- package/lists/FeatureList.js +3 -3
- package/lists/ListAddon.d.ts +1 -1
- package/lists/ListAddon.js +3 -3
- package/lists/ListDivider.d.ts +1 -1
- package/lists/ListDivider.js +3 -3
- package/lists/ListIcon.d.ts +2 -2
- package/lists/ListIcon.js +3 -3
- package/lists/ListItem.d.ts +1 -1
- package/lists/ListItem.js +3 -3
- package/lists/ListText.d.ts +3 -3
- package/lists/ListText.js +3 -3
- package/lists/ListTextGroup.d.ts +1 -1
- package/lists/ListTextGroup.js +3 -3
- package/lists/ListTitle.js +3 -3
- package/loader/DfdsLoader.js +1 -1
- package/loader/Loader.d.ts +1 -1
- package/loader/Loader.js +1 -1
- package/localization/LocaleFlag.d.ts +1 -1
- package/localization/LocaleFlag.js +3 -3
- package/localization/locales.d.ts +2 -2
- package/logo/Logo.d.ts +1 -1
- package/logo/Logo.js +3 -3
- package/menu/Menu.d.ts +1 -1
- package/menu/Menu.js +3 -3
- package/mobile-stepper/MobileStepper.d.ts +1 -1
- package/mobile-stepper/MobileStepper.js +8 -8
- package/nav-bar/NavBar.d.ts +4 -4
- package/nav-bar/NavBar.js +7 -7
- package/nav-menu/NavMenuItem.d.ts +1 -1
- package/package.json +10 -10
- package/pagination/Pagination.d.ts +2 -2
- package/pagination/Pagination.js +2 -2
- package/pagination/Pagination.styles.js +1 -1
- package/popper/Popper.d.ts +2 -2
- package/popper/Popper.js +3 -3
- package/progress-bar/ProgressBar.d.ts +1 -1
- package/schedule/ScheduleItem.d.ts +2 -2
- package/schedule/ScheduleList.d.ts +3 -3
- package/schedule/ScheduleList.js +3 -3
- package/side-sheet/SideSheet.d.ts +4 -4
- package/side-sheet/SideSheet.js +8 -8
- package/side-sheet/SideSheetCloseButton.d.ts +1 -1
- package/side-sheet/SideSheetCloseButton.js +3 -3
- package/side-sheet/SideSheetContent.d.ts +1 -1
- package/side-sheet/SideSheetContent.js +3 -3
- package/side-sheet/SideSheetFooter.d.ts +1 -1
- package/side-sheet/SideSheetFooter.js +3 -3
- package/side-sheet/SideSheetHeader.d.ts +1 -1
- package/side-sheet/SideSheetHeader.js +3 -3
- package/side-sheet/SideSheetHeadline.d.ts +1 -1
- package/site-layout/SiteLayout.d.ts +3 -3
- package/site-layout/SiteLayout.js +3 -3
- package/skeleton/Skeleton.d.ts +1 -1
- package/skeleton/Skeleton.js +4 -4
- package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
- package/social-media-link-list/SocialMediaLinkList.js +3 -3
- package/spinner/Spinner.d.ts +2 -2
- package/spinner/Spinner.js +4 -4
- package/step/Step.d.ts +1 -1
- package/step/Step.js +3 -3
- package/step/StepButton.d.ts +1 -1
- package/step/StepButton.js +2 -2
- package/step/StepContent.d.ts +1 -1
- package/step/StepContext.d.ts +1 -1
- package/step/StepLabel.d.ts +1 -1
- package/stepper/Stepper.d.ts +1 -1
- package/stepper/Stepper.js +4 -4
- package/stepper/StepperContext.d.ts +1 -1
- package/styles/media.d.ts +1 -1
- package/styles/theme.d.ts +1 -1
- package/surface/Surface.d.ts +2 -2
- package/surface/Surface.js +4 -4
- package/tab/Tab.d.ts +2 -2
- package/tab/Tab.js +3 -3
- package/tab/TabPanel.d.ts +1 -1
- package/tab/Tabs.d.ts +2 -2
- package/tab/Tabs.js +7 -7
- package/tab/TabsContext.d.ts +1 -1
- package/table/Table.d.ts +2 -2
- package/table/Table.js +3 -3
- package/table/TableBody.d.ts +1 -1
- package/table/TableBody.js +3 -3
- package/table/TableDataCell.d.ts +1 -1
- package/table/TableDataCell.js +3 -3
- package/table/TableHead.d.ts +1 -1
- package/table/TableHead.js +4 -4
- package/table/TableHeaderCell.d.ts +2 -2
- package/table/TableHeaderCell.js +3 -3
- package/table/TableRow.d.ts +1 -1
- package/table/TableRow.js +4 -4
- package/tooltip/Tooltip.d.ts +2 -2
- package/tooltip/Tooltip.js +3 -3
- package/typography/Headlines.js +3 -3
|
@@ -1,20 +1,28 @@
|
|
|
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
|
import _styled from "@emotion/styled/base";
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _regeneratorRuntime() { "use strict";
|
|
5
|
-
function
|
|
6
|
-
function
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _regeneratorRuntime() { "use strict"; var r = _regenerator(), e = r.m(_regeneratorRuntime), t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor; function n(r) { var e = "function" == typeof r && r.constructor; return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name)); } var o = { "throw": 1, "return": 2, "break": 3, "continue": 3 }; function a(r) { var e, t; return function (n) { e || (e = { stop: function stop() { return t(n.a, 2); }, "catch": function _catch() { return n.v; }, abrupt: function abrupt(r, e) { return t(n.a, o[r], e); }, delegateYield: function delegateYield(r, o, a) { return e.resultName = o, t(n.d, _regeneratorValues(r), a); }, finish: function finish(r) { return t(n.f, r); } }, t = function t(r, _t, o) { n.p = e.prev, n.n = e.next; try { return r(_t, o); } finally { e.next = n.n; } }), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n; try { return r.call(this, e); } finally { n.p = e.prev, n.n = e.next; } }; } return (_regeneratorRuntime = function _regeneratorRuntime() { return { wrap: function wrap(e, t, n, o) { return r.w(a(e), t, n, o && o.reverse()); }, isGeneratorFunction: n, mark: r.m, awrap: function awrap(r, e) { return new _OverloadYield(r, e); }, AsyncIterator: _regeneratorAsyncIterator, async: function async(r, e, t, o, u) { return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u); }, keys: _regeneratorKeys, values: _regeneratorValues }; })(); }
|
|
5
|
+
function _regeneratorValues(e) { if (null != e) { var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"], r = 0; if (t) return t.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) return { next: function next() { return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e }; } }; } throw new TypeError(_typeof(e) + " is not iterable"); }
|
|
6
|
+
function _regeneratorKeys(e) { var n = Object(e), r = []; for (var t in n) { r.unshift(t); } return function e() { for (; r.length;) { if ((t = r.pop()) in n) return e.value = t, e.done = !1, e; } return e.done = !0, e; }; }
|
|
7
|
+
function _regeneratorAsync(n, e, r, t, o) { var a = _regeneratorAsyncGen(n, e, r, t, o); return a.next().then(function (n) { return n.done ? n.value : a.next(); }); }
|
|
8
|
+
function _regeneratorAsyncGen(r, e, t, o, n) { return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise); }
|
|
9
|
+
function _regeneratorAsyncIterator(t, e) { function n(r, o, i, f) { try { var c = t[r](o), u = c.value; return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) { n("next", t, i, f); }, function (t) { n("throw", t, i, f); }) : e.resolve(u).then(function (t) { c.value = t, i(c); }, function (t) { return n("throw", t, i, f); }); } catch (t) { f(t); } } var r; this.next || (_regeneratorDefine2(_regeneratorAsyncIterator.prototype), _regeneratorDefine2(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () { return this; })), _regeneratorDefine2(this, "_invoke", function (t, o, i) { function f() { return new e(function (e, r) { n(t, i, e, r); }); } return r = r ? r.then(f, f) : f(); }, !0); }
|
|
10
|
+
function _regenerator() { /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ var e, t, r = "function" == typeof Symbol ? Symbol : {}, n = r.iterator || "@@iterator", o = r.toStringTag || "@@toStringTag"; function i(r, n, o, i) { var c = n && n.prototype instanceof Generator ? n : Generator, u = Object.create(c.prototype); return _regeneratorDefine2(u, "_invoke", function (r, n, o) { var i, c, u, f = 0, p = o || [], y = !1, G = { p: 0, n: 0, v: e, a: d, f: d.bind(e, 4), d: function d(t, r) { return i = t, c = 0, u = e, G.n = r, a; } }; function d(r, n) { for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) { var o, i = p[t], d = G.p, l = i[2]; r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0)); } if (o || r > 1) return a; throw y = !0, n; } return function (o, p, l) { if (f > 1) throw TypeError("Generator is already running"); for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) { i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u); try { if (f = 2, i) { if (c || (o = "next"), t = i[o]) { if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object"); if (!t.done) return t; u = t.value, c < 2 && (c = 0); } else 1 === c && (t = i["return"]) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1); i = e; } else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break; } catch (t) { i = e, c = 1, u = t; } finally { f = 1; } } return { value: t, done: y }; }; }(r, o, i), !0), u; } var a = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} t = Object.getPrototypeOf; var c = [][n] ? t(t([][n]())) : (_regeneratorDefine2(t = {}, n, function () { return this; }), t), u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c); function f(e) { return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine2(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine2(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine2(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine2(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine2(u), _regeneratorDefine2(u, o, "Generator"), _regeneratorDefine2(u, n, function () { return this; }), _regeneratorDefine2(u, "toString", function () { return "[object Generator]"; }), (_regenerator = function _regenerator() { return { w: i, m: f }; })(); }
|
|
11
|
+
function _regeneratorDefine2(e, r, n, t) { var i = Object.defineProperty; try { i({}, "", {}); } catch (e) { i = 0; } _regeneratorDefine2 = function _regeneratorDefine(e, r, n, t) { function o(r, n) { _regeneratorDefine2(e, r, function (e) { return this._invoke(r, n, e); }); } r ? i ? i(e, r, { value: n, enumerable: !t, configurable: !t, writable: !t }) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2)); }, _regeneratorDefine2(e, r, n, t); }
|
|
12
|
+
function _OverloadYield(e, d) { this.v = e, this.k = d; }
|
|
13
|
+
function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }
|
|
14
|
+
function _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, "next", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, "throw", n); } _next(void 0); }); }; }
|
|
7
15
|
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; }
|
|
8
16
|
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; }
|
|
9
|
-
function _defineProperty(
|
|
17
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
10
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
11
19
|
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); }
|
|
12
|
-
function _slicedToArray(
|
|
20
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
13
21
|
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."); }
|
|
14
|
-
function _unsupportedIterableToArray(
|
|
15
|
-
function _arrayLikeToArray(
|
|
22
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
23
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
16
24
|
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; } }
|
|
17
|
-
function _arrayWithHoles(
|
|
25
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
18
26
|
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)."; }
|
|
19
27
|
import React, { useEffect, useReducer, useCallback, useRef, useContext, createContext } from 'react';
|
|
20
28
|
import { Toast } from '.';
|
|
@@ -102,7 +110,7 @@ var Toaster = function Toaster(_ref) {
|
|
|
102
110
|
});
|
|
103
111
|
};
|
|
104
112
|
var handleOnOpen = /*#__PURE__*/function () {
|
|
105
|
-
var _ref2 = _asyncToGenerator(
|
|
113
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(payload) {
|
|
106
114
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
107
115
|
while (1) {
|
|
108
116
|
switch (_context.prev = _context.next) {
|
package/badge/Badge.d.ts
CHANGED
package/badge/Badge.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["as", "children", "intent", "flexBoxProps"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
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)."; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { css } from '@emotion/react';
|
package/button/BadgeIcon.d.ts
CHANGED
package/button/BaseButton.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const variations: readonly ["primary", "secondary", "outlined", "text", "danger", "link"];
|
|
3
|
-
export type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
|
|
4
|
-
export type ButtonVariation = typeof variations[number];
|
|
5
|
-
export type ButtonVariationProps = {
|
|
3
|
+
export declare type BaseButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['button']>;
|
|
4
|
+
export declare type ButtonVariation = typeof variations[number];
|
|
5
|
+
export declare type ButtonVariationProps = {
|
|
6
6
|
variation?: ButtonVariation;
|
|
7
7
|
};
|
|
8
8
|
export declare const BaseButton: import("@emotion/styled").StyledComponent<{
|
package/button/Button.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BaseButtonProps, ButtonVariationProps } from './BaseButton';
|
|
3
|
-
type ButtonSize = 'medium' | 'small';
|
|
4
|
-
type IconAlign = 'left' | 'right';
|
|
5
|
-
export type ButtonProps = BaseButtonProps & ButtonVariationProps & {
|
|
3
|
+
declare type ButtonSize = 'medium' | 'small';
|
|
4
|
+
declare type IconAlign = 'left' | 'right';
|
|
5
|
+
export declare type ButtonProps = BaseButtonProps & ButtonVariationProps & {
|
|
6
6
|
className?: string;
|
|
7
7
|
replace?: boolean;
|
|
8
8
|
submitting?: boolean;
|
package/button/Button.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["variation", "children", "submitting", "size", "icon", "iconSpacing", "iconAlign", "iconColor", "title", "disabled"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
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 { primaryButtonStyles, secondaryButtonStyles, outlinedButtonStyles, textButtonStyles, dangerButtonStyles, linkButtonStyles } from './button-style';
|
package/button/IconButton.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ElementType, ComponentPropsWithRef } from 'react';
|
|
2
2
|
import { OverlayOptions } from '@dfds-ui/theme/states';
|
|
3
3
|
import { PolymorphicComponentProps } from '../common/polymorphic';
|
|
4
|
-
export type IconButtonSize = 'small' | 'medium' | 'large' | 's' | 'm' | 'l';
|
|
4
|
+
export declare type IconButtonSize = 'small' | 'medium' | 'large' | 's' | 'm' | 'l';
|
|
5
5
|
export interface IconButtonProps extends PolymorphicComponentProps, ComponentPropsWithRef<'button'> {
|
|
6
6
|
/**
|
|
7
7
|
* Icon to be displayed on the button.
|
|
@@ -71,5 +71,5 @@ export declare const getDefaultIconButtonDimensions: (size: IconButtonSize) => {
|
|
|
71
71
|
height: string;
|
|
72
72
|
width: string;
|
|
73
73
|
};
|
|
74
|
-
declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "ariaLabel" | "
|
|
74
|
+
declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "type" | "key" | "id" | "name" | "color" | "translate" | "value" | "hidden" | "form" | "slot" | "style" | "title" | "dir" | "accessKey" | "draggable" | "lang" | "className" | "prefix" | "ariaLabel" | "children" | "contentEditable" | "inputMode" | "tabIndex" | "disabled" | "size" | "icon" | "tooltip" | "as" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "css" | "disableOverlay" | "disableTooltip" | "hoverColor" | "activeColor" | "focusColor" | "overlayOptions"> & React.RefAttributes<HTMLButtonElement>>;
|
|
75
75
|
export default IconButton;
|
package/button/IconButton.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["type", "tooltip", "title", "size", "icon", "disableTooltip", "disableOverlay", "disabled", "color", "hoverColor", "focusColor", "activeColor", "overlayOptions", "as", "ariaLabel"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
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)."; }
|
|
6
6
|
import React, { forwardRef } from 'react';
|
|
7
7
|
import { css } from '@emotion/react';
|
package/button/LinkButton.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button';
|
|
3
|
-
export type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
|
|
3
|
+
export declare type LinkButtonProps = React.PropsWithoutRef<JSX.IntrinsicElements['a']> & ButtonProps & {
|
|
4
4
|
href?: string;
|
|
5
5
|
target?: string;
|
|
6
6
|
};
|
package/button/LinkButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import Button from './Button';
|
|
4
4
|
import { theme } from '@dfds-ui/theme';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
type Orientation = 'horizontal' | 'vertical';
|
|
3
|
-
type Alignment = 'left' | 'right' | 'center';
|
|
4
|
-
type ButtonStackProps = {
|
|
2
|
+
declare type Orientation = 'horizontal' | 'vertical';
|
|
3
|
+
declare type Alignment = 'left' | 'right' | 'center';
|
|
4
|
+
declare type ButtonStackProps = {
|
|
5
5
|
align?: Alignment;
|
|
6
6
|
orientation?: Orientation;
|
|
7
7
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var _excluded = ["align", "orientation", "reverse", "className", "children"];
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
6
|
-
function _taggedTemplateLiteral(
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
6
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { css } from '@emotion/react';
|
|
9
9
|
import emotionCloneElement from '../common/emotionCloneElement';
|
package/card/Card.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
import { SurfaceType } from '../surface';
|
|
3
3
|
export declare const CardContext: React.Context<{}>;
|
|
4
|
-
export type CardContextType = {
|
|
4
|
+
export declare type CardContextType = {
|
|
5
5
|
cardSize: 's' | 'm' | 'l' | 'xl';
|
|
6
6
|
cardVariant: 'outline' | 'fill' | 'surface';
|
|
7
7
|
};
|
|
8
|
-
export type CardProps = {
|
|
8
|
+
export declare type CardProps = {
|
|
9
9
|
size: 's' | 'm' | 'l' | 'xl';
|
|
10
10
|
variant: 'outline' | 'fill' | 'surface';
|
|
11
11
|
surface?: SurfaceType;
|
package/card/Card.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "media", "variant", "size", "ratio", "className", "surface"];
|
|
3
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9,
|
|
4
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
7
|
-
function _slicedToArray(
|
|
3
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject0;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
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."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
11
11
|
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; } }
|
|
12
|
-
function _arrayWithHoles(
|
|
13
|
-
function _taggedTemplateLiteral(
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
|
+
function _taggedTemplateLiteral(e, t) { return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } })); }
|
|
14
14
|
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
15
15
|
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
16
16
|
import React, { useState } from 'react';
|
|
@@ -79,7 +79,7 @@ var MediaContent = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "product
|
|
|
79
79
|
}, " ", function (props /* outline xl cards and greater than medium */) {
|
|
80
80
|
return props.variant === 'outline' && props.size === 'xl' && !props.reverse && media.greaterThan('l')(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n padding: ", " 0px ", " ", ";\n "])), theme.spacing.s, theme.spacing.s, theme.spacing.s);
|
|
81
81
|
}, " ", function (props /* outline xl cards with reverse and greater than medium */) {
|
|
82
|
-
return props.variant === 'outline' && props.size === 'xl' && props.reverse && media.greaterThan('l')(
|
|
82
|
+
return props.variant === 'outline' && props.size === 'xl' && props.reverse && media.greaterThan('l')(_templateObject0 || (_templateObject0 = _taggedTemplateLiteral(["\n padding: ", " ", " ", " 0px;\n "])), theme.spacing.s, theme.spacing.s, theme.spacing.s);
|
|
83
83
|
}, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9jYXJkL0NhcmQudHN4Il0sIm5hbWVzIjp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ZXh0Q29sb3JzLnByaW1hcnl9O1xuICAgICAgICAgIGB9XG4gICAgICAgICAgc2l6ZT17c2l6ZX1cbiAgICAgICAgICB2YXJpYW50PXt2YXJpYW50fVxuICAgICAgICAgIHJlZj17cmVmfVxuICAgICAgICAgIGNsYXNzTmFtZT17Y3goJ0NhcmRDb250YWluZXInLCBjbGFzc05hbWUpfVxuICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAge21lZGlhICYmIChcbiAgICAgICAgICAgIDxNZWRpYUNvbnRhaW5lciByYXRpbz17bWVkaWFSYXRpbyAvIChtZWRpYVJhdGlvICsgY29udGVudFJhdGlvKX0+XG4gICAgICAgICAgICAgIDxNZWRpYUNvbnRlbnQgc2l6ZT17c2l6ZX0gdmFyaWFudD17dmFyaWFudH0gY2xhc3NOYW1lPVwiTWVkaWFDb250ZW50XCIgey4uLnJlc3R9PlxuICAgICAgICAgICAgICAgIHttZWRpYX1cbiAgICAgICAgICAgICAgPC9NZWRpYUNvbnRlbnQ+XG4gICAgICAgICAgICA8L01lZGlhQ29udGFpbmVyPlxuICAgICAgICAgICl9XG4gICAgICAgICAge2NoaWxkcmVuICYmIChcbiAgICAgICAgICAgIDxDYXJkQ29udGVudFxuICAgICAgICAgICAgICBjbGFzc05hbWU9XCJDYXJkQ29udGVudFwiXG4gICAgICAgICAgICAgIHZhcmlhbnQ9e3ZhcmlhbnR9XG4gICAgICAgICAgICAgIHNpemU9e3NpemV9XG4gICAgICAgICAgICAgIHdpZHRoPXt3aWR0aH1cbiAgICAgICAgICAgICAgcmV2ZXJzZT17cmVzdC5yZXZlcnNlID09IHRydWV9XG4gICAgICAgICAgICAgIHJhdGlvPXtjb250ZW50UmF0aW8gLyAobWVkaWFSYXRpbyArIGNvbnRlbnRSYXRpbyl9XG4gICAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8L0NhcmRDb250ZW50PlxuICAgICAgICAgICl9XG4gICAgICAgIDwvQ2FyZENvbnRhaW5lcj5cbiAgICAgIDwvTWF5YmVTdXJmYWNlUHJvdmlkZXI+XG4gICAgPC9DYXJkQ29udGV4dC5Qcm92aWRlcj5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBDYXJkXG4iXX0= */"));
|
|
84
84
|
var Card = function Card(_ref) {
|
|
85
85
|
var children = _ref.children,
|
package/card/CardActions.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { FlexBox } from '../flexbox';
|
|
8
8
|
import { theme } from '@dfds-ui/theme';
|
package/card/CardContent.d.ts
CHANGED
package/card/CardContent.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "color"];
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { theme } from '@dfds-ui/theme';
|
|
7
7
|
import { Text } from '@dfds-ui/typography';
|
package/card/CardMedia.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, ReactNode } from 'react';
|
|
2
|
-
export type CardMediaProps = {
|
|
2
|
+
export declare type CardMediaProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Media component to be displayed
|
|
5
5
|
*/
|
|
@@ -13,6 +13,6 @@ export type CardMediaProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
className?: string;
|
|
15
15
|
};
|
|
16
|
-
export type AspectRatio = '2:1' | '3:2';
|
|
16
|
+
export declare type AspectRatio = '2:1' | '3:2';
|
|
17
17
|
declare const CardMedia: FunctionComponent<CardMediaProps>;
|
|
18
18
|
export default CardMedia;
|
package/card/CardMedia.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "media", "aspectRatio"];
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
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)."; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
package/card/CardPriceTag.d.ts
CHANGED
package/card/CardPriceTag.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["price", "topText", "bottomText", "currency"];
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
5
5
|
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)."; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
package/card/CardTitle.d.ts
CHANGED
package/card/CardTitle.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { css as _css } from "@emotion/react";
|
|
2
2
|
var _excluded = ["children", "color", "largeTitle"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _objectWithoutProperties(
|
|
5
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { Text } from '@dfds-ui/typography';
|
|
8
8
|
import { theme, useBreakpoint } from '@dfds-ui/theme';
|
package/chip/Chip.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
|
|
3
|
-
export type ChipProps = {
|
|
2
|
+
declare type InteractionEvent = React.MouseEvent<HTMLDivElement> | React.KeyboardEvent<HTMLDivElement>;
|
|
3
|
+
export declare type ChipProps = {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
dismissable?: boolean;
|
|
6
6
|
disabled?: boolean;
|
package/chip/Chip.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "dismissable", "disabled", "selectable", "selected", "onToggle", "onDismiss", "className"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _slicedToArray(
|
|
3
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) { ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } } return n; }, _extends.apply(null, arguments); }
|
|
4
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _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(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
7
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) { n[e] = r[e]; } return n; }
|
|
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(r) { if (Array.isArray(r)) return r; }
|
|
10
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) { o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } } return i; }
|
|
11
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) { if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } } return t; }
|
|
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, { useState } from 'react';
|
|
14
14
|
import { css } from '@emotion/react';
|