@entur/menu 4.2.33 → 4.2.34-beta.0
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 +110 -110
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,115 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-breadcrumb {
|
|
4
|
+
list-style: none;
|
|
5
|
+
margin: 0;
|
|
6
|
+
padding: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.eds-breadcrumb__item {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
12
|
+
}
|
|
13
|
+
.eds-contrast .eds-breadcrumb__item {
|
|
14
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
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: var(--components-menu-breadcrumb-standard-text);
|
|
24
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 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
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
31
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
32
|
+
}
|
|
33
|
+
.eds-breadcrumb__link:hover {
|
|
34
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
35
|
+
}
|
|
36
|
+
.eds-breadcrumb__link:focus {
|
|
37
|
+
outline: 2px solid #181c56;
|
|
38
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
39
|
+
outline-offset: 0.125rem;
|
|
40
|
+
}
|
|
41
|
+
.eds-contrast .eds-breadcrumb__link:focus {
|
|
42
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
43
|
+
}
|
|
44
|
+
@keyframes eds-breadcrumb-underline {
|
|
45
|
+
from {
|
|
46
|
+
background-size: 0% 0.125rem;
|
|
47
|
+
}
|
|
48
|
+
to {
|
|
49
|
+
background-size: 100% 0.125rem;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.eds-breadcrumb__link--current {
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
}
|
|
55
|
+
/* DO NOT CHANGE!*/
|
|
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. */
|
|
3
113
|
.eds-side-navigation,
|
|
4
114
|
.eds-side-navigation-group {
|
|
5
115
|
color: var(--components-menu-sidenavigation-standard-text);
|
|
@@ -253,116 +363,6 @@
|
|
|
253
363
|
}
|
|
254
364
|
/* DO NOT CHANGE!*/
|
|
255
365
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
256
|
-
.eds-breadcrumb {
|
|
257
|
-
list-style: none;
|
|
258
|
-
margin: 0;
|
|
259
|
-
padding: 0;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
.eds-breadcrumb__item {
|
|
263
|
-
display: inline-block;
|
|
264
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
265
|
-
}
|
|
266
|
-
.eds-contrast .eds-breadcrumb__item {
|
|
267
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
.eds-breadcrumb__separator {
|
|
271
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.eds-breadcrumb__link {
|
|
275
|
-
text-decoration: none;
|
|
276
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
277
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
278
|
-
background-repeat: no-repeat;
|
|
279
|
-
background-size: 100% 0.125rem;
|
|
280
|
-
background-position: 0 100%;
|
|
281
|
-
}
|
|
282
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
283
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
284
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
285
|
-
}
|
|
286
|
-
.eds-breadcrumb__link:hover {
|
|
287
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
288
|
-
}
|
|
289
|
-
.eds-breadcrumb__link:focus {
|
|
290
|
-
outline: 2px solid #181c56;
|
|
291
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
292
|
-
outline-offset: 0.125rem;
|
|
293
|
-
}
|
|
294
|
-
.eds-contrast .eds-breadcrumb__link:focus {
|
|
295
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
296
|
-
}
|
|
297
|
-
@keyframes eds-breadcrumb-underline {
|
|
298
|
-
from {
|
|
299
|
-
background-size: 0% 0.125rem;
|
|
300
|
-
}
|
|
301
|
-
to {
|
|
302
|
-
background-size: 100% 0.125rem;
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
.eds-breadcrumb__link--current {
|
|
306
|
-
font-weight: 600;
|
|
307
|
-
}
|
|
308
|
-
/* DO NOT CHANGE!*/
|
|
309
|
-
/* 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.34-beta.0",
|
|
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.17.
|
|
34
|
-
"@entur/layout": "^2.3.
|
|
35
|
-
"@entur/tokens": "^3.15.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.86-beta.0",
|
|
31
|
+
"@entur/button": "^3.2.26-beta.0",
|
|
32
|
+
"@entur/expand": "^3.5.15-beta.0",
|
|
33
|
+
"@entur/icons": "^6.17.2-beta.0",
|
|
34
|
+
"@entur/layout": "^2.3.10-beta.0",
|
|
35
|
+
"@entur/tokens": "^3.15.1-beta.0",
|
|
36
|
+
"@entur/typography": "^1.8.39-beta.0",
|
|
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": "ea1ac384e3dcc4ad6a5949dbb85c5eb271d5e8a1"
|
|
43
43
|
}
|