@rescui/tag 0.10.5 → 0.10.7
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_12q9sj9_4",
|
|
3
|
+
"sizeXS": "_sizeXS_12q9sj9_14",
|
|
4
|
+
"sizeS": "_sizeS_12q9sj9_18",
|
|
5
|
+
"sizeM": "_sizeM_12q9sj9_22",
|
|
6
|
+
"sizeL": "_sizeL_12q9sj9_26",
|
|
7
|
+
"light": "_light_12q9sj9_30",
|
|
8
|
+
"dark": "_dark_12q9sj9_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_12q9sj9_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_12q9sj9_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_12q9sj9_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_12q9sj9_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_12q9sj9_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_12q9sj9_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_12q9sj9_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_12q9sj9_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_12q9sj9_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_12q9sj9_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
|
}
|
|
@@ -72,19 +72,19 @@
|
|
|
72
72
|
transform:rotate(360deg);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
|
-
.
|
|
75
|
+
._alignIconLeft_10j74zb_7{
|
|
76
76
|
--_rs-tag-flex-direction:row;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._alignIconRight_10j74zb_10{
|
|
79
79
|
--_rs-tag-flex-direction:row-reverse;
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._uppercase_10j74zb_14{
|
|
82
82
|
--_rs-tag-text-transform:uppercase;
|
|
83
83
|
--_rs-tag-horizontal-padding-or-initial:var(
|
|
84
84
|
--_rs-tag-uppercase-horizontal-padding
|
|
85
85
|
);
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._sizeXs_10j74zb_18{
|
|
88
88
|
--_rs-tag-vertical-padding:2px;
|
|
89
89
|
--_rs-tag-base-horizontal-padding:8px;
|
|
90
90
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -125,7 +125,7 @@
|
|
|
125
125
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
126
126
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
127
127
|
}
|
|
128
|
-
.
|
|
128
|
+
._sizeS_10j74zb_21{
|
|
129
129
|
--_rs-tag-vertical-padding:4px;
|
|
130
130
|
--_rs-tag-base-horizontal-padding:8px;
|
|
131
131
|
--_rs-tag-uppercase-horizontal-padding:10px;
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
165
165
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
._sizeM_10j74zb_24{
|
|
168
168
|
--_rs-tag-vertical-padding:6px;
|
|
169
169
|
--_rs-tag-base-horizontal-padding:12px;
|
|
170
170
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -206,11 +206,11 @@
|
|
|
206
206
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
207
207
|
}
|
|
208
208
|
@media screen and (max-width: 640px){
|
|
209
|
-
.
|
|
209
|
+
._sizeM_10j74zb_24{
|
|
210
210
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._sizeL_10j74zb_27{
|
|
214
214
|
--_rs-tag-vertical-padding:8px;
|
|
215
215
|
--_rs-tag-base-horizontal-padding:16px;
|
|
216
216
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -252,11 +252,11 @@
|
|
|
252
252
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
253
253
|
}
|
|
254
254
|
@media screen and (max-width: 640px){
|
|
255
|
-
.
|
|
255
|
+
._sizeL_10j74zb_27{
|
|
256
256
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
.
|
|
259
|
+
._main_10j74zb_31{
|
|
260
260
|
--_rs-tag-border-width:1px;
|
|
261
261
|
|
|
262
262
|
--_rs-tag-horizontal-padding:var(
|
|
@@ -311,24 +311,24 @@
|
|
|
311
311
|
background:transparent;
|
|
312
312
|
gap:8px;
|
|
313
313
|
}
|
|
314
|
-
.
|
|
314
|
+
._main_10j74zb_31 ._icon_10j74zb_60{
|
|
315
315
|
fill:currentColor;
|
|
316
316
|
|
|
317
317
|
width:auto;
|
|
318
318
|
height:var(--_rs-tag-icon-size);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
.
|
|
321
|
+
._main_r2wp8h_1{
|
|
322
322
|
border-radius:var(--_rs-tag-border-radius);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
.
|
|
325
|
+
._themeLight_1bdlv1t_7{
|
|
326
326
|
--rs-theme-dark:0;
|
|
327
327
|
}
|
|
328
|
-
.
|
|
328
|
+
._themeDark_1bdlv1t_10{
|
|
329
329
|
--rs-theme-dark:1;
|
|
330
330
|
}
|
|
331
|
-
.
|
|
331
|
+
._sizeXs_1bdlv1t_14{
|
|
332
332
|
--_rs-tag-removable-vertical-padding:2px;
|
|
333
333
|
--_rs-tag-removable-left-padding:8px;
|
|
334
334
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -336,10 +336,10 @@
|
|
|
336
336
|
--_rs-tag-removable-close-icon-size:28px;
|
|
337
337
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
._sizeXs_1bdlv1t_14 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
340
340
|
--_rs-icons-height:20px;
|
|
341
341
|
}
|
|
342
|
-
.
|
|
342
|
+
._sizeXs_1bdlv1t_14 {
|
|
343
343
|
--_rs-typography-letter-spacing:0.0045em;
|
|
344
344
|
--_rs-typography-text-transform:initial;
|
|
345
345
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -373,7 +373,7 @@
|
|
|
373
373
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
374
374
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
375
375
|
}
|
|
376
|
-
.
|
|
376
|
+
._sizeS_1bdlv1t_17{
|
|
377
377
|
--_rs-tag-removable-vertical-padding:4px;
|
|
378
378
|
--_rs-tag-removable-left-padding:8px;
|
|
379
379
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -381,10 +381,10 @@
|
|
|
381
381
|
--_rs-tag-removable-close-icon-size:28px;
|
|
382
382
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
383
383
|
}
|
|
384
|
-
.
|
|
384
|
+
._sizeS_1bdlv1t_17 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
385
385
|
--_rs-icons-height:20px;
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
._sizeS_1bdlv1t_17 {
|
|
388
388
|
--_rs-typography-letter-spacing:0.0045em;
|
|
389
389
|
--_rs-typography-text-transform:initial;
|
|
390
390
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -418,7 +418,7 @@
|
|
|
418
418
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
419
419
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
420
420
|
}
|
|
421
|
-
.
|
|
421
|
+
._sizeM_1bdlv1t_20{
|
|
422
422
|
--_rs-tag-removable-vertical-padding:6px;
|
|
423
423
|
--_rs-tag-removable-left-padding:12px;
|
|
424
424
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -426,10 +426,10 @@
|
|
|
426
426
|
--_rs-tag-removable-close-icon-size:36px;
|
|
427
427
|
--_rs-tag-removable-custom-icon-size:24px;
|
|
428
428
|
}
|
|
429
|
-
.
|
|
429
|
+
._sizeM_1bdlv1t_20 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
430
430
|
--_rs-icons-height:24px;
|
|
431
431
|
}
|
|
432
|
-
.
|
|
432
|
+
._sizeM_1bdlv1t_20 {
|
|
433
433
|
--_rs-typography-letter-spacing:0.0015em;
|
|
434
434
|
--_rs-typography-text-transform:initial;
|
|
435
435
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -464,11 +464,11 @@
|
|
|
464
464
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
465
465
|
}
|
|
466
466
|
@media screen and (max-width: 640px){
|
|
467
|
-
.
|
|
467
|
+
._sizeM_1bdlv1t_20 {
|
|
468
468
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
.
|
|
471
|
+
._sizeL_1bdlv1t_23{
|
|
472
472
|
--_rs-tag-removable-vertical-padding:8px;
|
|
473
473
|
--_rs-tag-removable-left-padding:16px;
|
|
474
474
|
--_rs-tag-removable-right-padding:4px;
|
|
@@ -476,10 +476,10 @@
|
|
|
476
476
|
--_rs-tag-removable-close-icon-size:44px;
|
|
477
477
|
--_rs-tag-removable-custom-icon-size:28px;
|
|
478
478
|
}
|
|
479
|
-
.
|
|
479
|
+
._sizeL_1bdlv1t_23 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
480
480
|
--_rs-icons-height:28px;
|
|
481
481
|
}
|
|
482
|
-
.
|
|
482
|
+
._sizeL_1bdlv1t_23 {
|
|
483
483
|
--_rs-typography-letter-spacing:normal;
|
|
484
484
|
--_rs-typography-text-transform:initial;
|
|
485
485
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -514,11 +514,11 @@
|
|
|
514
514
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
515
515
|
}
|
|
516
516
|
@media screen and (max-width: 640px){
|
|
517
|
-
.
|
|
517
|
+
._sizeL_1bdlv1t_23 {
|
|
518
518
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
.
|
|
521
|
+
._wrapper_1bdlv1t_27{
|
|
522
522
|
--_rs-theme-dark:var(
|
|
523
523
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
524
524
|
var(--rs-theme-dark, 0)
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
529
529
|
}
|
|
530
530
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
531
|
-
.
|
|
531
|
+
._wrapper_1bdlv1t_27{
|
|
532
532
|
--_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)));
|
|
533
533
|
--_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)));
|
|
534
534
|
--_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)));
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
540
|
-
.
|
|
540
|
+
._wrapper_1bdlv1t_27{
|
|
541
541
|
--_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);
|
|
542
542
|
--_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));
|
|
543
543
|
--_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));
|
|
@@ -545,7 +545,7 @@
|
|
|
545
545
|
--_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));
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
.
|
|
548
|
+
._wrapper_1bdlv1t_27 {
|
|
549
549
|
letter-spacing:var(
|
|
550
550
|
--rs-text-base-letter-spacing,
|
|
551
551
|
var(--_rs-typography-letter-spacing)
|
|
@@ -558,7 +558,7 @@
|
|
|
558
558
|
font-variant-numeric:var(--_rs-typography-font-variant-numeric);
|
|
559
559
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
560
560
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
561
|
-
|
|
561
|
+
color:var(
|
|
562
562
|
--rs-color-average,
|
|
563
563
|
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.7)
|
|
564
564
|
);
|
|
@@ -577,20 +577,19 @@
|
|
|
577
577
|
|
|
578
578
|
white-space:nowrap;
|
|
579
579
|
|
|
580
|
-
color:var(--_rs-typography-hardness-color);
|
|
581
580
|
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);
|
|
582
581
|
}
|
|
583
|
-
.
|
|
582
|
+
._wrapper_1bdlv1t_27 > *{
|
|
584
583
|
vertical-align:top;
|
|
585
584
|
}
|
|
586
|
-
.
|
|
585
|
+
._disabled_1bdlv1t_50{
|
|
587
586
|
pointer-events:none;
|
|
588
|
-
|
|
587
|
+
color:var(
|
|
589
588
|
--rs-color-pale,
|
|
590
589
|
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)
|
|
591
590
|
);
|
|
592
591
|
}
|
|
593
|
-
.
|
|
592
|
+
._main_1bdlv1t_55{
|
|
594
593
|
display:-webkit-inline-box;
|
|
595
594
|
display:-ms-inline-flexbox;
|
|
596
595
|
display:inline-flex;
|
|
@@ -612,10 +611,10 @@
|
|
|
612
611
|
|
|
613
612
|
background:transparent;
|
|
614
613
|
}
|
|
615
|
-
.
|
|
614
|
+
._wrap_1bdlv1t_27 ._main_1bdlv1t_55{
|
|
616
615
|
white-space:normal;
|
|
617
616
|
}
|
|
618
|
-
.
|
|
617
|
+
._close_1bdlv1t_74{
|
|
619
618
|
top:0;
|
|
620
619
|
right:0;
|
|
621
620
|
bottom:0;
|
|
@@ -653,34 +652,34 @@
|
|
|
653
652
|
-webkit-font-smoothing:inherit;
|
|
654
653
|
-moz-osx-font-smoothing:inherit;
|
|
655
654
|
}
|
|
656
|
-
.
|
|
655
|
+
._close_1bdlv1t_74::-moz-focus-inner{
|
|
657
656
|
padding:0;
|
|
658
657
|
|
|
659
658
|
border:0;
|
|
660
659
|
}
|
|
661
|
-
.
|
|
662
|
-
.
|
|
663
|
-
.
|
|
660
|
+
._close_1bdlv1t_74:active,
|
|
661
|
+
._close_1bdlv1t_74:hover,
|
|
662
|
+
._close_1bdlv1t_74:focus{
|
|
664
663
|
outline:none;
|
|
665
664
|
|
|
666
665
|
text-decoration:none;
|
|
667
666
|
}
|
|
668
|
-
.
|
|
667
|
+
._close_1bdlv1t_74:hover{
|
|
669
668
|
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));
|
|
670
669
|
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);
|
|
671
670
|
}
|
|
672
|
-
.
|
|
671
|
+
._close_1bdlv1t_74:active{
|
|
673
672
|
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));
|
|
674
673
|
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);
|
|
675
674
|
}
|
|
676
|
-
.
|
|
675
|
+
._close_1bdlv1t_74:focus[data-focus-method='key']{
|
|
677
676
|
-webkit-box-shadow:inset 0 0 0 4px var(--_rs-color-primary-dim);
|
|
678
677
|
box-shadow:inset 0 0 0 4px var(--_rs-color-primary-dim);
|
|
679
678
|
}
|
|
680
|
-
.
|
|
679
|
+
._disabled_1bdlv1t_50 ._close_1bdlv1t_74{
|
|
681
680
|
pointer-events:none;
|
|
682
681
|
}
|
|
683
|
-
.
|
|
682
|
+
._icon_1bdlv1t_135{
|
|
684
683
|
-webkit-box-flex:1;
|
|
685
684
|
-ms-flex:1 0 auto;
|
|
686
685
|
flex:1 0 auto;
|
|
@@ -695,55 +694,55 @@
|
|
|
695
694
|
fill:currentColor;
|
|
696
695
|
}
|
|
697
696
|
|
|
698
|
-
.
|
|
697
|
+
._wrapper_ytg0gz_3{
|
|
699
698
|
position:relative;
|
|
700
699
|
}
|
|
701
|
-
.
|
|
700
|
+
._offset16_ytg0gz_7{
|
|
702
701
|
--_rs-tag-sticky-side-offset:16px;
|
|
703
702
|
}
|
|
704
|
-
.
|
|
703
|
+
._offset24_ytg0gz_10{
|
|
705
704
|
--_rs-tag-sticky-side-offset:24px;
|
|
706
705
|
}
|
|
707
|
-
.
|
|
706
|
+
._offset32_ytg0gz_13{
|
|
708
707
|
--_rs-tag-sticky-side-offset:32px;
|
|
709
708
|
}
|
|
710
|
-
.
|
|
709
|
+
._alignTop_ytg0gz_17{
|
|
711
710
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius) var(--_rs-tag-border-radius) 0 0;
|
|
712
711
|
--_rs-tag-sticky-translate-y:-100%;
|
|
713
712
|
}
|
|
714
|
-
.
|
|
713
|
+
._alignMiddle_ytg0gz_20{
|
|
715
714
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius);
|
|
716
715
|
--_rs-tag-sticky-translate-y:-50%;
|
|
717
716
|
}
|
|
718
|
-
.
|
|
717
|
+
._topStart_ytg0gz_24{
|
|
719
718
|
--_rs-tag-sticky-top:0;
|
|
720
719
|
--_rs-tag-sticky-right:initial;
|
|
721
720
|
--_rs-tag-sticky-left:var(--_rs-tag-sticky-side-offset);
|
|
722
721
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
723
722
|
--_rs-tag-sticky-transform-origin:initial;
|
|
724
723
|
}
|
|
725
|
-
.
|
|
724
|
+
._topEnd_ytg0gz_27{
|
|
726
725
|
--_rs-tag-sticky-top:0;
|
|
727
726
|
--_rs-tag-sticky-right:var(--_rs-tag-sticky-side-offset);
|
|
728
727
|
--_rs-tag-sticky-left:initial;
|
|
729
728
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
730
729
|
--_rs-tag-sticky-transform-origin:initial;
|
|
731
730
|
}
|
|
732
|
-
.
|
|
731
|
+
._leftStart_ytg0gz_30{
|
|
733
732
|
--_rs-tag-sticky-top:var(--_rs-tag-sticky-side-offset);
|
|
734
733
|
--_rs-tag-sticky-right:100%;
|
|
735
734
|
--_rs-tag-sticky-left:initial;
|
|
736
735
|
--_rs-tag-sticky-transform:rotate(270deg) translate(0, var(--_rs-tag-sticky-translate-y));
|
|
737
736
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
738
737
|
}
|
|
739
|
-
.
|
|
738
|
+
._leftEnd_ytg0gz_33{
|
|
740
739
|
--_rs-tag-sticky-top:calc(100% - var(--_rs-tag-sticky-side-offset));
|
|
741
740
|
--_rs-tag-sticky-right:100%;
|
|
742
741
|
--_rs-tag-sticky-left:initial;
|
|
743
742
|
--_rs-tag-sticky-transform:rotate(270deg) translate(100%, var(--_rs-tag-sticky-translate-y));
|
|
744
743
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
745
744
|
}
|
|
746
|
-
.
|
|
745
|
+
._tag_ytg0gz_37{
|
|
747
746
|
position:absolute;
|
|
748
747
|
top:var(--_rs-tag-sticky-top);
|
|
749
748
|
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_10j74zb_7",
|
|
3
|
+
"alignIconRight": "_alignIconRight_10j74zb_10",
|
|
4
|
+
"uppercase": "_uppercase_10j74zb_14",
|
|
5
|
+
"sizeXs": "_sizeXs_10j74zb_18",
|
|
6
|
+
"sizeS": "_sizeS_10j74zb_21",
|
|
7
|
+
"sizeM": "_sizeM_10j74zb_24",
|
|
8
|
+
"sizeL": "_sizeL_10j74zb_27",
|
|
9
|
+
"main": "_main_10j74zb_31",
|
|
10
|
+
"icon": "_icon_10j74zb_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_1bdlv1t_7",
|
|
3
|
+
"themeDark": "_themeDark_1bdlv1t_10",
|
|
4
|
+
"sizeXs": "_sizeXs_1bdlv1t_14",
|
|
5
|
+
"sizeS": "_sizeS_1bdlv1t_17",
|
|
6
|
+
"sizeM": "_sizeM_1bdlv1t_20",
|
|
7
|
+
"sizeL": "_sizeL_1bdlv1t_23",
|
|
8
|
+
"wrapper": "_wrapper_1bdlv1t_27",
|
|
9
|
+
"disabled": "_disabled_1bdlv1t_50",
|
|
10
|
+
"main": "_main_1bdlv1t_55",
|
|
11
|
+
"wrap": "_wrap_1bdlv1t_27",
|
|
12
|
+
"close": "_close_1bdlv1t_74",
|
|
13
|
+
"icon": "_icon_1bdlv1t_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_ytg0gz_3",
|
|
3
|
+
"offset16": "_offset16_ytg0gz_7",
|
|
4
|
+
"offset24": "_offset24_ytg0gz_10",
|
|
5
|
+
"offset32": "_offset32_ytg0gz_13",
|
|
6
|
+
"alignTop": "_alignTop_ytg0gz_17",
|
|
7
|
+
"alignMiddle": "_alignMiddle_ytg0gz_20",
|
|
8
|
+
"topStart": "_topStart_ytg0gz_24",
|
|
9
|
+
"topEnd": "_topEnd_ytg0gz_27",
|
|
10
|
+
"leftStart": "_leftStart_ytg0gz_30",
|
|
11
|
+
"leftEnd": "_leftEnd_ytg0gz_33",
|
|
12
|
+
"tag": "_tag_ytg0gz_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.7",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/colors": "^0.2.
|
|
18
|
+
"@rescui/colors": "^0.2.5",
|
|
19
19
|
"classnames": "^2.3.1",
|
|
20
20
|
"core-js": "^3.9.1"
|
|
21
21
|
},
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/icons": "^0.16.
|
|
29
|
-
"@rescui/scripts": "^0.3.
|
|
30
|
-
"@rescui/typography": "^0.
|
|
28
|
+
"@rescui/icons": "^0.16.7",
|
|
29
|
+
"@rescui/scripts": "^0.3.4",
|
|
30
|
+
"@rescui/typography": "^0.18.1"
|
|
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": "3de71c679695fe3ca490baeaa24ab2331eb2e3a8"
|
|
38
38
|
}
|