@entur/form 8.1.5 → 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 +101 -101
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -442,6 +442,107 @@
|
|
|
442
442
|
}
|
|
443
443
|
/* DO NOT CHANGE!*/
|
|
444
444
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
445
|
+
.eds-input-group {
|
|
446
|
+
color: inherit;
|
|
447
|
+
display: block;
|
|
448
|
+
position: relative;
|
|
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;
|
|
460
|
+
-webkit-user-select: none;
|
|
461
|
+
-moz-user-select: none;
|
|
462
|
+
user-select: none;
|
|
463
|
+
pointer-events: none;
|
|
464
|
+
}
|
|
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;
|
|
471
|
+
}
|
|
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);
|
|
476
|
+
}
|
|
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;
|
|
482
|
+
}
|
|
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;
|
|
487
|
+
}
|
|
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;
|
|
494
|
+
}
|
|
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);
|
|
499
|
+
}
|
|
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;
|
|
505
|
+
}
|
|
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;
|
|
513
|
+
}
|
|
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;
|
|
521
|
+
}
|
|
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);
|
|
526
|
+
}
|
|
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);
|
|
531
|
+
}
|
|
532
|
+
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
533
|
+
top: 0.5rem;
|
|
534
|
+
font-size: 0.875rem;
|
|
535
|
+
line-height: 1rem;
|
|
536
|
+
padding: 0;
|
|
537
|
+
}
|
|
538
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
539
|
+
top: 0.5rem;
|
|
540
|
+
font-size: 0.875rem;
|
|
541
|
+
line-height: 1rem;
|
|
542
|
+
padding: 0;
|
|
543
|
+
}
|
|
544
|
+
/* DO NOT CHANGE!*/
|
|
545
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
445
546
|
.eds-form-component--radio__container {
|
|
446
547
|
display: flex;
|
|
447
548
|
justify-content: center;
|
|
@@ -643,107 +744,6 @@
|
|
|
643
744
|
}
|
|
644
745
|
/* DO NOT CHANGE!*/
|
|
645
746
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
646
|
-
.eds-input-group {
|
|
647
|
-
color: inherit;
|
|
648
|
-
display: block;
|
|
649
|
-
position: relative;
|
|
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
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",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://
|
|
13
|
+
"url": "https://github.com/entur/design-system.git",
|
|
14
14
|
"directory": "packages/form"
|
|
15
15
|
},
|
|
16
16
|
"publishConfig": {
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^7.
|
|
31
|
-
"@entur/tokens": "^3.17.
|
|
32
|
-
"@entur/tooltip": "^5.1.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
34
|
-
"@entur/utils": "^0.12.
|
|
30
|
+
"@entur/icons": "^7.5.0",
|
|
31
|
+
"@entur/tokens": "^3.17.3",
|
|
32
|
+
"@entur/tooltip": "^5.1.3",
|
|
33
|
+
"@entur/typography": "^1.8.49",
|
|
34
|
+
"@entur/utils": "^0.12.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "7b67c7eded2ea9495ba4e21a9bef33c1a82d4a43"
|
|
38
38
|
}
|