@rescui/button 0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-8aaaed4be.39 → 0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.40
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/_virtual/index.css.js +12 -12
- package/lib/button.p.module.css.js +31 -31
- package/lib/index.css +79 -79
- package/package.json +6 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
9
|
-
"allVariants": "
|
|
10
|
-
"variant16": "
|
|
11
|
-
"variant20": "
|
|
12
|
-
"variant24": "
|
|
13
|
-
"variant28": "
|
|
2
|
+
"icon": "_icon_j4spmh_4",
|
|
3
|
+
"sizeXS": "_sizeXS_j4spmh_14",
|
|
4
|
+
"sizeS": "_sizeS_j4spmh_18",
|
|
5
|
+
"sizeM": "_sizeM_j4spmh_22",
|
|
6
|
+
"sizeL": "_sizeL_j4spmh_26",
|
|
7
|
+
"light": "_light_j4spmh_30",
|
|
8
|
+
"dark": "_dark_j4spmh_34",
|
|
9
|
+
"allVariants": "_allVariants_j4spmh_48",
|
|
10
|
+
"variant16": "_variant16_j4spmh_53",
|
|
11
|
+
"variant20": "_variant20_j4spmh_54",
|
|
12
|
+
"variant24": "_variant24_j4spmh_55",
|
|
13
|
+
"variant28": "_variant28_j4spmh_58"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"light": "
|
|
3
|
-
"dark": "
|
|
4
|
-
"flatRight": "
|
|
5
|
-
"flatLeft": "
|
|
6
|
-
"sizeXs": "
|
|
7
|
-
"sizeS": "
|
|
8
|
-
"sizeM": "
|
|
9
|
-
"sizeL": "
|
|
10
|
-
"modeClassic": "
|
|
11
|
-
"modeRock": "
|
|
12
|
-
"modeTransparent": "
|
|
13
|
-
"modeOutline": "
|
|
14
|
-
"modeClear": "
|
|
15
|
-
"alignIconLeft": "
|
|
16
|
-
"alignIconLeftEdge": "
|
|
17
|
-
"alignIconRight": "
|
|
18
|
-
"alignIconRightEdge": "
|
|
19
|
-
"main": "
|
|
20
|
-
"disabled": "
|
|
21
|
-
"busy": "
|
|
22
|
-
"busyOverlay": "
|
|
23
|
-
"icon": "
|
|
24
|
-
"allowMultiline": "
|
|
25
|
-
"content": "
|
|
26
|
-
"multiline": "
|
|
27
|
-
"withoutText": "
|
|
28
|
-
"busyIcon": "
|
|
29
|
-
"shiftedLeft": "
|
|
30
|
-
"shiftedRight": "
|
|
31
|
-
"shiftedTop": "
|
|
32
|
-
"shiftedBottom": "
|
|
2
|
+
"light": "_light_1ffqsnd_6",
|
|
3
|
+
"dark": "_dark_1ffqsnd_9",
|
|
4
|
+
"flatRight": "_flatRight_1ffqsnd_13",
|
|
5
|
+
"flatLeft": "_flatLeft_1ffqsnd_16",
|
|
6
|
+
"sizeXs": "_sizeXs_1ffqsnd_20",
|
|
7
|
+
"sizeS": "_sizeS_1ffqsnd_23",
|
|
8
|
+
"sizeM": "_sizeM_1ffqsnd_26",
|
|
9
|
+
"sizeL": "_sizeL_1ffqsnd_29",
|
|
10
|
+
"modeClassic": "_modeClassic_1ffqsnd_33",
|
|
11
|
+
"modeRock": "_modeRock_1ffqsnd_36",
|
|
12
|
+
"modeTransparent": "_modeTransparent_1ffqsnd_39",
|
|
13
|
+
"modeOutline": "_modeOutline_1ffqsnd_42",
|
|
14
|
+
"modeClear": "_modeClear_1ffqsnd_45",
|
|
15
|
+
"alignIconLeft": "_alignIconLeft_1ffqsnd_49",
|
|
16
|
+
"alignIconLeftEdge": "_alignIconLeftEdge_1ffqsnd_52",
|
|
17
|
+
"alignIconRight": "_alignIconRight_1ffqsnd_55",
|
|
18
|
+
"alignIconRightEdge": "_alignIconRightEdge_1ffqsnd_58",
|
|
19
|
+
"main": "_main_1ffqsnd_62",
|
|
20
|
+
"disabled": "_disabled_1ffqsnd_139",
|
|
21
|
+
"busy": "_busy_1ffqsnd_149",
|
|
22
|
+
"busyOverlay": "_busyOverlay_1ffqsnd_153",
|
|
23
|
+
"icon": "_icon_1ffqsnd_188",
|
|
24
|
+
"allowMultiline": "_allowMultiline_1ffqsnd_203",
|
|
25
|
+
"content": "_content_1ffqsnd_207",
|
|
26
|
+
"multiline": "_multiline_1ffqsnd_213",
|
|
27
|
+
"withoutText": "_withoutText_1ffqsnd_217",
|
|
28
|
+
"busyIcon": "_busyIcon_1ffqsnd_222",
|
|
29
|
+
"shiftedLeft": "_shiftedLeft_1ffqsnd_243",
|
|
30
|
+
"shiftedRight": "_shiftedRight_1ffqsnd_246",
|
|
31
|
+
"shiftedTop": "_shiftedTop_1ffqsnd_249",
|
|
32
|
+
"shiftedBottom": "_shiftedBottom_1ffqsnd_252"
|
|
33
33
|
};
|
|
34
34
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
inherits:true;
|
|
4
4
|
initial-value:0;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._icon_j4spmh_4{
|
|
7
7
|
--_rs-theme-dark:var(
|
|
8
8
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
9
9
|
var(--rs-theme-dark, 0)
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
14
14
|
}
|
|
15
15
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
16
|
-
.
|
|
16
|
+
._icon_j4spmh_4{
|
|
17
17
|
--_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)));
|
|
18
18
|
--_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)));
|
|
19
19
|
--_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)));
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
25
|
-
.
|
|
25
|
+
._icon_j4spmh_4{
|
|
26
26
|
--_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);
|
|
27
27
|
--_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));
|
|
28
28
|
--_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));
|
|
@@ -30,30 +30,30 @@
|
|
|
30
30
|
--_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));
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
._icon_j4spmh_4{
|
|
34
34
|
|
|
35
35
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
36
36
|
|
|
37
37
|
width:var(--rs-icons-width, auto);
|
|
38
38
|
height:var(--rs-icons-height, var(--_rs-icons-height));
|
|
39
39
|
}
|
|
40
|
-
.
|
|
40
|
+
._sizeXS_j4spmh_14{
|
|
41
41
|
--_rs-icons-height:16px;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
._sizeS_j4spmh_18{
|
|
44
44
|
--_rs-icons-height:20px;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
._sizeM_j4spmh_22{
|
|
47
47
|
--_rs-icons-height:24px;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
._sizeL_j4spmh_26{
|
|
50
50
|
--_rs-icons-height:28px;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
._light_j4spmh_30{
|
|
53
53
|
--rs-theme-dark:0;
|
|
54
54
|
--_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));
|
|
55
55
|
}
|
|
56
|
-
.
|
|
56
|
+
._dark_j4spmh_34{
|
|
57
57
|
--rs-theme-dark:1;
|
|
58
58
|
--_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));
|
|
59
59
|
}
|
|
@@ -65,39 +65,39 @@
|
|
|
65
65
|
transform:rotate(360deg);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
.
|
|
68
|
+
._allVariants_j4spmh_48{
|
|
69
69
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
70
70
|
container:rs-icon / size;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
73
|
-
.
|
|
74
|
-
.
|
|
72
|
+
._variant16_j4spmh_53,
|
|
73
|
+
._variant20_j4spmh_54,
|
|
74
|
+
._variant24_j4spmh_55{
|
|
75
75
|
display:none;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
._variant28_j4spmh_58{
|
|
78
78
|
display:block;
|
|
79
79
|
}
|
|
80
80
|
@container rs-icon (max-height: 24px){
|
|
81
|
-
.
|
|
81
|
+
._variant24_j4spmh_55{
|
|
82
82
|
display:block;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
._variant28_j4spmh_58{
|
|
85
85
|
display:none;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
@container rs-icon (max-height: 20px){
|
|
89
|
-
.
|
|
89
|
+
._variant20_j4spmh_54{
|
|
90
90
|
display:block;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
._variant24_j4spmh_55{
|
|
93
93
|
display:none;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
@container rs-icon (max-height: 16px){
|
|
97
|
-
.
|
|
97
|
+
._variant16_j4spmh_53{
|
|
98
98
|
display:block;
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
._variant20_j4spmh_54{
|
|
101
101
|
display:none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -106,25 +106,25 @@
|
|
|
106
106
|
inherits:true;
|
|
107
107
|
initial-value:0;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._light_1ffqsnd_6{
|
|
110
110
|
--rs-theme-dark:0;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
._dark_1ffqsnd_9{
|
|
113
113
|
--rs-theme-dark:1;
|
|
114
114
|
}
|
|
115
|
-
.
|
|
115
|
+
._flatRight_1ffqsnd_13{
|
|
116
116
|
--_rs-button-top-right-border-radius-or-initial:0px;
|
|
117
117
|
--_rs-button-bottom-right-border-radius-or-initial:0px;
|
|
118
118
|
--_rs-button-top-right-multiline-border-radius-or-initial:0px;
|
|
119
119
|
--_rs-button-bottom-right-multiline-border-radius-or-initial:0px;
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
._flatLeft_1ffqsnd_16{
|
|
122
122
|
--_rs-button-top-left-border-radius-or-initial:0px;
|
|
123
123
|
--_rs-button-bottom-left-border-radius-or-initial:0px;
|
|
124
124
|
--_rs-button-top-left-multiline-border-radius-or-initial:0px;
|
|
125
125
|
--_rs-button-bottom-left-multiline-border-radius-or-initial:0px;
|
|
126
126
|
}
|
|
127
|
-
.
|
|
127
|
+
._sizeXs_1ffqsnd_20{
|
|
128
128
|
--_rs-button-border-radius-base:var(
|
|
129
129
|
--rs-button-xs-border-radius,
|
|
130
130
|
var(--rs-button-border-radius, 4px)
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
--_rs-button-icon-size:16px;
|
|
140
140
|
--_rs-button-icon-offset:4px;
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
._sizeXs_1ffqsnd_20 [data-rs-internal='button__content']{
|
|
143
143
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
144
144
|
--_rs-typography-text-transform:initial;
|
|
145
145
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
175
175
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
176
176
|
}
|
|
177
|
-
.
|
|
177
|
+
._sizeS_1ffqsnd_23{
|
|
178
178
|
--_rs-button-border-radius-base:var(
|
|
179
179
|
--rs-button-s-border-radius,
|
|
180
180
|
var(--rs-button-border-radius, 16px)
|
|
@@ -189,7 +189,7 @@
|
|
|
189
189
|
--_rs-button-icon-size:20px;
|
|
190
190
|
--_rs-button-icon-offset:8px;
|
|
191
191
|
}
|
|
192
|
-
.
|
|
192
|
+
._sizeS_1ffqsnd_23 [data-rs-internal='button__content']{
|
|
193
193
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
194
194
|
--_rs-typography-text-transform:initial;
|
|
195
195
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
225
225
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
226
226
|
}
|
|
227
|
-
.
|
|
227
|
+
._sizeM_1ffqsnd_26{
|
|
228
228
|
--_rs-button-border-radius-base:var(
|
|
229
229
|
--rs-button-m-border-radius,
|
|
230
230
|
var(--rs-button-border-radius, 20px)
|
|
@@ -239,7 +239,7 @@
|
|
|
239
239
|
--_rs-button-icon-size:24px;
|
|
240
240
|
--_rs-button-icon-offset:8px;
|
|
241
241
|
}
|
|
242
|
-
.
|
|
242
|
+
._sizeM_1ffqsnd_26 [data-rs-internal='button__content']{
|
|
243
243
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
244
244
|
--_rs-typography-text-transform:initial;
|
|
245
245
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -278,11 +278,11 @@
|
|
|
278
278
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
279
279
|
}
|
|
280
280
|
@media screen and (max-width: 640px){
|
|
281
|
-
.
|
|
281
|
+
._sizeM_1ffqsnd_26 [data-rs-internal='button__content']{
|
|
282
282
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
.
|
|
285
|
+
._sizeL_1ffqsnd_29{
|
|
286
286
|
--_rs-button-border-radius-base:var(
|
|
287
287
|
--rs-button-l-border-radius,
|
|
288
288
|
var(--rs-button-border-radius, 26px)
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
--_rs-button-icon-size:28px;
|
|
298
298
|
--_rs-button-icon-offset:16px;
|
|
299
299
|
}
|
|
300
|
-
.
|
|
300
|
+
._sizeL_1ffqsnd_29 [data-rs-internal='button__content']{
|
|
301
301
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
302
302
|
--_rs-typography-text-transform:initial;
|
|
303
303
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -336,11 +336,11 @@
|
|
|
336
336
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
337
337
|
}
|
|
338
338
|
@media screen and (max-width: 640px){
|
|
339
|
-
.
|
|
339
|
+
._sizeL_1ffqsnd_29 [data-rs-internal='button__content']{
|
|
340
340
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
.
|
|
343
|
+
._modeClassic_1ffqsnd_33{
|
|
344
344
|
--_rs-button-inner-border-display:none;
|
|
345
345
|
--_rs-button-color:rgb(
|
|
346
346
|
calc(255 - var(--rs-button-flip-text-color, 0)*230),
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
--_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);
|
|
357
357
|
--_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);
|
|
358
358
|
}
|
|
359
|
-
.
|
|
359
|
+
._modeRock_1ffqsnd_36{
|
|
360
360
|
--_rs-button-inner-border-display:none;
|
|
361
361
|
--_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));
|
|
362
362
|
--_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));
|
|
@@ -369,7 +369,7 @@
|
|
|
369
369
|
--_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);
|
|
370
370
|
--_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);
|
|
371
371
|
}
|
|
372
|
-
.
|
|
372
|
+
._modeTransparent_1ffqsnd_39{
|
|
373
373
|
--_rs-button-inner-border-display:none;
|
|
374
374
|
--_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));
|
|
375
375
|
--_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);
|
|
@@ -381,7 +381,7 @@
|
|
|
381
381
|
--_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);
|
|
382
382
|
--_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);
|
|
383
383
|
}
|
|
384
|
-
.
|
|
384
|
+
._modeOutline_1ffqsnd_42{
|
|
385
385
|
--_rs-button-inner-border-display:block;
|
|
386
386
|
--_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));
|
|
387
387
|
--_rs-button-background:transparent;
|
|
@@ -393,7 +393,7 @@
|
|
|
393
393
|
--_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);
|
|
394
394
|
--_rs-button-disabled-background:transparent;
|
|
395
395
|
}
|
|
396
|
-
.
|
|
396
|
+
._modeClear_1ffqsnd_45{
|
|
397
397
|
--_rs-button-inner-border-display:none;
|
|
398
398
|
--_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));
|
|
399
399
|
--_rs-button-background:transparent;
|
|
@@ -405,23 +405,23 @@
|
|
|
405
405
|
--_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);
|
|
406
406
|
--_rs-button-disabled-background:transparent;
|
|
407
407
|
}
|
|
408
|
-
.
|
|
408
|
+
._alignIconLeft_1ffqsnd_49{
|
|
409
409
|
--_rs-button-icon-flex-direction:row;
|
|
410
410
|
--_rs-button-content-grow:0;
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
._alignIconLeftEdge_1ffqsnd_52{
|
|
413
413
|
--_rs-button-icon-flex-direction:row;
|
|
414
414
|
--_rs-button-content-grow:1;
|
|
415
415
|
}
|
|
416
|
-
.
|
|
416
|
+
._alignIconRight_1ffqsnd_55{
|
|
417
417
|
--_rs-button-icon-flex-direction:row-reverse;
|
|
418
418
|
--_rs-button-content-grow:0;
|
|
419
419
|
}
|
|
420
|
-
.
|
|
420
|
+
._alignIconRightEdge_1ffqsnd_58{
|
|
421
421
|
--_rs-button-icon-flex-direction:row-reverse;
|
|
422
422
|
--_rs-button-content-grow:1;
|
|
423
423
|
}
|
|
424
|
-
.
|
|
424
|
+
._main_1ffqsnd_62{
|
|
425
425
|
--_rs-theme-dark:var(
|
|
426
426
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
427
427
|
var(--rs-theme-dark, 0)
|
|
@@ -431,7 +431,7 @@
|
|
|
431
431
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
432
432
|
}
|
|
433
433
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
434
|
-
.
|
|
434
|
+
._main_1ffqsnd_62{
|
|
435
435
|
--_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)));
|
|
436
436
|
--_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)));
|
|
437
437
|
--_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)));
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
443
|
-
.
|
|
443
|
+
._main_1ffqsnd_62{
|
|
444
444
|
--_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);
|
|
445
445
|
--_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));
|
|
446
446
|
--_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));
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
--_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));
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
._main_1ffqsnd_62 {
|
|
452
452
|
--_rs-button-background-final:var(
|
|
453
453
|
--_rs-button-background-from-state-active-focus-visible-no-hover,
|
|
454
454
|
var(
|
|
@@ -529,19 +529,19 @@
|
|
|
529
529
|
-moz-column-gap:var(--_rs-button-icon-offset);
|
|
530
530
|
column-gap:var(--_rs-button-icon-offset);
|
|
531
531
|
}
|
|
532
|
-
.
|
|
533
|
-
.
|
|
534
|
-
.
|
|
532
|
+
._main_1ffqsnd_62:hover,
|
|
533
|
+
._main_1ffqsnd_62:focus,
|
|
534
|
+
._main_1ffqsnd_62:active{
|
|
535
535
|
outline:none;
|
|
536
536
|
|
|
537
537
|
text-decoration:none;
|
|
538
538
|
}
|
|
539
|
-
.
|
|
539
|
+
._main_1ffqsnd_62:focus{
|
|
540
540
|
color:var(--_rs-button-color);
|
|
541
541
|
background:var(--_rs-button-background-final);
|
|
542
542
|
}
|
|
543
543
|
@media (hover: hover){
|
|
544
|
-
.
|
|
544
|
+
._main_1ffqsnd_62:hover{
|
|
545
545
|
--_rs-button-border-inner-color:rgba(
|
|
546
546
|
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),
|
|
547
547
|
calc(0.3 + var(--_rs-theme-dark-coefficient, 0)*0.1)
|
|
@@ -549,24 +549,24 @@
|
|
|
549
549
|
--_rs-button-background-from-state-hover:var(--_rs-button-hover-background);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
.
|
|
552
|
+
._main_1ffqsnd_62:active{
|
|
553
553
|
--_rs-button-border-inner-width:2px;
|
|
554
554
|
--_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));
|
|
555
555
|
--_rs-button-background-from-state-active:var(
|
|
556
556
|
--_rs-button-active-background
|
|
557
557
|
);
|
|
558
558
|
}
|
|
559
|
-
.
|
|
559
|
+
._main_1ffqsnd_62:focus[data-focus-method='key']{
|
|
560
560
|
--_rs-button-box-shadow-from-state-focus-visible:var(
|
|
561
561
|
--_rs-color-primary-t-dim
|
|
562
562
|
) 0 0 0 4px;
|
|
563
563
|
}
|
|
564
|
-
.
|
|
564
|
+
._main_1ffqsnd_62:active:not(:hover):focus[data-focus-method='key']{
|
|
565
565
|
--_rs-button-background-from-state-active-focus-visible-no-hover:var(
|
|
566
566
|
--_rs-button-active-focus-visible-no-hover-background
|
|
567
567
|
);
|
|
568
568
|
}
|
|
569
|
-
.
|
|
569
|
+
._main_1ffqsnd_62._disabled_1ffqsnd_139{
|
|
570
570
|
--_rs-button-border-inner-color:rgba(
|
|
571
571
|
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),
|
|
572
572
|
0.2
|
|
@@ -575,26 +575,26 @@
|
|
|
575
575
|
color:var(--_rs-button-disabled-color);
|
|
576
576
|
background:var(--_rs-button-disabled-background);
|
|
577
577
|
}
|
|
578
|
-
.
|
|
578
|
+
._main_1ffqsnd_62._busy_1ffqsnd_149{
|
|
579
579
|
pointer-events:none;
|
|
580
580
|
}
|
|
581
|
-
.
|
|
581
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153{
|
|
582
582
|
display:inline-flex;
|
|
583
583
|
justify-content:center;
|
|
584
584
|
align-items:center;
|
|
585
585
|
}
|
|
586
|
-
.
|
|
587
|
-
.
|
|
588
|
-
.
|
|
589
|
-
.
|
|
590
|
-
.
|
|
586
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153,
|
|
587
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153:hover,
|
|
588
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153:active,
|
|
589
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153._disabled_1ffqsnd_139,
|
|
590
|
+
._main_1ffqsnd_62._busyOverlay_1ffqsnd_153:focus{
|
|
591
591
|
-webkit-user-select:none;
|
|
592
592
|
-moz-user-select:none;
|
|
593
593
|
user-select:none;
|
|
594
594
|
|
|
595
595
|
color:transparent;
|
|
596
596
|
}
|
|
597
|
-
.
|
|
597
|
+
._main_1ffqsnd_62::before{
|
|
598
598
|
position:absolute;
|
|
599
599
|
top:0;
|
|
600
600
|
right:0;
|
|
@@ -611,7 +611,7 @@
|
|
|
611
611
|
|
|
612
612
|
transition:border-color 100ms var(--rs-transition-function, ease);
|
|
613
613
|
}
|
|
614
|
-
.
|
|
614
|
+
._main_1ffqsnd_62 ._icon_1ffqsnd_188{
|
|
615
615
|
flex:0 0 auto;
|
|
616
616
|
|
|
617
617
|
width:auto;
|
|
@@ -620,38 +620,38 @@
|
|
|
620
620
|
margin:0;
|
|
621
621
|
fill:currentColor;
|
|
622
622
|
}
|
|
623
|
-
.
|
|
623
|
+
._disabled_1ffqsnd_139{
|
|
624
624
|
pointer-events:none;
|
|
625
625
|
}
|
|
626
|
-
.
|
|
626
|
+
._allowMultiline_1ffqsnd_203{
|
|
627
627
|
white-space:normal;
|
|
628
628
|
}
|
|
629
|
-
.
|
|
629
|
+
._content_1ffqsnd_207{
|
|
630
630
|
flex:var(--_rs-button-content-grow) 1 auto;
|
|
631
631
|
|
|
632
632
|
min-width:0;
|
|
633
633
|
}
|
|
634
|
-
.
|
|
634
|
+
._multiline_1ffqsnd_213{
|
|
635
635
|
border-radius:var(--_rs-button-multiline-border-radius);
|
|
636
636
|
}
|
|
637
|
-
.
|
|
637
|
+
._withoutText_1ffqsnd_217{
|
|
638
638
|
--_rs-button-horizontal-real-padding:var(--_rs-button-icon-only-padding);
|
|
639
639
|
--_rs-button-vertical-real-padding:var(--_rs-button-icon-only-padding);
|
|
640
640
|
}
|
|
641
|
-
.
|
|
641
|
+
._busyIcon_1ffqsnd_222{
|
|
642
642
|
position:absolute;
|
|
643
643
|
top:50%;
|
|
644
644
|
left:50%;
|
|
645
645
|
|
|
646
646
|
transform:translate(-50%, -50%);
|
|
647
647
|
}
|
|
648
|
-
.
|
|
648
|
+
._main_1ffqsnd_62 ._busyIcon_1ffqsnd_222{
|
|
649
649
|
color:var(--_rs-button-color);
|
|
650
650
|
}
|
|
651
|
-
.
|
|
651
|
+
._main_1ffqsnd_62._disabled_1ffqsnd_139 ._busyIcon_1ffqsnd_222{
|
|
652
652
|
color:var(--_rs-button-disabled-color);
|
|
653
653
|
}
|
|
654
|
-
.
|
|
654
|
+
._content_1ffqsnd_207{
|
|
655
655
|
letter-spacing:var(
|
|
656
656
|
--rs-text-base-letter-spacing,
|
|
657
657
|
var(--_rs-typography-letter-spacing)
|
|
@@ -664,15 +664,15 @@
|
|
|
664
664
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
665
665
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
666
666
|
}
|
|
667
|
-
.
|
|
667
|
+
._shiftedLeft_1ffqsnd_243{
|
|
668
668
|
margin-left:calc(var(--_rs-button-horizontal-real-padding)*-1);
|
|
669
669
|
}
|
|
670
|
-
.
|
|
670
|
+
._shiftedRight_1ffqsnd_246{
|
|
671
671
|
margin-right:calc(var(--_rs-button-horizontal-real-padding)*-1);
|
|
672
672
|
}
|
|
673
|
-
.
|
|
673
|
+
._shiftedTop_1ffqsnd_249{
|
|
674
674
|
margin-top:calc(var(--_rs-button-vertical-real-padding)*-1);
|
|
675
675
|
}
|
|
676
|
-
.
|
|
676
|
+
._shiftedBottom_1ffqsnd_252{
|
|
677
677
|
margin-bottom:calc(var(--_rs-button-vertical-real-padding)*-1);
|
|
678
678
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/button",
|
|
3
|
-
"version": "0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-
|
|
3
|
+
"version": "0.24.5-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.40+ccd086200",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
20
|
-
"@rescui/use-resize-observer": "0.3.4-RUI-297-Add-react-compiler-to-the-packages-build-
|
|
20
|
+
"@rescui/use-resize-observer": "0.3.4-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.40+ccd086200",
|
|
21
21
|
"classnames": "^2.2.6",
|
|
22
22
|
"react-compiler-runtime": "^1.0.0"
|
|
23
23
|
},
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react": ">=17.0.0 <20"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rescui/colors": "0.3.3-RUI-297-Add-react-compiler-to-the-packages-build-
|
|
31
|
-
"@rescui/icons": "1.8.3-RUI-297-Add-react-compiler-to-the-packages-build-
|
|
30
|
+
"@rescui/colors": "0.3.3-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.44+ccd086200",
|
|
31
|
+
"@rescui/icons": "1.8.3-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.44+ccd086200",
|
|
32
32
|
"@rescui/scripts": "0.5.2",
|
|
33
|
-
"@rescui/typography": "0.27.3-RUI-297-Add-react-compiler-to-the-packages-build-
|
|
33
|
+
"@rescui/typography": "0.27.3-RUI-297-Add-react-compiler-to-the-packages-build-ccd086200.44+ccd086200",
|
|
34
34
|
"@rescui/visual-regression": "0.1.4",
|
|
35
35
|
"@types/classnames": "^2.2.11"
|
|
36
36
|
},
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
40
40
|
},
|
|
41
41
|
"nx": {},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "ccd086200b5a9c5b2e9dfbc0040eb159e5b041d2"
|
|
43
43
|
}
|