@dfds-ui/react-components 2.0.29 → 2.2.0-alpha.4e495871
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/AccordionContent.d.ts +1 -1
- package/accordion/AccordionSmall.d.ts +2 -2
- package/app-bar/AppBar.d.ts +1 -1
- package/app-bar/AppBarContext.d.ts +1 -1
- package/app-bar/AppBarIconButton.d.ts +1 -1
- package/app-bar/AppBarItem.d.ts +2 -2
- package/assertions/banner/Banner.d.ts +3 -3
- package/assertions/banner/BannerAction.d.ts +1 -1
- package/assertions/toast/Toast.d.ts +1 -1
- package/assertions/toast/Toaster.d.ts +2 -2
- package/badge/Badge.d.ts +1 -1
- package/button/BadgeIcon.d.ts +1 -1
- package/button/BaseButton.d.ts +3 -3
- package/button/Button.d.ts +3 -3
- package/button/IconButton.d.ts +2 -2
- package/button/LinkButton.d.ts +1 -1
- package/button-stack/ButtonStack.d.ts +3 -3
- package/card/Card.d.ts +2 -2
- package/card/CardContent.d.ts +1 -1
- package/card/CardMedia.d.ts +2 -2
- package/card/CardPriceTag.d.ts +1 -1
- package/card/CardTitle.d.ts +1 -1
- package/chip/Chip.d.ts +2 -2
- package/cjs/accordion/Accordion.d.ts +2 -2
- package/cjs/accordion/Accordion.js +20 -24
- package/cjs/accordion/AccordionContent.d.ts +1 -1
- package/cjs/accordion/AccordionContent.js +6 -8
- package/cjs/accordion/AccordionSmall.d.ts +2 -2
- package/cjs/accordion/AccordionSmall.js +11 -14
- package/cjs/accordion/index.js +3 -3
- package/cjs/app-bar/AppBar.d.ts +1 -1
- package/cjs/app-bar/AppBar.js +42 -63
- package/cjs/app-bar/AppBarContext.d.ts +1 -1
- package/cjs/app-bar/AppBarContext.js +3 -15
- package/cjs/app-bar/AppBarDrawer.js +9 -10
- package/cjs/app-bar/AppBarIconButton.d.ts +1 -1
- package/cjs/app-bar/AppBarIconButton.js +6 -9
- package/cjs/app-bar/AppBarItem.d.ts +2 -2
- package/cjs/app-bar/AppBarItem.js +17 -31
- package/cjs/app-bar/index.js +8 -8
- package/cjs/assertions/banner/Banner.d.ts +3 -3
- package/cjs/assertions/banner/Banner.js +23 -43
- package/cjs/assertions/banner/BannerAction.d.ts +1 -1
- package/cjs/assertions/banner/BannerAction.js +7 -9
- 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 +9 -13
- package/cjs/assertions/toast/Toaster.d.ts +2 -2
- package/cjs/assertions/toast/Toaster.js +20 -39
- package/cjs/assertions/toast/index.js +4 -4
- package/cjs/badge/Badge.d.ts +1 -1
- package/cjs/badge/Badge.js +9 -14
- package/cjs/badge/index.js +3 -3
- package/cjs/button/BadgeIcon.d.ts +1 -1
- package/cjs/button/BaseButton.d.ts +3 -3
- package/cjs/button/Button.d.ts +3 -3
- package/cjs/button/Button.js +13 -20
- package/cjs/button/IconButton.d.ts +2 -2
- package/cjs/button/IconButton.js +19 -27
- package/cjs/button/LinkButton.d.ts +1 -1
- package/cjs/button/LinkButton.js +1 -1
- package/cjs/button/index.js +8 -8
- package/cjs/button-stack/ButtonStack.d.ts +3 -3
- package/cjs/button-stack/ButtonStack.js +8 -12
- package/cjs/button-stack/index.js +1 -1
- package/cjs/card/Card.d.ts +2 -2
- package/cjs/card/Card.js +21 -37
- package/cjs/card/CardActions.js +6 -10
- package/cjs/card/CardContent.d.ts +1 -1
- package/cjs/card/CardContent.js +10 -14
- package/cjs/card/CardMedia.d.ts +2 -2
- package/cjs/card/CardMedia.js +6 -9
- package/cjs/card/CardPriceTag.d.ts +1 -1
- package/cjs/card/CardPriceTag.js +7 -11
- package/cjs/card/CardTitle.d.ts +1 -1
- package/cjs/card/CardTitle.js +9 -11
- package/cjs/card/index.js +6 -6
- package/cjs/chip/Chip.d.ts +2 -2
- package/cjs/chip/Chip.js +13 -28
- package/cjs/chip/index.js +3 -3
- package/cjs/common/LockBodyScroll.d.ts +2 -2
- package/cjs/common/LockBodyScroll.js +5 -8
- package/cjs/common/arrow.d.ts +1 -1
- package/cjs/common/emotionCloneElement.js +5 -8
- package/cjs/common/intent.d.ts +1 -1
- package/cjs/common/polymorphic.d.ts +2 -2
- package/cjs/common/polymorphic.js +3 -3
- package/cjs/common/use-media.js +1 -10
- package/cjs/common/useOnClickOutside.d.ts +1 -1
- package/cjs/counter/Counter.d.ts +1 -1
- package/cjs/counter/Counter.js +4 -14
- package/cjs/counter/PluralCounter.d.ts +1 -1
- package/cjs/counter/PluralCounter.js +10 -22
- package/cjs/counter/index.js +2 -2
- package/cjs/data-table/DataTable.d.ts +1 -1
- package/cjs/data-table/DataTable.js +16 -27
- package/cjs/data-table/index.js +1 -1
- package/cjs/date-range-picker/DateRangePicker.js +28 -55
- package/cjs/date-range-picker/index.js +1 -1
- package/cjs/divider/Divider.d.ts +1 -1
- package/cjs/divider/Divider.js +9 -9
- package/cjs/divider/index.js +1 -1
- package/cjs/drawer/Drawer.d.ts +4 -4
- package/cjs/drawer/Drawer.js +9 -15
- package/cjs/drawer/index.js +1 -1
- package/cjs/dropdown-menu/Dropdown.d.ts +2 -2
- package/cjs/dropdown-menu/Dropdown.js +18 -32
- package/cjs/dropdown-menu/DropdownContext.d.ts +2 -2
- package/cjs/dropdown-menu/DropdownContext.js +1 -1
- package/cjs/dropdown-menu/MenuCheckbox.js +3 -2
- package/cjs/dropdown-menu/MenuItem.js +18 -30
- package/cjs/dropdown-menu/MenuTitle.js +3 -2
- package/cjs/dropdown-menu/index.js +6 -6
- package/cjs/elevation/index.d.ts +1 -1
- package/cjs/flexbox/FlexBox.d.ts +2 -2
- package/cjs/flexbox/FlexBox.js +3 -11
- package/cjs/flexbox/index.js +1 -1
- package/cjs/footer/index.js +1 -1
- package/cjs/forms/checkbox/Checkbox.d.ts +4 -4
- package/cjs/forms/checkbox/Checkbox.js +14 -19
- package/cjs/forms/checkbox/ExampleControlComponent.d.ts +1 -1
- package/cjs/forms/checkbox/ExampleControlComponent.js +6 -17
- package/cjs/forms/checkbox/index.js +1 -1
- package/cjs/forms/email-field/EmailField.d.ts +1 -1
- package/cjs/forms/field/Field.d.ts +1 -1
- package/cjs/forms/index.d.ts +3 -3
- package/cjs/forms/index.js +18 -18
- package/cjs/forms/input/Input.d.ts +3 -3
- package/cjs/forms/input/Input.js +13 -15
- package/cjs/forms/input/InputComposition.d.ts +7 -7
- package/cjs/forms/input/InputComposition.js +23 -27
- package/cjs/forms/label/Label.d.ts +1 -1
- package/cjs/forms/label/Label.js +6 -8
- package/cjs/forms/number-field/NumberField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.d.ts +1 -1
- package/cjs/forms/password-field/PasswordField.js +2 -11
- package/cjs/forms/radio/Radio.d.ts +4 -4
- package/cjs/forms/radio/Radio.js +27 -32
- package/cjs/forms/reactselect/ReactSelect.d.ts +2 -2
- package/cjs/forms/reactselect/ReactSelect.js +40 -48
- package/cjs/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/cjs/forms/searchable-select/AsyncSearchableSelect.js +29 -33
- package/cjs/forms/select/Select.d.ts +4 -4
- package/cjs/forms/select/Select.js +10 -12
- package/cjs/forms/select-field/SelectField.d.ts +2 -2
- package/cjs/forms/select-field/SelectField.js +13 -14
- package/cjs/forms/switch/Switch.d.ts +2 -2
- package/cjs/forms/switch/Switch.js +11 -15
- package/cjs/forms/tel-field/TelField.d.ts +1 -1
- package/cjs/forms/text-field/TextField.d.ts +3 -3
- package/cjs/forms/text-field/TextField.js +16 -17
- package/cjs/grid/Column.d.ts +1 -1
- package/cjs/grid/Column.js +8 -10
- package/cjs/grid/Container.d.ts +1 -1
- package/cjs/grid/Container.js +9 -11
- package/cjs/grid/index.js +2 -2
- package/cjs/hero/Hero.d.ts +1 -1
- package/cjs/hero/index.js +1 -1
- package/cjs/hero/stripes.d.ts +1 -1
- package/cjs/ie-banner/IEBanner.d.ts +1 -1
- package/cjs/ie-banner/IEBanner.js +4 -19
- package/cjs/ie-banner/index.js +1 -1
- package/cjs/index.js +45 -45
- package/cjs/lists/FeatureList.d.ts +2 -2
- package/cjs/lists/FeatureList.js +7 -10
- package/cjs/lists/ListAddon.d.ts +1 -1
- package/cjs/lists/ListAddon.js +6 -9
- package/cjs/lists/ListDivider.d.ts +1 -1
- package/cjs/lists/ListDivider.js +6 -9
- package/cjs/lists/ListIcon.d.ts +2 -2
- package/cjs/lists/ListIcon.js +12 -15
- package/cjs/lists/ListItem.d.ts +1 -1
- package/cjs/lists/ListItem.js +15 -24
- package/cjs/lists/ListText.d.ts +3 -3
- package/cjs/lists/ListText.js +8 -11
- package/cjs/lists/ListTextGroup.d.ts +1 -1
- package/cjs/lists/ListTextGroup.js +9 -13
- package/cjs/lists/ListTitle.js +4 -7
- package/cjs/lists/index.js +8 -8
- package/cjs/loader/DfdsLoader.js +2 -2
- package/cjs/loader/Loader.d.ts +1 -1
- package/cjs/loader/index.js +2 -2
- package/cjs/localization/LocaleFlag.d.ts +1 -1
- package/cjs/localization/LocaleFlag.js +8 -12
- 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 +5 -7
- package/cjs/logo/index.js +1 -1
- package/cjs/menu/Menu.d.ts +1 -1
- package/cjs/menu/Menu.js +18 -20
- package/cjs/menu/index.js +3 -3
- package/cjs/mobile-stepper/MobileStepper.d.ts +1 -1
- package/cjs/mobile-stepper/MobileStepper.js +8 -12
- package/cjs/mobile-stepper/index.js +1 -1
- package/cjs/nav-bar/NavBar.d.ts +4 -4
- package/cjs/nav-bar/NavBar.js +24 -36
- package/cjs/nav-bar/index.js +3 -3
- package/cjs/nav-menu/NavMenuItem.d.ts +1 -1
- package/cjs/nav-menu/index.js +1 -1
- package/cjs/pagination/Pagination.d.ts +2 -2
- package/cjs/pagination/Pagination.js +7 -6
- package/cjs/pagination/index.js +1 -1
- package/cjs/popper/Popper.d.ts +2 -2
- package/cjs/popper/Popper.js +21 -25
- package/cjs/popper/index.js +1 -1
- package/cjs/progress-bar/ProgressBar.d.ts +1 -1
- package/cjs/progress-bar/index.js +3 -3
- package/cjs/schedule/ScheduleItem.d.ts +2 -2
- package/cjs/schedule/ScheduleList.d.ts +3 -3
- package/cjs/schedule/ScheduleList.js +4 -6
- package/cjs/schedule/index.js +2 -2
- package/cjs/side-sheet/SideSheet.d.ts +4 -4
- package/cjs/side-sheet/SideSheet.js +29 -45
- package/cjs/side-sheet/SideSheetCloseButton.d.ts +1 -1
- package/cjs/side-sheet/SideSheetCloseButton.js +8 -13
- package/cjs/side-sheet/SideSheetContent.d.ts +1 -1
- package/cjs/side-sheet/SideSheetContent.js +6 -8
- package/cjs/side-sheet/SideSheetFooter.d.ts +1 -1
- package/cjs/side-sheet/SideSheetFooter.js +6 -8
- package/cjs/side-sheet/SideSheetHeader.d.ts +1 -1
- package/cjs/side-sheet/SideSheetHeader.js +8 -11
- package/cjs/side-sheet/SideSheetHeadline.d.ts +1 -1
- package/cjs/side-sheet/index.js +5 -5
- package/cjs/site-layout/SiteLayout.d.ts +3 -3
- package/cjs/site-layout/SiteLayout.js +24 -27
- package/cjs/site-layout/index.js +3 -3
- package/cjs/skeleton/Skeleton.d.ts +1 -1
- package/cjs/skeleton/Skeleton.js +10 -14
- 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 +13 -15
- package/cjs/social-media-link-list/index.js +1 -1
- package/cjs/spinner/Spinner.d.ts +2 -2
- package/cjs/spinner/Spinner.js +8 -12
- package/cjs/spinner/index.js +1 -1
- package/cjs/step/Step.d.ts +1 -1
- package/cjs/step/Step.js +21 -29
- package/cjs/step/StepButton.d.ts +1 -1
- package/cjs/step/StepButton.js +14 -12
- package/cjs/step/StepContent.d.ts +1 -1
- package/cjs/step/StepContent.js +3 -2
- package/cjs/step/StepContext.d.ts +1 -1
- package/cjs/step/StepLabel.d.ts +1 -1
- package/cjs/step/StepLabel.js +4 -3
- package/cjs/step/index.js +1 -1
- package/cjs/stepper/Stepper.d.ts +1 -1
- package/cjs/stepper/Stepper.js +13 -22
- package/cjs/stepper/StepperContext.d.ts +1 -1
- package/cjs/stepper/index.js +1 -1
- package/cjs/stepper-feedback-message/index.js +1 -1
- package/cjs/styles/index.js +5 -5
- 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 +13 -19
- package/cjs/surface/index.js +1 -1
- package/cjs/tab/Tab.d.ts +2 -2
- package/cjs/tab/Tab.js +13 -14
- package/cjs/tab/TabPanel.d.ts +1 -1
- package/cjs/tab/TabPanel.js +3 -2
- package/cjs/tab/Tabs.d.ts +2 -2
- package/cjs/tab/Tabs.js +21 -37
- package/cjs/tab/TabsContext.d.ts +1 -1
- package/cjs/tab/TabsContext.js +1 -1
- package/cjs/tab/index.js +4 -4
- package/cjs/table/Table.d.ts +2 -2
- package/cjs/table/Table.js +7 -11
- package/cjs/table/TableBody.d.ts +1 -1
- package/cjs/table/TableBody.js +5 -7
- package/cjs/table/TableDataCell.d.ts +1 -1
- package/cjs/table/TableDataCell.js +6 -9
- package/cjs/table/TableHead.d.ts +1 -1
- package/cjs/table/TableHead.js +9 -10
- package/cjs/table/TableHeaderCell.d.ts +2 -2
- package/cjs/table/TableHeaderCell.js +6 -9
- package/cjs/table/TableRow.d.ts +1 -1
- package/cjs/table/TableRow.js +10 -12
- package/cjs/table/index.js +6 -6
- package/cjs/tooltip/Tooltip.d.ts +2 -2
- package/cjs/tooltip/Tooltip.js +11 -12
- package/cjs/tooltip/index.js +3 -3
- package/cjs/typography/Headlines.js +8 -11
- package/cjs/typography/index.js +2 -2
- package/common/LockBodyScroll.d.ts +2 -2
- package/common/arrow.d.ts +1 -1
- package/common/intent.d.ts +1 -1
- package/common/polymorphic.d.ts +2 -2
- package/common/useOnClickOutside.d.ts +1 -1
- package/counter/Counter.d.ts +1 -1
- package/counter/PluralCounter.d.ts +1 -1
- package/data-table/DataTable.d.ts +1 -1
- package/divider/Divider.d.ts +1 -1
- package/drawer/Drawer.d.ts +4 -4
- package/dropdown-menu/Dropdown.d.ts +2 -2
- package/dropdown-menu/DropdownContext.d.ts +2 -2
- package/elevation/index.d.ts +1 -1
- package/flexbox/FlexBox.d.ts +2 -2
- package/forms/checkbox/Checkbox.d.ts +4 -4
- package/forms/checkbox/ExampleControlComponent.d.ts +1 -1
- package/forms/email-field/EmailField.d.ts +1 -1
- 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/InputComposition.d.ts +7 -7
- package/forms/label/Label.d.ts +1 -1
- package/forms/number-field/NumberField.d.ts +1 -1
- package/forms/password-field/PasswordField.d.ts +1 -1
- package/forms/radio/Radio.d.ts +4 -4
- package/forms/reactselect/ReactSelect.d.ts +2 -2
- package/forms/searchable-select/AsyncSearchableSelect.d.ts +2 -2
- package/forms/select/Select.d.ts +4 -4
- package/forms/select-field/SelectField.d.ts +2 -2
- package/forms/switch/Switch.d.ts +2 -2
- package/forms/tel-field/TelField.d.ts +1 -1
- package/forms/text-field/TextField.d.ts +3 -3
- package/grid/Column.d.ts +1 -1
- package/grid/Container.d.ts +1 -1
- package/hero/Hero.d.ts +1 -1
- package/hero/stripes.d.ts +1 -1
- package/ie-banner/IEBanner.d.ts +1 -1
- package/lists/FeatureList.d.ts +2 -2
- package/lists/ListAddon.d.ts +1 -1
- package/lists/ListDivider.d.ts +1 -1
- package/lists/ListIcon.d.ts +2 -2
- package/lists/ListItem.d.ts +1 -1
- package/lists/ListText.d.ts +3 -3
- package/lists/ListTextGroup.d.ts +1 -1
- package/loader/Loader.d.ts +1 -1
- package/localization/LocaleFlag.d.ts +1 -1
- package/localization/locales.d.ts +2 -2
- package/logo/Logo.d.ts +1 -1
- package/menu/Menu.d.ts +1 -1
- package/mobile-stepper/MobileStepper.d.ts +1 -1
- package/nav-bar/NavBar.d.ts +4 -4
- package/nav-menu/NavMenuItem.d.ts +1 -1
- package/package.json +10 -10
- package/pagination/Pagination.d.ts +2 -2
- package/popper/Popper.d.ts +2 -2
- package/progress-bar/ProgressBar.d.ts +1 -1
- package/schedule/ScheduleItem.d.ts +2 -2
- package/schedule/ScheduleList.d.ts +3 -3
- package/side-sheet/SideSheet.d.ts +4 -4
- package/side-sheet/SideSheetCloseButton.d.ts +1 -1
- package/side-sheet/SideSheetContent.d.ts +1 -1
- package/side-sheet/SideSheetFooter.d.ts +1 -1
- package/side-sheet/SideSheetHeader.d.ts +1 -1
- package/side-sheet/SideSheetHeadline.d.ts +1 -1
- package/site-layout/SiteLayout.d.ts +3 -3
- package/skeleton/Skeleton.d.ts +1 -1
- package/social-media-link-list/SocialMediaLinkList.d.ts +2 -2
- package/spinner/Spinner.d.ts +2 -2
- package/step/Step.d.ts +1 -1
- package/step/StepButton.d.ts +1 -1
- 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/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/tab/Tab.d.ts +2 -2
- package/tab/TabPanel.d.ts +1 -1
- package/tab/Tabs.d.ts +2 -2
- package/tab/TabsContext.d.ts +1 -1
- package/table/Table.d.ts +2 -2
- package/table/TableBody.d.ts +1 -1
- package/table/TableDataCell.d.ts +1 -1
- package/table/TableHead.d.ts +1 -1
- package/table/TableHeaderCell.d.ts +2 -2
- package/table/TableRow.d.ts +1 -1
- package/tooltip/Tooltip.d.ts +2 -2
|
@@ -12,11 +12,8 @@ var _Input = _interopRequireDefault(require("../input/Input"));
|
|
|
12
12
|
var _AssistiveText = _interopRequireDefault(require("../assistive-text/AssistiveText"));
|
|
13
13
|
var _ErrorText = _interopRequireDefault(require("../error-text/ErrorText"));
|
|
14
14
|
var _uuid = require("uuid");
|
|
15
|
-
const _excluded = ["label", "name", "hintText", "disabled", "defaultValue", "assistiveText", "required", "errorMessage", "className", "inverted", "size", "type", "hideAsterisk"];
|
|
16
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
17
16
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
18
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
17
|
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)."; } // TODO: extend on JSX.IntrinsicElements['input'] will give us some of the other props
|
|
21
18
|
const margins = process.env.NODE_ENV === "production" ? {
|
|
22
19
|
name: "7yx9dh",
|
|
@@ -57,20 +54,22 @@ var _ref3 = process.env.NODE_ENV === "production" ? {
|
|
|
57
54
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
58
55
|
};
|
|
59
56
|
const TextField = (props, ref) => {
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
57
|
+
const {
|
|
58
|
+
label,
|
|
59
|
+
name,
|
|
60
|
+
hintText,
|
|
61
|
+
disabled,
|
|
62
|
+
defaultValue,
|
|
63
|
+
assistiveText,
|
|
64
|
+
required,
|
|
65
|
+
errorMessage,
|
|
66
|
+
className,
|
|
67
|
+
inverted,
|
|
68
|
+
size,
|
|
69
|
+
type,
|
|
70
|
+
hideAsterisk,
|
|
71
|
+
...rest
|
|
72
|
+
} = props;
|
|
74
73
|
const fieldName = name || (0, _uuid.v4)();
|
|
75
74
|
return (0, _react2.jsx)("div", {
|
|
76
75
|
className: className,
|
package/cjs/grid/Column.d.ts
CHANGED
package/cjs/grid/Column.js
CHANGED
|
@@ -7,18 +7,16 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireDefault(require("react"));
|
|
8
8
|
var _material = require("@mui/material");
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
const _excluded = ["children", "m", "l", "xl", "xxl"];
|
|
11
10
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
11
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
12
|
+
const Column = ({
|
|
13
|
+
children,
|
|
14
|
+
m,
|
|
15
|
+
l,
|
|
16
|
+
xl,
|
|
17
|
+
xxl,
|
|
18
|
+
...rest
|
|
19
|
+
}) => {
|
|
22
20
|
return (0, _react2.jsx)(_material.Grid, _extends({
|
|
23
21
|
item: true,
|
|
24
22
|
xs: 12,
|
package/cjs/grid/Container.d.ts
CHANGED
package/cjs/grid/Container.js
CHANGED
|
@@ -12,13 +12,10 @@ var _styles = require("@mui/styles");
|
|
|
12
12
|
var _createBreakpoints = _interopRequireDefault(require("@mui/system/createTheme/createBreakpoints"));
|
|
13
13
|
var _styles2 = require("@mui/material/styles");
|
|
14
14
|
var _theme = require("@dfds-ui/theme");
|
|
15
|
-
var
|
|
15
|
+
var _spacing = require("@dfds-ui/spacing");
|
|
16
16
|
var _surface = require("../surface");
|
|
17
|
-
const _excluded = ["children", "fluid", "surface"];
|
|
18
17
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
19
18
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
20
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
21
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
22
19
|
const breakpointsObj = (0, _createBreakpoints.default)({
|
|
23
20
|
values: {
|
|
24
21
|
xs: _theme.theme.breakpoints.s,
|
|
@@ -30,12 +27,12 @@ const breakpointsObj = (0, _createBreakpoints.default)({
|
|
|
30
27
|
});
|
|
31
28
|
const theme = (0, _styles2.createTheme)({
|
|
32
29
|
breakpoints: breakpointsObj,
|
|
33
|
-
spacing: () =>
|
|
30
|
+
spacing: () => _spacing.spacing.s,
|
|
34
31
|
components: {
|
|
35
32
|
MuiContainer: {
|
|
36
33
|
styleOverrides: {
|
|
37
34
|
root: {
|
|
38
|
-
marginBottom: `${
|
|
35
|
+
marginBottom: `${_spacing.spacing.xs}`,
|
|
39
36
|
[breakpointsObj.only('xs')]: {
|
|
40
37
|
paddingLeft: '0px',
|
|
41
38
|
paddingRight: '0px'
|
|
@@ -63,11 +60,12 @@ const ContainerStyled = /*#__PURE__*/(0, _base.default)(_material.Container, pro
|
|
|
63
60
|
target: "eiog5ix0",
|
|
64
61
|
label: "ContainerStyled"
|
|
65
62
|
})("@media screen and (min-width: ", breakpointsObj.values.lg, "px){max-width:1200px;}@media screen and (min-width: ", breakpointsObj.values.sm + 1, "px) and (max-width: ", breakpointsObj.values.lg - 1, "px){max-width:none;}@media screen and (max-width: ", breakpointsObj.values.sm, "px){max-width:none;.MuiGrid-spacing-xs-1{width:unset;margin:unset;}.MuiGrid-spacing-xs-1>.MuiGrid-item{padding:unset;}}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ncmlkL0NvbnRhaW5lci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUUwQyIsImZpbGUiOiIuLi8uLi8uLi9zcmMvZ3JpZC9Db250YWluZXIudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0IGZyb20gJ3JlYWN0J1xuaW1wb3J0IHsgQ29udGFpbmVyIGFzIENvbnRhaW5lcl8sIEdyaWQgfSBmcm9tICdAbXVpL21hdGVyaWFsJ1xuaW1wb3J0IHsgU3R5bGVzUHJvdmlkZXIgfSBmcm9tICdAbXVpL3N0eWxlcydcbmltcG9ydCBjcmVhdGVCcmVha3BvaW50cyBmcm9tICdAbXVpL3N5c3RlbS9jcmVhdGVUaGVtZS9jcmVhdGVCcmVha3BvaW50cydcbmltcG9ydCB7IGNyZWF0ZVRoZW1lLCBUaGVtZVByb3ZpZGVyIH0gZnJvbSAnQG11aS9tYXRlcmlhbC9zdHlsZXMnXG5pbXBvcnQgeyB0aGVtZSBhcyBEZmRzVGhlbWUgfSBmcm9tICdAZGZkcy11aS90aGVtZSdcbmltcG9ydCB7IHNwYWNpbmcgfSBmcm9tICdAZGZkcy11aS9zcGFjaW5nJ1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCB7IFN1cmZhY2VUeXBlLCBnZXRCYWNrZ3JvdW5kQ29sb3IsIE1heWJlU3VyZmFjZVByb3ZpZGVyIH0gZnJvbSAnLi4vc3VyZmFjZSdcblxudHlwZSBDb250YWluZXJQcm9wcyA9IHtcbiAgLyoqXG4gICAqIFNwZWNpZnkgd2hldGhlciB0aGUgY29udGFpbmVyIHNwYW5zIHRoZSBlbnRpcmUgd2lkdGggb2YgaXRzIHBhcmVudCBvciBpdCBoYXMgYSBtYXgtd2lkdGggc2V0IHRvIDEyMDBweCAoNzVyZW0pXG4gICAqL1xuICBmbHVpZD86IGJvb2xlYW5cbiAgLyoqXG4gICAqIFNwZWNpZnkgdGhlIHN1cmZhY2UgdmFyaWFudCBmb3IgdGhlIGNvbnRhaW5lclxuICAgKi9cbiAgc3VyZmFjZT86IFN1cmZhY2VUeXBlXG5cbiAgY2hpbGRyZW4/OiBSZWFjdC5SZWFjdE5vZGVcbn1cblxuY29uc3QgYnJlYWtwb2ludHNPYmogPSBjcmVhdGVCcmVha3BvaW50cyh7XG4gIHZhbHVlczoge1xuICAgIHhzOiBEZmRzVGhlbWUuYnJlYWtwb2ludHMucyxcbiAgICBzbTogRGZkc1RoZW1lLmJyZWFrcG9pbnRzLm0sXG4gICAgbWQ6IERmZHNUaGVtZS5icmVha3BvaW50cy5sLFxuICAgIGxnOiBEZmRzVGhlbWUuYnJlYWtwb2ludHMueGwsXG4gICAgeGw6IERmZHNUaGVtZS5icmVha3BvaW50cy54eGwsXG4gIH0sXG59KVxuXG5jb25zdCB0aGVtZSA9IGNyZWF0ZVRoZW1lKHtcbiAgYnJlYWtwb2ludHM6IGJyZWFrcG9pbnRzT2JqLFxuICBzcGFjaW5nOiAoKSA9PiBzcGFjaW5nLnMsXG4gIGNvbXBvbmVudHM6IHtcbiAgICBNdWlDb250YWluZXI6IHtcbiAgICAgIHN0eWxlT3ZlcnJpZGVzOiB7XG4gICAgICAgIHJvb3Q6IHtcbiAgICAgICAgICBtYXJnaW5Cb3R0b206IGAke3NwYWNpbmcueHN9YCxcblxuICAgICAgICAgIFticmVha3BvaW50c09iai5vbmx5KCd4cycpXToge1xuICAgICAgICAgICAgcGFkZGluZ0xlZnQ6ICcwcHgnLFxuICAgICAgICAgICAgcGFkZGluZ1JpZ2h0OiAnMHB4JyxcbiAgICAgICAgICB9LFxuICAgICAgICAgIFticmVha3BvaW50c09iai5vbmx5KCdzbScpXToge1xuICAgICAgICAgICAgcGFkZGluZ0xlZnQ6ICc0MHB4JyxcbiAgICAgICAgICAgIHBhZGRpbmdSaWdodDogJzQwcHgnLFxuICAgICAgICAgIH0sXG4gICAgICAgICAgW2JyZWFrcG9pbnRzT2JqLm9ubHkoJ21kJyldOiB7XG4gICAgICAgICAgICBwYWRkaW5nTGVmdDogJzQwcHgnLFxuICAgICAgICAgICAgcGFkZGluZ1JpZ2h0OiAnNDBweCcsXG4gICAgICAgICAgfSxcbiAgICAgICAgICBbYnJlYWtwb2ludHNPYmoudXAoJ2xnJyldOiB7XG4gICAgICAgICAgICBwYWRkaW5nTGVmdDogJzBweCcsXG4gICAgICAgICAgICBwYWRkaW5nUmlnaHQ6ICcwcHgnLFxuICAgICAgICAgIH0sXG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgIH0sXG4gIH0sXG59KVxuXG5jb25zdCBDb250YWluZXJTdHlsZWQgPSBzdHlsZWQoQ29udGFpbmVyXylgXG4gIEBtZWRpYSBzY3JlZW4gYW5kIChtaW4td2lkdGg6ICR7YnJlYWtwb2ludHNPYmoudmFsdWVzLmxnfXB4KSB7XG4gICAgbWF4LXdpZHRoOiAxMjAwcHg7XG4gIH1cblxuICBAbWVkaWEgc2NyZWVuIGFuZCAobWluLXdpZHRoOiAke2JyZWFrcG9pbnRzT2JqLnZhbHVlcy5zbSArIDF9cHgpIGFuZCAobWF4LXdpZHRoOiAke2JyZWFrcG9pbnRzT2JqLnZhbHVlcy5sZyAtIDF9cHgpIHtcbiAgICBtYXgtd2lkdGg6IG5vbmU7XG4gIH1cblxuICBAbWVkaWEgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiAke2JyZWFrcG9pbnRzT2JqLnZhbHVlcy5zbX1weCkge1xuICAgIG1heC13aWR0aDogbm9uZTtcblxuICAgIC5NdWlHcmlkLXNwYWNpbmcteHMtMSB7XG4gICAgICB3aWR0aDogdW5zZXQ7XG4gICAgICBtYXJnaW46IHVuc2V0O1xuICAgIH1cblxuICAgIC5NdWlHcmlkLXNwYWNpbmcteHMtMSA+IC5NdWlHcmlkLWl0ZW0ge1xuICAgICAgcGFkZGluZzogdW5zZXQ7XG4gICAgfVxuICB9XG5gXG5cbmNvbnN0IENvbnRhaW5lcjogUmVhY3QuRkM8Q29udGFpbmVyUHJvcHM+ID0gKHsgY2hpbGRyZW4sIGZsdWlkLCBzdXJmYWNlLCAuLi5yZXN0IH0pID0+IHtcbiAgcmV0dXJuIChcbiAgICA8VGhlbWVQcm92aWRlciB0aGVtZT17dGhlbWV9PlxuICAgICAgPFN0eWxlc1Byb3ZpZGVyIGluamVjdEZpcnN0PlxuICAgICAgICA8TWF5YmVTdXJmYWNlUHJvdmlkZXIgc3VyZmFjZT17c3VyZmFjZX0+XG4gICAgICAgICAgPFdyYXBwZXIgZmx1aWQ9e2ZsdWlkfSBzdXJmYWNlPXtzdXJmYWNlfT5cbiAgICAgICAgICAgIDxDb250YWluZXJTdHlsZWRcbiAgICAgICAgICAgICAgY3NzPXtjc3NgXG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogJHtzdXJmYWNlICYmIGdldEJhY2tncm91bmRDb2xvcihzdXJmYWNlKX07XG4gICAgICAgICAgICAgIGB9XG4gICAgICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICA8R3JpZCBjb250YWluZXIgc3BhY2luZz17MX0+XG4gICAgICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgICAgICA8L0dyaWQ+XG4gICAgICAgICAgICA8L0NvbnRhaW5lclN0eWxlZD5cbiAgICAgICAgICA8L1dyYXBwZXI+XG4gICAgICAgIDwvTWF5YmVTdXJmYWNlUHJvdmlkZXI+XG4gICAgICA8L1N0eWxlc1Byb3ZpZGVyPlxuICAgIDwvVGhlbWVQcm92aWRlcj5cbiAgKVxufVxuXG5jb25zdCBXcmFwcGVyOiBSZWFjdC5GQzxDb250YWluZXJQcm9wcz4gPSAoeyBjaGlsZHJlbiwgZmx1aWQsIHN1cmZhY2UgfSkgPT4gKFxuICA8PiB7Zmx1aWQgPyA8ZGl2IGNzcz17eyBiYWNrZ3JvdW5kQ29sb3I6IHN1cmZhY2UgJiYgZ2V0QmFja2dyb3VuZENvbG9yKHN1cmZhY2UpIH19PntjaGlsZHJlbn08L2Rpdj4gOiBjaGlsZHJlbn0gPC8+XG4pXG5cbmV4cG9ydCBkZWZhdWx0IENvbnRhaW5lclxuIl19 */"));
|
|
66
|
-
const Container =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
const Container = ({
|
|
64
|
+
children,
|
|
65
|
+
fluid,
|
|
66
|
+
surface,
|
|
67
|
+
...rest
|
|
68
|
+
}) => {
|
|
71
69
|
return (0, _react.jsx)(_styles2.ThemeProvider, {
|
|
72
70
|
theme: theme
|
|
73
71
|
}, (0, _react.jsx)(_styles.StylesProvider, {
|
package/cjs/grid/index.js
CHANGED
|
@@ -5,13 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "Column", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _Column.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Container", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _Container.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
package/cjs/hero/Hero.d.ts
CHANGED
package/cjs/hero/index.js
CHANGED
package/cjs/hero/stripes.d.ts
CHANGED
|
@@ -7,32 +7,17 @@ exports.default = void 0;
|
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _banner = require("./../assertions/banner");
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
11
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
13
|
-
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(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
15
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
16
|
-
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(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
12
|
const IEBanner = ({
|
|
19
13
|
heading,
|
|
20
14
|
openInEdge,
|
|
21
15
|
className,
|
|
22
16
|
children
|
|
23
17
|
}) => {
|
|
24
|
-
const
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
setIE = _useState2[1];
|
|
28
|
-
const _useState3 = (0, _react.useState)(false),
|
|
29
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
30
|
-
getIsWin10 = _useState4[0],
|
|
31
|
-
setIsWin10 = _useState4[1];
|
|
32
|
-
const _useState5 = (0, _react.useState)(''),
|
|
33
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
34
|
-
getLink = _useState6[0],
|
|
35
|
-
setLink = _useState6[1];
|
|
18
|
+
const [getIE, setIE] = (0, _react.useState)(false);
|
|
19
|
+
const [getIsWin10, setIsWin10] = (0, _react.useState)(false);
|
|
20
|
+
const [getLink, setLink] = (0, _react.useState)('');
|
|
36
21
|
(0, _react.useEffect)(() => {
|
|
37
22
|
if (typeof navigator !== 'undefined') {
|
|
38
23
|
setIE(navigator.userAgent.includes('MSIE ') || navigator.userAgent.includes('Trident/'));
|
package/cjs/ie-banner/index.js
CHANGED
package/cjs/index.js
CHANGED
|
@@ -12,31 +12,31 @@ var _exportNames = {
|
|
|
12
12
|
};
|
|
13
13
|
Object.defineProperty(exports, "DfdsFontFace", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function
|
|
15
|
+
get: function () {
|
|
16
16
|
return _GlobalStyles.DfdsFontFace;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "GlobalStyles", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function
|
|
21
|
+
get: function () {
|
|
22
22
|
return _GlobalStyles.GlobalStyles;
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "ResetStyles", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function
|
|
27
|
+
get: function () {
|
|
28
28
|
return _ResetStyles.ResetStyles;
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "elevation", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function
|
|
33
|
+
get: function () {
|
|
34
34
|
return _elevation.default;
|
|
35
35
|
}
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "media", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function
|
|
39
|
+
get: function () {
|
|
40
40
|
return _media.default;
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -51,7 +51,7 @@ Object.keys(_accordion).forEach(function (key) {
|
|
|
51
51
|
if (key in exports && exports[key] === _accordion[key]) return;
|
|
52
52
|
Object.defineProperty(exports, key, {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function
|
|
54
|
+
get: function () {
|
|
55
55
|
return _accordion[key];
|
|
56
56
|
}
|
|
57
57
|
});
|
|
@@ -63,7 +63,7 @@ Object.keys(_appBar).forEach(function (key) {
|
|
|
63
63
|
if (key in exports && exports[key] === _appBar[key]) return;
|
|
64
64
|
Object.defineProperty(exports, key, {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function
|
|
66
|
+
get: function () {
|
|
67
67
|
return _appBar[key];
|
|
68
68
|
}
|
|
69
69
|
});
|
|
@@ -75,7 +75,7 @@ Object.keys(_assertions).forEach(function (key) {
|
|
|
75
75
|
if (key in exports && exports[key] === _assertions[key]) return;
|
|
76
76
|
Object.defineProperty(exports, key, {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function
|
|
78
|
+
get: function () {
|
|
79
79
|
return _assertions[key];
|
|
80
80
|
}
|
|
81
81
|
});
|
|
@@ -87,7 +87,7 @@ Object.keys(_badge).forEach(function (key) {
|
|
|
87
87
|
if (key in exports && exports[key] === _badge[key]) return;
|
|
88
88
|
Object.defineProperty(exports, key, {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function
|
|
90
|
+
get: function () {
|
|
91
91
|
return _badge[key];
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -99,7 +99,7 @@ Object.keys(_buttonStack).forEach(function (key) {
|
|
|
99
99
|
if (key in exports && exports[key] === _buttonStack[key]) return;
|
|
100
100
|
Object.defineProperty(exports, key, {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function
|
|
102
|
+
get: function () {
|
|
103
103
|
return _buttonStack[key];
|
|
104
104
|
}
|
|
105
105
|
});
|
|
@@ -111,7 +111,7 @@ Object.keys(_button).forEach(function (key) {
|
|
|
111
111
|
if (key in exports && exports[key] === _button[key]) return;
|
|
112
112
|
Object.defineProperty(exports, key, {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function
|
|
114
|
+
get: function () {
|
|
115
115
|
return _button[key];
|
|
116
116
|
}
|
|
117
117
|
});
|
|
@@ -123,7 +123,7 @@ Object.keys(_card).forEach(function (key) {
|
|
|
123
123
|
if (key in exports && exports[key] === _card[key]) return;
|
|
124
124
|
Object.defineProperty(exports, key, {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function
|
|
126
|
+
get: function () {
|
|
127
127
|
return _card[key];
|
|
128
128
|
}
|
|
129
129
|
});
|
|
@@ -135,7 +135,7 @@ Object.keys(_chip).forEach(function (key) {
|
|
|
135
135
|
if (key in exports && exports[key] === _chip[key]) return;
|
|
136
136
|
Object.defineProperty(exports, key, {
|
|
137
137
|
enumerable: true,
|
|
138
|
-
get: function
|
|
138
|
+
get: function () {
|
|
139
139
|
return _chip[key];
|
|
140
140
|
}
|
|
141
141
|
});
|
|
@@ -147,7 +147,7 @@ Object.keys(_polymorphic).forEach(function (key) {
|
|
|
147
147
|
if (key in exports && exports[key] === _polymorphic[key]) return;
|
|
148
148
|
Object.defineProperty(exports, key, {
|
|
149
149
|
enumerable: true,
|
|
150
|
-
get: function
|
|
150
|
+
get: function () {
|
|
151
151
|
return _polymorphic[key];
|
|
152
152
|
}
|
|
153
153
|
});
|
|
@@ -159,7 +159,7 @@ Object.keys(_counter).forEach(function (key) {
|
|
|
159
159
|
if (key in exports && exports[key] === _counter[key]) return;
|
|
160
160
|
Object.defineProperty(exports, key, {
|
|
161
161
|
enumerable: true,
|
|
162
|
-
get: function
|
|
162
|
+
get: function () {
|
|
163
163
|
return _counter[key];
|
|
164
164
|
}
|
|
165
165
|
});
|
|
@@ -171,7 +171,7 @@ Object.keys(_dataTable).forEach(function (key) {
|
|
|
171
171
|
if (key in exports && exports[key] === _dataTable[key]) return;
|
|
172
172
|
Object.defineProperty(exports, key, {
|
|
173
173
|
enumerable: true,
|
|
174
|
-
get: function
|
|
174
|
+
get: function () {
|
|
175
175
|
return _dataTable[key];
|
|
176
176
|
}
|
|
177
177
|
});
|
|
@@ -183,7 +183,7 @@ Object.keys(_dateRangePicker).forEach(function (key) {
|
|
|
183
183
|
if (key in exports && exports[key] === _dateRangePicker[key]) return;
|
|
184
184
|
Object.defineProperty(exports, key, {
|
|
185
185
|
enumerable: true,
|
|
186
|
-
get: function
|
|
186
|
+
get: function () {
|
|
187
187
|
return _dateRangePicker[key];
|
|
188
188
|
}
|
|
189
189
|
});
|
|
@@ -195,7 +195,7 @@ Object.keys(_drawer).forEach(function (key) {
|
|
|
195
195
|
if (key in exports && exports[key] === _drawer[key]) return;
|
|
196
196
|
Object.defineProperty(exports, key, {
|
|
197
197
|
enumerable: true,
|
|
198
|
-
get: function
|
|
198
|
+
get: function () {
|
|
199
199
|
return _drawer[key];
|
|
200
200
|
}
|
|
201
201
|
});
|
|
@@ -207,7 +207,7 @@ Object.keys(_footer).forEach(function (key) {
|
|
|
207
207
|
if (key in exports && exports[key] === _footer[key]) return;
|
|
208
208
|
Object.defineProperty(exports, key, {
|
|
209
209
|
enumerable: true,
|
|
210
|
-
get: function
|
|
210
|
+
get: function () {
|
|
211
211
|
return _footer[key];
|
|
212
212
|
}
|
|
213
213
|
});
|
|
@@ -219,7 +219,7 @@ Object.keys(_forms).forEach(function (key) {
|
|
|
219
219
|
if (key in exports && exports[key] === _forms[key]) return;
|
|
220
220
|
Object.defineProperty(exports, key, {
|
|
221
221
|
enumerable: true,
|
|
222
|
-
get: function
|
|
222
|
+
get: function () {
|
|
223
223
|
return _forms[key];
|
|
224
224
|
}
|
|
225
225
|
});
|
|
@@ -231,7 +231,7 @@ Object.keys(_grid).forEach(function (key) {
|
|
|
231
231
|
if (key in exports && exports[key] === _grid[key]) return;
|
|
232
232
|
Object.defineProperty(exports, key, {
|
|
233
233
|
enumerable: true,
|
|
234
|
-
get: function
|
|
234
|
+
get: function () {
|
|
235
235
|
return _grid[key];
|
|
236
236
|
}
|
|
237
237
|
});
|
|
@@ -243,7 +243,7 @@ Object.keys(_hero).forEach(function (key) {
|
|
|
243
243
|
if (key in exports && exports[key] === _hero[key]) return;
|
|
244
244
|
Object.defineProperty(exports, key, {
|
|
245
245
|
enumerable: true,
|
|
246
|
-
get: function
|
|
246
|
+
get: function () {
|
|
247
247
|
return _hero[key];
|
|
248
248
|
}
|
|
249
249
|
});
|
|
@@ -255,7 +255,7 @@ Object.keys(_ieBanner).forEach(function (key) {
|
|
|
255
255
|
if (key in exports && exports[key] === _ieBanner[key]) return;
|
|
256
256
|
Object.defineProperty(exports, key, {
|
|
257
257
|
enumerable: true,
|
|
258
|
-
get: function
|
|
258
|
+
get: function () {
|
|
259
259
|
return _ieBanner[key];
|
|
260
260
|
}
|
|
261
261
|
});
|
|
@@ -267,7 +267,7 @@ Object.keys(_lists).forEach(function (key) {
|
|
|
267
267
|
if (key in exports && exports[key] === _lists[key]) return;
|
|
268
268
|
Object.defineProperty(exports, key, {
|
|
269
269
|
enumerable: true,
|
|
270
|
-
get: function
|
|
270
|
+
get: function () {
|
|
271
271
|
return _lists[key];
|
|
272
272
|
}
|
|
273
273
|
});
|
|
@@ -279,7 +279,7 @@ Object.keys(_loader).forEach(function (key) {
|
|
|
279
279
|
if (key in exports && exports[key] === _loader[key]) return;
|
|
280
280
|
Object.defineProperty(exports, key, {
|
|
281
281
|
enumerable: true,
|
|
282
|
-
get: function
|
|
282
|
+
get: function () {
|
|
283
283
|
return _loader[key];
|
|
284
284
|
}
|
|
285
285
|
});
|
|
@@ -291,7 +291,7 @@ Object.keys(_localization).forEach(function (key) {
|
|
|
291
291
|
if (key in exports && exports[key] === _localization[key]) return;
|
|
292
292
|
Object.defineProperty(exports, key, {
|
|
293
293
|
enumerable: true,
|
|
294
|
-
get: function
|
|
294
|
+
get: function () {
|
|
295
295
|
return _localization[key];
|
|
296
296
|
}
|
|
297
297
|
});
|
|
@@ -303,7 +303,7 @@ Object.keys(_menu).forEach(function (key) {
|
|
|
303
303
|
if (key in exports && exports[key] === _menu[key]) return;
|
|
304
304
|
Object.defineProperty(exports, key, {
|
|
305
305
|
enumerable: true,
|
|
306
|
-
get: function
|
|
306
|
+
get: function () {
|
|
307
307
|
return _menu[key];
|
|
308
308
|
}
|
|
309
309
|
});
|
|
@@ -315,7 +315,7 @@ Object.keys(_navBar).forEach(function (key) {
|
|
|
315
315
|
if (key in exports && exports[key] === _navBar[key]) return;
|
|
316
316
|
Object.defineProperty(exports, key, {
|
|
317
317
|
enumerable: true,
|
|
318
|
-
get: function
|
|
318
|
+
get: function () {
|
|
319
319
|
return _navBar[key];
|
|
320
320
|
}
|
|
321
321
|
});
|
|
@@ -327,7 +327,7 @@ Object.keys(_navMenu).forEach(function (key) {
|
|
|
327
327
|
if (key in exports && exports[key] === _navMenu[key]) return;
|
|
328
328
|
Object.defineProperty(exports, key, {
|
|
329
329
|
enumerable: true,
|
|
330
|
-
get: function
|
|
330
|
+
get: function () {
|
|
331
331
|
return _navMenu[key];
|
|
332
332
|
}
|
|
333
333
|
});
|
|
@@ -339,7 +339,7 @@ Object.keys(_pagination).forEach(function (key) {
|
|
|
339
339
|
if (key in exports && exports[key] === _pagination[key]) return;
|
|
340
340
|
Object.defineProperty(exports, key, {
|
|
341
341
|
enumerable: true,
|
|
342
|
-
get: function
|
|
342
|
+
get: function () {
|
|
343
343
|
return _pagination[key];
|
|
344
344
|
}
|
|
345
345
|
});
|
|
@@ -351,7 +351,7 @@ Object.keys(_popper).forEach(function (key) {
|
|
|
351
351
|
if (key in exports && exports[key] === _popper[key]) return;
|
|
352
352
|
Object.defineProperty(exports, key, {
|
|
353
353
|
enumerable: true,
|
|
354
|
-
get: function
|
|
354
|
+
get: function () {
|
|
355
355
|
return _popper[key];
|
|
356
356
|
}
|
|
357
357
|
});
|
|
@@ -363,7 +363,7 @@ Object.keys(_progressBar).forEach(function (key) {
|
|
|
363
363
|
if (key in exports && exports[key] === _progressBar[key]) return;
|
|
364
364
|
Object.defineProperty(exports, key, {
|
|
365
365
|
enumerable: true,
|
|
366
|
-
get: function
|
|
366
|
+
get: function () {
|
|
367
367
|
return _progressBar[key];
|
|
368
368
|
}
|
|
369
369
|
});
|
|
@@ -375,7 +375,7 @@ Object.keys(_sideSheet).forEach(function (key) {
|
|
|
375
375
|
if (key in exports && exports[key] === _sideSheet[key]) return;
|
|
376
376
|
Object.defineProperty(exports, key, {
|
|
377
377
|
enumerable: true,
|
|
378
|
-
get: function
|
|
378
|
+
get: function () {
|
|
379
379
|
return _sideSheet[key];
|
|
380
380
|
}
|
|
381
381
|
});
|
|
@@ -387,7 +387,7 @@ Object.keys(_schedule).forEach(function (key) {
|
|
|
387
387
|
if (key in exports && exports[key] === _schedule[key]) return;
|
|
388
388
|
Object.defineProperty(exports, key, {
|
|
389
389
|
enumerable: true,
|
|
390
|
-
get: function
|
|
390
|
+
get: function () {
|
|
391
391
|
return _schedule[key];
|
|
392
392
|
}
|
|
393
393
|
});
|
|
@@ -399,7 +399,7 @@ Object.keys(_siteLayout).forEach(function (key) {
|
|
|
399
399
|
if (key in exports && exports[key] === _siteLayout[key]) return;
|
|
400
400
|
Object.defineProperty(exports, key, {
|
|
401
401
|
enumerable: true,
|
|
402
|
-
get: function
|
|
402
|
+
get: function () {
|
|
403
403
|
return _siteLayout[key];
|
|
404
404
|
}
|
|
405
405
|
});
|
|
@@ -411,7 +411,7 @@ Object.keys(_socialMediaLinkList).forEach(function (key) {
|
|
|
411
411
|
if (key in exports && exports[key] === _socialMediaLinkList[key]) return;
|
|
412
412
|
Object.defineProperty(exports, key, {
|
|
413
413
|
enumerable: true,
|
|
414
|
-
get: function
|
|
414
|
+
get: function () {
|
|
415
415
|
return _socialMediaLinkList[key];
|
|
416
416
|
}
|
|
417
417
|
});
|
|
@@ -423,7 +423,7 @@ Object.keys(_spinner).forEach(function (key) {
|
|
|
423
423
|
if (key in exports && exports[key] === _spinner[key]) return;
|
|
424
424
|
Object.defineProperty(exports, key, {
|
|
425
425
|
enumerable: true,
|
|
426
|
-
get: function
|
|
426
|
+
get: function () {
|
|
427
427
|
return _spinner[key];
|
|
428
428
|
}
|
|
429
429
|
});
|
|
@@ -435,7 +435,7 @@ Object.keys(_styles).forEach(function (key) {
|
|
|
435
435
|
if (key in exports && exports[key] === _styles[key]) return;
|
|
436
436
|
Object.defineProperty(exports, key, {
|
|
437
437
|
enumerable: true,
|
|
438
|
-
get: function
|
|
438
|
+
get: function () {
|
|
439
439
|
return _styles[key];
|
|
440
440
|
}
|
|
441
441
|
});
|
|
@@ -447,7 +447,7 @@ Object.keys(_tab).forEach(function (key) {
|
|
|
447
447
|
if (key in exports && exports[key] === _tab[key]) return;
|
|
448
448
|
Object.defineProperty(exports, key, {
|
|
449
449
|
enumerable: true,
|
|
450
|
-
get: function
|
|
450
|
+
get: function () {
|
|
451
451
|
return _tab[key];
|
|
452
452
|
}
|
|
453
453
|
});
|
|
@@ -459,7 +459,7 @@ Object.keys(_table).forEach(function (key) {
|
|
|
459
459
|
if (key in exports && exports[key] === _table[key]) return;
|
|
460
460
|
Object.defineProperty(exports, key, {
|
|
461
461
|
enumerable: true,
|
|
462
|
-
get: function
|
|
462
|
+
get: function () {
|
|
463
463
|
return _table[key];
|
|
464
464
|
}
|
|
465
465
|
});
|
|
@@ -471,7 +471,7 @@ Object.keys(_typography).forEach(function (key) {
|
|
|
471
471
|
if (key in exports && exports[key] === _typography[key]) return;
|
|
472
472
|
Object.defineProperty(exports, key, {
|
|
473
473
|
enumerable: true,
|
|
474
|
-
get: function
|
|
474
|
+
get: function () {
|
|
475
475
|
return _typography[key];
|
|
476
476
|
}
|
|
477
477
|
});
|
|
@@ -483,7 +483,7 @@ Object.keys(_LockBodyScroll).forEach(function (key) {
|
|
|
483
483
|
if (key in exports && exports[key] === _LockBodyScroll[key]) return;
|
|
484
484
|
Object.defineProperty(exports, key, {
|
|
485
485
|
enumerable: true,
|
|
486
|
-
get: function
|
|
486
|
+
get: function () {
|
|
487
487
|
return _LockBodyScroll[key];
|
|
488
488
|
}
|
|
489
489
|
});
|
|
@@ -495,7 +495,7 @@ Object.keys(_dropdownMenu).forEach(function (key) {
|
|
|
495
495
|
if (key in exports && exports[key] === _dropdownMenu[key]) return;
|
|
496
496
|
Object.defineProperty(exports, key, {
|
|
497
497
|
enumerable: true,
|
|
498
|
-
get: function
|
|
498
|
+
get: function () {
|
|
499
499
|
return _dropdownMenu[key];
|
|
500
500
|
}
|
|
501
501
|
});
|
|
@@ -507,7 +507,7 @@ Object.keys(_skeleton).forEach(function (key) {
|
|
|
507
507
|
if (key in exports && exports[key] === _skeleton[key]) return;
|
|
508
508
|
Object.defineProperty(exports, key, {
|
|
509
509
|
enumerable: true,
|
|
510
|
-
get: function
|
|
510
|
+
get: function () {
|
|
511
511
|
return _skeleton[key];
|
|
512
512
|
}
|
|
513
513
|
});
|
|
@@ -519,7 +519,7 @@ Object.keys(_tooltip).forEach(function (key) {
|
|
|
519
519
|
if (key in exports && exports[key] === _tooltip[key]) return;
|
|
520
520
|
Object.defineProperty(exports, key, {
|
|
521
521
|
enumerable: true,
|
|
522
|
-
get: function
|
|
522
|
+
get: function () {
|
|
523
523
|
return _tooltip[key];
|
|
524
524
|
}
|
|
525
525
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import { FlexBoxProps } from './../flexbox/FlexBox';
|
|
3
|
-
|
|
3
|
+
type FeatureListProps = {
|
|
4
4
|
icon: any;
|
|
5
5
|
items: string[];
|
|
6
6
|
iconColor?: string;
|
|
7
7
|
textTag?: React.ElementType;
|
|
8
8
|
as?: React.ElementType;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type FeatureListComponent = FunctionComponent<FeatureListProps>;
|
|
11
11
|
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
|
12
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
13
|
as?: React.ElementType<any> | undefined;
|