@groupeactual/design-tokens 1.5.0 → 1.5.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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/es/index.mjs +1 -1
- package/dist/es/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/form/autoCompleteCss.ts +105 -96
- package/src/css/form/datePickerCss.ts +19 -13
- package/src/css/form/selectCss.ts +82 -70
- package/src/css/form/textFieldCss.ts +56 -54
|
@@ -1,61 +1,89 @@
|
|
|
1
1
|
const SelectCss = (
|
|
2
|
-
muiTokens: Record<string, string | number | any
|
|
2
|
+
muiTokens: Record<string, string | number | any>,
|
|
3
3
|
): Record<string, unknown> => {
|
|
4
4
|
return {
|
|
5
5
|
'&.MuiFormControl-root': {
|
|
6
|
+
zIndex: 1,
|
|
7
|
+
'.MuiInputBase-root': {
|
|
8
|
+
height: '44px',
|
|
9
|
+
padding: 0 + ' !important',
|
|
10
|
+
backgroundColor: muiTokens.palette.white,
|
|
11
|
+
'.SelectIcon': {
|
|
12
|
+
color: muiTokens.palette.blueClickable + ' !important',
|
|
13
|
+
},
|
|
14
|
+
'&.Mui-error': {
|
|
15
|
+
'.SelectIcon': { color: muiTokens.palette.redError },
|
|
16
|
+
},
|
|
17
|
+
},
|
|
6
18
|
'.MuiFormLabel-root.Mui-focused': {
|
|
7
|
-
transform: 'translate(14px, -7px) scale(0.75) !important'
|
|
19
|
+
transform: 'translate(14px, -7px) scale(0.75) !important',
|
|
8
20
|
},
|
|
9
21
|
'.MuiFormLabel-filled': {
|
|
10
|
-
transform: 'translate(14px, -7px) scale(0.75) !important'
|
|
22
|
+
transform: 'translate(14px, -7px) scale(0.75) !important',
|
|
11
23
|
},
|
|
12
24
|
'.MuiFormLabel-root.Mui-Input-filled': {
|
|
13
|
-
transform: 'translate(14px, -7px) scale(0.75) !important'
|
|
25
|
+
transform: 'translate(14px, -7px) scale(0.75) !important',
|
|
26
|
+
},
|
|
27
|
+
'.MuiInputLabel-root': {
|
|
28
|
+
marginTop: '2px',
|
|
29
|
+
},
|
|
30
|
+
'& label': {
|
|
31
|
+
color: muiTokens.palette.greyDark,
|
|
32
|
+
},
|
|
33
|
+
'&.Mui-filled': {
|
|
34
|
+
'& label': {
|
|
35
|
+
color: muiTokens.palette.greyXDark,
|
|
36
|
+
},
|
|
14
37
|
},
|
|
15
38
|
'&.DsMultiSelect': {
|
|
16
39
|
'&.Mui-filled': {
|
|
17
40
|
'.MuiInputBase-root': {
|
|
18
41
|
minHeight: '44px',
|
|
19
|
-
height: 'auto !important'
|
|
20
|
-
}
|
|
42
|
+
height: 'auto !important',
|
|
43
|
+
},
|
|
21
44
|
},
|
|
22
45
|
'.MuiOutlinedInput-input': {
|
|
23
|
-
padding: '8px
|
|
24
|
-
}
|
|
46
|
+
padding: '8px 12px 7px 8px !important',
|
|
47
|
+
},
|
|
25
48
|
},
|
|
26
49
|
'.Mui-disabled': {
|
|
27
50
|
'.MuiOutlinedInput-notchedOutline': {
|
|
28
|
-
'-webkit-text-fill-color': muiTokens.palette.greyDark
|
|
29
|
-
|
|
51
|
+
'-webkit-text-fill-color': muiTokens.palette.greyDark,
|
|
52
|
+
borderColor: muiTokens.palette.greyLightDefaultBorder + ' !important',
|
|
53
|
+
},
|
|
30
54
|
},
|
|
31
55
|
'.MuiOutlinedInput-notchedOutline': {
|
|
32
56
|
borderWidth: '1px !important',
|
|
33
57
|
borderColor: muiTokens.palette.greyLightDefaultBorder,
|
|
34
|
-
fontSize: '16px'
|
|
58
|
+
fontSize: '16px',
|
|
35
59
|
},
|
|
36
60
|
'.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
37
61
|
borderWidth: '1px',
|
|
38
|
-
borderColor: muiTokens.palette.blueClickable
|
|
62
|
+
borderColor: muiTokens.palette.blueClickable,
|
|
39
63
|
},
|
|
40
64
|
'.Mui-error .MuiOutlinedInput-notchedOutline': {
|
|
41
|
-
borderColor: muiTokens.palette.redError + ' !important'
|
|
65
|
+
borderColor: muiTokens.palette.redError + ' !important',
|
|
42
66
|
},
|
|
43
67
|
'.clear': {
|
|
44
68
|
visibility: 'hidden',
|
|
45
69
|
alignSelf: 'center',
|
|
46
70
|
position: 'relative',
|
|
47
|
-
|
|
71
|
+
marginTop: '2px',
|
|
72
|
+
marginRight: '-8px',
|
|
48
73
|
},
|
|
49
74
|
'&:hover': {
|
|
50
75
|
'.clear': {
|
|
51
|
-
visibility: 'visible'
|
|
52
|
-
}
|
|
76
|
+
visibility: 'visible',
|
|
77
|
+
},
|
|
78
|
+
'.MuiOutlinedInput-notchedOutline': {
|
|
79
|
+
borderColor: muiTokens.palette.greyDark,
|
|
80
|
+
},
|
|
53
81
|
},
|
|
54
82
|
'& .MuiSelect-select .notranslate::after': {
|
|
55
83
|
fontWeight: 400,
|
|
56
84
|
lineHeight: '18px',
|
|
57
85
|
fontSize: '14px',
|
|
58
|
-
color: '#545352 !important'
|
|
86
|
+
color: '#545352 !important',
|
|
59
87
|
},
|
|
60
88
|
'&.Select-mui': {
|
|
61
89
|
'&.Mui-filled': {
|
|
@@ -65,9 +93,9 @@ const SelectCss = (
|
|
|
65
93
|
fontWeight: 400,
|
|
66
94
|
padding: '13px 31px 11px 8px',
|
|
67
95
|
'&.Mui-disabled': {
|
|
68
|
-
color: muiTokens.palette.greyDark
|
|
69
|
-
}
|
|
70
|
-
}
|
|
96
|
+
color: muiTokens.palette.greyDark,
|
|
97
|
+
},
|
|
98
|
+
},
|
|
71
99
|
},
|
|
72
100
|
'.MuiInputLabel-root': {
|
|
73
101
|
transform: 'translate(8px, 16px) scale(1)',
|
|
@@ -77,45 +105,40 @@ const SelectCss = (
|
|
|
77
105
|
fontWeight: 400,
|
|
78
106
|
marginTop: '-3px',
|
|
79
107
|
'&.Mui-disabled': {
|
|
80
|
-
color: muiTokens.palette.greyDark
|
|
108
|
+
color: muiTokens.palette.greyDark,
|
|
81
109
|
},
|
|
82
110
|
'&.Mui-error': {
|
|
83
|
-
color: `${muiTokens.palette.redError} !important
|
|
111
|
+
color: `${muiTokens.palette.redError} !important`,
|
|
84
112
|
},
|
|
85
113
|
'&.Mui-focused': {
|
|
86
114
|
lineHeight: '16px',
|
|
87
115
|
fontWeight: 500,
|
|
88
116
|
fontSize: '16px', // bug fontsize limited max to 16px : https://github.com/mui/material-ui/issues/26607
|
|
89
|
-
marginTop: '
|
|
117
|
+
marginTop: '2px !important',
|
|
90
118
|
color: muiTokens.palette.blueClickable,
|
|
91
119
|
transform: 'translate(14px, -7px) scale(0.75)',
|
|
92
120
|
'&.Mui-error': {
|
|
93
|
-
color: `${muiTokens.palette.redError} !important
|
|
121
|
+
color: `${muiTokens.palette.redError} !important`,
|
|
94
122
|
},
|
|
95
123
|
'&.Mui-success': {
|
|
96
|
-
color: muiTokens.palette.greenSuccess
|
|
97
|
-
}
|
|
98
|
-
}
|
|
124
|
+
color: muiTokens.palette.greenSuccess,
|
|
125
|
+
},
|
|
126
|
+
},
|
|
99
127
|
},
|
|
100
|
-
|
|
101
128
|
'.MuiOutlinedInput-input': {
|
|
102
129
|
fontSize: '14px',
|
|
103
130
|
lineHeight: '18px',
|
|
104
131
|
fontWeight: 400,
|
|
105
132
|
padding: '8px 31px 10px 14px',
|
|
106
|
-
|
|
107
133
|
'&.Mui-disabled': {
|
|
108
|
-
color: muiTokens.palette.greyDark
|
|
109
|
-
|
|
110
|
-
|
|
134
|
+
color: muiTokens.palette.greyDark,
|
|
135
|
+
WebkitTextFillColor: muiTokens.palette.greyDark,
|
|
136
|
+
},
|
|
137
|
+
},
|
|
111
138
|
},
|
|
112
139
|
'.SelectIcon': {
|
|
113
140
|
color: muiTokens.palette.blueClickable,
|
|
114
|
-
marginRight: '
|
|
115
|
-
marginTop: '0px',
|
|
116
|
-
pointerEvents: 'none',
|
|
117
|
-
position: 'absolute',
|
|
118
|
-
right: '0px'
|
|
141
|
+
marginRight: '9px',
|
|
119
142
|
},
|
|
120
143
|
'.MuiFormHelperText-root': {
|
|
121
144
|
fontWeight: 400,
|
|
@@ -126,8 +149,8 @@ const SelectCss = (
|
|
|
126
149
|
marginTop: '8px',
|
|
127
150
|
lineHeight: '12px',
|
|
128
151
|
'&.Mui-error': {
|
|
129
|
-
color: muiTokens.palette.redError
|
|
130
|
-
}
|
|
152
|
+
color: muiTokens.palette.redError,
|
|
153
|
+
},
|
|
131
154
|
},
|
|
132
155
|
'.MuiOutlinedInput-input': {
|
|
133
156
|
fontSize: '14px',
|
|
@@ -135,15 +158,15 @@ const SelectCss = (
|
|
|
135
158
|
fontWeight: 400,
|
|
136
159
|
padding: '12px 31px 11px 14px',
|
|
137
160
|
'&.Mui-disabled': {
|
|
138
|
-
color: muiTokens.palette.greyDark
|
|
161
|
+
color: muiTokens.palette.greyDark,
|
|
139
162
|
},
|
|
140
163
|
'&::placeholder': {
|
|
141
164
|
color: `${muiTokens.palette.greyDark as string} !important`,
|
|
142
165
|
opacity: 1 + ' !important',
|
|
143
166
|
fontWeight: 400,
|
|
144
167
|
lineHeight: '18px',
|
|
145
|
-
fontSize: '14px'
|
|
146
|
-
}
|
|
168
|
+
fontSize: '14px',
|
|
169
|
+
},
|
|
147
170
|
},
|
|
148
171
|
'&.Select-ds': {
|
|
149
172
|
'.MuiInputLabel-root': {
|
|
@@ -152,68 +175,57 @@ const SelectCss = (
|
|
|
152
175
|
height: '16px',
|
|
153
176
|
fontWeight: 500,
|
|
154
177
|
transform: 'translate(14px, -7px) scale(0.75)',
|
|
155
|
-
color: muiTokens.palette.
|
|
178
|
+
color: muiTokens.palette.greyDark,
|
|
156
179
|
'&.Mui-error': {
|
|
157
|
-
color: muiTokens.palette.redError + ' !important'
|
|
180
|
+
color: muiTokens.palette.redError + ' !important',
|
|
158
181
|
},
|
|
159
182
|
'&.Mui-disabled': {
|
|
160
183
|
color: muiTokens.palette.greyDark + ' !important',
|
|
161
|
-
'-webkit-text-fill-color': muiTokens.palette.greyDark
|
|
184
|
+
'-webkit-text-fill-color': muiTokens.palette.greyDark,
|
|
162
185
|
},
|
|
163
186
|
'&.Mui-focused': {
|
|
164
187
|
lineHeight: '16px',
|
|
165
188
|
color: muiTokens.palette.blueClickable,
|
|
166
189
|
fontWeight: 500,
|
|
167
190
|
fontSize: '16px', // bug fontsize limited max to 16px : https://github.com/mui/material-ui/issues/26607
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
191
|
+
},
|
|
192
|
+
},
|
|
171
193
|
},
|
|
172
194
|
'.MuiFormLabel-colorSuccess': {
|
|
173
|
-
color: muiTokens.palette.greenSuccess + ' !important'
|
|
174
|
-
},
|
|
175
|
-
'.MuiInputBase-root': {
|
|
176
|
-
height: '44px',
|
|
177
|
-
backgroundColor: muiTokens.palette.white,
|
|
178
|
-
'.SelectIcon': {
|
|
179
|
-
color: muiTokens.palette.blueClickable + ' !important'
|
|
180
|
-
},
|
|
181
|
-
'&.Mui-error': {
|
|
182
|
-
'.SelectIcon': { color: muiTokens.palette.redError }
|
|
183
|
-
}
|
|
195
|
+
color: muiTokens.palette.greenSuccess + ' !important',
|
|
184
196
|
},
|
|
185
197
|
'.MuiInputBase-root.Mui-disabled': {
|
|
186
198
|
backgroundColor: muiTokens.palette.greyXLight,
|
|
187
199
|
color: muiTokens.palette.greyDark,
|
|
188
200
|
borderColor: muiTokens.palette.greyLightDefaultBorder,
|
|
189
|
-
WebkitTextFillColor: muiTokens.palette.greyDark
|
|
201
|
+
WebkitTextFillColor: muiTokens.palette.greyDark,
|
|
190
202
|
},
|
|
191
203
|
'.MuiInputBase-colorSuccess': {
|
|
192
204
|
'.SelectIcon': {
|
|
193
205
|
color: muiTokens.palette.greenSuccess + ' !important',
|
|
194
|
-
marginTop: '2px'
|
|
206
|
+
marginTop: '2px',
|
|
195
207
|
},
|
|
196
208
|
'.MuiOutlinedInput-notchedOutline': {
|
|
197
209
|
border: '1px solid',
|
|
198
210
|
fontSize: '16px',
|
|
199
|
-
borderColor: muiTokens.palette.greenSuccess
|
|
200
|
-
}
|
|
211
|
+
borderColor: muiTokens.palette.greenSuccess,
|
|
212
|
+
},
|
|
201
213
|
},
|
|
202
214
|
'.MuiChip-root': {
|
|
203
|
-
height: '24px'
|
|
215
|
+
height: '24px',
|
|
204
216
|
},
|
|
205
217
|
'.SelectIcon.Mui-disabled': {
|
|
206
|
-
color: muiTokens.palette.greyMediumInactive + ' !important'
|
|
207
|
-
}
|
|
218
|
+
color: muiTokens.palette.greyMediumInactive + ' !important',
|
|
219
|
+
},
|
|
208
220
|
},
|
|
209
221
|
'.MuiFormLabel-filled': {
|
|
210
222
|
lineHeight: '16px !important',
|
|
211
|
-
color: muiTokens.palette.
|
|
223
|
+
color: muiTokens.palette.greyDark,
|
|
212
224
|
fontWeight: '500 !important',
|
|
213
225
|
fontSize: '16px !important', // bug fontsize limited max to 16px : https://github.com/mui/material-ui/issues/26607
|
|
214
|
-
marginTop: '
|
|
215
|
-
transform: 'translate(14px, -7px) scale(0.75)'
|
|
216
|
-
}
|
|
226
|
+
marginTop: '2px !important',
|
|
227
|
+
transform: 'translate(14px, -7px) scale(0.75)',
|
|
228
|
+
},
|
|
217
229
|
};
|
|
218
230
|
};
|
|
219
231
|
|
|
@@ -1,36 +1,49 @@
|
|
|
1
1
|
const TextFieldCss = (
|
|
2
|
-
muiTokens: Record<string, string | number | any
|
|
2
|
+
muiTokens: Record<string, string | number | any>,
|
|
3
3
|
): Record<string, unknown> => {
|
|
4
4
|
return {
|
|
5
|
+
'.Mui-error .MuiOutlinedInput-notchedOutline': {
|
|
6
|
+
borderColor: muiTokens.palette.redError + ' !important',
|
|
7
|
+
},
|
|
8
|
+
'.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
9
|
+
borderColor: muiTokens.palette.blueClickable,
|
|
10
|
+
},
|
|
11
|
+
'.Mui-disabled .MuiOutlinedInput-notchedOutline': {
|
|
12
|
+
borderColor: muiTokens.palette.greyLightDefaultBorder + ' !important',
|
|
13
|
+
},
|
|
14
|
+
'&:hover': {
|
|
15
|
+
'.MuiOutlinedInput-notchedOutline': {
|
|
16
|
+
borderColor: muiTokens.palette.greyDark,
|
|
17
|
+
},
|
|
18
|
+
},
|
|
5
19
|
'&.MuiTextField-root': {
|
|
20
|
+
'.MuiInputBase-root': {
|
|
21
|
+
backgroundColor: muiTokens.palette.white,
|
|
22
|
+
},
|
|
6
23
|
'.MuiInputLabel-root': {
|
|
7
24
|
'&.Mui-error': {
|
|
8
|
-
color: muiTokens.palette.redError + ' !important'
|
|
25
|
+
color: muiTokens.palette.redError + ' !important',
|
|
9
26
|
},
|
|
10
27
|
fontWeight: 500,
|
|
11
|
-
transform: 'translate(8px, 16px) scale(1)'
|
|
28
|
+
transform: 'translate(8px, 16px) scale(1)',
|
|
12
29
|
},
|
|
13
30
|
'&.Mui-success': {
|
|
14
31
|
'.MuiOutlinedInput-notchedOutline': {
|
|
15
|
-
borderColor: muiTokens.palette.greenSuccess + ' !important'
|
|
32
|
+
borderColor: muiTokens.palette.greenSuccess + ' !important',
|
|
16
33
|
},
|
|
17
34
|
'.MuiFormLabel-root': {
|
|
18
|
-
color: muiTokens.palette.greenSuccess + ' !important'
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
'.Mui-error.MuiOutlinedInput-notchedOutline': {
|
|
22
|
-
borderColor: muiTokens.palette.redError + ' !important'
|
|
35
|
+
color: muiTokens.palette.greenSuccess + ' !important',
|
|
36
|
+
},
|
|
23
37
|
},
|
|
24
38
|
'.Mui-focused.MuiOutlinedInput-notchedOutline': {
|
|
25
|
-
borderColor: muiTokens.palette.blueClickable
|
|
39
|
+
borderColor: muiTokens.palette.blueClickable,
|
|
26
40
|
},
|
|
27
41
|
'.MuiOutlinedInput-notchedOutline': {
|
|
28
|
-
borderColor: muiTokens.palette.greyLightDefaultBorder,
|
|
29
42
|
borderWidth: '1px !important',
|
|
30
|
-
fontSize: '16px'
|
|
43
|
+
fontSize: '16px',
|
|
31
44
|
},
|
|
32
45
|
'.MuiFormLabel-colorSuccess': {
|
|
33
|
-
color: muiTokens.palette.greenSuccess
|
|
46
|
+
color: muiTokens.palette.greenSuccess,
|
|
34
47
|
},
|
|
35
48
|
'&.TextField-ds': {
|
|
36
49
|
'.MuiInputLabel-root': {
|
|
@@ -41,12 +54,12 @@ const TextFieldCss = (
|
|
|
41
54
|
transform: 'translate(14px, -7px) scale(0.75)',
|
|
42
55
|
color: muiTokens.palette.greyXDark,
|
|
43
56
|
'&.Mui-disabled': {
|
|
44
|
-
color: muiTokens.palette.greyDark
|
|
57
|
+
color: muiTokens.palette.greyDark,
|
|
45
58
|
},
|
|
46
59
|
'&.Mui-focused': {
|
|
47
|
-
color: muiTokens.palette.blueClickable
|
|
48
|
-
}
|
|
49
|
-
}
|
|
60
|
+
color: muiTokens.palette.blueClickable,
|
|
61
|
+
},
|
|
62
|
+
},
|
|
50
63
|
},
|
|
51
64
|
'&.TextField-mui': {
|
|
52
65
|
'.MuiInputLabel-root': {
|
|
@@ -61,40 +74,40 @@ const TextFieldCss = (
|
|
|
61
74
|
color: muiTokens.palette.greyXDark,
|
|
62
75
|
fontWeight: 500,
|
|
63
76
|
fontSize: '16px', // bug fontsize limited max to 16px : https://github.com/mui/material-ui/issues/26607
|
|
64
|
-
marginTop:
|
|
65
|
-
transform: 'translate(14px, -7px) scale(0.75)'
|
|
77
|
+
marginTop: '2px',
|
|
78
|
+
transform: 'translate(14px, -7px) scale(0.75)',
|
|
66
79
|
},
|
|
67
80
|
'&.Mui-disabled': {
|
|
68
|
-
color: muiTokens.palette.greyDark
|
|
81
|
+
color: muiTokens.palette.greyDark,
|
|
69
82
|
},
|
|
70
83
|
'&.Mui-focused': {
|
|
71
84
|
lineHeight: '16px',
|
|
72
85
|
fontWeight: 500,
|
|
73
86
|
fontSize: '16px', // bug fontsize limited max to 16px : https://github.com/mui/material-ui/issues/26607
|
|
74
|
-
marginTop: 0,
|
|
75
87
|
color: muiTokens.palette.blueClickable,
|
|
76
|
-
|
|
88
|
+
marginTop: '2px',
|
|
89
|
+
transform: 'translate(14px, -7px) scale(0.75)',
|
|
77
90
|
},
|
|
78
91
|
'&.MuiFormLabel-colorSuccess': {
|
|
79
92
|
'&.Mui-focused': {
|
|
80
|
-
color: muiTokens.palette.greenSuccess + ' !important'
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
93
|
+
color: muiTokens.palette.greenSuccess + ' !important',
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
84
97
|
},
|
|
85
98
|
'& input[type=number]': {
|
|
86
|
-
MozAppearance: 'textfield'
|
|
99
|
+
MozAppearance: 'textfield',
|
|
87
100
|
},
|
|
88
101
|
'& input[type=number]::-webkit-outer-spin-button': {
|
|
89
102
|
WebkitAppearance: 'none',
|
|
90
|
-
margin: 0
|
|
103
|
+
margin: 0,
|
|
91
104
|
},
|
|
92
105
|
'& input[type=number]::-webkit-inner-spin-button': {
|
|
93
106
|
WebkitAppearance: 'none',
|
|
94
|
-
margin: 0
|
|
107
|
+
margin: 0,
|
|
95
108
|
},
|
|
96
109
|
'.DsTextField-passwordIcon': {
|
|
97
|
-
cursor: 'pointer'
|
|
110
|
+
cursor: 'pointer',
|
|
98
111
|
},
|
|
99
112
|
'.MuiFormHelperText-root': {
|
|
100
113
|
fontWeight: 400,
|
|
@@ -105,8 +118,8 @@ const TextFieldCss = (
|
|
|
105
118
|
lineHeight: '12px',
|
|
106
119
|
color: muiTokens.palette.greyDark,
|
|
107
120
|
'&.Mui-error': {
|
|
108
|
-
color: muiTokens.palette.redError
|
|
109
|
-
}
|
|
121
|
+
color: muiTokens.palette.redError,
|
|
122
|
+
},
|
|
110
123
|
},
|
|
111
124
|
'.MuiOutlinedInput-input': {
|
|
112
125
|
fontSize: '14px',
|
|
@@ -120,13 +133,12 @@ const TextFieldCss = (
|
|
|
120
133
|
opacity: 1 + ' !important',
|
|
121
134
|
fontWeight: 400,
|
|
122
135
|
lineHeight: '18px',
|
|
123
|
-
fontSize: '14px'
|
|
136
|
+
fontSize: '14px',
|
|
124
137
|
},
|
|
125
138
|
'&.Mui-disabled': {
|
|
126
139
|
backgroundColor: muiTokens.palette.greyXLight,
|
|
127
140
|
color: muiTokens.palette.greyDark,
|
|
128
|
-
|
|
129
|
-
WebkitTextFillColor: muiTokens.palette.greyDark
|
|
141
|
+
WebkitTextFillColor: muiTokens.palette.greyDark,
|
|
130
142
|
},
|
|
131
143
|
'&.TextField-mui': {
|
|
132
144
|
fontSize: '14px',
|
|
@@ -140,35 +152,25 @@ const TextFieldCss = (
|
|
|
140
152
|
opacity: 1 + ' !important',
|
|
141
153
|
fontWeight: 400,
|
|
142
154
|
lineHeight: '18px',
|
|
143
|
-
fontSize: '14px'
|
|
155
|
+
fontSize: '14px',
|
|
144
156
|
},
|
|
145
157
|
'&.Mui-disabled': {
|
|
146
158
|
backgroundColor: muiTokens.palette.greyXLight,
|
|
147
159
|
color: muiTokens.palette.greyDark,
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
160
|
+
WebkitTextFillColor: muiTokens.palette.greyDark,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
152
163
|
},
|
|
153
164
|
'.MuiOutlinedInput-root': {
|
|
154
165
|
padding: '0px !important',
|
|
155
166
|
'& fieldset': {
|
|
156
|
-
borderWidth: '1px !important'
|
|
157
|
-
},
|
|
158
|
-
'&.Mui-error.MuiOutlinedInput-notchedOutline': {
|
|
159
|
-
borderColor: muiTokens.palette.redError
|
|
160
|
-
},
|
|
161
|
-
'&.Mui-focused.MuiOutlinedInput-notchedOutline': {
|
|
162
|
-
borderColor: muiTokens.palette.blueClickable
|
|
163
|
-
},
|
|
164
|
-
'&.Mui-hover.MuiOutlinedInput-notchedOutline': {
|
|
165
|
-
borderColor: muiTokens.palette.greyDark
|
|
167
|
+
borderWidth: '1px !important',
|
|
166
168
|
},
|
|
167
169
|
'.MuiSvgIcon-root': {
|
|
168
|
-
marginLeft: '-22px'
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
170
|
+
marginLeft: '-22px',
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
172
174
|
};
|
|
173
175
|
};
|
|
174
176
|
|