@rescui/menu 0.10.3 → 0.10.5
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/lib/index.css +39 -51
- package/lib/index.p.module.css.js +26 -26
- package/lib/parts/use-menu-keyboard-navigation.js +1 -1
- package/package.json +5 -5
package/lib/index.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_1r7ixww_8{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_1r7ixww_11{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeS_1r7ixww_15{
|
|
8
8
|
--_rs-menu-mi-icon-offset:8px;
|
|
9
9
|
--_rs-menu-mi-vertical-padding:6px;
|
|
10
10
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
42
42
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeM_1r7ixww_18{
|
|
45
45
|
--_rs-menu-mi-icon-offset:8px;
|
|
46
46
|
--_rs-menu-mi-vertical-padding:8px;
|
|
47
47
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
@@ -79,11 +79,11 @@
|
|
|
79
79
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
80
80
|
}
|
|
81
81
|
@media screen and (max-width: 640px){
|
|
82
|
-
.
|
|
82
|
+
._sizeM_1r7ixww_18{
|
|
83
83
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
._sizeL_1r7ixww_21{
|
|
87
87
|
--_rs-menu-mi-icon-offset:16px;
|
|
88
88
|
--_rs-menu-mi-vertical-padding:12px;
|
|
89
89
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
@@ -121,11 +121,11 @@
|
|
|
121
121
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
122
122
|
}
|
|
123
123
|
@media screen and (max-width: 640px){
|
|
124
|
-
.
|
|
124
|
+
._sizeL_1r7ixww_21{
|
|
125
125
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
._modeClassic_1r7ixww_25{
|
|
129
129
|
--_rs-menu-mi-horizontal-padding-with-mode:var(
|
|
130
130
|
--_rs-menu-mi-horizontal-padding
|
|
131
131
|
);
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(51 + var(--_rs-theme-dark-coefficient, 0)*181)
|
|
140
140
|
);
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
._modeRock_1r7ixww_28{
|
|
143
143
|
--_rs-menu-mi-horizontal-padding-with-mode:var(
|
|
144
144
|
--_rs-menu-mi-horizontal-padding
|
|
145
145
|
);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(51 + var(--_rs-theme-dark-coefficient, 0)*181)
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
._modeClear_1r7ixww_31{
|
|
157
157
|
--_rs-menu-mi-horizontal-padding-with-mode:0;
|
|
158
158
|
--_rs-menu-mi-active-background:none;
|
|
159
159
|
--_rs-menu-mi-selected-color:var(--_rs-color-primary);
|
|
@@ -166,15 +166,15 @@
|
|
|
166
166
|
0.1
|
|
167
167
|
);
|
|
168
168
|
}
|
|
169
|
-
.
|
|
169
|
+
._iconPlacementLeft_1r7ixww_35{
|
|
170
170
|
--_rs-menu-mi-flex-direction:row;
|
|
171
171
|
--_rs-menu-mi-justify-content:initial;
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._iconPlacementRight_1r7ixww_39{
|
|
174
174
|
--_rs-menu-mi-flex-direction:row-reverse;
|
|
175
175
|
--_rs-menu-mi-justify-content:space-between;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
._wrapper_1r7ixww_43{
|
|
178
178
|
--_rs-theme-dark:var(
|
|
179
179
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
180
180
|
var(--rs-theme-dark, 0)
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
185
185
|
}
|
|
186
186
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
187
|
-
.
|
|
187
|
+
._wrapper_1r7ixww_43{
|
|
188
188
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
189
189
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
190
190
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -193,7 +193,7 @@
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
196
|
-
.
|
|
196
|
+
._wrapper_1r7ixww_43{
|
|
197
197
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
198
198
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
199
199
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
.
|
|
204
|
+
._wrapper_1r7ixww_43 {
|
|
205
205
|
|
|
206
206
|
display:-webkit-box;
|
|
207
207
|
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
|
|
210
210
|
display:flex;
|
|
211
211
|
}
|
|
212
|
-
.
|
|
212
|
+
._menuItem_1r7ixww_50{
|
|
213
213
|
letter-spacing:var(
|
|
214
214
|
--rs-text-base-letter-spacing,
|
|
215
215
|
var(--_rs-typography-letter-spacing)
|
|
@@ -222,12 +222,6 @@
|
|
|
222
222
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
223
223
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
224
224
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
225
|
-
}
|
|
226
|
-
._menuItem_i2aswe_50 > p:not(:nth-child(1)),
|
|
227
|
-
._menuItem_i2aswe_50 > pre:not(:nth-child(1)){
|
|
228
|
-
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
229
|
-
}
|
|
230
|
-
._menuItem_i2aswe_50 {
|
|
231
225
|
|
|
232
226
|
display:-webkit-box;
|
|
233
227
|
|
|
@@ -268,54 +262,54 @@
|
|
|
268
262
|
-webkit-font-smoothing:inherit;
|
|
269
263
|
-moz-osx-font-smoothing:inherit;
|
|
270
264
|
}
|
|
271
|
-
.
|
|
265
|
+
._menuItem_1r7ixww_50:focus{
|
|
272
266
|
outline:none;
|
|
273
267
|
}
|
|
274
|
-
.
|
|
268
|
+
._keyboardNavigationDisabled_1r7ixww_85 ._menuItem_1r7ixww_50:focus[data-focus-method='key']{
|
|
275
269
|
-webkit-box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
|
|
276
270
|
box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
|
|
277
271
|
}
|
|
278
|
-
.
|
|
272
|
+
._menuItem_1r7ixww_50:active{
|
|
279
273
|
color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
280
274
|
background:var(--_rs-menu-mi-active-background);
|
|
281
275
|
}
|
|
282
|
-
.
|
|
276
|
+
._menuItem_1r7ixww_50._selected_1r7ixww_99{
|
|
283
277
|
color:var(--_rs-menu-mi-selected-color);
|
|
284
278
|
background:var(--_rs-menu-mi-selected-background);
|
|
285
279
|
}
|
|
286
|
-
.
|
|
287
|
-
.
|
|
280
|
+
._menuItem_1r7ixww_50._highlighted_1r7ixww_106,
|
|
281
|
+
._menuItem_1r7ixww_50:not(._disableCursor_1r7ixww_107):hover{
|
|
288
282
|
color:var(--_rs-menu-mi-hover-color);
|
|
289
283
|
background:var(--_rs-menu-mi-hover-background);
|
|
290
284
|
}
|
|
291
|
-
.
|
|
292
|
-
.
|
|
285
|
+
._menuItem_1r7ixww_50._highlighted_1r7ixww_106._selected_1r7ixww_99,
|
|
286
|
+
._menuItem_1r7ixww_50._selected_1r7ixww_99:not(._disableCursor_1r7ixww_107):hover{
|
|
293
287
|
color:var(--_rs-menu-mi-selected-hover-color);
|
|
294
288
|
background-color:var(--_rs-menu-mi-selected-hover-background);
|
|
295
289
|
}
|
|
296
|
-
.
|
|
290
|
+
._menuItem_1r7ixww_50._disabled_1r7ixww_120{
|
|
297
291
|
pointer-events:none;
|
|
298
292
|
|
|
299
293
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
300
294
|
}
|
|
301
|
-
.
|
|
295
|
+
._disableCursor_1r7ixww_107{
|
|
302
296
|
pointer-events:none;
|
|
303
297
|
}
|
|
304
|
-
.
|
|
298
|
+
._content_1r7ixww_131{
|
|
305
299
|
-webkit-box-flex:1;
|
|
306
300
|
-ms-flex-positive:1;
|
|
307
301
|
flex-grow:1;
|
|
308
302
|
|
|
309
303
|
font-size:inherit;
|
|
310
304
|
}
|
|
311
|
-
.
|
|
305
|
+
._icon_1r7ixww_35{
|
|
312
306
|
-webkit-box-flex:0;
|
|
313
307
|
-ms-flex:0 0;
|
|
314
308
|
flex:0 0;
|
|
315
309
|
-ms-flex-preferred-size:auto;
|
|
316
310
|
flex-basis:auto;
|
|
317
311
|
}
|
|
318
|
-
.
|
|
312
|
+
._divider_1r7ixww_144{
|
|
319
313
|
-ms-flex-negative:0;
|
|
320
314
|
flex-shrink:0;
|
|
321
315
|
|
|
@@ -327,13 +321,13 @@
|
|
|
327
321
|
|
|
328
322
|
background-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.2);
|
|
329
323
|
}
|
|
330
|
-
.
|
|
324
|
+
._groupHeaderThemeLight_1r7ixww_158{
|
|
331
325
|
--rs-theme-dark:0;
|
|
332
326
|
}
|
|
333
|
-
.
|
|
327
|
+
._groupHeaderThemeDark_1r7ixww_161{
|
|
334
328
|
--rs-theme-dark:1;
|
|
335
329
|
}
|
|
336
|
-
.
|
|
330
|
+
._groupHeaderSizeL_1r7ixww_165{
|
|
337
331
|
--_rs-menu-gh-vertical-padding:12px;
|
|
338
332
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
339
333
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -363,7 +357,7 @@
|
|
|
363
357
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
364
358
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
365
359
|
}
|
|
366
|
-
.
|
|
360
|
+
._groupHeaderSizeM_1r7ixww_168{
|
|
367
361
|
--_rs-menu-gh-vertical-padding:8px;
|
|
368
362
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
369
363
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -393,7 +387,7 @@
|
|
|
393
387
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
394
388
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
395
389
|
}
|
|
396
|
-
.
|
|
390
|
+
._groupHeaderSizeS_1r7ixww_171{
|
|
397
391
|
--_rs-menu-gh-vertical-padding:6px;
|
|
398
392
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
399
393
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -423,7 +417,7 @@
|
|
|
423
417
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
424
418
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
425
419
|
}
|
|
426
|
-
.
|
|
420
|
+
._groupHeader_1r7ixww_158{
|
|
427
421
|
--_rs-theme-dark:var(
|
|
428
422
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
429
423
|
var(--rs-theme-dark, 0)
|
|
@@ -433,7 +427,7 @@
|
|
|
433
427
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
434
428
|
}
|
|
435
429
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
436
|
-
.
|
|
430
|
+
._groupHeader_1r7ixww_158{
|
|
437
431
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
438
432
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
439
433
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -442,7 +436,7 @@
|
|
|
442
436
|
}
|
|
443
437
|
}
|
|
444
438
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
445
|
-
.
|
|
439
|
+
._groupHeader_1r7ixww_158{
|
|
446
440
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
447
441
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
448
442
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -450,7 +444,7 @@
|
|
|
450
444
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
451
445
|
}
|
|
452
446
|
}
|
|
453
|
-
.
|
|
447
|
+
._groupHeader_1r7ixww_158 {
|
|
454
448
|
letter-spacing:var(
|
|
455
449
|
--rs-text-base-letter-spacing,
|
|
456
450
|
var(--_rs-typography-letter-spacing)
|
|
@@ -463,12 +457,6 @@
|
|
|
463
457
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
464
458
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
465
459
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
466
|
-
}
|
|
467
|
-
._groupHeader_i2aswe_158 > p:not(:nth-child(1)),
|
|
468
|
-
._groupHeader_i2aswe_158 > pre:not(:nth-child(1)){
|
|
469
|
-
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
470
|
-
}
|
|
471
|
-
._groupHeader_i2aswe_158 {
|
|
472
460
|
|
|
473
461
|
padding:var(--_rs-menu-gh-vertical-padding) var(--_rs-menu-gh-horizontal-padding);
|
|
474
462
|
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"modeClassic": "
|
|
8
|
-
"modeRock": "
|
|
9
|
-
"modeClear": "
|
|
10
|
-
"iconPlacementLeft": "
|
|
11
|
-
"iconPlacementRight": "
|
|
12
|
-
"wrapper": "
|
|
13
|
-
"menuItem": "
|
|
14
|
-
"keyboardNavigationDisabled": "
|
|
15
|
-
"selected": "
|
|
16
|
-
"highlighted": "
|
|
17
|
-
"disableCursor": "
|
|
18
|
-
"disabled": "
|
|
19
|
-
"content": "
|
|
20
|
-
"icon": "
|
|
21
|
-
"divider": "
|
|
22
|
-
"groupHeaderThemeLight": "
|
|
23
|
-
"groupHeaderThemeDark": "
|
|
24
|
-
"groupHeaderSizeL": "
|
|
25
|
-
"groupHeaderSizeM": "
|
|
26
|
-
"groupHeaderSizeS": "
|
|
27
|
-
"groupHeader": "
|
|
2
|
+
"themeLight": "_themeLight_1r7ixww_8",
|
|
3
|
+
"themeDark": "_themeDark_1r7ixww_11",
|
|
4
|
+
"sizeS": "_sizeS_1r7ixww_15",
|
|
5
|
+
"sizeM": "_sizeM_1r7ixww_18",
|
|
6
|
+
"sizeL": "_sizeL_1r7ixww_21",
|
|
7
|
+
"modeClassic": "_modeClassic_1r7ixww_25",
|
|
8
|
+
"modeRock": "_modeRock_1r7ixww_28",
|
|
9
|
+
"modeClear": "_modeClear_1r7ixww_31",
|
|
10
|
+
"iconPlacementLeft": "_iconPlacementLeft_1r7ixww_35",
|
|
11
|
+
"iconPlacementRight": "_iconPlacementRight_1r7ixww_39",
|
|
12
|
+
"wrapper": "_wrapper_1r7ixww_43",
|
|
13
|
+
"menuItem": "_menuItem_1r7ixww_50",
|
|
14
|
+
"keyboardNavigationDisabled": "_keyboardNavigationDisabled_1r7ixww_85",
|
|
15
|
+
"selected": "_selected_1r7ixww_99",
|
|
16
|
+
"highlighted": "_highlighted_1r7ixww_106",
|
|
17
|
+
"disableCursor": "_disableCursor_1r7ixww_107",
|
|
18
|
+
"disabled": "_disabled_1r7ixww_120",
|
|
19
|
+
"content": "_content_1r7ixww_131",
|
|
20
|
+
"icon": "_icon_1r7ixww_35",
|
|
21
|
+
"divider": "_divider_1r7ixww_144",
|
|
22
|
+
"groupHeaderThemeLight": "_groupHeaderThemeLight_1r7ixww_158",
|
|
23
|
+
"groupHeaderThemeDark": "_groupHeaderThemeDark_1r7ixww_161",
|
|
24
|
+
"groupHeaderSizeL": "_groupHeaderSizeL_1r7ixww_165",
|
|
25
|
+
"groupHeaderSizeM": "_groupHeaderSizeM_1r7ixww_168",
|
|
26
|
+
"groupHeaderSizeS": "_groupHeaderSizeS_1r7ixww_171",
|
|
27
|
+
"groupHeader": "_groupHeader_1r7ixww_158"
|
|
28
28
|
};
|
|
29
29
|
export { styles as default };
|
|
@@ -4,7 +4,7 @@ import _Array$from from "@babel/runtime-corejs3/core-js-stable/array/from";
|
|
|
4
4
|
import _valuesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/values";
|
|
5
5
|
import _Set from "@babel/runtime-corejs3/core-js-stable/set";
|
|
6
6
|
import { useRef, useState, useCallback, useEffect } from 'react';
|
|
7
|
-
import {
|
|
7
|
+
import { getLastItem, getFirstItem, getPrevItem, getNextItem, htmlElementsComparator } from './navigation-utils.js';
|
|
8
8
|
|
|
9
9
|
function debounce(callback, timeout) {
|
|
10
10
|
var id;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/menu",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "^0.2.
|
|
28
|
+
"@rescui/colors": "^0.2.3",
|
|
29
29
|
"@rescui/postcss-preset-library": "^0.2.1",
|
|
30
|
-
"@rescui/scripts": "^0.3.
|
|
31
|
-
"@rescui/typography": "^0.
|
|
30
|
+
"@rescui/scripts": "^0.3.3",
|
|
31
|
+
"@rescui/typography": "^0.17.0",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.2",
|
|
33
33
|
"postcss": "^8.3.0"
|
|
34
34
|
},
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
39
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "b422496bacb5df4a601008c646abfb08cebe461c"
|
|
41
41
|
}
|