@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,280 @@
|
|
|
1
|
+
$checkbox-card-group__columns: var(--checkbox-card-group__columns, 1);
|
|
2
|
+
$checkbox-card-group__min-column: var(--checkbox-card-group__min-column, 320px);
|
|
3
|
+
$checkbox-card-group__ideal-column: calc(
|
|
4
|
+
(100% - (#{$checkbox-card-group__columns} - 1) * #{$spacing__offset--md}) /
|
|
5
|
+
#{$checkbox-card-group__columns}
|
|
6
|
+
);
|
|
7
|
+
|
|
8
|
+
.ds-checkbox-card-group {
|
|
9
|
+
border: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
min-inline-size: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
|
|
14
|
+
&__legend {
|
|
15
|
+
@include typography('headline-6');
|
|
16
|
+
|
|
17
|
+
color: var(--color__foreground--default);
|
|
18
|
+
margin-block-end: $spacing__offset--xs;
|
|
19
|
+
padding: 0;
|
|
20
|
+
|
|
21
|
+
:where([data-theme='dark']) & {
|
|
22
|
+
color: var(--color__foreground--inverse);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__description {
|
|
27
|
+
@include typography('caption');
|
|
28
|
+
|
|
29
|
+
color: var(--color__foreground--subtle);
|
|
30
|
+
display: block;
|
|
31
|
+
margin-block-end: $spacing__offset--xs;
|
|
32
|
+
|
|
33
|
+
:where([data-theme='dark']) & {
|
|
34
|
+
color: var(--color__foreground--inverse);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__items {
|
|
39
|
+
display: flex;
|
|
40
|
+
gap: $spacing__offset--md;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--row &__items {
|
|
44
|
+
flex-flow: row wrap;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&--column &__items {
|
|
48
|
+
display: grid;
|
|
49
|
+
grid-template-columns: repeat(
|
|
50
|
+
auto-fit,
|
|
51
|
+
minmax(
|
|
52
|
+
min(
|
|
53
|
+
100%,
|
|
54
|
+
max(
|
|
55
|
+
#{$checkbox-card-group__min-column},
|
|
56
|
+
#{$checkbox-card-group__ideal-column}
|
|
57
|
+
)
|
|
58
|
+
),
|
|
59
|
+
1fr
|
|
60
|
+
)
|
|
61
|
+
);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--column &__items > &__option {
|
|
65
|
+
min-width: 0;
|
|
66
|
+
width: auto;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&--row &__items > &__option {
|
|
70
|
+
flex: 1 1 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__option {
|
|
74
|
+
--checkbox-card-group__control-color: var(--color__border--strong);
|
|
75
|
+
--checkbox-card-group__title-color: var(--color__foreground--default);
|
|
76
|
+
--checkbox-card-group__option-description-color: var(
|
|
77
|
+
--color__foreground--subtle
|
|
78
|
+
);
|
|
79
|
+
|
|
80
|
+
align-items: stretch;
|
|
81
|
+
border-radius: $border__radius--sm;
|
|
82
|
+
box-sizing: border-box;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
display: inline-flex;
|
|
85
|
+
position: relative;
|
|
86
|
+
width: fit-content;
|
|
87
|
+
|
|
88
|
+
:where([data-theme='dark']) & {
|
|
89
|
+
--checkbox-card-group__control-color: var(--color__foreground--inverse);
|
|
90
|
+
--checkbox-card-group__title-color: var(--color__foreground--inverse);
|
|
91
|
+
--checkbox-card-group__option-description-color: var(
|
|
92
|
+
--color__foreground--inverse
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&__card {
|
|
98
|
+
align-items: flex-start;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
flex: 1 1 auto;
|
|
101
|
+
flex-direction: row;
|
|
102
|
+
min-width: 0;
|
|
103
|
+
|
|
104
|
+
:where([data-theme='dark']) & {
|
|
105
|
+
--card__bg: var(--color__surface--inverse);
|
|
106
|
+
--card__bg-hover: var(--color__border--strong);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
:where([data-theme='dark']) &:where(.ds-card--border-default) {
|
|
110
|
+
--card__border: var(--color__border--subtle);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&__option:hover &__card {
|
|
115
|
+
background-color: var(--card__bg-hover);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
:where(&__input:checked:not(:disabled))
|
|
119
|
+
+ &__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
|
+
&__option:has(&__input:focus-visible) {
|
|
128
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
129
|
+
outline-offset: $border__width--md;
|
|
130
|
+
|
|
131
|
+
:where([data-theme='dark']) & {
|
|
132
|
+
outline-color: var(--color__border--default);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&__option--disabled,
|
|
137
|
+
&__option--disabled:hover {
|
|
138
|
+
--checkbox-card-group__control-color: var(--color__border--muted);
|
|
139
|
+
--checkbox-card-group__title-color: var(--color__foreground--disabled);
|
|
140
|
+
--checkbox-card-group__option-description-color: var(
|
|
141
|
+
--color__foreground--disabled
|
|
142
|
+
);
|
|
143
|
+
|
|
144
|
+
cursor: not-allowed;
|
|
145
|
+
|
|
146
|
+
:where([data-theme='dark']) & {
|
|
147
|
+
--checkbox-card-group__control-color: var(--color__foreground--subtle);
|
|
148
|
+
--checkbox-card-group__title-color: var(--color__foreground--subtle);
|
|
149
|
+
--checkbox-card-group__option-description-color: var(
|
|
150
|
+
--color__foreground--subtle
|
|
151
|
+
);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&__option--disabled &__card {
|
|
156
|
+
--card__bg-hover: var(--card__bg);
|
|
157
|
+
--card__border: var(--color__border--default);
|
|
158
|
+
|
|
159
|
+
:where([data-theme='dark']) & {
|
|
160
|
+
--card__border: var(--color__border--subtle);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&__input {
|
|
165
|
+
cursor: inherit;
|
|
166
|
+
inset: 0;
|
|
167
|
+
margin: 0;
|
|
168
|
+
opacity: 0;
|
|
169
|
+
position: absolute;
|
|
170
|
+
z-index: 1;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&__control {
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
flex-shrink: 0;
|
|
176
|
+
height: $size__icon--lg;
|
|
177
|
+
pointer-events: none;
|
|
178
|
+
position: relative;
|
|
179
|
+
width: $size__icon--lg;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
&__glyph.ds-icon {
|
|
183
|
+
color: var(--checkbox-card-group__control-color);
|
|
184
|
+
inset: 0;
|
|
185
|
+
line-height: 1;
|
|
186
|
+
position: absolute;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&__glyph--checked.ds-icon {
|
|
190
|
+
opacity: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&__input:checked + &__card &__glyph--checked.ds-icon {
|
|
194
|
+
opacity: 1;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&__input:checked + &__card &__glyph--unchecked.ds-icon {
|
|
198
|
+
opacity: 0;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
&__text {
|
|
202
|
+
display: flex;
|
|
203
|
+
flex: 1 0 0;
|
|
204
|
+
flex-direction: column;
|
|
205
|
+
gap: $spacing__offset--xs;
|
|
206
|
+
min-width: 0;
|
|
207
|
+
overflow: clip;
|
|
208
|
+
overflow-wrap: break-word;
|
|
209
|
+
pointer-events: none;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
&__title {
|
|
213
|
+
@include typography('body-md-bold');
|
|
214
|
+
|
|
215
|
+
color: var(--checkbox-card-group__title-color);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
&__option-description {
|
|
219
|
+
@include typography('body-sm');
|
|
220
|
+
|
|
221
|
+
color: var(--checkbox-card-group__option-description-color);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&__message {
|
|
225
|
+
@include feedback-message-reserve;
|
|
226
|
+
|
|
227
|
+
align-items: center;
|
|
228
|
+
display: flex;
|
|
229
|
+
gap: $spacing__offset--sm;
|
|
230
|
+
margin-block-start: $spacing__offset--md;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&__message-icon {
|
|
234
|
+
color: var(--checkbox-card-group__message-icon-color);
|
|
235
|
+
display: inline-flex;
|
|
236
|
+
flex-shrink: 0;
|
|
237
|
+
|
|
238
|
+
.ds-icon {
|
|
239
|
+
color: inherit;
|
|
240
|
+
line-height: 1;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&__message-text {
|
|
245
|
+
@include typography('body-sm');
|
|
246
|
+
|
|
247
|
+
color: var(--checkbox-card-group__message-color);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&--error {
|
|
251
|
+
--checkbox-card-group__message-color: var(--color__foreground--destructive);
|
|
252
|
+
--checkbox-card-group__message-icon-color: var(
|
|
253
|
+
--color__foreground--destructive
|
|
254
|
+
);
|
|
255
|
+
|
|
256
|
+
:where([data-theme='dark']) & {
|
|
257
|
+
--checkbox-card-group__message-color: var(--color__destructive--hover);
|
|
258
|
+
--checkbox-card-group__message-icon-color: var(
|
|
259
|
+
--color__destructive--hover
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
&--warning {
|
|
265
|
+
--checkbox-card-group__message-color: var(
|
|
266
|
+
--color__foreground--warning-strong
|
|
267
|
+
);
|
|
268
|
+
--checkbox-card-group__message-icon-color: var(
|
|
269
|
+
--color__foreground--warning
|
|
270
|
+
);
|
|
271
|
+
|
|
272
|
+
:where([data-theme='dark']) & {
|
|
273
|
+
--checkbox-card-group__message-color: var(--color__warning--hover);
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
&--full-width {
|
|
278
|
+
width: 100%;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.ds-checkbox-group {
|
|
2
|
+
border: 0;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: $spacing__offset--sm;
|
|
6
|
+
margin: 0;
|
|
7
|
+
min-inline-size: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
|
|
10
|
+
&__label {
|
|
11
|
+
@include typography('headline-6');
|
|
12
|
+
|
|
13
|
+
color: var(--color__foreground--default);
|
|
14
|
+
margin-block-end: $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
|
+
}
|
|
27
|
+
|
|
28
|
+
@include choice-feedback-message('checkbox-group');
|
|
29
|
+
|
|
30
|
+
&__options .ds-checkbox__message {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
:where([data-theme='dark']) & {
|
|
35
|
+
&__label {
|
|
36
|
+
color: var(--color__foreground--inverse);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
.ds-combobox {
|
|
2
|
+
&__container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__input {
|
|
7
|
+
input {
|
|
8
|
+
z-index: 8;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
label {
|
|
12
|
+
z-index: 9;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&--trailing .ds-input__field {
|
|
16
|
+
padding-right: $spacing__inset--md + $size__icon--md + $spacing__inset--md;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&--trailing.ds-input--sm .ds-input__field {
|
|
20
|
+
padding-right: $spacing__inset--sm + $size__icon--sm + $spacing__inset--sm;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&--trailing.ds-input--lg .ds-input__field {
|
|
24
|
+
padding-right: $spacing__inset--md + $size__icon--lg + $spacing__inset--md;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__icon,
|
|
29
|
+
&__loading {
|
|
30
|
+
position: absolute;
|
|
31
|
+
transform: translateY(-50%);
|
|
32
|
+
z-index: 99;
|
|
33
|
+
|
|
34
|
+
&--sm {
|
|
35
|
+
right: $spacing__inset--sm;
|
|
36
|
+
top: $size__input--sm * 0.5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--md {
|
|
40
|
+
right: $spacing__inset--md;
|
|
41
|
+
top: $size__input--md * 0.5;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--lg {
|
|
45
|
+
right: $spacing__inset--md;
|
|
46
|
+
top: $size__input--lg * 0.5;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__loading {
|
|
51
|
+
display: flex;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__container &__icon {
|
|
55
|
+
color: var(--color__foreground--strong);
|
|
56
|
+
|
|
57
|
+
:where([data-theme='dark']) & {
|
|
58
|
+
color: var(--color__foreground--inverse);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__list {
|
|
63
|
+
@include typography('label-button-md');
|
|
64
|
+
|
|
65
|
+
background: var(--color__surface--default);
|
|
66
|
+
border: 1px solid var(--color__border--subtle);
|
|
67
|
+
border-radius: $border__radius--xs;
|
|
68
|
+
box-sizing: border-box;
|
|
69
|
+
display: block;
|
|
70
|
+
max-height: 360px;
|
|
71
|
+
overflow: scroll;
|
|
72
|
+
padding: 2px 0;
|
|
73
|
+
position: absolute;
|
|
74
|
+
width: 100%;
|
|
75
|
+
z-index: 10;
|
|
76
|
+
|
|
77
|
+
&--option {
|
|
78
|
+
cursor: pointer;
|
|
79
|
+
padding: 8px 16px;
|
|
80
|
+
|
|
81
|
+
&.not-found {
|
|
82
|
+
cursor: auto;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&--sm {
|
|
87
|
+
top: $size__input--sm;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&--md {
|
|
91
|
+
top: $size__input--md;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--lg {
|
|
95
|
+
top: $size__input--lg;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__option {
|
|
100
|
+
@include typography('label-button-md');
|
|
101
|
+
|
|
102
|
+
background: none;
|
|
103
|
+
border: none;
|
|
104
|
+
border-radius: $border__radius--xs;
|
|
105
|
+
color: var(--color__foreground--default);
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
display: block;
|
|
108
|
+
margin: 0 $spacing__offset--xs;
|
|
109
|
+
padding: 16px 4px;
|
|
110
|
+
text-align: left;
|
|
111
|
+
width: 100%;
|
|
112
|
+
|
|
113
|
+
&--selected {
|
|
114
|
+
background-color: var(--color__surface--muted);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&:hover,
|
|
118
|
+
&--active {
|
|
119
|
+
background-color: var(--color__info--default);
|
|
120
|
+
color: var(--color__foreground--inverse);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&--disabled,
|
|
124
|
+
&--disabled:hover {
|
|
125
|
+
background-color: transparent;
|
|
126
|
+
color: var(--color__foreground--disabled);
|
|
127
|
+
cursor: not-allowed;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&--not-found {
|
|
131
|
+
cursor: auto;
|
|
132
|
+
|
|
133
|
+
&--sm {
|
|
134
|
+
@include typography('label-button-sm');
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--md {
|
|
138
|
+
@include typography('label-button-sm');
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
&--lg {
|
|
142
|
+
@include typography('label-button-md');
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&--sm {
|
|
147
|
+
@include typography('label-button-sm');
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&--md {
|
|
151
|
+
@include typography('label-button-sm');
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&--lg {
|
|
155
|
+
@include typography('label-button-md');
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
$indicator__background: var(--
|
|
3
|
-
$indicator__background--
|
|
4
|
-
$indicator__background--older: var(--color__neutral--70) !default;
|
|
1
|
+
$indicator__background: var(--color__surface--muted) !default;
|
|
2
|
+
$indicator__background--active: var(--color__surface--inverse) !default;
|
|
3
|
+
$indicator__background--older: var(--color__foreground--strong) !default;
|
|
5
4
|
$indicator__radius: $border__radius--xs !default;
|
|
6
|
-
$indicator__gap: $
|
|
5
|
+
$indicator__gap: $spacing__offset--xs !default;
|
|
7
6
|
$indicator__heigth: 12px !default;
|
|
8
7
|
|
|
9
|
-
// === INDICATOR COMPONENT ===
|
|
10
8
|
.ds-indicator {
|
|
11
9
|
align-items: center;
|
|
12
10
|
display: flex;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
.ds-inline-editable {
|
|
2
|
-
.ds-flex
|
|
3
|
-
height: $spacing--
|
|
2
|
+
.ds-flex {
|
|
3
|
+
height: $spacing--x6;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.ds-input {
|
|
7
|
-
margin-bottom: 0;
|
|
8
|
-
|
|
9
7
|
&__input {
|
|
10
8
|
background-color: transparent;
|
|
11
9
|
box-shadow: $shadow__level--1;
|
|
12
|
-
caret-color: var(--
|
|
13
|
-
height: $spacing--
|
|
14
|
-
padding: $spacing__inset--
|
|
15
|
-
width: $spacing--
|
|
10
|
+
caret-color: var(--color__foreground--primary);
|
|
11
|
+
height: $spacing--x6;
|
|
12
|
+
padding: $spacing__inset--xs;
|
|
13
|
+
width: $spacing--x10;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
16
|
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
.ds-password-confirmation {
|
|
2
|
+
&__field {
|
|
3
|
+
margin-bottom: $spacing__offset--md;
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
&__list {
|
|
3
7
|
display: flex;
|
|
4
8
|
|
|
5
9
|
.ds-icon {
|
|
6
|
-
margin-top: $
|
|
10
|
+
margin-top: $spacing__offset--xs;
|
|
7
11
|
}
|
|
8
|
-
}
|
|
9
12
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
&--disc {
|
|
14
|
+
list-style: disc;
|
|
15
|
+
margin-left: $spacing__offset--lg;
|
|
16
|
+
margin-right: $spacing__offset--lg;
|
|
17
|
+
text-align: -webkit-match-parent;
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.ds-progress-bar {
|
|
2
|
+
--progress-bar__fill: var(--color__primary--default);
|
|
3
|
+
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: $spacing__offset--xs;
|
|
7
|
+
width: 100%;
|
|
8
|
+
|
|
9
|
+
&--success {
|
|
10
|
+
--progress-bar__fill: var(--color__success--default);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&--warning {
|
|
14
|
+
--progress-bar__fill: var(--color__warning--emphasis);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--destructive {
|
|
18
|
+
--progress-bar__fill: var(--color__destructive--default);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__title {
|
|
22
|
+
@include typography('body-md-bold');
|
|
23
|
+
|
|
24
|
+
color: var(--color__foreground--default);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__bar {
|
|
28
|
+
align-items: center;
|
|
29
|
+
display: flex;
|
|
30
|
+
gap: $spacing__offset--sm;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__track {
|
|
34
|
+
background: var(--progress-bar__track, var(--color__secondary--subtle));
|
|
35
|
+
border-radius: $border__radius--pill;
|
|
36
|
+
flex: 1;
|
|
37
|
+
height: $spacing--x3;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__fill {
|
|
42
|
+
background: var(--progress-bar__fill);
|
|
43
|
+
border-radius: $border__radius--pill;
|
|
44
|
+
height: 100%;
|
|
45
|
+
transition: width 0.2s ease;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__percentage {
|
|
49
|
+
@include typography('body-sm');
|
|
50
|
+
|
|
51
|
+
color: var(--color__foreground--subtle);
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
text-align: right;
|
|
54
|
+
width: $spacing--x7;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__label {
|
|
58
|
+
@include typography('body-sm');
|
|
59
|
+
|
|
60
|
+
color: var(--color__foreground--subtle);
|
|
61
|
+
padding-top: $spacing--x2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--indeterminate &__fill {
|
|
65
|
+
animation: ds-progress-bar-indeterminate 1.5s ease-in-out infinite;
|
|
66
|
+
transition: none;
|
|
67
|
+
width: 25%;
|
|
68
|
+
|
|
69
|
+
@media (prefers-reduced-motion: reduce) {
|
|
70
|
+
animation: none;
|
|
71
|
+
opacity: $opacity--50;
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@keyframes ds-progress-bar-indeterminate {
|
|
78
|
+
from {
|
|
79
|
+
transform: translateX(-100%);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
to {
|
|
83
|
+
transform: translateX(400%);
|
|
84
|
+
}
|
|
85
|
+
}
|