@foxford/ui 2.16.2-beta-b143443-20231129 → 2.17.0-beta-cee51ed-20231220

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.
Files changed (65) hide show
  1. package/components/Alert/Alert.js +1 -1
  2. package/components/Alert/Alert.js.map +1 -1
  3. package/components/Alert/style.js +1 -1
  4. package/components/Alert/style.js.map +1 -1
  5. package/components/Alert/utils.js.map +1 -1
  6. package/components/Amount/Amount.js.map +1 -1
  7. package/components/Anchor/Anchor.js +1 -1
  8. package/components/Anchor/Anchor.js.map +1 -1
  9. package/components/Anchor/constants.js +2 -0
  10. package/components/Anchor/constants.js.map +1 -0
  11. package/components/Anchor/style.js +1 -1
  12. package/components/Anchor/style.js.map +1 -1
  13. package/components/Arrow/Arrow.js +1 -1
  14. package/components/Arrow/Arrow.js.map +1 -1
  15. package/components/Arrow/style.js +1 -1
  16. package/components/Arrow/style.js.map +1 -1
  17. package/components/ArrowBadge/constants.js.map +1 -1
  18. package/components/Badge/constants.js.map +1 -1
  19. package/components/Button/Button.js +1 -1
  20. package/components/Button/Button.js.map +1 -1
  21. package/components/Button/constants.js.map +1 -1
  22. package/components/Button/style.js +1 -1
  23. package/components/Button/style.js.map +1 -1
  24. package/components/Checkbox/Checkbox.js +1 -1
  25. package/components/Checkbox/Checkbox.js.map +1 -1
  26. package/components/Checkbox/style.js +1 -1
  27. package/components/Checkbox/style.js.map +1 -1
  28. package/components/ContextMenu.Multilevel/ContextMenu.Multilevel.js.map +1 -1
  29. package/components/Icon/Icon.js +1 -1
  30. package/components/Icon/Icon.js.map +1 -1
  31. package/components/Switcher/Switcher.js +1 -1
  32. package/components/Switcher/Switcher.js.map +1 -1
  33. package/components/Switcher/style.js +1 -1
  34. package/components/Switcher/style.js.map +1 -1
  35. package/components/Tab/constants.js.map +1 -1
  36. package/components/Tab/style.js.map +1 -1
  37. package/components/Text/constants.js.map +1 -1
  38. package/components/Text/style.js +1 -1
  39. package/components/Text/style.js.map +1 -1
  40. package/components/Text.Heading/Text.Heading.js +1 -1
  41. package/components/Text.Heading/Text.Heading.js.map +1 -1
  42. package/components/Textarea/Textarea.js +1 -1
  43. package/components/Textarea/Textarea.js.map +1 -1
  44. package/components/Textarea/style.js +1 -1
  45. package/components/Textarea/style.js.map +1 -1
  46. package/dts/index.d.ts +383 -381
  47. package/hocs/withMergedProps.js.map +1 -1
  48. package/hooks/useClassname.js +1 -1
  49. package/hooks/useClassname.js.map +1 -1
  50. package/index.cjs.js +1 -1
  51. package/index.cjs.js.map +1 -1
  52. package/mixins/color.js.map +1 -1
  53. package/mixins/responsive-property.js.map +1 -1
  54. package/mixins/shared.js.map +1 -1
  55. package/mixins/size.js +1 -1
  56. package/mixins/size.js.map +1 -1
  57. package/package.json +1 -1
  58. package/shared/utils/style.js.map +1 -1
  59. package/theme/colors-dark.js.map +1 -1
  60. package/theme/colors-light.js.map +1 -1
  61. package/theme/colors.js.map +1 -1
  62. package/hooks/use-theme.js +0 -2
  63. package/hooks/use-theme.js.map +0 -1
  64. package/shared/utils/inject-theme.js +0 -2
  65. package/shared/utils/inject-theme.js.map +0 -1
package/dts/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import * as react from 'react';
3
- import { Component, CSSProperties, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, PureComponent } from 'react';
3
+ import { CSSProperties, Component, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, PureComponent } from 'react';
4
4
  import * as styled_components from 'styled-components';
5
5
  import { DefaultTheme, FlattenSimpleInterpolation, CSSObject, Interpolation, ThemeProps, SimpleInterpolation, css } from 'styled-components';
6
- import { Link } from 'react-router-dom';
6
+ import { LinkProps, Link } from 'react-router-dom';
7
7
  import { Classes } from 'react-modal';
8
8
  import * as rc_scrollbars_lib_Scrollbars_types from 'rc-scrollbars/lib/Scrollbars/types';
9
9
  import * as rc_scrollbars from 'rc-scrollbars';
@@ -12,161 +12,6 @@ import { Styles, Props } from 'react-floater/lib/types';
12
12
  import { InputState, MaskOptions } from 'react-input-mask';
13
13
  import { ReactSelectProps } from 'react-select';
14
14
 
15
- declare type ColorPropertyVariants = 'color' | 'fontColor' | `${string}Color` | `color${string}`;
16
- declare type ColorCalcProperty = (_color: CSSColor) => FlattenSimpleInterpolation | null;
17
- declare type ColorCssProperty = string | ColorCalcProperty;
18
- declare type ColorProperty<T extends ColorPropertyVariants = 'color'> = {
19
- [key in `${T}`]?: Color;
20
- };
21
- declare const color: (color?: Color | string, cssProperty?: ColorCssProperty) => () => (props: {
22
- theme: DefaultTheme;
23
- }) => FlattenSimpleInterpolation | null;
24
-
25
- /**
26
- * Value for breakpoint
27
- */
28
- declare type PossibleValues = number | Size | 'auto' | 'initial' | 'inherit' | boolean;
29
- declare type PropsProperties = 'size' | 'fontSize' | 'height' | 'width' | 'top' | 'right' | 'bottom' | 'left' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'fluid';
30
- declare type CalcProperty = (_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null;
31
- declare type CssProperty = string | CalcProperty;
32
- declare type ResponsiveKeys = '' | 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
33
- declare type ResponsiveNamedProperty<T extends PropsProperties, V extends PossibleValues = PossibleValues> = {
34
- [key in `${T}${ResponsiveKeys}`]?: V;
35
- };
36
- declare type ResponsiveProperty<V = number | Size> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
37
- declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size, number>) => () => () => FlattenSimpleInterpolation | null;
38
- interface ResponsiveNamedPropertyPayload<T extends PropsProperties> {
39
- sizes: ResponsiveNamedProperty<T>;
40
- cssProperty: CssProperty;
41
- sizing?: null | string;
42
- customSizeHandler?: (_value: PossibleValues) => PossibleValues;
43
- sort?: (_a: string, _b: string) => number;
44
- predefinedSizes?: Record<Size, number>;
45
- }
46
- /**
47
- * Миксин для генерации media запросов
48
- *
49
- * @param obj.sizes Объект, в качестве ключей брэйкпоинт, в качестве значений - величина
50
- * @param obj.cssProperty CSS свойство, может быть функцией, возвращающей css`` из styled-components
51
- * @param obj.sizing значение величины, по умолчанию `px`
52
- * @param obj.customSizeHandler функция для вычисления кастомных значений величин
53
- * @returns строки медиазапросов
54
- */
55
- declare const responsiveNamedProperty: <T extends PropsProperties>({ sizes, predefinedSizes, cssProperty, sizing, customSizeHandler, sort, }: ResponsiveNamedPropertyPayload<T>) => () => () => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>[];
56
- /**
57
- * Миксин для генерации media запросов
58
- *
59
- * @param propName имя пропсы
60
- * @param cssProperty имя css свойства
61
- * @param sizing значение величины, по умолчанию `px`
62
- * @returns строки медиазапросов
63
- */
64
- declare const responsiveProperty: (propName: string, cssProperty?: string | null, sizing?: null | string) => () => (props: any) => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>> | null;
65
-
66
- declare type H = 'h1' | 'h2' | 'h3' | 'h4';
67
- interface TextHeadingProps extends Omit<TextProps, 'content' | 'as'> {
68
- /** Default set of size, lineHeight and weight props */
69
- h?: H;
70
- /** Children react node */
71
- children?: React.ReactNode;
72
- }
73
-
74
- /**
75
- * @visibleName Text.Heading
76
- */
77
- declare const TextHeading: {
78
- (props: TextHeadingProps): JSX.Element;
79
- displayName: string;
80
- };
81
-
82
- interface TextEllipseProps extends Omit<TextProps, 'content'> {
83
- /** Toggle text for folded state */
84
- moreText?: string;
85
- /** Toggle text for unfolded state */
86
- lessText?: string;
87
- /** Classname */
88
- className?: string;
89
- /** Html content */
90
- content: string | string[];
91
- /** Characters quantity for ellipsed text */
92
- chars?: number;
93
- /** Wrap text in quotes */
94
- quoted?: boolean;
95
- /** Flag to show toggler */
96
- showToggler?: boolean;
97
- }
98
- interface TextEllipseState {
99
- isUnFolded: boolean;
100
- isEllipsed: boolean;
101
- }
102
- /**
103
- * Расширен:
104
- * - [`BaseProps`](#/Миксины)
105
- * - [`Color`](#/Миксины)
106
- * - [`Display`](#/Миксины)
107
- * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
108
- */
109
- declare class TextEllipse extends Component<TextEllipseProps, TextEllipseState> {
110
- static displayName: string;
111
- constructor(props: TextEllipseProps);
112
- componentDidUpdate({ content }: TextEllipseProps): void;
113
- getContent: (props: Omit<TextEllipseProps, 'className' | 'moreText' | 'lessText' | 'showToggler'>) => "" | JSX.Element;
114
- getQuted: (content: string) => string;
115
- toggle: () => void;
116
- render(): JSX.Element;
117
- }
118
-
119
- declare type Display = 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'table-cell' | 'inherit' | 'none';
120
- interface DisplayProperty {
121
- display?: Display;
122
- }
123
-
124
- declare type TypographyAppearance = 'display' | 'heading' | 'subheading' | 'subheading-compact' | 'body' | 'caption';
125
- interface TextProps extends ResponsiveSizeProps, ResponsiveMarginProps, DisplayProperty, ColorProperty, BaseProps, Omit<React.ComponentPropsWithRef<'div'>, 'color'> {
126
- /** Root node polymorphic type */
127
- as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
128
- /** Predefined styles and sizes */
129
- appearance?: TypographyAppearance;
130
- /** Font family */
131
- fontFamily?: string;
132
- /** Font weight */
133
- weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number | 'inherit';
134
- /** Font style */
135
- fontStyle?: 'normal' | 'italic';
136
- /** Text transform */
137
- transform?: 'capitalize' | 'uppercase' | 'lowercase';
138
- /** Underline inner <a> */
139
- underlineLinks?: boolean;
140
- /** Text align */
141
- textAlign?: 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
142
- /** Line height */
143
- lineHeight?: 'l' | 'm' | 's' | 'xs' | number;
144
- /** React children */
145
- children?: React.ReactNode;
146
- /** @deprecated Use children */
147
- content?: string;
148
- }
149
-
150
- /**
151
- *
152
- * Component interface extends:
153
- * - [`ResponsiveSizeProps`](#/Interfaces)
154
- * - [`ResponsiveMarginProps`](#/Interfaces)
155
- * - [`BaseProps`](#/Interfaces)
156
- * - [`React.ComponentPropsWithRef<'div'>`](#/Interfaces)
157
- */
158
- declare const Text: React.ForwardRefExoticComponent<TextProps> & {
159
- Heading: typeof TextHeading;
160
- Ellipse: typeof TextEllipse;
161
- };
162
-
163
- declare enum SizeInput {
164
- l = 380,
165
- m = 300,
166
- s = 220,
167
- xs = 140
168
- }
169
-
170
15
  declare enum DefaultColorNames {
171
16
  white = "white",
172
17
  black = "black",
@@ -952,102 +797,262 @@ declare const ColorNames: {
952
797
  kournikovaDim: DefaultColorNames.kournikovaDim;
953
798
  };
954
799
 
800
+ declare type Nullable<T> = T | null | undefined;
955
801
  declare type HEX = `#${string}`;
956
802
  declare type RGB = `rgb(${number}, ${number}, ${number})`;
957
803
  declare type RGBA = `rgba(${number}, ${number}, ${number}, ${number})`;
958
- declare type Nullable<T> = T | null | undefined;
959
- declare type FontWeight = 'normal' | 'bold' | 'lighter' | 'bolder' | number;
960
- declare type ThemePreset = 'default' | 'brand';
961
- declare type ThemeMode = 'light' | 'dark';
962
- declare type ThemeName = 'mother' | 'baby' | 'teen' | 'adult';
804
+ declare type CSSGlobalValue = 'initial' | 'inherit' | 'unset' | 'revert' | 'revert-layer';
805
+ declare type CSSUnit = 'px' | 'rem' | 'em' | '%';
806
+ declare type CSSColor = RGB | RGBA | HEX | CSSGlobalValue | 'currentcolor' | 'transparent';
807
+ declare type CSSBorderStyle = CSSGlobalValue | 'none' | 'hidden' | 'dotted' | 'dashed' | 'solid' | 'double' | 'groove' | 'ridge' | 'inset' | 'outset';
808
+ declare type CSSVerticalAlign = CSSGlobalValue | 'baseline' | 'sub' | 'super' | 'text-top' | 'text-bottom' | 'middle' | 'top' | 'bottom';
809
+ declare type CSSFontWeight = CSSGlobalValue | 'normal' | 'bold' | 'lighter' | 'bolder' | number;
963
810
  declare type Size = 'xxxl' | 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
964
811
  declare type Breakpoint = 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
965
- declare type CSSUnit = 'px' | 'rem' | 'em' | '%';
966
- declare type CSSGlobalValue = 'initial' | 'inherit' | 'unset' | 'revert' | 'revert-layer';
967
812
  declare type SizeValue = Size | CSSGlobalValue | number;
968
- declare type Sizes = Record<Size, CSSProperties>;
813
+ declare type Color = keyof typeof ColorNames | CSSColor;
969
814
  declare type MarginProperty = 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft';
970
815
  declare type ColorPaletteKey = 'color' | `color${string}` | `${string}Color` | `${string}Color${string}`;
971
- declare type CSSColor = RGB | RGBA | HEX | CSSGlobalValue | 'currentcolor' | 'transparent';
972
- declare type Color = keyof typeof ColorNames | CSSColor;
973
- interface BaseProps {
974
- preset?: ThemePreset;
975
- className?: string;
976
- style?: React.CSSProperties;
977
- cursor?: string;
978
- }
979
- interface InputField extends ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
980
- /**
981
- * Is disabled field
982
- */
983
- disabled?: boolean;
984
- /**
985
- * Has error
986
- */
987
- error?: boolean;
988
- /**
989
- * Tab index
990
- */
991
- tabIndex?: number;
992
- /**
993
- * Take on the size of it's container.
994
- */
995
- fluid?: boolean;
996
- /**
997
- * @preset {Default} Rounded style
998
- */
999
- rounded?: boolean;
1000
- /**
1001
- * Placeholder text
1002
- */
1003
- placeholder?: string;
1004
- /**
1005
- * Field name attribute
1006
- */
1007
- name?: string;
1008
- autoComplete?: string | undefined;
1009
- autoFocus?: boolean | undefined;
1010
- readOnly?: boolean | undefined;
1011
- required?: boolean | undefined;
1012
- }
1013
- declare type ResponsiveSizeProps = {
1014
- sizeUnits?: CSSUnit;
1015
- sizes?: Partial<Sizes>;
1016
- size?: SizeValue | [desktop: SizeValue, tablet: SizeValue, mobile: SizeValue] | [xl: SizeValue, l: SizeValue, m: SizeValue, s: SizeValue, xs: SizeValue, xxs: SizeValue];
1017
- } & {
1018
- [key in `size${Breakpoint}`]?: SizeValue;
1019
- };
1020
- declare type ColorPaletteProps<T extends ColorPaletteKey = ColorPaletteKey> = {
1021
- palette?: Partial<Record<T, Color>>;
1022
- };
1023
- declare type DynamicSizeDeclaration = (size: number | CSSGlobalValue, cssProperty: keyof CSSProperties, cssUnit: CSSUnit) => CSSProperties;
1024
- declare type CommonInterpolationProps<T extends ResponsiveSizeProps & ColorPaletteProps> = Omit<T, 'sizes' | 'size' | 'palette'> & {
1025
- dynamicSizeDeclaration?: DynamicSizeDeclaration;
1026
- sizeProperty?: keyof CSSProperties;
1027
- sizes: Sizes;
1028
- size: SizeValue | [desktop: SizeValue, tablet: SizeValue, mobile: SizeValue] | [xl: SizeValue, l: SizeValue, m: SizeValue, s: SizeValue, xs: SizeValue, xxs: SizeValue];
1029
- palette: Partial<Record<ColorPaletteKey, CSSColor>>;
1030
- };
1031
- declare type ResponsiveMarginProps = {
1032
- marginUnits?: CSSUnit;
1033
- } & {
1034
- [key in `${MarginProperty}${Breakpoint | ''}`]?: CSSProperties['margin'];
1035
- };
1036
- declare type ColorSchemaProps = {
1037
- primary?: boolean;
1038
- secondary?: boolean;
1039
- tertiary?: boolean;
1040
- quaternary?: boolean;
1041
- };
1042
- declare type TypographyProps = {
1043
- textProps?: TextProps;
1044
- };
1045
- declare type RenderProps<T> = T & {
1046
- baseTextProps: Partial<TextProps>;
816
+ declare type Sizes = Record<Size, CSSProperties>;
817
+ declare type ThemePreset = 'default' | 'brand';
818
+ declare type ThemeMode = 'light' | 'dark';
819
+ declare type ThemeName = 'mother' | 'baby' | 'teen' | 'adult';
820
+
821
+ declare type ColorPropertyVariants = 'color' | 'fontColor' | `${string}Color` | `color${string}`;
822
+ declare type ColorCalcProperty = (_color: CSSColor) => FlattenSimpleInterpolation | null;
823
+ declare type ColorCssProperty = string | ColorCalcProperty;
824
+ declare type ColorProperty<T extends ColorPropertyVariants = 'color'> = {
825
+ [key in `${T}`]?: Color;
1047
826
  };
827
+ declare const color: (color?: Color | string, cssProperty?: ColorCssProperty) => () => (props: {
828
+ theme: DefaultTheme;
829
+ }) => FlattenSimpleInterpolation | null;
1048
830
 
1049
831
  /**
1050
- * Converts HEX color code to RGB(A) string
832
+ * Value for breakpoint
833
+ */
834
+ declare type PossibleValues = number | Size | 'auto' | 'initial' | 'inherit' | boolean;
835
+ declare type PropsProperties = 'size' | 'fontSize' | 'height' | 'width' | 'top' | 'right' | 'bottom' | 'left' | 'padding' | 'paddingTop' | 'paddingRight' | 'paddingBottom' | 'paddingLeft' | 'margin' | 'marginTop' | 'marginRight' | 'marginBottom' | 'marginLeft' | 'fluid';
836
+ declare type CalcProperty = (_size: number | 'auto' | 'initial' | 'inherit' | boolean, _sizing?: null | string) => FlattenSimpleInterpolation | null;
837
+ declare type CssProperty = string | CalcProperty;
838
+ declare type ResponsiveKeys = '' | 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL';
839
+ declare type ResponsiveNamedProperty<T extends PropsProperties, V extends PossibleValues = PossibleValues> = {
840
+ [key in `${T}${ResponsiveKeys}`]?: V;
841
+ };
842
+ declare type ResponsiveProperty<V = number | Size> = V | [desktop: V, tablet: V, mobile: V] | [xl: V, l: V, m: V, s: V, xs: V, xxs: V];
843
+ declare const property: (value: PossibleValues, cssProperty?: CssProperty, sizing?: null | string, sizes?: Record<Size, number>) => () => () => FlattenSimpleInterpolation | null;
844
+ interface ResponsiveNamedPropertyPayload<T extends PropsProperties> {
845
+ sizes: ResponsiveNamedProperty<T>;
846
+ cssProperty: CssProperty;
847
+ sizing?: null | string;
848
+ customSizeHandler?: (_value: PossibleValues) => PossibleValues;
849
+ sort?: (_a: string, _b: string) => number;
850
+ predefinedSizes?: Record<Size, number>;
851
+ }
852
+ /**
853
+ * Миксин для генерации media запросов
854
+ *
855
+ * @param obj.sizes Объект, в качестве ключей брэйкпоинт, в качестве значений - величина
856
+ * @param obj.cssProperty CSS свойство, может быть функцией, возвращающей css`` из styled-components
857
+ * @param obj.sizing значение величины, по умолчанию `px`
858
+ * @param obj.customSizeHandler функция для вычисления кастомных значений величин
859
+ * @returns строки медиазапросов
860
+ */
861
+ declare const responsiveNamedProperty: <T extends PropsProperties>({ sizes, predefinedSizes, cssProperty, sizing, customSizeHandler, sort, }: ResponsiveNamedPropertyPayload<T>) => () => () => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>>[];
862
+ /**
863
+ * Миксин для генерации media запросов
864
+ *
865
+ * @param propName имя пропсы
866
+ * @param cssProperty имя css свойства
867
+ * @param sizing значение величины, по умолчанию `px`
868
+ * @returns строки медиазапросов
869
+ */
870
+ declare const responsiveProperty: (propName: string, cssProperty?: string | null, sizing?: null | string) => () => (props: any) => styled_components.FlattenInterpolation<styled_components.ThemeProps<styled_components.DefaultTheme>> | null;
871
+
872
+ declare type H = 'h1' | 'h2' | 'h3' | 'h4';
873
+ interface TextHeadingProps extends Omit<TextProps, 'content' | 'as'> {
874
+ /** Default set of size, lineHeight and weight props */
875
+ h?: H;
876
+ /** Children react node */
877
+ children?: React.ReactNode;
878
+ }
879
+
880
+ /**
881
+ * @visibleName Text.Heading
882
+ */
883
+ declare const TextHeading: {
884
+ (props: TextHeadingProps): JSX.Element;
885
+ displayName: string;
886
+ };
887
+
888
+ interface TextEllipseProps extends Omit<TextProps, 'content'> {
889
+ /** Toggle text for folded state */
890
+ moreText?: string;
891
+ /** Toggle text for unfolded state */
892
+ lessText?: string;
893
+ /** Classname */
894
+ className?: string;
895
+ /** Html content */
896
+ content: string | string[];
897
+ /** Characters quantity for ellipsed text */
898
+ chars?: number;
899
+ /** Wrap text in quotes */
900
+ quoted?: boolean;
901
+ /** Flag to show toggler */
902
+ showToggler?: boolean;
903
+ }
904
+ interface TextEllipseState {
905
+ isUnFolded: boolean;
906
+ isEllipsed: boolean;
907
+ }
908
+ /**
909
+ * Расширен:
910
+ * - [`BaseProps`](#/Миксины)
911
+ * - [`Color`](#/Миксины)
912
+ * - [`Display`](#/Миксины)
913
+ * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
914
+ */
915
+ declare class TextEllipse extends Component<TextEllipseProps, TextEllipseState> {
916
+ static displayName: string;
917
+ constructor(props: TextEllipseProps);
918
+ componentDidUpdate({ content }: TextEllipseProps): void;
919
+ getContent: (props: Omit<TextEllipseProps, 'className' | 'moreText' | 'lessText' | 'showToggler'>) => "" | JSX.Element;
920
+ getQuted: (content: string) => string;
921
+ toggle: () => void;
922
+ render(): JSX.Element;
923
+ }
924
+
925
+ declare type Display = 'block' | 'inline' | 'inline-block' | 'flex' | 'inline-flex' | 'table-cell' | 'inherit' | 'none';
926
+ interface DisplayProperty {
927
+ display?: Display;
928
+ }
929
+
930
+ declare type TypographyAppearance = 'display' | 'heading' | 'subheading' | 'subheading-compact' | 'body' | 'caption';
931
+ interface TextProps extends ResponsiveSizeProps, ResponsiveMarginProps, DisplayProperty, ColorProperty, BaseProps, Omit<React.ComponentPropsWithRef<'div'>, 'color'> {
932
+ /** Root node polymorphic type */
933
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
934
+ /** Predefined styles and sizes */
935
+ appearance?: TypographyAppearance;
936
+ /** Font family */
937
+ fontFamily?: string;
938
+ /** Font weight */
939
+ weight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number | 'inherit';
940
+ /** Font style */
941
+ fontStyle?: 'normal' | 'italic';
942
+ /** Text transform */
943
+ transform?: 'capitalize' | 'uppercase' | 'lowercase';
944
+ /** Underline content */
945
+ underline?: CSSBorderStyle | boolean;
946
+ /** Text align */
947
+ textAlign?: 'left' | 'center' | 'right' | 'justify' | 'start' | 'end';
948
+ /** Line height */
949
+ lineHeight?: 'l' | 'm' | 's' | 'xs' | number;
950
+ /** React children */
951
+ children?: React.ReactNode;
952
+ /** @ignore @deprecated Use Anchor interface */
953
+ underlineLinks?: boolean;
954
+ /** @ignore @deprecated Use children */
955
+ content?: string;
956
+ }
957
+
958
+ /**
959
+ *
960
+ * Component interface extends:
961
+ * - [`ResponsiveSizeProps`](#/Interfaces)
962
+ * - [`ResponsiveMarginProps`](#/Interfaces)
963
+ * - [`BaseProps`](#/Interfaces)
964
+ * - [`React.ComponentPropsWithRef<'div'>`](#/Interfaces)
965
+ */
966
+ declare const Text: React.ForwardRefExoticComponent<TextProps> & {
967
+ Heading: typeof TextHeading;
968
+ Ellipse: typeof TextEllipse;
969
+ };
970
+
971
+ declare enum SizeInput {
972
+ l = 380,
973
+ m = 300,
974
+ s = 220,
975
+ xs = 140
976
+ }
977
+
978
+ interface BaseProps {
979
+ preset?: ThemePreset;
980
+ className?: string;
981
+ style?: React.CSSProperties;
982
+ cursor?: string;
983
+ }
984
+ interface InputField extends ColorProperty, ColorProperty<'placeholderColor'>, ResponsiveNamedProperty<'width', 'auto' | keyof typeof SizeInput | number> {
985
+ /**
986
+ * Is disabled field
987
+ */
988
+ disabled?: boolean;
989
+ /**
990
+ * Has error
991
+ */
992
+ error?: boolean;
993
+ /**
994
+ * Tab index
995
+ */
996
+ tabIndex?: number;
997
+ /**
998
+ * Take on the size of it's container.
999
+ */
1000
+ fluid?: boolean;
1001
+ /**
1002
+ * @preset {Default} Rounded style
1003
+ */
1004
+ rounded?: boolean;
1005
+ /**
1006
+ * Placeholder text
1007
+ */
1008
+ placeholder?: string;
1009
+ /**
1010
+ * Field name attribute
1011
+ */
1012
+ name?: string;
1013
+ autoComplete?: string | undefined;
1014
+ autoFocus?: boolean | undefined;
1015
+ readOnly?: boolean | undefined;
1016
+ required?: boolean | undefined;
1017
+ }
1018
+ declare type ResponsiveSizeProps = {
1019
+ sizeUnits?: CSSUnit;
1020
+ sizes?: Partial<Sizes>;
1021
+ size?: SizeValue | [desktop: SizeValue, tablet: SizeValue, mobile: SizeValue] | [xl: SizeValue, l: SizeValue, m: SizeValue, s: SizeValue, xs: SizeValue, xxs: SizeValue];
1022
+ } & {
1023
+ [key in `size${Breakpoint}`]?: SizeValue;
1024
+ };
1025
+ declare type ColorPaletteProps<T extends ColorPaletteKey = ColorPaletteKey> = {
1026
+ palette?: Partial<Record<T, Color>>;
1027
+ };
1028
+ declare type DynamicSizeDeclaration = (size: number | CSSGlobalValue, cssProperty: keyof CSSProperties, cssUnit: CSSUnit) => CSSProperties;
1029
+ declare type CommonInterpolationProps<T extends ResponsiveSizeProps & ColorPaletteProps> = Omit<T, 'sizes' | 'size' | 'palette'> & {
1030
+ dynamicSizeDeclaration?: DynamicSizeDeclaration;
1031
+ sizeProperty?: keyof CSSProperties;
1032
+ sizes: Sizes;
1033
+ size: SizeValue | [desktop: SizeValue, tablet: SizeValue, mobile: SizeValue] | [xl: SizeValue, l: SizeValue, m: SizeValue, s: SizeValue, xs: SizeValue, xxs: SizeValue];
1034
+ palette: Partial<Record<ColorPaletteKey, CSSColor>>;
1035
+ };
1036
+ declare type ResponsiveMarginProps = {
1037
+ marginUnits?: CSSUnit;
1038
+ } & {
1039
+ [key in `${MarginProperty}${Breakpoint | ''}`]?: CSSProperties['margin'];
1040
+ };
1041
+ declare type ColorSchemaProps = {
1042
+ primary?: boolean;
1043
+ secondary?: boolean;
1044
+ tertiary?: boolean;
1045
+ quaternary?: boolean;
1046
+ };
1047
+ declare type TypographyProps = {
1048
+ textProps?: TextProps;
1049
+ };
1050
+ declare type RenderProps<T> = T & {
1051
+ baseTextProps: Partial<TextProps>;
1052
+ };
1053
+
1054
+ /**
1055
+ * Converts HEX color code to RGB(A) string
1051
1056
  *
1052
1057
  * @export
1053
1058
  * @param {string} HEX color with length of either 3 or 6 (can be with or without '#' sign)
@@ -1080,142 +1085,6 @@ declare const teenDarkTheme: DefaultTheme;
1080
1085
  declare const adultLightTheme: DefaultTheme;
1081
1086
  declare const adultDarkTheme: DefaultTheme;
1082
1087
 
1083
- interface AnchorProps extends BaseProps, ColorProperty, ResponsiveNamedProperty<'size'>, DisplayProperty {
1084
- /**
1085
- * Custom CSS class name
1086
- */
1087
- as?: 'div' | 'span' | 'a' | typeof Link;
1088
- /**
1089
- * React router link to
1090
- */
1091
- to?: string;
1092
- /**
1093
- * Link href
1094
- */
1095
- href?: string;
1096
- /**
1097
- * Is display inline
1098
- * */
1099
- wrapper?: boolean;
1100
- /**
1101
- * Pseudo link has dashed bottom border
1102
- * */
1103
- pseudo?: boolean;
1104
- /**
1105
- * If link should be underlined
1106
- * */
1107
- underline?: boolean;
1108
- /**
1109
- * Primary content
1110
- */
1111
- /**
1112
- * Children react node
1113
- */
1114
- children?: React.ReactNode;
1115
- /**
1116
- * Primary content
1117
- */
1118
- content?: string;
1119
- /**
1120
- * Onclick handler
1121
- */
1122
- onClick?: () => void;
1123
- tabIndex?: number;
1124
- target?: string;
1125
- rel?: string;
1126
- /**
1127
- * Auto-generate rel. You must specify domain inside theme
1128
- */
1129
- autoRel?: boolean;
1130
- }
1131
- /**
1132
- * Расширен:
1133
- * - [`BaseProps`](#/Миксины)
1134
- * - [`Color`](#/Миксины)
1135
- * - [`ResponsiveNamedProperty<'size'>`](#/Миксины)
1136
- * - [`Display`](#/Миксины)
1137
- */
1138
- declare function Anchor(props: typeof Anchor.defaultProps & AnchorProps): JSX.Element;
1139
- declare namespace Anchor {
1140
- var displayName: string;
1141
- var defaultProps: {
1142
- display: string;
1143
- };
1144
- }
1145
-
1146
- interface ButtonProps extends BaseProps, ResponsiveSizeProps, DisplayProperty, ColorProperty, ColorProperty<'fontColor'>, ResponsiveNamedProperty<'padding'>, ResponsiveNamedProperty<'paddingTop'>, ResponsiveNamedProperty<'paddingRight'>, ResponsiveNamedProperty<'paddingBottom'>, ResponsiveNamedProperty<'paddingLeft'>, ResponsiveNamedProperty<'margin'>, ResponsiveNamedProperty<'marginTop'>, ResponsiveNamedProperty<'marginRight'>, ResponsiveNamedProperty<'marginBottom'>, ResponsiveNamedProperty<'marginLeft'>, ResponsiveNamedProperty<'fontSize'>, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>, ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
1147
- /** Root node polymorphic type */
1148
- as?: 'div' | 'span' | 'a' | 'button' | typeof Link | typeof Anchor;
1149
- /** Button type attribute */
1150
- type?: 'button' | 'submit' | 'reset';
1151
- /** Button icons */
1152
- icon?: JSX.Element | [Nullable<JSX.Element>, Nullable<JSX.Element>];
1153
- /** Button success state */
1154
- success?: boolean;
1155
- /** Loading state */
1156
- loading?: boolean;
1157
- /** Button disabled */
1158
- disabled?: boolean;
1159
- /** Rounded border radius */
1160
- rounded?: boolean;
1161
- /** Rounded shape button */
1162
- round?: boolean;
1163
- /** Anchor target attribute */
1164
- target?: string;
1165
- /** Anchor rel attribute */
1166
- rel?: string;
1167
- /** Auto-generate rel. You must specify domain inside theme */
1168
- autoRel?: boolean;
1169
- /** Anchor href attribute */
1170
- href?: string;
1171
- /** React router Link to prop */
1172
- to?: string;
1173
- /**
1174
- * Indicates if there should not be any margin
1175
- * between this button and the previous one
1176
- */
1177
- noSpacing?: boolean;
1178
- /** Outline appearance */
1179
- outline?: boolean;
1180
- /** Content font weight */
1181
- fontWeight?: FontWeight;
1182
- /** Associated form */
1183
- form?: string;
1184
- /** @preset {Default} Primary appearance */
1185
- primary?: boolean;
1186
- /** @preset {Default} Secondary appearance */
1187
- secondary?: boolean;
1188
- /** @preset {Default} Inverted colors */
1189
- inverted?: boolean;
1190
- /** @preset {Brand} Base appearance */
1191
- base?: boolean;
1192
- /** @preset {Brand} Clear appearance */
1193
- clear?: boolean;
1194
- /** @preset {Brand} Black colors appearance */
1195
- black?: boolean;
1196
- /** @preset {Brand} Red colors appearance */
1197
- danger?: boolean;
1198
- /** @preset {Brand} Modifies appearance on colored background */
1199
- onColored?: boolean;
1200
- /** @deprecated Use outline */
1201
- basic?: boolean;
1202
- /** @deprecated Use children */
1203
- content?: React.ReactNode;
1204
- /** @deprecated Use ref */
1205
- innerRef?: any;
1206
- /** Component's children */
1207
- children?: React.ReactNode | React.ReactNode[];
1208
- onClick?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1209
- onClickCapture?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1210
- onMouseEnter?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1211
- onMouseLeave?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1212
- }
1213
-
1214
- /**
1215
- * Main button
1216
- */
1217
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLElement>>;
1218
-
1219
1088
  interface VAlign {
1220
1089
  vAlign?: 'top' | 'middle' | 'bottom' | 'text-top' | 'text-bottom' | 'baseline';
1221
1090
  }
@@ -1323,6 +1192,8 @@ interface IconProps extends BaseProps, ColorProperty, VAlign, ResponsiveNamedPro
1323
1192
  * Show pointer cursor on hover?
1324
1193
  */
1325
1194
  pointer?: boolean;
1195
+ /** Root node polymorphic type */
1196
+ as?: React.ElementType<any>;
1326
1197
  }
1327
1198
  /**
1328
1199
  * Расширен:
@@ -1337,6 +1208,136 @@ declare namespace Icon {
1337
1208
  var displayName: string;
1338
1209
  }
1339
1210
 
1211
+ declare type AnchorPalette = {
1212
+ color: CSSColor;
1213
+ colorHover: CSSColor;
1214
+ colorDisabled: CSSColor;
1215
+ };
1216
+ interface AnchorProps extends ResponsiveSizeProps, ResponsiveMarginProps, TypographyProps, ColorPaletteProps<keyof AnchorPalette>, BaseProps, Omit<React.ComponentPropsWithRef<'a'>, 'color' | 'children'>,
1217
+ /** @deprecated Use palette */
1218
+ ColorProperty<'color'>,
1219
+ /** @deprecated Use children as function */
1220
+ DisplayProperty {
1221
+ /** React children */
1222
+ children?: React.ReactNode | ((props: RenderProps<TypographyProps & {
1223
+ iconBaseProps: Partial<IconProps>;
1224
+ iconProps: AnchorProps['iconProps'];
1225
+ icon: AnchorProps['icon'];
1226
+ }>) => React.ReactNode);
1227
+ /** Underline text content */
1228
+ underline?: CSSBorderStyle | boolean;
1229
+ /** Icons before and after content */
1230
+ icon?: JSX.Element | [Nullable<JSX.Element>, Nullable<JSX.Element>];
1231
+ /** Props for icon components */
1232
+ iconProps?: IconProps;
1233
+ /** Build rel attribute with relBuilder from context */
1234
+ autoRel?: boolean;
1235
+ /** Link from react-router-dom will be used.
1236
+ * Look up [docs](https://v5.reactrouter.com/web/api/Link) */
1237
+ to?: Pick<LinkProps, 'to'>;
1238
+ /** Look up react-router-dom [docs](https://v5.reactrouter.com/web/api/Link) */
1239
+ replace?: Pick<LinkProps, 'replace'>;
1240
+ /** Anchor disabled */
1241
+ disabled?: boolean;
1242
+ /** Appearance variant */
1243
+ onColored?: boolean;
1244
+ /** Vertical alignment */
1245
+ verticalAlign?: CSSVerticalAlign | boolean;
1246
+ /** @ignore @deprecated Use anchor or Link interface */
1247
+ as?: React.ElementType<any>;
1248
+ /** @ignore @deprecated Use children */
1249
+ content?: string;
1250
+ /** @ignore @deprecated Use underline */
1251
+ pseudo?: boolean;
1252
+ /** @ignore @deprecated */
1253
+ wrapper?: boolean;
1254
+ }
1255
+
1256
+ /**
1257
+ *
1258
+ * Component interface extends:
1259
+ * - [`ResponsiveSizeProps`](#/Interfaces)
1260
+ * - [`ResponsiveMarginProps`](#/Interfaces)
1261
+ * - [`ColorPaletteProps<keyof AnchorPalette>`](#/Interfaces)
1262
+ * - [`TypographyProps`](#/Interfaces)
1263
+ * - [`BaseProps`](#/Interfaces)
1264
+ * - [`React.ComponentPropsWithRef<'a'>`](#/Interfaces)
1265
+ */
1266
+ declare const Anchor: React.ForwardRefExoticComponent<AnchorProps>;
1267
+
1268
+ interface ButtonProps extends BaseProps, ResponsiveSizeProps, DisplayProperty, ColorProperty, ColorProperty<'fontColor'>, ResponsiveNamedProperty<'padding'>, ResponsiveNamedProperty<'paddingTop'>, ResponsiveNamedProperty<'paddingRight'>, ResponsiveNamedProperty<'paddingBottom'>, ResponsiveNamedProperty<'paddingLeft'>, ResponsiveNamedProperty<'margin'>, ResponsiveNamedProperty<'marginTop'>, ResponsiveNamedProperty<'marginRight'>, ResponsiveNamedProperty<'marginBottom'>, ResponsiveNamedProperty<'marginLeft'>, ResponsiveNamedProperty<'fontSize'>, ResponsiveNamedProperty<'fluid', boolean>, ResponsiveNamedProperty<'width', 'auto' | 'l' | 'm' | 's' | 'xs' | number>, ResponsiveNamedProperty<'height', 'l' | 'm' | 's' | 'xs' | number> {
1269
+ /** Root node polymorphic type */
1270
+ as?: 'div' | 'span' | 'a' | 'button' | typeof Link | typeof Anchor;
1271
+ /** Button type attribute */
1272
+ type?: 'button' | 'submit' | 'reset';
1273
+ /** Button icons */
1274
+ icon?: JSX.Element | [Nullable<JSX.Element>, Nullable<JSX.Element>];
1275
+ /** Button success state */
1276
+ success?: boolean;
1277
+ /** Loading state */
1278
+ loading?: boolean;
1279
+ /** Button disabled */
1280
+ disabled?: boolean;
1281
+ /** Rounded border radius */
1282
+ rounded?: boolean;
1283
+ /** Rounded shape button */
1284
+ round?: boolean;
1285
+ /** Anchor target attribute */
1286
+ target?: string;
1287
+ /** Anchor rel attribute */
1288
+ rel?: string;
1289
+ /** Auto-generate rel. You must specify domain inside theme */
1290
+ autoRel?: boolean;
1291
+ /** Anchor href attribute */
1292
+ href?: string;
1293
+ /** React router Link to prop */
1294
+ to?: string;
1295
+ /**
1296
+ * Indicates if there should not be any margin
1297
+ * between this button and the previous one
1298
+ */
1299
+ noSpacing?: boolean;
1300
+ /** Outline appearance */
1301
+ outline?: boolean;
1302
+ /** Content font weight */
1303
+ fontWeight?: CSSFontWeight;
1304
+ /** Associated form */
1305
+ form?: string;
1306
+ /** @preset {Default} Primary appearance */
1307
+ primary?: boolean;
1308
+ /** @preset {Default} Secondary appearance */
1309
+ secondary?: boolean;
1310
+ /** @preset {Default} Inverted colors */
1311
+ inverted?: boolean;
1312
+ /** @preset {Brand} Base appearance */
1313
+ base?: boolean;
1314
+ /** @preset {Brand} Clear appearance */
1315
+ clear?: boolean;
1316
+ /** @preset {Brand} Black colors appearance */
1317
+ black?: boolean;
1318
+ /** @preset {Brand} Red colors appearance */
1319
+ danger?: boolean;
1320
+ /** @preset {Brand} Modifies appearance on colored background */
1321
+ onColored?: boolean;
1322
+ /** @deprecated Use outline */
1323
+ basic?: boolean;
1324
+ /** @deprecated Use children */
1325
+ content?: React.ReactNode;
1326
+ /** @deprecated Use ref */
1327
+ innerRef?: any;
1328
+ /** Component's children */
1329
+ children?: React.ReactNode | React.ReactNode[];
1330
+ onClick?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1331
+ onClickCapture?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1332
+ onMouseEnter?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1333
+ onMouseLeave?: (evt: React.SyntheticEvent<HTMLElement>) => void;
1334
+ }
1335
+
1336
+ /**
1337
+ * Main button
1338
+ */
1339
+ declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLElement>>;
1340
+
1340
1341
  declare type AlertType = 'warning' | 'error' | 'info' | 'success';
1341
1342
  declare type AlertSize = 'l' | 's';
1342
1343
  interface AlertProps extends BaseProps {
@@ -1387,7 +1388,7 @@ interface AlertProps extends BaseProps {
1387
1388
  title?: string;
1388
1389
  titleProps?: TextProps;
1389
1390
  type?: AlertType;
1390
- width?: ResponsiveProperty;
1391
+ width?: ResponsiveProperty<string | number>;
1391
1392
  }
1392
1393
 
1393
1394
  declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
@@ -1671,6 +1672,7 @@ interface Theme {
1671
1672
  Switcher?: SwitcherProps;
1672
1673
  Tab?: TabProps;
1673
1674
  Badge?: BadgeProps;
1675
+ Anchor?: AnchorProps;
1674
1676
  };
1675
1677
  }
1676
1678
 
@@ -1896,7 +1898,7 @@ declare enum CurrencyCodes {
1896
1898
  }
1897
1899
  declare const CURRENCY_MAP: Readonly<Record<CurrencyCodes, string>>;
1898
1900
 
1899
- interface AmountProps extends ResponsiveSizeProps, BaseProps, ColorProperty, DisplayProperty {
1901
+ interface AmountProps extends TextProps {
1900
1902
  /**
1901
1903
  * Value for amount
1902
1904
  */
@@ -3303,4 +3305,4 @@ declare namespace Select {
3303
3305
  var displayName: string;
3304
3306
  }
3305
3307
 
3306
- export { ActionBtn, Alert, Amount, Anchor, Arrow, ArrowBadge, Avatar, Badge, BaseProps, Breakpoint, Button, COUNTRY_DATA, CSSColor, CSSGlobalValue, CSSUnit, CURRENCY_MAP, Checkbox, Color, ColorNames, ColorPaletteKey, ColorPaletteProps, ColorSchemaProps, CommonInterpolationProps, Container, ContextMenu, CurrencyCodes, DEFAULT_MASK, DynamicSizeDeclaration, FontWeight, HEX, INITIAL_MASK, Icon, Input, InputField, MarginProperty, Modal, Nullable, Paper, Progress, RGB, RGBA, Radio, RenderProps, ResponsiveMarginProps, ResponsiveSizeProps, withThemeScrollable as Scrollable, Section, Select, Separator, Size, SizeValue, Sizes, Spacer, Spinner, Switcher, Tab, Tabs, Tag, Text, Textarea, Theme, ThemeMode, ThemeName, ThemePreset, ThemeProvider, Tooltip, TypographyProps, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, defaultIcons, desktopFirst, hexToRgbA, isHex, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, vAlign };
3308
+ export { ActionBtn, Alert, Amount, Anchor, Arrow, ArrowBadge, Avatar, Badge, BaseProps, Breakpoint, Button, COUNTRY_DATA, CSSBorderStyle, CSSColor, CSSFontWeight, CSSGlobalValue, CSSUnit, CSSVerticalAlign, CURRENCY_MAP, Checkbox, Color, ColorNames, ColorPaletteKey, ColorPaletteProps, ColorSchemaProps, CommonInterpolationProps, Container, ContextMenu, CurrencyCodes, DEFAULT_MASK, DynamicSizeDeclaration, HEX, INITIAL_MASK, Icon, Input, InputField, MarginProperty, Modal, Nullable, Paper, Progress, RGB, RGBA, Radio, RenderProps, ResponsiveMarginProps, ResponsiveSizeProps, withThemeScrollable as Scrollable, Section, Select, Separator, Size, SizeValue, Sizes, Spacer, Spinner, Switcher, Tab, Tabs, Tag, Text, Textarea, Theme, ThemeMode, ThemeName, ThemePreset, ThemeProvider, Tooltip, TypographyProps, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, defaultIcons, desktopFirst, hexToRgbA, isHex, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, vAlign };