@akad/design-system 0.2.0-beta.9 → 1.0.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/core.css +1 -0
- package/css/package.json +9 -1
- package/css/theme-aon.css +1 -0
- package/css/theme-bees.css +1 -0
- package/css/theme-bmc.css +1 -0
- package/css/theme-default.css +1 -0
- package/css/theme-linker.css +1 -0
- package/css/theme-oggi.css +1 -0
- package/css/theme-streetgo.css +1 -0
- package/package.json +1 -1
- package/react/package.json +1 -1
- package/react/react-lib.js +2717 -2911
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Button/Button.config.d.ts +106 -0
- package/react/{components → src/components}/atoms/Button/Button.d.ts +11 -7
- package/react/{components → src/components}/atoms/Button/Button.stories.d.ts +5 -5
- package/react/src/components/atoms/Button/index.d.ts +4 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +6 -0
- package/react/{components → src/components}/atoms/Caption/Caption.stories.d.ts +2 -2
- package/react/src/components/atoms/Caption/index.d.ts +4 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +92 -0
- package/react/{components → src/components}/atoms/Card/Card.d.ts +8 -4
- package/react/{components → src/components}/atoms/Card/Card.stories.d.ts +4 -4
- package/react/src/components/atoms/Card/index.d.ts +4 -0
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.config.d.ts +18 -18
- package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +23 -0
- package/react/src/components/atoms/Checkbox/index.d.ts +4 -0
- package/react/src/components/atoms/Heading/Heading.config.d.ts +22 -0
- package/react/src/components/atoms/Heading/Heading.stories.d.ts +48 -0
- package/react/src/components/atoms/Heading/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +30 -0
- package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.d.ts +2 -2
- package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +4 -0
- package/react/src/components/atoms/Icon/Icon.config.d.ts +125 -0
- package/react/{components → src/components}/atoms/Icon/Icon.d.ts +4 -4
- package/react/src/components/atoms/Icon/Icon.stories.d.ts +19 -0
- package/react/src/components/atoms/Icon/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +146 -0
- package/react/{components → src/components}/atoms/Input/Input.stories.d.ts +4 -4
- package/react/src/components/atoms/Input/index.d.ts +4 -0
- package/react/src/components/atoms/Loading/Loading.config.d.ts +52 -0
- package/react/{components → src/components}/atoms/Loading/Loading.d.ts +1 -1
- package/react/{components → src/components}/atoms/Loading/Loading.stories.d.ts +2 -2
- package/react/src/components/atoms/Loading/index.d.ts +4 -0
- package/react/src/components/atoms/Option/Option.config.d.ts +53 -0
- package/react/{components → src/components}/atoms/Option/Option.stories.d.ts +2 -2
- package/react/src/components/atoms/Option/index.d.ts +4 -0
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +19 -0
- package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +21 -0
- package/react/src/components/atoms/Paragraph/index.d.ts +4 -0
- package/react/src/components/atoms/Progress/Progress.config.d.ts +30 -0
- package/react/{components → src/components}/atoms/Progress/Progress.stories.d.ts +2 -2
- package/react/src/components/atoms/Progress/index.d.ts +4 -0
- package/react/src/components/atoms/Select/Select.config.d.ts +121 -0
- package/react/{components → src/components}/atoms/Select/Select.stories.d.ts +6 -6
- package/react/src/components/atoms/Select/index.d.ts +4 -0
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +18 -0
- package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +23 -0
- package/react/src/components/atoms/Subtitle/index.d.ts +4 -0
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +128 -0
- package/react/{components → src/components}/atoms/TextArea/TextArea.d.ts +0 -1
- package/react/{components → src/components}/atoms/TextArea/TextArea.stories.d.ts +5 -5
- package/react/src/components/atoms/TextArea/index.d.ts +4 -0
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +41 -0
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.d.ts +4 -2
- package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +46 -0
- package/react/src/components/atoms/Tooltip/index.d.ts +4 -0
- package/react/src/components/bosons/Container/Container.config.d.ts +18 -0
- package/react/{components → src/components}/bosons/Container/Container.stories.d.ts +3 -3
- package/react/src/components/bosons/Container/index.d.ts +4 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexElement.config.d.ts +2 -2
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +95 -0
- package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +20 -0
- package/react/src/components/bosons/FlexLayout/index.d.ts +8 -0
- package/react/{components → src/components}/bosons/GridLayout/GridElement.config.d.ts +2 -2
- package/react/{components → src/components}/bosons/GridLayout/GridElement.d.ts +6 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +80 -0
- package/react/{components → src/components}/bosons/GridLayout/GridLayout.d.ts +3 -3
- package/react/{components → src/components}/bosons/GridLayout/GridLayout.stories.d.ts +3 -3
- package/react/src/components/bosons/GridLayout/index.d.ts +8 -0
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +24 -0
- package/react/{components → src/components}/bosons/Spacer/Spacer.stories.d.ts +4 -4
- package/react/src/components/bosons/Spacer/index.d.ts +4 -0
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +27 -0
- package/react/{components → src/components}/bosons/Wrapper/Wrapper.stories.d.ts +3 -3
- package/react/src/components/bosons/Wrapper/index.d.ts +4 -0
- package/react/src/components/index.d.ts +37 -0
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +31 -0
- package/react/{components → src/components}/molecules/Accordion/Accordion.d.ts +2 -2
- package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +9 -0
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +28 -0
- package/react/{components → src/components}/molecules/Accordion/AccordionItem.d.ts +7 -1
- package/react/src/components/molecules/Accordion/index.d.ts +8 -0
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.config.d.ts +2 -2
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.stories.d.ts +2 -2
- package/react/src/components/molecules/ActiveTags/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.config.d.ts +2 -2
- package/react/src/components/molecules/Carousel/index.d.ts +4 -0
- package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +104 -0
- package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.d.ts +2 -2
- package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.stories.d.ts +3 -3
- package/react/src/components/molecules/EditableSelect/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Indicator/Indicator.config.d.ts +3 -3
- package/react/{components → src/components}/molecules/Indicator/Indicator.stories.d.ts +2 -2
- package/react/src/components/molecules/Indicator/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.config.d.ts +3 -3
- package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +17 -0
- package/react/src/components/molecules/InlineEditable/index.d.ts +4 -0
- package/react/src/components/molecules/Modal/Modal.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Modal/Modal.d.ts +3 -3
- package/react/{components → src/components}/molecules/Modal/Modal.stories.d.ts +7 -7
- package/react/src/components/molecules/Modal/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Notification/Notification.config.d.ts +13 -32
- package/react/src/components/molecules/Notification/Notification.d.ts +22 -0
- package/react/src/components/molecules/Notification/Notification.stories.d.ts +95 -0
- package/react/src/components/molecules/Notification/index.d.ts +4 -0
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +32 -0
- package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +4 -4
- package/react/src/components/molecules/PasswordConfirmation/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Stepper/Stepper.config.d.ts +2 -2
- package/react/{components → src/components}/molecules/Stepper/Stepper.d.ts +7 -2
- package/react/{components → src/components}/molecules/Stepper/Stepper.stories.d.ts +2 -2
- package/react/src/components/molecules/Stepper/index.d.ts +4 -0
- package/react/{components/molecules/Table/Table.types.d.ts → src/components/molecules/Table/Table.config.d.ts} +23 -0
- package/react/{components → src/components}/molecules/Table/Table.d.ts +1 -1
- package/react/src/components/molecules/Table/Table.stories.d.ts +12 -0
- package/react/{components → src/components}/molecules/Table/TableRow.d.ts +1 -1
- package/react/{components → src/components}/molecules/Table/dataTable.mock.d.ts +1 -1
- package/react/src/components/molecules/Table/index.d.ts +4 -0
- package/react/{components → src/components}/molecules/Tabs/Tab.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +44 -0
- package/react/{components → src/components}/molecules/Tabs/Tabs.d.ts +11 -1
- package/react/{components → src/components}/molecules/Tabs/Tabs.stories.d.ts +3 -3
- package/react/src/components/molecules/Tabs/index.d.ts +4 -0
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +28 -0
- package/react/src/components/organisms/NotificationList/NotificationList.config.d.ts +32 -0
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.d.ts +2 -2
- package/react/{components → src/components}/organisms/NotificationList/NotificationList.stories.d.ts +3 -3
- package/react/src/components/organisms/NotificationList/index.d.ts +4 -0
- package/react/{components → src/components}/templates/SplitLayout/SplitLayout.config.d.ts +2 -2
- package/react/{components → src/components}/templates/TwoColumns/TwoColumns.config.d.ts +2 -2
- package/react/src/components/templates/TwoColumns/index.d.ts +4 -0
- package/react/src/enum/colorProps.d.ts +30 -0
- package/scss/core/base/index.scss +3 -0
- package/scss/core/base/reset.scss +27 -0
- package/scss/core/base/typography.scss +18 -0
- package/scss/core/components/atoms/button.scss +816 -0
- package/scss/core/components/atoms/caption.scss +13 -0
- package/scss/core/components/atoms/card.scss +24 -0
- package/scss/core/components/atoms/checkbox.scss +61 -0
- package/scss/core/components/atoms/heading.scss +69 -0
- package/scss/core/components/atoms/horizontal-rule.scss +27 -0
- package/scss/core/components/atoms/icon.scss +49 -0
- package/scss/core/components/atoms/input.scss +333 -0
- package/scss/core/components/atoms/loading.scss +120 -0
- package/scss/core/components/atoms/option.scss +78 -0
- package/scss/core/components/atoms/paragraph.scss +44 -0
- package/scss/core/components/atoms/progress.scss +32 -0
- package/scss/core/components/atoms/select.scss +253 -0
- package/scss/core/components/atoms/subtitle.scss +21 -0
- package/scss/core/components/atoms/textarea.scss +340 -0
- package/scss/core/components/atoms/tooltip.scss +197 -0
- package/scss/core/components/bosons/container.scss +5 -0
- package/scss/core/components/bosons/flex-layout.scss +45 -0
- package/scss/core/components/bosons/grid-layout.scss +76 -0
- package/scss/core/components/bosons/grid.scss +79 -0
- package/scss/core/components/bosons/spacer.scss +45 -0
- package/scss/core/components/bosons/wrapper.scss +32 -0
- package/scss/core/components/index.scss +49 -0
- package/scss/core/components/molecules/accordion.scss +93 -0
- package/scss/core/components/molecules/active-tags.scss +58 -0
- package/scss/core/components/molecules/carousel.scss +67 -0
- package/scss/core/components/molecules/editable-select.scss +141 -0
- package/scss/core/components/molecules/indicator.scss +37 -0
- package/scss/core/components/molecules/inline-editable.scss +23 -0
- package/scss/core/components/molecules/modal.scss +70 -0
- package/scss/core/components/molecules/notification.scss +109 -0
- package/scss/core/components/molecules/password-confirmation.scss +16 -0
- package/scss/core/components/molecules/stepper.scss +84 -0
- package/scss/core/components/molecules/table.scss +95 -0
- package/scss/core/components/molecules/tabs.scss +114 -0
- package/scss/core/components/molecules/theme-provider.scss +6 -0
- package/scss/core/components/organisms/notification-list.scss +77 -0
- package/scss/core/components/templates/split-layout.scss +51 -0
- package/scss/core/components/templates/two-columns.scss +30 -0
- package/scss/core/functions/breakpoints.scss +35 -0
- package/scss/core/functions/fonts.scss +17 -0
- package/scss/core/functions/index.scss +5 -0
- package/scss/core/functions/spacings.scss +8 -0
- package/scss/core/functions/tokens.scss +14 -0
- package/scss/core/helpers/borders.scss +105 -0
- package/scss/core/helpers/colors.scss +194 -0
- package/scss/core/helpers/display.scss +177 -0
- package/scss/core/helpers/elevation.scss +16 -0
- package/scss/core/helpers/index.scss +6 -0
- package/scss/core/helpers/order.scss +20 -0
- package/scss/core/index.scss +18 -0
- package/scss/core/mixins/breakpoints.scss +90 -0
- package/scss/core/mixins/grid.scss +8 -0
- package/scss/core/mixins/index.scss +5 -0
- package/scss/core/tokens/borders.scss +12 -0
- package/scss/core/tokens/breakpoints.scss +20 -0
- package/scss/core/tokens/icons.scss +2 -0
- package/scss/core/tokens/index.scss +8 -0
- package/scss/core/tokens/opacity.scss +6 -0
- package/scss/core/tokens/shadows.scss +15 -0
- package/scss/core/tokens/spacings.scss +41 -0
- package/scss/core/tokens/typography.scss +20 -0
- package/scss/themes/aon/colors.scss +83 -0
- package/scss/themes/aon/index.scss +54 -0
- package/scss/themes/aon/typography.scss +7 -0
- package/scss/themes/bees/colors.scss +32 -0
- package/scss/themes/bees/index.scss +51 -0
- package/scss/themes/bees/typography.scss +6 -0
- package/scss/themes/bmc/colors.scss +81 -0
- package/scss/themes/bmc/index.scss +54 -0
- package/scss/themes/bmc/typography.scss +5 -0
- package/scss/themes/default/colors.scss +109 -0
- package/scss/themes/default/index.scss +80 -0
- package/scss/themes/default/typography.scss +7 -0
- package/scss/themes/linker/colors.scss +35 -0
- package/scss/themes/linker/index.scss +30 -0
- package/scss/themes/linker/typography.scss +6 -0
- package/scss/themes/oggi/colors.scss +81 -0
- package/scss/themes/oggi/index.scss +54 -0
- package/scss/themes/oggi/typography.scss +5 -0
- package/scss/themes/streetgo/colors.scss +81 -0
- package/scss/themes/streetgo/index.scss +54 -0
- package/scss/themes/streetgo/typography.scss +5 -0
- package/css/aon-theme.css +0 -1
- package/css/bees-theme.css +0 -1
- package/css/bmc-theme.css +0 -1
- package/css/default-theme.css +0 -1
- package/css/linker-theme.css +0 -1
- package/css/oggi-theme.css +0 -1
- package/css/streetgo-theme.css +0 -1
- package/react/components/atoms/Button/Button.config.d.ts +0 -94
- package/react/components/atoms/Button/index.d.ts +0 -4
- package/react/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/components/atoms/Caption/index.d.ts +0 -4
- package/react/components/atoms/Card/Card.config.d.ts +0 -76
- package/react/components/atoms/Card/index.d.ts +0 -4
- package/react/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -23
- package/react/components/atoms/Checkbox/index.d.ts +0 -5
- package/react/components/atoms/Heading/Heading.config.d.ts +0 -23
- package/react/components/atoms/Heading/Heading.stories.d.ts +0 -48
- package/react/components/atoms/Heading/index.d.ts +0 -4
- package/react/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +0 -32
- package/react/components/atoms/HorizontalRule/index.d.ts +0 -4
- package/react/components/atoms/Icon/Icon.config.d.ts +0 -129
- package/react/components/atoms/Icon/Icon.stories.d.ts +0 -19
- package/react/components/atoms/Icon/index.d.ts +0 -4
- package/react/components/atoms/Input/Input.config.d.ts +0 -151
- package/react/components/atoms/Input/index.d.ts +0 -4
- package/react/components/atoms/Loading/Loading.config.d.ts +0 -54
- package/react/components/atoms/Loading/index.d.ts +0 -4
- package/react/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/components/atoms/Option/index.d.ts +0 -4
- package/react/components/atoms/Paragraph/Paragraph.config.d.ts +0 -20
- package/react/components/atoms/Paragraph/Paragraph.stories.d.ts +0 -21
- package/react/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/components/atoms/Progress/Progress.config.d.ts +0 -31
- package/react/components/atoms/Progress/index.d.ts +0 -4
- package/react/components/atoms/Select/Select.config.d.ts +0 -125
- package/react/components/atoms/Select/index.d.ts +0 -4
- package/react/components/atoms/Subtitle/Subtitle.config.d.ts +0 -19
- package/react/components/atoms/Subtitle/Subtitle.stories.d.ts +0 -23
- package/react/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/components/atoms/TextArea/TextArea.config.d.ts +0 -132
- package/react/components/atoms/TextArea/index.d.ts +0 -4
- package/react/components/atoms/Tooltip/Tooltip.config.d.ts +0 -38
- package/react/components/atoms/Tooltip/Tooltip.stories.d.ts +0 -46
- package/react/components/atoms/Tooltip/index.d.ts +0 -4
- package/react/components/bosons/Container/Container.config.d.ts +0 -18
- package/react/components/bosons/Container/index.d.ts +0 -4
- package/react/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -100
- package/react/components/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -20
- package/react/components/bosons/FlexLayout/index.d.ts +0 -5
- package/react/components/bosons/GridLayout/GridLayout.config.d.ts +0 -82
- package/react/components/bosons/GridLayout/index.d.ts +0 -5
- package/react/components/bosons/Spacer/Spacer.config.d.ts +0 -25
- package/react/components/bosons/Spacer/index.d.ts +0 -4
- package/react/components/bosons/Wrapper/Wrapper.config.d.ts +0 -28
- package/react/components/bosons/Wrapper/index.d.ts +0 -4
- package/react/components/index.d.ts +0 -39
- package/react/components/molecules/Accordion/Accordion.config.d.ts +0 -25
- package/react/components/molecules/Accordion/Accordion.stories.d.ts +0 -9
- package/react/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/components/molecules/Accordion/index.d.ts +0 -5
- package/react/components/molecules/ActiveTags/index.d.ts +0 -4
- package/react/components/molecules/Carousel/index.d.ts +0 -4
- package/react/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -105
- package/react/components/molecules/EditableSelect/index.d.ts +0 -4
- package/react/components/molecules/Indicator/index.d.ts +0 -4
- package/react/components/molecules/InlineEditable/InlineEditable.stories.d.ts +0 -17
- package/react/components/molecules/InlineEditable/index.d.ts +0 -4
- package/react/components/molecules/Modal/Modal.config.d.ts +0 -41
- package/react/components/molecules/Modal/index.d.ts +0 -4
- package/react/components/molecules/Notification/Notification.d.ts +0 -7
- package/react/components/molecules/Notification/Notification.stories.d.ts +0 -95
- package/react/components/molecules/Notification/index.d.ts +0 -5
- package/react/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +0 -32
- package/react/components/molecules/PasswordConfirmation/index.d.ts +0 -4
- package/react/components/molecules/Stepper/index.d.ts +0 -4
- package/react/components/molecules/Table/Table.config.d.ts +0 -23
- package/react/components/molecules/Table/Table.stories.d.ts +0 -12
- package/react/components/molecules/Table/index.d.ts +0 -5
- package/react/components/molecules/Tabs/Tabs.config.d.ts +0 -45
- package/react/components/molecules/Tabs/index.d.ts +0 -6
- package/react/components/molecules/ThemeProvider/ThemeProvider.config.d.ts +0 -30
- package/react/components/organisms/NotificationList/NotificationList.config.d.ts +0 -33
- package/react/components/organisms/NotificationList/index.d.ts +0 -4
- package/react/components/templates/TwoColumns/index.d.ts +0 -5
- package/react/decorators/storybook.d.ts +0 -3
- package/react/decorators/storybook.test.d.ts +0 -1
- package/react/types/hooks/types.d.ts +0 -99
- package/react/types/types.d.ts +0 -43
- package/react/{components → src/components}/atoms/Button/Button.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Caption/Caption.d.ts +1 -1
- package/react/{components → src/components}/atoms/Caption/Caption.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Card/Card.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.d.ts +1 -1
- package/react/{components → src/components}/atoms/Checkbox/Checkbox.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Heading/Heading.d.ts +1 -1
- package/react/{components → src/components}/atoms/Heading/Heading.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/HorizontalRule/HorizontalRule.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Icon/Icon.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Input/Input.d.ts +0 -0
- package/react/{components → src/components}/atoms/Input/Input.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Input/mask.d.ts +0 -0
- package/react/{components → src/components}/atoms/Loading/Loading.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Option/Option.d.ts +1 -1
- package/react/{components → src/components}/atoms/Option/Option.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Paragraph/Paragraph.d.ts +1 -1
- package/react/{components → src/components}/atoms/Paragraph/Paragraph.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Progress/Progress.d.ts +0 -0
- package/react/{components → src/components}/atoms/Progress/Progress.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Select/Select.d.ts +1 -1
- package/react/{components → src/components}/atoms/Select/Select.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Subtitle/Subtitle.d.ts +0 -0
- package/react/{components → src/components}/atoms/Subtitle/Subtitle.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/TextArea/TextArea.test.d.ts +0 -0
- package/react/{components → src/components}/atoms/Tooltip/Tooltip.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/Container/Container.d.ts +1 -1
- package/react/{components → src/components}/bosons/Container/Container.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexElement.d.ts +0 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.d.ts +0 -0
- package/react/{components → src/components}/bosons/FlexLayout/FlexLayout.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/GridLayout/GridElement.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/GridLayout/GridLayout.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/Spacer/Spacer.d.ts +0 -0
- package/react/{components → src/components}/bosons/Spacer/Spacer.test.d.ts +0 -0
- package/react/{components → src/components}/bosons/Wrapper/Wrapper.d.ts +0 -0
- package/react/{components → src/components}/bosons/Wrapper/Wrapper.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Accordion/Accordion.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.d.ts +0 -0
- package/react/{components → src/components}/molecules/ActiveTags/ActiveTags.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.d.ts +0 -0
- package/react/{components → src/components}/molecules/Carousel/Carousel.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/EditableSelect/EditableSelect.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Indicator/Indicator.d.ts +0 -0
- package/react/{components → src/components}/molecules/Indicator/Indicator.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.d.ts +1 -1
- package/react/{components → src/components}/molecules/InlineEditable/InlineEditable.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Modal/Modal.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Notification/Notification.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmartion.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +0 -0
- package/react/{components → src/components}/molecules/Stepper/Stepper.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Table/Table.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Tabs/Tab.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/Tabs/Tabs.test.d.ts +0 -0
- package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.d.ts +1 -1
- /package/react/{components → src/components}/molecules/ThemeProvider/ThemeProvider.test.d.ts +0 -0
- /package/react/{components → src/components}/molecules/ThemeProvider/index.d.ts +0 -0
- /package/react/{components → src/components}/organisms/NotificationList/NotificationList.test.d.ts +0 -0
- /package/react/{components → src/components}/templates/SplitLayout/SplitLayout.d.ts +0 -0
- /package/react/{components → src/components}/templates/SplitLayout/SplitLayout.test.d.ts +0 -0
- /package/react/{components → src/components}/templates/SplitLayout/index.d.ts +0 -0
- /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.d.ts +0 -0
- /package/react/{components → src/components}/templates/TwoColumns/TwoColumns.test.d.ts +0 -0
- /package/react/{main.d.ts → src/main.d.ts} +0 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare enum IconColor {
|
|
2
|
+
Primary = "primary",
|
|
3
|
+
PrimaryLightest = "primary-lightest",
|
|
4
|
+
PrimaryLighter = "primary-lighter",
|
|
5
|
+
PrimaryLight = "primary-light",
|
|
6
|
+
PrimaryDark = "primary-dark",
|
|
7
|
+
PrimaryDarker = "primary-darker",
|
|
8
|
+
Neutral90 = "neutral-90",
|
|
9
|
+
Neutral80 = "neutral-80",
|
|
10
|
+
Neutral60 = "neutral-60",
|
|
11
|
+
Neutral40 = "neutral-40",
|
|
12
|
+
Neutral20 = "neutral-20",
|
|
13
|
+
Neutral10 = "neutral-10",
|
|
14
|
+
Neutral05 = "neutral-05",
|
|
15
|
+
Neutral00 = "neutral-00",
|
|
16
|
+
Secondary = "secondary",
|
|
17
|
+
SecondaryLightest = "secondary-lightest",
|
|
18
|
+
SecondaryLighter = "secondary-lighter",
|
|
19
|
+
SecondaryLight = "secondary-light",
|
|
20
|
+
SecondaryDark = "secondary-dark",
|
|
21
|
+
SecondaryDarker = "secondary-darker",
|
|
22
|
+
Success = "success",
|
|
23
|
+
SuccessLighter = "success-lighter",
|
|
24
|
+
SuccessLight = "success-light",
|
|
25
|
+
SuccessDark = "success-dark",
|
|
26
|
+
Warning = "warning",
|
|
27
|
+
WarningLighter = "warning-lighter",
|
|
28
|
+
WarningLight = "warning-light",
|
|
29
|
+
WarningDark = "warning-dark",
|
|
30
|
+
Danger = "danger",
|
|
31
|
+
DangerLighter = "danger-lighter",
|
|
32
|
+
DangerLight = "danger-light",
|
|
33
|
+
DangerDark = "danger-dark",
|
|
34
|
+
Info = "info",
|
|
35
|
+
InfoLighter = "info-lighter",
|
|
36
|
+
InfoLight = "info-light",
|
|
37
|
+
InfoDark = "info-dark"
|
|
38
|
+
}
|
|
39
|
+
export declare enum IconVariation {
|
|
40
|
+
Outlined = "outlined",
|
|
41
|
+
Rounded = "rounded",
|
|
42
|
+
Sharp = "sharp"
|
|
43
|
+
}
|
|
44
|
+
export declare enum IconSize {
|
|
45
|
+
XXS = "xxs",
|
|
46
|
+
XS = "xs",
|
|
47
|
+
SM = "sm",
|
|
48
|
+
MD = "md",
|
|
49
|
+
LG = "lg",
|
|
50
|
+
XL = "xl",
|
|
51
|
+
XXL = "xxl",
|
|
52
|
+
XXXL = "xxxl",
|
|
53
|
+
Huge = "huge"
|
|
54
|
+
}
|
|
55
|
+
export declare enum IconWeight {
|
|
56
|
+
Bold = "bold",
|
|
57
|
+
Semibold = "semibold",
|
|
58
|
+
Medium = "medium",
|
|
59
|
+
Regular = "regular",
|
|
60
|
+
Light = "light",
|
|
61
|
+
Extralight = "extralight"
|
|
62
|
+
}
|
|
63
|
+
export interface IconFontVariationSettings {
|
|
64
|
+
fill: number;
|
|
65
|
+
grad: number;
|
|
66
|
+
weight: number;
|
|
67
|
+
opticalSize: number;
|
|
68
|
+
}
|
|
69
|
+
export interface IconColorProps {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: IconColor;
|
|
72
|
+
options: IconColor[];
|
|
73
|
+
}
|
|
74
|
+
export interface IconImageProps {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
}
|
|
78
|
+
export interface IconVariationProps {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: IconVariation;
|
|
81
|
+
options: IconVariation[];
|
|
82
|
+
}
|
|
83
|
+
export interface IconSizeProps {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: IconSize;
|
|
86
|
+
options: IconSize[];
|
|
87
|
+
}
|
|
88
|
+
export interface IconFontVariationSettingsProps {
|
|
89
|
+
type: ObjectConstructor;
|
|
90
|
+
default: IconFontVariationSettings;
|
|
91
|
+
}
|
|
92
|
+
export interface IconFillProps {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface IconWeightProps {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: IconWeight;
|
|
99
|
+
options: IconWeight[];
|
|
100
|
+
}
|
|
101
|
+
export interface IconTestIdProps {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
}
|
|
105
|
+
export interface IconOnClickProps {
|
|
106
|
+
type: FunctionConstructor;
|
|
107
|
+
default: () => void;
|
|
108
|
+
}
|
|
109
|
+
export interface IconConfig {
|
|
110
|
+
name: string;
|
|
111
|
+
class: string;
|
|
112
|
+
props: {
|
|
113
|
+
color: IconColorProps;
|
|
114
|
+
image: IconImageProps;
|
|
115
|
+
variation: IconVariationProps;
|
|
116
|
+
size: IconSizeProps;
|
|
117
|
+
fontVariationSettings: IconFontVariationSettingsProps;
|
|
118
|
+
fill: IconFillProps;
|
|
119
|
+
weight: IconWeightProps;
|
|
120
|
+
testId: IconTestIdProps;
|
|
121
|
+
onClick: IconOnClickProps;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
declare const iconConfig: IconConfig;
|
|
125
|
+
export default iconConfig;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MouseEventHandler } from 'react';
|
|
2
1
|
import { default as PropTypes } from 'prop-types';
|
|
2
|
+
import { MouseEventHandler } from 'react';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
@@ -22,12 +22,12 @@ export interface DsIconProps {
|
|
|
22
22
|
declare const DsIcon: {
|
|
23
23
|
({ image, color, className, size, fill, weight, testId, onClick, }: DsIconProps): import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
propTypes: {
|
|
25
|
-
color: PropTypes.Requireable<import('./Icon.config').
|
|
25
|
+
color: PropTypes.Requireable<import('./Icon.config').IconColor>;
|
|
26
26
|
image: PropTypes.Requireable<string>;
|
|
27
27
|
fontVariationSettings: PropTypes.Requireable<object>;
|
|
28
|
-
size: PropTypes.Requireable<import('./Icon.config').
|
|
28
|
+
size: PropTypes.Requireable<import('./Icon.config').IconSize>;
|
|
29
29
|
fill: PropTypes.Requireable<boolean>;
|
|
30
|
-
weight: PropTypes.Requireable<import('./Icon.config').
|
|
30
|
+
weight: PropTypes.Requireable<import('./Icon.config').IconWeight>;
|
|
31
31
|
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
32
32
|
};
|
|
33
33
|
displayName: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsIconProps } from '.';
|
|
3
|
+
|
|
4
|
+
declare const ComponentProps: Meta;
|
|
5
|
+
export default ComponentProps;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsIconProps>;
|
|
8
|
+
args: {
|
|
9
|
+
image: string;
|
|
10
|
+
color: import('.').IconColor;
|
|
11
|
+
size: import('.').IconSize;
|
|
12
|
+
fill: boolean;
|
|
13
|
+
weight: import('.').IconWeight;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const List: {
|
|
17
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsIconProps>;
|
|
18
|
+
args: {};
|
|
19
|
+
};
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
export declare enum InputType {
|
|
2
|
+
Text = "text",
|
|
3
|
+
Password = "password",
|
|
4
|
+
Email = "email",
|
|
5
|
+
Date = "date",
|
|
6
|
+
Number = "number"
|
|
7
|
+
}
|
|
8
|
+
export declare enum InputSize {
|
|
9
|
+
Small = "small",
|
|
10
|
+
Medium = "medium",
|
|
11
|
+
Large = "large"
|
|
12
|
+
}
|
|
13
|
+
export declare enum InputStatus {
|
|
14
|
+
Default = "",
|
|
15
|
+
Error = "error",
|
|
16
|
+
Success = "success"
|
|
17
|
+
}
|
|
18
|
+
export declare enum InputTooltipPlacement {
|
|
19
|
+
Center = "center",
|
|
20
|
+
End = "end",
|
|
21
|
+
Initial = "initial"
|
|
22
|
+
}
|
|
23
|
+
export declare enum InputTooltipPosition {
|
|
24
|
+
Top = "top",
|
|
25
|
+
Right = "right",
|
|
26
|
+
Bottom = "bottom",
|
|
27
|
+
Left = "left"
|
|
28
|
+
}
|
|
29
|
+
export interface InputNameProps {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface InputTestIdProps {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
}
|
|
37
|
+
export interface InputTypeProps {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: InputType;
|
|
40
|
+
options: InputType[];
|
|
41
|
+
}
|
|
42
|
+
export interface InputAnimatedProps {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
}
|
|
46
|
+
export interface InputDisabledProps {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface InputSizeProps {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: InputSize;
|
|
53
|
+
options: InputSize[];
|
|
54
|
+
}
|
|
55
|
+
export interface InputLabelProps {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
}
|
|
59
|
+
export interface InputPlaceholderProps {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
}
|
|
63
|
+
export interface InputValueProps {
|
|
64
|
+
type: StringConstructor;
|
|
65
|
+
default: string;
|
|
66
|
+
}
|
|
67
|
+
export interface InputMinProps {
|
|
68
|
+
type: StringConstructor;
|
|
69
|
+
default: string;
|
|
70
|
+
}
|
|
71
|
+
export interface InputMaxProps {
|
|
72
|
+
type: StringConstructor;
|
|
73
|
+
default: string;
|
|
74
|
+
}
|
|
75
|
+
export interface InputStatusProps {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: InputStatus;
|
|
78
|
+
options: InputStatus[];
|
|
79
|
+
}
|
|
80
|
+
export interface InputFeedbackProps {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
}
|
|
84
|
+
export interface InputHasFeedbackProps {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
}
|
|
88
|
+
export interface InputNoMarginProps {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
}
|
|
92
|
+
export interface InputIconProps {
|
|
93
|
+
type: StringConstructor;
|
|
94
|
+
default: string;
|
|
95
|
+
}
|
|
96
|
+
export interface InputTooltipProps {
|
|
97
|
+
type: StringConstructor;
|
|
98
|
+
default: string;
|
|
99
|
+
}
|
|
100
|
+
export interface InputTooltipPlacementProps {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: InputTooltipPlacement;
|
|
103
|
+
options: InputTooltipPlacement[];
|
|
104
|
+
}
|
|
105
|
+
export interface InputTooltipPositionProps {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: InputTooltipPosition;
|
|
108
|
+
options: InputTooltipPosition[];
|
|
109
|
+
}
|
|
110
|
+
export interface InputMaskProps {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
default: string;
|
|
113
|
+
}
|
|
114
|
+
export interface InputOnChangeHandlerProps {
|
|
115
|
+
type: FunctionConstructor;
|
|
116
|
+
default: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
117
|
+
}
|
|
118
|
+
export interface InputConfig {
|
|
119
|
+
name: string;
|
|
120
|
+
class: string;
|
|
121
|
+
props: {
|
|
122
|
+
name: InputNameProps;
|
|
123
|
+
testId: InputTestIdProps;
|
|
124
|
+
type: InputTypeProps;
|
|
125
|
+
animated: InputAnimatedProps;
|
|
126
|
+
disabled: InputDisabledProps;
|
|
127
|
+
size: InputSizeProps;
|
|
128
|
+
label: InputLabelProps;
|
|
129
|
+
placeholder: InputPlaceholderProps;
|
|
130
|
+
value: InputValueProps;
|
|
131
|
+
min: InputMinProps;
|
|
132
|
+
max: InputMaxProps;
|
|
133
|
+
status: InputStatusProps;
|
|
134
|
+
feedback: InputFeedbackProps;
|
|
135
|
+
hasFeedback: InputHasFeedbackProps;
|
|
136
|
+
noMargin: InputNoMarginProps;
|
|
137
|
+
icon: InputIconProps;
|
|
138
|
+
tooltip: InputTooltipProps;
|
|
139
|
+
tooltipPlacement: InputTooltipPlacementProps;
|
|
140
|
+
tooltipPosition: InputTooltipPositionProps;
|
|
141
|
+
mask: InputMaskProps;
|
|
142
|
+
onChangeHandler: InputOnChangeHandlerProps;
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
declare const inputConfig: InputConfig;
|
|
146
|
+
export default inputConfig;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DsInputProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsInputProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsInputProps>;
|
|
8
8
|
args: {
|
|
9
9
|
name: string;
|
|
10
10
|
label: string;
|
|
@@ -12,10 +12,10 @@ export declare const Default: {
|
|
|
12
12
|
value: string;
|
|
13
13
|
min: string;
|
|
14
14
|
max: string;
|
|
15
|
-
type: import('
|
|
15
|
+
type: import('.').InputType;
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
tooltip: string;
|
|
18
|
-
status: import('
|
|
18
|
+
status: import('.').InputStatus;
|
|
19
19
|
feedback: string;
|
|
20
20
|
hasFeedback: boolean;
|
|
21
21
|
noMargin: boolean;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare enum LoadingSize {
|
|
2
|
+
Small = "small",
|
|
3
|
+
Medium = "medium",
|
|
4
|
+
Large = "large"
|
|
5
|
+
}
|
|
6
|
+
export declare enum LoadingBackgroundColor {
|
|
7
|
+
None = "",
|
|
8
|
+
Neutral20 = "neutral-20",
|
|
9
|
+
Neutral10 = "neutral-10",
|
|
10
|
+
Neutral05 = "neutral-05",
|
|
11
|
+
Neutral00 = "neutral-00"
|
|
12
|
+
}
|
|
13
|
+
export interface LoadingSizeProps {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: LoadingSize;
|
|
16
|
+
options: LoadingSize[];
|
|
17
|
+
}
|
|
18
|
+
export interface LoadingOpacityProps {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface LoadingFullscreenProps {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
}
|
|
26
|
+
export interface LoadingBackgroundColorProps {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: LoadingBackgroundColor;
|
|
29
|
+
options: LoadingBackgroundColor[];
|
|
30
|
+
}
|
|
31
|
+
export interface LoadingIdProps {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
}
|
|
35
|
+
export interface LoadingTestIdProps {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
}
|
|
39
|
+
export interface LoadingConfig {
|
|
40
|
+
name: string;
|
|
41
|
+
class: string;
|
|
42
|
+
props: {
|
|
43
|
+
id: LoadingIdProps;
|
|
44
|
+
testId: LoadingTestIdProps;
|
|
45
|
+
size: LoadingSizeProps;
|
|
46
|
+
opacity: LoadingOpacityProps;
|
|
47
|
+
fullscreen: LoadingFullscreenProps;
|
|
48
|
+
backgroundColor: LoadingBackgroundColorProps;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
declare const loadingConfig: LoadingConfig;
|
|
52
|
+
export default loadingConfig;
|
|
@@ -14,7 +14,7 @@ declare const DsLoading: {
|
|
|
14
14
|
propTypes: {
|
|
15
15
|
id: PropTypes.Requireable<string>;
|
|
16
16
|
testId: PropTypes.Requireable<string>;
|
|
17
|
-
size: PropTypes.Requireable<import('./Loading.config').
|
|
17
|
+
size: PropTypes.Requireable<import('./Loading.config').LoadingSize>;
|
|
18
18
|
opacity: PropTypes.Requireable<boolean>;
|
|
19
19
|
fullscreen: PropTypes.Requireable<boolean>;
|
|
20
20
|
backgroundColor: PropTypes.Requireable<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DsLoadingProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsLoadingProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsLoadingProps>;
|
|
8
8
|
args: {
|
|
9
9
|
size: string;
|
|
10
10
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export interface OptionIdProps {
|
|
2
|
+
type: StringConstructor;
|
|
3
|
+
default: string;
|
|
4
|
+
}
|
|
5
|
+
export interface OptionNameProps {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
}
|
|
9
|
+
export interface OptionTestIdProps {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
}
|
|
13
|
+
export interface OptionLabelProps {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
}
|
|
17
|
+
export interface OptionValueProps {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: string;
|
|
20
|
+
}
|
|
21
|
+
export interface OptionDisabledProps {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface OptionDetailProps {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
}
|
|
29
|
+
export interface OptionCheckedProps {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface OptionOnChangeHandlerProps {
|
|
34
|
+
type: FunctionConstructor;
|
|
35
|
+
default: () => void;
|
|
36
|
+
}
|
|
37
|
+
export interface OptionConfig {
|
|
38
|
+
name: string;
|
|
39
|
+
class: string;
|
|
40
|
+
props: {
|
|
41
|
+
id: OptionIdProps;
|
|
42
|
+
name: OptionNameProps;
|
|
43
|
+
testId: OptionTestIdProps;
|
|
44
|
+
label: OptionLabelProps;
|
|
45
|
+
value: OptionValueProps;
|
|
46
|
+
disabled: OptionDisabledProps;
|
|
47
|
+
detail: OptionDetailProps;
|
|
48
|
+
checked: OptionCheckedProps;
|
|
49
|
+
onChangeHandler: OptionOnChangeHandlerProps;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
declare const optionConfig: OptionConfig;
|
|
53
|
+
export default optionConfig;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DsOptionProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsOptionProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsOptionProps>;
|
|
8
8
|
args: {
|
|
9
9
|
label: string;
|
|
10
10
|
detail: string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum ParagraphType {
|
|
2
|
+
Default = "",
|
|
3
|
+
Large = "large",
|
|
4
|
+
Small = "small"
|
|
5
|
+
}
|
|
6
|
+
export interface ParagraphTypeProps {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: ParagraphType;
|
|
9
|
+
options: ParagraphType[];
|
|
10
|
+
}
|
|
11
|
+
export interface ParagraphConfig {
|
|
12
|
+
name: string;
|
|
13
|
+
class: string;
|
|
14
|
+
props: {
|
|
15
|
+
type: ParagraphTypeProps;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
declare const paragraphConfig: ParagraphConfig;
|
|
19
|
+
export default paragraphConfig;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsParagraphProps } from '.';
|
|
3
|
+
|
|
4
|
+
declare const ComponentProps: Meta;
|
|
5
|
+
export default ComponentProps;
|
|
6
|
+
export declare const Default: {
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsParagraphProps>;
|
|
8
|
+
args: {};
|
|
9
|
+
};
|
|
10
|
+
export declare const Small: {
|
|
11
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsParagraphProps>;
|
|
12
|
+
args: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const Large: {
|
|
17
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsParagraphProps>;
|
|
18
|
+
args: {
|
|
19
|
+
type: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum ProgressColor {
|
|
2
|
+
Success = "success",
|
|
3
|
+
SuccessDark = "success-dark",
|
|
4
|
+
Warning = "warning",
|
|
5
|
+
Danger = "danger"
|
|
6
|
+
}
|
|
7
|
+
export interface ProgressLabelProps {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ProgressProgressProps {
|
|
12
|
+
type: NumberConstructor;
|
|
13
|
+
default: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ProgressColorProps {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: ProgressColor;
|
|
18
|
+
options: ProgressColor[];
|
|
19
|
+
}
|
|
20
|
+
export interface ProgressConfig {
|
|
21
|
+
name: string;
|
|
22
|
+
class: string;
|
|
23
|
+
props: {
|
|
24
|
+
label: ProgressLabelProps;
|
|
25
|
+
progress: ProgressProgressProps;
|
|
26
|
+
color: ProgressColorProps;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
declare const progressConfig: ProgressConfig;
|
|
30
|
+
export default progressConfig;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DsProgressProps } from '.';
|
|
2
1
|
import { Meta } from '@storybook/react';
|
|
2
|
+
import { DsProgressProps } from '.';
|
|
3
3
|
|
|
4
4
|
declare const ComponentProps: Meta;
|
|
5
5
|
export default ComponentProps;
|
|
6
6
|
export declare const Default: {
|
|
7
|
-
render: import('
|
|
7
|
+
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsProgressProps>;
|
|
8
8
|
args: {
|
|
9
9
|
label: string;
|
|
10
10
|
color: string;
|