@akad/design-system 4.0.2 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/core.css +1 -1
- package/css/theme-aon.css +1 -1
- package/css/theme-bees.css +1 -1
- package/css/theme-bmc.css +1 -1
- package/css/theme-default.css +1 -1
- package/css/theme-linker.css +1 -1
- package/css/theme-oggi.css +1 -1
- package/css/theme-streetgo.css +1 -1
- package/package.json +13 -4
- package/react/react-lib.js +5376 -5010
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Badge/Badge.config.d.ts +37 -0
- package/react/src/components/atoms/Badge/Badge.d.ts +22 -0
- package/react/src/components/atoms/Badge/Badge.stories.d.ts +64 -0
- package/react/src/components/atoms/Badge/index.d.ts +4 -0
- package/react/src/components/atoms/Button/Button.config.d.ts +11 -34
- package/react/src/components/atoms/Button/Button.d.ts +34 -61
- package/react/src/components/atoms/Button/Button.stories.d.ts +11 -1
- package/react/src/components/atoms/Button/Button.tracking.d.ts +22 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +41 -87
- package/react/src/components/atoms/Card/Card.d.ts +16 -18
- package/react/src/components/atoms/Card/Card.stories.d.ts +13 -47
- package/react/src/components/atoms/Checkbox/Checkbox.config.d.ts +19 -25
- package/react/src/components/atoms/Checkbox/Checkbox.d.ts +28 -2
- package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +43 -3
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.config.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.stories.d.ts +39 -0
- package/react/src/components/atoms/FeedbackMessage/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +13 -13
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.d.ts +8 -11
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +1 -1
- package/react/src/components/atoms/Icon/Icon.config.d.ts +37 -103
- package/react/src/components/atoms/Icon/Icon.d.ts +8 -25
- package/react/src/components/atoms/Icon/Icon.stories.d.ts +10 -4
- package/react/src/components/atoms/IconButton/IconButton.config.d.ts +46 -0
- package/react/src/components/atoms/IconButton/IconButton.d.ts +33 -0
- package/react/src/components/atoms/IconButton/IconButton.stories.d.ts +17 -0
- package/react/src/components/atoms/IconButton/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +29 -39
- package/react/src/components/atoms/Input/Input.d.ts +34 -15
- package/react/src/components/atoms/Input/Input.stories.d.ts +30 -3
- package/react/src/components/atoms/Loading/Loading.config.d.ts +18 -26
- package/react/src/components/atoms/Loading/Loading.d.ts +13 -15
- package/react/src/components/atoms/Loading/Loading.stories.d.ts +22 -1
- package/react/src/components/atoms/Radio/Radio.config.d.ts +8 -10
- package/react/src/components/atoms/Radio/Radio.d.ts +21 -9
- package/react/src/components/atoms/Radio/Radio.stories.d.ts +10 -43
- package/react/src/components/atoms/Radio/index.d.ts +1 -1
- package/react/src/components/atoms/Select/Select.config.d.ts +9 -14
- package/react/src/components/atoms/Select/Select.d.ts +20 -10
- package/react/src/components/atoms/Select/Select.stories.d.ts +0 -2
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +30 -43
- package/react/src/components/atoms/TextArea/TextArea.d.ts +23 -14
- package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +13 -7
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +20 -19
- package/react/src/components/atoms/Tooltip/Tooltip.d.ts +9 -11
- package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -37
- package/react/src/components/bosons/Container/Container.config.d.ts +8 -0
- package/react/src/components/bosons/Container/Container.d.ts +3 -9
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +8 -8
- package/react/src/components/bosons/Spacer/Spacer.d.ts +3 -7
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +11 -3
- package/react/src/components/bosons/Wrapper/Wrapper.d.ts +3 -1
- package/react/src/components/index.d.ts +13 -16
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +6 -0
- package/react/src/components/molecules/Accordion/Accordion.d.ts +4 -7
- package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +10 -2
- package/react/src/components/molecules/Accordion/index.d.ts +0 -4
- package/react/src/components/molecules/ActiveTags/ActiveTags.config.d.ts +15 -8
- package/react/src/components/molecules/ActiveTags/ActiveTags.d.ts +13 -10
- package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +39 -5
- package/react/src/components/molecules/Alert/Alert.config.d.ts +54 -0
- package/react/src/components/molecules/Alert/Alert.d.ts +34 -0
- package/react/src/components/molecules/Alert/Alert.stories.d.ts +217 -0
- package/react/src/components/molecules/Alert/index.d.ts +4 -0
- package/react/src/components/molecules/Carousel/Carousel.config.d.ts +9 -1
- package/react/src/components/molecules/Carousel/Carousel.d.ts +5 -14
- package/react/src/components/molecules/Carousel/Carousel.stories.d.ts +31 -0
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardForm.stories.d.ts +21 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.config.d.ts +25 -18
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardGroup.d.ts +33 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.stories.d.ts +28 -16
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/index.d.ts +0 -4
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.config.d.ts +27 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +37 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +23 -0
- package/react/src/components/molecules/CheckboxGroup/index.d.ts +4 -0
- package/react/src/components/molecules/Combobox/Combobox.config.d.ts +88 -0
- package/react/src/components/molecules/Combobox/Combobox.d.ts +48 -0
- package/react/src/components/molecules/Combobox/Combobox.stories.d.ts +61 -0
- package/react/src/components/molecules/Combobox/index.d.ts +4 -0
- package/react/src/components/molecules/Indicator/Indicator.config.d.ts +4 -4
- package/react/src/components/molecules/Indicator/Indicator.d.ts +5 -1
- package/react/src/components/molecules/InlineEditable/InlineEditable.config.d.ts +24 -53
- package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +5 -11
- package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +17 -3
- package/react/src/components/molecules/InlineEditable/index.d.ts +2 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +23 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +19 -13
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +18 -1
- package/react/src/components/molecules/ProgressBar/ProgressBar.config.d.ts +45 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.d.ts +23 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.stories.d.ts +33 -0
- package/react/src/components/molecules/ProgressBar/index.d.ts +4 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.config.d.ts +26 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.d.ts +40 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.stories.d.ts +20 -0
- package/react/src/components/molecules/RadioCardGroup/index.d.ts +4 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.config.d.ts +27 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.d.ts +38 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.stories.d.ts +19 -0
- package/react/src/components/molecules/RadioGroup/index.d.ts +4 -0
- package/react/src/components/{atoms → molecules}/SegmentControl/SegmentControl.config.d.ts +18 -9
- package/react/src/components/molecules/SegmentControl/SegmentControl.d.ts +28 -0
- package/react/src/components/molecules/SegmentControl/SegmentControl.stories.d.ts +137 -0
- package/react/src/components/molecules/Stepper/Stepper.config.d.ts +39 -4
- package/react/src/components/molecules/Stepper/Stepper.d.ts +17 -8
- package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +37 -13
- package/react/src/components/molecules/Table/Table.config.d.ts +6 -15
- package/react/src/components/molecules/Table/Table.d.ts +13 -2
- package/react/src/components/molecules/Table/Table.stories.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +21 -25
- package/react/src/components/molecules/Tabs/Tabs.d.ts +6 -9
- package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +51 -24
- package/react/src/components/molecules/Tabs/index.d.ts +0 -1
- package/react/src/components/organisms/Modal/Modal.config.d.ts +21 -0
- package/react/src/components/organisms/Modal/Modal.d.ts +25 -0
- package/react/src/components/organisms/Modal/Modal.stories.d.ts +74 -0
- package/react/src/components/organisms/NotificationList/NotificationList.d.ts +6 -11
- package/react/src/components/propLeakage.test.d.ts +1 -0
- package/react/src/components/{molecules → providers}/ThemeProvider/ThemeProvider.config.d.ts +11 -6
- package/react/src/components/providers/ThemeProvider/ThemeProvider.d.ts +12 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.stories.d.ts +17 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.test.d.ts +1 -0
- package/react/src/components/providers/ThemeProvider/index.d.ts +4 -0
- package/react/src/components/templates/TwoColumns/TwoColumns.d.ts +6 -13
- package/react/src/components/{atoms/Caption/Caption.stories.d.ts → templates/TwoColumns/TwoColumns.stories.d.ts} +2 -3
- package/react/src/enum/layoutTag.d.ts +10 -0
- package/react/src/helpers/feedbackMessage.d.ts +22 -0
- package/react/src/helpers/feedbackMessage.test.d.ts +1 -0
- package/react/src/helpers/testId.d.ts +7 -0
- package/react/src/helpers/testId.test.d.ts +1 -0
- package/react/src/helpers/useInternalValue.d.ts +23 -0
- package/react/src/helpers/useInternalValue.test.d.ts +1 -0
- package/scss/core/README.md +56 -0
- package/scss/core/base/typography.scss +3 -4
- package/scss/core/components/atoms/badge.scss +116 -0
- package/scss/core/components/atoms/button.scss +94 -797
- package/scss/core/components/atoms/card.scss +74 -126
- package/scss/core/components/atoms/checkbox.scss +110 -47
- package/scss/core/components/atoms/feedback-message.scss +38 -0
- package/scss/core/components/atoms/horizontal-rule.scss +4 -5
- package/scss/core/components/atoms/icon-button.scss +18 -0
- package/scss/core/components/atoms/icon.scss +53 -38
- package/scss/core/components/atoms/input.scss +248 -259
- package/scss/core/components/atoms/loading.scss +133 -77
- package/scss/core/components/atoms/radio.scss +84 -100
- package/scss/core/components/atoms/select.scss +151 -176
- package/scss/core/components/atoms/textarea.scss +154 -281
- package/scss/core/components/atoms/tooltip.scss +129 -149
- package/scss/core/components/bosons/caption.scss +10 -0
- package/scss/core/components/bosons/container.scss +5 -1
- package/scss/core/components/bosons/flex.scss +121 -0
- package/scss/core/components/bosons/grid.scss +39 -43
- package/scss/core/components/bosons/heading.scss +29 -0
- package/scss/core/components/bosons/label.scss +21 -0
- package/scss/core/components/bosons/paragraph.scss +62 -0
- package/scss/core/components/bosons/spacer.scss +6 -34
- package/scss/core/components/bosons/subtitle.scss +9 -0
- package/scss/core/components/bosons/wrapper.scss +10 -2
- package/scss/core/components/index.scss +19 -17
- package/scss/core/components/molecules/accordion.scss +42 -48
- package/scss/core/components/molecules/active-tags.scss +102 -28
- package/scss/core/components/molecules/alert.scss +145 -0
- package/scss/core/components/molecules/carousel.scss +4 -4
- package/scss/core/components/molecules/checkbox-card-group.scss +280 -0
- package/scss/core/components/molecules/checkbox-group.scss +39 -0
- package/scss/core/components/molecules/combobox.scss +158 -0
- package/scss/core/components/molecules/indicator.scss +4 -6
- package/scss/core/components/molecules/inline-editable.scss +6 -8
- package/scss/core/components/molecules/password-confirmation.scss +11 -7
- package/scss/core/components/molecules/progress-bar.scss +85 -0
- package/scss/core/components/molecules/radio-card-group.scss +228 -0
- package/scss/core/components/molecules/radio-group.scss +45 -0
- package/scss/core/components/molecules/segment-control.scss +150 -0
- package/scss/core/components/molecules/stepper.scss +130 -57
- package/scss/core/components/molecules/table.scss +19 -18
- package/scss/core/components/molecules/tabs.scss +37 -215
- package/scss/core/components/organisms/modal.scss +68 -0
- package/scss/core/components/organisms/notification-list.scss +17 -17
- package/scss/core/components/templates/two-columns.scss +6 -6
- package/scss/core/functions/breakpoints.scss +4 -11
- package/scss/core/functions/index.scss +0 -3
- package/scss/core/functions/primitive.scss +68 -0
- package/scss/core/helpers/colors.scss +56 -187
- package/scss/core/helpers/display.scss +0 -148
- package/scss/core/helpers/index.scss +0 -1
- package/scss/core/helpers/order.scss +6 -4
- package/scss/core/index.scss +1 -1
- package/scss/core/mixins/breakpoints.scss +9 -47
- package/scss/core/mixins/choice.scss +88 -0
- package/scss/core/mixins/colors.scss +40 -0
- package/scss/core/mixins/index.scss +3 -2
- package/scss/core/mixins/typography.scss +22 -0
- package/scss/core/{tokens → primitives}/borders.scss +13 -14
- package/scss/core/primitives/breakpoints.scss +14 -0
- package/scss/core/primitives/colors.scss +174 -0
- package/scss/core/primitives/font.scss +34 -0
- package/scss/core/primitives/index.scss +8 -0
- package/scss/core/primitives/opacity.scss +40 -0
- package/scss/core/primitives/shadows.scss +36 -0
- package/scss/core/primitives/sizes.scss +28 -0
- package/scss/core/primitives/spacings.scss +28 -0
- package/scss/core/tokens/breakpoints.scss +12 -19
- package/scss/core/tokens/colors.scss +109 -0
- package/scss/core/tokens/font.scss +27 -0
- package/scss/core/tokens/index.scss +6 -6
- package/scss/core/tokens/sizes.scss +33 -0
- package/scss/core/tokens/spacings.scss +31 -39
- package/scss/core/tokens/typography.scss +144 -19
- package/scss/index.scss +7 -0
- package/scss/themes/aon/index.scss +76 -41
- package/scss/themes/aon/primitives.scss +35 -0
- package/scss/themes/bees/index.scss +52 -34
- package/scss/themes/bees/primitives.scss +19 -0
- package/scss/themes/bmc/index.scss +77 -42
- package/scss/themes/bmc/primitives.scss +33 -0
- package/scss/themes/default/index.scss +15 -59
- package/scss/themes/linker/index.scss +36 -17
- package/scss/themes/linker/primitives.scss +14 -0
- package/scss/themes/oggi/index.scss +77 -42
- package/scss/themes/oggi/primitives.scss +35 -0
- package/scss/themes/streetgo/index.scss +77 -42
- package/scss/themes/streetgo/primitives.scss +34 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/src/components/atoms/Caption/Caption.d.ts +0 -18
- package/react/src/components/atoms/Caption/index.d.ts +0 -4
- package/react/src/components/atoms/Chip/Chip.config.d.ts +0 -43
- package/react/src/components/atoms/Chip/Chip.d.ts +0 -15
- package/react/src/components/atoms/Chip/Chip.stories.d.ts +0 -33
- package/react/src/components/atoms/Chip/index.d.ts +0 -4
- package/react/src/components/atoms/Heading/Heading.config.d.ts +0 -22
- package/react/src/components/atoms/Heading/Heading.d.ts +0 -19
- package/react/src/components/atoms/Heading/Heading.stories.d.ts +0 -48
- package/react/src/components/atoms/Heading/index.d.ts +0 -4
- package/react/src/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/src/components/atoms/Option/Option.d.ts +0 -30
- package/react/src/components/atoms/Option/Option.stories.d.ts +0 -12
- package/react/src/components/atoms/Option/index.d.ts +0 -4
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +0 -21
- package/react/src/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/src/components/atoms/Progress/Progress.config.d.ts +0 -62
- package/react/src/components/atoms/Progress/Progress.d.ts +0 -16
- package/react/src/components/atoms/Progress/Progress.stories.d.ts +0 -17
- package/react/src/components/atoms/Progress/index.d.ts +0 -4
- package/react/src/components/atoms/SegmentControl/SegmentControl.d.ts +0 -18
- package/react/src/components/atoms/SegmentControl/SegmentControl.stories.d.ts +0 -73
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +0 -18
- package/react/src/components/atoms/Subtitle/Subtitle.d.ts +0 -13
- package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +0 -23
- package/react/src/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/src/components/bosons/FlexLayout/FlexElement.config.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/FlexElement.d.ts +0 -27
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -95
- package/react/src/components/bosons/FlexLayout/FlexLayout.d.ts +0 -28
- package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/index.d.ts +0 -8
- package/react/src/components/bosons/GridLayout/GridElement.config.d.ts +0 -17
- package/react/src/components/bosons/GridLayout/GridElement.d.ts +0 -14
- package/react/src/components/bosons/GridLayout/GridElement.test.d.ts +0 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +0 -80
- package/react/src/components/bosons/GridLayout/GridLayout.d.ts +0 -29
- package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +0 -12
- package/react/src/components/bosons/GridLayout/index.d.ts +0 -8
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/src/components/molecules/Accordion/AccordionItem.d.ts +0 -20
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.config.d.ts +0 -70
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.d.ts +0 -21
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.stories.d.ts +0 -135
- package/react/src/components/molecules/CheckboxCard/CheckboxCardForm.stories.d.ts +0 -36
- package/react/src/components/molecules/CheckboxCard/CheckboxCardGroup.d.ts +0 -34
- package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -114
- package/react/src/components/molecules/EditableSelect/EditableSelect.d.ts +0 -134
- package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -24
- package/react/src/components/molecules/EditableSelect/EditableSelect.utils.d.ts +0 -15
- package/react/src/components/molecules/EditableSelect/index.d.ts +0 -4
- package/react/src/components/molecules/Modal/Modal.config.d.ts +0 -44
- package/react/src/components/molecules/Modal/Modal.d.ts +0 -31
- package/react/src/components/molecules/Modal/Modal.stories.d.ts +0 -45
- package/react/src/components/molecules/Notification/Notification.config.d.ts +0 -64
- package/react/src/components/molecules/Notification/Notification.d.ts +0 -22
- package/react/src/components/molecules/Notification/Notification.stories.d.ts +0 -95
- package/react/src/components/molecules/Notification/index.d.ts +0 -4
- package/react/src/components/molecules/Table/TableRow.d.ts +0 -7
- package/react/src/components/molecules/Tabs/Tab.d.ts +0 -5
- package/react/src/components/molecules/Tabs/types.d.ts +0 -23
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +0 -17
- package/react/src/components/molecules/ThemeProvider/index.d.ts +0 -4
- package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +0 -7
- package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +0 -9
- package/react/src/components/templates/SplitLayout/index.d.ts +0 -5
- package/react/src/enum/colorProps.d.ts +0 -30
- package/scss/core/components/atoms/caption.scss +0 -13
- package/scss/core/components/atoms/chip.scss +0 -101
- package/scss/core/components/atoms/heading.scss +0 -70
- package/scss/core/components/atoms/option.scss +0 -78
- package/scss/core/components/atoms/paragraph.scss +0 -44
- package/scss/core/components/atoms/progress.scss +0 -16
- package/scss/core/components/atoms/radio-card.scss +0 -117
- package/scss/core/components/atoms/segment-control.scss +0 -143
- package/scss/core/components/atoms/subtitle.scss +0 -21
- package/scss/core/components/bosons/flex-layout.scss +0 -45
- package/scss/core/components/bosons/grid-layout.scss +0 -76
- package/scss/core/components/molecules/checkbox-card.scss +0 -480
- package/scss/core/components/molecules/editable-select.scss +0 -145
- package/scss/core/components/molecules/modal.scss +0 -70
- package/scss/core/components/molecules/notification.scss +0 -109
- package/scss/core/components/templates/split-layout.scss +0 -51
- package/scss/core/functions/fonts.scss +0 -17
- package/scss/core/functions/spacings.scss +0 -8
- package/scss/core/functions/tokens.scss +0 -14
- package/scss/core/helpers/elevation.scss +0 -16
- package/scss/core/tokens/icons.scss +0 -2
- package/scss/core/tokens/opacity.scss +0 -6
- package/scss/core/tokens/shadows.scss +0 -15
- package/scss/themes/aon/colors.scss +0 -83
- package/scss/themes/bees/colors.scss +0 -32
- package/scss/themes/bmc/colors.scss +0 -81
- package/scss/themes/default/colors.scss +0 -109
- package/scss/themes/linker/colors.scss +0 -35
- package/scss/themes/oggi/colors.scss +0 -81
- package/scss/themes/streetgo/colors.scss +0 -81
- /package/react/src/components/atoms/{Caption/Caption.test.d.ts → Badge/Badge.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Chip/Chip.test.d.ts → FeedbackMessage/FeedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Heading/Heading.test.d.ts → IconButton/IconButton.test.d.ts} +0 -0
- /package/react/src/components/atoms/Input/{mask.d.ts → Input.mask.d.ts} +0 -0
- /package/react/src/components/{atoms/Option/Option.test.d.ts → classesNoCss.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Paragraph/Paragraph.test.d.ts → commonProps.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Progress/Progress.test.d.ts → feedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/index.test.d.ts → index.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/SegmentControl.test.d.ts → messageRegion.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Subtitle/Subtitle.test.d.ts → molecules/Alert/Alert.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.test.d.ts +0 -0
- /package/react/src/components/{bosons/FlexLayout/FlexLayout.test.d.ts → molecules/CheckboxCardGroup/index.test.d.ts} +0 -0
- /package/react/src/components/{bosons/GridLayout/GridLayout.test.d.ts → molecules/CheckboxGroup/CheckboxGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard/CheckboxCard.test.d.ts → Combobox/Combobox.a11y.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.test.d.ts → Combobox/Combobox.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.utils.test.d.ts → PasswordConfirmation/PasswordConfirmation.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Notification/Notification.test.d.ts → ProgressBar/ProgressBar.test.d.ts} +0 -0
- /package/react/src/components/molecules/{PasswordConfirmation/PasswordConfirmartion.test.d.ts → RadioCardGroup/RadioCardGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Tabs/Tab.test.d.ts → RadioGroup/RadioGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{ThemeProvider/ThemeProvider.test.d.ts → SegmentControl/SegmentControl.test.d.ts} +0 -0
- /package/react/src/components/{atoms → molecules}/SegmentControl/index.d.ts +0 -0
- /package/react/src/components/{templates/SplitLayout/SplitLayout.test.d.ts → molecules/SegmentControl/index.test.d.ts} +0 -0
- /package/react/src/components/molecules/Table/{dataTable.mock.d.ts → Table.mock.d.ts} +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/Modal.test.d.ts +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/index.d.ts +0 -0
- /package/scss/core/components/{molecules → providers}/theme-provider.scss +0 -0
|
@@ -1,94 +1,112 @@
|
|
|
1
|
+
$select-slot-sm: $spacing__inset--md + $size__icon--sm + $spacing__offset--sm;
|
|
2
|
+
$select-slot-md: $spacing__inset--md + $size__icon--md + $spacing__offset--md;
|
|
3
|
+
$select-slot-lg: $spacing__inset--md + $size__icon--lg + $spacing__offset--md;
|
|
4
|
+
$select-label-reserve-sm: $spacing__inset--md + $select-slot-sm;
|
|
5
|
+
$select-label-reserve-md: $spacing__inset--md + $select-slot-md;
|
|
6
|
+
$select-label-reserve-lg: $spacing__inset--md + $select-slot-lg;
|
|
7
|
+
|
|
1
8
|
.ds-select {
|
|
2
|
-
// CSS vars (Select-specific - not shared with Input)
|
|
3
9
|
--select__background: var(--background__color);
|
|
4
|
-
--select__border--color: var(--
|
|
5
|
-
--select__text--color: var(--
|
|
6
|
-
--select__border
|
|
7
|
-
--select__text
|
|
8
|
-
--
|
|
10
|
+
--select__border--color: var(--color__border--darker);
|
|
11
|
+
--select__text--color: var(--color__foreground--default);
|
|
12
|
+
--select__border--hover: var(--color__border--subtle);
|
|
13
|
+
--select__text--hover: var(--color__foreground--strong);
|
|
14
|
+
--select__border-color--disable: var(--color__border--disabled);
|
|
15
|
+
--select__text--placeholder: var(--color__foreground--strong);
|
|
16
|
+
--select__text-color--disable: var(--color__foreground--disabled);
|
|
17
|
+
--select__label-color--disable: var(--color__foreground--subtle);
|
|
18
|
+
--select__opacity--disable: #{$opacity--50};
|
|
19
|
+
--select__field-border: var(--select__border--color);
|
|
20
|
+
--select__field-border-width: #{$border__width--xs};
|
|
21
|
+
--select__label: var(--select__text--color);
|
|
22
|
+
--select__text: var(--select__text--color);
|
|
9
23
|
|
|
10
24
|
display: flex;
|
|
11
25
|
flex-direction: column;
|
|
12
|
-
font-family: var(--font__family--highlight);
|
|
13
26
|
position: relative;
|
|
14
27
|
width: 100%;
|
|
15
28
|
|
|
16
29
|
&__label {
|
|
30
|
+
@include typography('body-sm');
|
|
31
|
+
|
|
17
32
|
align-items: center;
|
|
18
33
|
background: var(--select__background);
|
|
19
|
-
color: var(--
|
|
34
|
+
color: var(--select__label);
|
|
20
35
|
display: flex;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
padding: 0 $spacing__inset--
|
|
36
|
+
gap: $spacing__offset--xs;
|
|
37
|
+
left: $spacing--x3;
|
|
38
|
+
max-width: calc(100% - #{$spacing--x3} * 2);
|
|
39
|
+
padding: 0 $spacing__inset--xs;
|
|
25
40
|
pointer-events: none;
|
|
26
41
|
position: absolute;
|
|
42
|
+
top: calc(var(--select__field-border-width) / 2);
|
|
43
|
+
transform: translateY(-50%);
|
|
27
44
|
transition: 0.15s cubic-bezier(0.4, 0, 1, 1);
|
|
28
45
|
user-select: none;
|
|
29
46
|
z-index: 1;
|
|
30
47
|
|
|
31
|
-
&--
|
|
32
|
-
|
|
33
|
-
}
|
|
48
|
+
&--inside {
|
|
49
|
+
@include typography('label-input-md');
|
|
34
50
|
|
|
35
|
-
|
|
36
|
-
|
|
51
|
+
background: transparent;
|
|
52
|
+
left: calc(var(--select__field-border-width) + #{$spacing__inset--md});
|
|
53
|
+
max-width: calc(
|
|
54
|
+
100% - var(--select__field-border-width) - #{$select-label-reserve-md}
|
|
55
|
+
);
|
|
56
|
+
padding: 0;
|
|
57
|
+
top: calc(#{$size__input--md} / 2);
|
|
37
58
|
}
|
|
38
59
|
}
|
|
39
60
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
61
|
+
@include choice-feedback-message(
|
|
62
|
+
'select',
|
|
63
|
+
'strong',
|
|
64
|
+
'subtle',
|
|
65
|
+
'destructive-strong'
|
|
66
|
+
);
|
|
44
67
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
font-size: $font__size--xxs;
|
|
68
|
+
&__message {
|
|
69
|
+
margin-top: $spacing__offset--xs;
|
|
70
|
+
padding-left: $spacing__inset--md;
|
|
49
71
|
}
|
|
50
72
|
|
|
51
|
-
&
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
.ds-icon {
|
|
58
|
-
font-size: $font__size--xs;
|
|
59
|
-
}
|
|
73
|
+
&__label-text {
|
|
74
|
+
min-width: 0;
|
|
75
|
+
overflow: hidden;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
white-space: nowrap;
|
|
60
78
|
}
|
|
61
79
|
|
|
62
|
-
&__tooltip {
|
|
63
|
-
|
|
80
|
+
&__label &__tooltip {
|
|
81
|
+
align-items: center;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
flex-shrink: 0;
|
|
84
|
+
height: $size__icon--md;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
width: $size__icon--md;
|
|
64
87
|
}
|
|
65
88
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.ds-select__label {
|
|
71
|
-
color: var(--select__text-color--disable);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&::before {
|
|
75
|
-
border-color: var(--select__border-color--disable) transparent transparent
|
|
76
|
-
transparent !important;
|
|
77
|
-
}
|
|
89
|
+
&__icon {
|
|
90
|
+
color: var(--color__foreground--strong);
|
|
91
|
+
cursor: default;
|
|
92
|
+
flex-shrink: 0;
|
|
78
93
|
}
|
|
79
94
|
|
|
80
95
|
select {
|
|
96
|
+
@include typography('label-input-md');
|
|
97
|
+
|
|
81
98
|
appearance: none;
|
|
82
99
|
background: var(--select__background);
|
|
83
|
-
border:
|
|
84
|
-
border-radius: $border__radius--
|
|
85
|
-
box-
|
|
86
|
-
color: var(--select__text
|
|
87
|
-
|
|
88
|
-
font-weight: $font__weight--regular;
|
|
100
|
+
border: var(--select__field-border-width) solid var(--select__field-border);
|
|
101
|
+
border-radius: $border__radius--sm;
|
|
102
|
+
box-sizing: border-box;
|
|
103
|
+
color: var(--select__text);
|
|
104
|
+
height: $size__input--md;
|
|
89
105
|
outline: none;
|
|
90
106
|
overflow: hidden;
|
|
91
|
-
padding: $
|
|
107
|
+
padding: 0 $select-slot-md 0 $spacing__inset--md;
|
|
108
|
+
text-overflow: ellipsis;
|
|
109
|
+
white-space: nowrap;
|
|
92
110
|
width: 100%;
|
|
93
111
|
|
|
94
112
|
option {
|
|
@@ -97,167 +115,124 @@
|
|
|
97
115
|
font-family: inherit;
|
|
98
116
|
}
|
|
99
117
|
|
|
118
|
+
&:focus {
|
|
119
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
120
|
+
outline-offset: $border__width--sm;
|
|
121
|
+
}
|
|
122
|
+
|
|
100
123
|
&:disabled {
|
|
101
|
-
color: var(--select__text-color--disable);
|
|
102
124
|
cursor: not-allowed;
|
|
103
|
-
|
|
104
|
-
--box-shadow-color: var(--select__border-color--disable);
|
|
105
125
|
}
|
|
106
126
|
}
|
|
107
127
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
border-color: var(--select__border--color) transparent transparent
|
|
111
|
-
transparent;
|
|
112
|
-
content: '';
|
|
113
|
-
height: 0;
|
|
128
|
+
& &__arrow {
|
|
129
|
+
color: var(--select__border--color);
|
|
114
130
|
pointer-events: none;
|
|
115
131
|
position: absolute;
|
|
116
|
-
right:
|
|
117
|
-
top:
|
|
118
|
-
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&--active {
|
|
122
|
-
select {
|
|
123
|
-
box-shadow: 0 0 0 $border__width--thin var(--box-shadow-color);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&::before {
|
|
127
|
-
top: 12px !important;
|
|
128
|
-
transform: rotate(180deg);
|
|
129
|
-
}
|
|
132
|
+
right: calc(var(--select__field-border-width) + #{$spacing__inset--md});
|
|
133
|
+
top: calc(#{$size__input--md} / 2);
|
|
134
|
+
transform: translateY(-50%);
|
|
130
135
|
}
|
|
131
136
|
|
|
132
137
|
&--sm {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
top: 14px;
|
|
136
|
-
}
|
|
138
|
+
select {
|
|
139
|
+
@include typography('label-input-sm');
|
|
137
140
|
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
height: $size__input--sm;
|
|
142
|
+
padding-right: $select-slot-sm;
|
|
140
143
|
}
|
|
141
144
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
height: $spacing--sm;
|
|
145
|
-
padding: 12px $spacing--xxxs 14px;
|
|
145
|
+
.ds-select__arrow {
|
|
146
|
+
top: calc(#{$size__input--sm} / 2);
|
|
146
147
|
}
|
|
147
|
-
}
|
|
148
148
|
|
|
149
|
-
&--md {
|
|
150
149
|
.ds-select__label {
|
|
151
|
-
|
|
152
|
-
height: 16px;
|
|
153
|
-
top: 16px;
|
|
150
|
+
@include typography('body-sm');
|
|
154
151
|
}
|
|
155
152
|
|
|
156
|
-
.ds-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
select {
|
|
161
|
-
font-size: $font__size--xs;
|
|
162
|
-
height: $spacing--md;
|
|
163
|
-
padding: 14px $spacing--xxxs;
|
|
164
|
-
}
|
|
153
|
+
.ds-select__label--inside {
|
|
154
|
+
@include typography('label-input-sm');
|
|
165
155
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
height: 0;
|
|
172
|
-
position: absolute;
|
|
173
|
-
right: 12px;
|
|
174
|
-
top: 20px;
|
|
175
|
-
width: 0;
|
|
156
|
+
left: calc(var(--select__field-border-width) + #{$spacing__inset--md});
|
|
157
|
+
max-width: calc(
|
|
158
|
+
100% - var(--select__field-border-width) - #{$select-label-reserve-sm}
|
|
159
|
+
);
|
|
160
|
+
top: calc(#{$size__input--sm} / 2);
|
|
176
161
|
}
|
|
177
162
|
}
|
|
178
163
|
|
|
179
164
|
&--lg {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
top: 18px;
|
|
183
|
-
}
|
|
165
|
+
select {
|
|
166
|
+
@include typography('headline-6');
|
|
184
167
|
|
|
185
|
-
|
|
186
|
-
|
|
168
|
+
height: $size__input--lg;
|
|
169
|
+
padding-right: $select-slot-lg;
|
|
187
170
|
}
|
|
188
171
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
top: $spacing--xxxs !important;
|
|
192
|
-
transform: rotate(180deg);
|
|
193
|
-
}
|
|
172
|
+
.ds-select__arrow {
|
|
173
|
+
top: calc(#{$size__input--lg} / 2);
|
|
194
174
|
}
|
|
195
175
|
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
height: $spacing--lg;
|
|
176
|
+
.ds-select__label {
|
|
177
|
+
@include typography('body-md');
|
|
199
178
|
}
|
|
200
179
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
right: 12px;
|
|
209
|
-
top: $spacing--xxs;
|
|
210
|
-
width: 0;
|
|
180
|
+
.ds-select__label--inside {
|
|
181
|
+
@include typography('headline-6');
|
|
182
|
+
|
|
183
|
+
max-width: calc(
|
|
184
|
+
100% - var(--select__field-border-width) - #{$select-label-reserve-lg}
|
|
185
|
+
);
|
|
186
|
+
top: calc(#{$size__input--lg} / 2);
|
|
211
187
|
}
|
|
212
188
|
}
|
|
213
189
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
&__feedback {
|
|
221
|
-
color: var(--color__success--dark);
|
|
222
|
-
}
|
|
190
|
+
&:where(:has(select:hover)) {
|
|
191
|
+
--select__field-border: var(--select__border--hover);
|
|
192
|
+
--select__label: var(--select__text--hover);
|
|
193
|
+
--select__text: var(--select__text--hover);
|
|
194
|
+
}
|
|
223
195
|
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
196
|
+
&:where(:has(select:focus)) {
|
|
197
|
+
--select__field-border: var(--select__border--color);
|
|
198
|
+
--select__label: var(--color__foreground--primary);
|
|
199
|
+
--select__text: var(--select__text--color);
|
|
200
|
+
}
|
|
229
201
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
202
|
+
&--empty {
|
|
203
|
+
--select__text: var(--select__text--placeholder);
|
|
233
204
|
}
|
|
234
205
|
|
|
235
206
|
&--error {
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
&__feedback {
|
|
242
|
-
color: var(--color__danger--dark);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
&__icon,
|
|
246
|
-
&__feedback-container .ds-icon {
|
|
247
|
-
color: var(--color__danger--dark);
|
|
248
|
-
}
|
|
249
|
-
}
|
|
207
|
+
--select__field-border: var(--color__border--destructive);
|
|
208
|
+
--select__field-border-width: #{$border__width--sm};
|
|
209
|
+
--select__label: var(--color__foreground--destructive);
|
|
210
|
+
}
|
|
250
211
|
|
|
251
|
-
|
|
252
|
-
|
|
212
|
+
&--disabled,
|
|
213
|
+
&:where(:has(select:disabled)) {
|
|
214
|
+
--select__field-border: var(--select__border-color--disable);
|
|
215
|
+
--select__field-border-width: #{$border__width--xs};
|
|
216
|
+
--select__label: var(--select__label-color--disable);
|
|
217
|
+
--select__text: var(--select__text-color--disable);
|
|
218
|
+
--select__message: var(--select__label-color--disable);
|
|
219
|
+
--select__message-icon: var(--select__label-color--disable);
|
|
220
|
+
|
|
221
|
+
opacity: var(--select__opacity--disable);
|
|
222
|
+
|
|
223
|
+
.ds-select__arrow {
|
|
224
|
+
color: var(--select__border-color--disable);
|
|
253
225
|
}
|
|
254
226
|
}
|
|
255
|
-
}
|
|
256
227
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
228
|
+
[data-theme='dark'] & {
|
|
229
|
+
--select__border--color: var(--color__surface--default);
|
|
230
|
+
--select__text--color: var(--color__foreground--inverse);
|
|
231
|
+
--select__border--hover: var(--color__surface--default);
|
|
232
|
+
--select__text--hover: var(--color__foreground--inverse);
|
|
233
|
+
--select__border-color--disable: var(--color__border--subtle);
|
|
234
|
+
--select__text-color--disable: var(--color__foreground--strong);
|
|
235
|
+
--select__label-color--disable: var(--color__foreground--strong);
|
|
236
|
+
--select__opacity--disable: 1;
|
|
237
|
+
}
|
|
263
238
|
}
|