@akad/design-system 4.0.2 → 5.0.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/css/core.css +1 -1
- package/css/theme-aon.css +1 -1
- package/css/theme-bees.css +1 -1
- package/css/theme-bmc.css +1 -1
- package/css/theme-default.css +1 -1
- package/css/theme-linker.css +1 -1
- package/css/theme-oggi.css +1 -1
- package/css/theme-streetgo.css +1 -1
- package/package.json +13 -4
- package/react/react-lib.js +5376 -5010
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Badge/Badge.config.d.ts +37 -0
- package/react/src/components/atoms/Badge/Badge.d.ts +22 -0
- package/react/src/components/atoms/Badge/Badge.stories.d.ts +64 -0
- package/react/src/components/atoms/Badge/index.d.ts +4 -0
- package/react/src/components/atoms/Button/Button.config.d.ts +11 -34
- package/react/src/components/atoms/Button/Button.d.ts +34 -61
- package/react/src/components/atoms/Button/Button.stories.d.ts +11 -1
- package/react/src/components/atoms/Button/Button.tracking.d.ts +22 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +41 -87
- package/react/src/components/atoms/Card/Card.d.ts +16 -18
- package/react/src/components/atoms/Card/Card.stories.d.ts +13 -47
- package/react/src/components/atoms/Checkbox/Checkbox.config.d.ts +19 -25
- package/react/src/components/atoms/Checkbox/Checkbox.d.ts +28 -2
- package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +43 -3
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.config.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.stories.d.ts +39 -0
- package/react/src/components/atoms/FeedbackMessage/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +13 -13
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.d.ts +8 -11
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +1 -1
- package/react/src/components/atoms/Icon/Icon.config.d.ts +37 -103
- package/react/src/components/atoms/Icon/Icon.d.ts +8 -25
- package/react/src/components/atoms/Icon/Icon.stories.d.ts +10 -4
- package/react/src/components/atoms/IconButton/IconButton.config.d.ts +46 -0
- package/react/src/components/atoms/IconButton/IconButton.d.ts +33 -0
- package/react/src/components/atoms/IconButton/IconButton.stories.d.ts +17 -0
- package/react/src/components/atoms/IconButton/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +29 -39
- package/react/src/components/atoms/Input/Input.d.ts +34 -15
- package/react/src/components/atoms/Input/Input.stories.d.ts +30 -3
- package/react/src/components/atoms/Loading/Loading.config.d.ts +18 -26
- package/react/src/components/atoms/Loading/Loading.d.ts +13 -15
- package/react/src/components/atoms/Loading/Loading.stories.d.ts +22 -1
- package/react/src/components/atoms/Radio/Radio.config.d.ts +8 -10
- package/react/src/components/atoms/Radio/Radio.d.ts +21 -9
- package/react/src/components/atoms/Radio/Radio.stories.d.ts +10 -43
- package/react/src/components/atoms/Radio/index.d.ts +1 -1
- package/react/src/components/atoms/Select/Select.config.d.ts +9 -14
- package/react/src/components/atoms/Select/Select.d.ts +20 -10
- package/react/src/components/atoms/Select/Select.stories.d.ts +0 -2
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +30 -43
- package/react/src/components/atoms/TextArea/TextArea.d.ts +23 -14
- package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +13 -7
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +20 -19
- package/react/src/components/atoms/Tooltip/Tooltip.d.ts +9 -11
- package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -37
- package/react/src/components/bosons/Container/Container.config.d.ts +8 -0
- package/react/src/components/bosons/Container/Container.d.ts +3 -9
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +8 -8
- package/react/src/components/bosons/Spacer/Spacer.d.ts +3 -7
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +11 -3
- package/react/src/components/bosons/Wrapper/Wrapper.d.ts +3 -1
- package/react/src/components/index.d.ts +13 -16
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +6 -0
- package/react/src/components/molecules/Accordion/Accordion.d.ts +4 -7
- package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +10 -2
- package/react/src/components/molecules/Accordion/index.d.ts +0 -4
- package/react/src/components/molecules/ActiveTags/ActiveTags.config.d.ts +15 -8
- package/react/src/components/molecules/ActiveTags/ActiveTags.d.ts +13 -10
- package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +39 -5
- package/react/src/components/molecules/Alert/Alert.config.d.ts +54 -0
- package/react/src/components/molecules/Alert/Alert.d.ts +34 -0
- package/react/src/components/molecules/Alert/Alert.stories.d.ts +217 -0
- package/react/src/components/molecules/Alert/index.d.ts +4 -0
- package/react/src/components/molecules/Carousel/Carousel.config.d.ts +9 -1
- package/react/src/components/molecules/Carousel/Carousel.d.ts +5 -14
- package/react/src/components/molecules/Carousel/Carousel.stories.d.ts +31 -0
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardForm.stories.d.ts +21 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.config.d.ts +25 -18
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardGroup.d.ts +33 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.stories.d.ts +28 -16
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/index.d.ts +0 -4
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.config.d.ts +27 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +37 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +23 -0
- package/react/src/components/molecules/CheckboxGroup/index.d.ts +4 -0
- package/react/src/components/molecules/Combobox/Combobox.config.d.ts +88 -0
- package/react/src/components/molecules/Combobox/Combobox.d.ts +48 -0
- package/react/src/components/molecules/Combobox/Combobox.stories.d.ts +61 -0
- package/react/src/components/molecules/Combobox/index.d.ts +4 -0
- package/react/src/components/molecules/Indicator/Indicator.config.d.ts +4 -4
- package/react/src/components/molecules/Indicator/Indicator.d.ts +5 -1
- package/react/src/components/molecules/InlineEditable/InlineEditable.config.d.ts +24 -53
- package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +5 -11
- package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +17 -3
- package/react/src/components/molecules/InlineEditable/index.d.ts +2 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +23 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +19 -13
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +18 -1
- package/react/src/components/molecules/ProgressBar/ProgressBar.config.d.ts +45 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.d.ts +23 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.stories.d.ts +33 -0
- package/react/src/components/molecules/ProgressBar/index.d.ts +4 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.config.d.ts +26 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.d.ts +40 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.stories.d.ts +20 -0
- package/react/src/components/molecules/RadioCardGroup/index.d.ts +4 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.config.d.ts +27 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.d.ts +38 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.stories.d.ts +19 -0
- package/react/src/components/molecules/RadioGroup/index.d.ts +4 -0
- package/react/src/components/{atoms → molecules}/SegmentControl/SegmentControl.config.d.ts +18 -9
- package/react/src/components/molecules/SegmentControl/SegmentControl.d.ts +28 -0
- package/react/src/components/molecules/SegmentControl/SegmentControl.stories.d.ts +137 -0
- package/react/src/components/molecules/Stepper/Stepper.config.d.ts +39 -4
- package/react/src/components/molecules/Stepper/Stepper.d.ts +17 -8
- package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +37 -13
- package/react/src/components/molecules/Table/Table.config.d.ts +6 -15
- package/react/src/components/molecules/Table/Table.d.ts +13 -2
- package/react/src/components/molecules/Table/Table.stories.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +21 -25
- package/react/src/components/molecules/Tabs/Tabs.d.ts +6 -9
- package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +51 -24
- package/react/src/components/molecules/Tabs/index.d.ts +0 -1
- package/react/src/components/organisms/Modal/Modal.config.d.ts +21 -0
- package/react/src/components/organisms/Modal/Modal.d.ts +25 -0
- package/react/src/components/organisms/Modal/Modal.stories.d.ts +74 -0
- package/react/src/components/organisms/NotificationList/NotificationList.d.ts +6 -11
- package/react/src/components/propLeakage.test.d.ts +1 -0
- package/react/src/components/{molecules → providers}/ThemeProvider/ThemeProvider.config.d.ts +11 -6
- package/react/src/components/providers/ThemeProvider/ThemeProvider.d.ts +12 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.stories.d.ts +17 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.test.d.ts +1 -0
- package/react/src/components/providers/ThemeProvider/index.d.ts +4 -0
- package/react/src/components/templates/TwoColumns/TwoColumns.d.ts +6 -13
- package/react/src/components/{atoms/Caption/Caption.stories.d.ts → templates/TwoColumns/TwoColumns.stories.d.ts} +2 -3
- package/react/src/enum/layoutTag.d.ts +10 -0
- package/react/src/helpers/feedbackMessage.d.ts +22 -0
- package/react/src/helpers/feedbackMessage.test.d.ts +1 -0
- package/react/src/helpers/testId.d.ts +7 -0
- package/react/src/helpers/testId.test.d.ts +1 -0
- package/react/src/helpers/useInternalValue.d.ts +23 -0
- package/react/src/helpers/useInternalValue.test.d.ts +1 -0
- package/scss/core/README.md +56 -0
- package/scss/core/base/typography.scss +3 -4
- package/scss/core/components/atoms/badge.scss +116 -0
- package/scss/core/components/atoms/button.scss +94 -797
- package/scss/core/components/atoms/card.scss +74 -126
- package/scss/core/components/atoms/checkbox.scss +110 -47
- package/scss/core/components/atoms/feedback-message.scss +38 -0
- package/scss/core/components/atoms/horizontal-rule.scss +4 -5
- package/scss/core/components/atoms/icon-button.scss +18 -0
- package/scss/core/components/atoms/icon.scss +53 -38
- package/scss/core/components/atoms/input.scss +248 -259
- package/scss/core/components/atoms/loading.scss +133 -77
- package/scss/core/components/atoms/radio.scss +84 -100
- package/scss/core/components/atoms/select.scss +151 -176
- package/scss/core/components/atoms/textarea.scss +154 -281
- package/scss/core/components/atoms/tooltip.scss +129 -149
- package/scss/core/components/bosons/caption.scss +10 -0
- package/scss/core/components/bosons/container.scss +5 -1
- package/scss/core/components/bosons/flex.scss +121 -0
- package/scss/core/components/bosons/grid.scss +39 -43
- package/scss/core/components/bosons/heading.scss +29 -0
- package/scss/core/components/bosons/label.scss +21 -0
- package/scss/core/components/bosons/paragraph.scss +62 -0
- package/scss/core/components/bosons/spacer.scss +6 -34
- package/scss/core/components/bosons/subtitle.scss +9 -0
- package/scss/core/components/bosons/wrapper.scss +10 -2
- package/scss/core/components/index.scss +19 -17
- package/scss/core/components/molecules/accordion.scss +42 -48
- package/scss/core/components/molecules/active-tags.scss +102 -28
- package/scss/core/components/molecules/alert.scss +145 -0
- package/scss/core/components/molecules/carousel.scss +4 -4
- package/scss/core/components/molecules/checkbox-card-group.scss +280 -0
- package/scss/core/components/molecules/checkbox-group.scss +39 -0
- package/scss/core/components/molecules/combobox.scss +158 -0
- package/scss/core/components/molecules/indicator.scss +4 -6
- package/scss/core/components/molecules/inline-editable.scss +6 -8
- package/scss/core/components/molecules/password-confirmation.scss +11 -7
- package/scss/core/components/molecules/progress-bar.scss +85 -0
- package/scss/core/components/molecules/radio-card-group.scss +228 -0
- package/scss/core/components/molecules/radio-group.scss +45 -0
- package/scss/core/components/molecules/segment-control.scss +150 -0
- package/scss/core/components/molecules/stepper.scss +130 -57
- package/scss/core/components/molecules/table.scss +19 -18
- package/scss/core/components/molecules/tabs.scss +37 -215
- package/scss/core/components/organisms/modal.scss +68 -0
- package/scss/core/components/organisms/notification-list.scss +17 -17
- package/scss/core/components/templates/two-columns.scss +6 -6
- package/scss/core/functions/breakpoints.scss +4 -11
- package/scss/core/functions/index.scss +0 -3
- package/scss/core/functions/primitive.scss +68 -0
- package/scss/core/helpers/colors.scss +56 -187
- package/scss/core/helpers/display.scss +0 -148
- package/scss/core/helpers/index.scss +0 -1
- package/scss/core/helpers/order.scss +6 -4
- package/scss/core/index.scss +1 -1
- package/scss/core/mixins/breakpoints.scss +9 -47
- package/scss/core/mixins/choice.scss +88 -0
- package/scss/core/mixins/colors.scss +40 -0
- package/scss/core/mixins/index.scss +3 -2
- package/scss/core/mixins/typography.scss +22 -0
- package/scss/core/{tokens → primitives}/borders.scss +13 -14
- package/scss/core/primitives/breakpoints.scss +14 -0
- package/scss/core/primitives/colors.scss +174 -0
- package/scss/core/primitives/font.scss +34 -0
- package/scss/core/primitives/index.scss +8 -0
- package/scss/core/primitives/opacity.scss +40 -0
- package/scss/core/primitives/shadows.scss +36 -0
- package/scss/core/primitives/sizes.scss +28 -0
- package/scss/core/primitives/spacings.scss +28 -0
- package/scss/core/tokens/breakpoints.scss +12 -19
- package/scss/core/tokens/colors.scss +109 -0
- package/scss/core/tokens/font.scss +27 -0
- package/scss/core/tokens/index.scss +6 -6
- package/scss/core/tokens/sizes.scss +33 -0
- package/scss/core/tokens/spacings.scss +31 -39
- package/scss/core/tokens/typography.scss +144 -19
- package/scss/index.scss +7 -0
- package/scss/themes/aon/index.scss +76 -41
- package/scss/themes/aon/primitives.scss +35 -0
- package/scss/themes/bees/index.scss +52 -34
- package/scss/themes/bees/primitives.scss +19 -0
- package/scss/themes/bmc/index.scss +77 -42
- package/scss/themes/bmc/primitives.scss +33 -0
- package/scss/themes/default/index.scss +15 -59
- package/scss/themes/linker/index.scss +36 -17
- package/scss/themes/linker/primitives.scss +14 -0
- package/scss/themes/oggi/index.scss +77 -42
- package/scss/themes/oggi/primitives.scss +35 -0
- package/scss/themes/streetgo/index.scss +77 -42
- package/scss/themes/streetgo/primitives.scss +34 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/src/components/atoms/Caption/Caption.d.ts +0 -18
- package/react/src/components/atoms/Caption/index.d.ts +0 -4
- package/react/src/components/atoms/Chip/Chip.config.d.ts +0 -43
- package/react/src/components/atoms/Chip/Chip.d.ts +0 -15
- package/react/src/components/atoms/Chip/Chip.stories.d.ts +0 -33
- package/react/src/components/atoms/Chip/index.d.ts +0 -4
- package/react/src/components/atoms/Heading/Heading.config.d.ts +0 -22
- package/react/src/components/atoms/Heading/Heading.d.ts +0 -19
- package/react/src/components/atoms/Heading/Heading.stories.d.ts +0 -48
- package/react/src/components/atoms/Heading/index.d.ts +0 -4
- package/react/src/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/src/components/atoms/Option/Option.d.ts +0 -30
- package/react/src/components/atoms/Option/Option.stories.d.ts +0 -12
- package/react/src/components/atoms/Option/index.d.ts +0 -4
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +0 -21
- package/react/src/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/src/components/atoms/Progress/Progress.config.d.ts +0 -62
- package/react/src/components/atoms/Progress/Progress.d.ts +0 -16
- package/react/src/components/atoms/Progress/Progress.stories.d.ts +0 -17
- package/react/src/components/atoms/Progress/index.d.ts +0 -4
- package/react/src/components/atoms/SegmentControl/SegmentControl.d.ts +0 -18
- package/react/src/components/atoms/SegmentControl/SegmentControl.stories.d.ts +0 -73
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +0 -18
- package/react/src/components/atoms/Subtitle/Subtitle.d.ts +0 -13
- package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +0 -23
- package/react/src/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/src/components/bosons/FlexLayout/FlexElement.config.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/FlexElement.d.ts +0 -27
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -95
- package/react/src/components/bosons/FlexLayout/FlexLayout.d.ts +0 -28
- package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/index.d.ts +0 -8
- package/react/src/components/bosons/GridLayout/GridElement.config.d.ts +0 -17
- package/react/src/components/bosons/GridLayout/GridElement.d.ts +0 -14
- package/react/src/components/bosons/GridLayout/GridElement.test.d.ts +0 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +0 -80
- package/react/src/components/bosons/GridLayout/GridLayout.d.ts +0 -29
- package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +0 -12
- package/react/src/components/bosons/GridLayout/index.d.ts +0 -8
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/src/components/molecules/Accordion/AccordionItem.d.ts +0 -20
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.config.d.ts +0 -70
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.d.ts +0 -21
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.stories.d.ts +0 -135
- package/react/src/components/molecules/CheckboxCard/CheckboxCardForm.stories.d.ts +0 -36
- package/react/src/components/molecules/CheckboxCard/CheckboxCardGroup.d.ts +0 -34
- package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -114
- package/react/src/components/molecules/EditableSelect/EditableSelect.d.ts +0 -134
- package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -24
- package/react/src/components/molecules/EditableSelect/EditableSelect.utils.d.ts +0 -15
- package/react/src/components/molecules/EditableSelect/index.d.ts +0 -4
- package/react/src/components/molecules/Modal/Modal.config.d.ts +0 -44
- package/react/src/components/molecules/Modal/Modal.d.ts +0 -31
- package/react/src/components/molecules/Modal/Modal.stories.d.ts +0 -45
- package/react/src/components/molecules/Notification/Notification.config.d.ts +0 -64
- package/react/src/components/molecules/Notification/Notification.d.ts +0 -22
- package/react/src/components/molecules/Notification/Notification.stories.d.ts +0 -95
- package/react/src/components/molecules/Notification/index.d.ts +0 -4
- package/react/src/components/molecules/Table/TableRow.d.ts +0 -7
- package/react/src/components/molecules/Tabs/Tab.d.ts +0 -5
- package/react/src/components/molecules/Tabs/types.d.ts +0 -23
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +0 -17
- package/react/src/components/molecules/ThemeProvider/index.d.ts +0 -4
- package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +0 -7
- package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +0 -9
- package/react/src/components/templates/SplitLayout/index.d.ts +0 -5
- package/react/src/enum/colorProps.d.ts +0 -30
- package/scss/core/components/atoms/caption.scss +0 -13
- package/scss/core/components/atoms/chip.scss +0 -101
- package/scss/core/components/atoms/heading.scss +0 -70
- package/scss/core/components/atoms/option.scss +0 -78
- package/scss/core/components/atoms/paragraph.scss +0 -44
- package/scss/core/components/atoms/progress.scss +0 -16
- package/scss/core/components/atoms/radio-card.scss +0 -117
- package/scss/core/components/atoms/segment-control.scss +0 -143
- package/scss/core/components/atoms/subtitle.scss +0 -21
- package/scss/core/components/bosons/flex-layout.scss +0 -45
- package/scss/core/components/bosons/grid-layout.scss +0 -76
- package/scss/core/components/molecules/checkbox-card.scss +0 -480
- package/scss/core/components/molecules/editable-select.scss +0 -145
- package/scss/core/components/molecules/modal.scss +0 -70
- package/scss/core/components/molecules/notification.scss +0 -109
- package/scss/core/components/templates/split-layout.scss +0 -51
- package/scss/core/functions/fonts.scss +0 -17
- package/scss/core/functions/spacings.scss +0 -8
- package/scss/core/functions/tokens.scss +0 -14
- package/scss/core/helpers/elevation.scss +0 -16
- package/scss/core/tokens/icons.scss +0 -2
- package/scss/core/tokens/opacity.scss +0 -6
- package/scss/core/tokens/shadows.scss +0 -15
- package/scss/themes/aon/colors.scss +0 -83
- package/scss/themes/bees/colors.scss +0 -32
- package/scss/themes/bmc/colors.scss +0 -81
- package/scss/themes/default/colors.scss +0 -109
- package/scss/themes/linker/colors.scss +0 -35
- package/scss/themes/oggi/colors.scss +0 -81
- package/scss/themes/streetgo/colors.scss +0 -81
- /package/react/src/components/atoms/{Caption/Caption.test.d.ts → Badge/Badge.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Chip/Chip.test.d.ts → FeedbackMessage/FeedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Heading/Heading.test.d.ts → IconButton/IconButton.test.d.ts} +0 -0
- /package/react/src/components/atoms/Input/{mask.d.ts → Input.mask.d.ts} +0 -0
- /package/react/src/components/{atoms/Option/Option.test.d.ts → classesNoCss.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Paragraph/Paragraph.test.d.ts → commonProps.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Progress/Progress.test.d.ts → feedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/index.test.d.ts → index.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/SegmentControl.test.d.ts → messageRegion.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Subtitle/Subtitle.test.d.ts → molecules/Alert/Alert.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.test.d.ts +0 -0
- /package/react/src/components/{bosons/FlexLayout/FlexLayout.test.d.ts → molecules/CheckboxCardGroup/index.test.d.ts} +0 -0
- /package/react/src/components/{bosons/GridLayout/GridLayout.test.d.ts → molecules/CheckboxGroup/CheckboxGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard/CheckboxCard.test.d.ts → Combobox/Combobox.a11y.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.test.d.ts → Combobox/Combobox.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.utils.test.d.ts → PasswordConfirmation/PasswordConfirmation.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Notification/Notification.test.d.ts → ProgressBar/ProgressBar.test.d.ts} +0 -0
- /package/react/src/components/molecules/{PasswordConfirmation/PasswordConfirmartion.test.d.ts → RadioCardGroup/RadioCardGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Tabs/Tab.test.d.ts → RadioGroup/RadioGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{ThemeProvider/ThemeProvider.test.d.ts → SegmentControl/SegmentControl.test.d.ts} +0 -0
- /package/react/src/components/{atoms → molecules}/SegmentControl/index.d.ts +0 -0
- /package/react/src/components/{templates/SplitLayout/SplitLayout.test.d.ts → molecules/SegmentControl/index.test.d.ts} +0 -0
- /package/react/src/components/molecules/Table/{dataTable.mock.d.ts → Table.mock.d.ts} +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/Modal.test.d.ts +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/index.d.ts +0 -0
- /package/scss/core/components/{molecules → providers}/theme-provider.scss +0 -0
|
@@ -1,197 +1,177 @@
|
|
|
1
|
-
$
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
position: absolute;
|
|
8
|
-
width: 0;
|
|
9
|
-
}
|
|
1
|
+
$arrow__depth: $spacing--x3;
|
|
2
|
+
$arrow__base: $spacing--x4;
|
|
3
|
+
$arrow__center-x: $spacing--x3 + $spacing--x2 + $spacing--x3;
|
|
4
|
+
$arrow__center-y: $spacing--x3 + $spacing--x3;
|
|
5
|
+
$arrow__inset-x: $spacing--x3 + $spacing--x2;
|
|
6
|
+
$arrow__inset-y: $spacing--x3;
|
|
10
7
|
|
|
11
8
|
.ds-tooltip {
|
|
12
|
-
|
|
9
|
+
--tooltip__background: var(--color__surface--default);
|
|
10
|
+
--tooltip__color: var(--color__foreground--default);
|
|
13
11
|
|
|
14
|
-
|
|
15
|
-
--tooltip-background-color: var(--color__neutral--00);
|
|
16
|
-
--tooltip-text-color: var(--color__neutral--90);
|
|
12
|
+
@include typography('body-sm');
|
|
17
13
|
|
|
18
14
|
display: inline-block;
|
|
19
|
-
line-height: 1em;
|
|
20
15
|
pointer-events: all;
|
|
21
16
|
position: relative;
|
|
22
17
|
vertical-align: middle;
|
|
23
18
|
|
|
24
|
-
&--
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
left: calc(50% - 8px);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
19
|
+
&--dark {
|
|
20
|
+
--tooltip__background: var(--color__surface--inverse);
|
|
21
|
+
--tooltip__color: var(--color__foreground--inverse);
|
|
30
22
|
}
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
box-shadow:
|
|
35
|
-
0 10px 20px 0 rgba($shadow__color, $opacity--light),
|
|
36
|
-
0 3px 6px 0 rgba($shadow__color, $opacity--light);
|
|
24
|
+
&__bubble {
|
|
25
|
+
@include typography('body-sm');
|
|
37
26
|
|
|
38
|
-
|
|
39
|
-
|
|
27
|
+
background: var(--tooltip__background);
|
|
28
|
+
border-radius: var(--tooltip__border-radius, #{$border__radius--xs});
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
color: var(--tooltip__color);
|
|
31
|
+
max-width: var(--tooltip__max-width, 266px);
|
|
32
|
+
padding: $spacing__inset--sm;
|
|
33
|
+
position: absolute;
|
|
34
|
+
text-align: center;
|
|
35
|
+
width: max-content;
|
|
36
|
+
z-index: 3;
|
|
40
37
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
bottom: -$arrow__size;
|
|
45
|
-
}
|
|
38
|
+
b,
|
|
39
|
+
strong {
|
|
40
|
+
@include typography('body-sm-bold');
|
|
46
41
|
}
|
|
47
42
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
}
|
|
43
|
+
&::before {
|
|
44
|
+
background: var(--tooltip__background);
|
|
45
|
+
content: '';
|
|
46
|
+
position: absolute;
|
|
54
47
|
}
|
|
48
|
+
}
|
|
55
49
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
&--bottom &__bubble,
|
|
51
|
+
&--top &__bubble {
|
|
52
|
+
left: 50%;
|
|
53
|
+
min-width: $spacing--x7;
|
|
54
|
+
|
|
55
|
+
&::before {
|
|
56
|
+
height: $arrow__depth;
|
|
57
|
+
width: $arrow__base;
|
|
62
58
|
}
|
|
63
59
|
}
|
|
64
60
|
|
|
65
|
-
&--bottom {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
61
|
+
&--bottom &__bubble {
|
|
62
|
+
box-shadow:
|
|
63
|
+
0 -6px 20px 0 rgba($shadow__color, $opacity--30),
|
|
64
|
+
0 -1px 6px 0 rgba($shadow__color, $opacity--30);
|
|
65
|
+
top: calc(100% + #{$arrow__depth});
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
&::before {
|
|
68
|
+
clip-path: polygon(50% 0, 0 100%, 100% 100%);
|
|
69
|
+
top: -$arrow__depth;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
73
72
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
73
|
+
&--top &__bubble {
|
|
74
|
+
bottom: calc(100% + #{$arrow__depth});
|
|
75
|
+
box-shadow:
|
|
76
|
+
0 10px 20px 0 rgba($shadow__color, $opacity--30),
|
|
77
|
+
0 3px 6px 0 rgba($shadow__color, $opacity--30);
|
|
78
|
+
|
|
79
|
+
&::before {
|
|
80
|
+
bottom: -$arrow__depth;
|
|
81
|
+
clip-path: polygon(0 0, 100% 0, 50% 100%);
|
|
79
82
|
}
|
|
83
|
+
}
|
|
80
84
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
&--bottom.ds-tooltip--start &__bubble,
|
|
86
|
+
&--top.ds-tooltip--start &__bubble {
|
|
87
|
+
transform: translateX(-$arrow__center-x);
|
|
88
|
+
|
|
89
|
+
&::before {
|
|
90
|
+
left: $arrow__inset-x;
|
|
87
91
|
}
|
|
92
|
+
}
|
|
88
93
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
94
|
+
&--bottom.ds-tooltip--center &__bubble,
|
|
95
|
+
&--top.ds-tooltip--center &__bubble {
|
|
96
|
+
transform: translateX(-50%);
|
|
97
|
+
|
|
98
|
+
&::before {
|
|
99
|
+
left: calc(50% - #{$arrow__base * 0.5});
|
|
95
100
|
}
|
|
96
101
|
}
|
|
97
102
|
|
|
98
|
-
&--
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
&::before {
|
|
105
|
-
@extend %wrapper-before;
|
|
106
|
-
|
|
107
|
-
border-bottom: $arrow__size solid transparent;
|
|
108
|
-
border-right: $arrow__size solid var(--tooltip-background-color);
|
|
109
|
-
border-top: $arrow__size solid transparent;
|
|
110
|
-
left: -$arrow__size;
|
|
111
|
-
top: calc(50% - $arrow__size);
|
|
112
|
-
}
|
|
103
|
+
&--bottom.ds-tooltip--end &__bubble,
|
|
104
|
+
&--top.ds-tooltip--end &__bubble {
|
|
105
|
+
transform: translateX(calc(-100% + #{$arrow__center-x}));
|
|
106
|
+
|
|
107
|
+
&::before {
|
|
108
|
+
right: $arrow__inset-x;
|
|
113
109
|
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&--right &__bubble,
|
|
113
|
+
&--left &__bubble {
|
|
114
|
+
top: 50%;
|
|
114
115
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
top: $arrow__size * 2;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
116
|
+
&::before {
|
|
117
|
+
height: $arrow__base;
|
|
118
|
+
width: $arrow__depth;
|
|
121
119
|
}
|
|
120
|
+
}
|
|
122
121
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
122
|
+
&--right &__bubble {
|
|
123
|
+
box-shadow:
|
|
124
|
+
-10px 1px 20px 0 rgba($shadow__color, $opacity--30),
|
|
125
|
+
-3px 1px 6px 0 rgba($shadow__color, $opacity--30);
|
|
126
|
+
left: calc(100% + #{$arrow__depth});
|
|
127
|
+
|
|
128
|
+
&::before {
|
|
129
|
+
clip-path: polygon(0 50%, 100% 0, 100% 100%);
|
|
130
|
+
left: -$arrow__depth;
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
133
|
|
|
133
|
-
&--left {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
border-bottom: $arrow__size solid transparent;
|
|
143
|
-
border-left: $arrow__size solid var(--tooltip-background-color);
|
|
144
|
-
border-top: $arrow__size solid transparent;
|
|
145
|
-
left: unset;
|
|
146
|
-
right: -$arrow__size;
|
|
147
|
-
top: calc(50% - $arrow__size);
|
|
148
|
-
}
|
|
134
|
+
&--left &__bubble {
|
|
135
|
+
box-shadow:
|
|
136
|
+
10px 1px 20px 0 rgba($shadow__color, $opacity--30),
|
|
137
|
+
3px 1px 6px 0 rgba($shadow__color, $opacity--30);
|
|
138
|
+
right: calc(100% + #{$arrow__depth});
|
|
139
|
+
|
|
140
|
+
&::before {
|
|
141
|
+
clip-path: polygon(100% 50%, 0 0, 0 100%);
|
|
142
|
+
right: -$arrow__depth;
|
|
149
143
|
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&--right.ds-tooltip--start &__bubble,
|
|
147
|
+
&--left.ds-tooltip--start &__bubble {
|
|
148
|
+
transform: translateY(-$arrow__center-y);
|
|
150
149
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
&::before {
|
|
154
|
-
top: $arrow__size;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
150
|
+
&::before {
|
|
151
|
+
top: $arrow__inset-y;
|
|
157
152
|
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--right.ds-tooltip--center &__bubble,
|
|
156
|
+
&--left.ds-tooltip--center &__bubble {
|
|
157
|
+
transform: translateY(-50%);
|
|
158
158
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
&::before {
|
|
162
|
-
bottom: $arrow__size;
|
|
163
|
-
top: auto;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
159
|
+
&::before {
|
|
160
|
+
top: calc(50% - #{$arrow__base * 0.5});
|
|
166
161
|
}
|
|
167
162
|
}
|
|
168
163
|
|
|
169
|
-
&
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
border-radius: $border__radius--xs;
|
|
173
|
-
color: var(--tooltip-text-color);
|
|
174
|
-
font-family: var(--font__family--base);
|
|
175
|
-
font-size: $font__size--xs;
|
|
176
|
-
font-weight: normal;
|
|
177
|
-
line-height: 1.35em;
|
|
178
|
-
max-width: 280px;
|
|
179
|
-
min-height: 20px;
|
|
180
|
-
padding: $spacing--nano 12px 12px;
|
|
181
|
-
position: absolute;
|
|
182
|
-
text-align: center;
|
|
183
|
-
width: max-content;
|
|
184
|
-
z-index: 3;
|
|
164
|
+
&--right.ds-tooltip--end &__bubble,
|
|
165
|
+
&--left.ds-tooltip--end &__bubble {
|
|
166
|
+
transform: translateY(calc(-100% + #{$arrow__center-y}));
|
|
185
167
|
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
font-weight: bold;
|
|
168
|
+
&::before {
|
|
169
|
+
bottom: $arrow__inset-y;
|
|
189
170
|
}
|
|
190
171
|
}
|
|
191
|
-
}
|
|
192
172
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
173
|
+
:where([data-theme='dark']) & {
|
|
174
|
+
--tooltip__background: var(--color__surface--inverse);
|
|
175
|
+
--tooltip__color: var(--color__foreground--inverse);
|
|
176
|
+
}
|
|
197
177
|
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
.ds-flex {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
&--row {
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--column {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--row-reverse {
|
|
15
|
+
flex-direction: row-reverse;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--column-reverse {
|
|
19
|
+
flex-direction: column-reverse;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@each $name in map.keys($breakpoint) {
|
|
23
|
+
@include device-up($name) {
|
|
24
|
+
&--#{$name}-row {
|
|
25
|
+
flex-direction: row;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&--#{$name}-column {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--#{$name}-row-reverse {
|
|
33
|
+
flex-direction: row-reverse;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&--#{$name}-column-reverse {
|
|
37
|
+
flex-direction: column-reverse;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--nowrap {
|
|
43
|
+
flex-wrap: nowrap;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--wrap {
|
|
47
|
+
flex-wrap: wrap;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--wrap-reverse {
|
|
51
|
+
flex-wrap: wrap-reverse;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--justify-start {
|
|
55
|
+
justify-content: flex-start;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--justify-center {
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&--justify-end {
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--justify-between {
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&--justify-around {
|
|
71
|
+
justify-content: space-around;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&--justify-evenly {
|
|
75
|
+
justify-content: space-evenly;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&--align-start {
|
|
79
|
+
align-items: flex-start;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&--align-center {
|
|
83
|
+
align-items: center;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&--align-end {
|
|
87
|
+
align-items: flex-end;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&--align-stretch {
|
|
91
|
+
align-items: stretch;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--align-baseline {
|
|
95
|
+
align-items: baseline;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@each $space, $value in $spacings__primitives {
|
|
99
|
+
&--gap-#{$space} {
|
|
100
|
+
gap: $value;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&--full-width {
|
|
105
|
+
width: 100%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__item {
|
|
109
|
+
&--none {
|
|
110
|
+
flex: none;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&--auto {
|
|
114
|
+
flex: 1 1 auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&--grow {
|
|
118
|
+
flex: 1;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
@@ -1,78 +1,74 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
1
3
|
$prefix: 'ds-grid' !default;
|
|
2
4
|
$columns: 12 !default;
|
|
3
|
-
$column-gap: $
|
|
4
|
-
$column-gap-sm: $
|
|
5
|
-
$row-gap:
|
|
6
|
-
$row-gap-sm:
|
|
5
|
+
$column-gap: $spacing__offset--md !default;
|
|
6
|
+
$column-gap-sm: $spacing__offset--lg !default;
|
|
7
|
+
$row-gap: $spacing__offset--none;
|
|
8
|
+
$row-gap-sm: $spacing__offset--none;
|
|
7
9
|
|
|
8
|
-
// The Grid Container.
|
|
9
10
|
.#{$prefix} {
|
|
10
11
|
display: flex;
|
|
11
12
|
flex-direction: column;
|
|
12
13
|
width: 100%;
|
|
13
14
|
|
|
14
|
-
// Reverse order rows
|
|
15
15
|
&--reverse {
|
|
16
16
|
flex-direction: column-reverse;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
@each $
|
|
20
|
-
$min: device-min($
|
|
21
|
-
$label: if($min, $
|
|
19
|
+
@each $name in map.keys($breakpoint) {
|
|
20
|
+
$min: device-min($name);
|
|
21
|
+
$label: if($min, $name + '-reverse', 'reverse');
|
|
22
22
|
|
|
23
|
-
@include device-up($
|
|
23
|
+
@include device-up($name) {
|
|
24
24
|
&--#{$label} {
|
|
25
25
|
flex-direction: column-reverse;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
|
-
}
|
|
30
29
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
grid-template-columns: repeat($columns, 1fr);
|
|
30
|
+
&__row {
|
|
31
|
+
display: grid;
|
|
32
|
+
gap: $row-gap $column-gap;
|
|
33
|
+
grid-template-columns: repeat($columns, 1fr);
|
|
36
34
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
&--auto {
|
|
36
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
37
|
+
}
|
|
40
38
|
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
&--no-gap {
|
|
40
|
+
gap: 0;
|
|
41
|
+
}
|
|
43
42
|
}
|
|
44
43
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$
|
|
48
|
-
$label: if($min, $breakpoint + '-reverse', 'reverse');
|
|
44
|
+
@each $name in map.keys($breakpoint) {
|
|
45
|
+
$min: device-min($name);
|
|
46
|
+
$label: if($min, $name + '-reverse', 'reverse');
|
|
49
47
|
|
|
50
|
-
@include device-up($
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
order: $columns - $i + 1;
|
|
55
|
-
}
|
|
48
|
+
@include device-up($name) {
|
|
49
|
+
@for $i from 1 through $columns {
|
|
50
|
+
&__row--#{$label} &__col:nth-child(#{$i}) {
|
|
51
|
+
order: $columns - $i + 1;
|
|
56
52
|
}
|
|
57
53
|
}
|
|
58
54
|
}
|
|
59
55
|
}
|
|
60
|
-
}
|
|
61
56
|
|
|
62
|
-
@for $i from 1 through $columns {
|
|
63
|
-
|
|
64
|
-
|
|
57
|
+
@for $i from 1 through $columns {
|
|
58
|
+
&__col-#{$i} {
|
|
59
|
+
@include grid-col($i);
|
|
60
|
+
}
|
|
65
61
|
}
|
|
66
|
-
}
|
|
67
62
|
|
|
68
|
-
@each $
|
|
69
|
-
|
|
70
|
-
|
|
63
|
+
@each $name in map.keys($breakpoint) {
|
|
64
|
+
$min: device-min($name);
|
|
65
|
+
$label: if($min, 'col--' + $name, 'col');
|
|
71
66
|
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
67
|
+
@include device-up($name) {
|
|
68
|
+
@for $i from 1 through $columns {
|
|
69
|
+
&__#{$label}-#{$i} {
|
|
70
|
+
@include grid-col($i);
|
|
71
|
+
}
|
|
76
72
|
}
|
|
77
73
|
}
|
|
78
74
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
h1,
|
|
2
|
+
.ds-heading--1 {
|
|
3
|
+
@include typography('headline-1');
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
h2,
|
|
7
|
+
.ds-heading--2 {
|
|
8
|
+
@include typography('headline-2');
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
h3,
|
|
12
|
+
.ds-heading--3 {
|
|
13
|
+
@include typography('headline-3');
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
h4,
|
|
17
|
+
.ds-heading--4 {
|
|
18
|
+
@include typography('headline-4');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
h5,
|
|
22
|
+
.ds-heading--5 {
|
|
23
|
+
@include typography('headline-5');
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
h6,
|
|
27
|
+
.ds-heading--6 {
|
|
28
|
+
@include typography('headline-6');
|
|
29
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
.ds-label {
|
|
2
|
+
&--md {
|
|
3
|
+
@include typography('label-md');
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&--sm {
|
|
7
|
+
@include typography('label-sm');
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--button-lg {
|
|
11
|
+
@include typography('label-button-lg');
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--button-md {
|
|
15
|
+
@include typography('label-button-md');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--button-sm {
|
|
19
|
+
@include typography('label-button-sm');
|
|
20
|
+
}
|
|
21
|
+
}
|