@entur/form 8.3.2-beta.4 → 8.3.2-beta.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 +192 -192
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -210,79 +210,6 @@
210
210
  }
211
211
  /* DO NOT CHANGE!*/
212
212
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
213
- .eds-feedback-text {
214
- display: flex;
215
- align-items: center;
216
- margin-top: 0.25rem;
217
- }
218
- .eds-feedback-text--info, .eds-feedback-text--information {
219
- padding-left: calc(1rem + 0.125rem);
220
- }
221
- .eds-feedback-text__text {
222
- color: var(--components-form-feedbacktext-information-standard-text);
223
- }
224
- .eds-contrast .eds-feedback-text__text {
225
- color: var(--components-form-feedbacktext-information-contrast-text);
226
- }
227
-
228
- .eds-feedback-text__icon {
229
- font-size: 1.5rem;
230
- min-height: 1.5rem;
231
- min-width: 1.5rem;
232
- padding-right: 0.5rem;
233
- position: relative;
234
- top: -0.1rem;
235
- }
236
- .eds-feedback-text__icon--success {
237
- color: var(--components-form-feedbacktext-success-standard-icon-fill);
238
- }
239
- .eds-feedback-text__icon--success circle {
240
- fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
241
- }
242
- .eds-contrast .eds-feedback-text__icon--success {
243
- color: var(--components-form-feedbacktext-success-contrast-icon-fill);
244
- }
245
- .eds-contrast .eds-feedback-text__icon--success circle {
246
- fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
247
- }
248
- .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
249
- color: var(--components-form-feedbacktext-negative-standard-icon-fill);
250
- }
251
- .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
252
- fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
253
- }
254
- .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
255
- color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
256
- }
257
- .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
258
- fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
259
- }
260
- .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
261
- color: var(--components-form-feedbacktext-information-standard-icon-fill);
262
- }
263
- .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
264
- fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
265
- }
266
- .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
267
- color: var(--components-form-feedbacktext-information-contrast-icon-fill);
268
- }
269
- .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
270
- fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
271
- }
272
- .eds-feedback-text__icon--warning {
273
- color: var(--components-form-feedbacktext-warning-standard-icon-fill);
274
- }
275
- .eds-feedback-text__icon--warning .svg-exclamation {
276
- fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
277
- }
278
- .eds-contrast .eds-feedback-text__icon--warning {
279
- color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
280
- }
281
- .eds-contrast .eds-feedback-text__icon--warning circle {
282
- fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
283
- }
284
- /* DO NOT CHANGE!*/
285
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
286
213
  .eds-checkbox__container {
287
214
  display: flex;
288
215
  align-items: center;
@@ -473,6 +400,79 @@
473
400
  stroke-dashoffset: 0;
474
401
  }
475
402
  }
403
+ /* DO NOT CHANGE!*/
404
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
405
+ .eds-feedback-text {
406
+ display: flex;
407
+ align-items: center;
408
+ margin-top: 0.25rem;
409
+ }
410
+ .eds-feedback-text--info, .eds-feedback-text--information {
411
+ padding-left: calc(1rem + 0.125rem);
412
+ }
413
+ .eds-feedback-text__text {
414
+ color: var(--components-form-feedbacktext-information-standard-text);
415
+ }
416
+ .eds-contrast .eds-feedback-text__text {
417
+ color: var(--components-form-feedbacktext-information-contrast-text);
418
+ }
419
+
420
+ .eds-feedback-text__icon {
421
+ font-size: 1.5rem;
422
+ min-height: 1.5rem;
423
+ min-width: 1.5rem;
424
+ padding-right: 0.5rem;
425
+ position: relative;
426
+ top: -0.1rem;
427
+ }
428
+ .eds-feedback-text__icon--success {
429
+ color: var(--components-form-feedbacktext-success-standard-icon-fill);
430
+ }
431
+ .eds-feedback-text__icon--success circle {
432
+ fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
433
+ }
434
+ .eds-contrast .eds-feedback-text__icon--success {
435
+ color: var(--components-form-feedbacktext-success-contrast-icon-fill);
436
+ }
437
+ .eds-contrast .eds-feedback-text__icon--success circle {
438
+ fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
439
+ }
440
+ .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
441
+ color: var(--components-form-feedbacktext-negative-standard-icon-fill);
442
+ }
443
+ .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
444
+ fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
445
+ }
446
+ .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
447
+ color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
448
+ }
449
+ .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
450
+ fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
451
+ }
452
+ .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
453
+ color: var(--components-form-feedbacktext-information-standard-icon-fill);
454
+ }
455
+ .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
456
+ fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
457
+ }
458
+ .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
459
+ color: var(--components-form-feedbacktext-information-contrast-icon-fill);
460
+ }
461
+ .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
462
+ fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
463
+ }
464
+ .eds-feedback-text__icon--warning {
465
+ color: var(--components-form-feedbacktext-warning-standard-icon-fill);
466
+ }
467
+ .eds-feedback-text__icon--warning .svg-exclamation {
468
+ fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
469
+ }
470
+ .eds-contrast .eds-feedback-text__icon--warning {
471
+ color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
472
+ }
473
+ .eds-contrast .eds-feedback-text__icon--warning circle {
474
+ fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
475
+ }
476
476
  .eds-fieldset {
477
477
  margin: 0;
478
478
  padding: 0;
@@ -680,6 +680,125 @@
680
680
  }
681
681
  /* DO NOT CHANGE!*/
682
682
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
683
+ .eds-switch {
684
+ cursor: pointer;
685
+ -webkit-user-select: none;
686
+ -moz-user-select: none;
687
+ user-select: none;
688
+ padding: 0.5rem 0;
689
+ width: -moz-fit-content;
690
+ width: fit-content;
691
+ }
692
+ .eds-switch input {
693
+ opacity: 0;
694
+ pointer-events: none;
695
+ position: absolute;
696
+ }
697
+ .eds-switch--right {
698
+ display: flex;
699
+ flex-direction: row;
700
+ align-items: center;
701
+ }
702
+ .eds-switch--bottom {
703
+ display: flex;
704
+ flex-direction: column;
705
+ align-items: center;
706
+ }
707
+ .eds-switch__circle {
708
+ border-radius: 50%;
709
+ height: 1.25rem;
710
+ width: 1.25rem;
711
+ content: "";
712
+ display: flex;
713
+ align-items: center;
714
+ justify-content: center;
715
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
716
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
717
+ background-color: var(--components-form-switch-standard-switch);
718
+ top: 0.125rem;
719
+ left: 0.125rem;
720
+ position: relative;
721
+ }
722
+ .eds-switch__switch--large .eds-switch__circle {
723
+ height: 1.75rem;
724
+ width: 1.75rem;
725
+ }
726
+ .eds-contrast .eds-switch__circle {
727
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
728
+ }
729
+ .eds-switch__switch {
730
+ position: relative;
731
+ background-color: var(--components-form-switch-standard-fill-false);
732
+ content: "";
733
+ display: block;
734
+ transition: background-color 0.1s ease-in-out;
735
+ height: 1.5rem;
736
+ width: 3rem;
737
+ border-radius: 1.5rem;
738
+ box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
739
+ }
740
+ .eds-contrast .eds-switch__switch {
741
+ background-color: var(--components-form-switch-contrast-fill-false);
742
+ }
743
+ .eds-switch--right .eds-switch__switch {
744
+ margin-right: 0.75rem;
745
+ }
746
+ .eds-switch__switch svg g,
747
+ .eds-switch__switch path {
748
+ fill: var(--components-form-switch-standard-icon-false);
749
+ transition: fill ease-in-out 0.1s;
750
+ }
751
+ .eds-contrast .eds-switch__switch svg g,
752
+ .eds-contrast .eds-switch__switch path {
753
+ fill: var(--components-form-switch-contrast-icon-false);
754
+ }
755
+ :checked + .eds-switch__switch {
756
+ background-color: var(--eds-switch-color);
757
+ }
758
+ :checked + .eds-switch__switch .eds-switch__circle {
759
+ left: 1.625rem;
760
+ }
761
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
762
+ :checked + .eds-switch__switch .eds-switch__circle path {
763
+ fill: var(--eds-switch-color);
764
+ }
765
+ .eds-contrast :checked + .eds-switch__switch {
766
+ background-color: var(--eds-switch-contrast-color);
767
+ }
768
+ :focus-visible + .eds-switch__switch {
769
+ outline: 2px solid #181c56;
770
+ outline-color: var(--basecolors-stroke-focus-standard);
771
+ outline-offset: 0.125rem;
772
+ }
773
+ .eds-contrast :focus-visible + .eds-switch__switch {
774
+ outline-color: var(--basecolors-stroke-focus-contrast);
775
+ }
776
+ .eds-switch__switch--large {
777
+ width: 3.75rem;
778
+ height: 2rem;
779
+ border-radius: 3.75rem;
780
+ }
781
+ :checked + .eds-switch__switch--large .eds-switch__circle {
782
+ left: 1.875rem;
783
+ }
784
+ .eds-switch__switch--large svg {
785
+ position: relative;
786
+ right: 0.05rem;
787
+ }
788
+ .eds-switch__label--large--right {
789
+ font-size: 1rem;
790
+ }
791
+ .eds-switch__label--large--bottom {
792
+ font-size: 0.875rem;
793
+ }
794
+ .eds-switch__label--medium--right {
795
+ font-size: 0.875rem;
796
+ }
797
+ .eds-switch__label--medium--bottom {
798
+ font-size: 0.75rem;
799
+ }
800
+ /* DO NOT CHANGE!*/
801
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
683
802
  /* DO NOT CHANGE!*/
684
803
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
685
804
  /* DO NOT CHANGE!*/
@@ -994,125 +1113,6 @@ input:disabled + .eds-input-panel__container {
994
1113
  }
995
1114
  /* DO NOT CHANGE!*/
996
1115
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
997
- .eds-switch {
998
- cursor: pointer;
999
- -webkit-user-select: none;
1000
- -moz-user-select: none;
1001
- user-select: none;
1002
- padding: 0.5rem 0;
1003
- width: -moz-fit-content;
1004
- width: fit-content;
1005
- }
1006
- .eds-switch input {
1007
- opacity: 0;
1008
- pointer-events: none;
1009
- position: absolute;
1010
- }
1011
- .eds-switch--right {
1012
- display: flex;
1013
- flex-direction: row;
1014
- align-items: center;
1015
- }
1016
- .eds-switch--bottom {
1017
- display: flex;
1018
- flex-direction: column;
1019
- align-items: center;
1020
- }
1021
- .eds-switch__circle {
1022
- border-radius: 50%;
1023
- height: 1.25rem;
1024
- width: 1.25rem;
1025
- content: "";
1026
- display: flex;
1027
- align-items: center;
1028
- justify-content: center;
1029
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
1030
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1031
- background-color: var(--components-form-switch-standard-switch);
1032
- top: 0.125rem;
1033
- left: 0.125rem;
1034
- position: relative;
1035
- }
1036
- .eds-switch__switch--large .eds-switch__circle {
1037
- height: 1.75rem;
1038
- width: 1.75rem;
1039
- }
1040
- .eds-contrast .eds-switch__circle {
1041
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
1042
- }
1043
- .eds-switch__switch {
1044
- position: relative;
1045
- background-color: var(--components-form-switch-standard-fill-false);
1046
- content: "";
1047
- display: block;
1048
- transition: background-color 0.1s ease-in-out;
1049
- height: 1.5rem;
1050
- width: 3rem;
1051
- border-radius: 1.5rem;
1052
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
1053
- }
1054
- .eds-contrast .eds-switch__switch {
1055
- background-color: var(--components-form-switch-contrast-fill-false);
1056
- }
1057
- .eds-switch--right .eds-switch__switch {
1058
- margin-right: 0.75rem;
1059
- }
1060
- .eds-switch__switch svg g,
1061
- .eds-switch__switch path {
1062
- fill: var(--components-form-switch-standard-icon-false);
1063
- transition: fill ease-in-out 0.1s;
1064
- }
1065
- .eds-contrast .eds-switch__switch svg g,
1066
- .eds-contrast .eds-switch__switch path {
1067
- fill: var(--components-form-switch-contrast-icon-false);
1068
- }
1069
- :checked + .eds-switch__switch {
1070
- background-color: var(--eds-switch-color);
1071
- }
1072
- :checked + .eds-switch__switch .eds-switch__circle {
1073
- left: 1.625rem;
1074
- }
1075
- :checked + .eds-switch__switch .eds-switch__circle svg g,
1076
- :checked + .eds-switch__switch .eds-switch__circle path {
1077
- fill: var(--eds-switch-color);
1078
- }
1079
- .eds-contrast :checked + .eds-switch__switch {
1080
- background-color: var(--eds-switch-contrast-color);
1081
- }
1082
- :focus-visible + .eds-switch__switch {
1083
- outline: 2px solid #181c56;
1084
- outline-color: var(--basecolors-stroke-focus-standard);
1085
- outline-offset: 0.125rem;
1086
- }
1087
- .eds-contrast :focus-visible + .eds-switch__switch {
1088
- outline-color: var(--basecolors-stroke-focus-contrast);
1089
- }
1090
- .eds-switch__switch--large {
1091
- width: 3.75rem;
1092
- height: 2rem;
1093
- border-radius: 3.75rem;
1094
- }
1095
- :checked + .eds-switch__switch--large .eds-switch__circle {
1096
- left: 1.875rem;
1097
- }
1098
- .eds-switch__switch--large svg {
1099
- position: relative;
1100
- right: 0.05rem;
1101
- }
1102
- .eds-switch__label--large--right {
1103
- font-size: 1rem;
1104
- }
1105
- .eds-switch__label--large--bottom {
1106
- font-size: 0.875rem;
1107
- }
1108
- .eds-switch__label--medium--right {
1109
- font-size: 0.875rem;
1110
- }
1111
- .eds-switch__label--medium--bottom {
1112
- font-size: 0.75rem;
1113
- }
1114
- /* DO NOT CHANGE!*/
1115
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1116
1116
  .eds-textfield__clear-button {
1117
1117
  background: none;
1118
1118
  border: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "8.3.2-beta.4",
3
+ "version": "8.3.2-beta.5",
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.3.13-beta.4",
30
+ "@entur/button": "^3.3.13-beta.5",
31
31
  "@entur/icons": "^8.0.0",
32
32
  "@entur/tokens": "^3.19.1",
33
- "@entur/tooltip": "^5.2.13-beta.4",
34
- "@entur/typography": "^1.10.0-beta.4",
33
+ "@entur/tooltip": "^5.2.13-beta.5",
34
+ "@entur/typography": "^1.10.0-beta.5",
35
35
  "@entur/utils": "^0.12.3",
36
36
  "classnames": "^2.3.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "dts-cli": "2.0.5"
40
40
  },
41
- "gitHead": "8d064eda2fb3e82dc87f08625f7833f92737f32e"
41
+ "gitHead": "ba4ae77ebb013a60523baf66ff658b73fa7e0719"
42
42
  }