@entur/menu 4.1.30 → 4.1.31

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 +49 -49
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -50,6 +50,55 @@
50
50
  }
51
51
  /* DO NOT CHANGE!*/
52
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. */
53
102
  /* DO NOT CHANGE!*/
54
103
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
55
104
  .eds-side-navigation,
@@ -270,55 +319,6 @@
270
319
  }
271
320
  /* DO NOT CHANGE!*/
272
321
  /* 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
322
  .eds-stepper {
323
323
  display: flex;
324
324
  flex-direction: row;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.1.30",
3
+ "version": "4.1.31",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/menu.esm.js",
@@ -28,10 +28,10 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.59",
31
- "@entur/button": "^2.10.15",
32
- "@entur/expand": "^3.3.36",
33
- "@entur/icons": "^5.8.1",
34
- "@entur/layout": "^2.1.22",
31
+ "@entur/button": "^3.0.0",
32
+ "@entur/expand": "^3.3.37",
33
+ "@entur/icons": "^6.0.0",
34
+ "@entur/layout": "^2.1.23",
35
35
  "@entur/tokens": "^3.8.0",
36
36
  "@entur/typography": "^1.7.11",
37
37
  "@entur/utils": "^0.5.5",
@@ -39,5 +39,5 @@
39
39
  "@reach/polymorphic": "0.18.0",
40
40
  "classnames": "^2.3.1"
41
41
  },
42
- "gitHead": "8019b1b3a39b30bf1052ae34ed1c06b6caf1aa34"
42
+ "gitHead": "48cdba2e353c9311d52550a98c6b025deb7b8270"
43
43
  }