@entur/form 8.1.1 → 8.1.3
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 +517 -365
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,163 @@
|
|
|
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: var(--components-form-checkbox-standard-fill-selected);
|
|
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: var(--components-form-checkbox-standard-icon);
|
|
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: var(--components-form-checkbox-standard-icon);
|
|
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: var(--components-form-checkbox-contrast-fill-selected);
|
|
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: var(--components-form-checkbox-contrast-icon);
|
|
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: var(--components-form-checkbox-contrast-icon);
|
|
69
|
+
}
|
|
70
|
+
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
71
|
+
border-color: var(--components-form-checkbox-standard-border);
|
|
72
|
+
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
73
|
+
}
|
|
74
|
+
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
75
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
76
|
+
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
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: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
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: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
86
|
+
}
|
|
87
|
+
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
88
|
+
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
89
|
+
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
90
|
+
}
|
|
91
|
+
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
92
|
+
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
93
|
+
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
94
|
+
}
|
|
95
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
96
|
+
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
97
|
+
outline: 2px solid #181c56;
|
|
98
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
99
|
+
outline-offset: 0.125rem;
|
|
100
|
+
}
|
|
101
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
102
|
+
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
103
|
+
outline: 2px solid #181c56;
|
|
104
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
105
|
+
outline-offset: 0.125rem;
|
|
106
|
+
}
|
|
107
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
108
|
+
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
109
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
110
|
+
}
|
|
111
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
112
|
+
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
113
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
114
|
+
}
|
|
115
|
+
.eds-checkbox--disabled {
|
|
116
|
+
pointer-events: none;
|
|
117
|
+
}
|
|
118
|
+
.eds-checkbox--disabled .eds-checkbox__label {
|
|
119
|
+
opacity: 0.5;
|
|
120
|
+
}
|
|
121
|
+
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
122
|
+
opacity: 0.5;
|
|
123
|
+
}
|
|
124
|
+
.eds-checkbox__icon {
|
|
125
|
+
box-sizing: border-box;
|
|
126
|
+
display: inline-flex;
|
|
127
|
+
justify-content: center;
|
|
128
|
+
align-items: center;
|
|
129
|
+
position: relative;
|
|
130
|
+
margin-right: 1rem;
|
|
131
|
+
height: 1.25rem;
|
|
132
|
+
width: 1.25rem;
|
|
133
|
+
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
134
|
+
border-radius: 0.125rem;
|
|
135
|
+
background-color: transparent;
|
|
136
|
+
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
137
|
+
}
|
|
138
|
+
.eds-checkbox__icon--reduced-click-area {
|
|
139
|
+
margin-right: 0;
|
|
140
|
+
}
|
|
141
|
+
.eds-contrast .eds-checkbox__icon {
|
|
142
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
143
|
+
}
|
|
144
|
+
.eds-checkbox__icon .eds-checkbox-icon {
|
|
145
|
+
height: 1rem;
|
|
146
|
+
width: 1rem;
|
|
147
|
+
visibility: hidden;
|
|
148
|
+
}
|
|
149
|
+
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
150
|
+
transform-origin: 50% 50%;
|
|
151
|
+
stroke-dasharray: 48;
|
|
152
|
+
stroke-dashoffset: 48;
|
|
153
|
+
stroke-width: 0.375rem;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@keyframes stroke {
|
|
157
|
+
100% {
|
|
158
|
+
stroke-dashoffset: 0;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
1
161
|
/* DO NOT CHANGE!*/
|
|
2
162
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
163
|
.eds-feedback-text {
|
|
@@ -282,282 +442,104 @@
|
|
|
282
442
|
}
|
|
283
443
|
/* DO NOT CHANGE!*/
|
|
284
444
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
285
|
-
.eds-
|
|
286
|
-
|
|
287
|
-
|
|
445
|
+
.eds-input-group {
|
|
446
|
+
color: inherit;
|
|
447
|
+
display: block;
|
|
288
448
|
position: relative;
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
449
|
+
}
|
|
450
|
+
.eds-input-group__label {
|
|
451
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
452
|
+
display: flex;
|
|
453
|
+
font-size: 1rem;
|
|
454
|
+
position: absolute;
|
|
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;
|
|
293
460
|
-webkit-user-select: none;
|
|
294
461
|
-moz-user-select: none;
|
|
295
462
|
user-select: none;
|
|
296
|
-
|
|
297
|
-
width: fit-content;
|
|
298
|
-
margin: 0.5rem 0;
|
|
463
|
+
pointer-events: none;
|
|
299
464
|
}
|
|
300
|
-
.eds-
|
|
301
|
-
|
|
302
|
-
|
|
465
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
466
|
+
top: 0.375rem;
|
|
467
|
+
font-size: 0.75rem;
|
|
468
|
+
line-height: 0.75rem;
|
|
469
|
+
height: 10px;
|
|
470
|
+
padding: 0;
|
|
303
471
|
}
|
|
304
|
-
.eds-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
width: 0;
|
|
472
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
473
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
474
|
+
background: var(--textarea-label-background);
|
|
475
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
309
476
|
}
|
|
310
|
-
.eds-
|
|
311
|
-
|
|
477
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
478
|
+
top: 0.5rem;
|
|
479
|
+
font-size: 0.875rem;
|
|
480
|
+
line-height: 1rem;
|
|
481
|
+
padding: 0;
|
|
312
482
|
}
|
|
313
|
-
.eds-
|
|
314
|
-
|
|
483
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
484
|
+
top: 0.75rem;
|
|
485
|
+
font-size: 1.5rem;
|
|
486
|
+
line-height: 2.25rem;
|
|
315
487
|
}
|
|
316
|
-
.eds-
|
|
317
|
-
|
|
318
|
-
|
|
488
|
+
.eds-input-group__label--filled {
|
|
489
|
+
top: 0.375rem;
|
|
490
|
+
font-size: 0.75rem;
|
|
491
|
+
line-height: 0.75rem;
|
|
492
|
+
height: 10px;
|
|
493
|
+
padding: 0;
|
|
319
494
|
}
|
|
320
|
-
.eds-
|
|
321
|
-
|
|
495
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
496
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
497
|
+
background: var(--textarea-label-background);
|
|
498
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
322
499
|
}
|
|
323
|
-
.eds-
|
|
324
|
-
|
|
500
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
501
|
+
top: 0.5rem;
|
|
502
|
+
font-size: 0.875rem;
|
|
503
|
+
line-height: 1rem;
|
|
504
|
+
padding: 0;
|
|
325
505
|
}
|
|
326
|
-
|
|
327
|
-
|
|
506
|
+
|
|
507
|
+
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
508
|
+
top: 0.375rem;
|
|
509
|
+
font-size: 0.75rem;
|
|
510
|
+
line-height: 0.75rem;
|
|
511
|
+
height: 10px;
|
|
512
|
+
padding: 0;
|
|
328
513
|
}
|
|
329
|
-
|
|
330
|
-
|
|
514
|
+
|
|
515
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
516
|
+
top: 0.375rem;
|
|
517
|
+
font-size: 0.75rem;
|
|
518
|
+
line-height: 0.75rem;
|
|
519
|
+
height: 10px;
|
|
520
|
+
padding: 0;
|
|
331
521
|
}
|
|
332
|
-
.eds-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
opacity: 0.5;
|
|
337
|
-
}
|
|
338
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
339
|
-
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
340
|
-
}
|
|
341
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
342
|
-
stroke: var(--components-form-checkbox-contrast-icon);
|
|
343
|
-
}
|
|
344
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
345
|
-
fill: var(--components-form-checkbox-contrast-icon);
|
|
346
|
-
}
|
|
347
|
-
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
348
|
-
border-color: var(--components-form-checkbox-standard-border);
|
|
349
|
-
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
350
|
-
}
|
|
351
|
-
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
352
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
353
|
-
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
354
|
-
}
|
|
355
|
-
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
356
|
-
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
357
|
-
border-color: transparent;
|
|
358
|
-
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
359
|
-
}
|
|
360
|
-
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
361
|
-
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
362
|
-
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
363
|
-
}
|
|
364
|
-
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
365
|
-
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
366
|
-
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
367
|
-
}
|
|
368
|
-
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
369
|
-
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
370
|
-
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
371
|
-
}
|
|
372
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
373
|
-
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
374
|
-
outline: 2px solid #181c56;
|
|
375
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
376
|
-
outline-offset: 0.125rem;
|
|
377
|
-
}
|
|
378
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
379
|
-
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
380
|
-
outline: 2px solid #181c56;
|
|
381
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
382
|
-
outline-offset: 0.125rem;
|
|
383
|
-
}
|
|
384
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
385
|
-
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
386
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
387
|
-
}
|
|
388
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
389
|
-
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
390
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
391
|
-
}
|
|
392
|
-
.eds-checkbox--disabled {
|
|
393
|
-
pointer-events: none;
|
|
394
|
-
}
|
|
395
|
-
.eds-checkbox--disabled .eds-checkbox__label {
|
|
396
|
-
opacity: 0.5;
|
|
397
|
-
}
|
|
398
|
-
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
399
|
-
opacity: 0.5;
|
|
400
|
-
}
|
|
401
|
-
.eds-checkbox__icon {
|
|
402
|
-
box-sizing: border-box;
|
|
403
|
-
display: inline-flex;
|
|
404
|
-
justify-content: center;
|
|
405
|
-
align-items: center;
|
|
406
|
-
position: relative;
|
|
407
|
-
margin-right: 1rem;
|
|
408
|
-
height: 1.25rem;
|
|
409
|
-
width: 1.25rem;
|
|
410
|
-
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
411
|
-
border-radius: 0.125rem;
|
|
412
|
-
background-color: transparent;
|
|
413
|
-
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
414
|
-
}
|
|
415
|
-
.eds-checkbox__icon--reduced-click-area {
|
|
416
|
-
margin-right: 0;
|
|
417
|
-
}
|
|
418
|
-
.eds-contrast .eds-checkbox__icon {
|
|
419
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
420
|
-
}
|
|
421
|
-
.eds-checkbox__icon .eds-checkbox-icon {
|
|
422
|
-
height: 1rem;
|
|
423
|
-
width: 1rem;
|
|
424
|
-
visibility: hidden;
|
|
425
|
-
}
|
|
426
|
-
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
427
|
-
transform-origin: 50% 50%;
|
|
428
|
-
stroke-dasharray: 48;
|
|
429
|
-
stroke-dashoffset: 48;
|
|
430
|
-
stroke-width: 0.375rem;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
|
-
@keyframes stroke {
|
|
434
|
-
100% {
|
|
435
|
-
stroke-dashoffset: 0;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
.eds-fieldset {
|
|
439
|
-
margin: 0;
|
|
440
|
-
padding: 0;
|
|
441
|
-
border: 0;
|
|
442
|
-
}
|
|
443
|
-
/* DO NOT CHANGE!*/
|
|
444
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
445
|
-
.eds-switch {
|
|
446
|
-
cursor: pointer;
|
|
447
|
-
-webkit-user-select: none;
|
|
448
|
-
-moz-user-select: none;
|
|
449
|
-
user-select: none;
|
|
450
|
-
padding: 0.5rem 0;
|
|
451
|
-
width: -moz-fit-content;
|
|
452
|
-
width: fit-content;
|
|
453
|
-
}
|
|
454
|
-
.eds-switch input {
|
|
455
|
-
opacity: 0;
|
|
456
|
-
pointer-events: none;
|
|
457
|
-
position: absolute;
|
|
458
|
-
}
|
|
459
|
-
.eds-switch--right {
|
|
460
|
-
display: flex;
|
|
461
|
-
flex-direction: row;
|
|
462
|
-
align-items: center;
|
|
463
|
-
}
|
|
464
|
-
.eds-switch--bottom {
|
|
465
|
-
display: flex;
|
|
466
|
-
flex-direction: column;
|
|
467
|
-
align-items: center;
|
|
468
|
-
}
|
|
469
|
-
.eds-switch__circle {
|
|
470
|
-
border-radius: 50%;
|
|
471
|
-
height: 1.25rem;
|
|
472
|
-
width: 1.25rem;
|
|
473
|
-
content: "";
|
|
474
|
-
display: flex;
|
|
475
|
-
align-items: center;
|
|
476
|
-
justify-content: center;
|
|
477
|
-
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
478
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
479
|
-
background-color: var(--components-form-switch-standard-switch);
|
|
480
|
-
top: 0.125rem;
|
|
481
|
-
left: 0.125rem;
|
|
482
|
-
position: relative;
|
|
483
|
-
}
|
|
484
|
-
.eds-switch__switch--large .eds-switch__circle {
|
|
485
|
-
height: 1.75rem;
|
|
486
|
-
width: 1.75rem;
|
|
487
|
-
}
|
|
488
|
-
.eds-contrast .eds-switch__circle {
|
|
489
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
490
|
-
}
|
|
491
|
-
.eds-switch__switch {
|
|
492
|
-
position: relative;
|
|
493
|
-
background-color: var(--components-form-switch-standard-fill-false);
|
|
494
|
-
content: "";
|
|
495
|
-
display: block;
|
|
496
|
-
transition: background-color 0.1s ease-in-out;
|
|
497
|
-
height: 1.5rem;
|
|
498
|
-
width: 3rem;
|
|
499
|
-
border-radius: 1.5rem;
|
|
500
|
-
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
501
|
-
}
|
|
502
|
-
.eds-contrast .eds-switch__switch {
|
|
503
|
-
background-color: var(--components-form-switch-contrast-fill-false);
|
|
504
|
-
}
|
|
505
|
-
.eds-switch--right .eds-switch__switch {
|
|
506
|
-
margin-right: 0.75rem;
|
|
507
|
-
}
|
|
508
|
-
.eds-switch__switch svg g,
|
|
509
|
-
.eds-switch__switch path {
|
|
510
|
-
fill: var(--components-form-switch-standard-icon-false);
|
|
511
|
-
transition: fill ease-in-out 0.1s;
|
|
512
|
-
}
|
|
513
|
-
.eds-contrast .eds-switch__switch svg g,
|
|
514
|
-
.eds-contrast .eds-switch__switch path {
|
|
515
|
-
fill: var(--components-form-switch-contrast-icon-false);
|
|
516
|
-
}
|
|
517
|
-
:checked + .eds-switch__switch {
|
|
518
|
-
background-color: var(--eds-switch-color);
|
|
519
|
-
}
|
|
520
|
-
:checked + .eds-switch__switch .eds-switch__circle {
|
|
521
|
-
left: 1.625rem;
|
|
522
|
-
}
|
|
523
|
-
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
524
|
-
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
525
|
-
fill: var(--eds-switch-color);
|
|
526
|
-
}
|
|
527
|
-
.eds-contrast :checked + .eds-switch__switch {
|
|
528
|
-
background-color: var(--eds-switch-contrast-color);
|
|
529
|
-
}
|
|
530
|
-
:focus + .eds-switch__switch {
|
|
531
|
-
outline: 2px solid #181c56;
|
|
532
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
533
|
-
outline-offset: 0.125rem;
|
|
534
|
-
}
|
|
535
|
-
.eds-contrast :focus + .eds-switch__switch {
|
|
536
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
537
|
-
}
|
|
538
|
-
.eds-switch__switch--large {
|
|
539
|
-
width: 3.75rem;
|
|
540
|
-
height: 2rem;
|
|
541
|
-
border-radius: 3.75rem;
|
|
542
|
-
}
|
|
543
|
-
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
544
|
-
left: 1.875rem;
|
|
545
|
-
}
|
|
546
|
-
.eds-switch__switch--large svg {
|
|
547
|
-
position: relative;
|
|
548
|
-
right: 0.05rem;
|
|
522
|
+
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
523
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
524
|
+
background: var(--textarea-label-background);
|
|
525
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
549
526
|
}
|
|
550
|
-
.eds-
|
|
551
|
-
|
|
527
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
528
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
529
|
+
background: var(--textarea-label-background);
|
|
530
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
552
531
|
}
|
|
553
|
-
.eds-
|
|
532
|
+
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
533
|
+
top: 0.5rem;
|
|
554
534
|
font-size: 0.875rem;
|
|
535
|
+
line-height: 1rem;
|
|
536
|
+
padding: 0;
|
|
555
537
|
}
|
|
556
|
-
.eds-
|
|
538
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
539
|
+
top: 0.5rem;
|
|
557
540
|
font-size: 0.875rem;
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
font-size: 0.75rem;
|
|
541
|
+
line-height: 1rem;
|
|
542
|
+
padding: 0;
|
|
561
543
|
}
|
|
562
544
|
/* DO NOT CHANGE!*/
|
|
563
545
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -643,111 +625,10 @@
|
|
|
643
625
|
}
|
|
644
626
|
/* DO NOT CHANGE!*/
|
|
645
627
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
646
|
-
.eds-input-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
}
|
|
651
|
-
.eds-input-group__label {
|
|
652
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
653
|
-
display: flex;
|
|
654
|
-
font-size: 1rem;
|
|
655
|
-
position: absolute;
|
|
656
|
-
line-height: 1rem;
|
|
657
|
-
height: 3rem;
|
|
658
|
-
padding-left: 0;
|
|
659
|
-
top: 1rem;
|
|
660
|
-
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;
|
|
661
|
-
-webkit-user-select: none;
|
|
662
|
-
-moz-user-select: none;
|
|
663
|
-
user-select: none;
|
|
664
|
-
pointer-events: none;
|
|
665
|
-
}
|
|
666
|
-
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
667
|
-
top: 0.375rem;
|
|
668
|
-
font-size: 0.75rem;
|
|
669
|
-
line-height: 0.75rem;
|
|
670
|
-
height: 10px;
|
|
671
|
-
padding: 0;
|
|
672
|
-
}
|
|
673
|
-
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
674
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
675
|
-
background: var(--textarea-label-background);
|
|
676
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
677
|
-
}
|
|
678
|
-
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
679
|
-
top: 0.5rem;
|
|
680
|
-
font-size: 0.875rem;
|
|
681
|
-
line-height: 1rem;
|
|
682
|
-
padding: 0;
|
|
683
|
-
}
|
|
684
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
685
|
-
top: 0.75rem;
|
|
686
|
-
font-size: 1.5rem;
|
|
687
|
-
line-height: 2.25rem;
|
|
688
|
-
}
|
|
689
|
-
.eds-input-group__label--filled {
|
|
690
|
-
top: 0.375rem;
|
|
691
|
-
font-size: 0.75rem;
|
|
692
|
-
line-height: 0.75rem;
|
|
693
|
-
height: 10px;
|
|
694
|
-
padding: 0;
|
|
695
|
-
}
|
|
696
|
-
.eds-textarea__label .eds-input-group__label--filled {
|
|
697
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
698
|
-
background: var(--textarea-label-background);
|
|
699
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
700
|
-
}
|
|
701
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
702
|
-
top: 0.5rem;
|
|
703
|
-
font-size: 0.875rem;
|
|
704
|
-
line-height: 1rem;
|
|
705
|
-
padding: 0;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
709
|
-
top: 0.375rem;
|
|
710
|
-
font-size: 0.75rem;
|
|
711
|
-
line-height: 0.75rem;
|
|
712
|
-
height: 10px;
|
|
713
|
-
padding: 0;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
717
|
-
top: 0.375rem;
|
|
718
|
-
font-size: 0.75rem;
|
|
719
|
-
line-height: 0.75rem;
|
|
720
|
-
height: 10px;
|
|
721
|
-
padding: 0;
|
|
722
|
-
}
|
|
723
|
-
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
724
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
725
|
-
background: var(--textarea-label-background);
|
|
726
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
727
|
-
}
|
|
728
|
-
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
729
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
730
|
-
background: var(--textarea-label-background);
|
|
731
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
732
|
-
}
|
|
733
|
-
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
734
|
-
top: 0.5rem;
|
|
735
|
-
font-size: 0.875rem;
|
|
736
|
-
line-height: 1rem;
|
|
737
|
-
padding: 0;
|
|
738
|
-
}
|
|
739
|
-
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
740
|
-
top: 0.5rem;
|
|
741
|
-
font-size: 0.875rem;
|
|
742
|
-
line-height: 1rem;
|
|
743
|
-
padding: 0;
|
|
744
|
-
}
|
|
745
|
-
/* DO NOT CHANGE!*/
|
|
746
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
747
|
-
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
748
|
-
outline: 2px solid #181c56;
|
|
749
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
750
|
-
outline-offset: 0.125rem;
|
|
628
|
+
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
629
|
+
outline: 2px solid #181c56;
|
|
630
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
631
|
+
outline-offset: 0.125rem;
|
|
751
632
|
}
|
|
752
633
|
.eds-input-panel:focus-within .eds-input-panel__container {
|
|
753
634
|
outline: 2px solid #181c56;
|
|
@@ -900,12 +781,281 @@ input:disabled + .eds-input-panel__container {
|
|
|
900
781
|
}
|
|
901
782
|
/* DO NOT CHANGE!*/
|
|
902
783
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
903
|
-
|
|
784
|
+
.eds-switch {
|
|
785
|
+
cursor: pointer;
|
|
786
|
+
-webkit-user-select: none;
|
|
787
|
+
-moz-user-select: none;
|
|
788
|
+
user-select: none;
|
|
789
|
+
padding: 0.5rem 0;
|
|
790
|
+
width: -moz-fit-content;
|
|
791
|
+
width: fit-content;
|
|
792
|
+
}
|
|
793
|
+
.eds-switch input {
|
|
794
|
+
opacity: 0;
|
|
795
|
+
pointer-events: none;
|
|
796
|
+
position: absolute;
|
|
797
|
+
}
|
|
798
|
+
.eds-switch--right {
|
|
799
|
+
display: flex;
|
|
800
|
+
flex-direction: row;
|
|
801
|
+
align-items: center;
|
|
802
|
+
}
|
|
803
|
+
.eds-switch--bottom {
|
|
804
|
+
display: flex;
|
|
805
|
+
flex-direction: column;
|
|
806
|
+
align-items: center;
|
|
807
|
+
}
|
|
808
|
+
.eds-switch__circle {
|
|
809
|
+
border-radius: 50%;
|
|
810
|
+
height: 1.25rem;
|
|
811
|
+
width: 1.25rem;
|
|
812
|
+
content: "";
|
|
813
|
+
display: flex;
|
|
814
|
+
align-items: center;
|
|
815
|
+
justify-content: center;
|
|
816
|
+
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
817
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
818
|
+
background-color: var(--components-form-switch-standard-switch);
|
|
819
|
+
top: 0.125rem;
|
|
820
|
+
left: 0.125rem;
|
|
821
|
+
position: relative;
|
|
822
|
+
}
|
|
823
|
+
.eds-switch__switch--large .eds-switch__circle {
|
|
824
|
+
height: 1.75rem;
|
|
825
|
+
width: 1.75rem;
|
|
826
|
+
}
|
|
827
|
+
.eds-contrast .eds-switch__circle {
|
|
828
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
829
|
+
}
|
|
830
|
+
.eds-switch__switch {
|
|
831
|
+
position: relative;
|
|
832
|
+
background-color: var(--components-form-switch-standard-fill-false);
|
|
833
|
+
content: "";
|
|
834
|
+
display: block;
|
|
835
|
+
transition: background-color 0.1s ease-in-out;
|
|
836
|
+
height: 1.5rem;
|
|
837
|
+
width: 3rem;
|
|
838
|
+
border-radius: 1.5rem;
|
|
839
|
+
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
840
|
+
}
|
|
841
|
+
.eds-contrast .eds-switch__switch {
|
|
842
|
+
background-color: var(--components-form-switch-contrast-fill-false);
|
|
843
|
+
}
|
|
844
|
+
.eds-switch--right .eds-switch__switch {
|
|
845
|
+
margin-right: 0.75rem;
|
|
846
|
+
}
|
|
847
|
+
.eds-switch__switch svg g,
|
|
848
|
+
.eds-switch__switch path {
|
|
849
|
+
fill: var(--components-form-switch-standard-icon-false);
|
|
850
|
+
transition: fill ease-in-out 0.1s;
|
|
851
|
+
}
|
|
852
|
+
.eds-contrast .eds-switch__switch svg g,
|
|
853
|
+
.eds-contrast .eds-switch__switch path {
|
|
854
|
+
fill: var(--components-form-switch-contrast-icon-false);
|
|
855
|
+
}
|
|
856
|
+
:checked + .eds-switch__switch {
|
|
857
|
+
background-color: var(--eds-switch-color);
|
|
858
|
+
}
|
|
859
|
+
:checked + .eds-switch__switch .eds-switch__circle {
|
|
860
|
+
left: 1.625rem;
|
|
861
|
+
}
|
|
862
|
+
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
863
|
+
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
864
|
+
fill: var(--eds-switch-color);
|
|
865
|
+
}
|
|
866
|
+
.eds-contrast :checked + .eds-switch__switch {
|
|
867
|
+
background-color: var(--eds-switch-contrast-color);
|
|
868
|
+
}
|
|
869
|
+
:focus + .eds-switch__switch {
|
|
870
|
+
outline: 2px solid #181c56;
|
|
871
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
872
|
+
outline-offset: 0.125rem;
|
|
873
|
+
}
|
|
874
|
+
.eds-contrast :focus + .eds-switch__switch {
|
|
875
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
876
|
+
}
|
|
877
|
+
.eds-switch__switch--large {
|
|
878
|
+
width: 3.75rem;
|
|
879
|
+
height: 2rem;
|
|
880
|
+
border-radius: 3.75rem;
|
|
881
|
+
}
|
|
882
|
+
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
883
|
+
left: 1.875rem;
|
|
884
|
+
}
|
|
885
|
+
.eds-switch__switch--large svg {
|
|
886
|
+
position: relative;
|
|
887
|
+
right: 0.05rem;
|
|
888
|
+
}
|
|
889
|
+
.eds-switch__label--large--right {
|
|
890
|
+
font-size: 1rem;
|
|
891
|
+
}
|
|
892
|
+
.eds-switch__label--large--bottom {
|
|
893
|
+
font-size: 0.875rem;
|
|
894
|
+
}
|
|
895
|
+
.eds-switch__label--medium--right {
|
|
896
|
+
font-size: 0.875rem;
|
|
897
|
+
}
|
|
898
|
+
.eds-switch__label--medium--bottom {
|
|
899
|
+
font-size: 0.75rem;
|
|
900
|
+
}
|
|
901
|
+
/* DO NOT CHANGE!*/
|
|
902
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
903
|
+
/* DO NOT CHANGE!*/
|
|
904
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
905
|
+
/* DO NOT CHANGE!*/
|
|
906
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
907
|
+
/* DO NOT CHANGE!*/
|
|
908
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
909
|
+
/* DO NOT CHANGE!*/
|
|
910
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
911
|
+
[data-color-mode=light],
|
|
912
|
+
:root {
|
|
913
|
+
--basecolors-frame-contrast: #181c56;
|
|
914
|
+
--basecolors-frame-contrastalt: #393d79;
|
|
915
|
+
--basecolors-frame-default: #ffffff;
|
|
916
|
+
--basecolors-frame-elevated: #ffffff;
|
|
917
|
+
--basecolors-frame-elevatedalt: #f6f6f9;
|
|
918
|
+
--basecolors-frame-subdued: #d9dae8;
|
|
919
|
+
--basecolors-frame-tint: #f6f6f9;
|
|
920
|
+
--basecolors-shape-accent: #181c56;
|
|
921
|
+
--basecolors-shape-bicycle-contrast: #00db9b;
|
|
922
|
+
--basecolors-shape-bicycle-default: #388f76;
|
|
923
|
+
--basecolors-shape-bus-contrast: #ff6392;
|
|
924
|
+
--basecolors-shape-bus-default: #c5044e;
|
|
925
|
+
--basecolors-shape-cableway-contrast: #b482fb;
|
|
926
|
+
--basecolors-shape-cableway-default: #78469a;
|
|
927
|
+
--basecolors-shape-disabled: #6e6f73;
|
|
928
|
+
--basecolors-shape-disabledalt: #b6b8ba;
|
|
929
|
+
--basecolors-shape-ferry-contrast: #6fdfff;
|
|
930
|
+
--basecolors-shape-ferry-default: #0c6693;
|
|
931
|
+
--basecolors-shape-funicular-contrast: #b482fb;
|
|
932
|
+
--basecolors-shape-funicular-default: #78469a;
|
|
933
|
+
--basecolors-shape-helicopter-contrast: #fbafea;
|
|
934
|
+
--basecolors-shape-helicopter-default: #800664;
|
|
935
|
+
--basecolors-shape-highlight: #ff5959;
|
|
936
|
+
--basecolors-shape-light: #ffffff;
|
|
937
|
+
--basecolors-shape-mask: #ffffff;
|
|
938
|
+
--basecolors-shape-maskalt: #ffffff;
|
|
939
|
+
--basecolors-shape-metro-contrast: #f08901;
|
|
940
|
+
--basecolors-shape-metro-default: #bf5826;
|
|
941
|
+
--basecolors-shape-mobility-contrast: #00db9b;
|
|
942
|
+
--basecolors-shape-mobility-default: #388f76;
|
|
943
|
+
--basecolors-shape-plane-contrast: #fbafea;
|
|
944
|
+
--basecolors-shape-plane-default: #800664;
|
|
945
|
+
--basecolors-shape-subdued: #626493;
|
|
946
|
+
--basecolors-shape-subduedalt: #d9dae8;
|
|
947
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
948
|
+
--basecolors-shape-taxi-default: #3d3e40;
|
|
949
|
+
--basecolors-shape-train-contrast: #42a5f5;
|
|
950
|
+
--basecolors-shape-train-default: #00367f;
|
|
951
|
+
--basecolors-shape-tram-contrast: #b482fb;
|
|
952
|
+
--basecolors-shape-tram-default: #78469a;
|
|
953
|
+
--basecolors-shape-walk-contrast: #8284ab;
|
|
954
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
955
|
+
--basecolors-shape-airportlinkbus-contrast: #fbafea;
|
|
956
|
+
--basecolors-shape-airportlinkbus-default: #800664;
|
|
957
|
+
--basecolors-shape-airportlinkrail-contrast: #fbafea;
|
|
958
|
+
--basecolors-shape-airportlinkrail-default: #800664;
|
|
959
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
960
|
+
--basecolors-stroke-default: #181c56;
|
|
961
|
+
--basecolors-stroke-disabled: #949699;
|
|
962
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
963
|
+
--basecolors-stroke-focus-standard: #181c56;
|
|
964
|
+
--basecolors-stroke-highlight: #ff5959;
|
|
965
|
+
--basecolors-stroke-light: #ffffff;
|
|
966
|
+
--basecolors-stroke-subdued: #8284ab;
|
|
967
|
+
--basecolors-stroke-subduedalt: #e3e6e8;
|
|
968
|
+
--basecolors-text-accent: #181c56;
|
|
969
|
+
--basecolors-text-disabled: #6e6f73;
|
|
970
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
971
|
+
--basecolors-text-highlight: #ff5959;
|
|
972
|
+
--basecolors-text-light: #ffffff;
|
|
973
|
+
--basecolors-text-subdued: #626493;
|
|
974
|
+
--basecolors-text-subduedalt: #d9dae8;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
[data-color-mode=dark] {
|
|
978
|
+
--basecolors-frame-contrast: #212233;
|
|
979
|
+
--basecolors-frame-contrastalt: #141527;
|
|
980
|
+
--basecolors-frame-default: #08091c;
|
|
981
|
+
--basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
|
|
982
|
+
--basecolors-frame-elevatedalt: #464755;
|
|
983
|
+
--basecolors-frame-subdued: #2d2e3e;
|
|
984
|
+
--basecolors-frame-tint: #141527;
|
|
985
|
+
--basecolors-shape-accent: #e5e5e9;
|
|
986
|
+
--basecolors-shape-bicycle-contrast: #4db295;
|
|
987
|
+
--basecolors-shape-bicycle-default: #4db295;
|
|
988
|
+
--basecolors-shape-bus-contrast: #ef7398;
|
|
989
|
+
--basecolors-shape-bus-default: #ef7398;
|
|
990
|
+
--basecolors-shape-cableway-contrast: #b898e5;
|
|
991
|
+
--basecolors-shape-cableway-default: #b898e5;
|
|
992
|
+
--basecolors-shape-disabled: #b6b8ba;
|
|
993
|
+
--basecolors-shape-disabledalt: #b3b4bd;
|
|
994
|
+
--basecolors-shape-ferry-contrast: #8ccfe2;
|
|
995
|
+
--basecolors-shape-ferry-default: #8ccfe2;
|
|
996
|
+
--basecolors-shape-funicular-contrast: #b898e5;
|
|
997
|
+
--basecolors-shape-funicular-default: #b898e5;
|
|
998
|
+
--basecolors-shape-helicopter-contrast: #f2b8e5;
|
|
999
|
+
--basecolors-shape-helicopter-default: #f2b8e5;
|
|
1000
|
+
--basecolors-shape-highlight: #ff9494;
|
|
1001
|
+
--basecolors-shape-light: #e5e5e9;
|
|
1002
|
+
--basecolors-shape-mask: #2d2e3e;
|
|
1003
|
+
--basecolors-shape-maskalt: #393a49;
|
|
1004
|
+
--basecolors-shape-metro-contrast: #dd973c;
|
|
1005
|
+
--basecolors-shape-metro-default: #dd973c;
|
|
1006
|
+
--basecolors-shape-mobility-contrast: #4db295;
|
|
1007
|
+
--basecolors-shape-mobility-default: #4db295;
|
|
1008
|
+
--basecolors-shape-plane-contrast: #f2b8e5;
|
|
1009
|
+
--basecolors-shape-plane-default: #f2b8e5;
|
|
1010
|
+
--basecolors-shape-subdued: #b3b4bd;
|
|
1011
|
+
--basecolors-shape-subduedalt: #b3b4bd;
|
|
1012
|
+
--basecolors-shape-taxi-contrast: #ffe082;
|
|
1013
|
+
--basecolors-shape-taxi-default: #ffe082;
|
|
1014
|
+
--basecolors-shape-train-contrast: #60a2d7;
|
|
1015
|
+
--basecolors-shape-train-default: #60a2d7;
|
|
1016
|
+
--basecolors-shape-tram-contrast: #b898e5;
|
|
1017
|
+
--basecolors-shape-tram-default: #b898e5;
|
|
1018
|
+
--basecolors-shape-walk-contrast: #8d8e9c;
|
|
1019
|
+
--basecolors-shape-walk-default: #8d8e9c;
|
|
1020
|
+
--basecolors-shape-airportlinkbus-contrast: #f2b8e5;
|
|
1021
|
+
--basecolors-shape-airportlinkbus-default: #f2b8e5;
|
|
1022
|
+
--basecolors-shape-airportlinkrail-contrast: #f2b8e5;
|
|
1023
|
+
--basecolors-shape-airportlinkrail-default: #f2b8e5;
|
|
1024
|
+
--basecolors-stroke-contrast: #aeb7e2;
|
|
1025
|
+
--basecolors-stroke-default: #b3b4bd;
|
|
1026
|
+
--basecolors-stroke-disabled: #e3e6e8;
|
|
1027
|
+
--basecolors-stroke-focus-contrast: #aeb7e2;
|
|
1028
|
+
--basecolors-stroke-focus-standard: #aeb7e2;
|
|
1029
|
+
--basecolors-stroke-highlight: #ff9494;
|
|
1030
|
+
--basecolors-stroke-light: #b3b4bd;
|
|
1031
|
+
--basecolors-stroke-subdued: #81828f;
|
|
1032
|
+
--basecolors-stroke-subduedalt: #949699;
|
|
1033
|
+
--basecolors-text-accent: #e5e5e9;
|
|
1034
|
+
--basecolors-text-disabled: #b6b8ba;
|
|
1035
|
+
--basecolors-text-disabledalt: #b6b8ba;
|
|
1036
|
+
--basecolors-text-highlight: #ff9494;
|
|
1037
|
+
--basecolors-text-light: #e5e5e9;
|
|
1038
|
+
--basecolors-text-subdued: #b3b4bd;
|
|
1039
|
+
--basecolors-text-subduedalt: #b3b4bd;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
.eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
|
|
1043
|
+
background: var(--basecolors-frame-default);
|
|
1044
|
+
width: -moz-fit-content;
|
|
1045
|
+
width: fit-content;
|
|
1046
|
+
height: -moz-fit-content;
|
|
1047
|
+
height: fit-content;
|
|
1048
|
+
padding: 0.15rem;
|
|
1049
|
+
margin: -0.15rem;
|
|
1050
|
+
}
|
|
1051
|
+
*[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 {
|
|
1052
|
+
background-color: var(--basecolors-frame-contrast);
|
|
1053
|
+
}
|
|
1054
|
+
.eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
|
|
904
1055
|
min-height: 7.75rem;
|
|
905
1056
|
resize: vertical;
|
|
906
1057
|
line-height: 1.5rem;
|
|
907
1058
|
}
|
|
908
|
-
|
|
909
1059
|
.eds-textarea__wrapper .eds-form-control-wrapper {
|
|
910
1060
|
padding-right: 0;
|
|
911
1061
|
cursor: text;
|
|
@@ -1081,7 +1231,8 @@ textarea.eds-form-control.eds-textarea {
|
|
|
1081
1231
|
--components-form-baseform-standard-text-disabled: #6e6f73;
|
|
1082
1232
|
--components-form-basemenu-border: #8284ab;
|
|
1083
1233
|
--components-form-basemenu-fill-default: #f2f5f7;
|
|
1084
|
-
--components-form-basemenu-fill-hover: #
|
|
1234
|
+
--components-form-basemenu-fill-hover: #d9ddf2;
|
|
1235
|
+
--components-form-basemenu-fill-selected: #aeb7e2;
|
|
1085
1236
|
--components-form-basemenu-icon: #181c56;
|
|
1086
1237
|
--components-form-basemenu-icon-disabled: #6e6f73;
|
|
1087
1238
|
--components-form-basemenu-text: #181c56;
|
|
@@ -1234,6 +1385,7 @@ textarea.eds-form-control.eds-textarea {
|
|
|
1234
1385
|
--components-form-basemenu-border: rgba(255, 255, 255, 0);
|
|
1235
1386
|
--components-form-basemenu-fill-default: #464755;
|
|
1236
1387
|
--components-form-basemenu-fill-hover: #626493;
|
|
1388
|
+
--components-form-basemenu-fill-selected: #8794d4;
|
|
1237
1389
|
--components-form-basemenu-icon: #e5e5e9;
|
|
1238
1390
|
--components-form-basemenu-icon-disabled: #949699;
|
|
1239
1391
|
--components-form-basemenu-text: #e5e5e9;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.3",
|
|
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": "^7.4.
|
|
31
|
-
"@entur/tokens": "^3.17.
|
|
32
|
-
"@entur/tooltip": "^
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
34
|
-
"@entur/utils": "^0.
|
|
30
|
+
"@entur/icons": "^7.4.1",
|
|
31
|
+
"@entur/tokens": "^3.17.1",
|
|
32
|
+
"@entur/tooltip": "^5.0.0",
|
|
33
|
+
"@entur/typography": "^1.8.46",
|
|
34
|
+
"@entur/utils": "^0.12.0",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b038c9f7061c44765606ab8b7519c205ca633635"
|
|
38
38
|
}
|