@entur/menu 4.1.46 → 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.
Files changed (2) hide show
  1. package/dist/styles.css +168 -168
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -50,6 +50,125 @@
50
50
  }
51
51
  /* DO NOT CHANGE!*/
52
52
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
53
+ .eds-stepper {
54
+ display: flex;
55
+ flex-direction: row;
56
+ }
57
+ .eds-stepper__item__container {
58
+ cursor: pointer;
59
+ font-family: inherit;
60
+ text-transform: none;
61
+ -webkit-appearance: none;
62
+ -moz-appearance: none;
63
+ appearance: none;
64
+ background: none;
65
+ border: none;
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;
74
+ }
75
+ .eds-stepper__item__container--non-interactive {
76
+ cursor: default;
77
+ }
78
+ .eds-stepper__item__container:focus {
79
+ outline-offset: 0.125rem;
80
+ outline: none;
81
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
82
+ }
83
+ .eds-contrast .eds-stepper__item__container:focus {
84
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
85
+ }
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;
94
+ font-size: 0.875rem;
95
+ padding: 0.25rem 1rem;
96
+ }
97
+ .eds-stepper__item__label--active {
98
+ font-weight: 600;
99
+ }
100
+ .eds-stepper__item__label.eds-stepper__item__label--active {
101
+ color: #181c56;
102
+ }
103
+ .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
104
+ color: #ffffff;
105
+ }
106
+ .eds-stepper__item__label.eds-stepper__item__label--has-been {
107
+ color: #181c56;
108
+ }
109
+ .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
110
+ color: #ffffff;
111
+ }
112
+ .eds-stepper__item__square {
113
+ height: 0.5rem;
114
+ }
115
+ .eds-stepper__item__square--active {
116
+ color: inherit;
117
+ background: #e9e9e9;
118
+ position: relative;
119
+ }
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);
134
+ }
135
+ .eds-contrast .eds-stepper__item__square--active:before {
136
+ border-left-color: #aeb7e2;
137
+ border-left-color: #aeb7e2;
138
+ }
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;
147
+ }
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 {
156
+ color: #656782;
157
+ background: #e9e9e9;
158
+ }
159
+ .eds-contrast .eds-stepper__item__square--inactive {
160
+ color: #aeb7e2;
161
+ background: #393d79;
162
+ }
163
+ .eds-stepper__item__square--has-been {
164
+ color: inherit;
165
+ background: #181c56;
166
+ }
167
+ .eds-contrast .eds-stepper__item__square--has-been {
168
+ background: #aeb7e2;
169
+ }
170
+ /* DO NOT CHANGE!*/
171
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
53
172
  /* DO NOT CHANGE!*/
54
173
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
55
174
  .eds-side-navigation,
@@ -270,6 +389,55 @@
270
389
  }
271
390
  /* DO NOT CHANGE!*/
272
391
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
392
+ .eds-top-navigation-item {
393
+ --show-active-line: 0;
394
+ display: inline-block;
395
+ cursor: pointer;
396
+ color: inherit;
397
+ text-decoration: none;
398
+ position: relative;
399
+ padding: 1rem;
400
+ min-width: 5rem;
401
+ width: -moz-fit-content;
402
+ width: fit-content;
403
+ text-align: center;
404
+ font-family: inherit;
405
+ font-size: 1rem;
406
+ font-weight: 600;
407
+ }
408
+ .eds-top-navigation-item::after {
409
+ content: "";
410
+ display: block;
411
+ bottom: 1rem;
412
+ height: 0.1875rem;
413
+ width: 0;
414
+ margin: 0 auto;
415
+ opacity: var(--show-active-line);
416
+ background: #ff5959;
417
+ transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
418
+ }
419
+ .eds-top-navigation-item:focus {
420
+ outline-offset: 0.125rem;
421
+ outline: none;
422
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
423
+ }
424
+ .eds-contrast .eds-top-navigation-item:focus {
425
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
426
+ }
427
+ .eds-top-navigation-item:hover {
428
+ --show-active-line: 1;
429
+ }
430
+ .eds-top-navigation-item:hover::after {
431
+ width: 2rem;
432
+ }
433
+ .eds-top-navigation-item--active {
434
+ --show-active-line: 1;
435
+ }
436
+ .eds-top-navigation-item--active::after {
437
+ width: 2rem;
438
+ }
439
+ /* DO NOT CHANGE!*/
440
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
273
441
  .eds-pagination {
274
442
  align-items: center;
275
443
  display: flex;
@@ -430,174 +598,6 @@
430
598
  }
431
599
  /* DO NOT CHANGE!*/
432
600
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
433
- .eds-top-navigation-item {
434
- --show-active-line: 0;
435
- display: inline-block;
436
- cursor: pointer;
437
- color: inherit;
438
- text-decoration: none;
439
- position: relative;
440
- padding: 1rem;
441
- min-width: 5rem;
442
- width: -moz-fit-content;
443
- width: fit-content;
444
- text-align: center;
445
- font-family: inherit;
446
- font-size: 1rem;
447
- font-weight: 600;
448
- }
449
- .eds-top-navigation-item::after {
450
- content: "";
451
- display: block;
452
- bottom: 1rem;
453
- height: 0.1875rem;
454
- width: 0;
455
- margin: 0 auto;
456
- opacity: var(--show-active-line);
457
- background: #ff5959;
458
- transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
459
- }
460
- .eds-top-navigation-item:focus {
461
- outline-offset: 0.125rem;
462
- outline: none;
463
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
464
- }
465
- .eds-contrast .eds-top-navigation-item:focus {
466
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
467
- }
468
- .eds-top-navigation-item:hover {
469
- --show-active-line: 1;
470
- }
471
- .eds-top-navigation-item:hover::after {
472
- width: 2rem;
473
- }
474
- .eds-top-navigation-item--active {
475
- --show-active-line: 1;
476
- }
477
- .eds-top-navigation-item--active::after {
478
- width: 2rem;
479
- }
480
- /* DO NOT CHANGE!*/
481
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
482
- .eds-stepper {
483
- display: flex;
484
- flex-direction: row;
485
- }
486
- .eds-stepper__item__container {
487
- cursor: pointer;
488
- font-family: inherit;
489
- text-transform: none;
490
- -webkit-appearance: none;
491
- -moz-appearance: none;
492
- appearance: none;
493
- background: none;
494
- border: none;
495
- margin: 0;
496
- padding: 0;
497
- align-items: inherit;
498
- display: flex;
499
- flex-grow: 1;
500
- flex-basis: 0;
501
- flex-direction: column;
502
- margin-left: 0.25rem;
503
- }
504
- .eds-stepper__item__container--non-interactive {
505
- cursor: default;
506
- }
507
- .eds-stepper__item__container:focus {
508
- outline-offset: 0.125rem;
509
- outline: none;
510
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
511
- }
512
- .eds-contrast .eds-stepper__item__container:focus {
513
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
514
- }
515
- .eds-stepper__item__container:first-child {
516
- margin-left: 0;
517
- }
518
- .eds-stepper__item__label {
519
- cursor: inherit;
520
- flex-grow: 1;
521
- flex-direction: column;
522
- text-align: center;
523
- font-size: 0.875rem;
524
- padding: 0.25rem 1rem;
525
- }
526
- .eds-stepper__item__label--active {
527
- font-weight: 600;
528
- }
529
- .eds-stepper__item__label.eds-stepper__item__label--active {
530
- color: #181c56;
531
- }
532
- .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--active {
533
- color: #ffffff;
534
- }
535
- .eds-stepper__item__label.eds-stepper__item__label--has-been {
536
- color: #181c56;
537
- }
538
- .eds-contrast .eds-stepper__item__label.eds-stepper__item__label--has-been {
539
- color: #ffffff;
540
- }
541
- .eds-stepper__item__square {
542
- height: 0.5rem;
543
- }
544
- .eds-stepper__item__square--active {
545
- color: inherit;
546
- background: #e9e9e9;
547
- position: relative;
548
- }
549
- .eds-stepper__item__square--active:before {
550
- background: #181c56;
551
- content: "";
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);
563
- }
564
- .eds-contrast .eds-stepper__item__square--active:before {
565
- border-left-color: #aeb7e2;
566
- border-left-color: #aeb7e2;
567
- }
568
- .eds-stepper__item__square--active:after {
569
- content: "";
570
- position: absolute;
571
- left: 0;
572
- bottom: 0;
573
- width: 50%;
574
- height: 0.5rem;
575
- background: #181c56;
576
- }
577
- .eds-contrast .eds-stepper__item__square--active:after {
578
- background: #aeb7e2;
579
- }
580
- .eds-contrast .eds-stepper__item__square--active {
581
- background: #aeb7e2;
582
- background: #393d79;
583
- }
584
- .eds-stepper__item__square--inactive {
585
- color: #656782;
586
- background: #e9e9e9;
587
- }
588
- .eds-contrast .eds-stepper__item__square--inactive {
589
- color: #aeb7e2;
590
- background: #393d79;
591
- }
592
- .eds-stepper__item__square--has-been {
593
- color: inherit;
594
- background: #181c56;
595
- }
596
- .eds-contrast .eds-stepper__item__square--has-been {
597
- background: #aeb7e2;
598
- }
599
- /* DO NOT CHANGE!*/
600
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
601
601
  .eds-overflow-menu__item {
602
602
  -webkit-appearance: none;
603
603
  -moz-appearance: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/menu",
3
- "version": "4.1.46",
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.12",
32
- "@entur/expand": "^3.4.5",
33
- "@entur/icons": "^6.4.0",
34
- "@entur/layout": "^2.1.37",
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.4",
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": "6e84c896e30f146cfc15284218f55ab9f1766d46"
42
+ "gitHead": "5fcad4b449082b80b796ab52e68f178977f2eba7"
43
43
  }