@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,79 @@
|
|
|
1
|
+
$prefix: 'ds-grid' !default;
|
|
2
|
+
$columns: 12 !default;
|
|
3
|
+
$column-gap: $spacing--xxxs !default;
|
|
4
|
+
$column-gap-sm: $spacing--xxs !default;
|
|
5
|
+
$row-gap: 0;
|
|
6
|
+
$row-gap-sm: 0;
|
|
7
|
+
|
|
8
|
+
// The Grid Container.
|
|
9
|
+
.#{$prefix} {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
// Reverse order rows
|
|
15
|
+
&--reverse {
|
|
16
|
+
flex-direction: column-reverse;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@each $breakpoint, $width in $grid-breakpoints {
|
|
20
|
+
$min: device-min($breakpoint, $grid-breakpoints);
|
|
21
|
+
$label: if($min, $breakpoint + '-reverse', 'reverse');
|
|
22
|
+
|
|
23
|
+
@include device-up($breakpoint, $grid-breakpoints) {
|
|
24
|
+
&--#{$label} {
|
|
25
|
+
flex-direction: column-reverse;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// The row
|
|
32
|
+
.#{$prefix}__row {
|
|
33
|
+
display: grid;
|
|
34
|
+
gap: $row-gap $column-gap;
|
|
35
|
+
grid-template-columns: repeat($columns, 1fr);
|
|
36
|
+
|
|
37
|
+
&--auto.#{$prefix}__row {
|
|
38
|
+
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--no-gap.#{$prefix}__row {
|
|
42
|
+
gap: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Reverse order column
|
|
46
|
+
@each $breakpoint, $width in $grid-breakpoints {
|
|
47
|
+
$min: device-min($breakpoint, $grid-breakpoints);
|
|
48
|
+
$label: if($min, $breakpoint + '-reverse', 'reverse');
|
|
49
|
+
|
|
50
|
+
@include device-up($breakpoint, $grid-breakpoints) {
|
|
51
|
+
&--#{$label} {
|
|
52
|
+
@for $i from 1 through $columns {
|
|
53
|
+
.#{$prefix}__col:nth-child(#{$i}) {
|
|
54
|
+
order: $columns - $i + 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@for $i from 1 through $columns {
|
|
63
|
+
.#{$prefix}__col-#{$i} {
|
|
64
|
+
@include grid-col($i);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@each $breakpoint in map-keys($grid-breakpoints) {
|
|
69
|
+
$min: device-min($breakpoint, $grid-breakpoints);
|
|
70
|
+
$label: if($min, 'col--' + $breakpoint, 'col');
|
|
71
|
+
|
|
72
|
+
@include device-up($breakpoint, $grid-breakpoints) {
|
|
73
|
+
@for $i from 1 through $columns {
|
|
74
|
+
.#{$prefix}__#{$label}-#{$i} {
|
|
75
|
+
@include grid-col($i);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.ds-spacer {
|
|
2
|
+
&__vertical {
|
|
3
|
+
@each $modifier in ('quark', 'nano', 'xxxs', 'xxs', 'xs', 'sm', 'none') {
|
|
4
|
+
&--#{$modifier} {
|
|
5
|
+
@if $modifier == 'quark' {
|
|
6
|
+
height: $spacing--quark;
|
|
7
|
+
} @else if $modifier == 'nano' {
|
|
8
|
+
height: $spacing--nano;
|
|
9
|
+
} @else if $modifier == 'xxxs' {
|
|
10
|
+
height: $spacing--xxxs;
|
|
11
|
+
} @else if $modifier == 'xxs' {
|
|
12
|
+
height: $spacing--xxs;
|
|
13
|
+
} @else if $modifier == 'xs' {
|
|
14
|
+
height: $spacing--xs;
|
|
15
|
+
} @else if $modifier == 'sm' {
|
|
16
|
+
height: $spacing--sm;
|
|
17
|
+
} @else if $modifier == 'none' {
|
|
18
|
+
height: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__horizontal {
|
|
25
|
+
@each $modifier in ('quark', 'nano', 'xxxs', 'xxs', 'xs', 'sm', 'none') {
|
|
26
|
+
&--#{$modifier} {
|
|
27
|
+
@if $modifier == 'quark' {
|
|
28
|
+
width: $spacing--quark;
|
|
29
|
+
} @else if $modifier == 'nano' {
|
|
30
|
+
width: $spacing--nano;
|
|
31
|
+
} @else if $modifier == 'xxxs' {
|
|
32
|
+
width: $spacing--xxxs;
|
|
33
|
+
} @else if $modifier == 'xxs' {
|
|
34
|
+
width: $spacing--xxs;
|
|
35
|
+
} @else if $modifier == 'xs' {
|
|
36
|
+
width: $spacing--xs;
|
|
37
|
+
} @else if $modifier == 'sm' {
|
|
38
|
+
width: $spacing--sm;
|
|
39
|
+
} @else if $modifier == 'none' {
|
|
40
|
+
width: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
$sides: ('top', 'right', 'bottom', 'left');
|
|
2
|
+
|
|
3
|
+
.ds-wrapper {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
@each $size, $value in $spacing__inset {
|
|
7
|
+
&--#{$size} {
|
|
8
|
+
padding: $value;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@each $side in $sides {
|
|
12
|
+
&__#{$side}--#{$size} {
|
|
13
|
+
padding-#{$side}: $value !important;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@each $display, $size in $breakpoint {
|
|
19
|
+
@media (max-width: #{$size}) {
|
|
20
|
+
@each $size, $value in $spacing__inset {
|
|
21
|
+
@each $side in $sides {
|
|
22
|
+
&__#{$display}-#{$side}--#{$size} {
|
|
23
|
+
padding-#{$side}: $value !important;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&--#{$display}-#{$size} {
|
|
27
|
+
padding: $value;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Components index (flat structure - lowercase/kebab-case)
|
|
2
|
+
|
|
3
|
+
// Bosons (Layout components)
|
|
4
|
+
@import 'bosons/container';
|
|
5
|
+
@import 'bosons/flex-layout';
|
|
6
|
+
@import 'bosons/grid';
|
|
7
|
+
@import 'bosons/grid-layout';
|
|
8
|
+
@import 'bosons/spacer';
|
|
9
|
+
@import 'bosons/wrapper';
|
|
10
|
+
|
|
11
|
+
// Atoms
|
|
12
|
+
@import 'atoms/button';
|
|
13
|
+
@import 'atoms/card';
|
|
14
|
+
@import 'atoms/caption';
|
|
15
|
+
@import 'atoms/checkbox';
|
|
16
|
+
@import 'atoms/heading';
|
|
17
|
+
@import 'atoms/horizontal-rule';
|
|
18
|
+
@import 'atoms/icon';
|
|
19
|
+
@import 'atoms/input';
|
|
20
|
+
@import 'atoms/loading';
|
|
21
|
+
@import 'atoms/option';
|
|
22
|
+
@import 'atoms/paragraph';
|
|
23
|
+
@import 'atoms/progress';
|
|
24
|
+
@import 'atoms/select';
|
|
25
|
+
@import 'atoms/subtitle';
|
|
26
|
+
@import 'atoms/textarea';
|
|
27
|
+
@import 'atoms/tooltip';
|
|
28
|
+
|
|
29
|
+
// Molecules
|
|
30
|
+
@import 'molecules/accordion';
|
|
31
|
+
@import 'molecules/active-tags';
|
|
32
|
+
@import 'molecules/carousel';
|
|
33
|
+
@import 'molecules/editable-select';
|
|
34
|
+
@import 'molecules/indicator';
|
|
35
|
+
@import 'molecules/inline-editable';
|
|
36
|
+
@import 'molecules/modal';
|
|
37
|
+
@import 'molecules/notification';
|
|
38
|
+
@import 'molecules/password-confirmation';
|
|
39
|
+
@import 'molecules/stepper';
|
|
40
|
+
@import 'molecules/table';
|
|
41
|
+
@import 'molecules/tabs';
|
|
42
|
+
@import 'molecules/theme-provider';
|
|
43
|
+
|
|
44
|
+
// Organisms
|
|
45
|
+
@import 'organisms/notification-list';
|
|
46
|
+
|
|
47
|
+
// Templates
|
|
48
|
+
@import 'templates/split-layout';
|
|
49
|
+
@import 'templates/two-columns';
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
.ds-accordion {
|
|
2
|
+
// CSS vars (light mode default)
|
|
3
|
+
--accordion-background-color: var(--background__color);
|
|
4
|
+
--accordion-background-color--hover: var(--color__neutral--10);
|
|
5
|
+
--accordion-title-color: var(--color__neutral--100);
|
|
6
|
+
--accordion-content-color: var(--color__neutral--100);
|
|
7
|
+
--accordion-border-color: var(--color__neutral--40);
|
|
8
|
+
|
|
9
|
+
border: $border__width--hairline solid var(--accordion-border-color);
|
|
10
|
+
border-radius: $spacing--quark;
|
|
11
|
+
list-style: none;
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ds-accordion-item {
|
|
18
|
+
$self: &;
|
|
19
|
+
|
|
20
|
+
&:not(:last-child) {
|
|
21
|
+
border-bottom: $border__width--hairline solid var(--accordion-border-color);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:first-child {
|
|
25
|
+
.ds-accordion-item__button {
|
|
26
|
+
border-radius: $spacing--quark $spacing--quark 0 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:last-child {
|
|
31
|
+
.ds-accordion-item__button {
|
|
32
|
+
border-radius: 0 0 $spacing--quark $spacing--quark;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__button {
|
|
37
|
+
align-items: center;
|
|
38
|
+
background-color: var(--accordion-background-color);
|
|
39
|
+
border: 0;
|
|
40
|
+
color: var(--accordion-title-color);
|
|
41
|
+
cursor: pointer;
|
|
42
|
+
display: flex;
|
|
43
|
+
gap: $spacing--nano;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
padding: $spacing--xxxs;
|
|
46
|
+
user-select: none;
|
|
47
|
+
width: 100%;
|
|
48
|
+
|
|
49
|
+
&:focus {
|
|
50
|
+
outline-color: var(--button-background-color__primary--hover);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
background-color: var(--accordion-background-color--hover);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ds-paragraph {
|
|
58
|
+
text-align: left;
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__title {
|
|
64
|
+
margin: 0;
|
|
65
|
+
width: 100%;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&--active {
|
|
69
|
+
outline: none;
|
|
70
|
+
|
|
71
|
+
.ds-accordion-item__button {
|
|
72
|
+
outline: none;
|
|
73
|
+
|
|
74
|
+
.ds-accordion-item__icon {
|
|
75
|
+
transform: rotate(-180deg);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&__content {
|
|
81
|
+
color: var(--accordion-content-color);
|
|
82
|
+
padding: $spacing--xxxs;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Dark mode
|
|
87
|
+
[data-theme='dark'] .ds-accordion {
|
|
88
|
+
--accordion-background-color: var(--background__color);
|
|
89
|
+
--accordion-background-color--hover: var(--color__neutral--80);
|
|
90
|
+
--accordion-title-color: var(--color__neutral--00);
|
|
91
|
+
--accordion-content-color: var(--color__neutral--00);
|
|
92
|
+
--accordion-border-color: var(--color__neutral--40);
|
|
93
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/* active-tags.css */
|
|
2
|
+
.active-tags {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 18px;
|
|
5
|
+
|
|
6
|
+
&__title {
|
|
7
|
+
align-items: center;
|
|
8
|
+
background-color: var(--color__primary);
|
|
9
|
+
border-radius: $border__radius--sm 0 0 $border__radius--sm;
|
|
10
|
+
color: var(--color__neutral--00);
|
|
11
|
+
display: flex;
|
|
12
|
+
font-weight: $font__weight--bold;
|
|
13
|
+
height: 40px;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
min-width: 96px;
|
|
16
|
+
padding: 0 10px;
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
&::after {
|
|
20
|
+
border-bottom: 20px solid transparent;
|
|
21
|
+
border-left: 13px solid var(--color__primary);
|
|
22
|
+
border-top: 20px solid transparent;
|
|
23
|
+
content: '';
|
|
24
|
+
display: block;
|
|
25
|
+
height: 0;
|
|
26
|
+
position: absolute;
|
|
27
|
+
right: -13px;
|
|
28
|
+
top: 0;
|
|
29
|
+
width: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__list {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-wrap: wrap;
|
|
36
|
+
gap: $spacing--nano;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__item {
|
|
40
|
+
align-items: center;
|
|
41
|
+
background-color: var(--color__primary--lighter);
|
|
42
|
+
border-radius: $border__radius--sm;
|
|
43
|
+
color: var(--color__neutral--90);
|
|
44
|
+
display: flex;
|
|
45
|
+
gap: $spacing--quark;
|
|
46
|
+
height: 40px;
|
|
47
|
+
padding: 0 $spacing--nano;
|
|
48
|
+
|
|
49
|
+
p {
|
|
50
|
+
font-weight: $font__weight--bold;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--no-close {
|
|
54
|
+
background-color: var(--color__neutral--70);
|
|
55
|
+
color: var(--color__neutral--00);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.ds-carousel {
|
|
2
|
+
align-items: center;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 8px;
|
|
6
|
+
height: 100%;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
max-height: 550px;
|
|
9
|
+
padding-block: 60px;
|
|
10
|
+
|
|
11
|
+
&__content {
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__dots {
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
margin-top: auto;
|
|
20
|
+
|
|
21
|
+
&-wrapper {
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 24px;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__image-wrapper {
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
position: relative;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__image {
|
|
34
|
+
left: 50%;
|
|
35
|
+
opacity: 0;
|
|
36
|
+
pointer-events: none;
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 50%;
|
|
39
|
+
transform: translate(-50%, -50%);
|
|
40
|
+
transition: opacity 1s ease-in-out;
|
|
41
|
+
|
|
42
|
+
&.active {
|
|
43
|
+
opacity: 1;
|
|
44
|
+
pointer-events: auto;
|
|
45
|
+
z-index: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.inactive {
|
|
49
|
+
opacity: 0;
|
|
50
|
+
z-index: 0;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.dot {
|
|
56
|
+
background-color: var(--color__neutral--30);
|
|
57
|
+
border: none;
|
|
58
|
+
border-radius: 50%;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
height: 16px;
|
|
61
|
+
transition: all 0.3s ease-in-out;
|
|
62
|
+
width: 16px;
|
|
63
|
+
|
|
64
|
+
&--active {
|
|
65
|
+
background-color: var(--color__neutral--60);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.ds-editable-select {
|
|
2
|
+
&__container {
|
|
3
|
+
position: relative;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&__input {
|
|
7
|
+
input {
|
|
8
|
+
font-family: inherit;
|
|
9
|
+
z-index: 8;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
label {
|
|
13
|
+
font-family: inherit;
|
|
14
|
+
z-index: 9;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__icon {
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: 8px;
|
|
21
|
+
top: 13px;
|
|
22
|
+
z-index: 99;
|
|
23
|
+
|
|
24
|
+
&--small {
|
|
25
|
+
font-size: $font__size--sm;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&--medium {
|
|
29
|
+
font-size: $font__size--md;
|
|
30
|
+
top: 15px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--large {
|
|
34
|
+
font-size: $font__size--lg;
|
|
35
|
+
top: 18px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__loading {
|
|
40
|
+
position: absolute;
|
|
41
|
+
right: 30px;
|
|
42
|
+
width: 23px;
|
|
43
|
+
z-index: 99;
|
|
44
|
+
|
|
45
|
+
&--small {
|
|
46
|
+
top: 20px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&--medium {
|
|
50
|
+
top: 25px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--large {
|
|
54
|
+
top: 13px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__list {
|
|
59
|
+
background: var(--color__neutral--00);
|
|
60
|
+
border: 1px solid var(--color__neutral--60);
|
|
61
|
+
border-radius: 4px;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
display: block;
|
|
64
|
+
font-family: var(--font__family--highlight);
|
|
65
|
+
max-height: 360px;
|
|
66
|
+
overflow: scroll;
|
|
67
|
+
padding: 2px 0;
|
|
68
|
+
position: absolute;
|
|
69
|
+
width: 100%;
|
|
70
|
+
z-index: 9;
|
|
71
|
+
|
|
72
|
+
&--option {
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
padding: 8px 16px;
|
|
75
|
+
|
|
76
|
+
&.not-found {
|
|
77
|
+
cursor: auto;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&--small {
|
|
82
|
+
top: $spacing--sm;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&--medium {
|
|
86
|
+
top: $spacing--md;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&--large {
|
|
90
|
+
top: $spacing--lg;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__option {
|
|
95
|
+
background: none;
|
|
96
|
+
border: none;
|
|
97
|
+
border-radius: 4px;
|
|
98
|
+
color: var(--color__neutral--90);
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
display: block;
|
|
101
|
+
font-family: var(--font__family--highlight);
|
|
102
|
+
line-height: normal;
|
|
103
|
+
margin: 0 4px;
|
|
104
|
+
padding: 16px 4px;
|
|
105
|
+
text-align: left;
|
|
106
|
+
width: 100%;
|
|
107
|
+
|
|
108
|
+
&:hover {
|
|
109
|
+
background-color: var(--color__info);
|
|
110
|
+
color: var(--color__neutral--00);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&--not-found {
|
|
114
|
+
cursor: auto;
|
|
115
|
+
|
|
116
|
+
&--small {
|
|
117
|
+
font-size: $font__size--xxs;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&--medium {
|
|
121
|
+
font-size: $font__size--xs;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&--large {
|
|
125
|
+
font-size: $font__size--sm;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--small {
|
|
130
|
+
font-size: $font__size--xxs;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&--medium {
|
|
134
|
+
font-size: $font__size--xs;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--large {
|
|
138
|
+
font-size: $font__size--sm;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// === INDICATOR TOKENS (colocated with component) ===
|
|
2
|
+
$indicator__background: var(--color__neutral--30) !default;
|
|
3
|
+
$indicator__background--active: var(--color__neutral--90) !default;
|
|
4
|
+
$indicator__background--older: var(--color__neutral--70) !default;
|
|
5
|
+
$indicator__radius: $border__radius--sm !default;
|
|
6
|
+
$indicator__gap: $spacing--quark !default;
|
|
7
|
+
$indicator__heigth: 12px !default;
|
|
8
|
+
|
|
9
|
+
// === INDICATOR COMPONENT ===
|
|
10
|
+
.ds-indicator {
|
|
11
|
+
align-items: center;
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: $indicator__gap;
|
|
14
|
+
height: $indicator__heigth;
|
|
15
|
+
width: 100%;
|
|
16
|
+
|
|
17
|
+
&__step {
|
|
18
|
+
background-color: $indicator__background;
|
|
19
|
+
border-radius: $indicator__radius;
|
|
20
|
+
height: 100%;
|
|
21
|
+
margin: 0;
|
|
22
|
+
outline: none;
|
|
23
|
+
width: 100%;
|
|
24
|
+
|
|
25
|
+
&--default {
|
|
26
|
+
background-color: $indicator__background;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&--active {
|
|
30
|
+
background-color: $indicator__background--active;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--older {
|
|
34
|
+
background-color: $indicator__background--older;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.ds-inline-editable {
|
|
2
|
+
.ds-flex-layout {
|
|
3
|
+
height: $spacing--xs;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.ds-input {
|
|
7
|
+
margin-bottom: 0;
|
|
8
|
+
|
|
9
|
+
&__input {
|
|
10
|
+
background-color: transparent;
|
|
11
|
+
box-shadow: $shadow__level--1;
|
|
12
|
+
caret-color: var(--color__primary);
|
|
13
|
+
height: $spacing--xs;
|
|
14
|
+
padding: $spacing__inset--quark;
|
|
15
|
+
width: $spacing--xl;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ds-icon {
|
|
20
|
+
color: var(--text__color);
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
.ds-modal-overlay {
|
|
2
|
+
background-color: var(--color__neutral--80);
|
|
3
|
+
height: 100vh;
|
|
4
|
+
inset: 0;
|
|
5
|
+
opacity: $opacity--heavier;
|
|
6
|
+
position: fixed;
|
|
7
|
+
width: 100%;
|
|
8
|
+
z-index: 9998;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ds-modal {
|
|
12
|
+
align-items: center;
|
|
13
|
+
background-color: var(--color__neutral--00);
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
max-width: 550px;
|
|
18
|
+
padding: $spacing--xxs $spacing--xxs;
|
|
19
|
+
position: fixed;
|
|
20
|
+
right: 50%;
|
|
21
|
+
top: 50%;
|
|
22
|
+
transform: translate(50%, -50%);
|
|
23
|
+
width: 100%;
|
|
24
|
+
z-index: 9999;
|
|
25
|
+
|
|
26
|
+
&--squared {
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--rounded {
|
|
31
|
+
border-radius: $border__radius--sm;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--elevation {
|
|
35
|
+
&-1 {
|
|
36
|
+
box-shadow: $shadow__level--1;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-2 {
|
|
40
|
+
box-shadow: $shadow__level--2;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&-3 {
|
|
44
|
+
box-shadow: $shadow__level--3;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-4 {
|
|
48
|
+
box-shadow: $shadow__level--4;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__closeBtn {
|
|
53
|
+
align-self: flex-end;
|
|
54
|
+
background: none;
|
|
55
|
+
border: 0;
|
|
56
|
+
color: var(--color__neutral--80);
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
display: grid;
|
|
59
|
+
height: $spacing--xs;
|
|
60
|
+
outline: none;
|
|
61
|
+
place-items: center;
|
|
62
|
+
width: $spacing--xs;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&__cta {
|
|
66
|
+
align-self: flex-end;
|
|
67
|
+
display: flex;
|
|
68
|
+
gap: $spacing--xs;
|
|
69
|
+
}
|
|
70
|
+
}
|