@entur/form 5.4.12 → 5.4.13

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.4.13](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.12...@entur/form@5.4.13) (2023-01-19)
7
+
8
+ **Note:** Version bump only for package @entur/form
9
+
6
10
  ## [5.4.12](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.9...@entur/form@5.4.12) (2022-12-09)
7
11
 
8
12
  **Note:** Version bump only for package @entur/form
package/dist/styles.css CHANGED
@@ -62,6 +62,94 @@
62
62
  color: #ffe082;
63
63
  }/* DO NOT CHANGE!*/
64
64
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
65
+ .eds-form-component--radio__container {
66
+ display: flex;
67
+ justify-content: center;
68
+ align-items: center;
69
+ position: relative;
70
+ cursor: pointer;
71
+ height: 2rem;
72
+ width: -moz-fit-content;
73
+ width: fit-content;
74
+ -webkit-user-select: none;
75
+ -moz-user-select: none;
76
+ -ms-user-select: none;
77
+ user-select: none;
78
+ }
79
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
80
+ border-color: #54568c;
81
+ }
82
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
83
+ background-color: #54568c;
84
+ }
85
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
86
+ border-color: #8285a8;
87
+ }
88
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
89
+ background-color: #8285a8;
90
+ }
91
+ .eds-form-component--radio__container input {
92
+ position: absolute;
93
+ opacity: 0;
94
+ cursor: pointer;
95
+ height: 0;
96
+ width: 0;
97
+ }
98
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
99
+ height: 0.625rem;
100
+ width: 0.625rem;
101
+ }
102
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
103
+ outline: none;
104
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
105
+ outline-offset: 0.125rem;
106
+ }
107
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
108
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
109
+ }
110
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
111
+ position: relative;
112
+ height: 1.25rem;
113
+ width: 1.25rem;
114
+ margin-right: 1rem;
115
+ background-color: #ffffff;
116
+ border: 0.125rem solid #181c56;
117
+ border-radius: 50%;
118
+ display: flex;
119
+ align-items: center;
120
+ justify-content: center;
121
+ }
122
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
123
+ background-color: #181c56;
124
+ border-color: #aeb7e2;
125
+ }
126
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
127
+ background: #d1d3d3;
128
+ border-color: #d1d3d3;
129
+ cursor: not-allowed;
130
+ }
131
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
132
+ border-color: #d1d3d3;
133
+ }
134
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
135
+ background: #d1d3d3;
136
+ border-color: #d1d3d3;
137
+ }
138
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
139
+ color: #656782;
140
+ }
141
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
142
+ display: block;
143
+ width: 0;
144
+ height: 0;
145
+ border-radius: 50%;
146
+ background-color: #181c56;
147
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
148
+ }
149
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
150
+ background-color: #aeb7e2;
151
+ }/* DO NOT CHANGE!*/
152
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
65
153
  .eds-checkbox__container {
66
154
  display: flex;
67
155
  align-items: center;
@@ -75,12 +163,10 @@
75
163
  -moz-user-select: none;
76
164
  -ms-user-select: none;
77
165
  user-select: none;
78
- width: -webkit-fit-content;
79
166
  width: -moz-fit-content;
80
167
  width: fit-content;
81
168
  }
82
169
  .eds-checkbox__container--reduced-click-area {
83
- height: -webkit-fit-content;
84
170
  height: -moz-fit-content;
85
171
  height: fit-content;
86
172
  }
@@ -98,8 +184,7 @@
98
184
  }
99
185
  .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon__path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon__path {
100
186
  stroke: #ffffff;
101
- -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
102
- animation: stroke ease-in-out 0.2s 0.1s forwards;
187
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
103
188
  }
104
189
  .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
105
190
  opacity: 0.5;
@@ -188,16 +273,136 @@
188
273
  stroke-width: 0.375rem;
189
274
  }
190
275
 
191
- @-webkit-keyframes stroke {
276
+ @keyframes stroke {
192
277
  100% {
193
278
  stroke-dashoffset: 0;
194
279
  }
280
+ }/* DO NOT CHANGE!*/
281
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
282
+ .eds-input-group {
283
+ color: inherit;
284
+ display: block;
285
+ position: relative;
286
+ }
287
+ .eds-input-group__label {
288
+ color: #656782;
289
+ display: flex;
290
+ font-size: 1rem;
291
+ position: absolute;
292
+ line-height: 1rem;
293
+ height: 3rem;
294
+ padding: 1rem;
295
+ padding-left: 0;
296
+ margin-left: 1rem;
297
+ top: -0.125rem;
298
+ 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;
299
+ -webkit-user-select: none;
300
+ -moz-user-select: none;
301
+ -ms-user-select: none;
302
+ user-select: none;
303
+ pointer-events: none;
304
+ }
305
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
306
+ top: calc(0.5rem - 0.125rem);
307
+ font-size: 0.75rem;
308
+ line-height: 0.75rem;
309
+ height: 10px;
310
+ padding: 0;
311
+ margin-left: 1rem;
312
+ }
313
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
314
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
315
+ background: var(--textarea-label-background);
316
+ width: calc( 100% - 1rem - 1rem - 4px );
317
+ }
318
+ .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
319
+ top: 0.5rem;
320
+ font-size: 0.875rem;
321
+ line-height: 1rem;
322
+ padding: 0;
323
+ margin-left: 1rem;
324
+ }
325
+ .eds-contrast .eds-input-group__label {
326
+ color: #8285a8;
327
+ }
328
+ .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
329
+ color: #aeb7e2;
330
+ }
331
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
332
+ font-size: 1.5rem;
333
+ line-height: 2.25rem;
334
+ height: 4rem;
335
+ }
336
+ .eds-input-group__label--filled {
337
+ top: calc(0.5rem - 0.125rem);
338
+ font-size: 0.75rem;
339
+ line-height: 0.75rem;
340
+ height: 10px;
341
+ padding: 0;
342
+ margin-left: 1rem;
343
+ }
344
+ .eds-textarea__label .eds-input-group__label--filled {
345
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
346
+ background: var(--textarea-label-background);
347
+ width: calc( 100% - 1rem - 1rem - 4px );
348
+ }
349
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
350
+ top: 0.5rem;
351
+ font-size: 0.875rem;
352
+ line-height: 1rem;
353
+ padding: 0;
354
+ margin-left: 1rem;
355
+ }
356
+ .eds-input-group__label-tooltip-icon {
357
+ color: #0082b9;
358
+ padding-left: 0.25rem;
359
+ padding-right: 0.25rem;
360
+ display: flex;
361
+ align-items: center;
362
+ cursor: help;
363
+ font-size: 1rem;
195
364
  }
196
365
 
197
- @keyframes stroke {
198
- 100% {
199
- stroke-dashoffset: 0;
200
- }
366
+ .eds-form-control-wrapper[focus-within] .eds-input-group__label {
367
+ top: calc(0.5rem - 0.125rem);
368
+ font-size: 0.75rem;
369
+ line-height: 0.75rem;
370
+ height: 10px;
371
+ padding: 0;
372
+ margin-left: 1rem;
373
+ }
374
+
375
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
376
+ top: calc(0.5rem - 0.125rem);
377
+ font-size: 0.75rem;
378
+ line-height: 0.75rem;
379
+ height: 10px;
380
+ padding: 0;
381
+ margin-left: 1rem;
382
+ }
383
+ .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
384
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
385
+ background: var(--textarea-label-background);
386
+ width: calc( 100% - 1rem - 1rem - 4px );
387
+ }
388
+ .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
389
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
390
+ background: var(--textarea-label-background);
391
+ width: calc( 100% - 1rem - 1rem - 4px );
392
+ }
393
+ .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
394
+ top: 0.5rem;
395
+ font-size: 0.875rem;
396
+ line-height: 1rem;
397
+ padding: 0;
398
+ margin-left: 1rem;
399
+ }
400
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
401
+ top: 0.5rem;
402
+ font-size: 0.875rem;
403
+ line-height: 1rem;
404
+ padding: 0;
405
+ margin-left: 1rem;
201
406
  }/* DO NOT CHANGE!*/
202
407
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
203
408
  .eds-form-control-wrapper {
@@ -456,131 +661,6 @@
456
661
  margin-left: 0;
457
662
  }/* DO NOT CHANGE!*/
458
663
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
459
- .eds-textfield__clear-button {
460
- background: none;
461
- border: none;
462
- border-radius: 50%;
463
- color: inherit;
464
- cursor: pointer;
465
- display: flex;
466
- font: inherit;
467
- font-size: 1rem;
468
- line-height: 1rem;
469
- padding: 0.5rem;
470
- margin-right: -0.75rem;
471
- }
472
- .eds-textfield__clear-button-wrapper {
473
- display: flex;
474
- align-items: center;
475
- }
476
- .eds-textfield__clear-button:hover {
477
- background: #f3f3f3;
478
- }
479
- .eds-textfield__clear-button:focus {
480
- outline: none;
481
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
482
- }
483
-
484
- .eds-textfield__divider {
485
- content: "";
486
- display: block;
487
- background-color: #e9e9e9;
488
- height: 1.5rem;
489
- width: 1px;
490
- }
491
- .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
492
- background-color: #8285a8;
493
- }/* DO NOT CHANGE!*/
494
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
495
- .eds-form-component--radio__container {
496
- display: flex;
497
- justify-content: center;
498
- align-items: center;
499
- position: relative;
500
- cursor: pointer;
501
- height: 2rem;
502
- width: -webkit-fit-content;
503
- width: -moz-fit-content;
504
- width: fit-content;
505
- -webkit-user-select: none;
506
- -moz-user-select: none;
507
- -ms-user-select: none;
508
- user-select: none;
509
- }
510
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
511
- border-color: #54568c;
512
- }
513
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
514
- background-color: #54568c;
515
- }
516
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
517
- border-color: #8285a8;
518
- }
519
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
520
- background-color: #8285a8;
521
- }
522
- .eds-form-component--radio__container input {
523
- position: absolute;
524
- opacity: 0;
525
- cursor: pointer;
526
- height: 0;
527
- width: 0;
528
- }
529
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
530
- height: 0.625rem;
531
- width: 0.625rem;
532
- }
533
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
534
- outline: none;
535
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
536
- outline-offset: 0.125rem;
537
- }
538
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
539
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
540
- }
541
- .eds-form-component--radio__container .eds-form-component--radio__radio {
542
- position: relative;
543
- height: 1.25rem;
544
- width: 1.25rem;
545
- margin-right: 1rem;
546
- background-color: #ffffff;
547
- border: 0.125rem solid #181c56;
548
- border-radius: 50%;
549
- display: flex;
550
- align-items: center;
551
- justify-content: center;
552
- }
553
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
554
- background-color: #181c56;
555
- border-color: #aeb7e2;
556
- }
557
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
558
- background: #d1d3d3;
559
- border-color: #d1d3d3;
560
- cursor: not-allowed;
561
- }
562
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
563
- border-color: #d1d3d3;
564
- }
565
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
566
- background: #d1d3d3;
567
- border-color: #d1d3d3;
568
- }
569
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
570
- color: #656782;
571
- }
572
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
573
- display: block;
574
- width: 0;
575
- height: 0;
576
- border-radius: 50%;
577
- background-color: #181c56;
578
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
579
- }
580
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
581
- background-color: #aeb7e2;
582
- }/* DO NOT CHANGE!*/
583
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
584
664
  .eds-switch {
585
665
  cursor: pointer;
586
666
  -webkit-user-select: none;
@@ -588,7 +668,6 @@
588
668
  -ms-user-select: none;
589
669
  user-select: none;
590
670
  padding: 0.5rem 0;
591
- width: -webkit-fit-content;
592
671
  width: -moz-fit-content;
593
672
  width: fit-content;
594
673
  }
@@ -733,8 +812,7 @@
733
812
  }
734
813
  .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon__path {
735
814
  stroke: #5ac39a;
736
- -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
737
- animation: stroke ease-in-out 0.2s 0.1s forwards;
815
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
738
816
  }
739
817
  .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled {
740
818
  opacity: 0.5;
@@ -756,7 +834,6 @@
756
834
  -moz-user-select: none;
757
835
  -ms-user-select: none;
758
836
  user-select: none;
759
- width: -webkit-fit-content;
760
837
  width: -moz-fit-content;
761
838
  width: fit-content;
762
839
  }
@@ -835,146 +912,46 @@
835
912
  stroke-width: 0.375rem;
836
913
  }/* DO NOT CHANGE!*/
837
914
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
838
- .eds-input-group {
915
+ textarea.eds-form-control.eds-textarea {
916
+ min-height: 7.75rem;
917
+ resize: vertical;
918
+ line-height: 1.5rem;
919
+ }/* DO NOT CHANGE!*/
920
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
921
+ .eds-textfield__clear-button {
922
+ background: none;
923
+ border: none;
924
+ border-radius: 50%;
839
925
  color: inherit;
840
- display: block;
841
- position: relative;
842
- }
843
- .eds-input-group__label {
844
- color: #656782;
926
+ cursor: pointer;
845
927
  display: flex;
928
+ font: inherit;
846
929
  font-size: 1rem;
847
- position: absolute;
848
- line-height: 1rem;
849
- height: 3rem;
850
- padding: 1rem;
851
- padding-left: 0;
852
- margin-left: 1rem;
853
- top: -0.125rem;
854
- 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;
855
- -webkit-user-select: none;
856
- -moz-user-select: none;
857
- -ms-user-select: none;
858
- user-select: none;
859
- pointer-events: none;
860
- }
861
- .eds-form-control-wrapper--is-filled .eds-input-group__label {
862
- top: calc(0.5rem - 0.125rem);
863
- font-size: 0.75rem;
864
- line-height: 0.75rem;
865
- height: 10px;
866
- padding: 0;
867
- margin-left: 1rem;
868
- }
869
- .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
870
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
871
- background: var(--textarea-label-background);
872
- width: calc( 100% - 1rem - 1rem - 4px );
873
- }
874
- .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
875
- top: 0.5rem;
876
- font-size: 0.875rem;
877
- line-height: 1rem;
878
- padding: 0;
879
- margin-left: 1rem;
880
- }
881
- .eds-contrast .eds-input-group__label {
882
- color: #8285a8;
883
- }
884
- .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
885
- color: #aeb7e2;
886
- }
887
- .eds-form-control-wrapper--size-large .eds-input-group__label {
888
- font-size: 1.5rem;
889
- line-height: 2.25rem;
890
- height: 4rem;
891
- }
892
- .eds-input-group__label--filled {
893
- top: calc(0.5rem - 0.125rem);
894
- font-size: 0.75rem;
895
- line-height: 0.75rem;
896
- height: 10px;
897
- padding: 0;
898
- margin-left: 1rem;
899
- }
900
- .eds-textarea__label .eds-input-group__label--filled {
901
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
902
- background: var(--textarea-label-background);
903
- width: calc( 100% - 1rem - 1rem - 4px );
904
- }
905
- .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
906
- top: 0.5rem;
907
- font-size: 0.875rem;
908
930
  line-height: 1rem;
909
- padding: 0;
910
- margin-left: 1rem;
931
+ padding: 0.5rem;
932
+ margin-right: -0.75rem;
911
933
  }
912
- .eds-input-group__label-tooltip-icon {
913
- color: #0082b9;
914
- padding-left: 0.25rem;
915
- padding-right: 0.25rem;
934
+ .eds-textfield__clear-button-wrapper {
916
935
  display: flex;
917
936
  align-items: center;
918
- cursor: help;
919
- font-size: 1rem;
920
- }
921
-
922
- .eds-form-control-wrapper[focus-within] .eds-input-group__label {
923
- top: calc(0.5rem - 0.125rem);
924
- font-size: 0.75rem;
925
- line-height: 0.75rem;
926
- height: 10px;
927
- padding: 0;
928
- margin-left: 1rem;
929
937
  }
930
-
931
- .eds-form-control-wrapper:focus-within .eds-input-group__label {
932
- top: calc(0.5rem - 0.125rem);
933
- font-size: 0.75rem;
934
- line-height: 0.75rem;
935
- height: 10px;
936
- padding: 0;
937
- margin-left: 1rem;
938
- }
939
- .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
940
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
941
- background: var(--textarea-label-background);
942
- width: calc( 100% - 1rem - 1rem - 4px );
943
- }
944
- .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
945
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
946
- background: var(--textarea-label-background);
947
- width: calc( 100% - 1rem - 1rem - 4px );
938
+ .eds-textfield__clear-button:hover {
939
+ background: #f3f3f3;
948
940
  }
949
- .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
950
- top: 0.5rem;
951
- font-size: 0.875rem;
952
- line-height: 1rem;
953
- padding: 0;
954
- margin-left: 1rem;
941
+ .eds-textfield__clear-button:focus {
942
+ outline: none;
943
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
955
944
  }
956
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
957
- top: 0.5rem;
958
- font-size: 0.875rem;
959
- line-height: 1rem;
960
- padding: 0;
961
- margin-left: 1rem;
962
- }/* DO NOT CHANGE!*/
963
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
964
- textarea.eds-form-control.eds-textarea {
965
- min-height: 7.75rem;
966
- resize: vertical;
967
- line-height: 1.5rem;
968
- }/* DO NOT CHANGE!*/
969
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
970
- .eds-segmented-control {
971
- margin-top: 0.25rem;
972
- display: flex;
973
- background: #d1d4e3;
974
- border-radius: 0.25rem;
945
+
946
+ .eds-textfield__divider {
947
+ content: "";
948
+ display: block;
949
+ background-color: #e9e9e9;
950
+ height: 1.5rem;
951
+ width: 1px;
975
952
  }
976
- .eds-contrast .eds-segmented-control {
977
- background: #393d79;
953
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
954
+ background-color: #8285a8;
978
955
  }/* DO NOT CHANGE!*/
979
956
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
980
957
  .eds-segmented-choice {
@@ -1044,4 +1021,14 @@ textarea.eds-form-control.eds-textarea {
1044
1021
  }
1045
1022
  .eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1046
1023
  --background-color: #d1d4e3;
1024
+ }/* DO NOT CHANGE!*/
1025
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1026
+ .eds-segmented-control {
1027
+ margin-top: 0.25rem;
1028
+ display: flex;
1029
+ background: #d1d4e3;
1030
+ border-radius: 0.25rem;
1031
+ }
1032
+ .eds-contrast .eds-segmented-control {
1033
+ background: #393d79;
1047
1034
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "5.4.12",
3
+ "version": "5.4.13",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "start": "dts watch --noClean",
21
21
  "build": "dts build",
22
- "test": "dts test --env=jsdom",
22
+ "test": "dts test",
23
23
  "lint": "dts lint"
24
24
  },
25
25
  "peerDependencies": {
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^5.4.0",
31
- "@entur/tokens": "^3.4.3",
32
- "@entur/tooltip": "^2.5.24",
33
- "@entur/typography": "^1.7.3",
34
- "@entur/utils": "^0.4.8",
30
+ "@entur/icons": "^5.4.1",
31
+ "@entur/tokens": "^3.4.4",
32
+ "@entur/tooltip": "^2.6.0",
33
+ "@entur/typography": "^1.7.4",
34
+ "@entur/utils": "^0.4.9",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "103844c30bdc32296f3998a360cf6066492173e9"
37
+ "gitHead": "de71e205560a699e2dce301e133966dc9348c459"
38
38
  }