@entur/form 7.0.25 → 7.0.26
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 +167 -167
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -1,170 +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-checkbox__container {
|
|
9
|
-
display: flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
position: relative;
|
|
12
|
-
-webkit-appearance: none;
|
|
13
|
-
-moz-appearance: none;
|
|
14
|
-
appearance: none;
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
-webkit-user-select: none;
|
|
17
|
-
-moz-user-select: none;
|
|
18
|
-
user-select: none;
|
|
19
|
-
width: -moz-fit-content;
|
|
20
|
-
width: fit-content;
|
|
21
|
-
margin: 0.5rem 0;
|
|
22
|
-
}
|
|
23
|
-
.eds-checkbox__container--reduced-click-area {
|
|
24
|
-
height: -moz-fit-content;
|
|
25
|
-
height: fit-content;
|
|
26
|
-
}
|
|
27
|
-
.eds-checkbox__container input {
|
|
28
|
-
position: absolute;
|
|
29
|
-
opacity: 0;
|
|
30
|
-
height: 0;
|
|
31
|
-
width: 0;
|
|
32
|
-
}
|
|
33
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
34
|
-
background-color: #181c56;
|
|
35
|
-
}
|
|
36
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
37
|
-
visibility: visible;
|
|
38
|
-
}
|
|
39
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
40
|
-
stroke: #ffffff;
|
|
41
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
42
|
-
}
|
|
43
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
44
|
-
fill: #ffffff;
|
|
45
|
-
}
|
|
46
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
47
|
-
opacity: 0.5;
|
|
48
|
-
}
|
|
49
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
50
|
-
opacity: 0.5;
|
|
51
|
-
}
|
|
52
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
53
|
-
opacity: 0.5;
|
|
54
|
-
}
|
|
55
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
56
|
-
opacity: 0.5;
|
|
57
|
-
}
|
|
58
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
59
|
-
opacity: 0.5;
|
|
60
|
-
}
|
|
61
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
62
|
-
background-color: #aeb7e2;
|
|
63
|
-
}
|
|
64
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
65
|
-
stroke: #181c56;
|
|
66
|
-
}
|
|
67
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
68
|
-
fill: #181c56;
|
|
69
|
-
}
|
|
70
|
-
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
71
|
-
border-color: #292b6a;
|
|
72
|
-
background-color: #d1d4e3;
|
|
73
|
-
}
|
|
74
|
-
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
75
|
-
border-color: #b6bee5;
|
|
76
|
-
background-color: rgba(174, 183, 226, 0.2);
|
|
77
|
-
}
|
|
78
|
-
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
79
|
-
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
80
|
-
border-color: transparent;
|
|
81
|
-
background-color: #54568c;
|
|
82
|
-
}
|
|
83
|
-
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
84
|
-
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
85
|
-
background-color: #b6bee5;
|
|
86
|
-
}
|
|
87
|
-
.eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
88
|
-
border-color: #16194d;
|
|
89
|
-
}
|
|
90
|
-
.eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
91
|
-
border-color: #9da5cb;
|
|
92
|
-
}
|
|
93
|
-
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
94
|
-
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
95
|
-
background-color: #16194d;
|
|
96
|
-
}
|
|
97
|
-
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
98
|
-
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
99
|
-
background-color: #9da5cb;
|
|
100
|
-
}
|
|
101
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
102
|
-
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
103
|
-
outline: none;
|
|
104
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
105
|
-
outline-offset: 0.125rem;
|
|
106
|
-
}
|
|
107
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
108
|
-
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
109
|
-
outline: none;
|
|
110
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
111
|
-
outline-offset: 0.125rem;
|
|
112
|
-
}
|
|
113
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
114
|
-
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
115
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
116
|
-
}
|
|
117
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
118
|
-
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
119
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
120
|
-
}
|
|
121
|
-
.eds-checkbox--disabled {
|
|
122
|
-
pointer-events: none;
|
|
123
|
-
}
|
|
124
|
-
.eds-checkbox--disabled .eds-checkbox__label {
|
|
125
|
-
opacity: 0.5;
|
|
126
|
-
}
|
|
127
|
-
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
128
|
-
opacity: 0.5;
|
|
129
|
-
}
|
|
130
|
-
.eds-checkbox__icon {
|
|
131
|
-
box-sizing: border-box;
|
|
132
|
-
display: inline-flex;
|
|
133
|
-
justify-content: center;
|
|
134
|
-
align-items: center;
|
|
135
|
-
position: relative;
|
|
136
|
-
margin-right: 1rem;
|
|
137
|
-
height: 1.25rem;
|
|
138
|
-
width: 1.25rem;
|
|
139
|
-
border: 0.125rem solid #181c56;
|
|
140
|
-
border-radius: 0.125rem;
|
|
141
|
-
background-color: transparent;
|
|
142
|
-
color: #ffffff;
|
|
143
|
-
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
144
|
-
}
|
|
145
|
-
.eds-checkbox__icon--reduced-click-area {
|
|
146
|
-
margin-right: 0;
|
|
147
|
-
}
|
|
148
|
-
.eds-contrast .eds-checkbox__icon {
|
|
149
|
-
border-color: #aeb7e2;
|
|
150
|
-
}
|
|
151
|
-
.eds-checkbox__icon .eds-checkbox-icon {
|
|
152
|
-
height: 1rem;
|
|
153
|
-
width: 1rem;
|
|
154
|
-
visibility: hidden;
|
|
155
|
-
}
|
|
156
|
-
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
157
|
-
transform-origin: 50% 50%;
|
|
158
|
-
stroke-dasharray: 48;
|
|
159
|
-
stroke-dashoffset: 48;
|
|
160
|
-
stroke-width: 0.375rem;
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
@keyframes stroke {
|
|
164
|
-
100% {
|
|
165
|
-
stroke-dashoffset: 0;
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
1
|
/* DO NOT CHANGE!*/
|
|
169
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
170
3
|
.eds-feedback-text {
|
|
@@ -459,6 +292,11 @@
|
|
|
459
292
|
.eds-form-control__append {
|
|
460
293
|
margin-left: 0;
|
|
461
294
|
}
|
|
295
|
+
.eds-fieldset {
|
|
296
|
+
margin: 0;
|
|
297
|
+
padding: 0;
|
|
298
|
+
border: 0;
|
|
299
|
+
}
|
|
462
300
|
/* DO NOT CHANGE!*/
|
|
463
301
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
464
302
|
.eds-input-group {
|
|
@@ -592,6 +430,168 @@
|
|
|
592
430
|
}
|
|
593
431
|
/* DO NOT CHANGE!*/
|
|
594
432
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
433
|
+
.eds-checkbox__container {
|
|
434
|
+
display: flex;
|
|
435
|
+
align-items: center;
|
|
436
|
+
position: relative;
|
|
437
|
+
-webkit-appearance: none;
|
|
438
|
+
-moz-appearance: none;
|
|
439
|
+
appearance: none;
|
|
440
|
+
cursor: pointer;
|
|
441
|
+
-webkit-user-select: none;
|
|
442
|
+
-moz-user-select: none;
|
|
443
|
+
user-select: none;
|
|
444
|
+
width: -moz-fit-content;
|
|
445
|
+
width: fit-content;
|
|
446
|
+
margin: 0.5rem 0;
|
|
447
|
+
}
|
|
448
|
+
.eds-checkbox__container--reduced-click-area {
|
|
449
|
+
height: -moz-fit-content;
|
|
450
|
+
height: fit-content;
|
|
451
|
+
}
|
|
452
|
+
.eds-checkbox__container input {
|
|
453
|
+
position: absolute;
|
|
454
|
+
opacity: 0;
|
|
455
|
+
height: 0;
|
|
456
|
+
width: 0;
|
|
457
|
+
}
|
|
458
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
459
|
+
background-color: #181c56;
|
|
460
|
+
}
|
|
461
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
462
|
+
visibility: visible;
|
|
463
|
+
}
|
|
464
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
465
|
+
stroke: #ffffff;
|
|
466
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
467
|
+
}
|
|
468
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
469
|
+
fill: #ffffff;
|
|
470
|
+
}
|
|
471
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
472
|
+
opacity: 0.5;
|
|
473
|
+
}
|
|
474
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
475
|
+
opacity: 0.5;
|
|
476
|
+
}
|
|
477
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
478
|
+
opacity: 0.5;
|
|
479
|
+
}
|
|
480
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
481
|
+
opacity: 0.5;
|
|
482
|
+
}
|
|
483
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
484
|
+
opacity: 0.5;
|
|
485
|
+
}
|
|
486
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
487
|
+
background-color: #aeb7e2;
|
|
488
|
+
}
|
|
489
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
490
|
+
stroke: #181c56;
|
|
491
|
+
}
|
|
492
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
493
|
+
fill: #181c56;
|
|
494
|
+
}
|
|
495
|
+
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
496
|
+
border-color: #292b6a;
|
|
497
|
+
background-color: #d1d4e3;
|
|
498
|
+
}
|
|
499
|
+
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
500
|
+
border-color: #b6bee5;
|
|
501
|
+
background-color: rgba(174, 183, 226, 0.2);
|
|
502
|
+
}
|
|
503
|
+
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
504
|
+
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
505
|
+
border-color: transparent;
|
|
506
|
+
background-color: #54568c;
|
|
507
|
+
}
|
|
508
|
+
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
509
|
+
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
510
|
+
background-color: #b6bee5;
|
|
511
|
+
}
|
|
512
|
+
.eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
513
|
+
border-color: #16194d;
|
|
514
|
+
}
|
|
515
|
+
.eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
|
|
516
|
+
border-color: #9da5cb;
|
|
517
|
+
}
|
|
518
|
+
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
519
|
+
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
520
|
+
background-color: #16194d;
|
|
521
|
+
}
|
|
522
|
+
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
523
|
+
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
524
|
+
background-color: #9da5cb;
|
|
525
|
+
}
|
|
526
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
527
|
+
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
528
|
+
outline: none;
|
|
529
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
530
|
+
outline-offset: 0.125rem;
|
|
531
|
+
}
|
|
532
|
+
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
533
|
+
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
534
|
+
outline: none;
|
|
535
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
536
|
+
outline-offset: 0.125rem;
|
|
537
|
+
}
|
|
538
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
539
|
+
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
540
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
541
|
+
}
|
|
542
|
+
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
543
|
+
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
544
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
545
|
+
}
|
|
546
|
+
.eds-checkbox--disabled {
|
|
547
|
+
pointer-events: none;
|
|
548
|
+
}
|
|
549
|
+
.eds-checkbox--disabled .eds-checkbox__label {
|
|
550
|
+
opacity: 0.5;
|
|
551
|
+
}
|
|
552
|
+
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
553
|
+
opacity: 0.5;
|
|
554
|
+
}
|
|
555
|
+
.eds-checkbox__icon {
|
|
556
|
+
box-sizing: border-box;
|
|
557
|
+
display: inline-flex;
|
|
558
|
+
justify-content: center;
|
|
559
|
+
align-items: center;
|
|
560
|
+
position: relative;
|
|
561
|
+
margin-right: 1rem;
|
|
562
|
+
height: 1.25rem;
|
|
563
|
+
width: 1.25rem;
|
|
564
|
+
border: 0.125rem solid #181c56;
|
|
565
|
+
border-radius: 0.125rem;
|
|
566
|
+
background-color: transparent;
|
|
567
|
+
color: #ffffff;
|
|
568
|
+
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
569
|
+
}
|
|
570
|
+
.eds-checkbox__icon--reduced-click-area {
|
|
571
|
+
margin-right: 0;
|
|
572
|
+
}
|
|
573
|
+
.eds-contrast .eds-checkbox__icon {
|
|
574
|
+
border-color: #aeb7e2;
|
|
575
|
+
}
|
|
576
|
+
.eds-checkbox__icon .eds-checkbox-icon {
|
|
577
|
+
height: 1rem;
|
|
578
|
+
width: 1rem;
|
|
579
|
+
visibility: hidden;
|
|
580
|
+
}
|
|
581
|
+
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
582
|
+
transform-origin: 50% 50%;
|
|
583
|
+
stroke-dasharray: 48;
|
|
584
|
+
stroke-dashoffset: 48;
|
|
585
|
+
stroke-width: 0.375rem;
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
@keyframes stroke {
|
|
589
|
+
100% {
|
|
590
|
+
stroke-dashoffset: 0;
|
|
591
|
+
}
|
|
592
|
+
}
|
|
593
|
+
/* DO NOT CHANGE!*/
|
|
594
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
595
595
|
.eds-form-component--radio__container {
|
|
596
596
|
display: flex;
|
|
597
597
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.26",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^6.
|
|
30
|
+
"@entur/icons": "^6.12.0",
|
|
31
31
|
"@entur/tokens": "^3.11.0",
|
|
32
|
-
"@entur/tooltip": "^2.6.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
32
|
+
"@entur/tooltip": "^2.6.35",
|
|
33
|
+
"@entur/typography": "^1.8.16",
|
|
34
34
|
"@entur/utils": "^0.9.5",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "6e557eb43d533d387713194d8b302ccc101bad20"
|
|
38
38
|
}
|