@rescui/tag 0.14.0 → 0.14.2
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/index.css +78 -78
- package/lib/parts/base-tag.p.module.css.js +9 -9
- package/lib/parts/removable-tag.p.module.css.js +12 -12
- package/lib/parts/sticky-tag.p.module.css.js +11 -11
- package/lib/parts/tag.p.module.css.js +1 -1
- package/package.json +5 -5
|
@@ -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_a41sn3_4",
|
|
3
|
+
"sizeXS": "_sizeXS_a41sn3_14",
|
|
4
|
+
"sizeS": "_sizeS_a41sn3_18",
|
|
5
|
+
"sizeM": "_sizeM_a41sn3_22",
|
|
6
|
+
"sizeL": "_sizeL_a41sn3_26",
|
|
7
|
+
"light": "_light_a41sn3_30",
|
|
8
|
+
"dark": "_dark_a41sn3_34",
|
|
9
|
+
"allVariants": "_allVariants_a41sn3_48",
|
|
10
|
+
"variant16": "_variant16_a41sn3_53",
|
|
11
|
+
"variant20": "_variant20_a41sn3_54",
|
|
12
|
+
"variant24": "_variant24_a41sn3_55",
|
|
13
|
+
"variant28": "_variant28_a41sn3_58"
|
|
14
14
|
};
|
|
15
15
|
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_a41sn3_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_a41sn3_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_a41sn3_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_a41sn3_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_a41sn3_14{
|
|
41
41
|
--_rs-icons-height:16px;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
._sizeS_a41sn3_18{
|
|
44
44
|
--_rs-icons-height:20px;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
._sizeM_a41sn3_22{
|
|
47
47
|
--_rs-icons-height:24px;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
._sizeL_a41sn3_26{
|
|
50
50
|
--_rs-icons-height:28px;
|
|
51
51
|
}
|
|
52
|
-
.
|
|
52
|
+
._light_a41sn3_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_a41sn3_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_a41sn3_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_a41sn3_53,
|
|
73
|
+
._variant20_a41sn3_54,
|
|
74
|
+
._variant24_a41sn3_55{
|
|
75
75
|
display:none;
|
|
76
76
|
}
|
|
77
|
-
.
|
|
77
|
+
._variant28_a41sn3_58{
|
|
78
78
|
display:block;
|
|
79
79
|
}
|
|
80
80
|
@container rs-icon (max-height: 24px){
|
|
81
|
-
.
|
|
81
|
+
._variant24_a41sn3_55{
|
|
82
82
|
display:block;
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
._variant28_a41sn3_58{
|
|
85
85
|
display:none;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
@container rs-icon (max-height: 20px){
|
|
89
|
-
.
|
|
89
|
+
._variant20_a41sn3_54{
|
|
90
90
|
display:block;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
._variant24_a41sn3_55{
|
|
93
93
|
display:none;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
@container rs-icon (max-height: 16px){
|
|
97
|
-
.
|
|
97
|
+
._variant16_a41sn3_53{
|
|
98
98
|
display:block;
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
._variant20_a41sn3_54{
|
|
101
101
|
display:none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -106,19 +106,19 @@
|
|
|
106
106
|
inherits:true;
|
|
107
107
|
initial-value:0;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._alignIconLeft_z00z3x_7{
|
|
110
110
|
--_rs-tag-flex-direction:row;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
._alignIconRight_z00z3x_10{
|
|
113
113
|
--_rs-tag-flex-direction:row-reverse;
|
|
114
114
|
}
|
|
115
|
-
.
|
|
115
|
+
._uppercase_z00z3x_14{
|
|
116
116
|
--_rs-tag-text-transform:uppercase;
|
|
117
117
|
--_rs-tag-horizontal-padding-or-initial:var(
|
|
118
118
|
--_rs-tag-uppercase-horizontal-padding
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
._sizeXs_z00z3x_18{
|
|
122
122
|
--_rs-tag-vertical-padding:2px;
|
|
123
123
|
--_rs-tag-base-horizontal-padding:8px;
|
|
124
124
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
161
161
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
163
|
+
._sizeS_z00z3x_21{
|
|
164
164
|
--_rs-tag-vertical-padding:4px;
|
|
165
165
|
--_rs-tag-base-horizontal-padding:8px;
|
|
166
166
|
--_rs-tag-uppercase-horizontal-padding:10px;
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
201
201
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
202
202
|
}
|
|
203
|
-
.
|
|
203
|
+
._sizeM_z00z3x_24{
|
|
204
204
|
--_rs-tag-vertical-padding:6px;
|
|
205
205
|
--_rs-tag-base-horizontal-padding:12px;
|
|
206
206
|
--_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
|
+
._sizeM_z00z3x_24{
|
|
250
250
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._sizeL_z00z3x_27{
|
|
254
254
|
--_rs-tag-vertical-padding:8px;
|
|
255
255
|
--_rs-tag-base-horizontal-padding:16px;
|
|
256
256
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -296,11 +296,11 @@
|
|
|
296
296
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
297
297
|
}
|
|
298
298
|
@media screen and (max-width: 640px){
|
|
299
|
-
.
|
|
299
|
+
._sizeL_z00z3x_27{
|
|
300
300
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
|
-
.
|
|
303
|
+
._main_z00z3x_31{
|
|
304
304
|
--_rs-tag-border-width:1px;
|
|
305
305
|
|
|
306
306
|
--_rs-tag-horizontal-padding:var(
|
|
@@ -341,14 +341,14 @@
|
|
|
341
341
|
background:transparent;
|
|
342
342
|
gap:8px;
|
|
343
343
|
}
|
|
344
|
-
.
|
|
344
|
+
._main_z00z3x_31 ._icon_z00z3x_60{
|
|
345
345
|
fill:currentColor;
|
|
346
346
|
|
|
347
347
|
width:auto;
|
|
348
348
|
height:var(--_rs-tag-icon-size);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
.
|
|
351
|
+
._main_1jrm8p7_1{
|
|
352
352
|
border-radius:var(--_rs-tag-border-radius);
|
|
353
353
|
}
|
|
354
354
|
|
|
@@ -357,23 +357,23 @@
|
|
|
357
357
|
inherits:true;
|
|
358
358
|
initial-value:0;
|
|
359
359
|
}
|
|
360
|
-
.
|
|
360
|
+
._themeLight_jsse2c_7{
|
|
361
361
|
--rs-theme-dark:0;
|
|
362
362
|
}
|
|
363
|
-
.
|
|
363
|
+
._themeDark_jsse2c_10{
|
|
364
364
|
--rs-theme-dark:1;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
._sizeXs_jsse2c_14{
|
|
367
367
|
--_rs-tag-removable-vertical-padding:2px;
|
|
368
368
|
--_rs-tag-removable-left-padding:8px;
|
|
369
369
|
--_rs-tag-removable-border-radius:4px;
|
|
370
370
|
--_rs-tag-removable-close-part-size:24px;
|
|
371
371
|
--_rs-tag-removable-custom-icon-size:16px;
|
|
372
372
|
}
|
|
373
|
-
.
|
|
373
|
+
._sizeXs_jsse2c_14 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
374
374
|
--_rs-icons-height:16px;
|
|
375
375
|
}
|
|
376
|
-
.
|
|
376
|
+
._sizeXs_jsse2c_14 {
|
|
377
377
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
378
378
|
--_rs-typography-text-transform:initial;
|
|
379
379
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -408,17 +408,17 @@
|
|
|
408
408
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
409
409
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
410
410
|
}
|
|
411
|
-
.
|
|
411
|
+
._sizeS_jsse2c_17{
|
|
412
412
|
--_rs-tag-removable-vertical-padding:4px;
|
|
413
413
|
--_rs-tag-removable-left-padding:8px;
|
|
414
414
|
--_rs-tag-removable-border-radius:4px;
|
|
415
415
|
--_rs-tag-removable-close-part-size:28px;
|
|
416
416
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
417
417
|
}
|
|
418
|
-
.
|
|
418
|
+
._sizeS_jsse2c_17 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
419
419
|
--_rs-icons-height:20px;
|
|
420
420
|
}
|
|
421
|
-
.
|
|
421
|
+
._sizeS_jsse2c_17 {
|
|
422
422
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
423
423
|
--_rs-typography-text-transform:initial;
|
|
424
424
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -453,17 +453,17 @@
|
|
|
453
453
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
454
454
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
455
455
|
}
|
|
456
|
-
.
|
|
456
|
+
._sizeM_jsse2c_20{
|
|
457
457
|
--_rs-tag-removable-vertical-padding:6px;
|
|
458
458
|
--_rs-tag-removable-left-padding:12px;
|
|
459
459
|
--_rs-tag-removable-border-radius:6px;
|
|
460
460
|
--_rs-tag-removable-close-part-size:36px;
|
|
461
461
|
--_rs-tag-removable-custom-icon-size:24px;
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._sizeM_jsse2c_20 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
464
464
|
--_rs-icons-height:24px;
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
._sizeM_jsse2c_20 {
|
|
467
467
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
468
468
|
--_rs-typography-text-transform:initial;
|
|
469
469
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -502,21 +502,21 @@
|
|
|
502
502
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
503
503
|
}
|
|
504
504
|
@media screen and (max-width: 640px){
|
|
505
|
-
.
|
|
505
|
+
._sizeM_jsse2c_20 {
|
|
506
506
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
507
507
|
}
|
|
508
508
|
}
|
|
509
|
-
.
|
|
509
|
+
._sizeL_jsse2c_23{
|
|
510
510
|
--_rs-tag-removable-vertical-padding:8px;
|
|
511
511
|
--_rs-tag-removable-left-padding:16px;
|
|
512
512
|
--_rs-tag-removable-border-radius:8px;
|
|
513
513
|
--_rs-tag-removable-close-part-size:44px;
|
|
514
514
|
--_rs-tag-removable-custom-icon-size:28px;
|
|
515
515
|
}
|
|
516
|
-
.
|
|
516
|
+
._sizeL_jsse2c_23 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
517
517
|
--_rs-icons-height:28px;
|
|
518
518
|
}
|
|
519
|
-
.
|
|
519
|
+
._sizeL_jsse2c_23 {
|
|
520
520
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
521
521
|
--_rs-typography-text-transform:initial;
|
|
522
522
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -555,11 +555,11 @@
|
|
|
555
555
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
556
556
|
}
|
|
557
557
|
@media screen and (max-width: 640px){
|
|
558
|
-
.
|
|
558
|
+
._sizeL_jsse2c_23 {
|
|
559
559
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
.
|
|
562
|
+
._wrapper_jsse2c_27{
|
|
563
563
|
--_rs-theme-dark:var(
|
|
564
564
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
565
565
|
var(--rs-theme-dark, 0)
|
|
@@ -569,7 +569,7 @@
|
|
|
569
569
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
570
570
|
}
|
|
571
571
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
572
|
-
.
|
|
572
|
+
._wrapper_jsse2c_27{
|
|
573
573
|
--_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)));
|
|
574
574
|
--_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)));
|
|
575
575
|
--_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)));
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
581
|
-
.
|
|
581
|
+
._wrapper_jsse2c_27{
|
|
582
582
|
--_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);
|
|
583
583
|
--_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));
|
|
584
584
|
--_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));
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
--_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));
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
.
|
|
589
|
+
._wrapper_jsse2c_27 {
|
|
590
590
|
letter-spacing:var(
|
|
591
591
|
--rs-text-base-letter-spacing,
|
|
592
592
|
var(--_rs-typography-letter-spacing)
|
|
@@ -615,10 +615,10 @@
|
|
|
615
615
|
|
|
616
616
|
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);
|
|
617
617
|
}
|
|
618
|
-
.
|
|
618
|
+
._wrapper_jsse2c_27 > *{
|
|
619
619
|
vertical-align:top;
|
|
620
620
|
}
|
|
621
|
-
.
|
|
621
|
+
._wrapper_jsse2c_27 ._icon_jsse2c_49{
|
|
622
622
|
flex:1 0 auto;
|
|
623
623
|
align-self:center;
|
|
624
624
|
|
|
@@ -629,14 +629,14 @@
|
|
|
629
629
|
vertical-align:top;
|
|
630
630
|
fill:currentColor;
|
|
631
631
|
}
|
|
632
|
-
.
|
|
632
|
+
._disabled_jsse2c_62{
|
|
633
633
|
pointer-events:none;
|
|
634
634
|
color:var(
|
|
635
635
|
--rs-color-pale,
|
|
636
636
|
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)
|
|
637
637
|
);
|
|
638
638
|
}
|
|
639
|
-
.
|
|
639
|
+
._main_jsse2c_67{
|
|
640
640
|
display:inline-flex;
|
|
641
641
|
flex:1 1 auto;
|
|
642
642
|
justify-content:center;
|
|
@@ -650,10 +650,10 @@
|
|
|
650
650
|
|
|
651
651
|
background:transparent;
|
|
652
652
|
}
|
|
653
|
-
.
|
|
653
|
+
._wrap_jsse2c_27 ._main_jsse2c_67{
|
|
654
654
|
white-space:normal;
|
|
655
655
|
}
|
|
656
|
-
.
|
|
656
|
+
._close_jsse2c_86{
|
|
657
657
|
top:0;
|
|
658
658
|
right:0;
|
|
659
659
|
bottom:0;
|
|
@@ -681,30 +681,30 @@
|
|
|
681
681
|
-webkit-font-smoothing:inherit;
|
|
682
682
|
-moz-osx-font-smoothing:inherit;
|
|
683
683
|
}
|
|
684
|
-
.
|
|
684
|
+
._close_jsse2c_86::-moz-focus-inner{
|
|
685
685
|
padding:0;
|
|
686
686
|
|
|
687
687
|
border:0;
|
|
688
688
|
}
|
|
689
|
-
.
|
|
690
|
-
.
|
|
691
|
-
.
|
|
689
|
+
._close_jsse2c_86:active,
|
|
690
|
+
._close_jsse2c_86:hover,
|
|
691
|
+
._close_jsse2c_86:focus{
|
|
692
692
|
outline:none;
|
|
693
693
|
|
|
694
694
|
text-decoration:none;
|
|
695
695
|
}
|
|
696
|
-
.
|
|
696
|
+
._close_jsse2c_86:hover{
|
|
697
697
|
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));
|
|
698
698
|
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);
|
|
699
699
|
}
|
|
700
|
-
.
|
|
700
|
+
._close_jsse2c_86:active{
|
|
701
701
|
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));
|
|
702
702
|
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);
|
|
703
703
|
}
|
|
704
|
-
.
|
|
704
|
+
._close_jsse2c_86:focus[data-focus-method='key']{
|
|
705
705
|
box-shadow:inset 0 0 0 4px var(--_rs-color-primary-dim);
|
|
706
706
|
}
|
|
707
|
-
.
|
|
707
|
+
._disabled_jsse2c_62 ._close_jsse2c_86{
|
|
708
708
|
pointer-events:none;
|
|
709
709
|
}
|
|
710
710
|
|
|
@@ -713,55 +713,55 @@
|
|
|
713
713
|
inherits:true;
|
|
714
714
|
initial-value:0;
|
|
715
715
|
}
|
|
716
|
-
.
|
|
716
|
+
._wrapper_ircdwp_3{
|
|
717
717
|
position:relative;
|
|
718
718
|
}
|
|
719
|
-
.
|
|
719
|
+
._offset16_ircdwp_7{
|
|
720
720
|
--_rs-tag-sticky-side-offset:16px;
|
|
721
721
|
}
|
|
722
|
-
.
|
|
722
|
+
._offset24_ircdwp_10{
|
|
723
723
|
--_rs-tag-sticky-side-offset:24px;
|
|
724
724
|
}
|
|
725
|
-
.
|
|
725
|
+
._offset32_ircdwp_13{
|
|
726
726
|
--_rs-tag-sticky-side-offset:32px;
|
|
727
727
|
}
|
|
728
|
-
.
|
|
728
|
+
._alignTop_ircdwp_17{
|
|
729
729
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius) var(--_rs-tag-border-radius) 0 0;
|
|
730
730
|
--_rs-tag-sticky-translate-y:-100%;
|
|
731
731
|
}
|
|
732
|
-
.
|
|
732
|
+
._alignMiddle_ircdwp_20{
|
|
733
733
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius);
|
|
734
734
|
--_rs-tag-sticky-translate-y:-50%;
|
|
735
735
|
}
|
|
736
|
-
.
|
|
736
|
+
._topStart_ircdwp_24{
|
|
737
737
|
--_rs-tag-sticky-top:0;
|
|
738
738
|
--_rs-tag-sticky-right:initial;
|
|
739
739
|
--_rs-tag-sticky-left:var(--_rs-tag-sticky-side-offset);
|
|
740
740
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
741
741
|
--_rs-tag-sticky-transform-origin:initial;
|
|
742
742
|
}
|
|
743
|
-
.
|
|
743
|
+
._topEnd_ircdwp_27{
|
|
744
744
|
--_rs-tag-sticky-top:0;
|
|
745
745
|
--_rs-tag-sticky-right:var(--_rs-tag-sticky-side-offset);
|
|
746
746
|
--_rs-tag-sticky-left:initial;
|
|
747
747
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
748
748
|
--_rs-tag-sticky-transform-origin:initial;
|
|
749
749
|
}
|
|
750
|
-
.
|
|
750
|
+
._leftStart_ircdwp_30{
|
|
751
751
|
--_rs-tag-sticky-top:var(--_rs-tag-sticky-side-offset);
|
|
752
752
|
--_rs-tag-sticky-right:100%;
|
|
753
753
|
--_rs-tag-sticky-left:initial;
|
|
754
754
|
--_rs-tag-sticky-transform:rotate(270deg) translate(0, var(--_rs-tag-sticky-translate-y));
|
|
755
755
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
756
756
|
}
|
|
757
|
-
.
|
|
757
|
+
._leftEnd_ircdwp_33{
|
|
758
758
|
--_rs-tag-sticky-top:calc(100% - var(--_rs-tag-sticky-side-offset));
|
|
759
759
|
--_rs-tag-sticky-right:100%;
|
|
760
760
|
--_rs-tag-sticky-left:initial;
|
|
761
761
|
--_rs-tag-sticky-transform:rotate(270deg) translate(100%, var(--_rs-tag-sticky-translate-y));
|
|
762
762
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
763
763
|
}
|
|
764
|
-
.
|
|
764
|
+
._tag_ircdwp_37{
|
|
765
765
|
position:absolute;
|
|
766
766
|
top:var(--_rs-tag-sticky-top);
|
|
767
767
|
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_z00z3x_7",
|
|
3
|
+
"alignIconRight": "_alignIconRight_z00z3x_10",
|
|
4
|
+
"uppercase": "_uppercase_z00z3x_14",
|
|
5
|
+
"sizeXs": "_sizeXs_z00z3x_18",
|
|
6
|
+
"sizeS": "_sizeS_z00z3x_21",
|
|
7
|
+
"sizeM": "_sizeM_z00z3x_24",
|
|
8
|
+
"sizeL": "_sizeL_z00z3x_27",
|
|
9
|
+
"main": "_main_z00z3x_31",
|
|
10
|
+
"icon": "_icon_z00z3x_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
|
-
"icon": "
|
|
10
|
-
"disabled": "
|
|
11
|
-
"main": "
|
|
12
|
-
"wrap": "
|
|
13
|
-
"close": "
|
|
2
|
+
"themeLight": "_themeLight_jsse2c_7",
|
|
3
|
+
"themeDark": "_themeDark_jsse2c_10",
|
|
4
|
+
"sizeXs": "_sizeXs_jsse2c_14",
|
|
5
|
+
"sizeS": "_sizeS_jsse2c_17",
|
|
6
|
+
"sizeM": "_sizeM_jsse2c_20",
|
|
7
|
+
"sizeL": "_sizeL_jsse2c_23",
|
|
8
|
+
"wrapper": "_wrapper_jsse2c_27",
|
|
9
|
+
"icon": "_icon_jsse2c_49",
|
|
10
|
+
"disabled": "_disabled_jsse2c_62",
|
|
11
|
+
"main": "_main_jsse2c_67",
|
|
12
|
+
"wrap": "_wrap_jsse2c_27",
|
|
13
|
+
"close": "_close_jsse2c_86"
|
|
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_ircdwp_3",
|
|
3
|
+
"offset16": "_offset16_ircdwp_7",
|
|
4
|
+
"offset24": "_offset24_ircdwp_10",
|
|
5
|
+
"offset32": "_offset32_ircdwp_13",
|
|
6
|
+
"alignTop": "_alignTop_ircdwp_17",
|
|
7
|
+
"alignMiddle": "_alignMiddle_ircdwp_20",
|
|
8
|
+
"topStart": "_topStart_ircdwp_24",
|
|
9
|
+
"topEnd": "_topEnd_ircdwp_27",
|
|
10
|
+
"leftStart": "_leftStart_ircdwp_30",
|
|
11
|
+
"leftEnd": "_leftEnd_ircdwp_33",
|
|
12
|
+
"tag": "_tag_ircdwp_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.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -22,19 +22,19 @@
|
|
|
22
22
|
"react-compiler-runtime": "^1.0.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@rescui/ui-contexts": "^0.
|
|
25
|
+
"@rescui/ui-contexts": "^0.7.0",
|
|
26
26
|
"prop-types": "^15",
|
|
27
27
|
"react": ">=17.0.0 <20"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rescui/icons": "^1.
|
|
30
|
+
"@rescui/icons": "^1.10.0",
|
|
31
31
|
"@rescui/scripts": "^0.5.3",
|
|
32
|
-
"@rescui/typography": "^0.28.
|
|
32
|
+
"@rescui/typography": "^0.28.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2098d900da98598346991486acbb9e246fb59dc9"
|
|
40
40
|
}
|