@akad/design-system 0.2.0-beta.9 → 1.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/core.css +1 -0
- package/css/package.json +9 -1
- package/css/theme-aon.css +1 -0
- package/css/theme-bees.css +1 -0
- package/css/theme-bmc.css +1 -0
- package/css/theme-default.css +1 -0
- package/css/theme-linker.css +1 -0
- package/css/theme-oggi.css +1 -0
- package/css/theme-streetgo.css +1 -0
- package/package.json +1 -1
- package/react/package.json +1 -1
- package/react/react-lib.js +2703 -2820
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Button/Button.config.d.ts +106 -0
- package/react/{components → src/components}/atoms/Button/Button.d.ts +11 -7
- package/react/{components → src/components}/atoms/Button/Button.stories.d.ts +2 -2
- package/react/src/components/atoms/Button/index.d.ts +4 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +6 -0
- package/react/src/components/atoms/Caption/index.d.ts +4 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +92 -0
- package/react/{components → src/components}/atoms/Card/Card.d.ts +8 -4
- package/react/src/components/atoms/Card/index.d.ts +4 -0
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.config.d.ts +18 -18
- package/react/src/components/atoms/Checkbox/index.d.ts +4 -0
- package/react/src/components/atoms/Heading/Heading.config.d.ts +22 -0
- package/react/src/components/atoms/Heading/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +30 -0
- package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +4 -0
- package/react/src/components/atoms/Icon/Icon.config.d.ts +125 -0
- package/react/{components → src/components}/atoms/Icon/Icon.d.ts +3 -3
- package/react/{components → src/components}/atoms/Icon/Icon.stories.d.ts +3 -3
- package/react/src/components/atoms/Icon/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +146 -0
- package/react/{components → src/components}/atoms/Input/Input.stories.d.ts +2 -2
- package/react/src/components/atoms/Input/index.d.ts +4 -0
- package/react/src/components/atoms/Loading/Loading.config.d.ts +52 -0
- package/react/{components → src/components}/atoms/Loading/Loading.d.ts +1 -1
- package/react/src/components/atoms/Loading/index.d.ts +4 -0
- package/react/src/components/atoms/Option/Option.config.d.ts +53 -0
- package/react/src/components/atoms/Option/index.d.ts +4 -0
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +19 -0
- package/react/src/components/atoms/Paragraph/index.d.ts +4 -0
- package/react/src/components/atoms/Progress/Progress.config.d.ts +30 -0
- package/react/src/components/atoms/Progress/index.d.ts +4 -0
- package/react/src/components/atoms/Select/Select.config.d.ts +121 -0
- package/react/{components → src/components}/atoms/Select/Select.stories.d.ts +4 -4
- package/react/src/components/atoms/Select/index.d.ts +4 -0
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +18 -0
- package/react/src/components/atoms/Subtitle/index.d.ts +4 -0
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +128 -0
- package/react/{components → src/components}/atoms/TextArea/TextArea.d.ts +0 -1
- package/react/{components → src/components}/atoms/TextArea/TextArea.stories.d.ts +2 -2
- package/react/src/components/atoms/TextArea/index.d.ts +4 -0
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +41 -0
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.d.ts +3 -1
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.stories.d.ts +6 -6
- package/react/src/components/atoms/Tooltip/index.d.ts +4 -0
- package/react/src/components/bosons/Container/Container.config.d.ts +18 -0
- package/react/src/components/bosons/Container/index.d.ts +4 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexElement.config.d.ts +2 -2
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +95 -0
- package/react/src/components/bosons/FlexLayout/index.d.ts +8 -0
- package/react/{components → src/components}/bosons/GridLayout/GridElement.config.d.ts +2 -2
- package/react/{components → src/components}/bosons/GridLayout/GridElement.d.ts +6 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +80 -0
- package/react/{components → src/components}/bosons/GridLayout/GridLayout.d.ts +3 -3
- package/react/src/components/bosons/GridLayout/index.d.ts +8 -0
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +24 -0
- package/react/{components → src/components}/bosons/Spacer/Spacer.stories.d.ts +2 -2
- package/react/src/components/bosons/Spacer/index.d.ts +4 -0
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +27 -0
- package/react/src/components/bosons/Wrapper/index.d.ts +4 -0
- package/react/src/components/index.d.ts +37 -0
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +31 -0
- package/react/{components → src/components}/molecules/Accordion/Accordion.d.ts +2 -2
- package/react/{components → src/components}/molecules/Accordion/Accordion.stories.d.ts +1 -1
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +28 -0
- package/react/{components → src/components}/molecules/Accordion/AccordionItem.d.ts +7 -1
- package/react/src/components/molecules/Accordion/index.d.ts +8 -0
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.config.d.ts +2 -2
- package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
- package/react/{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/src/components/molecules/EditableSelect/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Indicator/Indicator.config.d.ts +3 -3
- package/react/src/components/molecules/Indicator/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts +3 -3
- package/react/src/components/molecules/InlineEditable/index.d.ts +4 -0
- package/react/src/components/molecules/Modal/Modal.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Modal/Modal.d.ts +2 -2
- package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +2 -2
- package/react/src/components/molecules/Modal/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Notification/Notification.config.d.ts +13 -32
- package/react/src/components/molecules/Notification/Notification.d.ts +22 -0
- package/react/{components → src/components}/molecules/Notification/Notification.stories.d.ts +1 -1
- package/react/src/components/molecules/Notification/index.d.ts +4 -0
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +32 -0
- package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +1 -1
- package/react/src/components/molecules/PasswordConfirmation/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Stepper/Stepper.config.d.ts +2 -2
- package/react/{components → src/components}/molecules/Stepper/Stepper.d.ts +7 -2
- package/react/src/components/molecules/Stepper/index.d.ts +4 -0
- package/react/{components/molecules/Table/Table.types.d.ts → src/components/molecules/Table/Table.config.d.ts} +23 -0
- package/react/{components → src/components}/molecules/Table/Table.d.ts +1 -1
- package/react/{components → src/components}/molecules/Table/Table.stories.d.ts +3 -3
- package/react/{components → src/components}/molecules/Table/TableRow.d.ts +1 -1
- package/react/{components → src/components}/molecules/Table/dataTable.mock.d.ts +1 -1
- package/react/src/components/molecules/Table/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Tabs/Tab.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Tabs/Tabs.d.ts +11 -1
- package/react/{components → src/components}/molecules/Tabs/Tabs.stories.d.ts +1 -1
- package/react/src/components/molecules/Tabs/index.d.ts +4 -0
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +28 -0
- package/react/src/components/organisms/NotificationList/NotificationList.config.d.ts +32 -0
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.d.ts +1 -1
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +1 -1
- package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
- package/react/{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 +87 -0
- package/scss/core/helpers/colors.scss +167 -0
- package/scss/core/helpers/display.scss +177 -0
- package/scss/core/helpers/elevation.scss +16 -0
- package/scss/core/helpers/index.scss +6 -0
- package/scss/core/helpers/order.scss +20 -0
- package/scss/core/index.scss +18 -0
- package/scss/core/mixins/breakpoints.scss +90 -0
- package/scss/core/mixins/grid.scss +8 -0
- package/scss/core/mixins/index.scss +5 -0
- package/scss/core/tokens/borders.scss +12 -0
- package/scss/core/tokens/breakpoints.scss +20 -0
- package/scss/core/tokens/icons.scss +2 -0
- package/scss/core/tokens/index.scss +8 -0
- package/scss/core/tokens/opacity.scss +6 -0
- package/scss/core/tokens/shadows.scss +15 -0
- package/scss/core/tokens/spacings.scss +41 -0
- package/scss/core/tokens/typography.scss +20 -0
- package/scss/themes/aon/colors.scss +83 -0
- package/scss/themes/aon/index.scss +54 -0
- package/scss/themes/aon/typography.scss +7 -0
- package/scss/themes/bees/colors.scss +32 -0
- package/scss/themes/bees/index.scss +51 -0
- package/scss/themes/bees/typography.scss +6 -0
- package/scss/themes/bmc/colors.scss +81 -0
- package/scss/themes/bmc/index.scss +54 -0
- package/scss/themes/bmc/typography.scss +5 -0
- package/scss/themes/default/colors.scss +109 -0
- package/scss/themes/default/index.scss +80 -0
- package/scss/themes/default/typography.scss +7 -0
- package/scss/themes/linker/colors.scss +35 -0
- package/scss/themes/linker/index.scss +30 -0
- package/scss/themes/linker/typography.scss +6 -0
- package/scss/themes/oggi/colors.scss +81 -0
- package/scss/themes/oggi/index.scss +54 -0
- package/scss/themes/oggi/typography.scss +5 -0
- package/scss/themes/streetgo/colors.scss +81 -0
- package/scss/themes/streetgo/index.scss +54 -0
- package/scss/themes/streetgo/typography.scss +5 -0
- package/css/aon-theme.css +0 -1
- package/css/bees-theme.css +0 -1
- package/css/bmc-theme.css +0 -1
- package/css/default-theme.css +0 -1
- package/css/linker-theme.css +0 -1
- package/css/oggi-theme.css +0 -1
- package/css/streetgo-theme.css +0 -1
- package/react/components/atoms/Button/Button.config.d.ts +0 -94
- package/react/components/atoms/Button/index.d.ts +0 -4
- package/react/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/components/atoms/Caption/index.d.ts +0 -4
- package/react/components/atoms/Card/Card.config.d.ts +0 -76
- package/react/components/atoms/Card/index.d.ts +0 -4
- package/react/components/atoms/Checkbox/index.d.ts +0 -5
- package/react/components/atoms/Heading/Heading.config.d.ts +0 -23
- package/react/components/atoms/Heading/index.d.ts +0 -4
- package/react/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +0 -32
- package/react/components/atoms/HorizontalRule/index.d.ts +0 -4
- package/react/components/atoms/Icon/Icon.config.d.ts +0 -129
- package/react/components/atoms/Icon/index.d.ts +0 -4
- package/react/components/atoms/Input/Input.config.d.ts +0 -151
- package/react/components/atoms/Input/index.d.ts +0 -4
- package/react/components/atoms/Loading/Loading.config.d.ts +0 -54
- package/react/components/atoms/Loading/index.d.ts +0 -4
- package/react/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/components/atoms/Option/index.d.ts +0 -4
- package/react/components/atoms/Paragraph/Paragraph.config.d.ts +0 -20
- package/react/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/components/atoms/Progress/Progress.config.d.ts +0 -31
- package/react/components/atoms/Progress/index.d.ts +0 -4
- package/react/components/atoms/Select/Select.config.d.ts +0 -125
- package/react/components/atoms/Select/index.d.ts +0 -4
- package/react/components/atoms/Subtitle/Subtitle.config.d.ts +0 -19
- package/react/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/components/atoms/TextArea/TextArea.config.d.ts +0 -132
- package/react/components/atoms/TextArea/index.d.ts +0 -4
- package/react/components/atoms/Tooltip/Tooltip.config.d.ts +0 -38
- package/react/components/atoms/Tooltip/index.d.ts +0 -4
- package/react/components/bosons/Container/Container.config.d.ts +0 -18
- package/react/components/bosons/Container/index.d.ts +0 -4
- package/react/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -100
- package/react/components/bosons/FlexLayout/index.d.ts +0 -5
- package/react/components/bosons/GridLayout/GridLayout.config.d.ts +0 -82
- package/react/components/bosons/GridLayout/index.d.ts +0 -5
- package/react/components/bosons/Spacer/Spacer.config.d.ts +0 -25
- package/react/components/bosons/Spacer/index.d.ts +0 -4
- package/react/components/bosons/Wrapper/Wrapper.config.d.ts +0 -28
- package/react/components/bosons/Wrapper/index.d.ts +0 -4
- package/react/components/index.d.ts +0 -39
- package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
- package/react/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/components/molecules/Accordion/index.d.ts +0 -5
- package/react/components/molecules/ActiveTags/index.d.ts +0 -4
- package/react/components/molecules/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/index.d.ts +0 -4
- package/react/components/molecules/Modal/Modal.config.d.ts +0 -41
- package/react/components/molecules/Modal/index.d.ts +0 -4
- package/react/components/molecules/Notification/Notification.d.ts +0 -7
- package/react/components/molecules/Notification/index.d.ts +0 -5
- package/react/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +0 -32
- package/react/components/molecules/PasswordConfirmation/index.d.ts +0 -4
- package/react/components/molecules/Stepper/index.d.ts +0 -4
- package/react/components/molecules/Table/Table.config.d.ts +0 -23
- package/react/components/molecules/Table/index.d.ts +0 -5
- package/react/components/molecules/Tabs/Tabs.config.d.ts +0 -45
- package/react/components/molecules/Tabs/index.d.ts +0 -6
- package/react/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +0 -30
- package/react/components/organisms/NotificationList/NotificationList.config.d.ts +0 -33
- package/react/components/organisms/NotificationList/index.d.ts +0 -4
- package/react/components/templates/TwoColumns/index.d.ts +0 -5
- package/react/decorators/storybook.d.ts +0 -3
- package/react/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 +0 -0
- /package/react/{components → src/components}/atoms/Caption/Caption.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Caption/Caption.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Card/Card.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Card/Card.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Heading/Heading.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Icon/Icon.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/Input.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/Input.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Input/mask.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Loading/Loading.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Loading/Loading.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Paragraph/Paragraph.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Progress/Progress.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Select/Select.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Select/Select.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.stories.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Subtitle/Subtitle.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/TextArea/TextArea.test.d.ts +0 -0
- /package/react/{components → src/components}/atoms/Tooltip/Tooltip.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Container/Container.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexElement.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridElement.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridLayout.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/GridLayout/GridLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Spacer/Spacer.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Spacer/Spacer.test.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +0 -0
- /package/react/{components → src/components}/bosons/Wrapper/Wrapper.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Accordion/Accordion.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.test.d.ts +0 -0
- /package/react/{components → 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.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Indicator/Indicator.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/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.stories.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Stepper/Stepper.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Table/Table.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Tabs/Tab.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/Tabs/Tabs.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/index.d.ts +0 -0
- /package/react/{components → src/components}/organisms/NotificationList/NotificationList.test.d.ts +0 -0
- /package/react/{components → 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,104 @@
|
|
|
1
|
+
export declare enum EditableSelectSize {
|
|
2
|
+
Small = "small",
|
|
3
|
+
Medium = "medium",
|
|
4
|
+
Large = "large"
|
|
5
|
+
}
|
|
6
|
+
export interface EditableSelectOption {
|
|
7
|
+
label: string;
|
|
8
|
+
value?: string | number;
|
|
9
|
+
name?: string;
|
|
10
|
+
id?: string | number;
|
|
11
|
+
}
|
|
12
|
+
export interface EditableSelectTestIdProps {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
}
|
|
16
|
+
export interface EditableSelectLabelProps {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
}
|
|
20
|
+
export interface EditableSelectDisabledProps {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface EditableSelectLoadingProps {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
}
|
|
27
|
+
export interface EditableSelectAnimatedProps {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface EditableSelectPlaceholderProps {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
}
|
|
35
|
+
export interface EditableSelectIconProps {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: undefined;
|
|
38
|
+
}
|
|
39
|
+
export interface EditableSelectNameProps {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
}
|
|
43
|
+
export interface EditableSelectNoOptionsMessageProps {
|
|
44
|
+
type: StringConstructor;
|
|
45
|
+
default: string;
|
|
46
|
+
}
|
|
47
|
+
export interface EditableSelectOptionsProps {
|
|
48
|
+
type: ArrayConstructor;
|
|
49
|
+
default: never[];
|
|
50
|
+
}
|
|
51
|
+
export interface EditableSelectStatusProps {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: string;
|
|
54
|
+
}
|
|
55
|
+
export interface EditableSelectValueProps {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
}
|
|
59
|
+
export interface EditableSelectSizeProps {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
options: EditableSelectSize[];
|
|
62
|
+
default: EditableSelectSize;
|
|
63
|
+
}
|
|
64
|
+
export interface EditableSelectOnChangeHandlerProps {
|
|
65
|
+
type: FunctionConstructor;
|
|
66
|
+
default: () => void;
|
|
67
|
+
}
|
|
68
|
+
export interface EditableSelectOnBlurHandlerProps {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
default: () => void;
|
|
71
|
+
}
|
|
72
|
+
export interface EditableSelectOnFocusHandlerProps {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
default: () => void;
|
|
75
|
+
}
|
|
76
|
+
export interface EditableSelectOnSelectHandlerProps {
|
|
77
|
+
type: FunctionConstructor;
|
|
78
|
+
default: () => void;
|
|
79
|
+
}
|
|
80
|
+
export interface EditableSelectConfig {
|
|
81
|
+
name: string;
|
|
82
|
+
class: string;
|
|
83
|
+
props: {
|
|
84
|
+
label: EditableSelectLabelProps;
|
|
85
|
+
testId: EditableSelectTestIdProps;
|
|
86
|
+
animated: EditableSelectAnimatedProps;
|
|
87
|
+
loading: EditableSelectLoadingProps;
|
|
88
|
+
disabled: EditableSelectDisabledProps;
|
|
89
|
+
icon: EditableSelectIconProps;
|
|
90
|
+
name: EditableSelectNameProps;
|
|
91
|
+
noOptionsMessage: EditableSelectNoOptionsMessageProps;
|
|
92
|
+
options: EditableSelectOptionsProps;
|
|
93
|
+
status: EditableSelectStatusProps;
|
|
94
|
+
value: EditableSelectValueProps;
|
|
95
|
+
size: EditableSelectSizeProps;
|
|
96
|
+
onChangeHandler: EditableSelectOnChangeHandlerProps;
|
|
97
|
+
onBlurHandler: EditableSelectOnBlurHandlerProps;
|
|
98
|
+
onFocusHandler: EditableSelectOnFocusHandlerProps;
|
|
99
|
+
onSelectHandler: EditableSelectOnSelectHandlerProps;
|
|
100
|
+
placeholder: EditableSelectPlaceholderProps;
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
declare const editableSelectConfig: EditableSelectConfig;
|
|
104
|
+
export default editableSelectConfig;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EditableSelectOption } from './EditableSelect.config';
|
|
2
2
|
|
|
3
3
|
export interface DsEditableSelectProps {
|
|
4
4
|
label?: string;
|
|
@@ -6,7 +6,7 @@ export interface DsEditableSelectProps {
|
|
|
6
6
|
testId?: string;
|
|
7
7
|
value?: string;
|
|
8
8
|
size?: string;
|
|
9
|
-
options?:
|
|
9
|
+
options?: EditableSelectOption[];
|
|
10
10
|
onChangeHandler?: (event: React.ChangeEvent<HTMLInputElement> | React.FormEvent<HTMLInputElement>) => void;
|
|
11
11
|
onSelectHandler?: (selectedOption: object) => void;
|
|
12
12
|
icon?: string;
|
|
@@ -6,7 +6,7 @@ export interface LengthProps {
|
|
|
6
6
|
type: NumberConstructor;
|
|
7
7
|
required: true;
|
|
8
8
|
}
|
|
9
|
-
export interface
|
|
9
|
+
export interface IndicatorConfig {
|
|
10
10
|
name: string;
|
|
11
11
|
class: string;
|
|
12
12
|
props: {
|
|
@@ -14,5 +14,5 @@ export interface DsIndicatorConfig {
|
|
|
14
14
|
length: LengthProps;
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
declare const
|
|
18
|
-
export default
|
|
17
|
+
declare const indicatorConfig: IndicatorConfig;
|
|
18
|
+
export default indicatorConfig;
|
package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const inlineEditableConfig: {
|
|
2
2
|
readonly name: "DsInlineEditable";
|
|
3
3
|
readonly class: "ds-inline-editable";
|
|
4
4
|
readonly props: {
|
|
@@ -32,7 +32,7 @@ export declare const DsInlineEditableConfig: {
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
export type
|
|
35
|
+
export type InlineEditableConfig = typeof inlineEditableConfig;
|
|
36
36
|
export interface NameProps {
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
required: true;
|
|
@@ -70,4 +70,4 @@ export interface DsInlineEditableProps {
|
|
|
70
70
|
suffix: SuffixProps;
|
|
71
71
|
onChangeHandler: OnChangeHandlerProps;
|
|
72
72
|
}
|
|
73
|
-
export default
|
|
73
|
+
export default inlineEditableConfig;
|
|
@@ -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;
|
|
@@ -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>;
|
|
@@ -8,7 +8,7 @@ export declare const Default: {
|
|
|
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: {
|
|
@@ -28,7 +28,7 @@ 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: {
|
|
@@ -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,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;
|
|
@@ -8,7 +8,7 @@ export declare const Default: {
|
|
|
8
8
|
render: import('@storybook/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;
|
|
@@ -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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DsTableRowProps } from './Table.
|
|
1
|
+
import { DsTableRowProps } from './Table.config';
|
|
2
2
|
import { Meta } from '@storybook/react';
|
|
3
3
|
|
|
4
4
|
declare const componentProps: Meta;
|
|
@@ -6,7 +6,7 @@ export default componentProps;
|
|
|
6
6
|
export declare const Default: {
|
|
7
7
|
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTableRowProps>;
|
|
8
8
|
args: {
|
|
9
|
-
columns: import('
|
|
10
|
-
data: import('
|
|
9
|
+
columns: import('.').DsTableColumnsProps[];
|
|
10
|
+
data: import('.').DsTableCoverageItem[];
|
|
11
11
|
};
|
|
12
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;
|
|
@@ -6,7 +6,7 @@ export default componentProps;
|
|
|
6
6
|
export declare const Default: {
|
|
7
7
|
render: import('@storybook/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;
|