@entur/form 8.1.9-RC.0 → 8.1.9-beta.0

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 +171 -171
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -1,3 +1,81 @@
1
+ .eds-fieldset {
2
+ margin: 0;
3
+ padding: 0;
4
+ border: 0;
5
+ }
6
+ /* DO NOT CHANGE!*/
7
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
8
+ .eds-feedback-text {
9
+ display: flex;
10
+ align-items: center;
11
+ margin-top: 0.25rem;
12
+ }
13
+ .eds-feedback-text--info, .eds-feedback-text--information {
14
+ padding-left: calc(1rem + 0.125rem);
15
+ }
16
+ .eds-feedback-text__text {
17
+ color: var(--components-form-feedbacktext-information-standard-text);
18
+ }
19
+ .eds-contrast .eds-feedback-text__text {
20
+ color: var(--components-form-feedbacktext-information-contrast-text);
21
+ }
22
+
23
+ .eds-feedback-text__icon {
24
+ font-size: 1.5rem;
25
+ min-height: 1.5rem;
26
+ min-width: 1.5rem;
27
+ padding-right: 0.5rem;
28
+ position: relative;
29
+ top: -0.1rem;
30
+ }
31
+ .eds-feedback-text__icon--success {
32
+ color: var(--components-form-feedbacktext-success-standard-icon-fill);
33
+ }
34
+ .eds-feedback-text__icon--success circle {
35
+ fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
36
+ }
37
+ .eds-contrast .eds-feedback-text__icon--success {
38
+ color: var(--components-form-feedbacktext-success-contrast-icon-fill);
39
+ }
40
+ .eds-contrast .eds-feedback-text__icon--success circle {
41
+ fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
42
+ }
43
+ .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
44
+ color: var(--components-form-feedbacktext-negative-standard-icon-fill);
45
+ }
46
+ .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
47
+ fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
48
+ }
49
+ .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
50
+ color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
51
+ }
52
+ .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
53
+ fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
54
+ }
55
+ .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
56
+ color: var(--components-form-feedbacktext-information-standard-icon-fill);
57
+ }
58
+ .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
59
+ fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
60
+ }
61
+ .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
62
+ color: var(--components-form-feedbacktext-information-contrast-icon-fill);
63
+ }
64
+ .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
65
+ fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
66
+ }
67
+ .eds-feedback-text__icon--warning {
68
+ color: var(--components-form-feedbacktext-warning-standard-icon-fill);
69
+ }
70
+ .eds-feedback-text__icon--warning .svg-exclamation {
71
+ fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
72
+ }
73
+ .eds-contrast .eds-feedback-text__icon--warning {
74
+ color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
75
+ }
76
+ .eds-contrast .eds-feedback-text__icon--warning circle {
77
+ fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
78
+ }
1
79
  /* DO NOT CHANGE!*/
2
80
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
81
  .eds-checkbox__container {
@@ -364,79 +442,6 @@
364
442
  }
365
443
  /* DO NOT CHANGE!*/
366
444
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
367
- .eds-feedback-text {
368
- display: flex;
369
- align-items: center;
370
- margin-top: 0.25rem;
371
- }
372
- .eds-feedback-text--info, .eds-feedback-text--information {
373
- padding-left: calc(1rem + 0.125rem);
374
- }
375
- .eds-feedback-text__text {
376
- color: var(--components-form-feedbacktext-information-standard-text);
377
- }
378
- .eds-contrast .eds-feedback-text__text {
379
- color: var(--components-form-feedbacktext-information-contrast-text);
380
- }
381
-
382
- .eds-feedback-text__icon {
383
- font-size: 1.5rem;
384
- min-height: 1.5rem;
385
- min-width: 1.5rem;
386
- padding-right: 0.5rem;
387
- position: relative;
388
- top: -0.1rem;
389
- }
390
- .eds-feedback-text__icon--success {
391
- color: var(--components-form-feedbacktext-success-standard-icon-fill);
392
- }
393
- .eds-feedback-text__icon--success circle {
394
- fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
395
- }
396
- .eds-contrast .eds-feedback-text__icon--success {
397
- color: var(--components-form-feedbacktext-success-contrast-icon-fill);
398
- }
399
- .eds-contrast .eds-feedback-text__icon--success circle {
400
- fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
401
- }
402
- .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
403
- color: var(--components-form-feedbacktext-negative-standard-icon-fill);
404
- }
405
- .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
406
- fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
407
- }
408
- .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
409
- color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
410
- }
411
- .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
412
- fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
413
- }
414
- .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
415
- color: var(--components-form-feedbacktext-information-standard-icon-fill);
416
- }
417
- .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
418
- fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
419
- }
420
- .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
421
- color: var(--components-form-feedbacktext-information-contrast-icon-fill);
422
- }
423
- .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
424
- fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
425
- }
426
- .eds-feedback-text__icon--warning {
427
- color: var(--components-form-feedbacktext-warning-standard-icon-fill);
428
- }
429
- .eds-feedback-text__icon--warning .svg-exclamation {
430
- fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
431
- }
432
- .eds-contrast .eds-feedback-text__icon--warning {
433
- color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
434
- }
435
- .eds-contrast .eds-feedback-text__icon--warning circle {
436
- fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
437
- }
438
- /* DO NOT CHANGE!*/
439
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
440
445
  .eds-input-group {
441
446
  color: inherit;
442
447
  display: block;
@@ -538,93 +543,6 @@
538
543
  }
539
544
  /* DO NOT CHANGE!*/
540
545
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
541
- .eds-form-component--radio__container {
542
- display: flex;
543
- justify-content: center;
544
- align-items: center;
545
- position: relative;
546
- cursor: pointer;
547
- height: 2rem;
548
- width: -moz-fit-content;
549
- width: fit-content;
550
- -webkit-user-select: none;
551
- -moz-user-select: none;
552
- user-select: none;
553
- }
554
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
555
- background-color: var(--components-form-radio-standard-fill-hover);
556
- }
557
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
558
- background-color: var(--components-form-radio-contrast-fill-hover);
559
- }
560
- .eds-form-component--radio__container input {
561
- position: absolute;
562
- opacity: 0;
563
- cursor: pointer;
564
- height: 0;
565
- width: 0;
566
- }
567
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
568
- height: 0.625rem;
569
- width: 0.625rem;
570
- }
571
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
572
- outline: 2px solid #181c56;
573
- outline-color: var(--basecolors-stroke-focus-standard);
574
- outline-offset: 0.125rem;
575
- }
576
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
577
- outline-color: var(--basecolors-stroke-focus-contrast);
578
- }
579
- .eds-form-component--radio__container .eds-form-component--radio__radio {
580
- position: relative;
581
- height: 1.25rem;
582
- width: 1.25rem;
583
- margin-right: 1rem;
584
- background-color: var(--components-form-radio-standard-fill-default);
585
- border: 0.125rem solid var(--components-form-radio-standard-border);
586
- border-radius: 50%;
587
- display: flex;
588
- align-items: center;
589
- justify-content: center;
590
- }
591
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
592
- background-color: var(--components-form-radio-contrast-fill-default);
593
- border-color: var(--components-form-radio-contrast-border);
594
- }
595
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
596
- background: var(--components-form-baseform-contrast-fill-disabled);
597
- border-color: var(--components-form-baseform-contrast-text-disabled);
598
- cursor: not-allowed;
599
- }
600
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
601
- border-color: var(--components-form-baseform-contrast-text-disabled);
602
- }
603
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
604
- background: var(--components-form-baseform-contrast-fill-disabled);
605
- border-color: var(--components-form-baseform-contrast-text-disabled);
606
- }
607
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
608
- color: var(--components-form-baseform-contrast-text-disabled);
609
- }
610
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
611
- display: block;
612
- width: 0;
613
- height: 0;
614
- border-radius: 50%;
615
- background-color: var(--components-form-radio-standard-fill-selected);
616
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
617
- }
618
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
619
- background-color: var(--components-form-radio-contrast-icon);
620
- }
621
- .eds-fieldset {
622
- margin: 0;
623
- padding: 0;
624
- border: 0;
625
- }
626
- /* DO NOT CHANGE!*/
627
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
628
546
  /* DO NOT CHANGE!*/
629
547
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
630
548
  /* DO NOT CHANGE!*/
@@ -943,6 +861,88 @@ input:disabled + .eds-input-panel__container {
943
861
  }
944
862
  /* DO NOT CHANGE!*/
945
863
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
864
+ .eds-form-component--radio__container {
865
+ display: flex;
866
+ justify-content: center;
867
+ align-items: center;
868
+ position: relative;
869
+ cursor: pointer;
870
+ height: 2rem;
871
+ width: -moz-fit-content;
872
+ width: fit-content;
873
+ -webkit-user-select: none;
874
+ -moz-user-select: none;
875
+ user-select: none;
876
+ }
877
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
878
+ background-color: var(--components-form-radio-standard-fill-hover);
879
+ }
880
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
881
+ background-color: var(--components-form-radio-contrast-fill-hover);
882
+ }
883
+ .eds-form-component--radio__container input {
884
+ position: absolute;
885
+ opacity: 0;
886
+ cursor: pointer;
887
+ height: 0;
888
+ width: 0;
889
+ }
890
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
891
+ height: 0.625rem;
892
+ width: 0.625rem;
893
+ }
894
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
895
+ outline: 2px solid #181c56;
896
+ outline-color: var(--basecolors-stroke-focus-standard);
897
+ outline-offset: 0.125rem;
898
+ }
899
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
900
+ outline-color: var(--basecolors-stroke-focus-contrast);
901
+ }
902
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
903
+ position: relative;
904
+ height: 1.25rem;
905
+ width: 1.25rem;
906
+ margin-right: 1rem;
907
+ background-color: var(--components-form-radio-standard-fill-default);
908
+ border: 0.125rem solid var(--components-form-radio-standard-border);
909
+ border-radius: 50%;
910
+ display: flex;
911
+ align-items: center;
912
+ justify-content: center;
913
+ }
914
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
915
+ background-color: var(--components-form-radio-contrast-fill-default);
916
+ border-color: var(--components-form-radio-contrast-border);
917
+ }
918
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
919
+ background: var(--components-form-baseform-contrast-fill-disabled);
920
+ border-color: var(--components-form-baseform-contrast-text-disabled);
921
+ cursor: not-allowed;
922
+ }
923
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
924
+ border-color: var(--components-form-baseform-contrast-text-disabled);
925
+ }
926
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
927
+ background: var(--components-form-baseform-contrast-fill-disabled);
928
+ border-color: var(--components-form-baseform-contrast-text-disabled);
929
+ }
930
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
931
+ color: var(--components-form-baseform-contrast-text-disabled);
932
+ }
933
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
934
+ display: block;
935
+ width: 0;
936
+ height: 0;
937
+ border-radius: 50%;
938
+ background-color: var(--components-form-radio-standard-fill-selected);
939
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
940
+ }
941
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
942
+ background-color: var(--components-form-radio-contrast-icon);
943
+ }
944
+ /* DO NOT CHANGE!*/
945
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
946
946
  .eds-switch {
947
947
  cursor: pointer;
948
948
  -webkit-user-select: none;
@@ -1186,6 +1186,17 @@ input:disabled + .eds-input-panel__container {
1186
1186
  }
1187
1187
  /* DO NOT CHANGE!*/
1188
1188
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1189
+ .eds-segmented-control {
1190
+ margin-top: 0.25rem;
1191
+ display: flex;
1192
+ background: var(--components-form-segmentedcontrol-standard-background);
1193
+ border-radius: 0.5rem;
1194
+ }
1195
+ .eds-contrast .eds-segmented-control {
1196
+ background: var(--components-form-segmentedcontrol-contrast-background);
1197
+ }
1198
+ /* DO NOT CHANGE!*/
1199
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1189
1200
  /* DO NOT CHANGE!*/
1190
1201
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1191
1202
  /* DO NOT CHANGE!*/
@@ -1733,14 +1744,3 @@ input:disabled + .eds-input-panel__container {
1733
1744
  :root {
1734
1745
  --eds-form: 1;
1735
1746
  }
1736
- /* DO NOT CHANGE!*/
1737
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1738
- .eds-segmented-control {
1739
- margin-top: 0.25rem;
1740
- display: flex;
1741
- background: var(--components-form-segmentedcontrol-standard-background);
1742
- border-radius: 0.5rem;
1743
- }
1744
- .eds-contrast .eds-segmented-control {
1745
- background: var(--components-form-segmentedcontrol-contrast-background);
1746
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "8.1.9-RC.0",
3
+ "version": "8.1.9-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -27,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/button": "^3.2.37-RC.0",
31
- "@entur/icons": "^7.5.1-RC.0",
32
- "@entur/tokens": "^3.17.4-RC.0",
33
- "@entur/tooltip": "^5.1.5-RC.0",
34
- "@entur/typography": "^1.8.50-RC.0",
35
- "@entur/utils": "^0.12.2-RC.0",
30
+ "@entur/button": "^3.2.37-beta.0",
31
+ "@entur/icons": "^7.5.1-beta.0",
32
+ "@entur/tokens": "^3.17.4-beta.0",
33
+ "@entur/tooltip": "^5.1.5-beta.0",
34
+ "@entur/typography": "^1.8.50-beta.0",
35
+ "@entur/utils": "^0.12.2-beta.0",
36
36
  "classnames": "^2.3.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "dts-cli": "2.0.5"
40
40
  },
41
- "gitHead": "d7913682a41ade219cbd4dfc6e45060152c7fa0a"
41
+ "gitHead": "b213fa4fd10a1a07abada3fa987b7ee2ed110ac2"
42
42
  }