@akad/design-system 4.0.1 → 5.0.0
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 -1
- package/css/theme-aon.css +1 -1
- package/css/theme-bees.css +1 -1
- package/css/theme-bmc.css +1 -1
- package/css/theme-default.css +1 -1
- package/css/theme-linker.css +1 -1
- package/css/theme-oggi.css +1 -1
- package/css/theme-streetgo.css +1 -1
- package/package.json +13 -4
- package/react/react-lib.js +5373 -5004
- package/react/react-lib.umd.cjs +5 -5
- package/react/src/components/atoms/Badge/Badge.config.d.ts +37 -0
- package/react/src/components/atoms/Badge/Badge.d.ts +22 -0
- package/react/src/components/atoms/Badge/Badge.stories.d.ts +64 -0
- package/react/src/components/atoms/Badge/index.d.ts +4 -0
- package/react/src/components/atoms/Button/Button.config.d.ts +11 -34
- package/react/src/components/atoms/Button/Button.d.ts +34 -61
- package/react/src/components/atoms/Button/Button.stories.d.ts +11 -1
- package/react/src/components/atoms/Button/Button.tracking.d.ts +22 -0
- package/react/src/components/atoms/Card/Card.config.d.ts +41 -87
- package/react/src/components/atoms/Card/Card.d.ts +16 -18
- package/react/src/components/atoms/Card/Card.stories.d.ts +13 -47
- package/react/src/components/atoms/Checkbox/Checkbox.config.d.ts +19 -25
- package/react/src/components/atoms/Checkbox/Checkbox.d.ts +28 -2
- package/react/src/components/atoms/Checkbox/Checkbox.stories.d.ts +43 -3
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.config.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.d.ts +25 -0
- package/react/src/components/atoms/FeedbackMessage/FeedbackMessage.stories.d.ts +39 -0
- package/react/src/components/atoms/FeedbackMessage/index.d.ts +4 -0
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.config.d.ts +13 -13
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.d.ts +8 -11
- package/react/src/components/atoms/HorizontalRule/HorizontalRule.stories.d.ts +2 -2
- package/react/src/components/atoms/HorizontalRule/index.d.ts +1 -1
- package/react/src/components/atoms/Icon/Icon.config.d.ts +37 -103
- package/react/src/components/atoms/Icon/Icon.d.ts +8 -25
- package/react/src/components/atoms/Icon/Icon.stories.d.ts +10 -4
- package/react/src/components/atoms/IconButton/IconButton.config.d.ts +46 -0
- package/react/src/components/atoms/IconButton/IconButton.d.ts +33 -0
- package/react/src/components/atoms/IconButton/IconButton.stories.d.ts +17 -0
- package/react/src/components/atoms/IconButton/index.d.ts +4 -0
- package/react/src/components/atoms/Input/Input.config.d.ts +29 -39
- package/react/src/components/atoms/Input/Input.d.ts +34 -15
- package/react/src/components/atoms/Input/Input.stories.d.ts +30 -3
- package/react/src/components/atoms/Loading/Loading.config.d.ts +18 -26
- package/react/src/components/atoms/Loading/Loading.d.ts +13 -15
- package/react/src/components/atoms/Loading/Loading.stories.d.ts +22 -1
- package/react/src/components/atoms/Radio/Radio.config.d.ts +8 -10
- package/react/src/components/atoms/Radio/Radio.d.ts +21 -9
- package/react/src/components/atoms/Radio/Radio.stories.d.ts +10 -43
- package/react/src/components/atoms/Radio/index.d.ts +1 -1
- package/react/src/components/atoms/Select/Select.config.d.ts +9 -14
- package/react/src/components/atoms/Select/Select.d.ts +20 -10
- package/react/src/components/atoms/Select/Select.stories.d.ts +0 -2
- package/react/src/components/atoms/TextArea/TextArea.config.d.ts +30 -43
- package/react/src/components/atoms/TextArea/TextArea.d.ts +23 -14
- package/react/src/components/atoms/TextArea/TextArea.stories.d.ts +13 -7
- package/react/src/components/atoms/Tooltip/Tooltip.config.d.ts +20 -19
- package/react/src/components/atoms/Tooltip/Tooltip.d.ts +9 -11
- package/react/src/components/atoms/Tooltip/Tooltip.stories.d.ts +14 -37
- package/react/src/components/bosons/Container/Container.config.d.ts +8 -0
- package/react/src/components/bosons/Container/Container.d.ts +3 -9
- package/react/src/components/bosons/Spacer/Spacer.config.d.ts +8 -8
- package/react/src/components/bosons/Spacer/Spacer.d.ts +3 -7
- package/react/src/components/bosons/Wrapper/Wrapper.config.d.ts +11 -3
- package/react/src/components/bosons/Wrapper/Wrapper.d.ts +3 -1
- package/react/src/components/index.d.ts +13 -16
- package/react/src/components/molecules/Accordion/Accordion.config.d.ts +6 -0
- package/react/src/components/molecules/Accordion/Accordion.d.ts +4 -7
- package/react/src/components/molecules/Accordion/Accordion.stories.d.ts +10 -2
- package/react/src/components/molecules/Accordion/index.d.ts +0 -4
- package/react/src/components/molecules/ActiveTags/ActiveTags.config.d.ts +15 -8
- package/react/src/components/molecules/ActiveTags/ActiveTags.d.ts +13 -10
- package/react/src/components/molecules/ActiveTags/ActiveTags.stories.d.ts +39 -5
- package/react/src/components/molecules/Alert/Alert.config.d.ts +54 -0
- package/react/src/components/molecules/Alert/Alert.d.ts +34 -0
- package/react/src/components/molecules/Alert/Alert.stories.d.ts +217 -0
- package/react/src/components/molecules/Alert/index.d.ts +4 -0
- package/react/src/components/molecules/Carousel/Carousel.config.d.ts +9 -1
- package/react/src/components/molecules/Carousel/Carousel.d.ts +5 -14
- package/react/src/components/molecules/Carousel/Carousel.stories.d.ts +31 -0
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardForm.stories.d.ts +21 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.config.d.ts +25 -18
- package/react/src/components/molecules/CheckboxCardGroup/CheckboxCardGroup.d.ts +33 -0
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.stories.d.ts +28 -15
- package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/index.d.ts +0 -4
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.config.d.ts +27 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +37 -0
- package/react/src/components/molecules/CheckboxGroup/CheckboxGroup.stories.d.ts +23 -0
- package/react/src/components/molecules/CheckboxGroup/index.d.ts +4 -0
- package/react/src/components/molecules/Combobox/Combobox.config.d.ts +88 -0
- package/react/src/components/molecules/Combobox/Combobox.d.ts +48 -0
- package/react/src/components/molecules/Combobox/Combobox.stories.d.ts +61 -0
- package/react/src/components/molecules/Combobox/index.d.ts +4 -0
- package/react/src/components/molecules/Indicator/Indicator.config.d.ts +4 -4
- package/react/src/components/molecules/Indicator/Indicator.d.ts +5 -1
- package/react/src/components/molecules/InlineEditable/InlineEditable.config.d.ts +24 -53
- package/react/src/components/molecules/InlineEditable/InlineEditable.d.ts +5 -11
- package/react/src/components/molecules/InlineEditable/InlineEditable.stories.d.ts +17 -3
- package/react/src/components/molecules/InlineEditable/index.d.ts +2 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.config.d.ts +23 -2
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.d.ts +19 -13
- package/react/src/components/molecules/PasswordConfirmation/PasswordConfirmation.stories.d.ts +18 -1
- package/react/src/components/molecules/ProgressBar/ProgressBar.config.d.ts +45 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.d.ts +23 -0
- package/react/src/components/molecules/ProgressBar/ProgressBar.stories.d.ts +33 -0
- package/react/src/components/molecules/ProgressBar/index.d.ts +4 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.config.d.ts +26 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.d.ts +40 -0
- package/react/src/components/molecules/RadioCardGroup/RadioCardGroup.stories.d.ts +20 -0
- package/react/src/components/molecules/RadioCardGroup/index.d.ts +4 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.config.d.ts +27 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.d.ts +38 -0
- package/react/src/components/molecules/RadioGroup/RadioGroup.stories.d.ts +19 -0
- package/react/src/components/molecules/RadioGroup/index.d.ts +4 -0
- package/react/src/components/{atoms → molecules}/SegmentControl/SegmentControl.config.d.ts +18 -9
- package/react/src/components/molecules/SegmentControl/SegmentControl.d.ts +28 -0
- package/react/src/components/molecules/SegmentControl/SegmentControl.stories.d.ts +137 -0
- package/react/src/components/molecules/Stepper/Stepper.config.d.ts +39 -4
- package/react/src/components/molecules/Stepper/Stepper.d.ts +17 -8
- package/react/src/components/molecules/Stepper/Stepper.stories.d.ts +37 -13
- package/react/src/components/molecules/Table/Table.config.d.ts +6 -15
- package/react/src/components/molecules/Table/Table.d.ts +13 -2
- package/react/src/components/molecules/Table/Table.stories.d.ts +1 -1
- package/react/src/components/molecules/Tabs/Tabs.config.d.ts +21 -25
- package/react/src/components/molecules/Tabs/Tabs.d.ts +6 -9
- package/react/src/components/molecules/Tabs/Tabs.stories.d.ts +51 -24
- package/react/src/components/molecules/Tabs/index.d.ts +0 -1
- package/react/src/components/organisms/Modal/Modal.config.d.ts +21 -0
- package/react/src/components/organisms/Modal/Modal.d.ts +25 -0
- package/react/src/components/organisms/Modal/Modal.stories.d.ts +74 -0
- package/react/src/components/organisms/NotificationList/NotificationList.d.ts +6 -11
- package/react/src/components/propLeakage.test.d.ts +1 -0
- package/react/src/components/{molecules → providers}/ThemeProvider/ThemeProvider.config.d.ts +11 -6
- package/react/src/components/providers/ThemeProvider/ThemeProvider.d.ts +12 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.stories.d.ts +17 -0
- package/react/src/components/providers/ThemeProvider/ThemeProvider.test.d.ts +1 -0
- package/react/src/components/providers/ThemeProvider/index.d.ts +4 -0
- package/react/src/components/templates/TwoColumns/TwoColumns.d.ts +6 -13
- package/react/src/components/{atoms/Caption/Caption.stories.d.ts → templates/TwoColumns/TwoColumns.stories.d.ts} +2 -3
- package/react/src/enum/layoutTag.d.ts +10 -0
- package/react/src/helpers/feedbackMessage.d.ts +22 -0
- package/react/src/helpers/feedbackMessage.test.d.ts +1 -0
- package/react/src/helpers/testId.d.ts +7 -0
- package/react/src/helpers/testId.test.d.ts +1 -0
- package/react/src/helpers/useInternalValue.d.ts +23 -0
- package/react/src/helpers/useInternalValue.test.d.ts +1 -0
- package/scss/core/README.md +56 -0
- package/scss/core/base/typography.scss +3 -4
- package/scss/core/components/atoms/badge.scss +116 -0
- package/scss/core/components/atoms/button.scss +94 -797
- package/scss/core/components/atoms/card.scss +74 -126
- package/scss/core/components/atoms/checkbox.scss +110 -47
- package/scss/core/components/atoms/feedback-message.scss +38 -0
- package/scss/core/components/atoms/horizontal-rule.scss +4 -5
- package/scss/core/components/atoms/icon-button.scss +18 -0
- package/scss/core/components/atoms/icon.scss +53 -38
- package/scss/core/components/atoms/input.scss +248 -259
- package/scss/core/components/atoms/loading.scss +133 -77
- package/scss/core/components/atoms/radio.scss +84 -100
- package/scss/core/components/atoms/select.scss +151 -176
- package/scss/core/components/atoms/textarea.scss +154 -281
- package/scss/core/components/atoms/tooltip.scss +129 -149
- package/scss/core/components/bosons/caption.scss +10 -0
- package/scss/core/components/bosons/container.scss +5 -1
- package/scss/core/components/bosons/flex.scss +121 -0
- package/scss/core/components/bosons/grid.scss +39 -43
- package/scss/core/components/bosons/heading.scss +29 -0
- package/scss/core/components/bosons/label.scss +21 -0
- package/scss/core/components/bosons/paragraph.scss +62 -0
- package/scss/core/components/bosons/spacer.scss +6 -34
- package/scss/core/components/bosons/subtitle.scss +9 -0
- package/scss/core/components/bosons/wrapper.scss +10 -2
- package/scss/core/components/index.scss +19 -17
- package/scss/core/components/molecules/accordion.scss +42 -48
- package/scss/core/components/molecules/active-tags.scss +102 -28
- package/scss/core/components/molecules/alert.scss +145 -0
- package/scss/core/components/molecules/carousel.scss +4 -4
- package/scss/core/components/molecules/checkbox-card-group.scss +280 -0
- package/scss/core/components/molecules/checkbox-group.scss +39 -0
- package/scss/core/components/molecules/combobox.scss +158 -0
- package/scss/core/components/molecules/indicator.scss +4 -6
- package/scss/core/components/molecules/inline-editable.scss +6 -8
- package/scss/core/components/molecules/password-confirmation.scss +11 -7
- package/scss/core/components/molecules/progress-bar.scss +85 -0
- package/scss/core/components/molecules/radio-card-group.scss +228 -0
- package/scss/core/components/molecules/radio-group.scss +45 -0
- package/scss/core/components/molecules/segment-control.scss +150 -0
- package/scss/core/components/molecules/stepper.scss +130 -57
- package/scss/core/components/molecules/table.scss +19 -18
- package/scss/core/components/molecules/tabs.scss +37 -215
- package/scss/core/components/organisms/modal.scss +68 -0
- package/scss/core/components/organisms/notification-list.scss +17 -17
- package/scss/core/components/templates/two-columns.scss +6 -6
- package/scss/core/functions/breakpoints.scss +4 -11
- package/scss/core/functions/index.scss +0 -3
- package/scss/core/functions/primitive.scss +68 -0
- package/scss/core/helpers/colors.scss +56 -187
- package/scss/core/helpers/display.scss +0 -148
- package/scss/core/helpers/index.scss +0 -1
- package/scss/core/helpers/order.scss +6 -4
- package/scss/core/index.scss +1 -1
- package/scss/core/mixins/breakpoints.scss +9 -47
- package/scss/core/mixins/choice.scss +88 -0
- package/scss/core/mixins/colors.scss +40 -0
- package/scss/core/mixins/index.scss +3 -2
- package/scss/core/mixins/typography.scss +22 -0
- package/scss/core/{tokens → primitives}/borders.scss +13 -14
- package/scss/core/primitives/breakpoints.scss +14 -0
- package/scss/core/primitives/colors.scss +174 -0
- package/scss/core/primitives/font.scss +34 -0
- package/scss/core/primitives/index.scss +8 -0
- package/scss/core/primitives/opacity.scss +40 -0
- package/scss/core/primitives/shadows.scss +36 -0
- package/scss/core/primitives/sizes.scss +28 -0
- package/scss/core/primitives/spacings.scss +28 -0
- package/scss/core/tokens/breakpoints.scss +12 -19
- package/scss/core/tokens/colors.scss +109 -0
- package/scss/core/tokens/font.scss +27 -0
- package/scss/core/tokens/index.scss +6 -6
- package/scss/core/tokens/sizes.scss +33 -0
- package/scss/core/tokens/spacings.scss +31 -39
- package/scss/core/tokens/typography.scss +144 -19
- package/scss/index.scss +7 -0
- package/scss/themes/aon/index.scss +76 -41
- package/scss/themes/aon/primitives.scss +35 -0
- package/scss/themes/bees/index.scss +52 -34
- package/scss/themes/bees/primitives.scss +19 -0
- package/scss/themes/bmc/index.scss +77 -42
- package/scss/themes/bmc/primitives.scss +33 -0
- package/scss/themes/default/index.scss +15 -59
- package/scss/themes/linker/index.scss +36 -17
- package/scss/themes/linker/primitives.scss +14 -0
- package/scss/themes/oggi/index.scss +77 -42
- package/scss/themes/oggi/primitives.scss +35 -0
- package/scss/themes/streetgo/index.scss +77 -42
- package/scss/themes/streetgo/primitives.scss +34 -0
- package/react/src/components/atoms/Caption/Caption.config.d.ts +0 -6
- package/react/src/components/atoms/Caption/Caption.d.ts +0 -18
- package/react/src/components/atoms/Caption/index.d.ts +0 -4
- package/react/src/components/atoms/Chip/Chip.config.d.ts +0 -43
- package/react/src/components/atoms/Chip/Chip.d.ts +0 -15
- package/react/src/components/atoms/Chip/Chip.stories.d.ts +0 -33
- package/react/src/components/atoms/Chip/index.d.ts +0 -4
- package/react/src/components/atoms/Heading/Heading.config.d.ts +0 -22
- package/react/src/components/atoms/Heading/Heading.d.ts +0 -19
- package/react/src/components/atoms/Heading/Heading.stories.d.ts +0 -48
- package/react/src/components/atoms/Heading/index.d.ts +0 -4
- package/react/src/components/atoms/Option/Option.config.d.ts +0 -53
- package/react/src/components/atoms/Option/Option.d.ts +0 -30
- package/react/src/components/atoms/Option/Option.stories.d.ts +0 -12
- package/react/src/components/atoms/Option/index.d.ts +0 -4
- package/react/src/components/atoms/Paragraph/Paragraph.config.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.d.ts +0 -19
- package/react/src/components/atoms/Paragraph/Paragraph.stories.d.ts +0 -21
- package/react/src/components/atoms/Paragraph/index.d.ts +0 -4
- package/react/src/components/atoms/Progress/Progress.config.d.ts +0 -62
- package/react/src/components/atoms/Progress/Progress.d.ts +0 -16
- package/react/src/components/atoms/Progress/Progress.stories.d.ts +0 -17
- package/react/src/components/atoms/Progress/index.d.ts +0 -4
- package/react/src/components/atoms/SegmentControl/SegmentControl.d.ts +0 -18
- package/react/src/components/atoms/SegmentControl/SegmentControl.stories.d.ts +0 -73
- package/react/src/components/atoms/Subtitle/Subtitle.config.d.ts +0 -18
- package/react/src/components/atoms/Subtitle/Subtitle.d.ts +0 -13
- package/react/src/components/atoms/Subtitle/Subtitle.stories.d.ts +0 -23
- package/react/src/components/atoms/Subtitle/index.d.ts +0 -4
- package/react/src/components/bosons/FlexLayout/FlexElement.config.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/FlexElement.d.ts +0 -27
- package/react/src/components/bosons/FlexLayout/FlexLayout.config.d.ts +0 -95
- package/react/src/components/bosons/FlexLayout/FlexLayout.d.ts +0 -28
- package/react/src/components/bosons/FlexLayout/FlexLayout.stories.d.ts +0 -20
- package/react/src/components/bosons/FlexLayout/index.d.ts +0 -8
- package/react/src/components/bosons/GridLayout/GridElement.config.d.ts +0 -17
- package/react/src/components/bosons/GridLayout/GridElement.d.ts +0 -14
- package/react/src/components/bosons/GridLayout/GridElement.test.d.ts +0 -1
- package/react/src/components/bosons/GridLayout/GridLayout.config.d.ts +0 -80
- package/react/src/components/bosons/GridLayout/GridLayout.d.ts +0 -29
- package/react/src/components/bosons/GridLayout/GridLayout.stories.d.ts +0 -12
- package/react/src/components/bosons/GridLayout/index.d.ts +0 -8
- package/react/src/components/molecules/Accordion/AccordionItem.config.d.ts +0 -28
- package/react/src/components/molecules/Accordion/AccordionItem.d.ts +0 -20
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.config.d.ts +0 -70
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.d.ts +0 -21
- package/react/src/components/molecules/CheckboxCard/CheckboxCard.stories.d.ts +0 -135
- package/react/src/components/molecules/CheckboxCard/CheckboxCardForm.stories.d.ts +0 -36
- package/react/src/components/molecules/CheckboxCard/CheckboxCardGroup.d.ts +0 -34
- package/react/src/components/molecules/EditableSelect/EditableSelect.config.d.ts +0 -114
- package/react/src/components/molecules/EditableSelect/EditableSelect.d.ts +0 -134
- package/react/src/components/molecules/EditableSelect/EditableSelect.stories.d.ts +0 -24
- package/react/src/components/molecules/EditableSelect/EditableSelect.utils.d.ts +0 -15
- package/react/src/components/molecules/EditableSelect/index.d.ts +0 -4
- package/react/src/components/molecules/Modal/Modal.config.d.ts +0 -44
- package/react/src/components/molecules/Modal/Modal.d.ts +0 -31
- package/react/src/components/molecules/Modal/Modal.stories.d.ts +0 -45
- package/react/src/components/molecules/Notification/Notification.config.d.ts +0 -64
- package/react/src/components/molecules/Notification/Notification.d.ts +0 -22
- package/react/src/components/molecules/Notification/Notification.stories.d.ts +0 -95
- package/react/src/components/molecules/Notification/index.d.ts +0 -4
- package/react/src/components/molecules/Table/TableRow.d.ts +0 -7
- package/react/src/components/molecules/Tabs/Tab.d.ts +0 -5
- package/react/src/components/molecules/Tabs/types.d.ts +0 -23
- package/react/src/components/molecules/ThemeProvider/ThemeProvider.d.ts +0 -17
- package/react/src/components/molecules/ThemeProvider/index.d.ts +0 -4
- package/react/src/components/templates/SplitLayout/SplitLayout.config.d.ts +0 -7
- package/react/src/components/templates/SplitLayout/SplitLayout.d.ts +0 -9
- package/react/src/components/templates/SplitLayout/index.d.ts +0 -5
- package/react/src/enum/colorProps.d.ts +0 -30
- package/scss/core/components/atoms/caption.scss +0 -13
- package/scss/core/components/atoms/chip.scss +0 -101
- package/scss/core/components/atoms/heading.scss +0 -70
- package/scss/core/components/atoms/option.scss +0 -78
- package/scss/core/components/atoms/paragraph.scss +0 -44
- package/scss/core/components/atoms/progress.scss +0 -16
- package/scss/core/components/atoms/radio-card.scss +0 -117
- package/scss/core/components/atoms/segment-control.scss +0 -143
- package/scss/core/components/atoms/subtitle.scss +0 -21
- package/scss/core/components/bosons/flex-layout.scss +0 -45
- package/scss/core/components/bosons/grid-layout.scss +0 -76
- package/scss/core/components/molecules/checkbox-card.scss +0 -473
- package/scss/core/components/molecules/editable-select.scss +0 -145
- package/scss/core/components/molecules/modal.scss +0 -70
- package/scss/core/components/molecules/notification.scss +0 -109
- package/scss/core/components/templates/split-layout.scss +0 -51
- package/scss/core/functions/fonts.scss +0 -17
- package/scss/core/functions/spacings.scss +0 -8
- package/scss/core/functions/tokens.scss +0 -14
- package/scss/core/helpers/elevation.scss +0 -16
- package/scss/core/tokens/icons.scss +0 -2
- package/scss/core/tokens/opacity.scss +0 -6
- package/scss/core/tokens/shadows.scss +0 -15
- package/scss/themes/aon/colors.scss +0 -83
- package/scss/themes/bees/colors.scss +0 -32
- package/scss/themes/bmc/colors.scss +0 -81
- package/scss/themes/default/colors.scss +0 -109
- package/scss/themes/linker/colors.scss +0 -35
- package/scss/themes/oggi/colors.scss +0 -81
- package/scss/themes/streetgo/colors.scss +0 -81
- /package/react/src/components/atoms/{Caption/Caption.test.d.ts → Badge/Badge.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Chip/Chip.test.d.ts → FeedbackMessage/FeedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/atoms/{Heading/Heading.test.d.ts → IconButton/IconButton.test.d.ts} +0 -0
- /package/react/src/components/atoms/Input/{mask.d.ts → Input.mask.d.ts} +0 -0
- /package/react/src/components/{atoms/Option/Option.test.d.ts → classesNoCss.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Paragraph/Paragraph.test.d.ts → commonProps.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Progress/Progress.test.d.ts → feedbackMessage.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/index.test.d.ts → index.test.d.ts} +0 -0
- /package/react/src/components/{atoms/SegmentControl/SegmentControl.test.d.ts → messageRegion.test.d.ts} +0 -0
- /package/react/src/components/{atoms/Subtitle/Subtitle.test.d.ts → molecules/Alert/Alert.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard → CheckboxCardGroup}/CheckboxCardGroup.test.d.ts +0 -0
- /package/react/src/components/{bosons/FlexLayout/FlexLayout.test.d.ts → molecules/CheckboxCardGroup/index.test.d.ts} +0 -0
- /package/react/src/components/{bosons/GridLayout/GridLayout.test.d.ts → molecules/CheckboxGroup/CheckboxGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{CheckboxCard/CheckboxCard.test.d.ts → Combobox/Combobox.a11y.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.test.d.ts → Combobox/Combobox.test.d.ts} +0 -0
- /package/react/src/components/molecules/{EditableSelect/EditableSelect.utils.test.d.ts → PasswordConfirmation/PasswordConfirmation.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Notification/Notification.test.d.ts → ProgressBar/ProgressBar.test.d.ts} +0 -0
- /package/react/src/components/molecules/{PasswordConfirmation/PasswordConfirmartion.test.d.ts → RadioCardGroup/RadioCardGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{Tabs/Tab.test.d.ts → RadioGroup/RadioGroup.test.d.ts} +0 -0
- /package/react/src/components/molecules/{ThemeProvider/ThemeProvider.test.d.ts → SegmentControl/SegmentControl.test.d.ts} +0 -0
- /package/react/src/components/{atoms → molecules}/SegmentControl/index.d.ts +0 -0
- /package/react/src/components/{templates/SplitLayout/SplitLayout.test.d.ts → molecules/SegmentControl/index.test.d.ts} +0 -0
- /package/react/src/components/molecules/Table/{dataTable.mock.d.ts → Table.mock.d.ts} +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/Modal.test.d.ts +0 -0
- /package/react/src/components/{molecules → organisms}/Modal/index.d.ts +0 -0
- /package/scss/core/components/{molecules → providers}/theme-provider.scss +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as PropTypes } from 'prop-types';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface DsHeadingProps {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
testId?: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}
|
|
10
|
-
declare const DsHeading: {
|
|
11
|
-
({ children, testId, type, className, }: DsHeadingProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
propTypes: {
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
testId: PropTypes.Requireable<string>;
|
|
15
|
-
type: PropTypes.Requireable<import('./Heading.config').HeadingType>;
|
|
16
|
-
};
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default DsHeading;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { DsHeadingProps } from '.';
|
|
3
|
-
import { ThemeProviderProps } from '../../molecules/ThemeProvider';
|
|
4
|
-
|
|
5
|
-
declare const ComponentProps: Meta;
|
|
6
|
-
export default ComponentProps;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
9
|
-
args: {
|
|
10
|
-
type: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export declare const Heading1: {
|
|
14
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
15
|
-
args: {
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const Heading2: {
|
|
20
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
21
|
-
args: {
|
|
22
|
-
type: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export declare const Heading3: {
|
|
26
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
27
|
-
args: {
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const Heading4: {
|
|
32
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
33
|
-
args: {
|
|
34
|
-
type: string;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
export declare const Heading5: {
|
|
38
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
39
|
-
args: {
|
|
40
|
-
type: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export declare const Heading6: {
|
|
44
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, ThemeProviderProps & DsHeadingProps>;
|
|
45
|
-
args: {
|
|
46
|
-
type: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
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,30 +0,0 @@
|
|
|
1
|
-
import { default as PropTypes } from 'prop-types';
|
|
2
|
-
import { default as React, ReactNode } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface DsOptionProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
5
|
-
id?: string;
|
|
6
|
-
name?: string;
|
|
7
|
-
testId?: string;
|
|
8
|
-
label?: string | ReactNode;
|
|
9
|
-
value?: string;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
detail?: string;
|
|
12
|
-
checked?: boolean;
|
|
13
|
-
onChangeHandler: React.ChangeEventHandler<HTMLInputElement>;
|
|
14
|
-
}
|
|
15
|
-
declare const DsOption: {
|
|
16
|
-
({ id, label, detail, name, testId, disabled, value, checked, onChangeHandler, }: DsOptionProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
propTypes: {
|
|
18
|
-
id: PropTypes.Requireable<string>;
|
|
19
|
-
name: PropTypes.Requireable<string>;
|
|
20
|
-
testId: PropTypes.Requireable<string>;
|
|
21
|
-
label: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike>>;
|
|
22
|
-
value: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
23
|
-
detail: PropTypes.Requireable<string>;
|
|
24
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
25
|
-
checked: PropTypes.Requireable<boolean>;
|
|
26
|
-
onChangeHandler: PropTypes.Requireable<(...args: any[]) => any>;
|
|
27
|
-
};
|
|
28
|
-
displayName: string;
|
|
29
|
-
};
|
|
30
|
-
export default DsOption;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { DsOptionProps } 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, DsOptionProps>;
|
|
8
|
-
args: {
|
|
9
|
-
label: string;
|
|
10
|
-
detail: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
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;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { default as PropTypes } from 'prop-types';
|
|
2
|
-
import { default as React } from 'react';
|
|
3
|
-
|
|
4
|
-
export interface DsParagraphProps {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
className?: string;
|
|
7
|
-
testId?: string;
|
|
8
|
-
type?: string;
|
|
9
|
-
}
|
|
10
|
-
declare const DsParagraph: {
|
|
11
|
-
({ children, className, testId, type, }: DsParagraphProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
propTypes: {
|
|
13
|
-
className: PropTypes.Requireable<string>;
|
|
14
|
-
testId: PropTypes.Requireable<string>;
|
|
15
|
-
type: PropTypes.Requireable<import('./Paragraph.config').ParagraphType>;
|
|
16
|
-
};
|
|
17
|
-
displayName: string;
|
|
18
|
-
};
|
|
19
|
-
export default DsParagraph;
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
export declare enum ProgressColor {
|
|
2
|
-
PrimaryDarker = "primary-darker",
|
|
3
|
-
PrimaryDark = "primary-dark",
|
|
4
|
-
Primary = "primary",
|
|
5
|
-
PrimaryLight = "primary-light",
|
|
6
|
-
PrimaryLighter = "primary-lighter",
|
|
7
|
-
PrimaryLightest = "primary-lightest",
|
|
8
|
-
SecondaryDarker = "secondary-darker",
|
|
9
|
-
SecondaryDark = "secondary-dark",
|
|
10
|
-
Secondary = "secondary",
|
|
11
|
-
SecondaryLight = "secondary-light",
|
|
12
|
-
SecondaryLighter = "secondary-lighter",
|
|
13
|
-
SecondaryLightest = "secondary-lightest",
|
|
14
|
-
Neutral90 = "neutral-90",
|
|
15
|
-
Neutral80 = "neutral-80",
|
|
16
|
-
Neutral60 = "neutral-60",
|
|
17
|
-
Neutral40 = "neutral-40",
|
|
18
|
-
Neutral20 = "neutral-20",
|
|
19
|
-
Neutral10 = "neutral-10",
|
|
20
|
-
Neutral05 = "neutral-05",
|
|
21
|
-
Neutral00 = "neutral-00",
|
|
22
|
-
SuccessDark = "success-dark",
|
|
23
|
-
Success = "success",
|
|
24
|
-
SuccessLight = "success-light",
|
|
25
|
-
SuccessLighter = "success-lighter",
|
|
26
|
-
WarningDark = "warning-dark",
|
|
27
|
-
Warning = "warning",
|
|
28
|
-
WarningLight = "warning-light",
|
|
29
|
-
WarningLighter = "warning-lighter",
|
|
30
|
-
DangerDark = "danger-dark",
|
|
31
|
-
Danger = "danger",
|
|
32
|
-
DangerLight = "danger-light",
|
|
33
|
-
DangerLighter = "danger-lighter",
|
|
34
|
-
InfoDark = "info-dark",
|
|
35
|
-
Info = "info",
|
|
36
|
-
InfoLight = "info-light",
|
|
37
|
-
InfoLighter = "info-lighter"
|
|
38
|
-
}
|
|
39
|
-
export interface ProgressLabelProps {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: string;
|
|
42
|
-
}
|
|
43
|
-
export interface ProgressProgressProps {
|
|
44
|
-
type: NumberConstructor;
|
|
45
|
-
default: number;
|
|
46
|
-
}
|
|
47
|
-
export interface ProgressColorProps {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: ProgressColor;
|
|
50
|
-
options: ProgressColor[];
|
|
51
|
-
}
|
|
52
|
-
export interface ProgressConfig {
|
|
53
|
-
name: string;
|
|
54
|
-
class: string;
|
|
55
|
-
props: {
|
|
56
|
-
label: ProgressLabelProps;
|
|
57
|
-
progress: ProgressProgressProps;
|
|
58
|
-
color: ProgressColorProps;
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
declare const progressConfig: ProgressConfig;
|
|
62
|
-
export default progressConfig;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { default as PropTypes } from 'prop-types';
|
|
2
|
-
|
|
3
|
-
export interface DsProgressProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
progress: number;
|
|
6
|
-
color?: string;
|
|
7
|
-
}
|
|
8
|
-
declare const DsProgress: {
|
|
9
|
-
({ label, progress, color, }: DsProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
propTypes: {
|
|
11
|
-
label: PropTypes.Requireable<string>;
|
|
12
|
-
progress: PropTypes.Requireable<number>;
|
|
13
|
-
color: PropTypes.Requireable<import('./Progress.config').ProgressColor>;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default DsProgress;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { ProgressColor } from './Progress.config';
|
|
3
|
-
import { DsProgressProps } from '.';
|
|
4
|
-
|
|
5
|
-
declare const ComponentProps: Meta;
|
|
6
|
-
export default ComponentProps;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsProgressProps>;
|
|
9
|
-
args: {
|
|
10
|
-
label: string;
|
|
11
|
-
color: ProgressColor;
|
|
12
|
-
progress: number;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export declare const Colors: {
|
|
16
|
-
render: () => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { DsSegmentControlItem, SegmentControlSize } from './SegmentControl.config';
|
|
2
|
-
|
|
3
|
-
export interface DsSegmentControlProps {
|
|
4
|
-
items: DsSegmentControlItem[];
|
|
5
|
-
value?: string;
|
|
6
|
-
defaultValue?: string;
|
|
7
|
-
name?: string;
|
|
8
|
-
size?: SegmentControlSize;
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
className?: string;
|
|
12
|
-
testId?: string;
|
|
13
|
-
onChange?: (value: string, index: number) => void;
|
|
14
|
-
'aria-label'?: string;
|
|
15
|
-
'aria-labelledby'?: string;
|
|
16
|
-
}
|
|
17
|
-
declare const DsSegmentControl: import('react').ForwardRefExoticComponent<DsSegmentControlProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
|
-
export default DsSegmentControl;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { DsSegmentControlProps } from './SegmentControl';
|
|
3
|
-
import { DsSegmentControlItem, SegmentControlSize } from './SegmentControl.config';
|
|
4
|
-
|
|
5
|
-
declare const meta: Meta<DsSegmentControlProps>;
|
|
6
|
-
export default meta;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSegmentControlProps>;
|
|
9
|
-
args: {
|
|
10
|
-
items: DsSegmentControlItem[];
|
|
11
|
-
defaultValue: string;
|
|
12
|
-
size: SegmentControlSize;
|
|
13
|
-
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
14
|
-
'aria-label': string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const Medium: {
|
|
18
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSegmentControlProps>;
|
|
19
|
-
args: {
|
|
20
|
-
size: SegmentControlSize;
|
|
21
|
-
items: DsSegmentControlItem[];
|
|
22
|
-
defaultValue: string;
|
|
23
|
-
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
24
|
-
'aria-label': string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const FullWidth: {
|
|
28
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSegmentControlProps>;
|
|
29
|
-
args: {
|
|
30
|
-
fullWidth: boolean;
|
|
31
|
-
items: DsSegmentControlItem[];
|
|
32
|
-
defaultValue: string;
|
|
33
|
-
size: SegmentControlSize;
|
|
34
|
-
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
35
|
-
'aria-label': string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
export declare const WithDisabledItem: {
|
|
39
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSegmentControlProps>;
|
|
40
|
-
args: {
|
|
41
|
-
items: ({
|
|
42
|
-
value: string;
|
|
43
|
-
label: string;
|
|
44
|
-
disabled?: undefined;
|
|
45
|
-
} | {
|
|
46
|
-
value: string;
|
|
47
|
-
label: string;
|
|
48
|
-
disabled: boolean;
|
|
49
|
-
})[];
|
|
50
|
-
defaultValue: string;
|
|
51
|
-
size: SegmentControlSize;
|
|
52
|
-
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
53
|
-
'aria-label': string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
export declare const FullyDisabled: {
|
|
57
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSegmentControlProps>;
|
|
58
|
-
args: {
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
items: DsSegmentControlItem[];
|
|
61
|
-
defaultValue: string;
|
|
62
|
-
size: SegmentControlSize;
|
|
63
|
-
onChange: import('@storybook/addon-actions').HandlerFunction;
|
|
64
|
-
'aria-label': string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
export declare const Controlled: {
|
|
68
|
-
render: (args: DsSegmentControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
69
|
-
args: {
|
|
70
|
-
items: DsSegmentControlItem[];
|
|
71
|
-
'aria-label': string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare enum SubtitleType {
|
|
2
|
-
Large = "large",
|
|
3
|
-
Small = "small"
|
|
4
|
-
}
|
|
5
|
-
export interface SubtitleTypeProps {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: SubtitleType;
|
|
8
|
-
options: SubtitleType[];
|
|
9
|
-
}
|
|
10
|
-
export interface SubtitleConfig {
|
|
11
|
-
name: string;
|
|
12
|
-
class: string;
|
|
13
|
-
props: {
|
|
14
|
-
type: SubtitleTypeProps;
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
declare const subtitleConfig: SubtitleConfig;
|
|
18
|
-
export default subtitleConfig;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export interface DsSubtitleProps {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
className?: string;
|
|
6
|
-
testId?: string;
|
|
7
|
-
type?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const DsSubtitle: {
|
|
10
|
-
({ children, className, testId, type, }: DsSubtitleProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
export default DsSubtitle;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Meta } from '@storybook/react';
|
|
2
|
-
import { DsSubtitleProps } 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, DsSubtitleProps>;
|
|
8
|
-
args: {
|
|
9
|
-
type: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const Small: {
|
|
13
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSubtitleProps>;
|
|
14
|
-
args: {
|
|
15
|
-
type: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const Large: {
|
|
19
|
-
render: import('storybook/internal/types').AnnotatedStoryFn<import('@storybook/react').ReactRenderer, DsSubtitleProps>;
|
|
20
|
-
args: {
|
|
21
|
-
type: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export interface FlexProps {
|
|
2
|
-
type: StringConstructor;
|
|
3
|
-
default: string;
|
|
4
|
-
required: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface ClassNameProps {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
required: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface FlexElementConfig {
|
|
12
|
-
name: string;
|
|
13
|
-
class: string;
|
|
14
|
-
props: {
|
|
15
|
-
flex: FlexProps;
|
|
16
|
-
className: ClassNameProps;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
declare const flexElementConfig: FlexElementConfig;
|
|
20
|
-
export default flexElementConfig;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { default as PropTypes } from 'prop-types';
|
|
2
|
-
|
|
3
|
-
export interface DsFlexElementProps {
|
|
4
|
-
children: JSX.Element | JSX.Element[];
|
|
5
|
-
className?: string;
|
|
6
|
-
/**
|
|
7
|
-
* @description Flex values for flexbox item. It joins flex-grow, flex-basis & flex-shrink (optional) properties.
|
|
8
|
-
* Flex value can be "none" too.
|
|
9
|
-
* @property {string} flex-grow - a string property to define flex-grow
|
|
10
|
-
* @property {string} flex-shrink - a string property to define flex-shrink
|
|
11
|
-
* @property {string} flex-basis - an optional string property to define flex-basis
|
|
12
|
-
* @value [ none | ${flex-grow} ${flex-shrink} | ${flex-grow} ${flex-shrink} ${flex-basis} ]
|
|
13
|
-
* @example
|
|
14
|
-
* <DsFlexElemnt flex="0 1 auto" />
|
|
15
|
-
* <DsFlexElemnt flex="0 1" />
|
|
16
|
-
*/
|
|
17
|
-
flex?: string;
|
|
18
|
-
}
|
|
19
|
-
declare const DsFlexElement: {
|
|
20
|
-
({ children, flex, className, }: DsFlexElementProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
propTypes: {
|
|
22
|
-
className: PropTypes.Requireable<string>;
|
|
23
|
-
flex: PropTypes.Requireable<string>;
|
|
24
|
-
};
|
|
25
|
-
displayName: string;
|
|
26
|
-
};
|
|
27
|
-
export default DsFlexElement;
|