@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,109 @@
|
|
|
1
|
+
.ds-notification {
|
|
2
|
+
animation: enter 0.5s ease-in-out;
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
border: 0;
|
|
5
|
+
border-left: $spacing--quark solid transparent;
|
|
6
|
+
color: var(--color__neutral--80);
|
|
7
|
+
font-family: var(--font__family--base);
|
|
8
|
+
font-size: $font__size--sm;
|
|
9
|
+
padding: 0;
|
|
10
|
+
position: relative;
|
|
11
|
+
width: 100%;
|
|
12
|
+
|
|
13
|
+
.ds-wrapper {
|
|
14
|
+
display: block;
|
|
15
|
+
line-height: 1.5em;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
b,
|
|
19
|
+
strong {
|
|
20
|
+
font-weight: var(--font__weight--bold);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@keyframes enter {
|
|
24
|
+
from {
|
|
25
|
+
opacity: 0;
|
|
26
|
+
transform: translateY(-10px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
to {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
transform: translateY(0);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&--rounded {
|
|
36
|
+
border-radius: $border__radius--sm;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&--squared {
|
|
40
|
+
border-radius: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--info {
|
|
44
|
+
background-color: var(--color__info--lighter);
|
|
45
|
+
border-left: $spacing--quark solid var(--color__info);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--success {
|
|
49
|
+
background-color: var(--color__success--lighter);
|
|
50
|
+
border-left: $spacing--quark solid var(--color__success);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--warning {
|
|
54
|
+
background-color: var(--color__warning--lighter);
|
|
55
|
+
border-left: $spacing--quark solid var(--color__warning);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--danger {
|
|
59
|
+
background-color: var(--color__danger--lighter);
|
|
60
|
+
border-left: $spacing--quark solid var(--color__danger);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&--elevation {
|
|
64
|
+
&-1 {
|
|
65
|
+
box-shadow: $shadow__level--1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&-2 {
|
|
69
|
+
box-shadow: $shadow__level--2;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&-3 {
|
|
73
|
+
box-shadow: $shadow__level--3;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&-4 {
|
|
77
|
+
box-shadow: $shadow__level--4;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__button {
|
|
82
|
+
cursor: pointer;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&__progress-bar {
|
|
86
|
+
bottom: 0;
|
|
87
|
+
height: $spacing--quark;
|
|
88
|
+
left: 0;
|
|
89
|
+
opacity: $opacity--heavy;
|
|
90
|
+
position: absolute;
|
|
91
|
+
transition: width 0.5s linear;
|
|
92
|
+
|
|
93
|
+
&--info {
|
|
94
|
+
background-color: var(--color__info);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--success {
|
|
98
|
+
background-color: var(--color__success);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&--warning {
|
|
102
|
+
background-color: var(--color__warning);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--danger {
|
|
106
|
+
background-color: var(--color__danger);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.ds-password-confirmation {
|
|
2
|
+
&__list {
|
|
3
|
+
display: flex;
|
|
4
|
+
|
|
5
|
+
.ds-icon {
|
|
6
|
+
margin-top: $spacing--quark;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&__list--disc {
|
|
11
|
+
list-style: disc;
|
|
12
|
+
margin-left: $spacing--xxs;
|
|
13
|
+
margin-right: $spacing--xxs;
|
|
14
|
+
text-align: -webkit-match-parent;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.ds-stepper {
|
|
2
|
+
// CSS vars (light mode default)
|
|
3
|
+
--stepper__background--unselected: var(--color__neutral--00);
|
|
4
|
+
--stepper__button--hover: var(--color__primary);
|
|
5
|
+
--stepper__icon--hover: var(--color__neutral--00);
|
|
6
|
+
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
background-color: var(--background__color--backdrop);
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
font-family: var(--font__family--base);
|
|
12
|
+
gap: $spacing--xxxs;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
width: fit-content;
|
|
15
|
+
|
|
16
|
+
&__step-counter {
|
|
17
|
+
color: var(--color__neutral--70);
|
|
18
|
+
font-size: $font__size--sm;
|
|
19
|
+
font-weight: $font__weight--bold;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__step {
|
|
23
|
+
align-items: center;
|
|
24
|
+
display: flex;
|
|
25
|
+
gap: $spacing--xs;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__text {
|
|
30
|
+
align-items: center;
|
|
31
|
+
color: var(--text__color);
|
|
32
|
+
display: flex;
|
|
33
|
+
font-size: $font__size--lg;
|
|
34
|
+
font-weight: $font__weight--bold;
|
|
35
|
+
gap: $spacing--xxxs;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__icon {
|
|
40
|
+
color: var(--text__color);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__button {
|
|
44
|
+
background-color: var(--background__color--backdrop);
|
|
45
|
+
border: 0;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
padding: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__button--round {
|
|
51
|
+
background-color: var(--stepper__background--unselected);
|
|
52
|
+
border-radius: $border__radius--circular;
|
|
53
|
+
box-shadow: $shadow__level--1;
|
|
54
|
+
padding: $spacing__inset--nano;
|
|
55
|
+
transition: ease-in-out 0.3s;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
background-color: var(--stepper__button--hover);
|
|
59
|
+
|
|
60
|
+
.ds-stepper__icon {
|
|
61
|
+
color: var(--stepper__icon--hover);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__button--disabled {
|
|
67
|
+
background: var(--color__neutral--30);
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
opacity: $opacity--medium;
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
background: var(--color__neutral--30);
|
|
73
|
+
|
|
74
|
+
.ds-stepper__icon {
|
|
75
|
+
color: var(--text__color);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Dark mode
|
|
82
|
+
[data-theme='dark'] .ds-stepper {
|
|
83
|
+
--stepper__background--unselected: var(--color__neutral--70);
|
|
84
|
+
}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
.ds-table {
|
|
2
|
+
$self: &;
|
|
3
|
+
|
|
4
|
+
&__wrapper {
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
@include mobile {
|
|
8
|
+
overflow: auto;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
font-family: var(--font__family--base);
|
|
13
|
+
width: 100%;
|
|
14
|
+
|
|
15
|
+
&__head {
|
|
16
|
+
color: var(--text__color);
|
|
17
|
+
font-size: $font__size--sm;
|
|
18
|
+
font-weight: $font__weight--bold;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__body {
|
|
22
|
+
border-radius: $border__radius--sm;
|
|
23
|
+
box-shadow: 0 0 0 1px var(--accordion-border-color);
|
|
24
|
+
|
|
25
|
+
.ds-table__row {
|
|
26
|
+
&:not(:last-child) {
|
|
27
|
+
border-bottom: $border__width--hairline solid
|
|
28
|
+
var(--accordion-border-color);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&:last-child {
|
|
32
|
+
border-radius: 0 0 $border__radius--sm $border__radius--sm;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
background-color: var(--accordion-background-color--hover);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// .ds-table__cell {
|
|
40
|
+
// &:last-child {
|
|
41
|
+
// text-align: right;
|
|
42
|
+
// }
|
|
43
|
+
// }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__row {
|
|
48
|
+
td {
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&:first-child {
|
|
53
|
+
td:first-child {
|
|
54
|
+
border-radius: $border__radius--sm 0 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
td:last-child {
|
|
58
|
+
border-radius: 0 $border__radius--sm 0 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:last-child {
|
|
63
|
+
td:first-child {
|
|
64
|
+
border-radius: 0 0 0 $border__radius--sm;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
td:last-child {
|
|
68
|
+
border-radius: 0 0 $border__radius--sm;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&__cell {
|
|
74
|
+
align-items: center;
|
|
75
|
+
display: flex;
|
|
76
|
+
gap: $spacing--nano;
|
|
77
|
+
padding: $spacing__inset--nano;
|
|
78
|
+
|
|
79
|
+
&--align-left {
|
|
80
|
+
justify-content: flex-start;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&--align-center {
|
|
84
|
+
justify-content: center;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&--align-right {
|
|
88
|
+
justify-content: flex-end;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:first-child {
|
|
92
|
+
text-align: left;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
// === TABS TOKENS (only used multiple times) ===
|
|
2
|
+
$tabs__padding-title: $spacing__inset--xs !default;
|
|
3
|
+
|
|
4
|
+
// === TABS COMPONENT ===
|
|
5
|
+
.ds-tabs {
|
|
6
|
+
// CSS vars (light mode default)
|
|
7
|
+
--tabs__background-header: var(--color__neutral--60);
|
|
8
|
+
--tabs__background-title: var(--color__neutral--20);
|
|
9
|
+
--tabs__background-title--active: var(--color__neutral--00);
|
|
10
|
+
--tabs__background-title--disabled: var(--color__neutral--30);
|
|
11
|
+
--tabs__color-title: var(--color__neutral--90);
|
|
12
|
+
--tabs__color-title--active: var(--color__primary);
|
|
13
|
+
--tabs__color-title--disabled: var(--color__neutral--50);
|
|
14
|
+
|
|
15
|
+
font-family: var(--font__family--base);
|
|
16
|
+
width: 100%;
|
|
17
|
+
|
|
18
|
+
&__header {
|
|
19
|
+
background-color: var(--tabs__background-header);
|
|
20
|
+
display: flex;
|
|
21
|
+
gap: 1px;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__tab {
|
|
26
|
+
align-items: center;
|
|
27
|
+
background-color: var(--tabs__background-title);
|
|
28
|
+
color: var(--tabs__color-title);
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-grow: 1;
|
|
31
|
+
font-size: $font__size--sm;
|
|
32
|
+
font-weight: $font__weight--semibold;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
padding: $tabs__padding-title;
|
|
35
|
+
|
|
36
|
+
.ds-icon {
|
|
37
|
+
color: var(--tabs__color-title);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&-color--primary {
|
|
41
|
+
--tabs__color-title--active: var(--color__primary);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-color--secondary {
|
|
45
|
+
--tabs__color-title--active: var(--color__secondary);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-color--neutral {
|
|
49
|
+
--tabs__color-title--active: var(--color__neutral--50);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-color--success {
|
|
53
|
+
--tabs__color-title--active: var(--color__success);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-color--warning {
|
|
57
|
+
--tabs__color-title--active: var(--color__warning);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&-color--danger {
|
|
61
|
+
--tabs__color-title--active: var(--color__danger);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&-color--info {
|
|
65
|
+
--tabs__color-title--active: var(--color__info);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&--active,
|
|
69
|
+
&:hover {
|
|
70
|
+
background-color: var(--tabs__background-title--active);
|
|
71
|
+
border-top: 2px solid;
|
|
72
|
+
color: var(--tabs__color-title--active);
|
|
73
|
+
padding-top: calc($tabs__padding-title - 2px);
|
|
74
|
+
|
|
75
|
+
.ds-icon {
|
|
76
|
+
color: var(--tabs__color-title--active);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&--disabled {
|
|
85
|
+
background-color: var(--tabs__background-title--disabled) !important;
|
|
86
|
+
border: none !important;
|
|
87
|
+
color: var(--tabs__color-title--disabled) !important;
|
|
88
|
+
cursor: not-allowed !important;
|
|
89
|
+
padding-top: $tabs__padding-title !important;
|
|
90
|
+
|
|
91
|
+
.ds-icon {
|
|
92
|
+
color: var(--tabs__color-title--disabled) !important;
|
|
93
|
+
cursor: not-allowed !important;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&__content {
|
|
99
|
+
.ds-wrapper {
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// Dark mode
|
|
106
|
+
[data-theme='dark'] .ds-tabs {
|
|
107
|
+
--tabs__background-header: var(--color__neutral--40);
|
|
108
|
+
--tabs__background-title: var(--color__neutral--80);
|
|
109
|
+
--tabs__background-title--active: var(--color__neutral--100);
|
|
110
|
+
--tabs__background-title--disabled: var(--color__neutral--70);
|
|
111
|
+
--tabs__color-title: var(--color__neutral--10);
|
|
112
|
+
--tabs__color-title--active: var(--color__primary);
|
|
113
|
+
--tabs__color-title--disabled: var(--color__neutral--50);
|
|
114
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
.ds-notification-list {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: $spacing--xxxs;
|
|
5
|
+
position: fixed;
|
|
6
|
+
width: 400px;
|
|
7
|
+
|
|
8
|
+
@include mobile {
|
|
9
|
+
width: 100%;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&--fluid {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&--top-left {
|
|
17
|
+
left: $spacing--xxxs;
|
|
18
|
+
top: $spacing--xxxs;
|
|
19
|
+
|
|
20
|
+
@include mobile {
|
|
21
|
+
left: 0;
|
|
22
|
+
top: $spacing--nano;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--top-center {
|
|
27
|
+
left: 50%;
|
|
28
|
+
top: $spacing--xxxs;
|
|
29
|
+
transform: translateX(-50%);
|
|
30
|
+
|
|
31
|
+
@include mobile {
|
|
32
|
+
left: 0;
|
|
33
|
+
top: $spacing--nano;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&--top-right {
|
|
38
|
+
right: $spacing--xxxs;
|
|
39
|
+
top: $spacing--xxxs;
|
|
40
|
+
|
|
41
|
+
@include mobile {
|
|
42
|
+
left: 0;
|
|
43
|
+
top: $spacing--nano;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&--bottom-left {
|
|
48
|
+
bottom: $spacing--xxxs;
|
|
49
|
+
left: $spacing--xxxs;
|
|
50
|
+
|
|
51
|
+
@include mobile {
|
|
52
|
+
bottom: $spacing--nano;
|
|
53
|
+
left: 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--bottom-center {
|
|
58
|
+
bottom: $spacing--xxxs;
|
|
59
|
+
left: 50%;
|
|
60
|
+
transform: translateX(-50%);
|
|
61
|
+
|
|
62
|
+
@include mobile {
|
|
63
|
+
bottom: $spacing--nano;
|
|
64
|
+
left: 0;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&--bottom-right {
|
|
69
|
+
bottom: $spacing--xxxs;
|
|
70
|
+
right: $spacing--xxxs;
|
|
71
|
+
|
|
72
|
+
@include mobile {
|
|
73
|
+
bottom: $spacing--nano;
|
|
74
|
+
left: 0;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// SplitLayout component (structural only - uses global utilities for backgrounds)
|
|
2
|
+
.ds-split-layout {
|
|
3
|
+
// Propriedades CSS (ordem alfabética)
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 1fr;
|
|
6
|
+
grid-template-rows: auto 1fr;
|
|
7
|
+
min-height: 100vh;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
@include device-up('md') {
|
|
11
|
+
grid-template-columns: 1fr 1fr;
|
|
12
|
+
grid-template-rows: 1fr auto;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__content {
|
|
16
|
+
// Propriedades CSS (ordem alfabética)
|
|
17
|
+
align-items: center;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
height: 100%;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
padding: 0 2rem;
|
|
23
|
+
text-align: center;
|
|
24
|
+
|
|
25
|
+
> * {
|
|
26
|
+
@include device-up('lg') {
|
|
27
|
+
max-width: 60%;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@include mobile {
|
|
32
|
+
padding: 2rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// KEEP: Component-specific mobile order classes
|
|
36
|
+
&--mobile-order-1 {
|
|
37
|
+
@include mobile {
|
|
38
|
+
order: 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--mobile-order-2 {
|
|
43
|
+
@include mobile {
|
|
44
|
+
order: 2;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// NO background classes here
|
|
49
|
+
// Use global utilities instead: .bg-color__primary, .bg-color__secondary, etc.
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.ds-two-columns {
|
|
2
|
+
&__main {
|
|
3
|
+
z-index: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__header {
|
|
7
|
+
position: sticky;
|
|
8
|
+
top: 0;
|
|
9
|
+
z-index: 10;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__sidebar {
|
|
13
|
+
align-self: flex-start;
|
|
14
|
+
padding-top: 42px;
|
|
15
|
+
position: sticky;
|
|
16
|
+
top: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__sidebar > * {
|
|
20
|
+
margin-bottom: 16px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__sidebar > *:last-child {
|
|
24
|
+
margin-bottom: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ds-theme {
|
|
29
|
+
overflow-y: unset !important;
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Breakpoint Function
|
|
3
|
+
*/
|
|
4
|
+
@use 'sass:map';
|
|
5
|
+
|
|
6
|
+
@function breakpoint($key) {
|
|
7
|
+
@if map-has-key($breakpoint, $key) {
|
|
8
|
+
@return map.get($breakpoint, $key);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@warn "Unknown `#{$key}` in $breakpoint.";
|
|
12
|
+
@return null;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Minimum device breakpoint width. Smallest breakpoint will be a null value
|
|
16
|
+
@function device-min($name, $breakpoints: $grid-breakpoints) {
|
|
17
|
+
$min: map.get($breakpoints, $name);
|
|
18
|
+
|
|
19
|
+
@return if(0 != $min, $min, null);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// Maximum device breakpoint width. Largest breakpoint will be a null value
|
|
23
|
+
@function device-max(
|
|
24
|
+
$name,
|
|
25
|
+
$breakpoints: $grid-breakpoints,
|
|
26
|
+
$breakpoint-names: map-keys($breakpoints)
|
|
27
|
+
) {
|
|
28
|
+
$next: if(
|
|
29
|
+
list.index($breakpoint-names, $name) < list.length($breakpoint-names),
|
|
30
|
+
list.nth($breakpoint-names, list.index($breakpoint-names, $name) + 1),
|
|
31
|
+
null
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
@return if($next, device-min($next, $breakpoints) - 0.02px, null);
|
|
35
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@function font-weight($key) {
|
|
2
|
+
@if map-has-key($fontWeight, $key) {
|
|
3
|
+
@return map-get($fontWeight, $key);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@warn "Unknown `#{$key}` in $fontWeight.";
|
|
7
|
+
@return null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@function font-family($key) {
|
|
11
|
+
@if map-has-key($fontFamily, $key) {
|
|
12
|
+
@return map-get($fontFamily, $key);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@warn "Unknown `#{$key}` in $fontFamily.";
|
|
16
|
+
@return null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// get token item in list
|
|
2
|
+
@function get-token($list, $key) {
|
|
3
|
+
@if map-has-key($list, $key) {
|
|
4
|
+
@return map-get($list, $key);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@warn "Unknown `#{$key}` in $list.";
|
|
8
|
+
@return null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// merge token lists
|
|
12
|
+
@function merge-token($list1, $list2) {
|
|
13
|
+
@return map-merge($list1, $list2);
|
|
14
|
+
}
|