@entur/menu 5.2.1-beta.6 → 5.2.1-beta.7

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 +112 -112
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -45,61 +45,6 @@
45
45
  }
46
46
  /* DO NOT CHANGE!*/
47
47
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
- .eds-breadcrumb {
49
- list-style: none;
50
- margin: 0;
51
- padding: 0;
52
- }
53
-
54
- .eds-breadcrumb__item {
55
- display: inline-block;
56
- color: var(--components-menu-breadcrumb-standard-text);
57
- }
58
- .eds-contrast .eds-breadcrumb__item {
59
- color: var(--components-menu-breadcrumb-contrast-text);
60
- }
61
-
62
- .eds-breadcrumb__separator {
63
- margin: 0 0.25rem 0 0.25rem;
64
- }
65
-
66
- .eds-breadcrumb__link {
67
- -webkit-text-decoration: none;
68
- text-decoration: none;
69
- color: var(--components-menu-breadcrumb-standard-text);
70
- background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
71
- background-repeat: no-repeat;
72
- background-size: 100% 0.125rem;
73
- background-position: 0 100%;
74
- }
75
- .eds-contrast .eds-breadcrumb__link {
76
- color: var(--components-menu-breadcrumb-contrast-text);
77
- background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
78
- }
79
- .eds-breadcrumb__link:hover {
80
- animation: eds-breadcrumb-underline 0.3s ease-in;
81
- }
82
- .eds-breadcrumb__link:focus-visible {
83
- outline: 2px solid #181c56;
84
- outline-color: var(--basecolors-stroke-focus-standard);
85
- outline-offset: 0.125rem;
86
- }
87
- .eds-contrast .eds-breadcrumb__link:focus-visible {
88
- outline-color: var(--basecolors-stroke-focus-contrast);
89
- }
90
- @keyframes eds-breadcrumb-underline {
91
- from {
92
- background-size: 0% 0.125rem;
93
- }
94
- to {
95
- background-size: 100% 0.125rem;
96
- }
97
- }
98
- .eds-breadcrumb__link--current {
99
- font-weight: 600;
100
- }
101
- /* DO NOT CHANGE!*/
102
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
103
48
  .eds-side-navigation,
104
49
  .eds-side-navigation-group {
105
50
  color: var(--components-menu-sidenavigation-standard-text);
@@ -330,6 +275,61 @@
330
275
  }
331
276
  /* DO NOT CHANGE!*/
332
277
  /* 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;
@@ -491,63 +491,6 @@
491
491
  }
492
492
  /* DO NOT CHANGE!*/
493
493
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
494
- .eds-top-navigation-item {
495
- --show-active-line: 0;
496
- display: inline-block;
497
- cursor: pointer;
498
- color: var(--components-menu-navigationbar-standard-text-unselected);
499
- -webkit-text-decoration: none;
500
- text-decoration: none;
501
- position: relative;
502
- padding: 1rem;
503
- min-width: 5rem;
504
- width: -moz-fit-content;
505
- width: fit-content;
506
- text-align: center;
507
- font-family: inherit;
508
- font-size: 1rem;
509
- font-weight: 600;
510
- }
511
- .eds-top-navigation-item::after {
512
- content: "";
513
- display: block;
514
- bottom: 1rem;
515
- height: 0.1875rem;
516
- width: 0;
517
- margin: 0 auto;
518
- opacity: var(--show-active-line);
519
- background: var(--components-menu-navigationbar-standard-stroke-selected);
520
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
521
- }
522
- .eds-contrast .eds-top-navigation-item {
523
- color: var(--components-menu-navigationbar-contrast-text-unselected);
524
- }
525
- .eds-top-navigation-item:focus-visible {
526
- outline: 2px solid #181c56;
527
- outline-color: var(--basecolors-stroke-focus-standard);
528
- outline-offset: 0.125rem;
529
- }
530
- .eds-contrast .eds-top-navigation-item:focus-visible {
531
- outline-color: var(--basecolors-stroke-focus-contrast);
532
- }
533
- .eds-top-navigation-item:hover {
534
- --show-active-line: 1;
535
- }
536
- .eds-top-navigation-item:hover::after {
537
- width: 2rem;
538
- }
539
- .eds-top-navigation-item--active {
540
- color: var(--components-menu-navigationbar-standard-text-selected);
541
- --show-active-line: 1;
542
- }
543
- .eds-top-navigation-item--active::after {
544
- width: 2rem;
545
- }
546
- .eds-contrast .eds-top-navigation-item--active {
547
- color: var(--components-menu-navigationbar-contrast-text-selected);
548
- }
549
- /* DO NOT CHANGE!*/
550
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
551
494
  .eds-stepper {
552
495
  --text-color: var(--components-menu-stepper-standard-text-uncompleted);
553
496
  --line-color: var(--components-menu-stepper-standard-background);
@@ -1006,3 +949,60 @@
1006
949
  --eds-menu: 1;
1007
950
  --reach-menu-button: 1;
1008
951
  }
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.6",
3
+ "version": "5.2.1-beta.7",
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.6",
32
- "@entur/expand": "^3.6.13-beta.6",
31
+ "@entur/button": "^3.3.13-beta.7",
32
+ "@entur/expand": "^3.6.13-beta.7",
33
33
  "@entur/icons": "^8.0.0",
34
- "@entur/layout": "^3.1.9-beta.6",
34
+ "@entur/layout": "^3.1.9-beta.7",
35
35
  "@entur/tokens": "^3.19.1",
36
- "@entur/tooltip": "^5.2.13-beta.6",
37
- "@entur/typography": "^1.10.0-beta.6",
36
+ "@entur/tooltip": "^5.2.13-beta.7",
37
+ "@entur/typography": "^1.10.0-beta.7",
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": "42c5a2e7657f2b5ca17328fcf55873b19e23f94a"
45
+ "gitHead": "26b5f016229bb0115d5f31ce51e15eafd015a870"
46
46
  }