@rescui/tag 0.5.2 → 0.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.css CHANGED
@@ -1,4 +1,180 @@
1
- ._wrapper_4pf24a_36{
1
+ ._main_1mod0in_25{
2
+ letter-spacing:0.0015em;
3
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
4
+ font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
5
+ -webkit-font-feature-settings:"kern", "liga", "calt";
6
+ font-feature-settings:"kern", "liga", "calt";
7
+ font-size:16px;
8
+ font-size:var(--rs-text-2-font-size, 16px);
9
+ font-weight:400;
10
+ line-height:24px;
11
+ line-height:var(--rs-text-2-line-height, 24px);
12
+ }
13
+ ._rs-reset-letter-spacing_1mod0in_1 ._main_1mod0in_25{
14
+ letter-spacing:normal;
15
+ }
16
+ ._main_1mod0in_25 {
17
+
18
+ position:relative;
19
+
20
+ display:-webkit-inline-box;
21
+
22
+ display:-ms-inline-flexbox;
23
+
24
+ display:inline-flex;
25
+ -webkit-box-pack:center;
26
+ -ms-flex-pack:center;
27
+ justify-content:center;
28
+ -webkit-box-align:center;
29
+ -ms-flex-align:center;
30
+ align-items:center;
31
+
32
+ -webkit-box-sizing:border-box;
33
+
34
+ box-sizing:border-box;
35
+
36
+ border:1px solid transparent;
37
+ outline:none;
38
+
39
+ text-align:center;
40
+ white-space:nowrap;
41
+ text-decoration:none;
42
+
43
+ background:transparent;
44
+ }
45
+ ._alignIconLeft_1mod0in_46{
46
+ -webkit-box-orient:horizontal;
47
+ -webkit-box-direction:normal;
48
+ -ms-flex-direction:row;
49
+ flex-direction:row;
50
+ }
51
+ ._alignIconRight_1mod0in_50{
52
+ -webkit-box-orient:horizontal;
53
+ -webkit-box-direction:reverse;
54
+ -ms-flex-direction:row-reverse;
55
+ flex-direction:row-reverse;
56
+ }
57
+ ._sizeXs_1mod0in_54{
58
+ letter-spacing:0.0045em;
59
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
60
+ font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
61
+ -webkit-font-feature-settings:"kern", "liga", "calt";
62
+ font-feature-settings:"kern", "liga", "calt";
63
+ font-size:13px;
64
+ font-size:var(--rs-text-3-font-size, 13px);
65
+ line-height:20px;
66
+ line-height:var(--rs-text-3-line-height, 20px);
67
+ }
68
+ ._rs-reset-letter-spacing_1mod0in_1 ._sizeXs_1mod0in_54{
69
+ letter-spacing:normal;
70
+ }
71
+ ._sizeXs_1mod0in_54 {
72
+
73
+ padding:1px 7px;
74
+ }
75
+ ._sizeS_1mod0in_61{
76
+ letter-spacing:0.0045em;
77
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
78
+ font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
79
+ -webkit-font-feature-settings:"kern", "liga", "calt";
80
+ font-feature-settings:"kern", "liga", "calt";
81
+ font-size:13px;
82
+ font-size:var(--rs-text-3-font-size, 13px);
83
+ line-height:20px;
84
+ line-height:var(--rs-text-3-line-height, 20px);
85
+ }
86
+ ._rs-reset-letter-spacing_1mod0in_1 ._sizeS_1mod0in_61{
87
+ letter-spacing:normal;
88
+ }
89
+ ._sizeS_1mod0in_61 {
90
+
91
+ padding:3px 7px;
92
+ }
93
+ ._sizeM_1mod0in_68{
94
+ letter-spacing:0.0015em;
95
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
96
+ font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
97
+ -webkit-font-feature-settings:"kern", "liga", "calt";
98
+ font-feature-settings:"kern", "liga", "calt";
99
+ font-size:16px;
100
+ font-size:var(--rs-text-2-font-size, 16px);
101
+ font-weight:400;
102
+ line-height:24px;
103
+ line-height:var(--rs-text-2-line-height, 24px);
104
+ }
105
+ ._rs-reset-letter-spacing_1mod0in_1 ._sizeM_1mod0in_68{
106
+ letter-spacing:normal;
107
+ }
108
+ ._sizeM_1mod0in_68 {
109
+
110
+ padding:5px 11px;
111
+ }
112
+ ._sizeL_1mod0in_75{
113
+ font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
114
+ font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
115
+ -webkit-font-feature-settings:"kern", "liga", "calt";
116
+ font-feature-settings:"kern", "liga", "calt";
117
+ font-size:20px;
118
+ font-size:var(--rs-text-1-font-size, 20px);
119
+ font-weight:normal;
120
+ line-height:28px;
121
+ line-height:var(--rs-text-1-line-height, 28px);
122
+
123
+ padding:7px 15px;
124
+ }
125
+ ._icon_1mod0in_82{
126
+ fill:currentColor;
127
+ }
128
+ ._sizeXs_1mod0in_54 ._icon_1mod0in_82{
129
+ width:20px;
130
+ height:20px;
131
+ }
132
+ ._sizeS_1mod0in_61 ._icon_1mod0in_82{
133
+ width:20px;
134
+ height:20px;
135
+ }
136
+ ._sizeM_1mod0in_68 ._icon_1mod0in_82{
137
+ width:24px;
138
+ height:24px;
139
+ }
140
+ ._sizeL_1mod0in_75 ._icon_1mod0in_82{
141
+ width:28px;
142
+ height:28px;
143
+ }
144
+ ._alignIconLeft_1mod0in_46 ._icon_1mod0in_82{
145
+ margin-right:8px;
146
+ margin-left:0;
147
+ }
148
+ ._alignIconRight_1mod0in_50 ._icon_1mod0in_82{
149
+ margin-right:0;
150
+ margin-left:8px;
151
+ }
152
+ ._uppercase_1mod0in_116{
153
+ text-transform:uppercase;
154
+
155
+ font-weight:530;
156
+
157
+ font-weight:var(--rs-font-weight-semi-bold, 530);
158
+ }
159
+ ._uppercase_1mod0in_116._sizeS_1mod0in_61{
160
+ padding-right:9px;
161
+ padding-left:9px;
162
+ }
163
+
164
+ ._sizeXs_1nr9mrf_9{
165
+ border-radius:4px;
166
+ }
167
+ ._sizeS_1nr9mrf_13{
168
+ border-radius:4px;
169
+ }
170
+ ._sizeM_1nr9mrf_17{
171
+ border-radius:6px;
172
+ }
173
+ ._sizeL_1nr9mrf_21{
174
+ border-radius:8px;
175
+ }
176
+
177
+ ._wrapper_ygdgwo_36{
2
178
  position:relative;
3
179
 
4
180
  display:-webkit-inline-box;
@@ -10,11 +186,11 @@
10
186
  white-space:nowrap;
11
187
  }
12
188
 
13
- ._wrapper_4pf24a_36 > *{
189
+ ._wrapper_ygdgwo_36 > *{
14
190
  vertical-align:top;
15
191
  }
16
- ._sizeXs_4pf24a_48,
17
- ._sizeS_4pf24a_49{
192
+ ._sizeXs_ygdgwo_48,
193
+ ._sizeS_ygdgwo_49{
18
194
  letter-spacing:0.0045em;
19
195
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
20
196
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
@@ -25,10 +201,10 @@
25
201
  line-height:20px;
26
202
  line-height:var(--rs-text-3-line-height, 20px);
27
203
  }
28
- ._rs-reset-letter-spacing_4pf24a_1 ._sizeXs_4pf24a_48,._rs-reset-letter-spacing_4pf24a_1 ._sizeS_4pf24a_49{
204
+ ._rs-reset-letter-spacing_ygdgwo_1 ._sizeXs_ygdgwo_48,._rs-reset-letter-spacing_ygdgwo_1 ._sizeS_ygdgwo_49{
29
205
  letter-spacing:normal;
30
206
  }
31
- ._sizeM_4pf24a_53{
207
+ ._sizeM_ygdgwo_53{
32
208
  letter-spacing:0.0015em;
33
209
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
34
210
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
@@ -40,10 +216,10 @@
40
216
  line-height:24px;
41
217
  line-height:var(--rs-text-2-line-height, 24px);
42
218
  }
43
- ._rs-reset-letter-spacing_4pf24a_1 ._sizeM_4pf24a_53{
219
+ ._rs-reset-letter-spacing_ygdgwo_1 ._sizeM_ygdgwo_53{
44
220
  letter-spacing:normal;
45
221
  }
46
- ._sizeL_4pf24a_57{
222
+ ._sizeL_ygdgwo_57{
47
223
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
48
224
  font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
49
225
  -webkit-font-feature-settings:"kern", "liga", "calt";
@@ -54,52 +230,52 @@
54
230
  line-height:28px;
55
231
  line-height:var(--rs-text-1-line-height, 28px);
56
232
  }
57
- ._themeLight_4pf24a_61{
233
+ ._themeLight_ygdgwo_61{
58
234
  color:rgba(25,25,28,0.7);
59
235
  color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
60
236
  }
61
- ._themeLight_4pf24a_61._disabled_4pf24a_65{
237
+ ._themeLight_ygdgwo_61._disabled_ygdgwo_65{
62
238
  color:rgba(25,25,28,0.5);
63
239
  color:var(--rs-typography-color-pale, rgba(25,25,28,0.5));
64
240
  }
65
- ._themeDark_4pf24a_69{
241
+ ._themeDark_ygdgwo_69{
66
242
  color:rgba(255,255,255,0.7);
67
243
  color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
68
244
  }
69
- ._themeDark_4pf24a_69._disabled_4pf24a_65{
245
+ ._themeDark_ygdgwo_69._disabled_ygdgwo_65{
70
246
  color:rgba(255,255,255,0.5);
71
247
  color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
72
248
  }
73
- ._disabled_4pf24a_65{
249
+ ._disabled_ygdgwo_65{
74
250
  pointer-events:none;
75
251
  }
76
- ._sizeXs_4pf24a_48{
252
+ ._sizeXs_ygdgwo_48{
77
253
  padding-left:8px;
78
254
 
79
255
  border-radius:4px;
80
256
  }
81
- ._sizeS_4pf24a_49{
257
+ ._sizeS_ygdgwo_49{
82
258
  padding-left:8px;
83
259
 
84
260
  border-radius:4px;
85
261
  }
86
- ._sizeM_4pf24a_53{
262
+ ._sizeM_ygdgwo_53{
87
263
  padding-left:12px;
88
264
 
89
265
  border-radius:6px;
90
266
  }
91
- ._sizeL_4pf24a_57{
267
+ ._sizeL_ygdgwo_57{
92
268
  padding-left:16px;
93
269
 
94
270
  border-radius:8px;
95
271
  }
96
- ._themeLight_4pf24a_61{
272
+ ._themeLight_ygdgwo_61{
97
273
  background-color:rgba(25,25,28,0.1);
98
274
  }
99
- ._themeDark_4pf24a_69{
275
+ ._themeDark_ygdgwo_69{
100
276
  background-color:rgba(255,255,255,0.1);
101
277
  }
102
- ._main_4pf24a_110{
278
+ ._main_ygdgwo_110{
103
279
  display:-webkit-inline-box;
104
280
  display:-ms-inline-flexbox;
105
281
  display:inline-flex;
@@ -117,30 +293,30 @@
117
293
 
118
294
  background:transparent;
119
295
  }
120
- ._wrap_4pf24a_36 ._main_4pf24a_110{
296
+ ._wrap_ygdgwo_36 ._main_ygdgwo_110{
121
297
  white-space:normal;
122
298
  }
123
- ._sizeXs_4pf24a_48 ._main_4pf24a_110{
299
+ ._sizeXs_ygdgwo_48 ._main_ygdgwo_110{
124
300
  padding-top:2px;
125
301
  padding-right:2px;
126
302
  padding-bottom:2px;
127
303
  }
128
- ._sizeS_4pf24a_49 ._main_4pf24a_110{
304
+ ._sizeS_ygdgwo_49 ._main_ygdgwo_110{
129
305
  padding-top:4px;
130
306
  padding-right:2px;
131
307
  padding-bottom:4px;
132
308
  }
133
- ._sizeM_4pf24a_53 ._main_4pf24a_110{
309
+ ._sizeM_ygdgwo_53 ._main_ygdgwo_110{
134
310
  padding-top:6px;
135
311
  padding-right:2px;
136
312
  padding-bottom:6px;
137
313
  }
138
- ._sizeL_4pf24a_57 ._main_4pf24a_110{
314
+ ._sizeL_ygdgwo_57 ._main_ygdgwo_110{
139
315
  padding-top:8px;
140
316
  padding-right:4px;
141
317
  padding-bottom:8px;
142
318
  }
143
- ._close_4pf24a_146{
319
+ ._close_ygdgwo_146{
144
320
  top:0;
145
321
  right:0;
146
322
  bottom:0;
@@ -176,70 +352,70 @@
176
352
  -webkit-font-smoothing:inherit;
177
353
  -moz-osx-font-smoothing:inherit;
178
354
  }
179
- ._close_4pf24a_146::-moz-focus-inner{
355
+ ._close_ygdgwo_146::-moz-focus-inner{
180
356
  padding:0;
181
357
 
182
358
  border:0;
183
359
  }
184
- ._close_4pf24a_146:active,
185
- ._close_4pf24a_146:hover,
186
- ._close_4pf24a_146:focus{
360
+ ._close_ygdgwo_146:active,
361
+ ._close_ygdgwo_146:hover,
362
+ ._close_ygdgwo_146:focus{
187
363
  outline:none;
188
364
 
189
365
  text-decoration:none;
190
366
  }
191
- ._sizeXs_4pf24a_48 ._close_4pf24a_146{
367
+ ._sizeXs_ygdgwo_48 ._close_ygdgwo_146{
192
368
  width:28px;
193
369
 
194
370
  border-radius:4px;
195
371
  }
196
- ._sizeS_4pf24a_49 ._close_4pf24a_146{
372
+ ._sizeS_ygdgwo_49 ._close_ygdgwo_146{
197
373
  width:28px;
198
374
 
199
375
  border-radius:4px;
200
376
  }
201
- ._sizeM_4pf24a_53 ._close_4pf24a_146{
377
+ ._sizeM_ygdgwo_53 ._close_ygdgwo_146{
202
378
  width:36px;
203
379
 
204
380
  border-radius:6px;
205
381
  }
206
- ._sizeL_4pf24a_57 ._close_4pf24a_146{
382
+ ._sizeL_ygdgwo_57 ._close_ygdgwo_146{
207
383
  width:44px;
208
384
 
209
385
  border-radius:8px;
210
386
  }
211
- ._disabled_4pf24a_65 ._close_4pf24a_146{
387
+ ._disabled_ygdgwo_65 ._close_ygdgwo_146{
212
388
  pointer-events:none;
213
389
  }
214
- ._themeLight_4pf24a_61 ._close_4pf24a_146:hover{
390
+ ._themeLight_ygdgwo_61 ._close_ygdgwo_146:hover{
215
391
  color:#19191C;
216
392
  background-color:rgba(25,25,28,0.1);
217
393
  }
218
- ._themeDark_4pf24a_69 ._close_4pf24a_146:hover{
394
+ ._themeDark_ygdgwo_69 ._close_ygdgwo_146:hover{
219
395
  color:#FFFFFF;
220
396
  background-color:rgba(255,255,255,0.1);
221
397
  }
222
- ._themeLight_4pf24a_61 ._close_4pf24a_146:active{
398
+ ._themeLight_ygdgwo_61 ._close_ygdgwo_146:active{
223
399
  color:#19191C;
224
400
  background-color:rgba(25,25,28,0.2);
225
401
  }
226
- ._themeDark_4pf24a_69 ._close_4pf24a_146:active{
402
+ ._themeDark_ygdgwo_69 ._close_ygdgwo_146:active{
227
403
  color:#FFFFFF;
228
404
  background-color:rgba(255,255,255,0.2);
229
405
  }
230
- ._themeLight_4pf24a_61 ._close_4pf24a_146:focus[data-focus-method='key']{
406
+ ._themeLight_ygdgwo_61 ._close_ygdgwo_146:focus[data-focus-method='key']{
231
407
  -webkit-box-shadow:inset 0 0 0 4px #8979ff;
232
408
  -webkit-box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-light-theme, #8979ff);
233
409
  box-shadow:inset 0 0 0 4px #8979ff;
234
410
  box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-light-theme, #8979ff);
235
411
  }
236
- ._themeDark_4pf24a_69 ._close_4pf24a_146:focus[data-focus-method='key']{
412
+ ._themeDark_ygdgwo_69 ._close_ygdgwo_146:focus[data-focus-method='key']{
237
413
  -webkit-box-shadow:inset 0 0 0 4px #6f61d2;
238
414
  -webkit-box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-dark-theme, #6f61d2);
239
415
  box-shadow:inset 0 0 0 4px #6f61d2;
240
416
  box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-dark-theme, #6f61d2);
241
417
  }
242
- ._icon_4pf24a_243{
418
+ ._icon_ygdgwo_243{
243
419
  -webkit-box-flex:1;
244
420
  -ms-flex:1 0 auto;
245
421
  flex:1 0 auto;
@@ -249,304 +425,128 @@
249
425
  vertical-align:top;
250
426
  fill:currentColor;
251
427
  }
252
- ._sizeXs_4pf24a_48 ._icon_4pf24a_243{
428
+ ._sizeXs_ygdgwo_48 ._icon_ygdgwo_243{
253
429
  width:20px;
254
430
  height:20px;
255
431
  margin-top:2px;
256
432
  margin-bottom:2px;
257
433
  }
258
- ._sizeS_4pf24a_49 ._icon_4pf24a_243{
434
+ ._sizeS_ygdgwo_49 ._icon_ygdgwo_243{
259
435
  width:20px;
260
436
  height:20px;
261
437
  margin-top:4px;
262
438
  margin-bottom:4px;
263
439
  }
264
- ._sizeM_4pf24a_53 ._icon_4pf24a_243{
440
+ ._sizeM_ygdgwo_53 ._icon_ygdgwo_243{
265
441
  width:24px;
266
442
  height:24px;
267
443
  margin-top:6px;
268
444
  margin-bottom:6px;
269
445
  }
270
- ._sizeL_4pf24a_57 ._icon_4pf24a_243{
446
+ ._sizeL_ygdgwo_57 ._icon_ygdgwo_243{
271
447
  width:28px;
272
448
  height:28px;
273
449
  margin-top:8px;
274
450
  margin-bottom:8px;
275
451
  }
276
452
 
277
- ._main_euhngd_25{
278
- letter-spacing:0.0015em;
279
- font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
280
- font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
281
- -webkit-font-feature-settings:"kern", "liga", "calt";
282
- font-feature-settings:"kern", "liga", "calt";
283
- font-size:16px;
284
- font-size:var(--rs-text-2-font-size, 16px);
285
- font-weight:400;
286
- line-height:24px;
287
- line-height:var(--rs-text-2-line-height, 24px);
288
- }
289
- ._rs-reset-letter-spacing_euhngd_1 ._main_euhngd_25{
290
- letter-spacing:normal;
291
- }
292
- ._main_euhngd_25 {
293
-
294
- position:relative;
295
-
296
- display:-webkit-inline-box;
297
-
298
- display:-ms-inline-flexbox;
299
-
300
- display:inline-flex;
301
- -webkit-box-pack:center;
302
- -ms-flex-pack:center;
303
- justify-content:center;
304
- -webkit-box-align:center;
305
- -ms-flex-align:center;
306
- align-items:center;
307
-
308
- -webkit-box-sizing:border-box;
309
-
310
- box-sizing:border-box;
311
-
312
- border:1px solid transparent;
313
- outline:none;
314
-
315
- text-align:center;
316
- white-space:nowrap;
317
- text-decoration:none;
318
-
319
- background:transparent;
320
- }
321
- ._alignIconLeft_euhngd_46{
322
- -webkit-box-orient:horizontal;
323
- -webkit-box-direction:normal;
324
- -ms-flex-direction:row;
325
- flex-direction:row;
326
- }
327
- ._alignIconRight_euhngd_50{
328
- -webkit-box-orient:horizontal;
329
- -webkit-box-direction:reverse;
330
- -ms-flex-direction:row-reverse;
331
- flex-direction:row-reverse;
332
- }
333
- ._sizeXs_euhngd_54{
334
- letter-spacing:0.0045em;
335
- font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
336
- font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
337
- -webkit-font-feature-settings:"kern", "liga", "calt";
338
- font-feature-settings:"kern", "liga", "calt";
339
- font-size:13px;
340
- font-size:var(--rs-text-3-font-size, 13px);
341
- line-height:20px;
342
- line-height:var(--rs-text-3-line-height, 20px);
343
- }
344
- ._rs-reset-letter-spacing_euhngd_1 ._sizeXs_euhngd_54{
345
- letter-spacing:normal;
346
- }
347
- ._sizeXs_euhngd_54 {
348
-
349
- padding:1px 7px;
350
- }
351
- ._sizeS_euhngd_61{
352
- letter-spacing:0.0045em;
353
- font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
354
- font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
355
- -webkit-font-feature-settings:"kern", "liga", "calt";
356
- font-feature-settings:"kern", "liga", "calt";
357
- font-size:13px;
358
- font-size:var(--rs-text-3-font-size, 13px);
359
- line-height:20px;
360
- line-height:var(--rs-text-3-line-height, 20px);
361
- }
362
- ._rs-reset-letter-spacing_euhngd_1 ._sizeS_euhngd_61{
363
- letter-spacing:normal;
364
- }
365
- ._sizeS_euhngd_61 {
366
-
367
- padding:3px 7px;
368
- }
369
- ._sizeM_euhngd_68{
370
- letter-spacing:0.0015em;
371
- font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
372
- font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
373
- -webkit-font-feature-settings:"kern", "liga", "calt";
374
- font-feature-settings:"kern", "liga", "calt";
375
- font-size:16px;
376
- font-size:var(--rs-text-2-font-size, 16px);
377
- font-weight:400;
378
- line-height:24px;
379
- line-height:var(--rs-text-2-line-height, 24px);
380
- }
381
- ._rs-reset-letter-spacing_euhngd_1 ._sizeM_euhngd_68{
382
- letter-spacing:normal;
383
- }
384
- ._sizeM_euhngd_68 {
385
-
386
- padding:5px 11px;
387
- }
388
- ._sizeL_euhngd_75{
389
- font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
390
- font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
391
- -webkit-font-feature-settings:"kern", "liga", "calt";
392
- font-feature-settings:"kern", "liga", "calt";
393
- font-size:20px;
394
- font-size:var(--rs-text-1-font-size, 20px);
395
- font-weight:normal;
396
- line-height:28px;
397
- line-height:var(--rs-text-1-line-height, 28px);
398
-
399
- padding:7px 15px;
400
- }
401
- ._icon_euhngd_82{
402
- fill:currentColor;
403
- }
404
- ._sizeXs_euhngd_54 ._icon_euhngd_82{
405
- width:20px;
406
- height:20px;
407
- }
408
- ._sizeS_euhngd_61 ._icon_euhngd_82{
409
- width:20px;
410
- height:20px;
411
- }
412
- ._sizeM_euhngd_68 ._icon_euhngd_82{
413
- width:24px;
414
- height:24px;
415
- }
416
- ._sizeL_euhngd_75 ._icon_euhngd_82{
417
- width:28px;
418
- height:28px;
419
- }
420
- ._alignIconLeft_euhngd_46 ._icon_euhngd_82{
421
- margin-right:8px;
422
- margin-left:0;
423
- }
424
- ._alignIconRight_euhngd_50 ._icon_euhngd_82{
425
- margin-right:0;
426
- margin-left:8px;
427
- }
428
- ._uppercase_euhngd_116{
429
- text-transform:uppercase;
430
-
431
- font-weight:530;
432
-
433
- font-weight:var(--rs-font-weight-semi-bold, 530);
434
- }
435
- ._uppercase_euhngd_116._sizeS_euhngd_61{
436
- padding-right:9px;
437
- padding-left:9px;
438
- }
439
-
440
- ._wrapper_1cmozrk_10{
453
+ ._wrapper_dmgtgy_10{
441
454
  position:relative;
442
455
  }
443
- ._tag_1cmozrk_14{
456
+ ._tag_dmgtgy_14{
444
457
  position:absolute;
445
458
  }
446
- ._alignTop_1cmozrk_20._sizeXs_1cmozrk_21{
459
+ ._alignTop_dmgtgy_20._sizeXs_dmgtgy_21{
447
460
  border-radius:4px 4px 0 0;
448
461
  }
449
- ._alignTop_1cmozrk_20._sizeS_1cmozrk_24{
462
+ ._alignTop_dmgtgy_20._sizeS_dmgtgy_24{
450
463
  border-radius:4px 4px 0 0;
451
464
  }
452
- ._alignTop_1cmozrk_20._sizeM_1cmozrk_27{
465
+ ._alignTop_dmgtgy_20._sizeM_dmgtgy_27{
453
466
  border-radius:6px 6px 0 0;
454
467
  }
455
- ._alignTop_1cmozrk_20._sizeL_1cmozrk_30{
468
+ ._alignTop_dmgtgy_20._sizeL_dmgtgy_30{
456
469
  border-radius:8px 8px 0 0;
457
470
  }
458
- ._alignMiddle_1cmozrk_35._sizeXs_1cmozrk_21{
471
+ ._alignMiddle_dmgtgy_35._sizeXs_dmgtgy_21{
459
472
  border-radius:4px;
460
473
  }
461
- ._alignMiddle_1cmozrk_35._sizeS_1cmozrk_24{
474
+ ._alignMiddle_dmgtgy_35._sizeS_dmgtgy_24{
462
475
  border-radius:4px;
463
476
  }
464
- ._alignMiddle_1cmozrk_35._sizeM_1cmozrk_27{
477
+ ._alignMiddle_dmgtgy_35._sizeM_dmgtgy_27{
465
478
  border-radius:6px;
466
479
  }
467
- ._alignMiddle_1cmozrk_35._sizeL_1cmozrk_30{
480
+ ._alignMiddle_dmgtgy_35._sizeL_dmgtgy_30{
468
481
  border-radius:8px;
469
482
  }
470
- ._top_1cmozrk_52{
483
+ ._top_dmgtgy_52{
471
484
  top:0;
472
485
  }
473
- ._top_1cmozrk_52._start_1cmozrk_56._offset16_1cmozrk_57{
486
+ ._top_dmgtgy_52._start_dmgtgy_56._offset16_dmgtgy_57{
474
487
  left:16px;
475
488
  }
476
- ._top_1cmozrk_52._start_1cmozrk_56._offset24_1cmozrk_60{
489
+ ._top_dmgtgy_52._start_dmgtgy_56._offset24_dmgtgy_60{
477
490
  left:24px;
478
491
  }
479
- ._top_1cmozrk_52._start_1cmozrk_56._offset32_1cmozrk_63{
492
+ ._top_dmgtgy_52._start_dmgtgy_56._offset32_dmgtgy_63{
480
493
  left:32px;
481
494
  }
482
- ._top_1cmozrk_52._end_1cmozrk_68._offset16_1cmozrk_57{
495
+ ._top_dmgtgy_52._end_dmgtgy_68._offset16_dmgtgy_57{
483
496
  right:16px;
484
497
  }
485
- ._top_1cmozrk_52._end_1cmozrk_68._offset24_1cmozrk_60{
498
+ ._top_dmgtgy_52._end_dmgtgy_68._offset24_dmgtgy_60{
486
499
  right:24px;
487
500
  }
488
- ._top_1cmozrk_52._end_1cmozrk_68._offset32_1cmozrk_63{
501
+ ._top_dmgtgy_52._end_dmgtgy_68._offset32_dmgtgy_63{
489
502
  right:32px;
490
503
  }
491
- ._top_1cmozrk_52._alignTop_1cmozrk_20{
504
+ ._top_dmgtgy_52._alignTop_dmgtgy_20{
492
505
  -webkit-transform:translate(0, -100%);
493
506
  transform:translate(0, -100%);
494
507
  }
495
- ._top_1cmozrk_52._alignMiddle_1cmozrk_35{
508
+ ._top_dmgtgy_52._alignMiddle_dmgtgy_35{
496
509
  -webkit-transform:translate(0, -50%);
497
510
  transform:translate(0, -50%);
498
511
  }
499
- ._left_1cmozrk_90{
512
+ ._left_dmgtgy_90{
500
513
  right:100%;
501
514
 
502
515
  -webkit-transform-origin:100% 0;
503
516
 
504
517
  transform-origin:100% 0;
505
518
  }
506
- ._left_1cmozrk_90._start_1cmozrk_56._offset16_1cmozrk_57{
519
+ ._left_dmgtgy_90._start_dmgtgy_56._offset16_dmgtgy_57{
507
520
  top:16px;
508
521
  }
509
- ._left_1cmozrk_90._start_1cmozrk_56._offset24_1cmozrk_60{
522
+ ._left_dmgtgy_90._start_dmgtgy_56._offset24_dmgtgy_60{
510
523
  top:24px;
511
524
  }
512
- ._left_1cmozrk_90._start_1cmozrk_56._offset32_1cmozrk_63{
525
+ ._left_dmgtgy_90._start_dmgtgy_56._offset32_dmgtgy_63{
513
526
  top:32px;
514
527
  }
515
- ._left_1cmozrk_90._end_1cmozrk_68._offset16_1cmozrk_57{
528
+ ._left_dmgtgy_90._end_dmgtgy_68._offset16_dmgtgy_57{
516
529
  top:calc(100% - 16px);
517
530
  }
518
- ._left_1cmozrk_90._end_1cmozrk_68._offset24_1cmozrk_60{
531
+ ._left_dmgtgy_90._end_dmgtgy_68._offset24_dmgtgy_60{
519
532
  top:calc(100% - 24px);
520
533
  }
521
- ._left_1cmozrk_90._end_1cmozrk_68._offset32_1cmozrk_63{
534
+ ._left_dmgtgy_90._end_dmgtgy_68._offset32_dmgtgy_63{
522
535
  top:calc(100% - 32px);
523
536
  }
524
- ._left_1cmozrk_90._start_1cmozrk_56._alignTop_1cmozrk_20{
537
+ ._left_dmgtgy_90._start_dmgtgy_56._alignTop_dmgtgy_20{
525
538
  -webkit-transform:rotate(270deg) translate(0, -100%);
526
539
  transform:rotate(270deg) translate(0, -100%);
527
540
  }
528
- ._left_1cmozrk_90._end_1cmozrk_68._alignTop_1cmozrk_20{
541
+ ._left_dmgtgy_90._end_dmgtgy_68._alignTop_dmgtgy_20{
529
542
  -webkit-transform:rotate(270deg) translate(100%, -100%);
530
543
  transform:rotate(270deg) translate(100%, -100%);
531
544
  }
532
- ._left_1cmozrk_90._start_1cmozrk_56._alignMiddle_1cmozrk_35{
545
+ ._left_dmgtgy_90._start_dmgtgy_56._alignMiddle_dmgtgy_35{
533
546
  -webkit-transform:rotate(270deg) translate(0, -50%);
534
547
  transform:rotate(270deg) translate(0, -50%);
535
548
  }
536
- ._left_1cmozrk_90._end_1cmozrk_68._alignMiddle_1cmozrk_35{
549
+ ._left_dmgtgy_90._end_dmgtgy_68._alignMiddle_dmgtgy_35{
537
550
  -webkit-transform:rotate(270deg) translate(100%, -50%);
538
551
  transform:rotate(270deg) translate(100%, -50%);
539
552
  }
540
-
541
- ._sizeXs_17vrz6h_9{
542
- border-radius:4px;
543
- }
544
- ._sizeS_17vrz6h_13{
545
- border-radius:4px;
546
- }
547
- ._sizeM_17vrz6h_17{
548
- border-radius:6px;
549
- }
550
- ._sizeL_17vrz6h_21{
551
- border-radius:8px;
552
- }
package/lib/index.d.ts CHANGED
@@ -1,4 +1,8 @@
1
+ export { Tag } from './tag';
2
+ export type { TagProps } from './tag';
1
3
  export { RemovableTag } from './parts/removable-tag';
4
+ export type { RemovableTagProps } from './parts/removable-tag';
2
5
  export { StickyTag } from './parts/sticky-tag';
3
- export { Tag } from './tag';
6
+ export type { StickyTagProps } from './parts/sticky-tag';
4
7
  export { presets } from './parts/presets';
8
+ export type { Presets, Preset } from './parts/presets';
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import './index.css';
2
+ export { Tag } from './tag.js';
2
3
  export { RemovableTag } from './parts/removable-tag.js';
3
4
  export { StickyTag } from './parts/sticky-tag.js';
4
- export { Tag } from './tag.js';
5
5
  export { presets } from './parts/presets.js';
@@ -1,13 +1,13 @@
1
1
  var styles = {
2
- "main": "_main_euhngd_25",
3
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_euhngd_1",
4
- "alignIconLeft": "_alignIconLeft_euhngd_46",
5
- "alignIconRight": "_alignIconRight_euhngd_50",
6
- "sizeXs": "_sizeXs_euhngd_54",
7
- "sizeS": "_sizeS_euhngd_61",
8
- "sizeM": "_sizeM_euhngd_68",
9
- "sizeL": "_sizeL_euhngd_75",
10
- "icon": "_icon_euhngd_82",
11
- "uppercase": "_uppercase_euhngd_116"
2
+ "main": "_main_1mod0in_25",
3
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_1mod0in_1",
4
+ "alignIconLeft": "_alignIconLeft_1mod0in_46",
5
+ "alignIconRight": "_alignIconRight_1mod0in_50",
6
+ "sizeXs": "_sizeXs_1mod0in_54",
7
+ "sizeS": "_sizeS_1mod0in_61",
8
+ "sizeM": "_sizeM_1mod0in_68",
9
+ "sizeL": "_sizeL_1mod0in_75",
10
+ "icon": "_icon_1mod0in_82",
11
+ "uppercase": "_uppercase_1mod0in_116"
12
12
  };
13
13
  export { styles as default };
@@ -1,16 +1,16 @@
1
1
  var styles = {
2
- "wrapper": "_wrapper_4pf24a_36",
3
- "sizeXs": "_sizeXs_4pf24a_48",
4
- "sizeS": "_sizeS_4pf24a_49",
5
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_4pf24a_1",
6
- "sizeM": "_sizeM_4pf24a_53",
7
- "sizeL": "_sizeL_4pf24a_57",
8
- "themeLight": "_themeLight_4pf24a_61",
9
- "disabled": "_disabled_4pf24a_65",
10
- "themeDark": "_themeDark_4pf24a_69",
11
- "main": "_main_4pf24a_110",
12
- "wrap": "_wrap_4pf24a_36",
13
- "close": "_close_4pf24a_146",
14
- "icon": "_icon_4pf24a_243"
2
+ "wrapper": "_wrapper_ygdgwo_36",
3
+ "sizeXs": "_sizeXs_ygdgwo_48",
4
+ "sizeS": "_sizeS_ygdgwo_49",
5
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_ygdgwo_1",
6
+ "sizeM": "_sizeM_ygdgwo_53",
7
+ "sizeL": "_sizeL_ygdgwo_57",
8
+ "themeLight": "_themeLight_ygdgwo_61",
9
+ "disabled": "_disabled_ygdgwo_65",
10
+ "themeDark": "_themeDark_ygdgwo_69",
11
+ "main": "_main_ygdgwo_110",
12
+ "wrap": "_wrap_ygdgwo_36",
13
+ "close": "_close_ygdgwo_146",
14
+ "icon": "_icon_ygdgwo_243"
15
15
  };
16
16
  export { styles as default };
@@ -1,18 +1,18 @@
1
1
  var styles = {
2
- "wrapper": "_wrapper_1cmozrk_10",
3
- "tag": "_tag_1cmozrk_14",
4
- "alignTop": "_alignTop_1cmozrk_20",
5
- "sizeXs": "_sizeXs_1cmozrk_21",
6
- "sizeS": "_sizeS_1cmozrk_24",
7
- "sizeM": "_sizeM_1cmozrk_27",
8
- "sizeL": "_sizeL_1cmozrk_30",
9
- "alignMiddle": "_alignMiddle_1cmozrk_35",
10
- "top": "_top_1cmozrk_52",
11
- "start": "_start_1cmozrk_56",
12
- "offset16": "_offset16_1cmozrk_57",
13
- "offset24": "_offset24_1cmozrk_60",
14
- "offset32": "_offset32_1cmozrk_63",
15
- "end": "_end_1cmozrk_68",
16
- "left": "_left_1cmozrk_90"
2
+ "wrapper": "_wrapper_dmgtgy_10",
3
+ "tag": "_tag_dmgtgy_14",
4
+ "alignTop": "_alignTop_dmgtgy_20",
5
+ "sizeXs": "_sizeXs_dmgtgy_21",
6
+ "sizeS": "_sizeS_dmgtgy_24",
7
+ "sizeM": "_sizeM_dmgtgy_27",
8
+ "sizeL": "_sizeL_dmgtgy_30",
9
+ "alignMiddle": "_alignMiddle_dmgtgy_35",
10
+ "top": "_top_dmgtgy_52",
11
+ "start": "_start_dmgtgy_56",
12
+ "offset16": "_offset16_dmgtgy_57",
13
+ "offset24": "_offset24_dmgtgy_60",
14
+ "offset32": "_offset32_dmgtgy_63",
15
+ "end": "_end_dmgtgy_68",
16
+ "left": "_left_dmgtgy_90"
17
17
  };
18
18
  export { styles as default };
@@ -1,7 +1,7 @@
1
1
  var styles = {
2
- "sizeXs": "_sizeXs_17vrz6h_9",
3
- "sizeS": "_sizeS_17vrz6h_13",
4
- "sizeM": "_sizeM_17vrz6h_17",
5
- "sizeL": "_sizeL_17vrz6h_21"
2
+ "sizeXs": "_sizeXs_1nr9mrf_9",
3
+ "sizeS": "_sizeS_1nr9mrf_13",
4
+ "sizeM": "_sizeM_1nr9mrf_17",
5
+ "sizeL": "_sizeL_1nr9mrf_21"
6
6
  };
7
7
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/tag",
3
- "version": "0.5.2",
3
+ "version": "0.6.1",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -15,22 +15,22 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@babel/runtime-corejs3": "^7.14.0",
18
- "@rescui/colors": "^0.1.5",
19
- "@rescui/icons": "^0.10.5",
18
+ "@rescui/colors": "^0.1.6",
19
+ "@rescui/icons": "^0.11.1",
20
20
  "classnames": "^2.3.1",
21
21
  "core-js": "^3.9.1"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "@rescui/ui-contexts": "<1.0.0",
25
25
  "prop-types": "^15.7.2",
26
- "react": ">=16.8.0 <18"
26
+ "react": ">=16.8.0 <19"
27
27
  },
28
28
  "devDependencies": {
29
- "@rescui/scripts": "^0.1.7",
30
- "@rescui/typography": "^0.9.1"
29
+ "@rescui/scripts": "^0.2.0",
30
+ "@rescui/typography": "^0.10.1"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rescui-scripts build"
34
34
  },
35
- "gitHead": "ea688b60033d202e0eac03b46488d984730d638f"
35
+ "gitHead": "3fb96470654a814a47b84a55571b1454c69da15c"
36
36
  }