@akad/design-system 0.2.0-beta.9 → 1.0.0-alpha.2
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 +2717 -2911
- 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 +5 -5
- 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/{components → src/components}/atoms/Caption/Caption.stories.d.ts +2 -2
- 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/{components → src/components}/atoms/Card/Card.stories.d.ts +4 -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/Checkbox.stories.d.ts +23 -0
- 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/Heading.stories.d.ts +48 -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/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.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 +4 -4
- package/react/src/components/atoms/Icon/Icon.stories.d.ts +19 -0
- 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 +4 -4
- 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/{components → src/components}/atoms/Loading/Loading.stories.d.ts +2 -2
- 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/{components → src/components}/atoms/Option/Option.stories.d.ts +2 -2
- 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/Paragraph.stories.d.ts +21 -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/{components → src/components}/atoms/Progress/Progress.stories.d.ts +2 -2
- 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 +6 -6
- 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/Subtitle.stories.d.ts +23 -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 +5 -5
- 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 +4 -2
- package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +46 -0
- 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/{components → src/components}/bosons/Container/Container.stories.d.ts +3 -3
- 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/FlexLayout.stories.d.ts +20 -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/{components → src/components}/bosons/GridLayout/GridLayout.stories.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 +4 -4
- 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/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +3 -3
- 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/src/components/molecules/Accordion/Accordion.stories.d.ts +9 -0
- 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/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +2 -2
- package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.config.d.ts +2 -2
- 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/{components → src/components}/molecules/EditableSelect/EditableSelect.stories.d.ts +3 -3
- 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/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +2 -2
- 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/InlineEditable.stories.d.ts +17 -0
- 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 +3 -3
- package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +7 -7
- 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/src/components/molecules/Notification/Notification.stories.d.ts +95 -0
- 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 +4 -4
- 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/{components → src/components}/molecules/Stepper/Stepper.stories.d.ts +2 -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/src/components/molecules/Table/Table.stories.d.ts +12 -0
- 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 +3 -3
- 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 +2 -2
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +3 -3
- package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
- package/react/{components → src/components}/templates/SplitLayout/SplitLayout.config.d.ts +2 -2
- 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 +105 -0
- package/scss/core/helpers/colors.scss +194 -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/Checkbox.stories.d.ts +0 -23
- 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/Heading.stories.d.ts +0 -48
- 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/Icon.stories.d.ts +0 -19
- 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/Paragraph.stories.d.ts +0 -21
- 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/Subtitle.stories.d.ts +0 -23
- 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/Tooltip.stories.d.ts +0 -46
- 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/FlexLayout.stories.d.ts +0 -20
- 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 -39
- package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
- package/react/components/molecules/Accordion/Accordion.stories.d.ts +0 -9
- 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/Carousel/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/InlineEditable.stories.d.ts +0 -17
- 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/Notification.stories.d.ts +0 -95
- 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/Table.stories.d.ts +0 -12
- 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/decorators/storybook.test.d.ts +0 -1
- 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 +1 -1
- package/react/{components → src/components}/atoms/Caption/Caption.test.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 +1 -1
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Heading/Heading.d.ts +1 -1
- package/react/{components → src/components}/atoms/Heading/Heading.test.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.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Option/Option.d.ts +1 -1
- package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +1 -1
- 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.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Select/Select.d.ts +1 -1
- 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.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 +1 -1
- 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.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.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.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.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.d.ts +0 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.test.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.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +1 -1
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Modal/Modal.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.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 +1 -1
- /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 → src/components}/templates/SplitLayout/SplitLayout.d.ts +0 -0
- /package/react/{components → src/components}/templates/SplitLayout/SplitLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/templates/SplitLayout/index.d.ts +0 -0
- /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.d.ts +0 -0
- /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.test.d.ts +0 -0
- /package/react/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
// === TEXTAREA COMPONENT ===
|
|
2
|
+
.ds-textarea {
|
|
3
|
+
// CSS vars (defaults - themes can override in light/dark mode)
|
|
4
|
+
--textarea__background: var(--background__color);
|
|
5
|
+
--textarea__border--color: var(--color__neutral--90);
|
|
6
|
+
--textarea__text--color: var(--color__neutral--100);
|
|
7
|
+
--textarea__border-color--disable: var(--color__neutral--50);
|
|
8
|
+
--textarea__text-color--disable: var(--color__neutral--50);
|
|
9
|
+
--box-shadow-color: var(--textarea__border--color);
|
|
10
|
+
|
|
11
|
+
$self: &;
|
|
12
|
+
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column-reverse;
|
|
15
|
+
font-family: var(--font__family--base);
|
|
16
|
+
margin-bottom: $spacing--xxs;
|
|
17
|
+
position: relative;
|
|
18
|
+
width: 100%;
|
|
19
|
+
|
|
20
|
+
&__label {
|
|
21
|
+
background: var(--textarea__background);
|
|
22
|
+
color: var(--textarea__text--color);
|
|
23
|
+
left: 10px;
|
|
24
|
+
padding: 0 5px;
|
|
25
|
+
position: absolute;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__count {
|
|
29
|
+
background: var(--textarea__background);
|
|
30
|
+
font-weight: $font__weight--regular;
|
|
31
|
+
position: absolute;
|
|
32
|
+
right: 16px;
|
|
33
|
+
top: -5px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__tooltip {
|
|
37
|
+
position: absolute !important;
|
|
38
|
+
right: 8px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__description {
|
|
42
|
+
font-size: $font__size--xxs;
|
|
43
|
+
gap: $spacing--quark;
|
|
44
|
+
margin: $spacing--quark $spacing--xxxs;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__textarea {
|
|
48
|
+
background: var(--textarea__background);
|
|
49
|
+
border: 0;
|
|
50
|
+
border-radius: $border__radius--sm;
|
|
51
|
+
box-shadow: 0 0 0 $border__width--hairline var(--box-shadow-color);
|
|
52
|
+
box-sizing: border-box;
|
|
53
|
+
color: var(--textarea__text--color);
|
|
54
|
+
display: block;
|
|
55
|
+
font-family: var(--font__family--highlight);
|
|
56
|
+
padding: $spacing--xxxs;
|
|
57
|
+
position: relative;
|
|
58
|
+
width: 100%;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
--box-shadow-color: var(--textarea__border--color);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:focus {
|
|
65
|
+
box-shadow: 0 0 0 $border__width--thin var(--box-shadow-color);
|
|
66
|
+
outline: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&:not(:placeholder-shown) {
|
|
70
|
+
--box-shadow-color: var(--textarea__border--color);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:disabled {
|
|
74
|
+
color: var(--textarea__text-color--disable);
|
|
75
|
+
cursor: not-allowed;
|
|
76
|
+
|
|
77
|
+
--box-shadow-color: var(--textarea__border-color--disable);
|
|
78
|
+
|
|
79
|
+
~ .ds-textarea__label {
|
|
80
|
+
color: var(--textarea__text-color--disable);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
~ .ds-textarea__count {
|
|
84
|
+
color: var(--textarea__text-color--disable);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
~ .ds-textarea__tooltip .ds-textarea__icon {
|
|
88
|
+
color: var(--textarea__border-color--disable);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&--small {
|
|
94
|
+
.ds-textarea {
|
|
95
|
+
&__textarea {
|
|
96
|
+
font-size: $font__size--xxs;
|
|
97
|
+
min-height: $spacing--sm;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__label {
|
|
101
|
+
font-size: $font__size--xxs;
|
|
102
|
+
top: calc(($font__size--xxs / -2) - 2px);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__count {
|
|
106
|
+
font-size: $font__size--xxs;
|
|
107
|
+
top: calc(($font__size--xxs / -2) - 2px);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__tooltip {
|
|
111
|
+
bottom: 0;
|
|
112
|
+
|
|
113
|
+
.ds-tooltip__wrapper {
|
|
114
|
+
margin-right: -7px;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&__icon {
|
|
119
|
+
font-size: $font__size--sm;
|
|
120
|
+
margin-top: 5px;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&--medium {
|
|
126
|
+
.ds-textarea {
|
|
127
|
+
&__textarea {
|
|
128
|
+
font-size: $font__size--xs;
|
|
129
|
+
min-height: $spacing--md;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&__label {
|
|
133
|
+
font-size: $font__size--xs;
|
|
134
|
+
top: calc(($font__size--xs / -2) - 2px);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&__count {
|
|
138
|
+
font-size: $font__size--xs;
|
|
139
|
+
top: calc(($font__size--xs / -2) - 2px);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&__tooltip {
|
|
143
|
+
bottom: 0;
|
|
144
|
+
|
|
145
|
+
.ds-tooltip__wrapper {
|
|
146
|
+
margin-right: -3px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&__icon {
|
|
151
|
+
font-size: $font__size--md;
|
|
152
|
+
margin-top: 2px;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
&--large {
|
|
158
|
+
.ds-textarea {
|
|
159
|
+
&__textarea {
|
|
160
|
+
font-size: $font__size--sm;
|
|
161
|
+
min-height: $spacing--lg;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&__label {
|
|
165
|
+
font-size: $font__size--sm;
|
|
166
|
+
top: calc(($font__size--sm / -2) - 2px);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&__count {
|
|
170
|
+
font-size: $font__size--sm;
|
|
171
|
+
top: calc(($font__size--sm / -2) - 2px);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&__tooltip {
|
|
175
|
+
bottom: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
&__icon {
|
|
179
|
+
font-size: $font__size--lg;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&--animated {
|
|
185
|
+
.ds-textarea__label {
|
|
186
|
+
background: var(--textarea__background);
|
|
187
|
+
color: var(--textarea__text--color);
|
|
188
|
+
font-weight: $font__weight--regular;
|
|
189
|
+
padding: 0 5px;
|
|
190
|
+
pointer-events: none;
|
|
191
|
+
position: absolute;
|
|
192
|
+
transition: 0.2s ease all;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&.ds-textarea--small {
|
|
196
|
+
.ds-textarea {
|
|
197
|
+
&__label {
|
|
198
|
+
left: 8px;
|
|
199
|
+
top: 15px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&__label--active {
|
|
203
|
+
font-size: $font__size--xxs;
|
|
204
|
+
left: 10px;
|
|
205
|
+
top: calc(($font__size--xxs / -2) - 2px);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
&__count {
|
|
209
|
+
font-size: $font__size--xxs;
|
|
210
|
+
top: calc(($font__size--xxs / -2) - 2px);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
&__tooltip {
|
|
214
|
+
bottom: 0;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
&.ds-textarea--medium {
|
|
220
|
+
.ds-textarea {
|
|
221
|
+
&__label {
|
|
222
|
+
left: 10px;
|
|
223
|
+
top: 18px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&__label--active {
|
|
227
|
+
font-size: $font__size--xs;
|
|
228
|
+
left: 11px;
|
|
229
|
+
top: calc(($font__size--xs / -2) - 2px);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&__count {
|
|
233
|
+
font-size: $font__size--xs;
|
|
234
|
+
top: calc(($font__size--xs / -2) - 2px);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
&__tooltip {
|
|
238
|
+
bottom: 0;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
&.ds-textarea--large {
|
|
244
|
+
.ds-textarea {
|
|
245
|
+
&__label {
|
|
246
|
+
left: 14px;
|
|
247
|
+
top: 22px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&__label--active {
|
|
251
|
+
font-size: $font__size--sm;
|
|
252
|
+
left: 10px;
|
|
253
|
+
top: calc(($font__size--sm / -2) - 2px);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
&__count {
|
|
257
|
+
font-size: $font__size--sm;
|
|
258
|
+
top: calc(($font__size--sm / -2) - 2px);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&__tooltip {
|
|
262
|
+
bottom: 0;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
&--with-icon {
|
|
269
|
+
.ds-textarea {
|
|
270
|
+
&__textarea {
|
|
271
|
+
padding-right: 36px; // @TODO
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&--error,
|
|
277
|
+
&--success {
|
|
278
|
+
.ds-textarea {
|
|
279
|
+
&__feedback {
|
|
280
|
+
align-items: center;
|
|
281
|
+
display: flex;
|
|
282
|
+
font-size: $font__size--xxs;
|
|
283
|
+
gap: $spacing--quark;
|
|
284
|
+
margin-top: $spacing--quark;
|
|
285
|
+
|
|
286
|
+
.ds-icon {
|
|
287
|
+
font-size: $font__size--xs;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
&--error {
|
|
294
|
+
.ds-textarea {
|
|
295
|
+
&__textarea {
|
|
296
|
+
--box-shadow-color: var(--color__danger--dark);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&__label,
|
|
300
|
+
&__count,
|
|
301
|
+
&__feedback {
|
|
302
|
+
color: var(--color__danger--dark);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&__feedback {
|
|
306
|
+
.ds-icon {
|
|
307
|
+
color: var(--color__danger--dark);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
&--success {
|
|
314
|
+
.ds-textarea {
|
|
315
|
+
&__textarea {
|
|
316
|
+
--box-shadow-color: var(--color__success--dark);
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
&__label,
|
|
320
|
+
&__count,
|
|
321
|
+
&__feedback {
|
|
322
|
+
color: var(--color__success--dark);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&__feedback {
|
|
326
|
+
.ds-icon {
|
|
327
|
+
color: var(--color__success--dark);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// Dark mode
|
|
335
|
+
[data-theme='dark'] .ds-textarea {
|
|
336
|
+
--textarea__border--color: var(--color__neutral--00);
|
|
337
|
+
--textarea__text--color: var(--color__neutral--00);
|
|
338
|
+
--textarea__border-color--disable: var(--color__neutral--70);
|
|
339
|
+
--textarea__text-color--disable: var(--color__neutral--70);
|
|
340
|
+
}
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
$arrow__size: $spacing--nano;
|
|
2
|
+
|
|
3
|
+
.wrapper-before,
|
|
4
|
+
%wrapper-before {
|
|
5
|
+
content: '';
|
|
6
|
+
height: 0;
|
|
7
|
+
position: absolute;
|
|
8
|
+
width: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.ds-tooltip {
|
|
12
|
+
$self: &;
|
|
13
|
+
|
|
14
|
+
// CSS vars (light mode default)
|
|
15
|
+
--tooltip-background-color: var(--color__neutral--00);
|
|
16
|
+
--tooltip-text-color: var(--color__neutral--90);
|
|
17
|
+
|
|
18
|
+
display: inline-block;
|
|
19
|
+
line-height: 1em;
|
|
20
|
+
pointer-events: all;
|
|
21
|
+
position: relative;
|
|
22
|
+
vertical-align: middle;
|
|
23
|
+
|
|
24
|
+
&--center {
|
|
25
|
+
.ds-tooltip__wrapper {
|
|
26
|
+
&::before {
|
|
27
|
+
left: calc(50% - 8px);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&--top {
|
|
33
|
+
.ds-tooltip__wrapper {
|
|
34
|
+
box-shadow:
|
|
35
|
+
0 10px 20px 0 rgba($shadow__color, $opacity--light),
|
|
36
|
+
0 3px 6px 0 rgba($shadow__color, $opacity--light);
|
|
37
|
+
|
|
38
|
+
&::before {
|
|
39
|
+
@extend %wrapper-before;
|
|
40
|
+
|
|
41
|
+
border-left: $arrow__size solid transparent;
|
|
42
|
+
border-right: $arrow__size solid transparent;
|
|
43
|
+
border-top: $arrow__size solid var(--tooltip-background-color);
|
|
44
|
+
bottom: -$arrow__size;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.ds-tooltip--initial {
|
|
49
|
+
.ds-tooltip__wrapper {
|
|
50
|
+
&::before {
|
|
51
|
+
left: $arrow__size;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.ds-tooltip--end {
|
|
57
|
+
.ds-tooltip__wrapper {
|
|
58
|
+
&::before {
|
|
59
|
+
right: $arrow__size;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--bottom {
|
|
66
|
+
.ds-tooltip__wrapper {
|
|
67
|
+
box-shadow:
|
|
68
|
+
0 -6px 20px 0 rgba($shadow__color, $opacity--light),
|
|
69
|
+
0 -1px 6px 0 rgba($shadow__color, $opacity--light);
|
|
70
|
+
|
|
71
|
+
&::before {
|
|
72
|
+
@extend %wrapper-before;
|
|
73
|
+
|
|
74
|
+
border-bottom: $arrow__size solid var(--tooltip-background-color);
|
|
75
|
+
border-left: $arrow__size solid transparent;
|
|
76
|
+
border-right: $arrow__size solid transparent;
|
|
77
|
+
top: -$arrow__size;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.ds-tooltip--initial {
|
|
82
|
+
.ds-tooltip__wrapper {
|
|
83
|
+
&::before {
|
|
84
|
+
left: $arrow__size;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&.ds-tooltip--end {
|
|
90
|
+
.ds-tooltip__wrapper {
|
|
91
|
+
&::before {
|
|
92
|
+
right: $arrow__size;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--right {
|
|
99
|
+
.ds-tooltip__wrapper {
|
|
100
|
+
box-shadow:
|
|
101
|
+
-10px 2px 20px 0 rgba($shadow__color, $opacity--light),
|
|
102
|
+
-3px 1px 6px 0 rgba($shadow__color, $opacity--light);
|
|
103
|
+
|
|
104
|
+
&::before {
|
|
105
|
+
@extend %wrapper-before;
|
|
106
|
+
|
|
107
|
+
border-bottom: $arrow__size solid transparent;
|
|
108
|
+
border-right: $arrow__size solid var(--tooltip-background-color);
|
|
109
|
+
border-top: $arrow__size solid transparent;
|
|
110
|
+
left: -$arrow__size;
|
|
111
|
+
top: calc(50% - $arrow__size);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&.ds-tooltip--initial {
|
|
116
|
+
.ds-tooltip__wrapper {
|
|
117
|
+
&::before {
|
|
118
|
+
top: $arrow__size * 2;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.ds-tooltip--end {
|
|
124
|
+
.ds-tooltip__wrapper {
|
|
125
|
+
&::before {
|
|
126
|
+
bottom: $arrow__size;
|
|
127
|
+
top: auto;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
&--left {
|
|
134
|
+
.ds-tooltip__wrapper {
|
|
135
|
+
box-shadow:
|
|
136
|
+
10px 1px 20px 0 rgba($shadow__color, $opacity--light),
|
|
137
|
+
3px 1px 6px 0 rgba($shadow__color, $opacity--light);
|
|
138
|
+
|
|
139
|
+
&::before {
|
|
140
|
+
@extend %wrapper-before;
|
|
141
|
+
|
|
142
|
+
border-bottom: $arrow__size solid transparent;
|
|
143
|
+
border-left: $arrow__size solid var(--tooltip-background-color);
|
|
144
|
+
border-top: $arrow__size solid transparent;
|
|
145
|
+
left: unset;
|
|
146
|
+
right: -$arrow__size;
|
|
147
|
+
top: calc(50% - $arrow__size);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.ds-tooltip--initial {
|
|
152
|
+
.ds-tooltip__wrapper {
|
|
153
|
+
&::before {
|
|
154
|
+
top: $arrow__size;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.ds-tooltip--end {
|
|
160
|
+
.ds-tooltip__wrapper {
|
|
161
|
+
&::before {
|
|
162
|
+
bottom: $arrow__size;
|
|
163
|
+
top: auto;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&__wrapper {
|
|
170
|
+
align-items: center;
|
|
171
|
+
background-color: var(--tooltip-background-color);
|
|
172
|
+
border-radius: $border__radius--sm;
|
|
173
|
+
color: var(--tooltip-text-color);
|
|
174
|
+
font-family: var(--font__family--base);
|
|
175
|
+
font-size: $font__size--xs;
|
|
176
|
+
font-weight: normal;
|
|
177
|
+
line-height: 1.35em;
|
|
178
|
+
max-width: 280px;
|
|
179
|
+
min-height: 20px;
|
|
180
|
+
padding: $spacing--nano 12px 12px;
|
|
181
|
+
position: absolute;
|
|
182
|
+
text-align: center;
|
|
183
|
+
width: max-content;
|
|
184
|
+
z-index: 3;
|
|
185
|
+
|
|
186
|
+
b,
|
|
187
|
+
strong {
|
|
188
|
+
font-weight: bold;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
// Dark mode
|
|
194
|
+
[data-theme='dark'] .ds-tooltip {
|
|
195
|
+
--tooltip-background-color: var(--color__neutral--90);
|
|
196
|
+
--tooltip-text-color: var(--color__neutral--10);
|
|
197
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
.ds-flex-layout {
|
|
2
|
+
&--gap-nano {
|
|
3
|
+
gap: $spacing--nano;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
&--gap-quark {
|
|
7
|
+
gap: $spacing--quark;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&--gap-xxxs {
|
|
11
|
+
gap: $spacing--xxxs;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--gap-xxs {
|
|
15
|
+
gap: $spacing--xxs;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--gap-xs {
|
|
19
|
+
gap: $spacing--xs;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--gap-sm {
|
|
23
|
+
gap: $spacing--sm;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--gap-md {
|
|
27
|
+
gap: $spacing--md;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--gap-lg {
|
|
31
|
+
gap: $spacing--lg;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--gap-xl {
|
|
35
|
+
gap: $spacing--xl;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--gap-xxl {
|
|
39
|
+
gap: $spacing--xxl;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--gap-xxxl {
|
|
43
|
+
gap: $spacing--xxxl;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.ds-grid-layout {
|
|
2
|
+
display: grid;
|
|
3
|
+
gap: 0;
|
|
4
|
+
|
|
5
|
+
&__item {
|
|
6
|
+
position: relative;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&--h-start {
|
|
10
|
+
justify-content: start;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&--h-end {
|
|
14
|
+
justify-content: end;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--h-center {
|
|
18
|
+
justify-content: center;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&--h-stretch {
|
|
22
|
+
grid-template-columns: auto;
|
|
23
|
+
justify-content: stretch;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--h-space-around {
|
|
27
|
+
justify-content: space-around;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--h-space-between {
|
|
31
|
+
justify-content: space-between;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--h-space-evenly {
|
|
35
|
+
justify-content: space-evenly;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--v-start {
|
|
39
|
+
align-items: start;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--v-end {
|
|
43
|
+
align-items: end;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--v-center {
|
|
47
|
+
align-items: center;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--v-stretch {
|
|
51
|
+
align-items: stretch;
|
|
52
|
+
grid-template-columns: auto;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--v-space-around {
|
|
56
|
+
align-items: space-around;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--v-space-between {
|
|
60
|
+
align-items: space-between;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&--v-space-evenly {
|
|
64
|
+
align-items: space-evenly;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* gap */
|
|
68
|
+
@each $size, $value in $spacing__inset {
|
|
69
|
+
&__v-gap--#{$size} {
|
|
70
|
+
row-gap: $value;
|
|
71
|
+
}
|
|
72
|
+
&__h-gap--#{$size} {
|
|
73
|
+
column-gap: $value;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|