@edvisor/product-language 0.10.6 → 0.10.7
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/.babelrc +12 -0
- package/.eslintrc.json +147 -0
- package/.release-it.json +17 -0
- package/.storybook/main.js +57 -0
- package/.storybook/manager.js +7 -0
- package/.storybook/preview.js +15 -0
- package/.storybook/tsconfig.json +30 -0
- package/jest.config.ts +15 -0
- package/jest.setup.ts +2 -0
- package/package.json +2 -27
- package/project.json +98 -0
- package/src/README.md +61 -0
- package/src/assets/svg/example_icon.svg +3 -0
- package/src/assets/svg/example_icon_white.svg +3 -0
- package/src/assets/svg/spinner.svg +3 -0
- package/src/assets/svg/spinner_white.svg +3 -0
- package/src/helpers/index.ts +4 -0
- package/src/helpers/playground.ts +26 -0
- package/src/helpers/talesOf.tsx +42 -0
- package/src/index.ts +2 -0
- package/src/lib/components/README.md +49 -0
- package/src/lib/components/alert-banner/alert-banner.test.tsx +93 -0
- package/src/lib/components/alert-banner/alert-banner.tsx +117 -0
- package/src/lib/components/alert-banner/alert-level-flags.ts +101 -0
- package/src/lib/components/alert-banner/index.ts +1 -0
- package/src/lib/components/alert-banner/storybook/alert-banner.stories.mdx +67 -0
- package/src/lib/components/alert-banner/storybook/components.tsx +124 -0
- package/src/lib/components/badge/badge-type-flags.ts +72 -0
- package/src/lib/components/badge/badge.test.tsx +29 -0
- package/src/lib/components/badge/badge.tsx +22 -0
- package/src/lib/components/badge/index.ts +1 -0
- package/src/lib/components/badge/stories/badge.stories.mdx +44 -0
- package/src/lib/components/badge/stories/components.tsx +49 -0
- package/{lib/components/card/atoms/card-frame.d.ts → src/lib/components/card/atoms/card-frame.tsx} +16 -7
- package/src/lib/components/card/atoms/index.ts +1 -0
- package/src/lib/components/card/card.test.tsx +162 -0
- package/src/lib/components/card/card.tsx +78 -0
- package/src/lib/components/card/components/card-alert-banner-slot.tsx +16 -0
- package/src/lib/components/card/components/card-controls-slot.tsx +19 -0
- package/src/lib/components/card/components/card-section-slot.tsx +51 -0
- package/src/lib/components/card/components/index.ts +3 -0
- package/src/lib/components/card/index.ts +3 -0
- package/src/lib/components/card/molecules/index.ts +1 -0
- package/src/lib/components/card/molecules/left-right-card.test.tsx +89 -0
- package/src/lib/components/card/molecules/left-right-card.tsx +63 -0
- package/src/lib/components/card/storybook/card.stories.mdx +100 -0
- package/src/lib/components/card/storybook/components.tsx +227 -0
- package/src/lib/components/checkbox/checkbox.test.tsx +39 -0
- package/src/lib/components/checkbox/checkbox.tsx +70 -0
- package/src/lib/components/checkbox/helpers.tsx +98 -0
- package/src/lib/components/checkbox/index.tsx +1 -0
- package/src/lib/components/checkbox/stories/checkbox.stories.mdx +57 -0
- package/src/lib/components/checkbox/stories/components.tsx +84 -0
- package/src/lib/components/date-picker/components/custom-calendar.tsx +193 -0
- package/src/lib/components/date-picker/components/index.ts +1 -0
- package/src/lib/components/date-picker/data-picker.test.tsx +220 -0
- package/src/lib/components/date-picker/date-picker.tsx +10 -0
- package/src/lib/components/date-picker/helpers/date-picker-factory.tsx +210 -0
- package/src/lib/components/date-picker/index.ts +1 -0
- package/src/lib/components/date-picker/storybook/components.tsx +259 -0
- package/src/lib/components/date-picker/storybook/date-picker.stories.mdx +133 -0
- package/src/lib/components/divider/divider-type-flags.tsx +37 -0
- package/src/lib/components/divider/divider.test.tsx +34 -0
- package/src/lib/components/divider/divider.tsx +37 -0
- package/src/lib/components/divider/index.tsx +1 -0
- package/src/lib/components/divider/stories/components.tsx +13 -0
- package/src/lib/components/divider/stories/divider.stories.mdx +44 -0
- package/src/lib/components/flag/flag-size-flags.tsx +55 -0
- package/src/lib/components/flag/flag.list.tsx +788 -0
- package/src/lib/components/flag/flag.test.tsx +65 -0
- package/src/lib/components/flag/flag.tsx +97 -0
- package/src/lib/components/flag/index.tsx +1 -0
- package/src/lib/components/flag/stories/components.tsx +403 -0
- package/src/lib/components/flag/stories/flag.stories.mdx +48 -0
- package/src/lib/components/flag/stories/playGround-select.tsx +145 -0
- package/src/lib/components/icon/icon-list.tsx +135 -0
- package/src/lib/components/icon/icon.test.tsx +47 -0
- package/src/lib/components/icon/icon.tsx +181 -0
- package/src/lib/components/icon/index.tsx +1 -0
- package/src/lib/components/icon/stories/components.tsx +282 -0
- package/src/lib/components/icon/stories/icon.stories.mdx +65 -0
- package/src/lib/components/index.ts +27 -0
- package/src/lib/components/input-field/components/index.ts +2 -0
- package/src/lib/components/input-field/components/labeled-input.tsx +57 -0
- package/src/lib/components/input-field/components/stepper.tsx +64 -0
- package/src/lib/components/input-field/index.ts +6 -0
- package/src/lib/components/input-field/input-field.test.tsx +107 -0
- package/src/lib/components/input-field/input-field.tsx +154 -0
- package/src/lib/components/input-field/input-number.tsx +41 -0
- package/src/lib/components/input-field/input-text.tsx +30 -0
- package/src/lib/components/input-field/storybook/components.tsx +367 -0
- package/src/lib/components/input-field/storybook/input-field.stories.mdx +120 -0
- package/src/lib/components/layout/flex.tsx +22 -0
- package/src/lib/components/layout/grid-layout.tsx +40 -0
- package/src/lib/components/layout/index.ts +3 -0
- package/src/lib/components/layout/left-right-layout.tsx +67 -0
- package/src/lib/components/link/index.ts +1 -0
- package/src/lib/components/link/link.test.tsx +29 -0
- package/src/lib/components/link/link.tsx +56 -0
- package/src/lib/components/link/storybook/link.stories.mdx +52 -0
- package/src/lib/components/modal/index.ts +3 -0
- package/src/lib/components/modal/modal-base.tsx +129 -0
- package/src/lib/components/modal/modal-destructive.tsx +70 -0
- package/src/lib/components/modal/modal.test.tsx +138 -0
- package/src/lib/components/modal/modal.tsx +114 -0
- package/src/lib/components/modal/storybook/components.tsx +105 -0
- package/src/lib/components/modal/storybook/modal-destructive.stories.mdx +31 -0
- package/src/lib/components/modal/storybook/modal.stories.mdx +50 -0
- package/src/lib/components/molecules/avatar/avatar-size-flags.tsx +55 -0
- package/src/lib/components/molecules/avatar/avatar.test.tsx +114 -0
- package/src/lib/components/molecules/avatar/avatar.tsx +80 -0
- package/src/lib/components/molecules/avatar/index.tsx +1 -0
- package/src/lib/components/molecules/avatar/stories/avatar.stories.mdx +52 -0
- package/src/lib/components/molecules/avatar/stories/components.tsx +36 -0
- package/src/lib/components/molecules/button/button-flags.tsx +340 -0
- package/src/lib/components/molecules/button/button.test.tsx +77 -0
- package/src/lib/components/molecules/button/button.tsx +213 -0
- package/src/lib/components/molecules/button/index.tsx +1 -0
- package/src/lib/components/molecules/button/stories/button.stories.mdx +105 -0
- package/src/lib/components/molecules/button/stories/components.tsx +90 -0
- package/src/lib/components/molecules/index.ts +3 -0
- package/src/lib/components/molecules/input-checkbox/index.tsx +1 -0
- package/src/lib/components/molecules/input-checkbox/input-checkbox.test.tsx +34 -0
- package/src/lib/components/molecules/input-checkbox/input-checkbox.tsx +50 -0
- package/src/lib/components/molecules/input-checkbox/stories/components.tsx +53 -0
- package/src/lib/components/molecules/input-checkbox/stories/input-checkbox.stories.mdx +49 -0
- package/src/lib/components/organisms/choice-list/choice-list.test.tsx +36 -0
- package/src/lib/components/organisms/choice-list/choice-list.tsx +72 -0
- package/src/lib/components/organisms/choice-list/index.tsx +1 -0
- package/src/lib/components/organisms/choice-list/stories/choice-list.stories.mdx +57 -0
- package/src/lib/components/organisms/choice-list/stories/components.tsx +45 -0
- package/src/lib/components/organisms/index.ts +2 -0
- package/src/lib/components/organisms/multi-choice-list/index.tsx +1 -0
- package/src/lib/components/organisms/multi-choice-list/multi-choice-list.test.tsx +33 -0
- package/src/lib/components/organisms/multi-choice-list/multi-choice-list.tsx +53 -0
- package/src/lib/components/organisms/multi-choice-list/stories/components.tsx +124 -0
- package/src/lib/components/organisms/multi-choice-list/stories/multi-choice-list.stories.mdx +99 -0
- package/src/lib/components/progress-bar/index.ts +1 -0
- package/src/lib/components/progress-bar/progress-bar-size-flags.tsx +37 -0
- package/src/lib/components/progress-bar/progress-bar.test.tsx +66 -0
- package/src/lib/components/progress-bar/progress-bar.tsx +42 -0
- package/src/lib/components/progress-bar/storybook/components.tsx +62 -0
- package/src/lib/components/progress-bar/storybook/progress-bar.stories.mdx +43 -0
- package/{lib/components/spinner/index.d.ts → src/lib/components/radio-button/index.tsx} +1 -1
- package/src/lib/components/radio-button/radio-button.tsx +135 -0
- package/src/lib/components/radio-button/radio.test.tsx +59 -0
- package/src/lib/components/radio-button/stories/components.tsx +36 -0
- package/src/lib/components/radio-button/stories/radio-button.stories.mdx +44 -0
- package/src/lib/components/range-slider/components/bar-chart.tsx +50 -0
- package/src/lib/components/range-slider/components/handle.tsx +58 -0
- package/src/lib/components/range-slider/components/rail.tsx +44 -0
- package/src/lib/components/range-slider/components/slider-component.tsx +98 -0
- package/src/lib/components/range-slider/components/slider-inputs.tsx +150 -0
- package/src/lib/components/range-slider/components/tick.tsx +51 -0
- package/src/lib/components/range-slider/components/track.tsx +67 -0
- package/src/lib/components/range-slider/index.tsx +2 -0
- package/src/lib/components/range-slider/range-slider.test.tsx +185 -0
- package/src/lib/components/range-slider/range-slider.tsx +132 -0
- package/src/lib/components/range-slider/slider.test.tsx +89 -0
- package/src/lib/components/range-slider/slider.tsx +80 -0
- package/src/lib/components/range-slider/stories/components.tsx +179 -0
- package/src/lib/components/range-slider/stories/range-slider.stories.mdx +84 -0
- package/src/lib/components/range-slider/types.ts +18 -0
- package/src/lib/components/select/components/helpers.tsx +62 -0
- package/src/lib/components/select/components/menu-container.tsx +73 -0
- package/src/lib/components/select/components/menu-list.tsx +232 -0
- package/src/lib/components/select/components/menu-row.tsx +43 -0
- package/src/lib/components/select/components/menu.tsx +134 -0
- package/src/lib/components/select/components/option.tsx +51 -0
- package/src/lib/components/select/components/select-label.tsx +10 -0
- package/src/lib/components/select/components/value-component-multi.tsx +40 -0
- package/src/lib/components/select/components/value-component-single.tsx +27 -0
- package/src/lib/components/select/components/value.tsx +370 -0
- package/src/lib/components/select/index.tsx +3 -0
- package/src/lib/components/select/select.test.tsx +148 -0
- package/src/lib/components/select/select.tsx +337 -0
- package/src/lib/components/select/storybook/components.tsx +999 -0
- package/src/lib/components/select/storybook/radio-group.tsx +157 -0
- package/src/lib/components/select/storybook/select.stories.mdx +172 -0
- package/src/lib/components/select/types.ts +149 -0
- package/src/lib/components/select/utils.ts +101 -0
- package/src/lib/components/spinner/index.tsx +1 -0
- package/src/lib/components/spinner/spinner-size-flags.tsx +39 -0
- package/src/lib/components/spinner/spinner.test.tsx +31 -0
- package/src/lib/components/spinner/spinner.tsx +54 -0
- package/src/lib/components/spinner/stories/components.tsx +39 -0
- package/src/lib/components/spinner/stories/spinner.stories.mdx +35 -0
- package/src/lib/components/tabs/components/index.ts +1 -0
- package/src/lib/components/tabs/components/tab.tsx +85 -0
- package/src/lib/components/tabs/index.tsx +1 -0
- package/src/lib/components/tabs/storybook/components.tsx +317 -0
- package/src/lib/components/tabs/storybook/tabs.stories.mdx +105 -0
- package/src/lib/components/tabs/tabs.test.tsx +86 -0
- package/src/lib/components/tabs/tabs.tsx +115 -0
- package/src/lib/components/tag/components/close-button.tsx +85 -0
- package/src/lib/components/tag/components/index.ts +2 -0
- package/src/lib/components/tag/components/tag-label.tsx +45 -0
- package/src/lib/components/tag/index.tsx +1 -0
- package/src/lib/components/tag/stories/components.tsx +86 -0
- package/src/lib/components/tag/stories/tag.stories.mdx +42 -0
- package/src/lib/components/tag/tag.test.tsx +36 -0
- package/src/lib/components/tag/tag.tsx +33 -0
- package/src/lib/components/thumbnail/index.tsx +1 -0
- package/src/lib/components/thumbnail/stories/thumbnail.stories.mdx +44 -0
- package/src/lib/components/thumbnail/thumbnail-size-flags.tsx +41 -0
- package/src/lib/components/thumbnail/thumbnail.test.tsx +51 -0
- package/src/lib/components/thumbnail/thumbnail.tsx +44 -0
- package/src/lib/components/tooltip/index.tsx +1 -0
- package/src/lib/components/tooltip/stories/components.tsx +224 -0
- package/src/lib/components/tooltip/stories/tooltip.stories.mdx +63 -0
- package/src/lib/components/tooltip/tooltip.test.tsx +22 -0
- package/src/lib/components/tooltip/tooltip.tsx +180 -0
- package/src/lib/components/tree-view/components/tree-node.tsx +203 -0
- package/src/lib/components/tree-view/helper.tsx +171 -0
- package/src/lib/components/tree-view/index.ts +2 -0
- package/src/lib/components/tree-view/stories/components.tsx +640 -0
- package/src/lib/components/tree-view/stories/tree-view.stories.mdx +127 -0
- package/src/lib/components/tree-view/tree-view.test.tsx +146 -0
- package/src/lib/components/tree-view/tree-view.tsx +168 -0
- package/src/lib/components/tree-view/types.tsx +70 -0
- package/src/lib/components/typography/index.ts +1 -0
- package/src/lib/components/typography/storybook/components.tsx +288 -0
- package/src/lib/components/typography/storybook/typography.stories.mdx +90 -0
- package/src/lib/components/typography/typography.test.tsx +97 -0
- package/src/lib/components/typography/typography.tsx +99 -0
- package/src/lib/foundations/color-system/base-palette/base-palette.stories.tsx +123 -0
- package/src/lib/foundations/color-system/base-palette/base-palette.ts +93 -0
- package/src/lib/foundations/color-system/base-palette/index.ts +1 -0
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.stories.mdx +85 -0
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.stories.tsx +231 -0
- package/src/lib/foundations/color-system/color-guidelines/color-guidelines.ts +160 -0
- package/src/lib/foundations/color-system/color-guidelines/index.ts +1 -0
- package/src/lib/foundations/color-system/components/color-sample.tsx +99 -0
- package/src/lib/foundations/color-system/components/index.ts +1 -0
- package/src/lib/foundations/color-system/index.ts +1 -0
- package/src/lib/foundations/index.ts +4 -0
- package/src/lib/foundations/shadows/components.tsx +59 -0
- package/src/lib/foundations/shadows/index.ts +1 -0
- package/src/lib/foundations/shadows/shadows.stories.mdx +71 -0
- package/src/lib/foundations/shadows/shadows.tsx +47 -0
- package/src/lib/foundations/spacing/index.ts +1 -0
- package/src/lib/foundations/spacing/spacing-guidelines.ts +37 -0
- package/src/lib/foundations/spacing/spacing.stories.mdx +51 -0
- package/src/lib/foundations/spacing/spacing.ts +18 -0
- package/src/lib/foundations/typography/constants.ts +25 -0
- package/src/lib/foundations/typography/fonts.ts +205 -0
- package/src/lib/foundations/typography/index.tsx +1 -0
- package/src/lib/foundations/typography/text-aspect-flags.ts +61 -0
- package/src/lib/foundations/typography/typography.tsx +102 -0
- package/src/lib/helpers/generic-types.ts +44 -0
- package/src/lib/helpers/index.ts +8 -0
- package/src/lib/helpers/isReactElementOfType.test.tsx +108 -0
- package/src/lib/helpers/isReactElementOfType.ts +42 -0
- package/src/lib/helpers/nothing.tsx +22 -0
- package/{lib/helpers/numbers.d.ts → src/lib/helpers/numbers.ts} +67 -50
- package/src/lib/helpers/safe-navigation.ts +57 -0
- package/src/lib/helpers/slots.tsx +126 -0
- package/src/lib/helpers/strings.test.ts +47 -0
- package/src/lib/helpers/strings.ts +16 -0
- package/src/lib/helpers/useInputElementState.ts +56 -0
- package/src/lib/helpers/useKeyDown.ts +17 -0
- package/tsconfig.json +35 -0
- package/tsconfig.lib.json +28 -0
- package/tsconfig.spec.json +21 -0
- package/index.d.ts +0 -2
- package/index.js +0 -11339
- package/lib/components/alert-banner/alert-banner.d.ts +0 -15
- package/lib/components/alert-banner/alert-level-flags.d.ts +0 -18
- package/lib/components/alert-banner/index.d.ts +0 -1
- package/lib/components/badge/badge-type-flags.d.ts +0 -18
- package/lib/components/badge/badge.d.ts +0 -5
- package/lib/components/badge/index.d.ts +0 -1
- package/lib/components/card/atoms/index.d.ts +0 -1
- package/lib/components/card/card.d.ts +0 -14
- package/lib/components/card/components/card-alert-banner-slot.d.ts +0 -6
- package/lib/components/card/components/card-controls-slot.d.ts +0 -5
- package/lib/components/card/components/card-section-slot.d.ts +0 -11
- package/lib/components/card/components/index.d.ts +0 -3
- package/lib/components/card/index.d.ts +0 -3
- package/lib/components/card/molecules/index.d.ts +0 -1
- package/lib/components/card/molecules/left-right-card.d.ts +0 -16
- package/lib/components/checkbox/checkbox.d.ts +0 -11
- package/lib/components/checkbox/helpers.d.ts +0 -12
- package/lib/components/checkbox/index.d.ts +0 -1
- package/lib/components/date-picker/components/custom-calendar.d.ts +0 -6
- package/lib/components/date-picker/components/index.d.ts +0 -1
- package/lib/components/date-picker/date-picker.d.ts +0 -4
- package/lib/components/date-picker/helpers/date-picker-factory.d.ts +0 -34
- package/lib/components/date-picker/index.d.ts +0 -1
- package/lib/components/divider/divider-type-flags.d.ts +0 -9
- package/lib/components/divider/divider.d.ts +0 -7
- package/lib/components/divider/index.d.ts +0 -1
- package/lib/components/flag/flag-size-flags.d.ts +0 -12
- package/lib/components/flag/flag.d.ts +0 -9
- package/lib/components/flag/flag.list.d.ts +0 -782
- package/lib/components/flag/index.d.ts +0 -1
- package/lib/components/icon/icon-list.d.ts +0 -132
- package/lib/components/icon/icon.d.ts +0 -131
- package/lib/components/icon/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -25
- package/lib/components/input-field/components/index.d.ts +0 -2
- package/lib/components/input-field/components/labeled-input.d.ts +0 -10
- package/lib/components/input-field/components/stepper.d.ts +0 -7
- package/lib/components/input-field/index.d.ts +0 -3
- package/lib/components/input-field/input-field.d.ts +0 -26
- package/lib/components/input-field/input-number.d.ts +0 -18
- package/lib/components/input-field/input-text.d.ts +0 -14
- package/lib/components/layout/flex.d.ts +0 -16
- package/lib/components/layout/grid-layout.d.ts +0 -11
- package/lib/components/layout/index.d.ts +0 -3
- package/lib/components/layout/left-right-layout.d.ts +0 -34
- package/lib/components/link/index.d.ts +0 -1
- package/lib/components/link/link.d.ts +0 -14
- package/lib/components/modal/index.d.ts +0 -3
- package/lib/components/modal/modal-base.d.ts +0 -28
- package/lib/components/modal/modal-destructive.d.ts +0 -11
- package/lib/components/modal/modal.d.ts +0 -13
- package/lib/components/molecules/avatar/avatar-size-flags.d.ts +0 -12
- package/lib/components/molecules/avatar/avatar.d.ts +0 -12
- package/lib/components/molecules/avatar/index.d.ts +0 -1
- package/lib/components/molecules/button/button-flags.d.ts +0 -44
- package/lib/components/molecules/button/button.d.ts +0 -12
- package/lib/components/molecules/button/index.d.ts +0 -1
- package/lib/components/molecules/index.d.ts +0 -3
- package/lib/components/molecules/input-checkbox/index.d.ts +0 -1
- package/lib/components/molecules/input-checkbox/input-checkbox.d.ts +0 -8
- package/lib/components/organisms/choice-list/choice-list.d.ts +0 -9
- package/lib/components/organisms/choice-list/index.d.ts +0 -1
- package/lib/components/organisms/index.d.ts +0 -2
- package/lib/components/organisms/multi-choice-list/index.d.ts +0 -1
- package/lib/components/organisms/multi-choice-list/multi-choice-list.d.ts +0 -11
- package/lib/components/progress-bar/index.d.ts +0 -1
- package/lib/components/progress-bar/progress-bar-size-flags.d.ts +0 -10
- package/lib/components/progress-bar/progress-bar.d.ts +0 -8
- package/lib/components/radio-button/index.d.ts +0 -1
- package/lib/components/radio-button/radio-button.d.ts +0 -10
- package/lib/components/range-slider/components/bar-chart.d.ts +0 -8
- package/lib/components/range-slider/components/handle.d.ts +0 -12
- package/lib/components/range-slider/components/rail.d.ts +0 -9
- package/lib/components/range-slider/components/slider-component.d.ts +0 -12
- package/lib/components/range-slider/components/slider-inputs.d.ts +0 -14
- package/lib/components/range-slider/components/tick.d.ts +0 -10
- package/lib/components/range-slider/components/track.d.ts +0 -11
- package/lib/components/range-slider/index.d.ts +0 -2
- package/lib/components/range-slider/range-slider.d.ts +0 -15
- package/lib/components/range-slider/slider.d.ts +0 -11
- package/lib/components/range-slider/types.d.ts +0 -11
- package/lib/components/select/components/helpers.d.ts +0 -17
- package/lib/components/select/components/menu-container.d.ts +0 -3
- package/lib/components/select/components/menu-list.d.ts +0 -3
- package/lib/components/select/components/menu-row.d.ts +0 -9
- package/lib/components/select/components/menu.d.ts +0 -3
- package/lib/components/select/components/option.d.ts +0 -3
- package/lib/components/select/components/select-label.d.ts +0 -1
- package/lib/components/select/components/value-component-multi.d.ts +0 -4
- package/lib/components/select/components/value-component-single.d.ts +0 -4
- package/lib/components/select/components/value.d.ts +0 -4
- package/lib/components/select/index.d.ts +0 -3
- package/lib/components/select/select.d.ts +0 -10
- package/lib/components/select/types.d.ts +0 -133
- package/lib/components/select/utils.d.ts +0 -15
- package/lib/components/spinner/spinner-size-flags.d.ts +0 -10
- package/lib/components/spinner/spinner.d.ts +0 -9
- package/lib/components/tabs/components/index.d.ts +0 -1
- package/lib/components/tabs/components/tab.d.ts +0 -8
- package/lib/components/tabs/index.d.ts +0 -1
- package/lib/components/tabs/tabs.d.ts +0 -16
- package/lib/components/tag/components/close-button.d.ts +0 -8
- package/lib/components/tag/components/index.d.ts +0 -2
- package/lib/components/tag/components/tag-label.d.ts +0 -8
- package/lib/components/tag/index.d.ts +0 -1
- package/lib/components/tag/tag.d.ts +0 -10
- package/lib/components/thumbnail/index.d.ts +0 -1
- package/lib/components/thumbnail/thumbnail-size-flags.d.ts +0 -10
- package/lib/components/thumbnail/thumbnail.d.ts +0 -10
- package/lib/components/tooltip/index.d.ts +0 -1
- package/lib/components/tooltip/tooltip.d.ts +0 -26
- package/lib/components/tree-view/components/tree-node.d.ts +0 -3
- package/lib/components/tree-view/helper.d.ts +0 -12
- package/lib/components/tree-view/index.d.ts +0 -2
- package/lib/components/tree-view/tree-view.d.ts +0 -3
- package/lib/components/tree-view/types.d.ts +0 -63
- package/lib/components/typography/index.d.ts +0 -1
- package/lib/components/typography/typography.d.ts +0 -24
- package/lib/foundations/color-system/base-palette/base-palette.d.ts +0 -76
- package/lib/foundations/color-system/base-palette/index.d.ts +0 -1
- package/lib/foundations/color-system/color-guidelines/color-guidelines.d.ts +0 -133
- package/lib/foundations/color-system/color-guidelines/index.d.ts +0 -1
- package/lib/foundations/color-system/components/color-sample.d.ts +0 -17
- package/lib/foundations/color-system/components/index.d.ts +0 -1
- package/lib/foundations/color-system/index.d.ts +0 -1
- package/lib/foundations/index.d.ts +0 -4
- package/lib/foundations/shadows/components.d.ts +0 -8
- package/lib/foundations/shadows/index.d.ts +0 -1
- package/lib/foundations/shadows/shadows.d.ts +0 -8
- package/lib/foundations/spacing/index.d.ts +0 -1
- package/lib/foundations/spacing/spacing-guidelines.d.ts +0 -33
- package/lib/foundations/spacing/spacing.d.ts +0 -18
- package/lib/foundations/typography/constants.d.ts +0 -22
- package/lib/foundations/typography/fonts.d.ts +0 -1
- package/lib/foundations/typography/index.d.ts +0 -1
- package/lib/foundations/typography/text-aspect-flags.d.ts +0 -19
- package/lib/foundations/typography/typography.d.ts +0 -24
- package/lib/helpers/generic-types.d.ts +0 -21
- package/lib/helpers/index.d.ts +0 -8
- package/lib/helpers/isReactElementOfType.d.ts +0 -8
- package/lib/helpers/nothing.d.ts +0 -10
- package/lib/helpers/safe-navigation.d.ts +0 -17
- package/lib/helpers/slots.d.ts +0 -17
- package/lib/helpers/strings.d.ts +0 -1
- package/lib/helpers/useInputElementState.d.ts +0 -30
- package/lib/helpers/useKeyDown.d.ts +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './flag';
|
|
@@ -1,132 +0,0 @@
|
|
|
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;
|
|
@@ -1,131 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './icon';
|
|
@@ -1,25 +0,0 @@
|
|
|
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 './progress-bar';
|
|
24
|
-
export * from './molecules';
|
|
25
|
-
export * from './organisms';
|
|
@@ -1,10 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,26 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,18 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,11 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,34 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './link';
|
|
@@ -1,14 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,28 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,11 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,13 +0,0 @@
|
|
|
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>;
|
|
@@ -1,12 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './avatar';
|
|
@@ -1,44 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,12 +0,0 @@
|
|
|
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 {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './button';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './input-checkbox';
|
|
@@ -1,8 +0,0 @@
|
|
|
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>;
|