@entur/menu 4.1.49 → 4.1.50
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/BreadcrumbItem.d.ts +19 -19
- package/dist/BreadcrumbNavigation.d.ts +11 -11
- package/dist/CollapsibleSideNavigation.d.ts +27 -27
- package/dist/OverflowMenu.d.ts +45 -45
- package/dist/Pagination.d.ts +69 -69
- package/dist/PaginationInput.d.ts +8 -8
- package/dist/PaginationPage.d.ts +17 -17
- package/dist/SideNavigation.d.ts +16 -16
- package/dist/SideNavigationGroup.d.ts +20 -20
- package/dist/SideNavigationItem.d.ts +33 -33
- package/dist/Stepper.d.ts +23 -23
- package/dist/TopNavigationItem.d.ts +21 -21
- package/dist/index.d.ts +11 -11
- package/dist/menu.cjs.development.js +93 -97
- package/dist/menu.cjs.development.js.map +1 -1
- package/dist/menu.cjs.production.min.js +1 -1
- package/dist/menu.cjs.production.min.js.map +1 -1
- package/dist/menu.esm.js +1 -0
- package/dist/menu.esm.js.map +1 -1
- package/dist/styles.css +213 -215
- package/dist/useControllableProp.d.ts +6 -6
- package/dist/useShowDelayedLabel.d.ts +1 -1
- package/package.json +9 -9
package/dist/styles.css
CHANGED
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--eds-menu: 1;
|
|
3
|
-
--reach-menu-button: 1;
|
|
4
|
-
}
|
|
5
1
|
/* DO NOT CHANGE!*/
|
|
6
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
7
3
|
.eds-breadcrumb {
|
|
@@ -50,217 +46,6 @@
|
|
|
50
46
|
}
|
|
51
47
|
/* DO NOT CHANGE!*/
|
|
52
48
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
53
|
-
.eds-top-navigation-item {
|
|
54
|
-
--show-active-line: 0;
|
|
55
|
-
display: inline-block;
|
|
56
|
-
cursor: pointer;
|
|
57
|
-
color: inherit;
|
|
58
|
-
text-decoration: none;
|
|
59
|
-
position: relative;
|
|
60
|
-
padding: 1rem;
|
|
61
|
-
min-width: 5rem;
|
|
62
|
-
width: -moz-fit-content;
|
|
63
|
-
width: fit-content;
|
|
64
|
-
text-align: center;
|
|
65
|
-
font-family: inherit;
|
|
66
|
-
font-size: 1rem;
|
|
67
|
-
font-weight: 600;
|
|
68
|
-
}
|
|
69
|
-
.eds-top-navigation-item::after {
|
|
70
|
-
content: "";
|
|
71
|
-
display: block;
|
|
72
|
-
bottom: 1rem;
|
|
73
|
-
height: 0.1875rem;
|
|
74
|
-
width: 0;
|
|
75
|
-
margin: 0 auto;
|
|
76
|
-
opacity: var(--show-active-line);
|
|
77
|
-
background: #ff5959;
|
|
78
|
-
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
79
|
-
}
|
|
80
|
-
.eds-top-navigation-item:focus {
|
|
81
|
-
outline-offset: 0.125rem;
|
|
82
|
-
outline: none;
|
|
83
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
84
|
-
}
|
|
85
|
-
.eds-contrast .eds-top-navigation-item:focus {
|
|
86
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
87
|
-
}
|
|
88
|
-
.eds-top-navigation-item:hover {
|
|
89
|
-
--show-active-line: 1;
|
|
90
|
-
}
|
|
91
|
-
.eds-top-navigation-item:hover::after {
|
|
92
|
-
width: 2rem;
|
|
93
|
-
}
|
|
94
|
-
.eds-top-navigation-item--active {
|
|
95
|
-
--show-active-line: 1;
|
|
96
|
-
}
|
|
97
|
-
.eds-top-navigation-item--active::after {
|
|
98
|
-
width: 2rem;
|
|
99
|
-
}
|
|
100
|
-
/* DO NOT CHANGE!*/
|
|
101
|
-
/* 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 {
|
|
128
|
-
-webkit-appearance: none;
|
|
129
|
-
-moz-appearance: none;
|
|
130
|
-
appearance: none;
|
|
131
|
-
background: transparent;
|
|
132
|
-
border: 0.0625rem solid #d1d3d3;
|
|
133
|
-
border-radius: 0.25rem;
|
|
134
|
-
color: inherit;
|
|
135
|
-
font-family: inherit;
|
|
136
|
-
display: flex;
|
|
137
|
-
align-items: center;
|
|
138
|
-
justify-content: space-around;
|
|
139
|
-
height: 2rem;
|
|
140
|
-
margin-left: 0.25rem;
|
|
141
|
-
margin-right: 1rem;
|
|
142
|
-
width: 3.5rem;
|
|
143
|
-
}
|
|
144
|
-
.eds-pagination-menu__menu-button--open {
|
|
145
|
-
border-color: currentColor;
|
|
146
|
-
}
|
|
147
|
-
.eds-pagination-menu__menu-button:focus {
|
|
148
|
-
outline: none;
|
|
149
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
150
|
-
}
|
|
151
|
-
.eds-pagination-menu__menu-list {
|
|
152
|
-
width: 3.5rem;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.eds-pagination__page {
|
|
156
|
-
align-items: center;
|
|
157
|
-
-webkit-appearance: none;
|
|
158
|
-
-moz-appearance: none;
|
|
159
|
-
appearance: none;
|
|
160
|
-
background: transparent;
|
|
161
|
-
border: 0.0625rem solid #d1d3d3;
|
|
162
|
-
border-color: #d1d3d3;
|
|
163
|
-
border-radius: 0.25rem;
|
|
164
|
-
color: inherit;
|
|
165
|
-
cursor: pointer;
|
|
166
|
-
display: flex;
|
|
167
|
-
font-family: inherit;
|
|
168
|
-
font-size: 0.875rem;
|
|
169
|
-
height: 2rem;
|
|
170
|
-
justify-content: center;
|
|
171
|
-
margin: 0 0.125rem;
|
|
172
|
-
padding: 0 0.25rem;
|
|
173
|
-
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
174
|
-
-webkit-user-select: none;
|
|
175
|
-
-moz-user-select: none;
|
|
176
|
-
user-select: none;
|
|
177
|
-
min-width: 2rem;
|
|
178
|
-
}
|
|
179
|
-
.eds-contrast .eds-pagination__page {
|
|
180
|
-
border-color: #54568c;
|
|
181
|
-
}
|
|
182
|
-
.eds-pagination__page--selected {
|
|
183
|
-
background: #d1d4e3;
|
|
184
|
-
border-color: #181c56;
|
|
185
|
-
color: inherit;
|
|
186
|
-
opacity: 1;
|
|
187
|
-
pointer-events: none;
|
|
188
|
-
}
|
|
189
|
-
.eds-contrast .eds-pagination__page--selected {
|
|
190
|
-
border-color: #ffffff;
|
|
191
|
-
background: #393d79;
|
|
192
|
-
}
|
|
193
|
-
.eds-pagination__page--disabled {
|
|
194
|
-
opacity: 0.5;
|
|
195
|
-
pointer-events: none;
|
|
196
|
-
}
|
|
197
|
-
.eds-pagination__page:hover {
|
|
198
|
-
background-color: #d1d4e3;
|
|
199
|
-
border-color: #d1d4e3;
|
|
200
|
-
}
|
|
201
|
-
.eds-contrast .eds-pagination__page:hover {
|
|
202
|
-
background-color: #393d79;
|
|
203
|
-
border-color: #393d79;
|
|
204
|
-
}
|
|
205
|
-
.eds-pagination__page:focus {
|
|
206
|
-
outline: none;
|
|
207
|
-
border-color: #181c56;
|
|
208
|
-
}
|
|
209
|
-
.eds-contrast .eds-pagination__page:focus {
|
|
210
|
-
border-color: #ffffff;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.eds-pagination__ellipsis {
|
|
214
|
-
align-items: baseline;
|
|
215
|
-
cursor: default;
|
|
216
|
-
display: flex;
|
|
217
|
-
font-size: 1.5rem;
|
|
218
|
-
height: 2rem;
|
|
219
|
-
justify-content: center;
|
|
220
|
-
-webkit-user-select: none;
|
|
221
|
-
-moz-user-select: none;
|
|
222
|
-
user-select: none;
|
|
223
|
-
width: 2rem;
|
|
224
|
-
margin: 0 2px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.eds-pagination__input-wrapper {
|
|
228
|
-
white-space: nowrap;
|
|
229
|
-
}
|
|
230
|
-
.eds-pagination__input-label {
|
|
231
|
-
border-left: 0.0625rem solid #d1d3d3;
|
|
232
|
-
color: #656782;
|
|
233
|
-
font-size: 0.875rem;
|
|
234
|
-
margin-left: 0.5rem;
|
|
235
|
-
padding: 0 1rem;
|
|
236
|
-
}
|
|
237
|
-
.eds-contrast .eds-pagination__input-label {
|
|
238
|
-
border-color: #393d79;
|
|
239
|
-
color: #aeb7e2;
|
|
240
|
-
}
|
|
241
|
-
.eds-pagination__input-field {
|
|
242
|
-
-webkit-appearance: none;
|
|
243
|
-
-moz-appearance: none;
|
|
244
|
-
appearance: none;
|
|
245
|
-
background: transparent;
|
|
246
|
-
border: 0.0625rem solid #d1d3d3;
|
|
247
|
-
border-radius: 0.25rem;
|
|
248
|
-
color: inherit;
|
|
249
|
-
font-family: inherit;
|
|
250
|
-
font-size: 0.875rem;
|
|
251
|
-
height: 2rem;
|
|
252
|
-
text-align: center;
|
|
253
|
-
width: 2rem;
|
|
254
|
-
}
|
|
255
|
-
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
256
|
-
-webkit-appearance: none;
|
|
257
|
-
appearance: none;
|
|
258
|
-
margin: 0;
|
|
259
|
-
}
|
|
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
49
|
.eds-side-navigation,
|
|
265
50
|
.eds-side-navigation-group {
|
|
266
51
|
--primary-background-color: #f8f8f8;
|
|
@@ -479,6 +264,215 @@
|
|
|
479
264
|
}
|
|
480
265
|
/* DO NOT CHANGE!*/
|
|
481
266
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
267
|
+
.eds-top-navigation-item {
|
|
268
|
+
--show-active-line: 0;
|
|
269
|
+
display: inline-block;
|
|
270
|
+
cursor: pointer;
|
|
271
|
+
color: inherit;
|
|
272
|
+
text-decoration: none;
|
|
273
|
+
position: relative;
|
|
274
|
+
padding: 1rem;
|
|
275
|
+
min-width: 5rem;
|
|
276
|
+
width: -moz-fit-content;
|
|
277
|
+
width: fit-content;
|
|
278
|
+
text-align: center;
|
|
279
|
+
font-family: inherit;
|
|
280
|
+
font-size: 1rem;
|
|
281
|
+
font-weight: 600;
|
|
282
|
+
}
|
|
283
|
+
.eds-top-navigation-item::after {
|
|
284
|
+
content: "";
|
|
285
|
+
display: block;
|
|
286
|
+
bottom: 1rem;
|
|
287
|
+
height: 0.1875rem;
|
|
288
|
+
width: 0;
|
|
289
|
+
margin: 0 auto;
|
|
290
|
+
opacity: var(--show-active-line);
|
|
291
|
+
background: #ff5959;
|
|
292
|
+
transition: width ease-in-out 0.2s, opacity ease-in-out 0.2s;
|
|
293
|
+
}
|
|
294
|
+
.eds-top-navigation-item:focus {
|
|
295
|
+
outline-offset: 0.125rem;
|
|
296
|
+
outline: none;
|
|
297
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
298
|
+
}
|
|
299
|
+
.eds-contrast .eds-top-navigation-item:focus {
|
|
300
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
301
|
+
}
|
|
302
|
+
.eds-top-navigation-item:hover {
|
|
303
|
+
--show-active-line: 1;
|
|
304
|
+
}
|
|
305
|
+
.eds-top-navigation-item:hover::after {
|
|
306
|
+
width: 2rem;
|
|
307
|
+
}
|
|
308
|
+
.eds-top-navigation-item--active {
|
|
309
|
+
--show-active-line: 1;
|
|
310
|
+
}
|
|
311
|
+
.eds-top-navigation-item--active::after {
|
|
312
|
+
width: 2rem;
|
|
313
|
+
}
|
|
314
|
+
/* DO NOT CHANGE!*/
|
|
315
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
316
|
+
.eds-pagination {
|
|
317
|
+
align-items: center;
|
|
318
|
+
display: flex;
|
|
319
|
+
flex-wrap: wrap;
|
|
320
|
+
row-gap: 0.75rem;
|
|
321
|
+
justify-content: space-between;
|
|
322
|
+
}
|
|
323
|
+
.eds-pagination__results {
|
|
324
|
+
align-items: center;
|
|
325
|
+
display: flex;
|
|
326
|
+
flex: 1;
|
|
327
|
+
justify-content: flex-start;
|
|
328
|
+
}
|
|
329
|
+
.eds-pagination__results-label {
|
|
330
|
+
margin-right: 0.5rem;
|
|
331
|
+
}
|
|
332
|
+
.eds-pagination__controls {
|
|
333
|
+
align-items: center;
|
|
334
|
+
display: flex;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
}
|
|
337
|
+
.eds-pagination__results:first-of-type:last-of-type, .eds-pagination__controls:first-of-type:last-of-type {
|
|
338
|
+
margin: 0 auto;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.eds-pagination-menu__menu-button {
|
|
342
|
+
-webkit-appearance: none;
|
|
343
|
+
-moz-appearance: none;
|
|
344
|
+
appearance: none;
|
|
345
|
+
background: transparent;
|
|
346
|
+
border: 0.0625rem solid #d1d3d3;
|
|
347
|
+
border-radius: 0.25rem;
|
|
348
|
+
color: inherit;
|
|
349
|
+
font-family: inherit;
|
|
350
|
+
display: flex;
|
|
351
|
+
align-items: center;
|
|
352
|
+
justify-content: space-around;
|
|
353
|
+
height: 2rem;
|
|
354
|
+
margin-left: 0.25rem;
|
|
355
|
+
margin-right: 1rem;
|
|
356
|
+
width: 3.5rem;
|
|
357
|
+
}
|
|
358
|
+
.eds-pagination-menu__menu-button--open {
|
|
359
|
+
border-color: currentColor;
|
|
360
|
+
}
|
|
361
|
+
.eds-pagination-menu__menu-button:focus {
|
|
362
|
+
outline: none;
|
|
363
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
364
|
+
}
|
|
365
|
+
.eds-pagination-menu__menu-list {
|
|
366
|
+
width: 3.5rem;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
.eds-pagination__page {
|
|
370
|
+
align-items: center;
|
|
371
|
+
-webkit-appearance: none;
|
|
372
|
+
-moz-appearance: none;
|
|
373
|
+
appearance: none;
|
|
374
|
+
background: transparent;
|
|
375
|
+
border: 0.0625rem solid #d1d3d3;
|
|
376
|
+
border-color: #d1d3d3;
|
|
377
|
+
border-radius: 0.25rem;
|
|
378
|
+
color: inherit;
|
|
379
|
+
cursor: pointer;
|
|
380
|
+
display: flex;
|
|
381
|
+
font-family: inherit;
|
|
382
|
+
font-size: 0.875rem;
|
|
383
|
+
height: 2rem;
|
|
384
|
+
justify-content: center;
|
|
385
|
+
margin: 0 0.125rem;
|
|
386
|
+
padding: 0 0.25rem;
|
|
387
|
+
transition: background 0.1s ease-out, border-color 0.1s ease-out;
|
|
388
|
+
-webkit-user-select: none;
|
|
389
|
+
-moz-user-select: none;
|
|
390
|
+
user-select: none;
|
|
391
|
+
min-width: 2rem;
|
|
392
|
+
}
|
|
393
|
+
.eds-contrast .eds-pagination__page {
|
|
394
|
+
border-color: #54568c;
|
|
395
|
+
}
|
|
396
|
+
.eds-pagination__page--selected {
|
|
397
|
+
background: #d1d4e3;
|
|
398
|
+
border-color: #181c56;
|
|
399
|
+
color: inherit;
|
|
400
|
+
opacity: 1;
|
|
401
|
+
pointer-events: none;
|
|
402
|
+
}
|
|
403
|
+
.eds-contrast .eds-pagination__page--selected {
|
|
404
|
+
border-color: #ffffff;
|
|
405
|
+
background: #393d79;
|
|
406
|
+
}
|
|
407
|
+
.eds-pagination__page--disabled {
|
|
408
|
+
opacity: 0.5;
|
|
409
|
+
pointer-events: none;
|
|
410
|
+
}
|
|
411
|
+
.eds-pagination__page:hover {
|
|
412
|
+
background-color: #d1d4e3;
|
|
413
|
+
border-color: #d1d4e3;
|
|
414
|
+
}
|
|
415
|
+
.eds-contrast .eds-pagination__page:hover {
|
|
416
|
+
background-color: #393d79;
|
|
417
|
+
border-color: #393d79;
|
|
418
|
+
}
|
|
419
|
+
.eds-pagination__page:focus {
|
|
420
|
+
outline: none;
|
|
421
|
+
border-color: #181c56;
|
|
422
|
+
}
|
|
423
|
+
.eds-contrast .eds-pagination__page:focus {
|
|
424
|
+
border-color: #ffffff;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.eds-pagination__ellipsis {
|
|
428
|
+
align-items: baseline;
|
|
429
|
+
cursor: default;
|
|
430
|
+
display: flex;
|
|
431
|
+
font-size: 1.5rem;
|
|
432
|
+
height: 2rem;
|
|
433
|
+
justify-content: center;
|
|
434
|
+
-webkit-user-select: none;
|
|
435
|
+
-moz-user-select: none;
|
|
436
|
+
user-select: none;
|
|
437
|
+
width: 2rem;
|
|
438
|
+
margin: 0 2px;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.eds-pagination__input-wrapper {
|
|
442
|
+
white-space: nowrap;
|
|
443
|
+
}
|
|
444
|
+
.eds-pagination__input-label {
|
|
445
|
+
border-left: 0.0625rem solid #d1d3d3;
|
|
446
|
+
color: #656782;
|
|
447
|
+
font-size: 0.875rem;
|
|
448
|
+
margin-left: 0.5rem;
|
|
449
|
+
padding: 0 1rem;
|
|
450
|
+
}
|
|
451
|
+
.eds-contrast .eds-pagination__input-label {
|
|
452
|
+
border-color: #393d79;
|
|
453
|
+
color: #aeb7e2;
|
|
454
|
+
}
|
|
455
|
+
.eds-pagination__input-field {
|
|
456
|
+
-webkit-appearance: none;
|
|
457
|
+
-moz-appearance: none;
|
|
458
|
+
appearance: none;
|
|
459
|
+
background: transparent;
|
|
460
|
+
border: 0.0625rem solid #d1d3d3;
|
|
461
|
+
border-radius: 0.25rem;
|
|
462
|
+
color: inherit;
|
|
463
|
+
font-family: inherit;
|
|
464
|
+
font-size: 0.875rem;
|
|
465
|
+
height: 2rem;
|
|
466
|
+
text-align: center;
|
|
467
|
+
width: 2rem;
|
|
468
|
+
}
|
|
469
|
+
.eds-pagination__input-field::-webkit-inner-spin-button, .eds-pagination__input-field::-webkit-outer-spin-button {
|
|
470
|
+
-webkit-appearance: none;
|
|
471
|
+
appearance: none;
|
|
472
|
+
margin: 0;
|
|
473
|
+
}
|
|
474
|
+
/* DO NOT CHANGE!*/
|
|
475
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
482
476
|
.eds-overflow-menu__item {
|
|
483
477
|
-webkit-appearance: none;
|
|
484
478
|
-moz-appearance: none;
|
|
@@ -682,3 +676,7 @@
|
|
|
682
676
|
.eds-contrast .eds-stepper__item__square--has-been {
|
|
683
677
|
background: #aeb7e2;
|
|
684
678
|
}
|
|
679
|
+
:root {
|
|
680
|
+
--eds-menu: 1;
|
|
681
|
+
--reach-menu-button: 1;
|
|
682
|
+
}
|
|
@@ -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];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.50",
|
|
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.1.
|
|
32
|
-
"@entur/expand": "^3.4.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/layout": "^2.1.
|
|
30
|
+
"@entur/a11y": "^0.2.70",
|
|
31
|
+
"@entur/button": "^3.1.2",
|
|
32
|
+
"@entur/expand": "^3.4.9",
|
|
33
|
+
"@entur/icons": "^6.5.0",
|
|
34
|
+
"@entur/layout": "^2.1.41",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
36
|
-
"@entur/typography": "^1.8.
|
|
37
|
-
"@entur/utils": "^0.9.
|
|
36
|
+
"@entur/typography": "^1.8.8",
|
|
37
|
+
"@entur/utils": "^0.9.5",
|
|
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": "9b8d4e5d2e6f7a74256371e30ebef43e046c9338"
|
|
43
43
|
}
|