@entur/form 5.3.9 → 5.3.10
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/CHANGELOG.md +4 -0
- package/dist/styles.css +524 -524
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.9...@entur/form@5.3.10) (2022-08-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/form
|
|
9
|
+
|
|
6
10
|
## [5.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.8...@entur/form@5.3.9) (2022-07-05)
|
|
7
11
|
|
|
8
12
|
### Bug Fixes
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
--eds-form: 1;
|
|
3
3
|
}/* DO NOT CHANGE!*/
|
|
4
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
|
+
textarea.eds-form-control.eds-textarea {
|
|
6
|
+
min-height: 7.75rem;
|
|
7
|
+
resize: vertical;
|
|
8
|
+
line-height: 1.5rem;
|
|
9
|
+
}/* DO NOT CHANGE!*/
|
|
10
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
11
|
+
.eds-fieldset {
|
|
12
|
+
margin: 0;
|
|
13
|
+
padding: 0;
|
|
14
|
+
border: 0;
|
|
15
|
+
}
|
|
16
|
+
.eds-fieldset .eds-legend {
|
|
17
|
+
margin: 0 0 0.5rem;
|
|
18
|
+
}/* DO NOT CHANGE!*/
|
|
19
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
20
|
.eds-feedback-text {
|
|
6
21
|
display: flex;
|
|
7
22
|
align-items: center;
|
|
@@ -53,6 +68,95 @@
|
|
|
53
68
|
color: #ffe082;
|
|
54
69
|
}/* DO NOT CHANGE!*/
|
|
55
70
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
71
|
+
.eds-form-component--radio__container {
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
position: relative;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
height: 2rem;
|
|
78
|
+
width: -webkit-fit-content;
|
|
79
|
+
width: -moz-fit-content;
|
|
80
|
+
width: fit-content;
|
|
81
|
+
-webkit-user-select: none;
|
|
82
|
+
-moz-user-select: none;
|
|
83
|
+
-ms-user-select: none;
|
|
84
|
+
user-select: none;
|
|
85
|
+
}
|
|
86
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
87
|
+
border-color: #54568c;
|
|
88
|
+
}
|
|
89
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
90
|
+
background-color: #54568c;
|
|
91
|
+
}
|
|
92
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
93
|
+
border-color: #8285a8;
|
|
94
|
+
}
|
|
95
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
96
|
+
background-color: #8285a8;
|
|
97
|
+
}
|
|
98
|
+
.eds-form-component--radio__container input {
|
|
99
|
+
position: absolute;
|
|
100
|
+
opacity: 0;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
height: 0;
|
|
103
|
+
width: 0;
|
|
104
|
+
}
|
|
105
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
106
|
+
height: 0.625rem;
|
|
107
|
+
width: 0.625rem;
|
|
108
|
+
}
|
|
109
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
110
|
+
outline: none;
|
|
111
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
112
|
+
outline-offset: 0.125rem;
|
|
113
|
+
}
|
|
114
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
115
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
116
|
+
}
|
|
117
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
118
|
+
position: relative;
|
|
119
|
+
height: 1.25rem;
|
|
120
|
+
width: 1.25rem;
|
|
121
|
+
margin-right: 1rem;
|
|
122
|
+
background-color: #ffffff;
|
|
123
|
+
border: 0.125rem solid #181c56;
|
|
124
|
+
border-radius: 50%;
|
|
125
|
+
display: flex;
|
|
126
|
+
align-items: center;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
}
|
|
129
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
130
|
+
background-color: #181c56;
|
|
131
|
+
border-color: #aeb7e2;
|
|
132
|
+
}
|
|
133
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
134
|
+
background: #d1d3d3;
|
|
135
|
+
border-color: #d1d3d3;
|
|
136
|
+
cursor: not-allowed;
|
|
137
|
+
}
|
|
138
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
139
|
+
border-color: #d1d3d3;
|
|
140
|
+
}
|
|
141
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
142
|
+
background: #d1d3d3;
|
|
143
|
+
border-color: #d1d3d3;
|
|
144
|
+
}
|
|
145
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
146
|
+
color: #656782;
|
|
147
|
+
}
|
|
148
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
149
|
+
display: block;
|
|
150
|
+
width: 0;
|
|
151
|
+
height: 0;
|
|
152
|
+
border-radius: 50%;
|
|
153
|
+
background-color: #181c56;
|
|
154
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
155
|
+
}
|
|
156
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
157
|
+
background-color: #aeb7e2;
|
|
158
|
+
}/* DO NOT CHANGE!*/
|
|
159
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
56
160
|
.eds-checkbox__container {
|
|
57
161
|
display: flex;
|
|
58
162
|
align-items: center;
|
|
@@ -191,275 +295,264 @@
|
|
|
191
295
|
}
|
|
192
296
|
}/* DO NOT CHANGE!*/
|
|
193
297
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
194
|
-
.eds-
|
|
195
|
-
|
|
196
|
-
|
|
298
|
+
.eds-switch {
|
|
299
|
+
cursor: pointer;
|
|
300
|
+
-webkit-user-select: none;
|
|
301
|
+
-moz-user-select: none;
|
|
302
|
+
-ms-user-select: none;
|
|
303
|
+
user-select: none;
|
|
304
|
+
padding: 0.5rem 0;
|
|
305
|
+
width: -webkit-fit-content;
|
|
306
|
+
width: -moz-fit-content;
|
|
307
|
+
width: fit-content;
|
|
308
|
+
}
|
|
309
|
+
.eds-switch input {
|
|
310
|
+
opacity: 0;
|
|
311
|
+
pointer-events: none;
|
|
312
|
+
position: absolute;
|
|
313
|
+
}
|
|
314
|
+
.eds-switch--right {
|
|
315
|
+
display: flex;
|
|
316
|
+
flex-direction: row;
|
|
197
317
|
align-items: center;
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
border: 0.125rem solid #d1d3d3;
|
|
201
|
-
box-shadow: 0 0 0 transparent;
|
|
202
|
-
color: #181c56;
|
|
318
|
+
}
|
|
319
|
+
.eds-switch--bottom {
|
|
203
320
|
display: flex;
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
min-height: 3rem;
|
|
207
|
-
transition: border-color 0.1s ease-in-out;
|
|
208
|
-
--textarea-label-background: $colors-brand-white;
|
|
209
|
-
/*
|
|
210
|
-
Some input controls require a darker design while inside a contrast block.
|
|
211
|
-
These elements require the `--dark` modifier, even on the wrapper.
|
|
212
|
-
*/
|
|
321
|
+
flex-direction: column;
|
|
322
|
+
align-items: center;
|
|
213
323
|
}
|
|
214
|
-
.eds-
|
|
215
|
-
|
|
324
|
+
.eds-switch__circle {
|
|
325
|
+
border-radius: 50%;
|
|
326
|
+
height: 1.25rem;
|
|
327
|
+
width: 1.25rem;
|
|
328
|
+
content: "";
|
|
329
|
+
display: flex;
|
|
330
|
+
align-items: center;
|
|
331
|
+
justify-content: center;
|
|
332
|
+
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
333
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
216
334
|
background-color: #ffffff;
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
border-color: #181c56;
|
|
335
|
+
top: 0.125rem;
|
|
336
|
+
left: 0.125rem;
|
|
337
|
+
position: relative;
|
|
221
338
|
}
|
|
222
|
-
.eds-
|
|
223
|
-
|
|
339
|
+
.eds-switch__switch--large .eds-switch__circle {
|
|
340
|
+
height: 1.75rem;
|
|
341
|
+
width: 1.75rem;
|
|
224
342
|
}
|
|
225
|
-
.eds-
|
|
226
|
-
|
|
227
|
-
|
|
343
|
+
.eds-switch .eds-switch__switch svg g,
|
|
344
|
+
.eds-switch .eds-switch__switch path {
|
|
345
|
+
fill: #949494;
|
|
346
|
+
transition: fill ease-in-out 0.1s;
|
|
228
347
|
}
|
|
229
|
-
.eds-
|
|
230
|
-
|
|
348
|
+
.eds-switch__switch {
|
|
349
|
+
position: relative;
|
|
350
|
+
background-color: #d1d3d3;
|
|
351
|
+
content: "";
|
|
352
|
+
display: block;
|
|
353
|
+
transition: background-color 0.1s ease-in-out;
|
|
354
|
+
height: 1.5rem;
|
|
355
|
+
width: 3rem;
|
|
356
|
+
border-radius: 1.5rem;
|
|
231
357
|
}
|
|
232
|
-
.eds-
|
|
233
|
-
|
|
358
|
+
.eds-switch--right .eds-switch__switch {
|
|
359
|
+
margin-right: 0.75rem;
|
|
234
360
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
--border-color: #aeb7e2;
|
|
238
|
-
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
361
|
+
:checked + .eds-switch__switch {
|
|
362
|
+
background-color: var(--eds-switch-color);
|
|
239
363
|
}
|
|
240
|
-
.eds-
|
|
241
|
-
|
|
242
|
-
--border-color: #aeb7e2;
|
|
243
|
-
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
364
|
+
:checked + .eds-switch__switch .eds-switch__circle {
|
|
365
|
+
left: 1.625rem;
|
|
244
366
|
}
|
|
245
|
-
.eds-
|
|
246
|
-
|
|
367
|
+
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
368
|
+
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
369
|
+
fill: var(--eds-switch-color);
|
|
247
370
|
}
|
|
248
|
-
.eds-
|
|
249
|
-
|
|
371
|
+
.eds-contrast :checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
372
|
+
.eds-contrast :checked + .eds-switch__switch .eds-switch__circle path {
|
|
373
|
+
fill: var(--eds-switch-color);
|
|
250
374
|
}
|
|
251
|
-
.eds-
|
|
252
|
-
color:
|
|
375
|
+
.eds-contrast :checked + .eds-switch__switch {
|
|
376
|
+
background-color: var(--eds-switch-contrast-color);
|
|
253
377
|
}
|
|
254
|
-
.eds-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
pointer-events: none;
|
|
378
|
+
:focus + .eds-switch__switch {
|
|
379
|
+
outline: none;
|
|
380
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
381
|
+
outline-offset: 0.125rem;
|
|
259
382
|
}
|
|
260
|
-
.eds-
|
|
261
|
-
|
|
383
|
+
.eds-contrast :focus + .eds-switch__switch {
|
|
384
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
262
385
|
}
|
|
263
|
-
.eds-contrast .eds-
|
|
264
|
-
background: #
|
|
265
|
-
border-color: transparent;
|
|
266
|
-
color: #8285a8;
|
|
386
|
+
.eds-contrast .eds-switch__switch {
|
|
387
|
+
background-color: #54568c;
|
|
267
388
|
}
|
|
268
|
-
.eds-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
border-
|
|
272
|
-
background: #f8f8f8;
|
|
273
|
-
--textarea-label-background: $colors-greys-grey90;
|
|
389
|
+
.eds-switch__switch--large {
|
|
390
|
+
width: 3.75rem;
|
|
391
|
+
height: 2rem;
|
|
392
|
+
border-radius: 3.75rem;
|
|
274
393
|
}
|
|
275
|
-
.eds-
|
|
276
|
-
|
|
277
|
-
--textarea-label-background: $colors-blues-blue10;
|
|
278
|
-
color: #ffffff;
|
|
279
|
-
border-color: transparent;
|
|
394
|
+
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
395
|
+
left: 1.875rem;
|
|
280
396
|
}
|
|
281
|
-
.eds-
|
|
282
|
-
|
|
397
|
+
.eds-switch__label--large--right {
|
|
398
|
+
font-size: 1rem;
|
|
283
399
|
}
|
|
284
|
-
.eds-
|
|
285
|
-
|
|
286
|
-
.eds-form-control-wrapper--size-medium .eds-form-control__prepend {
|
|
287
|
-
font-size: 1rem;
|
|
288
|
-
line-height: 1rem;
|
|
289
|
-
}
|
|
290
|
-
.eds-form-control-wrapper--size-large {
|
|
291
|
-
min-height: 4rem;
|
|
292
|
-
padding: 0 0.5rem;
|
|
293
|
-
}
|
|
294
|
-
.eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
|
|
295
|
-
border-width: 0.25rem;
|
|
296
|
-
}
|
|
297
|
-
.eds-form-control-wrapper--size-large .eds-form-control,
|
|
298
|
-
.eds-form-control-wrapper--size-large .eds-form-control__append,
|
|
299
|
-
.eds-form-control-wrapper--size-large .eds-form-control__prepend {
|
|
300
|
-
font-size: 1.5rem;
|
|
301
|
-
line-height: 2.25rem;
|
|
302
|
-
}
|
|
303
|
-
.eds-form-control-wrapper--success {
|
|
304
|
-
border-color: #1a8e60;
|
|
305
|
-
--border-color: #1a8e60;
|
|
306
|
-
}
|
|
307
|
-
.eds-form-control-wrapper--success:hover {
|
|
308
|
-
border-color: #5ac39a;
|
|
309
|
-
}
|
|
310
|
-
.eds-form-control-wrapper--success[focus-within] {
|
|
311
|
-
border-color: #1a8e60;
|
|
312
|
-
}
|
|
313
|
-
.eds-form-control-wrapper--success:focus-within {
|
|
314
|
-
border-color: #1a8e60;
|
|
315
|
-
}
|
|
316
|
-
.eds-contrast .eds-form-control-wrapper--success {
|
|
317
|
-
border-color: #5ac39a;
|
|
318
|
-
--border-color: #5ac39a;
|
|
400
|
+
.eds-switch__label--large--bottom {
|
|
401
|
+
font-size: 0.875rem;
|
|
319
402
|
}
|
|
320
|
-
.eds-
|
|
321
|
-
|
|
403
|
+
.eds-switch__label--medium--right {
|
|
404
|
+
font-size: 0.875rem;
|
|
322
405
|
}
|
|
323
|
-
.eds-
|
|
324
|
-
|
|
406
|
+
.eds-switch__label--medium--bottom {
|
|
407
|
+
font-size: 0.75rem;
|
|
408
|
+
}/* DO NOT CHANGE!*/
|
|
409
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
410
|
+
.eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
|
|
325
411
|
border-color: #181c56;
|
|
412
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
326
413
|
}
|
|
327
|
-
.eds-
|
|
328
|
-
--border-color: #5ac39a;
|
|
414
|
+
.eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
|
|
329
415
|
border-color: #181c56;
|
|
416
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
330
417
|
}
|
|
331
|
-
.eds-
|
|
332
|
-
border-color: #
|
|
333
|
-
|
|
334
|
-
}
|
|
335
|
-
.eds-form-control-wrapper--error:hover {
|
|
336
|
-
border-color: #ff9494;
|
|
337
|
-
}
|
|
338
|
-
.eds-form-control-wrapper--error[focus-within] {
|
|
339
|
-
border-color: #d31b1b;
|
|
340
|
-
}
|
|
341
|
-
.eds-form-control-wrapper--error:focus-within {
|
|
342
|
-
border-color: #d31b1b;
|
|
418
|
+
.eds-contrast .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
|
|
419
|
+
border-color: #ffffff;
|
|
420
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
343
421
|
}
|
|
344
|
-
.eds-contrast .eds-
|
|
345
|
-
border-color: #
|
|
346
|
-
|
|
422
|
+
.eds-contrast .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
|
|
423
|
+
border-color: #ffffff;
|
|
424
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
347
425
|
}
|
|
348
|
-
.eds-
|
|
349
|
-
|
|
426
|
+
.eds-radio-panel__wrapper input {
|
|
427
|
+
position: absolute;
|
|
428
|
+
opacity: 0;
|
|
429
|
+
cursor: pointer;
|
|
430
|
+
height: 0;
|
|
431
|
+
width: 0;
|
|
350
432
|
}
|
|
351
|
-
.eds-
|
|
433
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
|
|
352
434
|
border-color: #181c56;
|
|
353
|
-
|
|
435
|
+
background: #f5f5f8;
|
|
354
436
|
}
|
|
355
|
-
.eds-contrast .eds-
|
|
356
|
-
border-color: #
|
|
357
|
-
|
|
437
|
+
.eds-contrast .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
|
|
438
|
+
border-color: #aeb7e2;
|
|
439
|
+
background: #393d79;
|
|
358
440
|
}
|
|
359
|
-
.eds-
|
|
441
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check {
|
|
360
442
|
background-color: #181c56;
|
|
361
|
-
color: #
|
|
362
|
-
}
|
|
363
|
-
.eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
|
|
364
|
-
color: #aeb7e2;
|
|
443
|
+
border-color: #181c56;
|
|
365
444
|
}
|
|
366
|
-
.eds-
|
|
367
|
-
|
|
445
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon {
|
|
446
|
+
visibility: visible;
|
|
368
447
|
}
|
|
369
|
-
.eds-
|
|
370
|
-
|
|
448
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon__path {
|
|
449
|
+
stroke: #5ac39a;
|
|
450
|
+
-webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
451
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
371
452
|
}
|
|
372
|
-
.eds-
|
|
373
|
-
|
|
453
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled {
|
|
454
|
+
opacity: 0.5;
|
|
374
455
|
}
|
|
375
|
-
.eds-
|
|
376
|
-
|
|
377
|
-
border-color: #aeb7e2;
|
|
456
|
+
.eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled .eds-checkbox-icon__path {
|
|
457
|
+
opacity: 0.5;
|
|
378
458
|
}
|
|
379
|
-
.eds-
|
|
380
|
-
background
|
|
381
|
-
border
|
|
459
|
+
.eds-radio-panel__container {
|
|
460
|
+
background: #ffffff;
|
|
461
|
+
border: 0.125rem solid #d1d3d3;
|
|
462
|
+
border-radius: 0.25rem;
|
|
463
|
+
display: flex;
|
|
464
|
+
flex-direction: column;
|
|
465
|
+
justify-content: flex-start;
|
|
466
|
+
min-width: 20rem;
|
|
467
|
+
position: relative;
|
|
468
|
+
padding: 1rem;
|
|
469
|
+
-webkit-user-select: none;
|
|
470
|
+
-moz-user-select: none;
|
|
471
|
+
-ms-user-select: none;
|
|
472
|
+
user-select: none;
|
|
473
|
+
width: -webkit-fit-content;
|
|
474
|
+
width: -moz-fit-content;
|
|
475
|
+
width: fit-content;
|
|
382
476
|
}
|
|
383
|
-
.eds-contrast .eds-
|
|
384
|
-
background
|
|
385
|
-
color:
|
|
477
|
+
.eds-contrast .eds-radio-panel__container {
|
|
478
|
+
background: #181c56;
|
|
479
|
+
border-color: #54568c;
|
|
386
480
|
}
|
|
387
|
-
.eds-
|
|
388
|
-
|
|
389
|
-
|
|
481
|
+
.eds-radio-panel__title-wrapper {
|
|
482
|
+
display: flex;
|
|
483
|
+
justify-content: space-between;
|
|
484
|
+
align-items: center;
|
|
390
485
|
}
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
-
|
|
394
|
-
-moz-appearance: none;
|
|
395
|
-
appearance: none;
|
|
396
|
-
background-color: transparent;
|
|
397
|
-
border: 0;
|
|
398
|
-
color: inherit;
|
|
399
|
-
display: block;
|
|
400
|
-
font-family: inherit;
|
|
401
|
-
line-height: 1rem;
|
|
402
|
-
font-size: 1rem;
|
|
403
|
-
padding: 20px 1rem 0.25rem;
|
|
404
|
-
width: 100%;
|
|
486
|
+
.eds-radio-panel__label {
|
|
487
|
+
display: flex;
|
|
488
|
+
justify-content: center;
|
|
405
489
|
}
|
|
406
|
-
.eds-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
490
|
+
.eds-radio-panel__check {
|
|
491
|
+
height: 2rem;
|
|
492
|
+
width: 2rem;
|
|
493
|
+
margin-left: 1rem;
|
|
494
|
+
border-radius: 50%;
|
|
495
|
+
border: 0.125rem solid #e9e9e9;
|
|
496
|
+
display: flex;
|
|
497
|
+
align-items: center;
|
|
498
|
+
justify-content: center;
|
|
499
|
+
background: #ffffff;
|
|
500
|
+
transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
|
|
410
501
|
}
|
|
411
|
-
.eds-
|
|
412
|
-
|
|
413
|
-
-
|
|
414
|
-
transition: opacity 0.2s ease-in-out;
|
|
502
|
+
.eds-contrast .eds-radio-panel__check {
|
|
503
|
+
background: #181c56;
|
|
504
|
+
border-color: #54568c;
|
|
415
505
|
}
|
|
416
|
-
.eds-
|
|
417
|
-
|
|
418
|
-
|
|
506
|
+
.eds-radio-panel__additional-content {
|
|
507
|
+
margin-top: 0.25rem;
|
|
508
|
+
word-wrap: break-word;
|
|
419
509
|
}
|
|
420
|
-
.eds-
|
|
421
|
-
|
|
510
|
+
.eds-radio-panel--medium .eds-radio-panel__title {
|
|
511
|
+
font-size: 1rem;
|
|
512
|
+
font-weight: 500;
|
|
422
513
|
}
|
|
423
|
-
.eds-
|
|
424
|
-
|
|
514
|
+
.eds-radio-panel--medium.eds-radio-panel__container {
|
|
515
|
+
padding-bottom: 1rem;
|
|
516
|
+
min-height: 3.75rem;
|
|
425
517
|
}
|
|
426
|
-
.eds-
|
|
427
|
-
|
|
518
|
+
.eds-radio-panel--large.eds-radio-panel__container {
|
|
519
|
+
min-height: 6.5rem;
|
|
428
520
|
}
|
|
429
|
-
.eds-
|
|
430
|
-
|
|
521
|
+
.eds-radio-panel--large .eds-radio-panel__title-wrapper {
|
|
522
|
+
height: 2rem;
|
|
431
523
|
}
|
|
432
|
-
.eds-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
line-height:
|
|
524
|
+
.eds-radio-panel--large .eds-radio-panel__title {
|
|
525
|
+
font-size: 1.25rem;
|
|
526
|
+
font-weight: 500;
|
|
527
|
+
line-height: 1.875rem;
|
|
436
528
|
}
|
|
437
|
-
.eds-
|
|
438
|
-
|
|
529
|
+
.eds-radio-panel--disabled {
|
|
530
|
+
background: #f3f3f3;
|
|
531
|
+
border-color: #f3f3f3;
|
|
532
|
+
color: #656782;
|
|
439
533
|
}
|
|
440
|
-
.eds-
|
|
441
|
-
|
|
534
|
+
.eds-contrast .eds-radio-panel--disabled {
|
|
535
|
+
background: #181c56;
|
|
536
|
+
border-style: dashed;
|
|
537
|
+
border-color: #54568c;
|
|
538
|
+
color: #babbcf;
|
|
442
539
|
}
|
|
443
|
-
|
|
444
|
-
|
|
540
|
+
|
|
541
|
+
.eds-checkbox-icon {
|
|
542
|
+
width: 1.5em;
|
|
543
|
+
height: 1.5em;
|
|
445
544
|
}
|
|
446
|
-
.eds-
|
|
447
|
-
|
|
545
|
+
.eds-checkbox-icon__path {
|
|
546
|
+
transform-origin: 50% 50%;
|
|
547
|
+
stroke-dasharray: 48;
|
|
548
|
+
stroke-dashoffset: 48;
|
|
549
|
+
stroke-width: 0.375rem;
|
|
448
550
|
}/* DO NOT CHANGE!*/
|
|
449
551
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
450
|
-
.eds-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
}
|
|
455
|
-
.eds-fieldset .eds-legend {
|
|
456
|
-
margin: 0 0 0.5rem;
|
|
457
|
-
}/* DO NOT CHANGE!*/
|
|
458
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
459
|
-
.eds-input-group {
|
|
460
|
-
color: inherit;
|
|
461
|
-
display: block;
|
|
462
|
-
position: relative;
|
|
552
|
+
.eds-input-group {
|
|
553
|
+
color: inherit;
|
|
554
|
+
display: block;
|
|
555
|
+
position: relative;
|
|
463
556
|
}
|
|
464
557
|
.eds-input-group__label {
|
|
465
558
|
color: #656782;
|
|
@@ -582,389 +675,296 @@
|
|
|
582
675
|
margin-left: 1rem;
|
|
583
676
|
}/* DO NOT CHANGE!*/
|
|
584
677
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
line-height: 1.5rem;
|
|
589
|
-
}/* DO NOT CHANGE!*/
|
|
590
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
591
|
-
.eds-textfield__clear-button {
|
|
592
|
-
background: none;
|
|
593
|
-
border: none;
|
|
594
|
-
border-radius: 50%;
|
|
595
|
-
color: inherit;
|
|
596
|
-
cursor: pointer;
|
|
597
|
-
display: flex;
|
|
598
|
-
font: inherit;
|
|
599
|
-
font-size: 1rem;
|
|
600
|
-
line-height: 1rem;
|
|
601
|
-
padding: 0.5rem;
|
|
602
|
-
margin-right: -0.75rem;
|
|
603
|
-
}
|
|
604
|
-
.eds-textfield__clear-button-wrapper {
|
|
605
|
-
display: flex;
|
|
678
|
+
.eds-form-control-wrapper {
|
|
679
|
+
--border-color: #181c56;
|
|
680
|
+
--border-color-hover: #aeb7e2;
|
|
606
681
|
align-items: center;
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
outline: none;
|
|
613
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
.eds-textfield__divider {
|
|
617
|
-
content: "";
|
|
618
|
-
display: block;
|
|
619
|
-
background-color: #e9e9e9;
|
|
620
|
-
height: 1.5rem;
|
|
621
|
-
width: 1px;
|
|
622
|
-
}
|
|
623
|
-
.eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
|
|
624
|
-
background-color: #8285a8;
|
|
625
|
-
}/* DO NOT CHANGE!*/
|
|
626
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
627
|
-
.eds-form-component--radio__container {
|
|
682
|
+
background-color: #ffffff;
|
|
683
|
+
border-radius: 0.25rem;
|
|
684
|
+
border: 0.125rem solid #d1d3d3;
|
|
685
|
+
box-shadow: 0 0 0 transparent;
|
|
686
|
+
color: #181c56;
|
|
628
687
|
display: flex;
|
|
629
|
-
justify-content: center;
|
|
630
|
-
align-items: center;
|
|
631
688
|
position: relative;
|
|
632
|
-
|
|
633
|
-
height:
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
user-select: none;
|
|
689
|
+
width: 100%;
|
|
690
|
+
min-height: 3rem;
|
|
691
|
+
transition: border-color 0.1s ease-in-out;
|
|
692
|
+
--textarea-label-background: $colors-brand-white;
|
|
693
|
+
/*
|
|
694
|
+
Some input controls require a darker design while inside a contrast block.
|
|
695
|
+
These elements require the `--dark` modifier, even on the wrapper.
|
|
696
|
+
*/
|
|
641
697
|
}
|
|
642
|
-
.eds-
|
|
698
|
+
.eds-contrast .eds-form-control-wrapper {
|
|
699
|
+
--border-color: #aeb7e2;
|
|
700
|
+
background-color: #ffffff;
|
|
643
701
|
border-color: #54568c;
|
|
644
702
|
}
|
|
645
|
-
.eds-form-
|
|
646
|
-
|
|
647
|
-
}
|
|
648
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
649
|
-
border-color: #8285a8;
|
|
650
|
-
}
|
|
651
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
652
|
-
background-color: #8285a8;
|
|
703
|
+
.eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
|
|
704
|
+
border-color: #181c56;
|
|
653
705
|
}
|
|
654
|
-
.eds-form-
|
|
655
|
-
|
|
656
|
-
opacity: 0;
|
|
657
|
-
cursor: pointer;
|
|
658
|
-
height: 0;
|
|
659
|
-
width: 0;
|
|
706
|
+
.eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
|
|
707
|
+
border-color: #181c56;
|
|
660
708
|
}
|
|
661
|
-
.eds-
|
|
662
|
-
|
|
663
|
-
|
|
709
|
+
.eds-contrast .eds-form-control-wrapper:hover {
|
|
710
|
+
border-color: #aeb7e2;
|
|
711
|
+
background: #ebebf1;
|
|
664
712
|
}
|
|
665
|
-
.eds-form-
|
|
666
|
-
|
|
667
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
668
|
-
outline-offset: 0.125rem;
|
|
713
|
+
.eds-form-control-wrapper[focus-within] {
|
|
714
|
+
box-shadow: inset 0 0 0 1px var(--border-color);
|
|
669
715
|
}
|
|
670
|
-
.eds-
|
|
671
|
-
box-shadow:
|
|
716
|
+
.eds-form-control-wrapper:focus-within {
|
|
717
|
+
box-shadow: inset 0 0 0 1px var(--border-color);
|
|
672
718
|
}
|
|
673
|
-
.eds-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
margin-right: 1rem;
|
|
678
|
-
background-color: #ffffff;
|
|
679
|
-
border: 0.125rem solid #181c56;
|
|
680
|
-
border-radius: 50%;
|
|
681
|
-
display: flex;
|
|
682
|
-
align-items: center;
|
|
683
|
-
justify-content: center;
|
|
719
|
+
.eds-contrast .eds-form-control-wrapper[focus-within] {
|
|
720
|
+
border-color: #181c56;
|
|
721
|
+
--border-color: #aeb7e2;
|
|
722
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
684
723
|
}
|
|
685
|
-
.eds-contrast .eds-form-
|
|
686
|
-
|
|
687
|
-
border-color: #aeb7e2;
|
|
724
|
+
.eds-contrast .eds-form-control-wrapper:focus-within {
|
|
725
|
+
border-color: #181c56;
|
|
726
|
+
--border-color: #aeb7e2;
|
|
727
|
+
box-shadow: 0 0 0 0.125rem var(--border-color);
|
|
688
728
|
}
|
|
689
|
-
.eds-form-
|
|
690
|
-
|
|
691
|
-
border-color: #d1d3d3;
|
|
692
|
-
cursor: not-allowed;
|
|
729
|
+
.eds-form-control-wrapper ::-moz-placeholder {
|
|
730
|
+
color: #656782;
|
|
693
731
|
}
|
|
694
|
-
.eds-form-
|
|
695
|
-
|
|
732
|
+
.eds-form-control-wrapper :-ms-input-placeholder {
|
|
733
|
+
color: #656782;
|
|
696
734
|
}
|
|
697
|
-
.eds-
|
|
698
|
-
|
|
699
|
-
border-color: #d1d3d3;
|
|
735
|
+
.eds-form-control-wrapper ::placeholder {
|
|
736
|
+
color: #656782;
|
|
700
737
|
}
|
|
701
|
-
.eds-form-
|
|
738
|
+
.eds-form-control-wrapper--disabled {
|
|
739
|
+
background-color: #e9e9e9;
|
|
702
740
|
color: #656782;
|
|
741
|
+
border-color: transparent;
|
|
742
|
+
pointer-events: none;
|
|
703
743
|
}
|
|
704
|
-
.eds-form-
|
|
705
|
-
display:
|
|
706
|
-
width: 0;
|
|
707
|
-
height: 0;
|
|
708
|
-
border-radius: 50%;
|
|
709
|
-
background-color: #181c56;
|
|
710
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
744
|
+
.eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
|
|
745
|
+
display: none;
|
|
711
746
|
}
|
|
712
|
-
.eds-contrast .eds-form-
|
|
713
|
-
background
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
.eds-switch {
|
|
717
|
-
cursor: pointer;
|
|
718
|
-
-webkit-user-select: none;
|
|
719
|
-
-moz-user-select: none;
|
|
720
|
-
-ms-user-select: none;
|
|
721
|
-
user-select: none;
|
|
722
|
-
padding: 0.5rem 0;
|
|
723
|
-
width: -webkit-fit-content;
|
|
724
|
-
width: -moz-fit-content;
|
|
725
|
-
width: fit-content;
|
|
747
|
+
.eds-contrast .eds-form-control-wrapper--disabled {
|
|
748
|
+
background: #292b6a;
|
|
749
|
+
border-color: transparent;
|
|
750
|
+
color: #8285a8;
|
|
726
751
|
}
|
|
727
|
-
.eds-
|
|
728
|
-
opacity: 0;
|
|
752
|
+
.eds-form-control-wrapper--readonly {
|
|
729
753
|
pointer-events: none;
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
flex-direction: row;
|
|
735
|
-
align-items: center;
|
|
754
|
+
cursor: default;
|
|
755
|
+
border-color: transparent;
|
|
756
|
+
background: #f8f8f8;
|
|
757
|
+
--textarea-label-background: $colors-greys-grey90;
|
|
736
758
|
}
|
|
737
|
-
.eds-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
759
|
+
.eds-contrast .eds-form-control-wrapper--readonly {
|
|
760
|
+
background: #292b6a;
|
|
761
|
+
--textarea-label-background: $colors-blues-blue10;
|
|
762
|
+
color: #ffffff;
|
|
763
|
+
border-color: transparent;
|
|
741
764
|
}
|
|
742
|
-
.eds-
|
|
743
|
-
|
|
744
|
-
height: 1.25rem;
|
|
745
|
-
width: 1.25rem;
|
|
746
|
-
content: "";
|
|
747
|
-
display: flex;
|
|
748
|
-
align-items: center;
|
|
749
|
-
justify-content: center;
|
|
750
|
-
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
751
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
752
|
-
background-color: #ffffff;
|
|
753
|
-
top: 0.125rem;
|
|
754
|
-
left: 0.125rem;
|
|
755
|
-
position: relative;
|
|
765
|
+
.eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
|
|
766
|
+
display: none;
|
|
756
767
|
}
|
|
757
|
-
.eds-
|
|
758
|
-
|
|
759
|
-
|
|
768
|
+
.eds-form-control-wrapper--size-medium .eds-form-control,
|
|
769
|
+
.eds-form-control-wrapper--size-medium .eds-form-control__append,
|
|
770
|
+
.eds-form-control-wrapper--size-medium .eds-form-control__prepend {
|
|
771
|
+
font-size: 1rem;
|
|
772
|
+
line-height: 1rem;
|
|
760
773
|
}
|
|
761
|
-
.eds-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
transition: fill ease-in-out 0.1s;
|
|
774
|
+
.eds-form-control-wrapper--size-large {
|
|
775
|
+
min-height: 4rem;
|
|
776
|
+
padding: 0 0.5rem;
|
|
765
777
|
}
|
|
766
|
-
.eds-
|
|
767
|
-
|
|
768
|
-
background-color: #d1d3d3;
|
|
769
|
-
content: "";
|
|
770
|
-
display: block;
|
|
771
|
-
transition: background-color 0.1s ease-in-out;
|
|
772
|
-
height: 1.5rem;
|
|
773
|
-
width: 3rem;
|
|
774
|
-
border-radius: 1.5rem;
|
|
778
|
+
.eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
|
|
779
|
+
border-width: 0.25rem;
|
|
775
780
|
}
|
|
776
|
-
.eds-
|
|
777
|
-
|
|
781
|
+
.eds-form-control-wrapper--size-large .eds-form-control,
|
|
782
|
+
.eds-form-control-wrapper--size-large .eds-form-control__append,
|
|
783
|
+
.eds-form-control-wrapper--size-large .eds-form-control__prepend {
|
|
784
|
+
font-size: 1.5rem;
|
|
785
|
+
line-height: 2.25rem;
|
|
778
786
|
}
|
|
779
|
-
|
|
780
|
-
|
|
787
|
+
.eds-form-control-wrapper--success {
|
|
788
|
+
border-color: #1a8e60;
|
|
789
|
+
--border-color: #1a8e60;
|
|
781
790
|
}
|
|
782
|
-
|
|
783
|
-
|
|
791
|
+
.eds-form-control-wrapper--success:hover {
|
|
792
|
+
border-color: #5ac39a;
|
|
784
793
|
}
|
|
785
|
-
|
|
786
|
-
:
|
|
787
|
-
fill: var(--eds-switch-color);
|
|
794
|
+
.eds-form-control-wrapper--success[focus-within] {
|
|
795
|
+
border-color: #1a8e60;
|
|
788
796
|
}
|
|
789
|
-
.eds-
|
|
790
|
-
|
|
791
|
-
fill: var(--eds-switch-color);
|
|
797
|
+
.eds-form-control-wrapper--success:focus-within {
|
|
798
|
+
border-color: #1a8e60;
|
|
792
799
|
}
|
|
793
|
-
.eds-contrast
|
|
794
|
-
|
|
800
|
+
.eds-contrast .eds-form-control-wrapper--success {
|
|
801
|
+
border-color: #5ac39a;
|
|
802
|
+
--border-color: #5ac39a;
|
|
795
803
|
}
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
799
|
-
outline-offset: 0.125rem;
|
|
804
|
+
.eds-contrast .eds-form-control-wrapper--success:hover {
|
|
805
|
+
border-color: #1a8e60;
|
|
800
806
|
}
|
|
801
|
-
.eds-contrast
|
|
802
|
-
|
|
807
|
+
.eds-contrast .eds-form-control-wrapper--success[focus-within] {
|
|
808
|
+
--border-color: #5ac39a;
|
|
809
|
+
border-color: #181c56;
|
|
803
810
|
}
|
|
804
|
-
.eds-contrast .eds-
|
|
805
|
-
|
|
811
|
+
.eds-contrast .eds-form-control-wrapper--success:focus-within {
|
|
812
|
+
--border-color: #5ac39a;
|
|
813
|
+
border-color: #181c56;
|
|
806
814
|
}
|
|
807
|
-
.eds-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
border-radius: 3.75rem;
|
|
815
|
+
.eds-form-control-wrapper--error {
|
|
816
|
+
border-color: #d31b1b;
|
|
817
|
+
--border-color: #d31b1b;
|
|
811
818
|
}
|
|
812
|
-
|
|
813
|
-
|
|
819
|
+
.eds-form-control-wrapper--error:hover {
|
|
820
|
+
border-color: #ff9494;
|
|
814
821
|
}
|
|
815
|
-
.eds-
|
|
816
|
-
|
|
822
|
+
.eds-form-control-wrapper--error[focus-within] {
|
|
823
|
+
border-color: #d31b1b;
|
|
817
824
|
}
|
|
818
|
-
.eds-
|
|
819
|
-
|
|
825
|
+
.eds-form-control-wrapper--error:focus-within {
|
|
826
|
+
border-color: #d31b1b;
|
|
820
827
|
}
|
|
821
|
-
.eds-
|
|
822
|
-
|
|
828
|
+
.eds-contrast .eds-form-control-wrapper--error {
|
|
829
|
+
border-color: #ff9494;
|
|
830
|
+
--border-color: #ff9494;
|
|
823
831
|
}
|
|
824
|
-
.eds-
|
|
825
|
-
|
|
826
|
-
}
|
|
827
|
-
|
|
828
|
-
.eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
|
|
832
|
+
.eds-contrast .eds-form-control-wrapper--error:hover {
|
|
833
|
+
border-color: #d31b1b;
|
|
834
|
+
}
|
|
835
|
+
.eds-contrast .eds-form-control-wrapper--error[focus-within] {
|
|
829
836
|
border-color: #181c56;
|
|
830
|
-
|
|
837
|
+
--border-color: #ff9494;
|
|
831
838
|
}
|
|
832
|
-
.eds-
|
|
839
|
+
.eds-contrast .eds-form-control-wrapper--error:focus-within {
|
|
833
840
|
border-color: #181c56;
|
|
834
|
-
|
|
841
|
+
--border-color: #ff9494;
|
|
835
842
|
}
|
|
836
|
-
.eds-contrast .eds-
|
|
837
|
-
|
|
838
|
-
|
|
843
|
+
.eds-contrast .eds-form-control-wrapper--dark {
|
|
844
|
+
background-color: #181c56;
|
|
845
|
+
color: #ffffff;
|
|
839
846
|
}
|
|
840
|
-
.eds-contrast .eds-
|
|
841
|
-
|
|
842
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
847
|
+
.eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
|
|
848
|
+
color: #aeb7e2;
|
|
843
849
|
}
|
|
844
|
-
.eds-
|
|
845
|
-
|
|
846
|
-
opacity: 0;
|
|
847
|
-
cursor: pointer;
|
|
848
|
-
height: 0;
|
|
849
|
-
width: 0;
|
|
850
|
+
.eds-contrast .eds-form-control-wrapper--dark :-ms-input-placeholder {
|
|
851
|
+
color: #aeb7e2;
|
|
850
852
|
}
|
|
851
|
-
.eds-
|
|
852
|
-
|
|
853
|
-
background: #f5f5f8;
|
|
853
|
+
.eds-contrast .eds-form-control-wrapper--dark ::placeholder {
|
|
854
|
+
color: #aeb7e2;
|
|
854
855
|
}
|
|
855
|
-
.eds-contrast .eds-
|
|
856
|
+
.eds-contrast .eds-form-control-wrapper--dark:hover {
|
|
856
857
|
border-color: #aeb7e2;
|
|
857
|
-
background: #393d79;
|
|
858
858
|
}
|
|
859
|
-
.eds-
|
|
860
|
-
background-color: #
|
|
861
|
-
border-color: #
|
|
859
|
+
.eds-contrast .eds-form-control-wrapper--dark[focus-within] {
|
|
860
|
+
background-color: #292b6a;
|
|
861
|
+
border-color: #aeb7e2;
|
|
862
862
|
}
|
|
863
|
-
.eds-
|
|
864
|
-
|
|
863
|
+
.eds-contrast .eds-form-control-wrapper--dark:focus-within {
|
|
864
|
+
background-color: #292b6a;
|
|
865
|
+
border-color: #aeb7e2;
|
|
865
866
|
}
|
|
866
|
-
.eds-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
867
|
+
.eds-contrast .eds-form-control-wrapper--dark * {
|
|
868
|
+
background-color: transparent;
|
|
869
|
+
color: inherit;
|
|
870
870
|
}
|
|
871
|
-
.eds-
|
|
872
|
-
|
|
871
|
+
.eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
|
|
872
|
+
background-color: #292b6a;
|
|
873
|
+
color: #8285a8;
|
|
873
874
|
}
|
|
874
|
-
|
|
875
|
-
|
|
875
|
+
|
|
876
|
+
.eds-form-control {
|
|
877
|
+
-webkit-appearance: none;
|
|
878
|
+
-moz-appearance: none;
|
|
879
|
+
appearance: none;
|
|
880
|
+
background-color: transparent;
|
|
881
|
+
border: 0;
|
|
882
|
+
color: inherit;
|
|
883
|
+
display: block;
|
|
884
|
+
font-family: inherit;
|
|
885
|
+
line-height: 1rem;
|
|
886
|
+
font-size: 1rem;
|
|
887
|
+
padding: 20px 1rem 0.25rem;
|
|
888
|
+
width: 100%;
|
|
876
889
|
}
|
|
877
|
-
.eds-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
display: flex;
|
|
882
|
-
flex-direction: column;
|
|
883
|
-
justify-content: flex-start;
|
|
884
|
-
min-width: 20rem;
|
|
885
|
-
position: relative;
|
|
886
|
-
padding: 1rem;
|
|
887
|
-
-webkit-user-select: none;
|
|
888
|
-
-moz-user-select: none;
|
|
889
|
-
-ms-user-select: none;
|
|
890
|
-
user-select: none;
|
|
891
|
-
width: -webkit-fit-content;
|
|
892
|
-
width: -moz-fit-content;
|
|
893
|
-
width: fit-content;
|
|
890
|
+
.eds-form-control::-moz-placeholder {
|
|
891
|
+
opacity: 0;
|
|
892
|
+
-moz-transition: opacity 0.2s ease-in-out;
|
|
893
|
+
transition: opacity 0.2s ease-in-out;
|
|
894
894
|
}
|
|
895
|
-
.eds-
|
|
896
|
-
|
|
897
|
-
|
|
895
|
+
.eds-form-control:-ms-input-placeholder {
|
|
896
|
+
opacity: 0;
|
|
897
|
+
-ms-transition: opacity 0.2s ease-in-out;
|
|
898
|
+
transition: opacity 0.2s ease-in-out;
|
|
898
899
|
}
|
|
899
|
-
.eds-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
align-items: center;
|
|
900
|
+
.eds-form-control::placeholder {
|
|
901
|
+
opacity: 0;
|
|
902
|
+
transition: opacity 0.2s ease-in-out;
|
|
903
903
|
}
|
|
904
|
-
.eds-
|
|
905
|
-
|
|
906
|
-
justify-content: center;
|
|
904
|
+
.eds-form-control:focus {
|
|
905
|
+
outline: none;
|
|
907
906
|
}
|
|
908
|
-
.eds-
|
|
909
|
-
|
|
910
|
-
width: 2rem;
|
|
911
|
-
margin-left: 1rem;
|
|
912
|
-
border-radius: 50%;
|
|
913
|
-
border: 0.125rem solid #e9e9e9;
|
|
914
|
-
display: flex;
|
|
915
|
-
align-items: center;
|
|
916
|
-
justify-content: center;
|
|
917
|
-
background: #ffffff;
|
|
918
|
-
transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
|
|
907
|
+
.eds-form-control:focus::-moz-placeholder {
|
|
908
|
+
opacity: 1;
|
|
919
909
|
}
|
|
920
|
-
.eds-
|
|
921
|
-
|
|
922
|
-
border-color: #54568c;
|
|
910
|
+
.eds-form-control:focus:-ms-input-placeholder {
|
|
911
|
+
opacity: 1;
|
|
923
912
|
}
|
|
924
|
-
.eds-
|
|
925
|
-
|
|
926
|
-
word-wrap: break-word;
|
|
913
|
+
.eds-form-control:focus::placeholder {
|
|
914
|
+
opacity: 1;
|
|
927
915
|
}
|
|
928
|
-
.eds-
|
|
929
|
-
|
|
930
|
-
|
|
916
|
+
.eds-form-control__prepend, .eds-form-control__append {
|
|
917
|
+
position: relative;
|
|
918
|
+
margin: 0 1rem;
|
|
919
|
+
line-height: inherit;
|
|
931
920
|
}
|
|
932
|
-
.eds-
|
|
933
|
-
|
|
934
|
-
min-height: 3.75rem;
|
|
921
|
+
.eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
|
|
922
|
+
position: static;
|
|
935
923
|
}
|
|
936
|
-
.eds-
|
|
937
|
-
|
|
924
|
+
.eds-form-control__prepend svg, .eds-form-control__append svg {
|
|
925
|
+
top: 0.125rem;
|
|
938
926
|
}
|
|
939
|
-
.eds-
|
|
940
|
-
|
|
927
|
+
.eds-form-control__prepend {
|
|
928
|
+
margin-right: 0;
|
|
941
929
|
}
|
|
942
|
-
.eds-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
930
|
+
.eds-form-control__append {
|
|
931
|
+
margin-left: 0;
|
|
932
|
+
}/* DO NOT CHANGE!*/
|
|
933
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
934
|
+
.eds-textfield__clear-button {
|
|
935
|
+
background: none;
|
|
936
|
+
border: none;
|
|
937
|
+
border-radius: 50%;
|
|
938
|
+
color: inherit;
|
|
939
|
+
cursor: pointer;
|
|
940
|
+
display: flex;
|
|
941
|
+
font: inherit;
|
|
942
|
+
font-size: 1rem;
|
|
943
|
+
line-height: 1rem;
|
|
944
|
+
padding: 0.5rem;
|
|
945
|
+
margin-right: -0.75rem;
|
|
946
946
|
}
|
|
947
|
-
.eds-
|
|
947
|
+
.eds-textfield__clear-button-wrapper {
|
|
948
|
+
display: flex;
|
|
949
|
+
align-items: center;
|
|
950
|
+
}
|
|
951
|
+
.eds-textfield__clear-button:hover {
|
|
948
952
|
background: #f3f3f3;
|
|
949
|
-
border-color: #f3f3f3;
|
|
950
|
-
color: #656782;
|
|
951
953
|
}
|
|
952
|
-
.eds-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
border-color: #54568c;
|
|
956
|
-
color: #babbcf;
|
|
954
|
+
.eds-textfield__clear-button:focus {
|
|
955
|
+
outline: none;
|
|
956
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
957
957
|
}
|
|
958
958
|
|
|
959
|
-
.eds-
|
|
960
|
-
|
|
961
|
-
|
|
959
|
+
.eds-textfield__divider {
|
|
960
|
+
content: "";
|
|
961
|
+
display: block;
|
|
962
|
+
background-color: #e9e9e9;
|
|
963
|
+
height: 1.5rem;
|
|
964
|
+
width: 1px;
|
|
962
965
|
}
|
|
963
|
-
.eds-
|
|
964
|
-
|
|
965
|
-
stroke-dasharray: 48;
|
|
966
|
-
stroke-dashoffset: 48;
|
|
967
|
-
stroke-width: 0.375rem;
|
|
966
|
+
.eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
|
|
967
|
+
background-color: #8285a8;
|
|
968
968
|
}/* DO NOT CHANGE!*/
|
|
969
969
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
970
970
|
.eds-segmented-control {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.10",
|
|
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": "^4.3.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/tooltip": "^2.5.
|
|
33
|
-
"@entur/typography": "^1.6.
|
|
30
|
+
"@entur/icons": "^4.3.1",
|
|
31
|
+
"@entur/tokens": "^3.4.0",
|
|
32
|
+
"@entur/tooltip": "^2.5.13",
|
|
33
|
+
"@entur/typography": "^1.6.15",
|
|
34
34
|
"@entur/utils": "^0.4.3",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "82b89b2f52c8530f8d930edfdc507c809ec85f7c"
|
|
38
38
|
}
|