@entur/form 7.0.23 → 7.0.25
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/styles.css +230 -230
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,222 @@
|
|
|
1
|
+
.eds-fieldset {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
border: 0;
|
|
5
|
+
}
|
|
6
|
+
/* DO NOT CHANGE!*/
|
|
7
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
8
|
+
.eds-checkbox__container {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
position: relative;
|
|
12
|
+
-webkit-appearance: none;
|
|
13
|
+
-moz-appearance: none;
|
|
14
|
+
appearance: none;
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
-webkit-user-select: none;
|
|
17
|
+
-moz-user-select: none;
|
|
18
|
+
user-select: none;
|
|
19
|
+
width: -moz-fit-content;
|
|
20
|
+
width: fit-content;
|
|
21
|
+
margin: 0.5rem 0;
|
|
22
|
+
}
|
|
23
|
+
.eds-checkbox__container--reduced-click-area {
|
|
24
|
+
height: -moz-fit-content;
|
|
25
|
+
height: fit-content;
|
|
26
|
+
}
|
|
27
|
+
.eds-checkbox__container input {
|
|
28
|
+
position: absolute;
|
|
29
|
+
opacity: 0;
|
|
30
|
+
height: 0;
|
|
31
|
+
width: 0;
|
|
32
|
+
}
|
|
33
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
34
|
+
background-color: #181c56;
|
|
35
|
+
}
|
|
36
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
37
|
+
visibility: visible;
|
|
38
|
+
}
|
|
39
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
40
|
+
stroke: #ffffff;
|
|
41
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
42
|
+
}
|
|
43
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
44
|
+
fill: #ffffff;
|
|
45
|
+
}
|
|
46
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
47
|
+
opacity: 0.5;
|
|
48
|
+
}
|
|
49
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
50
|
+
opacity: 0.5;
|
|
51
|
+
}
|
|
52
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
53
|
+
opacity: 0.5;
|
|
54
|
+
}
|
|
55
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
56
|
+
opacity: 0.5;
|
|
57
|
+
}
|
|
58
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
59
|
+
opacity: 0.5;
|
|
60
|
+
}
|
|
61
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
62
|
+
background-color: #aeb7e2;
|
|
63
|
+
}
|
|
64
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
65
|
+
stroke: #181c56;
|
|
66
|
+
}
|
|
67
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
68
|
+
fill: #181c56;
|
|
69
|
+
}
|
|
70
|
+
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
71
|
+
border-color: #292b6a;
|
|
72
|
+
background-color: #d1d4e3;
|
|
73
|
+
}
|
|
74
|
+
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
75
|
+
border-color: #b6bee5;
|
|
76
|
+
background-color: rgba(174, 183, 226, 0.2);
|
|
77
|
+
}
|
|
78
|
+
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
79
|
+
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
80
|
+
border-color: transparent;
|
|
81
|
+
background-color: #54568c;
|
|
82
|
+
}
|
|
83
|
+
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
84
|
+
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
85
|
+
background-color: #b6bee5;
|
|
86
|
+
}
|
|
87
|
+
.eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
88
|
+
border-color: #16194d;
|
|
89
|
+
}
|
|
90
|
+
.eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
91
|
+
border-color: #9da5cb;
|
|
92
|
+
}
|
|
93
|
+
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
94
|
+
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
95
|
+
background-color: #16194d;
|
|
96
|
+
}
|
|
97
|
+
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
98
|
+
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
99
|
+
background-color: #9da5cb;
|
|
100
|
+
}
|
|
101
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
102
|
+
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
103
|
+
outline: none;
|
|
104
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
105
|
+
outline-offset: 0.125rem;
|
|
106
|
+
}
|
|
107
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
108
|
+
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
109
|
+
outline: none;
|
|
110
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
111
|
+
outline-offset: 0.125rem;
|
|
112
|
+
}
|
|
113
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
114
|
+
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
115
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
116
|
+
}
|
|
117
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
118
|
+
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
119
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
120
|
+
}
|
|
121
|
+
.eds-checkbox--disabled {
|
|
122
|
+
pointer-events: none;
|
|
123
|
+
}
|
|
124
|
+
.eds-checkbox--disabled .eds-checkbox__label {
|
|
125
|
+
opacity: 0.5;
|
|
126
|
+
}
|
|
127
|
+
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
}
|
|
130
|
+
.eds-checkbox__icon {
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
align-items: center;
|
|
135
|
+
position: relative;
|
|
136
|
+
margin-right: 1rem;
|
|
137
|
+
height: 1.25rem;
|
|
138
|
+
width: 1.25rem;
|
|
139
|
+
border: 0.125rem solid #181c56;
|
|
140
|
+
border-radius: 0.125rem;
|
|
141
|
+
background-color: transparent;
|
|
142
|
+
color: #ffffff;
|
|
143
|
+
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
144
|
+
}
|
|
145
|
+
.eds-checkbox__icon--reduced-click-area {
|
|
146
|
+
margin-right: 0;
|
|
147
|
+
}
|
|
148
|
+
.eds-contrast .eds-checkbox__icon {
|
|
149
|
+
border-color: #aeb7e2;
|
|
150
|
+
}
|
|
151
|
+
.eds-checkbox__icon .eds-checkbox-icon {
|
|
152
|
+
height: 1rem;
|
|
153
|
+
width: 1rem;
|
|
154
|
+
visibility: hidden;
|
|
155
|
+
}
|
|
156
|
+
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
157
|
+
transform-origin: 50% 50%;
|
|
158
|
+
stroke-dasharray: 48;
|
|
159
|
+
stroke-dashoffset: 48;
|
|
160
|
+
stroke-width: 0.375rem;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@keyframes stroke {
|
|
164
|
+
100% {
|
|
165
|
+
stroke-dashoffset: 0;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
/* DO NOT CHANGE!*/
|
|
169
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
170
|
+
.eds-feedback-text {
|
|
171
|
+
display: flex;
|
|
172
|
+
align-items: center;
|
|
173
|
+
margin-top: 0.25rem;
|
|
174
|
+
}
|
|
175
|
+
.eds-feedback-text--info {
|
|
176
|
+
padding-left: calc(1rem + 0.125rem);
|
|
177
|
+
}
|
|
178
|
+
.eds-feedback-text__text {
|
|
179
|
+
color: #181c56;
|
|
180
|
+
}
|
|
181
|
+
.eds-contrast .eds-feedback-text__text {
|
|
182
|
+
color: #ffffff;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.eds-feedback-text__icon {
|
|
186
|
+
font-size: 1.5rem;
|
|
187
|
+
min-height: 1.5rem;
|
|
188
|
+
min-width: 1.5rem;
|
|
189
|
+
padding-right: 0.5rem;
|
|
190
|
+
position: relative;
|
|
191
|
+
top: -0.1rem;
|
|
192
|
+
}
|
|
193
|
+
.eds-feedback-text__icon--success {
|
|
194
|
+
color: #1a8e60;
|
|
195
|
+
}
|
|
196
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
197
|
+
color: #5ac39a;
|
|
198
|
+
}
|
|
199
|
+
.eds-feedback-text__icon--error {
|
|
200
|
+
color: #d31b1b;
|
|
201
|
+
}
|
|
202
|
+
.eds-contrast .eds-feedback-text__icon--error {
|
|
203
|
+
color: #ff9494;
|
|
204
|
+
}
|
|
205
|
+
.eds-feedback-text__icon--info {
|
|
206
|
+
color: #0082b9;
|
|
207
|
+
}
|
|
208
|
+
.eds-contrast .eds-feedback-text__icon--info {
|
|
209
|
+
color: #64b3e7;
|
|
210
|
+
}
|
|
211
|
+
.eds-feedback-text__icon--warning {
|
|
212
|
+
color: #ffca28;
|
|
213
|
+
}
|
|
214
|
+
.eds-feedback-text__icon--warning circle {
|
|
215
|
+
fill: #181c56;
|
|
216
|
+
}
|
|
217
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
218
|
+
color: #ffe082;
|
|
219
|
+
}
|
|
1
220
|
/* DO NOT CHANGE!*/
|
|
2
221
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
222
|
.eds-form-control-wrapper {
|
|
@@ -240,225 +459,6 @@
|
|
|
240
459
|
.eds-form-control__append {
|
|
241
460
|
margin-left: 0;
|
|
242
461
|
}
|
|
243
|
-
.eds-fieldset {
|
|
244
|
-
margin: 0;
|
|
245
|
-
padding: 0;
|
|
246
|
-
border: 0;
|
|
247
|
-
}
|
|
248
|
-
/* DO NOT CHANGE!*/
|
|
249
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
250
|
-
.eds-checkbox__container {
|
|
251
|
-
display: flex;
|
|
252
|
-
align-items: center;
|
|
253
|
-
position: relative;
|
|
254
|
-
-webkit-appearance: none;
|
|
255
|
-
-moz-appearance: none;
|
|
256
|
-
appearance: none;
|
|
257
|
-
cursor: pointer;
|
|
258
|
-
-webkit-user-select: none;
|
|
259
|
-
-moz-user-select: none;
|
|
260
|
-
user-select: none;
|
|
261
|
-
width: -moz-fit-content;
|
|
262
|
-
width: fit-content;
|
|
263
|
-
margin: 0.5rem 0;
|
|
264
|
-
}
|
|
265
|
-
.eds-checkbox__container--reduced-click-area {
|
|
266
|
-
height: -moz-fit-content;
|
|
267
|
-
height: fit-content;
|
|
268
|
-
}
|
|
269
|
-
.eds-checkbox__container input {
|
|
270
|
-
position: absolute;
|
|
271
|
-
opacity: 0;
|
|
272
|
-
height: 0;
|
|
273
|
-
width: 0;
|
|
274
|
-
}
|
|
275
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
276
|
-
background-color: #181c56;
|
|
277
|
-
}
|
|
278
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
279
|
-
visibility: visible;
|
|
280
|
-
}
|
|
281
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
282
|
-
stroke: #ffffff;
|
|
283
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
284
|
-
}
|
|
285
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
286
|
-
fill: #ffffff;
|
|
287
|
-
}
|
|
288
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
289
|
-
opacity: 0.5;
|
|
290
|
-
}
|
|
291
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
292
|
-
opacity: 0.5;
|
|
293
|
-
}
|
|
294
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
295
|
-
opacity: 0.5;
|
|
296
|
-
}
|
|
297
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
298
|
-
opacity: 0.5;
|
|
299
|
-
}
|
|
300
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
301
|
-
opacity: 0.5;
|
|
302
|
-
}
|
|
303
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
304
|
-
background-color: #aeb7e2;
|
|
305
|
-
}
|
|
306
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
307
|
-
stroke: #181c56;
|
|
308
|
-
}
|
|
309
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
310
|
-
fill: #181c56;
|
|
311
|
-
}
|
|
312
|
-
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
313
|
-
border-color: #292b6a;
|
|
314
|
-
background-color: #d1d4e3;
|
|
315
|
-
}
|
|
316
|
-
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
317
|
-
border-color: #b6bee5;
|
|
318
|
-
background-color: rgba(174, 183, 226, 0.2);
|
|
319
|
-
}
|
|
320
|
-
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
321
|
-
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
322
|
-
border-color: transparent;
|
|
323
|
-
background-color: #54568c;
|
|
324
|
-
}
|
|
325
|
-
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
326
|
-
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
327
|
-
background-color: #b6bee5;
|
|
328
|
-
}
|
|
329
|
-
.eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
330
|
-
border-color: #16194d;
|
|
331
|
-
}
|
|
332
|
-
.eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
333
|
-
border-color: #9da5cb;
|
|
334
|
-
}
|
|
335
|
-
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
336
|
-
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
337
|
-
background-color: #16194d;
|
|
338
|
-
}
|
|
339
|
-
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
340
|
-
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
341
|
-
background-color: #9da5cb;
|
|
342
|
-
}
|
|
343
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
344
|
-
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
345
|
-
outline: none;
|
|
346
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
347
|
-
outline-offset: 0.125rem;
|
|
348
|
-
}
|
|
349
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
350
|
-
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
351
|
-
outline: none;
|
|
352
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
353
|
-
outline-offset: 0.125rem;
|
|
354
|
-
}
|
|
355
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
356
|
-
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
357
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
358
|
-
}
|
|
359
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
360
|
-
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
361
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
362
|
-
}
|
|
363
|
-
.eds-checkbox--disabled {
|
|
364
|
-
pointer-events: none;
|
|
365
|
-
}
|
|
366
|
-
.eds-checkbox--disabled .eds-checkbox__label {
|
|
367
|
-
opacity: 0.5;
|
|
368
|
-
}
|
|
369
|
-
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
370
|
-
opacity: 0.5;
|
|
371
|
-
}
|
|
372
|
-
.eds-checkbox__icon {
|
|
373
|
-
box-sizing: border-box;
|
|
374
|
-
display: inline-flex;
|
|
375
|
-
justify-content: center;
|
|
376
|
-
align-items: center;
|
|
377
|
-
position: relative;
|
|
378
|
-
margin-right: 1rem;
|
|
379
|
-
height: 1.25rem;
|
|
380
|
-
width: 1.25rem;
|
|
381
|
-
border: 0.125rem solid #181c56;
|
|
382
|
-
border-radius: 0.125rem;
|
|
383
|
-
background-color: transparent;
|
|
384
|
-
color: #ffffff;
|
|
385
|
-
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
386
|
-
}
|
|
387
|
-
.eds-checkbox__icon--reduced-click-area {
|
|
388
|
-
margin-right: 0;
|
|
389
|
-
}
|
|
390
|
-
.eds-contrast .eds-checkbox__icon {
|
|
391
|
-
border-color: #aeb7e2;
|
|
392
|
-
}
|
|
393
|
-
.eds-checkbox__icon .eds-checkbox-icon {
|
|
394
|
-
height: 1rem;
|
|
395
|
-
width: 1rem;
|
|
396
|
-
visibility: hidden;
|
|
397
|
-
}
|
|
398
|
-
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
399
|
-
transform-origin: 50% 50%;
|
|
400
|
-
stroke-dasharray: 48;
|
|
401
|
-
stroke-dashoffset: 48;
|
|
402
|
-
stroke-width: 0.375rem;
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
@keyframes stroke {
|
|
406
|
-
100% {
|
|
407
|
-
stroke-dashoffset: 0;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
/* DO NOT CHANGE!*/
|
|
411
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
412
|
-
.eds-feedback-text {
|
|
413
|
-
display: flex;
|
|
414
|
-
align-items: center;
|
|
415
|
-
margin-top: 0.25rem;
|
|
416
|
-
}
|
|
417
|
-
.eds-feedback-text--info {
|
|
418
|
-
padding-left: calc(1rem + 0.125rem);
|
|
419
|
-
}
|
|
420
|
-
.eds-feedback-text__text {
|
|
421
|
-
color: #181c56;
|
|
422
|
-
}
|
|
423
|
-
.eds-contrast .eds-feedback-text__text {
|
|
424
|
-
color: #ffffff;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
.eds-feedback-text__icon {
|
|
428
|
-
font-size: 1.5rem;
|
|
429
|
-
min-height: 1.5rem;
|
|
430
|
-
min-width: 1.5rem;
|
|
431
|
-
padding-right: 0.5rem;
|
|
432
|
-
position: relative;
|
|
433
|
-
top: -0.1rem;
|
|
434
|
-
}
|
|
435
|
-
.eds-feedback-text__icon--success {
|
|
436
|
-
color: #1a8e60;
|
|
437
|
-
}
|
|
438
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
439
|
-
color: #5ac39a;
|
|
440
|
-
}
|
|
441
|
-
.eds-feedback-text__icon--error {
|
|
442
|
-
color: #d31b1b;
|
|
443
|
-
}
|
|
444
|
-
.eds-contrast .eds-feedback-text__icon--error {
|
|
445
|
-
color: #ff9494;
|
|
446
|
-
}
|
|
447
|
-
.eds-feedback-text__icon--info {
|
|
448
|
-
color: #0082b9;
|
|
449
|
-
}
|
|
450
|
-
.eds-contrast .eds-feedback-text__icon--info {
|
|
451
|
-
color: #64b3e7;
|
|
452
|
-
}
|
|
453
|
-
.eds-feedback-text__icon--warning {
|
|
454
|
-
color: #ffca28;
|
|
455
|
-
}
|
|
456
|
-
.eds-feedback-text__icon--warning circle {
|
|
457
|
-
fill: #181c56;
|
|
458
|
-
}
|
|
459
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
460
|
-
color: #ffe082;
|
|
461
|
-
}
|
|
462
462
|
/* DO NOT CHANGE!*/
|
|
463
463
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
464
464
|
.eds-input-group {
|
|
@@ -1008,17 +1008,6 @@ textarea.eds-form-control.eds-textarea {
|
|
|
1008
1008
|
}
|
|
1009
1009
|
/* DO NOT CHANGE!*/
|
|
1010
1010
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1011
|
-
.eds-segmented-control {
|
|
1012
|
-
margin-top: 0.25rem;
|
|
1013
|
-
display: flex;
|
|
1014
|
-
background: #d1d4e3;
|
|
1015
|
-
border-radius: 0.5rem;
|
|
1016
|
-
}
|
|
1017
|
-
.eds-contrast .eds-segmented-control {
|
|
1018
|
-
background: #393d79;
|
|
1019
|
-
}
|
|
1020
|
-
/* DO NOT CHANGE!*/
|
|
1021
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1022
1011
|
.eds-segmented-choice {
|
|
1023
1012
|
display: block;
|
|
1024
1013
|
flex: 1 1 0px;
|
|
@@ -1088,6 +1077,17 @@ textarea.eds-form-control.eds-textarea {
|
|
|
1088
1077
|
.eds-contrast .eds-segmented-choice input:focus:checked + .eds-base-segmented {
|
|
1089
1078
|
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121), inset 0 0 0 0.0625rem #ffffff, inset 0 0 0 calc(0.125rem + 0.0625rem) #181c56;
|
|
1090
1079
|
}
|
|
1080
|
+
/* DO NOT CHANGE!*/
|
|
1081
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1082
|
+
.eds-segmented-control {
|
|
1083
|
+
margin-top: 0.25rem;
|
|
1084
|
+
display: flex;
|
|
1085
|
+
background: #d1d4e3;
|
|
1086
|
+
border-radius: 0.5rem;
|
|
1087
|
+
}
|
|
1088
|
+
.eds-contrast .eds-segmented-control {
|
|
1089
|
+
background: #393d79;
|
|
1090
|
+
}
|
|
1091
1091
|
:root {
|
|
1092
1092
|
--eds-form: 1;
|
|
1093
1093
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.25",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^6.11.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/tooltip": "^2.6.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/icons": "^6.11.2",
|
|
31
|
+
"@entur/tokens": "^3.11.0",
|
|
32
|
+
"@entur/tooltip": "^2.6.34",
|
|
33
|
+
"@entur/typography": "^1.8.15",
|
|
34
34
|
"@entur/utils": "^0.9.5",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "cd8bd67e916e644093ba1390154ccc96fa6f048f"
|
|
38
38
|
}
|