@entur/menu 5.0.5 → 5.0.6-alpha.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 +54 -54
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -1,5 +1,59 @@
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
+ text-decoration: none;
23
+ color: var(--components-menu-breadcrumb-standard-text);
24
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 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
+ color: var(--components-menu-breadcrumb-contrast-text);
31
+ background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
32
+ }
33
+ .eds-breadcrumb__link:hover {
34
+ animation: eds-breadcrumb-underline 0.3s ease-in;
35
+ }
36
+ .eds-breadcrumb__link:focus {
37
+ outline: 2px solid #181c56;
38
+ outline-color: var(--basecolors-stroke-focus-standard);
39
+ outline-offset: 0.125rem;
40
+ }
41
+ .eds-contrast .eds-breadcrumb__link:focus {
42
+ outline-color: var(--basecolors-stroke-focus-contrast);
43
+ }
44
+ @keyframes eds-breadcrumb-underline {
45
+ from {
46
+ background-size: 0% 0.125rem;
47
+ }
48
+ to {
49
+ background-size: 100% 0.125rem;
50
+ }
51
+ }
52
+ .eds-breadcrumb__link--current {
53
+ font-weight: 600;
54
+ }
55
+ /* DO NOT CHANGE!*/
56
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
57
  .eds-side-navigation,
4
58
  .eds-side-navigation-group {
5
59
  color: var(--components-menu-sidenavigation-standard-text);
@@ -253,60 +307,6 @@
253
307
  }
254
308
  /* DO NOT CHANGE!*/
255
309
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
256
- .eds-breadcrumb {
257
- list-style: none;
258
- margin: 0;
259
- padding: 0;
260
- }
261
-
262
- .eds-breadcrumb__item {
263
- display: inline-block;
264
- color: var(--components-menu-breadcrumb-standard-text);
265
- }
266
- .eds-contrast .eds-breadcrumb__item {
267
- color: var(--components-menu-breadcrumb-contrast-text);
268
- }
269
-
270
- .eds-breadcrumb__separator {
271
- margin: 0 0.25rem 0 0.25rem;
272
- }
273
-
274
- .eds-breadcrumb__link {
275
- text-decoration: none;
276
- color: var(--components-menu-breadcrumb-standard-text);
277
- background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-standard-text) 0%, var(--components-menu-breadcrumb-standard-text) 100%);
278
- background-repeat: no-repeat;
279
- background-size: 100% 0.125rem;
280
- background-position: 0 100%;
281
- }
282
- .eds-contrast .eds-breadcrumb__link {
283
- color: var(--components-menu-breadcrumb-contrast-text);
284
- background-image: linear-gradient(120deg, var(--components-menu-breadcrumb-contrast-text) 0%, var(--components-menu-breadcrumb-contrast-text) 100%);
285
- }
286
- .eds-breadcrumb__link:hover {
287
- animation: eds-breadcrumb-underline 0.3s ease-in;
288
- }
289
- .eds-breadcrumb__link:focus {
290
- outline: 2px solid #181c56;
291
- outline-color: var(--basecolors-stroke-focus-standard);
292
- outline-offset: 0.125rem;
293
- }
294
- .eds-contrast .eds-breadcrumb__link:focus {
295
- outline-color: var(--basecolors-stroke-focus-contrast);
296
- }
297
- @keyframes eds-breadcrumb-underline {
298
- from {
299
- background-size: 0% 0.125rem;
300
- }
301
- to {
302
- background-size: 100% 0.125rem;
303
- }
304
- }
305
- .eds-breadcrumb__link--current {
306
- font-weight: 600;
307
- }
308
- /* DO NOT CHANGE!*/
309
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
310
310
  .eds-overflow-menu__menu-list {
311
311
  box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
312
312
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "5.0.5",
3
+ "version": "5.0.6-alpha.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.93",
31
- "@entur/button": "^3.2.36",
32
- "@entur/expand": "^3.5.25",
30
+ "@entur/a11y": "^0.2.94-alpha.0",
31
+ "@entur/button": "^3.2.37-alpha.0",
32
+ "@entur/expand": "^3.5.26-alpha.0",
33
33
  "@entur/icons": "^7.5.0",
34
- "@entur/layout": "^2.3.20",
34
+ "@entur/layout": "^2.3.21-alpha.0",
35
35
  "@entur/tokens": "^3.17.3",
36
- "@entur/tooltip": "^5.1.3",
37
- "@entur/typography": "^1.8.49",
38
- "@entur/utils": "^0.12.1",
36
+ "@entur/tooltip": "^5.1.4-alpha.0",
37
+ "@entur/typography": "^1.8.50-alpha.0",
38
+ "@entur/utils": "^1.0.0-alpha.0",
39
39
  "@floating-ui/react": "^0.26.23",
40
40
  "classnames": "^2.3.1"
41
41
  },
42
- "gitHead": "7b67c7eded2ea9495ba4e21a9bef33c1a82d4a43"
42
+ "gitHead": "b653c119e54372ec210ed20aa99ded642f114c69"
43
43
  }