@dnb/eufemia 9.18.0 → 9.19.0
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/CHANGELOG.md +34 -0
- package/cjs/components/Avatar.d.ts +14 -0
- package/cjs/components/Avatar.js +52 -0
- package/cjs/components/InfoCard.d.ts +14 -0
- package/cjs/components/InfoCard.js +52 -0
- package/cjs/components/Timeline.d.ts +14 -0
- package/cjs/components/Timeline.js +52 -0
- package/cjs/components/autocomplete/Autocomplete.d.ts +2 -2
- package/cjs/components/avatar/Avatar.js +149 -0
- package/cjs/components/avatar/AvatarGroup.js +131 -0
- package/cjs/components/avatar/index.d.ts +8 -0
- package/cjs/components/avatar/index.js +52 -0
- package/cjs/components/avatar/style/_avatar.scss +145 -0
- package/cjs/components/avatar/style/dnb-avatar.css +218 -0
- package/cjs/components/avatar/style/dnb-avatar.min.css +1 -0
- package/cjs/components/avatar/style/dnb-avatar.scss +12 -0
- package/cjs/components/avatar/style/index.d.ts +6 -0
- package/cjs/components/avatar/style/index.js +3 -0
- package/cjs/components/avatar/style/themes/dnb-avatar-theme-ui.css +36 -0
- package/cjs/components/avatar/style/themes/dnb-avatar-theme-ui.min.css +1 -0
- package/cjs/components/avatar/style/themes/dnb-avatar-theme-ui.scss +29 -0
- package/cjs/components/avatar/style/themes/ui.js +3 -0
- package/cjs/components/avatar/style.js +3 -0
- package/cjs/components/breadcrumb/BreadcrumbItem.js +3 -3
- package/cjs/components/button/Button.d.ts +1 -1
- package/cjs/components/button/Button.js +1 -1
- package/cjs/components/button/style/themes/dnb-button-theme-ui.scss +3 -0
- package/cjs/components/date-picker/DatePicker.js +4 -2
- package/cjs/components/date-picker/DatePickerFooter.d.ts +1 -0
- package/cjs/components/date-picker/DatePickerFooter.js +10 -6
- package/cjs/components/dropdown/Dropdown.d.ts +4 -3
- package/cjs/components/form-label/FormLabel.d.ts +1 -1
- package/cjs/components/heading/Heading.d.ts +2 -2
- package/cjs/components/heading/HeadingProvider.d.ts +2 -2
- package/cjs/components/help-button/HelpButton.d.ts +1 -1
- package/cjs/components/help-button/HelpButtonInstance.d.ts +3 -2
- package/cjs/components/icon/Icon.d.ts +1 -1
- package/cjs/components/icon-primary/IconPrimary.d.ts +1 -1
- package/cjs/components/index.d.ts +6 -0
- package/cjs/components/index.js +24 -0
- package/cjs/components/info-card/InfoCard.js +180 -0
- package/cjs/components/info-card/index.d.ts +8 -0
- package/cjs/components/info-card/index.js +52 -0
- package/cjs/components/info-card/style/_info-card.scss +52 -0
- package/cjs/components/info-card/style/dnb-info-card.css +135 -0
- package/cjs/components/info-card/style/dnb-info-card.min.css +1 -0
- package/cjs/components/info-card/style/dnb-info-card.scss +12 -0
- package/cjs/components/info-card/style/index.d.ts +6 -0
- package/cjs/components/info-card/style/index.js +3 -0
- package/cjs/components/info-card/style.js +3 -0
- package/cjs/components/input/Input.d.ts +2 -1
- package/cjs/components/lib.js +27 -0
- package/cjs/components/number-format/NumberFormat.d.ts +2 -2
- package/cjs/components/pagination/Pagination.js +11 -1
- package/cjs/components/radio/Radio.d.ts +1 -1
- package/cjs/components/radio/RadioGroup.d.ts +1 -1
- package/cjs/components/slider/Slider.d.ts +1 -1
- package/cjs/components/step-indicator/StepIndicator.d.ts +3 -3
- package/cjs/components/step-indicator/StepIndicatorContext.d.ts +1 -1
- package/cjs/components/step-indicator/StepIndicatorItem.d.ts +1 -1
- package/cjs/components/step-indicator/StepIndicatorSidebar.d.ts +3 -3
- package/cjs/components/step-indicator/StepIndicatorTriggerButton.d.ts +1 -1
- package/cjs/components/switch/Switch.d.ts +1 -1
- package/cjs/components/tabs/Tabs.d.ts +4 -4
- package/cjs/components/tabs/TabsContentWrapper.d.ts +1 -1
- package/cjs/components/tabs/TabsCustomContent.d.ts +1 -1
- package/cjs/components/tag/Tag.js +85 -25
- package/cjs/components/tag/TagContext.js +14 -0
- package/cjs/components/tag/TagGroup.js +123 -0
- package/cjs/components/tag/style/_tag.scss +80 -16
- package/cjs/components/tag/style/dnb-tag.css +849 -33
- package/cjs/components/tag/style/dnb-tag.min.css +1 -1
- package/cjs/components/tag/style/dnb-tag.scss +3 -0
- package/cjs/components/tag/style/themes/_tag-mixins.scss +18 -0
- package/cjs/components/timeline/Timeline.js +129 -0
- package/cjs/components/timeline/TimelineItem.js +149 -0
- package/cjs/components/timeline/index.d.ts +8 -0
- package/cjs/components/timeline/index.js +52 -0
- package/cjs/components/timeline/style/_timeline.scss +42 -0
- package/cjs/components/timeline/style/dnb-timeline.css +307 -0
- package/cjs/components/timeline/style/dnb-timeline.min.css +1 -0
- package/cjs/components/timeline/style/dnb-timeline.scss +12 -0
- package/cjs/components/timeline/style/index.d.ts +6 -0
- package/cjs/components/timeline/style/index.js +3 -0
- package/cjs/components/timeline/style/themes/dnb-timeline-theme-ui.css +185 -0
- package/cjs/components/timeline/style/themes/dnb-timeline-theme-ui.min.css +1 -0
- package/cjs/components/timeline/style/themes/dnb-timeline-theme-ui.scss +105 -0
- package/cjs/components/timeline/style/themes/ui.js +3 -0
- package/cjs/components/timeline/style.js +3 -0
- package/cjs/components/toggle-button/ToggleButton.d.ts +2 -2
- package/cjs/components/toggle-button/ToggleButtonGroup.d.ts +1 -1
- package/cjs/elements/Img.d.ts +2 -2
- package/cjs/extensions/payment-card/PaymentCard.d.ts +1 -1
- package/cjs/extensions/payment-card/style/_payment-card.scss +0 -1
- package/cjs/extensions/payment-card/style/dnb-payment-card.css +0 -1
- package/cjs/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
- package/cjs/fragments/drawer-list/DrawerListProvider.js +1 -0
- package/cjs/index.d.ts +6 -0
- package/cjs/index.js +24 -0
- package/cjs/shared/Context.js +10 -4
- package/cjs/shared/locales/en-GB.js +5 -0
- package/cjs/shared/locales/nb-NO.js +5 -0
- package/cjs/style/dnb-ui-components.css +710 -34
- package/cjs/style/dnb-ui-components.min.css +3 -3
- package/cjs/style/dnb-ui-components.scss +3 -0
- package/cjs/style/dnb-ui-elements.css +3 -0
- package/cjs/style/dnb-ui-elements.min.css +1 -1
- package/cjs/style/dnb-ui-extensions.css +0 -1
- package/cjs/style/dnb-ui-extensions.min.css +1 -1
- package/cjs/style/dnb-ui-tags.css +6 -0
- package/cjs/style/dnb-ui-tags.min.css +2 -2
- package/cjs/style/elements/code.scss +3 -0
- package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.css +226 -0
- package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +3 -3
- package/cjs/style/themes/theme-ui/dnb-theme-ui.css +226 -0
- package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +3 -3
- package/cjs/style/themes/theme-ui/dnb-theme-ui.scss +2 -0
- package/components/Avatar.d.ts +14 -0
- package/components/Avatar.js +3 -0
- package/components/InfoCard.d.ts +14 -0
- package/components/InfoCard.js +3 -0
- package/components/Timeline.d.ts +14 -0
- package/components/Timeline.js +3 -0
- package/components/autocomplete/Autocomplete.d.ts +2 -2
- package/components/avatar/Avatar.js +89 -0
- package/components/avatar/Avatar.tsx +163 -0
- package/components/avatar/AvatarGroup.js +94 -0
- package/components/avatar/AvatarGroup.tsx +167 -0
- package/components/avatar/index.d.ts +8 -0
- package/components/avatar/index.js +3 -0
- package/components/avatar/style/_avatar.scss +145 -0
- package/components/avatar/style/dnb-avatar.css +218 -0
- package/components/avatar/style/dnb-avatar.min.css +1 -0
- package/components/avatar/style/dnb-avatar.scss +12 -0
- package/components/avatar/style/index.d.ts +6 -0
- package/components/avatar/style/index.js +1 -0
- package/components/avatar/style/themes/dnb-avatar-theme-ui.css +36 -0
- package/components/avatar/style/themes/dnb-avatar-theme-ui.min.css +1 -0
- package/components/avatar/style/themes/dnb-avatar-theme-ui.scss +29 -0
- package/components/avatar/style/themes/ui.js +1 -0
- package/components/avatar/style.js +1 -0
- package/components/breadcrumb/BreadcrumbItem.js +3 -3
- package/components/breadcrumb/BreadcrumbItem.tsx +2 -2
- package/components/button/Button.js +1 -1
- package/components/button/style/themes/dnb-button-theme-ui.scss +3 -0
- package/components/date-picker/DatePicker.js +4 -2
- package/components/date-picker/DatePickerFooter.d.ts +1 -0
- package/components/date-picker/DatePickerFooter.js +10 -6
- package/components/dropdown/Dropdown.d.ts +4 -3
- package/components/form-label/FormLabel.d.ts +1 -1
- package/components/heading/Heading.d.ts +2 -2
- package/components/heading/HeadingProvider.d.ts +2 -2
- package/components/help-button/HelpButton.d.ts +1 -1
- package/components/help-button/HelpButtonInstance.d.ts +3 -2
- package/components/icon/Icon.d.ts +1 -1
- package/components/index.d.ts +6 -0
- package/components/index.js +4 -1
- package/components/info-card/InfoCard.js +140 -0
- package/components/info-card/InfoCard.tsx +249 -0
- package/components/info-card/index.d.ts +8 -0
- package/components/info-card/index.js +3 -0
- package/components/info-card/style/_info-card.scss +52 -0
- package/components/info-card/style/dnb-info-card.css +135 -0
- package/components/info-card/style/dnb-info-card.min.css +1 -0
- package/components/info-card/style/dnb-info-card.scss +12 -0
- package/components/info-card/style/index.d.ts +6 -0
- package/components/info-card/style/index.js +1 -0
- package/components/info-card/style.js +1 -0
- package/components/input/Input.d.ts +2 -1
- package/components/lib.js +7 -1
- package/components/number-format/NumberFormat.d.ts +2 -2
- package/components/pagination/Pagination.js +7 -0
- package/components/radio/Radio.d.ts +1 -1
- package/components/radio/RadioGroup.d.ts +1 -1
- package/components/slider/Slider.d.ts +1 -1
- package/components/step-indicator/StepIndicator.d.ts +3 -3
- package/components/step-indicator/StepIndicatorContext.d.ts +1 -1
- package/components/step-indicator/StepIndicatorItem.d.ts +1 -1
- package/components/step-indicator/StepIndicatorSidebar.d.ts +3 -3
- package/components/step-indicator/StepIndicatorTriggerButton.d.ts +1 -1
- package/components/switch/Switch.d.ts +1 -1
- package/components/tabs/Tabs.d.ts +4 -4
- package/components/tabs/TabsContentWrapper.d.ts +1 -1
- package/components/tabs/TabsCustomContent.d.ts +1 -1
- package/components/tag/Tag.js +84 -25
- package/components/tag/Tag.tsx +133 -34
- package/components/tag/TagContext.js +2 -0
- package/components/tag/TagContext.tsx +3 -0
- package/components/tag/TagGroup.js +60 -0
- package/components/tag/TagGroup.tsx +80 -0
- package/components/tag/style/_tag.scss +80 -16
- package/components/tag/style/dnb-tag.css +849 -33
- package/components/tag/style/dnb-tag.min.css +1 -1
- package/components/tag/style/dnb-tag.scss +3 -0
- package/components/tag/style/themes/_tag-mixins.scss +18 -0
- package/components/timeline/Timeline.js +57 -0
- package/components/timeline/Timeline.tsx +91 -0
- package/components/timeline/TimelineItem.js +112 -0
- package/components/timeline/TimelineItem.tsx +193 -0
- package/components/timeline/index.d.ts +8 -0
- package/components/timeline/index.js +3 -0
- package/components/timeline/style/_timeline.scss +42 -0
- package/components/timeline/style/dnb-timeline.css +307 -0
- package/components/timeline/style/dnb-timeline.min.css +1 -0
- package/components/timeline/style/dnb-timeline.scss +12 -0
- package/components/timeline/style/index.d.ts +6 -0
- package/components/timeline/style/index.js +1 -0
- package/components/timeline/style/themes/dnb-timeline-theme-ui.css +185 -0
- package/components/timeline/style/themes/dnb-timeline-theme-ui.min.css +1 -0
- package/components/timeline/style/themes/dnb-timeline-theme-ui.scss +105 -0
- package/components/timeline/style/themes/ui.js +1 -0
- package/components/timeline/style.js +1 -0
- package/components/toggle-button/ToggleButton.d.ts +2 -2
- package/components/toggle-button/ToggleButtonGroup.d.ts +1 -1
- package/elements/Img.d.ts +1 -1
- package/es/components/Avatar.d.ts +14 -0
- package/es/components/Avatar.js +3 -0
- package/es/components/InfoCard.d.ts +14 -0
- package/es/components/InfoCard.js +3 -0
- package/es/components/Timeline.d.ts +14 -0
- package/es/components/Timeline.js +3 -0
- package/es/components/autocomplete/Autocomplete.d.ts +2 -2
- package/es/components/avatar/Avatar.js +83 -0
- package/es/components/avatar/Avatar.tsx +163 -0
- package/es/components/avatar/AvatarGroup.js +89 -0
- package/es/components/avatar/AvatarGroup.tsx +167 -0
- package/es/components/avatar/index.d.ts +8 -0
- package/es/components/avatar/index.js +3 -0
- package/es/components/avatar/style/_avatar.scss +145 -0
- package/es/components/avatar/style/dnb-avatar.css +218 -0
- package/es/components/avatar/style/dnb-avatar.min.css +1 -0
- package/es/components/avatar/style/dnb-avatar.scss +12 -0
- package/es/components/avatar/style/index.d.ts +6 -0
- package/es/components/avatar/style/index.js +1 -0
- package/es/components/avatar/style/themes/dnb-avatar-theme-ui.css +36 -0
- package/es/components/avatar/style/themes/dnb-avatar-theme-ui.min.css +1 -0
- package/es/components/avatar/style/themes/dnb-avatar-theme-ui.scss +29 -0
- package/es/components/avatar/style/themes/ui.js +1 -0
- package/es/components/avatar/style.js +1 -0
- package/es/components/breadcrumb/BreadcrumbItem.js +3 -3
- package/es/components/breadcrumb/BreadcrumbItem.tsx +2 -2
- package/es/components/button/Button.d.ts +1 -1
- package/es/components/button/Button.js +1 -1
- package/es/components/button/style/themes/dnb-button-theme-ui.scss +3 -0
- package/es/components/date-picker/DatePicker.js +4 -2
- package/es/components/date-picker/DatePickerFooter.d.ts +1 -0
- package/es/components/date-picker/DatePickerFooter.js +9 -6
- package/es/components/dropdown/Dropdown.d.ts +4 -3
- package/es/components/form-label/FormLabel.d.ts +1 -1
- package/es/components/heading/Heading.d.ts +2 -2
- package/es/components/heading/HeadingProvider.d.ts +2 -2
- package/es/components/help-button/HelpButton.d.ts +1 -1
- package/es/components/help-button/HelpButtonInstance.d.ts +3 -2
- package/es/components/icon/Icon.d.ts +1 -1
- package/es/components/icon-primary/IconPrimary.d.ts +1 -1
- package/es/components/index.d.ts +6 -0
- package/es/components/index.js +4 -1
- package/es/components/info-card/InfoCard.js +135 -0
- package/es/components/info-card/InfoCard.tsx +249 -0
- package/es/components/info-card/index.d.ts +8 -0
- package/es/components/info-card/index.js +3 -0
- package/es/components/info-card/style/_info-card.scss +52 -0
- package/es/components/info-card/style/dnb-info-card.css +135 -0
- package/es/components/info-card/style/dnb-info-card.min.css +1 -0
- package/es/components/info-card/style/dnb-info-card.scss +12 -0
- package/es/components/info-card/style/index.d.ts +6 -0
- package/es/components/info-card/style/index.js +1 -0
- package/es/components/info-card/style.js +1 -0
- package/es/components/input/Input.d.ts +2 -1
- package/es/components/lib.js +7 -1
- package/es/components/number-format/NumberFormat.d.ts +2 -2
- package/es/components/pagination/Pagination.js +3 -0
- package/es/components/radio/Radio.d.ts +1 -1
- package/es/components/radio/RadioGroup.d.ts +1 -1
- package/es/components/slider/Slider.d.ts +1 -1
- package/es/components/step-indicator/StepIndicator.d.ts +3 -3
- package/es/components/step-indicator/StepIndicatorContext.d.ts +1 -1
- package/es/components/step-indicator/StepIndicatorItem.d.ts +1 -1
- package/es/components/step-indicator/StepIndicatorSidebar.d.ts +3 -3
- package/es/components/step-indicator/StepIndicatorTriggerButton.d.ts +1 -1
- package/es/components/switch/Switch.d.ts +1 -1
- package/es/components/tabs/Tabs.d.ts +4 -4
- package/es/components/tabs/TabsContentWrapper.d.ts +1 -1
- package/es/components/tabs/TabsCustomContent.d.ts +1 -1
- package/es/components/tag/Tag.js +83 -26
- package/es/components/tag/Tag.tsx +133 -34
- package/es/components/tag/TagContext.js +2 -0
- package/es/components/tag/TagContext.tsx +3 -0
- package/es/components/tag/TagGroup.js +53 -0
- package/es/components/tag/TagGroup.tsx +80 -0
- package/es/components/tag/style/_tag.scss +80 -16
- package/es/components/tag/style/dnb-tag.css +849 -33
- package/es/components/tag/style/dnb-tag.min.css +1 -1
- package/es/components/tag/style/dnb-tag.scss +3 -0
- package/es/components/tag/style/themes/_tag-mixins.scss +18 -0
- package/es/components/timeline/Timeline.js +48 -0
- package/es/components/timeline/Timeline.tsx +91 -0
- package/es/components/timeline/TimelineItem.js +111 -0
- package/es/components/timeline/TimelineItem.tsx +193 -0
- package/es/components/timeline/index.d.ts +8 -0
- package/es/components/timeline/index.js +3 -0
- package/es/components/timeline/style/_timeline.scss +42 -0
- package/es/components/timeline/style/dnb-timeline.css +307 -0
- package/es/components/timeline/style/dnb-timeline.min.css +1 -0
- package/es/components/timeline/style/dnb-timeline.scss +12 -0
- package/es/components/timeline/style/index.d.ts +6 -0
- package/es/components/timeline/style/index.js +1 -0
- package/es/components/timeline/style/themes/dnb-timeline-theme-ui.css +185 -0
- package/es/components/timeline/style/themes/dnb-timeline-theme-ui.min.css +1 -0
- package/es/components/timeline/style/themes/dnb-timeline-theme-ui.scss +105 -0
- package/es/components/timeline/style/themes/ui.js +1 -0
- package/es/components/timeline/style.js +1 -0
- package/es/components/toggle-button/ToggleButton.d.ts +2 -2
- package/es/components/toggle-button/ToggleButtonGroup.d.ts +1 -1
- package/es/elements/Img.d.ts +2 -2
- package/es/extensions/payment-card/PaymentCard.d.ts +1 -1
- package/es/extensions/payment-card/style/_payment-card.scss +0 -1
- package/es/extensions/payment-card/style/dnb-payment-card.css +0 -1
- package/es/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
- package/es/fragments/drawer-list/DrawerListProvider.js +1 -0
- package/es/index.d.ts +6 -0
- package/es/index.js +4 -1
- package/es/shared/Context.js +10 -4
- package/es/shared/locales/en-GB.js +5 -0
- package/es/shared/locales/nb-NO.js +5 -0
- package/es/style/dnb-ui-components.css +710 -34
- package/es/style/dnb-ui-components.min.css +3 -3
- package/es/style/dnb-ui-components.scss +3 -0
- package/es/style/dnb-ui-elements.css +3 -0
- package/es/style/dnb-ui-elements.min.css +1 -1
- package/es/style/dnb-ui-extensions.css +0 -1
- package/es/style/dnb-ui-extensions.min.css +1 -1
- package/es/style/dnb-ui-tags.css +6 -0
- package/es/style/dnb-ui-tags.min.css +2 -2
- package/es/style/elements/code.scss +3 -0
- package/es/style/themes/theme-open-banking/dnb-theme-open-banking.css +226 -0
- package/es/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +3 -3
- package/es/style/themes/theme-ui/dnb-theme-ui.css +226 -0
- package/es/style/themes/theme-ui/dnb-theme-ui.min.css +3 -3
- package/es/style/themes/theme-ui/dnb-theme-ui.scss +2 -0
- package/esm/components/Avatar.d.ts +14 -0
- package/esm/components/Avatar.js +3 -0
- package/esm/components/InfoCard.d.ts +14 -0
- package/esm/components/InfoCard.js +3 -0
- package/esm/components/Timeline.d.ts +14 -0
- package/esm/components/Timeline.js +3 -0
- package/esm/components/autocomplete/Autocomplete.d.ts +2 -2
- package/esm/components/avatar/Avatar.js +89 -0
- package/esm/components/avatar/Avatar.tsx +163 -0
- package/esm/components/avatar/AvatarGroup.js +94 -0
- package/esm/components/avatar/AvatarGroup.tsx +167 -0
- package/esm/components/avatar/index.d.ts +8 -0
- package/esm/components/avatar/index.js +3 -0
- package/esm/components/avatar/style/_avatar.scss +145 -0
- package/esm/components/avatar/style/dnb-avatar.css +218 -0
- package/esm/components/avatar/style/dnb-avatar.min.css +1 -0
- package/esm/components/avatar/style/dnb-avatar.scss +12 -0
- package/esm/components/avatar/style/index.d.ts +6 -0
- package/esm/components/avatar/style/index.js +1 -0
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.css +36 -0
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.min.css +1 -0
- package/esm/components/avatar/style/themes/dnb-avatar-theme-ui.scss +29 -0
- package/esm/components/avatar/style/themes/ui.js +1 -0
- package/esm/components/avatar/style.js +1 -0
- package/esm/components/breadcrumb/BreadcrumbItem.js +3 -3
- package/esm/components/breadcrumb/BreadcrumbItem.tsx +2 -2
- package/esm/components/button/Button.js +1 -1
- package/esm/components/button/style/themes/dnb-button-theme-ui.scss +3 -0
- package/esm/components/date-picker/DatePicker.js +4 -2
- package/esm/components/date-picker/DatePickerFooter.d.ts +1 -0
- package/esm/components/date-picker/DatePickerFooter.js +10 -6
- package/esm/components/dropdown/Dropdown.d.ts +4 -3
- package/esm/components/form-label/FormLabel.d.ts +1 -1
- package/esm/components/heading/Heading.d.ts +2 -2
- package/esm/components/heading/HeadingProvider.d.ts +2 -2
- package/esm/components/help-button/HelpButton.d.ts +1 -1
- package/esm/components/help-button/HelpButtonInstance.d.ts +3 -2
- package/esm/components/icon/Icon.d.ts +1 -1
- package/esm/components/index.d.ts +6 -0
- package/esm/components/index.js +4 -1
- package/esm/components/info-card/InfoCard.js +140 -0
- package/esm/components/info-card/InfoCard.tsx +249 -0
- package/esm/components/info-card/index.d.ts +8 -0
- package/esm/components/info-card/index.js +3 -0
- package/esm/components/info-card/style/_info-card.scss +52 -0
- package/esm/components/info-card/style/dnb-info-card.css +135 -0
- package/esm/components/info-card/style/dnb-info-card.min.css +1 -0
- package/esm/components/info-card/style/dnb-info-card.scss +12 -0
- package/esm/components/info-card/style/index.d.ts +6 -0
- package/esm/components/info-card/style/index.js +1 -0
- package/esm/components/info-card/style.js +1 -0
- package/esm/components/input/Input.d.ts +2 -1
- package/esm/components/lib.js +7 -1
- package/esm/components/number-format/NumberFormat.d.ts +2 -2
- package/esm/components/pagination/Pagination.js +7 -0
- package/esm/components/radio/Radio.d.ts +1 -1
- package/esm/components/radio/RadioGroup.d.ts +1 -1
- package/esm/components/slider/Slider.d.ts +1 -1
- package/esm/components/step-indicator/StepIndicator.d.ts +3 -3
- package/esm/components/step-indicator/StepIndicatorContext.d.ts +1 -1
- package/esm/components/step-indicator/StepIndicatorItem.d.ts +1 -1
- package/esm/components/step-indicator/StepIndicatorSidebar.d.ts +3 -3
- package/esm/components/step-indicator/StepIndicatorTriggerButton.d.ts +1 -1
- package/esm/components/switch/Switch.d.ts +1 -1
- package/esm/components/tabs/Tabs.d.ts +4 -4
- package/esm/components/tabs/TabsContentWrapper.d.ts +1 -1
- package/esm/components/tabs/TabsCustomContent.d.ts +1 -1
- package/esm/components/tag/Tag.js +84 -25
- package/esm/components/tag/Tag.tsx +133 -34
- package/esm/components/tag/TagContext.js +2 -0
- package/esm/components/tag/TagContext.tsx +3 -0
- package/esm/components/tag/TagGroup.js +60 -0
- package/esm/components/tag/TagGroup.tsx +80 -0
- package/esm/components/tag/style/_tag.scss +80 -16
- package/esm/components/tag/style/dnb-tag.css +849 -33
- package/esm/components/tag/style/dnb-tag.min.css +1 -1
- package/esm/components/tag/style/dnb-tag.scss +3 -0
- package/esm/components/tag/style/themes/_tag-mixins.scss +18 -0
- package/esm/components/timeline/Timeline.js +57 -0
- package/esm/components/timeline/Timeline.tsx +91 -0
- package/esm/components/timeline/TimelineItem.js +112 -0
- package/esm/components/timeline/TimelineItem.tsx +193 -0
- package/esm/components/timeline/index.d.ts +8 -0
- package/esm/components/timeline/index.js +3 -0
- package/esm/components/timeline/style/_timeline.scss +42 -0
- package/esm/components/timeline/style/dnb-timeline.css +307 -0
- package/esm/components/timeline/style/dnb-timeline.min.css +1 -0
- package/esm/components/timeline/style/dnb-timeline.scss +12 -0
- package/esm/components/timeline/style/index.d.ts +6 -0
- package/esm/components/timeline/style/index.js +1 -0
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.css +185 -0
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.min.css +1 -0
- package/esm/components/timeline/style/themes/dnb-timeline-theme-ui.scss +105 -0
- package/esm/components/timeline/style/themes/ui.js +1 -0
- package/esm/components/timeline/style.js +1 -0
- package/esm/components/toggle-button/ToggleButton.d.ts +2 -2
- package/esm/components/toggle-button/ToggleButtonGroup.d.ts +1 -1
- package/esm/dnb-ui-components.min.mjs +4 -4
- package/esm/dnb-ui-elements.min.mjs +1 -1
- package/esm/dnb-ui-extensions.min.mjs +3 -3
- package/esm/dnb-ui-lib.min.mjs +4 -4
- package/esm/dnb-ui-web-components.min.mjs +4 -4
- package/esm/elements/Img.d.ts +1 -1
- package/esm/extensions/payment-card/PaymentCard.d.ts +1 -1
- package/esm/extensions/payment-card/style/_payment-card.scss +0 -1
- package/esm/extensions/payment-card/style/dnb-payment-card.css +0 -1
- package/esm/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
- package/esm/fragments/drawer-list/DrawerListProvider.js +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.js +4 -1
- package/esm/shared/Context.js +10 -4
- package/esm/shared/locales/en-GB.js +5 -0
- package/esm/shared/locales/nb-NO.js +5 -0
- package/esm/style/dnb-ui-components.css +710 -34
- package/esm/style/dnb-ui-components.min.css +3 -3
- package/esm/style/dnb-ui-components.scss +3 -0
- package/esm/style/dnb-ui-elements.css +3 -0
- package/esm/style/dnb-ui-elements.min.css +1 -1
- package/esm/style/dnb-ui-extensions.css +0 -1
- package/esm/style/dnb-ui-extensions.min.css +1 -1
- package/esm/style/dnb-ui-tags.css +6 -0
- package/esm/style/dnb-ui-tags.min.css +2 -2
- package/esm/style/elements/code.scss +3 -0
- package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.css +226 -0
- package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +3 -3
- package/esm/style/themes/theme-ui/dnb-theme-ui.css +226 -0
- package/esm/style/themes/theme-ui/dnb-theme-ui.min.css +3 -3
- package/esm/style/themes/theme-ui/dnb-theme-ui.scss +2 -0
- package/extensions/payment-card/PaymentCard.d.ts +1 -1
- package/extensions/payment-card/style/_payment-card.scss +0 -1
- package/extensions/payment-card/style/dnb-payment-card.css +0 -1
- package/extensions/payment-card/style/dnb-payment-card.min.css +1 -1
- package/fragments/drawer-list/DrawerListProvider.js +1 -0
- package/index.d.ts +6 -0
- package/index.js +4 -1
- package/package.json +2 -3
- package/shared/Context.js +10 -4
- package/shared/locales/en-GB.js +5 -0
- package/shared/locales/nb-NO.js +5 -0
- package/style/dnb-ui-components.css +710 -34
- package/style/dnb-ui-components.min.css +3 -3
- package/style/dnb-ui-components.scss +3 -0
- package/style/dnb-ui-elements.css +3 -0
- package/style/dnb-ui-elements.min.css +1 -1
- package/style/dnb-ui-extensions.css +0 -1
- package/style/dnb-ui-extensions.min.css +1 -1
- package/style/dnb-ui-tags.css +6 -0
- package/style/dnb-ui-tags.min.css +2 -2
- package/style/elements/code.scss +3 -0
- package/style/themes/theme-open-banking/dnb-theme-open-banking.css +226 -0
- package/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +3 -3
- package/style/themes/theme-ui/dnb-theme-ui.css +226 -0
- package/style/themes/theme-ui/dnb-theme-ui.min.css +3 -3
- package/style/themes/theme-ui/dnb-theme-ui.scss +2 -0
- package/umd/dnb-ui-components.min.js +5 -5
- package/umd/dnb-ui-elements.min.js +3 -3
- package/umd/dnb-ui-extensions.min.js +3 -3
- package/umd/dnb-ui-lib.min.js +5 -5
- package/umd/dnb-ui-web-components.min.js +5 -5
|
@@ -955,6 +955,155 @@
|
|
|
955
955
|
.dnb-autocomplete__options {
|
|
956
956
|
display: block; } }
|
|
957
957
|
|
|
958
|
+
/*
|
|
959
|
+
* Avatar component
|
|
960
|
+
*
|
|
961
|
+
*/
|
|
962
|
+
:root {
|
|
963
|
+
--avatar-font-size--small: var(--font-size-x-small);
|
|
964
|
+
--avatar-font-size--medium: var(--font-size-basis);
|
|
965
|
+
--avatar-font-size--large: var(--font-size-x-large);
|
|
966
|
+
--avatar-font-size--x-large: var(--font-size-x-large);
|
|
967
|
+
--avatar-line-height--small: var(--line-height-x-small);
|
|
968
|
+
--avatar-line-height--medium: var(--line-height-basis);
|
|
969
|
+
--avatar-line-height--large: var(--line-height-large);
|
|
970
|
+
--avatar-line-height--x-large: var(--line-height-large);
|
|
971
|
+
--avatar-width--small: 1.5rem;
|
|
972
|
+
--avatar-height--small: 1.5rem;
|
|
973
|
+
--avatar-width--medium: 2rem;
|
|
974
|
+
--avatar-height--medium: 2rem;
|
|
975
|
+
--avatar-width--large: 4rem;
|
|
976
|
+
--avatar-height--large: 4rem;
|
|
977
|
+
--avatar-width--x-large: 5rem;
|
|
978
|
+
--avatar-height--x-large: 5rem; }
|
|
979
|
+
|
|
980
|
+
.dnb-avatar {
|
|
981
|
+
position: relative;
|
|
982
|
+
display: -webkit-inline-box;
|
|
983
|
+
display: -ms-inline-flexbox;
|
|
984
|
+
display: inline-flex;
|
|
985
|
+
-webkit-box-align: center;
|
|
986
|
+
-ms-flex-align: center;
|
|
987
|
+
align-items: center;
|
|
988
|
+
-webkit-box-pack: center;
|
|
989
|
+
-ms-flex-pack: center;
|
|
990
|
+
justify-content: center;
|
|
991
|
+
-ms-flex-negative: 0;
|
|
992
|
+
flex-shrink: 0;
|
|
993
|
+
line-height: 1;
|
|
994
|
+
overflow: hidden;
|
|
995
|
+
-webkit-user-select: none;
|
|
996
|
+
-moz-user-select: none;
|
|
997
|
+
-ms-user-select: none;
|
|
998
|
+
user-select: none;
|
|
999
|
+
border-radius: 50%;
|
|
1000
|
+
font-weight: 500;
|
|
1001
|
+
font-weight: var(--font-weight-medium); }
|
|
1002
|
+
.dnb-avatar,
|
|
1003
|
+
.dnb-core-style .dnb-avatar {
|
|
1004
|
+
line-height: 2.5rem;
|
|
1005
|
+
line-height: var(--button-height); }
|
|
1006
|
+
.dnb-avatar--size-small {
|
|
1007
|
+
width: 1.5rem;
|
|
1008
|
+
width: var(--avatar-width--small);
|
|
1009
|
+
height: 1.5rem;
|
|
1010
|
+
height: var(--avatar-height--small);
|
|
1011
|
+
font-size: 0.875rem;
|
|
1012
|
+
font-size: var(--avatar-font-size--small); }
|
|
1013
|
+
.dnb-avatar--size-small,
|
|
1014
|
+
.dnb-core-style .dnb-avatar--size-small {
|
|
1015
|
+
line-height: 1.125rem;
|
|
1016
|
+
line-height: var(--avatar-line-height--small); }
|
|
1017
|
+
.dnb-avatar--size-medium {
|
|
1018
|
+
width: 2rem;
|
|
1019
|
+
width: var(--avatar-width--medium);
|
|
1020
|
+
height: 2rem;
|
|
1021
|
+
height: var(--avatar-height--medium);
|
|
1022
|
+
font-size: 1.125rem;
|
|
1023
|
+
font-size: var(--avatar-font-size--medium); }
|
|
1024
|
+
.dnb-avatar--size-medium,
|
|
1025
|
+
.dnb-core-style .dnb-avatar--size-medium {
|
|
1026
|
+
line-height: 1.5rem;
|
|
1027
|
+
line-height: var(--avatar-line-height--medium); }
|
|
1028
|
+
.dnb-avatar--size-large {
|
|
1029
|
+
width: 4rem;
|
|
1030
|
+
width: var(--avatar-width--large);
|
|
1031
|
+
height: 4rem;
|
|
1032
|
+
height: var(--avatar-height--large);
|
|
1033
|
+
font-size: 2.125rem;
|
|
1034
|
+
font-size: var(--avatar-font-size--large); }
|
|
1035
|
+
.dnb-avatar--size-large,
|
|
1036
|
+
.dnb-core-style .dnb-avatar--size-large {
|
|
1037
|
+
line-height: 2.5rem;
|
|
1038
|
+
line-height: var(--avatar-line-height--large); }
|
|
1039
|
+
.dnb-avatar--size-x-large {
|
|
1040
|
+
width: 5rem;
|
|
1041
|
+
width: var(--avatar-width--x-large);
|
|
1042
|
+
height: 5rem;
|
|
1043
|
+
height: var(--avatar-height--x-large);
|
|
1044
|
+
font-size: 2.125rem;
|
|
1045
|
+
font-size: var(--avatar-font-size--x-large); }
|
|
1046
|
+
.dnb-avatar--size-x-large,
|
|
1047
|
+
.dnb-core-style .dnb-avatar--size-x-large {
|
|
1048
|
+
line-height: 2.5rem;
|
|
1049
|
+
line-height: var(--avatar-line-height--x-large); }
|
|
1050
|
+
.dnb-avatar__group {
|
|
1051
|
+
display: -webkit-inline-box;
|
|
1052
|
+
display: -ms-inline-flexbox;
|
|
1053
|
+
display: inline-flex;
|
|
1054
|
+
-webkit-box-pack: flex;
|
|
1055
|
+
-ms-flex-pack: flex;
|
|
1056
|
+
justify-content: flex;
|
|
1057
|
+
-webkit-box-orient: horizontal;
|
|
1058
|
+
-webkit-box-direction: normal;
|
|
1059
|
+
-ms-flex-direction: row;
|
|
1060
|
+
flex-direction: row; }
|
|
1061
|
+
.dnb-avatar__group .dnb-avatar {
|
|
1062
|
+
-webkit-box-sizing: content-box;
|
|
1063
|
+
box-sizing: content-box;
|
|
1064
|
+
border: 0.125rem solid #f8f8f8;
|
|
1065
|
+
border: 0.125rem solid var(--color-black-3); }
|
|
1066
|
+
.dnb-avatar__group .dnb-avatar--size-small {
|
|
1067
|
+
margin-left: -0.5rem; }
|
|
1068
|
+
.dnb-avatar__group .dnb-avatar--size-medium {
|
|
1069
|
+
margin-left: -0.75rem; }
|
|
1070
|
+
.dnb-avatar__group .dnb-avatar--size-large {
|
|
1071
|
+
margin-left: -1rem; }
|
|
1072
|
+
.dnb-avatar__group .dnb-avatar--size-x-large {
|
|
1073
|
+
margin-left: -1.5rem; }
|
|
1074
|
+
.dnb-avatar__group .dnb-avatar:nth-of-type(2) {
|
|
1075
|
+
margin-left: 0; }
|
|
1076
|
+
.dnb-avatar__group--elements-left {
|
|
1077
|
+
display: -webkit-inline-box;
|
|
1078
|
+
display: -ms-inline-flexbox;
|
|
1079
|
+
display: inline-flex;
|
|
1080
|
+
-webkit-box-align: center;
|
|
1081
|
+
-ms-flex-align: center;
|
|
1082
|
+
align-items: center;
|
|
1083
|
+
-webkit-box-pack: center;
|
|
1084
|
+
-ms-flex-pack: center;
|
|
1085
|
+
justify-content: center;
|
|
1086
|
+
color: #737373;
|
|
1087
|
+
color: var(--color-black-55); }
|
|
1088
|
+
.dnb-avatar__group--elements-left--size-small {
|
|
1089
|
+
font-size: 0.875rem;
|
|
1090
|
+
font-size: var(--font-size-x-small);
|
|
1091
|
+
margin-left: 0.125rem; }
|
|
1092
|
+
.dnb-avatar__group--elements-left--size-medium {
|
|
1093
|
+
font-size: 1rem;
|
|
1094
|
+
font-size: var(--font-size-small);
|
|
1095
|
+
margin-left: 0.125rem; }
|
|
1096
|
+
.dnb-avatar__group--elements-left--size-large {
|
|
1097
|
+
font-size: 1.625rem;
|
|
1098
|
+
font-size: var(--font-size-large);
|
|
1099
|
+
margin-left: 0.25rem;
|
|
1100
|
+
margin-left: var(--spacing-xx-small); }
|
|
1101
|
+
.dnb-avatar__group--elements-left--size-x-large {
|
|
1102
|
+
font-size: 1.625rem;
|
|
1103
|
+
font-size: var(--font-size-large);
|
|
1104
|
+
margin-left: 0.25rem;
|
|
1105
|
+
margin-left: var(--spacing-xx-small); }
|
|
1106
|
+
|
|
958
1107
|
/*
|
|
959
1108
|
* Breadcrumb component
|
|
960
1109
|
*
|
|
@@ -2842,6 +2991,72 @@ html[data-visual-test] .dnb-global-status__shell {
|
|
|
2842
2991
|
-ms-flex: none;
|
|
2843
2992
|
flex: none; } }
|
|
2844
2993
|
|
|
2994
|
+
/*
|
|
2995
|
+
* InfoCard component
|
|
2996
|
+
*
|
|
2997
|
+
*/
|
|
2998
|
+
.dnb-info-card {
|
|
2999
|
+
display: -webkit-box;
|
|
3000
|
+
display: -ms-flexbox;
|
|
3001
|
+
display: flex;
|
|
3002
|
+
-webkit-box-orient: horizontal;
|
|
3003
|
+
-webkit-box-direction: normal;
|
|
3004
|
+
-ms-flex-direction: row;
|
|
3005
|
+
flex-direction: row;
|
|
3006
|
+
background: white;
|
|
3007
|
+
border: 1px solid #ebebeb;
|
|
3008
|
+
border: 1px solid var(--color-black-8);
|
|
3009
|
+
border-radius: 0.25rem;
|
|
3010
|
+
padding: 1rem;
|
|
3011
|
+
-webkit-box-shadow: 0 8px 16px rgba(51, 51, 51, 0.08);
|
|
3012
|
+
box-shadow: 0 8px 16px rgba(51, 51, 51, 0.08);
|
|
3013
|
+
-webkit-box-shadow: var(--shadow-default);
|
|
3014
|
+
box-shadow: var(--shadow-default); }
|
|
3015
|
+
.dnb-info-card--centered {
|
|
3016
|
+
-webkit-box-orient: vertical;
|
|
3017
|
+
-webkit-box-direction: normal;
|
|
3018
|
+
-ms-flex-direction: column;
|
|
3019
|
+
flex-direction: column;
|
|
3020
|
+
-webkit-box-align: center;
|
|
3021
|
+
-ms-flex-align: center;
|
|
3022
|
+
align-items: center;
|
|
3023
|
+
text-align: center; }
|
|
3024
|
+
.dnb-info-card--content {
|
|
3025
|
+
-webkit-box-orient: vertical;
|
|
3026
|
+
-webkit-box-direction: normal;
|
|
3027
|
+
-ms-flex-direction: column;
|
|
3028
|
+
flex-direction: column;
|
|
3029
|
+
margin-top: 0.1875rem; }
|
|
3030
|
+
.dnb-info-card--centered .dnb-info-card--content {
|
|
3031
|
+
-webkit-box-orient: vertical;
|
|
3032
|
+
-webkit-box-direction: normal;
|
|
3033
|
+
-ms-flex-direction: column;
|
|
3034
|
+
flex-direction: column;
|
|
3035
|
+
margin-top: 0; }
|
|
3036
|
+
.dnb-info-card--icon {
|
|
3037
|
+
color: #14555a;
|
|
3038
|
+
color: var(--color-emerald-green); }
|
|
3039
|
+
.dnb-info-card--image {
|
|
3040
|
+
height: 4rem;
|
|
3041
|
+
width: 4rem; }
|
|
3042
|
+
.dnb-info-card--buttons {
|
|
3043
|
+
display: -webkit-box;
|
|
3044
|
+
display: -ms-flexbox;
|
|
3045
|
+
display: flex;
|
|
3046
|
+
-webkit-box-orient: horizontal;
|
|
3047
|
+
-webkit-box-direction: normal;
|
|
3048
|
+
-ms-flex-direction: row;
|
|
3049
|
+
flex-direction: row; }
|
|
3050
|
+
.dnb-info-card--buttons-centered {
|
|
3051
|
+
-webkit-box-orient: vertical;
|
|
3052
|
+
-webkit-box-direction: normal;
|
|
3053
|
+
-ms-flex-direction: column;
|
|
3054
|
+
flex-direction: column;
|
|
3055
|
+
-webkit-box-align: center;
|
|
3056
|
+
-ms-flex-align: center;
|
|
3057
|
+
align-items: center;
|
|
3058
|
+
text-align: center; }
|
|
3059
|
+
|
|
2845
3060
|
/*
|
|
2846
3061
|
* Input component
|
|
2847
3062
|
*
|
|
@@ -6741,41 +6956,276 @@ html[data-visual-test] .dnb-tabs .dnb-tabs__scroll-nav-button {
|
|
|
6741
6956
|
* Tag component
|
|
6742
6957
|
*
|
|
6743
6958
|
*/
|
|
6744
|
-
|
|
6745
|
-
|
|
6746
|
-
|
|
6747
|
-
|
|
6748
|
-
|
|
6749
|
-
|
|
6750
|
-
|
|
6751
|
-
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
|
|
6755
|
-
|
|
6756
|
-
-ms-flex-pack: center;
|
|
6757
|
-
justify-content: center;
|
|
6758
|
-
-webkit-box-align: center;
|
|
6759
|
-
-ms-flex-align: center;
|
|
6760
|
-
align-items: center;
|
|
6761
|
-
padding: 0.25rem 0.5rem;
|
|
6762
|
-
padding: var(--spacing-xx-small) var(--spacing-x-small);
|
|
6763
|
-
font-size: 0.875rem;
|
|
6764
|
-
font-size: var(--font-size-x-small);
|
|
6959
|
+
/*
|
|
6960
|
+
* Button mixins
|
|
6961
|
+
*
|
|
6962
|
+
*/
|
|
6963
|
+
/*
|
|
6964
|
+
* Tag mixins
|
|
6965
|
+
*
|
|
6966
|
+
*/
|
|
6967
|
+
.dnb-tag.dnb-button {
|
|
6968
|
+
-webkit-appearance: none;
|
|
6969
|
+
-moz-appearance: none;
|
|
6970
|
+
appearance: none;
|
|
6765
6971
|
background-color: #ebebeb;
|
|
6766
|
-
background-color: var(--color-black-8);
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6771
|
-
|
|
6772
|
-
|
|
6773
|
-
-
|
|
6774
|
-
|
|
6775
|
-
|
|
6776
|
-
|
|
6777
|
-
|
|
6778
|
-
|
|
6972
|
+
background-color: var(--color-black-8); }
|
|
6973
|
+
.dnb-tag.dnb-button.dnb-button--size-small {
|
|
6974
|
+
padding-left: 0.5rem;
|
|
6975
|
+
padding-right: 0.5rem; }
|
|
6976
|
+
.dnb-tag.dnb-button.dnb-button--size-small.dnb-button--has-icon {
|
|
6977
|
+
padding-left: 0; }
|
|
6978
|
+
.dnb-tag.dnb-button .dnb-button__text {
|
|
6979
|
+
font-size: 0.875rem;
|
|
6980
|
+
font-size: var(--font-size-x-small);
|
|
6981
|
+
-webkit-transform: none;
|
|
6982
|
+
transform: none; }
|
|
6983
|
+
|
|
6984
|
+
.dnb-tag:not(.dnb-tag--interactive) {
|
|
6985
|
+
-webkit-user-select: unset;
|
|
6986
|
+
-moz-user-select: unset;
|
|
6987
|
+
-ms-user-select: unset;
|
|
6988
|
+
user-select: unset;
|
|
6989
|
+
cursor: unset; }
|
|
6990
|
+
.dnb-tag:not(.dnb-tag--interactive) .dnb-button__text {
|
|
6991
|
+
cursor: text; }
|
|
6992
|
+
|
|
6993
|
+
.dnb-tag--interactive.dnb-button {
|
|
6994
|
+
color: #007272;
|
|
6995
|
+
color: var(--color-sea-green);
|
|
6996
|
+
--border-color: var(--color-sea-green);
|
|
6997
|
+
-webkit-box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
6998
|
+
box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
6999
|
+
/* iOS fix - because "inset" works not fine with border-radius */
|
|
7000
|
+
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
|
|
7001
|
+
border-color: transparent; }
|
|
7002
|
+
@supports (-webkit-touch-callout: none) {
|
|
7003
|
+
.dnb-tag--interactive.dnb-button {
|
|
7004
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7005
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } }
|
|
7006
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
7007
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-overflow-scrolling: touch)) {
|
|
7008
|
+
.dnb-tag--interactive.dnb-button {
|
|
7009
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7010
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } } }
|
|
7011
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7012
|
+
.dnb-tag--interactive.dnb-button {
|
|
7013
|
+
-webkit-box-shadow: inset 0 0 0 1px #007272;
|
|
7014
|
+
box-shadow: inset 0 0 0 1px #007272;
|
|
7015
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--color-sea-green);
|
|
7016
|
+
box-shadow: inset 0 0 0 1px var(--color-sea-green); } }
|
|
7017
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:hover[disabled] {
|
|
7018
|
+
cursor: not-allowed; }
|
|
7019
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:hover:not([disabled]) {
|
|
7020
|
+
color: #007272;
|
|
7021
|
+
color: var(--color-sea-green);
|
|
7022
|
+
background-color: #ebebeb;
|
|
7023
|
+
background-color: var(--color-black-8);
|
|
7024
|
+
--border-color: var(--color-emerald-green);
|
|
7025
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7026
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7027
|
+
border-color: transparent; }
|
|
7028
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7029
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:hover:not([disabled]) {
|
|
7030
|
+
-webkit-box-shadow: 0 0 0 0.125rem #14555a;
|
|
7031
|
+
box-shadow: 0 0 0 0.125rem #14555a;
|
|
7032
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
|
|
7033
|
+
box-shadow: 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
7034
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7035
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:hover:not([disabled]) {
|
|
7036
|
+
opacity: 1; } }
|
|
7037
|
+
.dnb-tag--interactive.dnb-button:focus[disabled],
|
|
7038
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus[disabled] {
|
|
7039
|
+
cursor: not-allowed; }
|
|
7040
|
+
.dnb-tag--interactive.dnb-button:focus:not([disabled]),
|
|
7041
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7042
|
+
outline: none; }
|
|
7043
|
+
html[data-whatinput='keyboard'] .dnb-tag--interactive.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7044
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7045
|
+
color: #007272;
|
|
7046
|
+
color: var(--color-sea-green);
|
|
7047
|
+
background-color: #ebebeb;
|
|
7048
|
+
background-color: var(--color-black-8); }
|
|
7049
|
+
html[data-whatinput='keyboard'] .dnb-tag--interactive.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7050
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7051
|
+
--border-color: var(--color-emerald-green);
|
|
7052
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem var(--border-color);
|
|
7053
|
+
box-shadow: inset 0 0 0 0.125rem var(--border-color);
|
|
7054
|
+
/* iOS fix - because "inset" works not fine with border-radius */
|
|
7055
|
+
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
|
|
7056
|
+
border-color: transparent; }
|
|
7057
|
+
@supports (-webkit-touch-callout: none) {
|
|
7058
|
+
html[data-whatinput='keyboard'] .dnb-tag--interactive.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7059
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7060
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7061
|
+
box-shadow: 0 0 0 0.125rem var(--border-color); } }
|
|
7062
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
7063
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-overflow-scrolling: touch)) {
|
|
7064
|
+
html[data-whatinput='keyboard'] .dnb-tag--interactive.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7065
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7066
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7067
|
+
box-shadow: 0 0 0 0.125rem var(--border-color); } } }
|
|
7068
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7069
|
+
html[data-whatinput='keyboard'] .dnb-tag--interactive.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7070
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:focus:not([disabled]) {
|
|
7071
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem #14555a;
|
|
7072
|
+
box-shadow: inset 0 0 0 0.125rem #14555a;
|
|
7073
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem var(--color-emerald-green);
|
|
7074
|
+
box-shadow: inset 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
7075
|
+
.dnb-tag--interactive.dnb-button:active[disabled],
|
|
7076
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:active[disabled] {
|
|
7077
|
+
cursor: not-allowed; }
|
|
7078
|
+
.dnb-tag--interactive.dnb-button:active:not([disabled]),
|
|
7079
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:active:not([disabled]) {
|
|
7080
|
+
color: #007272;
|
|
7081
|
+
color: var(--color-sea-green);
|
|
7082
|
+
background-color: #d2f0e9;
|
|
7083
|
+
background-color: var(--color-mint-green-50);
|
|
7084
|
+
--border-color: transparent;
|
|
7085
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7086
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7087
|
+
border-color: transparent; }
|
|
7088
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7089
|
+
.dnb-tag--interactive.dnb-button:active:not([disabled]),
|
|
7090
|
+
html:not([data-whatintent='touch']) .dnb-tag--interactive.dnb-button:active:not([disabled]) {
|
|
7091
|
+
-webkit-box-shadow: 0 0 0 0.0625rem transparent;
|
|
7092
|
+
box-shadow: 0 0 0 0.0625rem transparent; } }
|
|
7093
|
+
.dnb-tag--interactive.dnb-button[disabled] {
|
|
7094
|
+
color: #b3dada;
|
|
7095
|
+
color: var(--color-sea-green-30);
|
|
7096
|
+
background-color: #fff;
|
|
7097
|
+
background-color: var(--color-white);
|
|
7098
|
+
--border-color: var(--color-sea-green-30);
|
|
7099
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7100
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7101
|
+
border-color: transparent; }
|
|
7102
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7103
|
+
.dnb-tag--interactive.dnb-button[disabled] {
|
|
7104
|
+
-webkit-box-shadow: 0 0 0 0.0625rem #b3dada;
|
|
7105
|
+
box-shadow: 0 0 0 0.0625rem #b3dada;
|
|
7106
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--color-sea-green-30);
|
|
7107
|
+
box-shadow: 0 0 0 0.0625rem var(--color-sea-green-30); } }
|
|
7108
|
+
|
|
7109
|
+
.dnb-tag--removable.dnb-button {
|
|
7110
|
+
color: #fff;
|
|
7111
|
+
color: var(--color-white);
|
|
7112
|
+
background-color: #007272;
|
|
7113
|
+
background-color: var(--color-sea-green); }
|
|
7114
|
+
.dnb-tag--removable.dnb-button svg .dnb-icon-close-circle-path {
|
|
7115
|
+
fill: #fff;
|
|
7116
|
+
fill: var(--color-white); }
|
|
7117
|
+
.dnb-tag--removable.dnb-button svg .dnb-icon-close-cross-path {
|
|
7118
|
+
stroke: #007272;
|
|
7119
|
+
stroke: var(--color-sea-green); }
|
|
7120
|
+
.dnb-tag--removable.dnb-button:focus[disabled],
|
|
7121
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus[disabled] {
|
|
7122
|
+
cursor: not-allowed; }
|
|
7123
|
+
.dnb-tag--removable.dnb-button:focus:not([disabled]),
|
|
7124
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7125
|
+
outline: none; }
|
|
7126
|
+
html[data-whatinput='keyboard'] .dnb-tag--removable.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7127
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7128
|
+
color: #007272;
|
|
7129
|
+
color: var(--color-sea-green);
|
|
7130
|
+
background-color: #fff;
|
|
7131
|
+
background-color: var(--color-white); }
|
|
7132
|
+
html[data-whatinput='keyboard'] .dnb-tag--removable.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7133
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7134
|
+
--border-color: var(--color-emerald-green);
|
|
7135
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem var(--border-color);
|
|
7136
|
+
box-shadow: inset 0 0 0 0.125rem var(--border-color);
|
|
7137
|
+
/* iOS fix - because "inset" works not fine with border-radius */
|
|
7138
|
+
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
|
|
7139
|
+
border-color: transparent; }
|
|
7140
|
+
@supports (-webkit-touch-callout: none) {
|
|
7141
|
+
html[data-whatinput='keyboard'] .dnb-tag--removable.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7142
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7143
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7144
|
+
box-shadow: 0 0 0 0.125rem var(--border-color); } }
|
|
7145
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
7146
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-overflow-scrolling: touch)) {
|
|
7147
|
+
html[data-whatinput='keyboard'] .dnb-tag--removable.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7148
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7149
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7150
|
+
box-shadow: 0 0 0 0.125rem var(--border-color); } } }
|
|
7151
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7152
|
+
html[data-whatinput='keyboard'] .dnb-tag--removable.dnb-button:focus:not([disabled]), html[data-whatinput='keyboard']
|
|
7153
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) {
|
|
7154
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem #14555a;
|
|
7155
|
+
box-shadow: inset 0 0 0 0.125rem #14555a;
|
|
7156
|
+
-webkit-box-shadow: inset 0 0 0 0.125rem var(--color-emerald-green);
|
|
7157
|
+
box-shadow: inset 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
7158
|
+
.dnb-tag--removable.dnb-button:focus:not([disabled]) svg .dnb-icon-close-circle-path,
|
|
7159
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) svg .dnb-icon-close-circle-path {
|
|
7160
|
+
fill: #007272;
|
|
7161
|
+
fill: var(--color-sea-green); }
|
|
7162
|
+
.dnb-tag--removable.dnb-button:focus:not([disabled]) svg .dnb-icon-close-cross-path,
|
|
7163
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:focus:not([disabled]) svg .dnb-icon-close-cross-path {
|
|
7164
|
+
stroke: #fff;
|
|
7165
|
+
stroke: var(--color-white); }
|
|
7166
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover[disabled] {
|
|
7167
|
+
cursor: not-allowed; }
|
|
7168
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover:not([disabled]) {
|
|
7169
|
+
color: #007272;
|
|
7170
|
+
color: var(--color-sea-green);
|
|
7171
|
+
background-color: #fff;
|
|
7172
|
+
background-color: var(--color-white);
|
|
7173
|
+
--border-color: var(--color-emerald-green);
|
|
7174
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7175
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
7176
|
+
border-color: transparent; }
|
|
7177
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7178
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover:not([disabled]) {
|
|
7179
|
+
-webkit-box-shadow: 0 0 0 0.125rem #14555a;
|
|
7180
|
+
box-shadow: 0 0 0 0.125rem #14555a;
|
|
7181
|
+
-webkit-box-shadow: 0 0 0 0.125rem var(--color-emerald-green);
|
|
7182
|
+
box-shadow: 0 0 0 0.125rem var(--color-emerald-green); } }
|
|
7183
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7184
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover:not([disabled]) {
|
|
7185
|
+
opacity: 1; } }
|
|
7186
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover:not([disabled]) svg .dnb-icon-close-circle-path {
|
|
7187
|
+
fill: #007272;
|
|
7188
|
+
fill: var(--color-sea-green); }
|
|
7189
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:hover:not([disabled]) svg .dnb-icon-close-cross-path {
|
|
7190
|
+
stroke: #fff;
|
|
7191
|
+
stroke: var(--color-white); }
|
|
7192
|
+
.dnb-tag--removable.dnb-button:active[disabled],
|
|
7193
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:active[disabled] {
|
|
7194
|
+
cursor: not-allowed; }
|
|
7195
|
+
.dnb-tag--removable.dnb-button:active:not([disabled]),
|
|
7196
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:active:not([disabled]) {
|
|
7197
|
+
color: #007272;
|
|
7198
|
+
color: var(--color-sea-green);
|
|
7199
|
+
background-color: #d2f0e9;
|
|
7200
|
+
background-color: var(--color-mint-green-50);
|
|
7201
|
+
--border-color: transparent;
|
|
7202
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7203
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7204
|
+
border-color: transparent; }
|
|
7205
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7206
|
+
.dnb-tag--removable.dnb-button:active:not([disabled]),
|
|
7207
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:active:not([disabled]) {
|
|
7208
|
+
-webkit-box-shadow: 0 0 0 0.0625rem transparent;
|
|
7209
|
+
box-shadow: 0 0 0 0.0625rem transparent; } }
|
|
7210
|
+
.dnb-tag--removable.dnb-button:active:not([disabled]) svg .dnb-icon-close-circle-path,
|
|
7211
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:active:not([disabled]) svg .dnb-icon-close-circle-path {
|
|
7212
|
+
fill: #007272;
|
|
7213
|
+
fill: var(--color-sea-green); }
|
|
7214
|
+
.dnb-tag--removable.dnb-button:active:not([disabled]) svg .dnb-icon-close-cross-path,
|
|
7215
|
+
html:not([data-whatintent='touch']) .dnb-tag--removable.dnb-button:active:not([disabled]) svg .dnb-icon-close-cross-path {
|
|
7216
|
+
stroke: #fff;
|
|
7217
|
+
stroke: var(--color-white); }
|
|
7218
|
+
.dnb-tag--removable.dnb-button[disabled] svg .dnb-icon-close-circle-path {
|
|
7219
|
+
fill: #d2f0e9;
|
|
7220
|
+
fill: var(--color-mint-green-50); }
|
|
7221
|
+
.dnb-tag--removable.dnb-button[disabled] svg .dnb-icon-close-cross-path {
|
|
7222
|
+
stroke: #b3dada;
|
|
7223
|
+
stroke: var(--color-sea-green-30); }
|
|
7224
|
+
.dnb-tag--removable.dnb-button .dnb-button__text {
|
|
7225
|
+
padding-left: 0.5rem; }
|
|
7226
|
+
|
|
7227
|
+
.dnb-tag--removable.dnb-button--size-small.dnb-button--has-icon {
|
|
7228
|
+
padding-right: 0; }
|
|
6779
7229
|
|
|
6780
7230
|
/*
|
|
6781
7231
|
* Textarea component
|
|
@@ -7071,6 +7521,232 @@ html[data-visual-test] .dnb-tabs .dnb-tabs__scroll-nav-button {
|
|
|
7071
7521
|
-ms-flex: none;
|
|
7072
7522
|
flex: none; } }
|
|
7073
7523
|
|
|
7524
|
+
/*
|
|
7525
|
+
* Timeline component
|
|
7526
|
+
*
|
|
7527
|
+
*/
|
|
7528
|
+
/*
|
|
7529
|
+
* Timeline theme
|
|
7530
|
+
*
|
|
7531
|
+
*/
|
|
7532
|
+
:root {
|
|
7533
|
+
--timeline-icon-height--small: var(--button-height--small);
|
|
7534
|
+
--timeline-icon-width--small: var(--button-width--small);
|
|
7535
|
+
--timeline-icon-border-radius--small: calc(var(--timeline-icon-height--small)/2);
|
|
7536
|
+
--timeline-icon-border-radius--small: calc(
|
|
7537
|
+
var(--timeline-icon-height--small) / 2
|
|
7538
|
+
);
|
|
7539
|
+
--timeline-icon-height--medium: var(--button-height--medium);
|
|
7540
|
+
--timeline-icon-width--medium: var(--button-width--medium);
|
|
7541
|
+
--timeline-icon-border-radius--medium: calc(var(--timeline-icon-height--medium)/2);
|
|
7542
|
+
--timeline-icon-border-radius--medium: calc(
|
|
7543
|
+
var(--timeline-icon-height--medium) / 2
|
|
7544
|
+
);
|
|
7545
|
+
--timeline-icon-width-diff: calc(var(--timeline-icon-width--medium)/2 - var(--timeline-icon-width--small)/2);
|
|
7546
|
+
--timeline-icon-width-diff: calc(
|
|
7547
|
+
(
|
|
7548
|
+
var(--timeline-icon-width--medium) -
|
|
7549
|
+
var(--timeline-icon-width--small)
|
|
7550
|
+
) / 2
|
|
7551
|
+
);
|
|
7552
|
+
--timeline-border-spacing: var(--spacing-small);
|
|
7553
|
+
--timeline-border-spacing--icon-adjusted: calc(var(--timeline-icon-width-diff) + var(--timeline-border-spacing));
|
|
7554
|
+
--timeline-border-spacing--icon-adjusted: calc(
|
|
7555
|
+
var(--timeline-icon-width-diff) + var(--timeline-border-spacing)
|
|
7556
|
+
); }
|
|
7557
|
+
|
|
7558
|
+
.dnb-timeline__item {
|
|
7559
|
+
margin-left: 0.25rem;
|
|
7560
|
+
margin-left: calc(
|
|
7561
|
+
(
|
|
7562
|
+
2rem -
|
|
7563
|
+
1.5rem) / 2
|
|
7564
|
+
);
|
|
7565
|
+
margin-left: var(--timeline-icon-width-diff); }
|
|
7566
|
+
.dnb-timeline__item__label__icon {
|
|
7567
|
+
width: 1.5rem;
|
|
7568
|
+
width: var(--timeline-icon-width--small);
|
|
7569
|
+
line-height: 1.5rem;
|
|
7570
|
+
line-height: var(--timeline-icon-height--small);
|
|
7571
|
+
border-radius: 0.75rem;
|
|
7572
|
+
border-radius: calc(
|
|
7573
|
+
1.5rem / 2
|
|
7574
|
+
);
|
|
7575
|
+
border-radius: var(--timeline-icon-border-radius--small);
|
|
7576
|
+
color: #333;
|
|
7577
|
+
color: var(--color-black-80);
|
|
7578
|
+
background-color: #fff;
|
|
7579
|
+
background-color: var(--color-white);
|
|
7580
|
+
--border-color: var(--color-black-80);
|
|
7581
|
+
-webkit-box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
7582
|
+
box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
7583
|
+
/* iOS fix - because "inset" works not fine with border-radius */
|
|
7584
|
+
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
|
|
7585
|
+
border-color: transparent; }
|
|
7586
|
+
@supports (-webkit-touch-callout: none) {
|
|
7587
|
+
.dnb-timeline__item__label__icon {
|
|
7588
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7589
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } }
|
|
7590
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
7591
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-overflow-scrolling: touch)) {
|
|
7592
|
+
.dnb-timeline__item__label__icon {
|
|
7593
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7594
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } } }
|
|
7595
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7596
|
+
.dnb-timeline__item__label__icon {
|
|
7597
|
+
-webkit-box-shadow: inset 0 0 0 1px #333;
|
|
7598
|
+
box-shadow: inset 0 0 0 1px #333;
|
|
7599
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--color-black-80);
|
|
7600
|
+
box-shadow: inset 0 0 0 1px var(--color-black-80); } }
|
|
7601
|
+
.dnb-timeline__item__label__name {
|
|
7602
|
+
margin-left: 1.25rem;
|
|
7603
|
+
margin-left: calc(
|
|
7604
|
+
calc(
|
|
7605
|
+
(
|
|
7606
|
+
2rem -
|
|
7607
|
+
1.5rem) / 2
|
|
7608
|
+
) + 1rem);
|
|
7609
|
+
margin-left: var(--timeline-border-spacing--icon-adjusted);
|
|
7610
|
+
font-size: 1rem;
|
|
7611
|
+
font-size: var(--font-size-small);
|
|
7612
|
+
line-height: 1.25rem;
|
|
7613
|
+
line-height: var(--line-height-small); }
|
|
7614
|
+
.dnb-timeline__item__content {
|
|
7615
|
+
margin-left: 0.75rem;
|
|
7616
|
+
margin-left: calc(1.5rem / 2);
|
|
7617
|
+
margin-left: calc(var(--timeline-icon-width--small)/2);
|
|
7618
|
+
margin-left: calc(var(--timeline-icon-width--small) / 2);
|
|
7619
|
+
padding-left: 2rem;
|
|
7620
|
+
padding-left: calc(1.5rem / 2 + calc(
|
|
7621
|
+
calc(
|
|
7622
|
+
(
|
|
7623
|
+
2rem -
|
|
7624
|
+
1.5rem) / 2
|
|
7625
|
+
) + 1rem));
|
|
7626
|
+
padding-left: calc(var(--timeline-icon-width--small)/2 + var(--timeline-border-spacing--icon-adjusted));
|
|
7627
|
+
padding-left: calc(var(--timeline-icon-width--small) / 2 + var(--timeline-border-spacing--icon-adjusted));
|
|
7628
|
+
border-left: 1px dashed #737373;
|
|
7629
|
+
border-left: 1px dashed var(--color-black-55); }
|
|
7630
|
+
.dnb-timeline__item--completed .dnb-timeline__item__content {
|
|
7631
|
+
border-left: 1px solid #333;
|
|
7632
|
+
border-left: 1px solid var(--color-black-80); }
|
|
7633
|
+
.dnb-timeline__item--completed .dnb-timeline__item__label__name {
|
|
7634
|
+
color: #333;
|
|
7635
|
+
color: var(--color-black-80); }
|
|
7636
|
+
.dnb-timeline__item--current .dnb-timeline__item__content {
|
|
7637
|
+
margin-left: 1rem;
|
|
7638
|
+
margin-left: calc(2rem / 2);
|
|
7639
|
+
margin-left: calc(var(--timeline-icon-width--medium)/2);
|
|
7640
|
+
margin-left: calc(var(--timeline-icon-width--medium) / 2);
|
|
7641
|
+
padding-left: 2rem;
|
|
7642
|
+
padding-left: calc(2rem / 2 + 1rem);
|
|
7643
|
+
padding-left: calc(var(--timeline-icon-width--medium)/2 + var(--timeline-border-spacing));
|
|
7644
|
+
padding-left: calc(var(--timeline-icon-width--medium) / 2 + var(--timeline-border-spacing)); }
|
|
7645
|
+
.dnb-timeline__item--current .dnb-timeline__item__label__name {
|
|
7646
|
+
margin-left: 1rem;
|
|
7647
|
+
margin-left: var(--timeline-border-spacing);
|
|
7648
|
+
font-weight: 500;
|
|
7649
|
+
font-weight: var(--font-weight-medium);
|
|
7650
|
+
font-size: 1.125rem;
|
|
7651
|
+
font-size: var(--font-size-basis);
|
|
7652
|
+
line-height: 1.5rem;
|
|
7653
|
+
line-height: var(--line-height-basis); }
|
|
7654
|
+
.dnb-timeline__item--current .dnb-timeline__item__label__icon {
|
|
7655
|
+
width: 2rem;
|
|
7656
|
+
width: var(--timeline-icon-width--medium);
|
|
7657
|
+
line-height: 2rem;
|
|
7658
|
+
line-height: var(--timeline-icon-height--medium);
|
|
7659
|
+
border-radius: 1rem;
|
|
7660
|
+
border-radius: calc(
|
|
7661
|
+
2rem / 2
|
|
7662
|
+
);
|
|
7663
|
+
border-radius: var(--timeline-icon-border-radius--medium); }
|
|
7664
|
+
.dnb-timeline__item--current {
|
|
7665
|
+
margin-left: 0; }
|
|
7666
|
+
.dnb-timeline__item--upcoming .dnb-timeline__item__label__name {
|
|
7667
|
+
font-weight: normal;
|
|
7668
|
+
font-weight: var(--font-weight-basis);
|
|
7669
|
+
color: #737373;
|
|
7670
|
+
color: var(--color-black-55); }
|
|
7671
|
+
.dnb-timeline__item--upcoming:not(.dnb-skeleton) .dnb-timeline__item__label__icon {
|
|
7672
|
+
color: #737373;
|
|
7673
|
+
color: var(--color-black-55);
|
|
7674
|
+
background-color: #f8f8f8;
|
|
7675
|
+
background-color: var(--color-black-3);
|
|
7676
|
+
--border-color: var(--color-black-3);
|
|
7677
|
+
-webkit-box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
7678
|
+
box-shadow: inset 0 0 0 0.0625rem var(--border-color);
|
|
7679
|
+
/* iOS fix - because "inset" works not fine with border-radius */
|
|
7680
|
+
/* Safari fix - because "inset" works not fine with border-radius if the user zooms the page */
|
|
7681
|
+
border-color: transparent; }
|
|
7682
|
+
@supports (-webkit-touch-callout: none) {
|
|
7683
|
+
.dnb-timeline__item--upcoming:not(.dnb-skeleton) .dnb-timeline__item__label__icon {
|
|
7684
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7685
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } }
|
|
7686
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
7687
|
+
@supports (-webkit-appearance: none) and (stroke-color: transparent) and (not (-webkit-overflow-scrolling: touch)) {
|
|
7688
|
+
.dnb-timeline__item--upcoming:not(.dnb-skeleton) .dnb-timeline__item__label__icon {
|
|
7689
|
+
-webkit-box-shadow: 0 0 0 0.0625rem var(--border-color);
|
|
7690
|
+
box-shadow: 0 0 0 0.0625rem var(--border-color); } } }
|
|
7691
|
+
@media screen and (-ms-high-contrast: none) {
|
|
7692
|
+
.dnb-timeline__item--upcoming:not(.dnb-skeleton) .dnb-timeline__item__label__icon {
|
|
7693
|
+
-webkit-box-shadow: inset 0 0 0 1px #f8f8f8;
|
|
7694
|
+
box-shadow: inset 0 0 0 1px #f8f8f8;
|
|
7695
|
+
-webkit-box-shadow: inset 0 0 0 1px var(--color-black-3);
|
|
7696
|
+
box-shadow: inset 0 0 0 1px var(--color-black-3); } }
|
|
7697
|
+
.dnb-timeline__item:only-child {
|
|
7698
|
+
margin-left: 0; }
|
|
7699
|
+
.dnb-timeline__item:last-child .dnb-timeline__item__content {
|
|
7700
|
+
border-left: none; }
|
|
7701
|
+
|
|
7702
|
+
.dnb-timeline {
|
|
7703
|
+
display: -webkit-box;
|
|
7704
|
+
display: -ms-flexbox;
|
|
7705
|
+
display: flex;
|
|
7706
|
+
-webkit-box-orient: vertical;
|
|
7707
|
+
-webkit-box-direction: normal;
|
|
7708
|
+
-ms-flex-direction: column;
|
|
7709
|
+
flex-direction: column; }
|
|
7710
|
+
.dnb-timeline__item__label {
|
|
7711
|
+
display: -webkit-box;
|
|
7712
|
+
display: -ms-flexbox;
|
|
7713
|
+
display: flex;
|
|
7714
|
+
-webkit-box-align: center;
|
|
7715
|
+
-ms-flex-align: center;
|
|
7716
|
+
align-items: center;
|
|
7717
|
+
text-align: left;
|
|
7718
|
+
padding: 0; }
|
|
7719
|
+
.dnb-timeline__item__label__icon {
|
|
7720
|
+
display: -webkit-box;
|
|
7721
|
+
display: -ms-flexbox;
|
|
7722
|
+
display: flex;
|
|
7723
|
+
-ms-flex-negative: 0;
|
|
7724
|
+
flex-shrink: 0;
|
|
7725
|
+
-webkit-box-align: center;
|
|
7726
|
+
-ms-flex-align: center;
|
|
7727
|
+
align-items: center;
|
|
7728
|
+
height: auto;
|
|
7729
|
+
-webkit-box-pack: center;
|
|
7730
|
+
-ms-flex-pack: center;
|
|
7731
|
+
justify-content: center;
|
|
7732
|
+
padding: 0; }
|
|
7733
|
+
.dnb-timeline__item__label__name {
|
|
7734
|
+
cursor: text; }
|
|
7735
|
+
.dnb-timeline__item__content {
|
|
7736
|
+
padding-bottom: 1rem;
|
|
7737
|
+
padding-bottom: var(--spacing-small); }
|
|
7738
|
+
.dnb-timeline__item__content__date {
|
|
7739
|
+
cursor: text;
|
|
7740
|
+
font-size: 0.875rem;
|
|
7741
|
+
font-size: var(--font-size-x-small);
|
|
7742
|
+
font-weight: normal;
|
|
7743
|
+
font-weight: var(--font-weight-basis);
|
|
7744
|
+
color: #737373;
|
|
7745
|
+
color: var(--color-black-55); }
|
|
7746
|
+
.dnb-timeline__item__content__info {
|
|
7747
|
+
padding-top: 0.5rem;
|
|
7748
|
+
padding-top: var(--spacing-x-small); }
|
|
7749
|
+
|
|
7074
7750
|
/*
|
|
7075
7751
|
* ToggleButton component
|
|
7076
7752
|
*
|