@entur/form 8.1.1 → 8.1.2

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.
Files changed (2) hide show
  1. package/dist/styles.css +332 -182
  2. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -435,129 +435,106 @@
435
435
  stroke-dashoffset: 0;
436
436
  }
437
437
  }
438
- .eds-fieldset {
439
- margin: 0;
440
- padding: 0;
441
- border: 0;
442
- }
443
438
  /* DO NOT CHANGE!*/
444
439
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
445
- .eds-switch {
446
- cursor: pointer;
440
+ .eds-input-group {
441
+ color: inherit;
442
+ display: block;
443
+ position: relative;
444
+ }
445
+ .eds-input-group__label {
446
+ color: var(--components-form-baseform-standard-text-label);
447
+ display: flex;
448
+ font-size: 1rem;
449
+ position: absolute;
450
+ line-height: 1rem;
451
+ height: 3rem;
452
+ padding-left: 0;
453
+ top: 1rem;
454
+ 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;
447
455
  -webkit-user-select: none;
448
456
  -moz-user-select: none;
449
457
  user-select: none;
450
- padding: 0.5rem 0;
451
- width: -moz-fit-content;
452
- width: fit-content;
453
- }
454
- .eds-switch input {
455
- opacity: 0;
456
458
  pointer-events: none;
457
- position: absolute;
458
- }
459
- .eds-switch--right {
460
- display: flex;
461
- flex-direction: row;
462
- align-items: center;
463
- }
464
- .eds-switch--bottom {
465
- display: flex;
466
- flex-direction: column;
467
- align-items: center;
468
- }
469
- .eds-switch__circle {
470
- border-radius: 50%;
471
- height: 1.25rem;
472
- width: 1.25rem;
473
- content: "";
474
- display: flex;
475
- align-items: center;
476
- justify-content: center;
477
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
478
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
479
- background-color: var(--components-form-switch-standard-switch);
480
- top: 0.125rem;
481
- left: 0.125rem;
482
- position: relative;
483
- }
484
- .eds-switch__switch--large .eds-switch__circle {
485
- height: 1.75rem;
486
- width: 1.75rem;
487
- }
488
- .eds-contrast .eds-switch__circle {
489
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
490
459
  }
491
- .eds-switch__switch {
492
- position: relative;
493
- background-color: var(--components-form-switch-standard-fill-false);
494
- content: "";
495
- display: block;
496
- transition: background-color 0.1s ease-in-out;
497
- height: 1.5rem;
498
- width: 3rem;
499
- border-radius: 1.5rem;
500
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
501
- }
502
- .eds-contrast .eds-switch__switch {
503
- background-color: var(--components-form-switch-contrast-fill-false);
504
- }
505
- .eds-switch--right .eds-switch__switch {
506
- margin-right: 0.75rem;
507
- }
508
- .eds-switch__switch svg g,
509
- .eds-switch__switch path {
510
- fill: var(--components-form-switch-standard-icon-false);
511
- transition: fill ease-in-out 0.1s;
512
- }
513
- .eds-contrast .eds-switch__switch svg g,
514
- .eds-contrast .eds-switch__switch path {
515
- fill: var(--components-form-switch-contrast-icon-false);
460
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
461
+ top: 0.375rem;
462
+ font-size: 0.75rem;
463
+ line-height: 0.75rem;
464
+ height: 10px;
465
+ padding: 0;
516
466
  }
517
- :checked + .eds-switch__switch {
518
- background-color: var(--eds-switch-color);
467
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
468
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
469
+ background: var(--textarea-label-background);
470
+ width: calc(100% - 1rem - 1rem - 4px);
519
471
  }
520
- :checked + .eds-switch__switch .eds-switch__circle {
521
- left: 1.625rem;
472
+ .eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
473
+ top: 0.5rem;
474
+ font-size: 0.875rem;
475
+ line-height: 1rem;
476
+ padding: 0;
522
477
  }
523
- :checked + .eds-switch__switch .eds-switch__circle svg g,
524
- :checked + .eds-switch__switch .eds-switch__circle path {
525
- fill: var(--eds-switch-color);
478
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
479
+ top: 0.75rem;
480
+ font-size: 1.5rem;
481
+ line-height: 2.25rem;
526
482
  }
527
- .eds-contrast :checked + .eds-switch__switch {
528
- background-color: var(--eds-switch-contrast-color);
483
+ .eds-input-group__label--filled {
484
+ top: 0.375rem;
485
+ font-size: 0.75rem;
486
+ line-height: 0.75rem;
487
+ height: 10px;
488
+ padding: 0;
529
489
  }
530
- :focus + .eds-switch__switch {
531
- outline: 2px solid #181c56;
532
- outline-color: var(--basecolors-stroke-focus-standard);
533
- outline-offset: 0.125rem;
490
+ .eds-textarea__label .eds-input-group__label--filled {
491
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
492
+ background: var(--textarea-label-background);
493
+ width: calc(100% - 1rem - 1rem - 4px);
534
494
  }
535
- .eds-contrast :focus + .eds-switch__switch {
536
- outline-color: var(--basecolors-stroke-focus-contrast);
495
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
496
+ top: 0.5rem;
497
+ font-size: 0.875rem;
498
+ line-height: 1rem;
499
+ padding: 0;
537
500
  }
538
- .eds-switch__switch--large {
539
- width: 3.75rem;
540
- height: 2rem;
541
- border-radius: 3.75rem;
501
+
502
+ .eds-form-control-wrapper[focus-within] .eds-input-group__label {
503
+ top: 0.375rem;
504
+ font-size: 0.75rem;
505
+ line-height: 0.75rem;
506
+ height: 10px;
507
+ padding: 0;
542
508
  }
543
- :checked + .eds-switch__switch--large .eds-switch__circle {
544
- left: 1.875rem;
509
+
510
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
511
+ top: 0.375rem;
512
+ font-size: 0.75rem;
513
+ line-height: 0.75rem;
514
+ height: 10px;
515
+ padding: 0;
545
516
  }
546
- .eds-switch__switch--large svg {
547
- position: relative;
548
- right: 0.05rem;
517
+ .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
518
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
519
+ background: var(--textarea-label-background);
520
+ width: calc(100% - 1rem - 1rem - 4px);
549
521
  }
550
- .eds-switch__label--large--right {
551
- font-size: 1rem;
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);
552
526
  }
553
- .eds-switch__label--large--bottom {
527
+ .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
528
+ top: 0.5rem;
554
529
  font-size: 0.875rem;
530
+ line-height: 1rem;
531
+ padding: 0;
555
532
  }
556
- .eds-switch__label--medium--right {
533
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
534
+ top: 0.5rem;
557
535
  font-size: 0.875rem;
558
- }
559
- .eds-switch__label--medium--bottom {
560
- font-size: 0.75rem;
536
+ line-height: 1rem;
537
+ padding: 0;
561
538
  }
562
539
  /* DO NOT CHANGE!*/
563
540
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -643,104 +620,127 @@
643
620
  }
644
621
  /* DO NOT CHANGE!*/
645
622
  /* 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;
623
+ .eds-switch {
624
+ cursor: pointer;
661
625
  -webkit-user-select: none;
662
626
  -moz-user-select: none;
663
627
  user-select: none;
628
+ padding: 0.5rem 0;
629
+ width: -moz-fit-content;
630
+ width: fit-content;
631
+ }
632
+ .eds-switch input {
633
+ opacity: 0;
664
634
  pointer-events: none;
635
+ position: absolute;
665
636
  }
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;
637
+ .eds-switch--right {
638
+ display: flex;
639
+ flex-direction: row;
640
+ align-items: center;
672
641
  }
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);
642
+ .eds-switch--bottom {
643
+ display: flex;
644
+ flex-direction: column;
645
+ align-items: center;
677
646
  }
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;
647
+ .eds-switch__circle {
648
+ border-radius: 50%;
649
+ height: 1.25rem;
650
+ width: 1.25rem;
651
+ content: "";
652
+ display: flex;
653
+ align-items: center;
654
+ justify-content: center;
655
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
656
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
657
+ background-color: var(--components-form-switch-standard-switch);
658
+ top: 0.125rem;
659
+ left: 0.125rem;
660
+ position: relative;
683
661
  }
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;
662
+ .eds-switch__switch--large .eds-switch__circle {
663
+ height: 1.75rem;
664
+ width: 1.75rem;
688
665
  }
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;
666
+ .eds-contrast .eds-switch__circle {
667
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
695
668
  }
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);
669
+ .eds-switch__switch {
670
+ position: relative;
671
+ background-color: var(--components-form-switch-standard-fill-false);
672
+ content: "";
673
+ display: block;
674
+ transition: background-color 0.1s ease-in-out;
675
+ height: 1.5rem;
676
+ width: 3rem;
677
+ border-radius: 1.5rem;
678
+ box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
700
679
  }
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;
680
+ .eds-contrast .eds-switch__switch {
681
+ background-color: var(--components-form-switch-contrast-fill-false);
706
682
  }
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;
683
+ .eds-switch--right .eds-switch__switch {
684
+ margin-right: 0.75rem;
714
685
  }
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;
686
+ .eds-switch__switch svg g,
687
+ .eds-switch__switch path {
688
+ fill: var(--components-form-switch-standard-icon-false);
689
+ transition: fill ease-in-out 0.1s;
722
690
  }
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);
691
+ .eds-contrast .eds-switch__switch svg g,
692
+ .eds-contrast .eds-switch__switch path {
693
+ fill: var(--components-form-switch-contrast-icon-false);
727
694
  }
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);
695
+ :checked + .eds-switch__switch {
696
+ background-color: var(--eds-switch-color);
732
697
  }
733
- .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
734
- top: 0.5rem;
698
+ :checked + .eds-switch__switch .eds-switch__circle {
699
+ left: 1.625rem;
700
+ }
701
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
702
+ :checked + .eds-switch__switch .eds-switch__circle path {
703
+ fill: var(--eds-switch-color);
704
+ }
705
+ .eds-contrast :checked + .eds-switch__switch {
706
+ background-color: var(--eds-switch-contrast-color);
707
+ }
708
+ :focus + .eds-switch__switch {
709
+ outline: 2px solid #181c56;
710
+ outline-color: var(--basecolors-stroke-focus-standard);
711
+ outline-offset: 0.125rem;
712
+ }
713
+ .eds-contrast :focus + .eds-switch__switch {
714
+ outline-color: var(--basecolors-stroke-focus-contrast);
715
+ }
716
+ .eds-switch__switch--large {
717
+ width: 3.75rem;
718
+ height: 2rem;
719
+ border-radius: 3.75rem;
720
+ }
721
+ :checked + .eds-switch__switch--large .eds-switch__circle {
722
+ left: 1.875rem;
723
+ }
724
+ .eds-switch__switch--large svg {
725
+ position: relative;
726
+ right: 0.05rem;
727
+ }
728
+ .eds-switch__label--large--right {
729
+ font-size: 1rem;
730
+ }
731
+ .eds-switch__label--large--bottom {
735
732
  font-size: 0.875rem;
736
- line-height: 1rem;
737
- padding: 0;
738
733
  }
739
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
740
- top: 0.5rem;
734
+ .eds-switch__label--medium--right {
741
735
  font-size: 0.875rem;
742
- line-height: 1rem;
736
+ }
737
+ .eds-switch__label--medium--bottom {
738
+ font-size: 0.75rem;
739
+ }
740
+ .eds-fieldset {
741
+ margin: 0;
743
742
  padding: 0;
743
+ border: 0;
744
744
  }
745
745
  /* DO NOT CHANGE!*/
746
746
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -900,12 +900,162 @@ input:disabled + .eds-input-panel__container {
900
900
  }
901
901
  /* DO NOT CHANGE!*/
902
902
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
903
- textarea.eds-form-control.eds-textarea {
903
+ /* DO NOT CHANGE!*/
904
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
905
+ /* DO NOT CHANGE!*/
906
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
907
+ /* DO NOT CHANGE!*/
908
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
909
+ /* DO NOT CHANGE!*/
910
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
911
+ [data-color-mode=light],
912
+ :root {
913
+ --basecolors-frame-contrast: #181c56;
914
+ --basecolors-frame-contrastalt: #393d79;
915
+ --basecolors-frame-default: #ffffff;
916
+ --basecolors-frame-elevated: #ffffff;
917
+ --basecolors-frame-elevatedalt: #f6f6f9;
918
+ --basecolors-frame-subdued: #d9dae8;
919
+ --basecolors-frame-tint: #f6f6f9;
920
+ --basecolors-shape-accent: #181c56;
921
+ --basecolors-shape-bicycle-contrast: #00db9b;
922
+ --basecolors-shape-bicycle-default: #388f76;
923
+ --basecolors-shape-bus-contrast: #ff6392;
924
+ --basecolors-shape-bus-default: #c5044e;
925
+ --basecolors-shape-cableway-contrast: #b482fb;
926
+ --basecolors-shape-cableway-default: #78469a;
927
+ --basecolors-shape-disabled: #6e6f73;
928
+ --basecolors-shape-disabledalt: #b6b8ba;
929
+ --basecolors-shape-ferry-contrast: #6fdfff;
930
+ --basecolors-shape-ferry-default: #0c6693;
931
+ --basecolors-shape-funicular-contrast: #b482fb;
932
+ --basecolors-shape-funicular-default: #78469a;
933
+ --basecolors-shape-helicopter-contrast: #fbafea;
934
+ --basecolors-shape-helicopter-default: #800664;
935
+ --basecolors-shape-highlight: #ff5959;
936
+ --basecolors-shape-light: #ffffff;
937
+ --basecolors-shape-mask: #ffffff;
938
+ --basecolors-shape-maskalt: #ffffff;
939
+ --basecolors-shape-metro-contrast: #f08901;
940
+ --basecolors-shape-metro-default: #bf5826;
941
+ --basecolors-shape-mobility-contrast: #00db9b;
942
+ --basecolors-shape-mobility-default: #388f76;
943
+ --basecolors-shape-plane-contrast: #fbafea;
944
+ --basecolors-shape-plane-default: #800664;
945
+ --basecolors-shape-subdued: #626493;
946
+ --basecolors-shape-subduedalt: #d9dae8;
947
+ --basecolors-shape-taxi-contrast: #ffe082;
948
+ --basecolors-shape-taxi-default: #3d3e40;
949
+ --basecolors-shape-train-contrast: #42a5f5;
950
+ --basecolors-shape-train-default: #00367f;
951
+ --basecolors-shape-tram-contrast: #b482fb;
952
+ --basecolors-shape-tram-default: #78469a;
953
+ --basecolors-shape-walk-contrast: #8284ab;
954
+ --basecolors-shape-walk-default: #8d8e9c;
955
+ --basecolors-shape-airportlinkbus-contrast: #fbafea;
956
+ --basecolors-shape-airportlinkbus-default: #800664;
957
+ --basecolors-shape-airportlinkrail-contrast: #fbafea;
958
+ --basecolors-shape-airportlinkrail-default: #800664;
959
+ --basecolors-stroke-contrast: #aeb7e2;
960
+ --basecolors-stroke-default: #181c56;
961
+ --basecolors-stroke-disabled: #949699;
962
+ --basecolors-stroke-focus-contrast: #aeb7e2;
963
+ --basecolors-stroke-focus-standard: #181c56;
964
+ --basecolors-stroke-highlight: #ff5959;
965
+ --basecolors-stroke-light: #ffffff;
966
+ --basecolors-stroke-subdued: #8284ab;
967
+ --basecolors-stroke-subduedalt: #e3e6e8;
968
+ --basecolors-text-accent: #181c56;
969
+ --basecolors-text-disabled: #6e6f73;
970
+ --basecolors-text-disabledalt: #b6b8ba;
971
+ --basecolors-text-highlight: #ff5959;
972
+ --basecolors-text-light: #ffffff;
973
+ --basecolors-text-subdued: #626493;
974
+ --basecolors-text-subduedalt: #d9dae8;
975
+ }
976
+
977
+ [data-color-mode=dark] {
978
+ --basecolors-frame-contrast: #212233;
979
+ --basecolors-frame-contrastalt: #141527;
980
+ --basecolors-frame-default: #08091c;
981
+ --basecolors-frame-elevated: rgba(229, 229, 233, 0.1490196078);
982
+ --basecolors-frame-elevatedalt: #464755;
983
+ --basecolors-frame-subdued: #2d2e3e;
984
+ --basecolors-frame-tint: #141527;
985
+ --basecolors-shape-accent: #e5e5e9;
986
+ --basecolors-shape-bicycle-contrast: #4db295;
987
+ --basecolors-shape-bicycle-default: #4db295;
988
+ --basecolors-shape-bus-contrast: #ef7398;
989
+ --basecolors-shape-bus-default: #ef7398;
990
+ --basecolors-shape-cableway-contrast: #b898e5;
991
+ --basecolors-shape-cableway-default: #b898e5;
992
+ --basecolors-shape-disabled: #b6b8ba;
993
+ --basecolors-shape-disabledalt: #b3b4bd;
994
+ --basecolors-shape-ferry-contrast: #8ccfe2;
995
+ --basecolors-shape-ferry-default: #8ccfe2;
996
+ --basecolors-shape-funicular-contrast: #b898e5;
997
+ --basecolors-shape-funicular-default: #b898e5;
998
+ --basecolors-shape-helicopter-contrast: #f2b8e5;
999
+ --basecolors-shape-helicopter-default: #f2b8e5;
1000
+ --basecolors-shape-highlight: #ff9494;
1001
+ --basecolors-shape-light: #e5e5e9;
1002
+ --basecolors-shape-mask: #2d2e3e;
1003
+ --basecolors-shape-maskalt: #393a49;
1004
+ --basecolors-shape-metro-contrast: #dd973c;
1005
+ --basecolors-shape-metro-default: #dd973c;
1006
+ --basecolors-shape-mobility-contrast: #4db295;
1007
+ --basecolors-shape-mobility-default: #4db295;
1008
+ --basecolors-shape-plane-contrast: #f2b8e5;
1009
+ --basecolors-shape-plane-default: #f2b8e5;
1010
+ --basecolors-shape-subdued: #b3b4bd;
1011
+ --basecolors-shape-subduedalt: #b3b4bd;
1012
+ --basecolors-shape-taxi-contrast: #ffe082;
1013
+ --basecolors-shape-taxi-default: #ffe082;
1014
+ --basecolors-shape-train-contrast: #60a2d7;
1015
+ --basecolors-shape-train-default: #60a2d7;
1016
+ --basecolors-shape-tram-contrast: #b898e5;
1017
+ --basecolors-shape-tram-default: #b898e5;
1018
+ --basecolors-shape-walk-contrast: #8d8e9c;
1019
+ --basecolors-shape-walk-default: #8d8e9c;
1020
+ --basecolors-shape-airportlinkbus-contrast: #f2b8e5;
1021
+ --basecolors-shape-airportlinkbus-default: #f2b8e5;
1022
+ --basecolors-shape-airportlinkrail-contrast: #f2b8e5;
1023
+ --basecolors-shape-airportlinkrail-default: #f2b8e5;
1024
+ --basecolors-stroke-contrast: #aeb7e2;
1025
+ --basecolors-stroke-default: #b3b4bd;
1026
+ --basecolors-stroke-disabled: #e3e6e8;
1027
+ --basecolors-stroke-focus-contrast: #aeb7e2;
1028
+ --basecolors-stroke-focus-standard: #aeb7e2;
1029
+ --basecolors-stroke-highlight: #ff9494;
1030
+ --basecolors-stroke-light: #b3b4bd;
1031
+ --basecolors-stroke-subdued: #81828f;
1032
+ --basecolors-stroke-subduedalt: #949699;
1033
+ --basecolors-text-accent: #e5e5e9;
1034
+ --basecolors-text-disabled: #b6b8ba;
1035
+ --basecolors-text-disabledalt: #b6b8ba;
1036
+ --basecolors-text-highlight: #ff9494;
1037
+ --basecolors-text-light: #e5e5e9;
1038
+ --basecolors-text-subdued: #b3b4bd;
1039
+ --basecolors-text-subduedalt: #b3b4bd;
1040
+ }
1041
+
1042
+ .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1043
+ background: var(--basecolors-frame-default);
1044
+ width: -moz-fit-content;
1045
+ width: fit-content;
1046
+ height: -moz-fit-content;
1047
+ height: fit-content;
1048
+ padding: 0.15rem;
1049
+ margin: -0.15rem;
1050
+ }
1051
+ *[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1052
+ background-color: var(--basecolors-frame-contrast);
1053
+ }
1054
+ .eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
904
1055
  min-height: 7.75rem;
905
1056
  resize: vertical;
906
1057
  line-height: 1.5rem;
907
1058
  }
908
-
909
1059
  .eds-textarea__wrapper .eds-form-control-wrapper {
910
1060
  padding-right: 0;
911
1061
  cursor: text;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -34,5 +34,5 @@
34
34
  "@entur/utils": "^0.11.2",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "045cada5d95c62d8ddfc95d82b4526742ab07d0a"
37
+ "gitHead": "65cfc261417f26cadf2be3d5cfa4786ecf262a18"
38
38
  }