@akad/design-system 0.2.0-beta.8 → 1.0.0-alpha.1
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 -0
- package/css/package.json +9 -1
- package/css/theme-aon.css +1 -0
- package/css/theme-bees.css +1 -0
- package/css/theme-bmc.css +1 -0
- package/css/theme-default.css +1 -0
- package/css/theme-linker.css +1 -0
- package/css/theme-oggi.css +1 -0
- package/css/theme-streetgo.css +1 -0
- package/package.json +1 -1
- package/react/package.json +1 -1
- package/react/react-lib.js +2794 -2792
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Button/Button.config.d.ts +106 -0
- package/react/{components → src/components}/atoms/Button/Button.d.ts +11 -7
- package/react/{components → src/components}/atoms/Button/Button.stories.d.ts +2 -2
- package/react/src/components/atoms/Button/index.d.ts +4 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +6 -0
- package/react/src/components/atoms/Caption/index.d.ts +4 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +92 -0
- package/react/{components → src/components}/atoms/Card/Card.d.ts +8 -4
- package/react/src/components/atoms/Card/index.d.ts +4 -0
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.config.d.ts +18 -18
- package/react/src/components/atoms/Checkbox/index.d.ts +4 -0
- package/react/src/components/atoms/Heading/Heading.config.d.ts +22 -0
- package/react/src/components/atoms/Heading/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +30 -0
- package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +4 -0
- package/react/src/components/atoms/Icon/Icon.config.d.ts +125 -0
- package/react/{components → src/components}/atoms/Icon/Icon.d.ts +3 -3
- package/react/{components → src/components}/atoms/Icon/Icon.stories.d.ts +3 -3
- package/react/src/components/atoms/Icon/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +146 -0
- package/react/{components → src/components}/atoms/Input/Input.stories.d.ts +2 -2
- package/react/src/components/atoms/Input/index.d.ts +4 -0
- package/react/src/components/atoms/Loading/Loading.config.d.ts +52 -0
- package/react/{components → src/components}/atoms/Loading/Loading.d.ts +1 -1
- package/react/src/components/atoms/Loading/index.d.ts +4 -0
- package/react/src/components/atoms/Option/Option.config.d.ts +53 -0
- package/react/src/components/atoms/Option/index.d.ts +4 -0
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +19 -0
- package/react/src/components/atoms/Paragraph/index.d.ts +4 -0
- package/react/src/components/atoms/Progress/Progress.config.d.ts +30 -0
- package/react/src/components/atoms/Progress/index.d.ts +4 -0
- package/react/src/components/atoms/Select/Select.config.d.ts +121 -0
- package/react/{components → src/components}/atoms/Select/Select.stories.d.ts +4 -4
- package/react/src/components/atoms/Select/index.d.ts +4 -0
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +18 -0
- package/react/src/components/atoms/Subtitle/index.d.ts +4 -0
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +128 -0
- package/react/{components → src/components}/atoms/TextArea/TextArea.d.ts +0 -1
- package/react/{components → src/components}/atoms/TextArea/TextArea.stories.d.ts +2 -2
- package/react/src/components/atoms/TextArea/index.d.ts +4 -0
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +41 -0
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.d.ts +3 -1
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.stories.d.ts +6 -6
- package/react/src/components/atoms/Tooltip/index.d.ts +4 -0
- package/react/src/components/bosons/Container/Container.config.d.ts +18 -0
- package/react/src/components/bosons/Container/index.d.ts +4 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexElement.config.d.ts +2 -2
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +95 -0
- package/react/src/components/bosons/FlexLayout/index.d.ts +8 -0
- package/react/{components → src/components}/bosons/GridLayout/GridElement.config.d.ts +2 -2
- package/react/{components → src/components}/bosons/GridLayout/GridElement.d.ts +6 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +80 -0
- package/react/{components → src/components}/bosons/GridLayout/GridLayout.d.ts +3 -3
- package/react/src/components/bosons/GridLayout/index.d.ts +8 -0
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +24 -0
- package/react/{components → src/components}/bosons/Spacer/Spacer.stories.d.ts +2 -2
- package/react/src/components/bosons/Spacer/index.d.ts +4 -0
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +27 -0
- package/react/src/components/bosons/Wrapper/index.d.ts +4 -0
- package/react/src/components/index.d.ts +37 -0
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +31 -0
- package/react/{components → src/components}/molecules/Accordion/Accordion.d.ts +2 -2
- package/react/{components → src/components}/molecules/Accordion/Accordion.stories.d.ts +1 -1
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +28 -0
- package/react/{components → src/components}/molecules/Accordion/AccordionItem.d.ts +7 -1
- package/react/src/components/molecules/Accordion/index.d.ts +8 -0
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.config.d.ts +2 -2
- package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
- package/react/src/components/molecules/Carousel/Carousel.config.d.ts +7 -0
- package/react/src/components/molecules/Carousel/Carousel.d.ts +31 -0
- package/react/src/components/molecules/Carousel/index.d.ts +4 -0
- package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +104 -0
- package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.d.ts +2 -2
- package/react/src/components/molecules/EditableSelect/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Indicator/Indicator.config.d.ts +3 -3
- package/react/src/components/molecules/Indicator/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts +3 -3
- package/react/src/components/molecules/InlineEditable/index.d.ts +4 -0
- package/react/src/components/molecules/Modal/Modal.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Modal/Modal.d.ts +2 -2
- package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +2 -2
- package/react/src/components/molecules/Modal/Modal.test.d.ts +1 -0
- package/react/src/components/molecules/Modal/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Notification/Notification.config.d.ts +13 -32
- package/react/src/components/molecules/Notification/Notification.d.ts +22 -0
- package/react/{components → src/components}/molecules/Notification/Notification.stories.d.ts +1 -1
- package/react/src/components/molecules/Notification/index.d.ts +4 -0
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +32 -0
- package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +1 -1
- package/react/src/components/molecules/PasswordConfirmation/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Stepper/Stepper.config.d.ts +2 -2
- package/react/{components → src/components}/molecules/Stepper/Stepper.d.ts +7 -2
- package/react/src/components/molecules/Stepper/index.d.ts +4 -0
- package/react/{components/molecules/Table/Table.types.d.ts → src/components/molecules/Table/Table.config.d.ts} +23 -0
- package/react/{components → src/components}/molecules/Table/Table.d.ts +1 -1
- package/react/{components → src/components}/molecules/Table/Table.stories.d.ts +3 -3
- package/react/{components → src/components}/molecules/Table/TableRow.d.ts +1 -1
- package/react/{components → src/components}/molecules/Table/dataTable.mock.d.ts +1 -1
- package/react/src/components/molecules/Table/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Tabs/Tab.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Tabs/Tabs.d.ts +11 -1
- package/react/{components → src/components}/molecules/Tabs/Tabs.stories.d.ts +1 -1
- package/react/src/components/molecules/Tabs/index.d.ts +4 -0
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +28 -0
- package/react/src/components/organisms/NotificationList/NotificationList.config.d.ts +32 -0
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.d.ts +1 -1
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +1 -1
- package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
- package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +7 -0
- package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +9 -0
- package/react/src/components/templates/SplitLayout/index.d.ts +5 -0
- package/react/{components → src/components}/templates/TwoColumns/TwoColumns.config.d.ts +2 -2
- package/react/src/components/templates/TwoColumns/index.d.ts +4 -0
- package/react/src/enum/colorProps.d.ts +30 -0
- package/scss/core/base/index.scss +3 -0
- package/scss/core/base/reset.scss +27 -0
- package/scss/core/base/typography.scss +18 -0
- package/scss/core/components/atoms/button.scss +816 -0
- package/scss/core/components/atoms/caption.scss +13 -0
- package/scss/core/components/atoms/card.scss +24 -0
- package/scss/core/components/atoms/checkbox.scss +61 -0
- package/scss/core/components/atoms/heading.scss +69 -0
- package/scss/core/components/atoms/horizontal-rule.scss +27 -0
- package/scss/core/components/atoms/icon.scss +49 -0
- package/scss/core/components/atoms/input.scss +333 -0
- package/scss/core/components/atoms/loading.scss +120 -0
- package/scss/core/components/atoms/option.scss +78 -0
- package/scss/core/components/atoms/paragraph.scss +44 -0
- package/scss/core/components/atoms/progress.scss +32 -0
- package/scss/core/components/atoms/select.scss +253 -0
- package/scss/core/components/atoms/subtitle.scss +21 -0
- package/scss/core/components/atoms/textarea.scss +340 -0
- package/scss/core/components/atoms/tooltip.scss +197 -0
- package/scss/core/components/bosons/container.scss +5 -0
- package/scss/core/components/bosons/flex-layout.scss +45 -0
- package/scss/core/components/bosons/grid-layout.scss +76 -0
- package/scss/core/components/bosons/grid.scss +79 -0
- package/scss/core/components/bosons/spacer.scss +45 -0
- package/scss/core/components/bosons/wrapper.scss +32 -0
- package/scss/core/components/index.scss +49 -0
- package/scss/core/components/molecules/accordion.scss +93 -0
- package/scss/core/components/molecules/active-tags.scss +58 -0
- package/scss/core/components/molecules/carousel.scss +67 -0
- package/scss/core/components/molecules/editable-select.scss +141 -0
- package/scss/core/components/molecules/indicator.scss +37 -0
- package/scss/core/components/molecules/inline-editable.scss +23 -0
- package/scss/core/components/molecules/modal.scss +70 -0
- package/scss/core/components/molecules/notification.scss +109 -0
- package/scss/core/components/molecules/password-confirmation.scss +16 -0
- package/scss/core/components/molecules/stepper.scss +84 -0
- package/scss/core/components/molecules/table.scss +95 -0
- package/scss/core/components/molecules/tabs.scss +114 -0
- package/scss/core/components/molecules/theme-provider.scss +6 -0
- package/scss/core/components/organisms/notification-list.scss +77 -0
- package/scss/core/components/templates/split-layout.scss +51 -0
- package/scss/core/components/templates/two-columns.scss +30 -0
- package/scss/core/functions/breakpoints.scss +35 -0
- package/scss/core/functions/fonts.scss +17 -0
- package/scss/core/functions/index.scss +5 -0
- package/scss/core/functions/spacings.scss +8 -0
- package/scss/core/functions/tokens.scss +14 -0
- package/scss/core/helpers/borders.scss +87 -0
- package/scss/core/helpers/colors.scss +167 -0
- package/scss/core/helpers/display.scss +177 -0
- package/scss/core/helpers/elevation.scss +16 -0
- package/scss/core/helpers/index.scss +6 -0
- package/scss/core/helpers/order.scss +20 -0
- package/scss/core/index.scss +18 -0
- package/scss/core/mixins/breakpoints.scss +90 -0
- package/scss/core/mixins/grid.scss +8 -0
- package/scss/core/mixins/index.scss +5 -0
- package/scss/core/tokens/borders.scss +12 -0
- package/scss/core/tokens/breakpoints.scss +20 -0
- package/scss/core/tokens/icons.scss +2 -0
- package/scss/core/tokens/index.scss +8 -0
- package/scss/core/tokens/opacity.scss +6 -0
- package/scss/core/tokens/shadows.scss +15 -0
- package/scss/core/tokens/spacings.scss +41 -0
- package/scss/core/tokens/typography.scss +20 -0
- package/scss/themes/aon/colors.scss +83 -0
- package/scss/themes/aon/index.scss +54 -0
- package/scss/themes/aon/typography.scss +7 -0
- package/scss/themes/bees/colors.scss +32 -0
- package/scss/themes/bees/index.scss +51 -0
- package/scss/themes/bees/typography.scss +6 -0
- package/scss/themes/bmc/colors.scss +81 -0
- package/scss/themes/bmc/index.scss +54 -0
- package/scss/themes/bmc/typography.scss +5 -0
- package/scss/themes/default/colors.scss +109 -0
- package/scss/themes/default/index.scss +80 -0
- package/scss/themes/default/typography.scss +7 -0
- package/scss/themes/linker/colors.scss +35 -0
- package/scss/themes/linker/index.scss +30 -0
- package/scss/themes/linker/typography.scss +6 -0
- package/scss/themes/oggi/colors.scss +81 -0
- package/scss/themes/oggi/index.scss +54 -0
- package/scss/themes/oggi/typography.scss +5 -0
- package/scss/themes/streetgo/colors.scss +81 -0
- package/scss/themes/streetgo/index.scss +54 -0
- package/scss/themes/streetgo/typography.scss +5 -0
- package/css/aon-theme.css +0 -1
- package/css/bees-theme.css +0 -1
- package/css/bmc-theme.css +0 -1
- package/css/default-theme.css +0 -1
- package/css/linker-theme.css +0 -1
- package/css/oggi-theme.css +0 -1
- package/css/streetgo-theme.css +0 -1
- package/react/components/atoms/Button/Button.config.d.ts +0 -94
- package/react/components/atoms/Button/index.d.ts +0 -4
- package/react/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/components/atoms/Caption/index.d.ts +0 -4
- package/react/components/atoms/Card/Card.config.d.ts +0 -76
- package/react/components/atoms/Card/index.d.ts +0 -4
- package/react/components/atoms/Checkbox/index.d.ts +0 -5
- package/react/components/atoms/Heading/Heading.config.d.ts +0 -23
- package/react/components/atoms/Heading/index.d.ts +0 -4
- package/react/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +0 -32
- package/react/components/atoms/HorizontalRule/index.d.ts +0 -4
- package/react/components/atoms/Icon/Icon.config.d.ts +0 -129
- package/react/components/atoms/Icon/index.d.ts +0 -4
- package/react/components/atoms/Input/Input.config.d.ts +0 -151
- package/react/components/atoms/Input/index.d.ts +0 -4
- package/react/components/atoms/Loading/Loading.config.d.ts +0 -54
- package/react/components/atoms/Loading/index.d.ts +0 -4
- package/react/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/components/atoms/Option/index.d.ts +0 -4
- package/react/components/atoms/Paragraph/Paragraph.config.d.ts +0 -20
- package/react/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/components/atoms/Progress/Progress.config.d.ts +0 -31
- package/react/components/atoms/Progress/index.d.ts +0 -4
- package/react/components/atoms/Select/Select.config.d.ts +0 -125
- package/react/components/atoms/Select/index.d.ts +0 -4
- package/react/components/atoms/Subtitle/Subtitle.config.d.ts +0 -19
- package/react/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/components/atoms/TextArea/TextArea.config.d.ts +0 -132
- package/react/components/atoms/TextArea/index.d.ts +0 -4
- package/react/components/atoms/Tooltip/Tooltip.config.d.ts +0 -38
- package/react/components/atoms/Tooltip/index.d.ts +0 -4
- package/react/components/bosons/Container/Container.config.d.ts +0 -18
- package/react/components/bosons/Container/index.d.ts +0 -4
- package/react/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -100
- package/react/components/bosons/FlexLayout/index.d.ts +0 -5
- package/react/components/bosons/GridLayout/GridLayout.config.d.ts +0 -82
- package/react/components/bosons/GridLayout/index.d.ts +0 -5
- package/react/components/bosons/Spacer/Spacer.config.d.ts +0 -25
- package/react/components/bosons/Spacer/index.d.ts +0 -4
- package/react/components/bosons/Wrapper/Wrapper.config.d.ts +0 -28
- package/react/components/bosons/Wrapper/index.d.ts +0 -4
- package/react/components/index.d.ts +0 -37
- package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
- package/react/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/components/molecules/Accordion/index.d.ts +0 -5
- package/react/components/molecules/ActiveTags/index.d.ts +0 -4
- package/react/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -105
- package/react/components/molecules/EditableSelect/index.d.ts +0 -4
- package/react/components/molecules/Indicator/index.d.ts +0 -4
- package/react/components/molecules/InlineEditable/index.d.ts +0 -4
- package/react/components/molecules/Modal/Modal.config.d.ts +0 -41
- package/react/components/molecules/Modal/index.d.ts +0 -4
- package/react/components/molecules/Notification/Notification.d.ts +0 -7
- package/react/components/molecules/Notification/index.d.ts +0 -5
- package/react/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +0 -32
- package/react/components/molecules/PasswordConfirmation/index.d.ts +0 -4
- package/react/components/molecules/Stepper/index.d.ts +0 -4
- package/react/components/molecules/Table/Table.config.d.ts +0 -23
- package/react/components/molecules/Table/index.d.ts +0 -5
- package/react/components/molecules/Tabs/Tabs.config.d.ts +0 -45
- package/react/components/molecules/Tabs/index.d.ts +0 -6
- package/react/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +0 -30
- package/react/components/organisms/NotificationList/NotificationList.config.d.ts +0 -33
- package/react/components/organisms/NotificationList/index.d.ts +0 -4
- package/react/components/templates/TwoColumns/index.d.ts +0 -5
- package/react/decorators/storybook.d.ts +0 -3
- package/react/types/hooks/types.d.ts +0 -99
- package/react/types/types.d.ts +0 -43
- /package/react/{components → src/components}/atoms/Button/Button.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Caption/Caption.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Caption/Caption.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Caption/Caption.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Card/Card.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Card/Card.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Icon/Icon.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/Input.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/Input.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/mask.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Loading/Loading.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Loading/Loading.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Select/Select.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Select/Select.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/TextArea/TextArea.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Tooltip/Tooltip.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexElement.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridElement.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridLayout.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Spacer/Spacer.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Spacer/Spacer.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Accordion/Accordion.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.test.d.ts +0 -0
- /package/react/{components/molecules/Modal/Modal.test.d.ts → src/components/molecules/Carousel/Carousel.test.d.ts} +0 -0
- /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Notification/Notification.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmartion.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Stepper/Stepper.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Stepper/Stepper.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Table/Table.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Tabs/Tab.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Tabs/Tabs.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/index.d.ts +0 -0
- /package/react/{components → src/components}/organisms/NotificationList/NotificationList.test.d.ts +0 -0
- /package/react/{components/templates/TwoColumns/TwoColumns.test.d.ts → src/components/templates/SplitLayout/SplitLayout.test.d.ts} +0 -0
- /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.d.ts +0 -0
- /package/react/{decorators/storybook.test.d.ts → src/components/templates/TwoColumns/TwoColumns.test.d.ts} +0 -0
- /package/react/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// Border color utilities (uses CSS vars - dynamic theming)
|
|
2
|
+
|
|
3
|
+
// Color shades (same as colors.scss - variant keys)
|
|
4
|
+
$brand-color-shades: (
|
|
5
|
+
'darker',
|
|
6
|
+
'dark',
|
|
7
|
+
'default',
|
|
8
|
+
'light',
|
|
9
|
+
'lighter',
|
|
10
|
+
'lightest'
|
|
11
|
+
); // 6 shades
|
|
12
|
+
$semantic-color-shades: ('dark', 'default', 'light', 'lighter'); // 4 shades
|
|
13
|
+
$neutral-scale: (
|
|
14
|
+
'00',
|
|
15
|
+
'05',
|
|
16
|
+
'10',
|
|
17
|
+
'20',
|
|
18
|
+
'30',
|
|
19
|
+
'40',
|
|
20
|
+
'50',
|
|
21
|
+
'60',
|
|
22
|
+
'70',
|
|
23
|
+
'80',
|
|
24
|
+
'90',
|
|
25
|
+
'100'
|
|
26
|
+
); // 12-point scale
|
|
27
|
+
|
|
28
|
+
// Generate primary/secondary border utilities
|
|
29
|
+
@each $variant in $brand-color-shades {
|
|
30
|
+
.border-color__primary--#{$variant} {
|
|
31
|
+
border-color: var(--color__primary--#{$variant});
|
|
32
|
+
border-left-style: solid;
|
|
33
|
+
border-left-width: $spacing--quark;
|
|
34
|
+
}
|
|
35
|
+
.border-color__secondary--#{$variant} {
|
|
36
|
+
border-color: var(--color__secondary--#{$variant});
|
|
37
|
+
border-left-style: solid;
|
|
38
|
+
border-left-width: $spacing--quark;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Aliases without --default
|
|
43
|
+
.border-color__primary {
|
|
44
|
+
border-color: var(--color__primary);
|
|
45
|
+
border-left-style: solid;
|
|
46
|
+
border-left-width: $spacing--quark;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.border-color__secondary {
|
|
50
|
+
border-color: var(--color__secondary);
|
|
51
|
+
border-left-style: solid;
|
|
52
|
+
border-left-width: $spacing--quark;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
// Generate neutral border utilities
|
|
56
|
+
@each $variant in $neutral-scale {
|
|
57
|
+
.border-color__neutral--#{$variant} {
|
|
58
|
+
border-color: var(--color__neutral--#{$variant});
|
|
59
|
+
border-left-style: solid;
|
|
60
|
+
border-left-width: $spacing--quark;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// Aliases with single hyphen (React uses 'neutral-90' not 'neutral--90')
|
|
64
|
+
.border-color__neutral-#{$variant} {
|
|
65
|
+
border-color: var(--color__neutral--#{$variant});
|
|
66
|
+
border-left-style: solid;
|
|
67
|
+
border-left-width: $spacing--quark;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Generate semantic border utilities
|
|
72
|
+
@each $semantic in ('success', 'warning', 'danger', 'info') {
|
|
73
|
+
@each $variant in $semantic-color-shades {
|
|
74
|
+
.border-color__#{$semantic}--#{$variant} {
|
|
75
|
+
border-color: var(--color__#{$semantic}--#{$variant});
|
|
76
|
+
border-left-style: solid;
|
|
77
|
+
border-left-width: $spacing--quark;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Aliases without --default
|
|
82
|
+
.border-color__#{$semantic} {
|
|
83
|
+
border-color: var(--color__#{$semantic});
|
|
84
|
+
border-left-style: solid;
|
|
85
|
+
border-left-width: $spacing--quark;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
// Color utilities (uses CSS vars - dynamic theming)
|
|
2
|
+
|
|
3
|
+
// Color shades (variant keys for generating utilities)
|
|
4
|
+
$brand-color-shades: (
|
|
5
|
+
'darker',
|
|
6
|
+
'dark',
|
|
7
|
+
'default',
|
|
8
|
+
'light',
|
|
9
|
+
'lighter',
|
|
10
|
+
'lightest'
|
|
11
|
+
); // 6 shades for primary/secondary
|
|
12
|
+
$semantic-color-shades: (
|
|
13
|
+
'dark',
|
|
14
|
+
'default',
|
|
15
|
+
'light',
|
|
16
|
+
'lighter'
|
|
17
|
+
); // 4 shades for success/warning/danger/info
|
|
18
|
+
$neutral-scale: (
|
|
19
|
+
'00',
|
|
20
|
+
'05',
|
|
21
|
+
'10',
|
|
22
|
+
'20',
|
|
23
|
+
'30',
|
|
24
|
+
'40',
|
|
25
|
+
'50',
|
|
26
|
+
'60',
|
|
27
|
+
'70',
|
|
28
|
+
'80',
|
|
29
|
+
'90',
|
|
30
|
+
'100'
|
|
31
|
+
); // 12-point neutral scale
|
|
32
|
+
|
|
33
|
+
// Generate primary utilities
|
|
34
|
+
@each $variant in $brand-color-shades {
|
|
35
|
+
.color__primary--#{$variant} {
|
|
36
|
+
color: var(--color__primary--#{$variant});
|
|
37
|
+
}
|
|
38
|
+
.bg-color__primary--#{$variant} {
|
|
39
|
+
background-color: var(--color__primary--#{$variant});
|
|
40
|
+
|
|
41
|
+
// Automatic contrast color (maintains old-default behavior)
|
|
42
|
+
@if index(('darker', 'dark', 'default'), $variant) {
|
|
43
|
+
color: var(--color__neutral--10); // Light text on dark bg
|
|
44
|
+
} @else {
|
|
45
|
+
color: var(--color__neutral--90); // Dark text on light bg
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
// Aliases without --default for backward compatibility
|
|
51
|
+
.color__primary {
|
|
52
|
+
color: var(--color__primary);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bg-color__primary {
|
|
56
|
+
background-color: var(--color__primary);
|
|
57
|
+
color: var(--color__neutral--10); // Automatic contrast color
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
// Generate secondary utilities
|
|
61
|
+
@each $variant in $brand-color-shades {
|
|
62
|
+
.color__secondary--#{$variant} {
|
|
63
|
+
color: var(--color__secondary--#{$variant});
|
|
64
|
+
}
|
|
65
|
+
.bg-color__secondary--#{$variant} {
|
|
66
|
+
background-color: var(--color__secondary--#{$variant});
|
|
67
|
+
|
|
68
|
+
// Automatic contrast color (maintains old-default behavior)
|
|
69
|
+
@if index(('darker', 'dark', 'default'), $variant) {
|
|
70
|
+
color: var(--color__neutral--10); // Light text on dark bg
|
|
71
|
+
} @else {
|
|
72
|
+
color: var(--color__neutral--90); // Dark text on light bg
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// Aliases without --default
|
|
78
|
+
.color__secondary {
|
|
79
|
+
color: var(--color__secondary);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.bg-color__secondary {
|
|
83
|
+
background-color: var(--color__secondary);
|
|
84
|
+
color: var(--color__neutral--10); // Automatic contrast color
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
// Generate neutral utilities
|
|
88
|
+
@each $variant in $neutral-scale {
|
|
89
|
+
.color__neutral--#{$variant} {
|
|
90
|
+
color: var(--color__neutral--#{$variant});
|
|
91
|
+
}
|
|
92
|
+
.bg-color__neutral--#{$variant} {
|
|
93
|
+
background-color: var(--color__neutral--#{$variant});
|
|
94
|
+
|
|
95
|
+
// Automatic contrast color (maintains old-default behavior)
|
|
96
|
+
@if index(('90', '80', '60'), $variant) {
|
|
97
|
+
color: var(--color__neutral--10); // Light text on dark bg
|
|
98
|
+
} @else if index(('40', '20', '10', '05', '00'), $variant) {
|
|
99
|
+
color: var(--color__neutral--90); // Dark text on light bg
|
|
100
|
+
} @else {
|
|
101
|
+
color: var(--color__neutral--80); // Medium gray - dark text
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Aliases with single hyphen (React uses 'neutral-90' not 'neutral--90')
|
|
106
|
+
.color__neutral-#{$variant} {
|
|
107
|
+
color: var(--color__neutral--#{$variant});
|
|
108
|
+
}
|
|
109
|
+
.bg-color__neutral-#{$variant} {
|
|
110
|
+
background-color: var(--color__neutral--#{$variant});
|
|
111
|
+
|
|
112
|
+
// Automatic contrast color (same logic as double-hyphen version)
|
|
113
|
+
@if index(('90', '80', '60'), $variant) {
|
|
114
|
+
color: var(--color__neutral--10); // Light text on dark bg
|
|
115
|
+
} @else if index(('40', '20', '10', '05', '00'), $variant) {
|
|
116
|
+
color: var(--color__neutral--90); // Dark text on light bg
|
|
117
|
+
} @else {
|
|
118
|
+
color: var(--color__neutral--80); // Medium gray - dark text
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
// Generate success, warning, danger, info utilities
|
|
124
|
+
@each $semantic in ('success', 'warning', 'danger', 'info') {
|
|
125
|
+
@each $variant in $semantic-color-shades {
|
|
126
|
+
.color__#{$semantic}--#{$variant} {
|
|
127
|
+
color: var(--color__#{$semantic}--#{$variant});
|
|
128
|
+
}
|
|
129
|
+
.bg-color__#{$semantic}--#{$variant} {
|
|
130
|
+
background-color: var(--color__#{$semantic}--#{$variant});
|
|
131
|
+
|
|
132
|
+
// Automatic contrast color (maintains old-default behavior)
|
|
133
|
+
@if $semantic == 'success' or $semantic == 'danger' or $semantic == 'info'
|
|
134
|
+
{
|
|
135
|
+
@if index(('dark', 'default'), $variant) {
|
|
136
|
+
color: var(--color__neutral--10); // Light text on dark bg
|
|
137
|
+
} @else {
|
|
138
|
+
color: var(--color__neutral--90); // Dark text on light bg
|
|
139
|
+
}
|
|
140
|
+
} @else if $semantic == 'warning' {
|
|
141
|
+
// Warning colors are lighter, use dark text for most
|
|
142
|
+
@if $variant == 'dark' {
|
|
143
|
+
color: var(--color__neutral--90); // Dark text
|
|
144
|
+
} @else {
|
|
145
|
+
color: var(--color__neutral--90); // Dark text on warning colors
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// Aliases without --default
|
|
152
|
+
.color__#{$semantic} {
|
|
153
|
+
color: var(--color__#{$semantic});
|
|
154
|
+
}
|
|
155
|
+
.bg-color__#{$semantic} {
|
|
156
|
+
background-color: var(--color__#{$semantic});
|
|
157
|
+
|
|
158
|
+
// Automatic contrast color for base semantic colors
|
|
159
|
+
@if $semantic == 'success' or $semantic == 'danger' or $semantic == 'info' {
|
|
160
|
+
color: var(--color__neutral--10); // Light text (these are typically dark)
|
|
161
|
+
} @else if $semantic == 'warning' {
|
|
162
|
+
color: var(
|
|
163
|
+
--color__neutral--90
|
|
164
|
+
); // Dark text (warning is typically light)
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
.d {
|
|
2
|
+
&-block {
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&-flex {
|
|
7
|
+
display: flex;
|
|
8
|
+
|
|
9
|
+
&__direction {
|
|
10
|
+
&--column {
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--column-reverse {
|
|
15
|
+
flex-direction: column-reverse;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--row {
|
|
19
|
+
flex-direction: row;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--row-reverse {
|
|
23
|
+
flex-direction: row-reverse;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__gap {
|
|
28
|
+
@each $space, $value in $spacing {
|
|
29
|
+
&--#{$space} {
|
|
30
|
+
gap: #{$value};
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__align {
|
|
36
|
+
&--start {
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--center {
|
|
41
|
+
align-items: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--end {
|
|
45
|
+
align-items: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--stretch {
|
|
49
|
+
align-items: stretch;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__justify {
|
|
54
|
+
&--start {
|
|
55
|
+
justify-content: flex-start;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--center {
|
|
59
|
+
justify-content: center;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&--end {
|
|
63
|
+
justify-content: flex-end;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&--beetwen {
|
|
67
|
+
justify-content: space-between;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&--around {
|
|
71
|
+
justify-content: space-around;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&--evenly {
|
|
75
|
+
justify-content: space-evenly;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-inline-block {
|
|
81
|
+
display: inline-block;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&-none {
|
|
85
|
+
display: none;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@include mobile {
|
|
90
|
+
.d-sm {
|
|
91
|
+
&-block {
|
|
92
|
+
display: block;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&-flex {
|
|
96
|
+
display: flex;
|
|
97
|
+
|
|
98
|
+
&__direction {
|
|
99
|
+
&--column {
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&--column-reverse {
|
|
104
|
+
flex-direction: column-reverse;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&--row {
|
|
108
|
+
flex-direction: row;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&--row-reverse {
|
|
112
|
+
flex-direction: row-reverse;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&__gap {
|
|
117
|
+
@each $space, $value in $spacing {
|
|
118
|
+
&--#{$space} {
|
|
119
|
+
gap: #{$value};
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__align {
|
|
125
|
+
&--start {
|
|
126
|
+
align-items: flex-start;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--center {
|
|
130
|
+
align-items: center;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&--end {
|
|
134
|
+
align-items: flex-end;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--stretch {
|
|
138
|
+
align-items: stretch;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&__justify {
|
|
143
|
+
&--start {
|
|
144
|
+
justify-content: flex-start;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
&--center {
|
|
148
|
+
justify-content: center;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&--end {
|
|
152
|
+
justify-content: flex-end;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--beetwen {
|
|
156
|
+
justify-content: space-between;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&--around {
|
|
160
|
+
justify-content: space-around;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&--evenly {
|
|
164
|
+
justify-content: space-evenly;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&-inline-block {
|
|
170
|
+
display: inline-block;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&-none {
|
|
174
|
+
display: none;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// Elevation utilities (box-shadow)
|
|
2
|
+
.elevation-1 {
|
|
3
|
+
box-shadow: $shadow__level--1;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.elevation-2 {
|
|
7
|
+
box-shadow: $shadow__level--2;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.elevation-3 {
|
|
11
|
+
box-shadow: $shadow__level--3;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.elevation-4 {
|
|
15
|
+
box-shadow: $shadow__level--4;
|
|
16
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$columns: 12 !default;
|
|
2
|
+
|
|
3
|
+
@for $i from 1 through $columns {
|
|
4
|
+
.order--#{$i} {
|
|
5
|
+
order: #{$i};
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
10
|
+
$min: device-min($breakpoint, $grid-breakpoints);
|
|
11
|
+
$label: if($min, $breakpoint + '-', '');
|
|
12
|
+
|
|
13
|
+
@include device-up($breakpoint, $grid-breakpoints) {
|
|
14
|
+
@for $i from 1 through $columns {
|
|
15
|
+
.order--#{$label}#{$i} {
|
|
16
|
+
order: #{$i};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ===== CORE STYLES (independente de tema) =====
|
|
2
|
+
// Entry point for core.css build
|
|
3
|
+
|
|
4
|
+
// 1. Tokens estruturais (compilados - performance)
|
|
5
|
+
@import 'tokens';
|
|
6
|
+
|
|
7
|
+
// 2. Functions & Mixins estruturais
|
|
8
|
+
@import 'functions';
|
|
9
|
+
@import 'mixins';
|
|
10
|
+
|
|
11
|
+
// 3. Base styles (reset + typography)
|
|
12
|
+
@import 'base';
|
|
13
|
+
|
|
14
|
+
// 4. Components
|
|
15
|
+
@import 'components';
|
|
16
|
+
|
|
17
|
+
// 5. Utilities
|
|
18
|
+
@import 'helpers';
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Device Mixins
|
|
3
|
+
*
|
|
4
|
+
* Usage:
|
|
5
|
+
* .class {
|
|
6
|
+
* @include small {
|
|
7
|
+
* padding: 0 20px;
|
|
8
|
+
* }
|
|
9
|
+
* @include mobile {
|
|
10
|
+
* padding: 0 60px;
|
|
11
|
+
* }
|
|
12
|
+
* }
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
@use 'sass:map';
|
|
16
|
+
|
|
17
|
+
// mobile devices
|
|
18
|
+
@mixin mobile {
|
|
19
|
+
@media (max-width: map.get($breakpoint, 'mobile')) {
|
|
20
|
+
@content;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Device breakpoint up. If the breakpoint is the smallest it will
|
|
25
|
+
// return without media query.
|
|
26
|
+
@mixin device-up($name, $breakpoints: $grid-breakpoints) {
|
|
27
|
+
$min: device-min($name, $breakpoints);
|
|
28
|
+
|
|
29
|
+
@if $min {
|
|
30
|
+
@media (min-width: $min) {
|
|
31
|
+
@content;
|
|
32
|
+
}
|
|
33
|
+
} @else {
|
|
34
|
+
@content;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Device breakpoint down.
|
|
39
|
+
// If the breakpoint is the largest it will return without media query.
|
|
40
|
+
@mixin device-down($name, $breakpoints: $grid-breakpoints) {
|
|
41
|
+
$max: device-max($name, $breakpoints);
|
|
42
|
+
|
|
43
|
+
@if $max {
|
|
44
|
+
@media (max-width: $max) {
|
|
45
|
+
@content;
|
|
46
|
+
}
|
|
47
|
+
} @else {
|
|
48
|
+
@content;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Device breakpoint between
|
|
53
|
+
@mixin device-between($lower, $upper, $breakpoints: $grid-breakpoints) {
|
|
54
|
+
$min: device-min($lower, $breakpoints);
|
|
55
|
+
$max: device-max($upper, $breakpoints);
|
|
56
|
+
|
|
57
|
+
@if $min != null and $max != null {
|
|
58
|
+
@media (min-width: $min) and (max-width: $max) {
|
|
59
|
+
@content;
|
|
60
|
+
}
|
|
61
|
+
} @else if $max == null {
|
|
62
|
+
@include device-up($lower, $breakpoints) {
|
|
63
|
+
@content;
|
|
64
|
+
}
|
|
65
|
+
} @else if $min == null {
|
|
66
|
+
@include device-down($upper, $breakpoints) {
|
|
67
|
+
@content;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// Device breakpoint only
|
|
73
|
+
@mixin device-only($name, $breakpoints: $grid-breakpoints) {
|
|
74
|
+
$min: device-min($name, $breakpoints);
|
|
75
|
+
$max: device-max($name, $breakpoints);
|
|
76
|
+
|
|
77
|
+
@if $min != null and $max != null {
|
|
78
|
+
@media (min-width: $min) and (max-width: $max) {
|
|
79
|
+
@content;
|
|
80
|
+
}
|
|
81
|
+
} @else if $max == null {
|
|
82
|
+
@include device-up($name, $breakpoints) {
|
|
83
|
+
@content;
|
|
84
|
+
}
|
|
85
|
+
} @else if $min == null {
|
|
86
|
+
@include device-down($name, $breakpoints) {
|
|
87
|
+
@content;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// radius
|
|
2
|
+
$border__radius--sm: 4px !default;
|
|
3
|
+
$border__radius--md: 8px !default;
|
|
4
|
+
$border__radius--lg: 24px !default;
|
|
5
|
+
$border__radius--pill: 500px !default;
|
|
6
|
+
$border__radius--circular: 50% !default;
|
|
7
|
+
|
|
8
|
+
// width
|
|
9
|
+
$border__width--hairline: 1px !default;
|
|
10
|
+
$border__width--thin: 2px !default;
|
|
11
|
+
$border__width--thick: 4px !default;
|
|
12
|
+
$border__width--heavy: 8px !default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$breakpoint--mobile: 768px !default;
|
|
2
|
+
$breakpoint: (
|
|
3
|
+
'mobile': $breakpoint--mobile,
|
|
4
|
+
) !default;
|
|
5
|
+
|
|
6
|
+
// Grid Breakpoints
|
|
7
|
+
$grid-breakpoints: (
|
|
8
|
+
sm: 480px,
|
|
9
|
+
md: 768px,
|
|
10
|
+
lg: 960px,
|
|
11
|
+
xl: 1280px,
|
|
12
|
+
xxl: 1440px,
|
|
13
|
+
) !default;
|
|
14
|
+
$container-widths: (
|
|
15
|
+
sm: 450px,
|
|
16
|
+
md: 720px,
|
|
17
|
+
lg: 940px,
|
|
18
|
+
xl: 1128px,
|
|
19
|
+
xxl: 1128px,
|
|
20
|
+
) !default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// Shadows (structural - compiled for performance)
|
|
2
|
+
// NOTE: Shadows are structural and don't change between themes
|
|
3
|
+
$shadow__color: #616161 !default;
|
|
4
|
+
$shadow__level--1:
|
|
5
|
+
0 1px 3px 0 rgba($shadow__color, 0.12),
|
|
6
|
+
0 1px 2px 0 rgba($shadow__color, 0.24) !default;
|
|
7
|
+
$shadow__level--2:
|
|
8
|
+
0 3px 6px 0 rgba($shadow__color, 0.15),
|
|
9
|
+
0 2px 4px 0 rgba($shadow__color, 0.12) !default;
|
|
10
|
+
$shadow__level--3:
|
|
11
|
+
0 10px 20px 0 rgba($shadow__color, 0.3),
|
|
12
|
+
0 3px 6px 0 rgba($shadow__color, 0.3) !default;
|
|
13
|
+
$shadow__level--4:
|
|
14
|
+
0 15px 25px 0 rgba($shadow__color, 0.15),
|
|
15
|
+
0 5px 10px 0 rgba($shadow__color, 0.05) !default;
|