@entur/form 8.1.9-beta.0 → 8.1.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/dist/styles.css +358 -414
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,81 +1,3 @@
|
|
|
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-feedback-text {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
margin-top: 0.25rem;
|
|
12
|
-
}
|
|
13
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
14
|
-
padding-left: calc(1rem + 0.125rem);
|
|
15
|
-
}
|
|
16
|
-
.eds-feedback-text__text {
|
|
17
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
18
|
-
}
|
|
19
|
-
.eds-contrast .eds-feedback-text__text {
|
|
20
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.eds-feedback-text__icon {
|
|
24
|
-
font-size: 1.5rem;
|
|
25
|
-
min-height: 1.5rem;
|
|
26
|
-
min-width: 1.5rem;
|
|
27
|
-
padding-right: 0.5rem;
|
|
28
|
-
position: relative;
|
|
29
|
-
top: -0.1rem;
|
|
30
|
-
}
|
|
31
|
-
.eds-feedback-text__icon--success {
|
|
32
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
33
|
-
}
|
|
34
|
-
.eds-feedback-text__icon--success circle {
|
|
35
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
36
|
-
}
|
|
37
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
38
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
39
|
-
}
|
|
40
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
41
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
42
|
-
}
|
|
43
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
44
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
45
|
-
}
|
|
46
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
47
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
48
|
-
}
|
|
49
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
50
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
51
|
-
}
|
|
52
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
53
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
54
|
-
}
|
|
55
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
56
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
57
|
-
}
|
|
58
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
59
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
60
|
-
}
|
|
61
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
62
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
63
|
-
}
|
|
64
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
65
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
66
|
-
}
|
|
67
|
-
.eds-feedback-text__icon--warning {
|
|
68
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
69
|
-
}
|
|
70
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
71
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
72
|
-
}
|
|
73
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
74
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
75
|
-
}
|
|
76
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
77
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
78
|
-
}
|
|
79
1
|
/* DO NOT CHANGE!*/
|
|
80
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
81
3
|
.eds-checkbox__container {
|
|
@@ -166,22 +88,12 @@
|
|
|
166
88
|
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
167
89
|
}
|
|
168
90
|
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
169
|
-
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
170
|
-
outline: 2px solid #181c56;
|
|
171
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
172
|
-
outline-offset: 0.125rem;
|
|
173
|
-
}
|
|
174
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
175
91
|
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
176
92
|
outline: 2px solid #181c56;
|
|
177
93
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
178
94
|
outline-offset: 0.125rem;
|
|
179
95
|
}
|
|
180
96
|
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
181
|
-
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
182
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
183
|
-
}
|
|
184
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
185
97
|
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
186
98
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
187
99
|
}
|
|
@@ -258,24 +170,15 @@
|
|
|
258
170
|
color: var(--components-form-baseform-standard-text-content);
|
|
259
171
|
transition: border-color 0.1s ease-in-out;
|
|
260
172
|
}
|
|
261
|
-
.eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
|
|
262
|
-
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
263
|
-
}
|
|
264
173
|
.eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
|
|
265
174
|
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
266
175
|
}
|
|
267
176
|
.eds-contrast .eds-form-control-wrapper:hover {
|
|
268
177
|
border-color: var(--components-form-baseform-contrast-border-interactive);
|
|
269
178
|
}
|
|
270
|
-
.eds-form-control-wrapper[focus-within] {
|
|
271
|
-
outline: 1px solid var(--components-form-baseform-standard-border-interactive);
|
|
272
|
-
}
|
|
273
179
|
.eds-form-control-wrapper:focus-within {
|
|
274
180
|
outline: 1px solid var(--components-form-baseform-standard-border-interactive);
|
|
275
181
|
}
|
|
276
|
-
.eds-contrast .eds-form-control-wrapper[focus-within] {
|
|
277
|
-
outline: var(--components-form-baseform-contrast-border-interactive);
|
|
278
|
-
}
|
|
279
182
|
.eds-contrast .eds-form-control-wrapper:focus-within {
|
|
280
183
|
outline: var(--components-form-baseform-contrast-border-interactive);
|
|
281
184
|
}
|
|
@@ -340,36 +243,24 @@
|
|
|
340
243
|
.eds-form-control-wrapper--success {
|
|
341
244
|
border-color: var(--components-form-baseform-standard-border-success);
|
|
342
245
|
}
|
|
343
|
-
.eds-form-control-wrapper--success[focus-within] {
|
|
344
|
-
border-color: var(--components-form-baseform-standard-border-success);
|
|
345
|
-
}
|
|
346
246
|
.eds-form-control-wrapper--success:focus-within {
|
|
347
247
|
border-color: var(--components-form-baseform-standard-border-success);
|
|
348
248
|
}
|
|
349
249
|
.eds-contrast .eds-form-control-wrapper--success {
|
|
350
250
|
border-color: var(--components-form-baseform-standard-border-success);
|
|
351
251
|
}
|
|
352
|
-
.eds-contrast .eds-form-control-wrapper--success[focus-within] {
|
|
353
|
-
border-color: var(--components-form-baseform-contrast-border-success);
|
|
354
|
-
}
|
|
355
252
|
.eds-contrast .eds-form-control-wrapper--success:focus-within {
|
|
356
253
|
border-color: var(--components-form-baseform-contrast-border-success);
|
|
357
254
|
}
|
|
358
255
|
.eds-form-control-wrapper--error, .eds-form-control-wrapper--negative {
|
|
359
256
|
border-color: var(--components-form-baseform-standard-border-negative);
|
|
360
257
|
}
|
|
361
|
-
.eds-form-control-wrapper--error[focus-within], .eds-form-control-wrapper--negative[focus-within] {
|
|
362
|
-
border-color: var(--components-form-baseform-standard-border-negative);
|
|
363
|
-
}
|
|
364
258
|
.eds-form-control-wrapper--error:focus-within, .eds-form-control-wrapper--negative:focus-within {
|
|
365
259
|
border-color: var(--components-form-baseform-standard-border-negative);
|
|
366
260
|
}
|
|
367
261
|
.eds-contrast .eds-form-control-wrapper--error, .eds-contrast .eds-form-control-wrapper--negative {
|
|
368
262
|
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
369
263
|
}
|
|
370
|
-
.eds-contrast .eds-form-control-wrapper--error[focus-within], .eds-contrast .eds-form-control-wrapper--negative[focus-within] {
|
|
371
|
-
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
372
|
-
}
|
|
373
264
|
.eds-contrast .eds-form-control-wrapper--error:focus-within, .eds-contrast .eds-form-control-wrapper--negative:focus-within {
|
|
374
265
|
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
375
266
|
}
|
|
@@ -442,125 +333,303 @@
|
|
|
442
333
|
}
|
|
443
334
|
/* DO NOT CHANGE!*/
|
|
444
335
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
445
|
-
.eds-
|
|
446
|
-
color: inherit;
|
|
447
|
-
display: block;
|
|
448
|
-
position: relative;
|
|
449
|
-
}
|
|
450
|
-
.eds-input-group__label {
|
|
451
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
336
|
+
.eds-feedback-text {
|
|
452
337
|
display: flex;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
line-height: 1rem;
|
|
456
|
-
height: 3rem;
|
|
457
|
-
padding-left: 0;
|
|
458
|
-
top: 1rem;
|
|
459
|
-
transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
|
|
460
|
-
-webkit-user-select: none;
|
|
461
|
-
-moz-user-select: none;
|
|
462
|
-
user-select: none;
|
|
463
|
-
pointer-events: none;
|
|
338
|
+
align-items: center;
|
|
339
|
+
margin-top: 0.25rem;
|
|
464
340
|
}
|
|
465
|
-
.eds-
|
|
466
|
-
|
|
467
|
-
font-size: 0.75rem;
|
|
468
|
-
line-height: 0.75rem;
|
|
469
|
-
height: 10px;
|
|
470
|
-
padding: 0;
|
|
341
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
342
|
+
padding-left: calc(1rem + 0.125rem);
|
|
471
343
|
}
|
|
472
|
-
.eds-
|
|
473
|
-
|
|
474
|
-
background: var(--textarea-label-background);
|
|
475
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
344
|
+
.eds-feedback-text__text {
|
|
345
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
476
346
|
}
|
|
477
|
-
.eds-
|
|
478
|
-
|
|
479
|
-
font-size: 0.875rem;
|
|
480
|
-
line-height: 1rem;
|
|
481
|
-
padding: 0;
|
|
347
|
+
.eds-contrast .eds-feedback-text__text {
|
|
348
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
482
349
|
}
|
|
483
|
-
|
|
484
|
-
|
|
350
|
+
|
|
351
|
+
.eds-feedback-text__icon {
|
|
485
352
|
font-size: 1.5rem;
|
|
486
|
-
|
|
353
|
+
min-height: 1.5rem;
|
|
354
|
+
min-width: 1.5rem;
|
|
355
|
+
padding-right: 0.5rem;
|
|
356
|
+
position: relative;
|
|
357
|
+
top: -0.1rem;
|
|
487
358
|
}
|
|
488
|
-
.eds-
|
|
489
|
-
|
|
490
|
-
font-size: 0.75rem;
|
|
491
|
-
line-height: 0.75rem;
|
|
492
|
-
height: 10px;
|
|
493
|
-
padding: 0;
|
|
359
|
+
.eds-feedback-text__icon--success {
|
|
360
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
494
361
|
}
|
|
495
|
-
.eds-
|
|
496
|
-
|
|
497
|
-
background: var(--textarea-label-background);
|
|
498
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
362
|
+
.eds-feedback-text__icon--success circle {
|
|
363
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
499
364
|
}
|
|
500
|
-
.eds-
|
|
501
|
-
|
|
502
|
-
font-size: 0.875rem;
|
|
503
|
-
line-height: 1rem;
|
|
504
|
-
padding: 0;
|
|
365
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
366
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
505
367
|
}
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
top: 0.375rem;
|
|
509
|
-
font-size: 0.75rem;
|
|
510
|
-
line-height: 0.75rem;
|
|
511
|
-
height: 10px;
|
|
512
|
-
padding: 0;
|
|
368
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
369
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
513
370
|
}
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
top: 0.375rem;
|
|
517
|
-
font-size: 0.75rem;
|
|
518
|
-
line-height: 0.75rem;
|
|
519
|
-
height: 10px;
|
|
520
|
-
padding: 0;
|
|
371
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
372
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
521
373
|
}
|
|
522
|
-
.eds-
|
|
523
|
-
|
|
524
|
-
background: var(--textarea-label-background);
|
|
525
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
374
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
375
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
526
376
|
}
|
|
527
|
-
.eds-
|
|
528
|
-
|
|
529
|
-
background: var(--textarea-label-background);
|
|
530
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
377
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
378
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
531
379
|
}
|
|
532
|
-
.eds-
|
|
533
|
-
|
|
534
|
-
font-size: 0.875rem;
|
|
535
|
-
line-height: 1rem;
|
|
536
|
-
padding: 0;
|
|
380
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
381
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
537
382
|
}
|
|
538
|
-
.eds-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
383
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
384
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
385
|
+
}
|
|
386
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
387
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
388
|
+
}
|
|
389
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
390
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
391
|
+
}
|
|
392
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
393
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
394
|
+
}
|
|
395
|
+
.eds-feedback-text__icon--warning {
|
|
396
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
397
|
+
}
|
|
398
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
399
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
400
|
+
}
|
|
401
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
402
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
403
|
+
}
|
|
404
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
405
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
406
|
+
}
|
|
407
|
+
.eds-fieldset {
|
|
408
|
+
margin: 0;
|
|
542
409
|
padding: 0;
|
|
410
|
+
border: 0;
|
|
543
411
|
}
|
|
544
412
|
/* DO NOT CHANGE!*/
|
|
545
413
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
414
|
+
.eds-switch {
|
|
415
|
+
cursor: pointer;
|
|
416
|
+
-webkit-user-select: none;
|
|
417
|
+
-moz-user-select: none;
|
|
418
|
+
user-select: none;
|
|
419
|
+
padding: 0.5rem 0;
|
|
420
|
+
width: -moz-fit-content;
|
|
421
|
+
width: fit-content;
|
|
422
|
+
}
|
|
423
|
+
.eds-switch input {
|
|
424
|
+
opacity: 0;
|
|
425
|
+
pointer-events: none;
|
|
426
|
+
position: absolute;
|
|
427
|
+
}
|
|
428
|
+
.eds-switch--right {
|
|
429
|
+
display: flex;
|
|
430
|
+
flex-direction: row;
|
|
431
|
+
align-items: center;
|
|
432
|
+
}
|
|
433
|
+
.eds-switch--bottom {
|
|
434
|
+
display: flex;
|
|
435
|
+
flex-direction: column;
|
|
436
|
+
align-items: center;
|
|
437
|
+
}
|
|
438
|
+
.eds-switch__circle {
|
|
439
|
+
border-radius: 50%;
|
|
440
|
+
height: 1.25rem;
|
|
441
|
+
width: 1.25rem;
|
|
442
|
+
content: "";
|
|
443
|
+
display: flex;
|
|
444
|
+
align-items: center;
|
|
445
|
+
justify-content: center;
|
|
446
|
+
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
447
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
448
|
+
background-color: var(--components-form-switch-standard-switch);
|
|
449
|
+
top: 0.125rem;
|
|
450
|
+
left: 0.125rem;
|
|
451
|
+
position: relative;
|
|
452
|
+
}
|
|
453
|
+
.eds-switch__switch--large .eds-switch__circle {
|
|
454
|
+
height: 1.75rem;
|
|
455
|
+
width: 1.75rem;
|
|
456
|
+
}
|
|
457
|
+
.eds-contrast .eds-switch__circle {
|
|
458
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
459
|
+
}
|
|
460
|
+
.eds-switch__switch {
|
|
461
|
+
position: relative;
|
|
462
|
+
background-color: var(--components-form-switch-standard-fill-false);
|
|
463
|
+
content: "";
|
|
464
|
+
display: block;
|
|
465
|
+
transition: background-color 0.1s ease-in-out;
|
|
466
|
+
height: 1.5rem;
|
|
467
|
+
width: 3rem;
|
|
468
|
+
border-radius: 1.5rem;
|
|
469
|
+
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
470
|
+
}
|
|
471
|
+
.eds-contrast .eds-switch__switch {
|
|
472
|
+
background-color: var(--components-form-switch-contrast-fill-false);
|
|
473
|
+
}
|
|
474
|
+
.eds-switch--right .eds-switch__switch {
|
|
475
|
+
margin-right: 0.75rem;
|
|
476
|
+
}
|
|
477
|
+
.eds-switch__switch svg g,
|
|
478
|
+
.eds-switch__switch path {
|
|
479
|
+
fill: var(--components-form-switch-standard-icon-false);
|
|
480
|
+
transition: fill ease-in-out 0.1s;
|
|
481
|
+
}
|
|
482
|
+
.eds-contrast .eds-switch__switch svg g,
|
|
483
|
+
.eds-contrast .eds-switch__switch path {
|
|
484
|
+
fill: var(--components-form-switch-contrast-icon-false);
|
|
485
|
+
}
|
|
486
|
+
:checked + .eds-switch__switch {
|
|
487
|
+
background-color: var(--eds-switch-color);
|
|
488
|
+
}
|
|
489
|
+
:checked + .eds-switch__switch .eds-switch__circle {
|
|
490
|
+
left: 1.625rem;
|
|
491
|
+
}
|
|
492
|
+
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
493
|
+
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
494
|
+
fill: var(--eds-switch-color);
|
|
495
|
+
}
|
|
496
|
+
.eds-contrast :checked + .eds-switch__switch {
|
|
497
|
+
background-color: var(--eds-switch-contrast-color);
|
|
498
|
+
}
|
|
499
|
+
:focus + .eds-switch__switch {
|
|
500
|
+
outline: 2px solid #181c56;
|
|
501
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
502
|
+
outline-offset: 0.125rem;
|
|
503
|
+
}
|
|
504
|
+
.eds-contrast :focus + .eds-switch__switch {
|
|
505
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
506
|
+
}
|
|
507
|
+
.eds-switch__switch--large {
|
|
508
|
+
width: 3.75rem;
|
|
509
|
+
height: 2rem;
|
|
510
|
+
border-radius: 3.75rem;
|
|
511
|
+
}
|
|
512
|
+
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
513
|
+
left: 1.875rem;
|
|
514
|
+
}
|
|
515
|
+
.eds-switch__switch--large svg {
|
|
516
|
+
position: relative;
|
|
517
|
+
right: 0.05rem;
|
|
518
|
+
}
|
|
519
|
+
.eds-switch__label--large--right {
|
|
520
|
+
font-size: 1rem;
|
|
521
|
+
}
|
|
522
|
+
.eds-switch__label--large--bottom {
|
|
523
|
+
font-size: 0.875rem;
|
|
524
|
+
}
|
|
525
|
+
.eds-switch__label--medium--right {
|
|
526
|
+
font-size: 0.875rem;
|
|
527
|
+
}
|
|
528
|
+
.eds-switch__label--medium--bottom {
|
|
529
|
+
font-size: 0.75rem;
|
|
530
|
+
}
|
|
531
|
+
/* DO NOT CHANGE!*/
|
|
532
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
533
|
+
.eds-input-group {
|
|
534
|
+
color: inherit;
|
|
535
|
+
display: block;
|
|
536
|
+
position: relative;
|
|
537
|
+
}
|
|
538
|
+
.eds-input-group__label {
|
|
539
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
540
|
+
display: flex;
|
|
541
|
+
font-size: 1rem;
|
|
542
|
+
position: absolute;
|
|
543
|
+
line-height: 1rem;
|
|
544
|
+
height: 3rem;
|
|
545
|
+
padding-left: 0;
|
|
546
|
+
top: 1rem;
|
|
547
|
+
transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
|
|
548
|
+
-webkit-user-select: none;
|
|
549
|
+
-moz-user-select: none;
|
|
550
|
+
user-select: none;
|
|
551
|
+
pointer-events: none;
|
|
552
|
+
}
|
|
553
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
554
|
+
top: 0.375rem;
|
|
555
|
+
font-size: 0.75rem;
|
|
556
|
+
line-height: 0.75rem;
|
|
557
|
+
height: 10px;
|
|
558
|
+
padding: 0;
|
|
559
|
+
}
|
|
560
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
561
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
562
|
+
background: var(--textarea-label-background);
|
|
563
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
564
|
+
}
|
|
565
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
566
|
+
top: 0.5rem;
|
|
567
|
+
font-size: 0.875rem;
|
|
568
|
+
line-height: 1rem;
|
|
569
|
+
padding: 0;
|
|
570
|
+
}
|
|
571
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
572
|
+
top: 0.75rem;
|
|
573
|
+
font-size: 1.5rem;
|
|
574
|
+
line-height: 2.25rem;
|
|
575
|
+
}
|
|
576
|
+
.eds-input-group__label--filled {
|
|
577
|
+
top: 0.375rem;
|
|
578
|
+
font-size: 0.75rem;
|
|
579
|
+
line-height: 0.75rem;
|
|
580
|
+
height: 10px;
|
|
581
|
+
padding: 0;
|
|
582
|
+
}
|
|
583
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
584
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
585
|
+
background: var(--textarea-label-background);
|
|
586
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
587
|
+
}
|
|
588
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
589
|
+
top: 0.5rem;
|
|
590
|
+
font-size: 0.875rem;
|
|
591
|
+
line-height: 1rem;
|
|
592
|
+
padding: 0;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
596
|
+
top: 0.375rem;
|
|
597
|
+
font-size: 0.75rem;
|
|
598
|
+
line-height: 0.75rem;
|
|
599
|
+
height: 10px;
|
|
600
|
+
padding: 0;
|
|
601
|
+
}
|
|
602
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
603
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
604
|
+
background: var(--textarea-label-background);
|
|
605
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
606
|
+
}
|
|
607
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
608
|
+
top: 0.5rem;
|
|
609
|
+
font-size: 0.875rem;
|
|
610
|
+
line-height: 1rem;
|
|
611
|
+
padding: 0;
|
|
612
|
+
}
|
|
613
|
+
/* DO NOT CHANGE!*/
|
|
614
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
615
|
+
/* DO NOT CHANGE!*/
|
|
616
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
617
|
+
/* DO NOT CHANGE!*/
|
|
618
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
619
|
+
/* DO NOT CHANGE!*/
|
|
620
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
621
|
+
/* DO NOT CHANGE!*/
|
|
622
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
623
|
+
[data-color-mode=light],
|
|
624
|
+
:root {
|
|
625
|
+
--basecolors-frame-contrast: #181c56;
|
|
626
|
+
--basecolors-frame-contrastalt: #393d79;
|
|
627
|
+
--basecolors-frame-default: #ffffff;
|
|
628
|
+
--basecolors-frame-elevated: #ffffff;
|
|
629
|
+
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
630
|
+
--basecolors-frame-subdued: #d9dae8;
|
|
631
|
+
--basecolors-frame-tint: #f6f6f9;
|
|
632
|
+
--basecolors-shape-accent: #181c56;
|
|
564
633
|
--basecolors-shape-bicycle-contrast: #00db9b;
|
|
565
634
|
--basecolors-shape-bicycle-default: #388f76;
|
|
566
635
|
--basecolors-shape-bus-contrast: #ff6392;
|
|
@@ -683,6 +752,7 @@
|
|
|
683
752
|
}
|
|
684
753
|
|
|
685
754
|
.eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
755
|
+
background: #ffffff;
|
|
686
756
|
background: var(--basecolors-frame-default);
|
|
687
757
|
width: -moz-fit-content;
|
|
688
758
|
width: fit-content;
|
|
@@ -692,6 +762,7 @@
|
|
|
692
762
|
margin: -0.15rem;
|
|
693
763
|
}
|
|
694
764
|
*[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
765
|
+
background-color: #181c56;
|
|
695
766
|
background-color: var(--basecolors-frame-contrast);
|
|
696
767
|
}
|
|
697
768
|
.eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
|
|
@@ -705,19 +776,93 @@
|
|
|
705
776
|
}
|
|
706
777
|
/* DO NOT CHANGE!*/
|
|
707
778
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
708
|
-
.eds-
|
|
779
|
+
.eds-form-component--radio__container {
|
|
780
|
+
display: flex;
|
|
781
|
+
justify-content: center;
|
|
782
|
+
align-items: center;
|
|
783
|
+
position: relative;
|
|
784
|
+
cursor: pointer;
|
|
785
|
+
height: 2rem;
|
|
786
|
+
width: -moz-fit-content;
|
|
787
|
+
width: fit-content;
|
|
788
|
+
-webkit-user-select: none;
|
|
789
|
+
-moz-user-select: none;
|
|
790
|
+
user-select: none;
|
|
791
|
+
}
|
|
792
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
793
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
794
|
+
}
|
|
795
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
796
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
797
|
+
}
|
|
798
|
+
.eds-form-component--radio__container input {
|
|
799
|
+
position: absolute;
|
|
800
|
+
opacity: 0;
|
|
801
|
+
cursor: pointer;
|
|
802
|
+
height: 0;
|
|
803
|
+
width: 0;
|
|
804
|
+
}
|
|
805
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
806
|
+
height: 0.625rem;
|
|
807
|
+
width: 0.625rem;
|
|
808
|
+
}
|
|
809
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
709
810
|
outline: 2px solid #181c56;
|
|
710
811
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
711
812
|
outline-offset: 0.125rem;
|
|
712
813
|
}
|
|
814
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
815
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
816
|
+
}
|
|
817
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
818
|
+
position: relative;
|
|
819
|
+
height: 1.25rem;
|
|
820
|
+
width: 1.25rem;
|
|
821
|
+
margin-right: 1rem;
|
|
822
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
823
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
824
|
+
border-radius: 50%;
|
|
825
|
+
display: flex;
|
|
826
|
+
align-items: center;
|
|
827
|
+
justify-content: center;
|
|
828
|
+
}
|
|
829
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
830
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
831
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
832
|
+
}
|
|
833
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
834
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
835
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
836
|
+
cursor: not-allowed;
|
|
837
|
+
}
|
|
838
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
839
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
840
|
+
}
|
|
841
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
842
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
843
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
844
|
+
}
|
|
845
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
846
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
847
|
+
}
|
|
848
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
849
|
+
display: block;
|
|
850
|
+
width: 0;
|
|
851
|
+
height: 0;
|
|
852
|
+
border-radius: 50%;
|
|
853
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
854
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
855
|
+
}
|
|
856
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
857
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
858
|
+
}
|
|
859
|
+
/* DO NOT CHANGE!*/
|
|
860
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
713
861
|
.eds-input-panel:focus-within .eds-input-panel__container {
|
|
714
862
|
outline: 2px solid #181c56;
|
|
715
863
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
716
864
|
outline-offset: 0.125rem;
|
|
717
865
|
}
|
|
718
|
-
.eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
|
|
719
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
720
|
-
}
|
|
721
866
|
.eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
|
|
722
867
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
723
868
|
}
|
|
@@ -861,207 +1006,6 @@ input:disabled + .eds-input-panel__container {
|
|
|
861
1006
|
}
|
|
862
1007
|
/* DO NOT CHANGE!*/
|
|
863
1008
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
864
|
-
.eds-form-component--radio__container {
|
|
865
|
-
display: flex;
|
|
866
|
-
justify-content: center;
|
|
867
|
-
align-items: center;
|
|
868
|
-
position: relative;
|
|
869
|
-
cursor: pointer;
|
|
870
|
-
height: 2rem;
|
|
871
|
-
width: -moz-fit-content;
|
|
872
|
-
width: fit-content;
|
|
873
|
-
-webkit-user-select: none;
|
|
874
|
-
-moz-user-select: none;
|
|
875
|
-
user-select: none;
|
|
876
|
-
}
|
|
877
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
878
|
-
background-color: var(--components-form-radio-standard-fill-hover);
|
|
879
|
-
}
|
|
880
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
881
|
-
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
882
|
-
}
|
|
883
|
-
.eds-form-component--radio__container input {
|
|
884
|
-
position: absolute;
|
|
885
|
-
opacity: 0;
|
|
886
|
-
cursor: pointer;
|
|
887
|
-
height: 0;
|
|
888
|
-
width: 0;
|
|
889
|
-
}
|
|
890
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
891
|
-
height: 0.625rem;
|
|
892
|
-
width: 0.625rem;
|
|
893
|
-
}
|
|
894
|
-
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
895
|
-
outline: 2px solid #181c56;
|
|
896
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
897
|
-
outline-offset: 0.125rem;
|
|
898
|
-
}
|
|
899
|
-
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
900
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
901
|
-
}
|
|
902
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
903
|
-
position: relative;
|
|
904
|
-
height: 1.25rem;
|
|
905
|
-
width: 1.25rem;
|
|
906
|
-
margin-right: 1rem;
|
|
907
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
908
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
909
|
-
border-radius: 50%;
|
|
910
|
-
display: flex;
|
|
911
|
-
align-items: center;
|
|
912
|
-
justify-content: center;
|
|
913
|
-
}
|
|
914
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
915
|
-
background-color: var(--components-form-radio-contrast-fill-default);
|
|
916
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
917
|
-
}
|
|
918
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
919
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
920
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
921
|
-
cursor: not-allowed;
|
|
922
|
-
}
|
|
923
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
924
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
925
|
-
}
|
|
926
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
927
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
928
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
929
|
-
}
|
|
930
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
931
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
932
|
-
}
|
|
933
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
934
|
-
display: block;
|
|
935
|
-
width: 0;
|
|
936
|
-
height: 0;
|
|
937
|
-
border-radius: 50%;
|
|
938
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
939
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
940
|
-
}
|
|
941
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
942
|
-
background-color: var(--components-form-radio-contrast-icon);
|
|
943
|
-
}
|
|
944
|
-
/* DO NOT CHANGE!*/
|
|
945
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
946
|
-
.eds-switch {
|
|
947
|
-
cursor: pointer;
|
|
948
|
-
-webkit-user-select: none;
|
|
949
|
-
-moz-user-select: none;
|
|
950
|
-
user-select: none;
|
|
951
|
-
padding: 0.5rem 0;
|
|
952
|
-
width: -moz-fit-content;
|
|
953
|
-
width: fit-content;
|
|
954
|
-
}
|
|
955
|
-
.eds-switch input {
|
|
956
|
-
opacity: 0;
|
|
957
|
-
pointer-events: none;
|
|
958
|
-
position: absolute;
|
|
959
|
-
}
|
|
960
|
-
.eds-switch--right {
|
|
961
|
-
display: flex;
|
|
962
|
-
flex-direction: row;
|
|
963
|
-
align-items: center;
|
|
964
|
-
}
|
|
965
|
-
.eds-switch--bottom {
|
|
966
|
-
display: flex;
|
|
967
|
-
flex-direction: column;
|
|
968
|
-
align-items: center;
|
|
969
|
-
}
|
|
970
|
-
.eds-switch__circle {
|
|
971
|
-
border-radius: 50%;
|
|
972
|
-
height: 1.25rem;
|
|
973
|
-
width: 1.25rem;
|
|
974
|
-
content: "";
|
|
975
|
-
display: flex;
|
|
976
|
-
align-items: center;
|
|
977
|
-
justify-content: center;
|
|
978
|
-
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
979
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
980
|
-
background-color: var(--components-form-switch-standard-switch);
|
|
981
|
-
top: 0.125rem;
|
|
982
|
-
left: 0.125rem;
|
|
983
|
-
position: relative;
|
|
984
|
-
}
|
|
985
|
-
.eds-switch__switch--large .eds-switch__circle {
|
|
986
|
-
height: 1.75rem;
|
|
987
|
-
width: 1.75rem;
|
|
988
|
-
}
|
|
989
|
-
.eds-contrast .eds-switch__circle {
|
|
990
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
991
|
-
}
|
|
992
|
-
.eds-switch__switch {
|
|
993
|
-
position: relative;
|
|
994
|
-
background-color: var(--components-form-switch-standard-fill-false);
|
|
995
|
-
content: "";
|
|
996
|
-
display: block;
|
|
997
|
-
transition: background-color 0.1s ease-in-out;
|
|
998
|
-
height: 1.5rem;
|
|
999
|
-
width: 3rem;
|
|
1000
|
-
border-radius: 1.5rem;
|
|
1001
|
-
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
1002
|
-
}
|
|
1003
|
-
.eds-contrast .eds-switch__switch {
|
|
1004
|
-
background-color: var(--components-form-switch-contrast-fill-false);
|
|
1005
|
-
}
|
|
1006
|
-
.eds-switch--right .eds-switch__switch {
|
|
1007
|
-
margin-right: 0.75rem;
|
|
1008
|
-
}
|
|
1009
|
-
.eds-switch__switch svg g,
|
|
1010
|
-
.eds-switch__switch path {
|
|
1011
|
-
fill: var(--components-form-switch-standard-icon-false);
|
|
1012
|
-
transition: fill ease-in-out 0.1s;
|
|
1013
|
-
}
|
|
1014
|
-
.eds-contrast .eds-switch__switch svg g,
|
|
1015
|
-
.eds-contrast .eds-switch__switch path {
|
|
1016
|
-
fill: var(--components-form-switch-contrast-icon-false);
|
|
1017
|
-
}
|
|
1018
|
-
:checked + .eds-switch__switch {
|
|
1019
|
-
background-color: var(--eds-switch-color);
|
|
1020
|
-
}
|
|
1021
|
-
:checked + .eds-switch__switch .eds-switch__circle {
|
|
1022
|
-
left: 1.625rem;
|
|
1023
|
-
}
|
|
1024
|
-
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
1025
|
-
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
1026
|
-
fill: var(--eds-switch-color);
|
|
1027
|
-
}
|
|
1028
|
-
.eds-contrast :checked + .eds-switch__switch {
|
|
1029
|
-
background-color: var(--eds-switch-contrast-color);
|
|
1030
|
-
}
|
|
1031
|
-
:focus + .eds-switch__switch {
|
|
1032
|
-
outline: 2px solid #181c56;
|
|
1033
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1034
|
-
outline-offset: 0.125rem;
|
|
1035
|
-
}
|
|
1036
|
-
.eds-contrast :focus + .eds-switch__switch {
|
|
1037
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1038
|
-
}
|
|
1039
|
-
.eds-switch__switch--large {
|
|
1040
|
-
width: 3.75rem;
|
|
1041
|
-
height: 2rem;
|
|
1042
|
-
border-radius: 3.75rem;
|
|
1043
|
-
}
|
|
1044
|
-
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
1045
|
-
left: 1.875rem;
|
|
1046
|
-
}
|
|
1047
|
-
.eds-switch__switch--large svg {
|
|
1048
|
-
position: relative;
|
|
1049
|
-
right: 0.05rem;
|
|
1050
|
-
}
|
|
1051
|
-
.eds-switch__label--large--right {
|
|
1052
|
-
font-size: 1rem;
|
|
1053
|
-
}
|
|
1054
|
-
.eds-switch__label--large--bottom {
|
|
1055
|
-
font-size: 0.875rem;
|
|
1056
|
-
}
|
|
1057
|
-
.eds-switch__label--medium--right {
|
|
1058
|
-
font-size: 0.875rem;
|
|
1059
|
-
}
|
|
1060
|
-
.eds-switch__label--medium--bottom {
|
|
1061
|
-
font-size: 0.75rem;
|
|
1062
|
-
}
|
|
1063
|
-
/* DO NOT CHANGE!*/
|
|
1064
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1065
1009
|
.eds-textfield__clear-button {
|
|
1066
1010
|
background: none;
|
|
1067
1011
|
border: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.10",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/button": "^3.2.
|
|
31
|
-
"@entur/icons": "^7.
|
|
32
|
-
"@entur/tokens": "^3.17.
|
|
33
|
-
"@entur/tooltip": "^5.1.
|
|
34
|
-
"@entur/typography": "^1.8.
|
|
35
|
-
"@entur/utils": "^0.12.2
|
|
30
|
+
"@entur/button": "^3.2.38",
|
|
31
|
+
"@entur/icons": "^7.6.0",
|
|
32
|
+
"@entur/tokens": "^3.17.5",
|
|
33
|
+
"@entur/tooltip": "^5.1.6",
|
|
34
|
+
"@entur/typography": "^1.8.51",
|
|
35
|
+
"@entur/utils": "^0.12.2",
|
|
36
36
|
"classnames": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"dts-cli": "2.0.5"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "1a989376d61ab59a8c554a9cab733039aef8b2eb"
|
|
42
42
|
}
|