@entur/form 8.2.1 → 8.2.2-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.
- package/dist/styles.css +160 -160
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,160 @@
|
|
|
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, .eds-feedback-text--information {
|
|
9
|
+
padding-left: calc(1rem + 0.125rem);
|
|
10
|
+
}
|
|
11
|
+
.eds-feedback-text__text {
|
|
12
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
13
|
+
}
|
|
14
|
+
.eds-contrast .eds-feedback-text__text {
|
|
15
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
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: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
28
|
+
}
|
|
29
|
+
.eds-feedback-text__icon--success circle {
|
|
30
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
31
|
+
}
|
|
32
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
33
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
34
|
+
}
|
|
35
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
36
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
37
|
+
}
|
|
38
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
39
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
40
|
+
}
|
|
41
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
42
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
43
|
+
}
|
|
44
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
45
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
46
|
+
}
|
|
47
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
48
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
49
|
+
}
|
|
50
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
51
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
52
|
+
}
|
|
53
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
54
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
55
|
+
}
|
|
56
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
57
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
58
|
+
}
|
|
59
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
60
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
61
|
+
}
|
|
62
|
+
.eds-feedback-text__icon--warning {
|
|
63
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
64
|
+
}
|
|
65
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
66
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
67
|
+
}
|
|
68
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
69
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
70
|
+
}
|
|
71
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
72
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
73
|
+
}
|
|
74
|
+
/* DO NOT CHANGE!*/
|
|
75
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
76
|
+
.eds-input-group {
|
|
77
|
+
color: inherit;
|
|
78
|
+
display: block;
|
|
79
|
+
position: relative;
|
|
80
|
+
}
|
|
81
|
+
.eds-input-group__label {
|
|
82
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
83
|
+
display: flex;
|
|
84
|
+
font-size: 1rem;
|
|
85
|
+
position: absolute;
|
|
86
|
+
line-height: 1rem;
|
|
87
|
+
height: 3rem;
|
|
88
|
+
padding-left: 0;
|
|
89
|
+
top: 1rem;
|
|
90
|
+
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;
|
|
91
|
+
-webkit-user-select: none;
|
|
92
|
+
-moz-user-select: none;
|
|
93
|
+
user-select: none;
|
|
94
|
+
pointer-events: none;
|
|
95
|
+
}
|
|
96
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
97
|
+
top: 0.375rem;
|
|
98
|
+
font-size: 0.75rem;
|
|
99
|
+
line-height: 0.75rem;
|
|
100
|
+
height: 10px;
|
|
101
|
+
padding: 0;
|
|
102
|
+
}
|
|
103
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
104
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
105
|
+
background: var(--textarea-label-background);
|
|
106
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
107
|
+
}
|
|
108
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
109
|
+
top: 0.5rem;
|
|
110
|
+
font-size: 0.875rem;
|
|
111
|
+
line-height: 1rem;
|
|
112
|
+
padding: 0;
|
|
113
|
+
}
|
|
114
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
115
|
+
top: 0.75rem;
|
|
116
|
+
font-size: 1.5rem;
|
|
117
|
+
line-height: 2.25rem;
|
|
118
|
+
}
|
|
119
|
+
.eds-input-group__label--filled {
|
|
120
|
+
top: 0.375rem;
|
|
121
|
+
font-size: 0.75rem;
|
|
122
|
+
line-height: 0.75rem;
|
|
123
|
+
height: 10px;
|
|
124
|
+
padding: 0;
|
|
125
|
+
}
|
|
126
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
127
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
128
|
+
background: var(--textarea-label-background);
|
|
129
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
130
|
+
}
|
|
131
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
132
|
+
top: 0.5rem;
|
|
133
|
+
font-size: 0.875rem;
|
|
134
|
+
line-height: 1rem;
|
|
135
|
+
padding: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
139
|
+
top: 0.375rem;
|
|
140
|
+
font-size: 0.75rem;
|
|
141
|
+
line-height: 0.75rem;
|
|
142
|
+
height: 10px;
|
|
143
|
+
padding: 0;
|
|
144
|
+
}
|
|
145
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
146
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
147
|
+
background: var(--textarea-label-background);
|
|
148
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
149
|
+
}
|
|
150
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
151
|
+
top: 0.5rem;
|
|
152
|
+
font-size: 0.875rem;
|
|
153
|
+
line-height: 1rem;
|
|
154
|
+
padding: 0;
|
|
155
|
+
}
|
|
156
|
+
/* DO NOT CHANGE!*/
|
|
157
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
158
|
.eds-checkbox__container {
|
|
4
159
|
display: flex;
|
|
5
160
|
align-items: center;
|
|
@@ -143,88 +298,6 @@
|
|
|
143
298
|
}
|
|
144
299
|
/* DO NOT CHANGE!*/
|
|
145
300
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
146
|
-
.eds-input-group {
|
|
147
|
-
color: inherit;
|
|
148
|
-
display: block;
|
|
149
|
-
position: relative;
|
|
150
|
-
}
|
|
151
|
-
.eds-input-group__label {
|
|
152
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
153
|
-
display: flex;
|
|
154
|
-
font-size: 1rem;
|
|
155
|
-
position: absolute;
|
|
156
|
-
line-height: 1rem;
|
|
157
|
-
height: 3rem;
|
|
158
|
-
padding-left: 0;
|
|
159
|
-
top: 1rem;
|
|
160
|
-
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;
|
|
161
|
-
-webkit-user-select: none;
|
|
162
|
-
-moz-user-select: none;
|
|
163
|
-
user-select: none;
|
|
164
|
-
pointer-events: none;
|
|
165
|
-
}
|
|
166
|
-
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
167
|
-
top: 0.375rem;
|
|
168
|
-
font-size: 0.75rem;
|
|
169
|
-
line-height: 0.75rem;
|
|
170
|
-
height: 10px;
|
|
171
|
-
padding: 0;
|
|
172
|
-
}
|
|
173
|
-
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
174
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
175
|
-
background: var(--textarea-label-background);
|
|
176
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
177
|
-
}
|
|
178
|
-
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
179
|
-
top: 0.5rem;
|
|
180
|
-
font-size: 0.875rem;
|
|
181
|
-
line-height: 1rem;
|
|
182
|
-
padding: 0;
|
|
183
|
-
}
|
|
184
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
185
|
-
top: 0.75rem;
|
|
186
|
-
font-size: 1.5rem;
|
|
187
|
-
line-height: 2.25rem;
|
|
188
|
-
}
|
|
189
|
-
.eds-input-group__label--filled {
|
|
190
|
-
top: 0.375rem;
|
|
191
|
-
font-size: 0.75rem;
|
|
192
|
-
line-height: 0.75rem;
|
|
193
|
-
height: 10px;
|
|
194
|
-
padding: 0;
|
|
195
|
-
}
|
|
196
|
-
.eds-textarea__label .eds-input-group__label--filled {
|
|
197
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
198
|
-
background: var(--textarea-label-background);
|
|
199
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
200
|
-
}
|
|
201
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
202
|
-
top: 0.5rem;
|
|
203
|
-
font-size: 0.875rem;
|
|
204
|
-
line-height: 1rem;
|
|
205
|
-
padding: 0;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
209
|
-
top: 0.375rem;
|
|
210
|
-
font-size: 0.75rem;
|
|
211
|
-
line-height: 0.75rem;
|
|
212
|
-
height: 10px;
|
|
213
|
-
padding: 0;
|
|
214
|
-
}
|
|
215
|
-
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
216
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
217
|
-
background: var(--textarea-label-background);
|
|
218
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
219
|
-
}
|
|
220
|
-
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
221
|
-
top: 0.5rem;
|
|
222
|
-
font-size: 0.875rem;
|
|
223
|
-
line-height: 1rem;
|
|
224
|
-
padding: 0;
|
|
225
|
-
}
|
|
226
|
-
/* DO NOT CHANGE!*/
|
|
227
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
228
301
|
.eds-form-control__field-and-feedback-text {
|
|
229
302
|
display: flex;
|
|
230
303
|
flex-direction: column;
|
|
@@ -539,6 +612,11 @@
|
|
|
539
612
|
.eds-switch__label--medium--bottom {
|
|
540
613
|
font-size: 0.75rem;
|
|
541
614
|
}
|
|
615
|
+
.eds-fieldset {
|
|
616
|
+
margin: 0;
|
|
617
|
+
padding: 0;
|
|
618
|
+
border: 0;
|
|
619
|
+
}
|
|
542
620
|
/* DO NOT CHANGE!*/
|
|
543
621
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
544
622
|
.eds-form-component--radio__container {
|
|
@@ -623,84 +701,6 @@
|
|
|
623
701
|
}
|
|
624
702
|
/* DO NOT CHANGE!*/
|
|
625
703
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
626
|
-
.eds-feedback-text {
|
|
627
|
-
display: flex;
|
|
628
|
-
align-items: center;
|
|
629
|
-
margin-top: 0.25rem;
|
|
630
|
-
}
|
|
631
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
632
|
-
padding-left: calc(1rem + 0.125rem);
|
|
633
|
-
}
|
|
634
|
-
.eds-feedback-text__text {
|
|
635
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
636
|
-
}
|
|
637
|
-
.eds-contrast .eds-feedback-text__text {
|
|
638
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
639
|
-
}
|
|
640
|
-
|
|
641
|
-
.eds-feedback-text__icon {
|
|
642
|
-
font-size: 1.5rem;
|
|
643
|
-
min-height: 1.5rem;
|
|
644
|
-
min-width: 1.5rem;
|
|
645
|
-
padding-right: 0.5rem;
|
|
646
|
-
position: relative;
|
|
647
|
-
top: -0.1rem;
|
|
648
|
-
}
|
|
649
|
-
.eds-feedback-text__icon--success {
|
|
650
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
651
|
-
}
|
|
652
|
-
.eds-feedback-text__icon--success circle {
|
|
653
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
654
|
-
}
|
|
655
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
656
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
657
|
-
}
|
|
658
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
659
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
660
|
-
}
|
|
661
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
662
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
663
|
-
}
|
|
664
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
665
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
666
|
-
}
|
|
667
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
668
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
669
|
-
}
|
|
670
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
671
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
672
|
-
}
|
|
673
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
674
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
675
|
-
}
|
|
676
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
677
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
678
|
-
}
|
|
679
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
680
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
681
|
-
}
|
|
682
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
683
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
684
|
-
}
|
|
685
|
-
.eds-feedback-text__icon--warning {
|
|
686
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
687
|
-
}
|
|
688
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
689
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
690
|
-
}
|
|
691
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
692
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
693
|
-
}
|
|
694
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
695
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
696
|
-
}
|
|
697
|
-
.eds-fieldset {
|
|
698
|
-
margin: 0;
|
|
699
|
-
padding: 0;
|
|
700
|
-
border: 0;
|
|
701
|
-
}
|
|
702
|
-
/* DO NOT CHANGE!*/
|
|
703
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
704
704
|
/* DO NOT CHANGE!*/
|
|
705
705
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
706
706
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.2-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.3.
|
|
31
|
-
"@entur/icons": "^7.6.
|
|
32
|
-
"@entur/tokens": "^3.17.
|
|
33
|
-
"@entur/tooltip": "^5.2.
|
|
34
|
-
"@entur/typography": "^1.9.
|
|
30
|
+
"@entur/button": "^3.3.2-beta.0",
|
|
31
|
+
"@entur/icons": "^7.6.2-beta.0",
|
|
32
|
+
"@entur/tokens": "^3.17.7-beta.0",
|
|
33
|
+
"@entur/tooltip": "^5.2.2-beta.0",
|
|
34
|
+
"@entur/typography": "^1.9.2-beta.0",
|
|
35
35
|
"@entur/utils": "^0.12.2",
|
|
36
36
|
"classnames": "^2.3.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"dts-cli": "2.0.5"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "cd66907abaf7faaee1f9dcc5f063b3b153eaf7b2"
|
|
42
42
|
}
|