@entur/form 8.1.7 → 8.1.8-alpha.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 +87 -87
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
.eds-fieldset {
|
|
2
|
-
margin: 0;
|
|
3
|
-
padding: 0;
|
|
4
|
-
border: 0;
|
|
5
|
-
}
|
|
6
1
|
/* DO NOT CHANGE!*/
|
|
7
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
8
3
|
.eds-feedback-text {
|
|
@@ -76,6 +71,11 @@
|
|
|
76
71
|
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
77
72
|
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
78
73
|
}
|
|
74
|
+
.eds-fieldset {
|
|
75
|
+
margin: 0;
|
|
76
|
+
padding: 0;
|
|
77
|
+
border: 0;
|
|
78
|
+
}
|
|
79
79
|
/* DO NOT CHANGE!*/
|
|
80
80
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
81
81
|
.eds-checkbox__container {
|
|
@@ -543,88 +543,6 @@
|
|
|
543
543
|
}
|
|
544
544
|
/* DO NOT CHANGE!*/
|
|
545
545
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
546
|
-
.eds-form-component--radio__container {
|
|
547
|
-
display: flex;
|
|
548
|
-
justify-content: center;
|
|
549
|
-
align-items: center;
|
|
550
|
-
position: relative;
|
|
551
|
-
cursor: pointer;
|
|
552
|
-
height: 2rem;
|
|
553
|
-
width: -moz-fit-content;
|
|
554
|
-
width: fit-content;
|
|
555
|
-
-webkit-user-select: none;
|
|
556
|
-
-moz-user-select: none;
|
|
557
|
-
user-select: none;
|
|
558
|
-
}
|
|
559
|
-
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
560
|
-
background-color: var(--components-form-radio-standard-fill-hover);
|
|
561
|
-
}
|
|
562
|
-
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
563
|
-
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
564
|
-
}
|
|
565
|
-
.eds-form-component--radio__container input {
|
|
566
|
-
position: absolute;
|
|
567
|
-
opacity: 0;
|
|
568
|
-
cursor: pointer;
|
|
569
|
-
height: 0;
|
|
570
|
-
width: 0;
|
|
571
|
-
}
|
|
572
|
-
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
573
|
-
height: 0.625rem;
|
|
574
|
-
width: 0.625rem;
|
|
575
|
-
}
|
|
576
|
-
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
577
|
-
outline: 2px solid #181c56;
|
|
578
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
579
|
-
outline-offset: 0.125rem;
|
|
580
|
-
}
|
|
581
|
-
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
582
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
583
|
-
}
|
|
584
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
585
|
-
position: relative;
|
|
586
|
-
height: 1.25rem;
|
|
587
|
-
width: 1.25rem;
|
|
588
|
-
margin-right: 1rem;
|
|
589
|
-
background-color: var(--components-form-radio-standard-fill-default);
|
|
590
|
-
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
591
|
-
border-radius: 50%;
|
|
592
|
-
display: flex;
|
|
593
|
-
align-items: center;
|
|
594
|
-
justify-content: center;
|
|
595
|
-
}
|
|
596
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
597
|
-
background-color: var(--components-form-radio-contrast-fill-default);
|
|
598
|
-
border-color: var(--components-form-radio-contrast-border);
|
|
599
|
-
}
|
|
600
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
601
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
602
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
603
|
-
cursor: not-allowed;
|
|
604
|
-
}
|
|
605
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
606
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
607
|
-
}
|
|
608
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
609
|
-
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
610
|
-
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
611
|
-
}
|
|
612
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
613
|
-
color: var(--components-form-baseform-contrast-text-disabled);
|
|
614
|
-
}
|
|
615
|
-
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
616
|
-
display: block;
|
|
617
|
-
width: 0;
|
|
618
|
-
height: 0;
|
|
619
|
-
border-radius: 50%;
|
|
620
|
-
background-color: var(--components-form-radio-standard-fill-selected);
|
|
621
|
-
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
622
|
-
}
|
|
623
|
-
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
624
|
-
background-color: var(--components-form-radio-contrast-icon);
|
|
625
|
-
}
|
|
626
|
-
/* DO NOT CHANGE!*/
|
|
627
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
628
546
|
.eds-switch {
|
|
629
547
|
cursor: pointer;
|
|
630
548
|
-webkit-user-select: none;
|
|
@@ -744,6 +662,88 @@
|
|
|
744
662
|
}
|
|
745
663
|
/* DO NOT CHANGE!*/
|
|
746
664
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
665
|
+
.eds-form-component--radio__container {
|
|
666
|
+
display: flex;
|
|
667
|
+
justify-content: center;
|
|
668
|
+
align-items: center;
|
|
669
|
+
position: relative;
|
|
670
|
+
cursor: pointer;
|
|
671
|
+
height: 2rem;
|
|
672
|
+
width: -moz-fit-content;
|
|
673
|
+
width: fit-content;
|
|
674
|
+
-webkit-user-select: none;
|
|
675
|
+
-moz-user-select: none;
|
|
676
|
+
user-select: none;
|
|
677
|
+
}
|
|
678
|
+
.eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
679
|
+
background-color: var(--components-form-radio-standard-fill-hover);
|
|
680
|
+
}
|
|
681
|
+
.eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
|
|
682
|
+
background-color: var(--components-form-radio-contrast-fill-hover);
|
|
683
|
+
}
|
|
684
|
+
.eds-form-component--radio__container input {
|
|
685
|
+
position: absolute;
|
|
686
|
+
opacity: 0;
|
|
687
|
+
cursor: pointer;
|
|
688
|
+
height: 0;
|
|
689
|
+
width: 0;
|
|
690
|
+
}
|
|
691
|
+
.eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
692
|
+
height: 0.625rem;
|
|
693
|
+
width: 0.625rem;
|
|
694
|
+
}
|
|
695
|
+
.eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
696
|
+
outline: 2px solid #181c56;
|
|
697
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
698
|
+
outline-offset: 0.125rem;
|
|
699
|
+
}
|
|
700
|
+
.eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
|
|
701
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
702
|
+
}
|
|
703
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
704
|
+
position: relative;
|
|
705
|
+
height: 1.25rem;
|
|
706
|
+
width: 1.25rem;
|
|
707
|
+
margin-right: 1rem;
|
|
708
|
+
background-color: var(--components-form-radio-standard-fill-default);
|
|
709
|
+
border: 0.125rem solid var(--components-form-radio-standard-border);
|
|
710
|
+
border-radius: 50%;
|
|
711
|
+
display: flex;
|
|
712
|
+
align-items: center;
|
|
713
|
+
justify-content: center;
|
|
714
|
+
}
|
|
715
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
716
|
+
background-color: var(--components-form-radio-contrast-fill-default);
|
|
717
|
+
border-color: var(--components-form-radio-contrast-border);
|
|
718
|
+
}
|
|
719
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
720
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
721
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
722
|
+
cursor: not-allowed;
|
|
723
|
+
}
|
|
724
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
725
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
726
|
+
}
|
|
727
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
728
|
+
background: var(--components-form-baseform-contrast-fill-disabled);
|
|
729
|
+
border-color: var(--components-form-baseform-contrast-text-disabled);
|
|
730
|
+
}
|
|
731
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
732
|
+
color: var(--components-form-baseform-contrast-text-disabled);
|
|
733
|
+
}
|
|
734
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
735
|
+
display: block;
|
|
736
|
+
width: 0;
|
|
737
|
+
height: 0;
|
|
738
|
+
border-radius: 50%;
|
|
739
|
+
background-color: var(--components-form-radio-standard-fill-selected);
|
|
740
|
+
transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
|
|
741
|
+
}
|
|
742
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
743
|
+
background-color: var(--components-form-radio-contrast-icon);
|
|
744
|
+
}
|
|
745
|
+
/* DO NOT CHANGE!*/
|
|
746
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
747
747
|
.eds-input-panel[focus-within] .eds-input-panel__container {
|
|
748
748
|
outline: 2px solid #181c56;
|
|
749
749
|
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.1.
|
|
3
|
+
"version": "8.1.8-alpha.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/form.esm.js",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/icons": "^7.5.0",
|
|
31
31
|
"@entur/tokens": "^3.17.3",
|
|
32
|
-
"@entur/tooltip": "^5.1.
|
|
33
|
-
"@entur/typography": "^1.8.
|
|
34
|
-
"@entur/utils": "^0.
|
|
32
|
+
"@entur/tooltip": "^5.1.4-alpha.0",
|
|
33
|
+
"@entur/typography": "^1.8.50-alpha.0",
|
|
34
|
+
"@entur/utils": "^1.0.0-alpha.0",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "b653c119e54372ec210ed20aa99ded642f114c69"
|
|
38
38
|
}
|