@rescui/menu 0.10.9 → 0.10.11-RUI-226-Update-card-cn-6e43cc89.60

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.
@@ -3,7 +3,7 @@
3
3
  --_rs-menu-mi-icon-offset:8px;
4
4
  --_rs-menu-mi-vertical-padding:6px;
5
5
  --_rs-menu-mi-horizontal-padding:8px;
6
- --_rs-typography-letter-spacing:0.0045em;
6
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
7
7
  --_rs-typography-text-transform:initial;
8
8
  --_rs-typography-font-variant-numeric:initial;
9
9
  --_rs-typography-font-family:var(
@@ -39,7 +39,7 @@
39
39
  & [data-rs-internal="menu__group-header"]{
40
40
  --_rs-menu-gh-vertical-padding:6px;
41
41
  --_rs-menu-gh-horizontal-padding:8px;
42
- --_rs-typography-letter-spacing:normal;
42
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
43
43
  --_rs-typography-text-transform:initial;
44
44
  --_rs-typography-font-variant-numeric:initial;
45
45
  --_rs-typography-font-family:var(
@@ -75,7 +75,7 @@
75
75
  --_rs-menu-mi-icon-offset:8px;
76
76
  --_rs-menu-mi-vertical-padding:8px;
77
77
  --_rs-menu-mi-horizontal-padding:16px;
78
- --_rs-typography-letter-spacing:0.0015em;
78
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
79
79
  --_rs-typography-text-transform:initial;
80
80
  --_rs-typography-font-variant-numeric:initial;
81
81
  --_rs-typography-font-family:var(
@@ -103,20 +103,23 @@
103
103
  --_rs-typography-text-auto-offset:16px;
104
104
  --_rs-typography-ul-list-li-padding-left:22px;
105
105
  --_rs-typography-ol-list-li-padding-left:26px;
106
- --_rs-typography-list-li-margin-top-from-text:16px;
106
+ --_rs-typography-list-li-margin-top-from-text:var(
107
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
108
+ 16px
109
+ );
107
110
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
108
111
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
109
112
  --_rs-typography-link-border-bottom-width-from-text:1px;
110
113
  }
111
114
  @media screen and (max-width: 640px){
112
115
  & [data-rs-internal="menu__menu-item"]{
113
- --_rs-typography-list-li-margin-top-from-text:12px;
116
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
114
117
  }
115
118
  }
116
119
  & [data-rs-internal="menu__group-header"]{
117
120
  --_rs-menu-gh-vertical-padding:8px;
118
121
  --_rs-menu-gh-horizontal-padding:16px;
119
- --_rs-typography-letter-spacing:normal;
122
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
120
123
  --_rs-typography-text-transform:initial;
121
124
  --_rs-typography-font-variant-numeric:initial;
122
125
  --_rs-typography-font-family:var(
@@ -152,7 +155,7 @@
152
155
  --_rs-menu-mi-icon-offset:16px;
153
156
  --_rs-menu-mi-vertical-padding:12px;
154
157
  --_rs-menu-mi-horizontal-padding:16px;
155
- --_rs-typography-letter-spacing:normal;
158
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
156
159
  --_rs-typography-text-transform:initial;
157
160
  --_rs-typography-font-variant-numeric:initial;
158
161
  --_rs-typography-font-family:var(
@@ -180,20 +183,23 @@
180
183
  --_rs-typography-text-auto-offset:32px;
181
184
  --_rs-typography-ul-list-li-padding-left:26px;
182
185
  --_rs-typography-ol-list-li-padding-left:32px;
183
- --_rs-typography-list-li-margin-top-from-text:24px;
186
+ --_rs-typography-list-li-margin-top-from-text:var(
187
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
188
+ 24px
189
+ );
184
190
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
185
191
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
186
192
  --_rs-typography-link-border-bottom-width-from-text:1px;
187
193
  }
188
194
  @media screen and (max-width: 640px){
189
195
  & [data-rs-internal="menu__menu-item"]{
190
- --_rs-typography-list-li-margin-top-from-text:16px;
196
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
191
197
  }
192
198
  }
193
199
  & [data-rs-internal="menu__group-header"]{
194
200
  --_rs-menu-gh-vertical-padding:12px;
195
201
  --_rs-menu-gh-horizontal-padding:16px;
196
- --_rs-typography-letter-spacing:normal;
202
+ --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
197
203
  --_rs-typography-text-transform:initial;
198
204
  --_rs-typography-font-variant-numeric:initial;
199
205
  --_rs-typography-font-family:var(
@@ -288,7 +294,7 @@
288
294
  --_rs-menu-mi-icon-offset:8px;
289
295
  --_rs-menu-mi-vertical-padding:6px;
290
296
  --_rs-menu-mi-horizontal-padding:8px;
291
- --_rs-typography-letter-spacing:0.0045em;
297
+ --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
292
298
  --_rs-typography-text-transform:initial;
293
299
  --_rs-typography-font-variant-numeric:initial;
294
300
  --_rs-typography-font-family:var(
@@ -327,7 +333,7 @@
327
333
  --_rs-menu-mi-icon-offset:8px;
328
334
  --_rs-menu-mi-vertical-padding:8px;
329
335
  --_rs-menu-mi-horizontal-padding:16px;
330
- --_rs-typography-letter-spacing:0.0015em;
336
+ --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
331
337
  --_rs-typography-text-transform:initial;
332
338
  --_rs-typography-font-variant-numeric:initial;
333
339
  --_rs-typography-font-family:var(
@@ -355,14 +361,17 @@
355
361
  --_rs-typography-text-auto-offset:16px;
356
362
  --_rs-typography-ul-list-li-padding-left:22px;
357
363
  --_rs-typography-ol-list-li-padding-left:26px;
358
- --_rs-typography-list-li-margin-top-from-text:16px;
364
+ --_rs-typography-list-li-margin-top-from-text:var(
365
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text,
366
+ 16px
367
+ );
359
368
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
360
369
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
361
370
  --_rs-typography-link-border-bottom-width-from-text:1px;
362
371
  }
363
372
  @media screen and (max-width: 640px){
364
373
  &[class]{
365
- --_rs-typography-list-li-margin-top-from-text:12px;
374
+ --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
366
375
  }
367
376
  }
368
377
  }
@@ -371,7 +380,7 @@
371
380
  --_rs-menu-mi-icon-offset:16px;
372
381
  --_rs-menu-mi-vertical-padding:12px;
373
382
  --_rs-menu-mi-horizontal-padding:16px;
374
- --_rs-typography-letter-spacing:normal;
383
+ --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
375
384
  --_rs-typography-text-transform:initial;
376
385
  --_rs-typography-font-variant-numeric:initial;
377
386
  --_rs-typography-font-family:var(
@@ -399,14 +408,17 @@
399
408
  --_rs-typography-text-auto-offset:32px;
400
409
  --_rs-typography-ul-list-li-padding-left:26px;
401
410
  --_rs-typography-ol-list-li-padding-left:32px;
402
- --_rs-typography-list-li-margin-top-from-text:24px;
411
+ --_rs-typography-list-li-margin-top-from-text:var(
412
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text,
413
+ 24px
414
+ );
403
415
  --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
404
416
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
405
417
  --_rs-typography-link-border-bottom-width-from-text:1px;
406
418
  }
407
419
  @media screen and (max-width: 640px){
408
420
  &[class]{
409
- --_rs-typography-list-li-margin-top-from-text:16px;
421
+ --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
410
422
  }
411
423
  }
412
424
  }
@@ -473,7 +485,7 @@
473
485
  &[class]{
474
486
  --_rs-menu-gh-vertical-padding:6px;
475
487
  --_rs-menu-gh-horizontal-padding:8px;
476
- --_rs-typography-letter-spacing:normal;
488
+ --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
477
489
  --_rs-typography-text-transform:initial;
478
490
  --_rs-typography-font-variant-numeric:initial;
479
491
  --_rs-typography-font-family:var(
@@ -508,7 +520,7 @@
508
520
  &[class]{
509
521
  --_rs-menu-gh-vertical-padding:8px;
510
522
  --_rs-menu-gh-horizontal-padding:16px;
511
- --_rs-typography-letter-spacing:normal;
523
+ --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
512
524
  --_rs-typography-text-transform:initial;
513
525
  --_rs-typography-font-variant-numeric:initial;
514
526
  --_rs-typography-font-family:var(
@@ -543,7 +555,7 @@
543
555
  &[class]{
544
556
  --_rs-menu-gh-vertical-padding:12px;
545
557
  --_rs-menu-gh-horizontal-padding:16px;
546
- --_rs-typography-letter-spacing:normal;
558
+ --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
547
559
  --_rs-typography-text-transform:initial;
548
560
  --_rs-typography-font-variant-numeric:initial;
549
561
  --_rs-typography-font-family:var(
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@rescui/menu",
3
- "version": "0.10.9",
3
+ "version": "0.10.11-RUI-226-Update-card-cn-6e43cc89.60+6e43cc89",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "main": "lib/index.js",
8
+ "module": "lib/index.js",
8
9
  "src:main": "src/index.ts",
9
10
  "files": [
10
11
  "lib",
@@ -14,9 +15,8 @@
14
15
  "access": "public"
15
16
  },
16
17
  "dependencies": {
17
- "@babel/runtime-corejs3": "^7.11.0",
18
+ "@babel/runtime-corejs3": "^7.26.0",
18
19
  "classnames": "^2.2.6",
19
- "core-js": "^3",
20
20
  "nanoid": "^3.3.3"
21
21
  },
22
22
  "peerDependencies": {
@@ -25,11 +25,11 @@
25
25
  "react": ">=16.8.0 <19"
26
26
  },
27
27
  "devDependencies": {
28
- "@rescui/colors": "^0.2.5",
29
- "@rescui/postcss-preset-library": "^0.2.2",
30
- "@rescui/scripts": "^0.3.4",
31
- "@rescui/typography": "^0.19.0",
32
- "@rescui/visual-regression": "^0.1.2",
28
+ "@rescui/colors": "0.2.7-RUI-226-Update-card-cn-6e43cc89.60+6e43cc89",
29
+ "@rescui/postcss-preset-library": "0.2.2",
30
+ "@rescui/scripts": "0.4.0",
31
+ "@rescui/typography": "0.19.2-RUI-226-Update-card-cn-6e43cc89.60+6e43cc89",
32
+ "@rescui/visual-regression": "0.1.2",
33
33
  "postcss": "^8.3.0"
34
34
  },
35
35
  "scripts": {
@@ -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": "69a84812628809943698f0b27643c83dc449f119"
40
+ "gitHead": "6e43cc893fafb22b990273901bc0a070fb15761f"
41
41
  }