@rescui/menu 0.10.5 → 0.10.7
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 +51 -42
- package/lib/index.p.module.css.js +26 -26
- package/lib/public-api.p.css +24 -6
- package/lib/public-api.pcss +24 -6
- package/package.json +6 -6
package/lib/index.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_1l3f4db_8{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_1l3f4db_11{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeS_1l3f4db_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_1l3f4db_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_1l3f4db_18{
|
|
83
83
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
.
|
|
86
|
+
._sizeL_1l3f4db_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_1l3f4db_21{
|
|
125
125
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
._modeClassic_1l3f4db_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_1l3f4db_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_1l3f4db_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_1l3f4db_35{
|
|
170
170
|
--_rs-menu-mi-flex-direction:row;
|
|
171
171
|
--_rs-menu-mi-justify-content:initial;
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._iconPlacementRight_1l3f4db_39{
|
|
174
174
|
--_rs-menu-mi-flex-direction:row-reverse;
|
|
175
175
|
--_rs-menu-mi-justify-content:space-between;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
._wrapper_1l3f4db_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_1l3f4db_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_1l3f4db_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_1l3f4db_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_1l3f4db_50{
|
|
213
213
|
letter-spacing:var(
|
|
214
214
|
--rs-text-base-letter-spacing,
|
|
215
215
|
var(--_rs-typography-letter-spacing)
|
|
@@ -262,54 +262,54 @@
|
|
|
262
262
|
-webkit-font-smoothing:inherit;
|
|
263
263
|
-moz-osx-font-smoothing:inherit;
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._menuItem_1l3f4db_50:focus{
|
|
266
266
|
outline:none;
|
|
267
267
|
}
|
|
268
|
-
.
|
|
268
|
+
._keyboardNavigationDisabled_1l3f4db_85 ._menuItem_1l3f4db_50:focus[data-focus-method='key']{
|
|
269
269
|
-webkit-box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
|
|
270
270
|
box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
|
|
271
271
|
}
|
|
272
|
-
.
|
|
272
|
+
._menuItem_1l3f4db_50:active{
|
|
273
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));
|
|
274
274
|
background:var(--_rs-menu-mi-active-background);
|
|
275
275
|
}
|
|
276
|
-
.
|
|
276
|
+
._menuItem_1l3f4db_50._selected_1l3f4db_99{
|
|
277
277
|
color:var(--_rs-menu-mi-selected-color);
|
|
278
278
|
background:var(--_rs-menu-mi-selected-background);
|
|
279
279
|
}
|
|
280
|
-
.
|
|
281
|
-
.
|
|
280
|
+
._menuItem_1l3f4db_50._highlighted_1l3f4db_106,
|
|
281
|
+
._menuItem_1l3f4db_50:not(._disableCursor_1l3f4db_107):hover{
|
|
282
282
|
color:var(--_rs-menu-mi-hover-color);
|
|
283
283
|
background:var(--_rs-menu-mi-hover-background);
|
|
284
284
|
}
|
|
285
|
-
.
|
|
286
|
-
.
|
|
285
|
+
._menuItem_1l3f4db_50._highlighted_1l3f4db_106._selected_1l3f4db_99,
|
|
286
|
+
._menuItem_1l3f4db_50._selected_1l3f4db_99:not(._disableCursor_1l3f4db_107):hover{
|
|
287
287
|
color:var(--_rs-menu-mi-selected-hover-color);
|
|
288
288
|
background-color:var(--_rs-menu-mi-selected-hover-background);
|
|
289
289
|
}
|
|
290
|
-
.
|
|
290
|
+
._menuItem_1l3f4db_50._disabled_1l3f4db_120{
|
|
291
291
|
pointer-events:none;
|
|
292
292
|
|
|
293
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);
|
|
294
294
|
}
|
|
295
|
-
.
|
|
295
|
+
._disableCursor_1l3f4db_107{
|
|
296
296
|
pointer-events:none;
|
|
297
297
|
}
|
|
298
|
-
.
|
|
298
|
+
._content_1l3f4db_131{
|
|
299
299
|
-webkit-box-flex:1;
|
|
300
300
|
-ms-flex-positive:1;
|
|
301
301
|
flex-grow:1;
|
|
302
302
|
|
|
303
303
|
font-size:inherit;
|
|
304
304
|
}
|
|
305
|
-
.
|
|
305
|
+
._icon_1l3f4db_35{
|
|
306
306
|
-webkit-box-flex:0;
|
|
307
307
|
-ms-flex:0 0;
|
|
308
308
|
flex:0 0;
|
|
309
309
|
-ms-flex-preferred-size:auto;
|
|
310
310
|
flex-basis:auto;
|
|
311
311
|
}
|
|
312
|
-
.
|
|
312
|
+
._divider_1l3f4db_144{
|
|
313
313
|
-ms-flex-negative:0;
|
|
314
314
|
flex-shrink:0;
|
|
315
315
|
|
|
@@ -321,13 +321,13 @@
|
|
|
321
321
|
|
|
322
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);
|
|
323
323
|
}
|
|
324
|
-
.
|
|
324
|
+
._groupHeaderThemeLight_1l3f4db_158{
|
|
325
325
|
--rs-theme-dark:0;
|
|
326
326
|
}
|
|
327
|
-
.
|
|
327
|
+
._groupHeaderThemeDark_1l3f4db_161{
|
|
328
328
|
--rs-theme-dark:1;
|
|
329
329
|
}
|
|
330
|
-
.
|
|
330
|
+
._groupHeaderSizeL_1l3f4db_165{
|
|
331
331
|
--_rs-menu-gh-vertical-padding:12px;
|
|
332
332
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
333
333
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -346,9 +346,12 @@
|
|
|
346
346
|
);
|
|
347
347
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
348
348
|
--_rs-typography-base-color:var(
|
|
349
|
+
--_rs-typography-heading-hardness-color,
|
|
350
|
+
var(
|
|
349
351
|
--rs-color-hard,
|
|
350
352
|
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))
|
|
351
|
-
)
|
|
353
|
+
)
|
|
354
|
+
);
|
|
352
355
|
--_rs-typography-text-auto-offset:0;
|
|
353
356
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
354
357
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -357,7 +360,7 @@
|
|
|
357
360
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
358
361
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
359
362
|
}
|
|
360
|
-
.
|
|
363
|
+
._groupHeaderSizeM_1l3f4db_168{
|
|
361
364
|
--_rs-menu-gh-vertical-padding:8px;
|
|
362
365
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
363
366
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -376,9 +379,12 @@
|
|
|
376
379
|
);
|
|
377
380
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
378
381
|
--_rs-typography-base-color:var(
|
|
382
|
+
--_rs-typography-heading-hardness-color,
|
|
383
|
+
var(
|
|
379
384
|
--rs-color-hard,
|
|
380
385
|
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))
|
|
381
|
-
)
|
|
386
|
+
)
|
|
387
|
+
);
|
|
382
388
|
--_rs-typography-text-auto-offset:0;
|
|
383
389
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
384
390
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -387,7 +393,7 @@
|
|
|
387
393
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
388
394
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
389
395
|
}
|
|
390
|
-
.
|
|
396
|
+
._groupHeaderSizeS_1l3f4db_171{
|
|
391
397
|
--_rs-menu-gh-vertical-padding:6px;
|
|
392
398
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
393
399
|
--_rs-typography-letter-spacing:normal;
|
|
@@ -406,9 +412,12 @@
|
|
|
406
412
|
);
|
|
407
413
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
408
414
|
--_rs-typography-base-color:var(
|
|
415
|
+
--_rs-typography-heading-hardness-color,
|
|
416
|
+
var(
|
|
409
417
|
--rs-color-hard,
|
|
410
418
|
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))
|
|
411
|
-
)
|
|
419
|
+
)
|
|
420
|
+
);
|
|
412
421
|
--_rs-typography-text-auto-offset:0;
|
|
413
422
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
414
423
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -417,7 +426,7 @@
|
|
|
417
426
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
418
427
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
419
428
|
}
|
|
420
|
-
.
|
|
429
|
+
._groupHeader_1l3f4db_158{
|
|
421
430
|
--_rs-theme-dark:var(
|
|
422
431
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
423
432
|
var(--rs-theme-dark, 0)
|
|
@@ -427,7 +436,7 @@
|
|
|
427
436
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
428
437
|
}
|
|
429
438
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
430
|
-
.
|
|
439
|
+
._groupHeader_1l3f4db_158{
|
|
431
440
|
--_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)));
|
|
432
441
|
--_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)));
|
|
433
442
|
--_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)));
|
|
@@ -436,7 +445,7 @@
|
|
|
436
445
|
}
|
|
437
446
|
}
|
|
438
447
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
439
|
-
.
|
|
448
|
+
._groupHeader_1l3f4db_158{
|
|
440
449
|
--_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);
|
|
441
450
|
--_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));
|
|
442
451
|
--_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));
|
|
@@ -444,7 +453,7 @@
|
|
|
444
453
|
--_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));
|
|
445
454
|
}
|
|
446
455
|
}
|
|
447
|
-
.
|
|
456
|
+
._groupHeader_1l3f4db_158 {
|
|
448
457
|
letter-spacing:var(
|
|
449
458
|
--rs-text-base-letter-spacing,
|
|
450
459
|
var(--_rs-typography-letter-spacing)
|
|
@@ -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_1l3f4db_8",
|
|
3
|
+
"themeDark": "_themeDark_1l3f4db_11",
|
|
4
|
+
"sizeS": "_sizeS_1l3f4db_15",
|
|
5
|
+
"sizeM": "_sizeM_1l3f4db_18",
|
|
6
|
+
"sizeL": "_sizeL_1l3f4db_21",
|
|
7
|
+
"modeClassic": "_modeClassic_1l3f4db_25",
|
|
8
|
+
"modeRock": "_modeRock_1l3f4db_28",
|
|
9
|
+
"modeClear": "_modeClear_1l3f4db_31",
|
|
10
|
+
"iconPlacementLeft": "_iconPlacementLeft_1l3f4db_35",
|
|
11
|
+
"iconPlacementRight": "_iconPlacementRight_1l3f4db_39",
|
|
12
|
+
"wrapper": "_wrapper_1l3f4db_43",
|
|
13
|
+
"menuItem": "_menuItem_1l3f4db_50",
|
|
14
|
+
"keyboardNavigationDisabled": "_keyboardNavigationDisabled_1l3f4db_85",
|
|
15
|
+
"selected": "_selected_1l3f4db_99",
|
|
16
|
+
"highlighted": "_highlighted_1l3f4db_106",
|
|
17
|
+
"disableCursor": "_disableCursor_1l3f4db_107",
|
|
18
|
+
"disabled": "_disabled_1l3f4db_120",
|
|
19
|
+
"content": "_content_1l3f4db_131",
|
|
20
|
+
"icon": "_icon_1l3f4db_35",
|
|
21
|
+
"divider": "_divider_1l3f4db_144",
|
|
22
|
+
"groupHeaderThemeLight": "_groupHeaderThemeLight_1l3f4db_158",
|
|
23
|
+
"groupHeaderThemeDark": "_groupHeaderThemeDark_1l3f4db_161",
|
|
24
|
+
"groupHeaderSizeL": "_groupHeaderSizeL_1l3f4db_165",
|
|
25
|
+
"groupHeaderSizeM": "_groupHeaderSizeM_1l3f4db_168",
|
|
26
|
+
"groupHeaderSizeS": "_groupHeaderSizeS_1l3f4db_171",
|
|
27
|
+
"groupHeader": "_groupHeader_1l3f4db_158"
|
|
28
28
|
};
|
|
29
29
|
export { styles as default };
|
package/lib/public-api.p.css
CHANGED
|
@@ -55,9 +55,12 @@
|
|
|
55
55
|
);
|
|
56
56
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
57
57
|
--_rs-typography-base-color:var(
|
|
58
|
+
--_rs-typography-heading-hardness-color,
|
|
59
|
+
var(
|
|
58
60
|
--rs-color-hard,
|
|
59
61
|
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))
|
|
60
|
-
)
|
|
62
|
+
)
|
|
63
|
+
);
|
|
61
64
|
--_rs-typography-text-auto-offset:0;
|
|
62
65
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
63
66
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -129,9 +132,12 @@
|
|
|
129
132
|
);
|
|
130
133
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
131
134
|
--_rs-typography-base-color:var(
|
|
135
|
+
--_rs-typography-heading-hardness-color,
|
|
136
|
+
var(
|
|
132
137
|
--rs-color-hard,
|
|
133
138
|
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))
|
|
134
|
-
)
|
|
139
|
+
)
|
|
140
|
+
);
|
|
135
141
|
--_rs-typography-text-auto-offset:0;
|
|
136
142
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
137
143
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -203,9 +209,12 @@
|
|
|
203
209
|
);
|
|
204
210
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
205
211
|
--_rs-typography-base-color:var(
|
|
212
|
+
--_rs-typography-heading-hardness-color,
|
|
213
|
+
var(
|
|
206
214
|
--rs-color-hard,
|
|
207
215
|
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))
|
|
208
|
-
)
|
|
216
|
+
)
|
|
217
|
+
);
|
|
209
218
|
--_rs-typography-text-auto-offset:0;
|
|
210
219
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
211
220
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -480,9 +489,12 @@
|
|
|
480
489
|
);
|
|
481
490
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
482
491
|
--_rs-typography-base-color:var(
|
|
492
|
+
--_rs-typography-heading-hardness-color,
|
|
493
|
+
var(
|
|
483
494
|
--rs-color-hard,
|
|
484
495
|
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))
|
|
485
|
-
)
|
|
496
|
+
)
|
|
497
|
+
);
|
|
486
498
|
--_rs-typography-text-auto-offset:0;
|
|
487
499
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
488
500
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -512,9 +524,12 @@
|
|
|
512
524
|
);
|
|
513
525
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
514
526
|
--_rs-typography-base-color:var(
|
|
527
|
+
--_rs-typography-heading-hardness-color,
|
|
528
|
+
var(
|
|
515
529
|
--rs-color-hard,
|
|
516
530
|
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))
|
|
517
|
-
)
|
|
531
|
+
)
|
|
532
|
+
);
|
|
518
533
|
--_rs-typography-text-auto-offset:0;
|
|
519
534
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
520
535
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -544,9 +559,12 @@
|
|
|
544
559
|
);
|
|
545
560
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
546
561
|
--_rs-typography-base-color:var(
|
|
562
|
+
--_rs-typography-heading-hardness-color,
|
|
563
|
+
var(
|
|
547
564
|
--rs-color-hard,
|
|
548
565
|
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))
|
|
549
|
-
)
|
|
566
|
+
)
|
|
567
|
+
);
|
|
550
568
|
--_rs-typography-text-auto-offset:0;
|
|
551
569
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
552
570
|
--_rs-typography-ol-list-li-padding-left:initial;
|
package/lib/public-api.pcss
CHANGED
|
@@ -55,9 +55,12 @@
|
|
|
55
55
|
);
|
|
56
56
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
57
57
|
--_rs-typography-base-color:var(
|
|
58
|
+
--_rs-typography-heading-hardness-color,
|
|
59
|
+
var(
|
|
58
60
|
--rs-color-hard,
|
|
59
61
|
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))
|
|
60
|
-
)
|
|
62
|
+
)
|
|
63
|
+
);
|
|
61
64
|
--_rs-typography-text-auto-offset:0;
|
|
62
65
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
63
66
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -129,9 +132,12 @@
|
|
|
129
132
|
);
|
|
130
133
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
131
134
|
--_rs-typography-base-color:var(
|
|
135
|
+
--_rs-typography-heading-hardness-color,
|
|
136
|
+
var(
|
|
132
137
|
--rs-color-hard,
|
|
133
138
|
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))
|
|
134
|
-
)
|
|
139
|
+
)
|
|
140
|
+
);
|
|
135
141
|
--_rs-typography-text-auto-offset:0;
|
|
136
142
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
137
143
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -203,9 +209,12 @@
|
|
|
203
209
|
);
|
|
204
210
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
205
211
|
--_rs-typography-base-color:var(
|
|
212
|
+
--_rs-typography-heading-hardness-color,
|
|
213
|
+
var(
|
|
206
214
|
--rs-color-hard,
|
|
207
215
|
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))
|
|
208
|
-
)
|
|
216
|
+
)
|
|
217
|
+
);
|
|
209
218
|
--_rs-typography-text-auto-offset:0;
|
|
210
219
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
211
220
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -480,9 +489,12 @@
|
|
|
480
489
|
);
|
|
481
490
|
--_rs-typography-line-height:var(--rs-h5-line-height, 20px);
|
|
482
491
|
--_rs-typography-base-color:var(
|
|
492
|
+
--_rs-typography-heading-hardness-color,
|
|
493
|
+
var(
|
|
483
494
|
--rs-color-hard,
|
|
484
495
|
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))
|
|
485
|
-
)
|
|
496
|
+
)
|
|
497
|
+
);
|
|
486
498
|
--_rs-typography-text-auto-offset:0;
|
|
487
499
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
488
500
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -512,9 +524,12 @@
|
|
|
512
524
|
);
|
|
513
525
|
--_rs-typography-line-height:var(--rs-h4-line-height, 24px);
|
|
514
526
|
--_rs-typography-base-color:var(
|
|
527
|
+
--_rs-typography-heading-hardness-color,
|
|
528
|
+
var(
|
|
515
529
|
--rs-color-hard,
|
|
516
530
|
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))
|
|
517
|
-
)
|
|
531
|
+
)
|
|
532
|
+
);
|
|
518
533
|
--_rs-typography-text-auto-offset:0;
|
|
519
534
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
520
535
|
--_rs-typography-ol-list-li-padding-left:initial;
|
|
@@ -544,9 +559,12 @@
|
|
|
544
559
|
);
|
|
545
560
|
--_rs-typography-line-height:var(--rs-h3-line-height, 28px);
|
|
546
561
|
--_rs-typography-base-color:var(
|
|
562
|
+
--_rs-typography-heading-hardness-color,
|
|
563
|
+
var(
|
|
547
564
|
--rs-color-hard,
|
|
548
565
|
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))
|
|
549
|
-
)
|
|
566
|
+
)
|
|
567
|
+
);
|
|
550
568
|
--_rs-typography-text-auto-offset:0;
|
|
551
569
|
--_rs-typography-ul-list-li-padding-left:initial;
|
|
552
570
|
--_rs-typography-ol-list-li-padding-left:initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/menu",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.7",
|
|
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.
|
|
29
|
-
"@rescui/postcss-preset-library": "^0.2.
|
|
30
|
-
"@rescui/scripts": "^0.3.
|
|
31
|
-
"@rescui/typography": "^0.
|
|
28
|
+
"@rescui/colors": "^0.2.5",
|
|
29
|
+
"@rescui/postcss-preset-library": "^0.2.2",
|
|
30
|
+
"@rescui/scripts": "^0.3.4",
|
|
31
|
+
"@rescui/typography": "^0.18.1",
|
|
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": "3de71c679695fe3ca490baeaa24ab2331eb2e3a8"
|
|
41
41
|
}
|