@entur/menu 4.2.31 → 4.2.33-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 +179 -179
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,59 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-breadcrumb {
|
|
4
|
-
list-style: none;
|
|
5
|
-
margin: 0;
|
|
6
|
-
padding: 0;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.eds-breadcrumb__item {
|
|
10
|
-
display: inline-block;
|
|
11
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
12
|
-
}
|
|
13
|
-
.eds-contrast .eds-breadcrumb__item {
|
|
14
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.eds-breadcrumb__separator {
|
|
18
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.eds-breadcrumb__link {
|
|
22
|
-
text-decoration: none;
|
|
23
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
24
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
25
|
-
background-repeat: no-repeat;
|
|
26
|
-
background-size: 100% 0.125rem;
|
|
27
|
-
background-position: 0 100%;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
30
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
31
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
32
|
-
}
|
|
33
|
-
.eds-breadcrumb__link:hover {
|
|
34
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
35
|
-
}
|
|
36
|
-
.eds-breadcrumb__link:focus {
|
|
37
|
-
outline: 2px solid #181c56;
|
|
38
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
39
|
-
outline-offset: 0.125rem;
|
|
40
|
-
}
|
|
41
|
-
.eds-contrast .eds-breadcrumb__link:focus {
|
|
42
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
43
|
-
}
|
|
44
|
-
@keyframes eds-breadcrumb-underline {
|
|
45
|
-
from {
|
|
46
|
-
background-size: 0% 0.125rem;
|
|
47
|
-
}
|
|
48
|
-
to {
|
|
49
|
-
background-size: 100% 0.125rem;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
.eds-breadcrumb__link--current {
|
|
53
|
-
font-weight: 600;
|
|
54
|
-
}
|
|
55
|
-
/* DO NOT CHANGE!*/
|
|
56
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
57
3
|
.eds-side-navigation,
|
|
58
4
|
.eds-side-navigation-group {
|
|
59
5
|
color: var(--components-menu-sidenavigation-standard-text);
|
|
@@ -307,6 +253,60 @@
|
|
|
307
253
|
}
|
|
308
254
|
/* DO NOT CHANGE!*/
|
|
309
255
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
256
|
+
.eds-breadcrumb {
|
|
257
|
+
list-style: none;
|
|
258
|
+
margin: 0;
|
|
259
|
+
padding: 0;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.eds-breadcrumb__item {
|
|
263
|
+
display: inline-block;
|
|
264
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
265
|
+
}
|
|
266
|
+
.eds-contrast .eds-breadcrumb__item {
|
|
267
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.eds-breadcrumb__separator {
|
|
271
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
.eds-breadcrumb__link {
|
|
275
|
+
text-decoration: none;
|
|
276
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
277
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
278
|
+
background-repeat: no-repeat;
|
|
279
|
+
background-size: 100% 0.125rem;
|
|
280
|
+
background-position: 0 100%;
|
|
281
|
+
}
|
|
282
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
283
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
284
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
285
|
+
}
|
|
286
|
+
.eds-breadcrumb__link:hover {
|
|
287
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
288
|
+
}
|
|
289
|
+
.eds-breadcrumb__link:focus {
|
|
290
|
+
outline: 2px solid #181c56;
|
|
291
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
292
|
+
outline-offset: 0.125rem;
|
|
293
|
+
}
|
|
294
|
+
.eds-contrast .eds-breadcrumb__link:focus {
|
|
295
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
296
|
+
}
|
|
297
|
+
@keyframes eds-breadcrumb-underline {
|
|
298
|
+
from {
|
|
299
|
+
background-size: 0% 0.125rem;
|
|
300
|
+
}
|
|
301
|
+
to {
|
|
302
|
+
background-size: 100% 0.125rem;
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
.eds-breadcrumb__link--current {
|
|
306
|
+
font-weight: 600;
|
|
307
|
+
}
|
|
308
|
+
/* DO NOT CHANGE!*/
|
|
309
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
310
310
|
.eds-top-navigation-item {
|
|
311
311
|
--show-active-line: 0;
|
|
312
312
|
display: inline-block;
|
|
@@ -647,131 +647,6 @@
|
|
|
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. */
|
|
775
650
|
/* DO NOT CHANGE!*/
|
|
776
651
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
777
652
|
/* DO NOT CHANGE!*/
|
|
@@ -1108,3 +983,128 @@
|
|
|
1108
983
|
--eds-menu: 1;
|
|
1109
984
|
--reach-menu-button: 1;
|
|
1110
985
|
}
|
|
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.
|
|
3
|
+
"version": "4.2.33-beta.0",
|
|
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.
|
|
32
|
-
"@entur/expand": "^3.5.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/layout": "^2.3.
|
|
31
|
+
"@entur/button": "^3.2.25-beta.0",
|
|
32
|
+
"@entur/expand": "^3.5.14-beta.0",
|
|
33
|
+
"@entur/icons": "^6.17.1-beta.0",
|
|
34
|
+
"@entur/layout": "^2.3.9-beta.0",
|
|
35
35
|
"@entur/tokens": "^3.15.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
36
|
+
"@entur/typography": "^1.8.38-beta.0",
|
|
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": "09c8ecf6671f83dbfae93ab10f77537888222f70"
|
|
43
43
|
}
|