@entur/menu 4.1.12 → 4.1.14-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.
- package/CHANGELOG.md +8 -0
- package/dist/styles.css +165 -165
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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.14-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.13...@entur/menu@4.1.14-alpha.0) (2022-10-20)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/menu
|
|
9
|
+
|
|
10
|
+
## [4.1.13](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.12...@entur/menu@4.1.13) (2022-10-12)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/menu
|
|
13
|
+
|
|
6
14
|
## [4.1.12](https://bitbucket.org/enturas/design-system/compare/@entur/menu@4.1.11...@entur/menu@4.1.12) (2022-10-05)
|
|
7
15
|
|
|
8
16
|
### Bug Fixes
|
package/dist/styles.css
CHANGED
|
@@ -106,118 +106,101 @@
|
|
|
106
106
|
width: 2rem;
|
|
107
107
|
}/* DO NOT CHANGE!*/
|
|
108
108
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
109
|
-
.eds-
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: row;
|
|
112
|
-
}
|
|
113
|
-
.eds-stepper__item__container {
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
font-family: inherit;
|
|
116
|
-
text-transform: none;
|
|
109
|
+
.eds-overflow-menu__item {
|
|
117
110
|
-webkit-appearance: none;
|
|
118
111
|
-moz-appearance: none;
|
|
119
112
|
appearance: none;
|
|
120
|
-
background: none;
|
|
121
113
|
border: none;
|
|
122
|
-
margin: 0;
|
|
123
|
-
padding: 0;
|
|
124
|
-
align-items: inherit;
|
|
125
|
-
display: flex;
|
|
126
|
-
flex-grow: 1;
|
|
127
|
-
flex-basis: 0;
|
|
128
|
-
flex-direction: column;
|
|
129
|
-
margin-left: 0.25rem;
|
|
130
|
-
}
|
|
131
|
-
.eds-stepper__item__container--non-interactive {
|
|
132
|
-
cursor: default;
|
|
133
|
-
}
|
|
134
|
-
.eds-stepper__item__container:focus {
|
|
135
|
-
outline-offset: 0.125rem;
|
|
136
|
-
outline: none;
|
|
137
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
138
|
-
}
|
|
139
|
-
.eds-contrast .eds-stepper__item__container:focus {
|
|
140
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
141
|
-
}
|
|
142
|
-
.eds-stepper__item__container:first-child {
|
|
143
|
-
margin-left: 0;
|
|
144
|
-
}
|
|
145
|
-
.eds-stepper__item__label {
|
|
146
|
-
cursor: inherit;
|
|
147
|
-
flex-grow: 1;
|
|
148
|
-
flex-direction: column;
|
|
149
|
-
text-align: center;
|
|
150
114
|
font-size: 0.875rem;
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
115
|
+
font-family: inherit;
|
|
116
|
+
color: var(--primary-text-color);
|
|
117
|
+
background: #f8f8f8;
|
|
118
|
+
display: block;
|
|
119
|
+
height: 3rem;
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
width: 100%;
|
|
122
|
+
line-height: 1.375rem;
|
|
123
|
+
text-align: left;
|
|
124
|
+
padding: 0.75rem 1rem;
|
|
125
|
+
opacity: 1;
|
|
155
126
|
}
|
|
156
|
-
.eds-
|
|
127
|
+
.eds-contrast .eds-overflow-menu__item {
|
|
157
128
|
color: #181c56;
|
|
158
129
|
}
|
|
159
|
-
.eds-
|
|
160
|
-
|
|
130
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
131
|
+
background: #e9e9e9;
|
|
132
|
+
color: #949494;
|
|
161
133
|
}
|
|
162
|
-
.eds-
|
|
163
|
-
|
|
134
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
135
|
+
background: #e9e9e9;
|
|
136
|
+
color: #949494;
|
|
164
137
|
}
|
|
165
|
-
.eds-
|
|
166
|
-
|
|
138
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
139
|
+
cursor: not-allowed;
|
|
140
|
+
background: #e9e9e9;
|
|
141
|
+
color: #949494;
|
|
167
142
|
}
|
|
168
|
-
.eds-
|
|
169
|
-
|
|
143
|
+
.eds-overflow-menu__item .eds-icon {
|
|
144
|
+
margin-right: 0.75rem;
|
|
170
145
|
}
|
|
171
|
-
.eds-
|
|
172
|
-
|
|
173
|
-
background: #e9e9e9;
|
|
174
|
-
position: relative;
|
|
146
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
147
|
+
background: #d1d4e3;
|
|
175
148
|
}
|
|
176
|
-
.eds-
|
|
177
|
-
|
|
178
|
-
content: "";
|
|
179
|
-
position: absolute;
|
|
180
|
-
right: calc(50% - 0.2rem);
|
|
181
|
-
border-radius: 0.0625rem;
|
|
182
|
-
bottom: 0.0625rem;
|
|
183
|
-
width: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
184
|
-
height: calc( 0.5rem - 0.125rem - 0.01rem );
|
|
185
|
-
transform: rotate(45deg);
|
|
149
|
+
.eds-overflow-menu__item:focus {
|
|
150
|
+
outline: none;
|
|
186
151
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
border-
|
|
152
|
+
|
|
153
|
+
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
154
|
+
border-top: 0.0625rem solid #e9e9e9;
|
|
190
155
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
height: 0.5rem;
|
|
198
|
-
background: #181c56;
|
|
156
|
+
|
|
157
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
158
|
+
border: 0.0625rem solid #e9e9e9;
|
|
159
|
+
border-radius: 0.25rem;
|
|
160
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
161
|
+
overflow: hidden;
|
|
199
162
|
}
|
|
200
|
-
.eds-
|
|
201
|
-
|
|
163
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
164
|
+
outline: none;
|
|
202
165
|
}
|
|
203
|
-
.eds-
|
|
204
|
-
|
|
205
|
-
background: #393d79;
|
|
166
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
167
|
+
box-shadow: 0 0.0625rem 0.1875rem #393d79;
|
|
206
168
|
}
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
169
|
+
|
|
170
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
171
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
172
|
+
-webkit-animation: slide-in 0.2s ease-in-out;
|
|
173
|
+
animation: slide-in 0.2s ease-in-out;
|
|
210
174
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
175
|
+
|
|
176
|
+
@-webkit-keyframes slide-in {
|
|
177
|
+
0% {
|
|
178
|
+
opacity: 0;
|
|
179
|
+
transform: translateY(0.5rem);
|
|
180
|
+
}
|
|
181
|
+
100% {
|
|
182
|
+
opacity: 1;
|
|
183
|
+
transform: translateY(0);
|
|
184
|
+
}
|
|
214
185
|
}
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
186
|
+
|
|
187
|
+
@keyframes slide-in {
|
|
188
|
+
0% {
|
|
189
|
+
opacity: 0;
|
|
190
|
+
transform: translateY(0.5rem);
|
|
191
|
+
}
|
|
192
|
+
100% {
|
|
193
|
+
opacity: 1;
|
|
194
|
+
transform: translateY(0);
|
|
195
|
+
}
|
|
218
196
|
}
|
|
219
|
-
|
|
220
|
-
|
|
197
|
+
[data-reach-menu-popover] {
|
|
198
|
+
position: absolute;
|
|
199
|
+
z-index: 30;
|
|
200
|
+
}
|
|
201
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
202
|
+
position: relative;
|
|
203
|
+
right: calc(100% - 2rem);
|
|
221
204
|
}/* DO NOT CHANGE!*/
|
|
222
205
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
223
206
|
/* DO NOT CHANGE!*/
|
|
@@ -439,101 +422,118 @@
|
|
|
439
422
|
outline: 2px solid #ffffff;
|
|
440
423
|
}/* DO NOT CHANGE!*/
|
|
441
424
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
442
|
-
.eds-
|
|
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;
|
|
443
433
|
-webkit-appearance: none;
|
|
444
434
|
-moz-appearance: none;
|
|
445
435
|
appearance: none;
|
|
436
|
+
background: none;
|
|
446
437
|
border: none;
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
line-height: 1.375rem;
|
|
456
|
-
text-align: left;
|
|
457
|
-
padding: 0.75rem 1rem;
|
|
458
|
-
opacity: 1;
|
|
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;
|
|
459
446
|
}
|
|
460
|
-
.eds-
|
|
461
|
-
|
|
447
|
+
.eds-stepper__item__container--non-interactive {
|
|
448
|
+
cursor: default;
|
|
462
449
|
}
|
|
463
|
-
.eds-
|
|
464
|
-
|
|
465
|
-
|
|
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;
|
|
466
454
|
}
|
|
467
|
-
.eds-contrast .eds-
|
|
468
|
-
|
|
469
|
-
color: #949494;
|
|
455
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
456
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
470
457
|
}
|
|
471
|
-
.eds-
|
|
472
|
-
|
|
473
|
-
background: #e9e9e9;
|
|
474
|
-
color: #949494;
|
|
458
|
+
.eds-stepper__item__container:first-child {
|
|
459
|
+
margin-left: 0;
|
|
475
460
|
}
|
|
476
|
-
.eds-
|
|
477
|
-
|
|
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;
|
|
478
468
|
}
|
|
479
|
-
.eds-
|
|
480
|
-
|
|
469
|
+
.eds-stepper__item__label--active {
|
|
470
|
+
font-weight: 600;
|
|
481
471
|
}
|
|
482
|
-
.eds-
|
|
483
|
-
|
|
472
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
473
|
+
color: #181c56;
|
|
484
474
|
}
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
border-top: 0.0625rem solid #e9e9e9;
|
|
475
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
476
|
+
color: #ffffff;
|
|
488
477
|
}
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
border: 0.0625rem solid #e9e9e9;
|
|
492
|
-
border-radius: 0.25rem;
|
|
493
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
494
|
-
overflow: hidden;
|
|
478
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
479
|
+
color: #181c56;
|
|
495
480
|
}
|
|
496
|
-
.eds-
|
|
497
|
-
|
|
481
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
482
|
+
color: #ffffff;
|
|
498
483
|
}
|
|
499
|
-
.eds-
|
|
500
|
-
|
|
484
|
+
.eds-stepper__item__square {
|
|
485
|
+
height: 0.5rem;
|
|
501
486
|
}
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
animation: slide-in 0.2s ease-in-out;
|
|
487
|
+
.eds-stepper__item__square--active {
|
|
488
|
+
color: inherit;
|
|
489
|
+
background: #e9e9e9;
|
|
490
|
+
position: relative;
|
|
507
491
|
}
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
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);
|
|
518
502
|
}
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
opacity: 0;
|
|
523
|
-
transform: translateY(0.5rem);
|
|
524
|
-
}
|
|
525
|
-
100% {
|
|
526
|
-
opacity: 1;
|
|
527
|
-
transform: translateY(0);
|
|
528
|
-
}
|
|
503
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
504
|
+
border-left-color: #aeb7e2;
|
|
505
|
+
border-left-color: #aeb7e2;
|
|
529
506
|
}
|
|
530
|
-
|
|
507
|
+
.eds-stepper__item__square--active:after {
|
|
508
|
+
content: "";
|
|
531
509
|
position: absolute;
|
|
532
|
-
|
|
510
|
+
left: 0;
|
|
511
|
+
bottom: 0;
|
|
512
|
+
width: 50%;
|
|
513
|
+
height: 0.5rem;
|
|
514
|
+
background: #181c56;
|
|
533
515
|
}
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
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
537
|
}/* DO NOT CHANGE!*/
|
|
538
538
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
539
539
|
.eds-pagination {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.14-alpha.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"lint": "dts lint"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@entur/a11y": "^0.2.
|
|
27
|
-
"@entur/button": "^2.10.
|
|
28
|
-
"@entur/expand": "^3.3.
|
|
29
|
-
"@entur/icons": "^
|
|
30
|
-
"@entur/layout": "^2.1.
|
|
26
|
+
"@entur/a11y": "^0.2.50-alpha.0",
|
|
27
|
+
"@entur/button": "^2.10.5-alpha.0",
|
|
28
|
+
"@entur/expand": "^3.3.22-alpha.0",
|
|
29
|
+
"@entur/icons": "^5.0.1-alpha.0",
|
|
30
|
+
"@entur/layout": "^2.1.12-alpha.0",
|
|
31
31
|
"@entur/tokens": "^3.4.1",
|
|
32
|
-
"@entur/typography": "^1.7.0",
|
|
33
|
-
"@entur/utils": "^0.4.
|
|
32
|
+
"@entur/typography": "^1.7.1-alpha.0",
|
|
33
|
+
"@entur/utils": "^0.4.6-alpha.0",
|
|
34
34
|
"@reach/menu-button": "^0.16.1",
|
|
35
35
|
"classnames": "^2.3.1"
|
|
36
36
|
},
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"react": ">=16.8.0",
|
|
39
39
|
"react-dom": ">=16.8.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "497df350c3af082f714f461c7089a1fec1b4f8c9"
|
|
42
42
|
}
|