@rescui/button 0.15.0 → 0.15.1
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 +59 -59
- package/package.json +5 -5
|
@@ -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_19iheuo_6",
|
|
3
|
+
"dark": "_dark_19iheuo_9",
|
|
4
|
+
"flatRight": "_flatRight_19iheuo_13",
|
|
5
|
+
"flatLeft": "_flatLeft_19iheuo_16",
|
|
6
|
+
"sizeXs": "_sizeXs_19iheuo_20",
|
|
7
|
+
"sizeS": "_sizeS_19iheuo_23",
|
|
8
|
+
"sizeM": "_sizeM_19iheuo_26",
|
|
9
|
+
"sizeL": "_sizeL_19iheuo_29",
|
|
10
|
+
"modeClassic": "_modeClassic_19iheuo_33",
|
|
11
|
+
"modeRock": "_modeRock_19iheuo_36",
|
|
12
|
+
"modeTransparent": "_modeTransparent_19iheuo_39",
|
|
13
|
+
"modeOutline": "_modeOutline_19iheuo_42",
|
|
14
|
+
"modeClear": "_modeClear_19iheuo_45",
|
|
15
|
+
"alignIconLeft": "_alignIconLeft_19iheuo_49",
|
|
16
|
+
"alignIconRight": "_alignIconRight_19iheuo_52",
|
|
17
|
+
"main": "_main_19iheuo_56",
|
|
18
|
+
"disabled": "_disabled_19iheuo_141",
|
|
19
|
+
"busy": "_busy_19iheuo_148",
|
|
20
|
+
"busyOverlay": "_busyOverlay_19iheuo_152",
|
|
21
|
+
"allowMultiline": "_allowMultiline_19iheuo_173",
|
|
22
|
+
"multiline": "_multiline_19iheuo_177",
|
|
23
|
+
"withoutText": "_withoutText_19iheuo_181",
|
|
24
|
+
"withIcon": "_withIcon_19iheuo_197",
|
|
25
|
+
"icon": "_icon_19iheuo_203",
|
|
26
|
+
"busyIcon": "_busyIcon_19iheuo_217",
|
|
27
|
+
"shiftedLeft": "_shiftedLeft_19iheuo_234",
|
|
28
|
+
"shiftedRight": "_shiftedRight_19iheuo_237",
|
|
29
|
+
"shiftedTop": "_shiftedTop_19iheuo_240",
|
|
30
|
+
"shiftedBottom": "_shiftedBottom_19iheuo_243"
|
|
31
31
|
};
|
|
32
32
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
.
|
|
1
|
+
._light_19iheuo_6{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._dark_19iheuo_9{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._flatRight_19iheuo_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_19iheuo_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_19iheuo_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_19iheuo_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_19iheuo_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_19iheuo_26{
|
|
149
149
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._sizeM_19iheuo_26 {
|
|
153
153
|
--_rs-button-border-radius-base:var(
|
|
154
154
|
--rs-button-m-border-radius,
|
|
155
155
|
var(--rs-button-border-radius, 24px)
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
--_rs-button-icon-offset:8px;
|
|
165
165
|
--_rs-button-icon-margin-top:0px;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
._sizeL_19iheuo_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_19iheuo_29{
|
|
203
203
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
.
|
|
206
|
+
._sizeL_19iheuo_29 {
|
|
207
207
|
--_rs-button-border-radius-base:var(
|
|
208
208
|
--rs-button-l-border-radius,
|
|
209
209
|
var(--rs-button-border-radius, 36px)
|
|
@@ -218,7 +218,7 @@
|
|
|
218
218
|
--_rs-button-icon-offset:16px;
|
|
219
219
|
--_rs-button-icon-margin-top:0px;
|
|
220
220
|
}
|
|
221
|
-
.
|
|
221
|
+
._modeClassic_19iheuo_33{
|
|
222
222
|
--_rs-button-border-width:0px;
|
|
223
223
|
--_rs-button-active-border-width:0px;
|
|
224
224
|
--_rs-button-color:#FFFFFF;
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
--_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);
|
|
230
230
|
--_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);
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
._modeRock_19iheuo_36{
|
|
233
233
|
--_rs-button-border-width:0px;
|
|
234
234
|
--_rs-button-active-border-width:0px;
|
|
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));
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
--_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);
|
|
241
241
|
--_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);
|
|
242
242
|
}
|
|
243
|
-
.
|
|
243
|
+
._modeTransparent_19iheuo_39{
|
|
244
244
|
--_rs-button-border-width:0px;
|
|
245
245
|
--_rs-button-active-border-width:0px;
|
|
246
246
|
--_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));
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
--_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);
|
|
252
252
|
--_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);
|
|
253
253
|
}
|
|
254
|
-
.
|
|
254
|
+
._modeOutline_19iheuo_42{
|
|
255
255
|
--_rs-button-border-width:1px;
|
|
256
256
|
--_rs-button-active-border-width:2px;
|
|
257
257
|
--_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));
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
--_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);
|
|
263
263
|
--_rs-button-disabled-background:transparent;
|
|
264
264
|
}
|
|
265
|
-
.
|
|
265
|
+
._modeClear_19iheuo_45{
|
|
266
266
|
--_rs-button-border-width:0px;
|
|
267
267
|
--_rs-button-active-border-width:0px;
|
|
268
268
|
--_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,17 +273,17 @@
|
|
|
273
273
|
--_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);
|
|
274
274
|
--_rs-button-disabled-background:transparent;
|
|
275
275
|
}
|
|
276
|
-
.
|
|
276
|
+
._alignIconLeft_19iheuo_49{
|
|
277
277
|
--_rs-button-icon-flex-direction:row;
|
|
278
278
|
--_rs-button-icon-position-multiplier-left:1;
|
|
279
279
|
--_rs-button-icon-position-multiplier-right:0;
|
|
280
280
|
}
|
|
281
|
-
.
|
|
281
|
+
._alignIconRight_19iheuo_52{
|
|
282
282
|
--_rs-button-icon-flex-direction:row-reverse;
|
|
283
283
|
--_rs-button-icon-position-multiplier-left:0;
|
|
284
284
|
--_rs-button-icon-position-multiplier-right:1;
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
._main_19iheuo_56{
|
|
287
287
|
--_rs-theme-dark:var(
|
|
288
288
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
289
289
|
var(--rs-theme-dark, 0)
|
|
@@ -293,7 +293,7 @@
|
|
|
293
293
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
294
294
|
}
|
|
295
295
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
296
|
-
.
|
|
296
|
+
._main_19iheuo_56{
|
|
297
297
|
--_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)));
|
|
298
298
|
--_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)));
|
|
299
299
|
--_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)));
|
|
@@ -302,7 +302,7 @@
|
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
305
|
-
.
|
|
305
|
+
._main_19iheuo_56{
|
|
306
306
|
--_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);
|
|
307
307
|
--_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));
|
|
308
308
|
--_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));
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
--_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));
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
._main_19iheuo_56 {
|
|
314
314
|
--_rs-button-border-radius:var(
|
|
315
315
|
--_rs-button-top-left-border-radius-or-initial,
|
|
316
316
|
var(--_rs-button-border-radius-base)
|
|
@@ -352,11 +352,11 @@
|
|
|
352
352
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
353
353
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
354
354
|
}
|
|
355
|
-
.
|
|
356
|
-
.
|
|
355
|
+
._main_19iheuo_56 > p:not(:nth-child(1)),
|
|
356
|
+
._main_19iheuo_56 > pre:not(:nth-child(1)){
|
|
357
357
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
358
358
|
}
|
|
359
|
-
.
|
|
359
|
+
._main_19iheuo_56 {
|
|
360
360
|
|
|
361
361
|
position:relative;
|
|
362
362
|
z-index:1;
|
|
@@ -387,19 +387,19 @@
|
|
|
387
387
|
|
|
388
388
|
transition:color 100ms, background-color 100ms, border-color 100ms;
|
|
389
389
|
}
|
|
390
|
-
.
|
|
391
|
-
.
|
|
392
|
-
.
|
|
390
|
+
._main_19iheuo_56:hover,
|
|
391
|
+
._main_19iheuo_56:focus,
|
|
392
|
+
._main_19iheuo_56:active{
|
|
393
393
|
outline:none;
|
|
394
394
|
|
|
395
395
|
text-decoration:none;
|
|
396
396
|
}
|
|
397
|
-
.
|
|
397
|
+
._main_19iheuo_56:focus{
|
|
398
398
|
color:var(--_rs-button-color);
|
|
399
399
|
background:var(--_rs-button-background);
|
|
400
400
|
}
|
|
401
401
|
@media (hover: hover){
|
|
402
|
-
.
|
|
402
|
+
._main_19iheuo_56:hover{
|
|
403
403
|
border-color:rgba(
|
|
404
404
|
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),
|
|
405
405
|
calc(0.3 + var(--_rs-theme-dark-coefficient, 0)*0.1)
|
|
@@ -409,7 +409,7 @@
|
|
|
409
409
|
background:var(--_rs-button-hover-background);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
._main_19iheuo_56:active{
|
|
413
413
|
padding:calc(var(--_rs-button-vertical-padding) - var(--_rs-button-active-border-width)) calc(var(--_rs-button-horizontal-padding) - var(--_rs-button-active-border-width));
|
|
414
414
|
|
|
415
415
|
border-width:var(--_rs-button-active-border-width);
|
|
@@ -418,23 +418,23 @@
|
|
|
418
418
|
color:var(--_rs-button-color);
|
|
419
419
|
background:var(--_rs-button-active-background);
|
|
420
420
|
}
|
|
421
|
-
.
|
|
421
|
+
._main_19iheuo_56:focus[data-focus-method='key']{
|
|
422
422
|
-webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
423
423
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
424
424
|
}
|
|
425
|
-
.
|
|
425
|
+
._main_19iheuo_56:active:focus:not(:hover)[data-focus-method='key']{
|
|
426
426
|
background:var(--_rs-button-focus-background);
|
|
427
427
|
}
|
|
428
|
-
.
|
|
428
|
+
._main_19iheuo_56._disabled_19iheuo_141{
|
|
429
429
|
border-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.2);
|
|
430
430
|
|
|
431
431
|
color:var(--_rs-button-disabled-color);
|
|
432
432
|
background:var(--_rs-button-disabled-background);
|
|
433
433
|
}
|
|
434
|
-
.
|
|
434
|
+
._main_19iheuo_56._busy_19iheuo_148{
|
|
435
435
|
pointer-events:none;
|
|
436
436
|
}
|
|
437
|
-
.
|
|
437
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152{
|
|
438
438
|
display:-webkit-inline-box;
|
|
439
439
|
display:-ms-inline-flexbox;
|
|
440
440
|
display:inline-flex;
|
|
@@ -445,25 +445,25 @@
|
|
|
445
445
|
-ms-flex-align:center;
|
|
446
446
|
align-items:center;
|
|
447
447
|
}
|
|
448
|
-
.
|
|
449
|
-
.
|
|
450
|
-
.
|
|
451
|
-
.
|
|
452
|
-
.
|
|
453
|
-
.
|
|
454
|
-
.
|
|
448
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._light_19iheuo_6,
|
|
449
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._light_19iheuo_6:hover,
|
|
450
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._light_19iheuo_6._disabled_19iheuo_141,
|
|
451
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._dark_19iheuo_9._disabled_19iheuo_141,
|
|
452
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._dark_19iheuo_9,
|
|
453
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._dark_19iheuo_9:focus,
|
|
454
|
+
._main_19iheuo_56._busyOverlay_19iheuo_152._dark_19iheuo_9:hover{
|
|
455
455
|
color:transparent;
|
|
456
456
|
}
|
|
457
|
-
.
|
|
457
|
+
._disabled_19iheuo_141{
|
|
458
458
|
pointer-events:none;
|
|
459
459
|
}
|
|
460
|
-
.
|
|
460
|
+
._allowMultiline_19iheuo_173{
|
|
461
461
|
white-space:normal;
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._multiline_19iheuo_177{
|
|
464
464
|
border-radius:var(--_rs-button-multiline-border-radius);
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
._withoutText_19iheuo_181{
|
|
467
467
|
display:-webkit-inline-box;
|
|
468
468
|
display:-ms-inline-flexbox;
|
|
469
469
|
display:inline-flex;
|
|
@@ -476,10 +476,10 @@
|
|
|
476
476
|
|
|
477
477
|
padding:calc(var(--_rs-button-vertical-padding) - var(--_rs-button-border-width));
|
|
478
478
|
}
|
|
479
|
-
.
|
|
479
|
+
._withoutText_19iheuo_181:active{
|
|
480
480
|
padding:calc(var(--_rs-button-vertical-padding) - var(--_rs-button-active-border-width));
|
|
481
481
|
}
|
|
482
|
-
.
|
|
482
|
+
._withIcon_19iheuo_197{
|
|
483
483
|
display:-webkit-inline-box;
|
|
484
484
|
display:-ms-inline-flexbox;
|
|
485
485
|
display:inline-flex;
|
|
@@ -494,17 +494,17 @@
|
|
|
494
494
|
-ms-flex-align:center;
|
|
495
495
|
align-items:center;
|
|
496
496
|
}
|
|
497
|
-
.
|
|
497
|
+
._withIcon_19iheuo_197 ._icon_19iheuo_203{
|
|
498
498
|
width:auto;
|
|
499
499
|
height:var(--_rs-button-icon-size);
|
|
500
500
|
|
|
501
501
|
margin:var(--_rs-button-icon-margin-top) var(--_rs-button-icon-margin-right) 0 var(--_rs-button-icon-margin-left);
|
|
502
502
|
fill:currentColor;
|
|
503
503
|
}
|
|
504
|
-
.
|
|
504
|
+
._withIcon_19iheuo_197._withoutText_19iheuo_181 ._icon_19iheuo_203{
|
|
505
505
|
margin:0;
|
|
506
506
|
}
|
|
507
|
-
.
|
|
507
|
+
._busyIcon_19iheuo_217{
|
|
508
508
|
position:absolute;
|
|
509
509
|
top:50%;
|
|
510
510
|
left:50%;
|
|
@@ -513,21 +513,21 @@
|
|
|
513
513
|
|
|
514
514
|
transform:translate(-50%, -50%);
|
|
515
515
|
}
|
|
516
|
-
.
|
|
516
|
+
._main_19iheuo_56 ._busyIcon_19iheuo_217{
|
|
517
517
|
color:var(--_rs-button-color);
|
|
518
518
|
}
|
|
519
|
-
.
|
|
519
|
+
._main_19iheuo_56._disabled_19iheuo_141 ._busyIcon_19iheuo_217{
|
|
520
520
|
color:var(--_rs-button-disabled-color);
|
|
521
521
|
}
|
|
522
|
-
.
|
|
522
|
+
._shiftedLeft_19iheuo_234{
|
|
523
523
|
margin-left:calc(var(--_rs-button-horizontal-padding)*-1);
|
|
524
524
|
}
|
|
525
|
-
.
|
|
525
|
+
._shiftedRight_19iheuo_237{
|
|
526
526
|
margin-right:calc(var(--_rs-button-horizontal-padding)*-1);
|
|
527
527
|
}
|
|
528
|
-
.
|
|
528
|
+
._shiftedTop_19iheuo_240{
|
|
529
529
|
margin-top:calc(var(--_rs-button-vertical-padding)*-1);
|
|
530
530
|
}
|
|
531
|
-
.
|
|
531
|
+
._shiftedBottom_19iheuo_243{
|
|
532
532
|
margin-bottom:calc(var(--_rs-button-vertical-padding)*-1);
|
|
533
533
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/button",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/icons": "^0.16.
|
|
18
|
+
"@rescui/icons": "^0.16.1",
|
|
19
19
|
"@rescui/use-resize-observer": "^0.2.0",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@rescui/ui-contexts": "^0.
|
|
24
|
+
"@rescui/ui-contexts": "^0.5.0",
|
|
25
25
|
"prop-types": "^15.7.2",
|
|
26
26
|
"react": ">=16.8.0 <19"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rescui/colors": "^0.2.0",
|
|
30
30
|
"@rescui/scripts": "^0.3.0",
|
|
31
|
-
"@rescui/typography": "^0.16.
|
|
31
|
+
"@rescui/typography": "^0.16.1",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.1",
|
|
33
33
|
"@types/classnames": "^2.2.11"
|
|
34
34
|
},
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
37
37
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "6457f4265a1a30050b9f4cc1f0dd808c005d1ca0"
|
|
40
40
|
}
|