@true-engineering/true-react-common-ui-kit 1.0.2 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AccountInfo/AccountInfo.d.ts +4 -4
- package/dist/components/AccountInfo/AccountInfo.styles.d.ts +60 -56
- package/dist/components/AddButton/AddButton.d.ts +6 -6
- package/dist/components/AddButton/AddButton.styles.d.ts +23 -23
- package/dist/components/Button/Button.d.ts +19 -33
- package/dist/components/Button/Button.styles.d.ts +144 -144
- package/dist/components/Checkbox/Checkbox.d.ts +16 -27
- package/dist/components/Checkbox/Checkbox.styles.d.ts +39 -42
- package/dist/components/CloseButton/CloseButton.d.ts +4 -4
- package/dist/components/CloseButton/CloseButton.styles.d.ts +22 -22
- package/dist/components/Colors/Colors.styles.d.ts +28 -28
- package/dist/components/CssBaseline/CssBaseline.d.ts +1 -1
- package/dist/components/CssBaseline/CssBaseline.styles.d.ts +7 -7
- package/dist/components/DateInput/DateInput.d.ts +8 -9
- package/dist/components/DateInput/DateInput.styles.d.ts +7 -7
- package/dist/components/DatePicker/DatePicker.d.ts +29 -36
- package/dist/components/DatePicker/DatePicker.styles.d.ts +38 -34
- package/dist/components/DatePicker/DatePickerHeader/DatePickerHeader.d.ts +9 -9
- package/dist/components/DatePicker/DatePickerHeader/DatePickerHeader.styles.d.ts +59 -59
- package/dist/components/DatePicker/DatePickerInput/DatePickerInput.d.ts +7 -9
- package/dist/components/DatePicker/DatePickerInput/DatePickerInput.styles.d.ts +16 -16
- package/dist/components/Description/Description.d.ts +6 -6
- package/dist/components/Description/Description.styles.d.ts +18 -18
- package/dist/components/FiltersPane/FilterInterval/FilterInterval.d.ts +19 -19
- package/dist/components/FiltersPane/FilterInterval/FilterInterval.styles.d.ts +44 -44
- package/dist/components/FiltersPane/FilterMultiSelect/FilterMultiSelect.d.ts +2 -8
- package/dist/components/FiltersPane/FilterSelect/FilterSelect.d.ts +17 -35
- package/dist/components/FiltersPane/FilterSelect/FilterSelect.styles.d.ts +111 -111
- package/dist/components/FiltersPane/FilterSelect/locales.d.ts +6 -10
- package/dist/components/FiltersPane/FilterValueView/FilterValueView.d.ts +1 -9
- package/dist/components/FiltersPane/FilterValueView/FilterValueView.styles.d.ts +8 -8
- package/dist/components/FiltersPane/FilterWithDates/FilterWithDates.d.ts +13 -21
- package/dist/components/FiltersPane/FilterWithDates/FilterWithDates.styles.d.ts +41 -41
- package/dist/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.d.ts +8 -8
- package/dist/components/FiltersPane/FilterWithPeriod/FilterWithPeriod.styles.d.ts +7 -7
- package/dist/components/FiltersPane/FilterWrapper/FilterWrapper.d.ts +18 -41
- package/dist/components/FiltersPane/FilterWrapper/FilterWrapper.styles.d.ts +92 -92
- package/dist/components/FiltersPane/FiltersPane.d.ts +15 -34
- package/dist/components/FiltersPane/FiltersPane.styles.d.ts +50 -50
- package/dist/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.d.ts +18 -37
- package/dist/components/FiltersPane/FiltersPaneSearch/FiltersPaneSearch.styles.d.ts +82 -82
- package/dist/components/FiltersPane/locales.d.ts +22 -28
- package/dist/components/FiltersPane/types.d.ts +38 -65
- package/dist/components/Flag/Flag.d.ts +2 -2
- package/dist/components/Flag/Flag.styles.d.ts +8 -8
- package/dist/components/FlexibleTable/FlexibleTable.d.ts +20 -45
- package/dist/components/FlexibleTable/FlexibleTable.styles.d.ts +93 -93
- package/dist/components/FlexibleTable/TableRow.d.ts +21 -38
- package/dist/components/FlexibleTable/TableValue.d.ts +16 -28
- package/dist/components/FlexibleTable/types.d.ts +31 -37
- package/dist/components/Icon/ComplexIconBoilerplate.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +2 -2
- package/dist/components/Icon/Icon.styles.d.ts +4 -4
- package/dist/components/Icon/IconBoilerplate.d.ts +1 -1
- package/dist/components/Icon/complexIcons/icons.d.ts +1 -1
- package/dist/components/Icon/icons/icons.d.ts +5 -97
- package/dist/components/IncrementInput/ChangeButton.d.ts +5 -5
- package/dist/components/IncrementInput/IncrementInput.d.ts +3 -4
- package/dist/components/IncrementInput/IncrementInput.styles.d.ts +52 -52
- package/dist/components/Input/Input.d.ts +37 -48
- package/dist/components/Input/Input.styles.d.ts +242 -242
- package/dist/components/List/List.d.ts +12 -12
- package/dist/components/List/List.styles.d.ts +35 -35
- package/dist/components/Modal/Modal.d.ts +19 -19
- package/dist/components/Modal/Modal.styles.d.ts +235 -235
- package/dist/components/MoreMenu/MoreMenu.d.ts +7 -7
- package/dist/components/MoreMenu/MoreMenu.styles.d.ts +45 -45
- package/dist/components/MultiSelect/MultiSelect.d.ts +13 -28
- package/dist/components/MultiSelect/MultiSelect.styles.d.ts +38 -38
- package/dist/components/MultiSelect/MultiSelectInput/MultiSelectInput.d.ts +6 -12
- package/dist/components/MultiSelect/MultiSelectInput/MultiSelectInput.styles.d.ts +58 -58
- package/dist/components/MultiSelectList/MultiSelectList.d.ts +20 -43
- package/dist/components/MultiSelectList/MultiSelectList.styles.d.ts +90 -90
- package/dist/components/MultiSelectList/locales.d.ts +6 -10
- package/dist/components/Notification/Notification.d.ts +9 -14
- package/dist/components/Notification/Notification.styles.d.ts +30 -33
- package/dist/components/NumberInput/NumberInput.d.ts +10 -16
- package/dist/components/NumberInput/helpers.d.ts +2 -10
- package/dist/components/PhoneInput/PhoneInput.d.ts +7 -14
- package/dist/components/PhoneInput/PhoneInput.styles.d.ts +60 -60
- package/dist/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.d.ts +7 -7
- package/dist/components/PhoneInput/PhoneInputCountryList/PhoneInputCountryList.styles.d.ts +74 -78
- package/dist/components/PhoneInput/types.d.ts +11 -11
- package/dist/components/RadioButton/RadioButton.d.ts +8 -18
- package/dist/components/RadioButton/RadioButton.styles.d.ts +25 -25
- package/dist/components/ScrollIntoViewIfNeeded/ScrollIntoViewIfNeeded.d.ts +374 -634
- package/dist/components/SearchInput/SearchInput.d.ts +2 -12
- package/dist/components/SearchInput/SearchInput.styles.d.ts +32 -32
- package/dist/components/Select/Select.d.ts +22 -50
- package/dist/components/Select/Select.styles.d.ts +53 -53
- package/dist/components/Select/SelectList/SelectList.d.ts +15 -30
- package/dist/components/Select/SelectList/SelectList.styles.d.ts +35 -37
- package/dist/components/Select/helpers.d.ts +2 -9
- package/dist/components/SmartInput/SmartInput.d.ts +16 -28
- package/dist/components/SmartInput/helpers.d.ts +4 -8
- package/dist/components/Switch/Switch.d.ts +13 -26
- package/dist/components/Switch/Switch.styles.d.ts +58 -58
- package/dist/components/TextArea/TextArea.d.ts +23 -26
- package/dist/components/TextArea/TextArea.styles.d.ts +124 -124
- package/dist/components/TextWithInfo/TextWithInfo.d.ts +9 -9
- package/dist/components/TextWithInfo/TextWithInfo.styles.d.ts +40 -40
- package/dist/components/TextWithTooltip/TextWithTooltip.d.ts +12 -12
- package/dist/components/TextWithTooltip/TextWithTooltip.styles.d.ts +10 -10
- package/dist/components/ThemedPreloader/ThemedPreloader.d.ts +4 -4
- package/dist/components/ThemedPreloader/ThemedPreloader.styles.d.ts +10 -10
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.d.ts +1 -1
- package/dist/components/ThemedPreloader/components/DotsPreloader/DotsPreloader.styles.d.ts +35 -35
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.d.ts +2 -2
- package/dist/components/ThemedPreloader/components/SvgPreloader/SvgPreloader.styles.d.ts +5 -5
- package/dist/components/Toaster/Toaster.d.ts +11 -16
- package/dist/components/Toaster/Toaster.styles.d.ts +41 -41
- package/dist/components/Tooltip/Tooltip.d.ts +4 -4
- package/dist/components/Tooltip/Tooltip.styles.d.ts +27 -25
- package/dist/helpers/data-attributes.d.ts +4 -11
- package/dist/helpers/phone.d.ts +8 -28
- package/dist/helpers/utils.d.ts +7 -28
- package/dist/hooks/use-did-mount-effect.d.ts +1 -4
- package/dist/hooks/use-dropdown.d.ts +7 -14
- package/dist/hooks/use-is-mounted.d.ts +1 -1
- package/dist/hooks/use-on-click-outside.d.ts +4 -25
- package/dist/hooks/use-theme.d.ts +5 -10
- package/dist/hooks/use-tweak-styles.d.ts +1 -5
- package/dist/style.css +90 -205
- package/dist/theme.d.ts +55 -51
- package/dist/true-react-common-ui-kit.js +16713 -24318
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +18 -16
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/dist/types.d.ts +23 -77
- package/package.json +1 -1
- package/src/components/Select/Select.tsx +21 -13
- package/src/components/Select/SelectList/SelectList.tsx +8 -6
- package/src/components/Select/helpers.ts +9 -6
- package/src/components/SmartInput/SmartInput.tsx +130 -127
|
@@ -2,31 +2,28 @@ import React, { FC } from 'react';
|
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
3
|
import { TextAreaStyles } from './TextArea.styles';
|
|
4
4
|
export interface ITextAreaProps extends ICommonProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
maxLength?: number;
|
|
29
|
-
rows?: number;
|
|
30
|
-
testId?: string;
|
|
5
|
+
tweakStyles?: TextAreaStyles;
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange: (value: string, event?: React.FormEvent<HTMLTextAreaElement>) => void;
|
|
8
|
+
onFocus?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
9
|
+
onBlur?: (event: React.FocusEvent<HTMLTextAreaElement>) => void;
|
|
10
|
+
onPaste?: (event: React.ClipboardEvent<HTMLTextAreaElement>) => void;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
hasFloatingLabel?: boolean;
|
|
15
|
+
isInvalid?: boolean;
|
|
16
|
+
isActive?: boolean;
|
|
17
|
+
infoMessage?: string;
|
|
18
|
+
errorMessage?: string;
|
|
19
|
+
isRequired?: boolean;
|
|
20
|
+
name?: string;
|
|
21
|
+
hasRequiredLabel?: boolean;
|
|
22
|
+
shouldFocusOnMount?: boolean;
|
|
23
|
+
hasCounter?: boolean;
|
|
24
|
+
shouldTrimAfterMaxLength?: boolean;
|
|
25
|
+
maxLength?: number;
|
|
26
|
+
rows?: number;
|
|
27
|
+
testId?: string;
|
|
31
28
|
}
|
|
32
29
|
export declare const TextArea: FC<ITextAreaProps>;
|
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
3
|
+
root: {
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
display: string;
|
|
7
|
+
flexDirection: string;
|
|
8
|
+
};
|
|
9
|
+
wrapper: {
|
|
10
|
+
display: string;
|
|
11
|
+
position: string;
|
|
12
|
+
width: string;
|
|
13
|
+
flexGrow: number;
|
|
14
|
+
boxSizing: string;
|
|
15
|
+
transition: string;
|
|
16
|
+
transitionProperty: string;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
border: (string | number)[];
|
|
19
|
+
};
|
|
20
|
+
textarea: {
|
|
21
|
+
width: string;
|
|
22
|
+
height: string;
|
|
23
|
+
outline: string;
|
|
24
|
+
boxSizing: string;
|
|
25
|
+
outlineStyle: string;
|
|
26
|
+
fontFamily: string;
|
|
27
|
+
fontSize: number;
|
|
28
|
+
padding: number[];
|
|
29
|
+
transition: string;
|
|
30
|
+
transitionProperty: string;
|
|
31
|
+
border: string;
|
|
32
|
+
resize: string;
|
|
33
|
+
overflow: string;
|
|
34
|
+
'&::placeholder': {
|
|
35
|
+
opacity: number;
|
|
36
|
+
};
|
|
37
|
+
MozAppearance: string;
|
|
38
|
+
'&::-webkit-inner-spin-button,&::-webkit-outer-spin-button': {
|
|
39
|
+
WebkitAppearance: string;
|
|
40
|
+
margin: number;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
focused: {
|
|
44
|
+
position: string;
|
|
45
|
+
zIndex: number;
|
|
46
|
+
};
|
|
47
|
+
withFloatingLabel: {
|
|
48
|
+
paddingTop: number;
|
|
49
|
+
};
|
|
50
|
+
floating: {};
|
|
51
|
+
activeLabel: {
|
|
52
|
+
display: string;
|
|
53
|
+
'&$floating': {
|
|
54
|
+
display: string;
|
|
55
|
+
transform: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
required: {
|
|
59
|
+
'&:before': {
|
|
60
|
+
content: string;
|
|
61
|
+
position: string;
|
|
62
|
+
left: number;
|
|
63
|
+
top: number;
|
|
64
|
+
width: number;
|
|
65
|
+
height: number;
|
|
66
|
+
borderRadius: string;
|
|
67
|
+
backgroundColor: string;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
disabled: {};
|
|
71
|
+
label: {
|
|
72
|
+
position: string;
|
|
73
|
+
pointerEvents: string;
|
|
74
|
+
left: number;
|
|
75
|
+
top: number;
|
|
76
|
+
transformOrigin: string;
|
|
77
|
+
transform: string;
|
|
78
|
+
transition: string;
|
|
79
|
+
transitionProperty: string;
|
|
80
|
+
fontSize: number;
|
|
81
|
+
};
|
|
82
|
+
invalid: {
|
|
83
|
+
borderColor: string;
|
|
84
|
+
};
|
|
85
|
+
invalidLabel: {
|
|
86
|
+
color: string;
|
|
87
|
+
};
|
|
88
|
+
error: {
|
|
89
|
+
fontSize: number;
|
|
90
|
+
paddingTop: number;
|
|
91
|
+
paddingLeft: number;
|
|
92
|
+
color: string;
|
|
93
|
+
};
|
|
94
|
+
requiredLabel: {
|
|
95
|
+
'&:after': {
|
|
96
|
+
content: string;
|
|
97
|
+
position: string;
|
|
98
|
+
right: number;
|
|
99
|
+
top: number;
|
|
100
|
+
transform: string;
|
|
101
|
+
width: number;
|
|
102
|
+
height: number;
|
|
103
|
+
borderRadius: string;
|
|
104
|
+
backgroundColor: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
symbolsCount: {
|
|
108
|
+
display: string;
|
|
109
|
+
textAlign: string;
|
|
110
|
+
marginTop: number;
|
|
111
|
+
fontSize: number;
|
|
112
|
+
marginLeft: string;
|
|
113
|
+
paddingLeft: number;
|
|
114
|
+
whiteSpace: string;
|
|
115
|
+
};
|
|
116
|
+
symbolsCountError: {
|
|
117
|
+
color: string;
|
|
118
|
+
};
|
|
119
|
+
footer: {
|
|
120
|
+
display: string;
|
|
121
|
+
};
|
|
122
|
+
info: {
|
|
123
|
+
fontSize: number;
|
|
124
|
+
paddingTop: number;
|
|
125
|
+
paddingLeft: number;
|
|
126
|
+
};
|
|
127
127
|
};
|
|
128
128
|
export declare type TextAreaStyles = ComponentStyles<typeof styles>;
|
|
@@ -2,14 +2,14 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
3
|
import { TextWithInfoStyles } from './TextWithInfo.styles';
|
|
4
4
|
export interface ITextWithInfoProps extends ICommonProps {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
tweakStyles?: TextWithInfoStyles;
|
|
6
|
+
text: string;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
textTooltip?: string;
|
|
9
|
+
info?: {
|
|
10
|
+
infoTooltip?: string;
|
|
11
|
+
link?: string;
|
|
12
|
+
};
|
|
13
|
+
onClick(): void;
|
|
14
14
|
}
|
|
15
15
|
export declare const TextWithInfo: FC<ITextWithInfoProps>;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
height: number;
|
|
6
|
+
padding: number[];
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
boxSizing: string;
|
|
9
|
+
color: "#505f79";
|
|
10
|
+
'&:hover': {
|
|
11
|
+
backgroundColor: "#eceff5";
|
|
12
|
+
};
|
|
12
13
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
alignItems: string;
|
|
18
|
-
};
|
|
19
|
-
selected: {
|
|
20
|
-
backgroundColor: '#eceff5';
|
|
21
|
-
};
|
|
22
|
-
text: {
|
|
23
|
-
cursor: string;
|
|
24
|
-
fontSize: number;
|
|
25
|
-
};
|
|
26
|
-
info: {
|
|
27
|
-
width: number;
|
|
28
|
-
marginLeft: number;
|
|
29
|
-
color: '#95a0b3';
|
|
30
|
-
cursor: string;
|
|
31
|
-
borderRadius: string;
|
|
32
|
-
'&:link': {
|
|
33
|
-
color: '#95a0b3';
|
|
14
|
+
container: {
|
|
15
|
+
display: string;
|
|
16
|
+
height: string;
|
|
17
|
+
alignItems: string;
|
|
34
18
|
};
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
backgroundColor: '#95a0b3';
|
|
19
|
+
selected: {
|
|
20
|
+
backgroundColor: "#eceff5";
|
|
38
21
|
};
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
22
|
+
text: {
|
|
23
|
+
cursor: string;
|
|
24
|
+
fontSize: number;
|
|
25
|
+
};
|
|
26
|
+
info: {
|
|
27
|
+
width: number;
|
|
28
|
+
marginLeft: number;
|
|
29
|
+
color: "#95a0b3";
|
|
30
|
+
cursor: string;
|
|
31
|
+
borderRadius: string;
|
|
32
|
+
'&:link': {
|
|
33
|
+
color: "#95a0b3";
|
|
34
|
+
};
|
|
35
|
+
'&:hover': {
|
|
36
|
+
color: "#ffffff";
|
|
37
|
+
backgroundColor: "#95a0b3";
|
|
38
|
+
};
|
|
39
|
+
'&:visited': {
|
|
40
|
+
color: "#95a0b3";
|
|
41
|
+
'&:hover': {
|
|
42
|
+
color: "#ffffff";
|
|
43
|
+
backgroundColor: "#95a0b3";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
45
46
|
};
|
|
46
|
-
};
|
|
47
47
|
};
|
|
48
48
|
export declare type TextWithInfoStyles = ComponentStyles<typeof styles>;
|
|
@@ -4,17 +4,17 @@ import { ITooltipProps } from '../Tooltip';
|
|
|
4
4
|
import { ICommonProps } from '../../types';
|
|
5
5
|
import { TextWithTooltipStyles } from './TextWithTooltip.styles';
|
|
6
6
|
export interface ITextWithTooltipProps extends ICommonProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
tweakStyles?: TextWithTooltipStyles;
|
|
8
|
+
children: string | React.ReactNode;
|
|
9
|
+
tooltipText: ITooltipProps['text'];
|
|
10
|
+
tooltipView?: ITooltipProps['view'];
|
|
11
|
+
tooltipType?: ITooltipProps['type'];
|
|
12
|
+
tooltipPosition?: Placement;
|
|
13
|
+
tooltipModifiers?: Array<Partial<Modifier<any, any>>>;
|
|
14
|
+
tooltipOffsetOptions?: Record<string, unknown>;
|
|
15
|
+
mouseEventType?: 'hover' | 'click';
|
|
16
|
+
hoverDelay?: number;
|
|
17
|
+
isDisabled?: boolean;
|
|
18
|
+
shouldRenderInBody?: boolean;
|
|
19
19
|
}
|
|
20
20
|
export declare const TextWithTooltip: FC<ITextWithTooltipProps>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
root: {
|
|
4
|
+
position: string;
|
|
5
|
+
};
|
|
6
|
+
tooltip: {
|
|
7
|
+
zIndex: number;
|
|
8
|
+
};
|
|
9
|
+
clickable: {
|
|
10
|
+
cursor: string;
|
|
11
|
+
};
|
|
12
|
+
tweakTooltip: {};
|
|
13
13
|
};
|
|
14
14
|
export declare type TextWithTooltipStyles = ComponentStyles<typeof styles>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { ICommonProps } from '../../types';
|
|
3
3
|
import { ThemedPreloaderStyles } from './ThemedPreloader.styles';
|
|
4
|
-
declare const svgTypes: readonly [
|
|
4
|
+
declare const svgTypes: readonly ["default", "logo"];
|
|
5
5
|
export declare type IPreloaderSvgType = (typeof svgTypes)[number];
|
|
6
6
|
export interface IThemedPreloaderProps extends ICommonProps {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
tweakStyles?: ThemedPreloaderStyles;
|
|
8
|
+
type?: 'dots' | IPreloaderSvgType;
|
|
9
|
+
useCurrentColor?: boolean;
|
|
10
10
|
}
|
|
11
11
|
export declare const ThemedPreloader: FC<IThemedPreloaderProps>;
|
|
12
12
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
};
|
|
6
|
+
dots: {};
|
|
7
|
+
default: {};
|
|
8
|
+
logo: {};
|
|
9
|
+
currentColor: {
|
|
10
|
+
color: string;
|
|
11
|
+
};
|
|
12
|
+
tweakPreloaderComponent: {};
|
|
13
13
|
};
|
|
14
14
|
export declare type ThemedPreloaderStyles = ComponentStyles<typeof styles>;
|
|
@@ -2,6 +2,6 @@ import { FC } from 'react';
|
|
|
2
2
|
import { ICommonProps } from '../../../../types';
|
|
3
3
|
import { DotsPreloaderStyles } from './DotsPreloader.styles';
|
|
4
4
|
export interface IDotsPreloaderProps extends ICommonProps {
|
|
5
|
-
|
|
5
|
+
tweakStyles?: DotsPreloaderStyles;
|
|
6
6
|
}
|
|
7
7
|
export declare const DotsPreloader: FC<IDotsPreloaderProps>;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
gap: number;
|
|
6
|
+
'&::before, &::after': {
|
|
7
|
+
content: string;
|
|
8
|
+
extend: string;
|
|
9
|
+
};
|
|
10
|
+
'&::before': {
|
|
11
|
+
animationDelay: string;
|
|
12
|
+
};
|
|
13
|
+
'&::after': {
|
|
14
|
+
animationDelay: string;
|
|
15
|
+
};
|
|
9
16
|
};
|
|
10
|
-
'
|
|
11
|
-
|
|
17
|
+
'@keyframes FadedDots': {
|
|
18
|
+
'0%': {
|
|
19
|
+
opacity: number;
|
|
20
|
+
};
|
|
21
|
+
'30%': {
|
|
22
|
+
opacity: number;
|
|
23
|
+
};
|
|
24
|
+
'100%': {
|
|
25
|
+
opacity: number;
|
|
26
|
+
};
|
|
12
27
|
};
|
|
13
|
-
|
|
14
|
-
|
|
28
|
+
fadedDot: {
|
|
29
|
+
display: string;
|
|
30
|
+
animationDuration: number;
|
|
31
|
+
animationIterationCount: string;
|
|
32
|
+
animationName: string;
|
|
33
|
+
borderRadius: string;
|
|
34
|
+
height: number;
|
|
35
|
+
width: number;
|
|
36
|
+
backgroundColor: string;
|
|
15
37
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
opacity: number;
|
|
38
|
+
dot: {
|
|
39
|
+
extend: string;
|
|
40
|
+
animationDelay: string;
|
|
20
41
|
};
|
|
21
|
-
'30%': {
|
|
22
|
-
opacity: number;
|
|
23
|
-
};
|
|
24
|
-
'100%': {
|
|
25
|
-
opacity: number;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
fadedDot: {
|
|
29
|
-
display: string;
|
|
30
|
-
animationDuration: number;
|
|
31
|
-
animationIterationCount: string;
|
|
32
|
-
animationName: string;
|
|
33
|
-
borderRadius: string;
|
|
34
|
-
height: number;
|
|
35
|
-
width: number;
|
|
36
|
-
backgroundColor: string;
|
|
37
|
-
};
|
|
38
|
-
dot: {
|
|
39
|
-
extend: string;
|
|
40
|
-
animationDelay: string;
|
|
41
|
-
};
|
|
42
42
|
};
|
|
43
43
|
export declare type DotsPreloaderStyles = ComponentStyles<typeof styles>;
|
|
@@ -3,7 +3,7 @@ import { ICommonProps } from '../../../../types';
|
|
|
3
3
|
import { IPreloaderSvgType } from '../../ThemedPreloader';
|
|
4
4
|
import { SvgPreloaderStyles } from './SvgPreloader.styles';
|
|
5
5
|
export interface ISvgPreloaderProps extends ICommonProps {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
type: IPreloaderSvgType;
|
|
7
|
+
tweakStyles?: SvgPreloaderStyles;
|
|
8
8
|
}
|
|
9
9
|
export declare const SvgPreloader: FC<ISvgPreloaderProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../../../types';
|
|
2
2
|
export declare const styles: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
root: {
|
|
4
|
+
display: string;
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
};
|
|
8
8
|
};
|
|
9
9
|
export declare type SvgPreloaderStyles = ComponentStyles<typeof styles>;
|