@entur/menu 4.1.3 → 4.1.4
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/CHANGELOG.md +4 -0
- package/dist/styles.css +49 -49
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.3...@entur/menu@4.1.4) (2022-06-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
6
10
|
## [4.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.2...@entur/menu@4.1.3) (2022-06-24)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/menu
|
package/dist/styles.css
CHANGED
|
@@ -57,6 +57,55 @@
|
|
|
57
57
|
font-weight: 600;
|
|
58
58
|
}/* DO NOT CHANGE!*/
|
|
59
59
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
|
+
.eds-top-navigation-item {
|
|
61
|
+
--show-active-line: 0;
|
|
62
|
+
display: inline-block;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
color: inherit;
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
position: relative;
|
|
67
|
+
padding: 1rem;
|
|
68
|
+
min-width: 5rem;
|
|
69
|
+
width: -webkit-fit-content;
|
|
70
|
+
width: -moz-fit-content;
|
|
71
|
+
width: fit-content;
|
|
72
|
+
text-align: center;
|
|
73
|
+
font-family: inherit;
|
|
74
|
+
font-size: 1rem;
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
}
|
|
77
|
+
.eds-top-navigation-item::after {
|
|
78
|
+
content: "";
|
|
79
|
+
display: block;
|
|
80
|
+
bottom: 1rem;
|
|
81
|
+
height: 0.1875rem;
|
|
82
|
+
width: 0;
|
|
83
|
+
margin: 0 auto;
|
|
84
|
+
opacity: var(--show-active-line);
|
|
85
|
+
background: #ff5959;
|
|
86
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
87
|
+
}
|
|
88
|
+
.eds-top-navigation-item:focus {
|
|
89
|
+
outline-offset: 0.125rem;
|
|
90
|
+
outline: none;
|
|
91
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
92
|
+
}
|
|
93
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
94
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
95
|
+
}
|
|
96
|
+
.eds-top-navigation-item:hover {
|
|
97
|
+
--show-active-line: 1;
|
|
98
|
+
}
|
|
99
|
+
.eds-top-navigation-item:hover::after {
|
|
100
|
+
width: 2rem;
|
|
101
|
+
}
|
|
102
|
+
.eds-top-navigation-item--active {
|
|
103
|
+
--show-active-line: 1;
|
|
104
|
+
}
|
|
105
|
+
.eds-top-navigation-item--active::after {
|
|
106
|
+
width: 2rem;
|
|
107
|
+
}/* DO NOT CHANGE!*/
|
|
108
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
109
|
.eds-pagination {
|
|
61
110
|
align-items: center;
|
|
62
111
|
display: flex;
|
|
@@ -646,53 +695,4 @@
|
|
|
646
695
|
}
|
|
647
696
|
.eds-contrast .eds-stepper__item__square--has-been {
|
|
648
697
|
background: #aeb7e2;
|
|
649
|
-
}/* DO NOT CHANGE!*/
|
|
650
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
651
|
-
.eds-top-navigation-item {
|
|
652
|
-
--show-active-line: 0;
|
|
653
|
-
display: inline-block;
|
|
654
|
-
cursor: pointer;
|
|
655
|
-
color: inherit;
|
|
656
|
-
text-decoration: none;
|
|
657
|
-
position: relative;
|
|
658
|
-
padding: 1rem;
|
|
659
|
-
min-width: 5rem;
|
|
660
|
-
width: -webkit-fit-content;
|
|
661
|
-
width: -moz-fit-content;
|
|
662
|
-
width: fit-content;
|
|
663
|
-
text-align: center;
|
|
664
|
-
font-family: inherit;
|
|
665
|
-
font-size: 1rem;
|
|
666
|
-
font-weight: 600;
|
|
667
|
-
}
|
|
668
|
-
.eds-top-navigation-item::after {
|
|
669
|
-
content: "";
|
|
670
|
-
display: block;
|
|
671
|
-
bottom: 1rem;
|
|
672
|
-
height: 0.1875rem;
|
|
673
|
-
width: 0;
|
|
674
|
-
margin: 0 auto;
|
|
675
|
-
opacity: var(--show-active-line);
|
|
676
|
-
background: #ff5959;
|
|
677
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
678
|
-
}
|
|
679
|
-
.eds-top-navigation-item:focus {
|
|
680
|
-
outline-offset: 0.125rem;
|
|
681
|
-
outline: none;
|
|
682
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
683
|
-
}
|
|
684
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
685
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
686
|
-
}
|
|
687
|
-
.eds-top-navigation-item:hover {
|
|
688
|
-
--show-active-line: 1;
|
|
689
|
-
}
|
|
690
|
-
.eds-top-navigation-item:hover::after {
|
|
691
|
-
width: 2rem;
|
|
692
|
-
}
|
|
693
|
-
.eds-top-navigation-item--active {
|
|
694
|
-
--show-active-line: 1;
|
|
695
|
-
}
|
|
696
|
-
.eds-top-navigation-item--active::after {
|
|
697
|
-
width: 2rem;
|
|
698
698
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/button": "^2.
|
|
26
|
+
"@entur/button": "^2.10.0",
|
|
27
27
|
"@entur/expand": "^3.3.15",
|
|
28
28
|
"@entur/icons": "^4.2.0",
|
|
29
29
|
"@entur/layout": "^2.1.7",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"react": ">=16.8.0",
|
|
38
38
|
"react-dom": ">=16.8.0"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b8c747624dc3cb71b5710305c958ece5ba460e23"
|
|
41
41
|
}
|