@rescui/tag 0.7.1 → 0.9.0

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,4 @@
1
- ._main_1uoszgd_25{
1
+ ._main_9999e_25{
2
2
  letter-spacing:0.0015em;
3
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
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));
@@ -10,10 +10,10 @@
10
10
  line-height:24px;
11
11
  line-height:var(--rs-text-2-line-height, 24px);
12
12
  }
13
- ._rs-reset-letter-spacing_1uoszgd_1 ._main_1uoszgd_25{
13
+ ._rs-reset-letter-spacing_9999e_1 ._main_9999e_25{
14
14
  letter-spacing:normal;
15
15
  }
16
- ._main_1uoszgd_25 {
16
+ ._main_9999e_25 {
17
17
 
18
18
  position:relative;
19
19
 
@@ -42,19 +42,19 @@
42
42
 
43
43
  background:transparent;
44
44
  }
45
- ._alignIconLeft_1uoszgd_46{
45
+ ._alignIconLeft_9999e_46{
46
46
  -webkit-box-orient:horizontal;
47
47
  -webkit-box-direction:normal;
48
48
  -ms-flex-direction:row;
49
49
  flex-direction:row;
50
50
  }
51
- ._alignIconRight_1uoszgd_50{
51
+ ._alignIconRight_9999e_50{
52
52
  -webkit-box-orient:horizontal;
53
53
  -webkit-box-direction:reverse;
54
54
  -ms-flex-direction:row-reverse;
55
55
  flex-direction:row-reverse;
56
56
  }
57
- ._sizeXs_1uoszgd_54{
57
+ ._sizeXs_9999e_54{
58
58
  letter-spacing:0.0045em;
59
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
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));
@@ -65,14 +65,14 @@
65
65
  line-height:20px;
66
66
  line-height:var(--rs-text-3-line-height, 20px);
67
67
  }
68
- ._rs-reset-letter-spacing_1uoszgd_1 ._sizeXs_1uoszgd_54{
68
+ ._rs-reset-letter-spacing_9999e_1 ._sizeXs_9999e_54{
69
69
  letter-spacing:normal;
70
70
  }
71
- ._sizeXs_1uoszgd_54 {
71
+ ._sizeXs_9999e_54 {
72
72
 
73
73
  padding:1px 7px;
74
74
  }
75
- ._sizeS_1uoszgd_61{
75
+ ._sizeS_9999e_61{
76
76
  letter-spacing:0.0045em;
77
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
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));
@@ -83,14 +83,14 @@
83
83
  line-height:20px;
84
84
  line-height:var(--rs-text-3-line-height, 20px);
85
85
  }
86
- ._rs-reset-letter-spacing_1uoszgd_1 ._sizeS_1uoszgd_61{
86
+ ._rs-reset-letter-spacing_9999e_1 ._sizeS_9999e_61{
87
87
  letter-spacing:normal;
88
88
  }
89
- ._sizeS_1uoszgd_61 {
89
+ ._sizeS_9999e_61 {
90
90
 
91
91
  padding:3px 7px;
92
92
  }
93
- ._sizeM_1uoszgd_68{
93
+ ._sizeM_9999e_68{
94
94
  letter-spacing:0.0015em;
95
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
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));
@@ -102,14 +102,15 @@
102
102
  line-height:24px;
103
103
  line-height:var(--rs-text-2-line-height, 24px);
104
104
  }
105
- ._rs-reset-letter-spacing_1uoszgd_1 ._sizeM_1uoszgd_68{
105
+ ._rs-reset-letter-spacing_9999e_1 ._sizeM_9999e_68{
106
106
  letter-spacing:normal;
107
107
  }
108
- ._sizeM_1uoszgd_68 {
108
+ ._sizeM_9999e_68 {
109
109
 
110
110
  padding:5px 11px;
111
111
  }
112
- ._sizeL_1uoszgd_75{
112
+ ._sizeL_9999e_75{
113
+ letter-spacing:normal;
113
114
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
114
115
  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
116
  -webkit-font-feature-settings:"kern", "liga", "calt";
@@ -122,59 +123,55 @@
122
123
 
123
124
  padding:7px 15px;
124
125
  }
125
- ._icon_1uoszgd_82{
126
+ ._icon_9999e_82{
126
127
  fill:currentColor;
127
128
  }
128
- ._sizeXs_1uoszgd_54 ._icon_1uoszgd_82{
129
+ ._sizeXs_9999e_54 ._icon_9999e_82{
129
130
  width:20px;
130
131
  height:20px;
131
132
  }
132
- ._sizeS_1uoszgd_61 ._icon_1uoszgd_82{
133
+ ._sizeS_9999e_61 ._icon_9999e_82{
133
134
  width:20px;
134
135
  height:20px;
135
136
  }
136
- ._sizeM_1uoszgd_68 ._icon_1uoszgd_82{
137
+ ._sizeM_9999e_68 ._icon_9999e_82{
137
138
  width:24px;
138
139
  height:24px;
139
140
  }
140
- ._sizeL_1uoszgd_75 ._icon_1uoszgd_82{
141
+ ._sizeL_9999e_75 ._icon_9999e_82{
141
142
  width:28px;
142
143
  height:28px;
143
144
  }
144
- ._alignIconLeft_1uoszgd_46 ._icon_1uoszgd_82{
145
+ ._alignIconLeft_9999e_46 ._icon_9999e_82{
145
146
  margin-right:8px;
146
147
  margin-left:0;
147
148
  }
148
- ._alignIconRight_1uoszgd_50 ._icon_1uoszgd_82{
149
+ ._alignIconRight_9999e_50 ._icon_9999e_82{
149
150
  margin-right:0;
150
151
  margin-left:8px;
151
152
  }
152
- ._uppercase_1uoszgd_116{
153
+ ._uppercase_9999e_116{
153
154
  text-transform:uppercase;
154
-
155
- font-weight:530;
156
-
157
- font-weight:var(--rs-font-weight-semi-bold, 530);
158
155
  }
159
- ._uppercase_1uoszgd_116._sizeS_1uoszgd_61{
156
+ ._uppercase_9999e_116._sizeS_9999e_61{
160
157
  padding-right:9px;
161
158
  padding-left:9px;
162
159
  }
163
160
 
164
- ._sizeXs_qp3fbt_9{
161
+ ._sizeXs_1az06zc_9{
165
162
  border-radius:4px;
166
163
  }
167
- ._sizeS_qp3fbt_13{
164
+ ._sizeS_1az06zc_13{
168
165
  border-radius:4px;
169
166
  }
170
- ._sizeM_qp3fbt_17{
167
+ ._sizeM_1az06zc_17{
171
168
  border-radius:6px;
172
169
  }
173
- ._sizeL_qp3fbt_21{
170
+ ._sizeL_1az06zc_21{
174
171
  border-radius:8px;
175
172
  }
176
173
 
177
- ._wrapper_4e3oje_36{
174
+ ._wrapper_h80or_36{
178
175
  position:relative;
179
176
 
180
177
  display:-webkit-inline-box;
@@ -186,11 +183,11 @@
186
183
  white-space:nowrap;
187
184
  }
188
185
 
189
- ._wrapper_4e3oje_36 > *{
186
+ ._wrapper_h80or_36 > *{
190
187
  vertical-align:top;
191
188
  }
192
- ._sizeXs_4e3oje_48,
193
- ._sizeS_4e3oje_49{
189
+ ._sizeXs_h80or_48,
190
+ ._sizeS_h80or_49{
194
191
  letter-spacing:0.0045em;
195
192
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
196
193
  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));
@@ -201,10 +198,10 @@
201
198
  line-height:20px;
202
199
  line-height:var(--rs-text-3-line-height, 20px);
203
200
  }
204
- ._rs-reset-letter-spacing_4e3oje_1 ._sizeXs_4e3oje_48,._rs-reset-letter-spacing_4e3oje_1 ._sizeS_4e3oje_49{
201
+ ._rs-reset-letter-spacing_h80or_1 ._sizeXs_h80or_48,._rs-reset-letter-spacing_h80or_1 ._sizeS_h80or_49{
205
202
  letter-spacing:normal;
206
203
  }
207
- ._sizeM_4e3oje_53{
204
+ ._sizeM_h80or_53{
208
205
  letter-spacing:0.0015em;
209
206
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
210
207
  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));
@@ -216,10 +213,11 @@
216
213
  line-height:24px;
217
214
  line-height:var(--rs-text-2-line-height, 24px);
218
215
  }
219
- ._rs-reset-letter-spacing_4e3oje_1 ._sizeM_4e3oje_53{
216
+ ._rs-reset-letter-spacing_h80or_1 ._sizeM_h80or_53{
220
217
  letter-spacing:normal;
221
218
  }
222
- ._sizeL_4e3oje_57{
219
+ ._sizeL_h80or_57{
220
+ letter-spacing:normal;
223
221
  font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
224
222
  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));
225
223
  -webkit-font-feature-settings:"kern", "liga", "calt";
@@ -230,52 +228,52 @@
230
228
  line-height:28px;
231
229
  line-height:var(--rs-text-1-line-height, 28px);
232
230
  }
233
- ._themeLight_4e3oje_61{
231
+ ._themeLight_h80or_61{
234
232
  color:rgba(25,25,28,0.7);
235
233
  color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
236
234
  }
237
- ._themeLight_4e3oje_61._disabled_4e3oje_65{
235
+ ._themeLight_h80or_61._disabled_h80or_65{
238
236
  color:rgba(25,25,28,0.5);
239
237
  color:var(--rs-typography-color-pale, rgba(25,25,28,0.5));
240
238
  }
241
- ._themeDark_4e3oje_69{
239
+ ._themeDark_h80or_69{
242
240
  color:rgba(255,255,255,0.7);
243
241
  color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
244
242
  }
245
- ._themeDark_4e3oje_69._disabled_4e3oje_65{
243
+ ._themeDark_h80or_69._disabled_h80or_65{
246
244
  color:rgba(255,255,255,0.5);
247
245
  color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
248
246
  }
249
- ._disabled_4e3oje_65{
247
+ ._disabled_h80or_65{
250
248
  pointer-events:none;
251
249
  }
252
- ._sizeXs_4e3oje_48{
250
+ ._sizeXs_h80or_48{
253
251
  padding-left:8px;
254
252
 
255
253
  border-radius:4px;
256
254
  }
257
- ._sizeS_4e3oje_49{
255
+ ._sizeS_h80or_49{
258
256
  padding-left:8px;
259
257
 
260
258
  border-radius:4px;
261
259
  }
262
- ._sizeM_4e3oje_53{
260
+ ._sizeM_h80or_53{
263
261
  padding-left:12px;
264
262
 
265
263
  border-radius:6px;
266
264
  }
267
- ._sizeL_4e3oje_57{
265
+ ._sizeL_h80or_57{
268
266
  padding-left:16px;
269
267
 
270
268
  border-radius:8px;
271
269
  }
272
- ._themeLight_4e3oje_61{
270
+ ._themeLight_h80or_61{
273
271
  background-color:rgba(25,25,28,0.1);
274
272
  }
275
- ._themeDark_4e3oje_69{
273
+ ._themeDark_h80or_69{
276
274
  background-color:rgba(255,255,255,0.1);
277
275
  }
278
- ._main_4e3oje_110{
276
+ ._main_h80or_110{
279
277
  display:-webkit-inline-box;
280
278
  display:-ms-inline-flexbox;
281
279
  display:inline-flex;
@@ -293,30 +291,30 @@
293
291
 
294
292
  background:transparent;
295
293
  }
296
- ._wrap_4e3oje_36 ._main_4e3oje_110{
294
+ ._wrap_h80or_36 ._main_h80or_110{
297
295
  white-space:normal;
298
296
  }
299
- ._sizeXs_4e3oje_48 ._main_4e3oje_110{
297
+ ._sizeXs_h80or_48 ._main_h80or_110{
300
298
  padding-top:2px;
301
299
  padding-right:2px;
302
300
  padding-bottom:2px;
303
301
  }
304
- ._sizeS_4e3oje_49 ._main_4e3oje_110{
302
+ ._sizeS_h80or_49 ._main_h80or_110{
305
303
  padding-top:4px;
306
304
  padding-right:2px;
307
305
  padding-bottom:4px;
308
306
  }
309
- ._sizeM_4e3oje_53 ._main_4e3oje_110{
307
+ ._sizeM_h80or_53 ._main_h80or_110{
310
308
  padding-top:6px;
311
309
  padding-right:2px;
312
310
  padding-bottom:6px;
313
311
  }
314
- ._sizeL_4e3oje_57 ._main_4e3oje_110{
312
+ ._sizeL_h80or_57 ._main_h80or_110{
315
313
  padding-top:8px;
316
314
  padding-right:4px;
317
315
  padding-bottom:8px;
318
316
  }
319
- ._close_4e3oje_146{
317
+ ._close_h80or_146{
320
318
  top:0;
321
319
  right:0;
322
320
  bottom:0;
@@ -352,70 +350,70 @@
352
350
  -webkit-font-smoothing:inherit;
353
351
  -moz-osx-font-smoothing:inherit;
354
352
  }
355
- ._close_4e3oje_146::-moz-focus-inner{
353
+ ._close_h80or_146::-moz-focus-inner{
356
354
  padding:0;
357
355
 
358
356
  border:0;
359
357
  }
360
- ._close_4e3oje_146:active,
361
- ._close_4e3oje_146:hover,
362
- ._close_4e3oje_146:focus{
358
+ ._close_h80or_146:active,
359
+ ._close_h80or_146:hover,
360
+ ._close_h80or_146:focus{
363
361
  outline:none;
364
362
 
365
363
  text-decoration:none;
366
364
  }
367
- ._sizeXs_4e3oje_48 ._close_4e3oje_146{
365
+ ._sizeXs_h80or_48 ._close_h80or_146{
368
366
  width:28px;
369
367
 
370
368
  border-radius:4px;
371
369
  }
372
- ._sizeS_4e3oje_49 ._close_4e3oje_146{
370
+ ._sizeS_h80or_49 ._close_h80or_146{
373
371
  width:28px;
374
372
 
375
373
  border-radius:4px;
376
374
  }
377
- ._sizeM_4e3oje_53 ._close_4e3oje_146{
375
+ ._sizeM_h80or_53 ._close_h80or_146{
378
376
  width:36px;
379
377
 
380
378
  border-radius:6px;
381
379
  }
382
- ._sizeL_4e3oje_57 ._close_4e3oje_146{
380
+ ._sizeL_h80or_57 ._close_h80or_146{
383
381
  width:44px;
384
382
 
385
383
  border-radius:8px;
386
384
  }
387
- ._disabled_4e3oje_65 ._close_4e3oje_146{
385
+ ._disabled_h80or_65 ._close_h80or_146{
388
386
  pointer-events:none;
389
387
  }
390
- ._themeLight_4e3oje_61 ._close_4e3oje_146:hover{
388
+ ._themeLight_h80or_61 ._close_h80or_146:hover{
391
389
  color:#19191C;
392
390
  background-color:rgba(25,25,28,0.1);
393
391
  }
394
- ._themeDark_4e3oje_69 ._close_4e3oje_146:hover{
392
+ ._themeDark_h80or_69 ._close_h80or_146:hover{
395
393
  color:#FFFFFF;
396
394
  background-color:rgba(255,255,255,0.1);
397
395
  }
398
- ._themeLight_4e3oje_61 ._close_4e3oje_146:active{
396
+ ._themeLight_h80or_61 ._close_h80or_146:active{
399
397
  color:#19191C;
400
398
  background-color:rgba(25,25,28,0.2);
401
399
  }
402
- ._themeDark_4e3oje_69 ._close_4e3oje_146:active{
400
+ ._themeDark_h80or_69 ._close_h80or_146:active{
403
401
  color:#FFFFFF;
404
402
  background-color:rgba(255,255,255,0.2);
405
403
  }
406
- ._themeLight_4e3oje_61 ._close_4e3oje_146:focus[data-focus-method='key']{
404
+ ._themeLight_h80or_61 ._close_h80or_146:focus[data-focus-method='key']{
407
405
  -webkit-box-shadow:inset 0 0 0 4px #8979ff;
408
406
  -webkit-box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-light-theme, #8979ff);
409
407
  box-shadow:inset 0 0 0 4px #8979ff;
410
408
  box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-light-theme, #8979ff);
411
409
  }
412
- ._themeDark_4e3oje_69 ._close_4e3oje_146:focus[data-focus-method='key']{
410
+ ._themeDark_h80or_69 ._close_h80or_146:focus[data-focus-method='key']{
413
411
  -webkit-box-shadow:inset 0 0 0 4px #6f61d2;
414
412
  -webkit-box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-dark-theme, #6f61d2);
415
413
  box-shadow:inset 0 0 0 4px #6f61d2;
416
414
  box-shadow:inset 0 0 0 4px var(--rs-color-primary-dim-dark-theme, #6f61d2);
417
415
  }
418
- ._icon_4e3oje_243{
416
+ ._icon_h80or_243{
419
417
  -webkit-box-flex:1;
420
418
  -ms-flex:1 0 auto;
421
419
  flex:1 0 auto;
@@ -425,128 +423,128 @@
425
423
  vertical-align:top;
426
424
  fill:currentColor;
427
425
  }
428
- ._sizeXs_4e3oje_48 ._icon_4e3oje_243{
426
+ ._sizeXs_h80or_48 ._icon_h80or_243{
429
427
  width:20px;
430
428
  height:20px;
431
429
  margin-top:2px;
432
430
  margin-bottom:2px;
433
431
  }
434
- ._sizeS_4e3oje_49 ._icon_4e3oje_243{
432
+ ._sizeS_h80or_49 ._icon_h80or_243{
435
433
  width:20px;
436
434
  height:20px;
437
435
  margin-top:4px;
438
436
  margin-bottom:4px;
439
437
  }
440
- ._sizeM_4e3oje_53 ._icon_4e3oje_243{
438
+ ._sizeM_h80or_53 ._icon_h80or_243{
441
439
  width:24px;
442
440
  height:24px;
443
441
  margin-top:6px;
444
442
  margin-bottom:6px;
445
443
  }
446
- ._sizeL_4e3oje_57 ._icon_4e3oje_243{
444
+ ._sizeL_h80or_57 ._icon_h80or_243{
447
445
  width:28px;
448
446
  height:28px;
449
447
  margin-top:8px;
450
448
  margin-bottom:8px;
451
449
  }
452
450
 
453
- ._wrapper_srqts_10{
451
+ ._wrapper_1v85ftd_10{
454
452
  position:relative;
455
453
  }
456
- ._tag_srqts_14{
454
+ ._tag_1v85ftd_14{
457
455
  position:absolute;
458
456
  }
459
- ._alignTop_srqts_20._sizeXs_srqts_21{
457
+ ._alignTop_1v85ftd_20._sizeXs_1v85ftd_21{
460
458
  border-radius:4px 4px 0 0;
461
459
  }
462
- ._alignTop_srqts_20._sizeS_srqts_24{
460
+ ._alignTop_1v85ftd_20._sizeS_1v85ftd_24{
463
461
  border-radius:4px 4px 0 0;
464
462
  }
465
- ._alignTop_srqts_20._sizeM_srqts_27{
463
+ ._alignTop_1v85ftd_20._sizeM_1v85ftd_27{
466
464
  border-radius:6px 6px 0 0;
467
465
  }
468
- ._alignTop_srqts_20._sizeL_srqts_30{
466
+ ._alignTop_1v85ftd_20._sizeL_1v85ftd_30{
469
467
  border-radius:8px 8px 0 0;
470
468
  }
471
- ._alignMiddle_srqts_35._sizeXs_srqts_21{
469
+ ._alignMiddle_1v85ftd_35._sizeXs_1v85ftd_21{
472
470
  border-radius:4px;
473
471
  }
474
- ._alignMiddle_srqts_35._sizeS_srqts_24{
472
+ ._alignMiddle_1v85ftd_35._sizeS_1v85ftd_24{
475
473
  border-radius:4px;
476
474
  }
477
- ._alignMiddle_srqts_35._sizeM_srqts_27{
475
+ ._alignMiddle_1v85ftd_35._sizeM_1v85ftd_27{
478
476
  border-radius:6px;
479
477
  }
480
- ._alignMiddle_srqts_35._sizeL_srqts_30{
478
+ ._alignMiddle_1v85ftd_35._sizeL_1v85ftd_30{
481
479
  border-radius:8px;
482
480
  }
483
- ._top_srqts_52{
481
+ ._top_1v85ftd_52{
484
482
  top:0;
485
483
  }
486
- ._top_srqts_52._start_srqts_56._offset16_srqts_57{
484
+ ._top_1v85ftd_52._start_1v85ftd_56._offset16_1v85ftd_57{
487
485
  left:16px;
488
486
  }
489
- ._top_srqts_52._start_srqts_56._offset24_srqts_60{
487
+ ._top_1v85ftd_52._start_1v85ftd_56._offset24_1v85ftd_60{
490
488
  left:24px;
491
489
  }
492
- ._top_srqts_52._start_srqts_56._offset32_srqts_63{
490
+ ._top_1v85ftd_52._start_1v85ftd_56._offset32_1v85ftd_63{
493
491
  left:32px;
494
492
  }
495
- ._top_srqts_52._end_srqts_68._offset16_srqts_57{
493
+ ._top_1v85ftd_52._end_1v85ftd_68._offset16_1v85ftd_57{
496
494
  right:16px;
497
495
  }
498
- ._top_srqts_52._end_srqts_68._offset24_srqts_60{
496
+ ._top_1v85ftd_52._end_1v85ftd_68._offset24_1v85ftd_60{
499
497
  right:24px;
500
498
  }
501
- ._top_srqts_52._end_srqts_68._offset32_srqts_63{
499
+ ._top_1v85ftd_52._end_1v85ftd_68._offset32_1v85ftd_63{
502
500
  right:32px;
503
501
  }
504
- ._top_srqts_52._alignTop_srqts_20{
502
+ ._top_1v85ftd_52._alignTop_1v85ftd_20{
505
503
  -webkit-transform:translate(0, -100%);
506
504
  transform:translate(0, -100%);
507
505
  }
508
- ._top_srqts_52._alignMiddle_srqts_35{
506
+ ._top_1v85ftd_52._alignMiddle_1v85ftd_35{
509
507
  -webkit-transform:translate(0, -50%);
510
508
  transform:translate(0, -50%);
511
509
  }
512
- ._left_srqts_90{
510
+ ._left_1v85ftd_90{
513
511
  right:100%;
514
512
 
515
513
  -webkit-transform-origin:100% 0;
516
514
 
517
515
  transform-origin:100% 0;
518
516
  }
519
- ._left_srqts_90._start_srqts_56._offset16_srqts_57{
517
+ ._left_1v85ftd_90._start_1v85ftd_56._offset16_1v85ftd_57{
520
518
  top:16px;
521
519
  }
522
- ._left_srqts_90._start_srqts_56._offset24_srqts_60{
520
+ ._left_1v85ftd_90._start_1v85ftd_56._offset24_1v85ftd_60{
523
521
  top:24px;
524
522
  }
525
- ._left_srqts_90._start_srqts_56._offset32_srqts_63{
523
+ ._left_1v85ftd_90._start_1v85ftd_56._offset32_1v85ftd_63{
526
524
  top:32px;
527
525
  }
528
- ._left_srqts_90._end_srqts_68._offset16_srqts_57{
526
+ ._left_1v85ftd_90._end_1v85ftd_68._offset16_1v85ftd_57{
529
527
  top:calc(100% - 16px);
530
528
  }
531
- ._left_srqts_90._end_srqts_68._offset24_srqts_60{
529
+ ._left_1v85ftd_90._end_1v85ftd_68._offset24_1v85ftd_60{
532
530
  top:calc(100% - 24px);
533
531
  }
534
- ._left_srqts_90._end_srqts_68._offset32_srqts_63{
532
+ ._left_1v85ftd_90._end_1v85ftd_68._offset32_1v85ftd_63{
535
533
  top:calc(100% - 32px);
536
534
  }
537
- ._left_srqts_90._start_srqts_56._alignTop_srqts_20{
535
+ ._left_1v85ftd_90._start_1v85ftd_56._alignTop_1v85ftd_20{
538
536
  -webkit-transform:rotate(270deg) translate(0, -100%);
539
537
  transform:rotate(270deg) translate(0, -100%);
540
538
  }
541
- ._left_srqts_90._end_srqts_68._alignTop_srqts_20{
539
+ ._left_1v85ftd_90._end_1v85ftd_68._alignTop_1v85ftd_20{
542
540
  -webkit-transform:rotate(270deg) translate(100%, -100%);
543
541
  transform:rotate(270deg) translate(100%, -100%);
544
542
  }
545
- ._left_srqts_90._start_srqts_56._alignMiddle_srqts_35{
543
+ ._left_1v85ftd_90._start_1v85ftd_56._alignMiddle_1v85ftd_35{
546
544
  -webkit-transform:rotate(270deg) translate(0, -50%);
547
545
  transform:rotate(270deg) translate(0, -50%);
548
546
  }
549
- ._left_srqts_90._end_srqts_68._alignMiddle_srqts_35{
547
+ ._left_1v85ftd_90._end_1v85ftd_68._alignMiddle_1v85ftd_35{
550
548
  -webkit-transform:rotate(270deg) translate(100%, -50%);
551
549
  transform:rotate(270deg) translate(100%, -50%);
552
550
  }
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  export declare type BaseTagSize = 'l' | 'm' | 's' | 'xs';
3
3
  export declare type BaseTagIconPosition = 'left' | 'right';
4
4
  export declare type BaseTagProps = {
@@ -12,6 +12,8 @@ export declare type BaseTagProps = {
12
12
  isUppercase?: boolean;
13
13
  /** Text color */
14
14
  color?: string;
15
+ /** Custom CSS styles */
16
+ style?: CSSProperties | undefined;
15
17
  /**
16
18
  * Background color.
17
19
  * @default transparent
@@ -7,7 +7,7 @@ import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-sta
7
7
  import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
8
8
  import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
9
9
  import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
10
- var _excluded = ["className", "children", "size", "icon", "iconPosition", "isUppercase", "color", "backgroundColor", "borderColor"];
10
+ var _excluded = ["className", "children", "size", "icon", "iconPosition", "isUppercase", "color", "backgroundColor", "borderColor", "style"];
11
11
 
12
12
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
13
 
@@ -40,6 +40,7 @@ function (_ref, ref) {
40
40
  color = _ref.color,
41
41
  backgroundColor = _ref.backgroundColor,
42
42
  borderColor = _ref.borderColor,
43
+ style = _ref.style,
43
44
  restProps = _objectWithoutProperties(_ref, _excluded);
44
45
 
45
46
  var withIcon = /*#__PURE__*/React.isValidElement(icon);
@@ -51,11 +52,11 @@ function (_ref, ref) {
51
52
  }, restProps), {}, {
52
53
  ref: ref,
53
54
  className: cn(styles.main, SIZE_STYLES[size], ICON_POSITION_STYLES[iconPosition], withIcon && styles.withIcon, isUppercase && styles.uppercase, className),
54
- style: {
55
+ style: _objectSpread({
55
56
  color: color,
56
57
  backgroundColor: backgroundColor,
57
58
  borderColor: borderColor
58
- }
59
+ }, style)
59
60
  }), iconSlot, children);
60
61
  });
61
62
  BaseTag.displayName = 'BaseTag';
@@ -66,6 +67,7 @@ BaseTag.propTypes = {
66
67
  iconPosition: PropTypes.oneOf(['left', 'right']),
67
68
  isUppercase: PropTypes.bool,
68
69
  size: PropTypes.oneOf(['l', 'm', 's', 'xs']),
70
+ style: PropTypes.object,
69
71
  color: PropTypes.string,
70
72
  backgroundColor: PropTypes.string,
71
73
  borderColor: PropTypes.string
@@ -1,13 +1,13 @@
1
1
  var styles = {
2
- "main": "_main_1uoszgd_25",
3
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_1uoszgd_1",
4
- "alignIconLeft": "_alignIconLeft_1uoszgd_46",
5
- "alignIconRight": "_alignIconRight_1uoszgd_50",
6
- "sizeXs": "_sizeXs_1uoszgd_54",
7
- "sizeS": "_sizeS_1uoszgd_61",
8
- "sizeM": "_sizeM_1uoszgd_68",
9
- "sizeL": "_sizeL_1uoszgd_75",
10
- "icon": "_icon_1uoszgd_82",
11
- "uppercase": "_uppercase_1uoszgd_116"
2
+ "main": "_main_9999e_25",
3
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_9999e_1",
4
+ "alignIconLeft": "_alignIconLeft_9999e_46",
5
+ "alignIconRight": "_alignIconRight_9999e_50",
6
+ "sizeXs": "_sizeXs_9999e_54",
7
+ "sizeS": "_sizeS_9999e_61",
8
+ "sizeM": "_sizeM_9999e_68",
9
+ "sizeL": "_sizeL_9999e_75",
10
+ "icon": "_icon_9999e_82",
11
+ "uppercase": "_uppercase_9999e_116"
12
12
  };
13
13
  export { styles as default };
@@ -1,57 +1,194 @@
1
1
  export declare type Preset = {
2
2
  /** Tag text color */
3
- color: string;
3
+ color?: string;
4
4
  /** Tag background color */
5
5
  backgroundColor?: string;
6
6
  /** Tag border color */
7
7
  borderColor?: string;
8
8
  };
9
9
  declare const presetsLight: {
10
- /** Primary background */
10
+ /**
11
+ * Primary background
12
+ */
13
+ 'classic-light': {
14
+ color: "#FFFFFF";
15
+ backgroundColor: "var(--rs-color-primary-light-theme, #6B57FF)";
16
+ };
17
+ /**
18
+ * Contrast background
19
+ */
20
+ 'rock-light': {
21
+ color: "#FFFFFF";
22
+ backgroundColor: "#19191C";
23
+ };
24
+ /**
25
+ * Grey background
26
+ */
27
+ 'filled-light': {
28
+ color: "rgba(25,25,28,0.7)";
29
+ backgroundColor: "rgba(25,25,28,0.1)";
30
+ };
31
+ /**
32
+ * Transparent with border
33
+ */
34
+ 'outline-light': {
35
+ color: "#19191C";
36
+ borderColor: "#19191C";
37
+ };
38
+ };
39
+ declare const presetsDark: {
40
+ /**
41
+ * Primary background
42
+ */
43
+ 'classic-dark': {
44
+ color: "#FFFFFF";
45
+ backgroundColor: "var(--rs-color-primary-dark-theme, #8473FF)";
46
+ };
47
+ /**
48
+ * Contrast background
49
+ */
50
+ 'rock-dark': {
51
+ color: "#19191C";
52
+ backgroundColor: "#FFFFFF";
53
+ };
54
+ /**
55
+ * Grey background
56
+ */
57
+ 'filled-dark': {
58
+ color: "rgba(255,255,255,0.7)";
59
+ backgroundColor: "rgba(255,255,255,0.1)";
60
+ };
61
+ /**
62
+ * Transparent with border
63
+ */
64
+ 'outline-dark': {
65
+ color: "#FFFFFF";
66
+ borderColor: "#FFFFFF";
67
+ };
68
+ };
69
+ export declare type PresetsLight = typeof presetsLight;
70
+ export declare type PresetsDark = typeof presetsDark;
71
+ export declare const presets: {
72
+ /**
73
+ * Primary background
74
+ * @deprecated use 'classic-light' instead
75
+ */
11
76
  classicLight: {
12
77
  color: "#FFFFFF";
13
78
  backgroundColor: "var(--rs-color-primary-light-theme, #6B57FF)";
14
79
  };
15
- /** Contrast background */
80
+ /**
81
+ * Contrast background
82
+ * @deprecated use 'rock-light' instead
83
+ */
16
84
  rockLight: {
17
85
  color: "#FFFFFF";
18
86
  backgroundColor: "#19191C";
19
87
  };
20
- /** Grey background */
88
+ /**
89
+ * Grey background
90
+ * @deprecated use 'filled-light' instead
91
+ */
21
92
  filledLight: {
22
93
  color: "rgba(25,25,28,0.7)";
23
94
  backgroundColor: "rgba(25,25,28,0.1)";
24
95
  };
25
- /** Transparent with border */
96
+ /**
97
+ * Transparent with border
98
+ * @deprecated use 'outline-light' instead
99
+ */
26
100
  outlineLight: {
27
101
  color: "#19191C";
28
102
  borderColor: "#19191C";
29
103
  };
30
- };
31
- declare const presetsDark: {
32
- /** Primary background */
104
+ /**
105
+ * Primary background
106
+ * @deprecated use 'classic-dark' instead
107
+ */
33
108
  classicDark: {
34
109
  color: "#FFFFFF";
35
110
  backgroundColor: "var(--rs-color-primary-dark-theme, #8473FF)";
36
111
  };
37
- /** Contrast background */
112
+ /**
113
+ * Contrast background
114
+ * @deprecated use 'rock-dark' instead
115
+ */
38
116
  rockDark: {
39
117
  color: "#19191C";
40
118
  backgroundColor: "#FFFFFF";
41
119
  };
42
- /** Grey background */
120
+ /**
121
+ * Grey background
122
+ * @deprecated use 'filled-dark' instead
123
+ */
43
124
  filledDark: {
44
125
  color: "rgba(255,255,255,0.7)";
45
126
  backgroundColor: "rgba(255,255,255,0.1)";
46
127
  };
47
- /** Transparent with border */
128
+ /**
129
+ * Transparent with border
130
+ * @deprecated use 'outline-dark' instead
131
+ */
48
132
  outlineDark: {
49
133
  color: "#FFFFFF";
50
134
  borderColor: "#FFFFFF";
51
135
  };
136
+ /**
137
+ * Primary background
138
+ */
139
+ 'classic-dark': {
140
+ color: "#FFFFFF";
141
+ backgroundColor: "var(--rs-color-primary-dark-theme, #8473FF)";
142
+ };
143
+ /**
144
+ * Contrast background
145
+ */
146
+ 'rock-dark': {
147
+ color: "#19191C";
148
+ backgroundColor: "#FFFFFF";
149
+ };
150
+ /**
151
+ * Grey background
152
+ */
153
+ 'filled-dark': {
154
+ color: "rgba(255,255,255,0.7)";
155
+ backgroundColor: "rgba(255,255,255,0.1)";
156
+ };
157
+ /**
158
+ * Transparent with border
159
+ */
160
+ 'outline-dark': {
161
+ color: "#FFFFFF";
162
+ borderColor: "#FFFFFF";
163
+ };
164
+ /**
165
+ * Primary background
166
+ */
167
+ 'classic-light': {
168
+ color: "#FFFFFF";
169
+ backgroundColor: "var(--rs-color-primary-light-theme, #6B57FF)";
170
+ };
171
+ /**
172
+ * Contrast background
173
+ */
174
+ 'rock-light': {
175
+ color: "#FFFFFF";
176
+ backgroundColor: "#19191C";
177
+ };
178
+ /**
179
+ * Grey background
180
+ */
181
+ 'filled-light': {
182
+ color: "rgba(25,25,28,0.7)";
183
+ backgroundColor: "rgba(25,25,28,0.1)";
184
+ };
185
+ /**
186
+ * Transparent with border
187
+ */
188
+ 'outline-light': {
189
+ color: "#19191C";
190
+ borderColor: "#19191C";
191
+ };
52
192
  };
53
- export declare type PresetsLight = typeof presetsLight;
54
- export declare type PresetsDark = typeof presetsDark;
55
- export declare type Presets = Record<keyof PresetsLight | keyof PresetsDark, Preset>;
56
- export declare const presets: Presets;
193
+ export declare type Presets = typeof presets;
57
194
  export {};
@@ -13,56 +13,120 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
13
13
 
14
14
  import { RS_COLOR_WHITE, RS_COLOR_PRIMARY_LIGHT_THEME, RS_COLOR_BLACK, RS_COLOR_BLACK_T70, RS_COLOR_BLACK_T10, RS_COLOR_PRIMARY_DARK_THEME, RS_COLOR_WHITE_T70, RS_COLOR_WHITE_T10 } from '@rescui/colors';
15
15
  var presetsLight = {
16
- /** Primary background */
17
- classicLight: {
16
+ /**
17
+ * Primary background
18
+ */
19
+ 'classic-light': {
18
20
  color: RS_COLOR_WHITE,
19
21
  backgroundColor: "var(--rs-color-primary-light-theme, ".concat(RS_COLOR_PRIMARY_LIGHT_THEME, ")")
20
22
  },
21
23
 
22
- /** Contrast background */
23
- rockLight: {
24
+ /**
25
+ * Contrast background
26
+ */
27
+ 'rock-light': {
24
28
  color: RS_COLOR_WHITE,
25
29
  backgroundColor: RS_COLOR_BLACK
26
30
  },
27
31
 
28
- /** Grey background */
29
- filledLight: {
32
+ /**
33
+ * Grey background
34
+ */
35
+ 'filled-light': {
30
36
  color: RS_COLOR_BLACK_T70,
31
37
  backgroundColor: RS_COLOR_BLACK_T10
32
38
  },
33
39
 
34
- /** Transparent with border */
35
- outlineLight: {
40
+ /**
41
+ * Transparent with border
42
+ */
43
+ 'outline-light': {
36
44
  color: RS_COLOR_BLACK,
37
45
  borderColor: RS_COLOR_BLACK
38
46
  }
39
47
  };
40
48
  var presetsDark = {
41
- /** Primary background */
42
- classicDark: {
49
+ /**
50
+ * Primary background
51
+ */
52
+ 'classic-dark': {
43
53
  color: RS_COLOR_WHITE,
44
54
  backgroundColor: "var(--rs-color-primary-dark-theme, ".concat(RS_COLOR_PRIMARY_DARK_THEME, ")")
45
55
  },
46
56
 
47
- /** Contrast background */
48
- rockDark: {
57
+ /**
58
+ * Contrast background
59
+ */
60
+ 'rock-dark': {
49
61
  color: RS_COLOR_BLACK,
50
62
  backgroundColor: RS_COLOR_WHITE
51
63
  },
52
64
 
53
- /** Grey background */
54
- filledDark: {
65
+ /**
66
+ * Grey background
67
+ */
68
+ 'filled-dark': {
55
69
  color: RS_COLOR_WHITE_T70,
56
70
  backgroundColor: RS_COLOR_WHITE_T10
57
71
  },
58
72
 
59
- /** Transparent with border */
60
- outlineDark: {
73
+ /**
74
+ * Transparent with border
75
+ */
76
+ 'outline-dark': {
61
77
  color: RS_COLOR_WHITE,
62
78
  borderColor: RS_COLOR_WHITE
63
79
  }
64
80
  };
65
81
 
66
- var presets = _objectSpread(_objectSpread({}, presetsLight), presetsDark);
82
+ var presets = _objectSpread(_objectSpread(_objectSpread({}, presetsLight), presetsDark), {}, {
83
+ /**
84
+ * Primary background
85
+ * @deprecated use 'classic-light' instead
86
+ */
87
+ classicLight: presetsLight['classic-light'],
88
+
89
+ /**
90
+ * Contrast background
91
+ * @deprecated use 'rock-light' instead
92
+ */
93
+ rockLight: presetsLight['rock-light'],
94
+
95
+ /**
96
+ * Grey background
97
+ * @deprecated use 'filled-light' instead
98
+ */
99
+ filledLight: presetsLight['filled-light'],
100
+
101
+ /**
102
+ * Transparent with border
103
+ * @deprecated use 'outline-light' instead
104
+ */
105
+ outlineLight: presetsLight['outline-light'],
106
+
107
+ /**
108
+ * Primary background
109
+ * @deprecated use 'classic-dark' instead
110
+ */
111
+ classicDark: presetsDark['classic-dark'],
112
+
113
+ /**
114
+ * Contrast background
115
+ * @deprecated use 'rock-dark' instead
116
+ */
117
+ rockDark: presetsDark['rock-dark'],
118
+
119
+ /**
120
+ * Grey background
121
+ * @deprecated use 'filled-dark' instead
122
+ */
123
+ filledDark: presetsDark['filled-dark'],
124
+
125
+ /**
126
+ * Transparent with border
127
+ * @deprecated use 'outline-dark' instead
128
+ */
129
+ outlineDark: presetsDark['outline-dark']
130
+ });
67
131
 
68
132
  export { presets };
@@ -1,16 +1,16 @@
1
1
  var styles = {
2
- "wrapper": "_wrapper_4e3oje_36",
3
- "sizeXs": "_sizeXs_4e3oje_48",
4
- "sizeS": "_sizeS_4e3oje_49",
5
- "rs-reset-letter-spacing": "_rs-reset-letter-spacing_4e3oje_1",
6
- "sizeM": "_sizeM_4e3oje_53",
7
- "sizeL": "_sizeL_4e3oje_57",
8
- "themeLight": "_themeLight_4e3oje_61",
9
- "disabled": "_disabled_4e3oje_65",
10
- "themeDark": "_themeDark_4e3oje_69",
11
- "main": "_main_4e3oje_110",
12
- "wrap": "_wrap_4e3oje_36",
13
- "close": "_close_4e3oje_146",
14
- "icon": "_icon_4e3oje_243"
2
+ "wrapper": "_wrapper_h80or_36",
3
+ "sizeXs": "_sizeXs_h80or_48",
4
+ "sizeS": "_sizeS_h80or_49",
5
+ "rs-reset-letter-spacing": "_rs-reset-letter-spacing_h80or_1",
6
+ "sizeM": "_sizeM_h80or_53",
7
+ "sizeL": "_sizeL_h80or_57",
8
+ "themeLight": "_themeLight_h80or_61",
9
+ "disabled": "_disabled_h80or_65",
10
+ "themeDark": "_themeDark_h80or_69",
11
+ "main": "_main_h80or_110",
12
+ "wrap": "_wrap_h80or_36",
13
+ "close": "_close_h80or_146",
14
+ "icon": "_icon_h80or_243"
15
15
  };
16
16
  export { styles as default };
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  import { BaseTagIconPosition, BaseTagSize } from './base-tag';
3
3
  export declare type StickyTagSize = BaseTagSize;
4
4
  export declare type StickyTagIconPosition = BaseTagIconPosition;
@@ -36,6 +36,8 @@ export declare type StickyTagProps = {
36
36
  * @default transparent
37
37
  * */
38
38
  borderColor?: string;
39
+ /** Custom CSS styles */
40
+ style?: CSSProperties | undefined;
39
41
  } & ({
40
42
  /** Additional icon */
41
43
  icon: React.ReactNode;
@@ -115,6 +115,7 @@ StickyTag.propTypes = {
115
115
  size: PropTypes.oneOf(['l', 'm', 's', 'xs']),
116
116
  color: PropTypes.string,
117
117
  backgroundColor: PropTypes.string,
118
- borderColor: PropTypes.string
118
+ borderColor: PropTypes.string,
119
+ style: PropTypes.object
119
120
  };
120
121
  export { StickyTag };
@@ -1,18 +1,18 @@
1
1
  var styles = {
2
- "wrapper": "_wrapper_srqts_10",
3
- "tag": "_tag_srqts_14",
4
- "alignTop": "_alignTop_srqts_20",
5
- "sizeXs": "_sizeXs_srqts_21",
6
- "sizeS": "_sizeS_srqts_24",
7
- "sizeM": "_sizeM_srqts_27",
8
- "sizeL": "_sizeL_srqts_30",
9
- "alignMiddle": "_alignMiddle_srqts_35",
10
- "top": "_top_srqts_52",
11
- "start": "_start_srqts_56",
12
- "offset16": "_offset16_srqts_57",
13
- "offset24": "_offset24_srqts_60",
14
- "offset32": "_offset32_srqts_63",
15
- "end": "_end_srqts_68",
16
- "left": "_left_srqts_90"
2
+ "wrapper": "_wrapper_1v85ftd_10",
3
+ "tag": "_tag_1v85ftd_14",
4
+ "alignTop": "_alignTop_1v85ftd_20",
5
+ "sizeXs": "_sizeXs_1v85ftd_21",
6
+ "sizeS": "_sizeS_1v85ftd_24",
7
+ "sizeM": "_sizeM_1v85ftd_27",
8
+ "sizeL": "_sizeL_1v85ftd_30",
9
+ "alignMiddle": "_alignMiddle_1v85ftd_35",
10
+ "top": "_top_1v85ftd_52",
11
+ "start": "_start_1v85ftd_56",
12
+ "offset16": "_offset16_1v85ftd_57",
13
+ "offset24": "_offset24_1v85ftd_60",
14
+ "offset32": "_offset32_1v85ftd_63",
15
+ "end": "_end_1v85ftd_68",
16
+ "left": "_left_1v85ftd_90"
17
17
  };
18
18
  export { styles as default };
@@ -1,7 +1,7 @@
1
1
  var styles = {
2
- "sizeXs": "_sizeXs_qp3fbt_9",
3
- "sizeS": "_sizeS_qp3fbt_13",
4
- "sizeM": "_sizeM_qp3fbt_17",
5
- "sizeL": "_sizeL_qp3fbt_21"
2
+ "sizeXs": "_sizeXs_1az06zc_9",
3
+ "sizeS": "_sizeS_1az06zc_13",
4
+ "sizeM": "_sizeM_1az06zc_17",
5
+ "sizeL": "_sizeL_1az06zc_21"
6
6
  };
7
7
  export { styles as default };
package/lib/tag.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import React, { CSSProperties } from 'react';
2
2
  import { BaseTagSize, BaseTagIconPosition } from './parts/base-tag';
3
3
  export declare type TagSize = BaseTagSize;
4
4
  export declare type TagIconPosition = BaseTagIconPosition;
@@ -23,6 +23,8 @@ export declare type TagProps = {
23
23
  * @default transparent
24
24
  * */
25
25
  borderColor?: string;
26
+ /** Custom CSS styles */
27
+ style?: CSSProperties | undefined;
26
28
  } & ({
27
29
  /** Additional icon */
28
30
  icon: React.ReactNode;
package/lib/tag.js CHANGED
@@ -50,6 +50,7 @@ Tag.propTypes = {
50
50
  size: PropTypes.oneOf(['l', 'm', 's', 'xs']),
51
51
  color: PropTypes.string,
52
52
  backgroundColor: PropTypes.string,
53
- borderColor: PropTypes.string
53
+ borderColor: PropTypes.string,
54
+ style: PropTypes.object
54
55
  };
55
56
  export { Tag };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/tag",
3
- "version": "0.7.1",
3
+ "version": "0.9.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime-corejs3": "^7.14.0",
18
18
  "@rescui/colors": "^0.1.9",
19
- "@rescui/icons": "^0.13.1",
19
+ "@rescui/icons": "^0.13.2",
20
20
  "classnames": "^2.3.1",
21
21
  "core-js": "^3.9.1"
22
22
  },
@@ -27,10 +27,10 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@rescui/scripts": "^0.2.2",
30
- "@rescui/typography": "^0.11.0"
30
+ "@rescui/typography": "^0.12.0"
31
31
  },
32
32
  "scripts": {
33
33
  "build": "rescui-scripts build"
34
34
  },
35
- "gitHead": "d25604773250b6467e5ee8d88c4e44c25833785e"
35
+ "gitHead": "5b8028f2a39036c58de3bfcba424df687b540f55"
36
36
  }