@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,41 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
$spacing--nano: 8px !default;
|
|
4
|
-
$spacing--xxxs: 16px !default;
|
|
5
|
-
$spacing--xxs: 24px !default;
|
|
6
|
-
$spacing--xs: 32px !default;
|
|
7
|
-
$spacing--sm: 40px !default;
|
|
8
|
-
$spacing--md: 48px !default;
|
|
9
|
-
$spacing--lg: 56px !default;
|
|
10
|
-
$spacing--xl: 64px !default;
|
|
11
|
-
$spacing--xxl: 72px !default;
|
|
12
|
-
$spacing--xxxl: 80px !default;
|
|
13
|
-
$spacing: (
|
|
14
|
-
'quark': $spacing--quark,
|
|
15
|
-
'nano': $spacing--nano,
|
|
16
|
-
'xxxs': $spacing--xxxs,
|
|
17
|
-
'xxs': $spacing--xxs,
|
|
18
|
-
'xs': $spacing--xs,
|
|
19
|
-
'sm': $spacing--sm,
|
|
20
|
-
'md': $spacing--md,
|
|
21
|
-
'lg': $spacing--lg,
|
|
22
|
-
'xl': $spacing--xl,
|
|
23
|
-
'xxl': $spacing--xxl,
|
|
24
|
-
'xxxl': $spacing--xxxl,
|
|
25
|
-
) !default;
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
@use '../functions/primitive' as fns;
|
|
26
3
|
|
|
27
|
-
/* ===== Inset Spacing ==== */
|
|
28
|
-
$spacing__inset--quark: 4px !default;
|
|
29
|
-
$spacing__inset--nano: 8px !default;
|
|
30
|
-
$spacing__inset--xs: 16px !default;
|
|
31
|
-
$spacing__inset--sm: 24px !default;
|
|
32
|
-
$spacing__inset--md: 32px !default;
|
|
33
|
-
$spacing__inset--lg: 40px !default;
|
|
34
4
|
$spacing__inset: (
|
|
35
|
-
'
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
)
|
|
5
|
+
'xs': fns.primitive('x2', 'spacings'),
|
|
6
|
+
'sm': fns.primitive('x3', 'spacings'),
|
|
7
|
+
'md': fns.primitive('x4', 'spacings'),
|
|
8
|
+
'lg': fns.primitive('x5', 'spacings'),
|
|
9
|
+
'xl': fns.primitive('x6', 'spacings'),
|
|
10
|
+
'2xl': fns.primitive('x7', 'spacings'),
|
|
11
|
+
);
|
|
12
|
+
$spacing__offset: (
|
|
13
|
+
'none': fns.primitive('x0', 'spacings'),
|
|
14
|
+
'xs': fns.primitive('x2', 'spacings'),
|
|
15
|
+
'sm': fns.primitive('x3', 'spacings'),
|
|
16
|
+
'md': fns.primitive('x4', 'spacings'),
|
|
17
|
+
'lg': fns.primitive('x5', 'spacings'),
|
|
18
|
+
'xl': fns.primitive('x6', 'spacings'),
|
|
19
|
+
'2xl': fns.primitive('x7', 'spacings'),
|
|
20
|
+
);
|
|
21
|
+
$spacing__offset--none: map.get($spacing__offset, 'none');
|
|
22
|
+
$spacing__offset--xs: map.get($spacing__offset, 'xs');
|
|
23
|
+
$spacing__offset--sm: map.get($spacing__offset, 'sm');
|
|
24
|
+
$spacing__offset--md: map.get($spacing__offset, 'md');
|
|
25
|
+
$spacing__offset--lg: map.get($spacing__offset, 'lg');
|
|
26
|
+
$spacing__offset--xl: map.get($spacing__offset, 'xl');
|
|
27
|
+
$spacing__offset--2xl: map.get($spacing__offset, '2xl');
|
|
28
|
+
$spacing__inset--xs: map.get($spacing__inset, 'xs');
|
|
29
|
+
$spacing__inset--sm: map.get($spacing__inset, 'sm');
|
|
30
|
+
$spacing__inset--md: map.get($spacing__inset, 'md');
|
|
31
|
+
$spacing__inset--lg: map.get($spacing__inset, 'lg');
|
|
32
|
+
$spacing__inset--xl: map.get($spacing__inset, 'xl');
|
|
33
|
+
$spacing__inset--2xl: map.get($spacing__inset, '2xl');
|
|
@@ -1,20 +1,145 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../functions/primitive' as fns;
|
|
2
|
+
@use 'font' as font;
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
4
|
+
$typography: (
|
|
5
|
+
'headline-1': (
|
|
6
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
7
|
+
'font-size': font.$size__font--5xl,
|
|
8
|
+
'font-size-mobile': font.$size__font--4xl,
|
|
9
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
10
|
+
'line-height': fns.primitive('125', 'line-height'),
|
|
11
|
+
),
|
|
12
|
+
'headline-2': (
|
|
13
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
14
|
+
'font-size': font.$size__font--4xl,
|
|
15
|
+
'font-size-mobile': font.$size__font--3xl,
|
|
16
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
17
|
+
'line-height': fns.primitive('125', 'line-height'),
|
|
18
|
+
),
|
|
19
|
+
'headline-3': (
|
|
20
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
21
|
+
'font-size': font.$size__font--2xl,
|
|
22
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
23
|
+
'line-height': fns.primitive('125', 'line-height'),
|
|
24
|
+
),
|
|
25
|
+
'headline-4': (
|
|
26
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
27
|
+
'font-size': font.$size__font--xl,
|
|
28
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
29
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
30
|
+
),
|
|
31
|
+
'headline-5': (
|
|
32
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
33
|
+
'font-size': font.$size__font--lg,
|
|
34
|
+
'font-weight': fns.primitive('600', 'font-weight'),
|
|
35
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
36
|
+
),
|
|
37
|
+
'headline-6': (
|
|
38
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
39
|
+
'font-size': font.$size__font--lg,
|
|
40
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
41
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
42
|
+
),
|
|
43
|
+
'subtitle-lg': (
|
|
44
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
45
|
+
'font-size': font.$size__font--xl,
|
|
46
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
47
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
48
|
+
),
|
|
49
|
+
'subtitle-sm': (
|
|
50
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
51
|
+
'font-size': font.$size__font--lg,
|
|
52
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
53
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
54
|
+
),
|
|
55
|
+
'body-lg': (
|
|
56
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
57
|
+
'font-size': font.$size__font--lg,
|
|
58
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
59
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
60
|
+
),
|
|
61
|
+
'body-md': (
|
|
62
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
63
|
+
'font-size': font.$size__font--md,
|
|
64
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
65
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
66
|
+
),
|
|
67
|
+
'body-sm': (
|
|
68
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
69
|
+
'font-size': font.$size__font--sm,
|
|
70
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
71
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
72
|
+
),
|
|
73
|
+
'body-lg-bold': (
|
|
74
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
75
|
+
'font-size': font.$size__font--lg,
|
|
76
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
77
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
78
|
+
),
|
|
79
|
+
'body-md-bold': (
|
|
80
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
81
|
+
'font-size': font.$size__font--md,
|
|
82
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
83
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
84
|
+
),
|
|
85
|
+
'body-sm-bold': (
|
|
86
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
87
|
+
'font-size': font.$size__font--sm,
|
|
88
|
+
'font-weight': fns.primitive('700', 'font-weight'),
|
|
89
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
90
|
+
),
|
|
91
|
+
'label-md': (
|
|
92
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
93
|
+
'font-size': font.$size__font--md,
|
|
94
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
95
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
96
|
+
),
|
|
97
|
+
'label-sm': (
|
|
98
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
99
|
+
'font-size': font.$size__font--sm,
|
|
100
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
101
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
102
|
+
),
|
|
103
|
+
'label-button-lg': (
|
|
104
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
105
|
+
'font-size': font.$size__font--lg,
|
|
106
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
107
|
+
'line-height': fns.primitive('140', 'line-height'),
|
|
108
|
+
),
|
|
109
|
+
'label-button-md': (
|
|
110
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
111
|
+
'font-size': font.$size__font--md,
|
|
112
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
113
|
+
'line-height': fns.primitive('140', 'line-height'),
|
|
114
|
+
),
|
|
115
|
+
'label-button-sm': (
|
|
116
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
117
|
+
'font-size': font.$size__font--sm,
|
|
118
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
119
|
+
'line-height': fns.primitive('140', 'line-height'),
|
|
120
|
+
),
|
|
121
|
+
'label-input-lg': (
|
|
122
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
123
|
+
'font-size': font.$size__font--lg,
|
|
124
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
125
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
126
|
+
),
|
|
127
|
+
'label-input-md': (
|
|
128
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
129
|
+
'font-size': font.$size__font--md,
|
|
130
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
131
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
132
|
+
),
|
|
133
|
+
'label-input-sm': (
|
|
134
|
+
'font-family': fns.primitive('highlight', 'font-family'),
|
|
135
|
+
'font-size': font.$size__font--sm,
|
|
136
|
+
'font-weight': fns.primitive('500', 'font-weight'),
|
|
137
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
138
|
+
),
|
|
139
|
+
'caption': (
|
|
140
|
+
'font-family': fns.primitive('base', 'font-family'),
|
|
141
|
+
'font-size': font.$size__font--sm,
|
|
142
|
+
'font-weight': fns.primitive('400', 'font-weight'),
|
|
143
|
+
'line-height': fns.primitive('150', 'line-height'),
|
|
144
|
+
),
|
|
145
|
+
) !default;
|
package/scss/index.scss
ADDED
|
@@ -1,50 +1,85 @@
|
|
|
1
1
|
// AON theme - CSS custom properties
|
|
2
|
-
@import 'colors';
|
|
2
|
+
@import '../../core/tokens/colors';
|
|
3
|
+
@import '../../core/mixins/colors';
|
|
4
|
+
@import 'primitives';
|
|
3
5
|
@import 'typography';
|
|
4
6
|
|
|
5
7
|
// tokens estruturais (só variáveis Sass, não emite CSS)
|
|
6
|
-
@import '../../core/
|
|
8
|
+
@import '../../core/primitives/borders';
|
|
7
9
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
10
|
+
$aon__tokens: (
|
|
11
|
+
'primary': (
|
|
12
|
+
'default': 'red--500',
|
|
13
|
+
'subtle': 'red--100',
|
|
14
|
+
'hover': 'red--200',
|
|
15
|
+
'pressed': 'red--700',
|
|
16
|
+
),
|
|
17
|
+
'focus': (
|
|
18
|
+
'ring': 'red--500',
|
|
19
|
+
),
|
|
20
|
+
'secondary': (
|
|
21
|
+
'default': 'ink--500',
|
|
22
|
+
'subtle': 'ink--100',
|
|
23
|
+
'hover': 'ink--300',
|
|
24
|
+
'pressed': 'ink--900',
|
|
25
|
+
),
|
|
26
|
+
'success': (
|
|
27
|
+
'default': 'green--500',
|
|
28
|
+
'subtle': 'green--100',
|
|
29
|
+
'hover': 'green--200',
|
|
30
|
+
'pressed': 'green--600',
|
|
31
|
+
),
|
|
32
|
+
'warning': (
|
|
33
|
+
'default': 'amber--500',
|
|
34
|
+
'subtle': 'amber--100',
|
|
35
|
+
'hover': 'amber--200',
|
|
36
|
+
'pressed': 'amber--600',
|
|
37
|
+
),
|
|
38
|
+
'destructive': (
|
|
39
|
+
'default': 'scarlet--500',
|
|
40
|
+
'subtle': 'scarlet--100',
|
|
41
|
+
'hover': 'scarlet--300',
|
|
42
|
+
'pressed': 'scarlet--700',
|
|
43
|
+
),
|
|
44
|
+
'info': (
|
|
45
|
+
'default': 'violet--500',
|
|
46
|
+
'subtle': 'violet--50',
|
|
47
|
+
'hover': 'violet--400',
|
|
48
|
+
'pressed': 'violet--600',
|
|
49
|
+
),
|
|
50
|
+
'foreground': (
|
|
51
|
+
'primary': 'red--500',
|
|
52
|
+
'primary-strong': 'red--700',
|
|
53
|
+
'secondary': 'ink--500',
|
|
54
|
+
'secondary-strong': 'ink--900',
|
|
55
|
+
'success': 'green--500',
|
|
56
|
+
'success-strong': 'green--600',
|
|
57
|
+
'warning': 'amber--500',
|
|
58
|
+
'warning-strong': 'amber--600',
|
|
59
|
+
'destructive': 'scarlet--500',
|
|
60
|
+
'destructive-strong': 'scarlet--700',
|
|
61
|
+
'info': 'violet--500',
|
|
62
|
+
'info-strong': 'violet--600',
|
|
63
|
+
),
|
|
64
|
+
'border': (
|
|
65
|
+
'primary': 'red--500',
|
|
66
|
+
'secondary': 'ink--500',
|
|
67
|
+
'success': 'green--500',
|
|
68
|
+
'warning': 'amber--500',
|
|
69
|
+
'destructive': 'scarlet--500',
|
|
70
|
+
'info': 'violet--500',
|
|
71
|
+
),
|
|
72
|
+
'chart': (
|
|
73
|
+
'1': 'red--500',
|
|
74
|
+
'2': 'violet--500',
|
|
75
|
+
'3': 'green--500',
|
|
76
|
+
'4': 'amber--500',
|
|
77
|
+
'5': 'scarlet--500',
|
|
78
|
+
),
|
|
79
|
+
);
|
|
30
80
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
--color__warning: #{$color__warning};
|
|
34
|
-
--color__warning--light: #{$color__warning--light};
|
|
35
|
-
--color__warning--lighter: #{$color__warning--lighter};
|
|
36
|
-
|
|
37
|
-
// ===== DANGER COLORS =====
|
|
38
|
-
--color__danger--dark: #{$color__danger--dark};
|
|
39
|
-
--color__danger: #{$color__danger};
|
|
40
|
-
--color__danger--light: #{$color__danger--light};
|
|
41
|
-
--color__danger--lighter: #{$color__danger--lighter};
|
|
42
|
-
|
|
43
|
-
// ===== INFO COLORS =====
|
|
44
|
-
--color__info--dark: #{$color__info--dark};
|
|
45
|
-
--color__info: #{$color__info};
|
|
46
|
-
--color__info--light: #{$color__info--light};
|
|
47
|
-
--color__info--lighter: #{$color__info--lighter};
|
|
81
|
+
[data-library='aon'] {
|
|
82
|
+
@include brand-colors('aon', $aon__palette, $aon__tokens);
|
|
48
83
|
|
|
49
84
|
// ===== TYPOGRAPHY =====
|
|
50
85
|
--font__family--base: #{$font__family--base};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
$aon__palette: (
|
|
2
|
+
'red--900': #b2100d,
|
|
3
|
+
'red--700': #cc1311,
|
|
4
|
+
'red--500': #e80300,
|
|
5
|
+
'red--200': #ef312f,
|
|
6
|
+
'red--100': #fb8c8b,
|
|
7
|
+
'red--50': #fcb7b7,
|
|
8
|
+
|
|
9
|
+
'ink--950': #141416,
|
|
10
|
+
'ink--900': #1d1e26,
|
|
11
|
+
'ink--500': #262836,
|
|
12
|
+
'ink--300': #333751,
|
|
13
|
+
'ink--100': #51577a,
|
|
14
|
+
'ink--50': #6e75a1,
|
|
15
|
+
|
|
16
|
+
'green--600': #007347,
|
|
17
|
+
'green--500': #bde094,
|
|
18
|
+
'green--200': #dbedc7,
|
|
19
|
+
'green--100': #e6eddf,
|
|
20
|
+
|
|
21
|
+
'amber--600': #ffb81c,
|
|
22
|
+
'amber--500': #ffc766,
|
|
23
|
+
'amber--200': #feebcb,
|
|
24
|
+
'amber--100': #fef5e5,
|
|
25
|
+
|
|
26
|
+
'scarlet--700': #b23b3c,
|
|
27
|
+
'scarlet--500': #fa5254,
|
|
28
|
+
'scarlet--300': #fa898b,
|
|
29
|
+
'scarlet--100': #fad5d5,
|
|
30
|
+
|
|
31
|
+
'violet--600': #4021d9,
|
|
32
|
+
'violet--500': #7040ff,
|
|
33
|
+
'violet--400': #d5ccff,
|
|
34
|
+
'violet--50': #eae5ff,
|
|
35
|
+
);
|
|
@@ -1,15 +1,33 @@
|
|
|
1
1
|
// Bees Bank theme - CSS custom properties
|
|
2
|
-
@import 'colors';
|
|
2
|
+
@import '../../core/tokens/colors';
|
|
3
|
+
@import '../../core/mixins/colors';
|
|
4
|
+
@import 'primitives';
|
|
3
5
|
@import 'typography';
|
|
4
6
|
|
|
7
|
+
$bees__tokens: (
|
|
8
|
+
'primary': (
|
|
9
|
+
'default': 'gradient',
|
|
10
|
+
'subtle': 'lime--100',
|
|
11
|
+
'hover': 'lime--200',
|
|
12
|
+
'pressed': 'lime--700',
|
|
13
|
+
),
|
|
14
|
+
'focus': (
|
|
15
|
+
'ring': 'gradient',
|
|
16
|
+
),
|
|
17
|
+
'foreground': (
|
|
18
|
+
'primary': 'gradient',
|
|
19
|
+
'primary-strong': 'lime--700',
|
|
20
|
+
),
|
|
21
|
+
'border': (
|
|
22
|
+
'primary': 'gradient',
|
|
23
|
+
),
|
|
24
|
+
'chart': (
|
|
25
|
+
'1': 'gradient',
|
|
26
|
+
),
|
|
27
|
+
);
|
|
28
|
+
|
|
5
29
|
[data-library='bees'] {
|
|
6
|
-
|
|
7
|
-
--color__primary--darker: #{$color__primary--darker};
|
|
8
|
-
--color__primary--dark: #{$color__primary--dark};
|
|
9
|
-
--color__primary: #{$color__primary};
|
|
10
|
-
--color__primary--light: #{$color__primary--light};
|
|
11
|
-
--color__primary--lighter: #{$color__primary--lighter};
|
|
12
|
-
--color__primary--lightest: #{$color__primary--lightest};
|
|
30
|
+
@include brand-colors('bees', $bees__palette, $bees__tokens);
|
|
13
31
|
|
|
14
32
|
// ===== TYPOGRAPHY (Barlow + Work Sans) =====
|
|
15
33
|
--font__family--base: #{$font__family--base};
|
|
@@ -17,35 +35,35 @@
|
|
|
17
35
|
|
|
18
36
|
// Button overrides (Bees-specific)
|
|
19
37
|
.ds-button {
|
|
20
|
-
// Sass var overrides
|
|
21
38
|
--button__text-transform: uppercase;
|
|
22
39
|
--button__letter-spacing: 1px;
|
|
23
40
|
--button__border-width: 2px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ds-button--brand.ds-button--primary {
|
|
44
|
+
--button__base: var(--color__surface--inverse);
|
|
45
|
+
--button__hover: var(--color__primary--default);
|
|
46
|
+
--button__on-fill: var(--color__foreground--on-emphasis);
|
|
47
|
+
--button__pressed: var(--color__primary--pressed);
|
|
48
|
+
|
|
49
|
+
&:enabled:hover,
|
|
50
|
+
&:enabled:active {
|
|
51
|
+
color: var(--color__foreground--default);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.ds-button--brand.ds-button--secondary {
|
|
56
|
+
--button__base: var(--color__surface--inverse);
|
|
57
|
+
--button__hover: var(--color__primary--hover);
|
|
58
|
+
--button__subtle: var(--color__primary--default);
|
|
59
|
+
--button__text: var(--color__foreground--default);
|
|
60
|
+
--button__text-pressed: var(--color__foreground--default);
|
|
61
|
+
}
|
|
24
62
|
|
|
25
|
-
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
30
|
-
--button-background-color__primary--hover: var(--color__primary);
|
|
31
|
-
--button-background-color__primary--active: var(--color__primary--dark);
|
|
32
|
-
|
|
33
|
-
// Outline inverted
|
|
34
|
-
--button-color__primary-outline: var(--color__neutral--100);
|
|
35
|
-
--button-color__primary-outline--active: var(--color__neutral--100);
|
|
36
|
-
--button-background-color__primary-outline--hover: var(--color__primary);
|
|
37
|
-
--button-background-color__primary-outline--active: var(
|
|
38
|
-
--color__primary--light
|
|
39
|
-
);
|
|
40
|
-
|
|
41
|
-
// Text variant (NOT inverted - uses normal colors)
|
|
42
|
-
--button-color__primary-text: var(--color__primary);
|
|
43
|
-
--button-color__primary-text--active: var(--color__primary--dark);
|
|
44
|
-
--button-background-color__primary-text--hover: var(
|
|
45
|
-
--color__primary--lighter
|
|
46
|
-
);
|
|
47
|
-
--button-background-color__primary-text--active: var(
|
|
48
|
-
--color__primary--light
|
|
49
|
-
);
|
|
63
|
+
.ds-button--brand.ds-button--ghost {
|
|
64
|
+
--button__hover: var(--color__primary--hover);
|
|
65
|
+
--button__subtle: var(--color__primary--subtle);
|
|
66
|
+
--button__text: var(--color__foreground--primary);
|
|
67
|
+
--button__text-pressed: var(--color__foreground--primary-strong);
|
|
50
68
|
}
|
|
51
69
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
$bees__gradient: linear-gradient(
|
|
2
|
+
46.18deg,
|
|
3
|
+
#ff0 19.1%,
|
|
4
|
+
#f9ff07 24.26%,
|
|
5
|
+
#ecff1c 31.63%,
|
|
6
|
+
#d5ff3e 40.47%,
|
|
7
|
+
#b5ff6d 50.78%,
|
|
8
|
+
#8cffaa 61.84%,
|
|
9
|
+
#5cfff3 73.62%,
|
|
10
|
+
#55fffe 75.83%
|
|
11
|
+
);
|
|
12
|
+
$bees__palette: (
|
|
13
|
+
'gradient': $bees__gradient,
|
|
14
|
+
'lime--900': #8e9911,
|
|
15
|
+
'lime--700': #ecff1c,
|
|
16
|
+
'lime--200': #f0ff49,
|
|
17
|
+
'lime--100': #f6ff8e,
|
|
18
|
+
'lime--50': #fbffd2,
|
|
19
|
+
);
|
|
@@ -1,54 +1,89 @@
|
|
|
1
1
|
// BMC theme - CSS custom properties
|
|
2
|
-
@import 'colors';
|
|
2
|
+
@import '../../core/tokens/colors';
|
|
3
|
+
@import '../../core/mixins/colors';
|
|
4
|
+
@import 'primitives';
|
|
3
5
|
@import 'typography';
|
|
4
6
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
7
|
+
$bmc__tokens: (
|
|
8
|
+
'primary': (
|
|
9
|
+
'default': 'gray-light',
|
|
10
|
+
'subtle': 'salmon',
|
|
11
|
+
'hover': 'ice',
|
|
12
|
+
'pressed': 'black',
|
|
13
|
+
),
|
|
14
|
+
'focus': (
|
|
15
|
+
'ring': 'gray-light',
|
|
16
|
+
),
|
|
17
|
+
'secondary': (
|
|
18
|
+
'default': 'ink',
|
|
19
|
+
'subtle': 'slate',
|
|
20
|
+
'hover': 'stone',
|
|
21
|
+
'pressed': 'gray-mid',
|
|
22
|
+
),
|
|
23
|
+
'success': (
|
|
24
|
+
'default': 'green--500',
|
|
25
|
+
'subtle': 'green--100',
|
|
26
|
+
'hover': 'green--200',
|
|
27
|
+
'pressed': 'green--600',
|
|
28
|
+
),
|
|
29
|
+
'warning': (
|
|
30
|
+
'default': 'amber--500',
|
|
31
|
+
'subtle': 'amber--100',
|
|
32
|
+
'hover': 'amber--200',
|
|
33
|
+
'pressed': 'amber--600',
|
|
34
|
+
),
|
|
35
|
+
'destructive': (
|
|
36
|
+
'default': 'scarlet--500',
|
|
37
|
+
'subtle': 'scarlet--100',
|
|
38
|
+
'hover': 'scarlet--300',
|
|
39
|
+
'pressed': 'scarlet--700',
|
|
40
|
+
),
|
|
41
|
+
'info': (
|
|
42
|
+
'default': 'violet--500',
|
|
43
|
+
'subtle': 'violet--50',
|
|
44
|
+
'hover': 'violet--400',
|
|
45
|
+
'pressed': 'violet--600',
|
|
46
|
+
),
|
|
47
|
+
'foreground': (
|
|
48
|
+
'primary': 'gray-light',
|
|
49
|
+
'primary-strong': 'black',
|
|
50
|
+
'secondary': 'ink',
|
|
51
|
+
'secondary-strong': 'gray-mid',
|
|
52
|
+
'success': 'green--500',
|
|
53
|
+
'success-strong': 'green--600',
|
|
54
|
+
'warning': 'amber--500',
|
|
55
|
+
'warning-strong': 'amber--600',
|
|
56
|
+
'destructive': 'scarlet--500',
|
|
57
|
+
'destructive-strong': 'scarlet--700',
|
|
58
|
+
'info': 'violet--500',
|
|
59
|
+
'info-strong': 'violet--600',
|
|
60
|
+
),
|
|
61
|
+
'border': (
|
|
62
|
+
'primary': 'gray-light',
|
|
63
|
+
'secondary': 'ink',
|
|
64
|
+
'success': 'green--500',
|
|
65
|
+
'warning': 'amber--500',
|
|
66
|
+
'destructive': 'scarlet--500',
|
|
67
|
+
'info': 'violet--500',
|
|
68
|
+
),
|
|
69
|
+
'chart': (
|
|
70
|
+
'1': 'gray-light',
|
|
71
|
+
'2': 'violet--500',
|
|
72
|
+
'3': 'green--500',
|
|
73
|
+
'4': 'amber--500',
|
|
74
|
+
'5': 'scarlet--500',
|
|
75
|
+
),
|
|
76
|
+
);
|
|
27
77
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
--color__warning: #{$color__warning};
|
|
31
|
-
--color__warning--light: #{$color__warning--light};
|
|
32
|
-
--color__warning--lighter: #{$color__warning--lighter};
|
|
33
|
-
|
|
34
|
-
// ===== DANGER COLORS =====
|
|
35
|
-
--color__danger--dark: #{$color__danger--dark};
|
|
36
|
-
--color__danger: #{$color__danger};
|
|
37
|
-
--color__danger--light: #{$color__danger--light};
|
|
38
|
-
--color__danger--lighter: #{$color__danger--lighter};
|
|
39
|
-
|
|
40
|
-
// ===== INFO COLORS =====
|
|
41
|
-
--color__info--dark: #{$color__info--dark};
|
|
42
|
-
--color__info: #{$color__info};
|
|
43
|
-
--color__info--light: #{$color__info--light};
|
|
44
|
-
--color__info--lighter: #{$color__info--lighter};
|
|
78
|
+
[data-library='bmc'] {
|
|
79
|
+
@include brand-colors('bmc', $bmc__palette, $bmc__tokens);
|
|
45
80
|
|
|
46
81
|
// ===== TYPOGRAPHY (Roboto Condensed) =====
|
|
47
82
|
--font__family--base: #{$font__family--base};
|
|
48
83
|
--font__family--highlight: #{$font__family--highlight};
|
|
49
84
|
|
|
50
85
|
// Button overrides (BMC-specific)
|
|
51
|
-
.ds-button {
|
|
52
|
-
--
|
|
86
|
+
.ds-button--brand {
|
|
87
|
+
--button__on-fill: var(--color__foreground--primary-strong);
|
|
53
88
|
}
|
|
54
89
|
}
|