@entur/menu 4.1.16 → 4.1.17
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.
- package/CHANGELOG.md +4 -0
- package/dist/styles.css +168 -168
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [4.1.17](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.16...@entur/menu@4.1.17) (2022-10-31)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
6
10
|
## [4.1.16](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.15...@entur/menu@4.1.16) (2022-10-31)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @entur/menu
|
package/dist/styles.css
CHANGED
|
@@ -3,60 +3,6 @@
|
|
|
3
3
|
--reach-menu-button: 1;
|
|
4
4
|
}/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
-
.eds-breadcrumb {
|
|
7
|
-
list-style: none;
|
|
8
|
-
margin: 0;
|
|
9
|
-
padding: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.eds-breadcrumb__item {
|
|
13
|
-
display: inline-block;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.eds-breadcrumb__separator {
|
|
17
|
-
margin: 0 0.25rem 0 0.25rem;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.eds-breadcrumb__link {
|
|
21
|
-
text-decoration: none;
|
|
22
|
-
color: inherit;
|
|
23
|
-
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
24
|
-
background-repeat: no-repeat;
|
|
25
|
-
background-size: 100% 0.125rem;
|
|
26
|
-
background-position: 0 100%;
|
|
27
|
-
}
|
|
28
|
-
.eds-contrast .eds-breadcrumb__link {
|
|
29
|
-
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
30
|
-
}
|
|
31
|
-
.eds-breadcrumb__link:hover {
|
|
32
|
-
-webkit-animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
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
|
-
@-webkit-keyframes eds-breadcrumb-underline {
|
|
41
|
-
from {
|
|
42
|
-
background-size: 0% 0.125rem;
|
|
43
|
-
}
|
|
44
|
-
to {
|
|
45
|
-
background-size: 100% 0.125rem;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
@keyframes eds-breadcrumb-underline {
|
|
49
|
-
from {
|
|
50
|
-
background-size: 0% 0.125rem;
|
|
51
|
-
}
|
|
52
|
-
to {
|
|
53
|
-
background-size: 100% 0.125rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.eds-breadcrumb__link--current {
|
|
57
|
-
font-weight: 600;
|
|
58
|
-
}/* DO NOT CHANGE!*/
|
|
59
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
60
6
|
.eds-top-navigation-item {
|
|
61
7
|
--show-active-line: 0;
|
|
62
8
|
display: inline-block;
|
|
@@ -106,6 +52,120 @@
|
|
|
106
52
|
width: 2rem;
|
|
107
53
|
}/* DO NOT CHANGE!*/
|
|
108
54
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
|
+
.eds-stepper {
|
|
56
|
+
display: flex;
|
|
57
|
+
flex-direction: row;
|
|
58
|
+
}
|
|
59
|
+
.eds-stepper__item__container {
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
font-family: inherit;
|
|
62
|
+
text-transform: none;
|
|
63
|
+
-webkit-appearance: none;
|
|
64
|
+
-moz-appearance: none;
|
|
65
|
+
appearance: none;
|
|
66
|
+
background: none;
|
|
67
|
+
border: none;
|
|
68
|
+
margin: 0;
|
|
69
|
+
padding: 0;
|
|
70
|
+
align-items: inherit;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-grow: 1;
|
|
73
|
+
flex-basis: 0;
|
|
74
|
+
flex-direction: column;
|
|
75
|
+
margin-left: 0.25rem;
|
|
76
|
+
}
|
|
77
|
+
.eds-stepper__item__container--non-interactive {
|
|
78
|
+
cursor: default;
|
|
79
|
+
}
|
|
80
|
+
.eds-stepper__item__container: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-stepper__item__container:focus {
|
|
86
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
87
|
+
}
|
|
88
|
+
.eds-stepper__item__container:first-child {
|
|
89
|
+
margin-left: 0;
|
|
90
|
+
}
|
|
91
|
+
.eds-stepper__item__label {
|
|
92
|
+
cursor: inherit;
|
|
93
|
+
flex-grow: 1;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
text-align: center;
|
|
96
|
+
font-size: 0.875rem;
|
|
97
|
+
padding: 0.25rem 1rem;
|
|
98
|
+
}
|
|
99
|
+
.eds-stepper__item__label--active {
|
|
100
|
+
font-weight: 600;
|
|
101
|
+
}
|
|
102
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
103
|
+
color: #181c56;
|
|
104
|
+
}
|
|
105
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
106
|
+
color: #ffffff;
|
|
107
|
+
}
|
|
108
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
109
|
+
color: #181c56;
|
|
110
|
+
}
|
|
111
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
112
|
+
color: #ffffff;
|
|
113
|
+
}
|
|
114
|
+
.eds-stepper__item__square {
|
|
115
|
+
height: 0.5rem;
|
|
116
|
+
}
|
|
117
|
+
.eds-stepper__item__square--active {
|
|
118
|
+
color: inherit;
|
|
119
|
+
background: #e9e9e9;
|
|
120
|
+
position: relative;
|
|
121
|
+
}
|
|
122
|
+
.eds-stepper__item__square--active:before {
|
|
123
|
+
background: #181c56;
|
|
124
|
+
content: "";
|
|
125
|
+
position: absolute;
|
|
126
|
+
right: calc(50% - 0.2rem);
|
|
127
|
+
border-radius: 0.0625rem;
|
|
128
|
+
bottom: 0.0625rem;
|
|
129
|
+
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
130
|
+
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
131
|
+
transform: rotate(45deg);
|
|
132
|
+
}
|
|
133
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
134
|
+
border-left-color: #aeb7e2;
|
|
135
|
+
border-left-color: #aeb7e2;
|
|
136
|
+
}
|
|
137
|
+
.eds-stepper__item__square--active:after {
|
|
138
|
+
content: "";
|
|
139
|
+
position: absolute;
|
|
140
|
+
left: 0;
|
|
141
|
+
bottom: 0;
|
|
142
|
+
width: 50%;
|
|
143
|
+
height: 0.5rem;
|
|
144
|
+
background: #181c56;
|
|
145
|
+
}
|
|
146
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
147
|
+
background: #aeb7e2;
|
|
148
|
+
}
|
|
149
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
150
|
+
background: #aeb7e2;
|
|
151
|
+
background: #393d79;
|
|
152
|
+
}
|
|
153
|
+
.eds-stepper__item__square--inactive {
|
|
154
|
+
color: #656782;
|
|
155
|
+
background: #e9e9e9;
|
|
156
|
+
}
|
|
157
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
158
|
+
color: #aeb7e2;
|
|
159
|
+
background: #393d79;
|
|
160
|
+
}
|
|
161
|
+
.eds-stepper__item__square--has-been {
|
|
162
|
+
color: inherit;
|
|
163
|
+
background: #181c56;
|
|
164
|
+
}
|
|
165
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
166
|
+
background: #aeb7e2;
|
|
167
|
+
}/* DO NOT CHANGE!*/
|
|
168
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
109
169
|
/* DO NOT CHANGE!*/
|
|
110
170
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
111
171
|
.eds-side-navigation,
|
|
@@ -325,6 +385,60 @@
|
|
|
325
385
|
outline: 2px solid #ffffff;
|
|
326
386
|
}/* DO NOT CHANGE!*/
|
|
327
387
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
388
|
+
.eds-breadcrumb {
|
|
389
|
+
list-style: none;
|
|
390
|
+
margin: 0;
|
|
391
|
+
padding: 0;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.eds-breadcrumb__item {
|
|
395
|
+
display: inline-block;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.eds-breadcrumb__separator {
|
|
399
|
+
margin: 0 0.25rem 0 0.25rem;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.eds-breadcrumb__link {
|
|
403
|
+
text-decoration: none;
|
|
404
|
+
color: inherit;
|
|
405
|
+
background-image: linear-gradient(120deg, #181c56 0%, #181c56 100%);
|
|
406
|
+
background-repeat: no-repeat;
|
|
407
|
+
background-size: 100% 0.125rem;
|
|
408
|
+
background-position: 0 100%;
|
|
409
|
+
}
|
|
410
|
+
.eds-contrast .eds-breadcrumb__link {
|
|
411
|
+
background-image: linear-gradient(120deg, #ffffff 0%, #ffffff 100%);
|
|
412
|
+
}
|
|
413
|
+
.eds-breadcrumb__link:hover {
|
|
414
|
+
-webkit-animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
415
|
+
animation: eds-breadcrumb-underline 0.3s ease-in;
|
|
416
|
+
}
|
|
417
|
+
.eds-breadcrumb__link:focus {
|
|
418
|
+
outline: none;
|
|
419
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
420
|
+
outline-offset: 0.125rem;
|
|
421
|
+
}
|
|
422
|
+
@-webkit-keyframes eds-breadcrumb-underline {
|
|
423
|
+
from {
|
|
424
|
+
background-size: 0% 0.125rem;
|
|
425
|
+
}
|
|
426
|
+
to {
|
|
427
|
+
background-size: 100% 0.125rem;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
@keyframes eds-breadcrumb-underline {
|
|
431
|
+
from {
|
|
432
|
+
background-size: 0% 0.125rem;
|
|
433
|
+
}
|
|
434
|
+
to {
|
|
435
|
+
background-size: 100% 0.125rem;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
.eds-breadcrumb__link--current {
|
|
439
|
+
font-weight: 600;
|
|
440
|
+
}/* DO NOT CHANGE!*/
|
|
441
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
328
442
|
.eds-overflow-menu__item {
|
|
329
443
|
-webkit-appearance: none;
|
|
330
444
|
-moz-appearance: none;
|
|
@@ -422,120 +536,6 @@
|
|
|
422
536
|
right: calc(100% - 2rem);
|
|
423
537
|
}/* DO NOT CHANGE!*/
|
|
424
538
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
425
|
-
.eds-stepper {
|
|
426
|
-
display: flex;
|
|
427
|
-
flex-direction: row;
|
|
428
|
-
}
|
|
429
|
-
.eds-stepper__item__container {
|
|
430
|
-
cursor: pointer;
|
|
431
|
-
font-family: inherit;
|
|
432
|
-
text-transform: none;
|
|
433
|
-
-webkit-appearance: none;
|
|
434
|
-
-moz-appearance: none;
|
|
435
|
-
appearance: none;
|
|
436
|
-
background: none;
|
|
437
|
-
border: none;
|
|
438
|
-
margin: 0;
|
|
439
|
-
padding: 0;
|
|
440
|
-
align-items: inherit;
|
|
441
|
-
display: flex;
|
|
442
|
-
flex-grow: 1;
|
|
443
|
-
flex-basis: 0;
|
|
444
|
-
flex-direction: column;
|
|
445
|
-
margin-left: 0.25rem;
|
|
446
|
-
}
|
|
447
|
-
.eds-stepper__item__container--non-interactive {
|
|
448
|
-
cursor: default;
|
|
449
|
-
}
|
|
450
|
-
.eds-stepper__item__container:focus {
|
|
451
|
-
outline-offset: 0.125rem;
|
|
452
|
-
outline: none;
|
|
453
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
454
|
-
}
|
|
455
|
-
.eds-contrast .eds-stepper__item__container:focus {
|
|
456
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
457
|
-
}
|
|
458
|
-
.eds-stepper__item__container:first-child {
|
|
459
|
-
margin-left: 0;
|
|
460
|
-
}
|
|
461
|
-
.eds-stepper__item__label {
|
|
462
|
-
cursor: inherit;
|
|
463
|
-
flex-grow: 1;
|
|
464
|
-
flex-direction: column;
|
|
465
|
-
text-align: center;
|
|
466
|
-
font-size: 0.875rem;
|
|
467
|
-
padding: 0.25rem 1rem;
|
|
468
|
-
}
|
|
469
|
-
.eds-stepper__item__label--active {
|
|
470
|
-
font-weight: 600;
|
|
471
|
-
}
|
|
472
|
-
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
473
|
-
color: #181c56;
|
|
474
|
-
}
|
|
475
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
476
|
-
color: #ffffff;
|
|
477
|
-
}
|
|
478
|
-
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
479
|
-
color: #181c56;
|
|
480
|
-
}
|
|
481
|
-
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
482
|
-
color: #ffffff;
|
|
483
|
-
}
|
|
484
|
-
.eds-stepper__item__square {
|
|
485
|
-
height: 0.5rem;
|
|
486
|
-
}
|
|
487
|
-
.eds-stepper__item__square--active {
|
|
488
|
-
color: inherit;
|
|
489
|
-
background: #e9e9e9;
|
|
490
|
-
position: relative;
|
|
491
|
-
}
|
|
492
|
-
.eds-stepper__item__square--active:before {
|
|
493
|
-
background: #181c56;
|
|
494
|
-
content: "";
|
|
495
|
-
position: absolute;
|
|
496
|
-
right: calc(50% - 0.2rem);
|
|
497
|
-
border-radius: 0.0625rem;
|
|
498
|
-
bottom: 0.0625rem;
|
|
499
|
-
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
500
|
-
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
501
|
-
transform: rotate(45deg);
|
|
502
|
-
}
|
|
503
|
-
.eds-contrast .eds-stepper__item__square--active:before {
|
|
504
|
-
border-left-color: #aeb7e2;
|
|
505
|
-
border-left-color: #aeb7e2;
|
|
506
|
-
}
|
|
507
|
-
.eds-stepper__item__square--active:after {
|
|
508
|
-
content: "";
|
|
509
|
-
position: absolute;
|
|
510
|
-
left: 0;
|
|
511
|
-
bottom: 0;
|
|
512
|
-
width: 50%;
|
|
513
|
-
height: 0.5rem;
|
|
514
|
-
background: #181c56;
|
|
515
|
-
}
|
|
516
|
-
.eds-contrast .eds-stepper__item__square--active:after {
|
|
517
|
-
background: #aeb7e2;
|
|
518
|
-
}
|
|
519
|
-
.eds-contrast .eds-stepper__item__square--active {
|
|
520
|
-
background: #aeb7e2;
|
|
521
|
-
background: #393d79;
|
|
522
|
-
}
|
|
523
|
-
.eds-stepper__item__square--inactive {
|
|
524
|
-
color: #656782;
|
|
525
|
-
background: #e9e9e9;
|
|
526
|
-
}
|
|
527
|
-
.eds-contrast .eds-stepper__item__square--inactive {
|
|
528
|
-
color: #aeb7e2;
|
|
529
|
-
background: #393d79;
|
|
530
|
-
}
|
|
531
|
-
.eds-stepper__item__square--has-been {
|
|
532
|
-
color: inherit;
|
|
533
|
-
background: #181c56;
|
|
534
|
-
}
|
|
535
|
-
.eds-contrast .eds-stepper__item__square--has-been {
|
|
536
|
-
background: #aeb7e2;
|
|
537
|
-
}/* DO NOT CHANGE!*/
|
|
538
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
539
539
|
.eds-pagination {
|
|
540
540
|
align-items: center;
|
|
541
541
|
display: flex;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.17",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@entur/a11y": "^0.2.49",
|
|
27
27
|
"@entur/button": "^2.10.4",
|
|
28
|
-
"@entur/expand": "^3.3.
|
|
29
|
-
"@entur/icons": "^5.2.
|
|
28
|
+
"@entur/expand": "^3.3.25",
|
|
29
|
+
"@entur/icons": "^5.2.1",
|
|
30
30
|
"@entur/layout": "^2.1.11",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
32
|
"@entur/typography": "^1.7.0",
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"react": ">=16.8.0",
|
|
39
39
|
"react-dom": ">=16.8.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
|
|
42
42
|
}
|