@entur/form 7.1.7 → 7.1.8
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 +122 -122
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -340,76 +340,85 @@
|
|
|
340
340
|
}
|
|
341
341
|
/* DO NOT CHANGE!*/
|
|
342
342
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
343
|
-
.eds-
|
|
343
|
+
.eds-form-component--radio__container {
|
|
344
344
|
display: flex;
|
|
345
|
+
justify-content: center;
|
|
345
346
|
align-items: center;
|
|
346
|
-
margin-top: 0.25rem;
|
|
347
|
-
}
|
|
348
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
349
|
-
padding-left: calc(1rem + 0.125rem);
|
|
350
|
-
}
|
|
351
|
-
.eds-feedback-text__text {
|
|
352
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
353
|
-
}
|
|
354
|
-
.eds-contrast .eds-feedback-text__text {
|
|
355
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.eds-feedback-text__icon {
|
|
359
|
-
font-size: 1.5rem;
|
|
360
|
-
min-height: 1.5rem;
|
|
361
|
-
min-width: 1.5rem;
|
|
362
|
-
padding-right: 0.5rem;
|
|
363
347
|
position: relative;
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
348
|
+
cursor: pointer;
|
|
349
|
+
height: 2rem;
|
|
350
|
+
width: -moz-fit-content;
|
|
351
|
+
width: fit-content;
|
|
352
|
+
-webkit-user-select: none;
|
|
353
|
+
-moz-user-select: none;
|
|
354
|
+
user-select: none;
|
|
371
355
|
}
|
|
372
|
-
.eds-
|
|
373
|
-
color: var(--components-form-
|
|
356
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
357
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
374
358
|
}
|
|
375
|
-
.eds-contrast .eds-
|
|
376
|
-
|
|
359
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
360
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
377
361
|
}
|
|
378
|
-
.eds-
|
|
379
|
-
|
|
362
|
+
.eds-form-component--radio__container input {
|
|
363
|
+
position: absolute;
|
|
364
|
+
opacity: 0;
|
|
365
|
+
cursor: pointer;
|
|
366
|
+
height: 0;
|
|
367
|
+
width: 0;
|
|
380
368
|
}
|
|
381
|
-
.eds-
|
|
382
|
-
|
|
369
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
370
|
+
height: 0.625rem;
|
|
371
|
+
width: 0.625rem;
|
|
383
372
|
}
|
|
384
|
-
.eds-
|
|
385
|
-
|
|
373
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
374
|
+
outline: 2px solid #181c56;
|
|
375
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
376
|
+
outline-offset: 0.125rem;
|
|
386
377
|
}
|
|
387
|
-
.eds-contrast .eds-
|
|
388
|
-
|
|
378
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
379
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
389
380
|
}
|
|
390
|
-
.eds-
|
|
391
|
-
|
|
381
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
382
|
+
position: relative;
|
|
383
|
+
height: 1.25rem;
|
|
384
|
+
width: 1.25rem;
|
|
385
|
+
margin-right: 1rem;
|
|
386
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
387
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
388
|
+
border-radius: 50%;
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
justify-content: center;
|
|
392
392
|
}
|
|
393
|
-
.eds-
|
|
394
|
-
|
|
393
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
394
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
395
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
395
396
|
}
|
|
396
|
-
.eds-
|
|
397
|
-
|
|
397
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
398
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
399
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
400
|
+
cursor: not-allowed;
|
|
398
401
|
}
|
|
399
|
-
.eds-
|
|
400
|
-
|
|
402
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
403
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
401
404
|
}
|
|
402
|
-
.eds-
|
|
403
|
-
|
|
405
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
406
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
407
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
404
408
|
}
|
|
405
|
-
.eds-
|
|
406
|
-
|
|
409
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
410
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
407
411
|
}
|
|
408
|
-
.eds-
|
|
409
|
-
|
|
412
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
413
|
+
display: block;
|
|
414
|
+
width: 0;
|
|
415
|
+
height: 0;
|
|
416
|
+
border-radius: 50%;
|
|
417
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
418
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
410
419
|
}
|
|
411
|
-
.eds-contrast .eds-
|
|
412
|
-
|
|
420
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
421
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
413
422
|
}
|
|
414
423
|
.eds-fieldset {
|
|
415
424
|
margin: 0;
|
|
@@ -547,85 +556,76 @@
|
|
|
547
556
|
}
|
|
548
557
|
/* DO NOT CHANGE!*/
|
|
549
558
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
550
|
-
.eds-
|
|
559
|
+
.eds-feedback-text {
|
|
551
560
|
display: flex;
|
|
552
|
-
justify-content: center;
|
|
553
561
|
align-items: center;
|
|
562
|
+
margin-top: 0.25rem;
|
|
563
|
+
}
|
|
564
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
565
|
+
padding-left: calc(1rem + 0.125rem);
|
|
566
|
+
}
|
|
567
|
+
.eds-feedback-text__text {
|
|
568
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
569
|
+
}
|
|
570
|
+
.eds-contrast .eds-feedback-text__text {
|
|
571
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
.eds-feedback-text__icon {
|
|
575
|
+
font-size: 1.5rem;
|
|
576
|
+
min-height: 1.5rem;
|
|
577
|
+
min-width: 1.5rem;
|
|
578
|
+
padding-right: 0.5rem;
|
|
554
579
|
position: relative;
|
|
555
|
-
|
|
556
|
-
height: 2rem;
|
|
557
|
-
width: -moz-fit-content;
|
|
558
|
-
width: fit-content;
|
|
559
|
-
-webkit-user-select: none;
|
|
560
|
-
-moz-user-select: none;
|
|
561
|
-
user-select: none;
|
|
580
|
+
top: -0.1rem;
|
|
562
581
|
}
|
|
563
|
-
.eds-
|
|
564
|
-
|
|
582
|
+
.eds-feedback-text__icon--success {
|
|
583
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
565
584
|
}
|
|
566
|
-
.eds-
|
|
567
|
-
|
|
585
|
+
.eds-feedback-text__icon--success circle {
|
|
586
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
568
587
|
}
|
|
569
|
-
.eds-
|
|
570
|
-
|
|
571
|
-
opacity: 0;
|
|
572
|
-
cursor: pointer;
|
|
573
|
-
height: 0;
|
|
574
|
-
width: 0;
|
|
588
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
589
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
575
590
|
}
|
|
576
|
-
.eds-
|
|
577
|
-
|
|
578
|
-
width: 0.625rem;
|
|
591
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
592
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
579
593
|
}
|
|
580
|
-
.eds-
|
|
581
|
-
|
|
582
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
583
|
-
outline-offset: 0.125rem;
|
|
594
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
595
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
584
596
|
}
|
|
585
|
-
.eds-
|
|
586
|
-
|
|
597
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
598
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
587
599
|
}
|
|
588
|
-
.eds-
|
|
589
|
-
|
|
590
|
-
height: 1.25rem;
|
|
591
|
-
width: 1.25rem;
|
|
592
|
-
margin-right: 1rem;
|
|
593
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
594
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
595
|
-
border-radius: 50%;
|
|
596
|
-
display: flex;
|
|
597
|
-
align-items: center;
|
|
598
|
-
justify-content: center;
|
|
600
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
601
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
599
602
|
}
|
|
600
|
-
.eds-contrast .eds-
|
|
601
|
-
|
|
602
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
603
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
604
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
603
605
|
}
|
|
604
|
-
.eds-
|
|
605
|
-
|
|
606
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
607
|
-
cursor: not-allowed;
|
|
606
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
607
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
608
608
|
}
|
|
609
|
-
.eds-
|
|
610
|
-
|
|
609
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
610
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
611
611
|
}
|
|
612
|
-
.eds-contrast .eds-
|
|
613
|
-
|
|
614
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
612
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
613
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
615
614
|
}
|
|
616
|
-
.eds-
|
|
617
|
-
|
|
615
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
616
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
618
617
|
}
|
|
619
|
-
.eds-
|
|
620
|
-
|
|
621
|
-
width: 0;
|
|
622
|
-
height: 0;
|
|
623
|
-
border-radius: 50%;
|
|
624
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
625
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
618
|
+
.eds-feedback-text__icon--warning {
|
|
619
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
626
620
|
}
|
|
627
|
-
.eds-
|
|
628
|
-
|
|
621
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
622
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
623
|
+
}
|
|
624
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
625
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
626
|
+
}
|
|
627
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
628
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
629
629
|
}
|
|
630
630
|
/* DO NOT CHANGE!*/
|
|
631
631
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -748,13 +748,6 @@
|
|
|
748
748
|
}
|
|
749
749
|
/* DO NOT CHANGE!*/
|
|
750
750
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
751
|
-
textarea.eds-form-control.eds-textarea {
|
|
752
|
-
min-height: 7.75rem;
|
|
753
|
-
resize: vertical;
|
|
754
|
-
line-height: 1.5rem;
|
|
755
|
-
}
|
|
756
|
-
/* DO NOT CHANGE!*/
|
|
757
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
758
751
|
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
759
752
|
outline: 2px solid #181c56;
|
|
760
753
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
@@ -911,6 +904,13 @@ input:disabled + .eds-input-panel__container {
|
|
|
911
904
|
}
|
|
912
905
|
/* DO NOT CHANGE!*/
|
|
913
906
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
907
|
+
textarea.eds-form-control.eds-textarea {
|
|
908
|
+
min-height: 7.75rem;
|
|
909
|
+
resize: vertical;
|
|
910
|
+
line-height: 1.5rem;
|
|
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.8",
|
|
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.16.
|
|
30
|
+
"@entur/icons": "^6.16.2",
|
|
31
31
|
"@entur/tokens": "^3.15.0",
|
|
32
|
-
"@entur/tooltip": "^2.7.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
32
|
+
"@entur/tooltip": "^2.7.7",
|
|
33
|
+
"@entur/typography": "^1.8.36",
|
|
34
34
|
"@entur/utils": "^0.11.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "93e3d6a7a2abd4dd20e09b6b631591a4f1bd10d2"
|
|
38
38
|
}
|