@entur/menu 4.2.33-beta.0 → 4.2.33
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 +125 -125
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -647,6 +647,131 @@
|
|
|
647
647
|
}
|
|
648
648
|
/* DO NOT CHANGE!*/
|
|
649
649
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
650
|
+
.eds-stepper {
|
|
651
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
652
|
+
--line-color: var(--components-menu-stepper-standard-background);
|
|
653
|
+
--label-font-weight: 500;
|
|
654
|
+
--display-active-line: none;
|
|
655
|
+
display: flex;
|
|
656
|
+
flex-direction: row;
|
|
657
|
+
width: 100%;
|
|
658
|
+
list-style-type: none;
|
|
659
|
+
}
|
|
660
|
+
.eds-stepper__step {
|
|
661
|
+
display: flex;
|
|
662
|
+
flex-grow: 1;
|
|
663
|
+
flex-basis: 0;
|
|
664
|
+
flex-direction: column;
|
|
665
|
+
align-items: inherit;
|
|
666
|
+
-webkit-appearance: none;
|
|
667
|
+
-moz-appearance: none;
|
|
668
|
+
appearance: none;
|
|
669
|
+
background: none;
|
|
670
|
+
border: none;
|
|
671
|
+
font-family: inherit;
|
|
672
|
+
text-transform: none;
|
|
673
|
+
}
|
|
674
|
+
.eds-stepper__step__wrapper {
|
|
675
|
+
flex-grow: 1;
|
|
676
|
+
}
|
|
677
|
+
.eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
678
|
+
outline-offset: 0.125rem;
|
|
679
|
+
outline: 2px solid #181c56;
|
|
680
|
+
}
|
|
681
|
+
.eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
682
|
+
outline-offset: 0.125rem;
|
|
683
|
+
outline: 2px solid #181c56;
|
|
684
|
+
}
|
|
685
|
+
.eds-contrast .eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
686
|
+
outline: 2px solid #ffffff;
|
|
687
|
+
}
|
|
688
|
+
.eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
689
|
+
outline: 2px solid #ffffff;
|
|
690
|
+
}
|
|
691
|
+
.eds-contrast .eds-stepper__step {
|
|
692
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
693
|
+
--line-color: var(--components-menu-stepper-contrast-background);
|
|
694
|
+
}
|
|
695
|
+
.eds-stepper__step--interactive {
|
|
696
|
+
all: unset;
|
|
697
|
+
display: flex;
|
|
698
|
+
flex-direction: column;
|
|
699
|
+
width: 100%;
|
|
700
|
+
cursor: pointer;
|
|
701
|
+
}
|
|
702
|
+
.eds-stepper__step--active {
|
|
703
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
704
|
+
--label-font-weight: 600;
|
|
705
|
+
--display-active-line: block;
|
|
706
|
+
}
|
|
707
|
+
.eds-contrast .eds-stepper__step--active {
|
|
708
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
709
|
+
}
|
|
710
|
+
.eds-stepper__step--completed {
|
|
711
|
+
--text-color: var(--components-menu-stepper-standard-text-completed);
|
|
712
|
+
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
713
|
+
}
|
|
714
|
+
.eds-contrast .eds-stepper__step--completed {
|
|
715
|
+
--text-color: var(--components-menu-stepper-contrast-text-completed);
|
|
716
|
+
--line-color: var(--components-menu-stepper-contrast-progressbar);
|
|
717
|
+
}
|
|
718
|
+
.eds-stepper__step__label {
|
|
719
|
+
flex-grow: 1;
|
|
720
|
+
flex-direction: column;
|
|
721
|
+
align-self: center;
|
|
722
|
+
text-align: center;
|
|
723
|
+
font-size: 0.875rem;
|
|
724
|
+
margin: 0.5rem 0 0;
|
|
725
|
+
padding: 0 0.5rem;
|
|
726
|
+
width: -moz-fit-content;
|
|
727
|
+
width: fit-content;
|
|
728
|
+
border-radius: 0.0625rem;
|
|
729
|
+
color: var(--text-color);
|
|
730
|
+
font-weight: var(--label-font-weight);
|
|
731
|
+
}
|
|
732
|
+
.eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
733
|
+
background-color: var(--components-menu-stepper-standard-background);
|
|
734
|
+
color: var(--components-menu-stepper-standard-text-completed);
|
|
735
|
+
}
|
|
736
|
+
.eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
737
|
+
background-color: var(--components-menu-stepper-contrast-background);
|
|
738
|
+
color: var(--components-menu-stepper-contrast-text-completed);
|
|
739
|
+
}
|
|
740
|
+
.eds-stepper__step__line {
|
|
741
|
+
height: 0.5rem;
|
|
742
|
+
background: var(--line-color);
|
|
743
|
+
position: relative;
|
|
744
|
+
}
|
|
745
|
+
.eds-stepper__step__line:before {
|
|
746
|
+
display: var(--display-active-line);
|
|
747
|
+
content: "";
|
|
748
|
+
position: absolute;
|
|
749
|
+
right: calc(50% - 0.2rem);
|
|
750
|
+
bottom: 0.0625rem;
|
|
751
|
+
border-radius: 0.0625rem;
|
|
752
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
753
|
+
width: calc(0.5rem - 0.125rem - 0.01rem);
|
|
754
|
+
height: calc(0.5rem - 0.125rem - 0.01rem);
|
|
755
|
+
transform: rotate(45deg);
|
|
756
|
+
}
|
|
757
|
+
.eds-contrast .eds-stepper__step__line:before {
|
|
758
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
759
|
+
}
|
|
760
|
+
.eds-stepper__step__line:after {
|
|
761
|
+
display: var(--display-active-line);
|
|
762
|
+
content: "";
|
|
763
|
+
position: absolute;
|
|
764
|
+
left: 0;
|
|
765
|
+
bottom: 0;
|
|
766
|
+
width: 50%;
|
|
767
|
+
height: 0.5rem;
|
|
768
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
769
|
+
}
|
|
770
|
+
.eds-contrast .eds-stepper__step__line:after {
|
|
771
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
772
|
+
}
|
|
773
|
+
/* DO NOT CHANGE!*/
|
|
774
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
650
775
|
/* DO NOT CHANGE!*/
|
|
651
776
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
652
777
|
/* DO NOT CHANGE!*/
|
|
@@ -983,128 +1108,3 @@
|
|
|
983
1108
|
--eds-menu: 1;
|
|
984
1109
|
--reach-menu-button: 1;
|
|
985
1110
|
}
|
|
986
|
-
/* DO NOT CHANGE!*/
|
|
987
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
988
|
-
.eds-stepper {
|
|
989
|
-
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
990
|
-
--line-color: var(--components-menu-stepper-standard-background);
|
|
991
|
-
--label-font-weight: 500;
|
|
992
|
-
--display-active-line: none;
|
|
993
|
-
display: flex;
|
|
994
|
-
flex-direction: row;
|
|
995
|
-
width: 100%;
|
|
996
|
-
list-style-type: none;
|
|
997
|
-
}
|
|
998
|
-
.eds-stepper__step {
|
|
999
|
-
display: flex;
|
|
1000
|
-
flex-grow: 1;
|
|
1001
|
-
flex-basis: 0;
|
|
1002
|
-
flex-direction: column;
|
|
1003
|
-
align-items: inherit;
|
|
1004
|
-
-webkit-appearance: none;
|
|
1005
|
-
-moz-appearance: none;
|
|
1006
|
-
appearance: none;
|
|
1007
|
-
background: none;
|
|
1008
|
-
border: none;
|
|
1009
|
-
font-family: inherit;
|
|
1010
|
-
text-transform: none;
|
|
1011
|
-
}
|
|
1012
|
-
.eds-stepper__step__wrapper {
|
|
1013
|
-
flex-grow: 1;
|
|
1014
|
-
}
|
|
1015
|
-
.eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
1016
|
-
outline-offset: 0.125rem;
|
|
1017
|
-
outline: 2px solid #181c56;
|
|
1018
|
-
}
|
|
1019
|
-
.eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
1020
|
-
outline-offset: 0.125rem;
|
|
1021
|
-
outline: 2px solid #181c56;
|
|
1022
|
-
}
|
|
1023
|
-
.eds-contrast .eds-stepper__step.focus-visible .eds-stepper__step__label {
|
|
1024
|
-
outline: 2px solid #ffffff;
|
|
1025
|
-
}
|
|
1026
|
-
.eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
1027
|
-
outline: 2px solid #ffffff;
|
|
1028
|
-
}
|
|
1029
|
-
.eds-contrast .eds-stepper__step {
|
|
1030
|
-
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
1031
|
-
--line-color: var(--components-menu-stepper-contrast-background);
|
|
1032
|
-
}
|
|
1033
|
-
.eds-stepper__step--interactive {
|
|
1034
|
-
all: unset;
|
|
1035
|
-
display: flex;
|
|
1036
|
-
flex-direction: column;
|
|
1037
|
-
width: 100%;
|
|
1038
|
-
cursor: pointer;
|
|
1039
|
-
}
|
|
1040
|
-
.eds-stepper__step--active {
|
|
1041
|
-
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
1042
|
-
--label-font-weight: 600;
|
|
1043
|
-
--display-active-line: block;
|
|
1044
|
-
}
|
|
1045
|
-
.eds-contrast .eds-stepper__step--active {
|
|
1046
|
-
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
1047
|
-
}
|
|
1048
|
-
.eds-stepper__step--completed {
|
|
1049
|
-
--text-color: var(--components-menu-stepper-standard-text-completed);
|
|
1050
|
-
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
1051
|
-
}
|
|
1052
|
-
.eds-contrast .eds-stepper__step--completed {
|
|
1053
|
-
--text-color: var(--components-menu-stepper-contrast-text-completed);
|
|
1054
|
-
--line-color: var(--components-menu-stepper-contrast-progressbar);
|
|
1055
|
-
}
|
|
1056
|
-
.eds-stepper__step__label {
|
|
1057
|
-
flex-grow: 1;
|
|
1058
|
-
flex-direction: column;
|
|
1059
|
-
align-self: center;
|
|
1060
|
-
text-align: center;
|
|
1061
|
-
font-size: 0.875rem;
|
|
1062
|
-
margin: 0.5rem 0 0;
|
|
1063
|
-
padding: 0 0.5rem;
|
|
1064
|
-
width: -moz-fit-content;
|
|
1065
|
-
width: fit-content;
|
|
1066
|
-
border-radius: 0.0625rem;
|
|
1067
|
-
color: var(--text-color);
|
|
1068
|
-
font-weight: var(--label-font-weight);
|
|
1069
|
-
}
|
|
1070
|
-
.eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
1071
|
-
background-color: var(--components-menu-stepper-standard-background);
|
|
1072
|
-
color: var(--components-menu-stepper-standard-text-completed);
|
|
1073
|
-
}
|
|
1074
|
-
.eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
1075
|
-
background-color: var(--components-menu-stepper-contrast-background);
|
|
1076
|
-
color: var(--components-menu-stepper-contrast-text-completed);
|
|
1077
|
-
}
|
|
1078
|
-
.eds-stepper__step__line {
|
|
1079
|
-
height: 0.5rem;
|
|
1080
|
-
background: var(--line-color);
|
|
1081
|
-
position: relative;
|
|
1082
|
-
}
|
|
1083
|
-
.eds-stepper__step__line:before {
|
|
1084
|
-
display: var(--display-active-line);
|
|
1085
|
-
content: "";
|
|
1086
|
-
position: absolute;
|
|
1087
|
-
right: calc(50% - 0.2rem);
|
|
1088
|
-
bottom: 0.0625rem;
|
|
1089
|
-
border-radius: 0.0625rem;
|
|
1090
|
-
background: var(--components-menu-stepper-standard-progressbar);
|
|
1091
|
-
width: calc(0.5rem - 0.125rem - 0.01rem);
|
|
1092
|
-
height: calc(0.5rem - 0.125rem - 0.01rem);
|
|
1093
|
-
transform: rotate(45deg);
|
|
1094
|
-
}
|
|
1095
|
-
.eds-contrast .eds-stepper__step__line:before {
|
|
1096
|
-
background: var(--components-menu-stepper-contrast-progressbar);
|
|
1097
|
-
}
|
|
1098
|
-
.eds-stepper__step__line:after {
|
|
1099
|
-
display: var(--display-active-line);
|
|
1100
|
-
content: "";
|
|
1101
|
-
position: absolute;
|
|
1102
|
-
left: 0;
|
|
1103
|
-
bottom: 0;
|
|
1104
|
-
width: 50%;
|
|
1105
|
-
height: 0.5rem;
|
|
1106
|
-
background: var(--components-menu-stepper-standard-progressbar);
|
|
1107
|
-
}
|
|
1108
|
-
.eds-contrast .eds-stepper__step__line:after {
|
|
1109
|
-
background: var(--components-menu-stepper-contrast-progressbar);
|
|
1110
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.2.33
|
|
3
|
+
"version": "4.2.33",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.85",
|
|
31
|
-
"@entur/button": "^3.2.25
|
|
32
|
-
"@entur/expand": "^3.5.14
|
|
33
|
-
"@entur/icons": "^6.17.1
|
|
34
|
-
"@entur/layout": "^2.3.9
|
|
31
|
+
"@entur/button": "^3.2.25",
|
|
32
|
+
"@entur/expand": "^3.5.14",
|
|
33
|
+
"@entur/icons": "^6.17.1",
|
|
34
|
+
"@entur/layout": "^2.3.9",
|
|
35
35
|
"@entur/tokens": "^3.15.0",
|
|
36
|
-
"@entur/typography": "^1.8.38
|
|
36
|
+
"@entur/typography": "^1.8.38",
|
|
37
37
|
"@entur/utils": "^0.11.1",
|
|
38
38
|
"@reach/menu-button": "^0.16.1",
|
|
39
39
|
"@reach/polymorphic": "0.18.0",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "8f5dd2a35e3794050cdc8664efeb078254404632"
|
|
43
43
|
}
|