@entur/form 7.1.9 → 7.1.10-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 +282 -282
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -155,132 +155,76 @@
|
|
|
155
155
|
}
|
|
156
156
|
/* DO NOT CHANGE!*/
|
|
157
157
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
158
|
-
.eds-
|
|
159
|
-
color: inherit;
|
|
160
|
-
display: block;
|
|
161
|
-
position: relative;
|
|
162
|
-
}
|
|
163
|
-
.eds-input-group__label {
|
|
164
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
158
|
+
.eds-feedback-text {
|
|
165
159
|
display: flex;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
line-height: 1rem;
|
|
169
|
-
height: 3rem;
|
|
170
|
-
padding: 1rem;
|
|
171
|
-
padding-left: 0;
|
|
172
|
-
margin-left: 1rem;
|
|
173
|
-
top: -0.125rem;
|
|
174
|
-
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;
|
|
175
|
-
-webkit-user-select: none;
|
|
176
|
-
-moz-user-select: none;
|
|
177
|
-
user-select: none;
|
|
178
|
-
pointer-events: none;
|
|
160
|
+
align-items: center;
|
|
161
|
+
margin-top: 0.25rem;
|
|
179
162
|
}
|
|
180
|
-
.eds-
|
|
181
|
-
|
|
182
|
-
font-size: 0.75rem;
|
|
183
|
-
line-height: 0.75rem;
|
|
184
|
-
height: 10px;
|
|
185
|
-
padding: 0;
|
|
186
|
-
margin-left: 1rem;
|
|
163
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
164
|
+
padding-left: calc(1rem + 0.125rem);
|
|
187
165
|
}
|
|
188
|
-
.eds-
|
|
189
|
-
|
|
190
|
-
background: var(--textarea-label-background);
|
|
191
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
166
|
+
.eds-feedback-text__text {
|
|
167
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
192
168
|
}
|
|
193
|
-
.eds-
|
|
194
|
-
|
|
195
|
-
font-size: 0.875rem;
|
|
196
|
-
line-height: 1rem;
|
|
197
|
-
padding: 0;
|
|
198
|
-
margin-left: 1rem;
|
|
169
|
+
.eds-contrast .eds-feedback-text__text {
|
|
170
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
199
171
|
}
|
|
200
|
-
|
|
172
|
+
|
|
173
|
+
.eds-feedback-text__icon {
|
|
201
174
|
font-size: 1.5rem;
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
175
|
+
min-height: 1.5rem;
|
|
176
|
+
min-width: 1.5rem;
|
|
177
|
+
padding-right: 0.5rem;
|
|
178
|
+
position: relative;
|
|
179
|
+
top: -0.1rem;
|
|
205
180
|
}
|
|
206
|
-
.eds-
|
|
207
|
-
|
|
208
|
-
font-size: 0.75rem;
|
|
209
|
-
line-height: 0.75rem;
|
|
210
|
-
height: 10px;
|
|
211
|
-
padding: 0;
|
|
212
|
-
margin-left: 1rem;
|
|
181
|
+
.eds-feedback-text__icon--success {
|
|
182
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
213
183
|
}
|
|
214
|
-
.eds-
|
|
215
|
-
|
|
216
|
-
background: var(--textarea-label-background);
|
|
217
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
184
|
+
.eds-feedback-text__icon--success circle {
|
|
185
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
218
186
|
}
|
|
219
|
-
.eds-
|
|
220
|
-
|
|
221
|
-
font-size: 0.875rem;
|
|
222
|
-
line-height: 1rem;
|
|
223
|
-
padding: 0;
|
|
224
|
-
margin-left: 1rem;
|
|
187
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
188
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
225
189
|
}
|
|
226
|
-
.eds-
|
|
227
|
-
|
|
228
|
-
padding-left: 0.25rem;
|
|
229
|
-
padding-right: 0.25rem;
|
|
230
|
-
display: flex;
|
|
231
|
-
align-items: center;
|
|
232
|
-
cursor: help;
|
|
233
|
-
font-size: 1rem;
|
|
190
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
191
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
234
192
|
}
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
top: 0.375rem;
|
|
238
|
-
font-size: 0.75rem;
|
|
239
|
-
line-height: 0.75rem;
|
|
240
|
-
height: 10px;
|
|
241
|
-
padding: 0;
|
|
242
|
-
margin-left: 1rem;
|
|
193
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
194
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
243
195
|
}
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
top: 0.375rem;
|
|
247
|
-
font-size: 0.75rem;
|
|
248
|
-
line-height: 0.75rem;
|
|
249
|
-
height: 10px;
|
|
250
|
-
padding: 0;
|
|
251
|
-
margin-left: 1rem;
|
|
196
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
197
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
252
198
|
}
|
|
253
|
-
.eds-
|
|
254
|
-
|
|
255
|
-
background: var(--textarea-label-background);
|
|
256
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
199
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
200
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
257
201
|
}
|
|
258
|
-
.eds-
|
|
259
|
-
|
|
260
|
-
background: var(--textarea-label-background);
|
|
261
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
202
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
203
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
262
204
|
}
|
|
263
|
-
.eds-
|
|
264
|
-
|
|
265
|
-
font-size: 0.875rem;
|
|
266
|
-
line-height: 1rem;
|
|
267
|
-
padding: 0;
|
|
268
|
-
margin-left: 1rem;
|
|
205
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
206
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
269
207
|
}
|
|
270
|
-
.eds-
|
|
271
|
-
|
|
272
|
-
font-size: 0.875rem;
|
|
273
|
-
line-height: 1rem;
|
|
274
|
-
padding: 0;
|
|
275
|
-
margin-left: 1rem;
|
|
208
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
209
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
276
210
|
}
|
|
277
|
-
.eds-contrast .eds-
|
|
278
|
-
|
|
279
|
-
color: var(--components-tooltip-tooltip-standard-text);
|
|
280
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
211
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
212
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
281
213
|
}
|
|
282
|
-
.eds-
|
|
283
|
-
|
|
214
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
215
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
216
|
+
}
|
|
217
|
+
.eds-feedback-text__icon--warning {
|
|
218
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
219
|
+
}
|
|
220
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
221
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
222
|
+
}
|
|
223
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
224
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
225
|
+
}
|
|
226
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
227
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
284
228
|
}
|
|
285
229
|
/* DO NOT CHANGE!*/
|
|
286
230
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -469,88 +413,6 @@
|
|
|
469
413
|
}
|
|
470
414
|
/* DO NOT CHANGE!*/
|
|
471
415
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
472
|
-
.eds-form-component--radio__container {
|
|
473
|
-
display: flex;
|
|
474
|
-
justify-content: center;
|
|
475
|
-
align-items: center;
|
|
476
|
-
position: relative;
|
|
477
|
-
cursor: pointer;
|
|
478
|
-
height: 2rem;
|
|
479
|
-
width: -moz-fit-content;
|
|
480
|
-
width: fit-content;
|
|
481
|
-
-webkit-user-select: none;
|
|
482
|
-
-moz-user-select: none;
|
|
483
|
-
user-select: none;
|
|
484
|
-
}
|
|
485
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
486
|
-
background-color: var(--components-form-radio-standard-fill-hover);
|
|
487
|
-
}
|
|
488
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
489
|
-
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
490
|
-
}
|
|
491
|
-
.eds-form-component--radio__container input {
|
|
492
|
-
position: absolute;
|
|
493
|
-
opacity: 0;
|
|
494
|
-
cursor: pointer;
|
|
495
|
-
height: 0;
|
|
496
|
-
width: 0;
|
|
497
|
-
}
|
|
498
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
499
|
-
height: 0.625rem;
|
|
500
|
-
width: 0.625rem;
|
|
501
|
-
}
|
|
502
|
-
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
503
|
-
outline: 2px solid #181c56;
|
|
504
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
505
|
-
outline-offset: 0.125rem;
|
|
506
|
-
}
|
|
507
|
-
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
508
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
509
|
-
}
|
|
510
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
511
|
-
position: relative;
|
|
512
|
-
height: 1.25rem;
|
|
513
|
-
width: 1.25rem;
|
|
514
|
-
margin-right: 1rem;
|
|
515
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
516
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
517
|
-
border-radius: 50%;
|
|
518
|
-
display: flex;
|
|
519
|
-
align-items: center;
|
|
520
|
-
justify-content: center;
|
|
521
|
-
}
|
|
522
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
523
|
-
background-color: var(--components-form-radio-contrast-fill-default);
|
|
524
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
525
|
-
}
|
|
526
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
527
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
528
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
529
|
-
cursor: not-allowed;
|
|
530
|
-
}
|
|
531
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
532
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
533
|
-
}
|
|
534
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
535
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
536
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
537
|
-
}
|
|
538
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
539
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
540
|
-
}
|
|
541
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
542
|
-
display: block;
|
|
543
|
-
width: 0;
|
|
544
|
-
height: 0;
|
|
545
|
-
border-radius: 50%;
|
|
546
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
547
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
548
|
-
}
|
|
549
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
550
|
-
background-color: var(--components-form-radio-contrast-icon);
|
|
551
|
-
}
|
|
552
|
-
/* DO NOT CHANGE!*/
|
|
553
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
554
416
|
.eds-switch {
|
|
555
417
|
cursor: pointer;
|
|
556
418
|
-webkit-user-select: none;
|
|
@@ -670,20 +532,236 @@
|
|
|
670
532
|
}
|
|
671
533
|
/* DO NOT CHANGE!*/
|
|
672
534
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
535
|
+
.eds-form-component--radio__container {
|
|
536
|
+
display: flex;
|
|
537
|
+
justify-content: center;
|
|
538
|
+
align-items: center;
|
|
539
|
+
position: relative;
|
|
540
|
+
cursor: pointer;
|
|
541
|
+
height: 2rem;
|
|
542
|
+
width: -moz-fit-content;
|
|
543
|
+
width: fit-content;
|
|
544
|
+
-webkit-user-select: none;
|
|
545
|
+
-moz-user-select: none;
|
|
546
|
+
user-select: none;
|
|
547
|
+
}
|
|
548
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
549
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
550
|
+
}
|
|
551
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
552
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
553
|
+
}
|
|
554
|
+
.eds-form-component--radio__container input {
|
|
555
|
+
position: absolute;
|
|
556
|
+
opacity: 0;
|
|
557
|
+
cursor: pointer;
|
|
558
|
+
height: 0;
|
|
559
|
+
width: 0;
|
|
560
|
+
}
|
|
561
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
562
|
+
height: 0.625rem;
|
|
563
|
+
width: 0.625rem;
|
|
564
|
+
}
|
|
565
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
566
|
+
outline: 2px solid #181c56;
|
|
567
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
568
|
+
outline-offset: 0.125rem;
|
|
569
|
+
}
|
|
570
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
571
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
572
|
+
}
|
|
573
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
574
|
+
position: relative;
|
|
575
|
+
height: 1.25rem;
|
|
576
|
+
width: 1.25rem;
|
|
577
|
+
margin-right: 1rem;
|
|
578
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
579
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
580
|
+
border-radius: 50%;
|
|
581
|
+
display: flex;
|
|
582
|
+
align-items: center;
|
|
583
|
+
justify-content: center;
|
|
584
|
+
}
|
|
585
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
586
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
587
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
588
|
+
}
|
|
589
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
590
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
591
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
592
|
+
cursor: not-allowed;
|
|
593
|
+
}
|
|
594
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
595
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
596
|
+
}
|
|
597
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
598
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
599
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
600
|
+
}
|
|
601
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
602
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
603
|
+
}
|
|
604
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
605
|
+
display: block;
|
|
606
|
+
width: 0;
|
|
607
|
+
height: 0;
|
|
608
|
+
border-radius: 50%;
|
|
609
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
610
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
611
|
+
}
|
|
612
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
613
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
614
|
+
}
|
|
615
|
+
/* DO NOT CHANGE!*/
|
|
616
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
617
|
+
.eds-input-group {
|
|
618
|
+
color: inherit;
|
|
619
|
+
display: block;
|
|
620
|
+
position: relative;
|
|
621
|
+
}
|
|
622
|
+
.eds-input-group__label {
|
|
623
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
624
|
+
display: flex;
|
|
625
|
+
font-size: 1rem;
|
|
626
|
+
position: absolute;
|
|
627
|
+
line-height: 1rem;
|
|
628
|
+
height: 3rem;
|
|
629
|
+
padding: 1rem;
|
|
630
|
+
padding-left: 0;
|
|
631
|
+
margin-left: 1rem;
|
|
632
|
+
top: -0.125rem;
|
|
633
|
+
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;
|
|
634
|
+
-webkit-user-select: none;
|
|
635
|
+
-moz-user-select: none;
|
|
636
|
+
user-select: none;
|
|
637
|
+
pointer-events: none;
|
|
638
|
+
}
|
|
639
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
640
|
+
top: 0.375rem;
|
|
641
|
+
font-size: 0.75rem;
|
|
642
|
+
line-height: 0.75rem;
|
|
643
|
+
height: 10px;
|
|
644
|
+
padding: 0;
|
|
645
|
+
margin-left: 1rem;
|
|
646
|
+
}
|
|
647
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
648
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
649
|
+
background: var(--textarea-label-background);
|
|
650
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
651
|
+
}
|
|
652
|
+
.eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
653
|
+
top: 0.5rem;
|
|
654
|
+
font-size: 0.875rem;
|
|
655
|
+
line-height: 1rem;
|
|
656
|
+
padding: 0;
|
|
657
|
+
margin-left: 1rem;
|
|
658
|
+
}
|
|
659
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
660
|
+
font-size: 1.5rem;
|
|
661
|
+
line-height: 2.25rem;
|
|
662
|
+
height: 4rem;
|
|
663
|
+
top: -0.25rem;
|
|
664
|
+
}
|
|
665
|
+
.eds-input-group__label--filled {
|
|
666
|
+
top: 0.375rem;
|
|
667
|
+
font-size: 0.75rem;
|
|
668
|
+
line-height: 0.75rem;
|
|
669
|
+
height: 10px;
|
|
670
|
+
padding: 0;
|
|
671
|
+
margin-left: 1rem;
|
|
672
|
+
}
|
|
673
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
674
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
675
|
+
background: var(--textarea-label-background);
|
|
676
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
677
|
+
}
|
|
678
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
679
|
+
top: 0.5rem;
|
|
680
|
+
font-size: 0.875rem;
|
|
681
|
+
line-height: 1rem;
|
|
682
|
+
padding: 0;
|
|
683
|
+
margin-left: 1rem;
|
|
684
|
+
}
|
|
685
|
+
.eds-input-group__label-tooltip-icon {
|
|
686
|
+
color: var(--base-colors-shape-accent);
|
|
687
|
+
padding-left: 0.25rem;
|
|
688
|
+
padding-right: 0.25rem;
|
|
689
|
+
display: flex;
|
|
690
|
+
align-items: center;
|
|
691
|
+
cursor: help;
|
|
692
|
+
font-size: 1rem;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
696
|
+
top: 0.375rem;
|
|
697
|
+
font-size: 0.75rem;
|
|
698
|
+
line-height: 0.75rem;
|
|
699
|
+
height: 10px;
|
|
700
|
+
padding: 0;
|
|
701
|
+
margin-left: 1rem;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
705
|
+
top: 0.375rem;
|
|
706
|
+
font-size: 0.75rem;
|
|
707
|
+
line-height: 0.75rem;
|
|
708
|
+
height: 10px;
|
|
709
|
+
padding: 0;
|
|
710
|
+
margin-left: 1rem;
|
|
711
|
+
}
|
|
712
|
+
.eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
|
|
713
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
714
|
+
background: var(--textarea-label-background);
|
|
715
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
716
|
+
}
|
|
717
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
718
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
719
|
+
background: var(--textarea-label-background);
|
|
720
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
721
|
+
}
|
|
722
|
+
.eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
|
|
723
|
+
top: 0.5rem;
|
|
724
|
+
font-size: 0.875rem;
|
|
725
|
+
line-height: 1rem;
|
|
726
|
+
padding: 0;
|
|
727
|
+
margin-left: 1rem;
|
|
728
|
+
}
|
|
729
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
730
|
+
top: 0.5rem;
|
|
731
|
+
font-size: 0.875rem;
|
|
732
|
+
line-height: 1rem;
|
|
733
|
+
padding: 0;
|
|
734
|
+
margin-left: 1rem;
|
|
735
|
+
}
|
|
736
|
+
.eds-contrast .eds-form-control-wrapper .eds-tooltip {
|
|
737
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
738
|
+
color: var(--components-tooltip-tooltip-standard-text);
|
|
739
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
740
|
+
}
|
|
741
|
+
.eds-form-control-wrapper .eds-tooltip::after {
|
|
742
|
+
background: var(--components-tooltip-tooltip-standard-fill);
|
|
743
|
+
}
|
|
744
|
+
/* DO NOT CHANGE!*/
|
|
745
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
746
|
+
textarea.eds-form-control.eds-textarea {
|
|
747
|
+
min-height: 7.75rem;
|
|
748
|
+
resize: vertical;
|
|
749
|
+
line-height: 1.5rem;
|
|
750
|
+
}
|
|
751
|
+
.eds-fieldset {
|
|
752
|
+
margin: 0;
|
|
753
|
+
padding: 0;
|
|
754
|
+
border: 0;
|
|
755
|
+
}
|
|
756
|
+
/* DO NOT CHANGE!*/
|
|
757
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
758
|
+
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
759
|
+
outline: 2px solid #181c56;
|
|
760
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
761
|
+
outline-offset: 0.125rem;
|
|
762
|
+
}
|
|
763
|
+
.eds-input-panel:focus-within .eds-input-panel__container {
|
|
764
|
+
outline: 2px solid #181c56;
|
|
687
765
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
688
766
|
outline-offset: 0.125rem;
|
|
689
767
|
}
|
|
@@ -833,84 +911,6 @@ input:disabled + .eds-input-panel__container {
|
|
|
833
911
|
}
|
|
834
912
|
/* DO NOT CHANGE!*/
|
|
835
913
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
836
|
-
.eds-feedback-text {
|
|
837
|
-
display: flex;
|
|
838
|
-
align-items: center;
|
|
839
|
-
margin-top: 0.25rem;
|
|
840
|
-
}
|
|
841
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
842
|
-
padding-left: calc(1rem + 0.125rem);
|
|
843
|
-
}
|
|
844
|
-
.eds-feedback-text__text {
|
|
845
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
846
|
-
}
|
|
847
|
-
.eds-contrast .eds-feedback-text__text {
|
|
848
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
.eds-feedback-text__icon {
|
|
852
|
-
font-size: 1.5rem;
|
|
853
|
-
min-height: 1.5rem;
|
|
854
|
-
min-width: 1.5rem;
|
|
855
|
-
padding-right: 0.5rem;
|
|
856
|
-
position: relative;
|
|
857
|
-
top: -0.1rem;
|
|
858
|
-
}
|
|
859
|
-
.eds-feedback-text__icon--success {
|
|
860
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
861
|
-
}
|
|
862
|
-
.eds-feedback-text__icon--success circle {
|
|
863
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
864
|
-
}
|
|
865
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
866
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
867
|
-
}
|
|
868
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
869
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
870
|
-
}
|
|
871
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
872
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
873
|
-
}
|
|
874
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
875
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
876
|
-
}
|
|
877
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
878
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
879
|
-
}
|
|
880
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
881
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
882
|
-
}
|
|
883
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
884
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
885
|
-
}
|
|
886
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
887
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
888
|
-
}
|
|
889
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
890
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
891
|
-
}
|
|
892
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
893
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
894
|
-
}
|
|
895
|
-
.eds-feedback-text__icon--warning {
|
|
896
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
897
|
-
}
|
|
898
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
899
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
900
|
-
}
|
|
901
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
902
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
903
|
-
}
|
|
904
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
905
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
906
|
-
}
|
|
907
|
-
.eds-fieldset {
|
|
908
|
-
margin: 0;
|
|
909
|
-
padding: 0;
|
|
910
|
-
border: 0;
|
|
911
|
-
}
|
|
912
|
-
/* DO NOT CHANGE!*/
|
|
913
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
914
914
|
.eds-textfield__clear-button {
|
|
915
915
|
background: none;
|
|
916
916
|
border: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/form",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.10-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^6.17.0",
|
|
30
|
+
"@entur/icons": "^6.17.1-beta.0",
|
|
31
31
|
"@entur/tokens": "^3.15.0",
|
|
32
|
-
"@entur/tooltip": "^2.7.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
32
|
+
"@entur/tooltip": "^2.7.9-beta.0",
|
|
33
|
+
"@entur/typography": "^1.8.38-beta.0",
|
|
34
34
|
"@entur/utils": "^0.11.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "09c8ecf6671f83dbfae93ab10f77537888222f70"
|
|
38
38
|
}
|