@entur/form 8.2.0-beta.0 → 8.2.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 +242 -242
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -141,6 +141,248 @@
|
|
|
141
141
|
stroke-dashoffset: 0;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
+
.eds-fieldset {
|
|
145
|
+
margin: 0;
|
|
146
|
+
padding: 0;
|
|
147
|
+
border: 0;
|
|
148
|
+
}
|
|
149
|
+
/* DO NOT CHANGE!*/
|
|
150
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
151
|
+
.eds-form-component--radio__container {
|
|
152
|
+
display: flex;
|
|
153
|
+
justify-content: center;
|
|
154
|
+
align-items: center;
|
|
155
|
+
position: relative;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
height: 2rem;
|
|
158
|
+
width: -moz-fit-content;
|
|
159
|
+
width: fit-content;
|
|
160
|
+
-webkit-user-select: none;
|
|
161
|
+
-moz-user-select: none;
|
|
162
|
+
user-select: none;
|
|
163
|
+
}
|
|
164
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
165
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
166
|
+
}
|
|
167
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
168
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
169
|
+
}
|
|
170
|
+
.eds-form-component--radio__container input {
|
|
171
|
+
position: absolute;
|
|
172
|
+
opacity: 0;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
height: 0;
|
|
175
|
+
width: 0;
|
|
176
|
+
}
|
|
177
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
178
|
+
height: 0.625rem;
|
|
179
|
+
width: 0.625rem;
|
|
180
|
+
}
|
|
181
|
+
.eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
|
|
182
|
+
outline: 2px solid #181c56;
|
|
183
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
184
|
+
outline-offset: 0.125rem;
|
|
185
|
+
}
|
|
186
|
+
.eds-contrast .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
|
|
187
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
188
|
+
}
|
|
189
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
190
|
+
position: relative;
|
|
191
|
+
height: 1.25rem;
|
|
192
|
+
width: 1.25rem;
|
|
193
|
+
margin-right: 1rem;
|
|
194
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
195
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
196
|
+
border-radius: 50%;
|
|
197
|
+
display: flex;
|
|
198
|
+
align-items: center;
|
|
199
|
+
justify-content: center;
|
|
200
|
+
}
|
|
201
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
202
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
203
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
204
|
+
}
|
|
205
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
206
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
207
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
208
|
+
cursor: not-allowed;
|
|
209
|
+
}
|
|
210
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
211
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
212
|
+
}
|
|
213
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
214
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
215
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
216
|
+
}
|
|
217
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
218
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
219
|
+
}
|
|
220
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
221
|
+
display: block;
|
|
222
|
+
width: 0;
|
|
223
|
+
height: 0;
|
|
224
|
+
border-radius: 50%;
|
|
225
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
226
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
227
|
+
}
|
|
228
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
229
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
230
|
+
}
|
|
231
|
+
/* DO NOT CHANGE!*/
|
|
232
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
233
|
+
.eds-feedback-text {
|
|
234
|
+
display: flex;
|
|
235
|
+
align-items: center;
|
|
236
|
+
margin-top: 0.25rem;
|
|
237
|
+
}
|
|
238
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
239
|
+
padding-left: calc(1rem + 0.125rem);
|
|
240
|
+
}
|
|
241
|
+
.eds-feedback-text__text {
|
|
242
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
243
|
+
}
|
|
244
|
+
.eds-contrast .eds-feedback-text__text {
|
|
245
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.eds-feedback-text__icon {
|
|
249
|
+
font-size: 1.5rem;
|
|
250
|
+
min-height: 1.5rem;
|
|
251
|
+
min-width: 1.5rem;
|
|
252
|
+
padding-right: 0.5rem;
|
|
253
|
+
position: relative;
|
|
254
|
+
top: -0.1rem;
|
|
255
|
+
}
|
|
256
|
+
.eds-feedback-text__icon--success {
|
|
257
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
258
|
+
}
|
|
259
|
+
.eds-feedback-text__icon--success circle {
|
|
260
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
261
|
+
}
|
|
262
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
263
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
264
|
+
}
|
|
265
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
266
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
267
|
+
}
|
|
268
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
269
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
270
|
+
}
|
|
271
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
272
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
273
|
+
}
|
|
274
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
275
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
276
|
+
}
|
|
277
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
278
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
279
|
+
}
|
|
280
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
281
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
282
|
+
}
|
|
283
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
284
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
285
|
+
}
|
|
286
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
287
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
288
|
+
}
|
|
289
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
290
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
291
|
+
}
|
|
292
|
+
.eds-feedback-text__icon--warning {
|
|
293
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
294
|
+
}
|
|
295
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
296
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
297
|
+
}
|
|
298
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
299
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
300
|
+
}
|
|
301
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
302
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
303
|
+
}
|
|
304
|
+
/* DO NOT CHANGE!*/
|
|
305
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
306
|
+
.eds-input-group {
|
|
307
|
+
color: inherit;
|
|
308
|
+
display: block;
|
|
309
|
+
position: relative;
|
|
310
|
+
}
|
|
311
|
+
.eds-input-group__label {
|
|
312
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
313
|
+
display: flex;
|
|
314
|
+
font-size: 1rem;
|
|
315
|
+
position: absolute;
|
|
316
|
+
line-height: 1rem;
|
|
317
|
+
height: 3rem;
|
|
318
|
+
padding-left: 0;
|
|
319
|
+
top: 1rem;
|
|
320
|
+
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;
|
|
321
|
+
-webkit-user-select: none;
|
|
322
|
+
-moz-user-select: none;
|
|
323
|
+
user-select: none;
|
|
324
|
+
pointer-events: none;
|
|
325
|
+
}
|
|
326
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
327
|
+
top: 0.375rem;
|
|
328
|
+
font-size: 0.75rem;
|
|
329
|
+
line-height: 0.75rem;
|
|
330
|
+
height: 10px;
|
|
331
|
+
padding: 0;
|
|
332
|
+
}
|
|
333
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
334
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
335
|
+
background: var(--textarea-label-background);
|
|
336
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
337
|
+
}
|
|
338
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
339
|
+
top: 0.5rem;
|
|
340
|
+
font-size: 0.875rem;
|
|
341
|
+
line-height: 1rem;
|
|
342
|
+
padding: 0;
|
|
343
|
+
}
|
|
344
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
345
|
+
top: 0.75rem;
|
|
346
|
+
font-size: 1.5rem;
|
|
347
|
+
line-height: 2.25rem;
|
|
348
|
+
}
|
|
349
|
+
.eds-input-group__label--filled {
|
|
350
|
+
top: 0.375rem;
|
|
351
|
+
font-size: 0.75rem;
|
|
352
|
+
line-height: 0.75rem;
|
|
353
|
+
height: 10px;
|
|
354
|
+
padding: 0;
|
|
355
|
+
}
|
|
356
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
357
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
358
|
+
background: var(--textarea-label-background);
|
|
359
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
360
|
+
}
|
|
361
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
362
|
+
top: 0.5rem;
|
|
363
|
+
font-size: 0.875rem;
|
|
364
|
+
line-height: 1rem;
|
|
365
|
+
padding: 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
369
|
+
top: 0.375rem;
|
|
370
|
+
font-size: 0.75rem;
|
|
371
|
+
line-height: 0.75rem;
|
|
372
|
+
height: 10px;
|
|
373
|
+
padding: 0;
|
|
374
|
+
}
|
|
375
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
376
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
377
|
+
background: var(--textarea-label-background);
|
|
378
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
379
|
+
}
|
|
380
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
381
|
+
top: 0.5rem;
|
|
382
|
+
font-size: 0.875rem;
|
|
383
|
+
line-height: 1rem;
|
|
384
|
+
padding: 0;
|
|
385
|
+
}
|
|
144
386
|
/* DO NOT CHANGE!*/
|
|
145
387
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
146
388
|
.eds-form-control__field-and-feedback-text {
|
|
@@ -337,166 +579,6 @@
|
|
|
337
579
|
}
|
|
338
580
|
/* DO NOT CHANGE!*/
|
|
339
581
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
340
|
-
.eds-feedback-text {
|
|
341
|
-
display: flex;
|
|
342
|
-
align-items: center;
|
|
343
|
-
margin-top: 0.25rem;
|
|
344
|
-
}
|
|
345
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
346
|
-
padding-left: calc(1rem + 0.125rem);
|
|
347
|
-
}
|
|
348
|
-
.eds-feedback-text__text {
|
|
349
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
350
|
-
}
|
|
351
|
-
.eds-contrast .eds-feedback-text__text {
|
|
352
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
.eds-feedback-text__icon {
|
|
356
|
-
font-size: 1.5rem;
|
|
357
|
-
min-height: 1.5rem;
|
|
358
|
-
min-width: 1.5rem;
|
|
359
|
-
padding-right: 0.5rem;
|
|
360
|
-
position: relative;
|
|
361
|
-
top: -0.1rem;
|
|
362
|
-
}
|
|
363
|
-
.eds-feedback-text__icon--success {
|
|
364
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
365
|
-
}
|
|
366
|
-
.eds-feedback-text__icon--success circle {
|
|
367
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
368
|
-
}
|
|
369
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
370
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
371
|
-
}
|
|
372
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
373
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
374
|
-
}
|
|
375
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
376
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
377
|
-
}
|
|
378
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
379
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
380
|
-
}
|
|
381
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
382
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
383
|
-
}
|
|
384
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
385
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
386
|
-
}
|
|
387
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
388
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
389
|
-
}
|
|
390
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
391
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
392
|
-
}
|
|
393
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
394
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
395
|
-
}
|
|
396
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
397
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
398
|
-
}
|
|
399
|
-
.eds-feedback-text__icon--warning {
|
|
400
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
401
|
-
}
|
|
402
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
403
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
404
|
-
}
|
|
405
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
406
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
407
|
-
}
|
|
408
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
409
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
410
|
-
}
|
|
411
|
-
.eds-fieldset {
|
|
412
|
-
margin: 0;
|
|
413
|
-
padding: 0;
|
|
414
|
-
border: 0;
|
|
415
|
-
}
|
|
416
|
-
/* DO NOT CHANGE!*/
|
|
417
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
418
|
-
.eds-input-group {
|
|
419
|
-
color: inherit;
|
|
420
|
-
display: block;
|
|
421
|
-
position: relative;
|
|
422
|
-
}
|
|
423
|
-
.eds-input-group__label {
|
|
424
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
425
|
-
display: flex;
|
|
426
|
-
font-size: 1rem;
|
|
427
|
-
position: absolute;
|
|
428
|
-
line-height: 1rem;
|
|
429
|
-
height: 3rem;
|
|
430
|
-
padding-left: 0;
|
|
431
|
-
top: 1rem;
|
|
432
|
-
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;
|
|
433
|
-
-webkit-user-select: none;
|
|
434
|
-
-moz-user-select: none;
|
|
435
|
-
user-select: none;
|
|
436
|
-
pointer-events: none;
|
|
437
|
-
}
|
|
438
|
-
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
439
|
-
top: 0.375rem;
|
|
440
|
-
font-size: 0.75rem;
|
|
441
|
-
line-height: 0.75rem;
|
|
442
|
-
height: 10px;
|
|
443
|
-
padding: 0;
|
|
444
|
-
}
|
|
445
|
-
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
446
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
447
|
-
background: var(--textarea-label-background);
|
|
448
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
449
|
-
}
|
|
450
|
-
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
451
|
-
top: 0.5rem;
|
|
452
|
-
font-size: 0.875rem;
|
|
453
|
-
line-height: 1rem;
|
|
454
|
-
padding: 0;
|
|
455
|
-
}
|
|
456
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
457
|
-
top: 0.75rem;
|
|
458
|
-
font-size: 1.5rem;
|
|
459
|
-
line-height: 2.25rem;
|
|
460
|
-
}
|
|
461
|
-
.eds-input-group__label--filled {
|
|
462
|
-
top: 0.375rem;
|
|
463
|
-
font-size: 0.75rem;
|
|
464
|
-
line-height: 0.75rem;
|
|
465
|
-
height: 10px;
|
|
466
|
-
padding: 0;
|
|
467
|
-
}
|
|
468
|
-
.eds-textarea__label .eds-input-group__label--filled {
|
|
469
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
470
|
-
background: var(--textarea-label-background);
|
|
471
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
472
|
-
}
|
|
473
|
-
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
474
|
-
top: 0.5rem;
|
|
475
|
-
font-size: 0.875rem;
|
|
476
|
-
line-height: 1rem;
|
|
477
|
-
padding: 0;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
481
|
-
top: 0.375rem;
|
|
482
|
-
font-size: 0.75rem;
|
|
483
|
-
line-height: 0.75rem;
|
|
484
|
-
height: 10px;
|
|
485
|
-
padding: 0;
|
|
486
|
-
}
|
|
487
|
-
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
488
|
-
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
489
|
-
background: var(--textarea-label-background);
|
|
490
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
491
|
-
}
|
|
492
|
-
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
493
|
-
top: 0.5rem;
|
|
494
|
-
font-size: 0.875rem;
|
|
495
|
-
line-height: 1rem;
|
|
496
|
-
padding: 0;
|
|
497
|
-
}
|
|
498
|
-
/* DO NOT CHANGE!*/
|
|
499
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
500
582
|
/* DO NOT CHANGE!*/
|
|
501
583
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
502
584
|
/* DO NOT CHANGE!*/
|
|
@@ -780,88 +862,6 @@
|
|
|
780
862
|
}
|
|
781
863
|
/* DO NOT CHANGE!*/
|
|
782
864
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
783
|
-
.eds-form-component--radio__container {
|
|
784
|
-
display: flex;
|
|
785
|
-
justify-content: center;
|
|
786
|
-
align-items: center;
|
|
787
|
-
position: relative;
|
|
788
|
-
cursor: pointer;
|
|
789
|
-
height: 2rem;
|
|
790
|
-
width: -moz-fit-content;
|
|
791
|
-
width: fit-content;
|
|
792
|
-
-webkit-user-select: none;
|
|
793
|
-
-moz-user-select: none;
|
|
794
|
-
user-select: none;
|
|
795
|
-
}
|
|
796
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
797
|
-
background-color: var(--components-form-radio-standard-fill-hover);
|
|
798
|
-
}
|
|
799
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
800
|
-
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
801
|
-
}
|
|
802
|
-
.eds-form-component--radio__container input {
|
|
803
|
-
position: absolute;
|
|
804
|
-
opacity: 0;
|
|
805
|
-
cursor: pointer;
|
|
806
|
-
height: 0;
|
|
807
|
-
width: 0;
|
|
808
|
-
}
|
|
809
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
810
|
-
height: 0.625rem;
|
|
811
|
-
width: 0.625rem;
|
|
812
|
-
}
|
|
813
|
-
.eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
|
|
814
|
-
outline: 2px solid #181c56;
|
|
815
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
816
|
-
outline-offset: 0.125rem;
|
|
817
|
-
}
|
|
818
|
-
.eds-contrast .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
|
|
819
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
820
|
-
}
|
|
821
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
822
|
-
position: relative;
|
|
823
|
-
height: 1.25rem;
|
|
824
|
-
width: 1.25rem;
|
|
825
|
-
margin-right: 1rem;
|
|
826
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
827
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
828
|
-
border-radius: 50%;
|
|
829
|
-
display: flex;
|
|
830
|
-
align-items: center;
|
|
831
|
-
justify-content: center;
|
|
832
|
-
}
|
|
833
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
834
|
-
background-color: var(--components-form-radio-contrast-fill-default);
|
|
835
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
836
|
-
}
|
|
837
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
838
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
839
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
840
|
-
cursor: not-allowed;
|
|
841
|
-
}
|
|
842
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
843
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
844
|
-
}
|
|
845
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
846
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
847
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
848
|
-
}
|
|
849
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
850
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
851
|
-
}
|
|
852
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
853
|
-
display: block;
|
|
854
|
-
width: 0;
|
|
855
|
-
height: 0;
|
|
856
|
-
border-radius: 50%;
|
|
857
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
858
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
859
|
-
}
|
|
860
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
861
|
-
background-color: var(--components-form-radio-contrast-icon);
|
|
862
|
-
}
|
|
863
|
-
/* DO NOT CHANGE!*/
|
|
864
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
865
865
|
.eds-input-panel:has(:focus-visible) .eds-input-panel__container {
|
|
866
866
|
outline: 2px solid #181c56;
|
|
867
867
|
outline-color: var(--basecolors-stroke-focus-standard);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "8.2.0
|
|
3
|
+
"version": "8.2.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.0
|
|
30
|
+
"@entur/button": "^3.3.0",
|
|
31
31
|
"@entur/icons": "^7.6.0",
|
|
32
32
|
"@entur/tokens": "^3.17.5",
|
|
33
|
-
"@entur/tooltip": "^5.2.0
|
|
34
|
-
"@entur/typography": "^1.9.0
|
|
33
|
+
"@entur/tooltip": "^5.2.0",
|
|
34
|
+
"@entur/typography": "^1.9.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": "2a0e12f4ccbc65c2c8a115690b4895ff01ee7f06"
|
|
42
42
|
}
|