@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,121 @@
|
|
|
1
|
+
export declare enum SelectSize {
|
|
2
|
+
Small = "sm",
|
|
3
|
+
Medium = "md",
|
|
4
|
+
Large = "lg"
|
|
5
|
+
}
|
|
6
|
+
export declare enum SelectStatus {
|
|
7
|
+
Default = "",
|
|
8
|
+
Error = "error",
|
|
9
|
+
Success = "success"
|
|
10
|
+
}
|
|
11
|
+
export declare enum SelectTooltipPlacement {
|
|
12
|
+
Center = "center",
|
|
13
|
+
End = "end",
|
|
14
|
+
Initial = "initial"
|
|
15
|
+
}
|
|
16
|
+
export declare enum SelectTooltipPosition {
|
|
17
|
+
Top = "top",
|
|
18
|
+
Right = "right",
|
|
19
|
+
Bottom = "bottom",
|
|
20
|
+
Left = "left"
|
|
21
|
+
}
|
|
22
|
+
export interface SelectLabelProps {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
}
|
|
26
|
+
export interface SelectClassNameProps {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
}
|
|
30
|
+
export interface SelectAnimatedProps {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
}
|
|
34
|
+
export interface SelectDisabledProps {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface SelectMultipleProps {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface SelectNameProps {
|
|
43
|
+
type: StringConstructor;
|
|
44
|
+
default: string;
|
|
45
|
+
}
|
|
46
|
+
export interface SelectTestIdProps {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
}
|
|
50
|
+
export interface SelectPlaceholderProps {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
}
|
|
53
|
+
export interface SelectOnChangeProps {
|
|
54
|
+
type: FunctionConstructor;
|
|
55
|
+
default: () => void;
|
|
56
|
+
}
|
|
57
|
+
export interface SelectValueProps {
|
|
58
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor | undefined)[];
|
|
59
|
+
}
|
|
60
|
+
export interface SelectSizeProps {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
options: SelectSize[];
|
|
63
|
+
default: SelectSize;
|
|
64
|
+
}
|
|
65
|
+
export interface SelectStatusProps {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: SelectStatus;
|
|
68
|
+
options: SelectStatus[];
|
|
69
|
+
}
|
|
70
|
+
export interface SelectTooltipProps {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
}
|
|
74
|
+
export interface SelectTooltipPlacementProps {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: SelectTooltipPlacement;
|
|
77
|
+
options: SelectTooltipPlacement[];
|
|
78
|
+
}
|
|
79
|
+
export interface SelectTooltipPositionProps {
|
|
80
|
+
type: StringConstructor;
|
|
81
|
+
default: SelectTooltipPosition;
|
|
82
|
+
options: SelectTooltipPosition[];
|
|
83
|
+
}
|
|
84
|
+
export interface SelectFeedbackProps {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
}
|
|
88
|
+
interface SelectOption {
|
|
89
|
+
label?: string;
|
|
90
|
+
value?: string | number | readonly string[];
|
|
91
|
+
}
|
|
92
|
+
interface SelectGroupedOption {
|
|
93
|
+
label?: string;
|
|
94
|
+
options: SelectOption[];
|
|
95
|
+
}
|
|
96
|
+
export type SelectOptions = (SelectOption | SelectGroupedOption)[];
|
|
97
|
+
export interface SelectConfig {
|
|
98
|
+
name: string;
|
|
99
|
+
class: string;
|
|
100
|
+
props: {
|
|
101
|
+
label: SelectLabelProps;
|
|
102
|
+
className: SelectClassNameProps;
|
|
103
|
+
animated: SelectAnimatedProps;
|
|
104
|
+
disabled: SelectDisabledProps;
|
|
105
|
+
multiple: SelectMultipleProps;
|
|
106
|
+
name: SelectNameProps;
|
|
107
|
+
options: SelectOptions;
|
|
108
|
+
testId: SelectTestIdProps;
|
|
109
|
+
placeholder: SelectPlaceholderProps;
|
|
110
|
+
onChange: SelectOnChangeProps;
|
|
111
|
+
value: SelectValueProps;
|
|
112
|
+
size: SelectSizeProps;
|
|
113
|
+
status: SelectStatusProps;
|
|
114
|
+
tooltip: SelectTooltipProps;
|
|
115
|
+
tooltipPlacement: SelectTooltipPlacementProps;
|
|
116
|
+
tooltipPosition: SelectTooltipPositionProps;
|
|
117
|
+
feedback: SelectFeedbackProps;
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
declare const selectConfig: SelectConfig;
|
|
121
|
+
export default selectConfig;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { DsSelectProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsSelectProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSelectProps>;
|
|
8
8
|
args: {
|
|
9
9
|
label: string;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
multiple: boolean;
|
|
12
|
-
size: import('
|
|
13
|
-
status: import('
|
|
12
|
+
size: import('.').SelectSize;
|
|
13
|
+
status: import('.').SelectStatus;
|
|
14
14
|
options: {
|
|
15
15
|
value: string;
|
|
16
16
|
label: string;
|
|
@@ -21,7 +21,7 @@ export declare const Default: {
|
|
|
21
21
|
testId: string;
|
|
22
22
|
placeholder: string;
|
|
23
23
|
tooltip: string;
|
|
24
|
-
tooltipPlacement: import('
|
|
25
|
-
tooltipPosition: import('
|
|
24
|
+
tooltipPlacement: import('.').SelectTooltipPlacement;
|
|
25
|
+
tooltipPosition: import('.').SelectTooltipPosition;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum SubtitleType {
|
|
2
|
+
Large = "large",
|
|
3
|
+
Small = "small"
|
|
4
|
+
}
|
|
5
|
+
export interface SubtitleTypeProps {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: SubtitleType;
|
|
8
|
+
options: SubtitleType[];
|
|
9
|
+
}
|
|
10
|
+
export interface SubtitleConfig {
|
|
11
|
+
name: string;
|
|
12
|
+
class: string;
|
|
13
|
+
props: {
|
|
14
|
+
type: SubtitleTypeProps;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const subtitleConfig: SubtitleConfig;
|
|
18
|
+
export default subtitleConfig;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsSubtitleProps } from '.';
|
|
3
|
+
|
|
4
|
+
declare const ComponentProps: Meta;
|
|
5
|
+
export default ComponentProps;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSubtitleProps>;
|
|
8
|
+
args: {
|
|
9
|
+
type: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export declare const Small: {
|
|
13
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSubtitleProps>;
|
|
14
|
+
args: {
|
|
15
|
+
type: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const Large: {
|
|
19
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSubtitleProps>;
|
|
20
|
+
args: {
|
|
21
|
+
type: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
export declare enum TextAreaSize {
|
|
2
|
+
Small = "small",
|
|
3
|
+
Medium = "medium",
|
|
4
|
+
Large = "large"
|
|
5
|
+
}
|
|
6
|
+
export declare enum TextAreaType {
|
|
7
|
+
Text = "text"
|
|
8
|
+
}
|
|
9
|
+
export declare enum TextAreaStatus {
|
|
10
|
+
None = "",
|
|
11
|
+
Error = "error",
|
|
12
|
+
Success = "success"
|
|
13
|
+
}
|
|
14
|
+
export declare enum TextAreaResize {
|
|
15
|
+
None = "none",
|
|
16
|
+
Both = "both",
|
|
17
|
+
Horizontal = "horizontal",
|
|
18
|
+
Vertical = "vertical",
|
|
19
|
+
Block = "block",
|
|
20
|
+
Inline = "inline"
|
|
21
|
+
}
|
|
22
|
+
export interface TextAreaNameProps {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
required: true;
|
|
25
|
+
}
|
|
26
|
+
export interface TextAreaTestIdProps {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TextAreaTypeProps {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: TextAreaType;
|
|
33
|
+
options: TextAreaType[];
|
|
34
|
+
}
|
|
35
|
+
export interface TextAreaAnimatedProps {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface TextAreaDisabledProps {
|
|
40
|
+
type: BooleanConstructor;
|
|
41
|
+
default: boolean;
|
|
42
|
+
}
|
|
43
|
+
export interface TextAreaSizeProps {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: TextAreaSize;
|
|
46
|
+
options: TextAreaSize[];
|
|
47
|
+
}
|
|
48
|
+
export interface TextAreaLabelProps {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
}
|
|
52
|
+
export interface TextAreaPlaceholderProps {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
}
|
|
56
|
+
export interface TextAreaValueProps {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
}
|
|
60
|
+
export interface TextAreaMinLengthProps {
|
|
61
|
+
type: NumberConstructor;
|
|
62
|
+
default: number | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface TextAreaMaxLengthProps {
|
|
65
|
+
type: NumberConstructor;
|
|
66
|
+
default: number | undefined;
|
|
67
|
+
}
|
|
68
|
+
export interface TextAreaRowsProps {
|
|
69
|
+
type: NumberConstructor;
|
|
70
|
+
default: number;
|
|
71
|
+
}
|
|
72
|
+
export interface TextAreaStatusProps {
|
|
73
|
+
type: StringConstructor;
|
|
74
|
+
default: TextAreaStatus;
|
|
75
|
+
options: TextAreaStatus[];
|
|
76
|
+
}
|
|
77
|
+
export interface TextAreaFeedbackProps {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: string;
|
|
80
|
+
}
|
|
81
|
+
export interface TextAreaDescriptionProps {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: string;
|
|
84
|
+
}
|
|
85
|
+
export interface TextAreaIconProps {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
default: string;
|
|
88
|
+
}
|
|
89
|
+
export interface TextAreaTooltipProps {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
default: string;
|
|
92
|
+
}
|
|
93
|
+
export interface TextAreaResizeProps {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: TextAreaResize;
|
|
96
|
+
options: TextAreaResize[];
|
|
97
|
+
}
|
|
98
|
+
export interface TextAreaOnChangeHandlerProps {
|
|
99
|
+
type: FunctionConstructor;
|
|
100
|
+
default: () => void;
|
|
101
|
+
}
|
|
102
|
+
export interface TextAreaConfig {
|
|
103
|
+
name: string;
|
|
104
|
+
class: string;
|
|
105
|
+
props: {
|
|
106
|
+
name: TextAreaNameProps;
|
|
107
|
+
testId: TextAreaTestIdProps;
|
|
108
|
+
type: TextAreaTypeProps;
|
|
109
|
+
animated: TextAreaAnimatedProps;
|
|
110
|
+
disabled: TextAreaDisabledProps;
|
|
111
|
+
size: TextAreaSizeProps;
|
|
112
|
+
label: TextAreaLabelProps;
|
|
113
|
+
placeholder: TextAreaPlaceholderProps;
|
|
114
|
+
value: TextAreaValueProps;
|
|
115
|
+
minLength: TextAreaMinLengthProps;
|
|
116
|
+
maxLength: TextAreaMaxLengthProps;
|
|
117
|
+
rows: TextAreaRowsProps;
|
|
118
|
+
status: TextAreaStatusProps;
|
|
119
|
+
feedback: TextAreaFeedbackProps;
|
|
120
|
+
description: TextAreaDescriptionProps;
|
|
121
|
+
icon: TextAreaIconProps;
|
|
122
|
+
tooltip: TextAreaTooltipProps;
|
|
123
|
+
resize: TextAreaResizeProps;
|
|
124
|
+
onChangeHandler: TextAreaOnChangeHandlerProps;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
declare const textAreaConfig: TextAreaConfig;
|
|
128
|
+
export default textAreaConfig;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ThemeProviderProps } from '../../molecules/ThemeProvider';
|
|
2
|
-
import { DsTextAreaProps } from '.';
|
|
3
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsTextAreaProps } from '.';
|
|
3
|
+
import { ThemeProviderProps } from '../../molecules/ThemeProvider';
|
|
4
4
|
|
|
5
5
|
declare const ComponentProps: Meta;
|
|
6
6
|
export default ComponentProps;
|
|
7
7
|
export declare const Default: {
|
|
8
|
-
render: import('
|
|
8
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsTextAreaProps>;
|
|
9
9
|
args: {
|
|
10
10
|
name: string;
|
|
11
11
|
label: string;
|
|
@@ -16,10 +16,10 @@ export declare const Default: {
|
|
|
16
16
|
rows: number;
|
|
17
17
|
disabled: boolean;
|
|
18
18
|
animated: boolean;
|
|
19
|
-
size: import('
|
|
19
|
+
size: import('.').TextAreaSize;
|
|
20
20
|
icon: string;
|
|
21
21
|
tooltip: string;
|
|
22
|
-
status: import('
|
|
22
|
+
status: import('.').TextAreaStatus;
|
|
23
23
|
feedback: string;
|
|
24
24
|
resize: string;
|
|
25
25
|
description: string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export declare enum TooltipPosition {
|
|
2
|
+
Top = "top",
|
|
3
|
+
Right = "right",
|
|
4
|
+
Bottom = "bottom",
|
|
5
|
+
Left = "left"
|
|
6
|
+
}
|
|
7
|
+
export declare enum TooltipPlacement {
|
|
8
|
+
Center = "center",
|
|
9
|
+
End = "end",
|
|
10
|
+
Initial = "initial"
|
|
11
|
+
}
|
|
12
|
+
export interface TooltipPositionProps {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: TooltipPosition;
|
|
15
|
+
options: TooltipPosition[];
|
|
16
|
+
}
|
|
17
|
+
export interface TooltipPlacementProps {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: TooltipPlacement;
|
|
20
|
+
options: TooltipPlacement[];
|
|
21
|
+
}
|
|
22
|
+
export interface TooltipTextProps {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
}
|
|
26
|
+
export interface TooltipTestIdProps {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TooltipConfig {
|
|
31
|
+
name: string;
|
|
32
|
+
class: string;
|
|
33
|
+
props: {
|
|
34
|
+
position: TooltipPositionProps;
|
|
35
|
+
placement: TooltipPlacementProps;
|
|
36
|
+
text: TooltipTextProps;
|
|
37
|
+
testId: TooltipTestIdProps;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
declare const tooltipConfig: TooltipConfig;
|
|
41
|
+
export default tooltipConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
1
|
import { default as PropTypes } from 'prop-types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
|
|
4
4
|
export interface DsTooltipProps {
|
|
5
5
|
children?: ReactNode;
|
|
@@ -7,13 +7,15 @@ export interface DsTooltipProps {
|
|
|
7
7
|
placement?: string;
|
|
8
8
|
text?: string | ReactNode;
|
|
9
9
|
className?: string;
|
|
10
|
+
testId?: string;
|
|
10
11
|
}
|
|
11
12
|
declare const DsTooltip: {
|
|
12
|
-
({ children, position, placement, text, className, }: DsTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
({ children, position, placement, text, testId, className, }: DsTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
propTypes: {
|
|
14
15
|
position: PropTypes.Requireable<string>;
|
|
15
16
|
placement: PropTypes.Requireable<string>;
|
|
16
17
|
text: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
+
testId: PropTypes.Requireable<string>;
|
|
17
19
|
};
|
|
18
20
|
displayName: string;
|
|
19
21
|
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsIconProps } from '../Icon';
|
|
3
|
+
import { DsTooltipProps } from '.';
|
|
4
|
+
|
|
5
|
+
declare const ComponentProps: Meta;
|
|
6
|
+
export default ComponentProps;
|
|
7
|
+
export declare const Default: {
|
|
8
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
9
|
+
args: {
|
|
10
|
+
text: string;
|
|
11
|
+
position: import('.').TooltipPosition;
|
|
12
|
+
placement: import('.').TooltipPlacement;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const Top: {
|
|
16
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
17
|
+
args: {
|
|
18
|
+
position: string;
|
|
19
|
+
text: string;
|
|
20
|
+
placement: import('.').TooltipPlacement;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export declare const Bottom: {
|
|
24
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
25
|
+
args: {
|
|
26
|
+
position: string;
|
|
27
|
+
text: string;
|
|
28
|
+
placement: import('.').TooltipPlacement;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const Right: {
|
|
32
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
33
|
+
args: {
|
|
34
|
+
position: string;
|
|
35
|
+
text: string;
|
|
36
|
+
placement: import('.').TooltipPlacement;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export declare const Left: {
|
|
40
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
41
|
+
args: {
|
|
42
|
+
position: string;
|
|
43
|
+
text: string;
|
|
44
|
+
placement: import('.').TooltipPlacement;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ContainerFluidProps {
|
|
2
|
+
type: BooleanConstructor;
|
|
3
|
+
default: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface ContainerTestIdProps {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ContainerConfig {
|
|
10
|
+
name: string;
|
|
11
|
+
class: string;
|
|
12
|
+
props: {
|
|
13
|
+
fluid: ContainerFluidProps;
|
|
14
|
+
testId: ContainerTestIdProps;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const containerConfig: ContainerConfig;
|
|
18
|
+
export default containerConfig;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { DsContainerProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsContainerProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsContainerProps>;
|
|
8
8
|
parameters: {
|
|
9
9
|
theme: string;
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
export declare const ContainerFluid: {
|
|
13
|
-
render: import('
|
|
13
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsContainerProps>;
|
|
14
14
|
parameters: {
|
|
15
15
|
theme: string;
|
|
16
16
|
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare enum FlexLayoutJustifyContent {
|
|
2
|
+
Stretch = "stretch",
|
|
3
|
+
FlexStart = "flex-start",
|
|
4
|
+
FlexEnd = "flex-end",
|
|
5
|
+
Center = "center",
|
|
6
|
+
SpaceAround = "space-around",
|
|
7
|
+
SpaceBetween = "space-between"
|
|
8
|
+
}
|
|
9
|
+
export declare enum FlexLayoutAlignItems {
|
|
10
|
+
Stretch = "stretch",
|
|
11
|
+
FlexStart = "flex-start",
|
|
12
|
+
FlexEnd = "flex-end",
|
|
13
|
+
Center = "center"
|
|
14
|
+
}
|
|
15
|
+
export declare enum FlexLayoutDirection {
|
|
16
|
+
Row = "row",
|
|
17
|
+
Column = "column",
|
|
18
|
+
RowReverse = "row-reverse",
|
|
19
|
+
ColumnReverse = "column-reverse"
|
|
20
|
+
}
|
|
21
|
+
export declare enum FlexLayoutWrap {
|
|
22
|
+
NoWrap = "nowrap",
|
|
23
|
+
Wrap = "wrap",
|
|
24
|
+
WrapReverse = "wrap-reverse"
|
|
25
|
+
}
|
|
26
|
+
export declare enum FlexLayoutGap {
|
|
27
|
+
Quark = "quark",
|
|
28
|
+
Nano = "nano",
|
|
29
|
+
XXXS = "xxxs",
|
|
30
|
+
XXS = "xxs",
|
|
31
|
+
XS = "xs",
|
|
32
|
+
SM = "sm",
|
|
33
|
+
MD = "md",
|
|
34
|
+
LG = "lg",
|
|
35
|
+
XL = "xl",
|
|
36
|
+
XXL = "xxl",
|
|
37
|
+
XXXL = "xxxl"
|
|
38
|
+
}
|
|
39
|
+
export interface FlexLayoutJustifyContentProps {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: FlexLayoutJustifyContent;
|
|
42
|
+
required: true;
|
|
43
|
+
options: FlexLayoutJustifyContent[];
|
|
44
|
+
}
|
|
45
|
+
export interface FlexLayoutAlignItemsProps {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: FlexLayoutAlignItems;
|
|
48
|
+
required: true;
|
|
49
|
+
options: FlexLayoutAlignItems[];
|
|
50
|
+
}
|
|
51
|
+
export interface FlexLayoutDirectionProps {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: FlexLayoutDirection;
|
|
54
|
+
required: true;
|
|
55
|
+
options: FlexLayoutDirection[];
|
|
56
|
+
}
|
|
57
|
+
export interface FlexLayoutWrapProps {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: FlexLayoutWrap;
|
|
60
|
+
required: false;
|
|
61
|
+
options: FlexLayoutWrap[];
|
|
62
|
+
}
|
|
63
|
+
export interface FlexLayoutClassNameProps {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
}
|
|
67
|
+
export interface FlexLayoutWidthProps {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
}
|
|
71
|
+
export interface FlexLayoutHeightProps {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
}
|
|
75
|
+
export interface FlexLayoutGapProps {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
options: FlexLayoutGap[];
|
|
79
|
+
}
|
|
80
|
+
export interface FlexLayoutConfig {
|
|
81
|
+
name: string;
|
|
82
|
+
class: string;
|
|
83
|
+
props: {
|
|
84
|
+
justifyContent: FlexLayoutJustifyContentProps;
|
|
85
|
+
alignItems: FlexLayoutAlignItemsProps;
|
|
86
|
+
flexDirection: FlexLayoutDirectionProps;
|
|
87
|
+
flexWrap: FlexLayoutWrapProps;
|
|
88
|
+
className: FlexLayoutClassNameProps;
|
|
89
|
+
width: FlexLayoutWidthProps;
|
|
90
|
+
height: FlexLayoutHeightProps;
|
|
91
|
+
gap: FlexLayoutGapProps;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
declare const flexLayoutConfig: FlexLayoutConfig;
|
|
95
|
+
export default flexLayoutConfig;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsFlexLayoutProps } from '.';
|
|
3
|
+
|
|
4
|
+
declare const componentProps: Meta;
|
|
5
|
+
export default componentProps;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsFlexLayoutProps>;
|
|
8
|
+
};
|
|
9
|
+
export declare const WithComponents: {
|
|
10
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsFlexLayoutProps>;
|
|
11
|
+
parameters: {
|
|
12
|
+
theme: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const WithFlexGrow: {
|
|
16
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsFlexLayoutProps>;
|
|
17
|
+
parameters: {
|
|
18
|
+
theme: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './FlexLayout';
|
|
2
|
+
export * from './FlexElement';
|
|
3
|
+
export * from './FlexLayout.config';
|
|
4
|
+
export * from './FlexElement.config';
|
|
5
|
+
export { default as DsFlexLayout } from './FlexLayout';
|
|
6
|
+
export { default as DsFlexElement } from './FlexElement';
|
|
7
|
+
export { default as flexLayoutConfig } from './FlexLayout.config';
|
|
8
|
+
export { default as flexElementConfig } from './FlexElement.config';
|