@rescui/menu 0.10.12 → 0.10.13-RUI-229-Mark-packages-as-ES-modules-c2f0afd6.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 CHANGED
@@ -1,10 +1,10 @@
1
- ._themeLight_7gfrnd_8{
1
+ ._themeLight_10zq9dr_8{
2
2
  --rs-theme-dark:0;
3
3
  }
4
- ._themeDark_7gfrnd_11{
4
+ ._themeDark_10zq9dr_11{
5
5
  --rs-theme-dark:1;
6
6
  }
7
- ._sizeS_7gfrnd_15{
7
+ ._sizeS_10zq9dr_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_7gfrnd_18{
44
+ ._sizeM_10zq9dr_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_7gfrnd_18{
82
+ ._sizeM_10zq9dr_18{
83
83
  --_rs-typography-list-li-margin-top-from-text:12px;
84
84
  }
85
85
  }
86
- ._sizeL_7gfrnd_21{
86
+ ._sizeL_10zq9dr_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_7gfrnd_21{
124
+ ._sizeL_10zq9dr_21{
125
125
  --_rs-typography-list-li-margin-top-from-text:16px;
126
126
  }
127
127
  }
128
- ._modeClassic_7gfrnd_25{
128
+ ._modeClassic_10zq9dr_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_7gfrnd_28{
142
+ ._modeRock_10zq9dr_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_7gfrnd_31{
156
+ ._modeClear_10zq9dr_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_7gfrnd_35{
169
+ ._iconPlacementLeft_10zq9dr_35{
170
170
  --_rs-menu-mi-flex-direction:row;
171
171
  --_rs-menu-mi-justify-content:initial;
172
172
  }
173
- ._iconPlacementRight_7gfrnd_39{
173
+ ._iconPlacementRight_10zq9dr_39{
174
174
  --_rs-menu-mi-flex-direction:row-reverse;
175
175
  --_rs-menu-mi-justify-content:space-between;
176
176
  }
177
- ._wrapper_7gfrnd_43{
177
+ ._wrapper_10zq9dr_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_7gfrnd_43{
187
+ ._wrapper_10zq9dr_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_7gfrnd_43{
196
+ ._wrapper_10zq9dr_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,11 +201,11 @@
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_7gfrnd_43 {
204
+ ._wrapper_10zq9dr_43 {
205
205
 
206
206
  display:flex;
207
207
  }
208
- ._menuItem_7gfrnd_50{
208
+ ._menuItem_10zq9dr_50{
209
209
  letter-spacing:var(
210
210
  --rs-text-base-letter-spacing,
211
211
  var(--_rs-typography-letter-spacing)
@@ -246,48 +246,48 @@
246
246
  -webkit-font-smoothing:inherit;
247
247
  -moz-osx-font-smoothing:inherit;
248
248
  }
249
- ._menuItem_7gfrnd_50:focus{
249
+ ._menuItem_10zq9dr_50:focus{
250
250
  outline:none;
251
251
  }
252
- ._keyboardNavigationDisabled_7gfrnd_85 ._menuItem_7gfrnd_50:focus[data-focus-method='key']{
252
+ ._keyboardNavigationDisabled_10zq9dr_85 ._menuItem_10zq9dr_50:focus[data-focus-method='key']{
253
253
  box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
254
254
  }
255
- ._menuItem_7gfrnd_50:active{
255
+ ._menuItem_10zq9dr_50:active{
256
256
  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));
257
257
  background:var(--_rs-menu-mi-active-background);
258
258
  }
259
- ._menuItem_7gfrnd_50._selected_7gfrnd_99{
259
+ ._menuItem_10zq9dr_50._selected_10zq9dr_99{
260
260
  color:var(--_rs-menu-mi-selected-color);
261
261
  background:var(--_rs-menu-mi-selected-background);
262
262
  }
263
- ._menuItem_7gfrnd_50._highlighted_7gfrnd_106,
264
- ._menuItem_7gfrnd_50:not(._disableCursor_7gfrnd_107):hover{
263
+ ._menuItem_10zq9dr_50._highlighted_10zq9dr_106,
264
+ ._menuItem_10zq9dr_50:not(._disableCursor_10zq9dr_107):hover{
265
265
  color:var(--_rs-menu-mi-hover-color);
266
266
  background:var(--_rs-menu-mi-hover-background);
267
267
  }
268
- ._menuItem_7gfrnd_50._highlighted_7gfrnd_106._selected_7gfrnd_99,
269
- ._menuItem_7gfrnd_50._selected_7gfrnd_99:not(._disableCursor_7gfrnd_107):hover{
268
+ ._menuItem_10zq9dr_50._highlighted_10zq9dr_106._selected_10zq9dr_99,
269
+ ._menuItem_10zq9dr_50._selected_10zq9dr_99:not(._disableCursor_10zq9dr_107):hover{
270
270
  color:var(--_rs-menu-mi-selected-hover-color);
271
271
  background-color:var(--_rs-menu-mi-selected-hover-background);
272
272
  }
273
- ._menuItem_7gfrnd_50._disabled_7gfrnd_120{
273
+ ._menuItem_10zq9dr_50._disabled_10zq9dr_120{
274
274
  pointer-events:none;
275
275
 
276
276
  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);
277
277
  }
278
- ._disableCursor_7gfrnd_107{
278
+ ._disableCursor_10zq9dr_107{
279
279
  pointer-events:none;
280
280
  }
281
- ._content_7gfrnd_131{
281
+ ._content_10zq9dr_131{
282
282
  flex-grow:1;
283
283
 
284
284
  font-size:inherit;
285
285
  }
286
- ._icon_7gfrnd_35{
286
+ ._icon_10zq9dr_35{
287
287
  flex:0 0;
288
288
  flex-basis:auto;
289
289
  }
290
- ._divider_7gfrnd_144{
290
+ ._divider_10zq9dr_144{
291
291
  flex-shrink:0;
292
292
 
293
293
  width:100%;
@@ -298,13 +298,13 @@
298
298
 
299
299
  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);
300
300
  }
301
- ._groupHeaderThemeLight_7gfrnd_158{
301
+ ._groupHeaderThemeLight_10zq9dr_158{
302
302
  --rs-theme-dark:0;
303
303
  }
304
- ._groupHeaderThemeDark_7gfrnd_161{
304
+ ._groupHeaderThemeDark_10zq9dr_161{
305
305
  --rs-theme-dark:1;
306
306
  }
307
- ._groupHeaderSizeL_7gfrnd_165{
307
+ ._groupHeaderSizeL_10zq9dr_165{
308
308
  --_rs-menu-gh-vertical-padding:12px;
309
309
  --_rs-menu-gh-horizontal-padding:16px;
310
310
  --_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
@@ -337,7 +337,7 @@
337
337
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
338
338
  --_rs-typography-link-border-bottom-width-from-text:2px;
339
339
  }
340
- ._groupHeaderSizeM_7gfrnd_168{
340
+ ._groupHeaderSizeM_10zq9dr_168{
341
341
  --_rs-menu-gh-vertical-padding:8px;
342
342
  --_rs-menu-gh-horizontal-padding:16px;
343
343
  --_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
@@ -370,7 +370,7 @@
370
370
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
371
371
  --_rs-typography-link-border-bottom-width-from-text:2px;
372
372
  }
373
- ._groupHeaderSizeS_7gfrnd_171{
373
+ ._groupHeaderSizeS_10zq9dr_171{
374
374
  --_rs-menu-gh-vertical-padding:6px;
375
375
  --_rs-menu-gh-horizontal-padding:8px;
376
376
  --_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
@@ -403,7 +403,7 @@
403
403
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
404
404
  --_rs-typography-link-border-bottom-width-from-text:2px;
405
405
  }
406
- ._groupHeader_7gfrnd_158{
406
+ ._groupHeader_10zq9dr_158{
407
407
  --_rs-theme-dark:var(
408
408
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
409
409
  var(--rs-theme-dark, 0)
@@ -413,7 +413,7 @@
413
413
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
414
414
  }
415
415
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
416
- ._groupHeader_7gfrnd_158{
416
+ ._groupHeader_10zq9dr_158{
417
417
  --_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)));
418
418
  --_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)));
419
419
  --_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)));
@@ -422,7 +422,7 @@
422
422
  }
423
423
  }
424
424
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
425
- ._groupHeader_7gfrnd_158{
425
+ ._groupHeader_10zq9dr_158{
426
426
  --_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);
427
427
  --_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));
428
428
  --_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));
@@ -430,7 +430,7 @@
430
430
  --_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));
431
431
  }
432
432
  }
433
- ._groupHeader_7gfrnd_158 {
433
+ ._groupHeader_10zq9dr_158 {
434
434
  letter-spacing:var(
435
435
  --rs-text-base-letter-spacing,
436
436
  var(--_rs-typography-letter-spacing)
@@ -1,29 +1,29 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_7gfrnd_8",
3
- "themeDark": "_themeDark_7gfrnd_11",
4
- "sizeS": "_sizeS_7gfrnd_15",
5
- "sizeM": "_sizeM_7gfrnd_18",
6
- "sizeL": "_sizeL_7gfrnd_21",
7
- "modeClassic": "_modeClassic_7gfrnd_25",
8
- "modeRock": "_modeRock_7gfrnd_28",
9
- "modeClear": "_modeClear_7gfrnd_31",
10
- "iconPlacementLeft": "_iconPlacementLeft_7gfrnd_35",
11
- "iconPlacementRight": "_iconPlacementRight_7gfrnd_39",
12
- "wrapper": "_wrapper_7gfrnd_43",
13
- "menuItem": "_menuItem_7gfrnd_50",
14
- "keyboardNavigationDisabled": "_keyboardNavigationDisabled_7gfrnd_85",
15
- "selected": "_selected_7gfrnd_99",
16
- "highlighted": "_highlighted_7gfrnd_106",
17
- "disableCursor": "_disableCursor_7gfrnd_107",
18
- "disabled": "_disabled_7gfrnd_120",
19
- "content": "_content_7gfrnd_131",
20
- "icon": "_icon_7gfrnd_35",
21
- "divider": "_divider_7gfrnd_144",
22
- "groupHeaderThemeLight": "_groupHeaderThemeLight_7gfrnd_158",
23
- "groupHeaderThemeDark": "_groupHeaderThemeDark_7gfrnd_161",
24
- "groupHeaderSizeL": "_groupHeaderSizeL_7gfrnd_165",
25
- "groupHeaderSizeM": "_groupHeaderSizeM_7gfrnd_168",
26
- "groupHeaderSizeS": "_groupHeaderSizeS_7gfrnd_171",
27
- "groupHeader": "_groupHeader_7gfrnd_158"
2
+ "themeLight": "_themeLight_10zq9dr_8",
3
+ "themeDark": "_themeDark_10zq9dr_11",
4
+ "sizeS": "_sizeS_10zq9dr_15",
5
+ "sizeM": "_sizeM_10zq9dr_18",
6
+ "sizeL": "_sizeL_10zq9dr_21",
7
+ "modeClassic": "_modeClassic_10zq9dr_25",
8
+ "modeRock": "_modeRock_10zq9dr_28",
9
+ "modeClear": "_modeClear_10zq9dr_31",
10
+ "iconPlacementLeft": "_iconPlacementLeft_10zq9dr_35",
11
+ "iconPlacementRight": "_iconPlacementRight_10zq9dr_39",
12
+ "wrapper": "_wrapper_10zq9dr_43",
13
+ "menuItem": "_menuItem_10zq9dr_50",
14
+ "keyboardNavigationDisabled": "_keyboardNavigationDisabled_10zq9dr_85",
15
+ "selected": "_selected_10zq9dr_99",
16
+ "highlighted": "_highlighted_10zq9dr_106",
17
+ "disableCursor": "_disableCursor_10zq9dr_107",
18
+ "disabled": "_disabled_10zq9dr_120",
19
+ "content": "_content_10zq9dr_131",
20
+ "icon": "_icon_10zq9dr_35",
21
+ "divider": "_divider_10zq9dr_144",
22
+ "groupHeaderThemeLight": "_groupHeaderThemeLight_10zq9dr_158",
23
+ "groupHeaderThemeDark": "_groupHeaderThemeDark_10zq9dr_161",
24
+ "groupHeaderSizeL": "_groupHeaderSizeL_10zq9dr_165",
25
+ "groupHeaderSizeM": "_groupHeaderSizeM_10zq9dr_168",
26
+ "groupHeaderSizeS": "_groupHeaderSizeS_10zq9dr_171",
27
+ "groupHeader": "_groupHeader_10zq9dr_158"
28
28
  };
29
29
  export { styles as default };
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@rescui/menu",
3
- "version": "0.10.12",
3
+ "version": "0.10.13-RUI-229-Mark-packages-as-ES-modules-c2f0afd6.5+c2f0afd6",
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",
@@ -24,11 +25,11 @@
24
25
  "react": ">=16.8.0 <19"
25
26
  },
26
27
  "devDependencies": {
27
- "@rescui/colors": "^0.2.6",
28
- "@rescui/postcss-preset-library": "^0.2.2",
29
- "@rescui/scripts": "^0.3.5",
30
- "@rescui/typography": "^0.21.0",
31
- "@rescui/visual-regression": "^0.1.2",
28
+ "@rescui/colors": "0.2.7-RUI-229-Mark-packages-as-ES-modules-c2f0afd6.29+c2f0afd6",
29
+ "@rescui/postcss-preset-library": "0.2.2",
30
+ "@rescui/scripts": "0.3.5",
31
+ "@rescui/typography": "0.21.1-RUI-229-Mark-packages-as-ES-modules-c2f0afd6.5+c2f0afd6",
32
+ "@rescui/visual-regression": "0.1.2",
32
33
  "postcss": "^8.3.0"
33
34
  },
34
35
  "scripts": {
@@ -36,5 +37,5 @@
36
37
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
37
38
  },
38
39
  "nx": {},
39
- "gitHead": "1643043a602c3434ef3b73c895188e9f5819f357"
40
+ "gitHead": "c2f0afd6d9adb143297f185e934591f3b442b8e2"
40
41
  }