@entur/form 8.3.2-beta.11 → 8.3.2-beta.12
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 +433 -433
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -1,412 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-form-control__field-and-feedback-text {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: -moz-fit-content;
|
|
7
|
-
height: fit-content;
|
|
8
|
-
width: 100%;
|
|
9
|
-
}
|
|
10
|
-
.eds-form-control__field-and-feedback-text--has-tooltip {
|
|
11
|
-
padding-right: 2rem;
|
|
12
|
-
}
|
|
13
|
-
.eds-form-control__field-and-feedback-text:has(.eds-form-control-wrapper--disabled):not(:has(.eds-form-control-wrapper--readonly)) {
|
|
14
|
-
cursor: not-allowed;
|
|
15
|
-
}
|
|
16
|
-
.eds-form-control-wrapper {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
position: relative;
|
|
20
|
-
flex: 1;
|
|
21
|
-
min-height: 3rem;
|
|
22
|
-
padding-left: 1rem;
|
|
23
|
-
padding-right: 1rem;
|
|
24
|
-
background-color: var(--components-form-baseform-standard-fill-default);
|
|
25
|
-
border-radius: 0.25rem;
|
|
26
|
-
border: 0.125rem solid var(--components-form-baseform-standard-border-default);
|
|
27
|
-
box-shadow: 0 0 0 transparent;
|
|
28
|
-
color: var(--components-form-baseform-standard-text-content);
|
|
29
|
-
transition: border-color 0.1s ease-in-out;
|
|
30
|
-
}
|
|
31
|
-
.eds-form-control-wrapper:hover {
|
|
32
|
-
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
33
|
-
}
|
|
34
|
-
.eds-contrast .eds-form-control-wrapper:hover {
|
|
35
|
-
border-color: var(--components-form-baseform-contrast-border-interactive);
|
|
36
|
-
}
|
|
37
|
-
.eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
|
|
38
|
-
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
39
|
-
outline: 2px solid var(--components-form-baseform-standard-border-interactive);
|
|
40
|
-
}
|
|
41
|
-
.eds-contrast .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
|
|
42
|
-
border-color: var(--components-form-baseform-contrast-border-interactive);
|
|
43
|
-
outline-color: var(--components-form-baseform-contrast-border-interactive);
|
|
44
|
-
}
|
|
45
|
-
.eds-form-control-wrapper ::-moz-placeholder {
|
|
46
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
47
|
-
}
|
|
48
|
-
.eds-form-control-wrapper ::placeholder {
|
|
49
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
50
|
-
}
|
|
51
|
-
.eds-form-control-wrapper--disabled {
|
|
52
|
-
border-color: transparent;
|
|
53
|
-
background-color: var(--components-form-baseform-standard-fill-disabled);
|
|
54
|
-
pointer-events: none;
|
|
55
|
-
color: var(--components-form-baseform-standard-text-disabled);
|
|
56
|
-
}
|
|
57
|
-
.eds-form-control-wrapper--disabled .eds-input-group__label {
|
|
58
|
-
color: var(--components-form-baseform-standard-text-disabled);
|
|
59
|
-
}
|
|
60
|
-
.eds-contrast .eds-form-control-wrapper--disabled {
|
|
61
|
-
border-color: transparent;
|
|
62
|
-
background-color: var(--components-form-baseform-contrast-fill-disabled);
|
|
63
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
64
|
-
}
|
|
65
|
-
.eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
|
|
66
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
67
|
-
}
|
|
68
|
-
.eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
|
|
69
|
-
display: none;
|
|
70
|
-
}
|
|
71
|
-
.eds-form-control-wrapper--disabled:focus-within {
|
|
72
|
-
border-color: transparent;
|
|
73
|
-
outline: none;
|
|
74
|
-
}
|
|
75
|
-
.eds-contrast .eds-form-control-wrapper--disabled:focus-within {
|
|
76
|
-
border-color: transparent;
|
|
77
|
-
outline: none;
|
|
78
|
-
}
|
|
79
|
-
.eds-form-control-wrapper--readonly {
|
|
80
|
-
border-color: transparent;
|
|
81
|
-
cursor: default;
|
|
82
|
-
background: var(--components-form-baseform-standard-fill-readonly);
|
|
83
|
-
border: var(--components-form-baseform-standard-fill-readonly);
|
|
84
|
-
}
|
|
85
|
-
.eds-form-control-wrapper--readonly:focus-visible {
|
|
86
|
-
outline: none;
|
|
87
|
-
}
|
|
88
|
-
.eds-contrast .eds-form-control-wrapper--readonly {
|
|
89
|
-
background: var(--components-form-baseform-contrast-fill-readonly);
|
|
90
|
-
border: var(--components-form-baseform-contrast-fill-readonly);
|
|
91
|
-
color: var(--components-form-baseform-contrast-text-description);
|
|
92
|
-
}
|
|
93
|
-
.eds-contrast .eds-form-control-wrapper--readonly .eds-form-control {
|
|
94
|
-
color: var(--components-form-baseform-contrast-text-description);
|
|
95
|
-
}
|
|
96
|
-
.eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
|
|
97
|
-
color: var(--components-form-baseform-contrast-text-description);
|
|
98
|
-
}
|
|
99
|
-
.eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
|
|
100
|
-
display: none;
|
|
101
|
-
}
|
|
102
|
-
.eds-form-control-wrapper--size-medium .eds-form-control,
|
|
103
|
-
.eds-form-control-wrapper--size-medium .eds-form-control__append,
|
|
104
|
-
.eds-form-control-wrapper--size-medium .eds-form-control__prepend {
|
|
105
|
-
font-size: 1rem;
|
|
106
|
-
line-height: 1rem;
|
|
107
|
-
}
|
|
108
|
-
.eds-form-control-wrapper--size-large {
|
|
109
|
-
min-height: 4rem;
|
|
110
|
-
}
|
|
111
|
-
.eds-form-control-wrapper--size-large .eds-form-control,
|
|
112
|
-
.eds-form-control-wrapper--size-large .eds-form-control__append,
|
|
113
|
-
.eds-form-control-wrapper--size-large .eds-form-control__prepend {
|
|
114
|
-
font-size: 1.5rem;
|
|
115
|
-
}
|
|
116
|
-
.eds-form-control-wrapper--success {
|
|
117
|
-
border-color: var(--components-form-baseform-standard-border-success);
|
|
118
|
-
}
|
|
119
|
-
.eds-form-control-wrapper--success:focus-within {
|
|
120
|
-
border-color: var(--components-form-baseform-standard-border-success);
|
|
121
|
-
outline-color: var(--components-form-baseform-standard-border-success);
|
|
122
|
-
}
|
|
123
|
-
.eds-contrast .eds-form-control-wrapper--success {
|
|
124
|
-
border-color: var(--components-form-baseform-standard-border-success);
|
|
125
|
-
}
|
|
126
|
-
.eds-contrast .eds-form-control-wrapper--success:focus-within {
|
|
127
|
-
border-color: var(--components-form-baseform-contrast-border-success);
|
|
128
|
-
outline-color: var(--components-form-baseform-contrast-border-success);
|
|
129
|
-
}
|
|
130
|
-
.eds-form-control-wrapper--error, .eds-form-control-wrapper--negative {
|
|
131
|
-
border-color: var(--components-form-baseform-standard-border-negative);
|
|
132
|
-
}
|
|
133
|
-
.eds-form-control-wrapper--error:focus-within, .eds-form-control-wrapper--negative:focus-within {
|
|
134
|
-
border-color: var(--components-form-baseform-standard-border-negative);
|
|
135
|
-
outline-color: var(--components-form-baseform-standard-border-negative);
|
|
136
|
-
}
|
|
137
|
-
.eds-contrast .eds-form-control-wrapper--error, .eds-contrast .eds-form-control-wrapper--negative {
|
|
138
|
-
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
139
|
-
}
|
|
140
|
-
.eds-contrast .eds-form-control-wrapper--error:focus-within, .eds-contrast .eds-form-control-wrapper--negative:focus-within {
|
|
141
|
-
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
142
|
-
outline-color: var(--components-form-baseform-contrast-border-negative);
|
|
143
|
-
}
|
|
144
|
-
.eds-contrast .eds-form-control .eds-tooltip {
|
|
145
|
-
background: var(--components-tooltip-tooltip-standard-fill);
|
|
146
|
-
color: var(--components-tooltip-tooltip-standard-text);
|
|
147
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
148
|
-
}
|
|
149
|
-
.eds-form-control .eds-tooltip::after {
|
|
150
|
-
background: var(--components-tooltip-tooltip-standard-fill);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
.eds-form-control {
|
|
154
|
-
display: block;
|
|
155
|
-
-webkit-appearance: none;
|
|
156
|
-
-moz-appearance: none;
|
|
157
|
-
appearance: none;
|
|
158
|
-
width: 100%;
|
|
159
|
-
height: 100%;
|
|
160
|
-
padding: 20px 0rem 0.25rem;
|
|
161
|
-
font-family: inherit;
|
|
162
|
-
font-size: 1rem;
|
|
163
|
-
line-height: 1rem;
|
|
164
|
-
border: 0;
|
|
165
|
-
color: var(--components-form-baseform-standard-text-content);
|
|
166
|
-
background-color: transparent;
|
|
167
|
-
}
|
|
168
|
-
.eds-form-control::-moz-placeholder {
|
|
169
|
-
opacity: 0;
|
|
170
|
-
-moz-transition: opacity 0.2s ease-in-out;
|
|
171
|
-
transition: opacity 0.2s ease-in-out;
|
|
172
|
-
}
|
|
173
|
-
.eds-form-control::placeholder {
|
|
174
|
-
opacity: 0;
|
|
175
|
-
transition: opacity 0.2s ease-in-out;
|
|
176
|
-
}
|
|
177
|
-
.eds-form-control:focus {
|
|
178
|
-
outline: none;
|
|
179
|
-
}
|
|
180
|
-
.eds-form-control:focus::-moz-placeholder {
|
|
181
|
-
opacity: 1;
|
|
182
|
-
}
|
|
183
|
-
.eds-form-control:focus::placeholder {
|
|
184
|
-
opacity: 1;
|
|
185
|
-
}
|
|
186
|
-
.eds-form-control__prepend, .eds-form-control__append {
|
|
187
|
-
position: relative;
|
|
188
|
-
line-height: inherit;
|
|
189
|
-
}
|
|
190
|
-
.eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
|
|
191
|
-
all: unset;
|
|
192
|
-
position: absolute;
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
justify-content: center;
|
|
196
|
-
height: 1.5rem;
|
|
197
|
-
width: 1.5rem;
|
|
198
|
-
right: -2rem;
|
|
199
|
-
border-radius: 100%;
|
|
200
|
-
color: var(--primary-text-color);
|
|
201
|
-
cursor: pointer;
|
|
202
|
-
}
|
|
203
|
-
.eds-form-control__prepend {
|
|
204
|
-
margin-right: 0.75rem;
|
|
205
|
-
margin-left: 0;
|
|
206
|
-
}
|
|
207
|
-
.eds-form-control__append {
|
|
208
|
-
margin-right: 0;
|
|
209
|
-
margin-left: 0.75rem;
|
|
210
|
-
}
|
|
211
|
-
/* DO NOT CHANGE!*/
|
|
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
|
-
.eds-fieldset {
|
|
285
|
-
margin: 0;
|
|
286
|
-
padding: 0;
|
|
287
|
-
border: 0;
|
|
288
|
-
}
|
|
289
|
-
/* DO NOT CHANGE!*/
|
|
290
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
291
|
-
.eds-switch {
|
|
292
|
-
cursor: pointer;
|
|
293
|
-
-webkit-user-select: none;
|
|
294
|
-
-moz-user-select: none;
|
|
295
|
-
user-select: none;
|
|
296
|
-
padding: 0.5rem 0;
|
|
297
|
-
width: -moz-fit-content;
|
|
298
|
-
width: fit-content;
|
|
299
|
-
}
|
|
300
|
-
.eds-switch input {
|
|
301
|
-
opacity: 0;
|
|
302
|
-
pointer-events: none;
|
|
303
|
-
position: absolute;
|
|
304
|
-
}
|
|
305
|
-
.eds-switch--right {
|
|
306
|
-
display: flex;
|
|
307
|
-
flex-direction: row;
|
|
308
|
-
align-items: center;
|
|
309
|
-
}
|
|
310
|
-
.eds-switch--bottom {
|
|
311
|
-
display: flex;
|
|
312
|
-
flex-direction: column;
|
|
313
|
-
align-items: center;
|
|
314
|
-
}
|
|
315
|
-
.eds-switch__circle {
|
|
316
|
-
border-radius: 50%;
|
|
317
|
-
height: 1.25rem;
|
|
318
|
-
width: 1.25rem;
|
|
319
|
-
content: "";
|
|
320
|
-
display: flex;
|
|
321
|
-
align-items: center;
|
|
322
|
-
justify-content: center;
|
|
323
|
-
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
324
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
325
|
-
background-color: var(--components-form-switch-standard-switch);
|
|
326
|
-
top: 0.125rem;
|
|
327
|
-
left: 0.125rem;
|
|
328
|
-
position: relative;
|
|
329
|
-
}
|
|
330
|
-
.eds-switch__switch--large .eds-switch__circle {
|
|
331
|
-
height: 1.75rem;
|
|
332
|
-
width: 1.75rem;
|
|
333
|
-
}
|
|
334
|
-
.eds-contrast .eds-switch__circle {
|
|
335
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
336
|
-
}
|
|
337
|
-
.eds-switch__switch {
|
|
338
|
-
position: relative;
|
|
339
|
-
background-color: var(--components-form-switch-standard-fill-false);
|
|
340
|
-
content: "";
|
|
341
|
-
display: block;
|
|
342
|
-
transition: background-color 0.1s ease-in-out;
|
|
343
|
-
height: 1.5rem;
|
|
344
|
-
width: 3rem;
|
|
345
|
-
border-radius: 1.5rem;
|
|
346
|
-
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
347
|
-
}
|
|
348
|
-
.eds-contrast .eds-switch__switch {
|
|
349
|
-
background-color: var(--components-form-switch-contrast-fill-false);
|
|
350
|
-
}
|
|
351
|
-
.eds-switch--right .eds-switch__switch {
|
|
352
|
-
margin-right: 0.75rem;
|
|
353
|
-
}
|
|
354
|
-
.eds-switch__switch svg g,
|
|
355
|
-
.eds-switch__switch path {
|
|
356
|
-
fill: var(--components-form-switch-standard-icon-false);
|
|
357
|
-
transition: fill ease-in-out 0.1s;
|
|
358
|
-
}
|
|
359
|
-
.eds-contrast .eds-switch__switch svg g,
|
|
360
|
-
.eds-contrast .eds-switch__switch path {
|
|
361
|
-
fill: var(--components-form-switch-contrast-icon-false);
|
|
362
|
-
}
|
|
363
|
-
:checked + .eds-switch__switch {
|
|
364
|
-
background-color: var(--eds-switch-color);
|
|
365
|
-
}
|
|
366
|
-
:checked + .eds-switch__switch .eds-switch__circle {
|
|
367
|
-
left: 1.625rem;
|
|
368
|
-
}
|
|
369
|
-
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
370
|
-
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
371
|
-
fill: var(--eds-switch-color);
|
|
372
|
-
}
|
|
373
|
-
.eds-contrast :checked + .eds-switch__switch {
|
|
374
|
-
background-color: var(--eds-switch-contrast-color);
|
|
375
|
-
}
|
|
376
|
-
:focus-visible + .eds-switch__switch {
|
|
377
|
-
outline: 2px solid #181c56;
|
|
378
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
379
|
-
outline-offset: 0.125rem;
|
|
380
|
-
}
|
|
381
|
-
.eds-contrast :focus-visible + .eds-switch__switch {
|
|
382
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
383
|
-
}
|
|
384
|
-
.eds-switch__switch--large {
|
|
385
|
-
width: 3.75rem;
|
|
386
|
-
height: 2rem;
|
|
387
|
-
border-radius: 3.75rem;
|
|
388
|
-
}
|
|
389
|
-
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
390
|
-
left: 1.875rem;
|
|
391
|
-
}
|
|
392
|
-
.eds-switch__switch--large svg {
|
|
393
|
-
position: relative;
|
|
394
|
-
right: 0.05rem;
|
|
395
|
-
}
|
|
396
|
-
.eds-switch__label--large--right {
|
|
397
|
-
font-size: 1rem;
|
|
398
|
-
}
|
|
399
|
-
.eds-switch__label--large--bottom {
|
|
400
|
-
font-size: 0.875rem;
|
|
401
|
-
}
|
|
402
|
-
.eds-switch__label--medium--right {
|
|
403
|
-
font-size: 0.875rem;
|
|
404
|
-
}
|
|
405
|
-
.eds-switch__label--medium--bottom {
|
|
406
|
-
font-size: 0.75rem;
|
|
407
|
-
}
|
|
408
|
-
/* DO NOT CHANGE!*/
|
|
409
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
410
3
|
.eds-checkbox__container {
|
|
411
4
|
display: flex;
|
|
412
5
|
align-items: center;
|
|
@@ -599,6 +192,84 @@
|
|
|
599
192
|
}
|
|
600
193
|
/* DO NOT CHANGE!*/
|
|
601
194
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
195
|
+
.eds-feedback-text {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
margin-top: 0.25rem;
|
|
199
|
+
}
|
|
200
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
201
|
+
padding-left: calc(1rem + 0.125rem);
|
|
202
|
+
}
|
|
203
|
+
.eds-feedback-text__text {
|
|
204
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
205
|
+
}
|
|
206
|
+
.eds-contrast .eds-feedback-text__text {
|
|
207
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.eds-feedback-text__icon {
|
|
211
|
+
font-size: 1.5rem;
|
|
212
|
+
min-height: 1.5rem;
|
|
213
|
+
min-width: 1.5rem;
|
|
214
|
+
padding-right: 0.5rem;
|
|
215
|
+
position: relative;
|
|
216
|
+
top: -0.1rem;
|
|
217
|
+
}
|
|
218
|
+
.eds-feedback-text__icon--success {
|
|
219
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
220
|
+
}
|
|
221
|
+
.eds-feedback-text__icon--success circle {
|
|
222
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
223
|
+
}
|
|
224
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
225
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
226
|
+
}
|
|
227
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
228
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
229
|
+
}
|
|
230
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
231
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
232
|
+
}
|
|
233
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
234
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
235
|
+
}
|
|
236
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
237
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
238
|
+
}
|
|
239
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
240
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
241
|
+
}
|
|
242
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
243
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
244
|
+
}
|
|
245
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
246
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
247
|
+
}
|
|
248
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
249
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
250
|
+
}
|
|
251
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
252
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
253
|
+
}
|
|
254
|
+
.eds-feedback-text__icon--warning {
|
|
255
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
256
|
+
}
|
|
257
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
258
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
259
|
+
}
|
|
260
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
261
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
262
|
+
}
|
|
263
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
264
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
265
|
+
}
|
|
266
|
+
.eds-fieldset {
|
|
267
|
+
margin: 0;
|
|
268
|
+
padding: 0;
|
|
269
|
+
border: 0;
|
|
270
|
+
}
|
|
271
|
+
/* DO NOT CHANGE!*/
|
|
272
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
602
273
|
.eds-input-group {
|
|
603
274
|
color: inherit;
|
|
604
275
|
display: block;
|
|
@@ -778,24 +449,143 @@
|
|
|
778
449
|
background: var(--components-form-radio-standard-fill-disabled);
|
|
779
450
|
border-color: var(--components-form-radio-standard-border-readonly);
|
|
780
451
|
}
|
|
781
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
|
|
782
|
-
background: var(--components-form-radio-contrast-fill-disabled);
|
|
783
|
-
border-color: var(--components-form-radio-contrast-border-readonly);
|
|
452
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
|
|
453
|
+
background: var(--components-form-radio-contrast-fill-disabled);
|
|
454
|
+
border-color: var(--components-form-radio-contrast-border-readonly);
|
|
455
|
+
}
|
|
456
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
457
|
+
background-color: var(--components-form-radio-standard-icon);
|
|
458
|
+
border-color: var(--components-form-radio-standard-border-readonly);
|
|
459
|
+
}
|
|
460
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
461
|
+
display: block;
|
|
462
|
+
width: 0;
|
|
463
|
+
height: 0;
|
|
464
|
+
border-radius: 50%;
|
|
465
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
466
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
467
|
+
}
|
|
468
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
469
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
470
|
+
}
|
|
471
|
+
/* DO NOT CHANGE!*/
|
|
472
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
473
|
+
.eds-switch {
|
|
474
|
+
cursor: pointer;
|
|
475
|
+
-webkit-user-select: none;
|
|
476
|
+
-moz-user-select: none;
|
|
477
|
+
user-select: none;
|
|
478
|
+
padding: 0.5rem 0;
|
|
479
|
+
width: -moz-fit-content;
|
|
480
|
+
width: fit-content;
|
|
481
|
+
}
|
|
482
|
+
.eds-switch input {
|
|
483
|
+
opacity: 0;
|
|
484
|
+
pointer-events: none;
|
|
485
|
+
position: absolute;
|
|
486
|
+
}
|
|
487
|
+
.eds-switch--right {
|
|
488
|
+
display: flex;
|
|
489
|
+
flex-direction: row;
|
|
490
|
+
align-items: center;
|
|
491
|
+
}
|
|
492
|
+
.eds-switch--bottom {
|
|
493
|
+
display: flex;
|
|
494
|
+
flex-direction: column;
|
|
495
|
+
align-items: center;
|
|
496
|
+
}
|
|
497
|
+
.eds-switch__circle {
|
|
498
|
+
border-radius: 50%;
|
|
499
|
+
height: 1.25rem;
|
|
500
|
+
width: 1.25rem;
|
|
501
|
+
content: "";
|
|
502
|
+
display: flex;
|
|
503
|
+
align-items: center;
|
|
504
|
+
justify-content: center;
|
|
505
|
+
transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
|
|
506
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
507
|
+
background-color: var(--components-form-switch-standard-switch);
|
|
508
|
+
top: 0.125rem;
|
|
509
|
+
left: 0.125rem;
|
|
510
|
+
position: relative;
|
|
511
|
+
}
|
|
512
|
+
.eds-switch__switch--large .eds-switch__circle {
|
|
513
|
+
height: 1.75rem;
|
|
514
|
+
width: 1.75rem;
|
|
515
|
+
}
|
|
516
|
+
.eds-contrast .eds-switch__circle {
|
|
517
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
|
|
518
|
+
}
|
|
519
|
+
.eds-switch__switch {
|
|
520
|
+
position: relative;
|
|
521
|
+
background-color: var(--components-form-switch-standard-fill-false);
|
|
522
|
+
content: "";
|
|
523
|
+
display: block;
|
|
524
|
+
transition: background-color 0.1s ease-in-out;
|
|
525
|
+
height: 1.5rem;
|
|
526
|
+
width: 3rem;
|
|
527
|
+
border-radius: 1.5rem;
|
|
528
|
+
box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
|
|
529
|
+
}
|
|
530
|
+
.eds-contrast .eds-switch__switch {
|
|
531
|
+
background-color: var(--components-form-switch-contrast-fill-false);
|
|
532
|
+
}
|
|
533
|
+
.eds-switch--right .eds-switch__switch {
|
|
534
|
+
margin-right: 0.75rem;
|
|
535
|
+
}
|
|
536
|
+
.eds-switch__switch svg g,
|
|
537
|
+
.eds-switch__switch path {
|
|
538
|
+
fill: var(--components-form-switch-standard-icon-false);
|
|
539
|
+
transition: fill ease-in-out 0.1s;
|
|
540
|
+
}
|
|
541
|
+
.eds-contrast .eds-switch__switch svg g,
|
|
542
|
+
.eds-contrast .eds-switch__switch path {
|
|
543
|
+
fill: var(--components-form-switch-contrast-icon-false);
|
|
544
|
+
}
|
|
545
|
+
:checked + .eds-switch__switch {
|
|
546
|
+
background-color: var(--eds-switch-color);
|
|
547
|
+
}
|
|
548
|
+
:checked + .eds-switch__switch .eds-switch__circle {
|
|
549
|
+
left: 1.625rem;
|
|
550
|
+
}
|
|
551
|
+
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
552
|
+
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
553
|
+
fill: var(--eds-switch-color);
|
|
554
|
+
}
|
|
555
|
+
.eds-contrast :checked + .eds-switch__switch {
|
|
556
|
+
background-color: var(--eds-switch-contrast-color);
|
|
557
|
+
}
|
|
558
|
+
:focus-visible + .eds-switch__switch {
|
|
559
|
+
outline: 2px solid #181c56;
|
|
560
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
561
|
+
outline-offset: 0.125rem;
|
|
562
|
+
}
|
|
563
|
+
.eds-contrast :focus-visible + .eds-switch__switch {
|
|
564
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
565
|
+
}
|
|
566
|
+
.eds-switch__switch--large {
|
|
567
|
+
width: 3.75rem;
|
|
568
|
+
height: 2rem;
|
|
569
|
+
border-radius: 3.75rem;
|
|
570
|
+
}
|
|
571
|
+
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
572
|
+
left: 1.875rem;
|
|
573
|
+
}
|
|
574
|
+
.eds-switch__switch--large svg {
|
|
575
|
+
position: relative;
|
|
576
|
+
right: 0.05rem;
|
|
577
|
+
}
|
|
578
|
+
.eds-switch__label--large--right {
|
|
579
|
+
font-size: 1rem;
|
|
784
580
|
}
|
|
785
|
-
.eds-
|
|
786
|
-
|
|
787
|
-
border-color: var(--components-form-radio-standard-border-readonly);
|
|
581
|
+
.eds-switch__label--large--bottom {
|
|
582
|
+
font-size: 0.875rem;
|
|
788
583
|
}
|
|
789
|
-
.eds-
|
|
790
|
-
|
|
791
|
-
width: 0;
|
|
792
|
-
height: 0;
|
|
793
|
-
border-radius: 50%;
|
|
794
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
795
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
584
|
+
.eds-switch__label--medium--right {
|
|
585
|
+
font-size: 0.875rem;
|
|
796
586
|
}
|
|
797
|
-
.eds-
|
|
798
|
-
|
|
587
|
+
.eds-switch__label--medium--bottom {
|
|
588
|
+
font-size: 0.75rem;
|
|
799
589
|
}
|
|
800
590
|
/* DO NOT CHANGE!*/
|
|
801
591
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -965,6 +755,216 @@
|
|
|
965
755
|
}
|
|
966
756
|
/* DO NOT CHANGE!*/
|
|
967
757
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
758
|
+
.eds-form-control__field-and-feedback-text {
|
|
759
|
+
display: flex;
|
|
760
|
+
flex-direction: column;
|
|
761
|
+
height: -moz-fit-content;
|
|
762
|
+
height: fit-content;
|
|
763
|
+
width: 100%;
|
|
764
|
+
}
|
|
765
|
+
.eds-form-control__field-and-feedback-text--has-tooltip {
|
|
766
|
+
padding-right: 2rem;
|
|
767
|
+
}
|
|
768
|
+
.eds-form-control__field-and-feedback-text:has(.eds-form-control-wrapper--disabled):not(:has(.eds-form-control-wrapper--readonly)) {
|
|
769
|
+
cursor: not-allowed;
|
|
770
|
+
}
|
|
771
|
+
.eds-form-control-wrapper {
|
|
772
|
+
display: flex;
|
|
773
|
+
align-items: center;
|
|
774
|
+
position: relative;
|
|
775
|
+
flex: 1;
|
|
776
|
+
min-height: 3rem;
|
|
777
|
+
padding-left: 1rem;
|
|
778
|
+
padding-right: 1rem;
|
|
779
|
+
background-color: var(--components-form-baseform-standard-fill-default);
|
|
780
|
+
border-radius: 0.25rem;
|
|
781
|
+
border: 0.125rem solid var(--components-form-baseform-standard-border-default);
|
|
782
|
+
box-shadow: 0 0 0 transparent;
|
|
783
|
+
color: var(--components-form-baseform-standard-text-content);
|
|
784
|
+
transition: border-color 0.1s ease-in-out;
|
|
785
|
+
}
|
|
786
|
+
.eds-form-control-wrapper:hover {
|
|
787
|
+
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
788
|
+
}
|
|
789
|
+
.eds-contrast .eds-form-control-wrapper:hover {
|
|
790
|
+
border-color: var(--components-form-baseform-contrast-border-interactive);
|
|
791
|
+
}
|
|
792
|
+
.eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
|
|
793
|
+
border-color: var(--components-form-baseform-standard-border-interactive);
|
|
794
|
+
outline: 2px solid var(--components-form-baseform-standard-border-interactive);
|
|
795
|
+
}
|
|
796
|
+
.eds-contrast .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
|
|
797
|
+
border-color: var(--components-form-baseform-contrast-border-interactive);
|
|
798
|
+
outline-color: var(--components-form-baseform-contrast-border-interactive);
|
|
799
|
+
}
|
|
800
|
+
.eds-form-control-wrapper ::-moz-placeholder {
|
|
801
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
802
|
+
}
|
|
803
|
+
.eds-form-control-wrapper ::placeholder {
|
|
804
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
805
|
+
}
|
|
806
|
+
.eds-form-control-wrapper--disabled {
|
|
807
|
+
border-color: transparent;
|
|
808
|
+
background-color: var(--components-form-baseform-standard-fill-disabled);
|
|
809
|
+
pointer-events: none;
|
|
810
|
+
color: var(--components-form-baseform-standard-text-disabled);
|
|
811
|
+
}
|
|
812
|
+
.eds-form-control-wrapper--disabled .eds-input-group__label {
|
|
813
|
+
color: var(--components-form-baseform-standard-text-disabled);
|
|
814
|
+
}
|
|
815
|
+
.eds-contrast .eds-form-control-wrapper--disabled {
|
|
816
|
+
border-color: transparent;
|
|
817
|
+
background-color: var(--components-form-baseform-contrast-fill-disabled);
|
|
818
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
819
|
+
}
|
|
820
|
+
.eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
|
|
821
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
822
|
+
}
|
|
823
|
+
.eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
|
|
824
|
+
display: none;
|
|
825
|
+
}
|
|
826
|
+
.eds-form-control-wrapper--disabled:focus-within {
|
|
827
|
+
border-color: transparent;
|
|
828
|
+
outline: none;
|
|
829
|
+
}
|
|
830
|
+
.eds-contrast .eds-form-control-wrapper--disabled:focus-within {
|
|
831
|
+
border-color: transparent;
|
|
832
|
+
outline: none;
|
|
833
|
+
}
|
|
834
|
+
.eds-form-control-wrapper--readonly {
|
|
835
|
+
border-color: transparent;
|
|
836
|
+
cursor: default;
|
|
837
|
+
background: var(--components-form-baseform-standard-fill-readonly);
|
|
838
|
+
border: var(--components-form-baseform-standard-fill-readonly);
|
|
839
|
+
}
|
|
840
|
+
.eds-form-control-wrapper--readonly:focus-visible {
|
|
841
|
+
outline: none;
|
|
842
|
+
}
|
|
843
|
+
.eds-contrast .eds-form-control-wrapper--readonly {
|
|
844
|
+
background: var(--components-form-baseform-contrast-fill-readonly);
|
|
845
|
+
border: var(--components-form-baseform-contrast-fill-readonly);
|
|
846
|
+
color: var(--components-form-baseform-contrast-text-description);
|
|
847
|
+
}
|
|
848
|
+
.eds-contrast .eds-form-control-wrapper--readonly .eds-form-control {
|
|
849
|
+
color: var(--components-form-baseform-contrast-text-description);
|
|
850
|
+
}
|
|
851
|
+
.eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
|
|
852
|
+
color: var(--components-form-baseform-contrast-text-description);
|
|
853
|
+
}
|
|
854
|
+
.eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
|
|
855
|
+
display: none;
|
|
856
|
+
}
|
|
857
|
+
.eds-form-control-wrapper--size-medium .eds-form-control,
|
|
858
|
+
.eds-form-control-wrapper--size-medium .eds-form-control__append,
|
|
859
|
+
.eds-form-control-wrapper--size-medium .eds-form-control__prepend {
|
|
860
|
+
font-size: 1rem;
|
|
861
|
+
line-height: 1rem;
|
|
862
|
+
}
|
|
863
|
+
.eds-form-control-wrapper--size-large {
|
|
864
|
+
min-height: 4rem;
|
|
865
|
+
}
|
|
866
|
+
.eds-form-control-wrapper--size-large .eds-form-control,
|
|
867
|
+
.eds-form-control-wrapper--size-large .eds-form-control__append,
|
|
868
|
+
.eds-form-control-wrapper--size-large .eds-form-control__prepend {
|
|
869
|
+
font-size: 1.5rem;
|
|
870
|
+
}
|
|
871
|
+
.eds-form-control-wrapper--success {
|
|
872
|
+
border-color: var(--components-form-baseform-standard-border-success);
|
|
873
|
+
}
|
|
874
|
+
.eds-form-control-wrapper--success:focus-within {
|
|
875
|
+
border-color: var(--components-form-baseform-standard-border-success);
|
|
876
|
+
outline-color: var(--components-form-baseform-standard-border-success);
|
|
877
|
+
}
|
|
878
|
+
.eds-contrast .eds-form-control-wrapper--success {
|
|
879
|
+
border-color: var(--components-form-baseform-standard-border-success);
|
|
880
|
+
}
|
|
881
|
+
.eds-contrast .eds-form-control-wrapper--success:focus-within {
|
|
882
|
+
border-color: var(--components-form-baseform-contrast-border-success);
|
|
883
|
+
outline-color: var(--components-form-baseform-contrast-border-success);
|
|
884
|
+
}
|
|
885
|
+
.eds-form-control-wrapper--error, .eds-form-control-wrapper--negative {
|
|
886
|
+
border-color: var(--components-form-baseform-standard-border-negative);
|
|
887
|
+
}
|
|
888
|
+
.eds-form-control-wrapper--error:focus-within, .eds-form-control-wrapper--negative:focus-within {
|
|
889
|
+
border-color: var(--components-form-baseform-standard-border-negative);
|
|
890
|
+
outline-color: var(--components-form-baseform-standard-border-negative);
|
|
891
|
+
}
|
|
892
|
+
.eds-contrast .eds-form-control-wrapper--error, .eds-contrast .eds-form-control-wrapper--negative {
|
|
893
|
+
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
894
|
+
}
|
|
895
|
+
.eds-contrast .eds-form-control-wrapper--error:focus-within, .eds-contrast .eds-form-control-wrapper--negative:focus-within {
|
|
896
|
+
border-color: var(--components-form-baseform-contrast-border-negative);
|
|
897
|
+
outline-color: var(--components-form-baseform-contrast-border-negative);
|
|
898
|
+
}
|
|
899
|
+
.eds-contrast .eds-form-control .eds-tooltip {
|
|
900
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
901
|
+
color: var(--components-tooltip-tooltip-standard-text);
|
|
902
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
903
|
+
}
|
|
904
|
+
.eds-form-control .eds-tooltip::after {
|
|
905
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
.eds-form-control {
|
|
909
|
+
display: block;
|
|
910
|
+
-webkit-appearance: none;
|
|
911
|
+
-moz-appearance: none;
|
|
912
|
+
appearance: none;
|
|
913
|
+
width: 100%;
|
|
914
|
+
height: 100%;
|
|
915
|
+
padding: 20px 0rem 0.25rem;
|
|
916
|
+
font-family: inherit;
|
|
917
|
+
font-size: 1rem;
|
|
918
|
+
line-height: 1rem;
|
|
919
|
+
border: 0;
|
|
920
|
+
color: var(--components-form-baseform-standard-text-content);
|
|
921
|
+
background-color: transparent;
|
|
922
|
+
}
|
|
923
|
+
.eds-form-control::-moz-placeholder {
|
|
924
|
+
opacity: 0;
|
|
925
|
+
-moz-transition: opacity 0.2s ease-in-out;
|
|
926
|
+
transition: opacity 0.2s ease-in-out;
|
|
927
|
+
}
|
|
928
|
+
.eds-form-control::placeholder {
|
|
929
|
+
opacity: 0;
|
|
930
|
+
transition: opacity 0.2s ease-in-out;
|
|
931
|
+
}
|
|
932
|
+
.eds-form-control:focus {
|
|
933
|
+
outline: none;
|
|
934
|
+
}
|
|
935
|
+
.eds-form-control:focus::-moz-placeholder {
|
|
936
|
+
opacity: 1;
|
|
937
|
+
}
|
|
938
|
+
.eds-form-control:focus::placeholder {
|
|
939
|
+
opacity: 1;
|
|
940
|
+
}
|
|
941
|
+
.eds-form-control__prepend, .eds-form-control__append {
|
|
942
|
+
position: relative;
|
|
943
|
+
line-height: inherit;
|
|
944
|
+
}
|
|
945
|
+
.eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
|
|
946
|
+
all: unset;
|
|
947
|
+
position: absolute;
|
|
948
|
+
display: flex;
|
|
949
|
+
align-items: center;
|
|
950
|
+
justify-content: center;
|
|
951
|
+
height: 1.5rem;
|
|
952
|
+
width: 1.5rem;
|
|
953
|
+
right: -2rem;
|
|
954
|
+
border-radius: 100%;
|
|
955
|
+
color: var(--primary-text-color);
|
|
956
|
+
cursor: pointer;
|
|
957
|
+
}
|
|
958
|
+
.eds-form-control__prepend {
|
|
959
|
+
margin-right: 0.75rem;
|
|
960
|
+
margin-left: 0;
|
|
961
|
+
}
|
|
962
|
+
.eds-form-control__append {
|
|
963
|
+
margin-right: 0;
|
|
964
|
+
margin-left: 0.75rem;
|
|
965
|
+
}
|
|
966
|
+
/* DO NOT CHANGE!*/
|
|
967
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
968
968
|
.eds-input-panel:has(:focus-visible) .eds-input-panel__container {
|
|
969
969
|
outline: 2px solid #181c56;
|
|
970
970
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
@@ -1155,17 +1155,6 @@ input:disabled + .eds-input-panel__container {
|
|
|
1155
1155
|
}
|
|
1156
1156
|
/* DO NOT CHANGE!*/
|
|
1157
1157
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1158
|
-
.eds-segmented-control {
|
|
1159
|
-
margin-top: 0.25rem;
|
|
1160
|
-
display: flex;
|
|
1161
|
-
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1162
|
-
border-radius: 0.5rem;
|
|
1163
|
-
}
|
|
1164
|
-
.eds-contrast .eds-segmented-control {
|
|
1165
|
-
background: var(--components-form-segmentedcontrol-contrast-background);
|
|
1166
|
-
}
|
|
1167
|
-
/* DO NOT CHANGE!*/
|
|
1168
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1169
1158
|
.eds-segmented-choice {
|
|
1170
1159
|
display: block;
|
|
1171
1160
|
flex: 1 1 0px;
|
|
@@ -1248,6 +1237,17 @@ input:disabled + .eds-input-panel__container {
|
|
|
1248
1237
|
}
|
|
1249
1238
|
/* DO NOT CHANGE!*/
|
|
1250
1239
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1240
|
+
.eds-segmented-control {
|
|
1241
|
+
margin-top: 0.25rem;
|
|
1242
|
+
display: flex;
|
|
1243
|
+
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1244
|
+
border-radius: 0.5rem;
|
|
1245
|
+
}
|
|
1246
|
+
.eds-contrast .eds-segmented-control {
|
|
1247
|
+
background: var(--components-form-segmentedcontrol-contrast-background);
|
|
1248
|
+
}
|
|
1249
|
+
/* DO NOT CHANGE!*/
|
|
1250
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1251
1251
|
/* DO NOT CHANGE!*/
|
|
1252
1252
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1253
1253
|
/* DO NOT CHANGE!*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.3.2-beta.
|
|
3
|
+
"version": "8.3.2-beta.12",
|
|
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.
|
|
30
|
+
"@entur/button": "^3.3.13-beta.12",
|
|
31
31
|
"@entur/icons": "^8.0.0",
|
|
32
32
|
"@entur/tokens": "^3.19.1",
|
|
33
|
-
"@entur/tooltip": "^5.2.13-beta.
|
|
34
|
-
"@entur/typography": "^1.10.0-beta.
|
|
33
|
+
"@entur/tooltip": "^5.2.13-beta.12",
|
|
34
|
+
"@entur/typography": "^1.10.0-beta.12",
|
|
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": "
|
|
41
|
+
"gitHead": "2a01de420517ee321602ced4e534eada22e2a10c"
|
|
42
42
|
}
|