@entur/menu 4.1.39 → 4.1.41
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 +49 -49
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -50,6 +50,55 @@
|
|
|
50
50
|
}
|
|
51
51
|
/* DO NOT CHANGE!*/
|
|
52
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. */
|
|
53
102
|
/* DO NOT CHANGE!*/
|
|
54
103
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
104
|
.eds-side-navigation,
|
|
@@ -430,55 +479,6 @@
|
|
|
430
479
|
}
|
|
431
480
|
/* DO NOT CHANGE!*/
|
|
432
481
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
433
|
-
.eds-top-navigation-item {
|
|
434
|
-
--show-active-line: 0;
|
|
435
|
-
display: inline-block;
|
|
436
|
-
cursor: pointer;
|
|
437
|
-
color: inherit;
|
|
438
|
-
text-decoration: none;
|
|
439
|
-
position: relative;
|
|
440
|
-
padding: 1rem;
|
|
441
|
-
min-width: 5rem;
|
|
442
|
-
width: -moz-fit-content;
|
|
443
|
-
width: fit-content;
|
|
444
|
-
text-align: center;
|
|
445
|
-
font-family: inherit;
|
|
446
|
-
font-size: 1rem;
|
|
447
|
-
font-weight: 600;
|
|
448
|
-
}
|
|
449
|
-
.eds-top-navigation-item::after {
|
|
450
|
-
content: "";
|
|
451
|
-
display: block;
|
|
452
|
-
bottom: 1rem;
|
|
453
|
-
height: 0.1875rem;
|
|
454
|
-
width: 0;
|
|
455
|
-
margin: 0 auto;
|
|
456
|
-
opacity: var(--show-active-line);
|
|
457
|
-
background: #ff5959;
|
|
458
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
459
|
-
}
|
|
460
|
-
.eds-top-navigation-item:focus {
|
|
461
|
-
outline-offset: 0.125rem;
|
|
462
|
-
outline: none;
|
|
463
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
464
|
-
}
|
|
465
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
466
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
467
|
-
}
|
|
468
|
-
.eds-top-navigation-item:hover {
|
|
469
|
-
--show-active-line: 1;
|
|
470
|
-
}
|
|
471
|
-
.eds-top-navigation-item:hover::after {
|
|
472
|
-
width: 2rem;
|
|
473
|
-
}
|
|
474
|
-
.eds-top-navigation-item--active {
|
|
475
|
-
--show-active-line: 1;
|
|
476
|
-
}
|
|
477
|
-
.eds-top-navigation-item--active::after {
|
|
478
|
-
width: 2rem;
|
|
479
|
-
}
|
|
480
|
-
/* DO NOT CHANGE!*/
|
|
481
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
482
482
|
.eds-stepper {
|
|
483
483
|
display: flex;
|
|
484
484
|
flex-direction: row;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.41",
|
|
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.0.
|
|
32
|
-
"@entur/expand": "^3.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/typography": "^1.7.
|
|
30
|
+
"@entur/a11y": "^0.2.65",
|
|
31
|
+
"@entur/button": "^3.0.7",
|
|
32
|
+
"@entur/expand": "^3.4.0",
|
|
33
|
+
"@entur/icons": "^6.3.0",
|
|
34
|
+
"@entur/layout": "^2.1.32",
|
|
35
|
+
"@entur/tokens": "^3.9.0",
|
|
36
|
+
"@entur/typography": "^1.7.17",
|
|
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": "a4e1d50fdac6ac767d5a90e92360c8d07e7c5e9c"
|
|
43
43
|
}
|