@entur/menu 4.1.32 → 4.1.33
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 +381 -381
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -50,298 +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;
|
|
71
|
-
display: flex;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
}
|
|
74
|
-
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
75
|
-
margin: 0 auto;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.eds-pagination-menu__menu-button {
|
|
79
|
-
-webkit-appearance: none;
|
|
80
|
-
-moz-appearance: none;
|
|
81
|
-
appearance: none;
|
|
82
|
-
background: transparent;
|
|
83
|
-
border: 0.0625rem solid #d1d3d3;
|
|
84
|
-
border-radius: 0.25rem;
|
|
85
|
-
color: inherit;
|
|
86
|
-
font-family: inherit;
|
|
53
|
+
.eds-stepper {
|
|
87
54
|
display: flex;
|
|
88
|
-
|
|
89
|
-
justify-content: space-around;
|
|
90
|
-
height: 2rem;
|
|
91
|
-
margin-left: 0.25rem;
|
|
92
|
-
margin-right: 1rem;
|
|
93
|
-
width: 3.5rem;
|
|
94
|
-
}
|
|
95
|
-
.eds-pagination-menu__menu-button--open {
|
|
96
|
-
border-color: currentColor;
|
|
97
|
-
}
|
|
98
|
-
.eds-pagination-menu__menu-button:focus {
|
|
99
|
-
outline: none;
|
|
100
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
101
|
-
}
|
|
102
|
-
.eds-pagination-menu__menu-list {
|
|
103
|
-
width: 3.5rem;
|
|
55
|
+
flex-direction: row;
|
|
104
56
|
}
|
|
105
|
-
|
|
106
|
-
.eds-pagination__page {
|
|
107
|
-
align-items: center;
|
|
108
|
-
-webkit-appearance: none;
|
|
109
|
-
-moz-appearance: none;
|
|
110
|
-
appearance: none;
|
|
111
|
-
background: transparent;
|
|
112
|
-
border: 0.0625rem solid #d1d3d3;
|
|
113
|
-
border-color: #d1d3d3;
|
|
114
|
-
border-radius: 0.25rem;
|
|
115
|
-
color: inherit;
|
|
57
|
+
.eds-stepper__item__container {
|
|
116
58
|
cursor: pointer;
|
|
117
|
-
display: flex;
|
|
118
59
|
font-family: inherit;
|
|
119
|
-
|
|
120
|
-
height: 2rem;
|
|
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;
|
|
129
|
-
}
|
|
130
|
-
.eds-contrast .eds-pagination__page {
|
|
131
|
-
border-color: #54568c;
|
|
132
|
-
}
|
|
133
|
-
.eds-pagination__page--selected {
|
|
134
|
-
background: #d1d4e3;
|
|
135
|
-
border-color: #181c56;
|
|
136
|
-
color: inherit;
|
|
137
|
-
opacity: 1;
|
|
138
|
-
pointer-events: none;
|
|
139
|
-
}
|
|
140
|
-
.eds-contrast .eds-pagination__page--selected {
|
|
141
|
-
border-color: #ffffff;
|
|
142
|
-
background: #393d79;
|
|
143
|
-
}
|
|
144
|
-
.eds-pagination__page--disabled {
|
|
145
|
-
opacity: 0.5;
|
|
146
|
-
pointer-events: none;
|
|
147
|
-
}
|
|
148
|
-
.eds-pagination__page:hover {
|
|
149
|
-
background-color: #d1d4e3;
|
|
150
|
-
border-color: #d1d4e3;
|
|
151
|
-
}
|
|
152
|
-
.eds-contrast .eds-pagination__page:hover {
|
|
153
|
-
background-color: #393d79;
|
|
154
|
-
border-color: #393d79;
|
|
155
|
-
}
|
|
156
|
-
.eds-pagination__page:focus {
|
|
157
|
-
outline: none;
|
|
158
|
-
border-color: #181c56;
|
|
159
|
-
}
|
|
160
|
-
.eds-contrast .eds-pagination__page:focus {
|
|
161
|
-
border-color: #ffffff;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.eds-pagination__ellipsis {
|
|
165
|
-
align-items: baseline;
|
|
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;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
.eds-pagination__input-wrapper {
|
|
179
|
-
white-space: nowrap;
|
|
180
|
-
}
|
|
181
|
-
.eds-pagination__input-label {
|
|
182
|
-
border-left: 0.0625rem solid #d1d3d3;
|
|
183
|
-
color: #656782;
|
|
184
|
-
font-size: 0.875rem;
|
|
185
|
-
margin-left: 0.5rem;
|
|
186
|
-
padding: 0 1rem;
|
|
187
|
-
}
|
|
188
|
-
.eds-contrast .eds-pagination__input-label {
|
|
189
|
-
border-color: #393d79;
|
|
190
|
-
color: #aeb7e2;
|
|
191
|
-
}
|
|
192
|
-
.eds-pagination__input-field {
|
|
60
|
+
text-transform: none;
|
|
193
61
|
-webkit-appearance: none;
|
|
194
62
|
-moz-appearance: none;
|
|
195
63
|
appearance: none;
|
|
196
|
-
background:
|
|
197
|
-
border:
|
|
198
|
-
border-radius: 0.25rem;
|
|
199
|
-
color: inherit;
|
|
200
|
-
font-family: inherit;
|
|
201
|
-
font-size: 0.875rem;
|
|
202
|
-
height: 2rem;
|
|
203
|
-
text-align: center;
|
|
204
|
-
width: 2rem;
|
|
205
|
-
}
|
|
206
|
-
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
207
|
-
-webkit-appearance: none;
|
|
208
|
-
appearance: none;
|
|
64
|
+
background: none;
|
|
65
|
+
border: none;
|
|
209
66
|
margin: 0;
|
|
67
|
+
padding: 0;
|
|
68
|
+
align-items: inherit;
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-grow: 1;
|
|
71
|
+
flex-basis: 0;
|
|
72
|
+
flex-direction: column;
|
|
73
|
+
margin-left: 0.25rem;
|
|
210
74
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
.eds-top-navigation-item {
|
|
214
|
-
--show-active-line: 0;
|
|
215
|
-
display: inline-block;
|
|
216
|
-
cursor: pointer;
|
|
217
|
-
color: inherit;
|
|
218
|
-
text-decoration: none;
|
|
219
|
-
position: relative;
|
|
220
|
-
padding: 1rem;
|
|
221
|
-
min-width: 5rem;
|
|
222
|
-
width: -moz-fit-content;
|
|
223
|
-
width: fit-content;
|
|
224
|
-
text-align: center;
|
|
225
|
-
font-family: inherit;
|
|
226
|
-
font-size: 1rem;
|
|
227
|
-
font-weight: 600;
|
|
228
|
-
}
|
|
229
|
-
.eds-top-navigation-item::after {
|
|
230
|
-
content: "";
|
|
231
|
-
display: block;
|
|
232
|
-
bottom: 1rem;
|
|
233
|
-
height: 0.1875rem;
|
|
234
|
-
width: 0;
|
|
235
|
-
margin: 0 auto;
|
|
236
|
-
opacity: var(--show-active-line);
|
|
237
|
-
background: #ff5959;
|
|
238
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
75
|
+
.eds-stepper__item__container--non-interactive {
|
|
76
|
+
cursor: default;
|
|
239
77
|
}
|
|
240
|
-
.eds-
|
|
78
|
+
.eds-stepper__item__container:focus {
|
|
241
79
|
outline-offset: 0.125rem;
|
|
242
80
|
outline: none;
|
|
243
81
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
244
82
|
}
|
|
245
|
-
.eds-contrast .eds-
|
|
83
|
+
.eds-contrast .eds-stepper__item__container:focus {
|
|
246
84
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
247
85
|
}
|
|
248
|
-
.eds-
|
|
249
|
-
|
|
86
|
+
.eds-stepper__item__container:first-child {
|
|
87
|
+
margin-left: 0;
|
|
250
88
|
}
|
|
251
|
-
.eds-
|
|
252
|
-
|
|
89
|
+
.eds-stepper__item__label {
|
|
90
|
+
cursor: inherit;
|
|
91
|
+
flex-grow: 1;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
text-align: center;
|
|
94
|
+
font-size: 0.875rem;
|
|
95
|
+
padding: 0.25rem 1rem;
|
|
253
96
|
}
|
|
254
|
-
.eds-
|
|
255
|
-
|
|
97
|
+
.eds-stepper__item__label--active {
|
|
98
|
+
font-weight: 600;
|
|
256
99
|
}
|
|
257
|
-
.eds-
|
|
258
|
-
|
|
100
|
+
.eds-stepper__item__label.eds-stepper__item__label--active {
|
|
101
|
+
color: #181c56;
|
|
259
102
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
.eds-overflow-menu__item {
|
|
263
|
-
-webkit-appearance: none;
|
|
264
|
-
-moz-appearance: none;
|
|
265
|
-
appearance: none;
|
|
266
|
-
border: none;
|
|
267
|
-
font-size: 0.875rem;
|
|
268
|
-
font-family: inherit;
|
|
269
|
-
color: var(--primary-text-color);
|
|
270
|
-
background: #f8f8f8;
|
|
271
|
-
display: block;
|
|
272
|
-
height: 3rem;
|
|
273
|
-
cursor: pointer;
|
|
274
|
-
width: 100%;
|
|
275
|
-
line-height: 1.375rem;
|
|
276
|
-
text-align: left;
|
|
277
|
-
padding: 0.75rem 1rem;
|
|
278
|
-
opacity: 1;
|
|
103
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
|
|
104
|
+
color: #ffffff;
|
|
279
105
|
}
|
|
280
|
-
.eds-
|
|
106
|
+
.eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
281
107
|
color: #181c56;
|
|
282
108
|
}
|
|
283
|
-
.eds-
|
|
284
|
-
|
|
285
|
-
color: #949494;
|
|
109
|
+
.eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
|
|
110
|
+
color: #ffffff;
|
|
286
111
|
}
|
|
287
|
-
.eds-
|
|
288
|
-
|
|
289
|
-
color: #949494;
|
|
112
|
+
.eds-stepper__item__square {
|
|
113
|
+
height: 0.5rem;
|
|
290
114
|
}
|
|
291
|
-
.eds-
|
|
292
|
-
|
|
115
|
+
.eds-stepper__item__square--active {
|
|
116
|
+
color: inherit;
|
|
293
117
|
background: #e9e9e9;
|
|
294
|
-
|
|
295
|
-
}
|
|
296
|
-
.eds-overflow-menu__item .eds-icon {
|
|
297
|
-
margin-right: 0.75rem;
|
|
298
|
-
}
|
|
299
|
-
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
300
|
-
background: #d1d4e3;
|
|
118
|
+
position: relative;
|
|
301
119
|
}
|
|
302
|
-
.eds-
|
|
303
|
-
|
|
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);
|
|
304
134
|
}
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
border-
|
|
135
|
+
.eds-contrast .eds-stepper__item__square--active:before {
|
|
136
|
+
border-left-color: #aeb7e2;
|
|
137
|
+
border-left-color: #aeb7e2;
|
|
308
138
|
}
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
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;
|
|
315
147
|
}
|
|
316
|
-
.eds-
|
|
317
|
-
|
|
148
|
+
.eds-contrast .eds-stepper__item__square--active:after {
|
|
149
|
+
background: #aeb7e2;
|
|
318
150
|
}
|
|
319
|
-
.eds-
|
|
320
|
-
|
|
151
|
+
.eds-contrast .eds-stepper__item__square--active {
|
|
152
|
+
background: #aeb7e2;
|
|
153
|
+
background: #393d79;
|
|
321
154
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
animation: slide-in 0.2s ease-in-out;
|
|
155
|
+
.eds-stepper__item__square--inactive {
|
|
156
|
+
color: #656782;
|
|
157
|
+
background: #e9e9e9;
|
|
326
158
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
opacity: 0;
|
|
331
|
-
transform: translateY(0.5rem);
|
|
332
|
-
}
|
|
333
|
-
100% {
|
|
334
|
-
opacity: 1;
|
|
335
|
-
transform: translateY(0);
|
|
336
|
-
}
|
|
159
|
+
.eds-contrast .eds-stepper__item__square--inactive {
|
|
160
|
+
color: #aeb7e2;
|
|
161
|
+
background: #393d79;
|
|
337
162
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
163
|
+
.eds-stepper__item__square--has-been {
|
|
164
|
+
color: inherit;
|
|
165
|
+
background: #181c56;
|
|
341
166
|
}
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
right: calc(100% - 2rem);
|
|
167
|
+
.eds-contrast .eds-stepper__item__square--has-been {
|
|
168
|
+
background: #aeb7e2;
|
|
345
169
|
}
|
|
346
170
|
/* DO NOT CHANGE!*/
|
|
347
171
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -519,166 +343,342 @@
|
|
|
519
343
|
}
|
|
520
344
|
}
|
|
521
345
|
|
|
522
|
-
.eds-side-navigation-group__trigger {
|
|
523
|
-
align-items: center;
|
|
524
|
-
-webkit-appearance: none;
|
|
525
|
-
-moz-appearance: none;
|
|
526
|
-
appearance: none;
|
|
527
|
-
background: none;
|
|
528
|
-
border: none;
|
|
529
|
-
border-radius: 0;
|
|
530
|
-
border-bottom: 0.125rem solid #e9e9e9;
|
|
346
|
+
.eds-side-navigation-group__trigger {
|
|
347
|
+
align-items: center;
|
|
348
|
+
-webkit-appearance: none;
|
|
349
|
+
-moz-appearance: none;
|
|
350
|
+
appearance: none;
|
|
351
|
+
background: none;
|
|
352
|
+
border: none;
|
|
353
|
+
border-radius: 0;
|
|
354
|
+
border-bottom: 0.125rem solid #e9e9e9;
|
|
355
|
+
color: #656782;
|
|
356
|
+
cursor: pointer;
|
|
357
|
+
display: flex;
|
|
358
|
+
font-size: 0.875rem;
|
|
359
|
+
font-family: inherit;
|
|
360
|
+
font-weight: 500;
|
|
361
|
+
height: 3rem;
|
|
362
|
+
justify-content: space-between;
|
|
363
|
+
letter-spacing: 1px;
|
|
364
|
+
line-height: 1.25rem;
|
|
365
|
+
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
366
|
+
margin: 0;
|
|
367
|
+
text-transform: uppercase;
|
|
368
|
+
transition: padding 0.2s ease-in-out;
|
|
369
|
+
width: 100%;
|
|
370
|
+
}
|
|
371
|
+
.eds-contrast .eds-side-navigation-group__trigger {
|
|
372
|
+
color: #aeb7e2;
|
|
373
|
+
border-color: #292b6a;
|
|
374
|
+
}
|
|
375
|
+
.eds-side-navigation-group__trigger-icon {
|
|
376
|
+
margin-right: 0.75rem;
|
|
377
|
+
}
|
|
378
|
+
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
379
|
+
margin-right: 2.5rem;
|
|
380
|
+
}
|
|
381
|
+
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
382
|
+
padding-left: 2rem;
|
|
383
|
+
}
|
|
384
|
+
.eds-side-navigation-group__trigger:focus {
|
|
385
|
+
outline: 2px solid #181c56;
|
|
386
|
+
}
|
|
387
|
+
.eds-contrast .eds-side-navigation-group__trigger:focus {
|
|
388
|
+
outline: 2px solid #ffffff;
|
|
389
|
+
}
|
|
390
|
+
/* DO NOT CHANGE!*/
|
|
391
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
392
|
+
.eds-pagination {
|
|
393
|
+
align-items: center;
|
|
394
|
+
display: flex;
|
|
395
|
+
flex-wrap: wrap;
|
|
396
|
+
row-gap: 0.75rem;
|
|
397
|
+
justify-content: space-between;
|
|
398
|
+
}
|
|
399
|
+
.eds-pagination__results {
|
|
400
|
+
align-items: center;
|
|
401
|
+
display: flex;
|
|
402
|
+
flex: 1;
|
|
403
|
+
justify-content: flex-start;
|
|
404
|
+
}
|
|
405
|
+
.eds-pagination__results-label {
|
|
406
|
+
margin-right: 0.5rem;
|
|
407
|
+
}
|
|
408
|
+
.eds-pagination__controls {
|
|
409
|
+
align-items: center;
|
|
410
|
+
display: flex;
|
|
411
|
+
justify-content: center;
|
|
412
|
+
}
|
|
413
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
414
|
+
margin: 0 auto;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.eds-pagination-menu__menu-button {
|
|
418
|
+
-webkit-appearance: none;
|
|
419
|
+
-moz-appearance: none;
|
|
420
|
+
appearance: none;
|
|
421
|
+
background: transparent;
|
|
422
|
+
border: 0.0625rem solid #d1d3d3;
|
|
423
|
+
border-radius: 0.25rem;
|
|
424
|
+
color: inherit;
|
|
425
|
+
font-family: inherit;
|
|
426
|
+
display: flex;
|
|
427
|
+
align-items: center;
|
|
428
|
+
justify-content: space-around;
|
|
429
|
+
height: 2rem;
|
|
430
|
+
margin-left: 0.25rem;
|
|
431
|
+
margin-right: 1rem;
|
|
432
|
+
width: 3.5rem;
|
|
433
|
+
}
|
|
434
|
+
.eds-pagination-menu__menu-button--open {
|
|
435
|
+
border-color: currentColor;
|
|
436
|
+
}
|
|
437
|
+
.eds-pagination-menu__menu-button:focus {
|
|
438
|
+
outline: none;
|
|
439
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
440
|
+
}
|
|
441
|
+
.eds-pagination-menu__menu-list {
|
|
442
|
+
width: 3.5rem;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.eds-pagination__page {
|
|
446
|
+
align-items: center;
|
|
447
|
+
-webkit-appearance: none;
|
|
448
|
+
-moz-appearance: none;
|
|
449
|
+
appearance: none;
|
|
450
|
+
background: transparent;
|
|
451
|
+
border: 0.0625rem solid #d1d3d3;
|
|
452
|
+
border-color: #d1d3d3;
|
|
453
|
+
border-radius: 0.25rem;
|
|
454
|
+
color: inherit;
|
|
455
|
+
cursor: pointer;
|
|
456
|
+
display: flex;
|
|
457
|
+
font-family: inherit;
|
|
458
|
+
font-size: 0.875rem;
|
|
459
|
+
height: 2rem;
|
|
460
|
+
justify-content: center;
|
|
461
|
+
margin: 0 0.125rem;
|
|
462
|
+
padding: 0 0.25rem;
|
|
463
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
464
|
+
-webkit-user-select: none;
|
|
465
|
+
-moz-user-select: none;
|
|
466
|
+
user-select: none;
|
|
467
|
+
min-width: 2rem;
|
|
468
|
+
}
|
|
469
|
+
.eds-contrast .eds-pagination__page {
|
|
470
|
+
border-color: #54568c;
|
|
471
|
+
}
|
|
472
|
+
.eds-pagination__page--selected {
|
|
473
|
+
background: #d1d4e3;
|
|
474
|
+
border-color: #181c56;
|
|
475
|
+
color: inherit;
|
|
476
|
+
opacity: 1;
|
|
477
|
+
pointer-events: none;
|
|
478
|
+
}
|
|
479
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
480
|
+
border-color: #ffffff;
|
|
481
|
+
background: #393d79;
|
|
482
|
+
}
|
|
483
|
+
.eds-pagination__page--disabled {
|
|
484
|
+
opacity: 0.5;
|
|
485
|
+
pointer-events: none;
|
|
486
|
+
}
|
|
487
|
+
.eds-pagination__page:hover {
|
|
488
|
+
background-color: #d1d4e3;
|
|
489
|
+
border-color: #d1d4e3;
|
|
490
|
+
}
|
|
491
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
492
|
+
background-color: #393d79;
|
|
493
|
+
border-color: #393d79;
|
|
494
|
+
}
|
|
495
|
+
.eds-pagination__page:focus {
|
|
496
|
+
outline: none;
|
|
497
|
+
border-color: #181c56;
|
|
498
|
+
}
|
|
499
|
+
.eds-contrast .eds-pagination__page:focus {
|
|
500
|
+
border-color: #ffffff;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.eds-pagination__ellipsis {
|
|
504
|
+
align-items: baseline;
|
|
505
|
+
cursor: default;
|
|
506
|
+
display: flex;
|
|
507
|
+
font-size: 1.5rem;
|
|
508
|
+
height: 2rem;
|
|
509
|
+
justify-content: center;
|
|
510
|
+
-webkit-user-select: none;
|
|
511
|
+
-moz-user-select: none;
|
|
512
|
+
user-select: none;
|
|
513
|
+
width: 2rem;
|
|
514
|
+
margin: 0 2px;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.eds-pagination__input-wrapper {
|
|
518
|
+
white-space: nowrap;
|
|
519
|
+
}
|
|
520
|
+
.eds-pagination__input-label {
|
|
521
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
531
522
|
color: #656782;
|
|
532
|
-
cursor: pointer;
|
|
533
|
-
display: flex;
|
|
534
523
|
font-size: 0.875rem;
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
height: 3rem;
|
|
538
|
-
justify-content: space-between;
|
|
539
|
-
letter-spacing: 1px;
|
|
540
|
-
line-height: 1.25rem;
|
|
541
|
-
padding: 0.75rem 0 0.75rem 2.5rem;
|
|
542
|
-
margin: 0;
|
|
543
|
-
text-transform: uppercase;
|
|
544
|
-
transition: padding 0.2s ease-in-out;
|
|
545
|
-
width: 100%;
|
|
524
|
+
margin-left: 0.5rem;
|
|
525
|
+
padding: 0 1rem;
|
|
546
526
|
}
|
|
547
|
-
.eds-contrast .eds-
|
|
527
|
+
.eds-contrast .eds-pagination__input-label {
|
|
528
|
+
border-color: #393d79;
|
|
548
529
|
color: #aeb7e2;
|
|
549
|
-
border-color: #292b6a;
|
|
550
|
-
}
|
|
551
|
-
.eds-side-navigation-group__trigger-icon {
|
|
552
|
-
margin-right: 0.75rem;
|
|
553
|
-
}
|
|
554
|
-
.eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
|
|
555
|
-
margin-right: 2.5rem;
|
|
556
|
-
}
|
|
557
|
-
.eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
|
|
558
|
-
padding-left: 2rem;
|
|
559
530
|
}
|
|
560
|
-
.eds-
|
|
561
|
-
|
|
531
|
+
.eds-pagination__input-field {
|
|
532
|
+
-webkit-appearance: none;
|
|
533
|
+
-moz-appearance: none;
|
|
534
|
+
appearance: none;
|
|
535
|
+
background: transparent;
|
|
536
|
+
border: 0.0625rem solid #d1d3d3;
|
|
537
|
+
border-radius: 0.25rem;
|
|
538
|
+
color: inherit;
|
|
539
|
+
font-family: inherit;
|
|
540
|
+
font-size: 0.875rem;
|
|
541
|
+
height: 2rem;
|
|
542
|
+
text-align: center;
|
|
543
|
+
width: 2rem;
|
|
562
544
|
}
|
|
563
|
-
.eds-
|
|
564
|
-
|
|
545
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
546
|
+
-webkit-appearance: none;
|
|
547
|
+
appearance: none;
|
|
548
|
+
margin: 0;
|
|
565
549
|
}
|
|
566
550
|
/* DO NOT CHANGE!*/
|
|
567
551
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
568
|
-
.eds-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
}
|
|
572
|
-
.eds-stepper__item__container {
|
|
552
|
+
.eds-top-navigation-item {
|
|
553
|
+
--show-active-line: 0;
|
|
554
|
+
display: inline-block;
|
|
573
555
|
cursor: pointer;
|
|
556
|
+
color: inherit;
|
|
557
|
+
text-decoration: none;
|
|
558
|
+
position: relative;
|
|
559
|
+
padding: 1rem;
|
|
560
|
+
min-width: 5rem;
|
|
561
|
+
width: -moz-fit-content;
|
|
562
|
+
width: fit-content;
|
|
563
|
+
text-align: center;
|
|
574
564
|
font-family: inherit;
|
|
575
|
-
|
|
576
|
-
-
|
|
577
|
-
-moz-appearance: none;
|
|
578
|
-
appearance: none;
|
|
579
|
-
background: none;
|
|
580
|
-
border: none;
|
|
581
|
-
margin: 0;
|
|
582
|
-
padding: 0;
|
|
583
|
-
align-items: inherit;
|
|
584
|
-
display: flex;
|
|
585
|
-
flex-grow: 1;
|
|
586
|
-
flex-basis: 0;
|
|
587
|
-
flex-direction: column;
|
|
588
|
-
margin-left: 0.25rem;
|
|
565
|
+
font-size: 1rem;
|
|
566
|
+
font-weight: 600;
|
|
589
567
|
}
|
|
590
|
-
.eds-
|
|
591
|
-
|
|
568
|
+
.eds-top-navigation-item::after {
|
|
569
|
+
content: "";
|
|
570
|
+
display: block;
|
|
571
|
+
bottom: 1rem;
|
|
572
|
+
height: 0.1875rem;
|
|
573
|
+
width: 0;
|
|
574
|
+
margin: 0 auto;
|
|
575
|
+
opacity: var(--show-active-line);
|
|
576
|
+
background: #ff5959;
|
|
577
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
592
578
|
}
|
|
593
|
-
.eds-
|
|
579
|
+
.eds-top-navigation-item:focus {
|
|
594
580
|
outline-offset: 0.125rem;
|
|
595
581
|
outline: none;
|
|
596
582
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
597
583
|
}
|
|
598
|
-
.eds-contrast .eds-
|
|
584
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
599
585
|
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
600
586
|
}
|
|
601
|
-
.eds-
|
|
602
|
-
|
|
587
|
+
.eds-top-navigation-item:hover {
|
|
588
|
+
--show-active-line: 1;
|
|
603
589
|
}
|
|
604
|
-
.eds-
|
|
605
|
-
|
|
606
|
-
flex-grow: 1;
|
|
607
|
-
flex-direction: column;
|
|
608
|
-
text-align: center;
|
|
609
|
-
font-size: 0.875rem;
|
|
610
|
-
padding: 0.25rem 1rem;
|
|
590
|
+
.eds-top-navigation-item:hover::after {
|
|
591
|
+
width: 2rem;
|
|
611
592
|
}
|
|
612
|
-
.eds-
|
|
613
|
-
|
|
593
|
+
.eds-top-navigation-item--active {
|
|
594
|
+
--show-active-line: 1;
|
|
614
595
|
}
|
|
615
|
-
.eds-
|
|
616
|
-
|
|
596
|
+
.eds-top-navigation-item--active::after {
|
|
597
|
+
width: 2rem;
|
|
617
598
|
}
|
|
618
|
-
|
|
619
|
-
|
|
599
|
+
/* DO NOT CHANGE!*/
|
|
600
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
601
|
+
.eds-overflow-menu__item {
|
|
602
|
+
-webkit-appearance: none;
|
|
603
|
+
-moz-appearance: none;
|
|
604
|
+
appearance: none;
|
|
605
|
+
border: none;
|
|
606
|
+
font-size: 0.875rem;
|
|
607
|
+
font-family: inherit;
|
|
608
|
+
color: var(--primary-text-color);
|
|
609
|
+
background: #f8f8f8;
|
|
610
|
+
display: block;
|
|
611
|
+
height: 3rem;
|
|
612
|
+
cursor: pointer;
|
|
613
|
+
width: 100%;
|
|
614
|
+
line-height: 1.375rem;
|
|
615
|
+
text-align: left;
|
|
616
|
+
padding: 0.75rem 1rem;
|
|
617
|
+
opacity: 1;
|
|
620
618
|
}
|
|
621
|
-
.eds-
|
|
619
|
+
.eds-contrast .eds-overflow-menu__item {
|
|
622
620
|
color: #181c56;
|
|
623
621
|
}
|
|
624
|
-
.eds-
|
|
625
|
-
|
|
622
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
623
|
+
background: #e9e9e9;
|
|
624
|
+
color: #949494;
|
|
626
625
|
}
|
|
627
|
-
.eds-
|
|
628
|
-
|
|
626
|
+
.eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
|
|
627
|
+
background: #e9e9e9;
|
|
628
|
+
color: #949494;
|
|
629
629
|
}
|
|
630
|
-
.eds-
|
|
631
|
-
|
|
630
|
+
.eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
|
|
631
|
+
cursor: not-allowed;
|
|
632
632
|
background: #e9e9e9;
|
|
633
|
-
|
|
633
|
+
color: #949494;
|
|
634
634
|
}
|
|
635
|
-
.eds-
|
|
636
|
-
|
|
637
|
-
content: "";
|
|
638
|
-
position: absolute;
|
|
639
|
-
right: calc(50% - 0.2rem);
|
|
640
|
-
border-radius: 0.0625rem;
|
|
641
|
-
bottom: 0.0625rem;
|
|
642
|
-
width: calc(
|
|
643
|
-
0.5rem - 0.125rem - 0.01rem
|
|
644
|
-
);
|
|
645
|
-
height: calc(
|
|
646
|
-
0.5rem - 0.125rem - 0.01rem
|
|
647
|
-
);
|
|
648
|
-
transform: rotate(45deg);
|
|
635
|
+
.eds-overflow-menu__item .eds-icon {
|
|
636
|
+
margin-right: 0.75rem;
|
|
649
637
|
}
|
|
650
|
-
.eds-
|
|
651
|
-
|
|
652
|
-
border-left-color: #aeb7e2;
|
|
638
|
+
.eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
|
|
639
|
+
background: #d1d4e3;
|
|
653
640
|
}
|
|
654
|
-
.eds-
|
|
655
|
-
|
|
656
|
-
position: absolute;
|
|
657
|
-
left: 0;
|
|
658
|
-
bottom: 0;
|
|
659
|
-
width: 50%;
|
|
660
|
-
height: 0.5rem;
|
|
661
|
-
background: #181c56;
|
|
641
|
+
.eds-overflow-menu__item:focus {
|
|
642
|
+
outline: none;
|
|
662
643
|
}
|
|
663
|
-
|
|
664
|
-
|
|
644
|
+
|
|
645
|
+
.eds-overflow-menu__item + .eds-overflow-menu__item {
|
|
646
|
+
border-top: 0.0625rem solid #e9e9e9;
|
|
665
647
|
}
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
648
|
+
|
|
649
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list] {
|
|
650
|
+
border: 0.0625rem solid #e9e9e9;
|
|
651
|
+
border-radius: 0.25rem;
|
|
652
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
653
|
+
overflow: hidden;
|
|
669
654
|
}
|
|
670
|
-
.eds-
|
|
671
|
-
|
|
672
|
-
background: #e9e9e9;
|
|
655
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
|
|
656
|
+
outline: none;
|
|
673
657
|
}
|
|
674
|
-
.eds-
|
|
675
|
-
|
|
676
|
-
background: #393d79;
|
|
658
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
|
|
659
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
677
660
|
}
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
661
|
+
|
|
662
|
+
.eds-overflow-menu__menu-list[data-reach-menu-list],
|
|
663
|
+
.eds-overflow-menu__menu-list[data-reach-menu-items] {
|
|
664
|
+
animation: slide-in 0.2s ease-in-out;
|
|
681
665
|
}
|
|
682
|
-
|
|
683
|
-
|
|
666
|
+
|
|
667
|
+
@keyframes slide-in {
|
|
668
|
+
0% {
|
|
669
|
+
opacity: 0;
|
|
670
|
+
transform: translateY(0.5rem);
|
|
671
|
+
}
|
|
672
|
+
100% {
|
|
673
|
+
opacity: 1;
|
|
674
|
+
transform: translateY(0);
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
[data-reach-menu-popover] {
|
|
678
|
+
position: absolute;
|
|
679
|
+
z-index: 30;
|
|
680
|
+
}
|
|
681
|
+
[data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
|
|
682
|
+
position: relative;
|
|
683
|
+
right: calc(100% - 2rem);
|
|
684
684
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.33",
|
|
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.
|
|
31
|
-
"@entur/button": "^3.0.
|
|
32
|
-
"@entur/expand": "^3.3.
|
|
30
|
+
"@entur/a11y": "^0.2.61",
|
|
31
|
+
"@entur/button": "^3.0.2",
|
|
32
|
+
"@entur/expand": "^3.3.39",
|
|
33
33
|
"@entur/icons": "^6.0.1",
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
34
|
+
"@entur/layout": "^2.1.25",
|
|
35
35
|
"@entur/tokens": "^3.8.1",
|
|
36
|
-
"@entur/typography": "^1.7.
|
|
37
|
-
"@entur/utils": "^0.
|
|
36
|
+
"@entur/typography": "^1.7.13",
|
|
37
|
+
"@entur/utils": "^0.6.0",
|
|
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": "34cd9b50251daa4fed6ec367451c5403162145bc"
|
|
43
43
|
}
|