@dfds-ui/react-components 2.2.0-alpha.8b995955 → 2.2.0-alpha.b8d61c36
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 +2 -1
- package/accordion/AccordionContent.js +4 -4
- package/accordion/AccordionSmall.d.ts +3 -2
- package/accordion/AccordionSmall.js +7 -7
- 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 +35 -35
- package/app-bar/AppBarListItem.d.ts +0 -1
- 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.d.ts +2 -0
- package/assertions/banner/BannerTypography.js +3 -3
- package/assertions/toast/Toast.d.ts +2 -1
- package/assertions/toast/Toast.js +9 -9
- package/assertions/toast/Toaster.d.ts +2 -2
- package/assertions/toast/Toaster.js +18 -10
- package/badge/Badge.d.ts +2 -2
- package/badge/Badge.js +3 -3
- package/button/BadgeIcon.d.ts +3 -3
- package/button/BaseButton.d.ts +4 -4
- 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 +2 -2
- package/button/LinkButton.js +1 -1
- package/button-stack/ButtonStack.d.ts +4 -3
- package/button-stack/ButtonStack.js +7 -7
- package/card/Card.d.ts +3 -2
- package/card/Card.js +15 -15
- package/card/CardActions.js +3 -3
- package/card/CardContent.d.ts +3 -2
- package/card/CardContent.js +4 -4
- package/card/CardMedia.d.ts +4 -3
- package/card/CardMedia.js +4 -4
- package/card/CardPriceTag.d.ts +3 -3
- package/card/CardPriceTag.js +2 -2
- package/card/CardTitle.d.ts +3 -2
- package/card/CardTitle.js +5 -5
- package/chip/Chip.d.ts +4 -4
- package/chip/Chip.js +7 -7
- package/cjs/accordion/Accordion.d.ts +2 -2
- package/cjs/accordion/Accordion.js +2 -2
- package/cjs/accordion/AccordionContent.d.ts +2 -1
- package/cjs/accordion/AccordionContent.js +3 -3
- package/cjs/accordion/AccordionSmall.d.ts +3 -2
- package/cjs/accordion/AccordionSmall.js +6 -6
- package/cjs/app-bar/AppBar.d.ts +1 -1
- package/cjs/app-bar/AppBar.js +3 -4
- package/cjs/app-bar/AppBarContext.d.ts +1 -1
- package/cjs/app-bar/AppBarContext.js +1 -2
- package/cjs/app-bar/AppBarDrawer.js +3 -4
- package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
- package/cjs/app-bar/AppBarIconButton.js +2 -2
- package/cjs/app-bar/AppBarItem.d.ts +2 -2
- package/cjs/app-bar/AppBarItem.js +14 -15
- package/cjs/app-bar/AppBarListItem.d.ts +0 -1
- package/cjs/app-bar/AppBarListItem.js +1 -1
- package/cjs/app-bar/index.js +1 -1
- package/cjs/assertions/banner/Banner.d.ts +3 -3
- package/cjs/assertions/banner/Banner.js +2 -3
- package/cjs/assertions/banner/BannerAction.d.ts +1 -1
- package/cjs/assertions/banner/BannerAction.js +2 -2
- package/cjs/assertions/banner/BannerTypography.d.ts +2 -0
- package/cjs/assertions/banner/BannerTypography.js +4 -4
- package/cjs/assertions/toast/Toast.d.ts +2 -1
- package/cjs/assertions/toast/Toast.js +8 -8
- package/cjs/assertions/toast/Toaster.d.ts +2 -2
- package/cjs/assertions/toast/Toaster.js +3 -4
- package/cjs/assertions/toast/index.js +2 -3
- package/cjs/badge/Badge.d.ts +2 -2
- package/cjs/badge/Badge.js +2 -2
- package/cjs/badge/index.js +1 -2
- package/cjs/button/BadgeIcon.d.ts +3 -3
- package/cjs/button/BadgeIcon.js +1 -1
- package/cjs/button/BaseButton.d.ts +4 -4
- package/cjs/button/BaseButton.js +1 -1
- package/cjs/button/Button.d.ts +3 -3
- package/cjs/button/Button.js +2 -2
- package/cjs/button/IconButton.d.ts +2 -2
- package/cjs/button/IconButton.js +2 -3
- package/cjs/button/LinkButton.d.ts +2 -2
- package/cjs/button/LinkButton.js +3 -4
- package/cjs/button/index.js +1 -2
- package/cjs/button-stack/ButtonStack.d.ts +4 -3
- package/cjs/button-stack/ButtonStack.js +5 -5
- package/cjs/button-stack/index.js +1 -1
- package/cjs/card/Card.d.ts +3 -2
- package/cjs/card/Card.js +8 -9
- package/cjs/card/CardActions.js +2 -2
- package/cjs/card/CardContent.d.ts +3 -2
- package/cjs/card/CardContent.js +3 -3
- package/cjs/card/CardMedia.d.ts +4 -3
- package/cjs/card/CardMedia.js +3 -3
- package/cjs/card/CardPriceTag.d.ts +3 -3
- package/cjs/card/CardPriceTag.js +1 -1
- package/cjs/card/CardTitle.d.ts +3 -2
- package/cjs/card/CardTitle.js +4 -4
- package/cjs/card/index.js +1 -1
- package/cjs/chip/Chip.d.ts +4 -4
- package/cjs/chip/Chip.js +3 -4
- package/cjs/chip/index.js +1 -2
- package/cjs/common/LockBodyScroll.d.ts +2 -2
- package/cjs/common/LockBodyScroll.js +2 -2
- package/cjs/common/arrow.d.ts +1 -1
- package/cjs/common/emotionCloneElement.d.ts +0 -1
- package/cjs/common/intent.d.ts +1 -1
- package/cjs/common/polymorphic.d.ts +4 -4
- package/cjs/common/polymorphic.js +2 -2
- package/cjs/common/useOnClickOutside.d.ts +1 -2
- package/cjs/counter/Counter.d.ts +1 -1
- package/cjs/counter/Counter.js +2 -3
- package/cjs/counter/PluralCounter.d.ts +1 -1
- package/cjs/counter/PluralCounter.js +3 -4
- package/cjs/counter/index.js +1 -1
- package/cjs/data-table/DataTable.d.ts +3 -2
- package/cjs/data-table/DataTable.js +3 -4
- package/cjs/date-range-picker/DateRangePicker.js +3 -4
- package/cjs/date-range-picker/index.js +1 -1
- package/cjs/divider/Divider.d.ts +2 -2
- package/cjs/divider/Divider.js +2 -2
- package/cjs/drawer/Drawer.d.ts +4 -4
- package/cjs/drawer/Drawer.js +2 -2
- package/cjs/dropdown-menu/Dropdown.d.ts +3 -3
- package/cjs/dropdown-menu/Dropdown.js +2 -2
- package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
- package/cjs/dropdown-menu/DropdownContext.js +1 -2
- package/cjs/dropdown-menu/MenuCheckbox.d.ts +1 -1
- package/cjs/dropdown-menu/MenuCheckbox.js +2 -2
- package/cjs/dropdown-menu/MenuItem.d.ts +1 -1
- package/cjs/dropdown-menu/MenuItem.js +2 -2
- package/cjs/dropdown-menu/MenuTitle.d.ts +1 -1
- package/cjs/dropdown-menu/MenuTitle.js +1 -1
- package/cjs/dropdown-menu/index.js +2 -3
- package/cjs/elevation/index.d.ts +1 -1
- package/cjs/flexbox/FlexBox.d.ts +4 -4
- package/cjs/flexbox/FlexBox.js +3 -3
- package/cjs/footer/Footer.js +1 -1
- package/cjs/footer/index.js +1 -1
- package/cjs/forms/assistive-text/AssistiveText.d.ts +1 -2
- package/cjs/forms/assistive-text/AssistiveText.js +1 -1
- package/cjs/forms/asterisk/Asterisk.d.ts +2 -2
- package/cjs/forms/asterisk/Asterisk.js +1 -1
- package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
- package/cjs/forms/checkbox/Checkbox.js +2 -2
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +2 -1
- package/cjs/forms/checkbox/ExampleControlComponent.js +2 -2
- package/cjs/forms/checkbox/index.js +1 -1
- 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.d.ts +1 -2
- package/cjs/forms/error-text/ErrorText.js +1 -1
- package/cjs/forms/field/Field.d.ts +2 -1
- package/cjs/forms/field/Field.js +4 -4
- package/cjs/forms/index.d.ts +3 -3
- package/cjs/forms/index.js +1 -1
- package/cjs/forms/input/Input.d.ts +3 -3
- package/cjs/forms/input/Input.js +2 -2
- package/cjs/forms/input/InputComposition.d.ts +8 -8
- package/cjs/forms/input/InputComposition.js +3 -4
- package/cjs/forms/label/Label.d.ts +2 -1
- package/cjs/forms/label/Label.js +4 -4
- 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 +3 -4
- package/cjs/forms/radio/Radio.d.ts +4 -4
- package/cjs/forms/radio/Radio.js +2 -2
- package/cjs/forms/reactselect/ReactSelect.d.ts +7 -7
- package/cjs/forms/reactselect/ReactSelect.js +3 -4
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +2 -2
- package/cjs/forms/select/Select.d.ts +4 -4
- package/cjs/forms/select/Select.js +2 -2
- package/cjs/forms/select-field/SelectField.d.ts +2 -2
- package/cjs/forms/select-field/SelectField.js +3 -3
- package/cjs/forms/switch/Switch.d.ts +2 -2
- package/cjs/forms/switch/Switch.js +2 -2
- 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 +3 -3
- package/cjs/global-styles/GlobalStyles.d.ts +3 -3
- package/cjs/global-styles/GlobalStyles.js +1 -1
- package/cjs/global-styles/ResetStyles.d.ts +2 -2
- package/cjs/global-styles/ResetStyles.js +1 -1
- package/cjs/grid/Column.d.ts +1 -1
- package/cjs/grid/Column.js +2 -2
- package/cjs/grid/Container.d.ts +1 -1
- package/cjs/grid/Container.js +2 -2
- package/cjs/grid/index.js +1 -1
- package/cjs/hero/Hero.d.ts +1 -1
- package/cjs/hero/Hero.js +1 -1
- package/cjs/hero/index.js +1 -1
- package/cjs/hero/stripes.d.ts +1 -1
- package/cjs/hero/stripes.js +1 -1
- package/cjs/ie-banner/IEBanner.d.ts +2 -1
- package/cjs/ie-banner/IEBanner.js +1 -2
- package/cjs/ie-banner/index.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/layout/LayoutLegacy.d.ts +2 -2
- package/cjs/layout/LayoutLegacy.js +1 -1
- package/cjs/lists/FeatureList.d.ts +4 -6
- package/cjs/lists/FeatureList.js +2 -2
- package/cjs/lists/ListAddon.d.ts +2 -2
- package/cjs/lists/ListAddon.js +2 -2
- package/cjs/lists/ListDivider.d.ts +3 -3
- package/cjs/lists/ListDivider.js +2 -2
- package/cjs/lists/ListIcon.d.ts +3 -3
- package/cjs/lists/ListIcon.js +2 -2
- package/cjs/lists/ListItem.d.ts +2 -2
- package/cjs/lists/ListItem.js +2 -2
- package/cjs/lists/ListText.d.ts +4 -4
- package/cjs/lists/ListText.js +2 -2
- package/cjs/lists/ListTextGroup.d.ts +2 -2
- package/cjs/lists/ListTextGroup.js +2 -2
- package/cjs/lists/ListTitle.d.ts +2 -2
- package/cjs/lists/ListTitle.js +2 -2
- package/cjs/lists/index.js +1 -1
- package/cjs/loader/DfdsLoader.js +1 -1
- package/cjs/loader/Loader.d.ts +3 -3
- package/cjs/loader/Loader.js +1 -1
- package/cjs/loader/index.js +1 -1
- package/cjs/localization/LocaleFlag.d.ts +3 -3
- package/cjs/localization/LocaleFlag.js +3 -4
- package/cjs/localization/locales.d.ts +2 -2
- package/cjs/logo/Logo.d.ts +3 -3
- package/cjs/logo/Logo.js +3 -4
- package/cjs/menu/Menu.d.ts +1 -1
- package/cjs/menu/Menu.js +7 -7
- package/cjs/menu/index.js +1 -2
- package/cjs/mobile-stepper/MobileStepper.d.ts +3 -3
- package/cjs/mobile-stepper/MobileStepper.js +2 -2
- package/cjs/mobile-stepper/index.js +1 -1
- package/cjs/nav-bar/NavBar.d.ts +8 -6
- package/cjs/nav-bar/NavBar.js +13 -18
- package/cjs/nav-bar/index.js +1 -2
- package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
- package/cjs/nav-menu/NavMenuItem.js +1 -1
- package/cjs/nav-menu/index.js +1 -1
- package/cjs/pagination/Pagination.d.ts +3 -3
- package/cjs/pagination/Pagination.js +2 -2
- package/cjs/popper/Popper.d.ts +4 -4
- package/cjs/popper/Popper.js +2 -2
- package/cjs/popper/index.js +1 -1
- package/cjs/progress-bar/ProgressBar.d.ts +3 -3
- package/cjs/progress-bar/ProgressBar.js +1 -1
- package/cjs/progress-bar/index.js +1 -2
- package/cjs/schedule/ScheduleItem.d.ts +4 -6
- package/cjs/schedule/ScheduleItem.js +1 -1
- package/cjs/schedule/ScheduleList.d.ts +3 -3
- package/cjs/schedule/ScheduleList.js +2 -2
- package/cjs/schedule/index.js +1 -1
- package/cjs/side-sheet/SideSheet.d.ts +5 -5
- package/cjs/side-sheet/SideSheet.js +3 -4
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +2 -2
- package/cjs/side-sheet/SideSheetCloseButton.js +2 -2
- package/cjs/side-sheet/SideSheetContent.d.ts +3 -3
- package/cjs/side-sheet/SideSheetContent.js +2 -3
- package/cjs/side-sheet/SideSheetFooter.d.ts +3 -3
- package/cjs/side-sheet/SideSheetFooter.js +2 -3
- package/cjs/side-sheet/SideSheetHeader.d.ts +3 -3
- package/cjs/side-sheet/SideSheetHeader.js +3 -4
- package/cjs/side-sheet/SideSheetHeadline.d.ts +3 -3
- package/cjs/side-sheet/SideSheetHeadline.js +1 -1
- package/cjs/side-sheet/index.js +2 -3
- package/cjs/site-layout/SiteLayout.d.ts +9 -5
- package/cjs/site-layout/SiteLayout.js +7 -7
- package/cjs/site-layout/index.js +1 -2
- package/cjs/skeleton/Skeleton.d.ts +3 -3
- package/cjs/skeleton/Skeleton.js +2 -2
- package/cjs/social-media-link-list/SocialMediaLinkList.d.ts +4 -6
- package/cjs/social-media-link-list/SocialMediaLinkList.js +2 -2
- package/cjs/spinner/Spinner.d.ts +4 -4
- package/cjs/spinner/Spinner.js +2 -2
- package/cjs/step/Step.d.ts +2 -2
- package/cjs/step/Step.js +3 -4
- package/cjs/step/StepButton.d.ts +1 -1
- package/cjs/step/StepButton.js +2 -2
- package/cjs/step/StepContent.d.ts +3 -3
- package/cjs/step/StepContent.js +1 -1
- 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 +1 -1
- package/cjs/step/index.js +1 -1
- package/cjs/stepper/Stepper.d.ts +2 -2
- package/cjs/stepper/Stepper.js +3 -4
- package/cjs/stepper/StepperContext.d.ts +1 -1
- package/cjs/stepper/StepperContext.js +1 -1
- package/cjs/stepper/index.js +1 -1
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.d.ts +2 -2
- package/cjs/stepper-feedback-message/StepperFeedbackMessage.js +1 -1
- package/cjs/stepper-feedback-message/index.js +1 -1
- package/cjs/styles/index.js +2 -3
- package/cjs/styles/media.d.ts +1 -1
- package/cjs/styles/theme.d.ts +1 -1
- package/cjs/surface/Surface.d.ts +3 -3
- package/cjs/surface/Surface.js +2 -3
- package/cjs/tab/Tab.d.ts +2 -2
- package/cjs/tab/Tab.js +2 -2
- package/cjs/tab/TabPanel.d.ts +1 -1
- package/cjs/tab/TabPanel.js +1 -1
- package/cjs/tab/Tabs.d.ts +2 -2
- package/cjs/tab/Tabs.js +3 -4
- package/cjs/tab/TabsContext.d.ts +1 -1
- package/cjs/tab/TabsContext.js +1 -2
- package/cjs/tab/index.js +1 -1
- package/cjs/table/Table.d.ts +3 -3
- package/cjs/table/Table.js +2 -3
- package/cjs/table/TableBody.d.ts +2 -2
- package/cjs/table/TableBody.js +2 -3
- package/cjs/table/TableDataCell.d.ts +2 -2
- package/cjs/table/TableDataCell.js +2 -3
- package/cjs/table/TableHead.d.ts +2 -2
- package/cjs/table/TableHead.js +3 -4
- package/cjs/table/TableHeaderCell.d.ts +3 -3
- package/cjs/table/TableHeaderCell.js +2 -3
- package/cjs/table/TableRow.d.ts +2 -2
- package/cjs/table/TableRow.js +3 -4
- package/cjs/test/Test.js +1 -1
- package/cjs/tooltip/Tooltip.d.ts +3 -3
- package/cjs/tooltip/Tooltip.js +3 -4
- package/cjs/tooltip/index.js +1 -2
- package/cjs/typography/Headlines.d.ts +25 -24
- package/cjs/typography/Headlines.js +13 -13
- package/cjs/typography/Text.d.ts +1 -2
- package/cjs/typography/Text.js +1 -1
- package/common/LockBodyScroll.d.ts +2 -2
- package/common/LockBodyScroll.js +3 -3
- package/common/arrow.d.ts +1 -1
- 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 +4 -4
- package/common/polymorphic.js +2 -2
- package/common/use-media.js +4 -4
- package/common/useOnClickOutside.d.ts +1 -2
- 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 +3 -2
- package/data-table/DataTable.js +11 -11
- package/date-range-picker/DateRangePicker.js +8 -8
- package/divider/Divider.d.ts +2 -2
- 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 +3 -3
- package/dropdown-menu/Dropdown.js +7 -7
- package/dropdown-menu/DropdownContext.d.ts +2 -2
- package/dropdown-menu/MenuCheckbox.d.ts +1 -1
- package/dropdown-menu/MenuCheckbox.js +1 -1
- package/dropdown-menu/MenuItem.d.ts +1 -1
- package/dropdown-menu/MenuItem.js +7 -7
- package/dropdown-menu/MenuTitle.d.ts +1 -1
- package/elevation/index.d.ts +1 -1
- package/flexbox/FlexBox.d.ts +4 -4
- package/flexbox/FlexBox.js +7 -7
- package/forms/assistive-text/AssistiveText.d.ts +1 -2
- package/forms/asterisk/Asterisk.d.ts +2 -2
- package/forms/checkbox/Checkbox.d.ts +4 -4
- package/forms/checkbox/Checkbox.js +3 -3
- package/forms/checkbox/ExampleControlComponent.d.ts +2 -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/error-text/ErrorText.d.ts +1 -2
- package/forms/field/Field.d.ts +2 -1
- package/forms/field/Field.js +3 -3
- 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 +8 -8
- package/forms/input/InputComposition.js +3 -3
- package/forms/label/Label.d.ts +2 -1
- package/forms/label/Label.js +7 -7
- 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 +7 -7
- 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/global-styles/GlobalStyles.d.ts +3 -3
- package/global-styles/ResetStyles.d.ts +2 -2
- 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 +2 -1
- package/ie-banner/IEBanner.js +4 -4
- package/layout/LayoutLegacy.d.ts +2 -2
- package/lists/FeatureList.d.ts +4 -6
- package/lists/FeatureList.js +3 -3
- package/lists/ListAddon.d.ts +2 -2
- package/lists/ListAddon.js +3 -3
- package/lists/ListDivider.d.ts +3 -3
- package/lists/ListDivider.js +3 -3
- package/lists/ListIcon.d.ts +3 -3
- package/lists/ListIcon.js +3 -3
- package/lists/ListItem.d.ts +2 -2
- package/lists/ListItem.js +3 -3
- package/lists/ListText.d.ts +4 -4
- package/lists/ListText.js +3 -3
- package/lists/ListTextGroup.d.ts +2 -2
- package/lists/ListTextGroup.js +3 -3
- package/lists/ListTitle.d.ts +2 -2
- package/lists/ListTitle.js +3 -3
- package/loader/DfdsLoader.js +1 -1
- package/loader/Loader.d.ts +3 -3
- package/loader/Loader.js +1 -1
- package/localization/LocaleFlag.d.ts +3 -3
- package/localization/LocaleFlag.js +3 -3
- package/localization/locales.d.ts +2 -2
- package/logo/Logo.d.ts +3 -3
- package/logo/Logo.js +3 -3
- package/menu/Menu.d.ts +1 -1
- package/menu/Menu.js +8 -8
- package/mobile-stepper/MobileStepper.d.ts +3 -3
- package/mobile-stepper/MobileStepper.js +8 -8
- package/nav-bar/NavBar.d.ts +8 -6
- package/nav-bar/NavBar.js +19 -21
- package/nav-menu/NavMenuItem.d.ts +1 -1
- package/package.json +17 -17
- package/pagination/Pagination.d.ts +3 -3
- package/pagination/Pagination.js +2 -2
- package/pagination/Pagination.styles.js +1 -1
- package/popper/Popper.d.ts +4 -4
- package/popper/Popper.js +3 -3
- package/progress-bar/ProgressBar.d.ts +3 -3
- package/schedule/ScheduleItem.d.ts +4 -6
- package/schedule/ScheduleList.d.ts +3 -3
- package/schedule/ScheduleList.js +3 -3
- package/side-sheet/SideSheet.d.ts +5 -5
- package/side-sheet/SideSheet.js +8 -8
- package/side-sheet/SideSheetCloseButton.d.ts +2 -2
- package/side-sheet/SideSheetCloseButton.js +3 -3
- package/side-sheet/SideSheetContent.d.ts +3 -3
- package/side-sheet/SideSheetContent.js +3 -3
- package/side-sheet/SideSheetFooter.d.ts +3 -3
- package/side-sheet/SideSheetFooter.js +3 -3
- package/side-sheet/SideSheetHeader.d.ts +3 -3
- package/side-sheet/SideSheetHeader.js +3 -3
- package/side-sheet/SideSheetHeadline.d.ts +3 -3
- package/site-layout/SiteLayout.d.ts +9 -5
- package/site-layout/SiteLayout.js +8 -8
- package/skeleton/Skeleton.d.ts +3 -3
- package/skeleton/Skeleton.js +4 -4
- package/social-media-link-list/SocialMediaLinkList.d.ts +4 -6
- package/social-media-link-list/SocialMediaLinkList.js +3 -3
- package/spinner/Spinner.d.ts +4 -4
- package/spinner/Spinner.js +4 -4
- package/step/Step.d.ts +2 -2
- package/step/Step.js +3 -3
- package/step/StepButton.d.ts +1 -1
- package/step/StepButton.js +2 -2
- package/step/StepContent.d.ts +3 -3
- package/step/StepContext.d.ts +1 -1
- package/step/StepLabel.d.ts +1 -1
- package/stepper/Stepper.d.ts +2 -2
- package/stepper/Stepper.js +4 -4
- package/stepper/StepperContext.d.ts +1 -1
- package/stepper-feedback-message/StepperFeedbackMessage.d.ts +2 -2
- package/styles/media.d.ts +1 -1
- package/styles/theme.d.ts +1 -1
- package/surface/Surface.d.ts +3 -3
- 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 +3 -3
- package/table/Table.js +3 -3
- package/table/TableBody.d.ts +2 -2
- package/table/TableBody.js +3 -3
- package/table/TableDataCell.d.ts +2 -2
- package/table/TableDataCell.js +3 -3
- package/table/TableHead.d.ts +2 -2
- package/table/TableHead.js +4 -4
- package/table/TableHeaderCell.d.ts +3 -3
- package/table/TableHeaderCell.js +3 -3
- package/table/TableRow.d.ts +2 -2
- package/table/TableRow.js +4 -4
- package/tooltip/Tooltip.d.ts +3 -3
- package/tooltip/Tooltip.js +3 -3
- package/typography/Headlines.d.ts +25 -24
- package/typography/Headlines.js +14 -14
- package/typography/Text.d.ts +1 -2
package/step/StepContent.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type StepContentProps = {
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
|
+
declare type StepContentProps = {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
};
|
|
5
|
-
declare const StepContent: ({ children }: StepContentProps) => JSX.Element;
|
|
5
|
+
declare const StepContent: ({ children }: StepContentProps) => React.JSX.Element;
|
|
6
6
|
export default StepContent;
|
package/step/StepContext.d.ts
CHANGED
package/step/StepLabel.d.ts
CHANGED
package/stepper/Stepper.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
export type StepperProps = {
|
|
2
|
+
export declare type StepperProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Stepper layout orientation `'horizontal' | 'vertical'`
|
|
5
5
|
*/
|
|
@@ -21,5 +21,5 @@ export type StepperProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
stepFeedbackMessage?: string;
|
|
23
23
|
};
|
|
24
|
-
declare const _default: React.MemoExoticComponent<({ children, activeStep, sequential, orientation, stepFeedbackMessage, ...other }: StepperProps) => JSX.Element>;
|
|
24
|
+
declare const _default: React.MemoExoticComponent<({ children, activeStep, sequential, orientation, stepFeedbackMessage, ...other }: StepperProps) => React.JSX.Element>;
|
|
25
25
|
export default _default;
|
package/stepper/Stepper.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["children", "activeStep", "sequential", "orientation", "stepFeedbackMessage"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
-
function _defineProperty(
|
|
6
|
+
function _defineProperty(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; }
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
-
function _objectWithoutProperties(
|
|
10
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
function _objectWithoutProperties(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; }
|
|
10
|
+
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; }
|
|
11
11
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
12
12
|
import React, { memo } from 'react';
|
|
13
13
|
import { css } from '@emotion/react';
|
package/styles/media.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare const defaultBreakPoints: {
|
|
|
5
5
|
sm: number;
|
|
6
6
|
xs: number;
|
|
7
7
|
};
|
|
8
|
-
type BreakPoint = keyof typeof defaultBreakPoints | number;
|
|
8
|
+
declare type BreakPoint = keyof typeof defaultBreakPoints | number;
|
|
9
9
|
export declare function legacyGenerateMedia(breakPoints: typeof defaultBreakPoints): {
|
|
10
10
|
lt: (breakPoint: BreakPoint) => string;
|
|
11
11
|
gt: (breakPoint: BreakPoint) => string;
|
package/styles/theme.d.ts
CHANGED
package/surface/Surface.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { theme } from '@dfds-ui/theme';
|
|
3
|
-
export type SurfaceType = keyof typeof theme.colors.surface;
|
|
4
|
-
export type SurfaceContextType = {
|
|
3
|
+
export declare type SurfaceType = keyof typeof theme.colors.surface;
|
|
4
|
+
export declare type SurfaceContextType = {
|
|
5
5
|
surface: SurfaceType;
|
|
6
6
|
backgroundColor: string;
|
|
7
7
|
textColors: {
|
|
@@ -23,7 +23,7 @@ export declare const SurfaceProvider: React.FC<{
|
|
|
23
23
|
}>;
|
|
24
24
|
export declare function MaybeSurfaceProvider({ surface, ...rest }: React.PropsWithChildren<{
|
|
25
25
|
surface?: SurfaceType;
|
|
26
|
-
}>): JSX.Element;
|
|
26
|
+
}>): React.JSX.Element;
|
|
27
27
|
export declare const useSurfaceContext: (surface?: SurfaceType) => SurfaceContextType;
|
|
28
28
|
export declare const Surface: React.FC<{
|
|
29
29
|
surface: SurfaceType;
|
package/surface/Surface.js
CHANGED
|
@@ -3,12 +3,12 @@ var _excluded = ["surface"],
|
|
|
3
3
|
_excluded2 = ["surface", "children"];
|
|
4
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
5
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
-
function _defineProperty(
|
|
6
|
+
function _defineProperty(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; }
|
|
7
7
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
8
8
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
9
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
10
|
-
function _objectWithoutProperties(
|
|
11
|
-
function _objectWithoutPropertiesLoose(
|
|
9
|
+
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); }
|
|
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
|
import React, { Fragment } from 'react';
|
|
13
13
|
import { theme } from '@dfds-ui/theme';
|
|
14
14
|
import { css } from '@emotion/react';
|
package/tab/Tab.d.ts
CHANGED
package/tab/Tab.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "index", "onClick"];
|
|
3
|
-
function _extends() { _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 { css } from '@emotion/react';
|
package/tab/TabPanel.d.ts
CHANGED
package/tab/Tabs.d.ts
CHANGED
package/tab/Tabs.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["children", "tabsLabels"];
|
|
3
|
-
function _extends() { _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, { useEffect, useState, useRef } from 'react';
|
|
14
14
|
import { css } from '@emotion/react';
|
package/tab/TabsContext.d.ts
CHANGED
package/table/Table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
export type TableProps = {
|
|
2
|
+
export declare type TableProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Table content
|
|
5
5
|
*/
|
|
@@ -13,10 +13,10 @@ export type TableProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
isHeaderSticky?: boolean;
|
|
15
15
|
} & ComponentPropsWithRef<'table'>;
|
|
16
|
-
export type TableContextProps = {
|
|
16
|
+
export declare type TableContextProps = {
|
|
17
17
|
isInteractive: boolean;
|
|
18
18
|
isHeaderSticky: boolean;
|
|
19
19
|
};
|
|
20
20
|
export declare const useTable: () => TableContextProps;
|
|
21
|
-
export declare const Table: React.ForwardRefExoticComponent<
|
|
21
|
+
export declare const Table: React.ForwardRefExoticComponent<Omit<TableProps, "ref"> & React.RefAttributes<HTMLTableElement>>;
|
|
22
22
|
export default Table;
|
package/table/Table.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children", "isHeaderSticky", "isInteractive"];
|
|
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
|
import React, { createContext, forwardRef, useContext } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { theme } from '@dfds-ui/theme';
|
package/table/TableBody.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
export type TableBodyProps = {
|
|
2
|
+
export declare type TableBodyProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Table body content
|
|
5
5
|
*/
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
} & ComponentPropsWithRef<'tbody'>;
|
|
8
|
-
export declare const TableBody: React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const TableBody: React.ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
9
9
|
export default TableBody;
|
package/table/TableBody.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["children"];
|
|
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
|
import React, { forwardRef } from 'react';
|
|
6
6
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
7
7
|
export var TableBody = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
package/table/TableDataCell.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
2
|
import { Alignment } from './TableHeaderCell';
|
|
3
|
-
export type TableDataCellProps = {
|
|
3
|
+
export declare type TableDataCellProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Sets alignment for the content in the tag
|
|
6
6
|
*/
|
|
@@ -10,5 +10,5 @@ export type TableDataCellProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
} & ComponentPropsWithRef<'td'>;
|
|
13
|
-
export declare const TableDataCell: React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const TableDataCell: React.ForwardRefExoticComponent<Omit<TableDataCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
14
14
|
export default TableDataCell;
|
package/table/TableDataCell.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["align", "children"];
|
|
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
|
import React, { forwardRef } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { typography } from '@dfds-ui/typography';
|
package/table/TableHead.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
export type TableHeadProps = {
|
|
2
|
+
export declare type TableHeadProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Table header content
|
|
5
5
|
*/
|
|
@@ -10,5 +10,5 @@ export type TableHeadProps = {
|
|
|
10
10
|
className?: string;
|
|
11
11
|
} & ComponentPropsWithRef<'thead'>;
|
|
12
12
|
export declare const tableHeadStyle: import("@emotion/utils").SerializedStyles;
|
|
13
|
-
export declare const TableHead: React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const TableHead: React.ForwardRefExoticComponent<Omit<TableHeadProps, "ref"> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
14
14
|
export default TableHead;
|
package/table/TableHead.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["children", "className"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _defineProperty(
|
|
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 _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; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
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); }
|
|
7
|
-
function _objectWithoutProperties(
|
|
8
|
-
function _objectWithoutPropertiesLoose(
|
|
7
|
+
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; }
|
|
8
|
+
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; }
|
|
9
9
|
import React, { forwardRef } from 'react';
|
|
10
10
|
import classNames from 'classnames';
|
|
11
11
|
import { useTable } from './Table';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
export type Alignment = 'left' | 'center' | 'right' | 'justify' | 'char';
|
|
3
|
-
export type TableHeaderCellProps = {
|
|
2
|
+
export declare type Alignment = 'left' | 'center' | 'right' | 'justify' | 'char';
|
|
3
|
+
export declare type TableHeaderCellProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Sets alignment for the content in the tag
|
|
6
6
|
*/
|
|
@@ -11,5 +11,5 @@ export type TableHeaderCellProps = {
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
} & ComponentPropsWithRef<'th'>;
|
|
13
13
|
export declare const getTableCellStyle: (align?: Alignment) => import("@emotion/utils").SerializedStyles;
|
|
14
|
-
export declare const TableHeaderCell: React.ForwardRefExoticComponent<
|
|
14
|
+
export declare const TableHeaderCell: React.ForwardRefExoticComponent<Omit<TableHeaderCellProps, "ref"> & React.RefAttributes<HTMLTableCellElement>>;
|
|
15
15
|
export default TableHeaderCell;
|
package/table/TableHeaderCell.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["align", "children"];
|
|
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
|
import React, { forwardRef } from 'react';
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { typography } from '@dfds-ui/typography';
|
package/table/TableRow.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
-
export type TableRowProps = {
|
|
2
|
+
export declare type TableRowProps = {
|
|
3
3
|
/**
|
|
4
4
|
* Table row content
|
|
5
5
|
*/
|
|
@@ -13,5 +13,5 @@ export type TableRowProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
isSelected?: boolean;
|
|
15
15
|
} & ComponentPropsWithRef<'tr'>;
|
|
16
|
-
export declare const TableRow: React.ForwardRefExoticComponent<
|
|
16
|
+
export declare const TableRow: React.ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
|
|
17
17
|
export default TableRow;
|
package/table/TableRow.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
var _excluded = ["children", "className", "isSelected"];
|
|
3
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
4
|
-
function _defineProperty(
|
|
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 _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; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
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); }
|
|
7
|
-
function _objectWithoutProperties(
|
|
8
|
-
function _objectWithoutPropertiesLoose(
|
|
7
|
+
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; }
|
|
8
|
+
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; }
|
|
9
9
|
import React, { forwardRef } from 'react';
|
|
10
10
|
import classNames from 'classnames';
|
|
11
11
|
import { css } from '@emotion/react';
|
package/tooltip/Tooltip.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TippyProps } from '@tippyjs/react';
|
|
3
|
-
type Placement = 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
-
type TooltipProps = {
|
|
3
|
+
declare type Placement = 'top' | 'right' | 'bottom' | 'left';
|
|
4
|
+
declare type TooltipProps = {
|
|
5
5
|
content: string | React.ReactNode;
|
|
6
6
|
name?: string;
|
|
7
7
|
placement?: Placement;
|
|
@@ -22,5 +22,5 @@ declare const Tooltip: React.FC<TooltipProps>;
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const UnstableWithTooltip: ({ delay, ...rest }: {
|
|
24
24
|
className?: string;
|
|
25
|
-
} & TippyProps) => JSX.Element;
|
|
25
|
+
} & TippyProps) => React.JSX.Element;
|
|
26
26
|
export default Tooltip;
|
package/tooltip/Tooltip.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
var _excluded = ["delay"];
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
5
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
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
|
+
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); }
|
|
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, { useEffect, useRef } from 'react';
|
|
8
8
|
import { css } from '@emotion/react';
|