@rescui/menu 0.10.4 → 0.10.6

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 CHANGED
@@ -1,10 +1,10 @@
1
- ._themeLight_x4fnl7_8{
1
+ ._themeLight_90qp0p_8{
2
2
  --rs-theme-dark:0;
3
3
  }
4
- ._themeDark_x4fnl7_11{
4
+ ._themeDark_90qp0p_11{
5
5
  --rs-theme-dark:1;
6
6
  }
7
- ._sizeS_x4fnl7_15{
7
+ ._sizeS_90qp0p_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
- ._sizeM_x4fnl7_18{
44
+ ._sizeM_90qp0p_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
- ._sizeM_x4fnl7_18{
82
+ ._sizeM_90qp0p_18{
83
83
  --_rs-typography-list-li-margin-top-from-text:12px;
84
84
  }
85
85
  }
86
- ._sizeL_x4fnl7_21{
86
+ ._sizeL_90qp0p_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
- ._sizeL_x4fnl7_21{
124
+ ._sizeL_90qp0p_21{
125
125
  --_rs-typography-list-li-margin-top-from-text:16px;
126
126
  }
127
127
  }
128
- ._modeClassic_x4fnl7_25{
128
+ ._modeClassic_90qp0p_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
- ._modeRock_x4fnl7_28{
142
+ ._modeRock_90qp0p_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
- ._modeClear_x4fnl7_31{
156
+ ._modeClear_90qp0p_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
- ._iconPlacementLeft_x4fnl7_35{
169
+ ._iconPlacementLeft_90qp0p_35{
170
170
  --_rs-menu-mi-flex-direction:row;
171
171
  --_rs-menu-mi-justify-content:initial;
172
172
  }
173
- ._iconPlacementRight_x4fnl7_39{
173
+ ._iconPlacementRight_90qp0p_39{
174
174
  --_rs-menu-mi-flex-direction:row-reverse;
175
175
  --_rs-menu-mi-justify-content:space-between;
176
176
  }
177
- ._wrapper_x4fnl7_43{
177
+ ._wrapper_90qp0p_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
- ._wrapper_x4fnl7_43{
187
+ ._wrapper_90qp0p_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
- ._wrapper_x4fnl7_43{
196
+ ._wrapper_90qp0p_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
- ._wrapper_x4fnl7_43 {
204
+ ._wrapper_90qp0p_43 {
205
205
 
206
206
  display:-webkit-box;
207
207
 
@@ -209,7 +209,7 @@
209
209
 
210
210
  display:flex;
211
211
  }
212
- ._menuItem_x4fnl7_50{
212
+ ._menuItem_90qp0p_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_x4fnl7_50 > p:not(:nth-child(1)),
227
- ._menuItem_x4fnl7_50 > pre:not(:nth-child(1)){
228
- padding-top:var(--_rs-typography-auto-offset-or-initial);
229
- }
230
- ._menuItem_x4fnl7_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
- ._menuItem_x4fnl7_50:focus{
265
+ ._menuItem_90qp0p_50:focus{
272
266
  outline:none;
273
267
  }
274
- ._keyboardNavigationDisabled_x4fnl7_85 ._menuItem_x4fnl7_50:focus[data-focus-method='key']{
268
+ ._keyboardNavigationDisabled_90qp0p_85 ._menuItem_90qp0p_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
- ._menuItem_x4fnl7_50:active{
272
+ ._menuItem_90qp0p_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
- ._menuItem_x4fnl7_50._selected_x4fnl7_99{
276
+ ._menuItem_90qp0p_50._selected_90qp0p_99{
283
277
  color:var(--_rs-menu-mi-selected-color);
284
278
  background:var(--_rs-menu-mi-selected-background);
285
279
  }
286
- ._menuItem_x4fnl7_50._highlighted_x4fnl7_106,
287
- ._menuItem_x4fnl7_50:not(._disableCursor_x4fnl7_107):hover{
280
+ ._menuItem_90qp0p_50._highlighted_90qp0p_106,
281
+ ._menuItem_90qp0p_50:not(._disableCursor_90qp0p_107):hover{
288
282
  color:var(--_rs-menu-mi-hover-color);
289
283
  background:var(--_rs-menu-mi-hover-background);
290
284
  }
291
- ._menuItem_x4fnl7_50._highlighted_x4fnl7_106._selected_x4fnl7_99,
292
- ._menuItem_x4fnl7_50._selected_x4fnl7_99:not(._disableCursor_x4fnl7_107):hover{
285
+ ._menuItem_90qp0p_50._highlighted_90qp0p_106._selected_90qp0p_99,
286
+ ._menuItem_90qp0p_50._selected_90qp0p_99:not(._disableCursor_90qp0p_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
- ._menuItem_x4fnl7_50._disabled_x4fnl7_120{
290
+ ._menuItem_90qp0p_50._disabled_90qp0p_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
- ._disableCursor_x4fnl7_107{
295
+ ._disableCursor_90qp0p_107{
302
296
  pointer-events:none;
303
297
  }
304
- ._content_x4fnl7_131{
298
+ ._content_90qp0p_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
- ._icon_x4fnl7_35{
305
+ ._icon_90qp0p_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
- ._divider_x4fnl7_144{
312
+ ._divider_90qp0p_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
- ._groupHeaderThemeLight_x4fnl7_158{
324
+ ._groupHeaderThemeLight_90qp0p_158{
331
325
  --rs-theme-dark:0;
332
326
  }
333
- ._groupHeaderThemeDark_x4fnl7_161{
327
+ ._groupHeaderThemeDark_90qp0p_161{
334
328
  --rs-theme-dark:1;
335
329
  }
336
- ._groupHeaderSizeL_x4fnl7_165{
330
+ ._groupHeaderSizeL_90qp0p_165{
337
331
  --_rs-menu-gh-vertical-padding:12px;
338
332
  --_rs-menu-gh-horizontal-padding:16px;
339
333
  --_rs-typography-letter-spacing:normal;
@@ -352,9 +346,12 @@
352
346
  );
353
347
  --_rs-typography-line-height:var(--rs-h3-line-height, 28px);
354
348
  --_rs-typography-base-color:var(
349
+ --_rs-typography-heading-hardness-color,
350
+ var(
355
351
  --rs-color-hard,
356
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))
357
- );
353
+ )
354
+ );
358
355
  --_rs-typography-text-auto-offset:0;
359
356
  --_rs-typography-ul-list-li-padding-left:initial;
360
357
  --_rs-typography-ol-list-li-padding-left:initial;
@@ -363,7 +360,7 @@
363
360
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
364
361
  --_rs-typography-link-border-bottom-width-from-text:2px;
365
362
  }
366
- ._groupHeaderSizeM_x4fnl7_168{
363
+ ._groupHeaderSizeM_90qp0p_168{
367
364
  --_rs-menu-gh-vertical-padding:8px;
368
365
  --_rs-menu-gh-horizontal-padding:16px;
369
366
  --_rs-typography-letter-spacing:normal;
@@ -382,9 +379,12 @@
382
379
  );
383
380
  --_rs-typography-line-height:var(--rs-h4-line-height, 24px);
384
381
  --_rs-typography-base-color:var(
382
+ --_rs-typography-heading-hardness-color,
383
+ var(
385
384
  --rs-color-hard,
386
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))
387
- );
386
+ )
387
+ );
388
388
  --_rs-typography-text-auto-offset:0;
389
389
  --_rs-typography-ul-list-li-padding-left:initial;
390
390
  --_rs-typography-ol-list-li-padding-left:initial;
@@ -393,7 +393,7 @@
393
393
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
394
394
  --_rs-typography-link-border-bottom-width-from-text:2px;
395
395
  }
396
- ._groupHeaderSizeS_x4fnl7_171{
396
+ ._groupHeaderSizeS_90qp0p_171{
397
397
  --_rs-menu-gh-vertical-padding:6px;
398
398
  --_rs-menu-gh-horizontal-padding:8px;
399
399
  --_rs-typography-letter-spacing:normal;
@@ -412,9 +412,12 @@
412
412
  );
413
413
  --_rs-typography-line-height:var(--rs-h5-line-height, 20px);
414
414
  --_rs-typography-base-color:var(
415
+ --_rs-typography-heading-hardness-color,
416
+ var(
415
417
  --rs-color-hard,
416
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))
417
- );
419
+ )
420
+ );
418
421
  --_rs-typography-text-auto-offset:0;
419
422
  --_rs-typography-ul-list-li-padding-left:initial;
420
423
  --_rs-typography-ol-list-li-padding-left:initial;
@@ -423,7 +426,7 @@
423
426
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
424
427
  --_rs-typography-link-border-bottom-width-from-text:2px;
425
428
  }
426
- ._groupHeader_x4fnl7_158{
429
+ ._groupHeader_90qp0p_158{
427
430
  --_rs-theme-dark:var(
428
431
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
429
432
  var(--rs-theme-dark, 0)
@@ -433,7 +436,7 @@
433
436
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
434
437
  }
435
438
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
436
- ._groupHeader_x4fnl7_158{
439
+ ._groupHeader_90qp0p_158{
437
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)));
438
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)));
439
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)));
@@ -442,7 +445,7 @@
442
445
  }
443
446
  }
444
447
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
445
- ._groupHeader_x4fnl7_158{
448
+ ._groupHeader_90qp0p_158{
446
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);
447
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));
448
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));
@@ -450,7 +453,7 @@
450
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));
451
454
  }
452
455
  }
453
- ._groupHeader_x4fnl7_158 {
456
+ ._groupHeader_90qp0p_158 {
454
457
  letter-spacing:var(
455
458
  --rs-text-base-letter-spacing,
456
459
  var(--_rs-typography-letter-spacing)
@@ -463,12 +466,6 @@
463
466
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
464
467
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
465
468
  font-feature-settings:'kern', 'liga', 'calt';
466
- }
467
- ._groupHeader_x4fnl7_158 > p:not(:nth-child(1)),
468
- ._groupHeader_x4fnl7_158 > pre:not(:nth-child(1)){
469
- padding-top:var(--_rs-typography-auto-offset-or-initial);
470
- }
471
- ._groupHeader_x4fnl7_158 {
472
469
 
473
470
  padding:var(--_rs-menu-gh-vertical-padding) var(--_rs-menu-gh-horizontal-padding);
474
471
 
@@ -1,29 +1,29 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_x4fnl7_8",
3
- "themeDark": "_themeDark_x4fnl7_11",
4
- "sizeS": "_sizeS_x4fnl7_15",
5
- "sizeM": "_sizeM_x4fnl7_18",
6
- "sizeL": "_sizeL_x4fnl7_21",
7
- "modeClassic": "_modeClassic_x4fnl7_25",
8
- "modeRock": "_modeRock_x4fnl7_28",
9
- "modeClear": "_modeClear_x4fnl7_31",
10
- "iconPlacementLeft": "_iconPlacementLeft_x4fnl7_35",
11
- "iconPlacementRight": "_iconPlacementRight_x4fnl7_39",
12
- "wrapper": "_wrapper_x4fnl7_43",
13
- "menuItem": "_menuItem_x4fnl7_50",
14
- "keyboardNavigationDisabled": "_keyboardNavigationDisabled_x4fnl7_85",
15
- "selected": "_selected_x4fnl7_99",
16
- "highlighted": "_highlighted_x4fnl7_106",
17
- "disableCursor": "_disableCursor_x4fnl7_107",
18
- "disabled": "_disabled_x4fnl7_120",
19
- "content": "_content_x4fnl7_131",
20
- "icon": "_icon_x4fnl7_35",
21
- "divider": "_divider_x4fnl7_144",
22
- "groupHeaderThemeLight": "_groupHeaderThemeLight_x4fnl7_158",
23
- "groupHeaderThemeDark": "_groupHeaderThemeDark_x4fnl7_161",
24
- "groupHeaderSizeL": "_groupHeaderSizeL_x4fnl7_165",
25
- "groupHeaderSizeM": "_groupHeaderSizeM_x4fnl7_168",
26
- "groupHeaderSizeS": "_groupHeaderSizeS_x4fnl7_171",
27
- "groupHeader": "_groupHeader_x4fnl7_158"
2
+ "themeLight": "_themeLight_90qp0p_8",
3
+ "themeDark": "_themeDark_90qp0p_11",
4
+ "sizeS": "_sizeS_90qp0p_15",
5
+ "sizeM": "_sizeM_90qp0p_18",
6
+ "sizeL": "_sizeL_90qp0p_21",
7
+ "modeClassic": "_modeClassic_90qp0p_25",
8
+ "modeRock": "_modeRock_90qp0p_28",
9
+ "modeClear": "_modeClear_90qp0p_31",
10
+ "iconPlacementLeft": "_iconPlacementLeft_90qp0p_35",
11
+ "iconPlacementRight": "_iconPlacementRight_90qp0p_39",
12
+ "wrapper": "_wrapper_90qp0p_43",
13
+ "menuItem": "_menuItem_90qp0p_50",
14
+ "keyboardNavigationDisabled": "_keyboardNavigationDisabled_90qp0p_85",
15
+ "selected": "_selected_90qp0p_99",
16
+ "highlighted": "_highlighted_90qp0p_106",
17
+ "disableCursor": "_disableCursor_90qp0p_107",
18
+ "disabled": "_disabled_90qp0p_120",
19
+ "content": "_content_90qp0p_131",
20
+ "icon": "_icon_90qp0p_35",
21
+ "divider": "_divider_90qp0p_144",
22
+ "groupHeaderThemeLight": "_groupHeaderThemeLight_90qp0p_158",
23
+ "groupHeaderThemeDark": "_groupHeaderThemeDark_90qp0p_161",
24
+ "groupHeaderSizeL": "_groupHeaderSizeL_90qp0p_165",
25
+ "groupHeaderSizeM": "_groupHeaderSizeM_90qp0p_168",
26
+ "groupHeaderSizeS": "_groupHeaderSizeS_90qp0p_171",
27
+ "groupHeader": "_groupHeader_90qp0p_158"
28
28
  };
29
29
  export { styles as default };
@@ -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;
@@ -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.4",
3
+ "version": "0.10.6",
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.2",
28
+ "@rescui/colors": "^0.2.4",
29
29
  "@rescui/postcss-preset-library": "^0.2.1",
30
- "@rescui/scripts": "^0.3.2",
31
- "@rescui/typography": "^0.16.4",
30
+ "@rescui/scripts": "^0.3.4",
31
+ "@rescui/typography": "^0.18.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": "d4bb4a95bc321907bc55b9ad9768f7e822acbd2d"
40
+ "gitHead": "ac2efc85e94cfd6b9bae29c2829d38b6bd608474"
41
41
  }