@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,17 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsInlineEditableProps } 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, DsInlineEditableProps>;
|
|
8
|
+
args: {
|
|
9
|
+
name: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
prefix?: string;
|
|
12
|
+
sufix?: string;
|
|
13
|
+
min?: string;
|
|
14
|
+
max?: string;
|
|
15
|
+
onChangeHandler?: (event: React.FormEvent<HTMLInputElement>) => void;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default as DsInlineEditable } from './InlineEditable';
|
|
2
|
+
export type { DsInlineEditableProps } from './InlineEditable';
|
|
3
|
+
export { default as inlineEditableConfig } from './InlineEditable.config';
|
|
4
|
+
export type { InlineEditableConfig, NameProps, ValueProps, MinProps, MaxProps, PrefixProps, SuffixProps, OnChangeHandlerProps, DsInlineEditableProps as InlineEditableConfigProps, } from './InlineEditable.config';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare enum ModalElevation {
|
|
2
|
+
Elevation1 = 1,
|
|
3
|
+
Elevation2 = 2,
|
|
4
|
+
Elevation3 = 3,
|
|
5
|
+
Elevation4 = 4
|
|
6
|
+
}
|
|
7
|
+
export interface ModalElevationProps {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
options: readonly ModalElevation[];
|
|
10
|
+
}
|
|
11
|
+
export declare enum ModalVariant {
|
|
12
|
+
Squared = "squared",
|
|
13
|
+
Rounded = "rounded"
|
|
14
|
+
}
|
|
15
|
+
export interface ModalVariantProps {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: ModalVariant;
|
|
18
|
+
options: ModalVariant[];
|
|
19
|
+
}
|
|
20
|
+
export interface ModalCancelBtnTextProps {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
}
|
|
24
|
+
export interface ModalConfirmBtnTextProps {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ModalIsModalOpenProps {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface ModalConfig {
|
|
33
|
+
name: string;
|
|
34
|
+
class: string;
|
|
35
|
+
props: {
|
|
36
|
+
elevation: ModalElevationProps;
|
|
37
|
+
variant: ModalVariantProps;
|
|
38
|
+
cancelBtnText: ModalCancelBtnTextProps;
|
|
39
|
+
confirmBtnText: ModalConfirmBtnTextProps;
|
|
40
|
+
isModalOpen: ModalIsModalOpenProps;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
declare const modalConfig: ModalConfig;
|
|
44
|
+
export default modalConfig;
|
|
@@ -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 DsModalProps {
|
|
5
5
|
className?: string;
|
|
@@ -20,8 +20,8 @@ declare const DsModal: {
|
|
|
20
20
|
firstButtonText: PropTypes.Requireable<string>;
|
|
21
21
|
confirmBtnText: PropTypes.Requireable<string>;
|
|
22
22
|
cancelBtnText: PropTypes.Requireable<string>;
|
|
23
|
-
variant: PropTypes.Requireable<import('./Modal.config').
|
|
24
|
-
elevation: PropTypes.Requireable<
|
|
23
|
+
variant: PropTypes.Requireable<import('./Modal.config').ModalVariant>;
|
|
24
|
+
elevation: PropTypes.Requireable<import('./Modal.config').ModalElevation>;
|
|
25
25
|
isModalOpen: PropTypes.Requireable<boolean>;
|
|
26
26
|
title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
27
27
|
content: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { DsModalProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsModalProps } 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, DsModalProps>;
|
|
8
8
|
args: {
|
|
9
9
|
onClose: import('@storybook/addon-actions').HandlerFunction;
|
|
10
10
|
isModalOpen: boolean;
|
|
11
|
-
variant: import('
|
|
11
|
+
variant: import('.').ModalVariant;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
export declare const ModalSquared: {
|
|
15
|
-
render: import('
|
|
15
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsModalProps>;
|
|
16
16
|
args: {
|
|
17
17
|
variant: string;
|
|
18
18
|
onClose: import('@storybook/addon-actions').HandlerFunction;
|
|
@@ -20,7 +20,7 @@ export declare const ModalSquared: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export declare const ModalWithButtons: {
|
|
23
|
-
render: import('
|
|
23
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsModalProps>;
|
|
24
24
|
args: {
|
|
25
25
|
cancelBtnText: string;
|
|
26
26
|
confirmBtnText: string;
|
|
@@ -28,11 +28,11 @@ export declare const ModalWithButtons: {
|
|
|
28
28
|
onConfirm: import('@storybook/addon-actions').HandlerFunction;
|
|
29
29
|
onClose: import('@storybook/addon-actions').HandlerFunction;
|
|
30
30
|
isModalOpen: boolean;
|
|
31
|
-
variant: import('
|
|
31
|
+
variant: import('.').ModalVariant;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
export declare const ModalSquaredWithButtons: {
|
|
35
|
-
render: import('
|
|
35
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsModalProps>;
|
|
36
36
|
args: {
|
|
37
37
|
variant: string;
|
|
38
38
|
cancelBtnText: string;
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly Rounded: "rounded";
|
|
12
|
-
readonly Squared: "squared";
|
|
13
|
-
};
|
|
14
|
-
export type NotificationVariant = (typeof NotificationVariant)[keyof typeof NotificationVariant];
|
|
1
|
+
export declare enum NotificationType {
|
|
2
|
+
Success = "success",
|
|
3
|
+
Danger = "danger",
|
|
4
|
+
Warning = "warning",
|
|
5
|
+
Info = "info"
|
|
6
|
+
}
|
|
7
|
+
export declare enum NotificationVariant {
|
|
8
|
+
Rounded = "rounded",
|
|
9
|
+
Squared = "squared"
|
|
10
|
+
}
|
|
15
11
|
export interface NotificationTypeProps {
|
|
16
12
|
type: StringConstructor;
|
|
17
13
|
default: NotificationType;
|
|
@@ -49,22 +45,7 @@ export interface TestIdProps {
|
|
|
49
45
|
type: StringConstructor;
|
|
50
46
|
default: string;
|
|
51
47
|
}
|
|
52
|
-
export interface
|
|
53
|
-
className?: string;
|
|
54
|
-
type?: string;
|
|
55
|
-
variant?: string;
|
|
56
|
-
id: string;
|
|
57
|
-
children?: ReactNode;
|
|
58
|
-
message?: ReactNode;
|
|
59
|
-
autoClose?: boolean;
|
|
60
|
-
autoCloseTimer?: number;
|
|
61
|
-
dismissible?: boolean;
|
|
62
|
-
elevation?: number;
|
|
63
|
-
progressBar?: boolean;
|
|
64
|
-
testId?: string;
|
|
65
|
-
handleClose?: (event: React.MouseEvent) => void;
|
|
66
|
-
}
|
|
67
|
-
export interface DsNotificationConfig {
|
|
48
|
+
export interface NotificationConfig {
|
|
68
49
|
name: string;
|
|
69
50
|
class: string;
|
|
70
51
|
props: {
|
|
@@ -79,5 +60,5 @@ export interface DsNotificationConfig {
|
|
|
79
60
|
testId: TestIdProps;
|
|
80
61
|
};
|
|
81
62
|
}
|
|
82
|
-
declare const
|
|
83
|
-
export default
|
|
63
|
+
declare const notificationConfig: NotificationConfig;
|
|
64
|
+
export default notificationConfig;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface DsNotificationProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
variant?: string;
|
|
7
|
+
id: string;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
message?: ReactNode;
|
|
10
|
+
autoClose?: boolean;
|
|
11
|
+
autoCloseTimer?: number;
|
|
12
|
+
dismissible?: boolean;
|
|
13
|
+
elevation?: number;
|
|
14
|
+
progressBar?: boolean;
|
|
15
|
+
testId?: string;
|
|
16
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
17
|
+
}
|
|
18
|
+
declare const DsNotification: {
|
|
19
|
+
({ className, type, variant, id, children, message, autoClose, autoCloseTimer, dismissible, elevation, progressBar, handleClose, testId, }: DsNotificationProps): import("react/jsx-runtime").JSX.Element | null;
|
|
20
|
+
displayName: string;
|
|
21
|
+
};
|
|
22
|
+
export default DsNotification;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsNotificationProps } from './Notification';
|
|
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, DsNotificationProps>;
|
|
8
|
+
args: {
|
|
9
|
+
className?: string;
|
|
10
|
+
type?: string;
|
|
11
|
+
variant?: string;
|
|
12
|
+
id: string;
|
|
13
|
+
children?: import('react').ReactNode;
|
|
14
|
+
message?: import('react').ReactNode;
|
|
15
|
+
autoClose?: boolean;
|
|
16
|
+
autoCloseTimer?: number;
|
|
17
|
+
dismissible?: boolean;
|
|
18
|
+
elevation?: number;
|
|
19
|
+
progressBar?: boolean;
|
|
20
|
+
testId?: string;
|
|
21
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export declare const NotificationSuccess: {
|
|
25
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsNotificationProps>;
|
|
26
|
+
args: {
|
|
27
|
+
type: string;
|
|
28
|
+
className?: string;
|
|
29
|
+
variant?: string;
|
|
30
|
+
id: string;
|
|
31
|
+
children?: import('react').ReactNode;
|
|
32
|
+
message?: import('react').ReactNode;
|
|
33
|
+
autoClose?: boolean;
|
|
34
|
+
autoCloseTimer?: number;
|
|
35
|
+
dismissible?: boolean;
|
|
36
|
+
elevation?: number;
|
|
37
|
+
progressBar?: boolean;
|
|
38
|
+
testId?: string;
|
|
39
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export declare const NotificationDanger: {
|
|
43
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsNotificationProps>;
|
|
44
|
+
args: {
|
|
45
|
+
type: string;
|
|
46
|
+
className?: string;
|
|
47
|
+
variant?: string;
|
|
48
|
+
id: string;
|
|
49
|
+
children?: import('react').ReactNode;
|
|
50
|
+
message?: import('react').ReactNode;
|
|
51
|
+
autoClose?: boolean;
|
|
52
|
+
autoCloseTimer?: number;
|
|
53
|
+
dismissible?: boolean;
|
|
54
|
+
elevation?: number;
|
|
55
|
+
progressBar?: boolean;
|
|
56
|
+
testId?: string;
|
|
57
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
export declare const NotificationWarning: {
|
|
61
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsNotificationProps>;
|
|
62
|
+
args: {
|
|
63
|
+
type: string;
|
|
64
|
+
className?: string;
|
|
65
|
+
variant?: string;
|
|
66
|
+
id: string;
|
|
67
|
+
children?: import('react').ReactNode;
|
|
68
|
+
message?: import('react').ReactNode;
|
|
69
|
+
autoClose?: boolean;
|
|
70
|
+
autoCloseTimer?: number;
|
|
71
|
+
dismissible?: boolean;
|
|
72
|
+
elevation?: number;
|
|
73
|
+
progressBar?: boolean;
|
|
74
|
+
testId?: string;
|
|
75
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
export declare const NotificationInfo: {
|
|
79
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsNotificationProps>;
|
|
80
|
+
args: {
|
|
81
|
+
type: string;
|
|
82
|
+
className?: string;
|
|
83
|
+
variant?: string;
|
|
84
|
+
id: string;
|
|
85
|
+
children?: import('react').ReactNode;
|
|
86
|
+
message?: import('react').ReactNode;
|
|
87
|
+
autoClose?: boolean;
|
|
88
|
+
autoCloseTimer?: number;
|
|
89
|
+
dismissible?: boolean;
|
|
90
|
+
elevation?: number;
|
|
91
|
+
progressBar?: boolean;
|
|
92
|
+
testId?: string;
|
|
93
|
+
handleClose?: (event: React.MouseEvent) => void;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface PasswordConfirmationValidationItem {
|
|
2
|
+
title: string;
|
|
3
|
+
rule: (_password: string) => boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface PasswordConfirmationOnChangeProps {
|
|
6
|
+
type: FunctionConstructor;
|
|
7
|
+
default: () => void;
|
|
8
|
+
}
|
|
9
|
+
export interface PasswordConfirmationValidationListProps {
|
|
10
|
+
type: ArrayConstructor;
|
|
11
|
+
default: PasswordConfirmationValidationItem[];
|
|
12
|
+
}
|
|
13
|
+
export interface PasswordConfirmationInstructionLabelProps {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
}
|
|
17
|
+
export interface PasswordConfirmationTestIdProps {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
}
|
|
21
|
+
export interface PasswordConfirmationConfig {
|
|
22
|
+
name: string;
|
|
23
|
+
class: string;
|
|
24
|
+
props: {
|
|
25
|
+
onChange: PasswordConfirmationOnChangeProps;
|
|
26
|
+
validationList: PasswordConfirmationValidationListProps;
|
|
27
|
+
instructionLabel: PasswordConfirmationInstructionLabelProps;
|
|
28
|
+
testId: PasswordConfirmationTestIdProps;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
declare const passwordConfirmationConfig: PasswordConfirmationConfig;
|
|
32
|
+
export default passwordConfirmationConfig;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ThemeProviderProps } from '../ThemeProvider';
|
|
2
|
-
import { DsPasswordConfirmationProps } from '.';
|
|
3
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsPasswordConfirmationProps } from '.';
|
|
3
|
+
import { ThemeProviderProps } from '../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 & DsPasswordConfirmationProps>;
|
|
9
9
|
args: {
|
|
10
10
|
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
11
|
-
validationList: import('./PasswordConfirmation.config').
|
|
11
|
+
validationList: import('./PasswordConfirmation.config').PasswordConfirmationValidationItem[];
|
|
12
12
|
instructionLabel: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export interface DsStepProps {
|
|
2
|
+
index?: number;
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
icon: string;
|
|
5
|
+
label: string;
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
3
8
|
export interface DsStepperProps {
|
|
4
9
|
steps: Array<DsStepProps>;
|
|
5
10
|
selectedStep?: number;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DsStepperProps } from './Stepper';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsStepperProps } from './Stepper';
|
|
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, DsStepperProps>;
|
|
8
8
|
args: {
|
|
9
9
|
selectedStep: number;
|
|
10
10
|
steps: ({
|
|
@@ -19,3 +19,26 @@ export interface DsTableRowProps {
|
|
|
19
19
|
columns: Array<DsTableColumnsProps>;
|
|
20
20
|
item: DsTableCoverageItem;
|
|
21
21
|
}
|
|
22
|
+
export interface HeaderProps {
|
|
23
|
+
type: ArrayConstructor;
|
|
24
|
+
default: unknown[];
|
|
25
|
+
}
|
|
26
|
+
export interface ItemsProps {
|
|
27
|
+
type: ArrayConstructor;
|
|
28
|
+
default: unknown[];
|
|
29
|
+
}
|
|
30
|
+
export interface ColumnsProps {
|
|
31
|
+
type: ArrayConstructor;
|
|
32
|
+
default: unknown[];
|
|
33
|
+
}
|
|
34
|
+
export interface TableConfig {
|
|
35
|
+
name: string;
|
|
36
|
+
class: string;
|
|
37
|
+
props: {
|
|
38
|
+
header: HeaderProps;
|
|
39
|
+
items: ItemsProps;
|
|
40
|
+
columns: ColumnsProps;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
declare const tableConfig: TableConfig;
|
|
44
|
+
export default tableConfig;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsTableRowProps } from './Table.config';
|
|
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, DsTableRowProps>;
|
|
8
|
+
args: {
|
|
9
|
+
columns: import('.').DsTableColumnsProps[];
|
|
10
|
+
data: import('.').DsTableCoverageItem[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export declare enum TabsColor {
|
|
2
|
+
None = "",
|
|
3
|
+
Primary = "primary",
|
|
4
|
+
Secondary = "secondary",
|
|
5
|
+
Neutral = "neutral",
|
|
6
|
+
Success = "success",
|
|
7
|
+
Warning = "warning",
|
|
8
|
+
Danger = "danger",
|
|
9
|
+
Info = "info"
|
|
10
|
+
}
|
|
11
|
+
export interface TabsTabsProps {
|
|
12
|
+
type: ArrayConstructor;
|
|
13
|
+
required: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface TabsSelectedTabProps {
|
|
16
|
+
type: NumberConstructor;
|
|
17
|
+
default: number;
|
|
18
|
+
}
|
|
19
|
+
export interface TabsColorProps {
|
|
20
|
+
type: StringConstructor;
|
|
21
|
+
default: TabsColor;
|
|
22
|
+
options: TabsColor[];
|
|
23
|
+
}
|
|
24
|
+
export interface TabsClassNameProps {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
}
|
|
28
|
+
export interface TabsOnChangeProps {
|
|
29
|
+
type: FunctionConstructor;
|
|
30
|
+
default: () => void;
|
|
31
|
+
}
|
|
32
|
+
export interface TabsConfig {
|
|
33
|
+
name: string;
|
|
34
|
+
class: string;
|
|
35
|
+
props: {
|
|
36
|
+
tabs: TabsTabsProps;
|
|
37
|
+
selectedTab: TabsSelectedTabProps;
|
|
38
|
+
color: TabsColorProps;
|
|
39
|
+
className: TabsClassNameProps;
|
|
40
|
+
onChange: TabsOnChangeProps;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
declare const tabsConfig: TabsConfig;
|
|
44
|
+
export default tabsConfig;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { DsTabProps } from '../../../types/types';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
|
|
3
|
+
export interface DsTabProps {
|
|
4
|
+
active?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
color?: string;
|
|
7
|
+
content: React.ReactNode | string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
name?: string;
|
|
10
|
+
index: number;
|
|
11
|
+
title: React.ReactNode | string;
|
|
12
|
+
onClick?: (index: number) => void;
|
|
13
|
+
}
|
|
4
14
|
export interface DsTabsProps {
|
|
5
15
|
tabs: DsTabProps[];
|
|
6
16
|
selectedTab?: number;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { DsTabsProps } from './Tabs';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsTabsProps } from './Tabs';
|
|
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, DsTabsProps>;
|
|
8
8
|
args: {
|
|
9
|
-
color: import('
|
|
9
|
+
color: import('../../../main').TabsColor;
|
|
10
10
|
selectedTab: number;
|
|
11
11
|
tabs: ({
|
|
12
12
|
name: string;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum Theme {
|
|
2
|
+
Light = "light",
|
|
3
|
+
Dark = "dark"
|
|
4
|
+
}
|
|
5
|
+
export declare enum Library {
|
|
6
|
+
Core = "core",
|
|
7
|
+
Marketing = "mkt"
|
|
8
|
+
}
|
|
9
|
+
export interface ThemeProps {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: Theme;
|
|
12
|
+
options: Theme[];
|
|
13
|
+
}
|
|
14
|
+
export interface LibraryProps {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: Library;
|
|
17
|
+
options: Library[];
|
|
18
|
+
}
|
|
19
|
+
export interface ThemeProviderConfig {
|
|
20
|
+
name: string;
|
|
21
|
+
class: string;
|
|
22
|
+
props: {
|
|
23
|
+
theme: ThemeProps;
|
|
24
|
+
library: LibraryProps;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
declare const themeProviderConfig: ThemeProviderConfig;
|
|
28
|
+
export default themeProviderConfig;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare enum NotificationListPosition {
|
|
2
|
+
TopLeft = "top-left",
|
|
3
|
+
TopCenter = "top-center",
|
|
4
|
+
TopRight = "top-right",
|
|
5
|
+
BottomLeft = "bottom-left",
|
|
6
|
+
BottomCenter = "bottom-center",
|
|
7
|
+
BottomRight = "bottom-right"
|
|
8
|
+
}
|
|
9
|
+
export interface NotificationListPositionProps {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: NotificationListPosition;
|
|
12
|
+
options: NotificationListPosition[];
|
|
13
|
+
}
|
|
14
|
+
export interface NotificationListFluidProps {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface NotificationListClassNameProps {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
}
|
|
22
|
+
export interface NotificationListConfig {
|
|
23
|
+
name: string;
|
|
24
|
+
class: string;
|
|
25
|
+
props: {
|
|
26
|
+
position: NotificationListPositionProps;
|
|
27
|
+
fluid: NotificationListFluidProps;
|
|
28
|
+
className: NotificationListClassNameProps;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
declare const notificationListConfig: NotificationListConfig;
|
|
32
|
+
export default notificationListConfig;
|