@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
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
$radio-card-group__columns: var(--radio-card-group__columns, 1);
|
|
2
|
+
$radio-card-group__min-column: var(--radio-card-group__min-column, 320px);
|
|
3
|
+
$radio-card-group__ideal-column: calc(
|
|
4
|
+
(100% - (#{$radio-card-group__columns} - 1) * #{$spacing__offset--md}) /
|
|
5
|
+
#{$radio-card-group__columns}
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
.ds-radio-card-group {
|
|
9
|
+
--radio-card-group__columns: 1;
|
|
10
|
+
--radio-card-group__control-color: var(--color__border--strong);
|
|
11
|
+
--radio-card-group__message-color: var(--color__foreground--destructive);
|
|
12
|
+
--radio-card-group__message-icon-color: var(--color__foreground--destructive);
|
|
13
|
+
|
|
14
|
+
border: 0;
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
gap: $spacing__offset--md;
|
|
18
|
+
margin: 0;
|
|
19
|
+
min-width: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
|
|
22
|
+
&__legend {
|
|
23
|
+
@include typography('headline-6');
|
|
24
|
+
|
|
25
|
+
color: var(--color__foreground--default);
|
|
26
|
+
margin-bottom: $spacing__offset--md;
|
|
27
|
+
padding: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__items {
|
|
31
|
+
display: grid;
|
|
32
|
+
gap: $spacing__offset--md;
|
|
33
|
+
grid-template-columns: repeat(
|
|
34
|
+
auto-fit,
|
|
35
|
+
minmax(
|
|
36
|
+
min(
|
|
37
|
+
100%,
|
|
38
|
+
max(
|
|
39
|
+
#{$radio-card-group__min-column},
|
|
40
|
+
#{$radio-card-group__ideal-column}
|
|
41
|
+
)
|
|
42
|
+
),
|
|
43
|
+
1fr
|
|
44
|
+
)
|
|
45
|
+
);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__option {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
display: flex;
|
|
51
|
+
min-width: 0;
|
|
52
|
+
position: relative;
|
|
53
|
+
|
|
54
|
+
&--disabled {
|
|
55
|
+
cursor: not-allowed;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__input {
|
|
60
|
+
appearance: none;
|
|
61
|
+
cursor: inherit;
|
|
62
|
+
height: 100%;
|
|
63
|
+
inset: 0;
|
|
64
|
+
margin: 0;
|
|
65
|
+
opacity: 0;
|
|
66
|
+
position: absolute;
|
|
67
|
+
width: 100%;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__card {
|
|
71
|
+
align-items: flex-start;
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
flex-direction: row;
|
|
74
|
+
pointer-events: none;
|
|
75
|
+
width: 100%;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&__control {
|
|
79
|
+
display: grid;
|
|
80
|
+
flex-shrink: 0;
|
|
81
|
+
height: $spacing--x5;
|
|
82
|
+
place-items: center;
|
|
83
|
+
width: $spacing--x5;
|
|
84
|
+
|
|
85
|
+
&::before {
|
|
86
|
+
border: $border__width--sm solid var(--radio-card-group__control-color);
|
|
87
|
+
border-radius: $border__radius--pill;
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
content: '';
|
|
90
|
+
grid-area: 1 / 1;
|
|
91
|
+
height: $spacing--x4;
|
|
92
|
+
width: $spacing--x4;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&__text {
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
gap: $spacing__offset--xs;
|
|
100
|
+
min-width: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&__title {
|
|
104
|
+
@include typography('body-md-bold');
|
|
105
|
+
|
|
106
|
+
color: var(--color__foreground--default);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__option-description {
|
|
110
|
+
@include typography('body-sm');
|
|
111
|
+
|
|
112
|
+
color: var(--color__foreground--strong);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&__option:hover &__input:not(:disabled) + &__card {
|
|
116
|
+
background-color: var(--card__bg-hover);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&__input:checked + &__card:where(.ds-card--border-default) {
|
|
120
|
+
--card__border: var(--color__border--strong);
|
|
121
|
+
|
|
122
|
+
:where([data-theme='dark']) & {
|
|
123
|
+
--card__border: var(--color__border--default);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&__input:checked + &__card {
|
|
128
|
+
:where([data-theme='dark']) & {
|
|
129
|
+
--card__bg: var(--color__border--strong);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&__input:checked + &__card &__control::after {
|
|
134
|
+
background-color: var(--radio-card-group__control-color);
|
|
135
|
+
border-radius: $border__radius--pill;
|
|
136
|
+
content: '';
|
|
137
|
+
grid-area: 1 / 1;
|
|
138
|
+
height: $spacing--x3;
|
|
139
|
+
width: $spacing--x3;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&__input:focus-visible + &__card {
|
|
143
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
144
|
+
outline-offset: $spacing--x2;
|
|
145
|
+
|
|
146
|
+
:where([data-theme='dark']) & {
|
|
147
|
+
outline-color: var(--color__border--default);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&__input:disabled + &__card {
|
|
152
|
+
--radio-card-group__control-color: var(--color__border--muted);
|
|
153
|
+
--card__border: var(--color__border--default);
|
|
154
|
+
|
|
155
|
+
:where([data-theme='dark']) & {
|
|
156
|
+
--radio-card-group__control-color: var(--color__foreground--subtle);
|
|
157
|
+
--card__border: var(--color__border--subtle);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__input:disabled + &__card &__title,
|
|
162
|
+
&__input:disabled + &__card &__option-description {
|
|
163
|
+
color: var(--color__foreground--disabled);
|
|
164
|
+
|
|
165
|
+
:where([data-theme='dark']) & {
|
|
166
|
+
color: var(--color__foreground--subtle);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&__message {
|
|
171
|
+
@include feedback-message-reserve;
|
|
172
|
+
|
|
173
|
+
align-items: center;
|
|
174
|
+
display: flex;
|
|
175
|
+
gap: $spacing__offset--sm;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&__message-icon {
|
|
179
|
+
color: var(--radio-card-group__message-icon-color);
|
|
180
|
+
display: inline-flex;
|
|
181
|
+
flex-shrink: 0;
|
|
182
|
+
|
|
183
|
+
.ds-icon {
|
|
184
|
+
color: inherit;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&__message-text {
|
|
190
|
+
@include typography('body-sm');
|
|
191
|
+
|
|
192
|
+
color: var(--radio-card-group__message-color);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&--error {
|
|
196
|
+
--radio-card-group__message-color: var(--color__foreground--destructive);
|
|
197
|
+
--radio-card-group__message-icon-color: var(
|
|
198
|
+
--color__foreground--destructive
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&--warning {
|
|
203
|
+
--radio-card-group__message-color: var(--color__foreground--warning-strong);
|
|
204
|
+
--radio-card-group__message-icon-color: var(--color__foreground--warning);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
:where([data-theme='dark']) & {
|
|
208
|
+
--radio-card-group__control-color: var(--color__foreground--inverse);
|
|
209
|
+
|
|
210
|
+
&__legend {
|
|
211
|
+
color: var(--color__foreground--inverse);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&__card {
|
|
215
|
+
--card__bg: var(--color__surface--inverse);
|
|
216
|
+
--card__bg-hover: var(--color__border--strong);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&__card:where(.ds-card--border-default) {
|
|
220
|
+
--card__border: var(--color__border--subtle);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
&__title,
|
|
224
|
+
&__option-description {
|
|
225
|
+
color: var(--color__foreground--inverse);
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.ds-radio-group {
|
|
2
|
+
border: 0;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: $spacing__offset--sm;
|
|
6
|
+
margin: 0;
|
|
7
|
+
min-width: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
|
|
10
|
+
&__label {
|
|
11
|
+
@include typography('headline-6');
|
|
12
|
+
|
|
13
|
+
color: var(--color__foreground--default);
|
|
14
|
+
margin-bottom: $spacing__offset--sm;
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__options {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: $spacing__offset--sm;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&--horizontal &__options {
|
|
25
|
+
flex-flow: row wrap;
|
|
26
|
+
gap: $spacing__offset--md;
|
|
27
|
+
|
|
28
|
+
@media (max-width: #{$breakpoint--mobile - 1}) {
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
gap: $spacing__offset--sm;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@include choice-feedback-message('radio-group');
|
|
35
|
+
|
|
36
|
+
&__options .ds-radio__message {
|
|
37
|
+
display: none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where([data-theme='dark']) & {
|
|
41
|
+
&__label {
|
|
42
|
+
color: var(--color__foreground--inverse);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
$segment-control__transition: 150ms ease-in-out !default;
|
|
2
|
+
|
|
3
|
+
.ds-segment-control {
|
|
4
|
+
--segment-control__track: var(--color__surface--default);
|
|
5
|
+
|
|
6
|
+
align-items: center;
|
|
7
|
+
background-color: var(--segment-control__track);
|
|
8
|
+
border-radius: $border__radius--sm;
|
|
9
|
+
box-shadow: inset 0 0 0 $border__width--xs var(--color__border--default);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
flex: 0 0 auto;
|
|
13
|
+
gap: $spacing__offset--sm;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
padding: $spacing__inset--sm;
|
|
17
|
+
width: fit-content;
|
|
18
|
+
|
|
19
|
+
&--size-md &__item {
|
|
20
|
+
@include typography('label-button-md');
|
|
21
|
+
|
|
22
|
+
height: $size__button--md;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--full-width {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex: 1 0 100%;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__item {
|
|
32
|
+
--segment-control__fill: transparent;
|
|
33
|
+
--segment-control__text: var(--color__foreground--primary);
|
|
34
|
+
|
|
35
|
+
@include typography('label-button-sm');
|
|
36
|
+
|
|
37
|
+
align-items: center;
|
|
38
|
+
appearance: none;
|
|
39
|
+
background-color: var(--segment-control__fill);
|
|
40
|
+
border: 0;
|
|
41
|
+
border-radius: $border__radius--sm;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
color: var(--segment-control__text);
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
gap: $spacing__offset--sm;
|
|
48
|
+
height: $size__button--sm;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
letter-spacing: 0;
|
|
51
|
+
margin: 0;
|
|
52
|
+
padding: 0 $spacing__inset--md;
|
|
53
|
+
position: relative;
|
|
54
|
+
text-align: center;
|
|
55
|
+
transition:
|
|
56
|
+
background-color $segment-control__transition,
|
|
57
|
+
color $segment-control__transition;
|
|
58
|
+
user-select: none;
|
|
59
|
+
white-space: nowrap;
|
|
60
|
+
width: auto;
|
|
61
|
+
|
|
62
|
+
&:hover:not(&--disabled),
|
|
63
|
+
&:active:not(&--disabled) {
|
|
64
|
+
--segment-control__fill: var(--color__primary--hover);
|
|
65
|
+
--segment-control__text: var(--color__foreground--primary-strong);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:has(&-input:focus-visible) {
|
|
69
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
70
|
+
outline-offset: $border__width--sm;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--active {
|
|
74
|
+
--segment-control__fill: var(--color__primary--default);
|
|
75
|
+
--segment-control__text: var(--color__foreground--on-emphasis);
|
|
76
|
+
|
|
77
|
+
&:hover:not(.ds-segment-control__item--disabled) {
|
|
78
|
+
--segment-control__fill: var(--color__primary--hover-solid);
|
|
79
|
+
--segment-control__text: var(--color__foreground--on-emphasis);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:active:not(.ds-segment-control__item--disabled) {
|
|
83
|
+
--segment-control__fill: var(--color__primary--pressed);
|
|
84
|
+
--segment-control__text: var(--color__foreground--on-emphasis);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&.ds-segment-control__item--disabled {
|
|
88
|
+
--segment-control__fill: var(--color__surface--disabled);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&--disabled {
|
|
93
|
+
--segment-control__text: var(--color__foreground--disabled);
|
|
94
|
+
|
|
95
|
+
cursor: not-allowed;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--icon-only {
|
|
99
|
+
aspect-ratio: 1;
|
|
100
|
+
padding: 0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&__item-input {
|
|
105
|
+
appearance: none;
|
|
106
|
+
inset: 0;
|
|
107
|
+
margin: 0;
|
|
108
|
+
opacity: 0;
|
|
109
|
+
position: absolute;
|
|
110
|
+
|
|
111
|
+
&:disabled {
|
|
112
|
+
cursor: not-allowed;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&--full-width &__item {
|
|
117
|
+
flex: 1 1 0;
|
|
118
|
+
width: auto;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@include choice-feedback-message('segment-control');
|
|
122
|
+
|
|
123
|
+
&__message {
|
|
124
|
+
margin-top: $spacing__offset--sm;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
& + &__message {
|
|
128
|
+
--segment-control__message: var(--color__foreground--default);
|
|
129
|
+
--segment-control__message-icon: var(--segment-control__message);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&--error + &__message {
|
|
133
|
+
--segment-control__message: var(--color__foreground--destructive);
|
|
134
|
+
--segment-control__message-icon: var(--color__foreground--destructive);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--warning + &__message {
|
|
138
|
+
--segment-control__message: var(--color__foreground--warning-strong);
|
|
139
|
+
--segment-control__message-icon: var(--color__foreground--warning);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&--disabled + &__message {
|
|
143
|
+
--segment-control__message: var(--color__foreground--disabled);
|
|
144
|
+
--segment-control__message-icon: var(--color__foreground--disabled);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[data-theme='dark'] & {
|
|
148
|
+
--segment-control__track: var(--color__surface--inverse);
|
|
149
|
+
}
|
|
150
|
+
}
|
|
@@ -1,84 +1,157 @@
|
|
|
1
1
|
.ds-stepper {
|
|
2
|
-
|
|
3
|
-
--stepper__background--unselected: var(--color__neutral--00);
|
|
4
|
-
--stepper__button--hover: var(--color__primary);
|
|
5
|
-
--stepper__icon--hover: var(--color__neutral--00);
|
|
2
|
+
@include typography('body-sm');
|
|
6
3
|
|
|
7
|
-
align-items: flex-start;
|
|
8
|
-
background-color: var(--background__color--backdrop);
|
|
9
4
|
display: flex;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
width: fit-content;
|
|
5
|
+
list-style: none;
|
|
6
|
+
margin: 0;
|
|
7
|
+
padding: 0;
|
|
8
|
+
width: 100%;
|
|
15
9
|
|
|
16
|
-
&__step
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
10
|
+
&__step {
|
|
11
|
+
--stepper__bar: var(--color__border--default);
|
|
12
|
+
--stepper__icon-color: var(--color__foreground--default);
|
|
13
|
+
--stepper__label: var(--color__foreground--strong);
|
|
14
|
+
--stepper__title: var(--color__foreground--default);
|
|
15
|
+
|
|
16
|
+
border-top: $border__width--sm solid var(--stepper__bar);
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
flex: 1 1 0;
|
|
19
|
+
min-height: $spacing--x8;
|
|
20
|
+
min-width: 0;
|
|
21
|
+
position: relative;
|
|
20
22
|
}
|
|
21
23
|
|
|
22
|
-
&__step
|
|
23
|
-
|
|
24
|
+
&__step--current,
|
|
25
|
+
&__step--complete {
|
|
26
|
+
--stepper__bar: var(--color__border--primary);
|
|
27
|
+
--stepper__icon-color: var(--color__foreground--primary);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__step--disabled {
|
|
31
|
+
--stepper__bar: var(--color__border--default);
|
|
32
|
+
--stepper__icon-color: var(--color__foreground--disabled);
|
|
33
|
+
--stepper__label: var(--color__foreground--disabled);
|
|
34
|
+
--stepper__title: var(--color__foreground--disabled);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__step--error {
|
|
38
|
+
--stepper__icon-color: var(--color__foreground--destructive);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__content {
|
|
42
|
+
align-items: flex-start;
|
|
43
|
+
background: none;
|
|
44
|
+
border: 0;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
color: inherit;
|
|
47
|
+
display: flex;
|
|
48
|
+
font: inherit;
|
|
49
|
+
gap: $spacing__offset--sm;
|
|
50
|
+
padding: $spacing__inset--sm $spacing__inset--md 0 0;
|
|
51
|
+
text-align: left;
|
|
52
|
+
width: 100%;
|
|
53
|
+
|
|
54
|
+
&:enabled {
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:focus-visible {
|
|
59
|
+
box-shadow: inset 0 0 0 $border__width--sm var(--color__border--subtle);
|
|
60
|
+
outline: $border__width--sm solid transparent;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__content:enabled:hover &__title {
|
|
65
|
+
color: var(--color__foreground--primary-strong);
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
text-decoration-color: var(--color__foreground--primary);
|
|
68
|
+
text-decoration-thickness: $border__width--xs;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&__content:enabled:active &__title {
|
|
72
|
+
color: var(--color__foreground--primary);
|
|
73
|
+
text-decoration-thickness: $border__width--sm;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__icon {
|
|
24
77
|
display: flex;
|
|
25
|
-
|
|
26
|
-
|
|
78
|
+
flex: none;
|
|
79
|
+
margin-top: $border__width--sm;
|
|
80
|
+
|
|
81
|
+
.ds-icon {
|
|
82
|
+
color: var(--stepper__icon-color);
|
|
83
|
+
cursor: inherit;
|
|
84
|
+
font-size: $size__icon--md;
|
|
85
|
+
}
|
|
27
86
|
}
|
|
28
87
|
|
|
29
88
|
&__text {
|
|
30
|
-
align-items: center;
|
|
31
|
-
color: var(--text__color);
|
|
32
89
|
display: flex;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
gap: $
|
|
36
|
-
|
|
90
|
+
flex: 1 1 0;
|
|
91
|
+
flex-direction: column;
|
|
92
|
+
gap: $spacing__offset--xs;
|
|
93
|
+
min-width: 0;
|
|
37
94
|
}
|
|
38
95
|
|
|
39
|
-
&
|
|
40
|
-
|
|
96
|
+
&__optional {
|
|
97
|
+
@include typography('body-sm');
|
|
98
|
+
|
|
99
|
+
color: var(--stepper__label);
|
|
100
|
+
letter-spacing: 0.32px;
|
|
41
101
|
}
|
|
42
102
|
|
|
43
|
-
&
|
|
44
|
-
|
|
103
|
+
&__title {
|
|
104
|
+
@include typography('body-md');
|
|
105
|
+
|
|
106
|
+
color: var(--stepper__title);
|
|
107
|
+
letter-spacing: 0.16px;
|
|
108
|
+
overflow-wrap: anywhere;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&--truncate &__title {
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
text-overflow: ellipsis;
|
|
114
|
+
white-space: nowrap;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&__status {
|
|
45
118
|
border: 0;
|
|
46
|
-
|
|
119
|
+
clip-path: inset(50%);
|
|
120
|
+
height: $border__width--xs;
|
|
121
|
+
margin: -#{$border__width--xs};
|
|
122
|
+
overflow: hidden;
|
|
47
123
|
padding: 0;
|
|
124
|
+
position: absolute;
|
|
125
|
+
white-space: nowrap;
|
|
126
|
+
width: $border__width--xs;
|
|
48
127
|
}
|
|
49
128
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
box-shadow: $shadow__level--1;
|
|
54
|
-
padding: $spacing__inset--nano;
|
|
55
|
-
transition: ease-in-out 0.3s;
|
|
56
|
-
|
|
57
|
-
&:hover {
|
|
58
|
-
background-color: var(--stepper__button--hover);
|
|
129
|
+
&--mobile {
|
|
130
|
+
flex-direction: column;
|
|
131
|
+
}
|
|
59
132
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}
|
|
63
|
-
}
|
|
133
|
+
&--mobile &__icon .ds-icon {
|
|
134
|
+
font-size: $size__icon--2xl;
|
|
64
135
|
}
|
|
65
136
|
|
|
66
|
-
&
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
opacity: $opacity--medium;
|
|
137
|
+
&--mobile &__title {
|
|
138
|
+
@include typography('label-button-lg');
|
|
139
|
+
}
|
|
70
140
|
|
|
71
|
-
|
|
72
|
-
|
|
141
|
+
&--mobile &__step {
|
|
142
|
+
border-bottom: $border__width--md solid var(--stepper__bar);
|
|
143
|
+
border-top: 0;
|
|
144
|
+
flex: none;
|
|
145
|
+
min-height: 0;
|
|
146
|
+
}
|
|
73
147
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
148
|
+
&--mobile &__content {
|
|
149
|
+
align-items: center;
|
|
150
|
+
gap: $spacing__offset--md;
|
|
151
|
+
padding: $spacing--x5 $spacing__inset--md;
|
|
78
152
|
}
|
|
79
|
-
}
|
|
80
153
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
154
|
+
&--mobile &__icon {
|
|
155
|
+
margin-top: 0;
|
|
156
|
+
}
|
|
84
157
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.ds-table {
|
|
2
|
-
--table__border-color: var(--
|
|
3
|
-
--table__background-color--hover: var(--
|
|
2
|
+
--table__border-color: var(--color__border--muted);
|
|
3
|
+
--table__background-color--hover: var(--color__surface--hover);
|
|
4
4
|
|
|
5
5
|
$self: &;
|
|
6
6
|
|
|
@@ -12,32 +12,33 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
@include typography('body-md');
|
|
16
|
+
|
|
16
17
|
width: 100%;
|
|
17
18
|
|
|
18
19
|
&__head {
|
|
20
|
+
@include typography('body-md-bold');
|
|
21
|
+
|
|
19
22
|
color: var(--text__color);
|
|
20
|
-
font-size: $font__size--sm;
|
|
21
|
-
font-weight: $font__weight--bold;
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
&__body {
|
|
25
26
|
border-radius: $border__radius--xs;
|
|
26
27
|
box-shadow: 0 0 0 1px var(--table__border-color);
|
|
28
|
+
}
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
&__body &__row {
|
|
31
|
+
&:not(:last-child) {
|
|
32
|
+
border-bottom: $border__width--xs solid var(--table__border-color);
|
|
33
|
+
}
|
|
32
34
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
&:last-child {
|
|
36
|
+
border-radius: $border__radius--none $border__radius--none
|
|
37
|
+
$border__radius--xs $border__radius--xs;
|
|
38
|
+
}
|
|
37
39
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: var(--table__background-color--hover);
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
@@ -74,8 +75,8 @@
|
|
|
74
75
|
&__cell {
|
|
75
76
|
align-items: center;
|
|
76
77
|
display: flex;
|
|
77
|
-
gap: $
|
|
78
|
-
padding: $spacing__inset--
|
|
78
|
+
gap: $spacing__offset--sm;
|
|
79
|
+
padding: $spacing__inset--sm;
|
|
79
80
|
|
|
80
81
|
&--align-left {
|
|
81
82
|
justify-content: flex-start;
|