@entur/menu 4.2.8 → 4.2.10-RC.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.
Files changed (2) hide show
  1. package/dist/styles.css +49 -49
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -1,5 +1,54 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-top-navigation-item {
4
+ --show-active-line: 0;
5
+ display: inline-block;
6
+ cursor: pointer;
7
+ color: inherit;
8
+ text-decoration: none;
9
+ position: relative;
10
+ padding: 1rem;
11
+ min-width: 5rem;
12
+ width: -moz-fit-content;
13
+ width: fit-content;
14
+ text-align: center;
15
+ font-family: inherit;
16
+ font-size: 1rem;
17
+ font-weight: 600;
18
+ }
19
+ .eds-top-navigation-item::after {
20
+ content: "";
21
+ display: block;
22
+ bottom: 1rem;
23
+ height: 0.1875rem;
24
+ width: 0;
25
+ margin: 0 auto;
26
+ opacity: var(--show-active-line);
27
+ background: #ff5959;
28
+ transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
29
+ }
30
+ .eds-top-navigation-item:focus {
31
+ outline-offset: 0.125rem;
32
+ outline: none;
33
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
34
+ }
35
+ .eds-contrast .eds-top-navigation-item:focus {
36
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
37
+ }
38
+ .eds-top-navigation-item:hover {
39
+ --show-active-line: 1;
40
+ }
41
+ .eds-top-navigation-item:hover::after {
42
+ width: 2rem;
43
+ }
44
+ .eds-top-navigation-item--active {
45
+ --show-active-line: 1;
46
+ }
47
+ .eds-top-navigation-item--active::after {
48
+ width: 2rem;
49
+ }
50
+ /* DO NOT CHANGE!*/
51
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
52
  .eds-side-navigation,
4
53
  .eds-side-navigation-group {
5
54
  --primary-background-color: #f8f8f8;
@@ -264,55 +313,6 @@
264
313
  }
265
314
  /* DO NOT CHANGE!*/
266
315
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
267
- .eds-top-navigation-item {
268
- --show-active-line: 0;
269
- display: inline-block;
270
- cursor: pointer;
271
- color: inherit;
272
- text-decoration: none;
273
- position: relative;
274
- padding: 1rem;
275
- min-width: 5rem;
276
- width: -moz-fit-content;
277
- width: fit-content;
278
- text-align: center;
279
- font-family: inherit;
280
- font-size: 1rem;
281
- font-weight: 600;
282
- }
283
- .eds-top-navigation-item::after {
284
- content: "";
285
- display: block;
286
- bottom: 1rem;
287
- height: 0.1875rem;
288
- width: 0;
289
- margin: 0 auto;
290
- opacity: var(--show-active-line);
291
- background: #ff5959;
292
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
293
- }
294
- .eds-top-navigation-item:focus {
295
- outline-offset: 0.125rem;
296
- outline: none;
297
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
298
- }
299
- .eds-contrast .eds-top-navigation-item:focus {
300
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
301
- }
302
- .eds-top-navigation-item:hover {
303
- --show-active-line: 1;
304
- }
305
- .eds-top-navigation-item:hover::after {
306
- width: 2rem;
307
- }
308
- .eds-top-navigation-item--active {
309
- --show-active-line: 1;
310
- }
311
- .eds-top-navigation-item--active::after {
312
- width: 2rem;
313
- }
314
- /* DO NOT CHANGE!*/
315
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
316
316
  .eds-pagination {
317
317
  align-items: center;
318
318
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.2.8",
3
+ "version": "4.2.10-RC.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.72",
31
- "@entur/button": "^3.2.2",
32
- "@entur/expand": "^3.4.18",
33
- "@entur/icons": "^6.12.1",
34
- "@entur/layout": "^2.1.50",
35
- "@entur/tokens": "^3.11.1",
36
- "@entur/typography": "^1.8.17",
30
+ "@entur/a11y": "^0.2.73-RC.0",
31
+ "@entur/button": "^3.2.4-RC.0",
32
+ "@entur/expand": "^3.4.20-RC.0",
33
+ "@entur/icons": "^6.13.1-RC.0",
34
+ "@entur/layout": "^2.1.52-RC.0",
35
+ "@entur/tokens": "^3.11.2-RC.0",
36
+ "@entur/typography": "^1.8.19-RC.0",
37
37
  "@entur/utils": "^0.9.5",
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": "3fc001a78ef085d8fd22bb8aa245ec488214de72"
42
+ "gitHead": "ffc1bbef705504dd4e8df8abccc435dd01513ce3"
43
43
  }