@entur/menu 5.1.10-beta.0 → 5.1.10
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 +252 -252
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -100,167 +100,6 @@
|
|
|
100
100
|
}
|
|
101
101
|
/* DO NOT CHANGE!*/
|
|
102
102
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
103
|
-
.eds-pagination {
|
|
104
|
-
align-items: center;
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-wrap: wrap;
|
|
107
|
-
row-gap: 0.75rem;
|
|
108
|
-
justify-content: space-between;
|
|
109
|
-
}
|
|
110
|
-
.eds-pagination__results {
|
|
111
|
-
margin-right: 0.5rem;
|
|
112
|
-
display: flex;
|
|
113
|
-
flex: 1;
|
|
114
|
-
align-items: center;
|
|
115
|
-
justify-content: flex-start;
|
|
116
|
-
color: var(--components-menu-pagination-standard-text-subdued);
|
|
117
|
-
}
|
|
118
|
-
.eds-contrast .eds-pagination__results {
|
|
119
|
-
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
120
|
-
}
|
|
121
|
-
.eds-pagination__results .eds-pagination__results__change-number-of-results {
|
|
122
|
-
border: solid 0.0625rem var(--components-menu-pagination-contrast-border-unselected);
|
|
123
|
-
margin: 0 0.5rem;
|
|
124
|
-
}
|
|
125
|
-
.eds-pagination__results .eds-pagination__results__change-number-of-results__arrow {
|
|
126
|
-
margin-left: 0.5rem;
|
|
127
|
-
}
|
|
128
|
-
.eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__arrow {
|
|
129
|
-
transform: rotate(180deg);
|
|
130
|
-
}
|
|
131
|
-
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
132
|
-
margin: 0 auto;
|
|
133
|
-
}
|
|
134
|
-
.eds-pagination__controls {
|
|
135
|
-
align-items: center;
|
|
136
|
-
display: flex;
|
|
137
|
-
justify-content: center;
|
|
138
|
-
}
|
|
139
|
-
.eds-pagination__controls__page {
|
|
140
|
-
align-items: center;
|
|
141
|
-
-webkit-appearance: none;
|
|
142
|
-
-moz-appearance: none;
|
|
143
|
-
appearance: none;
|
|
144
|
-
background-color: var(--components-menu-pagination-standard-default);
|
|
145
|
-
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
146
|
-
border-radius: 0.25rem;
|
|
147
|
-
color: var(--components-menu-pagination-standard-text-unselected);
|
|
148
|
-
cursor: pointer;
|
|
149
|
-
display: flex;
|
|
150
|
-
font-family: inherit;
|
|
151
|
-
font-size: 0.875rem;
|
|
152
|
-
height: 2rem;
|
|
153
|
-
justify-content: center;
|
|
154
|
-
margin: 0 0.125rem;
|
|
155
|
-
padding: 0 0.25rem;
|
|
156
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
157
|
-
-webkit-user-select: none;
|
|
158
|
-
-moz-user-select: none;
|
|
159
|
-
user-select: none;
|
|
160
|
-
min-width: 2rem;
|
|
161
|
-
}
|
|
162
|
-
.eds-contrast .eds-pagination__controls__page {
|
|
163
|
-
background-color: var(--components-menu-pagination-contrast-default);
|
|
164
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
165
|
-
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
166
|
-
}
|
|
167
|
-
.eds-pagination__controls__page--selected {
|
|
168
|
-
background: var(--components-menu-pagination-standard-active);
|
|
169
|
-
border-color: var(--components-menu-pagination-standard-border-selected);
|
|
170
|
-
color: var(--components-menu-pagination-standard-text-selected);
|
|
171
|
-
opacity: 1;
|
|
172
|
-
pointer-events: none;
|
|
173
|
-
}
|
|
174
|
-
.eds-contrast .eds-pagination__controls__page--selected {
|
|
175
|
-
background: var(--components-menu-pagination-contrast-active);
|
|
176
|
-
border-color: var(--components-menu-pagination-contrast-border-selected);
|
|
177
|
-
color: var(--components-menu-pagination-contrast-text-selected);
|
|
178
|
-
}
|
|
179
|
-
.eds-pagination__controls__page--disabled {
|
|
180
|
-
opacity: 0.5;
|
|
181
|
-
pointer-events: none;
|
|
182
|
-
}
|
|
183
|
-
.eds-pagination__controls__page:hover {
|
|
184
|
-
background-color: var(--components-menu-pagination-standard-hover);
|
|
185
|
-
border-color: var(--components-menu-pagination-standard-border-unselected);
|
|
186
|
-
}
|
|
187
|
-
.eds-contrast .eds-pagination__controls__page:hover {
|
|
188
|
-
background-color: var(--components-menu-pagination-contrast-hover);
|
|
189
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
190
|
-
}
|
|
191
|
-
.eds-pagination__controls__page:focus-visible {
|
|
192
|
-
outline: 2px solid #181c56;
|
|
193
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
194
|
-
outline-offset: 0.125rem;
|
|
195
|
-
}
|
|
196
|
-
.eds-contrast .eds-pagination__controls__page:focus-visible {
|
|
197
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
198
|
-
}
|
|
199
|
-
.eds-pagination__controls__page__ellipsis {
|
|
200
|
-
color: var(--components-menu-pagination-standard-icon);
|
|
201
|
-
align-items: baseline;
|
|
202
|
-
cursor: default;
|
|
203
|
-
display: flex;
|
|
204
|
-
font-size: 1.5rem;
|
|
205
|
-
height: 2rem;
|
|
206
|
-
justify-content: center;
|
|
207
|
-
-webkit-user-select: none;
|
|
208
|
-
-moz-user-select: none;
|
|
209
|
-
user-select: none;
|
|
210
|
-
width: 2rem;
|
|
211
|
-
margin: 0 2px;
|
|
212
|
-
}
|
|
213
|
-
.eds-contrast .eds-pagination__controls__page__ellipsis {
|
|
214
|
-
color: var(--components-menu-pagination-contrast-icon);
|
|
215
|
-
}
|
|
216
|
-
.eds-pagination__controls__input__wrapper {
|
|
217
|
-
white-space: nowrap;
|
|
218
|
-
}
|
|
219
|
-
.eds-pagination__controls__input__label {
|
|
220
|
-
border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
221
|
-
color: var(--components-menu-pagination-standard-text-subdued);
|
|
222
|
-
font-size: 0.875rem;
|
|
223
|
-
margin-left: 0.5rem;
|
|
224
|
-
padding: 0 1rem;
|
|
225
|
-
}
|
|
226
|
-
.eds-contrast .eds-pagination__controls__input__label {
|
|
227
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
228
|
-
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
229
|
-
}
|
|
230
|
-
.eds-pagination__controls__input__field {
|
|
231
|
-
-webkit-appearance: none;
|
|
232
|
-
-moz-appearance: none;
|
|
233
|
-
appearance: none;
|
|
234
|
-
background-color: var(--components-menu-pagination-standard-default);
|
|
235
|
-
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
236
|
-
border-radius: 0.25rem;
|
|
237
|
-
color: var(--components-menu-pagination-standard-text-unselected);
|
|
238
|
-
font-family: inherit;
|
|
239
|
-
font-size: 0.875rem;
|
|
240
|
-
height: 2rem;
|
|
241
|
-
text-align: center;
|
|
242
|
-
width: 2rem;
|
|
243
|
-
}
|
|
244
|
-
.eds-contrast .eds-pagination__controls__input__field {
|
|
245
|
-
background-color: var(--components-menu-pagination-contrast-default);
|
|
246
|
-
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
247
|
-
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
248
|
-
}
|
|
249
|
-
.eds-pagination__controls__input__field::-webkit-inner-spin-button, .eds-pagination__controls__input__field::-webkit-outer-spin-button {
|
|
250
|
-
-webkit-appearance: none;
|
|
251
|
-
appearance: none;
|
|
252
|
-
margin: 0;
|
|
253
|
-
}
|
|
254
|
-
.eds-pagination__controls__input__field:focus-visible {
|
|
255
|
-
outline: 2px solid #181c56;
|
|
256
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
257
|
-
outline-offset: 0.125rem;
|
|
258
|
-
}
|
|
259
|
-
.eds-contrast .eds-pagination__controls__input__field:focus-visible {
|
|
260
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
261
|
-
}
|
|
262
|
-
/* DO NOT CHANGE!*/
|
|
263
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
264
103
|
.eds-side-navigation,
|
|
265
104
|
.eds-side-navigation-group {
|
|
266
105
|
color: var(--components-menu-sidenavigation-standard-text);
|
|
@@ -491,121 +330,164 @@
|
|
|
491
330
|
}
|
|
492
331
|
/* DO NOT CHANGE!*/
|
|
493
332
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
494
|
-
.eds-
|
|
495
|
-
|
|
496
|
-
--line-color: var(--components-menu-stepper-standard-background);
|
|
497
|
-
--label-font-weight: 500;
|
|
498
|
-
--display-active-line: none;
|
|
333
|
+
.eds-pagination {
|
|
334
|
+
align-items: center;
|
|
499
335
|
display: flex;
|
|
500
|
-
flex-
|
|
501
|
-
|
|
502
|
-
|
|
336
|
+
flex-wrap: wrap;
|
|
337
|
+
row-gap: 0.75rem;
|
|
338
|
+
justify-content: space-between;
|
|
503
339
|
}
|
|
504
|
-
.eds-
|
|
340
|
+
.eds-pagination__results {
|
|
341
|
+
margin-right: 0.5rem;
|
|
505
342
|
display: flex;
|
|
506
|
-
flex
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
343
|
+
flex: 1;
|
|
344
|
+
align-items: center;
|
|
345
|
+
justify-content: flex-start;
|
|
346
|
+
color: var(--components-menu-pagination-standard-text-subdued);
|
|
347
|
+
}
|
|
348
|
+
.eds-contrast .eds-pagination__results {
|
|
349
|
+
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
350
|
+
}
|
|
351
|
+
.eds-pagination__results .eds-pagination__results__change-number-of-results {
|
|
352
|
+
border: solid 0.0625rem var(--components-menu-pagination-contrast-border-unselected);
|
|
353
|
+
margin: 0 0.5rem;
|
|
354
|
+
}
|
|
355
|
+
.eds-pagination__results .eds-pagination__results__change-number-of-results__arrow {
|
|
356
|
+
margin-left: 0.5rem;
|
|
357
|
+
}
|
|
358
|
+
.eds-pagination__results .eds-pagination__results__change-number-of-results[aria-expanded=true] .eds-pagination__results__change-number-of-results__arrow {
|
|
359
|
+
transform: rotate(180deg);
|
|
360
|
+
}
|
|
361
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
362
|
+
margin: 0 auto;
|
|
363
|
+
}
|
|
364
|
+
.eds-pagination__controls {
|
|
365
|
+
align-items: center;
|
|
366
|
+
display: flex;
|
|
367
|
+
justify-content: center;
|
|
368
|
+
}
|
|
369
|
+
.eds-pagination__controls__page {
|
|
370
|
+
align-items: center;
|
|
510
371
|
-webkit-appearance: none;
|
|
511
372
|
-moz-appearance: none;
|
|
512
373
|
appearance: none;
|
|
513
|
-
background:
|
|
514
|
-
border:
|
|
374
|
+
background-color: var(--components-menu-pagination-standard-default);
|
|
375
|
+
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
376
|
+
border-radius: 0.25rem;
|
|
377
|
+
color: var(--components-menu-pagination-standard-text-unselected);
|
|
378
|
+
cursor: pointer;
|
|
379
|
+
display: flex;
|
|
515
380
|
font-family: inherit;
|
|
516
|
-
|
|
381
|
+
font-size: 0.875rem;
|
|
382
|
+
height: 2rem;
|
|
383
|
+
justify-content: center;
|
|
384
|
+
margin: 0 0.125rem;
|
|
385
|
+
padding: 0 0.25rem;
|
|
386
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
387
|
+
-webkit-user-select: none;
|
|
388
|
+
-moz-user-select: none;
|
|
389
|
+
user-select: none;
|
|
390
|
+
min-width: 2rem;
|
|
517
391
|
}
|
|
518
|
-
.eds-
|
|
519
|
-
|
|
520
|
-
|
|
392
|
+
.eds-contrast .eds-pagination__controls__page {
|
|
393
|
+
background-color: var(--components-menu-pagination-contrast-default);
|
|
394
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
395
|
+
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
521
396
|
}
|
|
522
|
-
.eds-
|
|
523
|
-
|
|
397
|
+
.eds-pagination__controls__page--selected {
|
|
398
|
+
background: var(--components-menu-pagination-standard-active);
|
|
399
|
+
border-color: var(--components-menu-pagination-standard-border-selected);
|
|
400
|
+
color: var(--components-menu-pagination-standard-text-selected);
|
|
401
|
+
opacity: 1;
|
|
402
|
+
pointer-events: none;
|
|
524
403
|
}
|
|
525
|
-
.eds-contrast .eds-
|
|
526
|
-
|
|
527
|
-
|
|
404
|
+
.eds-contrast .eds-pagination__controls__page--selected {
|
|
405
|
+
background: var(--components-menu-pagination-contrast-active);
|
|
406
|
+
border-color: var(--components-menu-pagination-contrast-border-selected);
|
|
407
|
+
color: var(--components-menu-pagination-contrast-text-selected);
|
|
528
408
|
}
|
|
529
|
-
.eds-
|
|
530
|
-
|
|
409
|
+
.eds-pagination__controls__page--disabled {
|
|
410
|
+
opacity: 0.5;
|
|
411
|
+
pointer-events: none;
|
|
531
412
|
}
|
|
532
|
-
.eds-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
flex-direction: column;
|
|
536
|
-
width: 100%;
|
|
537
|
-
cursor: pointer;
|
|
413
|
+
.eds-pagination__controls__page:hover {
|
|
414
|
+
background-color: var(--components-menu-pagination-standard-hover);
|
|
415
|
+
border-color: var(--components-menu-pagination-standard-border-unselected);
|
|
538
416
|
}
|
|
539
|
-
.eds-
|
|
540
|
-
|
|
541
|
-
--
|
|
542
|
-
--display-active-line: block;
|
|
417
|
+
.eds-contrast .eds-pagination__controls__page:hover {
|
|
418
|
+
background-color: var(--components-menu-pagination-contrast-hover);
|
|
419
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
543
420
|
}
|
|
544
|
-
.eds-
|
|
545
|
-
|
|
421
|
+
.eds-pagination__controls__page:focus-visible {
|
|
422
|
+
outline: 2px solid #181c56;
|
|
423
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
424
|
+
outline-offset: 0.125rem;
|
|
546
425
|
}
|
|
547
|
-
.eds-
|
|
548
|
-
|
|
549
|
-
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
426
|
+
.eds-contrast .eds-pagination__controls__page:focus-visible {
|
|
427
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
550
428
|
}
|
|
551
|
-
.eds-
|
|
552
|
-
|
|
553
|
-
|
|
429
|
+
.eds-pagination__controls__page__ellipsis {
|
|
430
|
+
color: var(--components-menu-pagination-standard-icon);
|
|
431
|
+
align-items: baseline;
|
|
432
|
+
cursor: default;
|
|
433
|
+
display: flex;
|
|
434
|
+
font-size: 1.5rem;
|
|
435
|
+
height: 2rem;
|
|
436
|
+
justify-content: center;
|
|
437
|
+
-webkit-user-select: none;
|
|
438
|
+
-moz-user-select: none;
|
|
439
|
+
user-select: none;
|
|
440
|
+
width: 2rem;
|
|
441
|
+
margin: 0 2px;
|
|
554
442
|
}
|
|
555
|
-
.eds-
|
|
556
|
-
|
|
557
|
-
flex-direction: column;
|
|
558
|
-
align-self: center;
|
|
559
|
-
text-align: center;
|
|
560
|
-
font-size: 0.875rem;
|
|
561
|
-
margin: 0.5rem 0 0;
|
|
562
|
-
padding: 0 0.5rem;
|
|
563
|
-
width: -moz-fit-content;
|
|
564
|
-
width: fit-content;
|
|
565
|
-
border-radius: 0.0625rem;
|
|
566
|
-
color: var(--text-color);
|
|
567
|
-
font-weight: var(--label-font-weight);
|
|
443
|
+
.eds-contrast .eds-pagination__controls__page__ellipsis {
|
|
444
|
+
color: var(--components-menu-pagination-contrast-icon);
|
|
568
445
|
}
|
|
569
|
-
.eds-
|
|
570
|
-
|
|
571
|
-
color: var(--components-menu-stepper-standard-text-completed);
|
|
446
|
+
.eds-pagination__controls__input__wrapper {
|
|
447
|
+
white-space: nowrap;
|
|
572
448
|
}
|
|
573
|
-
.eds-
|
|
574
|
-
|
|
575
|
-
color: var(--components-menu-
|
|
449
|
+
.eds-pagination__controls__input__label {
|
|
450
|
+
border-left: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
451
|
+
color: var(--components-menu-pagination-standard-text-subdued);
|
|
452
|
+
font-size: 0.875rem;
|
|
453
|
+
margin-left: 0.5rem;
|
|
454
|
+
padding: 0 1rem;
|
|
576
455
|
}
|
|
577
|
-
.eds-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
position: relative;
|
|
456
|
+
.eds-contrast .eds-pagination__controls__input__label {
|
|
457
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
458
|
+
color: var(--components-menu-pagination-contrast-text-subdued);
|
|
581
459
|
}
|
|
582
|
-
.eds-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
border-radius: 0.
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
460
|
+
.eds-pagination__controls__input__field {
|
|
461
|
+
-webkit-appearance: none;
|
|
462
|
+
-moz-appearance: none;
|
|
463
|
+
appearance: none;
|
|
464
|
+
background-color: var(--components-menu-pagination-standard-default);
|
|
465
|
+
border: 0.0625rem solid var(--components-menu-pagination-standard-border-unselected);
|
|
466
|
+
border-radius: 0.25rem;
|
|
467
|
+
color: var(--components-menu-pagination-standard-text-unselected);
|
|
468
|
+
font-family: inherit;
|
|
469
|
+
font-size: 0.875rem;
|
|
470
|
+
height: 2rem;
|
|
471
|
+
text-align: center;
|
|
472
|
+
width: 2rem;
|
|
593
473
|
}
|
|
594
|
-
.eds-contrast .eds-
|
|
595
|
-
background: var(--components-menu-
|
|
474
|
+
.eds-contrast .eds-pagination__controls__input__field {
|
|
475
|
+
background-color: var(--components-menu-pagination-contrast-default);
|
|
476
|
+
border-color: var(--components-menu-pagination-contrast-border-unselected);
|
|
477
|
+
color: var(--components-menu-pagination-contrast-text-unselected);
|
|
596
478
|
}
|
|
597
|
-
.eds-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
left: 0;
|
|
602
|
-
bottom: 0;
|
|
603
|
-
width: 50%;
|
|
604
|
-
height: 0.5rem;
|
|
605
|
-
background: var(--components-menu-stepper-standard-progressbar);
|
|
479
|
+
.eds-pagination__controls__input__field::-webkit-inner-spin-button, .eds-pagination__controls__input__field::-webkit-outer-spin-button {
|
|
480
|
+
-webkit-appearance: none;
|
|
481
|
+
appearance: none;
|
|
482
|
+
margin: 0;
|
|
606
483
|
}
|
|
607
|
-
.eds-
|
|
608
|
-
|
|
484
|
+
.eds-pagination__controls__input__field:focus-visible {
|
|
485
|
+
outline: 2px solid #181c56;
|
|
486
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
487
|
+
outline-offset: 0.125rem;
|
|
488
|
+
}
|
|
489
|
+
.eds-contrast .eds-pagination__controls__input__field:focus-visible {
|
|
490
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
609
491
|
}
|
|
610
492
|
/* DO NOT CHANGE!*/
|
|
611
493
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -951,6 +833,124 @@
|
|
|
951
833
|
}
|
|
952
834
|
/* DO NOT CHANGE!*/
|
|
953
835
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
836
|
+
.eds-stepper {
|
|
837
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
838
|
+
--line-color: var(--components-menu-stepper-standard-background);
|
|
839
|
+
--label-font-weight: 500;
|
|
840
|
+
--display-active-line: none;
|
|
841
|
+
display: flex;
|
|
842
|
+
flex-direction: row;
|
|
843
|
+
width: 100%;
|
|
844
|
+
list-style-type: none;
|
|
845
|
+
}
|
|
846
|
+
.eds-stepper__step {
|
|
847
|
+
display: flex;
|
|
848
|
+
flex-grow: 1;
|
|
849
|
+
flex-basis: 0;
|
|
850
|
+
flex-direction: column;
|
|
851
|
+
align-items: inherit;
|
|
852
|
+
-webkit-appearance: none;
|
|
853
|
+
-moz-appearance: none;
|
|
854
|
+
appearance: none;
|
|
855
|
+
background: none;
|
|
856
|
+
border: none;
|
|
857
|
+
font-family: inherit;
|
|
858
|
+
text-transform: none;
|
|
859
|
+
}
|
|
860
|
+
.eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
861
|
+
outline-offset: 0.125rem;
|
|
862
|
+
outline: 2px solid #181c56;
|
|
863
|
+
}
|
|
864
|
+
.eds-contrast .eds-stepper__step:focus-visible .eds-stepper__step__label {
|
|
865
|
+
outline: 2px solid #ffffff;
|
|
866
|
+
}
|
|
867
|
+
.eds-contrast .eds-stepper__step {
|
|
868
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
869
|
+
--line-color: var(--components-menu-stepper-contrast-background);
|
|
870
|
+
}
|
|
871
|
+
.eds-stepper__step__wrapper {
|
|
872
|
+
flex-grow: 1;
|
|
873
|
+
}
|
|
874
|
+
.eds-stepper__step--interactive {
|
|
875
|
+
all: unset;
|
|
876
|
+
display: flex;
|
|
877
|
+
flex-direction: column;
|
|
878
|
+
width: 100%;
|
|
879
|
+
cursor: pointer;
|
|
880
|
+
}
|
|
881
|
+
.eds-stepper__step--active {
|
|
882
|
+
--text-color: var(--components-menu-stepper-standard-text-uncompleted);
|
|
883
|
+
--label-font-weight: 600;
|
|
884
|
+
--display-active-line: block;
|
|
885
|
+
}
|
|
886
|
+
.eds-contrast .eds-stepper__step--active {
|
|
887
|
+
--text-color: var(--components-menu-stepper-contrast-text-uncompleted);
|
|
888
|
+
}
|
|
889
|
+
.eds-stepper__step--completed {
|
|
890
|
+
--text-color: var(--components-menu-stepper-standard-text-completed);
|
|
891
|
+
--line-color: var(--components-menu-stepper-standard-progressbar);
|
|
892
|
+
}
|
|
893
|
+
.eds-contrast .eds-stepper__step--completed {
|
|
894
|
+
--text-color: var(--components-menu-stepper-contrast-text-completed);
|
|
895
|
+
--line-color: var(--components-menu-stepper-contrast-progressbar);
|
|
896
|
+
}
|
|
897
|
+
.eds-stepper__step__label {
|
|
898
|
+
flex-grow: 1;
|
|
899
|
+
flex-direction: column;
|
|
900
|
+
align-self: center;
|
|
901
|
+
text-align: center;
|
|
902
|
+
font-size: 0.875rem;
|
|
903
|
+
margin: 0.5rem 0 0;
|
|
904
|
+
padding: 0 0.5rem;
|
|
905
|
+
width: -moz-fit-content;
|
|
906
|
+
width: fit-content;
|
|
907
|
+
border-radius: 0.0625rem;
|
|
908
|
+
color: var(--text-color);
|
|
909
|
+
font-weight: var(--label-font-weight);
|
|
910
|
+
}
|
|
911
|
+
.eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
912
|
+
background-color: var(--components-menu-stepper-standard-background);
|
|
913
|
+
color: var(--components-menu-stepper-standard-text-completed);
|
|
914
|
+
}
|
|
915
|
+
.eds-contrast .eds-stepper__step--interactive:hover .eds-stepper__step__label {
|
|
916
|
+
background-color: var(--components-menu-stepper-contrast-background);
|
|
917
|
+
color: var(--components-menu-stepper-contrast-text-completed);
|
|
918
|
+
}
|
|
919
|
+
.eds-stepper__step__line {
|
|
920
|
+
height: 0.5rem;
|
|
921
|
+
background: var(--line-color);
|
|
922
|
+
position: relative;
|
|
923
|
+
}
|
|
924
|
+
.eds-stepper__step__line:before {
|
|
925
|
+
display: var(--display-active-line);
|
|
926
|
+
content: "";
|
|
927
|
+
position: absolute;
|
|
928
|
+
right: calc(50% - 0.2rem);
|
|
929
|
+
bottom: 0.0625rem;
|
|
930
|
+
border-radius: 0.0625rem;
|
|
931
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
932
|
+
width: calc(0.5rem - 0.125rem - 0.01rem);
|
|
933
|
+
height: calc(0.5rem - 0.125rem - 0.01rem);
|
|
934
|
+
transform: rotate(45deg);
|
|
935
|
+
}
|
|
936
|
+
.eds-contrast .eds-stepper__step__line:before {
|
|
937
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
938
|
+
}
|
|
939
|
+
.eds-stepper__step__line:after {
|
|
940
|
+
display: var(--display-active-line);
|
|
941
|
+
content: "";
|
|
942
|
+
position: absolute;
|
|
943
|
+
left: 0;
|
|
944
|
+
bottom: 0;
|
|
945
|
+
width: 50%;
|
|
946
|
+
height: 0.5rem;
|
|
947
|
+
background: var(--components-menu-stepper-standard-progressbar);
|
|
948
|
+
}
|
|
949
|
+
.eds-contrast .eds-stepper__step__line:after {
|
|
950
|
+
background: var(--components-menu-stepper-contrast-progressbar);
|
|
951
|
+
}
|
|
952
|
+
/* DO NOT CHANGE!*/
|
|
953
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
954
954
|
.eds-top-navigation-item {
|
|
955
955
|
--show-active-line: 0;
|
|
956
956
|
display: inline-block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "5.1.10
|
|
3
|
+
"version": "5.1.10",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/menu.esm.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.99",
|
|
31
|
-
"@entur/button": "^3.3.10
|
|
32
|
-
"@entur/expand": "^3.6.10
|
|
33
|
-
"@entur/icons": "^7.13.0
|
|
34
|
-
"@entur/layout": "^3.1.6
|
|
31
|
+
"@entur/button": "^3.3.10",
|
|
32
|
+
"@entur/expand": "^3.6.10",
|
|
33
|
+
"@entur/icons": "^7.13.0",
|
|
34
|
+
"@entur/layout": "^3.1.6",
|
|
35
35
|
"@entur/tokens": "^3.19.1",
|
|
36
|
-
"@entur/tooltip": "^5.2.10
|
|
37
|
-
"@entur/typography": "^1.9.10
|
|
36
|
+
"@entur/tooltip": "^5.2.10",
|
|
37
|
+
"@entur/typography": "^1.9.10",
|
|
38
38
|
"@entur/utils": "^0.12.3",
|
|
39
39
|
"@floating-ui/react": "^0.26.23",
|
|
40
40
|
"classnames": "^2.3.1"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"dts-cli": "2.0.5"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "fce8c4670732d7dd2742d18f0d7759a364ba2c3c"
|
|
46
46
|
}
|