@entur/menu 4.2.29 → 4.2.30
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 +56 -56
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -54,6 +54,62 @@
|
|
|
54
54
|
}
|
|
55
55
|
/* DO NOT CHANGE!*/
|
|
56
56
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
57
|
+
.eds-top-navigation-item {
|
|
58
|
+
--show-active-line: 0;
|
|
59
|
+
display: inline-block;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
color: var(--components-menu-navigationbar-standard-text-unselected);
|
|
62
|
+
text-decoration: none;
|
|
63
|
+
position: relative;
|
|
64
|
+
padding: 1rem;
|
|
65
|
+
min-width: 5rem;
|
|
66
|
+
width: -moz-fit-content;
|
|
67
|
+
width: fit-content;
|
|
68
|
+
text-align: center;
|
|
69
|
+
font-family: inherit;
|
|
70
|
+
font-size: 1rem;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
}
|
|
73
|
+
.eds-top-navigation-item::after {
|
|
74
|
+
content: "";
|
|
75
|
+
display: block;
|
|
76
|
+
bottom: 1rem;
|
|
77
|
+
height: 0.1875rem;
|
|
78
|
+
width: 0;
|
|
79
|
+
margin: 0 auto;
|
|
80
|
+
opacity: var(--show-active-line);
|
|
81
|
+
background: var(--components-menu-navigationbar-standard-stroke-selected);
|
|
82
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
83
|
+
}
|
|
84
|
+
.eds-contrast .eds-top-navigation-item {
|
|
85
|
+
color: var(--components-menu-navigationbar-contrast-text-unselected);
|
|
86
|
+
}
|
|
87
|
+
.eds-top-navigation-item:focus {
|
|
88
|
+
outline: 2px solid #181c56;
|
|
89
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
90
|
+
outline-offset: 0.125rem;
|
|
91
|
+
}
|
|
92
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
93
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
94
|
+
}
|
|
95
|
+
.eds-top-navigation-item:hover {
|
|
96
|
+
--show-active-line: 1;
|
|
97
|
+
}
|
|
98
|
+
.eds-top-navigation-item:hover::after {
|
|
99
|
+
width: 2rem;
|
|
100
|
+
}
|
|
101
|
+
.eds-top-navigation-item--active {
|
|
102
|
+
color: var(--components-menu-navigationbar-standard-text-selected);
|
|
103
|
+
--show-active-line: 1;
|
|
104
|
+
}
|
|
105
|
+
.eds-top-navigation-item--active::after {
|
|
106
|
+
width: 2rem;
|
|
107
|
+
}
|
|
108
|
+
.eds-contrast .eds-top-navigation-item--active {
|
|
109
|
+
color: var(--components-menu-navigationbar-contrast-text-selected);
|
|
110
|
+
}
|
|
111
|
+
/* DO NOT CHANGE!*/
|
|
112
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
57
113
|
.eds-side-navigation,
|
|
58
114
|
.eds-side-navigation-group {
|
|
59
115
|
color: var(--components-menu-sidenavigation-standard-text);
|
|
@@ -307,62 +363,6 @@
|
|
|
307
363
|
}
|
|
308
364
|
/* DO NOT CHANGE!*/
|
|
309
365
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
310
|
-
.eds-top-navigation-item {
|
|
311
|
-
--show-active-line: 0;
|
|
312
|
-
display: inline-block;
|
|
313
|
-
cursor: pointer;
|
|
314
|
-
color: var(--components-menu-navigationbar-standard-text-unselected);
|
|
315
|
-
text-decoration: none;
|
|
316
|
-
position: relative;
|
|
317
|
-
padding: 1rem;
|
|
318
|
-
min-width: 5rem;
|
|
319
|
-
width: -moz-fit-content;
|
|
320
|
-
width: fit-content;
|
|
321
|
-
text-align: center;
|
|
322
|
-
font-family: inherit;
|
|
323
|
-
font-size: 1rem;
|
|
324
|
-
font-weight: 600;
|
|
325
|
-
}
|
|
326
|
-
.eds-top-navigation-item::after {
|
|
327
|
-
content: "";
|
|
328
|
-
display: block;
|
|
329
|
-
bottom: 1rem;
|
|
330
|
-
height: 0.1875rem;
|
|
331
|
-
width: 0;
|
|
332
|
-
margin: 0 auto;
|
|
333
|
-
opacity: var(--show-active-line);
|
|
334
|
-
background: var(--components-menu-navigationbar-standard-stroke-selected);
|
|
335
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
336
|
-
}
|
|
337
|
-
.eds-contrast .eds-top-navigation-item {
|
|
338
|
-
color: var(--components-menu-navigationbar-contrast-text-unselected);
|
|
339
|
-
}
|
|
340
|
-
.eds-top-navigation-item:focus {
|
|
341
|
-
outline: 2px solid #181c56;
|
|
342
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
343
|
-
outline-offset: 0.125rem;
|
|
344
|
-
}
|
|
345
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
346
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
347
|
-
}
|
|
348
|
-
.eds-top-navigation-item:hover {
|
|
349
|
-
--show-active-line: 1;
|
|
350
|
-
}
|
|
351
|
-
.eds-top-navigation-item:hover::after {
|
|
352
|
-
width: 2rem;
|
|
353
|
-
}
|
|
354
|
-
.eds-top-navigation-item--active {
|
|
355
|
-
color: var(--components-menu-navigationbar-standard-text-selected);
|
|
356
|
-
--show-active-line: 1;
|
|
357
|
-
}
|
|
358
|
-
.eds-top-navigation-item--active::after {
|
|
359
|
-
width: 2rem;
|
|
360
|
-
}
|
|
361
|
-
.eds-contrast .eds-top-navigation-item--active {
|
|
362
|
-
color: var(--components-menu-navigationbar-contrast-text-selected);
|
|
363
|
-
}
|
|
364
|
-
/* DO NOT CHANGE!*/
|
|
365
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
366
366
|
.eds-overflow-menu__item {
|
|
367
367
|
-webkit-appearance: none;
|
|
368
368
|
-moz-appearance: none;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.30",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/expand": "^3.5.
|
|
33
|
-
"@entur/icons": "^6.16.
|
|
34
|
-
"@entur/layout": "^2.3.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.85",
|
|
31
|
+
"@entur/button": "^3.2.22",
|
|
32
|
+
"@entur/expand": "^3.5.11",
|
|
33
|
+
"@entur/icons": "^6.16.1",
|
|
34
|
+
"@entur/layout": "^2.3.6",
|
|
35
|
+
"@entur/tokens": "^3.15.0",
|
|
36
|
+
"@entur/typography": "^1.8.35",
|
|
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": "c702433653670daf832e66c5de26be359201655f"
|
|
43
43
|
}
|