@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,41 @@
|
|
|
1
|
+
export declare enum TooltipPosition {
|
|
2
|
+
Top = "top",
|
|
3
|
+
Right = "right",
|
|
4
|
+
Bottom = "bottom",
|
|
5
|
+
Left = "left"
|
|
6
|
+
}
|
|
7
|
+
export declare enum TooltipPlacement {
|
|
8
|
+
Center = "center",
|
|
9
|
+
End = "end",
|
|
10
|
+
Initial = "initial"
|
|
11
|
+
}
|
|
12
|
+
export interface TooltipPositionProps {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: TooltipPosition;
|
|
15
|
+
options: TooltipPosition[];
|
|
16
|
+
}
|
|
17
|
+
export interface TooltipPlacementProps {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: TooltipPlacement;
|
|
20
|
+
options: TooltipPlacement[];
|
|
21
|
+
}
|
|
22
|
+
export interface TooltipTextProps {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: string;
|
|
25
|
+
}
|
|
26
|
+
export interface TooltipTestIdProps {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
}
|
|
30
|
+
export interface TooltipConfig {
|
|
31
|
+
name: string;
|
|
32
|
+
class: string;
|
|
33
|
+
props: {
|
|
34
|
+
position: TooltipPositionProps;
|
|
35
|
+
placement: TooltipPlacementProps;
|
|
36
|
+
text: TooltipTextProps;
|
|
37
|
+
testId: TooltipTestIdProps;
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
declare const tooltipConfig: TooltipConfig;
|
|
41
|
+
export default tooltipConfig;
|
|
@@ -7,13 +7,15 @@ export interface DsTooltipProps {
|
|
|
7
7
|
placement?: string;
|
|
8
8
|
text?: string | ReactNode;
|
|
9
9
|
className?: string;
|
|
10
|
+
testId?: string;
|
|
10
11
|
}
|
|
11
12
|
declare const DsTooltip: {
|
|
12
|
-
({ children, position, placement, text, className, }: DsTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
({ children, position, placement, text, testId, className, }: DsTooltipProps): import("react/jsx-runtime").JSX.Element;
|
|
13
14
|
propTypes: {
|
|
14
15
|
position: PropTypes.Requireable<string>;
|
|
15
16
|
placement: PropTypes.Requireable<string>;
|
|
16
17
|
text: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
18
|
+
testId: PropTypes.Requireable<string>;
|
|
17
19
|
};
|
|
18
20
|
displayName: string;
|
|
19
21
|
};
|
|
@@ -8,8 +8,8 @@ export declare const Default: {
|
|
|
8
8
|
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsTooltipProps & DsIconProps>;
|
|
9
9
|
args: {
|
|
10
10
|
text: string;
|
|
11
|
-
position: import('
|
|
12
|
-
placement: import('
|
|
11
|
+
position: import('.').TooltipPosition;
|
|
12
|
+
placement: import('.').TooltipPlacement;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export declare const Top: {
|
|
@@ -17,7 +17,7 @@ export declare const Top: {
|
|
|
17
17
|
args: {
|
|
18
18
|
position: string;
|
|
19
19
|
text: string;
|
|
20
|
-
placement: import('
|
|
20
|
+
placement: import('.').TooltipPlacement;
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
export declare const Bottom: {
|
|
@@ -25,7 +25,7 @@ export declare const Bottom: {
|
|
|
25
25
|
args: {
|
|
26
26
|
position: string;
|
|
27
27
|
text: string;
|
|
28
|
-
placement: import('
|
|
28
|
+
placement: import('.').TooltipPlacement;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
31
31
|
export declare const Right: {
|
|
@@ -33,7 +33,7 @@ export declare const Right: {
|
|
|
33
33
|
args: {
|
|
34
34
|
position: string;
|
|
35
35
|
text: string;
|
|
36
|
-
placement: import('
|
|
36
|
+
placement: import('.').TooltipPlacement;
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
39
|
export declare const Left: {
|
|
@@ -41,6 +41,6 @@ export declare const Left: {
|
|
|
41
41
|
args: {
|
|
42
42
|
position: string;
|
|
43
43
|
text: string;
|
|
44
|
-
placement: import('
|
|
44
|
+
placement: import('.').TooltipPlacement;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ContainerFluidProps {
|
|
2
|
+
type: BooleanConstructor;
|
|
3
|
+
default: boolean;
|
|
4
|
+
}
|
|
5
|
+
export interface ContainerTestIdProps {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
}
|
|
9
|
+
export interface ContainerConfig {
|
|
10
|
+
name: string;
|
|
11
|
+
class: string;
|
|
12
|
+
props: {
|
|
13
|
+
fluid: ContainerFluidProps;
|
|
14
|
+
testId: ContainerTestIdProps;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
declare const containerConfig: ContainerConfig;
|
|
18
|
+
export default containerConfig;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare enum FlexLayoutJustifyContent {
|
|
2
|
+
Stretch = "stretch",
|
|
3
|
+
FlexStart = "flex-start",
|
|
4
|
+
FlexEnd = "flex-end",
|
|
5
|
+
Center = "center",
|
|
6
|
+
SpaceAround = "space-around",
|
|
7
|
+
SpaceBetween = "space-between"
|
|
8
|
+
}
|
|
9
|
+
export declare enum FlexLayoutAlignItems {
|
|
10
|
+
Stretch = "stretch",
|
|
11
|
+
FlexStart = "flex-start",
|
|
12
|
+
FlexEnd = "flex-end",
|
|
13
|
+
Center = "center"
|
|
14
|
+
}
|
|
15
|
+
export declare enum FlexLayoutDirection {
|
|
16
|
+
Row = "row",
|
|
17
|
+
Column = "column",
|
|
18
|
+
RowReverse = "row-reverse",
|
|
19
|
+
ColumnReverse = "column-reverse"
|
|
20
|
+
}
|
|
21
|
+
export declare enum FlexLayoutWrap {
|
|
22
|
+
NoWrap = "nowrap",
|
|
23
|
+
Wrap = "wrap",
|
|
24
|
+
WrapReverse = "wrap-reverse"
|
|
25
|
+
}
|
|
26
|
+
export declare enum FlexLayoutGap {
|
|
27
|
+
Quark = "quark",
|
|
28
|
+
Nano = "nano",
|
|
29
|
+
XXXS = "xxxs",
|
|
30
|
+
XXS = "xxs",
|
|
31
|
+
XS = "xs",
|
|
32
|
+
SM = "sm",
|
|
33
|
+
MD = "md",
|
|
34
|
+
LG = "lg",
|
|
35
|
+
XL = "xl",
|
|
36
|
+
XXL = "xxl",
|
|
37
|
+
XXXL = "xxxl"
|
|
38
|
+
}
|
|
39
|
+
export interface FlexLayoutJustifyContentProps {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: FlexLayoutJustifyContent;
|
|
42
|
+
required: true;
|
|
43
|
+
options: FlexLayoutJustifyContent[];
|
|
44
|
+
}
|
|
45
|
+
export interface FlexLayoutAlignItemsProps {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: FlexLayoutAlignItems;
|
|
48
|
+
required: true;
|
|
49
|
+
options: FlexLayoutAlignItems[];
|
|
50
|
+
}
|
|
51
|
+
export interface FlexLayoutDirectionProps {
|
|
52
|
+
type: StringConstructor;
|
|
53
|
+
default: FlexLayoutDirection;
|
|
54
|
+
required: true;
|
|
55
|
+
options: FlexLayoutDirection[];
|
|
56
|
+
}
|
|
57
|
+
export interface FlexLayoutWrapProps {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: FlexLayoutWrap;
|
|
60
|
+
required: false;
|
|
61
|
+
options: FlexLayoutWrap[];
|
|
62
|
+
}
|
|
63
|
+
export interface FlexLayoutClassNameProps {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
}
|
|
67
|
+
export interface FlexLayoutWidthProps {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
}
|
|
71
|
+
export interface FlexLayoutHeightProps {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
}
|
|
75
|
+
export interface FlexLayoutGapProps {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
options: FlexLayoutGap[];
|
|
79
|
+
}
|
|
80
|
+
export interface FlexLayoutConfig {
|
|
81
|
+
name: string;
|
|
82
|
+
class: string;
|
|
83
|
+
props: {
|
|
84
|
+
justifyContent: FlexLayoutJustifyContentProps;
|
|
85
|
+
alignItems: FlexLayoutAlignItemsProps;
|
|
86
|
+
flexDirection: FlexLayoutDirectionProps;
|
|
87
|
+
flexWrap: FlexLayoutWrapProps;
|
|
88
|
+
className: FlexLayoutClassNameProps;
|
|
89
|
+
width: FlexLayoutWidthProps;
|
|
90
|
+
height: FlexLayoutHeightProps;
|
|
91
|
+
gap: FlexLayoutGapProps;
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
declare const flexLayoutConfig: FlexLayoutConfig;
|
|
95
|
+
export default flexLayoutConfig;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './FlexLayout';
|
|
2
|
+
export * from './FlexElement';
|
|
3
|
+
export * from './FlexLayout.config';
|
|
4
|
+
export * from './FlexElement.config';
|
|
5
|
+
export { default as DsFlexLayout } from './FlexLayout';
|
|
6
|
+
export { default as DsFlexElement } from './FlexElement';
|
|
7
|
+
export { default as flexLayoutConfig } from './FlexLayout.config';
|
|
8
|
+
export { default as flexElementConfig } from './FlexElement.config';
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
-
import { DsGridElementProps } from '../../../types/types';
|
|
2
1
|
import { default as React } from 'react';
|
|
3
2
|
|
|
4
3
|
type DsGridElementType = {
|
|
5
4
|
children: string | React.ReactElement;
|
|
6
5
|
grid: DsGridElementProps;
|
|
7
6
|
};
|
|
7
|
+
export interface DsGridElementProps {
|
|
8
|
+
row: string;
|
|
9
|
+
col: string;
|
|
10
|
+
mobileRow?: string;
|
|
11
|
+
mobileCol?: string;
|
|
12
|
+
}
|
|
8
13
|
declare const DsGridElement: React.FC<DsGridElementType>;
|
|
9
14
|
export default DsGridElement;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
export declare enum GridLayoutGap {
|
|
2
|
+
Quark = "quark",
|
|
3
|
+
Nano = "nano",
|
|
4
|
+
ExtraSmall = "xs",
|
|
5
|
+
Small = "sm",
|
|
6
|
+
Medium = "md",
|
|
7
|
+
Large = "lg"
|
|
8
|
+
}
|
|
9
|
+
export declare enum GridLayoutAlign {
|
|
10
|
+
Start = "start",
|
|
11
|
+
End = "end",
|
|
12
|
+
Center = "center",
|
|
13
|
+
Stretch = "stretch",
|
|
14
|
+
SpaceAround = "space-around",
|
|
15
|
+
SpaceBetween = "space-between",
|
|
16
|
+
SpaceEvenly = "space-evenly"
|
|
17
|
+
}
|
|
18
|
+
export interface GridLayoutRowsProps {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
required: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface GridLayoutGapProps {
|
|
24
|
+
type: StringConstructor;
|
|
25
|
+
default: GridLayoutGap;
|
|
26
|
+
options: GridLayoutGap[];
|
|
27
|
+
}
|
|
28
|
+
export interface GridLayoutVGapProps {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface GridLayoutHGapProps {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
}
|
|
36
|
+
export interface GridLayoutWidthProps {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
}
|
|
40
|
+
export interface GridLayoutHeightProps {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
}
|
|
44
|
+
export interface GridLayoutHorizontalAlignProps {
|
|
45
|
+
type: StringConstructor;
|
|
46
|
+
default: GridLayoutAlign;
|
|
47
|
+
options: GridLayoutAlign[];
|
|
48
|
+
}
|
|
49
|
+
export interface GridLayoutVerticalAlignProps {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
default: GridLayoutAlign;
|
|
52
|
+
options: GridLayoutAlign[];
|
|
53
|
+
}
|
|
54
|
+
export interface GridLayoutProps {
|
|
55
|
+
rows?: string;
|
|
56
|
+
gap?: GridLayoutGap;
|
|
57
|
+
vGap?: boolean;
|
|
58
|
+
hGap?: boolean;
|
|
59
|
+
width?: string;
|
|
60
|
+
height?: string;
|
|
61
|
+
horizontalAlign?: GridLayoutAlign;
|
|
62
|
+
verticalAlign?: GridLayoutAlign;
|
|
63
|
+
children: React.ReactNode;
|
|
64
|
+
}
|
|
65
|
+
export interface GridLayoutConfig {
|
|
66
|
+
name: string;
|
|
67
|
+
class: string;
|
|
68
|
+
props: {
|
|
69
|
+
rows: GridLayoutRowsProps;
|
|
70
|
+
gap: GridLayoutGapProps;
|
|
71
|
+
vGap: GridLayoutVGapProps;
|
|
72
|
+
hGap: GridLayoutHGapProps;
|
|
73
|
+
width: GridLayoutWidthProps;
|
|
74
|
+
height: GridLayoutHeightProps;
|
|
75
|
+
horizontalAlign: GridLayoutHorizontalAlignProps;
|
|
76
|
+
verticalAlign: GridLayoutVerticalAlignProps;
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
declare const gridLayoutConfig: GridLayoutConfig;
|
|
80
|
+
export default gridLayoutConfig;
|
|
@@ -16,13 +16,13 @@ declare const DsGridLayout: {
|
|
|
16
16
|
propTypes: {
|
|
17
17
|
children: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactNodeLike>>;
|
|
18
18
|
rows: PropTypes.Requireable<string>;
|
|
19
|
-
gap: PropTypes.Requireable<import('./GridLayout.config').
|
|
19
|
+
gap: PropTypes.Requireable<import('./GridLayout.config').GridLayoutGap>;
|
|
20
20
|
vGap: PropTypes.Requireable<boolean>;
|
|
21
21
|
hGap: PropTypes.Requireable<boolean>;
|
|
22
22
|
width: PropTypes.Requireable<string>;
|
|
23
23
|
height: PropTypes.Requireable<string>;
|
|
24
|
-
horizontalAlign: PropTypes.Requireable<import('./GridLayout.config').
|
|
25
|
-
verticalAlign: PropTypes.Requireable<import('./GridLayout.config').
|
|
24
|
+
horizontalAlign: PropTypes.Requireable<import('./GridLayout.config').GridLayoutAlign>;
|
|
25
|
+
verticalAlign: PropTypes.Requireable<import('./GridLayout.config').GridLayoutAlign>;
|
|
26
26
|
};
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './GridLayout';
|
|
2
|
+
export * from './GridElement';
|
|
3
|
+
export * from './GridLayout.config';
|
|
4
|
+
export * from './GridElement.config';
|
|
5
|
+
export { default as DsGridLayout } from './GridLayout';
|
|
6
|
+
export { default as DsGridElement } from './GridElement';
|
|
7
|
+
export { default as gridLayoutConfig } from './GridLayout.config';
|
|
8
|
+
export { default as gridElementConfig } from './GridElement.config';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare enum SpacerSize {
|
|
2
|
+
None = "none",
|
|
3
|
+
Quark = "quark",
|
|
4
|
+
Nano = "nano",
|
|
5
|
+
XXXS = "xxxs",
|
|
6
|
+
XXS = "xxs",
|
|
7
|
+
XS = "xs",
|
|
8
|
+
SM = "sm"
|
|
9
|
+
}
|
|
10
|
+
export interface SpacerProps {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: SpacerSize;
|
|
13
|
+
options: SpacerSize[];
|
|
14
|
+
}
|
|
15
|
+
export interface SpacerConfig {
|
|
16
|
+
name: string;
|
|
17
|
+
class: string;
|
|
18
|
+
props: {
|
|
19
|
+
vertical: SpacerProps;
|
|
20
|
+
horizontal: SpacerProps;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
declare const spacerConfig: SpacerConfig;
|
|
24
|
+
export default spacerConfig;
|
|
@@ -6,8 +6,8 @@ export default componentProps;
|
|
|
6
6
|
export declare const Default: {
|
|
7
7
|
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSpacerProps>;
|
|
8
8
|
args: {
|
|
9
|
-
vertical: import('
|
|
10
|
-
horizontal: import('
|
|
9
|
+
vertical: import('.').SpacerSize;
|
|
10
|
+
horizontal: import('.').SpacerSize;
|
|
11
11
|
};
|
|
12
12
|
parameters: {
|
|
13
13
|
theme: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum WrapperSpace {
|
|
2
|
+
None = "none",
|
|
3
|
+
Quark = "quark",
|
|
4
|
+
Nano = "nano",
|
|
5
|
+
ExtraSmall = "xs",
|
|
6
|
+
Small = "sm",
|
|
7
|
+
Medium = "md",
|
|
8
|
+
Large = "lg"
|
|
9
|
+
}
|
|
10
|
+
export interface WrapperSpaceProps {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default?: WrapperSpace;
|
|
13
|
+
options?: WrapperSpace[];
|
|
14
|
+
}
|
|
15
|
+
export interface WrapperConfig {
|
|
16
|
+
name: string;
|
|
17
|
+
class: string;
|
|
18
|
+
props: {
|
|
19
|
+
space: WrapperSpaceProps;
|
|
20
|
+
top: WrapperSpaceProps;
|
|
21
|
+
right: WrapperSpaceProps;
|
|
22
|
+
bottom: WrapperSpaceProps;
|
|
23
|
+
left: WrapperSpaceProps;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
declare const wrapperConfig: WrapperConfig;
|
|
27
|
+
export default wrapperConfig;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export * from './atoms/Button';
|
|
2
|
+
export * from './atoms/Caption';
|
|
3
|
+
export * from './atoms/Card';
|
|
4
|
+
export * from './atoms/Checkbox';
|
|
5
|
+
export * from './atoms/Heading';
|
|
6
|
+
export * from './atoms/HorizontalRule';
|
|
7
|
+
export * from './atoms/Icon';
|
|
8
|
+
export * from './atoms/Input';
|
|
9
|
+
export * from './atoms/Loading';
|
|
10
|
+
export * from './atoms/Option';
|
|
11
|
+
export * from './atoms/Paragraph';
|
|
12
|
+
export * from './atoms/Progress';
|
|
13
|
+
export * from './atoms/Select';
|
|
14
|
+
export * from './atoms/Subtitle';
|
|
15
|
+
export * from './atoms/TextArea';
|
|
16
|
+
export * from './atoms/Tooltip';
|
|
17
|
+
export * from './bosons/Container';
|
|
18
|
+
export * from './bosons/FlexLayout';
|
|
19
|
+
export * from './bosons/GridLayout';
|
|
20
|
+
export * from './bosons/Spacer';
|
|
21
|
+
export * from './bosons/Wrapper';
|
|
22
|
+
export * from './molecules/Accordion';
|
|
23
|
+
export * from './molecules/ActiveTags';
|
|
24
|
+
export * from './molecules/Carousel';
|
|
25
|
+
export * from './molecules/EditableSelect';
|
|
26
|
+
export * from './molecules/Indicator';
|
|
27
|
+
export * from './molecules/InlineEditable';
|
|
28
|
+
export * from './molecules/Modal';
|
|
29
|
+
export * from './molecules/Notification';
|
|
30
|
+
export * from './molecules/PasswordConfirmation';
|
|
31
|
+
export * from './molecules/Stepper';
|
|
32
|
+
export * from './molecules/Table';
|
|
33
|
+
export * from './molecules/Tabs';
|
|
34
|
+
export * from './molecules/ThemeProvider';
|
|
35
|
+
export * from './organisms/NotificationList';
|
|
36
|
+
export * from './templates/SplitLayout';
|
|
37
|
+
export * from './templates/TwoColumns';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export interface AccordionItemsProps {
|
|
2
|
+
index?: number;
|
|
3
|
+
title: React.ReactNode;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
active: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface AccordionOpenItemListIndexProps {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionItemsArrayProps {
|
|
14
|
+
type: ArrayConstructor;
|
|
15
|
+
default: AccordionItemsProps[];
|
|
16
|
+
}
|
|
17
|
+
export interface AccordionActiveItemProps {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
default: number;
|
|
20
|
+
}
|
|
21
|
+
export interface AccordionConfig {
|
|
22
|
+
name: string;
|
|
23
|
+
class: string;
|
|
24
|
+
props: {
|
|
25
|
+
openItemListIndex: AccordionOpenItemListIndexProps;
|
|
26
|
+
items: AccordionItemsArrayProps;
|
|
27
|
+
activeItem: AccordionActiveItemProps;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
declare const accordionConfig: AccordionConfig;
|
|
31
|
+
export default accordionConfig;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AccordionItemsProps } from './Accordion.config';
|
|
2
2
|
import { default as PropTypes } from 'prop-types';
|
|
3
3
|
|
|
4
4
|
interface Props {
|
|
5
|
-
items:
|
|
5
|
+
items: AccordionItemsProps[];
|
|
6
6
|
activeItem?: number | null;
|
|
7
7
|
onClick?: (index: number) => void;
|
|
8
8
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface AccordionItemTitleProps {
|
|
2
|
+
type: StringConstructor;
|
|
3
|
+
default: string;
|
|
4
|
+
}
|
|
5
|
+
export interface AccordionItemContentProps {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
}
|
|
9
|
+
export interface AccordionItemDisabledProps {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AccordionItemActiveProps {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface AccordionItemConfig {
|
|
18
|
+
name: string;
|
|
19
|
+
class: string;
|
|
20
|
+
props: {
|
|
21
|
+
title: AccordionItemTitleProps;
|
|
22
|
+
content: AccordionItemContentProps;
|
|
23
|
+
disabled: AccordionItemDisabledProps;
|
|
24
|
+
active: AccordionItemActiveProps;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
declare const accordionItemConfig: AccordionItemConfig;
|
|
28
|
+
export default accordionItemConfig;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { DsAccordionItemProps } from '../../../types/types';
|
|
2
1
|
import { default as PropTypes } from 'prop-types';
|
|
3
2
|
|
|
3
|
+
export interface DsAccordionItemProps {
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
onToggle: React.MouseEventHandler<HTMLButtonElement>;
|
|
7
|
+
active: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}
|
|
4
10
|
declare const DsAccordionItem: {
|
|
5
11
|
({ title, content, onToggle, active, disabled, }: DsAccordionItemProps): import("react/jsx-runtime").JSX.Element;
|
|
6
12
|
propTypes: {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './Accordion';
|
|
2
|
+
export * from './AccordionItem';
|
|
3
|
+
export * from './Accordion.config';
|
|
4
|
+
export * from './AccordionItem.config';
|
|
5
|
+
export { default as DsAccordion } from './Accordion';
|
|
6
|
+
export { default as DsAccordionItem } from './AccordionItem';
|
|
7
|
+
export { default as accordionConfig } from './Accordion.config';
|
|
8
|
+
export { default as accordionItemConfig } from './AccordionItem.config';
|