@rescui/tag 0.10.15-RUI-230-Update-icons-6919f9e4.29 → 0.10.15-RUI-230-Update-icons-1bfaa24e.31
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/close.js +24 -17
- 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
package/lib/_virtual/close.js
CHANGED
|
@@ -15,31 +15,38 @@ const Size = {
|
|
|
15
15
|
"m": "m",
|
|
16
16
|
"l": "l"
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
const CloseIcon16 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
18
|
+
const CloseIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
20
19
|
viewBox: "0 0 16 16"
|
|
21
|
-
}, props
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
23
|
d: "M2.47 2.47a.75.75 0 0 1 1.06 0L8 6.94l4.47-4.47a.75.75 0 1 1 1.06 1.06L9.06 8l4.47 4.47a.75.75 0 1 1-1.06 1.06L8 9.06l-4.47 4.47a.75.75 0 0 1-1.06-1.06L6.94 8 2.47 3.53a.75.75 0 0 1 0-1.06"
|
|
23
|
-
}));
|
|
24
|
-
|
|
25
|
-
const CloseIcon20 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
24
|
+
})));
|
|
25
|
+
CloseIcon16.displayName = 'CloseIcon16';
|
|
26
|
+
const CloseIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
26
27
|
viewBox: "0 0 20 20"
|
|
27
|
-
}, props
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
31
|
d: "M3.293 3.293a1 1 0 0 1 1.414 0L10 8.586l5.293-5.293a1 1 0 1 1 1.414 1.414L11.414 10l5.293 5.293a1 1 0 0 1-1.414 1.414L10 11.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L8.586 10 3.293 4.707a1 1 0 0 1 0-1.414"
|
|
29
|
-
}));
|
|
30
|
-
|
|
31
|
-
const CloseIcon24 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
|
+
})));
|
|
33
|
+
CloseIcon20.displayName = 'CloseIcon20';
|
|
34
|
+
const CloseIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
32
35
|
viewBox: "0 0 24 24"
|
|
33
|
-
}, props
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
34
39
|
d: "M3.44 3.44a1.5 1.5 0 0 1 2.12 0L12 9.878l6.44-6.44a1.5 1.5 0 0 1 2.12 2.122L14.122 12l6.44 6.44a1.5 1.5 0 0 1-2.122 2.12L12 14.122l-6.44 6.44a1.5 1.5 0 0 1-2.12-2.122L9.878 12l-6.44-6.44a1.5 1.5 0 0 1 0-2.12"
|
|
35
|
-
}));
|
|
36
|
-
|
|
37
|
-
const CloseIcon28 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
40
|
+
})));
|
|
41
|
+
CloseIcon24.displayName = 'CloseIcon24';
|
|
42
|
+
const CloseIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
38
43
|
viewBox: "0 0 28 28"
|
|
39
|
-
}, props
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
40
47
|
d: "M4.44 4.44a1.5 1.5 0 0 1 2.12 0L14 11.878l7.44-7.44a1.5 1.5 0 0 1 2.12 2.122L16.122 14l7.44 7.44a1.5 1.5 0 0 1-2.122 2.12L14 16.122l-7.44 7.44a1.5 1.5 0 0 1-2.12-2.122L11.878 14l-7.44-7.44a1.5 1.5 0 0 1 0-2.12"
|
|
41
|
-
}));
|
|
42
|
-
|
|
48
|
+
})));
|
|
49
|
+
CloseIcon28.displayName = 'CloseIcon28';
|
|
43
50
|
const CloseIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
44
51
|
let {
|
|
45
52
|
theme,
|
|
@@ -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_18715wb_4",
|
|
3
|
+
"sizeXS": "_sizeXS_18715wb_14",
|
|
4
|
+
"sizeS": "_sizeS_18715wb_18",
|
|
5
|
+
"sizeM": "_sizeM_18715wb_22",
|
|
6
|
+
"sizeL": "_sizeL_18715wb_26",
|
|
7
|
+
"light": "_light_18715wb_30",
|
|
8
|
+
"dark": "_dark_18715wb_34",
|
|
9
|
+
"allVariants": "_allVariants_18715wb_48",
|
|
10
|
+
"variant16": "_variant16_18715wb_53",
|
|
11
|
+
"variant20": "_variant20_18715wb_54",
|
|
12
|
+
"variant24": "_variant24_18715wb_55",
|
|
13
|
+
"variant28": "_variant28_18715wb_58"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_18715wb_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_18715wb_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_18715wb_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_18715wb_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_18715wb_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_18715wb_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_18715wb_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_18715wb_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_18715wb_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_18715wb_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,55 +60,55 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_18715wb_48{
|
|
64
64
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
65
|
container:rs-icon / size;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
68
|
-
.
|
|
69
|
-
.
|
|
67
|
+
._variant16_18715wb_53,
|
|
68
|
+
._variant20_18715wb_54,
|
|
69
|
+
._variant24_18715wb_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_18715wb_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_18715wb_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_18715wb_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_18715wb_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_18715wb_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_18715wb_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_18715wb_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._alignIconLeft_16czz7k_7{
|
|
100
100
|
--_rs-tag-flex-direction:row;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._alignIconRight_16czz7k_10{
|
|
103
103
|
--_rs-tag-flex-direction:row-reverse;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._uppercase_16czz7k_14{
|
|
106
106
|
--_rs-tag-text-transform:uppercase;
|
|
107
107
|
--_rs-tag-horizontal-padding-or-initial:var(
|
|
108
108
|
--_rs-tag-uppercase-horizontal-padding
|
|
109
109
|
);
|
|
110
110
|
}
|
|
111
|
-
.
|
|
111
|
+
._sizeXs_16czz7k_18{
|
|
112
112
|
--_rs-tag-vertical-padding:2px;
|
|
113
113
|
--_rs-tag-base-horizontal-padding:8px;
|
|
114
114
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
150
150
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._sizeS_16czz7k_21{
|
|
153
153
|
--_rs-tag-vertical-padding:4px;
|
|
154
154
|
--_rs-tag-base-horizontal-padding:8px;
|
|
155
155
|
--_rs-tag-uppercase-horizontal-padding:10px;
|
|
@@ -188,7 +188,7 @@
|
|
|
188
188
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
189
189
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
190
190
|
}
|
|
191
|
-
.
|
|
191
|
+
._sizeM_16czz7k_24{
|
|
192
192
|
--_rs-tag-vertical-padding:6px;
|
|
193
193
|
--_rs-tag-base-horizontal-padding:12px;
|
|
194
194
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -233,11 +233,11 @@
|
|
|
233
233
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
234
234
|
}
|
|
235
235
|
@media screen and (max-width: 640px){
|
|
236
|
-
.
|
|
236
|
+
._sizeM_16czz7k_24{
|
|
237
237
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
.
|
|
240
|
+
._sizeL_16czz7k_27{
|
|
241
241
|
--_rs-tag-vertical-padding:8px;
|
|
242
242
|
--_rs-tag-base-horizontal-padding:16px;
|
|
243
243
|
--_rs-tag-uppercase-horizontal-padding:var(
|
|
@@ -282,11 +282,11 @@
|
|
|
282
282
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
283
283
|
}
|
|
284
284
|
@media screen and (max-width: 640px){
|
|
285
|
-
.
|
|
285
|
+
._sizeL_16czz7k_27{
|
|
286
286
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
.
|
|
289
|
+
._main_16czz7k_31{
|
|
290
290
|
--_rs-tag-border-width:1px;
|
|
291
291
|
|
|
292
292
|
--_rs-tag-horizontal-padding:var(
|
|
@@ -327,24 +327,24 @@
|
|
|
327
327
|
background:transparent;
|
|
328
328
|
gap:8px;
|
|
329
329
|
}
|
|
330
|
-
.
|
|
330
|
+
._main_16czz7k_31 ._icon_16czz7k_60{
|
|
331
331
|
fill:currentColor;
|
|
332
332
|
|
|
333
333
|
width:auto;
|
|
334
334
|
height:var(--_rs-tag-icon-size);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
.
|
|
337
|
+
._main_eh27q_1{
|
|
338
338
|
border-radius:var(--_rs-tag-border-radius);
|
|
339
339
|
}
|
|
340
340
|
|
|
341
|
-
.
|
|
341
|
+
._themeLight_10cwa6e_7{
|
|
342
342
|
--rs-theme-dark:0;
|
|
343
343
|
}
|
|
344
|
-
.
|
|
344
|
+
._themeDark_10cwa6e_10{
|
|
345
345
|
--rs-theme-dark:1;
|
|
346
346
|
}
|
|
347
|
-
.
|
|
347
|
+
._sizeXs_10cwa6e_14{
|
|
348
348
|
--_rs-tag-removable-vertical-padding:2px;
|
|
349
349
|
--_rs-tag-removable-left-padding:8px;
|
|
350
350
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -352,10 +352,10 @@
|
|
|
352
352
|
--_rs-tag-removable-close-icon-size:28px;
|
|
353
353
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
354
354
|
}
|
|
355
|
-
.
|
|
355
|
+
._sizeXs_10cwa6e_14 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
356
356
|
--_rs-icons-height:20px;
|
|
357
357
|
}
|
|
358
|
-
.
|
|
358
|
+
._sizeXs_10cwa6e_14 {
|
|
359
359
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
360
360
|
--_rs-typography-text-transform:initial;
|
|
361
361
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
390
390
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
391
391
|
}
|
|
392
|
-
.
|
|
392
|
+
._sizeS_10cwa6e_17{
|
|
393
393
|
--_rs-tag-removable-vertical-padding:4px;
|
|
394
394
|
--_rs-tag-removable-left-padding:8px;
|
|
395
395
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -397,10 +397,10 @@
|
|
|
397
397
|
--_rs-tag-removable-close-icon-size:28px;
|
|
398
398
|
--_rs-tag-removable-custom-icon-size:20px;
|
|
399
399
|
}
|
|
400
|
-
.
|
|
400
|
+
._sizeS_10cwa6e_17 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
401
401
|
--_rs-icons-height:20px;
|
|
402
402
|
}
|
|
403
|
-
.
|
|
403
|
+
._sizeS_10cwa6e_17 {
|
|
404
404
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
405
405
|
--_rs-typography-text-transform:initial;
|
|
406
406
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
435
435
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
436
436
|
}
|
|
437
|
-
.
|
|
437
|
+
._sizeM_10cwa6e_20{
|
|
438
438
|
--_rs-tag-removable-vertical-padding:6px;
|
|
439
439
|
--_rs-tag-removable-left-padding:12px;
|
|
440
440
|
--_rs-tag-removable-right-padding:2px;
|
|
@@ -442,10 +442,10 @@
|
|
|
442
442
|
--_rs-tag-removable-close-icon-size:36px;
|
|
443
443
|
--_rs-tag-removable-custom-icon-size:24px;
|
|
444
444
|
}
|
|
445
|
-
.
|
|
445
|
+
._sizeM_10cwa6e_20 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
446
446
|
--_rs-icons-height:24px;
|
|
447
447
|
}
|
|
448
|
-
.
|
|
448
|
+
._sizeM_10cwa6e_20 {
|
|
449
449
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
450
450
|
--_rs-typography-text-transform:initial;
|
|
451
451
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -483,11 +483,11 @@
|
|
|
483
483
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
484
484
|
}
|
|
485
485
|
@media screen and (max-width: 640px){
|
|
486
|
-
.
|
|
486
|
+
._sizeM_10cwa6e_20 {
|
|
487
487
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
.
|
|
490
|
+
._sizeL_10cwa6e_23{
|
|
491
491
|
--_rs-tag-removable-vertical-padding:8px;
|
|
492
492
|
--_rs-tag-removable-left-padding:16px;
|
|
493
493
|
--_rs-tag-removable-right-padding:4px;
|
|
@@ -495,10 +495,10 @@
|
|
|
495
495
|
--_rs-tag-removable-close-icon-size:44px;
|
|
496
496
|
--_rs-tag-removable-custom-icon-size:28px;
|
|
497
497
|
}
|
|
498
|
-
.
|
|
498
|
+
._sizeL_10cwa6e_23 [data-rs-internal="removable-tag__close-icon"]:not(html){
|
|
499
499
|
--_rs-icons-height:28px;
|
|
500
500
|
}
|
|
501
|
-
.
|
|
501
|
+
._sizeL_10cwa6e_23 {
|
|
502
502
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
503
503
|
--_rs-typography-text-transform:initial;
|
|
504
504
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -536,11 +536,11 @@
|
|
|
536
536
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
537
537
|
}
|
|
538
538
|
@media screen and (max-width: 640px){
|
|
539
|
-
.
|
|
539
|
+
._sizeL_10cwa6e_23 {
|
|
540
540
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
.
|
|
543
|
+
._wrapper_10cwa6e_27{
|
|
544
544
|
--_rs-theme-dark:var(
|
|
545
545
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
546
546
|
var(--rs-theme-dark, 0)
|
|
@@ -550,7 +550,7 @@
|
|
|
550
550
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
551
551
|
}
|
|
552
552
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
553
|
-
.
|
|
553
|
+
._wrapper_10cwa6e_27{
|
|
554
554
|
--_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)));
|
|
555
555
|
--_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)));
|
|
556
556
|
--_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)));
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
562
|
-
.
|
|
562
|
+
._wrapper_10cwa6e_27{
|
|
563
563
|
--_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);
|
|
564
564
|
--_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));
|
|
565
565
|
--_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));
|
|
@@ -567,7 +567,7 @@
|
|
|
567
567
|
--_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));
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
|
-
.
|
|
570
|
+
._wrapper_10cwa6e_27 {
|
|
571
571
|
letter-spacing:var(
|
|
572
572
|
--rs-text-base-letter-spacing,
|
|
573
573
|
var(--_rs-typography-letter-spacing)
|
|
@@ -596,17 +596,17 @@
|
|
|
596
596
|
|
|
597
597
|
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);
|
|
598
598
|
}
|
|
599
|
-
.
|
|
599
|
+
._wrapper_10cwa6e_27 > *{
|
|
600
600
|
vertical-align:top;
|
|
601
601
|
}
|
|
602
|
-
.
|
|
602
|
+
._disabled_10cwa6e_50{
|
|
603
603
|
pointer-events:none;
|
|
604
604
|
color:var(
|
|
605
605
|
--rs-color-pale,
|
|
606
606
|
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)
|
|
607
607
|
);
|
|
608
608
|
}
|
|
609
|
-
.
|
|
609
|
+
._main_10cwa6e_55{
|
|
610
610
|
display:inline-flex;
|
|
611
611
|
flex:1 1 auto;
|
|
612
612
|
justify-content:center;
|
|
@@ -620,10 +620,10 @@
|
|
|
620
620
|
|
|
621
621
|
background:transparent;
|
|
622
622
|
}
|
|
623
|
-
.
|
|
623
|
+
._wrap_10cwa6e_27 ._main_10cwa6e_55{
|
|
624
624
|
white-space:normal;
|
|
625
625
|
}
|
|
626
|
-
.
|
|
626
|
+
._close_10cwa6e_74{
|
|
627
627
|
top:0;
|
|
628
628
|
right:0;
|
|
629
629
|
bottom:0;
|
|
@@ -651,33 +651,33 @@
|
|
|
651
651
|
-webkit-font-smoothing:inherit;
|
|
652
652
|
-moz-osx-font-smoothing:inherit;
|
|
653
653
|
}
|
|
654
|
-
.
|
|
654
|
+
._close_10cwa6e_74::-moz-focus-inner{
|
|
655
655
|
padding:0;
|
|
656
656
|
|
|
657
657
|
border:0;
|
|
658
658
|
}
|
|
659
|
-
.
|
|
660
|
-
.
|
|
661
|
-
.
|
|
659
|
+
._close_10cwa6e_74:active,
|
|
660
|
+
._close_10cwa6e_74:hover,
|
|
661
|
+
._close_10cwa6e_74:focus{
|
|
662
662
|
outline:none;
|
|
663
663
|
|
|
664
664
|
text-decoration:none;
|
|
665
665
|
}
|
|
666
|
-
.
|
|
666
|
+
._close_10cwa6e_74:hover{
|
|
667
667
|
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));
|
|
668
668
|
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);
|
|
669
669
|
}
|
|
670
|
-
.
|
|
670
|
+
._close_10cwa6e_74:active{
|
|
671
671
|
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));
|
|
672
672
|
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);
|
|
673
673
|
}
|
|
674
|
-
.
|
|
674
|
+
._close_10cwa6e_74:focus[data-focus-method='key']{
|
|
675
675
|
box-shadow:inset 0 0 0 4px var(--_rs-color-primary-dim);
|
|
676
676
|
}
|
|
677
|
-
.
|
|
677
|
+
._disabled_10cwa6e_50 ._close_10cwa6e_74{
|
|
678
678
|
pointer-events:none;
|
|
679
679
|
}
|
|
680
|
-
.
|
|
680
|
+
._icon_10cwa6e_135{
|
|
681
681
|
flex:1 0 auto;
|
|
682
682
|
|
|
683
683
|
width:auto;
|
|
@@ -690,55 +690,55 @@
|
|
|
690
690
|
fill:currentColor;
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
.
|
|
693
|
+
._wrapper_1fvntdg_3{
|
|
694
694
|
position:relative;
|
|
695
695
|
}
|
|
696
|
-
.
|
|
696
|
+
._offset16_1fvntdg_7{
|
|
697
697
|
--_rs-tag-sticky-side-offset:16px;
|
|
698
698
|
}
|
|
699
|
-
.
|
|
699
|
+
._offset24_1fvntdg_10{
|
|
700
700
|
--_rs-tag-sticky-side-offset:24px;
|
|
701
701
|
}
|
|
702
|
-
.
|
|
702
|
+
._offset32_1fvntdg_13{
|
|
703
703
|
--_rs-tag-sticky-side-offset:32px;
|
|
704
704
|
}
|
|
705
|
-
.
|
|
705
|
+
._alignTop_1fvntdg_17{
|
|
706
706
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius) var(--_rs-tag-border-radius) 0 0;
|
|
707
707
|
--_rs-tag-sticky-translate-y:-100%;
|
|
708
708
|
}
|
|
709
|
-
.
|
|
709
|
+
._alignMiddle_1fvntdg_20{
|
|
710
710
|
--_rs-tag-sticky-border-radius:var(--_rs-tag-border-radius);
|
|
711
711
|
--_rs-tag-sticky-translate-y:-50%;
|
|
712
712
|
}
|
|
713
|
-
.
|
|
713
|
+
._topStart_1fvntdg_24{
|
|
714
714
|
--_rs-tag-sticky-top:0;
|
|
715
715
|
--_rs-tag-sticky-right:initial;
|
|
716
716
|
--_rs-tag-sticky-left:var(--_rs-tag-sticky-side-offset);
|
|
717
717
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
718
718
|
--_rs-tag-sticky-transform-origin:initial;
|
|
719
719
|
}
|
|
720
|
-
.
|
|
720
|
+
._topEnd_1fvntdg_27{
|
|
721
721
|
--_rs-tag-sticky-top:0;
|
|
722
722
|
--_rs-tag-sticky-right:var(--_rs-tag-sticky-side-offset);
|
|
723
723
|
--_rs-tag-sticky-left:initial;
|
|
724
724
|
--_rs-tag-sticky-transform:translate(0, var(--_rs-tag-sticky-translate-y));
|
|
725
725
|
--_rs-tag-sticky-transform-origin:initial;
|
|
726
726
|
}
|
|
727
|
-
.
|
|
727
|
+
._leftStart_1fvntdg_30{
|
|
728
728
|
--_rs-tag-sticky-top:var(--_rs-tag-sticky-side-offset);
|
|
729
729
|
--_rs-tag-sticky-right:100%;
|
|
730
730
|
--_rs-tag-sticky-left:initial;
|
|
731
731
|
--_rs-tag-sticky-transform:rotate(270deg) translate(0, var(--_rs-tag-sticky-translate-y));
|
|
732
732
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
733
733
|
}
|
|
734
|
-
.
|
|
734
|
+
._leftEnd_1fvntdg_33{
|
|
735
735
|
--_rs-tag-sticky-top:calc(100% - var(--_rs-tag-sticky-side-offset));
|
|
736
736
|
--_rs-tag-sticky-right:100%;
|
|
737
737
|
--_rs-tag-sticky-left:initial;
|
|
738
738
|
--_rs-tag-sticky-transform:rotate(270deg) translate(100%, var(--_rs-tag-sticky-translate-y));
|
|
739
739
|
--_rs-tag-sticky-transform-origin:100% 0;
|
|
740
740
|
}
|
|
741
|
-
.
|
|
741
|
+
._tag_1fvntdg_37{
|
|
742
742
|
position:absolute;
|
|
743
743
|
top:var(--_rs-tag-sticky-top);
|
|
744
744
|
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_16czz7k_7",
|
|
3
|
+
"alignIconRight": "_alignIconRight_16czz7k_10",
|
|
4
|
+
"uppercase": "_uppercase_16czz7k_14",
|
|
5
|
+
"sizeXs": "_sizeXs_16czz7k_18",
|
|
6
|
+
"sizeS": "_sizeS_16czz7k_21",
|
|
7
|
+
"sizeM": "_sizeM_16czz7k_24",
|
|
8
|
+
"sizeL": "_sizeL_16czz7k_27",
|
|
9
|
+
"main": "_main_16czz7k_31",
|
|
10
|
+
"icon": "_icon_16czz7k_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_10cwa6e_7",
|
|
3
|
+
"themeDark": "_themeDark_10cwa6e_10",
|
|
4
|
+
"sizeXs": "_sizeXs_10cwa6e_14",
|
|
5
|
+
"sizeS": "_sizeS_10cwa6e_17",
|
|
6
|
+
"sizeM": "_sizeM_10cwa6e_20",
|
|
7
|
+
"sizeL": "_sizeL_10cwa6e_23",
|
|
8
|
+
"wrapper": "_wrapper_10cwa6e_27",
|
|
9
|
+
"disabled": "_disabled_10cwa6e_50",
|
|
10
|
+
"main": "_main_10cwa6e_55",
|
|
11
|
+
"wrap": "_wrap_10cwa6e_27",
|
|
12
|
+
"close": "_close_10cwa6e_74",
|
|
13
|
+
"icon": "_icon_10cwa6e_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_1fvntdg_3",
|
|
3
|
+
"offset16": "_offset16_1fvntdg_7",
|
|
4
|
+
"offset24": "_offset24_1fvntdg_10",
|
|
5
|
+
"offset32": "_offset32_1fvntdg_13",
|
|
6
|
+
"alignTop": "_alignTop_1fvntdg_17",
|
|
7
|
+
"alignMiddle": "_alignMiddle_1fvntdg_20",
|
|
8
|
+
"topStart": "_topStart_1fvntdg_24",
|
|
9
|
+
"topEnd": "_topEnd_1fvntdg_27",
|
|
10
|
+
"leftStart": "_leftStart_1fvntdg_30",
|
|
11
|
+
"leftEnd": "_leftEnd_1fvntdg_33",
|
|
12
|
+
"tag": "_tag_1fvntdg_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.15-RUI-230-Update-icons-
|
|
3
|
+
"version": "0.10.15-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/colors": "0.2.7-RUI-230-Update-icons-
|
|
19
|
+
"@rescui/colors": "0.2.7-RUI-230-Update-icons-1bfaa24e.55+1bfaa24e",
|
|
20
20
|
"classnames": "^2.3.1"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
"react": ">=16.8.0 <19"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/icons": "0.16.15-RUI-230-Update-icons-
|
|
28
|
+
"@rescui/icons": "0.16.15-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e",
|
|
29
29
|
"@rescui/scripts": "0.3.5",
|
|
30
|
-
"@rescui/typography": "0.21.1-RUI-230-Update-icons-
|
|
30
|
+
"@rescui/typography": "0.21.1-RUI-230-Update-icons-1bfaa24e.31+1bfaa24e"
|
|
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": "1bfaa24e81b1a94b625304e660d29d1b3eb3d71d"
|
|
38
38
|
}
|