@entur/form 7.0.10 → 7.0.11
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 +274 -274
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -3,58 +3,6 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-feedback-text {
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
margin-top: 0.25rem;
|
|
10
|
-
}
|
|
11
|
-
.eds-feedback-text--info {
|
|
12
|
-
padding-left: calc(1rem + 0.125rem);
|
|
13
|
-
}
|
|
14
|
-
.eds-feedback-text__text {
|
|
15
|
-
color: #181c56;
|
|
16
|
-
}
|
|
17
|
-
.eds-contrast .eds-feedback-text__text {
|
|
18
|
-
color: #ffffff;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.eds-feedback-text__icon {
|
|
22
|
-
font-size: 1.5rem;
|
|
23
|
-
min-height: 1.5rem;
|
|
24
|
-
min-width: 1.5rem;
|
|
25
|
-
padding-right: 0.5rem;
|
|
26
|
-
position: relative;
|
|
27
|
-
top: -0.1rem;
|
|
28
|
-
}
|
|
29
|
-
.eds-feedback-text__icon--success {
|
|
30
|
-
color: #1a8e60;
|
|
31
|
-
}
|
|
32
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
33
|
-
color: #5ac39a;
|
|
34
|
-
}
|
|
35
|
-
.eds-feedback-text__icon--error {
|
|
36
|
-
color: #d31b1b;
|
|
37
|
-
}
|
|
38
|
-
.eds-contrast .eds-feedback-text__icon--error {
|
|
39
|
-
color: #ff9494;
|
|
40
|
-
}
|
|
41
|
-
.eds-feedback-text__icon--info {
|
|
42
|
-
color: #0082b9;
|
|
43
|
-
}
|
|
44
|
-
.eds-contrast .eds-feedback-text__icon--info {
|
|
45
|
-
color: #64b3e7;
|
|
46
|
-
}
|
|
47
|
-
.eds-feedback-text__icon--warning {
|
|
48
|
-
color: #ffca28;
|
|
49
|
-
}
|
|
50
|
-
.eds-feedback-text__icon--warning circle {
|
|
51
|
-
fill: #181c56;
|
|
52
|
-
}
|
|
53
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
54
|
-
color: #ffe082;
|
|
55
|
-
}
|
|
56
|
-
/* DO NOT CHANGE!*/
|
|
57
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
58
6
|
.eds-checkbox__container {
|
|
59
7
|
display: flex;
|
|
60
8
|
align-items: center;
|
|
@@ -217,229 +165,62 @@
|
|
|
217
165
|
}
|
|
218
166
|
/* DO NOT CHANGE!*/
|
|
219
167
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
220
|
-
.eds-
|
|
221
|
-
margin: 0;
|
|
222
|
-
padding: 0;
|
|
223
|
-
border: 0;
|
|
224
|
-
}
|
|
225
|
-
/* DO NOT CHANGE!*/
|
|
226
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
227
|
-
.eds-form-component--radio__container {
|
|
228
|
-
display: flex;
|
|
229
|
-
justify-content: center;
|
|
230
|
-
align-items: center;
|
|
231
|
-
position: relative;
|
|
232
|
-
cursor: pointer;
|
|
233
|
-
height: 2rem;
|
|
234
|
-
width: -moz-fit-content;
|
|
235
|
-
width: fit-content;
|
|
236
|
-
-webkit-user-select: none;
|
|
237
|
-
-moz-user-select: none;
|
|
238
|
-
user-select: none;
|
|
239
|
-
}
|
|
240
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
241
|
-
border-color: #54568c;
|
|
242
|
-
}
|
|
243
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
244
|
-
background-color: #54568c;
|
|
245
|
-
}
|
|
246
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
247
|
-
border-color: #8285a8;
|
|
248
|
-
}
|
|
249
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
250
|
-
background-color: #8285a8;
|
|
251
|
-
}
|
|
252
|
-
.eds-form-component--radio__container input {
|
|
253
|
-
position: absolute;
|
|
254
|
-
opacity: 0;
|
|
255
|
-
cursor: pointer;
|
|
256
|
-
height: 0;
|
|
257
|
-
width: 0;
|
|
258
|
-
}
|
|
259
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
260
|
-
height: 0.625rem;
|
|
261
|
-
width: 0.625rem;
|
|
262
|
-
}
|
|
263
|
-
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
264
|
-
outline: none;
|
|
265
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
266
|
-
outline-offset: 0.125rem;
|
|
267
|
-
}
|
|
268
|
-
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
269
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
270
|
-
}
|
|
271
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
272
|
-
position: relative;
|
|
273
|
-
height: 1.25rem;
|
|
274
|
-
width: 1.25rem;
|
|
275
|
-
margin-right: 1rem;
|
|
276
|
-
background-color: #ffffff;
|
|
277
|
-
border: 0.125rem solid #181c56;
|
|
278
|
-
border-radius: 50%;
|
|
168
|
+
.eds-feedback-text {
|
|
279
169
|
display: flex;
|
|
280
170
|
align-items: center;
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
284
|
-
background-color: #181c56;
|
|
285
|
-
border-color: #aeb7e2;
|
|
286
|
-
}
|
|
287
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
288
|
-
background: #d1d3d3;
|
|
289
|
-
border-color: #d1d3d3;
|
|
290
|
-
cursor: not-allowed;
|
|
291
|
-
}
|
|
292
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
293
|
-
border-color: #d1d3d3;
|
|
294
|
-
}
|
|
295
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
296
|
-
background: #d1d3d3;
|
|
297
|
-
border-color: #d1d3d3;
|
|
171
|
+
margin-top: 0.25rem;
|
|
298
172
|
}
|
|
299
|
-
.eds-
|
|
300
|
-
|
|
173
|
+
.eds-feedback-text--info {
|
|
174
|
+
padding-left: calc(1rem + 0.125rem);
|
|
301
175
|
}
|
|
302
|
-
.eds-
|
|
303
|
-
|
|
304
|
-
width: 0;
|
|
305
|
-
height: 0;
|
|
306
|
-
border-radius: 50%;
|
|
307
|
-
background-color: #181c56;
|
|
308
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
176
|
+
.eds-feedback-text__text {
|
|
177
|
+
color: #181c56;
|
|
309
178
|
}
|
|
310
|
-
.eds-contrast .eds-
|
|
311
|
-
|
|
179
|
+
.eds-contrast .eds-feedback-text__text {
|
|
180
|
+
color: #ffffff;
|
|
312
181
|
}
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
182
|
+
|
|
183
|
+
.eds-feedback-text__icon {
|
|
184
|
+
font-size: 1.5rem;
|
|
185
|
+
min-height: 1.5rem;
|
|
186
|
+
min-width: 1.5rem;
|
|
187
|
+
padding-right: 0.5rem;
|
|
318
188
|
position: relative;
|
|
189
|
+
top: -0.1rem;
|
|
319
190
|
}
|
|
320
|
-
.eds-
|
|
321
|
-
color: #
|
|
322
|
-
display: flex;
|
|
323
|
-
font-size: 1rem;
|
|
324
|
-
position: absolute;
|
|
325
|
-
line-height: 1rem;
|
|
326
|
-
height: 3rem;
|
|
327
|
-
padding: 1rem;
|
|
328
|
-
padding-left: 0;
|
|
329
|
-
margin-left: 1rem;
|
|
330
|
-
top: -0.125rem;
|
|
331
|
-
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;
|
|
332
|
-
-webkit-user-select: none;
|
|
333
|
-
-moz-user-select: none;
|
|
334
|
-
user-select: none;
|
|
335
|
-
pointer-events: none;
|
|
336
|
-
}
|
|
337
|
-
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
338
|
-
top: 0.375rem;
|
|
339
|
-
font-size: 0.75rem;
|
|
340
|
-
line-height: 0.75rem;
|
|
341
|
-
height: 10px;
|
|
342
|
-
padding: 0;
|
|
343
|
-
margin-left: 1rem;
|
|
344
|
-
}
|
|
345
|
-
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
346
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
347
|
-
background: var(--textarea-label-background);
|
|
348
|
-
width: calc(
|
|
349
|
-
100% - 1rem - 1rem - 4px
|
|
350
|
-
);
|
|
351
|
-
}
|
|
352
|
-
.eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
353
|
-
top: 0.5rem;
|
|
354
|
-
font-size: 0.875rem;
|
|
355
|
-
line-height: 1rem;
|
|
356
|
-
padding: 0;
|
|
357
|
-
margin-left: 1rem;
|
|
358
|
-
}
|
|
359
|
-
.eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
|
|
360
|
-
color: #aeb7e2;
|
|
361
|
-
}
|
|
362
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
363
|
-
font-size: 1.5rem;
|
|
364
|
-
line-height: 2.25rem;
|
|
365
|
-
height: 4rem;
|
|
191
|
+
.eds-feedback-text__icon--success {
|
|
192
|
+
color: #1a8e60;
|
|
366
193
|
}
|
|
367
|
-
.eds-
|
|
368
|
-
|
|
369
|
-
font-size: 0.75rem;
|
|
370
|
-
line-height: 0.75rem;
|
|
371
|
-
height: 10px;
|
|
372
|
-
padding: 0;
|
|
373
|
-
margin-left: 1rem;
|
|
194
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
195
|
+
color: #5ac39a;
|
|
374
196
|
}
|
|
375
|
-
.eds-
|
|
376
|
-
|
|
377
|
-
background: var(--textarea-label-background);
|
|
378
|
-
width: calc(
|
|
379
|
-
100% - 1rem - 1rem - 4px
|
|
380
|
-
);
|
|
197
|
+
.eds-feedback-text__icon--error {
|
|
198
|
+
color: #d31b1b;
|
|
381
199
|
}
|
|
382
|
-
.eds-
|
|
383
|
-
|
|
384
|
-
font-size: 0.875rem;
|
|
385
|
-
line-height: 1rem;
|
|
386
|
-
padding: 0;
|
|
387
|
-
margin-left: 1rem;
|
|
200
|
+
.eds-contrast .eds-feedback-text__icon--error {
|
|
201
|
+
color: #ff9494;
|
|
388
202
|
}
|
|
389
|
-
.eds-
|
|
203
|
+
.eds-feedback-text__icon--info {
|
|
390
204
|
color: #0082b9;
|
|
391
|
-
padding-left: 0.25rem;
|
|
392
|
-
padding-right: 0.25rem;
|
|
393
|
-
display: flex;
|
|
394
|
-
align-items: center;
|
|
395
|
-
cursor: help;
|
|
396
|
-
font-size: 1rem;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
400
|
-
top: 0.375rem;
|
|
401
|
-
font-size: 0.75rem;
|
|
402
|
-
line-height: 0.75rem;
|
|
403
|
-
height: 10px;
|
|
404
|
-
padding: 0;
|
|
405
|
-
margin-left: 1rem;
|
|
406
205
|
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
top: 0.375rem;
|
|
410
|
-
font-size: 0.75rem;
|
|
411
|
-
line-height: 0.75rem;
|
|
412
|
-
height: 10px;
|
|
413
|
-
padding: 0;
|
|
414
|
-
margin-left: 1rem;
|
|
206
|
+
.eds-contrast .eds-feedback-text__icon--info {
|
|
207
|
+
color: #64b3e7;
|
|
415
208
|
}
|
|
416
|
-
.eds-
|
|
417
|
-
|
|
418
|
-
background: var(--textarea-label-background);
|
|
419
|
-
width: calc(
|
|
420
|
-
100% - 1rem - 1rem - 4px
|
|
421
|
-
);
|
|
209
|
+
.eds-feedback-text__icon--warning {
|
|
210
|
+
color: #ffca28;
|
|
422
211
|
}
|
|
423
|
-
.eds-
|
|
424
|
-
|
|
425
|
-
background: var(--textarea-label-background);
|
|
426
|
-
width: calc(
|
|
427
|
-
100% - 1rem - 1rem - 4px
|
|
428
|
-
);
|
|
212
|
+
.eds-feedback-text__icon--warning circle {
|
|
213
|
+
fill: #181c56;
|
|
429
214
|
}
|
|
430
|
-
.eds-
|
|
431
|
-
|
|
432
|
-
font-size: 0.875rem;
|
|
433
|
-
line-height: 1rem;
|
|
434
|
-
padding: 0;
|
|
435
|
-
margin-left: 1rem;
|
|
215
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
216
|
+
color: #ffe082;
|
|
436
217
|
}
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
218
|
+
/* DO NOT CHANGE!*/
|
|
219
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
220
|
+
.eds-fieldset {
|
|
221
|
+
margin: 0;
|
|
441
222
|
padding: 0;
|
|
442
|
-
|
|
223
|
+
border: 0;
|
|
443
224
|
}
|
|
444
225
|
/* DO NOT CHANGE!*/
|
|
445
226
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -685,6 +466,225 @@
|
|
|
685
466
|
}
|
|
686
467
|
/* DO NOT CHANGE!*/
|
|
687
468
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
469
|
+
.eds-form-component--radio__container {
|
|
470
|
+
display: flex;
|
|
471
|
+
justify-content: center;
|
|
472
|
+
align-items: center;
|
|
473
|
+
position: relative;
|
|
474
|
+
cursor: pointer;
|
|
475
|
+
height: 2rem;
|
|
476
|
+
width: -moz-fit-content;
|
|
477
|
+
width: fit-content;
|
|
478
|
+
-webkit-user-select: none;
|
|
479
|
+
-moz-user-select: none;
|
|
480
|
+
user-select: none;
|
|
481
|
+
}
|
|
482
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
483
|
+
border-color: #54568c;
|
|
484
|
+
}
|
|
485
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
486
|
+
background-color: #54568c;
|
|
487
|
+
}
|
|
488
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
489
|
+
border-color: #8285a8;
|
|
490
|
+
}
|
|
491
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
492
|
+
background-color: #8285a8;
|
|
493
|
+
}
|
|
494
|
+
.eds-form-component--radio__container input {
|
|
495
|
+
position: absolute;
|
|
496
|
+
opacity: 0;
|
|
497
|
+
cursor: pointer;
|
|
498
|
+
height: 0;
|
|
499
|
+
width: 0;
|
|
500
|
+
}
|
|
501
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
502
|
+
height: 0.625rem;
|
|
503
|
+
width: 0.625rem;
|
|
504
|
+
}
|
|
505
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
506
|
+
outline: none;
|
|
507
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
508
|
+
outline-offset: 0.125rem;
|
|
509
|
+
}
|
|
510
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
511
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
512
|
+
}
|
|
513
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
514
|
+
position: relative;
|
|
515
|
+
height: 1.25rem;
|
|
516
|
+
width: 1.25rem;
|
|
517
|
+
margin-right: 1rem;
|
|
518
|
+
background-color: #ffffff;
|
|
519
|
+
border: 0.125rem solid #181c56;
|
|
520
|
+
border-radius: 50%;
|
|
521
|
+
display: flex;
|
|
522
|
+
align-items: center;
|
|
523
|
+
justify-content: center;
|
|
524
|
+
}
|
|
525
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
526
|
+
background-color: #181c56;
|
|
527
|
+
border-color: #aeb7e2;
|
|
528
|
+
}
|
|
529
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
530
|
+
background: #d1d3d3;
|
|
531
|
+
border-color: #d1d3d3;
|
|
532
|
+
cursor: not-allowed;
|
|
533
|
+
}
|
|
534
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
535
|
+
border-color: #d1d3d3;
|
|
536
|
+
}
|
|
537
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
538
|
+
background: #d1d3d3;
|
|
539
|
+
border-color: #d1d3d3;
|
|
540
|
+
}
|
|
541
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
542
|
+
color: #656782;
|
|
543
|
+
}
|
|
544
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
545
|
+
display: block;
|
|
546
|
+
width: 0;
|
|
547
|
+
height: 0;
|
|
548
|
+
border-radius: 50%;
|
|
549
|
+
background-color: #181c56;
|
|
550
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
551
|
+
}
|
|
552
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
553
|
+
background-color: #aeb7e2;
|
|
554
|
+
}
|
|
555
|
+
/* DO NOT CHANGE!*/
|
|
556
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
557
|
+
.eds-input-group {
|
|
558
|
+
color: inherit;
|
|
559
|
+
display: block;
|
|
560
|
+
position: relative;
|
|
561
|
+
}
|
|
562
|
+
.eds-input-group__label {
|
|
563
|
+
color: #656782;
|
|
564
|
+
display: flex;
|
|
565
|
+
font-size: 1rem;
|
|
566
|
+
position: absolute;
|
|
567
|
+
line-height: 1rem;
|
|
568
|
+
height: 3rem;
|
|
569
|
+
padding: 1rem;
|
|
570
|
+
padding-left: 0;
|
|
571
|
+
margin-left: 1rem;
|
|
572
|
+
top: -0.125rem;
|
|
573
|
+
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;
|
|
574
|
+
-webkit-user-select: none;
|
|
575
|
+
-moz-user-select: none;
|
|
576
|
+
user-select: none;
|
|
577
|
+
pointer-events: none;
|
|
578
|
+
}
|
|
579
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
580
|
+
top: 0.375rem;
|
|
581
|
+
font-size: 0.75rem;
|
|
582
|
+
line-height: 0.75rem;
|
|
583
|
+
height: 10px;
|
|
584
|
+
padding: 0;
|
|
585
|
+
margin-left: 1rem;
|
|
586
|
+
}
|
|
587
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
588
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
589
|
+
background: var(--textarea-label-background);
|
|
590
|
+
width: calc(
|
|
591
|
+
100% - 1rem - 1rem - 4px
|
|
592
|
+
);
|
|
593
|
+
}
|
|
594
|
+
.eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
595
|
+
top: 0.5rem;
|
|
596
|
+
font-size: 0.875rem;
|
|
597
|
+
line-height: 1rem;
|
|
598
|
+
padding: 0;
|
|
599
|
+
margin-left: 1rem;
|
|
600
|
+
}
|
|
601
|
+
.eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
|
|
602
|
+
color: #aeb7e2;
|
|
603
|
+
}
|
|
604
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
605
|
+
font-size: 1.5rem;
|
|
606
|
+
line-height: 2.25rem;
|
|
607
|
+
height: 4rem;
|
|
608
|
+
}
|
|
609
|
+
.eds-input-group__label--filled {
|
|
610
|
+
top: 0.375rem;
|
|
611
|
+
font-size: 0.75rem;
|
|
612
|
+
line-height: 0.75rem;
|
|
613
|
+
height: 10px;
|
|
614
|
+
padding: 0;
|
|
615
|
+
margin-left: 1rem;
|
|
616
|
+
}
|
|
617
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
618
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
619
|
+
background: var(--textarea-label-background);
|
|
620
|
+
width: calc(
|
|
621
|
+
100% - 1rem - 1rem - 4px
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
625
|
+
top: 0.5rem;
|
|
626
|
+
font-size: 0.875rem;
|
|
627
|
+
line-height: 1rem;
|
|
628
|
+
padding: 0;
|
|
629
|
+
margin-left: 1rem;
|
|
630
|
+
}
|
|
631
|
+
.eds-input-group__label-tooltip-icon {
|
|
632
|
+
color: #0082b9;
|
|
633
|
+
padding-left: 0.25rem;
|
|
634
|
+
padding-right: 0.25rem;
|
|
635
|
+
display: flex;
|
|
636
|
+
align-items: center;
|
|
637
|
+
cursor: help;
|
|
638
|
+
font-size: 1rem;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
642
|
+
top: 0.375rem;
|
|
643
|
+
font-size: 0.75rem;
|
|
644
|
+
line-height: 0.75rem;
|
|
645
|
+
height: 10px;
|
|
646
|
+
padding: 0;
|
|
647
|
+
margin-left: 1rem;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
651
|
+
top: 0.375rem;
|
|
652
|
+
font-size: 0.75rem;
|
|
653
|
+
line-height: 0.75rem;
|
|
654
|
+
height: 10px;
|
|
655
|
+
padding: 0;
|
|
656
|
+
margin-left: 1rem;
|
|
657
|
+
}
|
|
658
|
+
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
659
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
660
|
+
background: var(--textarea-label-background);
|
|
661
|
+
width: calc(
|
|
662
|
+
100% - 1rem - 1rem - 4px
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
666
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
667
|
+
background: var(--textarea-label-background);
|
|
668
|
+
width: calc(
|
|
669
|
+
100% - 1rem - 1rem - 4px
|
|
670
|
+
);
|
|
671
|
+
}
|
|
672
|
+
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
673
|
+
top: 0.5rem;
|
|
674
|
+
font-size: 0.875rem;
|
|
675
|
+
line-height: 1rem;
|
|
676
|
+
padding: 0;
|
|
677
|
+
margin-left: 1rem;
|
|
678
|
+
}
|
|
679
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
680
|
+
top: 0.5rem;
|
|
681
|
+
font-size: 0.875rem;
|
|
682
|
+
line-height: 1rem;
|
|
683
|
+
padding: 0;
|
|
684
|
+
margin-left: 1rem;
|
|
685
|
+
}
|
|
686
|
+
/* DO NOT CHANGE!*/
|
|
687
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
688
688
|
.eds-switch {
|
|
689
689
|
cursor: pointer;
|
|
690
690
|
-webkit-user-select: none;
|
|
@@ -804,13 +804,6 @@
|
|
|
804
804
|
}
|
|
805
805
|
/* DO NOT CHANGE!*/
|
|
806
806
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
807
|
-
textarea.eds-form-control.eds-textarea {
|
|
808
|
-
min-height: 7.75rem;
|
|
809
|
-
resize: vertical;
|
|
810
|
-
line-height: 1.5rem;
|
|
811
|
-
}
|
|
812
|
-
/* DO NOT CHANGE!*/
|
|
813
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
814
807
|
.eds-textfield__clear-button {
|
|
815
808
|
background: none;
|
|
816
809
|
border: none;
|
|
@@ -848,6 +841,24 @@ textarea.eds-form-control.eds-textarea {
|
|
|
848
841
|
}
|
|
849
842
|
/* DO NOT CHANGE!*/
|
|
850
843
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
844
|
+
textarea.eds-form-control.eds-textarea {
|
|
845
|
+
min-height: 7.75rem;
|
|
846
|
+
resize: vertical;
|
|
847
|
+
line-height: 1.5rem;
|
|
848
|
+
}
|
|
849
|
+
/* DO NOT CHANGE!*/
|
|
850
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
851
|
+
.eds-segmented-control {
|
|
852
|
+
margin-top: 0.25rem;
|
|
853
|
+
display: flex;
|
|
854
|
+
background: #d1d4e3;
|
|
855
|
+
border-radius: 0.5rem;
|
|
856
|
+
}
|
|
857
|
+
.eds-contrast .eds-segmented-control {
|
|
858
|
+
background: #393d79;
|
|
859
|
+
}
|
|
860
|
+
/* DO NOT CHANGE!*/
|
|
861
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
851
862
|
.eds-segmented-choice {
|
|
852
863
|
display: block;
|
|
853
864
|
flex: 1 1 0px;
|
|
@@ -919,17 +930,6 @@ textarea.eds-form-control.eds-textarea {
|
|
|
919
930
|
}
|
|
920
931
|
/* DO NOT CHANGE!*/
|
|
921
932
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
922
|
-
.eds-segmented-control {
|
|
923
|
-
margin-top: 0.25rem;
|
|
924
|
-
display: flex;
|
|
925
|
-
background: #d1d4e3;
|
|
926
|
-
border-radius: 0.5rem;
|
|
927
|
-
}
|
|
928
|
-
.eds-contrast .eds-segmented-control {
|
|
929
|
-
background: #393d79;
|
|
930
|
-
}
|
|
931
|
-
/* DO NOT CHANGE!*/
|
|
932
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
933
933
|
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
934
934
|
border-color: #181c56;
|
|
935
935
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.11",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/icons": "^6.3.1",
|
|
31
31
|
"@entur/tokens": "^3.10.0",
|
|
32
|
-
"@entur/tooltip": "^2.6.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
34
|
-
"@entur/utils": "^0.9.
|
|
32
|
+
"@entur/tooltip": "^2.6.21",
|
|
33
|
+
"@entur/typography": "^1.8.2",
|
|
34
|
+
"@entur/utils": "^0.9.2",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
|
|
38
38
|
}
|