@entur/menu 5.2.1-beta.7 → 5.2.1-beta.8
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 +112 -112
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,60 @@
|
|
|
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
|
+
-webkit-text-decoration: none;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
color: var(--components-menu-breadcrumb-standard-text);
|
|
25
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
26
|
+
background-repeat: no-repeat;
|
|
27
|
+
background-size: 100% 0.125rem;
|
|
28
|
+
background-position: 0 100%;
|
|
29
|
+
}
|
|
30
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
31
|
+
color: var(--components-menu-breadcrumb-contrast-text);
|
|
32
|
+
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
33
|
+
}
|
|
34
|
+
.eds-breadcrumb__link:hover {
|
|
35
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
36
|
+
}
|
|
37
|
+
.eds-breadcrumb__link:focus-visible {
|
|
38
|
+
outline: 2px solid #181c56;
|
|
39
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
40
|
+
outline-offset: 0.125rem;
|
|
41
|
+
}
|
|
42
|
+
.eds-contrast .eds-breadcrumb__link:focus-visible {
|
|
43
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
44
|
+
}
|
|
45
|
+
@keyframes eds-breadcrumb-underline {
|
|
46
|
+
from {
|
|
47
|
+
background-size: 0% 0.125rem;
|
|
48
|
+
}
|
|
49
|
+
to {
|
|
50
|
+
background-size: 100% 0.125rem;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.eds-breadcrumb__link--current {
|
|
54
|
+
font-weight: 600;
|
|
55
|
+
}
|
|
56
|
+
/* DO NOT CHANGE!*/
|
|
57
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
58
|
.eds-overflow-menu__menu-list {
|
|
4
59
|
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
5
60
|
overflow: hidden;
|
|
@@ -275,61 +330,6 @@
|
|
|
275
330
|
}
|
|
276
331
|
/* DO NOT CHANGE!*/
|
|
277
332
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
278
|
-
.eds-breadcrumb {
|
|
279
|
-
list-style: none;
|
|
280
|
-
margin: 0;
|
|
281
|
-
padding: 0;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.eds-breadcrumb__item {
|
|
285
|
-
display: inline-block;
|
|
286
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
287
|
-
}
|
|
288
|
-
.eds-contrast .eds-breadcrumb__item {
|
|
289
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
.eds-breadcrumb__separator {
|
|
293
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
.eds-breadcrumb__link {
|
|
297
|
-
-webkit-text-decoration: none;
|
|
298
|
-
text-decoration: none;
|
|
299
|
-
color: var(--components-menu-breadcrumb-standard-text);
|
|
300
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
|
|
301
|
-
background-repeat: no-repeat;
|
|
302
|
-
background-size: 100% 0.125rem;
|
|
303
|
-
background-position: 0 100%;
|
|
304
|
-
}
|
|
305
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
306
|
-
color: var(--components-menu-breadcrumb-contrast-text);
|
|
307
|
-
background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
|
|
308
|
-
}
|
|
309
|
-
.eds-breadcrumb__link:hover {
|
|
310
|
-
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
311
|
-
}
|
|
312
|
-
.eds-breadcrumb__link:focus-visible {
|
|
313
|
-
outline: 2px solid #181c56;
|
|
314
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
315
|
-
outline-offset: 0.125rem;
|
|
316
|
-
}
|
|
317
|
-
.eds-contrast .eds-breadcrumb__link:focus-visible {
|
|
318
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
319
|
-
}
|
|
320
|
-
@keyframes eds-breadcrumb-underline {
|
|
321
|
-
from {
|
|
322
|
-
background-size: 0% 0.125rem;
|
|
323
|
-
}
|
|
324
|
-
to {
|
|
325
|
-
background-size: 100% 0.125rem;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
.eds-breadcrumb__link--current {
|
|
329
|
-
font-weight: 600;
|
|
330
|
-
}
|
|
331
|
-
/* DO NOT CHANGE!*/
|
|
332
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
333
333
|
.eds-pagination {
|
|
334
334
|
align-items: center;
|
|
335
335
|
display: flex;
|
|
@@ -609,6 +609,63 @@
|
|
|
609
609
|
}
|
|
610
610
|
/* DO NOT CHANGE!*/
|
|
611
611
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
612
|
+
.eds-top-navigation-item {
|
|
613
|
+
--show-active-line: 0;
|
|
614
|
+
display: inline-block;
|
|
615
|
+
cursor: pointer;
|
|
616
|
+
color: var(--components-menu-navigationbar-standard-text-unselected);
|
|
617
|
+
-webkit-text-decoration: none;
|
|
618
|
+
text-decoration: none;
|
|
619
|
+
position: relative;
|
|
620
|
+
padding: 1rem;
|
|
621
|
+
min-width: 5rem;
|
|
622
|
+
width: -moz-fit-content;
|
|
623
|
+
width: fit-content;
|
|
624
|
+
text-align: center;
|
|
625
|
+
font-family: inherit;
|
|
626
|
+
font-size: 1rem;
|
|
627
|
+
font-weight: 600;
|
|
628
|
+
}
|
|
629
|
+
.eds-top-navigation-item::after {
|
|
630
|
+
content: "";
|
|
631
|
+
display: block;
|
|
632
|
+
bottom: 1rem;
|
|
633
|
+
height: 0.1875rem;
|
|
634
|
+
width: 0;
|
|
635
|
+
margin: 0 auto;
|
|
636
|
+
opacity: var(--show-active-line);
|
|
637
|
+
background: var(--components-menu-navigationbar-standard-stroke-selected);
|
|
638
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
639
|
+
}
|
|
640
|
+
.eds-contrast .eds-top-navigation-item {
|
|
641
|
+
color: var(--components-menu-navigationbar-contrast-text-unselected);
|
|
642
|
+
}
|
|
643
|
+
.eds-top-navigation-item:focus-visible {
|
|
644
|
+
outline: 2px solid #181c56;
|
|
645
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
646
|
+
outline-offset: 0.125rem;
|
|
647
|
+
}
|
|
648
|
+
.eds-contrast .eds-top-navigation-item:focus-visible {
|
|
649
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
650
|
+
}
|
|
651
|
+
.eds-top-navigation-item:hover {
|
|
652
|
+
--show-active-line: 1;
|
|
653
|
+
}
|
|
654
|
+
.eds-top-navigation-item:hover::after {
|
|
655
|
+
width: 2rem;
|
|
656
|
+
}
|
|
657
|
+
.eds-top-navigation-item--active {
|
|
658
|
+
color: var(--components-menu-navigationbar-standard-text-selected);
|
|
659
|
+
--show-active-line: 1;
|
|
660
|
+
}
|
|
661
|
+
.eds-top-navigation-item--active::after {
|
|
662
|
+
width: 2rem;
|
|
663
|
+
}
|
|
664
|
+
.eds-contrast .eds-top-navigation-item--active {
|
|
665
|
+
color: var(--components-menu-navigationbar-contrast-text-selected);
|
|
666
|
+
}
|
|
667
|
+
/* DO NOT CHANGE!*/
|
|
668
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
612
669
|
/* DO NOT CHANGE!*/
|
|
613
670
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
614
671
|
/* DO NOT CHANGE!*/
|
|
@@ -949,60 +1006,3 @@
|
|
|
949
1006
|
--eds-menu: 1;
|
|
950
1007
|
--reach-menu-button: 1;
|
|
951
1008
|
}
|
|
952
|
-
/* DO NOT CHANGE!*/
|
|
953
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
954
|
-
.eds-top-navigation-item {
|
|
955
|
-
--show-active-line: 0;
|
|
956
|
-
display: inline-block;
|
|
957
|
-
cursor: pointer;
|
|
958
|
-
color: var(--components-menu-navigationbar-standard-text-unselected);
|
|
959
|
-
-webkit-text-decoration: none;
|
|
960
|
-
text-decoration: none;
|
|
961
|
-
position: relative;
|
|
962
|
-
padding: 1rem;
|
|
963
|
-
min-width: 5rem;
|
|
964
|
-
width: -moz-fit-content;
|
|
965
|
-
width: fit-content;
|
|
966
|
-
text-align: center;
|
|
967
|
-
font-family: inherit;
|
|
968
|
-
font-size: 1rem;
|
|
969
|
-
font-weight: 600;
|
|
970
|
-
}
|
|
971
|
-
.eds-top-navigation-item::after {
|
|
972
|
-
content: "";
|
|
973
|
-
display: block;
|
|
974
|
-
bottom: 1rem;
|
|
975
|
-
height: 0.1875rem;
|
|
976
|
-
width: 0;
|
|
977
|
-
margin: 0 auto;
|
|
978
|
-
opacity: var(--show-active-line);
|
|
979
|
-
background: var(--components-menu-navigationbar-standard-stroke-selected);
|
|
980
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
981
|
-
}
|
|
982
|
-
.eds-contrast .eds-top-navigation-item {
|
|
983
|
-
color: var(--components-menu-navigationbar-contrast-text-unselected);
|
|
984
|
-
}
|
|
985
|
-
.eds-top-navigation-item:focus-visible {
|
|
986
|
-
outline: 2px solid #181c56;
|
|
987
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
988
|
-
outline-offset: 0.125rem;
|
|
989
|
-
}
|
|
990
|
-
.eds-contrast .eds-top-navigation-item:focus-visible {
|
|
991
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
992
|
-
}
|
|
993
|
-
.eds-top-navigation-item:hover {
|
|
994
|
-
--show-active-line: 1;
|
|
995
|
-
}
|
|
996
|
-
.eds-top-navigation-item:hover::after {
|
|
997
|
-
width: 2rem;
|
|
998
|
-
}
|
|
999
|
-
.eds-top-navigation-item--active {
|
|
1000
|
-
color: var(--components-menu-navigationbar-standard-text-selected);
|
|
1001
|
-
--show-active-line: 1;
|
|
1002
|
-
}
|
|
1003
|
-
.eds-top-navigation-item--active::after {
|
|
1004
|
-
width: 2rem;
|
|
1005
|
-
}
|
|
1006
|
-
.eds-contrast .eds-top-navigation-item--active {
|
|
1007
|
-
color: var(--components-menu-navigationbar-contrast-text-selected);
|
|
1008
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "5.2.1-beta.
|
|
3
|
+
"version": "5.2.1-beta.8",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.99",
|
|
31
|
-
"@entur/button": "^3.3.13-beta.
|
|
32
|
-
"@entur/expand": "^3.6.13-beta.
|
|
31
|
+
"@entur/button": "^3.3.13-beta.8",
|
|
32
|
+
"@entur/expand": "^3.6.13-beta.8",
|
|
33
33
|
"@entur/icons": "^8.0.0",
|
|
34
|
-
"@entur/layout": "^3.1.9-beta.
|
|
34
|
+
"@entur/layout": "^3.1.9-beta.8",
|
|
35
35
|
"@entur/tokens": "^3.19.1",
|
|
36
|
-
"@entur/tooltip": "^5.2.13-beta.
|
|
37
|
-
"@entur/typography": "^1.10.0-beta.
|
|
36
|
+
"@entur/tooltip": "^5.2.13-beta.8",
|
|
37
|
+
"@entur/typography": "^1.10.0-beta.8",
|
|
38
38
|
"@entur/utils": "^0.12.3",
|
|
39
39
|
"@floating-ui/react": "^0.26.23",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"dts-cli": "2.0.5"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "75f853e86839313d80d1ea5aa89fb133f42102de"
|
|
46
46
|
}
|