@akad/design-system 4.0.1 → 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 +5373 -5004
- 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 -15
- 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 -473
- 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,62 @@
|
|
|
1
|
+
p,
|
|
2
|
+
.ds-paragraph {
|
|
3
|
+
@include typography('body-md');
|
|
4
|
+
|
|
5
|
+
margin: 0;
|
|
6
|
+
|
|
7
|
+
b,
|
|
8
|
+
strong {
|
|
9
|
+
@include typography('body-md-bold');
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
a {
|
|
13
|
+
color: var(--color__foreground--info);
|
|
14
|
+
display: inline;
|
|
15
|
+
text-decoration: none;
|
|
16
|
+
|
|
17
|
+
&:visited {
|
|
18
|
+
color: var(--color__foreground--info-strong);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
color: var(--color__foreground--info);
|
|
23
|
+
text-decoration: underline;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ds-paragraph {
|
|
29
|
+
&--md {
|
|
30
|
+
@include typography('body-md');
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--lg {
|
|
34
|
+
@include typography('body-lg');
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&--sm {
|
|
38
|
+
@include typography('body-sm');
|
|
39
|
+
|
|
40
|
+
b,
|
|
41
|
+
strong {
|
|
42
|
+
@include typography('body-sm-bold');
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--lg b,
|
|
47
|
+
&--lg strong {
|
|
48
|
+
@include typography('body-lg-bold');
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&--bold {
|
|
52
|
+
@include typography('body-md-bold');
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--sm#{&}--bold {
|
|
56
|
+
@include typography('body-sm-bold');
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--lg#{&}--bold {
|
|
60
|
+
@include typography('body-lg-bold');
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -1,44 +1,16 @@
|
|
|
1
1
|
.ds-spacer {
|
|
2
2
|
&__vertical {
|
|
3
|
-
@each $
|
|
4
|
-
&--#{$
|
|
5
|
-
|
|
6
|
-
height: $spacing--quark;
|
|
7
|
-
} @else if $modifier == 'nano' {
|
|
8
|
-
height: $spacing--nano;
|
|
9
|
-
} @else if $modifier == 'xxxs' {
|
|
10
|
-
height: $spacing--xxxs;
|
|
11
|
-
} @else if $modifier == 'xxs' {
|
|
12
|
-
height: $spacing--xxs;
|
|
13
|
-
} @else if $modifier == 'xs' {
|
|
14
|
-
height: $spacing--xs;
|
|
15
|
-
} @else if $modifier == 'sm' {
|
|
16
|
-
height: $spacing--sm;
|
|
17
|
-
} @else if $modifier == 'none' {
|
|
18
|
-
height: 0;
|
|
19
|
-
}
|
|
3
|
+
@each $name, $value in $spacing__offset {
|
|
4
|
+
&--#{$name} {
|
|
5
|
+
height: $value;
|
|
20
6
|
}
|
|
21
7
|
}
|
|
22
8
|
}
|
|
23
9
|
|
|
24
10
|
&__horizontal {
|
|
25
|
-
@each $
|
|
26
|
-
&--#{$
|
|
27
|
-
|
|
28
|
-
width: $spacing--quark;
|
|
29
|
-
} @else if $modifier == 'nano' {
|
|
30
|
-
width: $spacing--nano;
|
|
31
|
-
} @else if $modifier == 'xxxs' {
|
|
32
|
-
width: $spacing--xxxs;
|
|
33
|
-
} @else if $modifier == 'xxs' {
|
|
34
|
-
width: $spacing--xxs;
|
|
35
|
-
} @else if $modifier == 'xs' {
|
|
36
|
-
width: $spacing--xs;
|
|
37
|
-
} @else if $modifier == 'sm' {
|
|
38
|
-
width: $spacing--sm;
|
|
39
|
-
} @else if $modifier == 'none' {
|
|
40
|
-
width: 0;
|
|
41
|
-
}
|
|
11
|
+
@each $name, $value in $spacing__offset {
|
|
12
|
+
&--#{$name} {
|
|
13
|
+
width: $value;
|
|
42
14
|
}
|
|
43
15
|
}
|
|
44
16
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
1
3
|
$sides: ('top', 'right', 'bottom', 'left');
|
|
2
4
|
|
|
3
5
|
.ds-wrapper {
|
|
@@ -15,8 +17,14 @@ $sides: ('top', 'right', 'bottom', 'left');
|
|
|
15
17
|
}
|
|
16
18
|
}
|
|
17
19
|
|
|
18
|
-
@each $
|
|
19
|
-
|
|
20
|
+
@each $side in $sides {
|
|
21
|
+
&__#{$side}--none {
|
|
22
|
+
padding-#{$side}: 0 !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@each $display in ('mobile') {
|
|
27
|
+
@media (max-width: #{map.get($breakpoint, $display)}) {
|
|
20
28
|
@each $size, $value in $spacing__inset {
|
|
21
29
|
@each $side in $sides {
|
|
22
30
|
&__#{$display}-#{$side}--#{$size} {
|
|
@@ -1,53 +1,55 @@
|
|
|
1
1
|
// Components index (flat structure - lowercase/kebab-case)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
@import 'bosons/caption';
|
|
4
4
|
@import 'bosons/container';
|
|
5
|
-
@import 'bosons/flex
|
|
5
|
+
@import 'bosons/flex';
|
|
6
6
|
@import 'bosons/grid';
|
|
7
|
-
@import 'bosons/
|
|
7
|
+
@import 'bosons/heading';
|
|
8
|
+
@import 'bosons/label';
|
|
9
|
+
@import 'bosons/paragraph';
|
|
8
10
|
@import 'bosons/spacer';
|
|
11
|
+
@import 'bosons/subtitle';
|
|
9
12
|
@import 'bosons/wrapper';
|
|
10
13
|
|
|
11
14
|
// Atoms
|
|
12
15
|
@import 'atoms/button';
|
|
13
16
|
@import 'atoms/card';
|
|
14
|
-
@import 'atoms/caption';
|
|
15
17
|
@import 'atoms/checkbox';
|
|
16
|
-
@import 'atoms/
|
|
17
|
-
@import 'atoms/
|
|
18
|
+
@import 'atoms/badge';
|
|
19
|
+
@import 'atoms/feedback-message';
|
|
18
20
|
@import 'atoms/horizontal-rule';
|
|
19
21
|
@import 'atoms/icon';
|
|
22
|
+
@import 'atoms/icon-button';
|
|
20
23
|
@import 'atoms/input';
|
|
21
24
|
@import 'atoms/loading';
|
|
22
|
-
@import 'atoms/option';
|
|
23
|
-
@import 'atoms/paragraph';
|
|
24
|
-
@import 'atoms/progress';
|
|
25
25
|
@import 'atoms/radio';
|
|
26
|
-
@import 'atoms/segment-control';
|
|
27
26
|
@import 'atoms/select';
|
|
28
|
-
@import 'atoms/subtitle';
|
|
29
27
|
@import 'atoms/textarea';
|
|
30
28
|
@import 'atoms/tooltip';
|
|
31
29
|
|
|
32
30
|
// Molecules
|
|
33
31
|
@import 'molecules/accordion';
|
|
34
32
|
@import 'molecules/active-tags';
|
|
33
|
+
@import 'molecules/alert';
|
|
35
34
|
@import 'molecules/carousel';
|
|
36
|
-
@import 'molecules/checkbox-card';
|
|
37
|
-
@import 'molecules/
|
|
35
|
+
@import 'molecules/checkbox-card-group';
|
|
36
|
+
@import 'molecules/checkbox-group';
|
|
37
|
+
@import 'molecules/combobox';
|
|
38
38
|
@import 'molecules/indicator';
|
|
39
39
|
@import 'molecules/inline-editable';
|
|
40
|
-
@import 'molecules/modal';
|
|
41
|
-
@import 'molecules/notification';
|
|
42
40
|
@import 'molecules/password-confirmation';
|
|
41
|
+
@import 'molecules/progress-bar';
|
|
42
|
+
@import 'molecules/radio-card-group';
|
|
43
|
+
@import 'molecules/radio-group';
|
|
44
|
+
@import 'molecules/segment-control';
|
|
43
45
|
@import 'molecules/stepper';
|
|
44
46
|
@import 'molecules/table';
|
|
45
47
|
@import 'molecules/tabs';
|
|
46
|
-
@import 'molecules/theme-provider';
|
|
47
48
|
|
|
48
49
|
// Organisms
|
|
50
|
+
@import 'organisms/modal';
|
|
49
51
|
@import 'organisms/notification-list';
|
|
52
|
+
@import 'providers/theme-provider';
|
|
50
53
|
|
|
51
54
|
// Templates
|
|
52
|
-
@import 'templates/split-layout';
|
|
53
55
|
@import 'templates/two-columns';
|
|
@@ -1,59 +1,48 @@
|
|
|
1
1
|
.ds-accordion {
|
|
2
|
-
|
|
3
|
-
--accordion-background-color: var(--background__color);
|
|
4
|
-
--accordion-background-color--hover: var(--color__neutral--10);
|
|
5
|
-
--accordion-title-color: var(--color__neutral--100);
|
|
6
|
-
--accordion-content-color: var(--color__neutral--100);
|
|
7
|
-
--accordion-border-color: var(--color__neutral--40);
|
|
8
|
-
|
|
9
|
-
border: $border__width--hairline solid var(--accordion-border-color);
|
|
2
|
+
border: $border__width--xs solid var(--color__border--muted);
|
|
10
3
|
border-radius: $border__radius--xs;
|
|
11
4
|
list-style: none;
|
|
12
5
|
margin: 0;
|
|
6
|
+
overflow: hidden;
|
|
13
7
|
padding: 0;
|
|
14
8
|
width: 100%;
|
|
15
9
|
}
|
|
16
10
|
|
|
17
11
|
.ds-accordion-item {
|
|
18
|
-
$self: &;
|
|
19
|
-
|
|
20
12
|
&:not(:last-child) {
|
|
21
|
-
border-bottom: $border__width--
|
|
13
|
+
border-bottom: $border__width--xs solid var(--color__border--muted);
|
|
22
14
|
}
|
|
23
15
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
border-radius: $border__radius--xs $border__radius--xs
|
|
27
|
-
$border__radius--none $border__radius--none;
|
|
28
|
-
}
|
|
16
|
+
&--disabled {
|
|
17
|
+
opacity: $opacity--50;
|
|
29
18
|
}
|
|
30
19
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
$border__radius--xs $border__radius--xs;
|
|
35
|
-
}
|
|
20
|
+
&__heading {
|
|
21
|
+
font: inherit;
|
|
22
|
+
margin: 0;
|
|
36
23
|
}
|
|
37
24
|
|
|
38
25
|
&__button {
|
|
39
26
|
align-items: center;
|
|
40
|
-
background-color: var(--
|
|
27
|
+
background-color: var(--color__surface--default);
|
|
41
28
|
border: 0;
|
|
42
|
-
color: var(--
|
|
29
|
+
color: var(--color__foreground--default);
|
|
43
30
|
cursor: pointer;
|
|
44
31
|
display: flex;
|
|
45
|
-
gap: $
|
|
32
|
+
gap: $spacing__offset--md;
|
|
46
33
|
justify-content: space-between;
|
|
47
|
-
|
|
34
|
+
outline: $border__width--sm solid transparent;
|
|
35
|
+
padding: $spacing__inset--md;
|
|
48
36
|
user-select: none;
|
|
49
37
|
width: 100%;
|
|
50
38
|
|
|
51
|
-
&:
|
|
52
|
-
|
|
39
|
+
&:enabled:hover {
|
|
40
|
+
background-color: var(--color__surface--page);
|
|
53
41
|
}
|
|
54
42
|
|
|
55
|
-
&:
|
|
56
|
-
|
|
43
|
+
&:focus-visible {
|
|
44
|
+
border: $border__width--sm solid var(--color__border--subtle);
|
|
45
|
+
outline: $border__width--sm solid transparent;
|
|
57
46
|
}
|
|
58
47
|
|
|
59
48
|
.ds-paragraph {
|
|
@@ -62,34 +51,39 @@
|
|
|
62
51
|
}
|
|
63
52
|
}
|
|
64
53
|
|
|
54
|
+
&__button &__icon,
|
|
55
|
+
&__button &__left-icon {
|
|
56
|
+
color: inherit;
|
|
57
|
+
}
|
|
58
|
+
|
|
65
59
|
&__title {
|
|
66
60
|
margin: 0;
|
|
67
61
|
width: 100%;
|
|
68
62
|
}
|
|
69
63
|
|
|
70
|
-
&--active {
|
|
71
|
-
|
|
64
|
+
&--active &__icon {
|
|
65
|
+
transform: rotate(-180deg);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__content {
|
|
69
|
+
background-color: var(--color__surface--page);
|
|
70
|
+
color: var(--color__foreground--default);
|
|
71
|
+
padding: $spacing__inset--md;
|
|
72
|
+
}
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
:where([data-theme='dark']) & {
|
|
75
|
+
&__button {
|
|
76
|
+
background-color: var(--background__color);
|
|
77
|
+
color: var(--color__foreground--inverse);
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
&:enabled:hover {
|
|
80
|
+
background-color: var(--color__border--strong);
|
|
78
81
|
}
|
|
79
82
|
}
|
|
80
|
-
}
|
|
81
83
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
&__content {
|
|
85
|
+
background-color: var(--background__color);
|
|
86
|
+
color: var(--color__foreground--inverse);
|
|
87
|
+
}
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
|
-
|
|
88
|
-
// Dark mode
|
|
89
|
-
[data-theme='dark'] .ds-accordion {
|
|
90
|
-
--accordion-background-color: var(--background__color);
|
|
91
|
-
--accordion-background-color--hover: var(--color__neutral--80);
|
|
92
|
-
--accordion-title-color: var(--color__neutral--00);
|
|
93
|
-
--accordion-content-color: var(--color__neutral--00);
|
|
94
|
-
--accordion-border-color: var(--color__neutral--40);
|
|
95
|
-
}
|
|
@@ -1,59 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
.ds-active-tags {
|
|
2
|
+
align-items: flex-start;
|
|
3
3
|
display: flex;
|
|
4
|
-
gap:
|
|
4
|
+
gap: $spacing__offset--sm;
|
|
5
5
|
|
|
6
6
|
&__title {
|
|
7
|
+
@include typography('body-md');
|
|
8
|
+
|
|
7
9
|
align-items: center;
|
|
8
|
-
background
|
|
10
|
+
background: var(--color__primary--default);
|
|
9
11
|
border-radius: $border__radius--xs $border__radius--none
|
|
10
12
|
$border__radius--none $border__radius--xs;
|
|
11
|
-
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
color: var(--color__foreground--on-emphasis);
|
|
12
15
|
display: flex;
|
|
13
|
-
|
|
14
|
-
height:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
padding: 0 10px;
|
|
16
|
+
flex-shrink: 0;
|
|
17
|
+
height: $spacing--x6;
|
|
18
|
+
margin-right: $spacing__offset--md;
|
|
19
|
+
padding: 0 $spacing__inset--sm;
|
|
18
20
|
position: relative;
|
|
21
|
+
white-space: nowrap;
|
|
19
22
|
|
|
20
23
|
&::after {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
border-top: 20px solid transparent;
|
|
24
|
+
background: inherit;
|
|
25
|
+
clip-path: polygon(0 0, 100% 50%, 0 100%);
|
|
24
26
|
content: '';
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
height: 100%;
|
|
28
|
+
left: 100%;
|
|
27
29
|
position: absolute;
|
|
28
|
-
right: -13px;
|
|
29
30
|
top: 0;
|
|
30
|
-
width:
|
|
31
|
+
width: $spacing--x4;
|
|
31
32
|
}
|
|
32
33
|
}
|
|
33
34
|
|
|
34
35
|
&__list {
|
|
35
36
|
display: flex;
|
|
36
37
|
flex-wrap: wrap;
|
|
37
|
-
gap: $
|
|
38
|
+
gap: $spacing__offset--sm;
|
|
39
|
+
list-style: none;
|
|
40
|
+
margin: 0;
|
|
41
|
+
min-width: 0;
|
|
42
|
+
padding: 0;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
45
|
&__item {
|
|
46
|
+
display: flex;
|
|
47
|
+
|
|
48
|
+
&--removable {
|
|
49
|
+
--active-tags__base: var(--color__primary--subtle);
|
|
50
|
+
--active-tags__hover: var(--color__primary--hover);
|
|
51
|
+
--active-tags__text: var(--color__foreground--default);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--static {
|
|
55
|
+
--active-tags__base: var(--color__foreground--strong);
|
|
56
|
+
--active-tags__text: var(--color__foreground--on-emphasis);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__item &__tip {
|
|
61
|
+
display: flex;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&__label {
|
|
65
|
+
--active-tags__fill: var(--active-tags__base);
|
|
66
|
+
|
|
67
|
+
@include typography('body-md');
|
|
68
|
+
|
|
41
69
|
align-items: center;
|
|
42
|
-
background
|
|
70
|
+
background: var(--active-tags__fill);
|
|
43
71
|
border-radius: $border__radius--xs;
|
|
44
|
-
|
|
72
|
+
box-sizing: border-box;
|
|
73
|
+
color: var(--active-tags__text);
|
|
45
74
|
display: flex;
|
|
46
|
-
gap: $
|
|
47
|
-
height:
|
|
48
|
-
padding: 0 $
|
|
75
|
+
gap: $spacing__offset--sm;
|
|
76
|
+
height: $spacing--x6;
|
|
77
|
+
padding: 0 $spacing__inset--sm;
|
|
78
|
+
white-space: nowrap;
|
|
79
|
+
}
|
|
49
80
|
|
|
50
|
-
|
|
51
|
-
|
|
81
|
+
&__item--removable &__label {
|
|
82
|
+
border-radius: $border__radius--xs $border__radius--none
|
|
83
|
+
$border__radius--none $border__radius--xs;
|
|
84
|
+
|
|
85
|
+
&:hover {
|
|
86
|
+
--active-tags__fill: var(--active-tags__hover);
|
|
52
87
|
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__close {
|
|
91
|
+
--active-tags__fill: var(--active-tags__base);
|
|
92
|
+
|
|
93
|
+
align-items: center;
|
|
94
|
+
appearance: none;
|
|
95
|
+
background: var(--active-tags__fill);
|
|
96
|
+
border: $border__width--xs solid var(--active-tags__fill);
|
|
97
|
+
border-radius: $border__radius--none $border__radius--xs $border__radius--xs
|
|
98
|
+
$border__radius--none;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
color: var(--active-tags__text);
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
display: flex;
|
|
103
|
+
font: inherit;
|
|
104
|
+
height: $spacing--x6;
|
|
105
|
+
justify-content: center;
|
|
106
|
+
margin: 0;
|
|
107
|
+
padding: 0;
|
|
108
|
+
width: $spacing--x6;
|
|
109
|
+
|
|
110
|
+
&:hover {
|
|
111
|
+
--active-tags__fill: var(--active-tags__hover);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&:focus-visible {
|
|
115
|
+
border-color: var(--color__border--subtle);
|
|
116
|
+
border-width: $border__width--sm;
|
|
117
|
+
outline: $border__width--sm solid transparent;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__icon {
|
|
122
|
+
align-items: center;
|
|
123
|
+
color: inherit;
|
|
124
|
+
display: inline-flex;
|
|
125
|
+
flex-shrink: 0;
|
|
126
|
+
line-height: 1;
|
|
53
127
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
128
|
+
.ds-icon {
|
|
129
|
+
color: inherit;
|
|
130
|
+
cursor: inherit;
|
|
57
131
|
}
|
|
58
132
|
}
|
|
59
133
|
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
.ds-alert {
|
|
2
|
+
@include typography('body-md');
|
|
3
|
+
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
animation: ds-alert-enter 0.5s ease-in-out;
|
|
6
|
+
background-color: var(--alert__surface);
|
|
7
|
+
border-left: $border__width--sm solid var(--alert__accent);
|
|
8
|
+
border-radius: $border__radius--xs;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
color: var(--color__foreground--default);
|
|
11
|
+
display: flex;
|
|
12
|
+
gap: $spacing__offset--md;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
padding: $spacing__inset--md;
|
|
15
|
+
position: relative;
|
|
16
|
+
width: 100%;
|
|
17
|
+
|
|
18
|
+
@keyframes ds-alert-enter {
|
|
19
|
+
from {
|
|
20
|
+
opacity: 0;
|
|
21
|
+
transform: translateY(-10px);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
to {
|
|
25
|
+
opacity: 1;
|
|
26
|
+
transform: translateY(0);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media (prefers-reduced-motion: reduce) {
|
|
31
|
+
animation: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--info {
|
|
35
|
+
--alert__accent: var(--color__border--info);
|
|
36
|
+
--alert__icon: var(--color__foreground--info);
|
|
37
|
+
--alert__surface: var(--color__info--subtle);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--success {
|
|
41
|
+
--alert__accent: var(--color__border--success);
|
|
42
|
+
--alert__icon: var(--color__foreground--success);
|
|
43
|
+
--alert__surface: var(--color__success--subtle);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--warning {
|
|
47
|
+
--alert__accent: var(--color__border--warning);
|
|
48
|
+
--alert__icon: var(--color__foreground--warning);
|
|
49
|
+
--alert__surface: var(--color__warning--subtle);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&--destructive {
|
|
53
|
+
--alert__accent: var(--color__border--destructive);
|
|
54
|
+
--alert__icon: var(--color__foreground--destructive);
|
|
55
|
+
--alert__surface: var(--color__destructive--subtle);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__icon.ds-icon {
|
|
59
|
+
color: var(--alert__icon);
|
|
60
|
+
cursor: default;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
line-height: 1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__text {
|
|
66
|
+
display: flex;
|
|
67
|
+
flex: 1;
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
gap: $spacing__offset--xs;
|
|
70
|
+
min-width: 0;
|
|
71
|
+
overflow-wrap: anywhere;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__title {
|
|
75
|
+
@include typography('body-md-bold');
|
|
76
|
+
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__message {
|
|
81
|
+
@include typography('body-md');
|
|
82
|
+
|
|
83
|
+
b,
|
|
84
|
+
strong {
|
|
85
|
+
@include typography('body-md-bold');
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__action {
|
|
90
|
+
align-self: flex-start;
|
|
91
|
+
background: transparent;
|
|
92
|
+
border: 0;
|
|
93
|
+
border-radius: $border__radius--xs;
|
|
94
|
+
color: var(--color__foreground--strong);
|
|
95
|
+
cursor: pointer;
|
|
96
|
+
font: inherit;
|
|
97
|
+
padding: 0;
|
|
98
|
+
text-decoration: underline;
|
|
99
|
+
width: auto;
|
|
100
|
+
|
|
101
|
+
@include typography('body-md-bold');
|
|
102
|
+
|
|
103
|
+
&:focus-visible {
|
|
104
|
+
box-shadow: 0 0 0 $border__width--sm var(--color__border--strong);
|
|
105
|
+
outline: $border__width--sm solid transparent;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__close {
|
|
110
|
+
align-items: center;
|
|
111
|
+
background: transparent;
|
|
112
|
+
border: 0;
|
|
113
|
+
border-radius: $border__radius--xs;
|
|
114
|
+
color: var(--color__foreground--default);
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
display: inline-flex;
|
|
117
|
+
flex-shrink: 0;
|
|
118
|
+
height: $size__icon--xl;
|
|
119
|
+
justify-content: center;
|
|
120
|
+
padding: 0;
|
|
121
|
+
width: $size__icon--xl;
|
|
122
|
+
|
|
123
|
+
&:hover {
|
|
124
|
+
background: var(--color__surface--hover);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:active {
|
|
128
|
+
background: var(--color__surface--muted);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:focus-visible {
|
|
132
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
133
|
+
outline-offset: $border__width--sm;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&__progress-bar {
|
|
138
|
+
background-color: var(--alert__accent);
|
|
139
|
+
bottom: 0;
|
|
140
|
+
height: $border__width--sm;
|
|
141
|
+
left: 0;
|
|
142
|
+
position: absolute;
|
|
143
|
+
transition: width 0.5s linear;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
align-items: center;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
|
-
gap:
|
|
5
|
+
gap: $spacing__offset--sm;
|
|
6
6
|
height: 100%;
|
|
7
7
|
justify-content: center;
|
|
8
8
|
max-height: 550px;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
&-wrapper {
|
|
22
22
|
display: flex;
|
|
23
|
-
gap:
|
|
23
|
+
gap: $spacing__offset--lg;
|
|
24
24
|
justify-content: center;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.dot {
|
|
56
|
-
background-color: var(--
|
|
56
|
+
background-color: var(--color__surface--muted);
|
|
57
57
|
border: none;
|
|
58
58
|
border-radius: $border__radius--pill;
|
|
59
59
|
cursor: pointer;
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
width: 16px;
|
|
63
63
|
|
|
64
64
|
&--active {
|
|
65
|
-
background-color: var(--
|
|
65
|
+
background-color: var(--color__border--subtle);
|
|
66
66
|
}
|
|
67
67
|
}
|