@dfds-ui/react-components 2.2.0-alpha.8d87a90d → 2.2.0-alpha.90e90c2b
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 +67 -49
- package/accordion/AccordionContent.d.ts +2 -1
- package/accordion/AccordionContent.js +14 -7
- package/accordion/AccordionSmall.d.ts +3 -2
- package/accordion/AccordionSmall.js +51 -38
- package/app-bar/AppBar.d.ts +3 -3
- package/app-bar/AppBar.js +58 -46
- package/app-bar/AppBarContext.d.ts +3 -3
- package/app-bar/AppBarContext.js +10 -9
- package/app-bar/AppBarDrawer.d.ts +2 -2
- package/app-bar/AppBarDrawer.js +14 -7
- package/app-bar/AppBarIconButton.d.ts +2 -2
- package/app-bar/AppBarIconButton.js +11 -6
- package/app-bar/AppBarItem.d.ts +4 -4
- package/app-bar/AppBarItem.js +91 -83
- package/app-bar/AppBarListItem.d.ts +11 -12
- package/assertions/banner/Banner.d.ts +3 -3
- package/assertions/banner/Banner.js +71 -59
- package/assertions/banner/BannerAction.d.ts +1 -1
- package/assertions/banner/BannerAction.js +10 -5
- package/assertions/banner/BannerTypography.d.ts +2 -0
- package/assertions/banner/BannerTypography.js +11 -8
- package/assertions/toast/Toast.d.ts +2 -1
- package/assertions/toast/Toast.js +34 -24
- package/assertions/toast/Toaster.d.ts +2 -2
- package/assertions/toast/Toaster.js +61 -58
- package/badge/Badge.d.ts +2 -2
- package/badge/Badge.js +18 -11
- package/button/BadgeIcon.d.ts +3 -3
- package/button/BadgeIcon.js +18 -16
- package/button/BaseButton.d.ts +6 -6
- package/button/BaseButton.js +1 -1
- package/button/Button.d.ts +4 -4
- package/button/Button.js +38 -31
- package/button/IconButton.d.ts +2 -2
- package/button/IconButton.js +21 -15
- package/button/LinkButton.d.ts +2 -2
- package/button/LinkButton.js +9 -4
- package/button/button-style.js +1 -2
- package/button-stack/ButtonStack.d.ts +4 -3
- package/button-stack/ButtonStack.js +31 -23
- package/card/Card.d.ts +3 -2
- package/card/Card.js +59 -45
- package/card/CardActions.js +13 -6
- package/card/CardContent.d.ts +3 -2
- package/card/CardContent.js +21 -11
- package/card/CardMedia.d.ts +4 -3
- package/card/CardMedia.js +17 -9
- package/card/CardPriceTag.d.ts +3 -3
- package/card/CardPriceTag.js +28 -16
- package/card/CardTitle.d.ts +3 -2
- package/card/CardTitle.js +25 -15
- package/chip/Chip.d.ts +5 -5
- package/chip/Chip.js +27 -20
- package/cjs/accordion/Accordion.d.ts +101 -0
- package/cjs/accordion/Accordion.js +82 -74
- package/cjs/accordion/AccordionContent.d.ts +14 -0
- package/cjs/accordion/AccordionContent.js +14 -15
- package/cjs/accordion/AccordionSmall.d.ts +56 -0
- package/cjs/accordion/AccordionSmall.js +56 -52
- package/cjs/accordion/index.d.ts +3 -0
- package/cjs/accordion/index.js +3 -3
- package/cjs/app-bar/AppBar.d.ts +13 -0
- package/cjs/app-bar/AppBar.js +94 -108
- package/cjs/app-bar/AppBarContext.d.ts +12 -0
- package/cjs/app-bar/AppBarContext.js +8 -20
- package/cjs/app-bar/AppBarDrawer.d.ts +5 -0
- package/cjs/app-bar/AppBarDrawer.js +18 -20
- package/cjs/app-bar/AppBarIconButton.d.ts +10 -0
- package/cjs/app-bar/AppBarIconButton.js +14 -17
- package/cjs/app-bar/AppBarItem.d.ts +23 -0
- package/cjs/app-bar/AppBarItem.js +81 -94
- package/cjs/app-bar/AppBarListItem.d.ts +15 -0
- package/cjs/app-bar/AppBarListItem.js +2 -3
- package/cjs/app-bar/index.d.ts +7 -0
- package/cjs/app-bar/index.js +9 -9
- package/cjs/assertions/banner/Banner.d.ts +74 -0
- package/cjs/assertions/banner/Banner.js +81 -97
- package/cjs/assertions/banner/BannerAction.d.ts +19 -0
- package/cjs/assertions/banner/BannerAction.js +13 -14
- package/cjs/assertions/banner/BannerTypography.d.ts +9 -0
- package/cjs/assertions/banner/BannerTypography.js +12 -12
- package/cjs/assertions/banner/index.d.ts +3 -0
- package/cjs/assertions/banner/index.js +3 -3
- package/cjs/assertions/index.d.ts +2 -0
- package/cjs/assertions/index.js +2 -2
- package/cjs/assertions/toast/Toast.d.ts +13 -0
- package/cjs/assertions/toast/Toast.js +38 -38
- package/cjs/assertions/toast/Toaster.d.ts +19 -0
- package/cjs/assertions/toast/Toaster.js +57 -70
- package/cjs/assertions/toast/index.d.ts +2 -0
- package/cjs/assertions/toast/index.js +5 -6
- package/cjs/badge/Badge.d.ts +26 -0
- package/cjs/badge/Badge.js +22 -24
- package/cjs/badge/index.d.ts +2 -0
- package/cjs/badge/index.js +3 -4
- package/cjs/button/BadgeIcon.d.ts +7 -0
- package/cjs/button/BadgeIcon.js +20 -18
- package/cjs/button/BaseButton.d.ts +14 -0
- package/cjs/button/BaseButton.js +4 -6
- package/cjs/button/Button.d.ts +19 -0
- package/cjs/button/Button.js +45 -51
- package/cjs/button/IconButton.d.ts +75 -0
- package/cjs/button/IconButton.js +35 -44
- package/cjs/button/LinkButton.d.ts +8 -0
- package/cjs/button/LinkButton.js +8 -9
- package/cjs/button/button-style.d.ts +7 -0
- package/cjs/button/button-style.js +9 -17
- package/cjs/button/index.d.ts +7 -0
- package/cjs/button/index.js +8 -9
- package/cjs/button-stack/ButtonStack.d.ts +12 -0
- package/cjs/button-stack/ButtonStack.js +31 -33
- package/cjs/button-stack/index.d.ts +1 -0
- package/cjs/button-stack/index.js +2 -2
- package/cjs/card/Card.d.ts +19 -0
- package/cjs/card/Card.js +64 -71
- package/cjs/card/CardActions.d.ts +4 -0
- package/cjs/card/CardActions.js +11 -15
- package/cjs/card/CardContent.d.ts +14 -0
- package/cjs/card/CardContent.js +20 -20
- package/cjs/card/CardMedia.d.ts +19 -0
- package/cjs/card/CardMedia.js +18 -19
- package/cjs/card/CardPriceTag.d.ts +25 -0
- package/cjs/card/CardPriceTag.js +29 -27
- package/cjs/card/CardTitle.d.ts +19 -0
- package/cjs/card/CardTitle.js +26 -24
- package/cjs/card/index.d.ts +6 -0
- package/cjs/card/index.js +7 -7
- package/cjs/chip/Chip.d.ts +19 -0
- package/cjs/chip/Chip.js +34 -49
- package/cjs/chip/index.d.ts +2 -0
- package/cjs/chip/index.js +3 -4
- package/cjs/common/LockBodyScroll.d.ts +25 -0
- package/cjs/common/LockBodyScroll.js +20 -19
- package/cjs/common/arrow.d.ts +6 -0
- package/cjs/common/arrow.js +2 -4
- package/cjs/common/emotionCloneElement.d.ts +2 -0
- package/cjs/common/emotionCloneElement.js +6 -10
- package/cjs/common/intent.d.ts +3 -0
- package/cjs/common/miniMoize.d.ts +1 -0
- package/cjs/common/polymorphic.d.ts +25 -0
- package/cjs/common/polymorphic.js +13 -9
- package/cjs/common/use-media.d.ts +1 -0
- package/cjs/common/use-media.js +1 -10
- package/cjs/common/useOnClickOutside.d.ts +3 -0
- package/cjs/common/utils.d.ts +3 -0
- package/cjs/counter/Counter.d.ts +26 -0
- package/cjs/counter/Counter.js +59 -68
- package/cjs/counter/PluralCounter.d.ts +13 -0
- package/cjs/counter/PluralCounter.js +24 -36
- package/cjs/counter/index.d.ts +2 -0
- package/cjs/counter/index.js +3 -3
- package/cjs/data-table/DataTable.d.ts +11 -0
- package/cjs/data-table/DataTable.js +56 -60
- package/cjs/data-table/index.d.ts +1 -0
- package/cjs/data-table/index.js +1 -1
- package/cjs/date-range-picker/DatePickerDefaultStyles.d.ts +2 -0
- package/cjs/date-range-picker/DatePickerDefaultStyles.js +2 -4
- package/cjs/date-range-picker/DatePickerDfdsStyles.d.ts +2 -0
- package/cjs/date-range-picker/DatePickerDfdsStyles.js +1 -2
- package/cjs/date-range-picker/DateRangePicker.d.ts +33 -0
- package/cjs/date-range-picker/DateRangePicker.js +173 -179
- package/cjs/date-range-picker/index.d.ts +1 -0
- package/cjs/date-range-picker/index.js +2 -2
- package/cjs/divider/Divider.d.ts +26 -0
- package/cjs/divider/Divider.js +16 -16
- package/cjs/divider/index.d.ts +1 -0
- package/cjs/divider/index.js +1 -1
- package/cjs/drawer/Drawer.d.ts +31 -0
- package/cjs/drawer/Drawer.js +20 -24
- package/cjs/drawer/index.d.ts +1 -0
- package/cjs/drawer/index.js +1 -1
- package/cjs/dropdown-menu/Dropdown.d.ts +46 -0
- package/cjs/dropdown-menu/Dropdown.js +52 -62
- package/cjs/dropdown-menu/DropdownContext.d.ts +13 -0
- package/cjs/dropdown-menu/DropdownContext.js +8 -10
- package/cjs/dropdown-menu/MenuCheckbox.d.ts +34 -0
- package/cjs/dropdown-menu/MenuCheckbox.js +28 -26
- package/cjs/dropdown-menu/MenuItem.d.ts +45 -0
- package/cjs/dropdown-menu/MenuItem.js +54 -69
- package/cjs/dropdown-menu/MenuTitle.d.ts +14 -0
- package/cjs/dropdown-menu/MenuTitle.js +20 -17
- package/cjs/dropdown-menu/index.d.ts +5 -0
- package/cjs/dropdown-menu/index.js +7 -8
- package/cjs/elevation/index.d.ts +3 -0
- package/cjs/elevation/index.js +4 -8
- package/cjs/flexbox/FlexBox.d.ts +100 -0
- package/cjs/flexbox/FlexBox.js +8 -18
- package/cjs/flexbox/index.d.ts +1 -0
- package/cjs/flexbox/index.js +1 -1
- package/cjs/footer/Footer.d.ts +7 -0
- package/cjs/footer/Footer.js +14 -10
- package/cjs/footer/index.d.ts +1 -0
- package/cjs/footer/index.js +2 -2
- package/cjs/forms/assistive-text/AssistiveText.d.ts +7 -0
- package/cjs/forms/assistive-text/AssistiveText.js +2 -3
- package/cjs/forms/asterisk/Asterisk.d.ts +3 -0
- package/cjs/forms/asterisk/Asterisk.js +6 -5
- package/cjs/forms/checkbox/Checkbox.d.ts +39 -0
- package/cjs/forms/checkbox/Checkbox.js +56 -57
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +11 -0
- package/cjs/forms/checkbox/ExampleControlComponent.js +14 -25
- package/cjs/forms/checkbox/index.d.ts +1 -0
- package/cjs/forms/checkbox/index.js +2 -2
- package/cjs/forms/email-field/EmailField.d.ts +6 -0
- package/cjs/forms/email-field/EmailField.js +8 -8
- package/cjs/forms/error-text/ErrorText.d.ts +7 -0
- package/cjs/forms/error-text/ErrorText.js +4 -7
- package/cjs/forms/field/Field.d.ts +11 -0
- package/cjs/forms/field/Field.js +14 -13
- package/cjs/forms/index.d.ts +21 -0
- package/cjs/forms/index.js +19 -19
- package/cjs/forms/input/Input.d.ts +19 -0
- package/cjs/forms/input/Input.js +45 -53
- package/cjs/forms/input/InputComposition.d.ts +43 -0
- package/cjs/forms/input/InputComposition.js +62 -62
- package/cjs/forms/label/Label.d.ts +11 -0
- package/cjs/forms/label/Label.js +16 -17
- package/cjs/forms/number-field/NumberField.d.ts +6 -0
- package/cjs/forms/number-field/NumberField.js +8 -9
- package/cjs/forms/password-field/PasswordField.d.ts +4 -0
- package/cjs/forms/password-field/PasswordField.js +15 -26
- package/cjs/forms/radio/Radio.d.ts +35 -0
- package/cjs/forms/radio/Radio.js +30 -35
- package/cjs/forms/reactselect/ReactSelect.d.ts +25 -0
- package/cjs/forms/reactselect/ReactSelect.js +104 -105
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +6 -0
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +74 -69
- package/cjs/forms/select/Select.d.ts +16 -0
- package/cjs/forms/select/Select.js +44 -48
- package/cjs/forms/select-field/SelectField.d.ts +17 -0
- package/cjs/forms/select-field/SelectField.js +51 -52
- package/cjs/forms/switch/Switch.d.ts +13 -0
- package/cjs/forms/switch/Switch.js +53 -54
- package/cjs/forms/tel-field/TelField.d.ts +6 -0
- package/cjs/forms/tel-field/TelField.js +8 -8
- package/cjs/forms/text-field/TextField.d.ts +26 -0
- package/cjs/forms/text-field/TextField.js +59 -61
- package/cjs/global-styles/GlobalStyles.d.ts +3 -0
- package/cjs/global-styles/GlobalStyles.js +4 -3
- package/cjs/global-styles/ResetStyles.d.ts +9 -0
- package/cjs/global-styles/ResetStyles.js +4 -4
- package/cjs/global-styles/sanitize.d.ts +1 -0
- package/cjs/global-styles/sanitize.js +3 -5
- package/cjs/grid/Column.d.ts +10 -0
- package/cjs/grid/Column.js +16 -18
- package/cjs/grid/Container.d.ts +15 -0
- package/cjs/grid/Container.js +44 -41
- package/cjs/grid/index.d.ts +2 -0
- package/cjs/grid/index.js +3 -3
- package/cjs/hero/Hero.d.ts +10 -0
- package/cjs/hero/Hero.js +43 -27
- package/cjs/hero/index.d.ts +1 -0
- package/cjs/hero/index.js +2 -2
- package/cjs/hero/stripes.d.ts +6 -0
- package/cjs/hero/stripes.js +178 -163
- package/cjs/ie-banner/IEBanner.d.ts +12 -0
- package/cjs/ie-banner/IEBanner.js +17 -28
- package/cjs/ie-banner/index.d.ts +1 -0
- package/cjs/ie-banner/index.js +2 -2
- package/cjs/index.d.ts +44 -0
- package/cjs/index.js +46 -46
- package/cjs/layout/LayoutLegacy.d.ts +2 -0
- package/cjs/layout/LayoutLegacy.js +3 -2
- package/cjs/lists/FeatureList.d.ts +22 -0
- package/cjs/lists/FeatureList.js +24 -24
- package/cjs/lists/ListAddon.d.ts +11 -0
- package/cjs/lists/ListAddon.js +17 -17
- package/cjs/lists/ListDivider.d.ts +5 -0
- package/cjs/lists/ListDivider.js +13 -16
- package/cjs/lists/ListIcon.d.ts +18 -0
- package/cjs/lists/ListIcon.js +19 -22
- package/cjs/lists/ListItem.d.ts +46 -0
- package/cjs/lists/ListItem.js +23 -31
- package/cjs/lists/ListText.d.ts +39 -0
- package/cjs/lists/ListText.js +15 -18
- package/cjs/lists/ListTextGroup.d.ts +15 -0
- package/cjs/lists/ListTextGroup.js +16 -20
- package/cjs/lists/ListTitle.d.ts +4 -0
- package/cjs/lists/ListTitle.js +12 -16
- package/cjs/lists/index.d.ts +8 -0
- package/cjs/lists/index.js +9 -9
- package/cjs/loader/DfdsLoader.d.ts +9 -0
- package/cjs/loader/DfdsLoader.js +30 -25
- package/cjs/loader/Loader.d.ts +6 -0
- package/cjs/loader/Loader.js +11 -6
- package/cjs/loader/index.d.ts +2 -0
- package/cjs/loader/index.js +3 -3
- package/cjs/localization/LocaleFlag.d.ts +13 -0
- package/cjs/localization/LocaleFlag.js +14 -18
- package/cjs/localization/index.d.ts +2 -0
- package/cjs/localization/index.js +2 -2
- package/cjs/localization/locales.d.ts +35 -0
- package/cjs/localization/locales.js +3 -6
- package/cjs/logo/Logo.d.ts +11 -0
- package/cjs/logo/Logo.js +18 -18
- package/cjs/logo/index.d.ts +1 -0
- package/cjs/logo/index.js +1 -1
- package/cjs/media/index.d.ts +2 -0
- package/cjs/media/index.js +1 -2
- package/cjs/menu/Menu.d.ts +7 -0
- package/cjs/menu/Menu.js +46 -41
- package/cjs/menu/index.d.ts +2 -0
- package/cjs/menu/index.js +3 -4
- package/cjs/mobile-stepper/MobileStepper.d.ts +25 -0
- package/cjs/mobile-stepper/MobileStepper.js +28 -32
- package/cjs/mobile-stepper/index.d.ts +1 -0
- package/cjs/mobile-stepper/index.js +2 -2
- package/cjs/nav-bar/NavBar.d.ts +37 -0
- package/cjs/nav-bar/NavBar.js +67 -75
- package/cjs/nav-bar/index.d.ts +2 -0
- package/cjs/nav-bar/index.js +3 -4
- package/cjs/nav-menu/NavMenuItem.d.ts +10 -0
- package/cjs/nav-menu/NavMenuItem.js +15 -14
- package/cjs/nav-menu/index.d.ts +1 -0
- package/cjs/nav-menu/index.js +2 -2
- package/cjs/pagination/Pagination.d.ts +44 -0
- package/cjs/pagination/Pagination.js +60 -49
- package/cjs/pagination/Pagination.styles.d.ts +6 -0
- package/cjs/pagination/Pagination.styles.js +7 -14
- package/cjs/pagination/index.d.ts +1 -0
- package/cjs/pagination/index.js +1 -1
- package/cjs/popper/Popper.d.ts +29 -0
- package/cjs/popper/Popper.js +42 -43
- package/cjs/popper/index.d.ts +1 -0
- package/cjs/popper/index.js +2 -2
- package/cjs/progress-bar/ProgressBar.d.ts +8 -0
- package/cjs/progress-bar/ProgressBar.js +6 -8
- package/cjs/progress-bar/index.d.ts +2 -0
- package/cjs/progress-bar/index.js +3 -4
- package/cjs/schedule/ScheduleItem.d.ts +19 -0
- package/cjs/schedule/ScheduleItem.js +12 -9
- package/cjs/schedule/ScheduleList.d.ts +11 -0
- package/cjs/schedule/ScheduleList.js +15 -18
- package/cjs/schedule/index.d.ts +2 -0
- package/cjs/schedule/index.js +3 -3
- package/cjs/side-sheet/SideSheet.d.ts +57 -0
- package/cjs/side-sheet/SideSheet.js +76 -90
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +13 -0
- package/cjs/side-sheet/SideSheetCloseButton.js +15 -20
- package/cjs/side-sheet/SideSheetContent.d.ts +7 -0
- package/cjs/side-sheet/SideSheetContent.js +16 -16
- package/cjs/side-sheet/SideSheetFooter.d.ts +7 -0
- package/cjs/side-sheet/SideSheetFooter.js +16 -16
- package/cjs/side-sheet/SideSheetHeader.d.ts +9 -0
- package/cjs/side-sheet/SideSheetHeader.js +19 -20
- package/cjs/side-sheet/SideSheetHeadline.d.ts +7 -0
- package/cjs/side-sheet/SideSheetHeadline.js +7 -6
- package/cjs/side-sheet/index.d.ts +4 -0
- package/cjs/side-sheet/index.js +6 -7
- package/cjs/site-layout/SiteLayout.d.ts +40 -0
- package/cjs/site-layout/SiteLayout.js +60 -53
- package/cjs/site-layout/index.d.ts +2 -0
- package/cjs/site-layout/index.js +3 -4
- package/cjs/skeleton/Skeleton.d.ts +8 -0
- package/cjs/skeleton/Skeleton.js +14 -18
- package/cjs/skeleton/index.d.ts +1 -0
- package/cjs/skeleton/index.js +1 -1
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +24 -0
- package/cjs/social-media-link-list/SocialMediaLinkList.js +78 -74
- package/cjs/social-media-link-list/index.d.ts +1 -0
- package/cjs/social-media-link-list/index.js +1 -1
- package/cjs/spinner/Spinner.d.ts +58 -0
- package/cjs/spinner/Spinner.js +23 -28
- package/cjs/spinner/index.d.ts +1 -0
- package/cjs/spinner/index.js +1 -1
- package/cjs/step/Step.d.ts +45 -0
- package/cjs/step/Step.js +51 -51
- package/cjs/step/Step.styles.d.ts +4 -0
- package/cjs/step/Step.styles.js +5 -10
- package/cjs/step/StepButton.d.ts +4 -0
- package/cjs/step/StepButton.js +45 -42
- package/cjs/step/StepContent.d.ts +6 -0
- package/cjs/step/StepContent.js +18 -17
- package/cjs/step/StepContext.d.ts +12 -0
- package/cjs/step/StepContext.js +2 -3
- package/cjs/step/StepLabel.d.ts +7 -0
- package/cjs/step/StepLabel.js +15 -13
- package/cjs/step/index.d.ts +1 -0
- package/cjs/step/index.js +2 -2
- package/cjs/stepper/Stepper.d.ts +25 -0
- package/cjs/stepper/Stepper.js +28 -38
- package/cjs/stepper/StepperContext.d.ts +9 -0
- package/cjs/stepper/StepperContext.js +2 -3
- package/cjs/stepper/index.d.ts +1 -0
- package/cjs/stepper/index.js +2 -2
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +5 -0
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +12 -10
- package/cjs/stepper-feedback-message/index.d.ts +1 -0
- package/cjs/stepper-feedback-message/index.js +2 -2
- package/cjs/styles/index.d.ts +3 -0
- package/cjs/styles/index.js +6 -7
- package/cjs/styles/media.d.ts +21 -0
- package/cjs/styles/media.js +2 -4
- package/cjs/styles/rem.d.ts +1 -0
- package/cjs/styles/style-helpers.d.ts +1 -0
- package/cjs/styles/style-helpers.js +1 -2
- package/cjs/styles/theme.d.ts +39 -0
- package/cjs/styles/theme.js +2 -4
- package/cjs/surface/Surface.d.ts +32 -0
- package/cjs/surface/Surface.js +33 -34
- package/cjs/surface/index.d.ts +1 -0
- package/cjs/surface/index.js +1 -1
- package/cjs/tab/Tab.d.ts +12 -0
- package/cjs/tab/Tab.js +23 -24
- package/cjs/tab/TabPanel.d.ts +7 -0
- package/cjs/tab/TabPanel.js +11 -10
- package/cjs/tab/Tabs.d.ts +11 -0
- package/cjs/tab/Tabs.js +54 -71
- package/cjs/tab/TabsContext.d.ts +16 -0
- package/cjs/tab/TabsContext.js +8 -10
- package/cjs/tab/index.d.ts +4 -0
- package/cjs/tab/index.js +5 -5
- package/cjs/table/Table.d.ts +22 -0
- package/cjs/table/Table.js +21 -26
- package/cjs/table/TableBody.d.ts +9 -0
- package/cjs/table/TableBody.js +12 -16
- package/cjs/table/TableDataCell.d.ts +14 -0
- package/cjs/table/TableDataCell.js +14 -19
- package/cjs/table/TableHead.d.ts +14 -0
- package/cjs/table/TableHead.js +19 -23
- package/cjs/table/TableHeaderCell.d.ts +15 -0
- package/cjs/table/TableHeaderCell.js +14 -19
- package/cjs/table/TableRow.d.ts +17 -0
- package/cjs/table/TableRow.js +19 -23
- package/cjs/table/index.d.ts +6 -0
- package/cjs/table/index.js +6 -6
- package/cjs/test/Test.d.ts +8 -0
- package/cjs/test/Test.js +6 -5
- package/cjs/tooltip/Tooltip.d.ts +26 -0
- package/cjs/tooltip/Tooltip.js +42 -39
- package/cjs/tooltip/index.d.ts +2 -0
- package/cjs/tooltip/index.js +3 -4
- package/cjs/typography/Headlines.d.ts +71 -0
- package/cjs/typography/Headlines.js +34 -45
- package/cjs/typography/Text.d.ts +4 -0
- package/cjs/typography/Text.js +4 -6
- package/cjs/typography/index.d.ts +2 -0
- package/cjs/typography/index.js +2 -2
- package/common/LockBodyScroll.d.ts +2 -2
- package/common/LockBodyScroll.js +20 -10
- package/common/arrow.d.ts +1 -1
- package/common/arrow.js +2 -4
- package/common/emotionCloneElement.d.ts +0 -1
- package/common/emotionCloneElement.js +1 -1
- package/common/intent.d.ts +1 -1
- package/common/polymorphic.d.ts +5 -5
- package/common/polymorphic.js +10 -4
- package/common/use-media.js +5 -5
- package/common/useOnClickOutside.d.ts +1 -2
- package/common/utils.js +1 -1
- package/counter/Counter.d.ts +1 -1
- package/counter/Counter.js +58 -55
- package/counter/PluralCounter.d.ts +1 -1
- package/counter/PluralCounter.js +24 -16
- package/data-table/DataTable.d.ts +3 -2
- package/data-table/DataTable.js +59 -46
- package/date-range-picker/DatePickerDefaultStyles.js +1 -2
- package/date-range-picker/DateRangePicker.d.ts +1 -1
- package/date-range-picker/DateRangePicker.js +158 -138
- package/divider/Divider.d.ts +3 -3
- package/divider/Divider.js +10 -5
- package/drawer/Drawer.d.ts +4 -4
- package/drawer/Drawer.js +16 -7
- package/dropdown-menu/Dropdown.d.ts +3 -3
- package/dropdown-menu/Dropdown.js +45 -35
- package/dropdown-menu/DropdownContext.d.ts +4 -4
- package/dropdown-menu/DropdownContext.js +5 -4
- package/dropdown-menu/MenuCheckbox.d.ts +1 -1
- package/dropdown-menu/MenuCheckbox.js +24 -17
- package/dropdown-menu/MenuItem.d.ts +1 -1
- package/dropdown-menu/MenuItem.js +34 -31
- package/dropdown-menu/MenuTitle.d.ts +1 -1
- package/dropdown-menu/MenuTitle.js +15 -13
- package/elevation/index.d.ts +1 -1
- package/elevation/index.js +3 -6
- package/flexbox/FlexBox.d.ts +5 -5
- package/flexbox/FlexBox.js +8 -8
- package/footer/Footer.d.ts +2 -2
- package/footer/Footer.js +12 -7
- package/forms/assistive-text/AssistiveText.d.ts +3 -4
- package/forms/asterisk/Asterisk.d.ts +2 -2
- package/forms/asterisk/Asterisk.js +4 -2
- package/forms/checkbox/Checkbox.d.ts +5 -5
- package/forms/checkbox/Checkbox.js +49 -40
- package/forms/checkbox/ExampleControlComponent.d.ts +2 -1
- package/forms/checkbox/ExampleControlComponent.js +18 -11
- package/forms/email-field/EmailField.d.ts +2 -2
- package/forms/email-field/EmailField.js +10 -5
- package/forms/error-text/ErrorText.d.ts +3 -4
- package/forms/error-text/ErrorText.js +2 -4
- package/forms/field/Field.d.ts +2 -1
- package/forms/field/Field.js +12 -10
- package/forms/index.d.ts +3 -3
- package/forms/input/Input.d.ts +3 -3
- package/forms/input/Input.js +37 -38
- package/forms/input/InputComposition.d.ts +12 -12
- package/forms/input/InputComposition.js +40 -29
- package/forms/label/Label.d.ts +2 -1
- package/forms/label/Label.js +17 -11
- package/forms/number-field/NumberField.d.ts +2 -2
- package/forms/number-field/NumberField.js +11 -7
- package/forms/password-field/PasswordField.d.ts +1 -1
- package/forms/password-field/PasswordField.js +20 -15
- package/forms/radio/Radio.d.ts +4 -4
- package/forms/radio/Radio.js +29 -23
- package/forms/reactselect/ReactSelect.d.ts +15 -15
- package/forms/reactselect/ReactSelect.js +72 -65
- package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/forms/searchable-select/AsyncSearchableSelect.js +51 -39
- package/forms/select/Select.d.ts +4 -4
- package/forms/select/Select.js +40 -37
- package/forms/select-field/SelectField.d.ts +3 -3
- package/forms/select-field/SelectField.js +43 -38
- package/forms/switch/Switch.d.ts +2 -2
- package/forms/switch/Switch.js +52 -43
- package/forms/tel-field/TelField.d.ts +2 -2
- package/forms/tel-field/TelField.js +10 -5
- package/forms/text-field/TextField.d.ts +4 -4
- package/forms/text-field/TextField.js +50 -45
- package/global-styles/GlobalStyles.d.ts +3 -3
- package/global-styles/GlobalStyles.js +3 -3
- package/global-styles/ResetStyles.d.ts +2 -2
- package/global-styles/ResetStyles.js +3 -4
- package/global-styles/sanitize.js +1 -2
- package/grid/Column.d.ts +1 -1
- package/grid/Column.js +13 -6
- package/grid/Container.d.ts +2 -2
- package/grid/Container.js +41 -35
- package/hero/Hero.d.ts +2 -2
- package/hero/Hero.js +43 -25
- package/hero/stripes.d.ts +2 -2
- package/hero/stripes.js +176 -160
- package/ie-banner/IEBanner.d.ts +2 -1
- package/ie-banner/IEBanner.js +17 -11
- package/layout/LayoutLegacy.d.ts +2 -2
- package/layout/LayoutLegacy.js +2 -2
- package/lists/FeatureList.d.ts +7 -9
- package/lists/FeatureList.js +21 -11
- package/lists/ListAddon.d.ts +2 -2
- package/lists/ListAddon.js +13 -6
- package/lists/ListDivider.d.ts +3 -3
- package/lists/ListDivider.js +10 -5
- package/lists/ListIcon.d.ts +3 -3
- package/lists/ListIcon.js +10 -5
- package/lists/ListItem.d.ts +2 -2
- package/lists/ListItem.js +13 -6
- package/lists/ListText.d.ts +4 -4
- package/lists/ListText.js +10 -5
- package/lists/ListTextGroup.d.ts +2 -2
- package/lists/ListTextGroup.js +10 -5
- package/lists/ListTitle.d.ts +2 -2
- package/lists/ListTitle.js +11 -7
- package/loader/DfdsLoader.d.ts +1 -1
- package/loader/DfdsLoader.js +27 -22
- package/loader/Loader.d.ts +3 -3
- package/loader/Loader.js +10 -5
- package/localization/LocaleFlag.d.ts +3 -3
- package/localization/LocaleFlag.js +10 -5
- package/localization/locales.d.ts +2 -2
- package/logo/Logo.d.ts +3 -3
- package/logo/Logo.js +14 -7
- package/menu/Menu.d.ts +1 -1
- package/menu/Menu.js +30 -17
- package/mobile-stepper/MobileStepper.d.ts +3 -3
- package/mobile-stepper/MobileStepper.js +32 -26
- package/nav-bar/NavBar.d.ts +11 -9
- package/nav-bar/NavBar.js +56 -41
- package/nav-menu/NavMenuItem.d.ts +1 -1
- package/nav-menu/NavMenuItem.js +13 -12
- package/package.json +19 -21
- package/pagination/Pagination.d.ts +3 -3
- package/pagination/Pagination.js +56 -40
- package/pagination/Pagination.styles.js +2 -3
- package/popper/Popper.d.ts +4 -4
- package/popper/Popper.js +27 -18
- package/progress-bar/ProgressBar.d.ts +3 -3
- package/progress-bar/ProgressBar.js +4 -6
- package/schedule/ScheduleItem.d.ts +8 -10
- package/schedule/ScheduleItem.js +9 -4
- package/schedule/ScheduleList.d.ts +3 -3
- package/schedule/ScheduleList.js +16 -10
- package/side-sheet/SideSheet.d.ts +5 -5
- package/side-sheet/SideSheet.js +56 -48
- package/side-sheet/SideSheetCloseButton.d.ts +2 -2
- package/side-sheet/SideSheetCloseButton.js +10 -5
- package/side-sheet/SideSheetContent.d.ts +3 -3
- package/side-sheet/SideSheetContent.js +17 -8
- package/side-sheet/SideSheetFooter.d.ts +3 -3
- package/side-sheet/SideSheetFooter.js +17 -8
- package/side-sheet/SideSheetHeader.d.ts +3 -3
- package/side-sheet/SideSheetHeader.js +17 -8
- package/side-sheet/SideSheetHeadline.d.ts +3 -3
- package/side-sheet/SideSheetHeadline.js +5 -4
- package/site-layout/SiteLayout.d.ts +15 -11
- package/site-layout/SiteLayout.js +36 -18
- package/skeleton/Skeleton.d.ts +3 -3
- package/skeleton/Skeleton.js +11 -6
- package/social-media-link-list/SocialMediaLinkList.d.ts +7 -9
- package/social-media-link-list/SocialMediaLinkList.js +69 -55
- package/spinner/Spinner.d.ts +9 -9
- package/spinner/Spinner.js +19 -13
- package/step/Step.d.ts +2 -2
- package/step/Step.js +34 -20
- package/step/Step.styles.js +1 -2
- package/step/StepButton.d.ts +2 -2
- package/step/StepButton.js +28 -22
- package/step/StepContent.d.ts +3 -3
- package/step/StepContent.js +13 -13
- package/step/StepContext.d.ts +1 -1
- package/step/StepLabel.d.ts +1 -1
- package/step/StepLabel.js +9 -8
- package/stepper/Stepper.d.ts +2 -2
- package/stepper/Stepper.js +16 -16
- package/stepper/StepperContext.d.ts +1 -1
- package/stepper-feedback-message/StepperFeedbackMessage.d.ts +2 -2
- package/stepper-feedback-message/StepperFeedbackMessage.js +10 -8
- package/styles/media.d.ts +1 -1
- package/styles/style-helpers.js +1 -2
- package/styles/theme.d.ts +1 -1
- package/surface/Surface.d.ts +7 -7
- package/surface/Surface.js +18 -15
- package/tab/Tab.d.ts +3 -3
- package/tab/Tab.js +18 -12
- package/tab/TabPanel.d.ts +2 -2
- package/tab/TabPanel.js +6 -5
- package/tab/Tabs.d.ts +3 -3
- package/tab/Tabs.js +49 -43
- package/tab/TabsContext.d.ts +3 -3
- package/tab/TabsContext.js +5 -4
- package/table/Table.d.ts +3 -3
- package/table/Table.js +20 -13
- package/table/TableBody.d.ts +2 -2
- package/table/TableBody.js +13 -7
- package/table/TableDataCell.d.ts +2 -2
- package/table/TableDataCell.js +14 -8
- package/table/TableHead.d.ts +2 -2
- package/table/TableHead.js +11 -9
- package/table/TableHeaderCell.d.ts +3 -3
- package/table/TableHeaderCell.js +14 -8
- package/table/TableRow.d.ts +2 -2
- package/table/TableRow.js +12 -11
- package/test/Test.js +4 -2
- package/tooltip/Tooltip.d.ts +4 -4
- package/tooltip/Tooltip.js +33 -24
- package/typography/Headlines.d.ts +41 -40
- package/typography/Headlines.js +24 -19
- package/typography/Text.d.ts +2 -3
- package/typography/Text.js +1 -2
|
@@ -1,17 +1,22 @@
|
|
|
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); }
|
|
1
2
|
var _excluded = ["isActive", "ariaLabel", "showTooltip"];
|
|
2
|
-
function
|
|
3
|
-
function
|
|
4
|
-
function
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
|
+
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); }
|
|
8
|
+
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; }
|
|
9
|
+
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
10
|
import React from 'react';
|
|
6
11
|
import { IconButton } from '../button';
|
|
7
12
|
import { theme } from '@dfds-ui/theme';
|
|
8
13
|
import { css } from '@emotion/react';
|
|
9
|
-
import { jsx as
|
|
14
|
+
import { jsx as _jsx } from "@emotion/react/jsx-runtime";
|
|
10
15
|
function iconButtonStyles(_ref) {
|
|
11
16
|
var isActive = _ref.isActive;
|
|
12
17
|
return /*#__PURE__*/css("height:100%;font-size:1.5rem;position:relative;color:", theme.colors.primary.main, ";padding:0 0.75rem;&:hover{color:", theme.colors.primary.main, ";}&:active,&:hover,&:focus{outline:none;border:none;padding:0 0.75rem;}&:active{color:", theme.colors.secondary.main, ";}", theme.states.overlay(isActive, {
|
|
13
18
|
color: theme.colors.secondary.main
|
|
14
|
-
}), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:iconButtonStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
19
|
+
}), ";" + (process.env.NODE_ENV === "production" ? "" : ";label:iconButtonStyles;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcHAtYmFyL0FwcEJhckljb25CdXR0b24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNZIiwiZmlsZSI6Ii4uLy4uL3NyYy9hcHAtYmFyL0FwcEJhckljb25CdXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgSWNvbkJ1dHRvbiB9IGZyb20gJy4uL2J1dHRvbidcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGRmZHMtdWkvdGhlbWUnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcblxudHlwZSBBcHBCYXJJY29uQnV0dG9uUHJvcHMgPSB7XG4gIGlzQWN0aXZlPzogYm9vbGVhblxuICBhcmlhTGFiZWw6IHN0cmluZ1xuICBpY29uOiBSZWFjdC5FbGVtZW50VHlwZVxuICBzaG93VG9vbHRpcD86IGJvb2xlYW5cbiAgb25DbGljaz86IChldmVudDogUmVhY3QuTW91c2VFdmVudCkgPT4gdm9pZFxufVxuXG5mdW5jdGlvbiBpY29uQnV0dG9uU3R5bGVzKHsgaXNBY3RpdmUgfTogeyBpc0FjdGl2ZT86IGJvb2xlYW4gfSkge1xuICByZXR1cm4gY3NzYFxuICAgIGhlaWdodDogMTAwJTtcbiAgICBmb250LXNpemU6IDEuNXJlbTtcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XG4gICAgY29sb3I6ICR7dGhlbWUuY29sb3JzLnByaW1hcnkubWFpbn07XG4gICAgcGFkZGluZzogMCAwLjc1cmVtO1xuXG4gICAgJjpob3ZlciB7XG4gICAgICBjb2xvcjogJHt0aGVtZS5jb2xvcnMucHJpbWFyeS5tYWlufTtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZSxcbiAgICAmOmhvdmVyLFxuICAgICY6Zm9jdXMge1xuICAgICAgb3V0bGluZTogbm9uZTtcbiAgICAgIGJvcmRlcjogbm9uZTtcbiAgICAgIHBhZGRpbmc6IDAgMC43NXJlbTtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZSB7XG4gICAgICBjb2xvcjogJHt0aGVtZS5jb2xvcnMuc2Vjb25kYXJ5Lm1haW59O1xuICAgIH1cblxuICAgICR7dGhlbWUuc3RhdGVzLm92ZXJsYXkoaXNBY3RpdmUsIHtcbiAgICAgIGNvbG9yOiB0aGVtZS5jb2xvcnMuc2Vjb25kYXJ5Lm1haW4sXG4gICAgfSl9XG4gIGBcbn1cblxuY29uc3QgQXBwQmFySWNvbkJ1dHRvbiA9ICh7IGlzQWN0aXZlLCBhcmlhTGFiZWwsIHNob3dUb29sdGlwID0gdHJ1ZSwgLi4ucmVzdCB9OiBBcHBCYXJJY29uQnV0dG9uUHJvcHMpID0+IHtcbiAgcmV0dXJuIChcbiAgICA8SWNvbkJ1dHRvblxuICAgICAgY3NzPXtpY29uQnV0dG9uU3R5bGVzKHsgaXNBY3RpdmU6IGlzQWN0aXZlIH0pfVxuICAgICAgYXJpYUxhYmVsPXthcmlhTGFiZWx9XG4gICAgICBkaXNhYmxlVG9vbHRpcD17IXNob3dUb29sdGlwfVxuICAgICAgey4uLnJlc3R9XG4gICAgLz5cbiAgKVxufVxuXG5leHBvcnQgZGVmYXVsdCBBcHBCYXJJY29uQnV0dG9uXG4iXX0= */");
|
|
15
20
|
}
|
|
16
21
|
var AppBarIconButton = function AppBarIconButton(_ref2) {
|
|
17
22
|
var isActive = _ref2.isActive,
|
|
@@ -19,7 +24,7 @@ var AppBarIconButton = function AppBarIconButton(_ref2) {
|
|
|
19
24
|
_ref2$showTooltip = _ref2.showTooltip,
|
|
20
25
|
showTooltip = _ref2$showTooltip === void 0 ? true : _ref2$showTooltip,
|
|
21
26
|
rest = _objectWithoutProperties(_ref2, _excluded);
|
|
22
|
-
return
|
|
27
|
+
return _jsx(IconButton, _objectSpread({
|
|
23
28
|
css: iconButtonStyles({
|
|
24
29
|
isActive: isActive
|
|
25
30
|
}),
|
package/app-bar/AppBarItem.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PopperProps } from '@mui/material';
|
|
3
|
-
export
|
|
3
|
+
export type AppBarItemProps = {
|
|
4
4
|
id: string;
|
|
5
5
|
Icon?: React.ElementType;
|
|
6
6
|
LeadingIcon?: React.ElementType;
|
|
@@ -17,7 +17,7 @@ export declare type AppBarItemProps = {
|
|
|
17
17
|
export declare const MenuPopOverContext: React.Context<{
|
|
18
18
|
handlePopoverClose: () => void;
|
|
19
19
|
} | undefined>;
|
|
20
|
-
export declare const AppBarPopper: import("@emotion/styled").StyledComponent<
|
|
21
|
-
theme?: import("@emotion/react").Theme
|
|
20
|
+
export declare const AppBarPopper: import("@emotion/styled").StyledComponent<PopperProps & React.RefAttributes<HTMLDivElement> & {
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
22
|
}, {}, {}>;
|
|
23
|
-
export declare const AppBarItem:
|
|
23
|
+
export declare const AppBarItem: ({ id, Icon, LeadingIcon, TrailingIcon, title, divider, children, onClick, placement, isActive, as, AppBarPopperProps, ...rest }: AppBarItemProps & React.JSX.IntrinsicElements["a"]) => React.JSX.Element;
|