@entur/form 8.1.6 → 8.1.7
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 +241 -241
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
.eds-fieldset {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
border: 0;
|
|
5
|
+
}
|
|
1
6
|
/* DO NOT CHANGE!*/
|
|
2
7
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
8
|
.eds-feedback-text {
|
|
@@ -71,10 +76,160 @@
|
|
|
71
76
|
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
72
77
|
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
73
78
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
/* DO NOT CHANGE!*/
|
|
80
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
81
|
+
.eds-checkbox__container {
|
|
82
|
+
display: flex;
|
|
83
|
+
align-items: center;
|
|
84
|
+
position: relative;
|
|
85
|
+
-webkit-appearance: none;
|
|
86
|
+
-moz-appearance: none;
|
|
87
|
+
appearance: none;
|
|
88
|
+
cursor: pointer;
|
|
89
|
+
-webkit-user-select: none;
|
|
90
|
+
-moz-user-select: none;
|
|
91
|
+
user-select: none;
|
|
92
|
+
width: -moz-fit-content;
|
|
93
|
+
width: fit-content;
|
|
94
|
+
margin: 0.5rem 0;
|
|
95
|
+
}
|
|
96
|
+
.eds-checkbox__container--reduced-click-area {
|
|
97
|
+
height: -moz-fit-content;
|
|
98
|
+
height: fit-content;
|
|
99
|
+
}
|
|
100
|
+
.eds-checkbox__container input {
|
|
101
|
+
position: absolute;
|
|
102
|
+
opacity: 0;
|
|
103
|
+
height: 0;
|
|
104
|
+
width: 0;
|
|
105
|
+
}
|
|
106
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
107
|
+
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
108
|
+
}
|
|
109
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
110
|
+
visibility: visible;
|
|
111
|
+
}
|
|
112
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
113
|
+
stroke: var(--components-form-checkbox-standard-icon);
|
|
114
|
+
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
115
|
+
}
|
|
116
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
117
|
+
fill: var(--components-form-checkbox-standard-icon);
|
|
118
|
+
}
|
|
119
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
120
|
+
opacity: 0.5;
|
|
121
|
+
}
|
|
122
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
123
|
+
opacity: 0.5;
|
|
124
|
+
}
|
|
125
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
126
|
+
opacity: 0.5;
|
|
127
|
+
}
|
|
128
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
129
|
+
opacity: 0.5;
|
|
130
|
+
}
|
|
131
|
+
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
132
|
+
opacity: 0.5;
|
|
133
|
+
}
|
|
134
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
135
|
+
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
136
|
+
}
|
|
137
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
138
|
+
stroke: var(--components-form-checkbox-contrast-icon);
|
|
139
|
+
}
|
|
140
|
+
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
141
|
+
fill: var(--components-form-checkbox-contrast-icon);
|
|
142
|
+
}
|
|
143
|
+
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
144
|
+
border-color: var(--components-form-checkbox-standard-border);
|
|
145
|
+
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
146
|
+
}
|
|
147
|
+
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
148
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
149
|
+
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
150
|
+
}
|
|
151
|
+
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
152
|
+
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
153
|
+
border-color: transparent;
|
|
154
|
+
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
155
|
+
}
|
|
156
|
+
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
157
|
+
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
158
|
+
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
159
|
+
}
|
|
160
|
+
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
161
|
+
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
162
|
+
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
163
|
+
}
|
|
164
|
+
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
165
|
+
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
166
|
+
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
167
|
+
}
|
|
168
|
+
.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
|
+
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
176
|
+
outline: 2px solid #181c56;
|
|
177
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
178
|
+
outline-offset: 0.125rem;
|
|
179
|
+
}
|
|
180
|
+
.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
|
+
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
186
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
187
|
+
}
|
|
188
|
+
.eds-checkbox--disabled {
|
|
189
|
+
pointer-events: none;
|
|
190
|
+
}
|
|
191
|
+
.eds-checkbox--disabled .eds-checkbox__label {
|
|
192
|
+
opacity: 0.5;
|
|
193
|
+
}
|
|
194
|
+
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
195
|
+
opacity: 0.5;
|
|
196
|
+
}
|
|
197
|
+
.eds-checkbox__icon {
|
|
198
|
+
box-sizing: border-box;
|
|
199
|
+
display: inline-flex;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
align-items: center;
|
|
202
|
+
position: relative;
|
|
203
|
+
margin-right: 1rem;
|
|
204
|
+
height: 1.25rem;
|
|
205
|
+
width: 1.25rem;
|
|
206
|
+
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
207
|
+
border-radius: 0.125rem;
|
|
208
|
+
background-color: transparent;
|
|
209
|
+
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
210
|
+
}
|
|
211
|
+
.eds-checkbox__icon--reduced-click-area {
|
|
212
|
+
margin-right: 0;
|
|
213
|
+
}
|
|
214
|
+
.eds-contrast .eds-checkbox__icon {
|
|
215
|
+
border-color: var(--components-form-checkbox-contrast-border);
|
|
216
|
+
}
|
|
217
|
+
.eds-checkbox__icon .eds-checkbox-icon {
|
|
218
|
+
height: 1rem;
|
|
219
|
+
width: 1rem;
|
|
220
|
+
visibility: hidden;
|
|
221
|
+
}
|
|
222
|
+
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
223
|
+
transform-origin: 50% 50%;
|
|
224
|
+
stroke-dasharray: 48;
|
|
225
|
+
stroke-dashoffset: 48;
|
|
226
|
+
stroke-width: 0.375rem;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
@keyframes stroke {
|
|
230
|
+
100% {
|
|
231
|
+
stroke-dashoffset: 0;
|
|
232
|
+
}
|
|
78
233
|
}
|
|
79
234
|
/* DO NOT CHANGE!*/
|
|
80
235
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -287,161 +442,6 @@
|
|
|
287
442
|
}
|
|
288
443
|
/* DO NOT CHANGE!*/
|
|
289
444
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
290
|
-
.eds-checkbox__container {
|
|
291
|
-
display: flex;
|
|
292
|
-
align-items: center;
|
|
293
|
-
position: relative;
|
|
294
|
-
-webkit-appearance: none;
|
|
295
|
-
-moz-appearance: none;
|
|
296
|
-
appearance: none;
|
|
297
|
-
cursor: pointer;
|
|
298
|
-
-webkit-user-select: none;
|
|
299
|
-
-moz-user-select: none;
|
|
300
|
-
user-select: none;
|
|
301
|
-
width: -moz-fit-content;
|
|
302
|
-
width: fit-content;
|
|
303
|
-
margin: 0.5rem 0;
|
|
304
|
-
}
|
|
305
|
-
.eds-checkbox__container--reduced-click-area {
|
|
306
|
-
height: -moz-fit-content;
|
|
307
|
-
height: fit-content;
|
|
308
|
-
}
|
|
309
|
-
.eds-checkbox__container input {
|
|
310
|
-
position: absolute;
|
|
311
|
-
opacity: 0;
|
|
312
|
-
height: 0;
|
|
313
|
-
width: 0;
|
|
314
|
-
}
|
|
315
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
316
|
-
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
317
|
-
}
|
|
318
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
|
|
319
|
-
visibility: visible;
|
|
320
|
-
}
|
|
321
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
|
|
322
|
-
stroke: var(--components-form-checkbox-standard-icon);
|
|
323
|
-
animation: stroke ease-in-out 0.2s 0.1s forwards;
|
|
324
|
-
}
|
|
325
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
|
|
326
|
-
fill: var(--components-form-checkbox-standard-icon);
|
|
327
|
-
}
|
|
328
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
329
|
-
opacity: 0.5;
|
|
330
|
-
}
|
|
331
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
332
|
-
opacity: 0.5;
|
|
333
|
-
}
|
|
334
|
-
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
335
|
-
opacity: 0.5;
|
|
336
|
-
}
|
|
337
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
338
|
-
opacity: 0.5;
|
|
339
|
-
}
|
|
340
|
-
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
341
|
-
opacity: 0.5;
|
|
342
|
-
}
|
|
343
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
|
|
344
|
-
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
345
|
-
}
|
|
346
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
|
|
347
|
-
stroke: var(--components-form-checkbox-contrast-icon);
|
|
348
|
-
}
|
|
349
|
-
.eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
|
|
350
|
-
fill: var(--components-form-checkbox-contrast-icon);
|
|
351
|
-
}
|
|
352
|
-
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
353
|
-
border-color: var(--components-form-checkbox-standard-border);
|
|
354
|
-
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
355
|
-
}
|
|
356
|
-
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
357
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
358
|
-
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
359
|
-
}
|
|
360
|
-
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
361
|
-
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
362
|
-
border-color: transparent;
|
|
363
|
-
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
364
|
-
}
|
|
365
|
-
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
366
|
-
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
367
|
-
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
368
|
-
}
|
|
369
|
-
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
370
|
-
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
371
|
-
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
372
|
-
}
|
|
373
|
-
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
374
|
-
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
375
|
-
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
376
|
-
}
|
|
377
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
378
|
-
.eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
379
|
-
outline: 2px solid #181c56;
|
|
380
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
381
|
-
outline-offset: 0.125rem;
|
|
382
|
-
}
|
|
383
|
-
.eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
384
|
-
.eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
385
|
-
outline: 2px solid #181c56;
|
|
386
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
387
|
-
outline-offset: 0.125rem;
|
|
388
|
-
}
|
|
389
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
390
|
-
.eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
|
|
391
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
392
|
-
}
|
|
393
|
-
.eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
|
|
394
|
-
.eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
|
|
395
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
396
|
-
}
|
|
397
|
-
.eds-checkbox--disabled {
|
|
398
|
-
pointer-events: none;
|
|
399
|
-
}
|
|
400
|
-
.eds-checkbox--disabled .eds-checkbox__label {
|
|
401
|
-
opacity: 0.5;
|
|
402
|
-
}
|
|
403
|
-
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
404
|
-
opacity: 0.5;
|
|
405
|
-
}
|
|
406
|
-
.eds-checkbox__icon {
|
|
407
|
-
box-sizing: border-box;
|
|
408
|
-
display: inline-flex;
|
|
409
|
-
justify-content: center;
|
|
410
|
-
align-items: center;
|
|
411
|
-
position: relative;
|
|
412
|
-
margin-right: 1rem;
|
|
413
|
-
height: 1.25rem;
|
|
414
|
-
width: 1.25rem;
|
|
415
|
-
border: 0.125rem solid var(--components-form-checkbox-standard-border);
|
|
416
|
-
border-radius: 0.125rem;
|
|
417
|
-
background-color: transparent;
|
|
418
|
-
transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
419
|
-
}
|
|
420
|
-
.eds-checkbox__icon--reduced-click-area {
|
|
421
|
-
margin-right: 0;
|
|
422
|
-
}
|
|
423
|
-
.eds-contrast .eds-checkbox__icon {
|
|
424
|
-
border-color: var(--components-form-checkbox-contrast-border);
|
|
425
|
-
}
|
|
426
|
-
.eds-checkbox__icon .eds-checkbox-icon {
|
|
427
|
-
height: 1rem;
|
|
428
|
-
width: 1rem;
|
|
429
|
-
visibility: hidden;
|
|
430
|
-
}
|
|
431
|
-
.eds-checkbox__icon .eds-checkbox-icon path {
|
|
432
|
-
transform-origin: 50% 50%;
|
|
433
|
-
stroke-dasharray: 48;
|
|
434
|
-
stroke-dashoffset: 48;
|
|
435
|
-
stroke-width: 0.375rem;
|
|
436
|
-
}
|
|
437
|
-
|
|
438
|
-
@keyframes stroke {
|
|
439
|
-
100% {
|
|
440
|
-
stroke-dashoffset: 0;
|
|
441
|
-
}
|
|
442
|
-
}
|
|
443
|
-
/* DO NOT CHANGE!*/
|
|
444
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
445
445
|
.eds-input-group {
|
|
446
446
|
color: inherit;
|
|
447
447
|
display: block;
|
|
@@ -543,6 +543,88 @@
|
|
|
543
543
|
}
|
|
544
544
|
/* DO NOT CHANGE!*/
|
|
545
545
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
546
|
+
.eds-form-component--radio__container {
|
|
547
|
+
display: flex;
|
|
548
|
+
justify-content: center;
|
|
549
|
+
align-items: center;
|
|
550
|
+
position: relative;
|
|
551
|
+
cursor: pointer;
|
|
552
|
+
height: 2rem;
|
|
553
|
+
width: -moz-fit-content;
|
|
554
|
+
width: fit-content;
|
|
555
|
+
-webkit-user-select: none;
|
|
556
|
+
-moz-user-select: none;
|
|
557
|
+
user-select: none;
|
|
558
|
+
}
|
|
559
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
560
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
561
|
+
}
|
|
562
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
563
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
564
|
+
}
|
|
565
|
+
.eds-form-component--radio__container input {
|
|
566
|
+
position: absolute;
|
|
567
|
+
opacity: 0;
|
|
568
|
+
cursor: pointer;
|
|
569
|
+
height: 0;
|
|
570
|
+
width: 0;
|
|
571
|
+
}
|
|
572
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
573
|
+
height: 0.625rem;
|
|
574
|
+
width: 0.625rem;
|
|
575
|
+
}
|
|
576
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
577
|
+
outline: 2px solid #181c56;
|
|
578
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
579
|
+
outline-offset: 0.125rem;
|
|
580
|
+
}
|
|
581
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
582
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
583
|
+
}
|
|
584
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
585
|
+
position: relative;
|
|
586
|
+
height: 1.25rem;
|
|
587
|
+
width: 1.25rem;
|
|
588
|
+
margin-right: 1rem;
|
|
589
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
590
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
591
|
+
border-radius: 50%;
|
|
592
|
+
display: flex;
|
|
593
|
+
align-items: center;
|
|
594
|
+
justify-content: center;
|
|
595
|
+
}
|
|
596
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
597
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
598
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
599
|
+
}
|
|
600
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
601
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
602
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
603
|
+
cursor: not-allowed;
|
|
604
|
+
}
|
|
605
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
606
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
607
|
+
}
|
|
608
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
609
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
610
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
611
|
+
}
|
|
612
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
613
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
614
|
+
}
|
|
615
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
616
|
+
display: block;
|
|
617
|
+
width: 0;
|
|
618
|
+
height: 0;
|
|
619
|
+
border-radius: 50%;
|
|
620
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
621
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
622
|
+
}
|
|
623
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
624
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
625
|
+
}
|
|
626
|
+
/* DO NOT CHANGE!*/
|
|
627
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
546
628
|
.eds-switch {
|
|
547
629
|
cursor: pointer;
|
|
548
630
|
-webkit-user-select: none;
|
|
@@ -662,88 +744,6 @@
|
|
|
662
744
|
}
|
|
663
745
|
/* DO NOT CHANGE!*/
|
|
664
746
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
665
|
-
.eds-form-component--radio__container {
|
|
666
|
-
display: flex;
|
|
667
|
-
justify-content: center;
|
|
668
|
-
align-items: center;
|
|
669
|
-
position: relative;
|
|
670
|
-
cursor: pointer;
|
|
671
|
-
height: 2rem;
|
|
672
|
-
width: -moz-fit-content;
|
|
673
|
-
width: fit-content;
|
|
674
|
-
-webkit-user-select: none;
|
|
675
|
-
-moz-user-select: none;
|
|
676
|
-
user-select: none;
|
|
677
|
-
}
|
|
678
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
679
|
-
background-color: var(--components-form-radio-standard-fill-hover);
|
|
680
|
-
}
|
|
681
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
682
|
-
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
683
|
-
}
|
|
684
|
-
.eds-form-component--radio__container input {
|
|
685
|
-
position: absolute;
|
|
686
|
-
opacity: 0;
|
|
687
|
-
cursor: pointer;
|
|
688
|
-
height: 0;
|
|
689
|
-
width: 0;
|
|
690
|
-
}
|
|
691
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
692
|
-
height: 0.625rem;
|
|
693
|
-
width: 0.625rem;
|
|
694
|
-
}
|
|
695
|
-
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
696
|
-
outline: 2px solid #181c56;
|
|
697
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
698
|
-
outline-offset: 0.125rem;
|
|
699
|
-
}
|
|
700
|
-
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
701
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
702
|
-
}
|
|
703
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
704
|
-
position: relative;
|
|
705
|
-
height: 1.25rem;
|
|
706
|
-
width: 1.25rem;
|
|
707
|
-
margin-right: 1rem;
|
|
708
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
709
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
710
|
-
border-radius: 50%;
|
|
711
|
-
display: flex;
|
|
712
|
-
align-items: center;
|
|
713
|
-
justify-content: center;
|
|
714
|
-
}
|
|
715
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
716
|
-
background-color: var(--components-form-radio-contrast-fill-default);
|
|
717
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
718
|
-
}
|
|
719
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
720
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
721
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
722
|
-
cursor: not-allowed;
|
|
723
|
-
}
|
|
724
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
725
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
726
|
-
}
|
|
727
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
728
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
729
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
730
|
-
}
|
|
731
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
732
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
733
|
-
}
|
|
734
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
735
|
-
display: block;
|
|
736
|
-
width: 0;
|
|
737
|
-
height: 0;
|
|
738
|
-
border-radius: 50%;
|
|
739
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
740
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
741
|
-
}
|
|
742
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
743
|
-
background-color: var(--components-form-radio-contrast-icon);
|
|
744
|
-
}
|
|
745
|
-
/* DO NOT CHANGE!*/
|
|
746
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
747
747
|
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
748
748
|
outline: 2px solid #181c56;
|
|
749
749
|
outline-color: var(--basecolors-stroke-focus-standard);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.7",
|
|
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.
|
|
30
|
+
"@entur/icons": "^7.5.0",
|
|
31
31
|
"@entur/tokens": "^3.17.3",
|
|
32
|
-
"@entur/tooltip": "^5.1.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
32
|
+
"@entur/tooltip": "^5.1.3",
|
|
33
|
+
"@entur/typography": "^1.8.49",
|
|
34
34
|
"@entur/utils": "^0.12.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "7b67c7eded2ea9495ba4e21a9bef33c1a82d4a43"
|
|
38
38
|
}
|