@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
|
@@ -1,333 +1,322 @@
|
|
|
1
|
-
// === INPUT COMPONENT ===
|
|
2
1
|
.ds-input {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--input__text-color--disable: var(--color__neutral--50);
|
|
9
|
-
--box-shadow-color: var(--input__border--color);
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: $spacing__offset--xs;
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
10
7
|
|
|
11
|
-
|
|
8
|
+
&--sm {
|
|
9
|
+
.ds-input__field {
|
|
10
|
+
gap: $spacing__offset--sm;
|
|
11
|
+
height: $size__input--sm;
|
|
12
|
+
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
14
|
+
.ds-input__input {
|
|
15
|
+
@include typography('label-input-sm');
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ds-input__label {
|
|
19
|
+
@include typography('body-sm');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.ds-input__label--inside {
|
|
23
|
+
@include typography('label-input-sm');
|
|
24
|
+
|
|
25
|
+
left: $spacing__inset--md;
|
|
26
|
+
max-width: calc(100% - #{$spacing__inset--md * 2});
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
&--lg {
|
|
31
|
+
.ds-input__field {
|
|
32
|
+
height: $size__input--lg;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.ds-input__input {
|
|
36
|
+
@include typography('headline-6');
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ds-input__label {
|
|
40
|
+
@include typography('body-md');
|
|
41
|
+
}
|
|
30
42
|
|
|
31
|
-
|
|
32
|
-
|
|
43
|
+
.ds-input__label--inside {
|
|
44
|
+
@include typography('headline-6');
|
|
33
45
|
}
|
|
34
46
|
}
|
|
35
47
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
height: $spacing--xxxs;
|
|
40
|
-
margin-top: $spacing--quark;
|
|
48
|
+
&--leading-icon &__label--inside {
|
|
49
|
+
left: $spacing__inset--md * 2 + $size__icon--md;
|
|
50
|
+
max-width: calc(100% - #{$spacing__inset--md * 3 + $size__icon--md});
|
|
41
51
|
}
|
|
42
52
|
|
|
43
|
-
&
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
53
|
+
&--leading-icon.ds-input--sm &__label--inside {
|
|
54
|
+
left: $spacing__inset--md + $spacing__inset--sm + $size__icon--sm;
|
|
55
|
+
max-width: calc(
|
|
56
|
+
100% - #{$spacing__inset--md * 2 + $spacing__inset--sm + $size__icon--sm}
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&--leading-icon.ds-input--lg &__label--inside {
|
|
61
|
+
left: $spacing__inset--md * 2 + $size__icon--lg;
|
|
62
|
+
max-width: calc(100% - #{$spacing__inset--md * 3 + $size__icon--lg});
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__field {
|
|
66
|
+
--input__border: var(--color__border--darker);
|
|
67
|
+
--input__border-width: #{$border__width--xs};
|
|
68
|
+
--input__label: var(--color__foreground--default);
|
|
69
|
+
--input__text: var(--color__foreground--default);
|
|
70
|
+
|
|
71
|
+
align-items: center;
|
|
72
|
+
border: var(--input__border-width) solid var(--input__border);
|
|
73
|
+
border-radius: $border__radius--sm;
|
|
49
74
|
box-sizing: border-box;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
padding: 0 $spacing__inset--
|
|
75
|
+
display: flex;
|
|
76
|
+
gap: $spacing__offset--md;
|
|
77
|
+
height: $size__input--md;
|
|
78
|
+
padding: 0 $spacing__inset--md;
|
|
54
79
|
position: relative;
|
|
55
|
-
width: 100%;
|
|
56
80
|
|
|
57
81
|
&:hover {
|
|
58
|
-
--
|
|
82
|
+
--input__border: var(--color__border--subtle);
|
|
83
|
+
--input__label: var(--color__foreground--strong);
|
|
84
|
+
--input__text: var(--color__foreground--strong);
|
|
59
85
|
}
|
|
60
86
|
|
|
61
|
-
&:focus {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
87
|
+
&:focus-within {
|
|
88
|
+
--input__border: var(--color__border--darker);
|
|
89
|
+
--input__label: var(--color__foreground--primary);
|
|
90
|
+
--input__text: var(--color__foreground--default);
|
|
65
91
|
|
|
66
|
-
|
|
67
|
-
|
|
92
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
93
|
+
outline-offset: $border__width--sm;
|
|
68
94
|
}
|
|
69
95
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
--box-shadow-color: var(--input__border-color--disable);
|
|
96
|
+
:where([data-theme='dark']) & {
|
|
97
|
+
--input__border: var(--color__surface--default);
|
|
98
|
+
--input__label: var(--color__foreground--inverse);
|
|
99
|
+
--input__text: var(--color__foreground--inverse);
|
|
75
100
|
|
|
76
|
-
|
|
77
|
-
|
|
101
|
+
&:hover {
|
|
102
|
+
--input__border: var(--color__surface--default);
|
|
103
|
+
--input__label: var(--color__foreground--inverse);
|
|
104
|
+
--input__text: var(--color__foreground--inverse);
|
|
78
105
|
}
|
|
79
106
|
|
|
80
|
-
|
|
81
|
-
|
|
107
|
+
&:focus-within {
|
|
108
|
+
--input__border: var(--color__surface--default);
|
|
109
|
+
--input__label: var(--color__foreground--primary);
|
|
110
|
+
--input__text: var(--color__foreground--inverse);
|
|
82
111
|
}
|
|
83
112
|
}
|
|
84
113
|
}
|
|
85
114
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
&__input {
|
|
89
|
-
font-size: $font__size--xxs;
|
|
90
|
-
height: $spacing--sm;
|
|
91
|
-
}
|
|
115
|
+
&__input {
|
|
116
|
+
@include typography('label-input-md');
|
|
92
117
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
118
|
+
appearance: none;
|
|
119
|
+
background: transparent;
|
|
120
|
+
border: 0;
|
|
121
|
+
color: var(--input__text, var(--color__foreground--default));
|
|
122
|
+
flex: 1;
|
|
123
|
+
margin: 0;
|
|
124
|
+
min-width: 0;
|
|
125
|
+
overflow: hidden;
|
|
126
|
+
padding: 0;
|
|
127
|
+
text-overflow: ellipsis;
|
|
98
128
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
}
|
|
129
|
+
&:focus-visible {
|
|
130
|
+
outline: $border__width--sm solid transparent;
|
|
131
|
+
}
|
|
104
132
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
position: absolute !important;
|
|
110
|
-
right: 0;
|
|
111
|
-
}
|
|
133
|
+
&::placeholder {
|
|
134
|
+
color: var(--color__foreground--strong);
|
|
135
|
+
opacity: 1;
|
|
136
|
+
}
|
|
112
137
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
}
|
|
138
|
+
&:disabled {
|
|
139
|
+
cursor: not-allowed;
|
|
116
140
|
}
|
|
117
141
|
}
|
|
118
142
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
&__input {
|
|
122
|
-
font-size: $font__size--xs;
|
|
123
|
-
height: $spacing--md;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&__label {
|
|
127
|
-
font-size: $font__size--xs;
|
|
128
|
-
height: $font__size--md;
|
|
129
|
-
top: calc(($font__size--xs / -2) - 4px);
|
|
130
|
-
}
|
|
143
|
+
&__label {
|
|
144
|
+
@include typography('body-sm');
|
|
131
145
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
146
|
+
align-items: center;
|
|
147
|
+
background: var(--color__surface--default);
|
|
148
|
+
color: var(--input__label);
|
|
149
|
+
display: flex;
|
|
150
|
+
gap: $spacing__offset--xs;
|
|
151
|
+
left: calc(#{$spacing--x3} - var(--input__border-width));
|
|
152
|
+
max-width: calc(100% - #{$spacing--x3} * 2);
|
|
153
|
+
padding: 0 $spacing__inset--xs;
|
|
154
|
+
position: absolute;
|
|
155
|
+
top: calc(var(--input__border-width) / -2);
|
|
156
|
+
transform: translateY(-50%);
|
|
157
|
+
transition:
|
|
158
|
+
font-size 0.15s ease,
|
|
159
|
+
left 0.15s ease,
|
|
160
|
+
top 0.15s ease,
|
|
161
|
+
transform 0.15s ease;
|
|
162
|
+
|
|
163
|
+
:where([data-theme='dark']) & {
|
|
164
|
+
background: var(--background__color);
|
|
165
|
+
}
|
|
137
166
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
font-size: $font__size--xl;
|
|
141
|
-
padding: $spacing__inset--nano;
|
|
142
|
-
position: absolute !important;
|
|
143
|
-
right: 0;
|
|
144
|
-
}
|
|
167
|
+
&--inside {
|
|
168
|
+
@include typography('label-input-md');
|
|
145
169
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
}
|
|
149
|
-
|
|
170
|
+
background: transparent;
|
|
171
|
+
left: $spacing__inset--md;
|
|
172
|
+
max-width: calc(100% - #{$spacing__inset--md * 2});
|
|
173
|
+
padding: 0;
|
|
174
|
+
top: 50%;
|
|
150
175
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
top: 15px;
|
|
176
|
+
:where([data-theme='dark']) & {
|
|
177
|
+
background: transparent;
|
|
154
178
|
}
|
|
155
179
|
}
|
|
156
180
|
}
|
|
157
181
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
182
|
+
&__label-text {
|
|
183
|
+
min-width: 0;
|
|
184
|
+
overflow: hidden;
|
|
185
|
+
text-overflow: ellipsis;
|
|
186
|
+
white-space: nowrap;
|
|
187
|
+
}
|
|
164
188
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
189
|
+
&__label &__tooltip {
|
|
190
|
+
align-items: center;
|
|
191
|
+
display: inline-flex;
|
|
192
|
+
flex-shrink: 0;
|
|
193
|
+
height: $size__icon--md;
|
|
194
|
+
justify-content: center;
|
|
195
|
+
width: $size__icon--md;
|
|
196
|
+
}
|
|
170
197
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
position: absolute !important;
|
|
176
|
-
right: 0;
|
|
177
|
-
}
|
|
198
|
+
&__icon {
|
|
199
|
+
color: var(--color__foreground--strong);
|
|
200
|
+
cursor: default;
|
|
201
|
+
flex-shrink: 0;
|
|
178
202
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&.ds-input--with-icon {
|
|
185
|
-
> .ds-input__icon {
|
|
186
|
-
top: 18px;
|
|
187
|
-
}
|
|
203
|
+
:where([data-theme='dark']) & {
|
|
204
|
+
color: var(--color__foreground--inverse);
|
|
188
205
|
}
|
|
189
206
|
}
|
|
190
207
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
208
|
+
&__action {
|
|
209
|
+
align-items: center;
|
|
210
|
+
appearance: none;
|
|
211
|
+
background: none;
|
|
212
|
+
border: 0;
|
|
213
|
+
border-radius: $border__radius--pill;
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
display: inline-flex;
|
|
216
|
+
flex-shrink: 0;
|
|
217
|
+
height: $spacing__inset--lg;
|
|
218
|
+
justify-content: center;
|
|
219
|
+
padding: 0;
|
|
220
|
+
width: $spacing__inset--lg;
|
|
194
221
|
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
color: var(--input__text--color);
|
|
198
|
-
font-weight: $font__weight--regular;
|
|
199
|
-
transition: 0.2s ease all;
|
|
222
|
+
&:hover {
|
|
223
|
+
background: var(--color__surface--hover);
|
|
200
224
|
}
|
|
201
225
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
&__label {
|
|
205
|
-
left: 8px;
|
|
206
|
-
top: 12px;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
&__label--active {
|
|
210
|
-
font-size: $font__size--xxs;
|
|
211
|
-
left: 12px;
|
|
212
|
-
top: calc(($font__size--xxs / -2) - 3px);
|
|
213
|
-
}
|
|
214
|
-
}
|
|
226
|
+
&:active {
|
|
227
|
+
background: var(--color__surface--muted);
|
|
215
228
|
}
|
|
216
229
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
left: 12px;
|
|
221
|
-
top: 16px;
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
&__label--active {
|
|
225
|
-
font-size: $font__size--xs;
|
|
226
|
-
left: 12px;
|
|
227
|
-
top: calc(($font__size--xs / -2) - 4px);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
+
&:focus-visible {
|
|
231
|
+
outline: $border__width--sm solid var(--color__focus--ring);
|
|
232
|
+
outline-offset: $border__width--sm;
|
|
230
233
|
}
|
|
234
|
+
}
|
|
231
235
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
&__label {
|
|
235
|
-
left: 14px;
|
|
236
|
-
top: 18px;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
&__label--active {
|
|
240
|
-
font-size: $font__size--sm;
|
|
241
|
-
left: 12px;
|
|
242
|
-
top: calc(($font__size--sm / -2) - 4px);
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
236
|
+
&__action &__icon {
|
|
237
|
+
cursor: inherit;
|
|
246
238
|
}
|
|
247
239
|
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
cursor: default;
|
|
251
|
-
position: absolute;
|
|
252
|
-
right: 8px;
|
|
253
|
-
top: 13px;
|
|
254
|
-
}
|
|
240
|
+
&__supporting {
|
|
241
|
+
--input__supporting: var(--color__foreground--strong);
|
|
255
242
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
243
|
+
@include typography('caption');
|
|
244
|
+
|
|
245
|
+
align-items: flex-start;
|
|
246
|
+
color: var(--input__supporting);
|
|
247
|
+
display: flex;
|
|
248
|
+
gap: $spacing__offset--sm;
|
|
249
|
+
min-height: $size__font--sm * 1.5;
|
|
261
250
|
}
|
|
262
251
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
252
|
+
@include choice-feedback-message(
|
|
253
|
+
'input',
|
|
254
|
+
'strong',
|
|
255
|
+
'subtle',
|
|
256
|
+
'destructive-strong'
|
|
257
|
+
);
|
|
258
|
+
|
|
259
|
+
&__message {
|
|
260
|
+
flex: 1;
|
|
261
|
+
min-width: 0;
|
|
262
|
+
padding-left: $spacing__inset--md;
|
|
277
263
|
}
|
|
278
264
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
}
|
|
265
|
+
&__counter {
|
|
266
|
+
margin-left: auto;
|
|
267
|
+
white-space: nowrap;
|
|
268
|
+
}
|
|
284
269
|
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
270
|
+
&--error &__field {
|
|
271
|
+
--input__border: var(--color__border--destructive);
|
|
272
|
+
--input__border-width: #{$border__width--sm};
|
|
273
|
+
--input__label: var(--color__foreground--destructive);
|
|
274
|
+
--input__text: var(--color__foreground--default);
|
|
289
275
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}
|
|
295
|
-
}
|
|
276
|
+
:where([data-theme='dark']) & {
|
|
277
|
+
--input__border: var(--color__border--destructive);
|
|
278
|
+
--input__label: var(--color__foreground--destructive);
|
|
279
|
+
--input__text: var(--color__foreground--inverse);
|
|
296
280
|
}
|
|
297
281
|
}
|
|
298
282
|
|
|
299
|
-
&--
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
--box-shadow-color: var(--color__success--dark);
|
|
303
|
-
}
|
|
283
|
+
&--error &__supporting {
|
|
284
|
+
--input__supporting: var(--color__foreground--destructive-strong);
|
|
285
|
+
}
|
|
304
286
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
287
|
+
&--warning &__supporting {
|
|
288
|
+
--input__supporting: var(--color__foreground--warning-strong);
|
|
289
|
+
}
|
|
309
290
|
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
291
|
+
&--disabled &__field {
|
|
292
|
+
--input__border: var(--color__border--muted);
|
|
293
|
+
--input__border-width: #{$border__width--xs};
|
|
294
|
+
--input__label: var(--color__foreground--subtle);
|
|
295
|
+
--input__text: var(--color__foreground--disabled);
|
|
296
|
+
|
|
297
|
+
opacity: $opacity--50;
|
|
298
|
+
|
|
299
|
+
:where([data-theme='dark']) & {
|
|
300
|
+
--input__border: var(--color__border--subtle);
|
|
301
|
+
--input__label: var(--color__foreground--strong);
|
|
302
|
+
--input__text: var(--color__foreground--strong);
|
|
303
|
+
|
|
304
|
+
opacity: 1;
|
|
316
305
|
}
|
|
317
306
|
}
|
|
318
307
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
width: 100%;
|
|
325
|
-
}
|
|
308
|
+
&--disabled &__supporting {
|
|
309
|
+
--input__supporting: var(--color__foreground--subtle);
|
|
310
|
+
|
|
311
|
+
opacity: $opacity--50;
|
|
312
|
+
}
|
|
326
313
|
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
314
|
+
&--disabled &__input {
|
|
315
|
+
cursor: not-allowed;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
&--disabled &__action {
|
|
319
|
+
background: none;
|
|
320
|
+
cursor: not-allowed;
|
|
321
|
+
}
|
|
333
322
|
}
|