@rescui/button 0.15.5 → 0.15.6-test-canary-release.0
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/button.p.module.css.js +29 -29
- package/lib/index.css +57 -57
- package/package.json +7 -7
|
@@ -1,32 +1,32 @@
|
|
|
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
|
-
"alignIconRight": "
|
|
17
|
-
"main": "
|
|
18
|
-
"disabled": "
|
|
19
|
-
"busy": "
|
|
20
|
-
"busyOverlay": "
|
|
21
|
-
"allowMultiline": "
|
|
22
|
-
"multiline": "
|
|
23
|
-
"withoutText": "
|
|
24
|
-
"withIcon": "
|
|
25
|
-
"icon": "
|
|
26
|
-
"busyIcon": "
|
|
27
|
-
"shiftedLeft": "
|
|
28
|
-
"shiftedRight": "
|
|
29
|
-
"shiftedTop": "
|
|
30
|
-
"shiftedBottom": "
|
|
2
|
+
"light": "_light_k3tz36_6",
|
|
3
|
+
"dark": "_dark_k3tz36_9",
|
|
4
|
+
"flatRight": "_flatRight_k3tz36_13",
|
|
5
|
+
"flatLeft": "_flatLeft_k3tz36_16",
|
|
6
|
+
"sizeXs": "_sizeXs_k3tz36_20",
|
|
7
|
+
"sizeS": "_sizeS_k3tz36_23",
|
|
8
|
+
"sizeM": "_sizeM_k3tz36_26",
|
|
9
|
+
"sizeL": "_sizeL_k3tz36_29",
|
|
10
|
+
"modeClassic": "_modeClassic_k3tz36_33",
|
|
11
|
+
"modeRock": "_modeRock_k3tz36_36",
|
|
12
|
+
"modeTransparent": "_modeTransparent_k3tz36_39",
|
|
13
|
+
"modeOutline": "_modeOutline_k3tz36_42",
|
|
14
|
+
"modeClear": "_modeClear_k3tz36_45",
|
|
15
|
+
"alignIconLeft": "_alignIconLeft_k3tz36_49",
|
|
16
|
+
"alignIconRight": "_alignIconRight_k3tz36_52",
|
|
17
|
+
"main": "_main_k3tz36_56",
|
|
18
|
+
"disabled": "_disabled_k3tz36_132",
|
|
19
|
+
"busy": "_busy_k3tz36_142",
|
|
20
|
+
"busyOverlay": "_busyOverlay_k3tz36_146",
|
|
21
|
+
"allowMultiline": "_allowMultiline_k3tz36_186",
|
|
22
|
+
"multiline": "_multiline_k3tz36_190",
|
|
23
|
+
"withoutText": "_withoutText_k3tz36_194",
|
|
24
|
+
"withIcon": "_withIcon_k3tz36_202",
|
|
25
|
+
"icon": "_icon_k3tz36_208",
|
|
26
|
+
"busyIcon": "_busyIcon_k3tz36_222",
|
|
27
|
+
"shiftedLeft": "_shiftedLeft_k3tz36_239",
|
|
28
|
+
"shiftedRight": "_shiftedRight_k3tz36_242",
|
|
29
|
+
"shiftedTop": "_shiftedTop_k3tz36_245",
|
|
30
|
+
"shiftedBottom": "_shiftedBottom_k3tz36_248"
|
|
31
31
|
};
|
|
32
32
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.
|
|
1
|
+
._light_k3tz36_6{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._dark_k3tz36_9{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._flatRight_k3tz36_13{
|
|
8
8
|
--_rs-button-top-right-border-radius-or-initial:0px;
|
|
9
9
|
--_rs-button-bottom-right-border-radius-or-initial:0px;
|
|
10
10
|
--_rs-button-top-right-multiline-border-radius-or-initial:0px;
|
|
11
11
|
--_rs-button-bottom-right-multiline-border-radius-or-initial:0px;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
._flatLeft_k3tz36_16{
|
|
14
14
|
--_rs-button-top-left-border-radius-or-initial:0px;
|
|
15
15
|
--_rs-button-bottom-left-border-radius-or-initial:0px;
|
|
16
16
|
--_rs-button-top-left-multiline-border-radius-or-initial:0px;
|
|
17
17
|
--_rs-button-bottom-left-multiline-border-radius-or-initial:0px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._sizeXs_k3tz36_20{
|
|
20
20
|
--_rs-typography-letter-spacing:0.0045em;
|
|
21
21
|
--_rs-typography-text-transform:initial;
|
|
22
22
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
--_rs-button-icon-offset:8px;
|
|
64
64
|
--_rs-button-icon-margin-top:2px;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._sizeS_k3tz36_23{
|
|
67
67
|
--_rs-typography-letter-spacing:0.0045em;
|
|
68
68
|
--_rs-typography-text-transform:initial;
|
|
69
69
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
--_rs-button-icon-offset:8px;
|
|
111
111
|
--_rs-button-icon-margin-top:0px;
|
|
112
112
|
}
|
|
113
|
-
.
|
|
113
|
+
._sizeM_k3tz36_26{
|
|
114
114
|
--_rs-typography-letter-spacing:0.0015em;
|
|
115
115
|
--_rs-typography-text-transform:initial;
|
|
116
116
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -145,11 +145,11 @@
|
|
|
145
145
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
146
146
|
}
|
|
147
147
|
@media screen and (max-width: 640px){
|
|
148
|
-
.
|
|
148
|
+
._sizeM_k3tz36_26{
|
|
149
149
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._sizeM_k3tz36_26 {
|
|
153
153
|
--_rs-button-border-radius-base:var(
|
|
154
154
|
--rs-button-m-border-radius,
|
|
155
155
|
var(--rs-button-border-radius, 20px)
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
--_rs-button-icon-offset:8px;
|
|
165
165
|
--_rs-button-icon-margin-top:0px;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
._sizeL_k3tz36_29{
|
|
168
168
|
--_rs-typography-letter-spacing:normal;
|
|
169
169
|
--_rs-typography-text-transform:initial;
|
|
170
170
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -199,11 +199,11 @@
|
|
|
199
199
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
200
200
|
}
|
|
201
201
|
@media screen and (max-width: 640px){
|
|
202
|
-
.
|
|
202
|
+
._sizeL_k3tz36_29{
|
|
203
203
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
._sizeL_k3tz36_29 {
|
|
207
207
|
--_rs-button-border-radius-base:var(
|
|
208
208
|
--rs-button-l-border-radius,
|
|
209
209
|
var(--rs-button-border-radius, 26px)
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
--_rs-button-icon-offset:16px;
|
|
219
219
|
--_rs-button-icon-margin-top:0px;
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
._modeClassic_k3tz36_33{
|
|
222
222
|
--_rs-button-inner-border-display:none;
|
|
223
223
|
--_rs-button-color:#FFFFFF;
|
|
224
224
|
--_rs-button-background:var(--_rs-color-primary);
|
|
@@ -230,7 +230,7 @@
|
|
|
230
230
|
--_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);
|
|
231
231
|
--_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);
|
|
232
232
|
}
|
|
233
|
-
.
|
|
233
|
+
._modeRock_k3tz36_36{
|
|
234
234
|
--_rs-button-inner-border-display:none;
|
|
235
235
|
--_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));
|
|
236
236
|
--_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));
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
--_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);
|
|
244
244
|
--_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);
|
|
245
245
|
}
|
|
246
|
-
.
|
|
246
|
+
._modeTransparent_k3tz36_39{
|
|
247
247
|
--_rs-button-inner-border-display:none;
|
|
248
248
|
--_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));
|
|
249
249
|
--_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);
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
--_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);
|
|
256
256
|
--_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);
|
|
257
257
|
}
|
|
258
|
-
.
|
|
258
|
+
._modeOutline_k3tz36_42{
|
|
259
259
|
--_rs-button-inner-border-display:block;
|
|
260
260
|
--_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));
|
|
261
261
|
--_rs-button-background:transparent;
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
--_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);
|
|
268
268
|
--_rs-button-disabled-background:transparent;
|
|
269
269
|
}
|
|
270
|
-
.
|
|
270
|
+
._modeClear_k3tz36_45{
|
|
271
271
|
--_rs-button-inner-border-display:none;
|
|
272
272
|
--_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));
|
|
273
273
|
--_rs-button-background:transparent;
|
|
@@ -279,17 +279,17 @@
|
|
|
279
279
|
--_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);
|
|
280
280
|
--_rs-button-disabled-background:transparent;
|
|
281
281
|
}
|
|
282
|
-
.
|
|
282
|
+
._alignIconLeft_k3tz36_49{
|
|
283
283
|
--_rs-button-icon-flex-direction:row;
|
|
284
284
|
--_rs-button-icon-position-multiplier-left:1;
|
|
285
285
|
--_rs-button-icon-position-multiplier-right:0;
|
|
286
286
|
}
|
|
287
|
-
.
|
|
287
|
+
._alignIconRight_k3tz36_52{
|
|
288
288
|
--_rs-button-icon-flex-direction:row-reverse;
|
|
289
289
|
--_rs-button-icon-position-multiplier-left:0;
|
|
290
290
|
--_rs-button-icon-position-multiplier-right:1;
|
|
291
291
|
}
|
|
292
|
-
.
|
|
292
|
+
._main_k3tz36_56{
|
|
293
293
|
--_rs-theme-dark:var(
|
|
294
294
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
295
295
|
var(--rs-theme-dark, 0)
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
300
300
|
}
|
|
301
301
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
302
|
-
.
|
|
302
|
+
._main_k3tz36_56{
|
|
303
303
|
--_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)));
|
|
304
304
|
--_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)));
|
|
305
305
|
--_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)));
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
311
|
-
.
|
|
311
|
+
._main_k3tz36_56{
|
|
312
312
|
--_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);
|
|
313
313
|
--_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));
|
|
314
314
|
--_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));
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
--_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));
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
._main_k3tz36_56 {
|
|
320
320
|
--_rs-button-border-radius:var(
|
|
321
321
|
--_rs-button-top-left-border-radius-or-initial,
|
|
322
322
|
var(--_rs-button-border-radius-base)
|
|
@@ -358,11 +358,11 @@
|
|
|
358
358
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
359
359
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
360
360
|
}
|
|
361
|
-
.
|
|
362
|
-
.
|
|
361
|
+
._main_k3tz36_56 > p:not(:nth-child(1)),
|
|
362
|
+
._main_k3tz36_56 > pre:not(:nth-child(1)){
|
|
363
363
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
364
364
|
}
|
|
365
|
-
.
|
|
365
|
+
._main_k3tz36_56 {
|
|
366
366
|
|
|
367
367
|
--_rs-button-border-inner-width:1px;
|
|
368
368
|
--_rs-button-border-inner-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.3);
|
|
@@ -396,19 +396,19 @@
|
|
|
396
396
|
|
|
397
397
|
transition:color 100ms, background-color 100ms;
|
|
398
398
|
}
|
|
399
|
-
.
|
|
400
|
-
.
|
|
401
|
-
.
|
|
399
|
+
._main_k3tz36_56:hover,
|
|
400
|
+
._main_k3tz36_56:focus,
|
|
401
|
+
._main_k3tz36_56:active{
|
|
402
402
|
outline:none;
|
|
403
403
|
|
|
404
404
|
text-decoration:none;
|
|
405
405
|
}
|
|
406
|
-
.
|
|
406
|
+
._main_k3tz36_56:focus{
|
|
407
407
|
color:var(--_rs-button-color);
|
|
408
408
|
background:var(--_rs-button-background);
|
|
409
409
|
}
|
|
410
410
|
@media (hover: hover){
|
|
411
|
-
.
|
|
411
|
+
._main_k3tz36_56:hover{
|
|
412
412
|
--_rs-button-border-inner-color:rgba(
|
|
413
413
|
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),
|
|
414
414
|
calc(0.3 + var(--_rs-theme-dark-coefficient, 0)*0.1)
|
|
@@ -418,21 +418,21 @@
|
|
|
418
418
|
background:var(--_rs-button-hover-background);
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
|
-
.
|
|
421
|
+
._main_k3tz36_56:active{
|
|
422
422
|
--_rs-button-border-inner-width:2px;
|
|
423
423
|
--_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));
|
|
424
424
|
|
|
425
425
|
color:var(--_rs-button-color);
|
|
426
426
|
background:var(--_rs-button-active-background);
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
._main_k3tz36_56:focus[data-focus-method='key']{
|
|
429
429
|
-webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
430
430
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
431
431
|
}
|
|
432
|
-
.
|
|
432
|
+
._main_k3tz36_56:active:not(:hover):focus[data-focus-method='key']{
|
|
433
433
|
background:var(--_rs-button-active-focus-visible-no-hover-background);
|
|
434
434
|
}
|
|
435
|
-
.
|
|
435
|
+
._main_k3tz36_56._disabled_k3tz36_132{
|
|
436
436
|
--_rs-button-border-inner-color:rgba(
|
|
437
437
|
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),
|
|
438
438
|
0.2
|
|
@@ -441,10 +441,10 @@
|
|
|
441
441
|
color:var(--_rs-button-disabled-color);
|
|
442
442
|
background:var(--_rs-button-disabled-background);
|
|
443
443
|
}
|
|
444
|
-
.
|
|
444
|
+
._main_k3tz36_56._busy_k3tz36_142{
|
|
445
445
|
pointer-events:none;
|
|
446
446
|
}
|
|
447
|
-
.
|
|
447
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146{
|
|
448
448
|
display:-webkit-inline-box;
|
|
449
449
|
display:-ms-inline-flexbox;
|
|
450
450
|
display:inline-flex;
|
|
@@ -455,11 +455,11 @@
|
|
|
455
455
|
-ms-flex-align:center;
|
|
456
456
|
align-items:center;
|
|
457
457
|
}
|
|
458
|
-
.
|
|
459
|
-
.
|
|
460
|
-
.
|
|
461
|
-
.
|
|
462
|
-
.
|
|
458
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146,
|
|
459
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146:hover,
|
|
460
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146:active,
|
|
461
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146._disabled_k3tz36_132,
|
|
462
|
+
._main_k3tz36_56._busyOverlay_k3tz36_146:focus{
|
|
463
463
|
-webkit-user-select:none;
|
|
464
464
|
-moz-user-select:none;
|
|
465
465
|
-ms-user-select:none;
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
|
|
468
468
|
color:transparent;
|
|
469
469
|
}
|
|
470
|
-
.
|
|
470
|
+
._main_k3tz36_56::before{
|
|
471
471
|
position:absolute;
|
|
472
472
|
top:0;
|
|
473
473
|
right:0;
|
|
@@ -486,16 +486,16 @@
|
|
|
486
486
|
|
|
487
487
|
transition:border-color 100ms;
|
|
488
488
|
}
|
|
489
|
-
.
|
|
489
|
+
._disabled_k3tz36_132{
|
|
490
490
|
pointer-events:none;
|
|
491
491
|
}
|
|
492
|
-
.
|
|
492
|
+
._allowMultiline_k3tz36_186{
|
|
493
493
|
white-space:normal;
|
|
494
494
|
}
|
|
495
|
-
.
|
|
495
|
+
._multiline_k3tz36_190{
|
|
496
496
|
border-radius:var(--_rs-button-multiline-border-radius);
|
|
497
497
|
}
|
|
498
|
-
.
|
|
498
|
+
._withoutText_k3tz36_194{
|
|
499
499
|
display:-webkit-inline-box;
|
|
500
500
|
display:-ms-inline-flexbox;
|
|
501
501
|
display:inline-flex;
|
|
@@ -508,7 +508,7 @@
|
|
|
508
508
|
|
|
509
509
|
padding:var(--_rs-button-vertical-padding);
|
|
510
510
|
}
|
|
511
|
-
.
|
|
511
|
+
._withIcon_k3tz36_202{
|
|
512
512
|
display:-webkit-inline-box;
|
|
513
513
|
display:-ms-inline-flexbox;
|
|
514
514
|
display:inline-flex;
|
|
@@ -523,17 +523,17 @@
|
|
|
523
523
|
-ms-flex-align:center;
|
|
524
524
|
align-items:center;
|
|
525
525
|
}
|
|
526
|
-
.
|
|
526
|
+
._withIcon_k3tz36_202 ._icon_k3tz36_208{
|
|
527
527
|
width:auto;
|
|
528
528
|
height:var(--_rs-button-icon-size);
|
|
529
529
|
|
|
530
530
|
margin:var(--_rs-button-icon-margin-top) var(--_rs-button-icon-margin-right) 0 var(--_rs-button-icon-margin-left);
|
|
531
531
|
fill:currentColor;
|
|
532
532
|
}
|
|
533
|
-
.
|
|
533
|
+
._withIcon_k3tz36_202._withoutText_k3tz36_194 ._icon_k3tz36_208{
|
|
534
534
|
margin:0;
|
|
535
535
|
}
|
|
536
|
-
.
|
|
536
|
+
._busyIcon_k3tz36_222{
|
|
537
537
|
position:absolute;
|
|
538
538
|
top:50%;
|
|
539
539
|
left:50%;
|
|
@@ -542,21 +542,21 @@
|
|
|
542
542
|
|
|
543
543
|
transform:translate(-50%, -50%);
|
|
544
544
|
}
|
|
545
|
-
.
|
|
545
|
+
._main_k3tz36_56 ._busyIcon_k3tz36_222{
|
|
546
546
|
color:var(--_rs-button-color);
|
|
547
547
|
}
|
|
548
|
-
.
|
|
548
|
+
._main_k3tz36_56._disabled_k3tz36_132 ._busyIcon_k3tz36_222{
|
|
549
549
|
color:var(--_rs-button-disabled-color);
|
|
550
550
|
}
|
|
551
|
-
.
|
|
551
|
+
._shiftedLeft_k3tz36_239{
|
|
552
552
|
margin-left:calc(var(--_rs-button-horizontal-padding)*-1);
|
|
553
553
|
}
|
|
554
|
-
.
|
|
554
|
+
._shiftedRight_k3tz36_242{
|
|
555
555
|
margin-right:calc(var(--_rs-button-horizontal-padding)*-1);
|
|
556
556
|
}
|
|
557
|
-
.
|
|
557
|
+
._shiftedTop_k3tz36_245{
|
|
558
558
|
margin-top:calc(var(--_rs-button-vertical-padding)*-1);
|
|
559
559
|
}
|
|
560
|
-
.
|
|
560
|
+
._shiftedBottom_k3tz36_248{
|
|
561
561
|
margin-bottom:calc(var(--_rs-button-vertical-padding)*-1);
|
|
562
562
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/button",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.6-test-canary-release.0+a2e1fabd",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/icons": "
|
|
19
|
-
"@rescui/use-resize-observer": "
|
|
18
|
+
"@rescui/icons": "0.16.3-test-canary-release.0+a2e1fabd",
|
|
19
|
+
"@rescui/use-resize-observer": "0.2.1-test-canary-release.22+a2e1fabd",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
22
22
|
},
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"react": ">=16.8.0 <19"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "
|
|
30
|
-
"@rescui/scripts": "
|
|
31
|
-
"@rescui/typography": "
|
|
32
|
-
"@rescui/visual-regression": "
|
|
29
|
+
"@rescui/colors": "0.2.1-test-canary-release.22+a2e1fabd",
|
|
30
|
+
"@rescui/scripts": "0.3.0",
|
|
31
|
+
"@rescui/typography": "0.16.3-test-canary-release.0+a2e1fabd",
|
|
32
|
+
"@rescui/visual-regression": "0.1.1",
|
|
33
33
|
"@types/classnames": "^2.2.11"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|