@entur/form 7.0.27 → 7.0.28
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 +186 -186
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-feedback-text {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
margin-top: 0.25rem;
|
|
7
|
+
}
|
|
8
|
+
.eds-feedback-text--info {
|
|
9
|
+
padding-left: calc(1rem + 0.125rem);
|
|
10
|
+
}
|
|
11
|
+
.eds-feedback-text__text {
|
|
12
|
+
color: #181c56;
|
|
13
|
+
}
|
|
14
|
+
.eds-contrast .eds-feedback-text__text {
|
|
15
|
+
color: #ffffff;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.eds-feedback-text__icon {
|
|
19
|
+
font-size: 1.5rem;
|
|
20
|
+
min-height: 1.5rem;
|
|
21
|
+
min-width: 1.5rem;
|
|
22
|
+
padding-right: 0.5rem;
|
|
23
|
+
position: relative;
|
|
24
|
+
top: -0.1rem;
|
|
25
|
+
}
|
|
26
|
+
.eds-feedback-text__icon--success {
|
|
27
|
+
color: #1a8e60;
|
|
28
|
+
}
|
|
29
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
30
|
+
color: #5ac39a;
|
|
31
|
+
}
|
|
32
|
+
.eds-feedback-text__icon--error {
|
|
33
|
+
color: #d31b1b;
|
|
34
|
+
}
|
|
35
|
+
.eds-contrast .eds-feedback-text__icon--error {
|
|
36
|
+
color: #ff9494;
|
|
37
|
+
}
|
|
38
|
+
.eds-feedback-text__icon--info {
|
|
39
|
+
color: #0082b9;
|
|
40
|
+
}
|
|
41
|
+
.eds-contrast .eds-feedback-text__icon--info {
|
|
42
|
+
color: #64b3e7;
|
|
43
|
+
}
|
|
44
|
+
.eds-feedback-text__icon--warning {
|
|
45
|
+
color: #ffca28;
|
|
46
|
+
}
|
|
47
|
+
.eds-feedback-text__icon--warning circle {
|
|
48
|
+
fill: #181c56;
|
|
49
|
+
}
|
|
50
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
51
|
+
color: #ffe082;
|
|
52
|
+
}
|
|
53
|
+
/* DO NOT CHANGE!*/
|
|
54
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
55
|
.eds-form-control-wrapper {
|
|
4
56
|
--border-color: #7C7F9F;
|
|
5
57
|
--border-color-hover: #aeb7e2;
|
|
@@ -242,137 +294,6 @@
|
|
|
242
294
|
}
|
|
243
295
|
/* DO NOT CHANGE!*/
|
|
244
296
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
245
|
-
.eds-input-group {
|
|
246
|
-
color: inherit;
|
|
247
|
-
display: block;
|
|
248
|
-
position: relative;
|
|
249
|
-
}
|
|
250
|
-
.eds-input-group__label {
|
|
251
|
-
color: #656782;
|
|
252
|
-
display: flex;
|
|
253
|
-
font-size: 1rem;
|
|
254
|
-
position: absolute;
|
|
255
|
-
line-height: 1rem;
|
|
256
|
-
height: 3rem;
|
|
257
|
-
padding: 1rem;
|
|
258
|
-
padding-left: 0;
|
|
259
|
-
margin-left: 1rem;
|
|
260
|
-
top: -0.125rem;
|
|
261
|
-
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;
|
|
262
|
-
-webkit-user-select: none;
|
|
263
|
-
-moz-user-select: none;
|
|
264
|
-
user-select: none;
|
|
265
|
-
pointer-events: none;
|
|
266
|
-
}
|
|
267
|
-
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
268
|
-
top: 0.375rem;
|
|
269
|
-
font-size: 0.75rem;
|
|
270
|
-
line-height: 0.75rem;
|
|
271
|
-
height: 10px;
|
|
272
|
-
padding: 0;
|
|
273
|
-
margin-left: 1rem;
|
|
274
|
-
}
|
|
275
|
-
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
276
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
277
|
-
background: var(--textarea-label-background);
|
|
278
|
-
width: calc(
|
|
279
|
-
100% - 1rem - 1rem - 4px
|
|
280
|
-
);
|
|
281
|
-
}
|
|
282
|
-
.eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
283
|
-
top: 0.5rem;
|
|
284
|
-
font-size: 0.875rem;
|
|
285
|
-
line-height: 1rem;
|
|
286
|
-
padding: 0;
|
|
287
|
-
margin-left: 1rem;
|
|
288
|
-
}
|
|
289
|
-
.eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
|
|
290
|
-
color: #aeb7e2;
|
|
291
|
-
}
|
|
292
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
293
|
-
font-size: 1.5rem;
|
|
294
|
-
line-height: 2.25rem;
|
|
295
|
-
height: 4rem;
|
|
296
|
-
}
|
|
297
|
-
.eds-input-group__label--filled {
|
|
298
|
-
top: 0.375rem;
|
|
299
|
-
font-size: 0.75rem;
|
|
300
|
-
line-height: 0.75rem;
|
|
301
|
-
height: 10px;
|
|
302
|
-
padding: 0;
|
|
303
|
-
margin-left: 1rem;
|
|
304
|
-
}
|
|
305
|
-
.eds-textarea__label .eds-input-group__label--filled {
|
|
306
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
307
|
-
background: var(--textarea-label-background);
|
|
308
|
-
width: calc(
|
|
309
|
-
100% - 1rem - 1rem - 4px
|
|
310
|
-
);
|
|
311
|
-
}
|
|
312
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
313
|
-
top: 0.5rem;
|
|
314
|
-
font-size: 0.875rem;
|
|
315
|
-
line-height: 1rem;
|
|
316
|
-
padding: 0;
|
|
317
|
-
margin-left: 1rem;
|
|
318
|
-
}
|
|
319
|
-
.eds-input-group__label-tooltip-icon {
|
|
320
|
-
color: #0082b9;
|
|
321
|
-
padding-left: 0.25rem;
|
|
322
|
-
padding-right: 0.25rem;
|
|
323
|
-
display: flex;
|
|
324
|
-
align-items: center;
|
|
325
|
-
cursor: help;
|
|
326
|
-
font-size: 1rem;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
330
|
-
top: 0.375rem;
|
|
331
|
-
font-size: 0.75rem;
|
|
332
|
-
line-height: 0.75rem;
|
|
333
|
-
height: 10px;
|
|
334
|
-
padding: 0;
|
|
335
|
-
margin-left: 1rem;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
339
|
-
top: 0.375rem;
|
|
340
|
-
font-size: 0.75rem;
|
|
341
|
-
line-height: 0.75rem;
|
|
342
|
-
height: 10px;
|
|
343
|
-
padding: 0;
|
|
344
|
-
margin-left: 1rem;
|
|
345
|
-
}
|
|
346
|
-
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
347
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
348
|
-
background: var(--textarea-label-background);
|
|
349
|
-
width: calc(
|
|
350
|
-
100% - 1rem - 1rem - 4px
|
|
351
|
-
);
|
|
352
|
-
}
|
|
353
|
-
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
354
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
355
|
-
background: var(--textarea-label-background);
|
|
356
|
-
width: calc(
|
|
357
|
-
100% - 1rem - 1rem - 4px
|
|
358
|
-
);
|
|
359
|
-
}
|
|
360
|
-
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
361
|
-
top: 0.5rem;
|
|
362
|
-
font-size: 0.875rem;
|
|
363
|
-
line-height: 1rem;
|
|
364
|
-
padding: 0;
|
|
365
|
-
margin-left: 1rem;
|
|
366
|
-
}
|
|
367
|
-
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
368
|
-
top: 0.5rem;
|
|
369
|
-
font-size: 0.875rem;
|
|
370
|
-
line-height: 1rem;
|
|
371
|
-
padding: 0;
|
|
372
|
-
margin-left: 1rem;
|
|
373
|
-
}
|
|
374
|
-
/* DO NOT CHANGE!*/
|
|
375
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
376
297
|
.eds-checkbox__container {
|
|
377
298
|
display: flex;
|
|
378
299
|
align-items: center;
|
|
@@ -533,6 +454,11 @@
|
|
|
533
454
|
stroke-dashoffset: 0;
|
|
534
455
|
}
|
|
535
456
|
}
|
|
457
|
+
.eds-fieldset {
|
|
458
|
+
margin: 0;
|
|
459
|
+
padding: 0;
|
|
460
|
+
border: 0;
|
|
461
|
+
}
|
|
536
462
|
/* DO NOT CHANGE!*/
|
|
537
463
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
538
464
|
.eds-form-component--radio__container {
|
|
@@ -621,10 +547,136 @@
|
|
|
621
547
|
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
622
548
|
background-color: #aeb7e2;
|
|
623
549
|
}
|
|
624
|
-
|
|
625
|
-
|
|
550
|
+
/* DO NOT CHANGE!*/
|
|
551
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
552
|
+
.eds-input-group {
|
|
553
|
+
color: inherit;
|
|
554
|
+
display: block;
|
|
555
|
+
position: relative;
|
|
556
|
+
}
|
|
557
|
+
.eds-input-group__label {
|
|
558
|
+
color: #656782;
|
|
559
|
+
display: flex;
|
|
560
|
+
font-size: 1rem;
|
|
561
|
+
position: absolute;
|
|
562
|
+
line-height: 1rem;
|
|
563
|
+
height: 3rem;
|
|
564
|
+
padding: 1rem;
|
|
565
|
+
padding-left: 0;
|
|
566
|
+
margin-left: 1rem;
|
|
567
|
+
top: -0.125rem;
|
|
568
|
+
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;
|
|
569
|
+
-webkit-user-select: none;
|
|
570
|
+
-moz-user-select: none;
|
|
571
|
+
user-select: none;
|
|
572
|
+
pointer-events: none;
|
|
573
|
+
}
|
|
574
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
575
|
+
top: 0.375rem;
|
|
576
|
+
font-size: 0.75rem;
|
|
577
|
+
line-height: 0.75rem;
|
|
578
|
+
height: 10px;
|
|
626
579
|
padding: 0;
|
|
627
|
-
|
|
580
|
+
margin-left: 1rem;
|
|
581
|
+
}
|
|
582
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
583
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
584
|
+
background: var(--textarea-label-background);
|
|
585
|
+
width: calc(
|
|
586
|
+
100% - 1rem - 1rem - 4px
|
|
587
|
+
);
|
|
588
|
+
}
|
|
589
|
+
.eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
590
|
+
top: 0.5rem;
|
|
591
|
+
font-size: 0.875rem;
|
|
592
|
+
line-height: 1rem;
|
|
593
|
+
padding: 0;
|
|
594
|
+
margin-left: 1rem;
|
|
595
|
+
}
|
|
596
|
+
.eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
|
|
597
|
+
color: #aeb7e2;
|
|
598
|
+
}
|
|
599
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
600
|
+
font-size: 1.5rem;
|
|
601
|
+
line-height: 2.25rem;
|
|
602
|
+
height: 4rem;
|
|
603
|
+
}
|
|
604
|
+
.eds-input-group__label--filled {
|
|
605
|
+
top: 0.375rem;
|
|
606
|
+
font-size: 0.75rem;
|
|
607
|
+
line-height: 0.75rem;
|
|
608
|
+
height: 10px;
|
|
609
|
+
padding: 0;
|
|
610
|
+
margin-left: 1rem;
|
|
611
|
+
}
|
|
612
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
613
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
614
|
+
background: var(--textarea-label-background);
|
|
615
|
+
width: calc(
|
|
616
|
+
100% - 1rem - 1rem - 4px
|
|
617
|
+
);
|
|
618
|
+
}
|
|
619
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
620
|
+
top: 0.5rem;
|
|
621
|
+
font-size: 0.875rem;
|
|
622
|
+
line-height: 1rem;
|
|
623
|
+
padding: 0;
|
|
624
|
+
margin-left: 1rem;
|
|
625
|
+
}
|
|
626
|
+
.eds-input-group__label-tooltip-icon {
|
|
627
|
+
color: #0082b9;
|
|
628
|
+
padding-left: 0.25rem;
|
|
629
|
+
padding-right: 0.25rem;
|
|
630
|
+
display: flex;
|
|
631
|
+
align-items: center;
|
|
632
|
+
cursor: help;
|
|
633
|
+
font-size: 1rem;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
637
|
+
top: 0.375rem;
|
|
638
|
+
font-size: 0.75rem;
|
|
639
|
+
line-height: 0.75rem;
|
|
640
|
+
height: 10px;
|
|
641
|
+
padding: 0;
|
|
642
|
+
margin-left: 1rem;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
646
|
+
top: 0.375rem;
|
|
647
|
+
font-size: 0.75rem;
|
|
648
|
+
line-height: 0.75rem;
|
|
649
|
+
height: 10px;
|
|
650
|
+
padding: 0;
|
|
651
|
+
margin-left: 1rem;
|
|
652
|
+
}
|
|
653
|
+
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
654
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
655
|
+
background: var(--textarea-label-background);
|
|
656
|
+
width: calc(
|
|
657
|
+
100% - 1rem - 1rem - 4px
|
|
658
|
+
);
|
|
659
|
+
}
|
|
660
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
661
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
662
|
+
background: var(--textarea-label-background);
|
|
663
|
+
width: calc(
|
|
664
|
+
100% - 1rem - 1rem - 4px
|
|
665
|
+
);
|
|
666
|
+
}
|
|
667
|
+
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
668
|
+
top: 0.5rem;
|
|
669
|
+
font-size: 0.875rem;
|
|
670
|
+
line-height: 1rem;
|
|
671
|
+
padding: 0;
|
|
672
|
+
margin-left: 1rem;
|
|
673
|
+
}
|
|
674
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
675
|
+
top: 0.5rem;
|
|
676
|
+
font-size: 0.875rem;
|
|
677
|
+
line-height: 1rem;
|
|
678
|
+
padding: 0;
|
|
679
|
+
margin-left: 1rem;
|
|
628
680
|
}
|
|
629
681
|
/* DO NOT CHANGE!*/
|
|
630
682
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -747,58 +799,6 @@
|
|
|
747
799
|
}
|
|
748
800
|
/* DO NOT CHANGE!*/
|
|
749
801
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
750
|
-
.eds-feedback-text {
|
|
751
|
-
display: flex;
|
|
752
|
-
align-items: center;
|
|
753
|
-
margin-top: 0.25rem;
|
|
754
|
-
}
|
|
755
|
-
.eds-feedback-text--info {
|
|
756
|
-
padding-left: calc(1rem + 0.125rem);
|
|
757
|
-
}
|
|
758
|
-
.eds-feedback-text__text {
|
|
759
|
-
color: #181c56;
|
|
760
|
-
}
|
|
761
|
-
.eds-contrast .eds-feedback-text__text {
|
|
762
|
-
color: #ffffff;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
.eds-feedback-text__icon {
|
|
766
|
-
font-size: 1.5rem;
|
|
767
|
-
min-height: 1.5rem;
|
|
768
|
-
min-width: 1.5rem;
|
|
769
|
-
padding-right: 0.5rem;
|
|
770
|
-
position: relative;
|
|
771
|
-
top: -0.1rem;
|
|
772
|
-
}
|
|
773
|
-
.eds-feedback-text__icon--success {
|
|
774
|
-
color: #1a8e60;
|
|
775
|
-
}
|
|
776
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
777
|
-
color: #5ac39a;
|
|
778
|
-
}
|
|
779
|
-
.eds-feedback-text__icon--error {
|
|
780
|
-
color: #d31b1b;
|
|
781
|
-
}
|
|
782
|
-
.eds-contrast .eds-feedback-text__icon--error {
|
|
783
|
-
color: #ff9494;
|
|
784
|
-
}
|
|
785
|
-
.eds-feedback-text__icon--info {
|
|
786
|
-
color: #0082b9;
|
|
787
|
-
}
|
|
788
|
-
.eds-contrast .eds-feedback-text__icon--info {
|
|
789
|
-
color: #64b3e7;
|
|
790
|
-
}
|
|
791
|
-
.eds-feedback-text__icon--warning {
|
|
792
|
-
color: #ffca28;
|
|
793
|
-
}
|
|
794
|
-
.eds-feedback-text__icon--warning circle {
|
|
795
|
-
fill: #181c56;
|
|
796
|
-
}
|
|
797
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
798
|
-
color: #ffe082;
|
|
799
|
-
}
|
|
800
|
-
/* DO NOT CHANGE!*/
|
|
801
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
802
802
|
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
803
803
|
border-color: #181c56;
|
|
804
804
|
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.28",
|
|
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.12.0",
|
|
31
31
|
"@entur/tokens": "^3.11.0",
|
|
32
|
-
"@entur/tooltip": "^2.6.
|
|
32
|
+
"@entur/tooltip": "^2.6.37",
|
|
33
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": "b88f20e65837e48f9c1c2882f6d18233613d63a6"
|
|
38
38
|
}
|