@entur/menu 4.1.43 → 4.1.44
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 +84 -84
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -4,6 +4,52 @@
|
|
|
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. */
|
|
7
53
|
/* DO NOT CHANGE!*/
|
|
8
54
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
9
55
|
.eds-side-navigation,
|
|
@@ -224,49 +270,52 @@
|
|
|
224
270
|
}
|
|
225
271
|
/* DO NOT CHANGE!*/
|
|
226
272
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
227
|
-
.eds-
|
|
228
|
-
|
|
229
|
-
margin: 0;
|
|
230
|
-
padding: 0;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.eds-breadcrumb__item {
|
|
273
|
+
.eds-top-navigation-item {
|
|
274
|
+
--show-active-line: 0;
|
|
234
275
|
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;
|
|
276
|
+
cursor: pointer;
|
|
243
277
|
color: inherit;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
278
|
+
text-decoration: none;
|
|
279
|
+
position: relative;
|
|
280
|
+
padding: 1rem;
|
|
281
|
+
min-width: 5rem;
|
|
282
|
+
width: -moz-fit-content;
|
|
283
|
+
width: fit-content;
|
|
284
|
+
text-align: center;
|
|
285
|
+
font-family: inherit;
|
|
286
|
+
font-size: 1rem;
|
|
287
|
+
font-weight: 600;
|
|
251
288
|
}
|
|
252
|
-
.eds-
|
|
253
|
-
|
|
289
|
+
.eds-top-navigation-item::after {
|
|
290
|
+
content: "";
|
|
291
|
+
display: block;
|
|
292
|
+
bottom: 1rem;
|
|
293
|
+
height: 0.1875rem;
|
|
294
|
+
width: 0;
|
|
295
|
+
margin: 0 auto;
|
|
296
|
+
opacity: var(--show-active-line);
|
|
297
|
+
background: #ff5959;
|
|
298
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
254
299
|
}
|
|
255
|
-
.eds-
|
|
300
|
+
.eds-top-navigation-item:focus {
|
|
301
|
+
outline-offset: 0.125rem;
|
|
256
302
|
outline: none;
|
|
257
303
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
258
|
-
outline-offset: 0.125rem;
|
|
259
304
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
background-size: 0% 0.125rem;
|
|
263
|
-
}
|
|
264
|
-
to {
|
|
265
|
-
background-size: 100% 0.125rem;
|
|
266
|
-
}
|
|
305
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
306
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
267
307
|
}
|
|
268
|
-
.eds-
|
|
269
|
-
|
|
308
|
+
.eds-top-navigation-item:hover {
|
|
309
|
+
--show-active-line: 1;
|
|
310
|
+
}
|
|
311
|
+
.eds-top-navigation-item:hover::after {
|
|
312
|
+
width: 2rem;
|
|
313
|
+
}
|
|
314
|
+
.eds-top-navigation-item--active {
|
|
315
|
+
--show-active-line: 1;
|
|
316
|
+
}
|
|
317
|
+
.eds-top-navigation-item--active::after {
|
|
318
|
+
width: 2rem;
|
|
270
319
|
}
|
|
271
320
|
/* DO NOT CHANGE!*/
|
|
272
321
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -633,52 +682,3 @@
|
|
|
633
682
|
position: relative;
|
|
634
683
|
right: calc(100% - 2rem);
|
|
635
684
|
}
|
|
636
|
-
/* DO NOT CHANGE!*/
|
|
637
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
638
|
-
.eds-top-navigation-item {
|
|
639
|
-
--show-active-line: 0;
|
|
640
|
-
display: inline-block;
|
|
641
|
-
cursor: pointer;
|
|
642
|
-
color: inherit;
|
|
643
|
-
text-decoration: none;
|
|
644
|
-
position: relative;
|
|
645
|
-
padding: 1rem;
|
|
646
|
-
min-width: 5rem;
|
|
647
|
-
width: -moz-fit-content;
|
|
648
|
-
width: fit-content;
|
|
649
|
-
text-align: center;
|
|
650
|
-
font-family: inherit;
|
|
651
|
-
font-size: 1rem;
|
|
652
|
-
font-weight: 600;
|
|
653
|
-
}
|
|
654
|
-
.eds-top-navigation-item::after {
|
|
655
|
-
content: "";
|
|
656
|
-
display: block;
|
|
657
|
-
bottom: 1rem;
|
|
658
|
-
height: 0.1875rem;
|
|
659
|
-
width: 0;
|
|
660
|
-
margin: 0 auto;
|
|
661
|
-
opacity: var(--show-active-line);
|
|
662
|
-
background: #ff5959;
|
|
663
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
664
|
-
}
|
|
665
|
-
.eds-top-navigation-item:focus {
|
|
666
|
-
outline-offset: 0.125rem;
|
|
667
|
-
outline: none;
|
|
668
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
669
|
-
}
|
|
670
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
671
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
672
|
-
}
|
|
673
|
-
.eds-top-navigation-item:hover {
|
|
674
|
-
--show-active-line: 1;
|
|
675
|
-
}
|
|
676
|
-
.eds-top-navigation-item:hover::after {
|
|
677
|
-
width: 2rem;
|
|
678
|
-
}
|
|
679
|
-
.eds-top-navigation-item--active {
|
|
680
|
-
--show-active-line: 1;
|
|
681
|
-
}
|
|
682
|
-
.eds-top-navigation-item--active::after {
|
|
683
|
-
width: 2rem;
|
|
684
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.44",
|
|
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.4.
|
|
30
|
+
"@entur/a11y": "^0.2.67",
|
|
31
|
+
"@entur/button": "^3.0.10",
|
|
32
|
+
"@entur/expand": "^3.4.3",
|
|
33
33
|
"@entur/icons": "^6.3.1",
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
34
|
+
"@entur/layout": "^2.1.35",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
37
|
-
"@entur/utils": "^0.9.
|
|
36
|
+
"@entur/typography": "^1.8.2",
|
|
37
|
+
"@entur/utils": "^0.9.2",
|
|
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": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
|
|
43
43
|
}
|