@entur/menu 4.1.41 → 4.1.43

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.
Files changed (2) hide show
  1. package/dist/styles.css +95 -95
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -4,101 +4,6 @@
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. */
53
- .eds-top-navigation-item {
54
- --show-active-line: 0;
55
- display: inline-block;
56
- cursor: pointer;
57
- color: inherit;
58
- text-decoration: none;
59
- position: relative;
60
- padding: 1rem;
61
- min-width: 5rem;
62
- width: -moz-fit-content;
63
- width: fit-content;
64
- text-align: center;
65
- font-family: inherit;
66
- font-size: 1rem;
67
- font-weight: 600;
68
- }
69
- .eds-top-navigation-item::after {
70
- content: "";
71
- display: block;
72
- bottom: 1rem;
73
- height: 0.1875rem;
74
- width: 0;
75
- margin: 0 auto;
76
- opacity: var(--show-active-line);
77
- background: #ff5959;
78
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
79
- }
80
- .eds-top-navigation-item:focus {
81
- outline-offset: 0.125rem;
82
- outline: none;
83
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
84
- }
85
- .eds-contrast .eds-top-navigation-item:focus {
86
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
87
- }
88
- .eds-top-navigation-item:hover {
89
- --show-active-line: 1;
90
- }
91
- .eds-top-navigation-item:hover::after {
92
- width: 2rem;
93
- }
94
- .eds-top-navigation-item--active {
95
- --show-active-line: 1;
96
- }
97
- .eds-top-navigation-item--active::after {
98
- width: 2rem;
99
- }
100
- /* DO NOT CHANGE!*/
101
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
102
7
  /* DO NOT CHANGE!*/
103
8
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
104
9
  .eds-side-navigation,
@@ -319,6 +224,52 @@
319
224
  }
320
225
  /* DO NOT CHANGE!*/
321
226
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
227
+ .eds-breadcrumb {
228
+ list-style: none;
229
+ margin: 0;
230
+ padding: 0;
231
+ }
232
+
233
+ .eds-breadcrumb__item {
234
+ 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;
243
+ color: inherit;
244
+ background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
245
+ background-repeat: no-repeat;
246
+ background-size: 100% 0.125rem;
247
+ background-position: 0 100%;
248
+ }
249
+ .eds-contrast .eds-breadcrumb__link {
250
+ background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
251
+ }
252
+ .eds-breadcrumb__link:hover {
253
+ animation: eds-breadcrumb-underline 0.3s ease-in;
254
+ }
255
+ .eds-breadcrumb__link:focus {
256
+ outline: none;
257
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
258
+ outline-offset: 0.125rem;
259
+ }
260
+ @keyframes eds-breadcrumb-underline {
261
+ from {
262
+ background-size: 0% 0.125rem;
263
+ }
264
+ to {
265
+ background-size: 100% 0.125rem;
266
+ }
267
+ }
268
+ .eds-breadcrumb__link--current {
269
+ font-weight: 600;
270
+ }
271
+ /* DO NOT CHANGE!*/
272
+ /* 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;
@@ -682,3 +633,52 @@
682
633
  position: relative;
683
634
  right: calc(100% - 2rem);
684
635
  }
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.41",
3
+ "version": "4.1.43",
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.65",
31
- "@entur/button": "^3.0.7",
32
- "@entur/expand": "^3.4.0",
33
- "@entur/icons": "^6.3.0",
34
- "@entur/layout": "^2.1.32",
35
- "@entur/tokens": "^3.9.0",
36
- "@entur/typography": "^1.7.17",
37
- "@entur/utils": "^0.9.0",
30
+ "@entur/a11y": "^0.2.66",
31
+ "@entur/button": "^3.0.9",
32
+ "@entur/expand": "^3.4.2",
33
+ "@entur/icons": "^6.3.1",
34
+ "@entur/layout": "^2.1.34",
35
+ "@entur/tokens": "^3.10.0",
36
+ "@entur/typography": "^1.8.1",
37
+ "@entur/utils": "^0.9.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": "a4e1d50fdac6ac767d5a90e92360c8d07e7c5e9c"
42
+ "gitHead": "de2304501aabbda4457d9dbfe30671786b91474e"
43
43
  }