@rescui/tag 0.10.16 → 0.10.17
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,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_afka1x_4",
|
|
3
|
+
"sizeXS": "_sizeXS_afka1x_14",
|
|
4
|
+
"sizeS": "_sizeS_afka1x_18",
|
|
5
|
+
"sizeM": "_sizeM_afka1x_22",
|
|
6
|
+
"sizeL": "_sizeL_afka1x_26",
|
|
7
|
+
"light": "_light_afka1x_30",
|
|
8
|
+
"dark": "_dark_afka1x_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_afka1x_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
|
-
.
|
|
11
|
+
._icon_afka1x_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
|
-
.
|
|
20
|
+
._icon_afka1x_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
|
-
.
|
|
28
|
+
._icon_afka1x_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:auto;
|
|
33
33
|
height:var(--_rs-icons-height);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_afka1x_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_afka1x_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_afka1x_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_afka1x_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_afka1x_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
|
-
.
|
|
51
|
+
._dark_afka1x_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,19 +60,19 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._alignIconLeft_1mtt76v_7{
|
|
64
64
|
--_rs-tag-flex-direction:row;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._alignIconRight_1mtt76v_10{
|
|
67
67
|
--_rs-tag-flex-direction:row-reverse;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._uppercase_1mtt76v_14{
|
|
70
70
|
--_rs-tag-text-transform:uppercase;
|
|
71
71
|
--_rs-tag-horizontal-padding-or-initial:var(
|
|
72
72
|
--_rs-tag-uppercase-horizontal-padding
|
|
73
73
|
);
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
._sizeXs_1mtt76v_18{
|
|
76
76
|
--_rs-tag-vertical-padding:2px;
|
|
77
77
|
--_rs-tag-base-horizontal-padding:8px;
|
|
78
78
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
114
114
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
._sizeS_1mtt76v_21{
|
|
117
117
|
--_rs-tag-vertical-padding:4px;
|
|
118
118
|
--_rs-tag-base-horizontal-padding:8px;
|
|
119
119
|
--_rs-tag-uppercase-horizontal-padding:10px;
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
153
153
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
154
154
|
}
|
|
155
|
-
.
|
|
155
|
+
._sizeM_1mtt76v_24{
|
|
156
156
|
--_rs-tag-vertical-padding:6px;
|
|
157
157
|
--_rs-tag-base-horizontal-padding:12px;
|
|
158
158
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -197,11 +197,11 @@
|
|
|
197
197
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
198
198
|
}
|
|
199
199
|
@media screen and (max-width: 640px){
|
|
200
|
-
.
|
|
200
|
+
._sizeM_1mtt76v_24{
|
|
201
201
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
.
|
|
204
|
+
._sizeL_1mtt76v_27{
|
|
205
205
|
--_rs-tag-vertical-padding:8px;
|
|
206
206
|
--_rs-tag-base-horizontal-padding:16px;
|
|
207
207
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -246,11 +246,11 @@
|
|
|
246
246
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
247
247
|
}
|
|
248
248
|
@media screen and (max-width: 640px){
|
|
249
|
-
.
|
|
249
|
+
._sizeL_1mtt76v_27{
|
|
250
250
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._main_1mtt76v_31{
|
|
254
254
|
--_rs-tag-border-width:1px;
|
|
255
255
|
|
|
256
256
|
--_rs-tag-horizontal-padding:var(
|
|
@@ -291,24 +291,24 @@
|
|
|
291
291
|
background:transparent;
|
|
292
292
|
gap:8px;
|
|
293
293
|
}
|
|
294
|
-
.
|
|
294
|
+
._main_1mtt76v_31 ._icon_1mtt76v_60{
|
|
295
295
|
fill:currentColor;
|
|
296
296
|
|
|
297
297
|
width:auto;
|
|
298
298
|
height:var(--_rs-tag-icon-size);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
|
-
.
|
|
301
|
+
._main_fa6hox_1{
|
|
302
302
|
border-radius:var(--_rs-tag-border-radius);
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
.
|
|
305
|
+
._themeLight_16y0eqp_7{
|
|
306
306
|
--rs-theme-dark:0;
|
|
307
307
|
}
|
|
308
|
-
.
|
|
308
|
+
._themeDark_16y0eqp_10{
|
|
309
309
|
--rs-theme-dark:1;
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
._sizeXs_16y0eqp_14{
|
|
312
312
|
--_rs-tag-removable-vertical-padding:2px;
|
|
313
313
|
--_rs-tag-removable-left-padding:8px;
|
|
314
314
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -316,10 +316,10 @@
|
|
|
316
316
|
--_rs-tag-removable-close-icon-size:28px;
|
|
317
317
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
318
318
|
}
|
|
319
|
-
.
|
|
319
|
+
._sizeXs_16y0eqp_14 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
320
320
|
--_rs-icons-height:20px;
|
|
321
321
|
}
|
|
322
|
-
.
|
|
322
|
+
._sizeXs_16y0eqp_14 {
|
|
323
323
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
324
324
|
--_rs-typography-text-transform:initial;
|
|
325
325
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
354
354
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
355
355
|
}
|
|
356
|
-
.
|
|
356
|
+
._sizeS_16y0eqp_17{
|
|
357
357
|
--_rs-tag-removable-vertical-padding:4px;
|
|
358
358
|
--_rs-tag-removable-left-padding:8px;
|
|
359
359
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -361,10 +361,10 @@
|
|
|
361
361
|
--_rs-tag-removable-close-icon-size:28px;
|
|
362
362
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
363
363
|
}
|
|
364
|
-
.
|
|
364
|
+
._sizeS_16y0eqp_17 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
365
365
|
--_rs-icons-height:20px;
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
._sizeS_16y0eqp_17 {
|
|
368
368
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
369
369
|
--_rs-typography-text-transform:initial;
|
|
370
370
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
399
399
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
400
400
|
}
|
|
401
|
-
.
|
|
401
|
+
._sizeM_16y0eqp_20{
|
|
402
402
|
--_rs-tag-removable-vertical-padding:6px;
|
|
403
403
|
--_rs-tag-removable-left-padding:12px;
|
|
404
404
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -406,10 +406,10 @@
|
|
|
406
406
|
--_rs-tag-removable-close-icon-size:36px;
|
|
407
407
|
--_rs-tag-removable-custom-icon-size:24px;
|
|
408
408
|
}
|
|
409
|
-
.
|
|
409
|
+
._sizeM_16y0eqp_20 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
410
410
|
--_rs-icons-height:24px;
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
._sizeM_16y0eqp_20 {
|
|
413
413
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
414
414
|
--_rs-typography-text-transform:initial;
|
|
415
415
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -447,11 +447,11 @@
|
|
|
447
447
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
448
448
|
}
|
|
449
449
|
@media screen and (max-width: 640px){
|
|
450
|
-
.
|
|
450
|
+
._sizeM_16y0eqp_20 {
|
|
451
451
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
.
|
|
454
|
+
._sizeL_16y0eqp_23{
|
|
455
455
|
--_rs-tag-removable-vertical-padding:8px;
|
|
456
456
|
--_rs-tag-removable-left-padding:16px;
|
|
457
457
|
--_rs-tag-removable-right-padding:4px;
|
|
@@ -459,10 +459,10 @@
|
|
|
459
459
|
--_rs-tag-removable-close-icon-size:44px;
|
|
460
460
|
--_rs-tag-removable-custom-icon-size:28px;
|
|
461
461
|
}
|
|
462
|
-
.
|
|
462
|
+
._sizeL_16y0eqp_23 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
463
463
|
--_rs-icons-height:28px;
|
|
464
464
|
}
|
|
465
|
-
.
|
|
465
|
+
._sizeL_16y0eqp_23 {
|
|
466
466
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
467
467
|
--_rs-typography-text-transform:initial;
|
|
468
468
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -500,11 +500,11 @@
|
|
|
500
500
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
501
501
|
}
|
|
502
502
|
@media screen and (max-width: 640px){
|
|
503
|
-
.
|
|
503
|
+
._sizeL_16y0eqp_23 {
|
|
504
504
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
.
|
|
507
|
+
._wrapper_16y0eqp_27{
|
|
508
508
|
--_rs-theme-dark:var(
|
|
509
509
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
510
510
|
var(--rs-theme-dark, 0)
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
515
515
|
}
|
|
516
516
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
517
|
-
.
|
|
517
|
+
._wrapper_16y0eqp_27{
|
|
518
518
|
--_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)));
|
|
519
519
|
--_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)));
|
|
520
520
|
--_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)));
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
525
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
526
|
-
.
|
|
526
|
+
._wrapper_16y0eqp_27{
|
|
527
527
|
--_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);
|
|
528
528
|
--_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));
|
|
529
529
|
--_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));
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
--_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));
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
.
|
|
534
|
+
._wrapper_16y0eqp_27 {
|
|
535
535
|
letter-spacing:var(
|
|
536
536
|
--rs-text-base-letter-spacing,
|
|
537
537
|
var(--_rs-typography-letter-spacing)
|
|
@@ -560,17 +560,17 @@
|
|
|
560
560
|
|
|
561
561
|
background-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.1);
|
|
562
562
|
}
|
|
563
|
-
.
|
|
563
|
+
._wrapper_16y0eqp_27 > *{
|
|
564
564
|
vertical-align:top;
|
|
565
565
|
}
|
|
566
|
-
.
|
|
566
|
+
._disabled_16y0eqp_50{
|
|
567
567
|
pointer-events:none;
|
|
568
568
|
color:var(
|
|
569
569
|
--rs-color-pale,
|
|
570
570
|
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)
|
|
571
571
|
);
|
|
572
572
|
}
|
|
573
|
-
.
|
|
573
|
+
._main_16y0eqp_55{
|
|
574
574
|
display:inline-flex;
|
|
575
575
|
flex:1 1 auto;
|
|
576
576
|
justify-content:center;
|
|
@@ -584,10 +584,10 @@
|
|
|
584
584
|
|
|
585
585
|
background:transparent;
|
|
586
586
|
}
|
|
587
|
-
.
|
|
587
|
+
._wrap_16y0eqp_27 ._main_16y0eqp_55{
|
|
588
588
|
white-space:normal;
|
|
589
589
|
}
|
|
590
|
-
.
|
|
590
|
+
._close_16y0eqp_74{
|
|
591
591
|
top:0;
|
|
592
592
|
right:0;
|
|
593
593
|
bottom:0;
|
|
@@ -615,33 +615,33 @@
|
|
|
615
615
|
-webkit-font-smoothing:inherit;
|
|
616
616
|
-moz-osx-font-smoothing:inherit;
|
|
617
617
|
}
|
|
618
|
-
.
|
|
618
|
+
._close_16y0eqp_74::-moz-focus-inner{
|
|
619
619
|
padding:0;
|
|
620
620
|
|
|
621
621
|
border:0;
|
|
622
622
|
}
|
|
623
|
-
.
|
|
624
|
-
.
|
|
625
|
-
.
|
|
623
|
+
._close_16y0eqp_74:active,
|
|
624
|
+
._close_16y0eqp_74:hover,
|
|
625
|
+
._close_16y0eqp_74:focus{
|
|
626
626
|
outline:none;
|
|
627
627
|
|
|
628
628
|
text-decoration:none;
|
|
629
629
|
}
|
|
630
|
-
.
|
|
630
|
+
._close_16y0eqp_74:hover{
|
|
631
631
|
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));
|
|
632
632
|
background-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.1);
|
|
633
633
|
}
|
|
634
|
-
.
|
|
634
|
+
._close_16y0eqp_74:active{
|
|
635
635
|
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));
|
|
636
636
|
background-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);
|
|
637
637
|
}
|
|
638
|
-
.
|
|
638
|
+
._close_16y0eqp_74:focus[data-focus-method='key']{
|
|
639
639
|
box-shadow:inset 0 0 0 4px var(--_rs-color-primary-dim);
|
|
640
640
|
}
|
|
641
|
-
.
|
|
641
|
+
._disabled_16y0eqp_50 ._close_16y0eqp_74{
|
|
642
642
|
pointer-events:none;
|
|
643
643
|
}
|
|
644
|
-
.
|
|
644
|
+
._icon_16y0eqp_135{
|
|
645
645
|
flex:1 0 auto;
|
|
646
646
|
|
|
647
647
|
width:auto;
|
|
@@ -654,55 +654,55 @@
|
|
|
654
654
|
fill:currentColor;
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
.
|
|
657
|
+
._wrapper_3j5cc3_3{
|
|
658
658
|
position:relative;
|
|
659
659
|
}
|
|
660
|
-
.
|
|
660
|
+
._offset16_3j5cc3_7{
|
|
661
661
|
--_rs-tag-sticky-side-offset:16px;
|
|
662
662
|
}
|
|
663
|
-
.
|
|
663
|
+
._offset24_3j5cc3_10{
|
|
664
664
|
--_rs-tag-sticky-side-offset:24px;
|
|
665
665
|
}
|
|
666
|
-
.
|
|
666
|
+
._offset32_3j5cc3_13{
|
|
667
667
|
--_rs-tag-sticky-side-offset:32px;
|
|
668
668
|
}
|
|
669
|
-
.
|
|
669
|
+
._alignTop_3j5cc3_17{
|
|
670
670
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius) var(--_rs-tag-border-radius) 0 0;
|
|
671
671
|
--_rs-tag-sticky-translate-y:-100%;
|
|
672
672
|
}
|
|
673
|
-
.
|
|
673
|
+
._alignMiddle_3j5cc3_20{
|
|
674
674
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius);
|
|
675
675
|
--_rs-tag-sticky-translate-y:-50%;
|
|
676
676
|
}
|
|
677
|
-
.
|
|
677
|
+
._topStart_3j5cc3_24{
|
|
678
678
|
--_rs-tag-sticky-top:0;
|
|
679
679
|
--_rs-tag-sticky-right:initial;
|
|
680
680
|
--_rs-tag-sticky-left:var(--_rs-tag-sticky-side-offset);
|
|
681
681
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
682
682
|
--_rs-tag-sticky-transform-origin:initial;
|
|
683
683
|
}
|
|
684
|
-
.
|
|
684
|
+
._topEnd_3j5cc3_27{
|
|
685
685
|
--_rs-tag-sticky-top:0;
|
|
686
686
|
--_rs-tag-sticky-right:var(--_rs-tag-sticky-side-offset);
|
|
687
687
|
--_rs-tag-sticky-left:initial;
|
|
688
688
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
689
689
|
--_rs-tag-sticky-transform-origin:initial;
|
|
690
690
|
}
|
|
691
|
-
.
|
|
691
|
+
._leftStart_3j5cc3_30{
|
|
692
692
|
--_rs-tag-sticky-top:var(--_rs-tag-sticky-side-offset);
|
|
693
693
|
--_rs-tag-sticky-right:100%;
|
|
694
694
|
--_rs-tag-sticky-left:initial;
|
|
695
695
|
--_rs-tag-sticky-transform:rotate(270deg) translate(0, var(--_rs-tag-sticky-translate-y));
|
|
696
696
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
697
697
|
}
|
|
698
|
-
.
|
|
698
|
+
._leftEnd_3j5cc3_33{
|
|
699
699
|
--_rs-tag-sticky-top:calc(100% - var(--_rs-tag-sticky-side-offset));
|
|
700
700
|
--_rs-tag-sticky-right:100%;
|
|
701
701
|
--_rs-tag-sticky-left:initial;
|
|
702
702
|
--_rs-tag-sticky-transform:rotate(270deg) translate(100%, var(--_rs-tag-sticky-translate-y));
|
|
703
703
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
704
704
|
}
|
|
705
|
-
.
|
|
705
|
+
._tag_3j5cc3_37{
|
|
706
706
|
position:absolute;
|
|
707
707
|
top:var(--_rs-tag-sticky-top);
|
|
708
708
|
right:var(--_rs-tag-sticky-right);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"alignIconLeft": "
|
|
3
|
-
"alignIconRight": "
|
|
4
|
-
"uppercase": "
|
|
5
|
-
"sizeXs": "
|
|
6
|
-
"sizeS": "
|
|
7
|
-
"sizeM": "
|
|
8
|
-
"sizeL": "
|
|
9
|
-
"main": "
|
|
10
|
-
"icon": "
|
|
2
|
+
"alignIconLeft": "_alignIconLeft_1mtt76v_7",
|
|
3
|
+
"alignIconRight": "_alignIconRight_1mtt76v_10",
|
|
4
|
+
"uppercase": "_uppercase_1mtt76v_14",
|
|
5
|
+
"sizeXs": "_sizeXs_1mtt76v_18",
|
|
6
|
+
"sizeS": "_sizeS_1mtt76v_21",
|
|
7
|
+
"sizeM": "_sizeM_1mtt76v_24",
|
|
8
|
+
"sizeL": "_sizeL_1mtt76v_27",
|
|
9
|
+
"main": "_main_1mtt76v_31",
|
|
10
|
+
"icon": "_icon_1mtt76v_60"
|
|
11
11
|
};
|
|
12
12
|
export { styles as default };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeXs": "
|
|
5
|
-
"sizeS": "
|
|
6
|
-
"sizeM": "
|
|
7
|
-
"sizeL": "
|
|
8
|
-
"wrapper": "
|
|
9
|
-
"disabled": "
|
|
10
|
-
"main": "
|
|
11
|
-
"wrap": "
|
|
12
|
-
"close": "
|
|
13
|
-
"icon": "
|
|
2
|
+
"themeLight": "_themeLight_16y0eqp_7",
|
|
3
|
+
"themeDark": "_themeDark_16y0eqp_10",
|
|
4
|
+
"sizeXs": "_sizeXs_16y0eqp_14",
|
|
5
|
+
"sizeS": "_sizeS_16y0eqp_17",
|
|
6
|
+
"sizeM": "_sizeM_16y0eqp_20",
|
|
7
|
+
"sizeL": "_sizeL_16y0eqp_23",
|
|
8
|
+
"wrapper": "_wrapper_16y0eqp_27",
|
|
9
|
+
"disabled": "_disabled_16y0eqp_50",
|
|
10
|
+
"main": "_main_16y0eqp_55",
|
|
11
|
+
"wrap": "_wrap_16y0eqp_27",
|
|
12
|
+
"close": "_close_16y0eqp_74",
|
|
13
|
+
"icon": "_icon_16y0eqp_135"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"wrapper": "
|
|
3
|
-
"offset16": "
|
|
4
|
-
"offset24": "
|
|
5
|
-
"offset32": "
|
|
6
|
-
"alignTop": "
|
|
7
|
-
"alignMiddle": "
|
|
8
|
-
"topStart": "
|
|
9
|
-
"topEnd": "
|
|
10
|
-
"leftStart": "
|
|
11
|
-
"leftEnd": "
|
|
12
|
-
"tag": "
|
|
2
|
+
"wrapper": "_wrapper_3j5cc3_3",
|
|
3
|
+
"offset16": "_offset16_3j5cc3_7",
|
|
4
|
+
"offset24": "_offset24_3j5cc3_10",
|
|
5
|
+
"offset32": "_offset32_3j5cc3_13",
|
|
6
|
+
"alignTop": "_alignTop_3j5cc3_17",
|
|
7
|
+
"alignMiddle": "_alignMiddle_3j5cc3_20",
|
|
8
|
+
"topStart": "_topStart_3j5cc3_24",
|
|
9
|
+
"topEnd": "_topEnd_3j5cc3_27",
|
|
10
|
+
"leftStart": "_leftStart_3j5cc3_30",
|
|
11
|
+
"leftEnd": "_leftEnd_3j5cc3_33",
|
|
12
|
+
"tag": "_tag_3j5cc3_37"
|
|
13
13
|
};
|
|
14
14
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/tag",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.17",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/icons": "^0.16.
|
|
28
|
+
"@rescui/icons": "^0.16.17",
|
|
29
29
|
"@rescui/scripts": "^0.3.5",
|
|
30
|
-
"@rescui/typography": "^0.
|
|
30
|
+
"@rescui/typography": "^0.23.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
34
34
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
35
35
|
},
|
|
36
36
|
"nx": {},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f9a0228790b099e343e9017980e7635c12815bda"
|
|
38
38
|
}
|