@entur/form 7.1.3 → 7.1.5

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 +278 -278
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -1,78 +1,5 @@
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, .eds-feedback-text--information {
9
- padding-left: calc(1rem + 0.125rem);
10
- }
11
- .eds-feedback-text__text {
12
- color: var(--components-form-feedbacktext-information-standard-text);
13
- }
14
- .eds-contrast .eds-feedback-text__text {
15
- color: var(--components-form-feedbacktext-information-contrast-text);
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: var(--components-form-feedbacktext-success-standard-icon-fill);
28
- }
29
- .eds-feedback-text__icon--success circle {
30
- fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
31
- }
32
- .eds-contrast .eds-feedback-text__icon--success {
33
- color: var(--components-form-feedbacktext-success-contrast-icon-fill);
34
- }
35
- .eds-contrast .eds-feedback-text__icon--success circle {
36
- fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
37
- }
38
- .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
39
- color: var(--components-form-feedbacktext-negative-standard-icon-fill);
40
- }
41
- .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
42
- fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
43
- }
44
- .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
45
- color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
46
- }
47
- .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
48
- fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
49
- }
50
- .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
51
- color: var(--components-form-feedbacktext-information-standard-icon-fill);
52
- }
53
- .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
54
- fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
55
- }
56
- .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
57
- color: var(--components-form-feedbacktext-information-contrast-icon-fill);
58
- }
59
- .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
60
- fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
61
- }
62
- .eds-feedback-text__icon--warning {
63
- color: var(--components-form-feedbacktext-warning-standard-icon-fill);
64
- }
65
- .eds-feedback-text__icon--warning .svg-exclamation {
66
- fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
67
- }
68
- .eds-contrast .eds-feedback-text__icon--warning {
69
- color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
70
- }
71
- .eds-contrast .eds-feedback-text__icon--warning circle {
72
- fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
73
- }
74
- /* DO NOT CHANGE!*/
75
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
76
3
  .eds-checkbox__container {
77
4
  display: flex;
78
5
  align-items: center;
@@ -411,6 +338,93 @@
411
338
  .eds-form-control__append {
412
339
  margin-left: 0;
413
340
  }
341
+ .eds-fieldset {
342
+ margin: 0;
343
+ padding: 0;
344
+ border: 0;
345
+ }
346
+ /* DO NOT CHANGE!*/
347
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
348
+ .eds-form-component--radio__container {
349
+ display: flex;
350
+ justify-content: center;
351
+ align-items: center;
352
+ position: relative;
353
+ cursor: pointer;
354
+ height: 2rem;
355
+ width: -moz-fit-content;
356
+ width: fit-content;
357
+ -webkit-user-select: none;
358
+ -moz-user-select: none;
359
+ user-select: none;
360
+ }
361
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
362
+ background-color: var(--components-form-radio-standard-fill-hover);
363
+ }
364
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
365
+ background-color: var(--components-form-radio-contrast-fill-hover);
366
+ }
367
+ .eds-form-component--radio__container input {
368
+ position: absolute;
369
+ opacity: 0;
370
+ cursor: pointer;
371
+ height: 0;
372
+ width: 0;
373
+ }
374
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
375
+ height: 0.625rem;
376
+ width: 0.625rem;
377
+ }
378
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
379
+ outline: 2px solid #181c56;
380
+ outline-color: var(--basecolors-stroke-focus-standard);
381
+ outline-offset: 0.125rem;
382
+ }
383
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
384
+ outline-color: var(--basecolors-stroke-focus-contrast);
385
+ }
386
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
387
+ position: relative;
388
+ height: 1.25rem;
389
+ width: 1.25rem;
390
+ margin-right: 1rem;
391
+ background-color: var(--components-form-radio-standard-fill-default);
392
+ border: 0.125rem solid var(--components-form-radio-standard-border);
393
+ border-radius: 50%;
394
+ display: flex;
395
+ align-items: center;
396
+ justify-content: center;
397
+ }
398
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
399
+ background-color: var(--components-form-radio-contrast-fill-default);
400
+ border-color: var(--components-form-radio-contrast-border);
401
+ }
402
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
403
+ background: var(--components-form-baseform-contrast-fill-disabled);
404
+ border-color: var(--components-form-baseform-contrast-text-disabled);
405
+ cursor: not-allowed;
406
+ }
407
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
408
+ border-color: var(--components-form-baseform-contrast-text-disabled);
409
+ }
410
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
411
+ background: var(--components-form-baseform-contrast-fill-disabled);
412
+ border-color: var(--components-form-baseform-contrast-text-disabled);
413
+ }
414
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
415
+ color: var(--components-form-baseform-contrast-text-disabled);
416
+ }
417
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
418
+ display: block;
419
+ width: 0;
420
+ height: 0;
421
+ border-radius: 50%;
422
+ background-color: var(--components-form-radio-standard-fill-selected);
423
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
424
+ }
425
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
426
+ background-color: var(--components-form-radio-contrast-icon);
427
+ }
414
428
  /* DO NOT CHANGE!*/
415
429
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
416
430
  .eds-input-group {
@@ -542,85 +556,166 @@
542
556
  }
543
557
  /* DO NOT CHANGE!*/
544
558
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
545
- .eds-form-component--radio__container {
546
- display: flex;
547
- justify-content: center;
548
- align-items: center;
549
- position: relative;
550
- cursor: pointer;
551
- height: 2rem;
552
- width: -moz-fit-content;
553
- width: fit-content;
554
- -webkit-user-select: none;
555
- -moz-user-select: none;
556
- user-select: none;
559
+ textarea.eds-form-control.eds-textarea {
560
+ min-height: 7.75rem;
561
+ resize: vertical;
562
+ line-height: 1.5rem;
557
563
  }
558
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
559
- background-color: var(--components-form-radio-standard-fill-hover);
564
+ /* DO NOT CHANGE!*/
565
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
566
+ .eds-input-panel[focus-within] .eds-input-panel__container {
567
+ outline: 2px solid #181c56;
568
+ outline-color: var(--basecolors-stroke-focus-standard);
569
+ outline-offset: 0.125rem;
560
570
  }
561
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
562
- background-color: var(--components-form-radio-contrast-fill-hover);
571
+ .eds-input-panel:focus-within .eds-input-panel__container {
572
+ outline: 2px solid #181c56;
573
+ outline-color: var(--basecolors-stroke-focus-standard);
574
+ outline-offset: 0.125rem;
563
575
  }
564
- .eds-form-component--radio__container input {
576
+ .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
577
+ outline-color: var(--basecolors-stroke-focus-contrast);
578
+ }
579
+ .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
580
+ outline-color: var(--basecolors-stroke-focus-contrast);
581
+ }
582
+ .eds-input-panel > input {
565
583
  position: absolute;
566
584
  opacity: 0;
567
585
  cursor: pointer;
568
586
  height: 0;
569
587
  width: 0;
570
588
  }
571
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
572
- height: 0.625rem;
573
- width: 0.625rem;
574
- }
575
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
576
- outline: 2px solid #181c56;
577
- outline-color: var(--basecolors-stroke-focus-standard);
578
- outline-offset: 0.125rem;
589
+ .eds-input-panel > input:checked + .eds-input-panel__container {
590
+ border-color: var(--components-form-basepanel-standard-border-selected);
591
+ background: var(--components-form-basepanel-standard-fill-selected);
579
592
  }
580
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
581
- outline-color: var(--basecolors-stroke-focus-contrast);
593
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
594
+ border-color: var(--components-form-basepanel-contrast-border-selected);
595
+ background: var(--components-form-basepanel-contrast-fill-selected);
582
596
  }
583
- .eds-form-component--radio__container .eds-form-component--radio__radio {
584
- position: relative;
585
- height: 1.25rem;
586
- width: 1.25rem;
587
- margin-right: 1rem;
588
- background-color: var(--components-form-radio-standard-fill-default);
589
- border: 0.125rem solid var(--components-form-radio-standard-border);
590
- border-radius: 50%;
591
- display: flex;
592
- align-items: center;
593
- justify-content: center;
597
+ .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
598
+ width: 0.75rem;
599
+ height: 0.75rem;
594
600
  }
595
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
596
- background-color: var(--components-form-radio-contrast-fill-default);
597
- border-color: var(--components-form-radio-contrast-border);
601
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
602
+ background-color: var(--components-form-radio-contrast-icon);
598
603
  }
599
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
600
- background: var(--components-form-baseform-contrast-fill-disabled);
601
- border-color: var(--components-form-baseform-contrast-text-disabled);
602
- cursor: not-allowed;
604
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover {
605
+ background-color: var(--components-form-basepanel-standard-fill-hover);
606
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
607
+ hover state styling with the inputPanel container */
603
608
  }
604
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
605
- border-color: var(--components-form-baseform-contrast-text-disabled);
609
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
610
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
606
611
  }
607
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
608
- background: var(--components-form-baseform-contrast-fill-disabled);
609
- border-color: var(--components-form-baseform-contrast-text-disabled);
612
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
613
+ background-color: var(--components-form-basepanel-standard-fill-hover);
614
+ border-color: var(--components-form-basepanel-standard-border-selected);
610
615
  }
611
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
612
- color: var(--components-form-baseform-contrast-text-disabled);
616
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
617
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
618
+ border-color: var(--components-form-basepanel-contrast-border-selected);
613
619
  }
614
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
615
- display: block;
616
- width: 0;
617
- height: 0;
618
- border-radius: 50%;
619
- background-color: var(--components-form-radio-standard-fill-selected);
620
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
620
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
621
+ border-color: transparent;
621
622
  }
622
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
623
- background-color: var(--components-form-radio-contrast-icon);
623
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
624
+ background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
625
+ }
626
+ .eds-input-panel__container {
627
+ background: var(--components-form-basepanel-standard-fill-default);
628
+ border: 0.125rem solid var(--components-form-basepanel-standard-border-default);
629
+ color: var(--components-form-basepanel-standard-text-accent);
630
+ border-radius: 0.25rem;
631
+ display: flex;
632
+ flex-direction: column;
633
+ justify-content: flex-start;
634
+ min-width: 20rem;
635
+ position: relative;
636
+ padding: 1rem;
637
+ -webkit-user-select: none;
638
+ -moz-user-select: none;
639
+ user-select: none;
640
+ width: -moz-fit-content;
641
+ width: fit-content;
642
+ transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
643
+ }
644
+ .eds-contrast .eds-input-panel__container {
645
+ background-color: var(--components-form-basepanel-contrast-fill-default);
646
+ border-color: var(--components-form-basepanel-contrast-border-default);
647
+ color: var(--components-form-basepanel-contrast-text-accent);
648
+ }
649
+ .eds-input-panel__container:hover {
650
+ background-color: var(--components-form-basepanel-standard-fill-hover);
651
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
652
+ hover state styling with the inputPanel container */
653
+ }
654
+ .eds-contrast .eds-input-panel__container:hover {
655
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
656
+ }
657
+ .eds-input-panel__container:hover .eds-checkbox__icon,
658
+ .eds-input-panel__container:hover .eds-form-component--radio__radio {
659
+ background-color: var(--components-form-basepanel-standard-fill-hover);
660
+ border-color: var(--components-form-basepanel-standard-border-selected);
661
+ }
662
+ .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
663
+ .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
664
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
665
+ border-color: var(--components-form-basepanel-contrast-border-selected);
666
+ }
667
+ input:disabled + .eds-input-panel__container {
668
+ background: var(--components-form-basepanel-standard-fill-disabled);
669
+ border-color: var(--components-form-basepanel-standard-border-disabled);
670
+ color: var(--components-form-basepanel-standard-text-disabled);
671
+ cursor: not-allowed;
672
+ }
673
+ .eds-contrast input:disabled + .eds-input-panel__container {
674
+ background: var(--components-form-basepanel-contrast-fill-disabled);
675
+ border-style: dashed;
676
+ border-color: var(--components-form-basepanel-contrast-border-disabled);
677
+ color: var(--components-form-basepanel-contrast-text-disabled);
678
+ }
679
+ .eds-input-panel__container .eds-checkbox__icon,
680
+ .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
681
+ .eds-input-panel__container .eds-form-component--radio__radio {
682
+ width: 1.5rem;
683
+ height: 1.5rem;
684
+ margin-right: 0;
685
+ }
686
+ .eds-input-panel--medium .eds-input-panel__title {
687
+ font-size: 1rem;
688
+ font-weight: 500;
689
+ }
690
+ .eds-input-panel--medium.eds-input-panel__container {
691
+ padding-bottom: 1rem;
692
+ min-height: 3.75rem;
693
+ }
694
+ .eds-input-panel--large.eds-input-panel__container {
695
+ min-height: 6rem;
696
+ }
697
+ .eds-input-panel--large .eds-input-panel__title {
698
+ font-size: 1.25rem;
699
+ font-weight: 500;
700
+ line-height: 1.875rem;
701
+ }
702
+ .eds-input-panel__title-wrapper {
703
+ display: flex;
704
+ justify-content: space-between;
705
+ align-items: center;
706
+ }
707
+ .eds-input-panel__secondary-label-and-icon-wrapper {
708
+ display: flex;
709
+ justify-content: center;
710
+ align-items: center;
711
+ gap: 0.75rem;
712
+ }
713
+ .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
714
+ margin: 0;
715
+ }
716
+ .eds-input-panel__additional-content {
717
+ margin-top: 0.25rem;
718
+ word-wrap: break-word;
624
719
  }
625
720
  /* DO NOT CHANGE!*/
626
721
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -743,171 +838,76 @@
743
838
  }
744
839
  /* DO NOT CHANGE!*/
745
840
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
746
- textarea.eds-form-control.eds-textarea {
747
- min-height: 7.75rem;
748
- resize: vertical;
749
- line-height: 1.5rem;
750
- }
751
- .eds-fieldset {
752
- margin: 0;
753
- padding: 0;
754
- border: 0;
755
- }
756
- /* DO NOT CHANGE!*/
757
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
758
- .eds-input-panel[focus-within] .eds-input-panel__container {
759
- outline: 2px solid #181c56;
760
- outline-color: var(--basecolors-stroke-focus-standard);
761
- outline-offset: 0.125rem;
762
- }
763
- .eds-input-panel:focus-within .eds-input-panel__container {
764
- outline: 2px solid #181c56;
765
- outline-color: var(--basecolors-stroke-focus-standard);
766
- outline-offset: 0.125rem;
767
- }
768
- .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
769
- outline-color: var(--basecolors-stroke-focus-contrast);
770
- }
771
- .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
772
- outline-color: var(--basecolors-stroke-focus-contrast);
773
- }
774
- .eds-input-panel > input {
775
- position: absolute;
776
- opacity: 0;
777
- cursor: pointer;
778
- height: 0;
779
- width: 0;
780
- }
781
- .eds-input-panel > input:checked + .eds-input-panel__container {
782
- border-color: var(--components-form-basepanel-standard-border-selected);
783
- background: var(--components-form-basepanel-standard-fill-selected);
784
- }
785
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
786
- border-color: var(--components-form-basepanel-contrast-border-selected);
787
- background: var(--components-form-basepanel-contrast-fill-selected);
788
- }
789
- .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
790
- width: 0.75rem;
791
- height: 0.75rem;
792
- }
793
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
794
- background-color: var(--components-form-radio-contrast-icon);
795
- }
796
- .eds-input-panel > input:checked + .eds-input-panel__container:hover {
797
- background-color: var(--components-form-basepanel-standard-fill-hover);
798
- /* The following styling is needed to sync the inner checkbox/radiobutton's
799
- hover state styling with the inputPanel container */
800
- }
801
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
802
- background-color: var(--components-form-basepanel-contrast-fill-hover);
803
- }
804
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
805
- background-color: var(--components-form-basepanel-standard-fill-hover);
806
- border-color: var(--components-form-basepanel-standard-border-selected);
841
+ .eds-feedback-text {
842
+ display: flex;
843
+ align-items: center;
844
+ margin-top: 0.25rem;
807
845
  }
808
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
809
- background-color: var(--components-form-basepanel-contrast-fill-hover);
810
- border-color: var(--components-form-basepanel-contrast-border-selected);
846
+ .eds-feedback-text--info, .eds-feedback-text--information {
847
+ padding-left: calc(1rem + 0.125rem);
811
848
  }
812
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
813
- border-color: transparent;
849
+ .eds-feedback-text__text {
850
+ color: var(--components-form-feedbacktext-information-standard-text);
814
851
  }
815
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
816
- background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
852
+ .eds-contrast .eds-feedback-text__text {
853
+ color: var(--components-form-feedbacktext-information-contrast-text);
817
854
  }
818
- .eds-input-panel__container {
819
- background: var(--components-form-basepanel-standard-fill-default);
820
- border: 0.125rem solid var(--components-form-basepanel-standard-border-default);
821
- color: var(--components-form-basepanel-standard-text-accent);
822
- border-radius: 0.25rem;
823
- display: flex;
824
- flex-direction: column;
825
- justify-content: flex-start;
826
- min-width: 20rem;
855
+
856
+ .eds-feedback-text__icon {
857
+ font-size: 1.5rem;
858
+ min-height: 1.5rem;
859
+ min-width: 1.5rem;
860
+ padding-right: 0.5rem;
827
861
  position: relative;
828
- padding: 1rem;
829
- -webkit-user-select: none;
830
- -moz-user-select: none;
831
- user-select: none;
832
- width: -moz-fit-content;
833
- width: fit-content;
834
- transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
862
+ top: -0.1rem;
835
863
  }
836
- .eds-contrast .eds-input-panel__container {
837
- background-color: var(--components-form-basepanel-contrast-fill-default);
838
- border-color: var(--components-form-basepanel-contrast-border-default);
839
- color: var(--components-form-basepanel-contrast-text-accent);
864
+ .eds-feedback-text__icon--success {
865
+ color: var(--components-form-feedbacktext-success-standard-icon-fill);
840
866
  }
841
- .eds-input-panel__container:hover {
842
- background-color: var(--components-form-basepanel-standard-fill-hover);
843
- /* The following styling is needed to sync the inner checkbox/radiobutton's
844
- hover state styling with the inputPanel container */
867
+ .eds-feedback-text__icon--success circle {
868
+ fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
845
869
  }
846
- .eds-contrast .eds-input-panel__container:hover {
847
- background-color: var(--components-form-basepanel-contrast-fill-hover);
870
+ .eds-contrast .eds-feedback-text__icon--success {
871
+ color: var(--components-form-feedbacktext-success-contrast-icon-fill);
848
872
  }
849
- .eds-input-panel__container:hover .eds-checkbox__icon,
850
- .eds-input-panel__container:hover .eds-form-component--radio__radio {
851
- background-color: var(--components-form-basepanel-standard-fill-hover);
852
- border-color: var(--components-form-basepanel-standard-border-selected);
873
+ .eds-contrast .eds-feedback-text__icon--success circle {
874
+ fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
853
875
  }
854
- .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
855
- .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
856
- background-color: var(--components-form-basepanel-contrast-fill-hover);
857
- border-color: var(--components-form-basepanel-contrast-border-selected);
876
+ .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
877
+ color: var(--components-form-feedbacktext-negative-standard-icon-fill);
858
878
  }
859
- input:disabled + .eds-input-panel__container {
860
- background: var(--components-form-basepanel-standard-fill-disabled);
861
- border-color: var(--components-form-basepanel-standard-border-disabled);
862
- color: var(--components-form-basepanel-standard-text-disabled);
863
- cursor: not-allowed;
879
+ .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
880
+ fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
864
881
  }
865
- .eds-contrast input:disabled + .eds-input-panel__container {
866
- background: var(--components-form-basepanel-contrast-fill-disabled);
867
- border-style: dashed;
868
- border-color: var(--components-form-basepanel-contrast-border-disabled);
869
- color: var(--components-form-basepanel-contrast-text-disabled);
882
+ .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
883
+ color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
870
884
  }
871
- .eds-input-panel__container .eds-checkbox__icon,
872
- .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
873
- .eds-input-panel__container .eds-form-component--radio__radio {
874
- width: 1.5rem;
875
- height: 1.5rem;
876
- margin-right: 0;
885
+ .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
886
+ fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
877
887
  }
878
- .eds-input-panel--medium .eds-input-panel__title {
879
- font-size: 1rem;
880
- font-weight: 500;
888
+ .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
889
+ color: var(--components-form-feedbacktext-information-standard-icon-fill);
881
890
  }
882
- .eds-input-panel--medium.eds-input-panel__container {
883
- padding-bottom: 1rem;
884
- min-height: 3.75rem;
891
+ .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
892
+ fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
885
893
  }
886
- .eds-input-panel--large.eds-input-panel__container {
887
- min-height: 6rem;
894
+ .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
895
+ color: var(--components-form-feedbacktext-information-contrast-icon-fill);
888
896
  }
889
- .eds-input-panel--large .eds-input-panel__title {
890
- font-size: 1.25rem;
891
- font-weight: 500;
892
- line-height: 1.875rem;
897
+ .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
898
+ fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
893
899
  }
894
- .eds-input-panel__title-wrapper {
895
- display: flex;
896
- justify-content: space-between;
897
- align-items: center;
900
+ .eds-feedback-text__icon--warning {
901
+ color: var(--components-form-feedbacktext-warning-standard-icon-fill);
898
902
  }
899
- .eds-input-panel__secondary-label-and-icon-wrapper {
900
- display: flex;
901
- justify-content: center;
902
- align-items: center;
903
- gap: 0.75rem;
903
+ .eds-feedback-text__icon--warning .svg-exclamation {
904
+ fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
904
905
  }
905
- .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
906
- margin: 0;
906
+ .eds-contrast .eds-feedback-text__icon--warning {
907
+ color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
907
908
  }
908
- .eds-input-panel__additional-content {
909
- margin-top: 0.25rem;
910
- word-wrap: break-word;
909
+ .eds-contrast .eds-feedback-text__icon--warning circle {
910
+ fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
911
911
  }
912
912
  /* DO NOT CHANGE!*/
913
913
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "7.1.3",
3
+ "version": "7.1.5",
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": "^6.15.7",
31
- "@entur/tokens": "^3.13.5",
32
- "@entur/tooltip": "^2.7.3",
33
- "@entur/typography": "^1.8.32",
30
+ "@entur/icons": "^6.16.0",
31
+ "@entur/tokens": "^3.14.0",
32
+ "@entur/tooltip": "^2.7.5",
33
+ "@entur/typography": "^1.8.34",
34
34
  "@entur/utils": "^0.11.1",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "4a9415af2b2c72292bbb4c6aeeb0f79b7dbdb0bd"
37
+ "gitHead": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
38
38
  }