@scaleflex/ui-tw 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +33 -0
- package/README.md +28 -0
- package/core/accordion/accordion.component.d.ts +3 -0
- package/core/accordion/accordion.component.js +50 -0
- package/core/accordion/accordion.props.d.ts +13 -0
- package/core/accordion/accordion.props.js +1 -0
- package/core/accordion/accordion.styles.d.ts +6 -0
- package/core/accordion/accordion.styles.js +12 -0
- package/core/accordion/index.d.ts +2 -0
- package/core/accordion/index.js +1 -0
- package/core/accordion-details/accordion-details.component.d.ts +3 -0
- package/core/accordion-details/accordion-details.component.js +16 -0
- package/core/accordion-details/accordion-details.props.d.ts +4 -0
- package/core/accordion-details/accordion-details.props.js +1 -0
- package/core/accordion-details/accordion-details.styles.d.ts +6 -0
- package/core/accordion-details/accordion-details.styles.js +12 -0
- package/core/accordion-details/index.d.ts +2 -0
- package/core/accordion-details/index.js +1 -0
- package/core/accordion-header/accordion-header.component.d.ts +3 -0
- package/core/accordion-header/accordion-header.component.js +48 -0
- package/core/accordion-header/accordion-header.props.d.ts +11 -0
- package/core/accordion-header/accordion-header.props.js +1 -0
- package/core/accordion-header/accordion-header.styles.d.ts +19 -0
- package/core/accordion-header/accordion-header.styles.js +44 -0
- package/core/accordion-header/index.d.ts +2 -0
- package/core/accordion-header/index.js +1 -0
- package/core/arrow/arrow.component.d.ts +3 -0
- package/core/arrow/arrow.component.js +23 -0
- package/core/arrow/arrow.mixin.d.ts +6 -0
- package/core/arrow/arrow.mixin.js +4 -0
- package/core/arrow/arrow.props.d.ts +14 -0
- package/core/arrow/arrow.props.js +6 -0
- package/core/arrow/arrow.styles.d.ts +9 -0
- package/core/arrow/arrow.styles.js +18 -0
- package/core/arrow/index.d.ts +2 -0
- package/core/arrow/index.js +1 -0
- package/core/arrow-tick/arrow-tick.component.d.ts +3 -0
- package/core/arrow-tick/arrow-tick.component.js +28 -0
- package/core/arrow-tick/arrow-tick.mixin.d.ts +6 -0
- package/core/arrow-tick/arrow-tick.mixin.js +4 -0
- package/core/arrow-tick/arrow-tick.props.d.ts +14 -0
- package/core/arrow-tick/arrow-tick.props.js +6 -0
- package/core/arrow-tick/arrow-tick.styles.d.ts +7 -0
- package/core/arrow-tick/arrow-tick.styles.js +18 -0
- package/core/arrow-tick/index.d.ts +2 -0
- package/core/arrow-tick/index.js +1 -0
- package/core/button/button.component.d.ts +9 -0
- package/core/button/button.component.js +71 -0
- package/core/button/button.types.d.ts +34 -0
- package/core/button/button.types.js +21 -0
- package/core/button/button.utils.d.ts +3 -0
- package/core/button/button.utils.js +18 -0
- package/core/button/components/end-icon.d.ts +12 -0
- package/core/button/components/end-icon.js +33 -0
- package/core/button/components/start-icon.d.ts +14 -0
- package/core/button/components/start-icon.js +40 -0
- package/core/button/index.d.ts +4 -0
- package/core/button/index.js +3 -0
- package/core/check-box/check-box.component.d.ts +3 -0
- package/core/check-box/check-box.component.js +62 -0
- package/core/check-box/check-box.mixin.d.ts +4 -0
- package/core/check-box/check-box.mixin.js +8 -0
- package/core/check-box/check-box.props.d.ts +15 -0
- package/core/check-box/check-box.props.js +1 -0
- package/core/check-box/check-box.styles.d.ts +19 -0
- package/core/check-box/check-box.styles.js +42 -0
- package/core/check-box/check-box.utils.d.ts +3 -0
- package/core/check-box/check-box.utils.js +21 -0
- package/core/check-box/index.d.ts +2 -0
- package/core/check-box/index.js +1 -0
- package/core/check-box/types/index.d.ts +2 -0
- package/core/check-box/types/index.js +2 -0
- package/core/check-box/types/size.d.ts +4 -0
- package/core/check-box/types/size.js +4 -0
- package/core/check-box/types/type.d.ts +4 -0
- package/core/check-box/types/type.js +4 -0
- package/core/check-box-group/check-box-group.component.d.ts +3 -0
- package/core/check-box-group/check-box-group.component.js +74 -0
- package/core/check-box-group/check-box-group.mixin.d.ts +5 -0
- package/core/check-box-group/check-box-group.mixin.js +10 -0
- package/core/check-box-group/check-box-group.props.d.ts +19 -0
- package/core/check-box-group/check-box-group.props.js +1 -0
- package/core/check-box-group/check-box-group.styles.d.ts +19 -0
- package/core/check-box-group/check-box-group.styles.js +33 -0
- package/core/check-box-group/index.d.ts +2 -0
- package/core/check-box-group/index.js +1 -0
- package/core/check-box-group/types/index.d.ts +1 -0
- package/core/check-box-group/types/index.js +1 -0
- package/core/check-box-group/types/label-position.d.ts +4 -0
- package/core/check-box-group/types/label-position.js +4 -0
- package/core/cross-button/cross-button.component.d.ts +3 -0
- package/core/cross-button/cross-button.component.js +35 -0
- package/core/cross-button/cross-button.props.d.ts +8 -0
- package/core/cross-button/cross-button.props.js +1 -0
- package/core/cross-button/cross-button.styles.d.ts +9 -0
- package/core/cross-button/cross-button.styles.js +21 -0
- package/core/cross-button/index.d.ts +2 -0
- package/core/cross-button/index.js +1 -0
- package/core/cross-button/types/index.d.ts +1 -0
- package/core/cross-button/types/index.js +1 -0
- package/core/cross-button/types/size.d.ts +6 -0
- package/core/cross-button/types/size.js +6 -0
- package/core/dot/dot.component.d.ts +3 -0
- package/core/dot/dot.component.js +17 -0
- package/core/dot/dot.props.d.ts +4 -0
- package/core/dot/dot.props.js +1 -0
- package/core/dot/dot.styles.d.ts +18 -0
- package/core/dot/dot.styles.js +32 -0
- package/core/dot/index.d.ts +2 -0
- package/core/dot/index.js +1 -0
- package/core/dots-navigation/dots-navigation.component.d.ts +3 -0
- package/core/dots-navigation/dots-navigation.component.js +24 -0
- package/core/dots-navigation/dots-navigation.props.d.ts +5 -0
- package/core/dots-navigation/dots-navigation.props.js +1 -0
- package/core/dots-navigation/dots-navigation.styles.d.ts +6 -0
- package/core/dots-navigation/dots-navigation.styles.js +15 -0
- package/core/dots-navigation/index.d.ts +2 -0
- package/core/dots-navigation/index.js +1 -0
- package/core/input/index.d.ts +2 -0
- package/core/input/index.js +1 -0
- package/core/input/input.component.d.ts +3 -0
- package/core/input/input.component.js +293 -0
- package/core/input/input.mixin.d.ts +18 -0
- package/core/input/input.mixin.js +25 -0
- package/core/input/input.props.d.ts +40 -0
- package/core/input/input.props.js +1 -0
- package/core/input/input.styles.d.ts +78 -0
- package/core/input/input.styles.js +148 -0
- package/core/input/input.utils.d.ts +4 -0
- package/core/input/input.utils.js +30 -0
- package/core/input/types/index.d.ts +1 -0
- package/core/input/types/index.js +1 -0
- package/core/input/types/type.d.ts +4 -0
- package/core/input/types/type.js +4 -0
- package/core/modal/index.d.ts +2 -0
- package/core/modal/index.js +1 -0
- package/core/modal/modal-menu-context.d.ts +5 -0
- package/core/modal/modal-menu-context.js +10 -0
- package/core/modal/modal.component.d.ts +3 -0
- package/core/modal/modal.component.js +97 -0
- package/core/modal/modal.mixin.d.ts +7 -0
- package/core/modal/modal.mixin.js +4 -0
- package/core/modal/modal.props.d.ts +16 -0
- package/core/modal/modal.props.js +1 -0
- package/core/modal/modal.styles.d.ts +22 -0
- package/core/modal/modal.styles.js +51 -0
- package/core/modal/modal.utils.d.ts +1 -0
- package/core/modal/modal.utils.js +4 -0
- package/core/modal/types/index.d.ts +1 -0
- package/core/modal/types/index.js +1 -0
- package/core/modal/types/size.d.ts +7 -0
- package/core/modal/types/size.js +7 -0
- package/core/modal-actions/index.d.ts +2 -0
- package/core/modal-actions/index.js +1 -0
- package/core/modal-actions/modal-actions.component.d.ts +3 -0
- package/core/modal-actions/modal-actions.component.js +18 -0
- package/core/modal-actions/modal-actions.props.d.ts +8 -0
- package/core/modal-actions/modal-actions.props.js +1 -0
- package/core/modal-actions/modal-actions.styles.d.ts +7 -0
- package/core/modal-actions/modal-actions.styles.js +17 -0
- package/core/modal-actions/types/align.d.ts +5 -0
- package/core/modal-actions/types/align.js +5 -0
- package/core/modal-actions/types/index.d.ts +1 -0
- package/core/modal-actions/types/index.js +1 -0
- package/core/modal-content/index.d.ts +2 -0
- package/core/modal-content/index.js +1 -0
- package/core/modal-content/modal-content.component.d.ts +3 -0
- package/core/modal-content/modal-content.component.js +15 -0
- package/core/modal-content/modal-content.props.d.ts +4 -0
- package/core/modal-content/modal-content.props.js +1 -0
- package/core/modal-content/modal-content.styles.d.ts +6 -0
- package/core/modal-content/modal-content.styles.js +12 -0
- package/core/modal-title/index.d.ts +2 -0
- package/core/modal-title/index.js +1 -0
- package/core/modal-title/modal-title.component.d.ts +6 -0
- package/core/modal-title/modal-title.component.js +37 -0
- package/core/modal-title/modal-title.props.d.ts +14 -0
- package/core/modal-title/modal-title.props.js +1 -0
- package/core/modal-title/modal-title.styles.d.ts +31 -0
- package/core/modal-title/modal-title.styles.js +64 -0
- package/core/modal-title/types/index.d.ts +1 -0
- package/core/modal-title/types/index.js +1 -0
- package/core/modal-title/types/variant.d.ts +4 -0
- package/core/modal-title/types/variant.js +4 -0
- package/core/pagination/index.d.ts +2 -0
- package/core/pagination/index.js +1 -0
- package/core/pagination/pagination.component.d.ts +3 -0
- package/core/pagination/pagination.component.js +81 -0
- package/core/pagination/pagination.props.d.ts +11 -0
- package/core/pagination/pagination.props.js +1 -0
- package/core/pagination/pagination.styles.d.ts +19 -0
- package/core/pagination/pagination.styles.js +36 -0
- package/core/popper/index.d.ts +2 -0
- package/core/popper/index.js +1 -0
- package/core/popper/popper.component.d.ts +3 -0
- package/core/popper/popper.component.js +150 -0
- package/core/popper/popper.mixin.d.ts +17 -0
- package/core/popper/popper.mixin.js +5 -0
- package/core/popper/popper.props.d.ts +41 -0
- package/core/popper/popper.props.js +1 -0
- package/core/popper/popper.styles.d.ts +25 -0
- package/core/popper/popper.styles.js +48 -0
- package/core/popper/popper.utils.d.ts +1 -0
- package/core/popper/popper.utils.js +10 -0
- package/core/popper/types/index.d.ts +3 -0
- package/core/popper/types/index.js +3 -0
- package/core/popper/types/phases.d.ts +11 -0
- package/core/popper/types/phases.js +11 -0
- package/core/popper/types/position.d.ts +17 -0
- package/core/popper/types/position.js +17 -0
- package/core/popper/types/strategy.d.ts +4 -0
- package/core/popper/types/strategy.js +4 -0
- package/core/radio/index.d.ts +3 -0
- package/core/radio/index.js +2 -0
- package/core/radio/radio.component.d.ts +3 -0
- package/core/radio/radio.component.js +38 -0
- package/core/radio/radio.mixin.d.ts +13 -0
- package/core/radio/radio.mixin.js +13 -0
- package/core/radio/radio.props.d.ts +13 -0
- package/core/radio/radio.props.js +1 -0
- package/core/radio/radio.styles.d.ts +19 -0
- package/core/radio/radio.styles.js +44 -0
- package/core/radio/size.d.ts +4 -0
- package/core/radio/size.js +4 -0
- package/core/radio-group/index.d.ts +2 -0
- package/core/radio-group/index.js +1 -0
- package/core/radio-group/radio-group.component.d.ts +3 -0
- package/core/radio-group/radio-group.component.js +48 -0
- package/core/radio-group/radio-group.props.d.ts +15 -0
- package/core/radio-group/radio-group.props.js +1 -0
- package/core/radio-group/radio-group.styles.d.ts +14 -0
- package/core/radio-group/radio-group.styles.js +30 -0
- package/core/switcher/index.d.ts +3 -0
- package/core/switcher/index.js +2 -0
- package/core/switcher/switcher-size.d.ts +5 -0
- package/core/switcher/switcher-size.js +5 -0
- package/core/switcher/switcher.component.d.ts +3 -0
- package/core/switcher/switcher.component.js +54 -0
- package/core/switcher/switcher.mixin.d.ts +21 -0
- package/core/switcher/switcher.mixin.js +17 -0
- package/core/switcher/switcher.props.d.ts +14 -0
- package/core/switcher/switcher.props.js +1 -0
- package/core/switcher/switcher.styles.d.ts +27 -0
- package/core/switcher/switcher.styles.js +54 -0
- package/core/switcher/switcher.utils.d.ts +4 -0
- package/core/switcher/switcher.utils.js +37 -0
- package/core/switcher-group/index.d.ts +2 -0
- package/core/switcher-group/index.js +1 -0
- package/core/switcher-group/switcher-group.component.d.ts +3 -0
- package/core/switcher-group/switcher-group.component.js +41 -0
- package/core/switcher-group/switcher-group.props.d.ts +13 -0
- package/core/switcher-group/switcher-group.props.js +1 -0
- package/core/switcher-group/switcher-group.styles.d.ts +10 -0
- package/core/switcher-group/switcher-group.styles.js +30 -0
- package/core/tab/index.d.ts +2 -0
- package/core/tab/index.js +1 -0
- package/core/tab/tab.component.d.ts +6 -0
- package/core/tab/tab.component.js +52 -0
- package/core/tab/tab.mixin.d.ts +11 -0
- package/core/tab/tab.mixin.js +15 -0
- package/core/tab/tab.props.d.ts +15 -0
- package/core/tab/tab.props.js +1 -0
- package/core/tab/tab.styles.d.ts +26 -0
- package/core/tab/tab.styles.js +61 -0
- package/core/tab/types/index.d.ts +1 -0
- package/core/tab/types/index.js +1 -0
- package/core/tab/types/size.d.ts +5 -0
- package/core/tab/types/size.js +5 -0
- package/core/tab-panel/index.d.ts +2 -0
- package/core/tab-panel/index.js +1 -0
- package/core/tab-panel/tab-panel.component.d.ts +3 -0
- package/core/tab-panel/tab-panel.component.js +18 -0
- package/core/tab-panel/tab-panel.props.d.ts +6 -0
- package/core/tab-panel/tab-panel.props.js +1 -0
- package/core/tab-panel/tab-panel.styles.d.ts +6 -0
- package/core/tab-panel/tab-panel.styles.js +12 -0
- package/core/upload-input/index.d.ts +2 -0
- package/core/upload-input/index.js +1 -0
- package/core/upload-input/upload-input.component.d.ts +3 -0
- package/core/upload-input/upload-input.component.js +68 -0
- package/core/upload-input/upload-input.props.d.ts +9 -0
- package/core/upload-input/upload-input.props.js +1 -0
- package/core/upload-input/upload-input.styles.d.ts +11 -0
- package/core/upload-input/upload-input.styles.js +53 -0
- package/hooks/README.md +26 -0
- package/hooks/use-controlled.d.ts +1 -0
- package/hooks/use-controlled.js +20 -0
- package/hooks/use-debounce.d.ts +2 -0
- package/hooks/use-debounce.js +19 -0
- package/hooks/use-drag.d.ts +5 -0
- package/hooks/use-drag.js +37 -0
- package/hooks/use-enhanced-effect.d.ts +3 -0
- package/hooks/use-enhanced-effect.js +3 -0
- package/hooks/use-event-callback.d.ts +4 -0
- package/hooks/use-event-callback.js +19 -0
- package/hooks/use-pagination.d.ts +3 -0
- package/hooks/use-pagination.js +106 -0
- package/hooks/use-portal.d.ts +14 -0
- package/hooks/use-portal.js +75 -0
- package/package.json +63 -0
- package/theme/README.md +46 -0
- package/theme/entity/index.d.ts +1 -0
- package/theme/entity/index.js +1 -0
- package/theme/entity/theme.d.ts +34 -0
- package/theme/hooks/index.d.ts +2 -0
- package/theme/hooks/index.js +2 -0
- package/theme/hooks/use-media-query.d.ts +1 -0
- package/theme/hooks/use-media-query.js +27 -0
- package/theme/hooks/use-theme.d.ts +2 -0
- package/theme/hooks/use-theme.js +4 -0
- package/theme/index.d.ts +3 -0
- package/theme/index.js +1 -0
- package/theme/roots/breakpoints/entity/breakpoints-map.d.ts +8 -0
- package/theme/roots/breakpoints/entity/breakpoints.d.ts +73 -0
- package/theme/roots/breakpoints/entity/create-breakpoints.d.ts +3 -0
- package/theme/roots/breakpoints/entity/create-breakpoints.js +65 -0
- package/theme/roots/breakpoints/entity/default-breakpoints.d.ts +26 -0
- package/theme/roots/breakpoints/entity/default-breakpoints.js +22 -0
- package/theme/roots/breakpoints/entity/index.d.ts +3 -0
- package/theme/roots/breakpoints/entity/index.js +2 -0
- package/theme/roots/breakpoints/index.d.ts +3 -0
- package/theme/roots/breakpoints/index.js +1 -0
- package/theme/roots/common-styles.d.ts +2 -0
- package/theme/roots/common-styles.js +6 -0
- package/theme/roots/index.d.ts +2 -0
- package/theme/roots/index.js +2 -0
- package/theme/roots/palette/entity/colors-map.d.ts +4 -0
- package/theme/roots/palette/entity/default-palette.d.ts +282 -0
- package/theme/roots/palette/entity/default-palette.js +22 -0
- package/theme/roots/palette/entity/index.d.ts +2 -0
- package/theme/roots/palette/entity/index.js +2 -0
- package/theme/roots/palette/index.d.ts +2 -0
- package/theme/roots/palette/index.js +1 -0
- package/theme/roots/shadows/entity/default-shadows.d.ts +16 -0
- package/theme/roots/shadows/entity/default-shadows.js +5 -0
- package/theme/roots/shadows/entity/index.d.ts +2 -0
- package/theme/roots/shadows/entity/index.js +2 -0
- package/theme/roots/shadows/entity/shadows-map.d.ts +4 -0
- package/theme/roots/shadows/index.d.ts +2 -0
- package/theme/roots/shadows/index.js +1 -0
- package/theme/roots/shape/index.d.ts +1 -0
- package/theme/roots/shape/index.js +1 -0
- package/theme/roots/shape/shape.props.d.ts +5 -0
- package/theme/roots/shape/shape.props.js +1 -0
- package/theme/roots/typography/entity/default-typography.d.ts +398 -0
- package/theme/roots/typography/entity/default-typography.js +237 -0
- package/theme/roots/typography/entity/index.d.ts +1 -0
- package/theme/roots/typography/entity/index.js +1 -0
- package/theme/roots/typography/index.d.ts +3 -0
- package/theme/roots/typography/index.js +2 -0
- package/theme/roots/typography/typography.component.d.ts +2 -0
- package/theme/roots/typography/typography.component.js +7 -0
- package/theme/roots/typography/typography.props.d.ts +15 -0
- package/theme/roots/typography/typography.props.js +1 -0
- package/theme/theme-provider/index.d.ts +2 -0
- package/theme/theme-provider/index.js +1 -0
- package/theme/theme-provider/theme-provider.context.d.ts +4 -0
- package/theme/theme-provider/theme-provider.context.js +48 -0
- package/theme/theme-provider/theme-provider.props.d.ts +6 -0
- package/theme/theme-provider/theme-provider.props.js +1 -0
- package/theme/theme.css +100 -0
- package/tsconfig.json +22 -0
- package/utils/README.md +11 -0
- package/utils/functions/apply-display-names.d.ts +6 -0
- package/utils/functions/apply-display-names.js +12 -0
- package/utils/functions/apply-polymorphic-function-prop.d.ts +6 -0
- package/utils/functions/apply-polymorphic-function-prop.js +11 -0
- package/utils/functions/color-picker/color-converters.d.ts +11 -0
- package/utils/functions/color-picker/color-converters.js +159 -0
- package/utils/functions/color-picker/map-number.d.ts +1 -0
- package/utils/functions/color-picker/map-number.js +3 -0
- package/utils/functions/color-picker/restrict-number.d.ts +1 -0
- package/utils/functions/color-picker/restrict-number.js +8 -0
- package/utils/functions/convert-to-string.d.ts +1 -0
- package/utils/functions/convert-to-string.js +3 -0
- package/utils/functions/escape-regexp.d.ts +1 -0
- package/utils/functions/escape-regexp.js +3 -0
- package/utils/functions/generate-class-names.d.ts +1 -0
- package/utils/functions/generate-class-names.js +22 -0
- package/utils/functions/get-elem-document-coords.d.ts +6 -0
- package/utils/functions/get-elem-document-coords.js +21 -0
- package/utils/functions/ignore-event.d.ts +1 -0
- package/utils/functions/ignore-event.js +9 -0
- package/utils/functions/index.d.ts +14 -0
- package/utils/functions/index.js +15 -0
- package/utils/functions/intrinsic-component.d.ts +0 -0
- package/utils/functions/intrinsic-component.js +28 -0
- package/utils/functions/object-keys.d.ts +6 -0
- package/utils/functions/object-keys.js +6 -0
- package/utils/functions/object-values.d.ts +7 -0
- package/utils/functions/object-values.js +6 -0
- package/utils/functions/on-click-by-mouse-down.d.ts +2 -0
- package/utils/functions/on-click-by-mouse-down.js +9 -0
- package/utils/functions/scrollbar.d.ts +2 -0
- package/utils/functions/scrollbar.js +6 -0
- package/utils/functions/set-ref.d.ts +8 -0
- package/utils/functions/set-ref.js +13 -0
- package/utils/functions/shadcn-utils.d.ts +2 -0
- package/utils/functions/shadcn-utils.js +8 -0
- package/utils/functions/slider/utils.d.ts +47 -0
- package/utils/functions/slider/utils.js +124 -0
- package/utils/functions/use-fork-ref.d.ts +2 -0
- package/utils/functions/use-fork-ref.js +18 -0
- package/utils/types/color/icon-button-color.d.ts +5 -0
- package/utils/types/color/icon-button-color.js +5 -0
- package/utils/types/color/index.d.ts +2 -0
- package/utils/types/color/index.js +2 -0
- package/utils/types/color/input-background-color.d.ts +4 -0
- package/utils/types/color/input-background-color.js +4 -0
- package/utils/types/css/align.d.ts +11 -0
- package/utils/types/css/align.js +11 -0
- package/utils/types/css/breakpoint.d.ts +18 -0
- package/utils/types/css/breakpoint.js +18 -0
- package/utils/types/css/direction.d.ts +8 -0
- package/utils/types/css/direction.js +4 -0
- package/utils/types/css/index.d.ts +4 -0
- package/utils/types/css/index.js +4 -0
- package/utils/types/css/position.d.ts +6 -0
- package/utils/types/css/position.js +6 -0
- package/utils/types/index.d.ts +8 -0
- package/utils/types/index.js +3 -0
- package/utils/types/intrinsic-component.d.ts +1 -0
- package/utils/types/keys.d.ts +4 -0
- package/utils/types/palette/color.d.ts +133 -0
- package/utils/types/palette/color.js +133 -0
- package/utils/types/palette/index.d.ts +1 -0
- package/utils/types/palette/index.js +1 -0
- package/utils/types/position/index.d.ts +1 -0
- package/utils/types/position/index.js +1 -0
- package/utils/types/position/position.d.ts +6 -0
- package/utils/types/position/position.js +6 -0
- package/utils/types/prop-types/index.d.ts +1 -0
- package/utils/types/prop-types/index.js +1 -0
- package/utils/types/prop-types/record.d.ts +1 -0
- package/utils/types/prop-types/record.js +6 -0
- package/utils/types/shadows/index.d.ts +1 -0
- package/utils/types/shadows/index.js +1 -0
- package/utils/types/shadows/shadows.d.ts +14 -0
- package/utils/types/shadows/shadows.js +14 -0
- package/utils/types/shape/border-radius-size.d.ts +5 -0
- package/utils/types/shape/border-radius-size.js +5 -0
- package/utils/types/shape/index.d.ts +1 -0
- package/utils/types/shape/index.js +1 -0
- package/utils/types/size/index.d.ts +1 -0
- package/utils/types/size/index.js +1 -0
- package/utils/types/size/input-size.d.ts +4 -0
- package/utils/types/size/input-size.js +4 -0
- package/utils/types/stylable-component.d.ts +7 -0
- package/utils/types/typography/font-variant.d.ts +58 -0
- package/utils/types/typography/font-variant.js +58 -0
- package/utils/types/typography/font-weight.d.ts +11 -0
- package/utils/types/typography/font-weight.js +11 -0
- package/utils/types/typography/index.d.ts +4 -0
- package/utils/types/typography/index.js +4 -0
- package/utils/types/typography/text-align.d.ts +5 -0
- package/utils/types/typography/text-align.js +5 -0
- package/utils/types/typography/text-decoration.d.ts +5 -0
- package/utils/types/typography/text-decoration.js +5 -0
- package/utils/types/values.d.ts +4 -0
- package/utils/types/with.d.ts +4 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { defaultBreakpoints } from './default-breakpoints';
|
|
2
|
+
var createBreakpoints = function createBreakpoints(breakpoints) {
|
|
3
|
+
var _breakpoints$values = breakpoints.values,
|
|
4
|
+
values = _breakpoints$values === void 0 ? defaultBreakpoints.values : _breakpoints$values,
|
|
5
|
+
_breakpoints$classes = breakpoints.classes,
|
|
6
|
+
classes = _breakpoints$classes === void 0 ? defaultBreakpoints.classes : _breakpoints$classes;
|
|
7
|
+
var unit = 'px';
|
|
8
|
+
var keys = Object.keys(values);
|
|
9
|
+
var up = function up(key) {
|
|
10
|
+
var value = typeof values[key] === 'number' ? values[key] : key;
|
|
11
|
+
return "@media (min-width:".concat(value).concat(unit, ")");
|
|
12
|
+
};
|
|
13
|
+
var down = function down(key) {
|
|
14
|
+
var value = values[key];
|
|
15
|
+
return "@media (max-width:".concat(value).concat(unit, ")");
|
|
16
|
+
};
|
|
17
|
+
var between = function between(start, end) {
|
|
18
|
+
var endIndex = keys.indexOf(end);
|
|
19
|
+
return "@media (min-width:".concat(values[start]).concat(unit, ") and (max-width:").concat(values[keys[endIndex]]).concat(unit, ")");
|
|
20
|
+
};
|
|
21
|
+
var only = function only(key) {
|
|
22
|
+
if (keys.indexOf(key) + 1 < keys.length) {
|
|
23
|
+
return between(key, keys[keys.indexOf(key) + 1]);
|
|
24
|
+
}
|
|
25
|
+
return up(key);
|
|
26
|
+
};
|
|
27
|
+
var getBreakpointClass = function getBreakpointClass(width, hideSelector) {
|
|
28
|
+
var removeSelector = function removeSelector(str) {
|
|
29
|
+
return str.slice(1);
|
|
30
|
+
};
|
|
31
|
+
if (width >= values.xs && width < values.sm) {
|
|
32
|
+
return hideSelector ? removeSelector(classes.xs) : classes.xs;
|
|
33
|
+
}
|
|
34
|
+
if (width >= values.sm && width < values.md) {
|
|
35
|
+
return hideSelector ? removeSelector(classes.sm) : classes.sm;
|
|
36
|
+
}
|
|
37
|
+
if (width >= values.md && width < values.lg) {
|
|
38
|
+
return hideSelector ? removeSelector(classes.md) : classes.md;
|
|
39
|
+
}
|
|
40
|
+
if (width >= values.lg && width < values.xl) {
|
|
41
|
+
return hideSelector ? removeSelector(classes.lg) : classes.lg;
|
|
42
|
+
}
|
|
43
|
+
if (width >= values.xl && width < values.xxl) {
|
|
44
|
+
return hideSelector ? removeSelector(classes.xl) : classes.xl;
|
|
45
|
+
}
|
|
46
|
+
if (width >= values.xxl && width < values.xxxl) {
|
|
47
|
+
return hideSelector ? removeSelector(classes.xxl) : classes.xxl;
|
|
48
|
+
}
|
|
49
|
+
if (width >= values.xxxl) {
|
|
50
|
+
return hideSelector ? removeSelector(classes.xxxl) : classes.xxxl;
|
|
51
|
+
}
|
|
52
|
+
return hideSelector ? removeSelector(classes.md) : classes.md;
|
|
53
|
+
};
|
|
54
|
+
return {
|
|
55
|
+
keys: keys,
|
|
56
|
+
values: values,
|
|
57
|
+
classes: classes,
|
|
58
|
+
getBreakpointClass: getBreakpointClass,
|
|
59
|
+
up: up,
|
|
60
|
+
down: down,
|
|
61
|
+
between: between,
|
|
62
|
+
only: only
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
export default createBreakpoints;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const defaultBreakpoints: {
|
|
2
|
+
keys: ("sm" | "md" | "xs" | "lg" | "xl")[];
|
|
3
|
+
values: {
|
|
4
|
+
xs: number;
|
|
5
|
+
sm: number;
|
|
6
|
+
md: number;
|
|
7
|
+
lg: number;
|
|
8
|
+
xl: number;
|
|
9
|
+
xxl: number;
|
|
10
|
+
xxxl: number;
|
|
11
|
+
};
|
|
12
|
+
classes: {
|
|
13
|
+
xs: string;
|
|
14
|
+
sm: string;
|
|
15
|
+
md: string;
|
|
16
|
+
lg: string;
|
|
17
|
+
xl: string;
|
|
18
|
+
xxl: string;
|
|
19
|
+
xxxl: string;
|
|
20
|
+
};
|
|
21
|
+
getBreakpointClass: () => string;
|
|
22
|
+
up: () => string;
|
|
23
|
+
down: () => string;
|
|
24
|
+
between: () => string;
|
|
25
|
+
only: () => string;
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
import { Breakpoint } from '../../../../utils/types/css';
|
|
3
|
+
export var defaultBreakpoints = {
|
|
4
|
+
keys: [Breakpoint.Xs, Breakpoint.Sm, Breakpoint.Md, Breakpoint.Lg, Breakpoint.Xl],
|
|
5
|
+
values: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Breakpoint.Xs, 0), Breakpoint.Sm, 576), Breakpoint.Md, 768), Breakpoint.Lg, 1084), Breakpoint.Xl, 1342), Breakpoint.Xxl, 1600), Breakpoint.Xxxl, 1920),
|
|
6
|
+
classes: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Breakpoint.Xs, '.sfx-breakpoint-xs'), Breakpoint.Sm, '.sfx-breakpoint-sm'), Breakpoint.Md, '.sfx-breakpoint-md'), Breakpoint.Lg, '.sfx-breakpoint-lg'), Breakpoint.Xl, '.sfx-breakpoint-xl'), Breakpoint.Xxl, '.sfx-breakpoint-xxl'), Breakpoint.Xxxl, '.sfx-breakpoint-xxxl'),
|
|
7
|
+
getBreakpointClass: function getBreakpointClass() {
|
|
8
|
+
return '';
|
|
9
|
+
},
|
|
10
|
+
up: function up() {
|
|
11
|
+
return '';
|
|
12
|
+
},
|
|
13
|
+
down: function down() {
|
|
14
|
+
return '';
|
|
15
|
+
},
|
|
16
|
+
between: function between() {
|
|
17
|
+
return '';
|
|
18
|
+
},
|
|
19
|
+
only: function only() {
|
|
20
|
+
return '';
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defaultBreakpoints } from './entity';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { createGlobalStyle /* , css */ } from 'styled-components';
|
|
2
|
+
|
|
3
|
+
// Example with theme: ${({ theme }) => css``;
|
|
4
|
+
|
|
5
|
+
var CommonStyles = /*#__PURE__*/createGlobalStyle(["@keyframes spinner{0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}}.Menu-open{overflow:hidden;}.Modal-open{overflow:hidden;}.Drawer-open{overflow:hidden;}"]);
|
|
6
|
+
export default CommonStyles;
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import type { ColorsMap } from './colors-map';
|
|
2
|
+
export declare const groupedPalette: {
|
|
3
|
+
text: {
|
|
4
|
+
"txt-primary": string;
|
|
5
|
+
"txt-secondary": string;
|
|
6
|
+
"txt-secondary-invert": string;
|
|
7
|
+
"txt-placeholder": string;
|
|
8
|
+
"txt-warning": string;
|
|
9
|
+
"txt-error": string;
|
|
10
|
+
"txt-info": string;
|
|
11
|
+
};
|
|
12
|
+
accent: {
|
|
13
|
+
"accent-primary": string;
|
|
14
|
+
"accent-primary-hover": string;
|
|
15
|
+
"accent-primary-active": string;
|
|
16
|
+
"accent-primary-disabled": string;
|
|
17
|
+
"accent-secondary-disabled": string;
|
|
18
|
+
"accent-stateless": string;
|
|
19
|
+
"accent-stateless_0_4_opacity": string;
|
|
20
|
+
accent_0_5_5_opacity: string;
|
|
21
|
+
accent_0_7_opacity: string;
|
|
22
|
+
accent_0_5_opacity: string;
|
|
23
|
+
accent_1_2_opacity: string;
|
|
24
|
+
accent_1_8_opacity: string;
|
|
25
|
+
accent_2_8_opacity: string;
|
|
26
|
+
accent_4_0_opacity: string;
|
|
27
|
+
};
|
|
28
|
+
background: {
|
|
29
|
+
"bg-grey": string;
|
|
30
|
+
"bg-stateless": string;
|
|
31
|
+
"bg-active": string;
|
|
32
|
+
"bg-base-light": string;
|
|
33
|
+
"bg-base-medium": string;
|
|
34
|
+
"bg-primary": string;
|
|
35
|
+
"bg-primary-light": string;
|
|
36
|
+
"bg-primary-hover": string;
|
|
37
|
+
"bg-primary-active": string;
|
|
38
|
+
"bg-primary-0-5-opacity": string;
|
|
39
|
+
"bg-primary-stateless": string;
|
|
40
|
+
"bg-secondary": string;
|
|
41
|
+
"bg-hover": string;
|
|
42
|
+
"bg-green": string;
|
|
43
|
+
"bg-green-medium": string;
|
|
44
|
+
"bg-blue": string;
|
|
45
|
+
"bg-red": string;
|
|
46
|
+
"bg-red-light": string;
|
|
47
|
+
"background-red-medium": string;
|
|
48
|
+
"bg-orange": string;
|
|
49
|
+
"bg-tooltip": string;
|
|
50
|
+
};
|
|
51
|
+
icons: {
|
|
52
|
+
"icon-primary": string;
|
|
53
|
+
"icons-primary-opacity-0-6": string;
|
|
54
|
+
"icons-secondary": string;
|
|
55
|
+
"icons-placeholder": string;
|
|
56
|
+
"icons-invert": string;
|
|
57
|
+
"icons-muted": string;
|
|
58
|
+
"icons-primary-hover": string;
|
|
59
|
+
"icons-secondary-hover": string;
|
|
60
|
+
};
|
|
61
|
+
button: {
|
|
62
|
+
"btn-primary-text": string;
|
|
63
|
+
"btn-primary-text-0-6": string;
|
|
64
|
+
"btn-primary-text-0-4": string;
|
|
65
|
+
"btn-disabled-text": string;
|
|
66
|
+
"btn-secondary-text": string;
|
|
67
|
+
};
|
|
68
|
+
link: {
|
|
69
|
+
"link-primary": string;
|
|
70
|
+
"link-stateless": string;
|
|
71
|
+
"link-hover": string;
|
|
72
|
+
"link-active": string;
|
|
73
|
+
"link-pressed": string;
|
|
74
|
+
"link-muted": string;
|
|
75
|
+
};
|
|
76
|
+
borders: {
|
|
77
|
+
"borders-primary": string;
|
|
78
|
+
"borders-primary-hover": string;
|
|
79
|
+
"borders-secondary": string;
|
|
80
|
+
"borders-strong": string;
|
|
81
|
+
"borders-invert": string;
|
|
82
|
+
"border-hover-bottom": string;
|
|
83
|
+
"border-active-bottom": string;
|
|
84
|
+
"border-primary-stateless": string;
|
|
85
|
+
"borders-disabled": string;
|
|
86
|
+
"borders-button": string;
|
|
87
|
+
"borders-item": string;
|
|
88
|
+
"borders-base-light": string;
|
|
89
|
+
"borders-base-medium": string;
|
|
90
|
+
"borders-green": string;
|
|
91
|
+
"borders-green-medium": string;
|
|
92
|
+
"borders-red": string;
|
|
93
|
+
};
|
|
94
|
+
states: {
|
|
95
|
+
error: string;
|
|
96
|
+
"error-0-28-opacity": string;
|
|
97
|
+
"error-0-12-opacity": string;
|
|
98
|
+
"error-hover": string;
|
|
99
|
+
"error-active": string;
|
|
100
|
+
success: string;
|
|
101
|
+
"success-hover": string;
|
|
102
|
+
"success-Active": string;
|
|
103
|
+
warning: string;
|
|
104
|
+
"warning-hover": string;
|
|
105
|
+
"warning-active": string;
|
|
106
|
+
info: string;
|
|
107
|
+
modified: string;
|
|
108
|
+
};
|
|
109
|
+
flat: {
|
|
110
|
+
red: string;
|
|
111
|
+
orange: string;
|
|
112
|
+
salad: string;
|
|
113
|
+
green: string;
|
|
114
|
+
blue: string;
|
|
115
|
+
indigo: string;
|
|
116
|
+
violet: string;
|
|
117
|
+
pink: string;
|
|
118
|
+
};
|
|
119
|
+
uploader: {
|
|
120
|
+
link: string;
|
|
121
|
+
camera: string;
|
|
122
|
+
"google-drive": string;
|
|
123
|
+
dropbox: string;
|
|
124
|
+
"one-drive": string;
|
|
125
|
+
device: string;
|
|
126
|
+
instagram: string;
|
|
127
|
+
unsplash: string;
|
|
128
|
+
"free-images": string;
|
|
129
|
+
"free-icons": string;
|
|
130
|
+
canvas: string;
|
|
131
|
+
box: string;
|
|
132
|
+
"screen-cast": string;
|
|
133
|
+
};
|
|
134
|
+
extra: {
|
|
135
|
+
"gradient-right": string;
|
|
136
|
+
"extra-0-3-overlay": string;
|
|
137
|
+
"gradient-right-active": string;
|
|
138
|
+
"gradient-right-hover": string;
|
|
139
|
+
"extra-0-5-overlay": string;
|
|
140
|
+
"extra-0-7-overlay": string;
|
|
141
|
+
"extra-0-9-overlay": string;
|
|
142
|
+
"red-0-1-overlay": string;
|
|
143
|
+
"orange-0-1-overlay": string;
|
|
144
|
+
"accent-0-8-overlay": string;
|
|
145
|
+
"green-0-2-Overlay": string;
|
|
146
|
+
"white-0-7-8-overlay": string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
export declare const lightPalette: {
|
|
150
|
+
"active-secondary": string;
|
|
151
|
+
"active-secondary-hover": string;
|
|
152
|
+
tag: string;
|
|
153
|
+
"states-error-disabled-text": string;
|
|
154
|
+
"light-shadow": string;
|
|
155
|
+
"medium-shadow": string;
|
|
156
|
+
"large-shadow": string;
|
|
157
|
+
"x-large-shadow": string;
|
|
158
|
+
"gradient-right": string;
|
|
159
|
+
"extra-0-3-overlay": string;
|
|
160
|
+
"gradient-right-active": string;
|
|
161
|
+
"gradient-right-hover": string;
|
|
162
|
+
"extra-0-5-overlay": string;
|
|
163
|
+
"extra-0-7-overlay": string;
|
|
164
|
+
"extra-0-9-overlay": string;
|
|
165
|
+
"red-0-1-overlay": string;
|
|
166
|
+
"orange-0-1-overlay": string;
|
|
167
|
+
"accent-0-8-overlay": string;
|
|
168
|
+
"green-0-2-Overlay": string;
|
|
169
|
+
"white-0-7-8-overlay": string;
|
|
170
|
+
link: string;
|
|
171
|
+
camera: string;
|
|
172
|
+
"google-drive": string;
|
|
173
|
+
dropbox: string;
|
|
174
|
+
"one-drive": string;
|
|
175
|
+
device: string;
|
|
176
|
+
instagram: string;
|
|
177
|
+
unsplash: string;
|
|
178
|
+
"free-images": string;
|
|
179
|
+
"free-icons": string;
|
|
180
|
+
canvas: string;
|
|
181
|
+
box: string;
|
|
182
|
+
"screen-cast": string;
|
|
183
|
+
red: string;
|
|
184
|
+
orange: string;
|
|
185
|
+
salad: string;
|
|
186
|
+
green: string;
|
|
187
|
+
blue: string;
|
|
188
|
+
indigo: string;
|
|
189
|
+
violet: string;
|
|
190
|
+
pink: string;
|
|
191
|
+
error: string;
|
|
192
|
+
"error-0-28-opacity": string;
|
|
193
|
+
"error-0-12-opacity": string;
|
|
194
|
+
"error-hover": string;
|
|
195
|
+
"error-active": string;
|
|
196
|
+
success: string;
|
|
197
|
+
"success-hover": string;
|
|
198
|
+
"success-Active": string;
|
|
199
|
+
warning: string;
|
|
200
|
+
"warning-hover": string;
|
|
201
|
+
"warning-active": string;
|
|
202
|
+
info: string;
|
|
203
|
+
modified: string;
|
|
204
|
+
"borders-primary": string;
|
|
205
|
+
"borders-primary-hover": string;
|
|
206
|
+
"borders-secondary": string;
|
|
207
|
+
"borders-strong": string;
|
|
208
|
+
"borders-invert": string;
|
|
209
|
+
"border-hover-bottom": string;
|
|
210
|
+
"border-active-bottom": string;
|
|
211
|
+
"border-primary-stateless": string;
|
|
212
|
+
"borders-disabled": string;
|
|
213
|
+
"borders-button": string;
|
|
214
|
+
"borders-item": string;
|
|
215
|
+
"borders-base-light": string;
|
|
216
|
+
"borders-base-medium": string;
|
|
217
|
+
"borders-green": string;
|
|
218
|
+
"borders-green-medium": string;
|
|
219
|
+
"borders-red": string;
|
|
220
|
+
"link-primary": string;
|
|
221
|
+
"link-stateless": string;
|
|
222
|
+
"link-hover": string;
|
|
223
|
+
"link-active": string;
|
|
224
|
+
"link-pressed": string;
|
|
225
|
+
"link-muted": string;
|
|
226
|
+
"btn-primary-text": string;
|
|
227
|
+
"btn-primary-text-0-6": string;
|
|
228
|
+
"btn-primary-text-0-4": string;
|
|
229
|
+
"btn-disabled-text": string;
|
|
230
|
+
"btn-secondary-text": string;
|
|
231
|
+
"icon-primary": string;
|
|
232
|
+
"icons-primary-opacity-0-6": string;
|
|
233
|
+
"icons-secondary": string;
|
|
234
|
+
"icons-placeholder": string;
|
|
235
|
+
"icons-invert": string;
|
|
236
|
+
"icons-muted": string;
|
|
237
|
+
"icons-primary-hover": string;
|
|
238
|
+
"icons-secondary-hover": string;
|
|
239
|
+
"bg-grey": string;
|
|
240
|
+
"bg-stateless": string;
|
|
241
|
+
"bg-active": string;
|
|
242
|
+
"bg-base-light": string;
|
|
243
|
+
"bg-base-medium": string;
|
|
244
|
+
"bg-primary": string;
|
|
245
|
+
"bg-primary-light": string;
|
|
246
|
+
"bg-primary-hover": string;
|
|
247
|
+
"bg-primary-active": string;
|
|
248
|
+
"bg-primary-0-5-opacity": string;
|
|
249
|
+
"bg-primary-stateless": string;
|
|
250
|
+
"bg-secondary": string;
|
|
251
|
+
"bg-hover": string;
|
|
252
|
+
"bg-green": string;
|
|
253
|
+
"bg-green-medium": string;
|
|
254
|
+
"bg-blue": string;
|
|
255
|
+
"bg-red": string;
|
|
256
|
+
"bg-red-light": string;
|
|
257
|
+
"background-red-medium": string;
|
|
258
|
+
"bg-orange": string;
|
|
259
|
+
"bg-tooltip": string;
|
|
260
|
+
"accent-primary": string;
|
|
261
|
+
"accent-primary-hover": string;
|
|
262
|
+
"accent-primary-active": string;
|
|
263
|
+
"accent-primary-disabled": string;
|
|
264
|
+
"accent-secondary-disabled": string;
|
|
265
|
+
"accent-stateless": string;
|
|
266
|
+
"accent-stateless_0_4_opacity": string;
|
|
267
|
+
accent_0_5_5_opacity: string;
|
|
268
|
+
accent_0_7_opacity: string;
|
|
269
|
+
accent_0_5_opacity: string;
|
|
270
|
+
accent_1_2_opacity: string;
|
|
271
|
+
accent_1_8_opacity: string;
|
|
272
|
+
accent_2_8_opacity: string;
|
|
273
|
+
accent_4_0_opacity: string;
|
|
274
|
+
"txt-primary": string;
|
|
275
|
+
"txt-secondary": string;
|
|
276
|
+
"txt-secondary-invert": string;
|
|
277
|
+
"txt-placeholder": string;
|
|
278
|
+
"txt-warning": string;
|
|
279
|
+
"txt-error": string;
|
|
280
|
+
"txt-info": string;
|
|
281
|
+
};
|
|
282
|
+
export declare const defaultPalette: ColorsMap;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
var _accent, _background, _borders, _states, _uploader, _extra;
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
+
import { Color } from '../../../../utils/types/palette';
|
|
6
|
+
//TODO: update theme to include grouped palette
|
|
7
|
+
//TODO:change color values from rgb to hex
|
|
8
|
+
export var groupedPalette = {
|
|
9
|
+
text: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.TextPrimary, 'rgba(55, 65, 75, 1)'), Color.TextSecondary, 'rgba(118, 138, 159, 1)'), Color.TextSecondaryInvert, 'rgba(213, 216, 220, 1)'), Color.TextPlaceholder, 'rgba(169, 182, 194, 1)'), Color.TextWarning, 'rgba(196, 110, 0, 1)'), Color.TextError, 'rgba(185, 33, 46, 1)'), Color.TextInfo, 'rgba(35, 117, 171, 1)'),
|
|
10
|
+
accent: (_accent = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_accent, Color.AccentPrimary, 'rgba(104, 121, 235, 1)'), Color.AccentPrimaryHover, 'rgba(96, 111, 209, 1)'), Color.AccentPrimaryActive, 'rgba(73, 88, 188, 1)'), Color.AccentPrimaryDisabled, 'rgba(233, 238, 242, 1)'), Color.AccentSecondaryDisabled, '#F9FBFC'), Color.AccentStateless, 'rgba(104, 121, 235, 1)'), Color.AccentStateless_0_4_Opacity, 'rgba(104, 121, 235, 0.4)'), Color.Accent_0_5_5_Opacity, 'rgba(96, 111, 209, 0.55)'), Color.Accent_0_7_Opacity, 'rgba(96, 111, 209, 0.7)'), Color.Accent_0_5_Opacity, 'rgba(104, 121, 235, 0.05)'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_accent, Color.Accent_1_2_Opacity, 'rgba(104, 121, 235, 0.12)'), Color.Accent_1_8_Opacity, 'rgba(104, 121, 235, 0.18)'), Color.Accent_2_8_Opacity, 'rgba(104, 121, 235, 0.28)'), Color.Accent_4_0_Opacity, 'rgba(104, 121, 235, 0.4)')),
|
|
11
|
+
background: (_background = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_background, Color.BackgroundGrey, 'rgba(216, 224, 232, 1)'), Color.BackgroundStateless, 'rgba(255, 255, 255, 1)'), Color.BackgroundActive, 'rgba(243, 247, 250, 1)'), Color.BackgroundBaseLight, 'rgba(235, 239, 252, 1)'), Color.BackgroundBaseMedium, 'rgba(227, 231, 251, 1)'), Color.BackgroundPrimary, 'rgba(243, 245, 247, 1)'), Color.BackgroundPrimaryLight, 'rgba(243, 245, 247, 1)'), Color.BackgroundPrimaryHover, 'rgba(239, 243, 246, 1)'), Color.BackgroundPrimaryActive, 'rgba(93, 109, 126, 1)'), Color.BackgroundPrimary_0_5_Opacity, 'rgba(255, 255, 255, 0.500)'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_background, Color.BackgroundPrimaryStateless, '#CCD6DE'), Color.BackgroundSecondary, 'rgba(255, 255, 255, 1)'), Color.BackgroundHover, 'rgba(249, 251, 252, 1)'), Color.BackgroundGreen, 'rgba(237, 250, 244, 1)'), Color.BackgroundGreenMedium, 'rgba(227, 250, 239, 1)'), Color.BackgroundBlue, 'rgba(244, 249, 255, 1)'), Color.BackgroundRed, 'rgba(253, 244, 242, 1)'), Color.BackgroundRedLight, 'rgba(255, 245, 245, 1)'), Color.BackgroundRedMedium, 'rgba(247, 228, 230, 1)'), Color.BackgroundOrange, 'rgba(255, 249, 242, 1)'), _defineProperty(_background, Color.BackgroundTooltip, 'rgba(79, 98, 118, 1)')),
|
|
12
|
+
icons: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.IconsPrimary, 'rgba(118, 138, 159, 1)'), Color.IconsPrimaryOpacity_0_6, 'rgba(93, 109, 126, 0.600)'), Color.IconsSecondary, 'rgba(151, 166, 182, 1)'), Color.IconsPlaceholder, 'rgba(223, 231, 237, 1)'), Color.IconsInvert, 'rgba(255, 255, 255, 1)'), Color.IconsMuted, 'rgba(169, 182, 194, 1)'), Color.IconsPrimaryHover, 'rgba(79, 98, 118, 1)'), Color.IconsSecondaryHover, 'rgba(118, 138, 159, 1)'),
|
|
13
|
+
button: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.ButtonPrimaryText, 'rgba(255, 255, 255, 1)'), Color.ButtonPrimaryText_0_6, 'rgba(255, 255, 255, 0.6)'), Color.ButtonPrimaryText_0_4, 'rgba(255, 255, 255, 0.4)'), Color.ButtonDisabledText, 'rgba(169, 182, 194, 1)'), Color.ButtonSecondaryText, 'rgba(0, 0, 0, 1)'),
|
|
14
|
+
link: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.LinkPrimary, 'rgba(118, 138, 159, 1)'), Color.LinkStateless, 'rgba(118, 138, 159, 1)'), Color.LinkHover, 'rgba(79, 98, 118, 1)'), Color.LinkActive, 'rgba(55, 65, 75, 1)'), Color.LinkPressed, 'rgba(104, 121, 235, 1)'), Color.LinkMuted, 'rgba(169, 182, 194, 1)'),
|
|
15
|
+
borders: (_borders = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_borders, Color.BordersPrimary, 'rgba(204, 214, 222, 1)'), Color.BordersPrimaryHover, 'rgba(104, 118, 134, 1)'), Color.BordersSecondary, 'rgba(236, 240, 243, 1)'), Color.BordersStrong, 'rgba(204, 214, 222, 1)'), Color.BordersInvert, 'rgba(85, 99, 115, 1)'), Color.BorderHoverBottom, 'rgba(104, 121, 235, 0.18)'), Color.BorderActiveBottom, '#4958BC'), Color.BorderPrimaryStateless, 'rgba(204, 214, 222, 1)'), Color.BordersDisabled, 'rgba(73, 88, 188, 0.4)'), Color.BordersButton, 'rgba(151, 166, 182, 1)'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_borders, Color.BordersItem, 'rgba(226, 232, 236, 1)'), Color.BordersBaseLight, 'rgba(211, 219, 250, 1)'), Color.BordersBaseMedium, 'rgba(164, 175, 227, 1)'), Color.BordersGreen, 'rgba(27, 161, 99, 0.22)'), Color.BordersGreenMedium, 'rgba(27, 161, 99, 0.4)'), Color.BordersRed, 'rgba(185, 33, 46, 0.4)')),
|
|
16
|
+
states: (_states = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_states, Color.Error, 'rgba(246, 61, 61, 1)'), Color.Error_0_28_Opacity, 'rgba(185, 33, 46, 0.28)'), Color.Error_0_12_Opacity, 'rgba(255, 86, 78, 0.1)'), Color.ErrorHover, 'rgba(216, 46, 46, 1)'), Color.ErrorActive, 'rgba(185, 33, 46, 1)'), Color.Success, 'rgba(38, 193, 122, 1)'), Color.SuccessHover, 'rgba(30, 154, 98, 1)'), Color.SuccessActive, 'rgba(23, 116, 73, 1)'), Color.Warning, 'rgba(255, 172, 74, 1)'), Color.WarningHover, 'rgba(237, 145, 7, 1)'), _defineProperty(_defineProperty(_defineProperty(_states, Color.WarningActive, 'rgba(224, 135, 0, 1)'), Color.Info, 'rgba(41, 127, 184, 1)'), Color.Modified, 'rgba(165, 166, 246, 1)')),
|
|
17
|
+
flat: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.Red, 'rgba(219, 46, 50, 1)'), Color.Orange, 'rgba(255, 168, 0, 1)'), Color.Salad, 'rgba(143, 176, 33, 1)'), Color.Green, 'rgba(22, 160, 134, 1)'), Color.Blue, 'rgba(41, 127, 184, 1)'), Color.Indigo, 'rgba(91, 72, 162, 1)'), Color.Violet, 'rgba(141, 68, 173, 1)'), Color.Pink, 'rgba(211, 92, 158, 1)'),
|
|
18
|
+
uploader: (_uploader = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_uploader, Color.Link, 'rgba(250, 166, 68, 1)'), Color.Camera, 'rgba(73, 186, 224, 1)'), Color.GoogleDrive, 'rgba(81, 136, 238, 1)'), Color.Dropbox, 'rgba(17, 40, 124, 1)'), Color.OneDrive, 'rgba(40, 100, 186, 1)'), Color.Device, 'rgba(102, 73, 209, 1)'), Color.Instagram, 'rgba(244, 70, 154, 1)'), Color.Unsplash, 'rgba(173, 38, 220, 1)'), Color.FreeImages, 'rgba(16, 163, 135, 1)'), Color.FreeIcons, 'rgba(62, 207, 139, 1)'), _defineProperty(_defineProperty(_defineProperty(_uploader, Color.Canvas, 'rgba(36, 190, 202, 1)'), Color.Box, 'rgba(0, 97, 213, 1)'), Color.ScreenCast, 'rgba(48, 61, 78, 1)')),
|
|
19
|
+
extra: (_extra = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_extra, Color.GradientRight, 'linear-gradient(270deg, #FFFFFF 1.56%, rgba(255, 255, 255, 0.89) 52.4%, rgba(255, 255, 255, 0.532165) 76.04%, rgba(255, 255, 255, 0) 100%)'), Color.Extra_0_3_Overlay, 'rgba(79, 98, 118, 0.3)'), Color.GradientRightActive, 'linear-gradient(270deg, #F3F7FA 1.56%, #F3F7FA 52.4%, rgba(243, 247, 250, 0.53) 76.04%, rgba(243, 247, 250, 0) 100%)'), Color.GradientRightHover, 'linear-gradient(270deg, #F9FBFC 1.56%, #F9FBFC 52.4%, rgba(249, 251, 252, 0.53) 76.04%, rgba(249, 251, 252, 0) 100%)'), Color.Extra_0_5_Overlay, 'rgba(79, 98, 118, 0.5)'), Color.Extra_0_7_Overlay, 'rgba(79, 98, 118, 0.7)'), Color.Extra_0_9_Overlay, 'rgba(79, 98, 118, 0.9)'), Color.Red_0_1_Overlay, 'rgba(232, 91, 70, 0.1)'), Color.Orange_0_1_Overlay, 'rgba(250, 157, 47, 0.1)'), Color.Accent_0_8_Overlay, 'rgba(104, 121, 235, 0.08)'), _defineProperty(_defineProperty(_extra, Color.Green_0_2_Overlay, 'rgba(27, 161, 99, 0.2)'), Color.WHITE_0_7_8_Overlay, 'rgba(255, 255, 255, 0.78)'))
|
|
20
|
+
};
|
|
21
|
+
export var lightPalette = _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, groupedPalette.text), groupedPalette.accent), groupedPalette.background), groupedPalette.icons), groupedPalette.button), groupedPalette.link), groupedPalette.borders), groupedPalette.states), groupedPalette.flat), groupedPalette.uploader), groupedPalette.extra), {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, Color.ActiveSecondary, '#FFFFFF'), Color.ActiveSecondaryHover, 'rgba(104, 121, 235, 0.05)'), Color.Tag, '#889AAC'), Color.StatesErrorDisabledText, 'rgba(185, 33, 46, 0.3)'), Color.LightShadow, 'rgba(146, 166, 188, 0.2)'), Color.MediumShadow, 'rgba(146, 166, 188, 0.24)'), Color.LargeShadow, 'rgba(146, 166, 188, 0.32)'), Color.XLargeShadow, 'rgba(146, 166, 188, 0.5)'));
|
|
22
|
+
export var defaultPalette = lightPalette;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defaultPalette, lightPalette, groupedPalette } from './entity';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ShadowsMap } from './shadows-map';
|
|
2
|
+
export declare const shadows: {
|
|
3
|
+
"shadow-sm": string;
|
|
4
|
+
"shadow-md": string;
|
|
5
|
+
"shadow-lg": string;
|
|
6
|
+
"shadow-xl": string;
|
|
7
|
+
label: string;
|
|
8
|
+
header: string;
|
|
9
|
+
"header-popup": string;
|
|
10
|
+
"footer-popup": string;
|
|
11
|
+
"left-panel-md": string;
|
|
12
|
+
"right-panel-md": string;
|
|
13
|
+
"left-panel-sm": string;
|
|
14
|
+
"right-panel-sm": string;
|
|
15
|
+
};
|
|
16
|
+
export declare const defaultShadows: ShadowsMap;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
var _shadows;
|
|
3
|
+
import { Shadows } from '../../../../utils/types/shadows';
|
|
4
|
+
export var shadows = (_shadows = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_shadows, Shadows.ShadowSm, '0px 1px 2px 0px rgba(146, 166, 188, 0.2)'), Shadows.ShadowMd, ' 0px 1px 4px 0px rgba(146, 166, 188, 0.24)'), Shadows.ShadowLg, ' 0px 2px 6px 0px rgba(146, 166, 188, 0.32)'), Shadows.ShadowXl, ' 0px 2px 6px 0px rgba(146, 166, 188, 0.5)'), Shadows.Label, ' 0px 1px 3px 0px rgba(77, 78, 78, 0.15)'), Shadows.Header, ' 0px 6px 10px 0px rgba(146, 166, 188, 0.2)'), Shadows.HeaderPopup, ' 0px 3px 7px 0px rgba(146, 166, 188, 0.16)'), Shadows.FooterPopup, ' 0px -4px 8px 0px rgba(208, 215, 220, 0.22)'), Shadows.LeftPanelMd, ' 6px 8px 12px 0px rgba(146, 166, 188, 0.14)'), Shadows.RightPanelMd, '-6px 8px 12px 0px rgba(146, 166, 188, 0.14)'), _defineProperty(_defineProperty(_shadows, Shadows.LeftPanelSm, '6px -4px 12px 0px rgba(146, 166, 188, 0.14)'), Shadows.RightPanelSm, '-6px -4px 12px 0px rgba(146, 166, 188, 0.14)'));
|
|
5
|
+
export var defaultShadows = shadows;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { defaultShadows, shadows } from './entity';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { ShapeProps } from './shape.props';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|