@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
|
@@ -1,247 +1,247 @@
|
|
|
1
1
|
import { ComponentStyles } from '../../types';
|
|
2
2
|
export declare const AUTOSIZE_MAX_WIDTH = 480;
|
|
3
3
|
export declare const styles: {
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
4
|
+
root: {
|
|
5
|
+
width: string;
|
|
6
|
+
boxSizing: string;
|
|
7
|
+
position: string;
|
|
8
|
+
};
|
|
9
|
+
inputWrapper: {
|
|
10
|
+
display: string;
|
|
11
|
+
width: string;
|
|
12
|
+
height: 48;
|
|
13
|
+
boxSizing: string;
|
|
14
|
+
transition: string;
|
|
15
|
+
transitionProperty: string;
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
position: string;
|
|
18
|
+
};
|
|
19
|
+
inputContent: {
|
|
20
|
+
fontSize: number;
|
|
21
|
+
fontFamily: string;
|
|
22
|
+
padding: number[];
|
|
23
|
+
};
|
|
24
|
+
input: {
|
|
25
|
+
extend: string;
|
|
26
|
+
width: string;
|
|
27
|
+
height: string;
|
|
28
|
+
outline: string;
|
|
29
|
+
boxSizing: string;
|
|
30
|
+
outlineStyle: string;
|
|
31
|
+
transition: string;
|
|
32
|
+
transitionProperty: string;
|
|
33
|
+
border: string;
|
|
34
|
+
background: string;
|
|
35
|
+
'&::placeholder': {
|
|
36
|
+
opacity: number;
|
|
37
|
+
};
|
|
38
|
+
MozAppearance: string;
|
|
39
|
+
'&::-webkit-inner-spin-button,&::-webkit-outer-spin-button': {
|
|
40
|
+
WebkitAppearance: string;
|
|
41
|
+
margin: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
autosize: {
|
|
45
|
+
display: string;
|
|
46
|
+
verticalAlign: string;
|
|
47
|
+
alignItems: string;
|
|
48
|
+
justifyContent: string;
|
|
49
|
+
'&::after, input': {
|
|
50
|
+
width: string;
|
|
51
|
+
minWidth: string;
|
|
52
|
+
gridArea: string;
|
|
53
|
+
font: string;
|
|
54
|
+
justifySelf: string;
|
|
55
|
+
};
|
|
56
|
+
'&::after': {
|
|
57
|
+
maxWidth: number;
|
|
58
|
+
content: string;
|
|
59
|
+
visibility: string;
|
|
60
|
+
whiteSpace: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
focused: {
|
|
64
|
+
position: string;
|
|
65
|
+
zIndex: number;
|
|
66
|
+
};
|
|
67
|
+
unitsWrapper: {
|
|
68
|
+
extend: string;
|
|
69
|
+
position: string;
|
|
70
|
+
left: number;
|
|
71
|
+
height: string;
|
|
72
|
+
boxSizing: string;
|
|
73
|
+
display: string;
|
|
74
|
+
alignItems: string;
|
|
75
|
+
pointerEvents: string;
|
|
76
|
+
};
|
|
77
|
+
fakeValue: {
|
|
78
|
+
visibility: string;
|
|
79
|
+
};
|
|
80
|
+
units: {
|
|
81
|
+
paddingLeft: number;
|
|
82
|
+
};
|
|
83
|
+
withFloatingLabel: {
|
|
84
|
+
paddingTop: number;
|
|
85
|
+
};
|
|
86
|
+
floatingLabelWithoutPadding: {
|
|
87
|
+
paddingTop: number;
|
|
88
|
+
paddingLeft: number;
|
|
89
|
+
};
|
|
90
|
+
floating: {};
|
|
91
|
+
activeLabel: {
|
|
92
|
+
display: string;
|
|
93
|
+
'&$floating': {
|
|
94
|
+
display: string;
|
|
95
|
+
transform: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
required: {
|
|
99
|
+
'&:before': {
|
|
100
|
+
content: string;
|
|
101
|
+
position: string;
|
|
102
|
+
left: number;
|
|
103
|
+
top: string;
|
|
104
|
+
transform: string;
|
|
105
|
+
width: number;
|
|
106
|
+
height: number;
|
|
107
|
+
borderRadius: string;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
label: {
|
|
111
|
+
position: string;
|
|
112
|
+
pointerEvents: string;
|
|
113
|
+
left: number;
|
|
114
|
+
top: string;
|
|
115
|
+
transformOrigin: string;
|
|
116
|
+
transform: string;
|
|
117
|
+
transition: string;
|
|
118
|
+
transitionProperty: string;
|
|
119
|
+
fontSize: number;
|
|
120
|
+
};
|
|
121
|
+
floatingWithoutPadding: {
|
|
122
|
+
left: number;
|
|
123
|
+
};
|
|
124
|
+
requiredLabel: {
|
|
125
|
+
'&:after': {
|
|
126
|
+
content: string;
|
|
127
|
+
position: string;
|
|
128
|
+
right: number;
|
|
129
|
+
top: number;
|
|
130
|
+
transform: string;
|
|
131
|
+
width: number;
|
|
132
|
+
height: number;
|
|
133
|
+
borderRadius: string;
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
activeIcon: {
|
|
137
|
+
cursor: string;
|
|
138
|
+
};
|
|
139
|
+
'border-top': {
|
|
140
|
+
borderRadius: number;
|
|
141
|
+
borderWidth: number[];
|
|
142
|
+
};
|
|
143
|
+
'border-bottom': {
|
|
144
|
+
borderRadius: number;
|
|
145
|
+
borderWidth: number[];
|
|
146
|
+
};
|
|
147
|
+
'border-left': {
|
|
148
|
+
borderRadius: number;
|
|
149
|
+
borderWidth: number[];
|
|
150
|
+
};
|
|
151
|
+
'border-right': {
|
|
152
|
+
borderRadius: number;
|
|
153
|
+
borderWidth: number[];
|
|
154
|
+
};
|
|
155
|
+
top: {
|
|
156
|
+
borderBottomLeftRadius: number;
|
|
157
|
+
borderBottomRightRadius: number;
|
|
158
|
+
};
|
|
159
|
+
bottom: {
|
|
160
|
+
borderTopLeftRadius: number;
|
|
161
|
+
borderTopRightRadius: number;
|
|
162
|
+
};
|
|
163
|
+
'top-left': {
|
|
164
|
+
borderTopRightRadius: number;
|
|
165
|
+
borderBottomLeftRadius: number;
|
|
166
|
+
borderBottomRightRadius: number;
|
|
167
|
+
};
|
|
168
|
+
'top-right': {
|
|
169
|
+
borderTopLeftRadius: number;
|
|
170
|
+
borderBottomLeftRadius: number;
|
|
171
|
+
borderBottomRightRadius: number;
|
|
172
|
+
};
|
|
173
|
+
'bottom-left': {
|
|
174
|
+
borderTopLeftRadius: number;
|
|
175
|
+
borderTopRightRadius: number;
|
|
176
|
+
borderBottomRightRadius: number;
|
|
177
|
+
};
|
|
178
|
+
'bottom-right': {
|
|
179
|
+
borderTopLeftRadius: number;
|
|
180
|
+
borderTopRightRadius: number;
|
|
181
|
+
borderBottomLeftRadius: number;
|
|
182
|
+
};
|
|
183
|
+
left: {
|
|
184
|
+
borderTopRightRadius: number;
|
|
185
|
+
borderBottomRightRadius: number;
|
|
186
|
+
};
|
|
187
|
+
right: {
|
|
188
|
+
borderTopLeftRadius: number;
|
|
189
|
+
borderBottomLeftRadius: number;
|
|
190
|
+
};
|
|
191
|
+
middle: {
|
|
192
|
+
borderRadius: number;
|
|
193
|
+
};
|
|
194
|
+
controls: {
|
|
195
|
+
display: string;
|
|
196
|
+
gridArea: string;
|
|
197
|
+
};
|
|
198
|
+
icon: {
|
|
199
|
+
display: string;
|
|
200
|
+
alignItems: string;
|
|
201
|
+
padding: number[];
|
|
202
|
+
width: number;
|
|
203
|
+
transition: string;
|
|
204
|
+
boxSizing: string;
|
|
205
|
+
'&:last-child': {
|
|
206
|
+
paddingRight: number;
|
|
207
|
+
};
|
|
208
|
+
'& + $units': {
|
|
209
|
+
marginLeft: number;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
clearIcon: {
|
|
213
|
+
extend: string;
|
|
214
|
+
};
|
|
215
|
+
inputIcon: {
|
|
216
|
+
extend: string;
|
|
217
|
+
};
|
|
218
|
+
withIcons: {
|
|
219
|
+
paddingRight: number;
|
|
220
|
+
};
|
|
221
|
+
withControls: {};
|
|
222
|
+
invalid: {};
|
|
223
|
+
disabled: {};
|
|
224
|
+
invalidLabel: {};
|
|
225
|
+
error: {
|
|
226
|
+
fontSize: number;
|
|
227
|
+
};
|
|
228
|
+
info: {
|
|
229
|
+
fontSize: number;
|
|
230
|
+
paddingTop: number;
|
|
231
|
+
paddingLeft: number;
|
|
232
|
+
};
|
|
233
|
+
'error-top': {
|
|
234
|
+
position: string;
|
|
235
|
+
top: number;
|
|
236
|
+
left: number;
|
|
237
|
+
padding: number[];
|
|
238
|
+
zIndex: number;
|
|
239
|
+
};
|
|
240
|
+
'error-bottom': {
|
|
241
|
+
paddingTop: number;
|
|
242
|
+
paddingLeft: number;
|
|
243
|
+
};
|
|
244
|
+
loading: {};
|
|
245
|
+
tweakPreloader: {};
|
|
246
246
|
};
|
|
247
247
|
export declare type InputStyles = ComponentStyles<typeof styles>;
|
|
@@ -3,19 +3,19 @@ import { ICommonProps } from '../../types';
|
|
|
3
3
|
import { IIconType } from '../Icon';
|
|
4
4
|
import { ListStyles } from './List.styles';
|
|
5
5
|
export interface IListItem {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
item: ReactNode;
|
|
7
|
+
icon?: IIconType | ReactElement;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
shouldDrawSpacerAbove?: boolean;
|
|
10
|
+
shouldDrawSpacerBelow?: boolean;
|
|
11
|
+
withIconGap?: boolean;
|
|
12
|
+
testId?: string;
|
|
13
|
+
onClick(): void;
|
|
14
14
|
}
|
|
15
15
|
export interface IListProps extends ICommonProps {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
tweakStyles?: ListStyles;
|
|
17
|
+
items: IListItem[];
|
|
18
|
+
testId?: string;
|
|
19
|
+
onClick?(): void;
|
|
20
20
|
}
|
|
21
21
|
export declare const List: FC<IListProps>;
|
|
@@ -1,39 +1,39 @@
|
|
|
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
|
-
|
|
3
|
+
root: {
|
|
4
|
+
minWidth: number;
|
|
5
|
+
backgroundColor: "#ffffff";
|
|
6
|
+
padding: number[];
|
|
7
|
+
listStyle: string;
|
|
8
|
+
margin: number;
|
|
9
|
+
};
|
|
10
|
+
item: {
|
|
11
|
+
display: string;
|
|
12
|
+
alignItems: string;
|
|
13
|
+
boxSizing: string;
|
|
14
|
+
fontSize: number;
|
|
15
|
+
whiteSpace: string;
|
|
16
|
+
minHeight: number;
|
|
17
|
+
padding: number[];
|
|
18
|
+
transition: string;
|
|
19
|
+
cursor: string;
|
|
20
|
+
};
|
|
21
|
+
disabledItem: {
|
|
22
|
+
cursor: string;
|
|
23
|
+
};
|
|
24
|
+
spacer: {
|
|
25
|
+
height: number;
|
|
26
|
+
backgroundColor: "#dde3ed";
|
|
27
|
+
};
|
|
28
|
+
withIconGap: {
|
|
29
|
+
paddingLeft: number;
|
|
30
|
+
};
|
|
31
|
+
icon: {
|
|
32
|
+
width: number;
|
|
33
|
+
height: number;
|
|
34
|
+
marginRight: number;
|
|
35
|
+
flexShrink: number;
|
|
36
|
+
};
|
|
37
|
+
content: {};
|
|
38
38
|
};
|
|
39
39
|
export declare type ListStyles = ComponentStyles<typeof styles>;
|
|
@@ -3,24 +3,24 @@ import { ICommonProps } from '../../types';
|
|
|
3
3
|
import { ModalStyles } from './Modal.styles';
|
|
4
4
|
export declare type IModalPosition = 'center' | 'left' | 'right' | 'static';
|
|
5
5
|
export interface IModalProps extends ICommonProps {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
tweakStyles?: ModalStyles;
|
|
7
|
+
title?: ReactNode;
|
|
8
|
+
size?: 'l' | 'm' | 's';
|
|
9
|
+
isFooterSticky?: boolean;
|
|
10
|
+
buttons?: ReactNode[];
|
|
11
|
+
buttonsAlign?: 'left' | 'center' | 'right';
|
|
12
|
+
children?: ReactNode | ReactNode[];
|
|
13
|
+
position?: IModalPosition;
|
|
14
|
+
hasCloseButton?: boolean;
|
|
15
|
+
hasOverlay?: boolean;
|
|
16
|
+
shouldCloseOnOverlayClick?: boolean;
|
|
17
|
+
shouldCloseOnEsc?: boolean;
|
|
18
|
+
shouldBlockScroll?: boolean;
|
|
19
|
+
isOpen?: boolean;
|
|
20
|
+
zIndex?: number;
|
|
21
|
+
testId?: string;
|
|
22
|
+
onEnter?(): void;
|
|
23
|
+
onClose?(): void;
|
|
24
|
+
onCompletelyHidden?(): void;
|
|
25
25
|
}
|
|
26
26
|
export declare const Modal: FC<IModalProps>;
|