@rescui/button 0.24.4 → 0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.11

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.
@@ -1,15 +1,15 @@
1
1
  var styles = {
2
- "icon": "_icon_1usw79t_4",
3
- "sizeXS": "_sizeXS_1usw79t_14",
4
- "sizeS": "_sizeS_1usw79t_18",
5
- "sizeM": "_sizeM_1usw79t_22",
6
- "sizeL": "_sizeL_1usw79t_26",
7
- "light": "_light_1usw79t_30",
8
- "dark": "_dark_1usw79t_34",
9
- "allVariants": "_allVariants_1usw79t_48",
10
- "variant16": "_variant16_1usw79t_53",
11
- "variant20": "_variant20_1usw79t_54",
12
- "variant24": "_variant24_1usw79t_55",
13
- "variant28": "_variant28_1usw79t_58"
2
+ "icon": "_icon_ydxoyp_4",
3
+ "sizeXS": "_sizeXS_ydxoyp_14",
4
+ "sizeS": "_sizeS_ydxoyp_18",
5
+ "sizeM": "_sizeM_ydxoyp_22",
6
+ "sizeL": "_sizeL_ydxoyp_26",
7
+ "light": "_light_ydxoyp_30",
8
+ "dark": "_dark_ydxoyp_34",
9
+ "allVariants": "_allVariants_ydxoyp_48",
10
+ "variant16": "_variant16_ydxoyp_53",
11
+ "variant20": "_variant20_ydxoyp_54",
12
+ "variant24": "_variant24_ydxoyp_55",
13
+ "variant28": "_variant28_ydxoyp_58"
14
14
  };
15
15
  export { styles as default };
@@ -1,34 +1,34 @@
1
1
  var styles = {
2
- "light": "_light_soyq2x_6",
3
- "dark": "_dark_soyq2x_9",
4
- "flatRight": "_flatRight_soyq2x_13",
5
- "flatLeft": "_flatLeft_soyq2x_16",
6
- "sizeXs": "_sizeXs_soyq2x_20",
7
- "sizeS": "_sizeS_soyq2x_23",
8
- "sizeM": "_sizeM_soyq2x_26",
9
- "sizeL": "_sizeL_soyq2x_29",
10
- "modeClassic": "_modeClassic_soyq2x_33",
11
- "modeRock": "_modeRock_soyq2x_36",
12
- "modeTransparent": "_modeTransparent_soyq2x_39",
13
- "modeOutline": "_modeOutline_soyq2x_42",
14
- "modeClear": "_modeClear_soyq2x_45",
15
- "alignIconLeft": "_alignIconLeft_soyq2x_49",
16
- "alignIconLeftEdge": "_alignIconLeftEdge_soyq2x_52",
17
- "alignIconRight": "_alignIconRight_soyq2x_55",
18
- "alignIconRightEdge": "_alignIconRightEdge_soyq2x_58",
19
- "main": "_main_soyq2x_62",
20
- "disabled": "_disabled_soyq2x_139",
21
- "busy": "_busy_soyq2x_149",
22
- "busyOverlay": "_busyOverlay_soyq2x_153",
23
- "icon": "_icon_soyq2x_188",
24
- "allowMultiline": "_allowMultiline_soyq2x_203",
25
- "content": "_content_soyq2x_207",
26
- "multiline": "_multiline_soyq2x_213",
27
- "withoutText": "_withoutText_soyq2x_217",
28
- "busyIcon": "_busyIcon_soyq2x_222",
29
- "shiftedLeft": "_shiftedLeft_soyq2x_243",
30
- "shiftedRight": "_shiftedRight_soyq2x_246",
31
- "shiftedTop": "_shiftedTop_soyq2x_249",
32
- "shiftedBottom": "_shiftedBottom_soyq2x_252"
2
+ "light": "_light_1bes39t_6",
3
+ "dark": "_dark_1bes39t_9",
4
+ "flatRight": "_flatRight_1bes39t_13",
5
+ "flatLeft": "_flatLeft_1bes39t_16",
6
+ "sizeXs": "_sizeXs_1bes39t_20",
7
+ "sizeS": "_sizeS_1bes39t_23",
8
+ "sizeM": "_sizeM_1bes39t_26",
9
+ "sizeL": "_sizeL_1bes39t_29",
10
+ "modeClassic": "_modeClassic_1bes39t_33",
11
+ "modeRock": "_modeRock_1bes39t_36",
12
+ "modeTransparent": "_modeTransparent_1bes39t_39",
13
+ "modeOutline": "_modeOutline_1bes39t_42",
14
+ "modeClear": "_modeClear_1bes39t_45",
15
+ "alignIconLeft": "_alignIconLeft_1bes39t_49",
16
+ "alignIconLeftEdge": "_alignIconLeftEdge_1bes39t_52",
17
+ "alignIconRight": "_alignIconRight_1bes39t_55",
18
+ "alignIconRightEdge": "_alignIconRightEdge_1bes39t_58",
19
+ "main": "_main_1bes39t_62",
20
+ "disabled": "_disabled_1bes39t_139",
21
+ "busy": "_busy_1bes39t_149",
22
+ "busyOverlay": "_busyOverlay_1bes39t_153",
23
+ "icon": "_icon_1bes39t_188",
24
+ "allowMultiline": "_allowMultiline_1bes39t_203",
25
+ "content": "_content_1bes39t_207",
26
+ "multiline": "_multiline_1bes39t_213",
27
+ "withoutText": "_withoutText_1bes39t_217",
28
+ "busyIcon": "_busyIcon_1bes39t_222",
29
+ "shiftedLeft": "_shiftedLeft_1bes39t_243",
30
+ "shiftedRight": "_shiftedRight_1bes39t_246",
31
+ "shiftedTop": "_shiftedTop_1bes39t_249",
32
+ "shiftedBottom": "_shiftedBottom_1bes39t_252"
33
33
  };
34
34
  export { styles as default };
package/lib/index.css CHANGED
@@ -1,4 +1,4 @@
1
- ._icon_1usw79t_4{
1
+ ._icon_ydxoyp_4{
2
2
  --_rs-theme-dark:var(
3
3
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
4
4
  var(--rs-theme-dark, 0)
@@ -8,7 +8,7 @@
8
8
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
9
9
  }
10
10
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
11
- ._icon_1usw79t_4{
11
+ ._icon_ydxoyp_4{
12
12
  --_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)));
13
13
  --_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)));
14
14
  --_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)));
@@ -17,7 +17,7 @@
17
17
  }
18
18
  }
19
19
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
20
- ._icon_1usw79t_4{
20
+ ._icon_ydxoyp_4{
21
21
  --_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);
22
22
  --_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));
23
23
  --_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));
@@ -25,30 +25,30 @@
25
25
  --_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));
26
26
  }
27
27
  }
28
- ._icon_1usw79t_4{
28
+ ._icon_ydxoyp_4{
29
29
 
30
30
  fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
31
31
 
32
32
  width:var(--rs-icons-width, auto);
33
33
  height:var(--rs-icons-height, var(--_rs-icons-height));
34
34
  }
35
- ._sizeXS_1usw79t_14{
35
+ ._sizeXS_ydxoyp_14{
36
36
  --_rs-icons-height:16px;
37
37
  }
38
- ._sizeS_1usw79t_18{
38
+ ._sizeS_ydxoyp_18{
39
39
  --_rs-icons-height:20px;
40
40
  }
41
- ._sizeM_1usw79t_22{
41
+ ._sizeM_ydxoyp_22{
42
42
  --_rs-icons-height:24px;
43
43
  }
44
- ._sizeL_1usw79t_26{
44
+ ._sizeL_ydxoyp_26{
45
45
  --_rs-icons-height:28px;
46
46
  }
47
- ._light_1usw79t_30{
47
+ ._light_ydxoyp_30{
48
48
  --rs-theme-dark:0;
49
49
  --_rs-icons-themed-fill-or-initial: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));
50
50
  }
51
- ._dark_1usw79t_34{
51
+ ._dark_ydxoyp_34{
52
52
  --rs-theme-dark:1;
53
53
  --_rs-icons-themed-fill-or-initial: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));
54
54
  }
@@ -60,61 +60,61 @@
60
60
  transform:rotate(360deg);
61
61
  }
62
62
  }
63
- ._allVariants_1usw79t_48{
63
+ ._allVariants_ydxoyp_48{
64
64
  aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
65
65
  container:rs-icon / size;
66
66
  }
67
- ._variant16_1usw79t_53,
68
- ._variant20_1usw79t_54,
69
- ._variant24_1usw79t_55{
67
+ ._variant16_ydxoyp_53,
68
+ ._variant20_ydxoyp_54,
69
+ ._variant24_ydxoyp_55{
70
70
  display:none;
71
71
  }
72
- ._variant28_1usw79t_58{
72
+ ._variant28_ydxoyp_58{
73
73
  display:block;
74
74
  }
75
75
  @container rs-icon (max-height: 24px){
76
- ._variant24_1usw79t_55{
76
+ ._variant24_ydxoyp_55{
77
77
  display:block;
78
78
  }
79
- ._variant28_1usw79t_58{
79
+ ._variant28_ydxoyp_58{
80
80
  display:none;
81
81
  }
82
82
  }
83
83
  @container rs-icon (max-height: 20px){
84
- ._variant20_1usw79t_54{
84
+ ._variant20_ydxoyp_54{
85
85
  display:block;
86
86
  }
87
- ._variant24_1usw79t_55{
87
+ ._variant24_ydxoyp_55{
88
88
  display:none;
89
89
  }
90
90
  }
91
91
  @container rs-icon (max-height: 16px){
92
- ._variant16_1usw79t_53{
92
+ ._variant16_ydxoyp_53{
93
93
  display:block;
94
94
  }
95
- ._variant20_1usw79t_54{
95
+ ._variant20_ydxoyp_54{
96
96
  display:none;
97
97
  }
98
98
  }
99
- ._light_soyq2x_6{
99
+ ._light_1bes39t_6{
100
100
  --rs-theme-dark:0;
101
101
  }
102
- ._dark_soyq2x_9{
102
+ ._dark_1bes39t_9{
103
103
  --rs-theme-dark:1;
104
104
  }
105
- ._flatRight_soyq2x_13{
105
+ ._flatRight_1bes39t_13{
106
106
  --_rs-button-top-right-border-radius-or-initial:0px;
107
107
  --_rs-button-bottom-right-border-radius-or-initial:0px;
108
108
  --_rs-button-top-right-multiline-border-radius-or-initial:0px;
109
109
  --_rs-button-bottom-right-multiline-border-radius-or-initial:0px;
110
110
  }
111
- ._flatLeft_soyq2x_16{
111
+ ._flatLeft_1bes39t_16{
112
112
  --_rs-button-top-left-border-radius-or-initial:0px;
113
113
  --_rs-button-bottom-left-border-radius-or-initial:0px;
114
114
  --_rs-button-top-left-multiline-border-radius-or-initial:0px;
115
115
  --_rs-button-bottom-left-multiline-border-radius-or-initial:0px;
116
116
  }
117
- ._sizeXs_soyq2x_20{
117
+ ._sizeXs_1bes39t_20{
118
118
  --_rs-button-border-radius-base:var(
119
119
  --rs-button-xs-border-radius,
120
120
  var(--rs-button-border-radius, 4px)
@@ -129,7 +129,7 @@
129
129
  --_rs-button-icon-size:16px;
130
130
  --_rs-button-icon-offset:4px;
131
131
  }
132
- ._sizeXs_soyq2x_20 [data-rs-internal='button__content']{
132
+ ._sizeXs_1bes39t_20 [data-rs-internal='button__content']{
133
133
  --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
134
134
  --_rs-typography-text-transform:initial;
135
135
  --_rs-typography-font-variant-numeric:initial;
@@ -164,7 +164,7 @@
164
164
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
165
165
  --_rs-typography-link-border-bottom-width-from-text:1px;
166
166
  }
167
- ._sizeS_soyq2x_23{
167
+ ._sizeS_1bes39t_23{
168
168
  --_rs-button-border-radius-base:var(
169
169
  --rs-button-s-border-radius,
170
170
  var(--rs-button-border-radius, 16px)
@@ -179,7 +179,7 @@
179
179
  --_rs-button-icon-size:20px;
180
180
  --_rs-button-icon-offset:8px;
181
181
  }
182
- ._sizeS_soyq2x_23 [data-rs-internal='button__content']{
182
+ ._sizeS_1bes39t_23 [data-rs-internal='button__content']{
183
183
  --_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
184
184
  --_rs-typography-text-transform:initial;
185
185
  --_rs-typography-font-variant-numeric:initial;
@@ -214,7 +214,7 @@
214
214
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
215
215
  --_rs-typography-link-border-bottom-width-from-text:1px;
216
216
  }
217
- ._sizeM_soyq2x_26{
217
+ ._sizeM_1bes39t_26{
218
218
  --_rs-button-border-radius-base:var(
219
219
  --rs-button-m-border-radius,
220
220
  var(--rs-button-border-radius, 20px)
@@ -229,7 +229,7 @@
229
229
  --_rs-button-icon-size:24px;
230
230
  --_rs-button-icon-offset:8px;
231
231
  }
232
- ._sizeM_soyq2x_26 [data-rs-internal='button__content']{
232
+ ._sizeM_1bes39t_26 [data-rs-internal='button__content']{
233
233
  --_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
234
234
  --_rs-typography-text-transform:initial;
235
235
  --_rs-typography-font-variant-numeric:initial;
@@ -268,11 +268,11 @@
268
268
  --_rs-typography-link-border-bottom-width-from-text:1px;
269
269
  }
270
270
  @media screen and (max-width: 640px){
271
- ._sizeM_soyq2x_26 [data-rs-internal='button__content']{
271
+ ._sizeM_1bes39t_26 [data-rs-internal='button__content']{
272
272
  --_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
273
273
  }
274
274
  }
275
- ._sizeL_soyq2x_29{
275
+ ._sizeL_1bes39t_29{
276
276
  --_rs-button-border-radius-base:var(
277
277
  --rs-button-l-border-radius,
278
278
  var(--rs-button-border-radius, 26px)
@@ -287,7 +287,7 @@
287
287
  --_rs-button-icon-size:28px;
288
288
  --_rs-button-icon-offset:16px;
289
289
  }
290
- ._sizeL_soyq2x_29 [data-rs-internal='button__content']{
290
+ ._sizeL_1bes39t_29 [data-rs-internal='button__content']{
291
291
  --_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
292
292
  --_rs-typography-text-transform:initial;
293
293
  --_rs-typography-font-variant-numeric:initial;
@@ -326,11 +326,11 @@
326
326
  --_rs-typography-link-border-bottom-width-from-text:1px;
327
327
  }
328
328
  @media screen and (max-width: 640px){
329
- ._sizeL_soyq2x_29 [data-rs-internal='button__content']{
329
+ ._sizeL_1bes39t_29 [data-rs-internal='button__content']{
330
330
  --_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
331
331
  }
332
332
  }
333
- ._modeClassic_soyq2x_33{
333
+ ._modeClassic_1bes39t_33{
334
334
  --_rs-button-inner-border-display:none;
335
335
  --_rs-button-color:rgb(
336
336
  calc(255 - var(--rs-button-flip-text-color, 0)*230),
@@ -346,7 +346,7 @@
346
346
  --_rs-button-disabled-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);
347
347
  --_rs-button-disabled-background: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.2);
348
348
  }
349
- ._modeRock_soyq2x_36{
349
+ ._modeRock_1bes39t_36{
350
350
  --_rs-button-inner-border-display:none;
351
351
  --_rs-button-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
352
352
  --_rs-button-background: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));
@@ -359,7 +359,7 @@
359
359
  --_rs-button-disabled-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);
360
360
  --_rs-button-disabled-background: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.2);
361
361
  }
362
- ._modeTransparent_soyq2x_39{
362
+ ._modeTransparent_1bes39t_39{
363
363
  --_rs-button-inner-border-display:none;
364
364
  --_rs-button-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
365
365
  --_rs-button-background: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);
@@ -371,7 +371,7 @@
371
371
  --_rs-button-disabled-color:rgba(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
372
372
  --_rs-button-disabled-background: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.4);
373
373
  }
374
- ._modeOutline_soyq2x_42{
374
+ ._modeOutline_1bes39t_42{
375
375
  --_rs-button-inner-border-display:block;
376
376
  --_rs-button-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));
377
377
  --_rs-button-background:transparent;
@@ -383,7 +383,7 @@
383
383
  --_rs-button-disabled-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);
384
384
  --_rs-button-disabled-background:transparent;
385
385
  }
386
- ._modeClear_soyq2x_45{
386
+ ._modeClear_1bes39t_45{
387
387
  --_rs-button-inner-border-display:none;
388
388
  --_rs-button-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));
389
389
  --_rs-button-background:transparent;
@@ -395,23 +395,23 @@
395
395
  --_rs-button-disabled-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);
396
396
  --_rs-button-disabled-background:transparent;
397
397
  }
398
- ._alignIconLeft_soyq2x_49{
398
+ ._alignIconLeft_1bes39t_49{
399
399
  --_rs-button-icon-flex-direction:row;
400
400
  --_rs-button-content-grow:0;
401
401
  }
402
- ._alignIconLeftEdge_soyq2x_52{
402
+ ._alignIconLeftEdge_1bes39t_52{
403
403
  --_rs-button-icon-flex-direction:row;
404
404
  --_rs-button-content-grow:1;
405
405
  }
406
- ._alignIconRight_soyq2x_55{
406
+ ._alignIconRight_1bes39t_55{
407
407
  --_rs-button-icon-flex-direction:row-reverse;
408
408
  --_rs-button-content-grow:0;
409
409
  }
410
- ._alignIconRightEdge_soyq2x_58{
410
+ ._alignIconRightEdge_1bes39t_58{
411
411
  --_rs-button-icon-flex-direction:row-reverse;
412
412
  --_rs-button-content-grow:1;
413
413
  }
414
- ._main_soyq2x_62{
414
+ ._main_1bes39t_62{
415
415
  --_rs-theme-dark:var(
416
416
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
417
417
  var(--rs-theme-dark, 0)
@@ -421,7 +421,7 @@
421
421
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
422
422
  }
423
423
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
424
- ._main_soyq2x_62{
424
+ ._main_1bes39t_62{
425
425
  --_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)));
426
426
  --_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)));
427
427
  --_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)));
@@ -430,7 +430,7 @@
430
430
  }
431
431
  }
432
432
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
433
- ._main_soyq2x_62{
433
+ ._main_1bes39t_62{
434
434
  --_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);
435
435
  --_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));
436
436
  --_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));
@@ -438,7 +438,7 @@
438
438
  --_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));
439
439
  }
440
440
  }
441
- ._main_soyq2x_62 {
441
+ ._main_1bes39t_62 {
442
442
  --_rs-button-background-final:var(
443
443
  --_rs-button-background-from-state-active-focus-visible-no-hover,
444
444
  var(
@@ -519,19 +519,19 @@
519
519
  -moz-column-gap:var(--_rs-button-icon-offset);
520
520
  column-gap:var(--_rs-button-icon-offset);
521
521
  }
522
- ._main_soyq2x_62:hover,
523
- ._main_soyq2x_62:focus,
524
- ._main_soyq2x_62:active{
522
+ ._main_1bes39t_62:hover,
523
+ ._main_1bes39t_62:focus,
524
+ ._main_1bes39t_62:active{
525
525
  outline:none;
526
526
 
527
527
  text-decoration:none;
528
528
  }
529
- ._main_soyq2x_62:focus{
529
+ ._main_1bes39t_62:focus{
530
530
  color:var(--_rs-button-color);
531
531
  background:var(--_rs-button-background-final);
532
532
  }
533
533
  @media (hover: hover){
534
- ._main_soyq2x_62:hover{
534
+ ._main_1bes39t_62:hover{
535
535
  --_rs-button-border-inner-color:rgba(
536
536
  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),
537
537
  calc(0.3 + var(--_rs-theme-dark-coefficient, 0)*0.1)
@@ -539,24 +539,24 @@
539
539
  --_rs-button-background-from-state-hover:var(--_rs-button-hover-background);
540
540
  }
541
541
  }
542
- ._main_soyq2x_62:active{
542
+ ._main_1bes39t_62:active{
543
543
  --_rs-button-border-inner-width:2px;
544
544
  --_rs-button-border-inner-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));
545
545
  --_rs-button-background-from-state-active:var(
546
546
  --_rs-button-active-background
547
547
  );
548
548
  }
549
- ._main_soyq2x_62:focus[data-focus-method='key']{
549
+ ._main_1bes39t_62:focus[data-focus-method='key']{
550
550
  --_rs-button-box-shadow-from-state-focus-visible:var(
551
551
  --_rs-color-primary-t-dim
552
552
  ) 0 0 0 4px;
553
553
  }
554
- ._main_soyq2x_62:active:not(:hover):focus[data-focus-method='key']{
554
+ ._main_1bes39t_62:active:not(:hover):focus[data-focus-method='key']{
555
555
  --_rs-button-background-from-state-active-focus-visible-no-hover:var(
556
556
  --_rs-button-active-focus-visible-no-hover-background
557
557
  );
558
558
  }
559
- ._main_soyq2x_62._disabled_soyq2x_139{
559
+ ._main_1bes39t_62._disabled_1bes39t_139{
560
560
  --_rs-button-border-inner-color:rgba(
561
561
  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),
562
562
  0.2
@@ -565,26 +565,26 @@
565
565
  color:var(--_rs-button-disabled-color);
566
566
  background:var(--_rs-button-disabled-background);
567
567
  }
568
- ._main_soyq2x_62._busy_soyq2x_149{
568
+ ._main_1bes39t_62._busy_1bes39t_149{
569
569
  pointer-events:none;
570
570
  }
571
- ._main_soyq2x_62._busyOverlay_soyq2x_153{
571
+ ._main_1bes39t_62._busyOverlay_1bes39t_153{
572
572
  display:inline-flex;
573
573
  justify-content:center;
574
574
  align-items:center;
575
575
  }
576
- ._main_soyq2x_62._busyOverlay_soyq2x_153,
577
- ._main_soyq2x_62._busyOverlay_soyq2x_153:hover,
578
- ._main_soyq2x_62._busyOverlay_soyq2x_153:active,
579
- ._main_soyq2x_62._busyOverlay_soyq2x_153._disabled_soyq2x_139,
580
- ._main_soyq2x_62._busyOverlay_soyq2x_153:focus{
576
+ ._main_1bes39t_62._busyOverlay_1bes39t_153,
577
+ ._main_1bes39t_62._busyOverlay_1bes39t_153:hover,
578
+ ._main_1bes39t_62._busyOverlay_1bes39t_153:active,
579
+ ._main_1bes39t_62._busyOverlay_1bes39t_153._disabled_1bes39t_139,
580
+ ._main_1bes39t_62._busyOverlay_1bes39t_153:focus{
581
581
  -webkit-user-select:none;
582
582
  -moz-user-select:none;
583
583
  user-select:none;
584
584
 
585
585
  color:transparent;
586
586
  }
587
- ._main_soyq2x_62::before{
587
+ ._main_1bes39t_62::before{
588
588
  position:absolute;
589
589
  top:0;
590
590
  right:0;
@@ -601,7 +601,7 @@
601
601
 
602
602
  transition:border-color 100ms var(--rs-transition-function, ease);
603
603
  }
604
- ._main_soyq2x_62 ._icon_soyq2x_188{
604
+ ._main_1bes39t_62 ._icon_1bes39t_188{
605
605
  flex:0 0 auto;
606
606
 
607
607
  width:auto;
@@ -610,38 +610,38 @@
610
610
  margin:0;
611
611
  fill:currentColor;
612
612
  }
613
- ._disabled_soyq2x_139{
613
+ ._disabled_1bes39t_139{
614
614
  pointer-events:none;
615
615
  }
616
- ._allowMultiline_soyq2x_203{
616
+ ._allowMultiline_1bes39t_203{
617
617
  white-space:normal;
618
618
  }
619
- ._content_soyq2x_207{
619
+ ._content_1bes39t_207{
620
620
  flex:var(--_rs-button-content-grow) 1 auto;
621
621
 
622
622
  min-width:0;
623
623
  }
624
- ._multiline_soyq2x_213{
624
+ ._multiline_1bes39t_213{
625
625
  border-radius:var(--_rs-button-multiline-border-radius);
626
626
  }
627
- ._withoutText_soyq2x_217{
627
+ ._withoutText_1bes39t_217{
628
628
  --_rs-button-horizontal-real-padding:var(--_rs-button-icon-only-padding);
629
629
  --_rs-button-vertical-real-padding:var(--_rs-button-icon-only-padding);
630
630
  }
631
- ._busyIcon_soyq2x_222{
631
+ ._busyIcon_1bes39t_222{
632
632
  position:absolute;
633
633
  top:50%;
634
634
  left:50%;
635
635
 
636
636
  transform:translate(-50%, -50%);
637
637
  }
638
- ._main_soyq2x_62 ._busyIcon_soyq2x_222{
638
+ ._main_1bes39t_62 ._busyIcon_1bes39t_222{
639
639
  color:var(--_rs-button-color);
640
640
  }
641
- ._main_soyq2x_62._disabled_soyq2x_139 ._busyIcon_soyq2x_222{
641
+ ._main_1bes39t_62._disabled_1bes39t_139 ._busyIcon_1bes39t_222{
642
642
  color:var(--_rs-button-disabled-color);
643
643
  }
644
- ._content_soyq2x_207{
644
+ ._content_1bes39t_207{
645
645
  letter-spacing:var(
646
646
  --rs-text-base-letter-spacing,
647
647
  var(--_rs-typography-letter-spacing)
@@ -654,15 +654,15 @@
654
654
  font-variant-numeric:var(--_rs-typography-font-variant-numeric);
655
655
  font-feature-settings:'kern', 'liga', 'calt';
656
656
  }
657
- ._shiftedLeft_soyq2x_243{
657
+ ._shiftedLeft_1bes39t_243{
658
658
  margin-left:calc(var(--_rs-button-horizontal-real-padding)*-1);
659
659
  }
660
- ._shiftedRight_soyq2x_246{
660
+ ._shiftedRight_1bes39t_246{
661
661
  margin-right:calc(var(--_rs-button-horizontal-real-padding)*-1);
662
662
  }
663
- ._shiftedTop_soyq2x_249{
663
+ ._shiftedTop_1bes39t_249{
664
664
  margin-top:calc(var(--_rs-button-vertical-real-padding)*-1);
665
665
  }
666
- ._shiftedBottom_soyq2x_252{
666
+ ._shiftedBottom_1bes39t_252{
667
667
  margin-bottom:calc(var(--_rs-button-vertical-real-padding)*-1);
668
668
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/button",
3
- "version": "0.24.4",
3
+ "version": "0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.11+f15074a13",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -17,20 +17,20 @@
17
17
  },
18
18
  "dependencies": {
19
19
  "@babel/runtime-corejs3": "^7.26.0",
20
- "@rescui/use-resize-observer": "^0.3.3",
20
+ "@rescui/use-resize-observer": "0.3.4-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.11+f15074a13",
21
21
  "classnames": "^2.2.6"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@rescui/ui-contexts": "^0.6.0",
25
25
  "prop-types": "^15",
26
- "react": ">=16.8.0 <20"
26
+ "react": ">=17.0.0 <20"
27
27
  },
28
28
  "devDependencies": {
29
- "@rescui/colors": "^0.3.2",
30
- "@rescui/icons": "^1.8.2",
31
- "@rescui/scripts": "^0.5.2",
32
- "@rescui/typography": "^0.27.2",
33
- "@rescui/visual-regression": "^0.1.4",
29
+ "@rescui/colors": "0.3.3-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.15+f15074a13",
30
+ "@rescui/icons": "1.8.3-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.15+f15074a13",
31
+ "@rescui/scripts": "0.5.2",
32
+ "@rescui/typography": "0.27.3-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.15+f15074a13",
33
+ "@rescui/visual-regression": "0.1.4",
34
34
  "@types/classnames": "^2.2.11"
35
35
  },
36
36
  "scripts": {
@@ -38,5 +38,5 @@
38
38
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
39
39
  },
40
40
  "nx": {},
41
- "gitHead": "7aade8fced69c4a1ac61078a1daf2c1cd4f5a1c9"
41
+ "gitHead": "f15074a13a93f4cdfe7b9ac295f0a493e4a0ca0f"
42
42
  }