@entur/form 5.3.8 → 5.3.9

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,12 @@
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.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.8...@entur/form@5.3.9) (2022-07-05)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **validation exclamation icon:** fix icon colours for validation exclamation icon in react native ([4e64eb8](https://bitbucket.org/enturas/design-system/commits/4e64eb86fd1b98731b47ac040ce578e8ee0aa956))
11
+
6
12
  ## [5.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.7...@entur/form@5.3.8) (2022-06-28)
7
13
 
8
14
  **Note:** Version bump only for package @entur/form
package/dist/styles.css CHANGED
@@ -2,15 +2,6 @@
2
2
  --eds-form: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- .eds-fieldset {
6
- margin: 0;
7
- padding: 0;
8
- border: 0;
9
- }
10
- .eds-fieldset .eds-legend {
11
- margin: 0 0 0.5rem;
12
- }/* DO NOT CHANGE!*/
13
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
14
5
  .eds-feedback-text {
15
6
  display: flex;
16
7
  align-items: center;
@@ -52,18 +43,14 @@
52
43
  .eds-contrast .eds-feedback-text__icon--info {
53
44
  color: #64b3e7;
54
45
  }
55
- .eds-feedback-text__icon--warning.eds-icon__ValidationExclamationIcon {
46
+ .eds-feedback-text__icon--warning {
56
47
  color: #ffca28;
57
48
  }
58
- .eds-feedback-text__icon--warning.eds-icon__ValidationExclamationIcon circle {
59
- color: #181c56;
60
- fill-opacity: 1;
49
+ .eds-feedback-text__icon--warning circle {
50
+ fill: #181c56;
61
51
  }
62
- .eds-contrast .eds-feedback-text__icon--warning.eds-icon__ValidationExclamationIcon {
52
+ .eds-contrast .eds-feedback-text__icon--warning {
63
53
  color: #ffe082;
64
- }
65
- .eds-contrast .eds-feedback-text__icon--warning.eds-icon__ValidationExclamationIcon circle {
66
- fill-opacity: 0;
67
54
  }/* DO NOT CHANGE!*/
68
55
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
69
56
  .eds-checkbox__container {
@@ -460,6 +447,141 @@
460
447
  margin-left: 0;
461
448
  }/* DO NOT CHANGE!*/
462
449
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
450
+ .eds-fieldset {
451
+ margin: 0;
452
+ padding: 0;
453
+ border: 0;
454
+ }
455
+ .eds-fieldset .eds-legend {
456
+ margin: 0 0 0.5rem;
457
+ }/* DO NOT CHANGE!*/
458
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
459
+ .eds-input-group {
460
+ color: inherit;
461
+ display: block;
462
+ position: relative;
463
+ }
464
+ .eds-input-group__label {
465
+ color: #656782;
466
+ display: flex;
467
+ font-size: 1rem;
468
+ position: absolute;
469
+ line-height: 1rem;
470
+ height: 3rem;
471
+ padding: 1rem;
472
+ padding-left: 0;
473
+ margin-left: 1rem;
474
+ top: -0.125rem;
475
+ 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;
476
+ -webkit-user-select: none;
477
+ -moz-user-select: none;
478
+ -ms-user-select: none;
479
+ user-select: none;
480
+ pointer-events: none;
481
+ }
482
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
483
+ top: calc(0.5rem - 0.125rem);
484
+ font-size: 0.75rem;
485
+ line-height: 0.75rem;
486
+ height: 10px;
487
+ padding: 0;
488
+ margin-left: 1rem;
489
+ }
490
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
491
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
492
+ background: var(--textarea-label-background);
493
+ width: calc( 100% - 1rem - 1rem - 4px );
494
+ }
495
+ .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
496
+ top: 0.5rem;
497
+ font-size: 0.875rem;
498
+ line-height: 1rem;
499
+ padding: 0;
500
+ margin-left: 1rem;
501
+ }
502
+ .eds-contrast .eds-input-group__label {
503
+ color: #8285a8;
504
+ }
505
+ .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
506
+ color: #aeb7e2;
507
+ }
508
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
509
+ font-size: 1.5rem;
510
+ line-height: 2.25rem;
511
+ height: 4rem;
512
+ }
513
+ .eds-input-group__label--filled {
514
+ top: calc(0.5rem - 0.125rem);
515
+ font-size: 0.75rem;
516
+ line-height: 0.75rem;
517
+ height: 10px;
518
+ padding: 0;
519
+ margin-left: 1rem;
520
+ }
521
+ .eds-textarea__label .eds-input-group__label--filled {
522
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
523
+ background: var(--textarea-label-background);
524
+ width: calc( 100% - 1rem - 1rem - 4px );
525
+ }
526
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
527
+ top: 0.5rem;
528
+ font-size: 0.875rem;
529
+ line-height: 1rem;
530
+ padding: 0;
531
+ margin-left: 1rem;
532
+ }
533
+ .eds-input-group__label-tooltip-icon {
534
+ color: #0082b9;
535
+ padding-left: 0.25rem;
536
+ padding-right: 0.25rem;
537
+ display: flex;
538
+ align-items: center;
539
+ cursor: help;
540
+ font-size: 1rem;
541
+ }
542
+
543
+ .eds-form-control-wrapper[focus-within] .eds-input-group__label {
544
+ top: calc(0.5rem - 0.125rem);
545
+ font-size: 0.75rem;
546
+ line-height: 0.75rem;
547
+ height: 10px;
548
+ padding: 0;
549
+ margin-left: 1rem;
550
+ }
551
+
552
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
553
+ top: calc(0.5rem - 0.125rem);
554
+ font-size: 0.75rem;
555
+ line-height: 0.75rem;
556
+ height: 10px;
557
+ padding: 0;
558
+ margin-left: 1rem;
559
+ }
560
+ .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
561
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
562
+ background: var(--textarea-label-background);
563
+ width: calc( 100% - 1rem - 1rem - 4px );
564
+ }
565
+ .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
566
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
567
+ background: var(--textarea-label-background);
568
+ width: calc( 100% - 1rem - 1rem - 4px );
569
+ }
570
+ .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
571
+ top: 0.5rem;
572
+ font-size: 0.875rem;
573
+ line-height: 1rem;
574
+ padding: 0;
575
+ margin-left: 1rem;
576
+ }
577
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
578
+ top: 0.5rem;
579
+ font-size: 0.875rem;
580
+ line-height: 1rem;
581
+ padding: 0;
582
+ margin-left: 1rem;
583
+ }/* DO NOT CHANGE!*/
584
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
463
585
  textarea.eds-form-control.eds-textarea {
464
586
  min-height: 7.75rem;
465
587
  resize: vertical;
@@ -845,132 +967,6 @@ textarea.eds-form-control.eds-textarea {
845
967
  stroke-width: 0.375rem;
846
968
  }/* DO NOT CHANGE!*/
847
969
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
848
- .eds-input-group {
849
- color: inherit;
850
- display: block;
851
- position: relative;
852
- }
853
- .eds-input-group__label {
854
- color: #656782;
855
- display: flex;
856
- font-size: 1rem;
857
- position: absolute;
858
- line-height: 1rem;
859
- height: 3rem;
860
- padding: 1rem;
861
- padding-left: 0;
862
- margin-left: 1rem;
863
- top: -0.125rem;
864
- 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;
865
- -webkit-user-select: none;
866
- -moz-user-select: none;
867
- -ms-user-select: none;
868
- user-select: none;
869
- pointer-events: none;
870
- }
871
- .eds-form-control-wrapper--is-filled .eds-input-group__label {
872
- top: calc(0.5rem - 0.125rem);
873
- font-size: 0.75rem;
874
- line-height: 0.75rem;
875
- height: 10px;
876
- padding: 0;
877
- margin-left: 1rem;
878
- }
879
- .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
880
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
881
- background: var(--textarea-label-background);
882
- width: calc( 100% - 1rem - 1rem - 4px );
883
- }
884
- .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
885
- top: 0.5rem;
886
- font-size: 0.875rem;
887
- line-height: 1rem;
888
- padding: 0;
889
- margin-left: 1rem;
890
- }
891
- .eds-contrast .eds-input-group__label {
892
- color: #8285a8;
893
- }
894
- .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
895
- color: #aeb7e2;
896
- }
897
- .eds-form-control-wrapper--size-large .eds-input-group__label {
898
- font-size: 1.5rem;
899
- line-height: 2.25rem;
900
- height: 4rem;
901
- }
902
- .eds-input-group__label--filled {
903
- top: calc(0.5rem - 0.125rem);
904
- font-size: 0.75rem;
905
- line-height: 0.75rem;
906
- height: 10px;
907
- padding: 0;
908
- margin-left: 1rem;
909
- }
910
- .eds-textarea__label .eds-input-group__label--filled {
911
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
912
- background: var(--textarea-label-background);
913
- width: calc( 100% - 1rem - 1rem - 4px );
914
- }
915
- .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
916
- top: 0.5rem;
917
- font-size: 0.875rem;
918
- line-height: 1rem;
919
- padding: 0;
920
- margin-left: 1rem;
921
- }
922
- .eds-input-group__label-tooltip-icon {
923
- color: #0082b9;
924
- padding-left: 0.25rem;
925
- padding-right: 0.25rem;
926
- display: flex;
927
- align-items: center;
928
- cursor: help;
929
- font-size: 1rem;
930
- }
931
-
932
- .eds-form-control-wrapper[focus-within] .eds-input-group__label {
933
- top: calc(0.5rem - 0.125rem);
934
- font-size: 0.75rem;
935
- line-height: 0.75rem;
936
- height: 10px;
937
- padding: 0;
938
- margin-left: 1rem;
939
- }
940
-
941
- .eds-form-control-wrapper:focus-within .eds-input-group__label {
942
- top: calc(0.5rem - 0.125rem);
943
- font-size: 0.75rem;
944
- line-height: 0.75rem;
945
- height: 10px;
946
- padding: 0;
947
- margin-left: 1rem;
948
- }
949
- .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
950
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
951
- background: var(--textarea-label-background);
952
- width: calc( 100% - 1rem - 1rem - 4px );
953
- }
954
- .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
955
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
956
- background: var(--textarea-label-background);
957
- width: calc( 100% - 1rem - 1rem - 4px );
958
- }
959
- .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
960
- top: 0.5rem;
961
- font-size: 0.875rem;
962
- line-height: 1rem;
963
- padding: 0;
964
- margin-left: 1rem;
965
- }
966
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
967
- top: 0.5rem;
968
- font-size: 0.875rem;
969
- line-height: 1rem;
970
- padding: 0;
971
- margin-left: 1rem;
972
- }/* DO NOT CHANGE!*/
973
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
974
970
  .eds-segmented-control {
975
971
  margin-top: 0.25rem;
976
972
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "5.3.8",
3
+ "version": "5.3.9",
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": "^4.2.0",
30
+ "@entur/icons": "^4.3.0",
31
31
  "@entur/tokens": "^3.3.2",
32
- "@entur/tooltip": "^2.5.11",
32
+ "@entur/tooltip": "^2.5.12",
33
33
  "@entur/typography": "^1.6.14",
34
34
  "@entur/utils": "^0.4.3",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "b8c747624dc3cb71b5710305c958ece5ba460e23"
37
+ "gitHead": "c58969a2ac3a5429137f84f9fe91888f4c4bcc4b"
38
38
  }