@entur/menu 4.1.41 → 4.1.42
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 +95 -95
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -4,101 +4,6 @@
|
|
|
4
4
|
}
|
|
5
5
|
/* DO NOT CHANGE!*/
|
|
6
6
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
|
-
.eds-breadcrumb {
|
|
8
|
-
list-style: none;
|
|
9
|
-
margin: 0;
|
|
10
|
-
padding: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.eds-breadcrumb__item {
|
|
14
|
-
display: inline-block;
|
|
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: inherit;
|
|
24
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 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
|
-
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
31
|
-
}
|
|
32
|
-
.eds-breadcrumb__link:hover {
|
|
33
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
34
|
-
}
|
|
35
|
-
.eds-breadcrumb__link:focus {
|
|
36
|
-
outline: none;
|
|
37
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
38
|
-
outline-offset: 0.125rem;
|
|
39
|
-
}
|
|
40
|
-
@keyframes eds-breadcrumb-underline {
|
|
41
|
-
from {
|
|
42
|
-
background-size: 0% 0.125rem;
|
|
43
|
-
}
|
|
44
|
-
to {
|
|
45
|
-
background-size: 100% 0.125rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
.eds-breadcrumb__link--current {
|
|
49
|
-
font-weight: 600;
|
|
50
|
-
}
|
|
51
|
-
/* DO NOT CHANGE!*/
|
|
52
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
|
-
.eds-top-navigation-item {
|
|
54
|
-
--show-active-line: 0;
|
|
55
|
-
display: inline-block;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
color: inherit;
|
|
58
|
-
text-decoration: none;
|
|
59
|
-
position: relative;
|
|
60
|
-
padding: 1rem;
|
|
61
|
-
min-width: 5rem;
|
|
62
|
-
width: -moz-fit-content;
|
|
63
|
-
width: fit-content;
|
|
64
|
-
text-align: center;
|
|
65
|
-
font-family: inherit;
|
|
66
|
-
font-size: 1rem;
|
|
67
|
-
font-weight: 600;
|
|
68
|
-
}
|
|
69
|
-
.eds-top-navigation-item::after {
|
|
70
|
-
content: "";
|
|
71
|
-
display: block;
|
|
72
|
-
bottom: 1rem;
|
|
73
|
-
height: 0.1875rem;
|
|
74
|
-
width: 0;
|
|
75
|
-
margin: 0 auto;
|
|
76
|
-
opacity: var(--show-active-line);
|
|
77
|
-
background: #ff5959;
|
|
78
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
79
|
-
}
|
|
80
|
-
.eds-top-navigation-item:focus {
|
|
81
|
-
outline-offset: 0.125rem;
|
|
82
|
-
outline: none;
|
|
83
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
84
|
-
}
|
|
85
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
86
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
87
|
-
}
|
|
88
|
-
.eds-top-navigation-item:hover {
|
|
89
|
-
--show-active-line: 1;
|
|
90
|
-
}
|
|
91
|
-
.eds-top-navigation-item:hover::after {
|
|
92
|
-
width: 2rem;
|
|
93
|
-
}
|
|
94
|
-
.eds-top-navigation-item--active {
|
|
95
|
-
--show-active-line: 1;
|
|
96
|
-
}
|
|
97
|
-
.eds-top-navigation-item--active::after {
|
|
98
|
-
width: 2rem;
|
|
99
|
-
}
|
|
100
|
-
/* DO NOT CHANGE!*/
|
|
101
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
102
7
|
/* DO NOT CHANGE!*/
|
|
103
8
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
104
9
|
.eds-side-navigation,
|
|
@@ -319,6 +224,52 @@
|
|
|
319
224
|
}
|
|
320
225
|
/* DO NOT CHANGE!*/
|
|
321
226
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
227
|
+
.eds-breadcrumb {
|
|
228
|
+
list-style: none;
|
|
229
|
+
margin: 0;
|
|
230
|
+
padding: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.eds-breadcrumb__item {
|
|
234
|
+
display: inline-block;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.eds-breadcrumb__separator {
|
|
238
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.eds-breadcrumb__link {
|
|
242
|
+
text-decoration: none;
|
|
243
|
+
color: inherit;
|
|
244
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
245
|
+
background-repeat: no-repeat;
|
|
246
|
+
background-size: 100% 0.125rem;
|
|
247
|
+
background-position: 0 100%;
|
|
248
|
+
}
|
|
249
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
250
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
251
|
+
}
|
|
252
|
+
.eds-breadcrumb__link:hover {
|
|
253
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
254
|
+
}
|
|
255
|
+
.eds-breadcrumb__link:focus {
|
|
256
|
+
outline: none;
|
|
257
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
258
|
+
outline-offset: 0.125rem;
|
|
259
|
+
}
|
|
260
|
+
@keyframes eds-breadcrumb-underline {
|
|
261
|
+
from {
|
|
262
|
+
background-size: 0% 0.125rem;
|
|
263
|
+
}
|
|
264
|
+
to {
|
|
265
|
+
background-size: 100% 0.125rem;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
.eds-breadcrumb__link--current {
|
|
269
|
+
font-weight: 600;
|
|
270
|
+
}
|
|
271
|
+
/* DO NOT CHANGE!*/
|
|
272
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
322
273
|
.eds-pagination {
|
|
323
274
|
align-items: center;
|
|
324
275
|
display: flex;
|
|
@@ -598,6 +549,55 @@
|
|
|
598
549
|
}
|
|
599
550
|
/* DO NOT CHANGE!*/
|
|
600
551
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
552
|
+
.eds-top-navigation-item {
|
|
553
|
+
--show-active-line: 0;
|
|
554
|
+
display: inline-block;
|
|
555
|
+
cursor: pointer;
|
|
556
|
+
color: inherit;
|
|
557
|
+
text-decoration: none;
|
|
558
|
+
position: relative;
|
|
559
|
+
padding: 1rem;
|
|
560
|
+
min-width: 5rem;
|
|
561
|
+
width: -moz-fit-content;
|
|
562
|
+
width: fit-content;
|
|
563
|
+
text-align: center;
|
|
564
|
+
font-family: inherit;
|
|
565
|
+
font-size: 1rem;
|
|
566
|
+
font-weight: 600;
|
|
567
|
+
}
|
|
568
|
+
.eds-top-navigation-item::after {
|
|
569
|
+
content: "";
|
|
570
|
+
display: block;
|
|
571
|
+
bottom: 1rem;
|
|
572
|
+
height: 0.1875rem;
|
|
573
|
+
width: 0;
|
|
574
|
+
margin: 0 auto;
|
|
575
|
+
opacity: var(--show-active-line);
|
|
576
|
+
background: #ff5959;
|
|
577
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
578
|
+
}
|
|
579
|
+
.eds-top-navigation-item:focus {
|
|
580
|
+
outline-offset: 0.125rem;
|
|
581
|
+
outline: none;
|
|
582
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
583
|
+
}
|
|
584
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
585
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
586
|
+
}
|
|
587
|
+
.eds-top-navigation-item:hover {
|
|
588
|
+
--show-active-line: 1;
|
|
589
|
+
}
|
|
590
|
+
.eds-top-navigation-item:hover::after {
|
|
591
|
+
width: 2rem;
|
|
592
|
+
}
|
|
593
|
+
.eds-top-navigation-item--active {
|
|
594
|
+
--show-active-line: 1;
|
|
595
|
+
}
|
|
596
|
+
.eds-top-navigation-item--active::after {
|
|
597
|
+
width: 2rem;
|
|
598
|
+
}
|
|
599
|
+
/* DO NOT CHANGE!*/
|
|
600
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
601
601
|
.eds-overflow-menu__item {
|
|
602
602
|
-webkit-appearance: none;
|
|
603
603
|
-moz-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.42",
|
|
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.65",
|
|
31
|
-
"@entur/button": "^3.0.
|
|
32
|
-
"@entur/expand": "^3.4.
|
|
31
|
+
"@entur/button": "^3.0.8",
|
|
32
|
+
"@entur/expand": "^3.4.1",
|
|
33
33
|
"@entur/icons": "^6.3.0",
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
34
|
+
"@entur/layout": "^2.1.33",
|
|
35
35
|
"@entur/tokens": "^3.9.0",
|
|
36
|
-
"@entur/typography": "^1.
|
|
36
|
+
"@entur/typography": "^1.8.0",
|
|
37
37
|
"@entur/utils": "^0.9.0",
|
|
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": "8f124a94b17be084024892eca96ab800f18ceca2"
|
|
43
43
|
}
|