@edvisor/product-language 0.10.2 → 0.10.3
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/index.d.ts +2 -0
- package/index.js +11271 -0
- package/lib/components/alert-banner/alert-banner.d.ts +15 -0
- package/lib/components/alert-banner/alert-level-flags.d.ts +18 -0
- package/lib/components/alert-banner/index.d.ts +1 -0
- package/lib/components/badge/badge-type-flags.d.ts +18 -0
- package/lib/components/badge/badge.d.ts +5 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/{src/lib/components/card/atoms/card-frame.tsx → lib/components/card/atoms/card-frame.d.ts} +7 -16
- package/lib/components/card/atoms/index.d.ts +1 -0
- package/lib/components/card/card.d.ts +14 -0
- package/lib/components/card/components/card-alert-banner-slot.d.ts +6 -0
- package/lib/components/card/components/card-controls-slot.d.ts +5 -0
- package/lib/components/card/components/card-section-slot.d.ts +11 -0
- package/lib/components/card/components/index.d.ts +3 -0
- package/lib/components/card/index.d.ts +3 -0
- package/lib/components/card/molecules/index.d.ts +1 -0
- package/lib/components/card/molecules/left-right-card.d.ts +16 -0
- package/lib/components/checkbox/checkbox.d.ts +11 -0
- package/lib/components/checkbox/helpers.d.ts +12 -0
- package/lib/components/checkbox/index.d.ts +1 -0
- package/lib/components/date-picker/components/custom-calendar.d.ts +6 -0
- package/lib/components/date-picker/components/index.d.ts +1 -0
- package/lib/components/date-picker/date-picker.d.ts +4 -0
- package/lib/components/date-picker/helpers/date-picker-factory.d.ts +34 -0
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/divider/divider-type-flags.d.ts +9 -0
- package/lib/components/divider/divider.d.ts +7 -0
- package/lib/components/divider/index.d.ts +1 -0
- package/lib/components/flag/flag-size-flags.d.ts +12 -0
- package/lib/components/flag/flag.d.ts +9 -0
- package/lib/components/flag/flag.list.d.ts +782 -0
- package/lib/components/flag/index.d.ts +1 -0
- package/lib/components/icon/icon-list.d.ts +132 -0
- package/lib/components/icon/icon.d.ts +131 -0
- package/lib/components/icon/index.d.ts +1 -0
- package/lib/components/index.d.ts +24 -0
- package/lib/components/input-field/components/index.d.ts +2 -0
- package/lib/components/input-field/components/labeled-input.d.ts +10 -0
- package/lib/components/input-field/components/stepper.d.ts +7 -0
- package/lib/components/input-field/index.d.ts +3 -0
- package/lib/components/input-field/input-field.d.ts +26 -0
- package/lib/components/input-field/input-number.d.ts +18 -0
- package/lib/components/input-field/input-text.d.ts +14 -0
- package/lib/components/layout/flex.d.ts +16 -0
- package/lib/components/layout/grid-layout.d.ts +11 -0
- package/lib/components/layout/index.d.ts +3 -0
- package/lib/components/layout/left-right-layout.d.ts +34 -0
- package/lib/components/link/index.d.ts +1 -0
- package/lib/components/link/link.d.ts +14 -0
- package/lib/components/modal/index.d.ts +3 -0
- package/lib/components/modal/modal-base.d.ts +28 -0
- package/lib/components/modal/modal-destructive.d.ts +11 -0
- package/lib/components/modal/modal.d.ts +13 -0
- package/lib/components/molecules/avatar/avatar-size-flags.d.ts +12 -0
- package/lib/components/molecules/avatar/avatar.d.ts +12 -0
- package/lib/components/molecules/avatar/index.d.ts +1 -0
- package/lib/components/molecules/button/button-flags.d.ts +44 -0
- package/lib/components/molecules/button/button.d.ts +12 -0
- package/lib/components/molecules/button/index.d.ts +1 -0
- package/lib/components/molecules/index.d.ts +3 -0
- package/lib/components/molecules/input-checkbox/index.d.ts +1 -0
- package/lib/components/molecules/input-checkbox/input-checkbox.d.ts +8 -0
- package/lib/components/organisms/choice-list/choice-list.d.ts +9 -0
- package/lib/components/organisms/choice-list/index.d.ts +1 -0
- package/lib/components/organisms/index.d.ts +2 -0
- package/lib/components/organisms/multi-choice-list/index.d.ts +1 -0
- package/lib/components/organisms/multi-choice-list/multi-choice-list.d.ts +11 -0
- package/lib/components/progress-bar/index.d.ts +1 -0
- package/lib/components/progress-bar/progress-bar-size-flags.d.ts +10 -0
- package/lib/components/progress-bar/progress-bar.d.ts +8 -0
- package/lib/components/radio-button/index.d.ts +1 -0
- package/lib/components/radio-button/radio-button.d.ts +10 -0
- package/lib/components/range-slider/components/bar-chart.d.ts +8 -0
- package/lib/components/range-slider/components/handle.d.ts +12 -0
- package/lib/components/range-slider/components/rail.d.ts +9 -0
- package/lib/components/range-slider/components/slider-component.d.ts +12 -0
- package/lib/components/range-slider/components/slider-inputs.d.ts +14 -0
- package/lib/components/range-slider/components/tick.d.ts +10 -0
- package/lib/components/range-slider/components/track.d.ts +11 -0
- package/lib/components/range-slider/index.d.ts +2 -0
- package/lib/components/range-slider/range-slider.d.ts +15 -0
- package/lib/components/range-slider/slider.d.ts +11 -0
- package/lib/components/range-slider/types.d.ts +11 -0
- package/lib/components/select/components/helpers.d.ts +17 -0
- package/lib/components/select/components/menu-container.d.ts +3 -0
- package/lib/components/select/components/menu-list.d.ts +3 -0
- package/lib/components/select/components/menu-row.d.ts +9 -0
- package/lib/components/select/components/menu.d.ts +3 -0
- package/lib/components/select/components/option.d.ts +3 -0
- package/lib/components/select/components/select-label.d.ts +1 -0
- package/lib/components/select/components/value-component-multi.d.ts +4 -0
- package/lib/components/select/components/value-component-single.d.ts +4 -0
- package/lib/components/select/components/value.d.ts +4 -0
- package/lib/components/select/index.d.ts +3 -0
- package/lib/components/select/select.d.ts +10 -0
- package/lib/components/select/types.d.ts +133 -0
- package/lib/components/select/utils.d.ts +15 -0
- package/{src/lib/components/radio-button/index.tsx → lib/components/spinner/index.d.ts} +1 -1
- package/lib/components/spinner/spinner-size-flags.d.ts +10 -0
- package/lib/components/spinner/spinner.d.ts +9 -0
- package/lib/components/tabs/components/index.d.ts +1 -0
- package/lib/components/tabs/components/tab.d.ts +8 -0
- package/lib/components/tabs/index.d.ts +1 -0
- package/lib/components/tabs/tabs.d.ts +16 -0
- package/lib/components/tag/components/close-button.d.ts +8 -0
- package/lib/components/tag/components/index.d.ts +2 -0
- package/lib/components/tag/components/tag-label.d.ts +8 -0
- package/lib/components/tag/index.d.ts +1 -0
- package/lib/components/tag/tag.d.ts +10 -0
- package/lib/components/thumbnail/index.d.ts +1 -0
- package/lib/components/thumbnail/thumbnail-size-flags.d.ts +10 -0
- package/lib/components/thumbnail/thumbnail.d.ts +10 -0
- package/lib/components/tooltip/index.d.ts +1 -0
- package/lib/components/tooltip/tooltip.d.ts +26 -0
- package/lib/components/tree-view/components/tree-node.d.ts +3 -0
- package/lib/components/tree-view/helper.d.ts +12 -0
- package/lib/components/tree-view/index.d.ts +2 -0
- package/lib/components/tree-view/tree-view.d.ts +3 -0
- package/lib/components/tree-view/types.d.ts +63 -0
- package/lib/components/typography/index.d.ts +1 -0
- package/lib/components/typography/typography.d.ts +24 -0
- package/lib/foundations/color-system/base-palette/base-palette.d.ts +76 -0
- package/lib/foundations/color-system/base-palette/index.d.ts +1 -0
- package/lib/foundations/color-system/color-guidelines/color-guidelines.d.ts +133 -0
- package/lib/foundations/color-system/color-guidelines/index.d.ts +1 -0
- package/lib/foundations/color-system/components/color-sample.d.ts +17 -0
- package/lib/foundations/color-system/components/index.d.ts +1 -0
- package/lib/foundations/color-system/index.d.ts +1 -0
- package/lib/foundations/index.d.ts +4 -0
- package/lib/foundations/shadows/components.d.ts +8 -0
- package/lib/foundations/shadows/index.d.ts +1 -0
- package/lib/foundations/shadows/shadows.d.ts +8 -0
- package/lib/foundations/spacing/index.d.ts +1 -0
- package/lib/foundations/spacing/spacing-guidelines.d.ts +33 -0
- package/lib/foundations/spacing/spacing.d.ts +18 -0
- package/lib/foundations/typography/constants.d.ts +22 -0
- package/lib/foundations/typography/fonts.d.ts +1 -0
- package/lib/foundations/typography/index.d.ts +1 -0
- package/lib/foundations/typography/text-aspect-flags.d.ts +19 -0
- package/lib/foundations/typography/typography.d.ts +24 -0
- package/lib/helpers/generic-types.d.ts +21 -0
- package/lib/helpers/index.d.ts +8 -0
- package/lib/helpers/isReactElementOfType.d.ts +8 -0
- package/lib/helpers/nothing.d.ts +10 -0
- package/{src/lib/helpers/numbers.ts → lib/helpers/numbers.d.ts} +50 -67
- package/lib/helpers/safe-navigation.d.ts +17 -0
- package/lib/helpers/slots.d.ts +17 -0
- package/lib/helpers/strings.d.ts +1 -0
- package/lib/helpers/useInputElementState.d.ts +30 -0
- package/lib/helpers/useKeyDown.d.ts +1 -0
- package/package.json +27 -2
- package/.babelrc +0 -12
- package/.eslintrc.json +0 -147
- package/.release-it.json +0 -17
- package/.storybook/main.js +0 -57
- package/.storybook/manager.js +0 -7
- package/.storybook/preview.js +0 -15
- package/.storybook/tsconfig.json +0 -30
- package/jest.config.ts +0 -15
- package/jest.setup.ts +0 -2
- package/project.json +0 -98
- package/src/README.md +0 -61
- package/src/assets/svg/example_icon.svg +0 -3
- package/src/assets/svg/example_icon_white.svg +0 -3
- package/src/assets/svg/spinner.svg +0 -3
- package/src/assets/svg/spinner_white.svg +0 -3
- package/src/helpers/index.ts +0 -4
- package/src/helpers/playground.ts +0 -26
- package/src/helpers/talesOf.tsx +0 -42
- package/src/index.ts +0 -2
- package/src/lib/components/README.md +0 -49
- package/src/lib/components/alert-banner/alert-banner.test.tsx +0 -93
- package/src/lib/components/alert-banner/alert-banner.tsx +0 -117
- package/src/lib/components/alert-banner/alert-level-flags.ts +0 -101
- package/src/lib/components/alert-banner/index.ts +0 -1
- package/src/lib/components/alert-banner/storybook/alert-banner.stories.mdx +0 -67
- package/src/lib/components/alert-banner/storybook/components.tsx +0 -124
- package/src/lib/components/badge/badge-type-flags.ts +0 -72
- package/src/lib/components/badge/badge.test.tsx +0 -29
- package/src/lib/components/badge/badge.tsx +0 -22
- package/src/lib/components/badge/index.ts +0 -1
- package/src/lib/components/badge/stories/badge.stories.mdx +0 -44
- package/src/lib/components/badge/stories/components.tsx +0 -49
- package/src/lib/components/card/atoms/index.ts +0 -1
- package/src/lib/components/card/card.test.tsx +0 -162
- package/src/lib/components/card/card.tsx +0 -78
- package/src/lib/components/card/components/card-alert-banner-slot.tsx +0 -16
- package/src/lib/components/card/components/card-controls-slot.tsx +0 -19
- package/src/lib/components/card/components/card-section-slot.tsx +0 -51
- package/src/lib/components/card/components/index.ts +0 -3
- package/src/lib/components/card/index.ts +0 -3
- package/src/lib/components/card/molecules/index.ts +0 -1
- package/src/lib/components/card/molecules/left-right-card.test.tsx +0 -89
- package/src/lib/components/card/molecules/left-right-card.tsx +0 -63
- package/src/lib/components/card/storybook/card.stories.mdx +0 -100
- package/src/lib/components/card/storybook/components.tsx +0 -227
- package/src/lib/components/checkbox/checkbox.test.tsx +0 -39
- package/src/lib/components/checkbox/checkbox.tsx +0 -70
- package/src/lib/components/checkbox/helpers.tsx +0 -98
- package/src/lib/components/checkbox/index.tsx +0 -1
- package/src/lib/components/checkbox/stories/checkbox.stories.mdx +0 -57
- package/src/lib/components/checkbox/stories/components.tsx +0 -84
- package/src/lib/components/date-picker/components/custom-calendar.tsx +0 -193
- package/src/lib/components/date-picker/components/index.ts +0 -1
- package/src/lib/components/date-picker/data-picker.test.tsx +0 -220
- package/src/lib/components/date-picker/date-picker.tsx +0 -10
- package/src/lib/components/date-picker/helpers/date-picker-factory.tsx +0 -210
- package/src/lib/components/date-picker/index.ts +0 -1
- package/src/lib/components/date-picker/storybook/components.tsx +0 -259
- package/src/lib/components/date-picker/storybook/date-picker.stories.mdx +0 -133
- package/src/lib/components/divider/divider-type-flags.tsx +0 -37
- package/src/lib/components/divider/divider.test.tsx +0 -34
- package/src/lib/components/divider/divider.tsx +0 -37
- package/src/lib/components/divider/index.tsx +0 -1
- package/src/lib/components/divider/stories/components.tsx +0 -13
- package/src/lib/components/divider/stories/divider.stories.mdx +0 -44
- package/src/lib/components/flag/flag-size-flags.tsx +0 -55
- package/src/lib/components/flag/flag.list.tsx +0 -788
- package/src/lib/components/flag/flag.test.tsx +0 -65
- package/src/lib/components/flag/flag.tsx +0 -97
- package/src/lib/components/flag/index.tsx +0 -1
- package/src/lib/components/flag/stories/components.tsx +0 -403
- package/src/lib/components/flag/stories/flag.stories.mdx +0 -48
- package/src/lib/components/flag/stories/playGround-select.tsx +0 -145
- package/src/lib/components/icon/icon-list.tsx +0 -135
- package/src/lib/components/icon/icon.test.tsx +0 -47
- package/src/lib/components/icon/icon.tsx +0 -181
- package/src/lib/components/icon/index.tsx +0 -1
- package/src/lib/components/icon/stories/components.tsx +0 -282
- package/src/lib/components/icon/stories/icon.stories.mdx +0 -65
- package/src/lib/components/index.ts +0 -26
- package/src/lib/components/input-field/components/index.ts +0 -2
- package/src/lib/components/input-field/components/labeled-input.tsx +0 -57
- package/src/lib/components/input-field/components/stepper.tsx +0 -64
- package/src/lib/components/input-field/index.ts +0 -6
- package/src/lib/components/input-field/input-field.test.tsx +0 -107
- package/src/lib/components/input-field/input-field.tsx +0 -154
- package/src/lib/components/input-field/input-number.tsx +0 -41
- package/src/lib/components/input-field/input-text.tsx +0 -30
- package/src/lib/components/input-field/storybook/components.tsx +0 -367
- package/src/lib/components/input-field/storybook/input-field.stories.mdx +0 -120
- package/src/lib/components/layout/flex.tsx +0 -22
- package/src/lib/components/layout/grid-layout.tsx +0 -40
- package/src/lib/components/layout/index.ts +0 -3
- package/src/lib/components/layout/left-right-layout.tsx +0 -67
- package/src/lib/components/link/index.ts +0 -1
- package/src/lib/components/link/link.test.tsx +0 -29
- package/src/lib/components/link/link.tsx +0 -56
- package/src/lib/components/link/storybook/link.stories.mdx +0 -52
- package/src/lib/components/modal/index.ts +0 -3
- package/src/lib/components/modal/modal-base.tsx +0 -129
- package/src/lib/components/modal/modal-destructive.tsx +0 -70
- package/src/lib/components/modal/modal.test.tsx +0 -138
- package/src/lib/components/modal/modal.tsx +0 -114
- package/src/lib/components/modal/storybook/components.tsx +0 -105
- package/src/lib/components/modal/storybook/modal-destructive.stories.mdx +0 -31
- package/src/lib/components/modal/storybook/modal.stories.mdx +0 -50
- package/src/lib/components/molecules/avatar/avatar-size-flags.tsx +0 -55
- package/src/lib/components/molecules/avatar/avatar.test.tsx +0 -114
- package/src/lib/components/molecules/avatar/avatar.tsx +0 -80
- package/src/lib/components/molecules/avatar/index.tsx +0 -1
- package/src/lib/components/molecules/avatar/stories/avatar.stories.mdx +0 -52
- package/src/lib/components/molecules/avatar/stories/components.tsx +0 -36
- package/src/lib/components/molecules/button/button-flags.tsx +0 -340
- package/src/lib/components/molecules/button/button.test.tsx +0 -77
- package/src/lib/components/molecules/button/button.tsx +0 -212
- package/src/lib/components/molecules/button/index.tsx +0 -1
- package/src/lib/components/molecules/button/stories/button.stories.mdx +0 -105
- package/src/lib/components/molecules/button/stories/components.tsx +0 -90
- package/src/lib/components/molecules/index.ts +0 -3
- package/src/lib/components/molecules/input-checkbox/index.tsx +0 -1
- package/src/lib/components/molecules/input-checkbox/input-checkbox.test.tsx +0 -34
- package/src/lib/components/molecules/input-checkbox/input-checkbox.tsx +0 -50
- package/src/lib/components/molecules/input-checkbox/stories/components.tsx +0 -53
- package/src/lib/components/molecules/input-checkbox/stories/input-checkbox.stories.mdx +0 -49
- package/src/lib/components/organisms/choice-list/choice-list.test.tsx +0 -36
- package/src/lib/components/organisms/choice-list/choice-list.tsx +0 -72
- package/src/lib/components/organisms/choice-list/index.tsx +0 -1
- package/src/lib/components/organisms/choice-list/stories/choice-list.stories.mdx +0 -57
- package/src/lib/components/organisms/choice-list/stories/components.tsx +0 -45
- package/src/lib/components/organisms/index.ts +0 -2
- package/src/lib/components/organisms/multi-choice-list/index.tsx +0 -1
- package/src/lib/components/organisms/multi-choice-list/multi-choice-list.test.tsx +0 -33
- package/src/lib/components/organisms/multi-choice-list/multi-choice-list.tsx +0 -53
- package/src/lib/components/organisms/multi-choice-list/stories/components.tsx +0 -124
- package/src/lib/components/organisms/multi-choice-list/stories/multi-choice-list.stories.mdx +0 -99
- package/src/lib/components/progress-bar/index.ts +0 -1
- package/src/lib/components/progress-bar/progress-bar-size-flags.tsx +0 -37
- package/src/lib/components/progress-bar/progress-bar.test.tsx +0 -66
- package/src/lib/components/progress-bar/progress-bar.tsx +0 -42
- package/src/lib/components/progress-bar/storybook/components.tsx +0 -62
- package/src/lib/components/progress-bar/storybook/progress-bar.stories.mdx +0 -43
- package/src/lib/components/radio-button/radio-button.tsx +0 -135
- package/src/lib/components/radio-button/radio.test.tsx +0 -59
- package/src/lib/components/radio-button/stories/components.tsx +0 -36
- package/src/lib/components/radio-button/stories/radio-button.stories.mdx +0 -44
- package/src/lib/components/range-slider/components/bar-chart.tsx +0 -50
- package/src/lib/components/range-slider/components/handle.tsx +0 -58
- package/src/lib/components/range-slider/components/rail.tsx +0 -44
- package/src/lib/components/range-slider/components/slider-component.tsx +0 -98
- package/src/lib/components/range-slider/components/slider-inputs.tsx +0 -150
- package/src/lib/components/range-slider/components/tick.tsx +0 -51
- package/src/lib/components/range-slider/components/track.tsx +0 -67
- package/src/lib/components/range-slider/index.tsx +0 -2
- package/src/lib/components/range-slider/range-slider.test.tsx +0 -185
- package/src/lib/components/range-slider/range-slider.tsx +0 -132
- package/src/lib/components/range-slider/slider.test.tsx +0 -89
- package/src/lib/components/range-slider/slider.tsx +0 -80
- package/src/lib/components/range-slider/stories/components.tsx +0 -179
- package/src/lib/components/range-slider/stories/range-slider.stories.mdx +0 -84
- package/src/lib/components/range-slider/types.ts +0 -18
- package/src/lib/components/select/components/menu-container.tsx +0 -69
- package/src/lib/components/select/components/menu-list.tsx +0 -195
- package/src/lib/components/select/components/menu-row.tsx +0 -43
- package/src/lib/components/select/components/menu.tsx +0 -151
- package/src/lib/components/select/components/option.tsx +0 -91
- package/src/lib/components/select/components/select-label.tsx +0 -10
- package/src/lib/components/select/components/value-component-multi.tsx +0 -40
- package/src/lib/components/select/components/value-component-single.tsx +0 -27
- package/src/lib/components/select/components/value.tsx +0 -370
- package/src/lib/components/select/index.tsx +0 -3
- package/src/lib/components/select/select.test.tsx +0 -148
- package/src/lib/components/select/select.tsx +0 -337
- package/src/lib/components/select/storybook/components.tsx +0 -999
- package/src/lib/components/select/storybook/radio-group.tsx +0 -157
- package/src/lib/components/select/storybook/select.stories.mdx +0 -172
- package/src/lib/components/select/types.ts +0 -149
- package/src/lib/components/select/utils.ts +0 -101
- package/src/lib/components/spinner/index.tsx +0 -1
- package/src/lib/components/spinner/spinner-size-flags.tsx +0 -39
- package/src/lib/components/spinner/spinner.test.tsx +0 -31
- package/src/lib/components/spinner/spinner.tsx +0 -54
- package/src/lib/components/spinner/stories/components.tsx +0 -39
- package/src/lib/components/spinner/stories/spinner.stories.mdx +0 -35
- package/src/lib/components/tabs/components/index.ts +0 -1
- package/src/lib/components/tabs/components/tab.tsx +0 -85
- package/src/lib/components/tabs/index.tsx +0 -1
- package/src/lib/components/tabs/storybook/components.tsx +0 -317
- package/src/lib/components/tabs/storybook/tabs.stories.mdx +0 -105
- package/src/lib/components/tabs/tabs.test.tsx +0 -86
- package/src/lib/components/tabs/tabs.tsx +0 -115
- package/src/lib/components/tag/components/close-button.tsx +0 -85
- package/src/lib/components/tag/components/index.ts +0 -2
- package/src/lib/components/tag/components/tag-label.tsx +0 -45
- package/src/lib/components/tag/index.tsx +0 -1
- package/src/lib/components/tag/stories/components.tsx +0 -86
- package/src/lib/components/tag/stories/tag.stories.mdx +0 -42
- package/src/lib/components/tag/tag.test.tsx +0 -36
- package/src/lib/components/tag/tag.tsx +0 -33
- package/src/lib/components/thumbnail/index.tsx +0 -1
- package/src/lib/components/thumbnail/stories/thumbnail.stories.mdx +0 -44
- package/src/lib/components/thumbnail/thumbnail-size-flags.tsx +0 -41
- package/src/lib/components/thumbnail/thumbnail.test.tsx +0 -51
- package/src/lib/components/thumbnail/thumbnail.tsx +0 -44
- package/src/lib/components/tooltip/index.tsx +0 -1
- package/src/lib/components/tooltip/stories/components.tsx +0 -224
- package/src/lib/components/tooltip/stories/tooltip.stories.mdx +0 -63
- package/src/lib/components/tooltip/tooltip.test.tsx +0 -22
- package/src/lib/components/tooltip/tooltip.tsx +0 -179
- package/src/lib/components/tree-view/components/tree-node.tsx +0 -203
- package/src/lib/components/tree-view/helper.tsx +0 -171
- package/src/lib/components/tree-view/index.ts +0 -2
- package/src/lib/components/tree-view/stories/components.tsx +0 -640
- package/src/lib/components/tree-view/stories/tree-view.stories.mdx +0 -127
- package/src/lib/components/tree-view/tree-view.test.tsx +0 -146
- package/src/lib/components/tree-view/tree-view.tsx +0 -168
- package/src/lib/components/tree-view/types.tsx +0 -70
- package/src/lib/components/typography/index.ts +0 -1
- package/src/lib/components/typography/storybook/components.tsx +0 -288
- package/src/lib/components/typography/storybook/typography.stories.mdx +0 -90
- package/src/lib/components/typography/typography.test.tsx +0 -97
- package/src/lib/components/typography/typography.tsx +0 -99
- package/src/lib/foundations/color-system/base-palette/base-palette.stories.tsx +0 -123
- package/src/lib/foundations/color-system/base-palette/base-palette.ts +0 -93
- package/src/lib/foundations/color-system/base-palette/index.ts +0 -1
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.stories.mdx +0 -85
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.stories.tsx +0 -231
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.ts +0 -160
- package/src/lib/foundations/color-system/color-guidelines/index.ts +0 -1
- package/src/lib/foundations/color-system/components/color-sample.tsx +0 -99
- package/src/lib/foundations/color-system/components/index.ts +0 -1
- package/src/lib/foundations/color-system/index.ts +0 -1
- package/src/lib/foundations/index.ts +0 -4
- package/src/lib/foundations/shadows/components.tsx +0 -59
- package/src/lib/foundations/shadows/index.ts +0 -1
- package/src/lib/foundations/shadows/shadows.stories.mdx +0 -71
- package/src/lib/foundations/shadows/shadows.tsx +0 -47
- package/src/lib/foundations/spacing/index.ts +0 -1
- package/src/lib/foundations/spacing/spacing-guidelines.ts +0 -37
- package/src/lib/foundations/spacing/spacing.stories.mdx +0 -51
- package/src/lib/foundations/spacing/spacing.ts +0 -18
- package/src/lib/foundations/typography/constants.ts +0 -25
- package/src/lib/foundations/typography/fonts.ts +0 -205
- package/src/lib/foundations/typography/index.tsx +0 -1
- package/src/lib/foundations/typography/text-aspect-flags.ts +0 -61
- package/src/lib/foundations/typography/typography.tsx +0 -102
- package/src/lib/helpers/generic-types.ts +0 -44
- package/src/lib/helpers/index.ts +0 -8
- package/src/lib/helpers/isReactElementOfType.test.tsx +0 -108
- package/src/lib/helpers/isReactElementOfType.ts +0 -42
- package/src/lib/helpers/nothing.tsx +0 -22
- package/src/lib/helpers/safe-navigation.ts +0 -57
- package/src/lib/helpers/slots.tsx +0 -126
- package/src/lib/helpers/strings.test.ts +0 -47
- package/src/lib/helpers/strings.ts +0 -16
- package/src/lib/helpers/useInputElementState.ts +0 -56
- package/src/lib/helpers/useKeyDown.ts +0 -17
- package/tsconfig.json +0 -35
- package/tsconfig.lib.json +0 -28
- package/tsconfig.spec.json +0 -21
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './flag';
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const IconListMajor: {
|
|
3
|
+
readonly 'arrows-up-down-left-right': JSX.Element;
|
|
4
|
+
readonly 'badge-percent': JSX.Element;
|
|
5
|
+
readonly 'bed-front': JSX.Element;
|
|
6
|
+
readonly bell: JSX.Element;
|
|
7
|
+
readonly book: JSX.Element;
|
|
8
|
+
readonly 'box-archive': JSX.Element;
|
|
9
|
+
readonly 'building-columns': JSX.Element;
|
|
10
|
+
readonly building: JSX.Element;
|
|
11
|
+
readonly 'bullseye-arrow': JSX.Element;
|
|
12
|
+
readonly calculator: JSX.Element;
|
|
13
|
+
readonly 'calendar-day': JSX.Element;
|
|
14
|
+
readonly 'chart-line': JSX.Element;
|
|
15
|
+
readonly check: JSX.Element;
|
|
16
|
+
readonly 'circle-check': JSX.Element;
|
|
17
|
+
readonly 'circle-info': JSX.Element;
|
|
18
|
+
readonly 'circle-question': JSX.Element;
|
|
19
|
+
readonly 'clipboard-check': JSX.Element;
|
|
20
|
+
readonly 'comment-lines': JSX.Element;
|
|
21
|
+
readonly 'diamond-exclamation': JSX.Element;
|
|
22
|
+
readonly envelope: JSX.Element;
|
|
23
|
+
readonly 'eye-slash': JSX.Element;
|
|
24
|
+
readonly eye: JSX.Element;
|
|
25
|
+
readonly 'file-certificate': JSX.Element;
|
|
26
|
+
readonly 'file-chart-column': JSX.Element;
|
|
27
|
+
readonly 'file-invoice-dollar': JSX.Element;
|
|
28
|
+
readonly 'file-lines': JSX.Element;
|
|
29
|
+
readonly gear: JSX.Element;
|
|
30
|
+
readonly 'graduation-cap': JSX.Element;
|
|
31
|
+
readonly house: JSX.Element;
|
|
32
|
+
readonly 'magnifying-glass': JSX.Element;
|
|
33
|
+
readonly 'paper-plane-top': JSX.Element;
|
|
34
|
+
readonly 'school-flag': JSX.Element;
|
|
35
|
+
readonly 'shield-plus': JSX.Element;
|
|
36
|
+
readonly store: JSX.Element;
|
|
37
|
+
readonly suitcase: JSX.Element;
|
|
38
|
+
readonly tag: JSX.Element;
|
|
39
|
+
readonly 'triangle-exclamation': JSX.Element;
|
|
40
|
+
readonly 'user-group': JSX.Element;
|
|
41
|
+
readonly user: JSX.Element;
|
|
42
|
+
readonly wrench: JSX.Element;
|
|
43
|
+
readonly 'xmark-large': JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export declare const IconListMinor: {
|
|
46
|
+
readonly 'arrow-down-to-line': JSX.Element;
|
|
47
|
+
readonly 'arrow-left': JSX.Element;
|
|
48
|
+
readonly 'arrow-right-from-bracket': JSX.Element;
|
|
49
|
+
readonly 'arrow-right': JSX.Element;
|
|
50
|
+
readonly 'arrow-up-arrow-down': JSX.Element;
|
|
51
|
+
readonly 'arrow-up-from-line': JSX.Element;
|
|
52
|
+
readonly 'arrow-up-right-from-square-regular': JSX.Element;
|
|
53
|
+
readonly 'badge-check': JSX.Element;
|
|
54
|
+
readonly 'badge-percent': JSX.Element;
|
|
55
|
+
readonly ban: JSX.Element;
|
|
56
|
+
readonly 'bars-filter': JSX.Element;
|
|
57
|
+
readonly bars: JSX.Element;
|
|
58
|
+
readonly 'bed-front': JSX.Element;
|
|
59
|
+
readonly bold: JSX.Element;
|
|
60
|
+
readonly book: JSX.Element;
|
|
61
|
+
readonly bookmark: JSX.Element;
|
|
62
|
+
readonly calendar: JSX.Element;
|
|
63
|
+
readonly campground: JSX.Element;
|
|
64
|
+
readonly 'cart-shopping': JSX.Element;
|
|
65
|
+
readonly 'chart-pie-simple': JSX.Element;
|
|
66
|
+
readonly check: JSX.Element;
|
|
67
|
+
readonly 'chevron-down-solid': JSX.Element;
|
|
68
|
+
readonly 'chevron-left-solid': JSX.Element;
|
|
69
|
+
readonly 'chevron-right-solid': JSX.Element;
|
|
70
|
+
readonly 'chevron-up-solid': JSX.Element;
|
|
71
|
+
readonly 'circle-dollar': JSX.Element;
|
|
72
|
+
readonly 'circle-exclamation': JSX.Element;
|
|
73
|
+
readonly 'circle-info': JSX.Element;
|
|
74
|
+
readonly 'circle-small': JSX.Element;
|
|
75
|
+
readonly clock: JSX.Element;
|
|
76
|
+
readonly clone: JSX.Element;
|
|
77
|
+
readonly comment: JSX.Element;
|
|
78
|
+
readonly 'credit-card': JSX.Element;
|
|
79
|
+
readonly desktop: JSX.Element;
|
|
80
|
+
readonly 'ellipsis-vertical': JSX.Element;
|
|
81
|
+
readonly envelope: JSX.Element;
|
|
82
|
+
readonly 'eye-slash': JSX.Element;
|
|
83
|
+
readonly eye: JSX.Element;
|
|
84
|
+
readonly facebook: JSX.Element;
|
|
85
|
+
readonly 'fire-burner': JSX.Element;
|
|
86
|
+
readonly fire: JSX.Element;
|
|
87
|
+
readonly 'folder-open': JSX.Element;
|
|
88
|
+
readonly folder: JSX.Element;
|
|
89
|
+
readonly 'graduation-cap': JSX.Element;
|
|
90
|
+
readonly h1: JSX.Element;
|
|
91
|
+
readonly 'heart-solid': JSX.Element;
|
|
92
|
+
readonly heart: JSX.Element;
|
|
93
|
+
readonly instagram: JSX.Element;
|
|
94
|
+
readonly italic: JSX.Element;
|
|
95
|
+
readonly link: JSX.Element;
|
|
96
|
+
readonly 'list-ol': JSX.Element;
|
|
97
|
+
readonly 'list-ul': JSX.Element;
|
|
98
|
+
readonly 'location-dot': JSX.Element;
|
|
99
|
+
readonly lock: JSX.Element;
|
|
100
|
+
readonly loveseat: JSX.Element;
|
|
101
|
+
readonly 'magnifying-glass': JSX.Element;
|
|
102
|
+
readonly minus: JSX.Element;
|
|
103
|
+
readonly 'mug-tea': JSX.Element;
|
|
104
|
+
readonly paperclip: JSX.Element;
|
|
105
|
+
readonly pen: JSX.Element;
|
|
106
|
+
readonly 'person-praying': JSX.Element;
|
|
107
|
+
readonly 'plane-arrival': JSX.Element;
|
|
108
|
+
readonly 'plane-departure': JSX.Element;
|
|
109
|
+
readonly plus: JSX.Element;
|
|
110
|
+
readonly print: JSX.Element;
|
|
111
|
+
readonly 'rotate-left': JSX.Element;
|
|
112
|
+
readonly 'rotate-right': JSX.Element;
|
|
113
|
+
readonly school: JSX.Element;
|
|
114
|
+
readonly 'share-nodes': JSX.Element;
|
|
115
|
+
readonly 'shield-plus': JSX.Element;
|
|
116
|
+
readonly spinner: JSX.Element;
|
|
117
|
+
readonly 'star-solid': JSX.Element;
|
|
118
|
+
readonly star: JSX.Element;
|
|
119
|
+
readonly strikethrough: JSX.Element;
|
|
120
|
+
readonly 'table-tennis-paddle-ball': JSX.Element;
|
|
121
|
+
readonly 'trash-can': JSX.Element;
|
|
122
|
+
readonly twitter: JSX.Element;
|
|
123
|
+
readonly underline: JSX.Element;
|
|
124
|
+
readonly user: JSX.Element;
|
|
125
|
+
readonly utensils: JSX.Element;
|
|
126
|
+
readonly whatsapp: JSX.Element;
|
|
127
|
+
readonly wheelchair: JSX.Element;
|
|
128
|
+
readonly wifi: JSX.Element;
|
|
129
|
+
readonly xmark: JSX.Element;
|
|
130
|
+
readonly youtube: JSX.Element;
|
|
131
|
+
};
|
|
132
|
+
export declare type IconNames = keyof typeof IconListMajor & keyof typeof IconListMajor;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export declare const Icon: {
|
|
3
|
+
ArrowsUpDownLeftRight: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
4
|
+
BadgePercent: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
5
|
+
Bell: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
6
|
+
Book: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
7
|
+
BoxArchive: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
8
|
+
BuildingColumns: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
9
|
+
Building: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
10
|
+
BullseyeArrow: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
11
|
+
Calculator: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
12
|
+
CalendarDay: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
13
|
+
ChartLine: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
14
|
+
Check: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
15
|
+
CircleCheck: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
16
|
+
CircleInfo: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
17
|
+
CircleQuestion: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
18
|
+
ClipboardCheck: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
19
|
+
CommentLines: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
20
|
+
DiamondExclamation: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
21
|
+
Envelope: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
22
|
+
Eye: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
23
|
+
EyeSlash: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
24
|
+
FileCertificate: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
25
|
+
FileChartColumn: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
26
|
+
FileInvoiceDollar: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
27
|
+
FileLines: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
28
|
+
Gear: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
29
|
+
GraduationCap: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
30
|
+
House: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
31
|
+
MagnifyingGlass: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
32
|
+
PaperPlaneTop: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
33
|
+
SchoolFlag: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
34
|
+
ShieldPlus: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
35
|
+
Store: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
36
|
+
Suitcase: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
37
|
+
Tag: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
38
|
+
BedFront: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
39
|
+
TriangleExclamation: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
40
|
+
UserGroup: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
41
|
+
User: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
42
|
+
Wrench: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
43
|
+
XmarkLarge: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
44
|
+
};
|
|
45
|
+
export declare const IconMinor: {
|
|
46
|
+
ArrowDownToLine: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
47
|
+
ArrowLeft: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
48
|
+
ArrowRightFromBracket: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
49
|
+
ArrowRight: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
50
|
+
ArrowUpArrowDown: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
51
|
+
ArrowUpFromLine: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
52
|
+
ArrowUpRightFromSquare: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
53
|
+
BadgeCheck: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
54
|
+
BadgePercent: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
55
|
+
Ban: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
56
|
+
BarsFilter: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
57
|
+
Bars: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
58
|
+
BedFront: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
59
|
+
Bold: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
60
|
+
Bookmark: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
61
|
+
Book: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
62
|
+
Calendar: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
63
|
+
Campground: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
64
|
+
CartShopping: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
65
|
+
ChartPieSimple: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
66
|
+
Check: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
67
|
+
ChevronDownSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
68
|
+
ChevronLeftSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
69
|
+
ChevronRightSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
70
|
+
ChevronUpSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
71
|
+
CircleDollar: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
72
|
+
CircleExclamation: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
73
|
+
CircleInfo: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
74
|
+
CircleSmall: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
75
|
+
Clock: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
76
|
+
Clone: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
77
|
+
Comment: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
78
|
+
CreditCard: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
79
|
+
Desktop: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
80
|
+
EllipsisVertical: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
81
|
+
Envelope: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
82
|
+
Eye: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
83
|
+
EyeSlash: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
84
|
+
Facebook: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
85
|
+
FireBurner: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
86
|
+
Fire: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
87
|
+
Folder: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
88
|
+
FolderOpen: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
89
|
+
GraduationCap: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
90
|
+
H1: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
91
|
+
Heart: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
92
|
+
HeartSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
93
|
+
Instagram: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
94
|
+
Italic: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
95
|
+
Link: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
96
|
+
ListOl: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
97
|
+
ListUl: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
98
|
+
LocationDot: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
99
|
+
Lock: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
100
|
+
Loveseat: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
101
|
+
MagnifyingGlass: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
102
|
+
Minus: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
103
|
+
MugTea: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
104
|
+
Paperclip: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
105
|
+
Pen: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
106
|
+
PersonPraying: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
107
|
+
PlaneArrival: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
108
|
+
PlaneDeparture: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
109
|
+
Plus: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
110
|
+
Print: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
111
|
+
RotateLeft: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
112
|
+
RotateRight: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
113
|
+
School: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
114
|
+
ShareNodes: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
115
|
+
ShieldPlus: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
116
|
+
Spinner: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
117
|
+
Star: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
118
|
+
StarSolid: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
119
|
+
Strikethrough: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
120
|
+
TableTennisPaddleBall: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
121
|
+
TrashCan: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
122
|
+
Twitter: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
123
|
+
Underline: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
124
|
+
User: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
125
|
+
Utensils: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
126
|
+
Whatsapp: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
127
|
+
Wheelchair: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
128
|
+
Wifi: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
129
|
+
Xmark: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
130
|
+
Youtube: (props: HTMLAttributes<HTMLElement>) => JSX.Element;
|
|
131
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './icon';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './alert-banner';
|
|
2
|
+
export * from './badge';
|
|
3
|
+
export * from './card';
|
|
4
|
+
export * from './checkbox';
|
|
5
|
+
export * from './radio-button';
|
|
6
|
+
export * from './divider';
|
|
7
|
+
export * from './input-field';
|
|
8
|
+
export * from './layout';
|
|
9
|
+
export * from './link';
|
|
10
|
+
export * from './tag';
|
|
11
|
+
export * from './thumbnail';
|
|
12
|
+
export * from './typography';
|
|
13
|
+
export * from './tabs';
|
|
14
|
+
export * from './icon';
|
|
15
|
+
export * from './flag';
|
|
16
|
+
export * from './spinner';
|
|
17
|
+
export * from './select';
|
|
18
|
+
export * from './tree-view';
|
|
19
|
+
export * from './tooltip';
|
|
20
|
+
export * from './date-picker';
|
|
21
|
+
export * from './range-slider';
|
|
22
|
+
export * from './modal';
|
|
23
|
+
export * from './molecules';
|
|
24
|
+
export * from './organisms';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { PropsWithChildren, FC } from '@helpers';
|
|
2
|
+
interface ILabeledInputProps extends PropsWithChildren {
|
|
3
|
+
label?: string;
|
|
4
|
+
helpText?: string;
|
|
5
|
+
errors?: {
|
|
6
|
+
message: string;
|
|
7
|
+
}[];
|
|
8
|
+
}
|
|
9
|
+
export declare const LabeledInput: FC<ILabeledInputProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { Slot } from '@helpers';
|
|
3
|
+
import { LabeledInput } from './components';
|
|
4
|
+
export declare const HTMLInput: import("styled-components").StyledComponent<"input", any, {} & import("@foundations").IBodyProps, never>;
|
|
5
|
+
declare class IconSlot extends Slot {
|
|
6
|
+
}
|
|
7
|
+
declare class ControlsSlot extends Slot {
|
|
8
|
+
}
|
|
9
|
+
export declare type InputFieldSlots = {
|
|
10
|
+
Icon: typeof IconSlot;
|
|
11
|
+
Controls: typeof ControlsSlot;
|
|
12
|
+
Label: typeof LabeledInput;
|
|
13
|
+
};
|
|
14
|
+
interface IInputFieldProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
15
|
+
invalid?: boolean;
|
|
16
|
+
prefix?: string;
|
|
17
|
+
suffix?: string;
|
|
18
|
+
label?: string;
|
|
19
|
+
labelPosition?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const InputField: import("react").ForwardRefExoticComponent<IInputFieldProps & import("react").RefAttributes<HTMLInputElement>> & {
|
|
22
|
+
Icon: typeof IconSlot;
|
|
23
|
+
Controls: typeof ControlsSlot;
|
|
24
|
+
Label: typeof LabeledInput;
|
|
25
|
+
};
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { InputFieldSlots } from './input-field';
|
|
3
|
+
import { Stepper } from './components';
|
|
4
|
+
interface IInputNumberProps {
|
|
5
|
+
value?: number;
|
|
6
|
+
onChange: (change?: number) => void;
|
|
7
|
+
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
invalid?: boolean;
|
|
10
|
+
prefix?: string;
|
|
11
|
+
suffix?: string;
|
|
12
|
+
required?: boolean;
|
|
13
|
+
}
|
|
14
|
+
declare type IInputNumberSlots = InputFieldSlots & {
|
|
15
|
+
Stepper: typeof Stepper;
|
|
16
|
+
};
|
|
17
|
+
export declare const InputNumber: FC<IInputNumberProps, IInputNumberSlots>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { InputFieldSlots } from './input-field';
|
|
3
|
+
interface IInputTextProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (change: string) => void;
|
|
6
|
+
label?: string;
|
|
7
|
+
invalid?: boolean;
|
|
8
|
+
placeholder?: string;
|
|
9
|
+
prefix?: string;
|
|
10
|
+
suffix?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const InputText: FC<IInputTextProps, InputFieldSlots>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
column?: boolean | undefined;
|
|
3
|
+
center?: boolean | undefined;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const SpaceBetween: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
+
column?: boolean | undefined;
|
|
7
|
+
center?: boolean | undefined;
|
|
8
|
+
}, never>;
|
|
9
|
+
export declare const SpaceAround: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
+
column?: boolean | undefined;
|
|
11
|
+
center?: boolean | undefined;
|
|
12
|
+
}, never>;
|
|
13
|
+
export declare const Center: import("styled-components").StyledComponent<"div", any, {
|
|
14
|
+
column?: boolean | undefined;
|
|
15
|
+
center?: boolean | undefined;
|
|
16
|
+
}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface IGridLayoutGeneratorProps {
|
|
2
|
+
columns?: number;
|
|
3
|
+
rows?: number;
|
|
4
|
+
columnGutter?: number;
|
|
5
|
+
rowGutter?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare function gridLayoutGenerator(props?: IGridLayoutGeneratorProps): {
|
|
8
|
+
Grid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
Cell: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
interface ILeftRightLayoutGeneratorProps {
|
|
4
|
+
columns?: number;
|
|
5
|
+
columnGutter?: number;
|
|
6
|
+
rowGutter?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function leftRightLayoutGenerator(layoutProps?: ILeftRightLayoutGeneratorProps): {
|
|
9
|
+
LeftRightLayout: FC<{
|
|
10
|
+
children?: import("react").ReactNode;
|
|
11
|
+
}, {
|
|
12
|
+
Left: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
|
+
Right: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
+
HeadingText: import("styled-components").StyledComponent<FC<import("components/typography").ITextComponentProps, {}>, any, {}, never>;
|
|
15
|
+
HelpText: import("styled-components").StyledComponent<FC<import("components/typography").ITextComponentProps & import("@foundations").IBodyProps, {}>, any, {
|
|
16
|
+
subdued: true;
|
|
17
|
+
}, "subdued">;
|
|
18
|
+
BodyText: FC<import("components/typography").ITextComponentProps & import("@foundations").IBodyProps, {}>;
|
|
19
|
+
}>;
|
|
20
|
+
Layout: FC<{
|
|
21
|
+
children?: import("react").ReactNode;
|
|
22
|
+
}, {
|
|
23
|
+
Left: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
24
|
+
Right: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
25
|
+
HeadingText: import("styled-components").StyledComponent<FC<import("components/typography").ITextComponentProps, {}>, any, {}, never>;
|
|
26
|
+
HelpText: import("styled-components").StyledComponent<FC<import("components/typography").ITextComponentProps & import("@foundations").IBodyProps, {}>, any, {
|
|
27
|
+
subdued: true;
|
|
28
|
+
}, "subdued">;
|
|
29
|
+
BodyText: FC<import("components/typography").ITextComponentProps & import("@foundations").IBodyProps, {}>;
|
|
30
|
+
}>;
|
|
31
|
+
Left: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
32
|
+
Right: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './link';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
export declare const HTMLAnchor: import("styled-components").StyledComponent<"a", any, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
initialColor: string;
|
|
6
|
+
interactionColor: string;
|
|
7
|
+
}, never>;
|
|
8
|
+
interface ILinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
9
|
+
label: string;
|
|
10
|
+
subtle?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const Link: FC<ILinkProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
interface Sizes {
|
|
4
|
+
small: string;
|
|
5
|
+
critical: string;
|
|
6
|
+
default: string;
|
|
7
|
+
large: string;
|
|
8
|
+
xLarge: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const MODAL_SIZE: Sizes;
|
|
11
|
+
export declare const MODAL_SIZE_TEXT: {
|
|
12
|
+
SMALL: string;
|
|
13
|
+
CRITICAL: string;
|
|
14
|
+
DEFAULT: string;
|
|
15
|
+
LARGE: string;
|
|
16
|
+
XLARGE: string;
|
|
17
|
+
};
|
|
18
|
+
export interface IModalBaseProps {
|
|
19
|
+
open: boolean;
|
|
20
|
+
children: React.ReactElement;
|
|
21
|
+
closeOnEsc?: boolean;
|
|
22
|
+
modalSize?: keyof typeof MODAL_SIZE;
|
|
23
|
+
onOverlayClick?: () => void;
|
|
24
|
+
onClose: () => void;
|
|
25
|
+
}
|
|
26
|
+
export declare type IModalBase = InputHTMLAttributes<HTMLInputElement> & IModalBaseProps;
|
|
27
|
+
export declare const ModalBase: FC<IModalBase>;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { IModalBaseProps } from './modal-base';
|
|
4
|
+
export interface IModalDestructiveProps extends IModalBaseProps {
|
|
5
|
+
primaryButtonLabel?: string;
|
|
6
|
+
closeButtonLabel: string;
|
|
7
|
+
onPrimaryAction: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare type IModalDestructive = IModalDestructiveProps & HTMLAttributes<HTMLDivElement>;
|
|
10
|
+
export declare const ModalDestructive: FC<IModalDestructive>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
import { IModalBaseProps } from './modal-base';
|
|
4
|
+
export interface IModalProps extends IModalBaseProps {
|
|
5
|
+
title?: string;
|
|
6
|
+
primaryButtonLabel?: string;
|
|
7
|
+
closeButtonLabel?: string;
|
|
8
|
+
secondaryButtonLabel?: string;
|
|
9
|
+
onPrimaryAction?: () => void;
|
|
10
|
+
onSecondaryAction?: () => void;
|
|
11
|
+
}
|
|
12
|
+
export declare type IModal = IModalProps & InputHTMLAttributes<HTMLInputElement>;
|
|
13
|
+
export declare const Modal: FC<IModal>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { MappedEnum, RequireOnlyOne, PropsWithChildren } from '@helpers';
|
|
3
|
+
declare const enum AvatarSize {
|
|
4
|
+
small = 1,
|
|
5
|
+
medium = 2,
|
|
6
|
+
large = 4
|
|
7
|
+
}
|
|
8
|
+
declare type AvatarSizes<T> = MappedEnum<typeof AvatarSize, T>;
|
|
9
|
+
export declare type AvatarSizeProps = Partial<RequireOnlyOne<AvatarSizes<boolean>>> & PropsWithChildren;
|
|
10
|
+
export declare function getValuesBySize(props: AvatarSizeProps): string;
|
|
11
|
+
export declare function getNodeToRenderText(props: AvatarSizeProps): React.ElementType;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { AvatarSizeProps } from './avatar-size-flags';
|
|
3
|
+
interface IAvatarProps {
|
|
4
|
+
name: string;
|
|
5
|
+
imageUrl?: string;
|
|
6
|
+
imageLabel?: string;
|
|
7
|
+
withLabel?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare type IProps = IAvatarProps & AvatarSizeProps;
|
|
11
|
+
export declare const Avatar: FC<IProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './avatar';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { MappedEnum, RequireOnlyOne, PropsWithChildren } from '@helpers';
|
|
2
|
+
export declare const enum ButtonType {
|
|
3
|
+
basic = 1,
|
|
4
|
+
primary = 2,
|
|
5
|
+
destructive = 4,
|
|
6
|
+
destructivePrimary = 6,
|
|
7
|
+
outline = 8,
|
|
8
|
+
plain = 16,
|
|
9
|
+
subtle = 32,
|
|
10
|
+
plainSubtle = 48
|
|
11
|
+
}
|
|
12
|
+
declare const enum ButtonSize {
|
|
13
|
+
default = 1,
|
|
14
|
+
small = 2,
|
|
15
|
+
large = 4
|
|
16
|
+
}
|
|
17
|
+
declare const enum ButtonDisabledType {
|
|
18
|
+
enabled = 1,
|
|
19
|
+
disabled = 2
|
|
20
|
+
}
|
|
21
|
+
declare type ButtonTypes<T> = MappedEnum<typeof ButtonType, T>;
|
|
22
|
+
declare type ButtonSizes<T> = MappedEnum<typeof ButtonSize, T>;
|
|
23
|
+
declare type ButtonDisabledTypes<T> = MappedEnum<typeof ButtonDisabledType, T>;
|
|
24
|
+
export declare type ButtonTypeProps = Partial<ButtonTypes<boolean>> & PropsWithChildren;
|
|
25
|
+
export declare type ButtonSizeProps = Partial<RequireOnlyOne<ButtonSizes<boolean>>> & PropsWithChildren;
|
|
26
|
+
export declare type ButtonDisabledTypeProps = Partial<RequireOnlyOne<ButtonDisabledTypes<boolean>>> & PropsWithChildren;
|
|
27
|
+
export declare function getBackgroundColorByType(type: ButtonType): string;
|
|
28
|
+
export declare function getBackgroundColorHoverByType(type: ButtonType): string;
|
|
29
|
+
export declare function getTextDecorationHoverByType(type: ButtonType): string;
|
|
30
|
+
export declare function getBackgroundColorDisabledByType(type: ButtonType): string;
|
|
31
|
+
export declare function getBackgroundColorPressedByType(type: ButtonType): string;
|
|
32
|
+
export declare function getTextColorByType(type: ButtonType): string;
|
|
33
|
+
export declare function getIconColorByType(type: ButtonType): string;
|
|
34
|
+
export declare function getTextColorOnHoverByType(type: ButtonType): string;
|
|
35
|
+
export declare function getIconColorOnHoverByType(type: ButtonType): string;
|
|
36
|
+
export declare function getBorderByType(type: ButtonType): string;
|
|
37
|
+
export declare function getBorderDisabledByType(type: ButtonType): string;
|
|
38
|
+
export declare function getPaddingBySize(props: ButtonSizeProps): string;
|
|
39
|
+
export declare function getPaddingByType(type: ButtonType): string;
|
|
40
|
+
export declare function getTextColorIfDisabled(props: ButtonDisabledTypeProps): string;
|
|
41
|
+
export declare function getCursor(props: ButtonDisabledTypeProps): string;
|
|
42
|
+
export declare function getIsDisabled(props: ButtonDisabledTypeProps): boolean;
|
|
43
|
+
export declare function getButtonType(props: ButtonTypeProps): number;
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from '@helpers';
|
|
2
|
+
import { ButtonSizeProps, ButtonTypeProps } from './button-flags';
|
|
3
|
+
import { ComponentType } from 'react';
|
|
4
|
+
interface IButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
IconPrefix?: ComponentType;
|
|
7
|
+
IconSuffix?: ComponentType;
|
|
8
|
+
children?: string;
|
|
9
|
+
subtle?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const Button: FC<IButtonProps & ButtonTypeProps & ButtonSizeProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './input-checkbox';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { FC } from '@helpers';
|
|
3
|
+
export declare type IInputCheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
4
|
+
label: string;
|
|
5
|
+
error?: boolean;
|
|
6
|
+
onChange?: (change: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const InputCheckbox: FC<IInputCheckboxProps>;
|