@entur/menu 4.1.47 → 4.1.48
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/dist/styles.css +211 -211
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -50,163 +50,122 @@
|
|
|
50
50
|
}
|
|
51
51
|
/* DO NOT CHANGE!*/
|
|
52
52
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
|
-
.eds-
|
|
54
|
-
align-items: center;
|
|
55
|
-
display: flex;
|
|
56
|
-
flex-wrap: wrap;
|
|
57
|
-
row-gap: 0.75rem;
|
|
58
|
-
justify-content: space-between;
|
|
59
|
-
}
|
|
60
|
-
.eds-pagination__results {
|
|
61
|
-
align-items: center;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex: 1;
|
|
64
|
-
justify-content: flex-start;
|
|
65
|
-
}
|
|
66
|
-
.eds-pagination__results-label {
|
|
67
|
-
margin-right: 0.5rem;
|
|
68
|
-
}
|
|
69
|
-
.eds-pagination__controls {
|
|
70
|
-
align-items: center;
|
|
53
|
+
.eds-stepper {
|
|
71
54
|
display: flex;
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
75
|
-
margin: 0 auto;
|
|
55
|
+
flex-direction: row;
|
|
76
56
|
}
|
|
77
|
-
|
|
78
|
-
|
|
57
|
+
.eds-stepper__item__container {
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
font-family: inherit;
|
|
60
|
+
text-transform: none;
|
|
79
61
|
-webkit-appearance: none;
|
|
80
62
|
-moz-appearance: none;
|
|
81
63
|
appearance: none;
|
|
82
|
-
background:
|
|
83
|
-
border:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
64
|
+
background: none;
|
|
65
|
+
border: none;
|
|
66
|
+
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
align-items: inherit;
|
|
87
69
|
display: flex;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
70
|
+
flex-grow: 1;
|
|
71
|
+
flex-basis: 0;
|
|
72
|
+
flex-direction: column;
|
|
91
73
|
margin-left: 0.25rem;
|
|
92
|
-
margin-right: 1rem;
|
|
93
|
-
width: 3.5rem;
|
|
94
74
|
}
|
|
95
|
-
.eds-
|
|
96
|
-
|
|
75
|
+
.eds-stepper__item__container--non-interactive {
|
|
76
|
+
cursor: default;
|
|
97
77
|
}
|
|
98
|
-
.eds-
|
|
78
|
+
.eds-stepper__item__container:focus {
|
|
79
|
+
outline-offset: 0.125rem;
|
|
99
80
|
outline: none;
|
|
100
81
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
101
82
|
}
|
|
102
|
-
.eds-
|
|
103
|
-
|
|
83
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
84
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
104
85
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
border-color: #d1d3d3;
|
|
114
|
-
border-radius: 0.25rem;
|
|
115
|
-
color: inherit;
|
|
116
|
-
cursor: pointer;
|
|
117
|
-
display: flex;
|
|
118
|
-
font-family: inherit;
|
|
86
|
+
.eds-stepper__item__container:first-child {
|
|
87
|
+
margin-left: 0;
|
|
88
|
+
}
|
|
89
|
+
.eds-stepper__item__label {
|
|
90
|
+
cursor: inherit;
|
|
91
|
+
flex-grow: 1;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
text-align: center;
|
|
119
94
|
font-size: 0.875rem;
|
|
120
|
-
|
|
121
|
-
justify-content: center;
|
|
122
|
-
margin: 0 0.125rem;
|
|
123
|
-
padding: 0 0.25rem;
|
|
124
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
125
|
-
-webkit-user-select: none;
|
|
126
|
-
-moz-user-select: none;
|
|
127
|
-
user-select: none;
|
|
128
|
-
min-width: 2rem;
|
|
95
|
+
padding: 0.25rem 1rem;
|
|
129
96
|
}
|
|
130
|
-
.eds-
|
|
131
|
-
|
|
97
|
+
.eds-stepper__item__label--active {
|
|
98
|
+
font-weight: 600;
|
|
132
99
|
}
|
|
133
|
-
.eds-
|
|
134
|
-
|
|
135
|
-
border-color: #181c56;
|
|
136
|
-
color: inherit;
|
|
137
|
-
opacity: 1;
|
|
138
|
-
pointer-events: none;
|
|
100
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
101
|
+
color: #181c56;
|
|
139
102
|
}
|
|
140
|
-
.eds-contrast .eds-
|
|
141
|
-
|
|
142
|
-
background: #393d79;
|
|
103
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
104
|
+
color: #ffffff;
|
|
143
105
|
}
|
|
144
|
-
.eds-
|
|
145
|
-
|
|
146
|
-
pointer-events: none;
|
|
106
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
107
|
+
color: #181c56;
|
|
147
108
|
}
|
|
148
|
-
.eds-
|
|
149
|
-
|
|
150
|
-
border-color: #d1d4e3;
|
|
109
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
110
|
+
color: #ffffff;
|
|
151
111
|
}
|
|
152
|
-
.eds-
|
|
153
|
-
|
|
154
|
-
border-color: #393d79;
|
|
112
|
+
.eds-stepper__item__square {
|
|
113
|
+
height: 0.5rem;
|
|
155
114
|
}
|
|
156
|
-
.eds-
|
|
157
|
-
|
|
158
|
-
|
|
115
|
+
.eds-stepper__item__square--active {
|
|
116
|
+
color: inherit;
|
|
117
|
+
background: #e9e9e9;
|
|
118
|
+
position: relative;
|
|
159
119
|
}
|
|
160
|
-
.eds-
|
|
161
|
-
|
|
120
|
+
.eds-stepper__item__square--active:before {
|
|
121
|
+
background: #181c56;
|
|
122
|
+
content: "";
|
|
123
|
+
position: absolute;
|
|
124
|
+
right: calc(50% - 0.2rem);
|
|
125
|
+
border-radius: 0.0625rem;
|
|
126
|
+
bottom: 0.0625rem;
|
|
127
|
+
width: calc(
|
|
128
|
+
0.5rem - 0.125rem - 0.01rem
|
|
129
|
+
);
|
|
130
|
+
height: calc(
|
|
131
|
+
0.5rem - 0.125rem - 0.01rem
|
|
132
|
+
);
|
|
133
|
+
transform: rotate(45deg);
|
|
162
134
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
cursor: default;
|
|
167
|
-
display: flex;
|
|
168
|
-
font-size: 1.5rem;
|
|
169
|
-
height: 2rem;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
-webkit-user-select: none;
|
|
172
|
-
-moz-user-select: none;
|
|
173
|
-
user-select: none;
|
|
174
|
-
width: 2rem;
|
|
175
|
-
margin: 0 2px;
|
|
135
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
136
|
+
border-left-color: #aeb7e2;
|
|
137
|
+
border-left-color: #aeb7e2;
|
|
176
138
|
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
139
|
+
.eds-stepper__item__square--active:after {
|
|
140
|
+
content: "";
|
|
141
|
+
position: absolute;
|
|
142
|
+
left: 0;
|
|
143
|
+
bottom: 0;
|
|
144
|
+
width: 50%;
|
|
145
|
+
height: 0.5rem;
|
|
146
|
+
background: #181c56;
|
|
180
147
|
}
|
|
181
|
-
.eds-
|
|
182
|
-
|
|
148
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
149
|
+
background: #aeb7e2;
|
|
150
|
+
}
|
|
151
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
152
|
+
background: #aeb7e2;
|
|
153
|
+
background: #393d79;
|
|
154
|
+
}
|
|
155
|
+
.eds-stepper__item__square--inactive {
|
|
183
156
|
color: #656782;
|
|
184
|
-
|
|
185
|
-
margin-left: 0.5rem;
|
|
186
|
-
padding: 0 1rem;
|
|
157
|
+
background: #e9e9e9;
|
|
187
158
|
}
|
|
188
|
-
.eds-contrast .eds-
|
|
189
|
-
border-color: #393d79;
|
|
159
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
190
160
|
color: #aeb7e2;
|
|
161
|
+
background: #393d79;
|
|
191
162
|
}
|
|
192
|
-
.eds-
|
|
193
|
-
-webkit-appearance: none;
|
|
194
|
-
-moz-appearance: none;
|
|
195
|
-
appearance: none;
|
|
196
|
-
background: transparent;
|
|
197
|
-
border: 0.0625rem solid #d1d3d3;
|
|
198
|
-
border-radius: 0.25rem;
|
|
163
|
+
.eds-stepper__item__square--has-been {
|
|
199
164
|
color: inherit;
|
|
200
|
-
|
|
201
|
-
font-size: 0.875rem;
|
|
202
|
-
height: 2rem;
|
|
203
|
-
text-align: center;
|
|
204
|
-
width: 2rem;
|
|
165
|
+
background: #181c56;
|
|
205
166
|
}
|
|
206
|
-
.eds-
|
|
207
|
-
|
|
208
|
-
appearance: none;
|
|
209
|
-
margin: 0;
|
|
167
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
168
|
+
background: #aeb7e2;
|
|
210
169
|
}
|
|
211
170
|
/* DO NOT CHANGE!*/
|
|
212
171
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -479,122 +438,163 @@
|
|
|
479
438
|
}
|
|
480
439
|
/* DO NOT CHANGE!*/
|
|
481
440
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
482
|
-
.eds-
|
|
441
|
+
.eds-pagination {
|
|
442
|
+
align-items: center;
|
|
483
443
|
display: flex;
|
|
484
|
-
flex-
|
|
444
|
+
flex-wrap: wrap;
|
|
445
|
+
row-gap: 0.75rem;
|
|
446
|
+
justify-content: space-between;
|
|
485
447
|
}
|
|
486
|
-
.eds-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
448
|
+
.eds-pagination__results {
|
|
449
|
+
align-items: center;
|
|
450
|
+
display: flex;
|
|
451
|
+
flex: 1;
|
|
452
|
+
justify-content: flex-start;
|
|
453
|
+
}
|
|
454
|
+
.eds-pagination__results-label {
|
|
455
|
+
margin-right: 0.5rem;
|
|
456
|
+
}
|
|
457
|
+
.eds-pagination__controls {
|
|
458
|
+
align-items: center;
|
|
459
|
+
display: flex;
|
|
460
|
+
justify-content: center;
|
|
461
|
+
}
|
|
462
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
463
|
+
margin: 0 auto;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
.eds-pagination-menu__menu-button {
|
|
490
467
|
-webkit-appearance: none;
|
|
491
468
|
-moz-appearance: none;
|
|
492
469
|
appearance: none;
|
|
493
|
-
background:
|
|
494
|
-
border:
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
470
|
+
background: transparent;
|
|
471
|
+
border: 0.0625rem solid #d1d3d3;
|
|
472
|
+
border-radius: 0.25rem;
|
|
473
|
+
color: inherit;
|
|
474
|
+
font-family: inherit;
|
|
498
475
|
display: flex;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
476
|
+
align-items: center;
|
|
477
|
+
justify-content: space-around;
|
|
478
|
+
height: 2rem;
|
|
502
479
|
margin-left: 0.25rem;
|
|
480
|
+
margin-right: 1rem;
|
|
481
|
+
width: 3.5rem;
|
|
503
482
|
}
|
|
504
|
-
.eds-
|
|
505
|
-
|
|
483
|
+
.eds-pagination-menu__menu-button--open {
|
|
484
|
+
border-color: currentColor;
|
|
506
485
|
}
|
|
507
|
-
.eds-
|
|
508
|
-
outline-offset: 0.125rem;
|
|
486
|
+
.eds-pagination-menu__menu-button:focus {
|
|
509
487
|
outline: none;
|
|
510
488
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
511
489
|
}
|
|
512
|
-
.eds-
|
|
513
|
-
|
|
514
|
-
}
|
|
515
|
-
.eds-stepper__item__container:first-child {
|
|
516
|
-
margin-left: 0;
|
|
490
|
+
.eds-pagination-menu__menu-list {
|
|
491
|
+
width: 3.5rem;
|
|
517
492
|
}
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
493
|
+
|
|
494
|
+
.eds-pagination__page {
|
|
495
|
+
align-items: center;
|
|
496
|
+
-webkit-appearance: none;
|
|
497
|
+
-moz-appearance: none;
|
|
498
|
+
appearance: none;
|
|
499
|
+
background: transparent;
|
|
500
|
+
border: 0.0625rem solid #d1d3d3;
|
|
501
|
+
border-color: #d1d3d3;
|
|
502
|
+
border-radius: 0.25rem;
|
|
503
|
+
color: inherit;
|
|
504
|
+
cursor: pointer;
|
|
505
|
+
display: flex;
|
|
506
|
+
font-family: inherit;
|
|
523
507
|
font-size: 0.875rem;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
.
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
508
|
+
height: 2rem;
|
|
509
|
+
justify-content: center;
|
|
510
|
+
margin: 0 0.125rem;
|
|
511
|
+
padding: 0 0.25rem;
|
|
512
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
513
|
+
-webkit-user-select: none;
|
|
514
|
+
-moz-user-select: none;
|
|
515
|
+
user-select: none;
|
|
516
|
+
min-width: 2rem;
|
|
531
517
|
}
|
|
532
|
-
.eds-contrast .eds-
|
|
533
|
-
color: #
|
|
518
|
+
.eds-contrast .eds-pagination__page {
|
|
519
|
+
border-color: #54568c;
|
|
534
520
|
}
|
|
535
|
-
.eds-
|
|
536
|
-
|
|
521
|
+
.eds-pagination__page--selected {
|
|
522
|
+
background: #d1d4e3;
|
|
523
|
+
border-color: #181c56;
|
|
524
|
+
color: inherit;
|
|
525
|
+
opacity: 1;
|
|
526
|
+
pointer-events: none;
|
|
537
527
|
}
|
|
538
|
-
.eds-contrast .eds-
|
|
539
|
-
color: #ffffff;
|
|
528
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
529
|
+
border-color: #ffffff;
|
|
530
|
+
background: #393d79;
|
|
540
531
|
}
|
|
541
|
-
.eds-
|
|
542
|
-
|
|
532
|
+
.eds-pagination__page--disabled {
|
|
533
|
+
opacity: 0.5;
|
|
534
|
+
pointer-events: none;
|
|
543
535
|
}
|
|
544
|
-
.eds-
|
|
545
|
-
color:
|
|
546
|
-
|
|
547
|
-
position: relative;
|
|
536
|
+
.eds-pagination__page:hover {
|
|
537
|
+
background-color: #d1d4e3;
|
|
538
|
+
border-color: #d1d4e3;
|
|
548
539
|
}
|
|
549
|
-
.eds-
|
|
550
|
-
background: #
|
|
551
|
-
|
|
552
|
-
position: absolute;
|
|
553
|
-
right: calc(50% - 0.2rem);
|
|
554
|
-
border-radius: 0.0625rem;
|
|
555
|
-
bottom: 0.0625rem;
|
|
556
|
-
width: calc(
|
|
557
|
-
0.5rem - 0.125rem - 0.01rem
|
|
558
|
-
);
|
|
559
|
-
height: calc(
|
|
560
|
-
0.5rem - 0.125rem - 0.01rem
|
|
561
|
-
);
|
|
562
|
-
transform: rotate(45deg);
|
|
540
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
541
|
+
background-color: #393d79;
|
|
542
|
+
border-color: #393d79;
|
|
563
543
|
}
|
|
564
|
-
.eds-
|
|
565
|
-
|
|
566
|
-
border-
|
|
544
|
+
.eds-pagination__page:focus {
|
|
545
|
+
outline: none;
|
|
546
|
+
border-color: #181c56;
|
|
567
547
|
}
|
|
568
|
-
.eds-
|
|
569
|
-
|
|
570
|
-
position: absolute;
|
|
571
|
-
left: 0;
|
|
572
|
-
bottom: 0;
|
|
573
|
-
width: 50%;
|
|
574
|
-
height: 0.5rem;
|
|
575
|
-
background: #181c56;
|
|
548
|
+
.eds-contrast .eds-pagination__page:focus {
|
|
549
|
+
border-color: #ffffff;
|
|
576
550
|
}
|
|
577
|
-
|
|
578
|
-
|
|
551
|
+
|
|
552
|
+
.eds-pagination__ellipsis {
|
|
553
|
+
align-items: baseline;
|
|
554
|
+
cursor: default;
|
|
555
|
+
display: flex;
|
|
556
|
+
font-size: 1.5rem;
|
|
557
|
+
height: 2rem;
|
|
558
|
+
justify-content: center;
|
|
559
|
+
-webkit-user-select: none;
|
|
560
|
+
-moz-user-select: none;
|
|
561
|
+
user-select: none;
|
|
562
|
+
width: 2rem;
|
|
563
|
+
margin: 0 2px;
|
|
579
564
|
}
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
565
|
+
|
|
566
|
+
.eds-pagination__input-wrapper {
|
|
567
|
+
white-space: nowrap;
|
|
583
568
|
}
|
|
584
|
-
.eds-
|
|
569
|
+
.eds-pagination__input-label {
|
|
570
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
585
571
|
color: #656782;
|
|
586
|
-
|
|
572
|
+
font-size: 0.875rem;
|
|
573
|
+
margin-left: 0.5rem;
|
|
574
|
+
padding: 0 1rem;
|
|
587
575
|
}
|
|
588
|
-
.eds-contrast .eds-
|
|
576
|
+
.eds-contrast .eds-pagination__input-label {
|
|
577
|
+
border-color: #393d79;
|
|
589
578
|
color: #aeb7e2;
|
|
590
|
-
background: #393d79;
|
|
591
579
|
}
|
|
592
|
-
.eds-
|
|
580
|
+
.eds-pagination__input-field {
|
|
581
|
+
-webkit-appearance: none;
|
|
582
|
+
-moz-appearance: none;
|
|
583
|
+
appearance: none;
|
|
584
|
+
background: transparent;
|
|
585
|
+
border: 0.0625rem solid #d1d3d3;
|
|
586
|
+
border-radius: 0.25rem;
|
|
593
587
|
color: inherit;
|
|
594
|
-
|
|
588
|
+
font-family: inherit;
|
|
589
|
+
font-size: 0.875rem;
|
|
590
|
+
height: 2rem;
|
|
591
|
+
text-align: center;
|
|
592
|
+
width: 2rem;
|
|
595
593
|
}
|
|
596
|
-
.eds-
|
|
597
|
-
|
|
594
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
595
|
+
-webkit-appearance: none;
|
|
596
|
+
appearance: none;
|
|
597
|
+
margin: 0;
|
|
598
598
|
}
|
|
599
599
|
/* DO NOT CHANGE!*/
|
|
600
600
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.48",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.68",
|
|
31
|
-
"@entur/button": "^3.0
|
|
32
|
-
"@entur/expand": "^3.4.
|
|
33
|
-
"@entur/icons": "^6.4.
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
31
|
+
"@entur/button": "^3.1.0",
|
|
32
|
+
"@entur/expand": "^3.4.7",
|
|
33
|
+
"@entur/icons": "^6.4.2",
|
|
34
|
+
"@entur/layout": "^2.1.39",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
36
|
+
"@entur/typography": "^1.8.6",
|
|
37
37
|
"@entur/utils": "^0.9.3",
|
|
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": "
|
|
42
|
+
"gitHead": "5fcad4b449082b80b796ab52e68f178977f2eba7"
|
|
43
43
|
}
|