@entur/form 7.0.21 → 7.0.22

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 +293 -293
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,57 +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 {
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. */
55
3
  .eds-checkbox__container {
56
4
  display: flex;
57
5
  align-items: center;
@@ -219,6 +167,146 @@
219
167
  }
220
168
  /* DO NOT CHANGE!*/
221
169
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
170
+ .eds-feedback-text {
171
+ display: flex;
172
+ align-items: center;
173
+ margin-top: 0.25rem;
174
+ }
175
+ .eds-feedback-text--info {
176
+ padding-left: calc(1rem + 0.125rem);
177
+ }
178
+ .eds-feedback-text__text {
179
+ color: #181c56;
180
+ }
181
+ .eds-contrast .eds-feedback-text__text {
182
+ color: #ffffff;
183
+ }
184
+
185
+ .eds-feedback-text__icon {
186
+ font-size: 1.5rem;
187
+ min-height: 1.5rem;
188
+ min-width: 1.5rem;
189
+ padding-right: 0.5rem;
190
+ position: relative;
191
+ top: -0.1rem;
192
+ }
193
+ .eds-feedback-text__icon--success {
194
+ color: #1a8e60;
195
+ }
196
+ .eds-contrast .eds-feedback-text__icon--success {
197
+ color: #5ac39a;
198
+ }
199
+ .eds-feedback-text__icon--error {
200
+ color: #d31b1b;
201
+ }
202
+ .eds-contrast .eds-feedback-text__icon--error {
203
+ color: #ff9494;
204
+ }
205
+ .eds-feedback-text__icon--info {
206
+ color: #0082b9;
207
+ }
208
+ .eds-contrast .eds-feedback-text__icon--info {
209
+ color: #64b3e7;
210
+ }
211
+ .eds-feedback-text__icon--warning {
212
+ color: #ffca28;
213
+ }
214
+ .eds-feedback-text__icon--warning circle {
215
+ fill: #181c56;
216
+ }
217
+ .eds-contrast .eds-feedback-text__icon--warning {
218
+ color: #ffe082;
219
+ }
220
+ /* DO NOT CHANGE!*/
221
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
222
+ .eds-form-component--radio__container {
223
+ display: flex;
224
+ justify-content: center;
225
+ align-items: center;
226
+ position: relative;
227
+ cursor: pointer;
228
+ height: 2rem;
229
+ width: -moz-fit-content;
230
+ width: fit-content;
231
+ -webkit-user-select: none;
232
+ -moz-user-select: none;
233
+ user-select: none;
234
+ }
235
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
236
+ border-color: #54568c;
237
+ }
238
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
239
+ background-color: #54568c;
240
+ }
241
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
242
+ border-color: #8285a8;
243
+ }
244
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
245
+ background-color: #8285a8;
246
+ }
247
+ .eds-form-component--radio__container input {
248
+ position: absolute;
249
+ opacity: 0;
250
+ cursor: pointer;
251
+ height: 0;
252
+ width: 0;
253
+ }
254
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
255
+ height: 0.625rem;
256
+ width: 0.625rem;
257
+ }
258
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
259
+ outline: none;
260
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
261
+ outline-offset: 0.125rem;
262
+ }
263
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
264
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
265
+ }
266
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
267
+ position: relative;
268
+ height: 1.25rem;
269
+ width: 1.25rem;
270
+ margin-right: 1rem;
271
+ background-color: #ffffff;
272
+ border: 0.125rem solid #181c56;
273
+ border-radius: 50%;
274
+ display: flex;
275
+ align-items: center;
276
+ justify-content: center;
277
+ }
278
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
279
+ background-color: #181c56;
280
+ border-color: #aeb7e2;
281
+ }
282
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
283
+ background: #d1d3d3;
284
+ border-color: #d1d3d3;
285
+ cursor: not-allowed;
286
+ }
287
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
288
+ border-color: #d1d3d3;
289
+ }
290
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
291
+ background: #d1d3d3;
292
+ border-color: #d1d3d3;
293
+ }
294
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
295
+ color: #656782;
296
+ }
297
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
298
+ display: block;
299
+ width: 0;
300
+ height: 0;
301
+ border-radius: 50%;
302
+ background-color: #181c56;
303
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
304
+ }
305
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
306
+ background-color: #aeb7e2;
307
+ }
308
+ /* DO NOT CHANGE!*/
309
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
222
310
  .eds-input-group {
223
311
  color: inherit;
224
312
  display: block;
@@ -592,91 +680,168 @@
592
680
  }
593
681
  /* DO NOT CHANGE!*/
594
682
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
595
- .eds-form-component--radio__container {
596
- display: flex;
597
- justify-content: center;
598
- align-items: center;
599
- position: relative;
600
- cursor: pointer;
601
- height: 2rem;
602
- width: -moz-fit-content;
603
- width: fit-content;
604
- -webkit-user-select: none;
605
- -moz-user-select: none;
606
- user-select: none;
607
- }
608
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
609
- border-color: #54568c;
683
+ .eds-input-panel[focus-within] .eds-input-panel__container {
684
+ border-color: #181c56;
685
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
610
686
  }
611
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
612
- background-color: #54568c;
687
+ .eds-input-panel:focus-within .eds-input-panel__container {
688
+ border-color: #181c56;
689
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
613
690
  }
614
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
615
- border-color: #8285a8;
691
+ .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
692
+ border-color: #ffffff;
693
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
616
694
  }
617
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
618
- background-color: #8285a8;
695
+ .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
696
+ border-color: #ffffff;
697
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
619
698
  }
620
- .eds-form-component--radio__container input {
699
+ .eds-input-panel > input {
621
700
  position: absolute;
622
701
  opacity: 0;
623
702
  cursor: pointer;
624
703
  height: 0;
625
704
  width: 0;
626
705
  }
627
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
628
- height: 0.625rem;
629
- width: 0.625rem;
706
+ .eds-input-panel > input:checked + .eds-input-panel__container {
707
+ border-color: #181c56;
708
+ background: #f5f5f8;
630
709
  }
631
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
632
- outline: none;
633
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
634
- outline-offset: 0.125rem;
710
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
711
+ border-color: #aeb7e2;
712
+ background: #393d79;
635
713
  }
636
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
637
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
714
+ .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
715
+ width: 0.75rem;
716
+ height: 0.75rem;
638
717
  }
639
- .eds-form-component--radio__container .eds-form-component--radio__radio {
640
- position: relative;
641
- height: 1.25rem;
642
- width: 1.25rem;
643
- margin-right: 1rem;
718
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
644
719
  background-color: #ffffff;
645
- border: 0.125rem solid #181c56;
646
- border-radius: 50%;
647
- display: flex;
648
- align-items: center;
649
- justify-content: center;
650
720
  }
651
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
652
- background-color: #181c56;
721
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover {
722
+ background-color: #ebebf1;
723
+ border: 0.125rem solid #babbcf;
724
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
725
+ hover state styling with the inputPanel container */
726
+ }
727
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
728
+ background: #54568c;
729
+ }
730
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
731
+ background-color: #d1d4e3;
732
+ border-color: #292b6a;
733
+ }
734
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
735
+ background-color: rgba(174, 183, 226, 0.2);
736
+ border-color: #b6bee5;
737
+ }
738
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio .eds-form-component--radio__circle {
739
+ background-color: #292b6a;
740
+ }
741
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio .eds-form-component--radio__circle {
742
+ background-color: #ffffff;
743
+ }
744
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
745
+ background-color: #292b6a;
746
+ border-color: transparent;
747
+ }
748
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
749
+ background-color: #b6bee5;
750
+ }
751
+ .eds-input-panel__container {
752
+ background: #ffffff;
753
+ border: 0.125rem solid #babbcf;
754
+ border-radius: 0.25rem;
755
+ display: flex;
756
+ flex-direction: column;
757
+ justify-content: flex-start;
758
+ min-width: 20rem;
759
+ position: relative;
760
+ padding: 1rem;
761
+ -webkit-user-select: none;
762
+ -moz-user-select: none;
763
+ user-select: none;
764
+ width: -moz-fit-content;
765
+ width: fit-content;
766
+ transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
767
+ }
768
+ .eds-contrast .eds-input-panel__container {
769
+ background-color: transparent;
653
770
  border-color: #aeb7e2;
654
771
  }
655
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
656
- background: #d1d3d3;
657
- border-color: #d1d3d3;
658
- cursor: not-allowed;
772
+ .eds-input-panel__container:hover {
773
+ background-color: #ebebf1;
774
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
775
+ hover state styling with the inputPanel container */
659
776
  }
660
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
661
- border-color: #d1d3d3;
777
+ .eds-contrast .eds-input-panel__container:hover {
778
+ background-color: #54568c;
662
779
  }
663
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
664
- background: #d1d3d3;
665
- border-color: #d1d3d3;
780
+ .eds-input-panel__container:hover .eds-checkbox__icon,
781
+ .eds-input-panel__container:hover .eds-form-component--radio__radio {
782
+ border-color: #292b6a;
783
+ background-color: #d1d4e3;
666
784
  }
667
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
785
+ .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
786
+ .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
787
+ border-color: #b6bee5;
788
+ background-color: rgba(174, 183, 226, 0.2);
789
+ }
790
+ input:disabled + .eds-input-panel__container {
791
+ background: #f3f3f3;
792
+ border-color: #f3f3f3;
668
793
  color: #656782;
794
+ pointer-events: none;
669
795
  }
670
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
671
- display: block;
672
- width: 0;
673
- height: 0;
674
- border-radius: 50%;
675
- background-color: #181c56;
676
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
796
+ .eds-contrast input:disabled + .eds-input-panel__container {
797
+ background: #181c56;
798
+ border-style: dashed;
799
+ border-color: #54568c;
800
+ color: #babbcf;
677
801
  }
678
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
679
- background-color: #aeb7e2;
802
+ .eds-input-panel__container .eds-checkbox__icon,
803
+ .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
804
+ .eds-input-panel__container .eds-form-component--radio__radio {
805
+ width: 1.5rem;
806
+ height: 1.5rem;
807
+ margin-right: 0;
808
+ }
809
+ .eds-input-panel--medium .eds-input-panel__title {
810
+ font-size: 1rem;
811
+ font-weight: 500;
812
+ }
813
+ .eds-input-panel--medium.eds-input-panel__container {
814
+ padding-bottom: 1rem;
815
+ min-height: 3.75rem;
816
+ }
817
+ .eds-input-panel--large.eds-input-panel__container {
818
+ min-height: 6rem;
819
+ }
820
+ .eds-input-panel--large .eds-input-panel__title-wrapper {
821
+ height: 2rem;
822
+ }
823
+ .eds-input-panel--large .eds-input-panel__title {
824
+ font-size: 1.25rem;
825
+ font-weight: 500;
826
+ line-height: 1.875rem;
827
+ }
828
+ .eds-input-panel__title-wrapper {
829
+ display: flex;
830
+ justify-content: space-between;
831
+ align-items: center;
832
+ }
833
+ .eds-input-panel__secondary-label-and-icon-wrapper {
834
+ display: flex;
835
+ justify-content: center;
836
+ align-items: center;
837
+ gap: 0.75rem;
838
+ }
839
+ .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
840
+ margin: 0;
841
+ }
842
+ .eds-input-panel__additional-content {
843
+ margin-top: 0.25rem;
844
+ word-wrap: break-word;
680
845
  }
681
846
  /* DO NOT CHANGE!*/
682
847
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -799,171 +964,6 @@
799
964
  }
800
965
  /* DO NOT CHANGE!*/
801
966
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
802
- .eds-input-panel[focus-within] .eds-input-panel__container {
803
- border-color: #181c56;
804
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
805
- }
806
- .eds-input-panel:focus-within .eds-input-panel__container {
807
- border-color: #181c56;
808
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
809
- }
810
- .eds-contrast .eds-input-panel[focus-within] .eds-input-panel__container {
811
- border-color: #ffffff;
812
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
813
- }
814
- .eds-contrast .eds-input-panel:focus-within .eds-input-panel__container {
815
- border-color: #ffffff;
816
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
817
- }
818
- .eds-input-panel > input {
819
- position: absolute;
820
- opacity: 0;
821
- cursor: pointer;
822
- height: 0;
823
- width: 0;
824
- }
825
- .eds-input-panel > input:checked + .eds-input-panel__container {
826
- border-color: #181c56;
827
- background: #f5f5f8;
828
- }
829
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
830
- border-color: #aeb7e2;
831
- background: #393d79;
832
- }
833
- .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
834
- width: 0.75rem;
835
- height: 0.75rem;
836
- }
837
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
838
- background-color: #ffffff;
839
- }
840
- .eds-input-panel > input:checked + .eds-input-panel__container:hover {
841
- background-color: #ebebf1;
842
- border: 0.125rem solid #babbcf;
843
- /* The following styling is needed to sync the inner checkbox/radiobutton's
844
- hover state styling with the inputPanel container */
845
- }
846
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
847
- background: #54568c;
848
- }
849
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
850
- background-color: #d1d4e3;
851
- border-color: #292b6a;
852
- }
853
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
854
- background-color: rgba(174, 183, 226, 0.2);
855
- border-color: #b6bee5;
856
- }
857
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio .eds-form-component--radio__circle {
858
- background-color: #292b6a;
859
- }
860
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio .eds-form-component--radio__circle {
861
- background-color: #ffffff;
862
- }
863
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
864
- background-color: #292b6a;
865
- border-color: transparent;
866
- }
867
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
868
- background-color: #b6bee5;
869
- }
870
- .eds-input-panel__container {
871
- background: #ffffff;
872
- border: 0.125rem solid #babbcf;
873
- border-radius: 0.25rem;
874
- display: flex;
875
- flex-direction: column;
876
- justify-content: flex-start;
877
- min-width: 20rem;
878
- position: relative;
879
- padding: 1rem;
880
- -webkit-user-select: none;
881
- -moz-user-select: none;
882
- user-select: none;
883
- width: -moz-fit-content;
884
- width: fit-content;
885
- transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
886
- }
887
- .eds-contrast .eds-input-panel__container {
888
- background-color: transparent;
889
- border-color: #aeb7e2;
890
- }
891
- .eds-input-panel__container:hover {
892
- background-color: #ebebf1;
893
- /* The following styling is needed to sync the inner checkbox/radiobutton's
894
- hover state styling with the inputPanel container */
895
- }
896
- .eds-contrast .eds-input-panel__container:hover {
897
- background-color: #54568c;
898
- }
899
- .eds-input-panel__container:hover .eds-checkbox__icon,
900
- .eds-input-panel__container:hover .eds-form-component--radio__radio {
901
- border-color: #292b6a;
902
- background-color: #d1d4e3;
903
- }
904
- .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
905
- .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
906
- border-color: #b6bee5;
907
- background-color: rgba(174, 183, 226, 0.2);
908
- }
909
- input:disabled + .eds-input-panel__container {
910
- background: #f3f3f3;
911
- border-color: #f3f3f3;
912
- color: #656782;
913
- pointer-events: none;
914
- }
915
- .eds-contrast input:disabled + .eds-input-panel__container {
916
- background: #181c56;
917
- border-style: dashed;
918
- border-color: #54568c;
919
- color: #babbcf;
920
- }
921
- .eds-input-panel__container .eds-checkbox__icon,
922
- .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
923
- .eds-input-panel__container .eds-form-component--radio__radio {
924
- width: 1.5rem;
925
- height: 1.5rem;
926
- margin-right: 0;
927
- }
928
- .eds-input-panel--medium .eds-input-panel__title {
929
- font-size: 1rem;
930
- font-weight: 500;
931
- }
932
- .eds-input-panel--medium.eds-input-panel__container {
933
- padding-bottom: 1rem;
934
- min-height: 3.75rem;
935
- }
936
- .eds-input-panel--large.eds-input-panel__container {
937
- min-height: 6rem;
938
- }
939
- .eds-input-panel--large .eds-input-panel__title-wrapper {
940
- height: 2rem;
941
- }
942
- .eds-input-panel--large .eds-input-panel__title {
943
- font-size: 1.25rem;
944
- font-weight: 500;
945
- line-height: 1.875rem;
946
- }
947
- .eds-input-panel__title-wrapper {
948
- display: flex;
949
- justify-content: space-between;
950
- align-items: center;
951
- }
952
- .eds-input-panel__secondary-label-and-icon-wrapper {
953
- display: flex;
954
- justify-content: center;
955
- align-items: center;
956
- gap: 0.75rem;
957
- }
958
- .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
959
- margin: 0;
960
- }
961
- .eds-input-panel__additional-content {
962
- margin-top: 0.25rem;
963
- word-wrap: break-word;
964
- }
965
- /* DO NOT CHANGE!*/
966
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
967
967
  textarea.eds-form-control.eds-textarea {
968
968
  min-height: 7.75rem;
969
969
  resize: vertical;
@@ -1008,20 +1008,6 @@ textarea.eds-form-control.eds-textarea {
1008
1008
  }
1009
1009
  /* DO NOT CHANGE!*/
1010
1010
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1011
- .eds-segmented-control {
1012
- margin-top: 0.25rem;
1013
- display: flex;
1014
- background: #d1d4e3;
1015
- border-radius: 0.5rem;
1016
- }
1017
- .eds-contrast .eds-segmented-control {
1018
- background: #393d79;
1019
- }
1020
- :root {
1021
- --eds-form: 1;
1022
- }
1023
- /* DO NOT CHANGE!*/
1024
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1025
1011
  .eds-segmented-choice {
1026
1012
  display: block;
1027
1013
  flex: 1 1 0px;
@@ -1091,3 +1077,17 @@ textarea.eds-form-control.eds-textarea {
1091
1077
  .eds-contrast .eds-segmented-choice input:focus:checked + .eds-base-segmented {
1092
1078
  box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121), inset 0 0 0 0.0625rem #ffffff, inset 0 0 0 calc(0.125rem + 0.0625rem) #181c56;
1093
1079
  }
1080
+ /* DO NOT CHANGE!*/
1081
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1082
+ .eds-segmented-control {
1083
+ margin-top: 0.25rem;
1084
+ display: flex;
1085
+ background: #d1d4e3;
1086
+ border-radius: 0.5rem;
1087
+ }
1088
+ .eds-contrast .eds-segmented-control {
1089
+ background: #393d79;
1090
+ }
1091
+ :root {
1092
+ --eds-form: 1;
1093
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "7.0.21",
3
+ "version": "7.0.22",
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.9.0",
30
+ "@entur/icons": "^6.10.0",
31
31
  "@entur/tokens": "^3.10.0",
32
- "@entur/tooltip": "^2.6.30",
33
- "@entur/typography": "^1.8.11",
32
+ "@entur/tooltip": "^2.6.31",
33
+ "@entur/typography": "^1.8.12",
34
34
  "@entur/utils": "^0.9.5",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "36f7ef81ee8188c701d607dc01124658dfff7265"
37
+ "gitHead": "9e97f6db17e2ad5096603ba20d568601059ca53e"
38
38
  }