@entur/menu 4.1.49 → 4.1.52

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 CHANGED
@@ -1,6 +1,220 @@
1
- :root {
2
- --eds-menu: 1;
3
- --reach-menu-button: 1;
1
+ /* DO NOT CHANGE!*/
2
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-side-navigation,
4
+ .eds-side-navigation-group {
5
+ --primary-background-color: #f8f8f8;
6
+ --primary-text-color: #181c56;
7
+ }
8
+ .eds-contrast .eds-side-navigation,
9
+ .eds-contrast .eds-side-navigation-group {
10
+ --primary-background-color: #181c56;
11
+ --primary-text-color: colors-brand-white;
12
+ }
13
+
14
+ .eds-side-navigation__click-target svg {
15
+ margin-right: 1rem;
16
+ color: #656782;
17
+ display: inline-flex;
18
+ align-self: center;
19
+ position: relative;
20
+ top: 0.075em;
21
+ }
22
+ .eds-contrast .eds-side-navigation__click-target svg {
23
+ color: #aeb7e2;
24
+ }
25
+
26
+ .eds-side-navigation__click-target[disabled] svg {
27
+ color: #656782;
28
+ }
29
+
30
+ .eds-side-navigation {
31
+ --padding-vertical: 1rem;
32
+ --padding-horizontal: 2.5rem;
33
+ background-color: var(--primary-background-color);
34
+ color: var(--primary-text-color);
35
+ padding: 0;
36
+ margin: 0;
37
+ list-style: none;
38
+ position: relative;
39
+ transition: max-width ease-in-out 0.2s;
40
+ }
41
+ .eds-side-navigation__collapse-button {
42
+ position: absolute;
43
+ right: -0.75rem;
44
+ height: 1.5rem;
45
+ width: 1.5rem;
46
+ border-radius: 50%;
47
+ cursor: pointer;
48
+ background: #ffffff;
49
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
50
+ border: 0.0625rem solid #d1d3d3;
51
+ color: inherit;
52
+ padding: 0;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ border: none;
57
+ z-index: 10;
58
+ }
59
+ .eds-contrast .eds-side-navigation__collapse-button {
60
+ background: #393d79;
61
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
62
+ border-color: transparent;
63
+ }
64
+ .eds-side-navigation__collapse-button svg {
65
+ margin: 0;
66
+ top: 0;
67
+ color: #181c56;
68
+ }
69
+ .eds-contrast .eds-side-navigation__collapse-button svg {
70
+ color: #ffffff;
71
+ }
72
+ .eds-side-navigation__collapse-button:focus {
73
+ outline: 2px solid #181c56;
74
+ }
75
+ .eds-contrast .eds-side-navigation__collapse-button:focus {
76
+ outline: 2px solid #ffffff;
77
+ }
78
+ @media screen and (min-width: 50rem) {
79
+ .eds-side-navigation {
80
+ max-width: 26rem;
81
+ }
82
+ }
83
+ .eds-side-navigation--small {
84
+ --padding-vertical: calc(0.5rem + 0.1875rem);
85
+ }
86
+ .eds-side-navigation .eds-side-navigation {
87
+ background-color: #f3f3f3;
88
+ }
89
+ .eds-contrast .eds-side-navigation .eds-side-navigation {
90
+ background-color: #292b6a;
91
+ }
92
+ .eds-side-navigation--collapsed {
93
+ max-width: 80px;
94
+ }
95
+
96
+ .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target {
97
+ padding-left: 3.5rem;
98
+ box-shadow: none;
99
+ }
100
+ .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
101
+ background-color: #d1d4e3;
102
+ }
103
+ .eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
104
+ background-color: #54568c;
105
+ }
106
+
107
+ .eds-side-navigation__click-target {
108
+ -webkit-appearance: none;
109
+ -moz-appearance: none;
110
+ appearance: none;
111
+ background: none;
112
+ border: 0;
113
+ border-bottom: 0.125rem solid #e9e9e9;
114
+ border-radius: 0;
115
+ color: var(--primary-text-color);
116
+ cursor: pointer;
117
+ display: block;
118
+ font-family: inherit;
119
+ font-size: inherit;
120
+ font-weight: 500;
121
+ line-height: inherit;
122
+ padding: var(--padding-vertical) 2.5rem;
123
+ padding-left: 2.5rem;
124
+ transition: padding 0.2s ease-in-out;
125
+ text-align: left;
126
+ text-decoration: none;
127
+ width: 100%;
128
+ }
129
+ .eds-contrast .eds-side-navigation__click-target {
130
+ border-color: #292b6a;
131
+ }
132
+ .eds-side-navigation--collapsed .eds-side-navigation__click-target {
133
+ padding-left: 2rem;
134
+ }
135
+ .eds-side-navigation__click-target--active {
136
+ box-shadow: inset 0.25rem 0 0 #181c56;
137
+ font-weight: 600;
138
+ }
139
+ .eds-contrast .eds-side-navigation__click-target--active {
140
+ box-shadow: inset 0.25rem 0 0 #ff5959;
141
+ }
142
+ .eds-side-navigation__click-target[disabled] {
143
+ cursor: not-allowed;
144
+ color: #656782;
145
+ }
146
+ .eds-side-navigation__click-target:not([disabled]):hover {
147
+ background-color: #d1d4e3;
148
+ }
149
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
150
+ background-color: #393d79;
151
+ }
152
+ .eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
153
+ outline: 2px solid #181c56;
154
+ outline-offset: -2px;
155
+ background: #ebebf1;
156
+ }
157
+ .eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
158
+ background-color: #54568c;
159
+ outline: 2px solid #ffffff;
160
+ }
161
+
162
+ .eds-side-navigation-group {
163
+ background-color: var(--primary-background-color);
164
+ color: var(--primary-text-color);
165
+ }
166
+ .eds-side-navigation-group + .eds-side-navigation-group {
167
+ padding-top: 0.5rem;
168
+ }
169
+ @media screen and (min-width: 50rem) {
170
+ .eds-side-navigation-group {
171
+ max-width: 26rem;
172
+ }
173
+ }
174
+
175
+ .eds-side-navigation-group__trigger {
176
+ align-items: center;
177
+ -webkit-appearance: none;
178
+ -moz-appearance: none;
179
+ appearance: none;
180
+ background: none;
181
+ border: none;
182
+ border-radius: 0;
183
+ border-bottom: 0.125rem solid #e9e9e9;
184
+ color: #656782;
185
+ cursor: pointer;
186
+ display: flex;
187
+ font-size: 0.875rem;
188
+ font-family: inherit;
189
+ font-weight: 500;
190
+ height: 3rem;
191
+ justify-content: space-between;
192
+ letter-spacing: 1px;
193
+ line-height: 1.25rem;
194
+ padding: 0.75rem 0 0.75rem 2.5rem;
195
+ margin: 0;
196
+ text-transform: uppercase;
197
+ transition: padding 0.2s ease-in-out;
198
+ width: 100%;
199
+ }
200
+ .eds-contrast .eds-side-navigation-group__trigger {
201
+ color: #aeb7e2;
202
+ border-color: #292b6a;
203
+ }
204
+ .eds-side-navigation-group__trigger-icon {
205
+ margin-right: 0.75rem;
206
+ }
207
+ .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
208
+ margin-right: 2.5rem;
209
+ }
210
+ .eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
211
+ padding-left: 2rem;
212
+ }
213
+ .eds-side-navigation-group__trigger:focus {
214
+ outline: 2px solid #181c56;
215
+ }
216
+ .eds-contrast .eds-side-navigation-group__trigger:focus {
217
+ outline: 2px solid #ffffff;
4
218
  }
5
219
  /* DO NOT CHANGE!*/
6
220
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -99,43 +313,129 @@
99
313
  }
100
314
  /* DO NOT CHANGE!*/
101
315
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
102
- .eds-pagination {
103
- align-items: center;
104
- display: flex;
105
- flex-wrap: wrap;
106
- row-gap: 0.75rem;
107
- justify-content: space-between;
108
- }
109
- .eds-pagination__results {
110
- align-items: center;
111
- display: flex;
112
- flex: 1;
113
- justify-content: flex-start;
114
- }
115
- .eds-pagination__results-label {
116
- margin-right: 0.5rem;
117
- }
118
- .eds-pagination__controls {
119
- align-items: center;
120
- display: flex;
121
- justify-content: center;
122
- }
123
- .eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
124
- margin: 0 auto;
125
- }
126
-
127
- .eds-pagination-menu__menu-button {
316
+ .eds-overflow-menu__item {
128
317
  -webkit-appearance: none;
129
318
  -moz-appearance: none;
130
319
  appearance: none;
131
- background: transparent;
132
- border: 0.0625rem solid #d1d3d3;
133
- border-radius: 0.25rem;
134
- color: inherit;
320
+ border: none;
321
+ font-size: 0.875rem;
135
322
  font-family: inherit;
136
- display: flex;
137
- align-items: center;
138
- justify-content: space-around;
323
+ color: var(--primary-text-color);
324
+ background: #f8f8f8;
325
+ display: block;
326
+ height: 3rem;
327
+ cursor: pointer;
328
+ width: 100%;
329
+ line-height: 1.375rem;
330
+ text-align: left;
331
+ padding: 0.75rem 1rem;
332
+ opacity: 1;
333
+ }
334
+ .eds-contrast .eds-overflow-menu__item {
335
+ color: #181c56;
336
+ }
337
+ .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
338
+ background: #e9e9e9;
339
+ color: #949494;
340
+ }
341
+ .eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
342
+ background: #e9e9e9;
343
+ color: #949494;
344
+ }
345
+ .eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
346
+ cursor: not-allowed;
347
+ background: #e9e9e9;
348
+ color: #949494;
349
+ }
350
+ .eds-overflow-menu__item .eds-icon {
351
+ margin-right: 0.75rem;
352
+ }
353
+ .eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
354
+ background: #d1d4e3;
355
+ }
356
+ .eds-overflow-menu__item:focus {
357
+ outline: none;
358
+ }
359
+
360
+ .eds-overflow-menu__item + .eds-overflow-menu__item {
361
+ border-top: 0.0625rem solid #e9e9e9;
362
+ }
363
+
364
+ .eds-overflow-menu__menu-list[data-reach-menu-list] {
365
+ border: 0.0625rem solid #e9e9e9;
366
+ border-radius: 0.25rem;
367
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
368
+ overflow: hidden;
369
+ }
370
+ .eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
371
+ outline: none;
372
+ }
373
+ .eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
374
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
375
+ }
376
+
377
+ .eds-overflow-menu__menu-list[data-reach-menu-list],
378
+ .eds-overflow-menu__menu-list[data-reach-menu-items] {
379
+ animation: slide-in 0.2s ease-in-out;
380
+ }
381
+
382
+ @keyframes slide-in {
383
+ 0% {
384
+ opacity: 0;
385
+ transform: translateY(0.5rem);
386
+ }
387
+ 100% {
388
+ opacity: 1;
389
+ transform: translateY(0);
390
+ }
391
+ }
392
+ [data-reach-menu-popover] {
393
+ position: absolute;
394
+ z-index: 30;
395
+ }
396
+ [data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
397
+ position: relative;
398
+ right: calc(100% - 2rem);
399
+ }
400
+ /* DO NOT CHANGE!*/
401
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
402
+ .eds-pagination {
403
+ align-items: center;
404
+ display: flex;
405
+ flex-wrap: wrap;
406
+ row-gap: 0.75rem;
407
+ justify-content: space-between;
408
+ }
409
+ .eds-pagination__results {
410
+ align-items: center;
411
+ display: flex;
412
+ flex: 1;
413
+ justify-content: flex-start;
414
+ }
415
+ .eds-pagination__results-label {
416
+ margin-right: 0.5rem;
417
+ }
418
+ .eds-pagination__controls {
419
+ align-items: center;
420
+ display: flex;
421
+ justify-content: center;
422
+ }
423
+ .eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
424
+ margin: 0 auto;
425
+ }
426
+
427
+ .eds-pagination-menu__menu-button {
428
+ -webkit-appearance: none;
429
+ -moz-appearance: none;
430
+ appearance: none;
431
+ background: transparent;
432
+ border: 0.0625rem solid #d1d3d3;
433
+ border-radius: 0.25rem;
434
+ color: inherit;
435
+ font-family: inherit;
436
+ display: flex;
437
+ align-items: center;
438
+ justify-content: space-around;
139
439
  height: 2rem;
140
440
  margin-left: 0.25rem;
141
441
  margin-right: 1rem;
@@ -257,311 +557,9 @@
257
557
  appearance: none;
258
558
  margin: 0;
259
559
  }
260
- /* DO NOT CHANGE!*/
261
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
262
- /* DO NOT CHANGE!*/
263
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
264
- .eds-side-navigation,
265
- .eds-side-navigation-group {
266
- --primary-background-color: #f8f8f8;
267
- --primary-text-color: #181c56;
268
- }
269
- .eds-contrast .eds-side-navigation,
270
- .eds-contrast .eds-side-navigation-group {
271
- --primary-background-color: #181c56;
272
- --primary-text-color: colors-brand-white;
273
- }
274
-
275
- .eds-side-navigation__click-target svg {
276
- margin-right: 1rem;
277
- color: #656782;
278
- display: inline-flex;
279
- align-self: center;
280
- position: relative;
281
- top: 0.075em;
282
- }
283
- .eds-contrast .eds-side-navigation__click-target svg {
284
- color: #aeb7e2;
285
- }
286
-
287
- .eds-side-navigation__click-target[disabled] svg {
288
- color: #656782;
289
- }
290
-
291
- .eds-side-navigation {
292
- --padding-vertical: 1rem;
293
- --padding-horizontal: 2.5rem;
294
- background-color: var(--primary-background-color);
295
- color: var(--primary-text-color);
296
- padding: 0;
297
- margin: 0;
298
- list-style: none;
299
- position: relative;
300
- transition: max-width ease-in-out 0.2s;
301
- }
302
- .eds-side-navigation__collapse-button {
303
- position: absolute;
304
- right: -0.75rem;
305
- height: 1.5rem;
306
- width: 1.5rem;
307
- border-radius: 50%;
308
- cursor: pointer;
309
- background: #ffffff;
310
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
311
- border: 0.0625rem solid #d1d3d3;
312
- color: inherit;
313
- padding: 0;
314
- display: flex;
315
- align-items: center;
316
- justify-content: center;
317
- border: none;
318
- z-index: 10;
319
- }
320
- .eds-contrast .eds-side-navigation__collapse-button {
321
- background: #393d79;
322
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
323
- border-color: transparent;
324
- }
325
- .eds-side-navigation__collapse-button svg {
326
- margin: 0;
327
- top: 0;
328
- color: #181c56;
329
- }
330
- .eds-contrast .eds-side-navigation__collapse-button svg {
331
- color: #ffffff;
332
- }
333
- .eds-side-navigation__collapse-button:focus {
334
- outline: 2px solid #181c56;
335
- }
336
- .eds-contrast .eds-side-navigation__collapse-button:focus {
337
- outline: 2px solid #ffffff;
338
- }
339
- @media screen and (min-width: 50rem) {
340
- .eds-side-navigation {
341
- max-width: 26rem;
342
- }
343
- }
344
- .eds-side-navigation--small {
345
- --padding-vertical: calc(0.5rem + 0.1875rem);
346
- }
347
- .eds-side-navigation .eds-side-navigation {
348
- background-color: #f3f3f3;
349
- }
350
- .eds-contrast .eds-side-navigation .eds-side-navigation {
351
- background-color: #292b6a;
352
- }
353
- .eds-side-navigation--collapsed {
354
- max-width: 80px;
355
- }
356
-
357
- .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target {
358
- padding-left: 3.5rem;
359
- box-shadow: none;
360
- }
361
- .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
362
- background-color: #d1d4e3;
363
- }
364
- .eds-contrast .eds-side-navigation .eds-side-navigation .eds-side-navigation__click-target--active {
365
- background-color: #54568c;
366
- }
367
-
368
- .eds-side-navigation__click-target {
369
- -webkit-appearance: none;
370
- -moz-appearance: none;
371
- appearance: none;
372
- background: none;
373
- border: 0;
374
- border-bottom: 0.125rem solid #e9e9e9;
375
- border-radius: 0;
376
- color: var(--primary-text-color);
377
- cursor: pointer;
378
- display: block;
379
- font-family: inherit;
380
- font-size: inherit;
381
- font-weight: 500;
382
- line-height: inherit;
383
- padding: var(--padding-vertical) 2.5rem;
384
- padding-left: 2.5rem;
385
- transition: padding 0.2s ease-in-out;
386
- text-align: left;
387
- text-decoration: none;
388
- width: 100%;
389
- }
390
- .eds-contrast .eds-side-navigation__click-target {
391
- border-color: #292b6a;
392
- }
393
- .eds-side-navigation--collapsed .eds-side-navigation__click-target {
394
- padding-left: 2rem;
395
- }
396
- .eds-side-navigation__click-target--active {
397
- box-shadow: inset 0.25rem 0 0 #181c56;
398
- font-weight: 600;
399
- }
400
- .eds-contrast .eds-side-navigation__click-target--active {
401
- box-shadow: inset 0.25rem 0 0 #ff5959;
402
- }
403
- .eds-side-navigation__click-target[disabled] {
404
- cursor: not-allowed;
405
- color: #656782;
406
- }
407
- .eds-side-navigation__click-target:not([disabled]):hover {
408
- background-color: #d1d4e3;
409
- }
410
- .eds-contrast .eds-side-navigation__click-target:not([disabled]):hover {
411
- background-color: #393d79;
412
- }
413
- .eds-side-navigation__click-target:not([disabled]):active, .eds-side-navigation__click-target:not([disabled]):focus {
414
- outline: 2px solid #181c56;
415
- outline-offset: -2px;
416
- background: #ebebf1;
417
- }
418
- .eds-contrast .eds-side-navigation__click-target:not([disabled]):active, .eds-contrast .eds-side-navigation__click-target:not([disabled]):focus {
419
- background-color: #54568c;
420
- outline: 2px solid #ffffff;
421
- }
422
-
423
- .eds-side-navigation-group {
424
- background-color: var(--primary-background-color);
425
- color: var(--primary-text-color);
426
- }
427
- .eds-side-navigation-group + .eds-side-navigation-group {
428
- padding-top: 0.5rem;
429
- }
430
- @media screen and (min-width: 50rem) {
431
- .eds-side-navigation-group {
432
- max-width: 26rem;
433
- }
434
- }
435
-
436
- .eds-side-navigation-group__trigger {
437
- align-items: center;
438
- -webkit-appearance: none;
439
- -moz-appearance: none;
440
- appearance: none;
441
- background: none;
442
- border: none;
443
- border-radius: 0;
444
- border-bottom: 0.125rem solid #e9e9e9;
445
- color: #656782;
446
- cursor: pointer;
447
- display: flex;
448
- font-size: 0.875rem;
449
- font-family: inherit;
450
- font-weight: 500;
451
- height: 3rem;
452
- justify-content: space-between;
453
- letter-spacing: 1px;
454
- line-height: 1.25rem;
455
- padding: 0.75rem 0 0.75rem 2.5rem;
456
- margin: 0;
457
- text-transform: uppercase;
458
- transition: padding 0.2s ease-in-out;
459
- width: 100%;
460
- }
461
- .eds-contrast .eds-side-navigation-group__trigger {
462
- color: #aeb7e2;
463
- border-color: #292b6a;
464
- }
465
- .eds-side-navigation-group__trigger-icon {
466
- margin-right: 0.75rem;
467
- }
468
- .eds-side-navigation-group__trigger .eds-side-navigation-group__expand-icon {
469
- margin-right: 2.5rem;
470
- }
471
- .eds-side-navigation--collapsed .eds-side-navigation-group__trigger {
472
- padding-left: 2rem;
473
- }
474
- .eds-side-navigation-group__trigger:focus {
475
- outline: 2px solid #181c56;
476
- }
477
- .eds-contrast .eds-side-navigation-group__trigger:focus {
478
- outline: 2px solid #ffffff;
479
- }
480
- /* DO NOT CHANGE!*/
481
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
482
- .eds-overflow-menu__item {
483
- -webkit-appearance: none;
484
- -moz-appearance: none;
485
- appearance: none;
486
- border: none;
487
- font-size: 0.875rem;
488
- font-family: inherit;
489
- color: var(--primary-text-color);
490
- background: #f8f8f8;
491
- display: block;
492
- height: 3rem;
493
- cursor: pointer;
494
- width: 100%;
495
- line-height: 1.375rem;
496
- text-align: left;
497
- padding: 0.75rem 1rem;
498
- opacity: 1;
499
- }
500
- .eds-contrast .eds-overflow-menu__item {
501
- color: #181c56;
502
- }
503
- .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
504
- background: #e9e9e9;
505
- color: #949494;
506
- }
507
- .eds-contrast .eds-overflow-menu__item.eds-overflow-menu__item--disabled {
508
- background: #e9e9e9;
509
- color: #949494;
510
- }
511
- .eds-overflow-menu__item.eds-overflow-menu__item--disabled:hover {
512
- cursor: not-allowed;
513
- background: #e9e9e9;
514
- color: #949494;
515
- }
516
- .eds-overflow-menu__item .eds-icon {
517
- margin-right: 0.75rem;
518
- }
519
- .eds-overflow-menu__item:hover, .eds-overflow-menu__item:focus, .eds-overflow-menu__item[data-selected] {
520
- background: #d1d4e3;
521
- }
522
- .eds-overflow-menu__item:focus {
523
- outline: none;
524
- }
525
-
526
- .eds-overflow-menu__item + .eds-overflow-menu__item {
527
- border-top: 0.0625rem solid #e9e9e9;
528
- }
529
-
530
- .eds-overflow-menu__menu-list[data-reach-menu-list] {
531
- border: 0.0625rem solid #e9e9e9;
532
- border-radius: 0.25rem;
533
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
534
- overflow: hidden;
535
- }
536
- .eds-overflow-menu__menu-list[data-reach-menu-list]:focus {
537
- outline: none;
538
- }
539
- .eds-overflow-menu__menu-list[data-reach-menu-list].eds-contrast {
540
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
541
- }
542
-
543
- .eds-overflow-menu__menu-list[data-reach-menu-list],
544
- .eds-overflow-menu__menu-list[data-reach-menu-items] {
545
- animation: slide-in 0.2s ease-in-out;
546
- }
547
-
548
- @keyframes slide-in {
549
- 0% {
550
- opacity: 0;
551
- transform: translateY(0.5rem);
552
- }
553
- 100% {
554
- opacity: 1;
555
- transform: translateY(0);
556
- }
557
- }
558
- [data-reach-menu-popover] {
559
- position: absolute;
560
- z-index: 30;
561
- }
562
- [data-reach-menu-popover] .eds-overflow-menu__menu-list--left {
563
- position: relative;
564
- right: calc(100% - 2rem);
560
+ :root {
561
+ --eds-menu: 1;
562
+ --reach-menu-button: 1;
565
563
  }
566
564
  /* DO NOT CHANGE!*/
567
565
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -1,6 +1,6 @@
1
- export type UseControllablePropType<T> = {
2
- prop?: T;
3
- updater?: (value?: T) => void;
4
- defaultValue: T;
5
- };
6
- export declare function useControllableProp<T>({ prop, updater, defaultValue, }: UseControllablePropType<T>): [T, (arg: T) => void];
1
+ export type UseControllablePropType<T> = {
2
+ prop?: T;
3
+ updater?: (value?: T) => void;
4
+ defaultValue: T;
5
+ };
6
+ export declare function useControllableProp<T>({ prop, updater, defaultValue, }: UseControllablePropType<T>): [T, (arg: T) => void];
@@ -1 +1 @@
1
- export declare const useShowDelayedLabel: (isCollapsed: boolean) => [boolean];
1
+ export declare const useShowDelayedLabel: (isCollapsed: boolean) => [boolean];