@rescui/chip-list 0.12.2 → 0.12.3
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 +44 -44
- package/lib/parts/chip-list.p.module.css.js +23 -23
- package/lib/parts/chip.js +2 -1
- package/package.json +5 -5
package/lib/index.css
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
.
|
|
1
|
+
._light_1whkwbw_8{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._dark_1whkwbw_11{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._alignLeft_1whkwbw_15{
|
|
8
8
|
--_rs-cl-align:left;
|
|
9
9
|
}
|
|
10
|
-
.
|
|
10
|
+
._alignCenter_1whkwbw_18{
|
|
11
11
|
--_rs-cl-align:center;
|
|
12
12
|
}
|
|
13
|
-
.
|
|
13
|
+
._alignRight_1whkwbw_21{
|
|
14
14
|
--_rs-cl-align:right;
|
|
15
15
|
}
|
|
16
|
-
.
|
|
16
|
+
._sizeXs_1whkwbw_25{
|
|
17
17
|
--_rs-cl-chip-base-border-radius:4px;
|
|
18
18
|
--_rs-cl-chip-compact-border-radius:var(--_rs-cl-chip-base-border-radius);
|
|
19
19
|
--_rs-cl-chip-vertical-padding:2px;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
--_rs-cl-compact-horizontal-gap:4px;
|
|
28
28
|
--_rs-cl-sparse-horizontal-gap:12px;
|
|
29
29
|
}
|
|
30
|
-
.
|
|
30
|
+
._sizeXs_1whkwbw_25 [data-rs-internal='chip-list__chip']{
|
|
31
31
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
32
32
|
--_rs-typography-text-transform:initial;
|
|
33
33
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
62
62
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
._sizeS_1whkwbw_28{
|
|
65
65
|
--_rs-cl-chip-base-border-radius:16px;
|
|
66
66
|
--_rs-cl-chip-compact-border-radius:4px;
|
|
67
67
|
--_rs-cl-chip-vertical-padding:6px;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
--_rs-cl-compact-horizontal-gap:6px;
|
|
76
76
|
--_rs-cl-sparse-horizontal-gap:12px;
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._sizeS_1whkwbw_28 [data-rs-internal='chip-list__chip']{
|
|
79
79
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
80
80
|
--_rs-typography-text-transform:initial;
|
|
81
81
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
110
110
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
111
111
|
}
|
|
112
|
-
.
|
|
112
|
+
._sizeM_1whkwbw_31{
|
|
113
113
|
--_rs-cl-chip-base-border-radius:20px;
|
|
114
114
|
--_rs-cl-chip-compact-border-radius:8px;
|
|
115
115
|
--_rs-cl-chip-vertical-padding:8px;
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
--_rs-cl-compact-horizontal-gap:6px;
|
|
124
124
|
--_rs-cl-sparse-horizontal-gap:16px;
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
._sizeM_1whkwbw_31 [data-rs-internal='chip-list__chip']{
|
|
127
127
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
128
128
|
--_rs-typography-text-transform:initial;
|
|
129
129
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -161,11 +161,11 @@
|
|
|
161
161
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
162
162
|
}
|
|
163
163
|
@media screen and (max-width: 640px){
|
|
164
|
-
.
|
|
164
|
+
._sizeM_1whkwbw_31 [data-rs-internal='chip-list__chip']{
|
|
165
165
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
.
|
|
168
|
+
._sizeL_1whkwbw_34{
|
|
169
169
|
--_rs-cl-chip-base-border-radius:26px;
|
|
170
170
|
--_rs-cl-chip-compact-border-radius:12px;
|
|
171
171
|
--_rs-cl-chip-vertical-padding:12px;
|
|
@@ -180,11 +180,11 @@
|
|
|
180
180
|
--_rs-cl-sparse-horizontal-gap:16px;
|
|
181
181
|
}
|
|
182
182
|
@media screen and (max-width: 640px){
|
|
183
|
-
.
|
|
183
|
+
._sizeL_1whkwbw_34{
|
|
184
184
|
--_rs-cl-vertical-gap:12px;
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
.
|
|
187
|
+
._sizeL_1whkwbw_34 [data-rs-internal='chip-list__chip']{
|
|
188
188
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
189
189
|
--_rs-typography-text-transform:initial;
|
|
190
190
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -222,34 +222,34 @@
|
|
|
222
222
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
223
223
|
}
|
|
224
224
|
@media screen and (max-width: 640px){
|
|
225
|
-
.
|
|
225
|
+
._sizeL_1whkwbw_34 [data-rs-internal='chip-list__chip']{
|
|
226
226
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
.
|
|
229
|
+
._innerOffsetL_1whkwbw_38{
|
|
230
230
|
--_rs-cl-horizontal-gap-from-sparse:var(--_rs-cl-sparse-horizontal-gap);
|
|
231
231
|
}
|
|
232
232
|
@media screen and (max-width: 640px){
|
|
233
|
-
.
|
|
233
|
+
._innerOffsetL_1whkwbw_38{
|
|
234
234
|
--_rs-cl-horizontal-gap-from-sparse:var(--_rs-cl-base-horizontal-gap);
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
|
-
.
|
|
237
|
+
._innerOffsetM_1whkwbw_41{
|
|
238
238
|
--_rs-cl-horizontal-gap-from-sparse:initial;
|
|
239
239
|
}
|
|
240
|
-
.
|
|
240
|
+
._classic_1whkwbw_45{
|
|
241
241
|
--_rs-cl-chip-active-border-color:var(--_rs-color-primary);
|
|
242
242
|
--_rs-cl-chip-selected-border-color:var(--_rs-color-primary);
|
|
243
243
|
--_rs-cl-chip-hover-background:var(--_rs-color-primary-t-fog);
|
|
244
244
|
--_rs-cl-chip-active-background:var(--_rs-color-primary-t-fog);
|
|
245
245
|
}
|
|
246
|
-
.
|
|
246
|
+
._rock_1whkwbw_48{
|
|
247
247
|
--_rs-cl-chip-active-border-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));
|
|
248
248
|
--_rs-cl-chip-selected-border-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));
|
|
249
249
|
--_rs-cl-chip-hover-background: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);
|
|
250
250
|
--_rs-cl-chip-active-background: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);
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._compact_1whkwbw_52{
|
|
253
253
|
--_rs-cl-chip-border-radius-from-compact:var(
|
|
254
254
|
--_rs-cl-chip-compact-border-radius
|
|
255
255
|
);
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
);
|
|
259
259
|
--_rs-cl-horizontal-gap-from-compact:var(--_rs-cl-compact-horizontal-gap);
|
|
260
260
|
}
|
|
261
|
-
.
|
|
261
|
+
._main_1whkwbw_56{
|
|
262
262
|
--_rs-theme-dark:var(
|
|
263
263
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
264
264
|
var(--rs-theme-dark, 0)
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
269
269
|
}
|
|
270
270
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
271
|
-
.
|
|
271
|
+
._main_1whkwbw_56{
|
|
272
272
|
--_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)));
|
|
273
273
|
--_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)));
|
|
274
274
|
--_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)));
|
|
@@ -277,7 +277,7 @@
|
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
280
|
-
.
|
|
280
|
+
._main_1whkwbw_56{
|
|
281
281
|
--_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);
|
|
282
282
|
--_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));
|
|
283
283
|
--_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));
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
--_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));
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
.
|
|
288
|
+
._main_1whkwbw_56 {
|
|
289
289
|
--_rs-cl-chip-border-radius:var(
|
|
290
290
|
--_rs-cl-chip-border-radius-from-compact,
|
|
291
291
|
var(--_rs-cl-chip-base-border-radius)
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
var(--_rs-cl-horizontal-gap-from-sparse, var(--_rs-cl-base-horizontal-gap))
|
|
300
300
|
);
|
|
301
301
|
}
|
|
302
|
-
.
|
|
302
|
+
._chipsContainer_1whkwbw_62{
|
|
303
303
|
position:relative;
|
|
304
304
|
|
|
305
305
|
display:flex;
|
|
@@ -308,17 +308,17 @@
|
|
|
308
308
|
|
|
309
309
|
gap:var(--_rs-cl-vertical-gap) var(--_rs-cl-horizontal-gap);
|
|
310
310
|
}
|
|
311
|
-
.
|
|
311
|
+
._alignIconLeft_1whkwbw_72{
|
|
312
312
|
--_rs-cl-chip-icon-flex-direction:row;
|
|
313
313
|
--_rs-cl-chip-icon-position-multiplier-left:1;
|
|
314
314
|
--_rs-cl-chip-icon-position-multiplier-right:0;
|
|
315
315
|
}
|
|
316
|
-
.
|
|
316
|
+
._alignIconRight_1whkwbw_75{
|
|
317
317
|
--_rs-cl-chip-icon-flex-direction:row-reverse;
|
|
318
318
|
--_rs-cl-chip-icon-position-multiplier-left:0;
|
|
319
319
|
--_rs-cl-chip-icon-position-multiplier-right:1;
|
|
320
320
|
}
|
|
321
|
-
.
|
|
321
|
+
._chip_1whkwbw_62{
|
|
322
322
|
letter-spacing:var(
|
|
323
323
|
--rs-text-base-letter-spacing,
|
|
324
324
|
var(--_rs-typography-letter-spacing)
|
|
@@ -370,22 +370,22 @@
|
|
|
370
370
|
-moz-osx-font-smoothing:inherit;
|
|
371
371
|
-webkit-appearance:none;
|
|
372
372
|
}
|
|
373
|
-
.
|
|
373
|
+
._chip_1whkwbw_62::-moz-focus-inner{
|
|
374
374
|
padding:0;
|
|
375
375
|
|
|
376
376
|
border:none;
|
|
377
377
|
}
|
|
378
|
-
.
|
|
379
|
-
.
|
|
380
|
-
.
|
|
378
|
+
._chip_1whkwbw_62:hover,
|
|
379
|
+
._chip_1whkwbw_62:focus,
|
|
380
|
+
._chip_1whkwbw_62:active{
|
|
381
381
|
outline:none;
|
|
382
382
|
|
|
383
383
|
text-decoration:none;
|
|
384
384
|
}
|
|
385
|
-
.
|
|
385
|
+
._chip_1whkwbw_62:focus[data-focus-method='key']{
|
|
386
386
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
387
387
|
}
|
|
388
|
-
.
|
|
388
|
+
._chip_1whkwbw_62:focus{
|
|
389
389
|
--_rs-cl-chip-border-color:rgba(
|
|
390
390
|
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),
|
|
391
391
|
calc(0.3 + var(--_rs-theme-dark-coefficient)*0.1)
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
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));
|
|
395
395
|
}
|
|
396
396
|
@media (hover: hover){
|
|
397
|
-
.
|
|
397
|
+
._chip_1whkwbw_62:hover{
|
|
398
398
|
--_rs-cl-chip-border-color:rgba(
|
|
399
399
|
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),
|
|
400
400
|
calc(0.3 + var(--_rs-theme-dark-coefficient)*0.1)
|
|
@@ -405,20 +405,20 @@
|
|
|
405
405
|
background:var(--_rs-cl-chip-hover-background);
|
|
406
406
|
}
|
|
407
407
|
}
|
|
408
|
-
.
|
|
408
|
+
._chip_1whkwbw_62:active{
|
|
409
409
|
--_rs-cl-chip-border-color:var(--_rs-cl-chip-active-border-color);
|
|
410
410
|
|
|
411
411
|
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));
|
|
412
412
|
|
|
413
413
|
background:var(--_rs-cl-chip-active-background);
|
|
414
414
|
}
|
|
415
|
-
.
|
|
415
|
+
._chip_1whkwbw_62._selected_1whkwbw_172{
|
|
416
416
|
--_rs-cl-chip-border-color:var(--_rs-cl-chip-selected-border-color);
|
|
417
417
|
--_rs-cl-chip-border-width:2px;
|
|
418
418
|
|
|
419
419
|
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));
|
|
420
420
|
}
|
|
421
|
-
.
|
|
421
|
+
._disabled_1whkwbw_179 ._chip_1whkwbw_62{
|
|
422
422
|
--_rs-cl-chip-border-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);
|
|
423
423
|
|
|
424
424
|
pointer-events:none;
|
|
@@ -427,10 +427,10 @@
|
|
|
427
427
|
|
|
428
428
|
background:transparent;
|
|
429
429
|
}
|
|
430
|
-
.
|
|
430
|
+
._disabled_1whkwbw_179 ._chip_1whkwbw_62._selected_1whkwbw_172{
|
|
431
431
|
--_rs-cl-chip-border-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.4);
|
|
432
432
|
}
|
|
433
|
-
.
|
|
433
|
+
._chip_1whkwbw_62::before{
|
|
434
434
|
position:absolute;
|
|
435
435
|
top:0;
|
|
436
436
|
right:0;
|
|
@@ -447,7 +447,7 @@
|
|
|
447
447
|
|
|
448
448
|
transition:border-color 100ms;
|
|
449
449
|
}
|
|
450
|
-
.
|
|
450
|
+
._chip_1whkwbw_62 ._icon_1whkwbw_212{
|
|
451
451
|
flex:0 0 auto;
|
|
452
452
|
|
|
453
453
|
width:auto;
|
|
@@ -456,7 +456,7 @@
|
|
|
456
456
|
margin:0;
|
|
457
457
|
fill:currentColor;
|
|
458
458
|
}
|
|
459
|
-
.
|
|
459
|
+
._withoutText_1whkwbw_223{
|
|
460
460
|
--_rs-cl-chip-horizontal-real-padding:var(--_rs-cl-chip-icon-only-padding);
|
|
461
461
|
--_rs-cl-chip-vertical-real-padding:var(--_rs-cl-chip-icon-only-padding);
|
|
462
462
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"light": "
|
|
3
|
-
"dark": "
|
|
4
|
-
"alignLeft": "
|
|
5
|
-
"alignCenter": "
|
|
6
|
-
"alignRight": "
|
|
7
|
-
"sizeXs": "
|
|
8
|
-
"sizeS": "
|
|
9
|
-
"sizeM": "
|
|
10
|
-
"sizeL": "
|
|
11
|
-
"innerOffsetL": "
|
|
12
|
-
"innerOffsetM": "
|
|
13
|
-
"classic": "
|
|
14
|
-
"rock": "
|
|
15
|
-
"compact": "
|
|
16
|
-
"main": "
|
|
17
|
-
"chipsContainer": "
|
|
18
|
-
"alignIconLeft": "
|
|
19
|
-
"alignIconRight": "
|
|
20
|
-
"chip": "
|
|
21
|
-
"selected": "
|
|
22
|
-
"disabled": "
|
|
23
|
-
"icon": "
|
|
24
|
-
"withoutText": "
|
|
2
|
+
"light": "_light_1whkwbw_8",
|
|
3
|
+
"dark": "_dark_1whkwbw_11",
|
|
4
|
+
"alignLeft": "_alignLeft_1whkwbw_15",
|
|
5
|
+
"alignCenter": "_alignCenter_1whkwbw_18",
|
|
6
|
+
"alignRight": "_alignRight_1whkwbw_21",
|
|
7
|
+
"sizeXs": "_sizeXs_1whkwbw_25",
|
|
8
|
+
"sizeS": "_sizeS_1whkwbw_28",
|
|
9
|
+
"sizeM": "_sizeM_1whkwbw_31",
|
|
10
|
+
"sizeL": "_sizeL_1whkwbw_34",
|
|
11
|
+
"innerOffsetL": "_innerOffsetL_1whkwbw_38",
|
|
12
|
+
"innerOffsetM": "_innerOffsetM_1whkwbw_41",
|
|
13
|
+
"classic": "_classic_1whkwbw_45",
|
|
14
|
+
"rock": "_rock_1whkwbw_48",
|
|
15
|
+
"compact": "_compact_1whkwbw_52",
|
|
16
|
+
"main": "_main_1whkwbw_56",
|
|
17
|
+
"chipsContainer": "_chipsContainer_1whkwbw_62",
|
|
18
|
+
"alignIconLeft": "_alignIconLeft_1whkwbw_72",
|
|
19
|
+
"alignIconRight": "_alignIconRight_1whkwbw_75",
|
|
20
|
+
"chip": "_chip_1whkwbw_62",
|
|
21
|
+
"selected": "_selected_1whkwbw_172",
|
|
22
|
+
"disabled": "_disabled_1whkwbw_179",
|
|
23
|
+
"icon": "_icon_1whkwbw_212",
|
|
24
|
+
"withoutText": "_withoutText_1whkwbw_223"
|
|
25
25
|
};
|
|
26
26
|
export { styles as default };
|
package/lib/parts/chip.js
CHANGED
|
@@ -78,7 +78,8 @@ const Chip = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
78
78
|
"data-test": `chip${selected ? ' chip-selected' : ''}`,
|
|
79
79
|
"data-rs-internal": 'chip-list__chip'
|
|
80
80
|
}, icon && /*#__PURE__*/cloneElement(icon, {
|
|
81
|
-
className: cn(icon.props.className, styles.icon)
|
|
81
|
+
className: cn(icon.props.className, styles.icon),
|
|
82
|
+
'data-render-all-sizes': true
|
|
82
83
|
}), !isWithoutText && /*#__PURE__*/React.createElement("span", null, children));
|
|
83
84
|
});
|
|
84
85
|
Chip.displayName = 'Chip';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/chip-list",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"react": ">=16.8.0 <19"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@rescui/colors": "^0.2.
|
|
28
|
-
"@rescui/scripts": "^0.
|
|
29
|
-
"@rescui/typography": "^0.23.
|
|
27
|
+
"@rescui/colors": "^0.2.8",
|
|
28
|
+
"@rescui/scripts": "^0.4.0",
|
|
29
|
+
"@rescui/typography": "^0.23.1",
|
|
30
30
|
"@rescui/visual-regression": "^0.1.2"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
35
35
|
},
|
|
36
36
|
"nx": {},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "f521c66dfa4124f1cac34821bf8531a0f9596bcc"
|
|
38
38
|
}
|