@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,106 @@
|
|
|
1
|
+
export declare enum ButtonColor {
|
|
2
|
+
Primary = "primary",
|
|
3
|
+
Secondary = "secondary",
|
|
4
|
+
Info = "info",
|
|
5
|
+
Success = "success",
|
|
6
|
+
Danger = "danger",
|
|
7
|
+
Warning = "warning",
|
|
8
|
+
Neutral = "neutral"
|
|
9
|
+
}
|
|
10
|
+
export declare enum ButtonVariant {
|
|
11
|
+
Solid = "solid",
|
|
12
|
+
Outline = "outline",
|
|
13
|
+
Text = "text"
|
|
14
|
+
}
|
|
15
|
+
export declare enum ButtonSize {
|
|
16
|
+
Large = "lg",
|
|
17
|
+
Medium = "md",
|
|
18
|
+
Small = "sm"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ButtonIconPosition {
|
|
21
|
+
Right = "right",
|
|
22
|
+
Left = "left"
|
|
23
|
+
}
|
|
24
|
+
export declare enum ButtonElevation {
|
|
25
|
+
Elevation1 = 1,
|
|
26
|
+
Elevation2 = 2,
|
|
27
|
+
Elevation3 = 3,
|
|
28
|
+
Elevation4 = 4
|
|
29
|
+
}
|
|
30
|
+
export interface ButtonColorProps {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: ButtonColor;
|
|
33
|
+
options: ButtonColor[];
|
|
34
|
+
}
|
|
35
|
+
export interface ButtonVariantProps {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: ButtonVariant;
|
|
38
|
+
options: ButtonVariant[];
|
|
39
|
+
}
|
|
40
|
+
export interface ButtonSizeProps {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: ButtonSize;
|
|
43
|
+
options: ButtonSize[];
|
|
44
|
+
}
|
|
45
|
+
export interface ButtonElevationProps {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
options: ButtonElevation[];
|
|
48
|
+
}
|
|
49
|
+
export interface ButtonDisabledProps {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
}
|
|
53
|
+
export interface ButtonIconProps {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: string;
|
|
56
|
+
}
|
|
57
|
+
export interface ButtonIconFillProps {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
}
|
|
61
|
+
export interface ButtonIconPositionProps {
|
|
62
|
+
type: StringConstructor;
|
|
63
|
+
default: ButtonIconPosition;
|
|
64
|
+
options: ButtonIconPosition[];
|
|
65
|
+
}
|
|
66
|
+
export interface ButtonIdProps {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
}
|
|
70
|
+
export interface ButtonTestIdProps {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
}
|
|
74
|
+
export interface ButtonFullSizeProps {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
}
|
|
78
|
+
export interface ButtonTrackIdProps {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: string;
|
|
81
|
+
}
|
|
82
|
+
export interface ButtonTrackLabelProps {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
}
|
|
86
|
+
export interface ButtonConfig {
|
|
87
|
+
name: string;
|
|
88
|
+
class: string;
|
|
89
|
+
props: {
|
|
90
|
+
color: ButtonColorProps;
|
|
91
|
+
variant: ButtonVariantProps;
|
|
92
|
+
size: ButtonSizeProps;
|
|
93
|
+
elevation: ButtonElevationProps;
|
|
94
|
+
disabled: ButtonDisabledProps;
|
|
95
|
+
icon: ButtonIconProps;
|
|
96
|
+
iconFill: ButtonIconFillProps;
|
|
97
|
+
iconPosition: ButtonIconPositionProps;
|
|
98
|
+
id: ButtonIdProps;
|
|
99
|
+
testId: ButtonTestIdProps;
|
|
100
|
+
fullSize: ButtonFullSizeProps;
|
|
101
|
+
trackId: ButtonTrackIdProps;
|
|
102
|
+
trackLabel: ButtonTrackLabelProps;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
declare const buttonConfig: ButtonConfig;
|
|
106
|
+
export default buttonConfig;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
import { default as PropTypes } from 'prop-types';
|
|
3
3
|
|
|
4
4
|
export interface DsButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
5
|
-
children: string;
|
|
5
|
+
children: string | ReactNode;
|
|
6
6
|
className?: string;
|
|
7
7
|
size?: string;
|
|
8
8
|
disabled?: boolean;
|
|
@@ -15,20 +15,24 @@ export interface DsButtonProps extends HTMLAttributes<HTMLButtonElement> {
|
|
|
15
15
|
iconFill?: boolean;
|
|
16
16
|
iconPosition?: string;
|
|
17
17
|
fullSize?: boolean;
|
|
18
|
+
trackId?: string;
|
|
19
|
+
trackLabel?: string;
|
|
18
20
|
}
|
|
19
21
|
declare const DsButton: {
|
|
20
|
-
({ children, className, onClick, size, disabled, icon, id, testId, elevation, variant, color, iconFill, iconPosition, fullSize, }: DsButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
({ children, className, onClick, size, disabled, icon, id, testId, elevation, variant, color, iconFill, iconPosition, fullSize, trackId, trackLabel, }: DsButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
23
|
propTypes: {
|
|
22
|
-
color: PropTypes.Requireable<import('./Button.config').
|
|
23
|
-
variant: PropTypes.Requireable<import('./Button.config').
|
|
24
|
-
size: PropTypes.Requireable<import('./Button.config').
|
|
24
|
+
color: PropTypes.Requireable<import('./Button.config').ButtonColor>;
|
|
25
|
+
variant: PropTypes.Requireable<import('./Button.config').ButtonVariant>;
|
|
26
|
+
size: PropTypes.Requireable<import('./Button.config').ButtonSize>;
|
|
25
27
|
disabled: PropTypes.Requireable<boolean>;
|
|
26
28
|
icon: PropTypes.Requireable<string>;
|
|
27
29
|
iconFill: PropTypes.Requireable<boolean>;
|
|
28
|
-
iconPosition: PropTypes.Requireable<import('./Button.config').
|
|
30
|
+
iconPosition: PropTypes.Requireable<import('./Button.config').ButtonIconPosition>;
|
|
29
31
|
testId: PropTypes.Requireable<string>;
|
|
30
32
|
id: PropTypes.Requireable<string>;
|
|
31
33
|
fullSize: PropTypes.Requireable<boolean>;
|
|
34
|
+
trackId: PropTypes.Requireable<string>;
|
|
35
|
+
trackLabel: PropTypes.Requireable<string>;
|
|
32
36
|
};
|
|
33
37
|
displayName: string;
|
|
34
38
|
};
|
|
@@ -7,10 +7,10 @@ export default componentProps;
|
|
|
7
7
|
export declare const Default: {
|
|
8
8
|
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsButtonProps>;
|
|
9
9
|
args: {
|
|
10
|
-
variant: import('./Button.config').
|
|
10
|
+
variant: import('./Button.config').ButtonVariant;
|
|
11
11
|
fullSize: boolean;
|
|
12
12
|
iconFill: boolean;
|
|
13
|
-
size: import('./Button.config').
|
|
13
|
+
size: import('./Button.config').ButtonSize;
|
|
14
14
|
disabled: boolean;
|
|
15
15
|
onClick: import('@storybook/addon-actions').HandlerFunction;
|
|
16
16
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
export declare enum CardColor {
|
|
2
|
+
None = "",
|
|
3
|
+
PrimaryDarker = "primary-darker",
|
|
4
|
+
PrimaryDark = "primary-dark",
|
|
5
|
+
Primary = "primary",
|
|
6
|
+
PrimaryLight = "primary-light",
|
|
7
|
+
PrimaryLighter = "primary-lighter",
|
|
8
|
+
PrimaryLightest = "primary-lightest",
|
|
9
|
+
SecondaryDarker = "secondary-darker",
|
|
10
|
+
SecondaryDark = "secondary-dark",
|
|
11
|
+
Secondary = "secondary",
|
|
12
|
+
SecondaryLight = "secondary-light",
|
|
13
|
+
SecondaryLighter = "secondary-lighter",
|
|
14
|
+
SecondaryLightest = "secondary-lightest",
|
|
15
|
+
Neutral90 = "neutral-90",
|
|
16
|
+
Neutral80 = "neutral-80",
|
|
17
|
+
Neutral60 = "neutral-60",
|
|
18
|
+
Neutral40 = "neutral-40",
|
|
19
|
+
Neutral20 = "neutral-20",
|
|
20
|
+
Neutral10 = "neutral-10",
|
|
21
|
+
Neutral05 = "neutral-05",
|
|
22
|
+
Neutral00 = "neutral-00",
|
|
23
|
+
SuccessDark = "success-dark",
|
|
24
|
+
Success = "success",
|
|
25
|
+
SuccessLight = "success-light",
|
|
26
|
+
SuccessLighter = "success-lighter",
|
|
27
|
+
WarningDark = "warning-dark",
|
|
28
|
+
Warning = "warning",
|
|
29
|
+
WarningLight = "warning-light",
|
|
30
|
+
WarningLighter = "warning-lighter",
|
|
31
|
+
DangerDark = "danger-dark",
|
|
32
|
+
Danger = "danger",
|
|
33
|
+
DangerLight = "danger-light",
|
|
34
|
+
DangerLighter = "danger-lighter",
|
|
35
|
+
InfoDark = "info-dark",
|
|
36
|
+
Info = "info",
|
|
37
|
+
InfoLight = "info-light",
|
|
38
|
+
InfoLighter = "info-lighter"
|
|
39
|
+
}
|
|
40
|
+
export declare enum CardElevation {
|
|
41
|
+
Elevation = 0,
|
|
42
|
+
Elevation1 = 1,
|
|
43
|
+
Elevation2 = 2,
|
|
44
|
+
Elevation3 = 3,
|
|
45
|
+
Elevation4 = 4
|
|
46
|
+
}
|
|
47
|
+
export interface CardBackgroundColorProps {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
default: CardColor;
|
|
50
|
+
options: CardColor[];
|
|
51
|
+
}
|
|
52
|
+
export interface CardBorderColorProps {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: CardColor;
|
|
55
|
+
options: CardColor[];
|
|
56
|
+
}
|
|
57
|
+
export interface CardElevationProps {
|
|
58
|
+
type: NumberConstructor;
|
|
59
|
+
default: number;
|
|
60
|
+
options: CardElevation[];
|
|
61
|
+
}
|
|
62
|
+
export interface CardIdProps {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
}
|
|
66
|
+
export interface CardTestIdProps {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
}
|
|
70
|
+
export interface CardTrackIdProps {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
}
|
|
74
|
+
export interface CardTrackLabelProps {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
}
|
|
78
|
+
export interface CardConfig {
|
|
79
|
+
name: string;
|
|
80
|
+
class: string;
|
|
81
|
+
props: {
|
|
82
|
+
backgroundColor: CardBackgroundColorProps;
|
|
83
|
+
borderColor: CardBorderColorProps;
|
|
84
|
+
elevation: CardElevationProps;
|
|
85
|
+
id: CardIdProps;
|
|
86
|
+
testId: CardTestIdProps;
|
|
87
|
+
trackId: CardTrackIdProps;
|
|
88
|
+
trackLabel: CardTrackLabelProps;
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
declare const cardConfig: CardConfig;
|
|
92
|
+
export default cardConfig;
|
|
@@ -8,15 +8,19 @@ export interface DsCardProps {
|
|
|
8
8
|
elevation?: number;
|
|
9
9
|
backgroundColor?: string;
|
|
10
10
|
borderColor?: string;
|
|
11
|
+
trackId?: string;
|
|
12
|
+
trackLabel?: string;
|
|
11
13
|
}
|
|
12
14
|
declare const DsCard: {
|
|
13
|
-
({ id, testId, children, className, elevation, backgroundColor, borderColor, }: DsCardProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
({ id, testId, children, className, elevation, backgroundColor, borderColor, trackId, trackLabel, }: DsCardProps): import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
propTypes: {
|
|
15
17
|
id: PropTypes.Requireable<string>;
|
|
16
18
|
testId: PropTypes.Requireable<string>;
|
|
17
|
-
backgroundColor: PropTypes.Requireable<import('./Card.config').
|
|
18
|
-
borderColor: PropTypes.Requireable<import('./Card.config').
|
|
19
|
-
elevation: PropTypes.Requireable<
|
|
19
|
+
backgroundColor: PropTypes.Requireable<import('./Card.config').CardColor>;
|
|
20
|
+
borderColor: PropTypes.Requireable<import('./Card.config').CardColor>;
|
|
21
|
+
elevation: PropTypes.Requireable<import('./Card.config').CardElevation>;
|
|
22
|
+
trackId: PropTypes.Requireable<string>;
|
|
23
|
+
trackLabel: PropTypes.Requireable<string>;
|
|
20
24
|
};
|
|
21
25
|
displayName: string;
|
|
22
26
|
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
|
-
export interface
|
|
3
|
+
export interface CheckboxNameProps {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
required: false;
|
|
6
6
|
}
|
|
7
|
-
export interface
|
|
7
|
+
export interface CheckboxTestIdProps {
|
|
8
8
|
type: StringConstructor;
|
|
9
9
|
default: string;
|
|
10
10
|
}
|
|
11
|
-
export interface
|
|
11
|
+
export interface CheckboxLabelProps {
|
|
12
12
|
type: StringConstructor;
|
|
13
13
|
default: string;
|
|
14
14
|
}
|
|
15
|
-
export interface
|
|
15
|
+
export interface CheckboxDescriptionProps {
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: string;
|
|
18
18
|
}
|
|
19
|
-
export interface
|
|
19
|
+
export interface CheckboxCheckedProps {
|
|
20
20
|
type: BooleanConstructor;
|
|
21
21
|
default: boolean;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface CheckboxChangeByCheckedProps {
|
|
24
24
|
type: BooleanConstructor;
|
|
25
25
|
default: boolean;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface CheckboxDisabledProps {
|
|
28
28
|
type: BooleanConstructor;
|
|
29
29
|
default: boolean;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface CheckboxOnChangeHandlerProps {
|
|
32
32
|
type: FunctionConstructor;
|
|
33
33
|
default: () => void;
|
|
34
34
|
}
|
|
@@ -48,15 +48,15 @@ export interface CheckboxConfig {
|
|
|
48
48
|
name: string;
|
|
49
49
|
class: string;
|
|
50
50
|
props: {
|
|
51
|
-
name:
|
|
52
|
-
testId:
|
|
53
|
-
label:
|
|
54
|
-
description:
|
|
55
|
-
checked:
|
|
56
|
-
disabled:
|
|
57
|
-
changeByChecked:
|
|
58
|
-
onChangeHandler:
|
|
51
|
+
name: CheckboxNameProps;
|
|
52
|
+
testId: CheckboxTestIdProps;
|
|
53
|
+
label: CheckboxLabelProps;
|
|
54
|
+
description: CheckboxDescriptionProps;
|
|
55
|
+
checked: CheckboxCheckedProps;
|
|
56
|
+
disabled: CheckboxDisabledProps;
|
|
57
|
+
changeByChecked: CheckboxChangeByCheckedProps;
|
|
58
|
+
onChangeHandler: CheckboxOnChangeHandlerProps;
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
|
-
declare const
|
|
62
|
-
export default
|
|
61
|
+
declare const checkboxConfig: CheckboxConfig;
|
|
62
|
+
export default checkboxConfig;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum HeadingType {
|
|
2
|
+
Heading1 = "heading-1",
|
|
3
|
+
Heading2 = "heading-2",
|
|
4
|
+
Heading3 = "heading-3",
|
|
5
|
+
Heading4 = "heading-4",
|
|
6
|
+
Heading5 = "heading-5",
|
|
7
|
+
Heading6 = "heading-6"
|
|
8
|
+
}
|
|
9
|
+
export interface HeadingTypeProps {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: HeadingType;
|
|
12
|
+
options: HeadingType[];
|
|
13
|
+
}
|
|
14
|
+
export interface HeadingConfig {
|
|
15
|
+
name: string;
|
|
16
|
+
class: string;
|
|
17
|
+
props: {
|
|
18
|
+
type: HeadingTypeProps;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
declare const headingConfig: HeadingConfig;
|
|
22
|
+
export default headingConfig;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum HRBorderStyle {
|
|
2
|
+
None = "",
|
|
3
|
+
Dashed = "dashed",
|
|
4
|
+
Dotted = "dotted"
|
|
5
|
+
}
|
|
6
|
+
export declare enum HRSize {
|
|
7
|
+
None = "",
|
|
8
|
+
Small = "small",
|
|
9
|
+
Large = "large"
|
|
10
|
+
}
|
|
11
|
+
export interface HRBorderStyleProps {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: HRBorderStyle;
|
|
14
|
+
options: HRBorderStyle[];
|
|
15
|
+
}
|
|
16
|
+
export interface HRSizeProps {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: HRSize;
|
|
19
|
+
options: HRSize[];
|
|
20
|
+
}
|
|
21
|
+
export interface HRConfig {
|
|
22
|
+
name: string;
|
|
23
|
+
class: string;
|
|
24
|
+
props: {
|
|
25
|
+
borderStyle: HRBorderStyleProps;
|
|
26
|
+
size: HRSizeProps;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
declare const hrConfig: HRConfig;
|
|
30
|
+
export default hrConfig;
|
|
@@ -7,8 +7,8 @@ export interface DsHRProps {
|
|
|
7
7
|
declare const DsHR: {
|
|
8
8
|
({ size, borderStyle, }: DsHRProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
propTypes: {
|
|
10
|
-
size: PropTypes.Requireable<import('./HorizontalRule.config').
|
|
11
|
-
borderStyle: PropTypes.Requireable<import('./HorizontalRule.config').
|
|
10
|
+
size: PropTypes.Requireable<import('./HorizontalRule.config').HRSize>;
|
|
11
|
+
borderStyle: PropTypes.Requireable<import('./HorizontalRule.config').HRBorderStyle>;
|
|
12
12
|
};
|
|
13
13
|
displayName: string;
|
|
14
14
|
};
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -7,10 +7,10 @@ export declare const Default: {
|
|
|
7
7
|
render: import('@storybook/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsIconProps>;
|
|
8
8
|
args: {
|
|
9
9
|
image: string;
|
|
10
|
-
color: import('
|
|
11
|
-
size: import('
|
|
10
|
+
color: import('.').IconColor;
|
|
11
|
+
size: import('.').IconSize;
|
|
12
12
|
fill: boolean;
|
|
13
|
-
weight: import('
|
|
13
|
+
weight: import('.').IconWeight;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export declare const List: {
|