@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,24 @@
|
|
|
1
|
+
// Card component
|
|
2
|
+
.ds-card {
|
|
3
|
+
// Defaults (uses theme globals - can be overridden with utilities)
|
|
4
|
+
background-color: var(--background__color);
|
|
5
|
+
|
|
6
|
+
// Propriedades CSS (ordem alfabética)
|
|
7
|
+
border-left-style: solid;
|
|
8
|
+
border-left-width: 0;
|
|
9
|
+
border-radius: $border__radius--sm;
|
|
10
|
+
color: var(--text__color);
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
font-family: var(--font__family--base);
|
|
14
|
+
font-size: $font__size--xs;
|
|
15
|
+
gap: $spacing--nano;
|
|
16
|
+
padding: $spacing--xxxs;
|
|
17
|
+
position: relative;
|
|
18
|
+
|
|
19
|
+
// NO utility classes here
|
|
20
|
+
// Use global utilities instead:
|
|
21
|
+
// - Background: .bg-color__primary, .bg-color__secondary, etc.
|
|
22
|
+
// - Border: .border-color__primary, .border-color__secondary, etc.
|
|
23
|
+
// - Elevation: .elevation-1, .elevation-2, .elevation-3, .elevation-4
|
|
24
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
.ds-checkbox {
|
|
2
|
+
// CSS vars (light mode default)
|
|
3
|
+
--checkbox-color: var(--color__neutral--80);
|
|
4
|
+
--checkbox-color--disabled: var(--color__neutral--50);
|
|
5
|
+
|
|
6
|
+
align-items: center;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
display: flex;
|
|
9
|
+
font-family: var(--font__family--base);
|
|
10
|
+
gap: $spacing--xxxs;
|
|
11
|
+
width: fit-content;
|
|
12
|
+
|
|
13
|
+
&--disabled {
|
|
14
|
+
color: var(--checkbox-color--disabled);
|
|
15
|
+
cursor: not-allowed;
|
|
16
|
+
|
|
17
|
+
.ds-checkbox__icon.ds-icon {
|
|
18
|
+
color: var(--checkbox-color--disabled);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
input[type='checkbox'].ds-checkbox__input {
|
|
23
|
+
appearance: none;
|
|
24
|
+
opacity: 0;
|
|
25
|
+
position: absolute;
|
|
26
|
+
|
|
27
|
+
&:focus {
|
|
28
|
+
& + i.ds-icon {
|
|
29
|
+
box-shadow: inset 0 0 0 $border__width--thin var(--checkbox-color);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__icon.ds-icon {
|
|
35
|
+
color: var(--checkbox-color);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__label {
|
|
39
|
+
align-items: flex-start;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
line-height: 1.5em;
|
|
44
|
+
|
|
45
|
+
&-title {
|
|
46
|
+
font-size: $font__size--sm;
|
|
47
|
+
font-weight: $font__weight--bold;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&-description {
|
|
51
|
+
font-size: $font__size--sm;
|
|
52
|
+
font-weight: $font__weight--regular;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
// Dark mode
|
|
58
|
+
[data-theme='dark'] .ds-checkbox {
|
|
59
|
+
--checkbox-color: var(--color__neutral--10);
|
|
60
|
+
--checkbox-color--disabled: var(--color__neutral--60);
|
|
61
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
// Heading component - h1-h6 HTML tags + .ds-heading classes
|
|
2
|
+
h1,
|
|
3
|
+
.ds-heading,
|
|
4
|
+
.ds-heading--1 {
|
|
5
|
+
font-family: var(--font__family--highlight);
|
|
6
|
+
font-size: $font__size--huge;
|
|
7
|
+
line-height: 125%;
|
|
8
|
+
|
|
9
|
+
@include mobile {
|
|
10
|
+
font-size: $font__size--xxxl;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
h2,
|
|
15
|
+
.ds-heading--2 {
|
|
16
|
+
font-family: var(--font__family--highlight);
|
|
17
|
+
font-size: $font__size--xxxl;
|
|
18
|
+
line-height: 125%;
|
|
19
|
+
|
|
20
|
+
@include mobile {
|
|
21
|
+
font-size: $font__size--xxl;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h3,
|
|
26
|
+
.ds-heading--3 {
|
|
27
|
+
font-family: var(--font__family--highlight);
|
|
28
|
+
font-size: $font__size--xxl;
|
|
29
|
+
line-height: 125%;
|
|
30
|
+
|
|
31
|
+
@include mobile {
|
|
32
|
+
font-size: $font__size--xl;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
h4,
|
|
37
|
+
.ds-heading--4 {
|
|
38
|
+
font-family: var(--font__family--highlight);
|
|
39
|
+
font-size: $font__size--xl;
|
|
40
|
+
line-height: 150%;
|
|
41
|
+
|
|
42
|
+
@include mobile {
|
|
43
|
+
font-size: $font__size--lg;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
h5,
|
|
48
|
+
.ds-heading--5 {
|
|
49
|
+
font-family: var(--font__family--highlight);
|
|
50
|
+
font-size: $font__size--lg;
|
|
51
|
+
font-weight: $font__weight--semibold;
|
|
52
|
+
line-height: 150%;
|
|
53
|
+
|
|
54
|
+
@include mobile {
|
|
55
|
+
font-size: $font__size--md;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h6,
|
|
60
|
+
.ds-heading--6 {
|
|
61
|
+
font-family: var(--font__family--highlight);
|
|
62
|
+
font-size: $font__size--md;
|
|
63
|
+
font-weight: $font__weight--medium;
|
|
64
|
+
line-height: 150%;
|
|
65
|
+
|
|
66
|
+
@include mobile {
|
|
67
|
+
font-size: $font__size--sm;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
.ds-hr {
|
|
2
|
+
// CSS var (light mode default - same for dark mode)
|
|
3
|
+
--hr-border-color: var(--color__neutral--50);
|
|
4
|
+
|
|
5
|
+
border: 0;
|
|
6
|
+
border-color: var(--hr-border-color);
|
|
7
|
+
border-top-style: solid;
|
|
8
|
+
border-top-width: $border__width--thin;
|
|
9
|
+
margin: 0;
|
|
10
|
+
width: 100%;
|
|
11
|
+
|
|
12
|
+
&--small {
|
|
13
|
+
border-top-width: $border__width--hairline;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&--large {
|
|
17
|
+
border-top-width: $border__width--thick;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&--dotted {
|
|
21
|
+
border-top-style: dotted;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&--dashed {
|
|
25
|
+
border-top-style: dashed;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Icon component (structural only - uses global utilities for colors)
|
|
2
|
+
.ds-icon {
|
|
3
|
+
// Propriedades CSS (ordem alfabética)
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
display: inline-block;
|
|
6
|
+
mask-repeat: no-repeat;
|
|
7
|
+
mask-size: contain;
|
|
8
|
+
user-select: none;
|
|
9
|
+
|
|
10
|
+
// NO color classes here
|
|
11
|
+
// Use global utilities instead: .color__primary, .color__secondary, etc.
|
|
12
|
+
|
|
13
|
+
// Size variants (structural - keep)
|
|
14
|
+
&--xxs {
|
|
15
|
+
font-size: $font__size--xxs;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--xs {
|
|
19
|
+
font-size: $font__size--xs;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--sm {
|
|
23
|
+
font-size: $font__size--sm;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--md {
|
|
27
|
+
font-size: $font__size--md;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--lg {
|
|
31
|
+
font-size: $font__size--lg;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--xl {
|
|
35
|
+
font-size: $font__size--xl;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--xxl {
|
|
39
|
+
font-size: $font__size--xxl;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--xxxl {
|
|
43
|
+
font-size: $font__size--xxxl;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--huge {
|
|
47
|
+
font-size: $font__size--huge;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
// === INPUT COMPONENT ===
|
|
2
|
+
.ds-input {
|
|
3
|
+
// CSS vars (defaults - themes can override in light/dark mode)
|
|
4
|
+
--input__background: var(--background__color);
|
|
5
|
+
--input__border--color: var(--color__neutral--90);
|
|
6
|
+
--input__text--color: var(--color__neutral--100);
|
|
7
|
+
--input__border-color--disable: var(--color__neutral--50);
|
|
8
|
+
--input__text-color--disable: var(--color__neutral--50);
|
|
9
|
+
--box-shadow-color: var(--input__border--color);
|
|
10
|
+
|
|
11
|
+
$self: &;
|
|
12
|
+
|
|
13
|
+
&__label {
|
|
14
|
+
align-items: center;
|
|
15
|
+
background: var(--input__background);
|
|
16
|
+
color: var(--input__text--color);
|
|
17
|
+
display: flex;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
left: 12px;
|
|
20
|
+
padding: 0 4px;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
position: absolute;
|
|
23
|
+
user-select: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__password-icon {
|
|
27
|
+
bottom: 8px;
|
|
28
|
+
position: absolute !important;
|
|
29
|
+
right: 8px;
|
|
30
|
+
|
|
31
|
+
&.ds-icon {
|
|
32
|
+
color: var(--input__text--color);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Setting height to a "fixed" value.
|
|
37
|
+
// It's important to don't break password and tooltip icon placement
|
|
38
|
+
&__feedback {
|
|
39
|
+
height: $spacing--xxxs;
|
|
40
|
+
margin-top: $spacing--quark;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__input {
|
|
44
|
+
appearance: none;
|
|
45
|
+
background: var(--input__background);
|
|
46
|
+
border: none;
|
|
47
|
+
border-radius: $border__radius--sm;
|
|
48
|
+
box-shadow: 0 0 0 $border__width--hairline var(--box-shadow-color);
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
color: var(--input__text--color);
|
|
51
|
+
display: block;
|
|
52
|
+
font-family: var(--font__family--highlight);
|
|
53
|
+
padding: 0 $spacing__inset--xs;
|
|
54
|
+
position: relative;
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
&:hover {
|
|
58
|
+
--box-shadow-color: var(--input__border--color);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:focus {
|
|
62
|
+
box-shadow: 0 0 0 $border__width--thin var(--box-shadow-color);
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&:not(:placeholder-shown) {
|
|
67
|
+
--box-shadow-color: var(--input__border--color);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:disabled {
|
|
71
|
+
color: var(--input__text-color--disable);
|
|
72
|
+
cursor: not-allowed;
|
|
73
|
+
|
|
74
|
+
--box-shadow-color: var(--input__border-color--disable);
|
|
75
|
+
|
|
76
|
+
~ .ds-input__label {
|
|
77
|
+
color: var(--input__text-color--disable);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
~ .ds-input__tooltip .ds-input__icon {
|
|
81
|
+
color: var(--input__border-color--disable);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&--small {
|
|
87
|
+
.ds-input {
|
|
88
|
+
&__input {
|
|
89
|
+
font-size: $font__size--xxs;
|
|
90
|
+
height: $spacing--sm;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__label {
|
|
94
|
+
font-size: $font__size--xxs;
|
|
95
|
+
height: $font__size--sm;
|
|
96
|
+
top: calc(($font__size--xxs / -2) - 3px);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__tooltip {
|
|
100
|
+
.ds-tooltip__wrapper {
|
|
101
|
+
margin-right: -7px;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__password-icon {
|
|
106
|
+
bottom: 20px;
|
|
107
|
+
font-size: $font__size--lg;
|
|
108
|
+
padding: $spacing__inset--nano;
|
|
109
|
+
position: absolute !important;
|
|
110
|
+
right: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&__icon {
|
|
114
|
+
font-size: $font__size--sm;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&--medium {
|
|
120
|
+
.ds-input {
|
|
121
|
+
&__input {
|
|
122
|
+
font-size: $font__size--xs;
|
|
123
|
+
height: $spacing--md;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__label {
|
|
127
|
+
font-size: $font__size--xs;
|
|
128
|
+
height: $font__size--md;
|
|
129
|
+
top: calc(($font__size--xs / -2) - 4px);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&__tooltip {
|
|
133
|
+
.ds-tooltip__wrapper {
|
|
134
|
+
margin-right: -3px;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&__password-icon {
|
|
139
|
+
bottom: 22px;
|
|
140
|
+
font-size: $font__size--xl;
|
|
141
|
+
padding: $spacing__inset--nano;
|
|
142
|
+
position: absolute !important;
|
|
143
|
+
right: 0;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&__icon {
|
|
147
|
+
font-size: $font__size--md;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.ds-input--with-icon {
|
|
152
|
+
> .ds-input__icon {
|
|
153
|
+
top: 15px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&--large {
|
|
159
|
+
.ds-input {
|
|
160
|
+
&__input {
|
|
161
|
+
font-size: $font__size--sm;
|
|
162
|
+
height: $spacing--lg;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&__label {
|
|
166
|
+
font-size: $font__size--sm;
|
|
167
|
+
height: $font__size--lg;
|
|
168
|
+
top: calc(($font__size--sm / -2) - 4px);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&__password-icon {
|
|
172
|
+
bottom: 18px;
|
|
173
|
+
font-size: $font__size--xl;
|
|
174
|
+
padding: $spacing__inset--xs $spacing__inset--nano;
|
|
175
|
+
position: absolute !important;
|
|
176
|
+
right: 0;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&__icon {
|
|
180
|
+
font-size: $font__size--lg;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.ds-input--with-icon {
|
|
185
|
+
> .ds-input__icon {
|
|
186
|
+
top: 18px;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&--no-margin {
|
|
192
|
+
margin: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
&--animated {
|
|
196
|
+
.ds-input__label {
|
|
197
|
+
color: var(--input__text--color);
|
|
198
|
+
font-weight: $font__weight--regular;
|
|
199
|
+
transition: 0.2s ease all;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.ds-input--small {
|
|
203
|
+
.ds-input {
|
|
204
|
+
&__label {
|
|
205
|
+
left: 8px;
|
|
206
|
+
top: 12px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
&__label--active {
|
|
210
|
+
font-size: $font__size--xxs;
|
|
211
|
+
left: 12px;
|
|
212
|
+
top: calc(($font__size--xxs / -2) - 3px);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&.ds-input--medium {
|
|
218
|
+
.ds-input {
|
|
219
|
+
&__label {
|
|
220
|
+
left: 12px;
|
|
221
|
+
top: 16px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
&__label--active {
|
|
225
|
+
font-size: $font__size--xs;
|
|
226
|
+
left: 12px;
|
|
227
|
+
top: calc(($font__size--xs / -2) - 4px);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
&.ds-input--large {
|
|
233
|
+
.ds-input {
|
|
234
|
+
&__label {
|
|
235
|
+
left: 14px;
|
|
236
|
+
top: 18px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
&__label--active {
|
|
240
|
+
font-size: $font__size--sm;
|
|
241
|
+
left: 12px;
|
|
242
|
+
top: calc(($font__size--sm / -2) - 4px);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&--with-icon {
|
|
249
|
+
> .ds-input__icon {
|
|
250
|
+
cursor: default;
|
|
251
|
+
position: absolute;
|
|
252
|
+
right: 8px;
|
|
253
|
+
top: 13px;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.ds-input {
|
|
257
|
+
&__input {
|
|
258
|
+
padding-right: 36px; // @TODO
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&--error,
|
|
264
|
+
&--success {
|
|
265
|
+
.ds-input {
|
|
266
|
+
&__feedback {
|
|
267
|
+
align-items: center;
|
|
268
|
+
display: flex;
|
|
269
|
+
font-size: $font__size--xxs;
|
|
270
|
+
gap: $spacing--quark;
|
|
271
|
+
|
|
272
|
+
.ds-icon {
|
|
273
|
+
font-size: $font__size--xs;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&--error {
|
|
280
|
+
.ds-input {
|
|
281
|
+
&__input {
|
|
282
|
+
--box-shadow-color: var(--color__danger--dark);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&__label,
|
|
286
|
+
&__feedback {
|
|
287
|
+
color: var(--color__danger--dark);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&__feedback,
|
|
291
|
+
&__tooltip {
|
|
292
|
+
.ds-icon {
|
|
293
|
+
color: var(--color__danger--dark);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
&--success {
|
|
300
|
+
.ds-input {
|
|
301
|
+
&__input {
|
|
302
|
+
--box-shadow-color: var(--color__success--dark);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&__label,
|
|
306
|
+
&__feedback {
|
|
307
|
+
color: var(--color__success--dark);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
&__feedback,
|
|
311
|
+
&__tooltip {
|
|
312
|
+
.ds-icon {
|
|
313
|
+
color: var(--color__success--dark);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
display: flex;
|
|
320
|
+
flex-direction: column-reverse;
|
|
321
|
+
font-family: var(--font__family--highlight);
|
|
322
|
+
margin-bottom: $spacing--xxxs;
|
|
323
|
+
position: relative;
|
|
324
|
+
width: 100%;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
// Dark mode
|
|
328
|
+
[data-theme='dark'] .ds-input {
|
|
329
|
+
--input__border--color: var(--color__neutral--00);
|
|
330
|
+
--input__text--color: var(--color__neutral--00);
|
|
331
|
+
--input__border-color--disable: var(--color__neutral--70);
|
|
332
|
+
--input__text-color--disable: var(--color__neutral--70);
|
|
333
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
.ds-loading {
|
|
2
|
+
align-items: center;
|
|
3
|
+
background: none;
|
|
4
|
+
display: flex;
|
|
5
|
+
height: 100%;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
left: 0;
|
|
8
|
+
position: fixed;
|
|
9
|
+
top: 0;
|
|
10
|
+
width: 100%;
|
|
11
|
+
z-index: 9999;
|
|
12
|
+
|
|
13
|
+
&--absolute {
|
|
14
|
+
position: absolute;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__background {
|
|
18
|
+
height: 100%;
|
|
19
|
+
position: absolute;
|
|
20
|
+
width: 100%;
|
|
21
|
+
|
|
22
|
+
&--neutral-20 {
|
|
23
|
+
background-color: var(--color__neutral--20);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--neutral-10 {
|
|
27
|
+
background-color: var(--color__neutral--10);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--neutral-05 {
|
|
31
|
+
background-color: var(--color__neutral--05);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--neutral-00 {
|
|
35
|
+
background-color: var(--color__neutral--00);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--opacity {
|
|
39
|
+
opacity: $opacity--heavy;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__dots {
|
|
44
|
+
animation: dot-flashing 1s infinite linear alternate;
|
|
45
|
+
animation-delay: 0.5s;
|
|
46
|
+
background-color: var(--color__primary);
|
|
47
|
+
border-radius: 5px;
|
|
48
|
+
color: var(--color__primary);
|
|
49
|
+
height: 8px;
|
|
50
|
+
position: relative;
|
|
51
|
+
width: 8px;
|
|
52
|
+
|
|
53
|
+
&::after,
|
|
54
|
+
&::before {
|
|
55
|
+
animation: dot-flashing 1s infinite alternate;
|
|
56
|
+
background-color: var(--color__primary);
|
|
57
|
+
border-radius: 5px;
|
|
58
|
+
color: var(--color__primary);
|
|
59
|
+
content: '';
|
|
60
|
+
display: inline-block;
|
|
61
|
+
height: 8px;
|
|
62
|
+
position: absolute;
|
|
63
|
+
top: 0;
|
|
64
|
+
width: 8px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&::before {
|
|
68
|
+
animation-delay: 0s;
|
|
69
|
+
left: -15px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::after {
|
|
73
|
+
animation-delay: 1s;
|
|
74
|
+
left: 15px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&--medium {
|
|
78
|
+
height: 10px;
|
|
79
|
+
width: 10px;
|
|
80
|
+
|
|
81
|
+
&::after,
|
|
82
|
+
&::before {
|
|
83
|
+
height: 10px;
|
|
84
|
+
width: 10px;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&--large {
|
|
89
|
+
border-radius: 10px;
|
|
90
|
+
height: 15px;
|
|
91
|
+
width: 15px;
|
|
92
|
+
|
|
93
|
+
&::after,
|
|
94
|
+
&::before {
|
|
95
|
+
border-radius: 10px;
|
|
96
|
+
height: 15px;
|
|
97
|
+
width: 15px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&::before {
|
|
101
|
+
left: -20px;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&::after {
|
|
105
|
+
left: 20px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
@keyframes dot-flashing {
|
|
112
|
+
0% {
|
|
113
|
+
background-color: var(--color__primary);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
50%,
|
|
117
|
+
100% {
|
|
118
|
+
background-color: var(--color__primary--lighter);
|
|
119
|
+
}
|
|
120
|
+
}
|