@entur/menu 4.1.44 → 4.1.46
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
|
@@ -270,55 +270,6 @@
|
|
|
270
270
|
}
|
|
271
271
|
/* DO NOT CHANGE!*/
|
|
272
272
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
273
|
-
.eds-top-navigation-item {
|
|
274
|
-
--show-active-line: 0;
|
|
275
|
-
display: inline-block;
|
|
276
|
-
cursor: pointer;
|
|
277
|
-
color: inherit;
|
|
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;
|
|
288
|
-
}
|
|
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;
|
|
299
|
-
}
|
|
300
|
-
.eds-top-navigation-item:focus {
|
|
301
|
-
outline-offset: 0.125rem;
|
|
302
|
-
outline: none;
|
|
303
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
304
|
-
}
|
|
305
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
306
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
307
|
-
}
|
|
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;
|
|
319
|
-
}
|
|
320
|
-
/* DO NOT CHANGE!*/
|
|
321
|
-
/* 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;
|
|
@@ -479,6 +430,55 @@
|
|
|
479
430
|
}
|
|
480
431
|
/* DO NOT CHANGE!*/
|
|
481
432
|
/* 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.46",
|
|
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.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
30
|
+
"@entur/a11y": "^0.2.68",
|
|
31
|
+
"@entur/button": "^3.0.12",
|
|
32
|
+
"@entur/expand": "^3.4.5",
|
|
33
|
+
"@entur/icons": "^6.4.0",
|
|
34
|
+
"@entur/layout": "^2.1.37",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
37
|
-
"@entur/utils": "^0.9.
|
|
36
|
+
"@entur/typography": "^1.8.4",
|
|
37
|
+
"@entur/utils": "^0.9.3",
|
|
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": "6e84c896e30f146cfc15284218f55ab9f1766d46"
|
|
43
43
|
}
|