@rescui/chip-list 0.7.10 → 0.8.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.
@@ -0,0 +1,520 @@
1
+ @define-mixin rs-chip-list-align-left{
2
+ &:not(html){
3
+ --_rs-cl-align:left;
4
+ }
5
+ }
6
+ @define-mixin rs-chip-list-align-center{
7
+ &:not(html){
8
+ --_rs-cl-align:center;
9
+ }
10
+ }
11
+ @define-mixin rs-chip-list-align-right{
12
+ &:not(html){
13
+ --_rs-cl-align:right;
14
+ }
15
+ }
16
+ @define-mixin rs-chip-list-sparse-true{
17
+ &:not(html){
18
+ --_rs-cl-sparse-horizontal-gap-or-initial:var(
19
+ --_rs-cl-sparse-horizontal-gap
20
+ );
21
+ }
22
+ @media screen and (max-width: 640px){
23
+ &:not(html){
24
+ --_rs-cl-sparse-horizontal-gap-or-initial:8px;
25
+ }
26
+ }
27
+ }
28
+ @define-mixin rs-chip-list-sparse-false{
29
+ &:not(html){
30
+ --_rs-cl-sparse-horizontal-gap-or-initial:initial;
31
+ }
32
+ }
33
+ @define-mixin rs-chip-list-size-xs{
34
+ &:not(html){
35
+ --_rs-cl-chip-border-radius:4px;
36
+ --_rs-cl-chip-multiline-border-radius:4px;
37
+ --_rs-cl-chip-vertical-padding:2px;
38
+ --_rs-cl-chip-horizontal-padding:16px;
39
+ --_rs-cl-chip-icon-size:16px;
40
+ --_rs-cl-chip-icon-offset:8px;
41
+ --_rs-cl-chip-icon-margin-top:2px;
42
+ --_rs-cl-vertical-gap:12px;
43
+ --_rs-cl-sparse-horizontal-gap:12px;
44
+ }
45
+ @media screen and (max-width: 640px){
46
+ &:not(html){
47
+ --_rs-cl-vertical-gap:8px;
48
+ }
49
+ }
50
+ &:not(html) [data-rs-internal='chip-list__chip']{
51
+ --_rs-typography-letter-spacing:0.0045em;
52
+ --_rs-typography-text-transform:initial;
53
+ --_rs-typography-font-variant-numeric:initial;
54
+ --_rs-typography-font-family:var(
55
+ --rs-font-family-ui,
56
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
57
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
58
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
59
+ );
60
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
61
+ --_rs-typography-font-weight:var(
62
+ --rs-font-weight-regular,
63
+ 400
64
+ );
65
+ --_rs-typography-line-height:var(
66
+ --rs-text-3-line-height,
67
+ 20px
68
+ );
69
+ --_rs-typography-base-color:var(
70
+ --_rs-typography-hardness-color,
71
+ var(
72
+ --rs-color-average,
73
+ 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.7)
74
+ )
75
+ );
76
+ --_rs-typography-text-auto-offset:8px;
77
+ --_rs-typography-ul-list-li-padding-left:28px;
78
+ --_rs-typography-ol-list-li-padding-left:21px;
79
+ --_rs-typography-list-li-margin-top-from-text:8px;
80
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
81
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
82
+ --_rs-typography-link-border-bottom-width-from-text:1px;
83
+ }
84
+ }
85
+ @define-mixin rs-chip-list-size-s{
86
+ &:not(html){
87
+ --_rs-cl-chip-border-radius:24px;
88
+ --_rs-cl-chip-multiline-border-radius:4px;
89
+ --_rs-cl-chip-vertical-padding:6px;
90
+ --_rs-cl-chip-horizontal-padding:16px;
91
+ --_rs-cl-chip-icon-size:20px;
92
+ --_rs-cl-chip-icon-offset:8px;
93
+ --_rs-cl-vertical-gap:12px;
94
+ --_rs-cl-sparse-horizontal-gap:12px;
95
+ }
96
+ &:not(html) [data-rs-internal='chip-list__chip']{
97
+ --_rs-typography-letter-spacing:0.0045em;
98
+ --_rs-typography-text-transform:initial;
99
+ --_rs-typography-font-variant-numeric:initial;
100
+ --_rs-typography-font-family:var(
101
+ --rs-font-family-ui,
102
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
103
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
104
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
105
+ );
106
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
107
+ --_rs-typography-font-weight:var(
108
+ --rs-font-weight-regular,
109
+ 400
110
+ );
111
+ --_rs-typography-line-height:var(
112
+ --rs-text-3-line-height,
113
+ 20px
114
+ );
115
+ --_rs-typography-base-color:var(
116
+ --_rs-typography-hardness-color,
117
+ var(
118
+ --rs-color-average,
119
+ 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.7)
120
+ )
121
+ );
122
+ --_rs-typography-text-auto-offset:8px;
123
+ --_rs-typography-ul-list-li-padding-left:28px;
124
+ --_rs-typography-ol-list-li-padding-left:21px;
125
+ --_rs-typography-list-li-margin-top-from-text:8px;
126
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
127
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
128
+ --_rs-typography-link-border-bottom-width-from-text:1px;
129
+ }
130
+ }
131
+ @define-mixin rs-chip-list-size-m{
132
+ &:not(html){
133
+ --_rs-cl-chip-border-radius:24px;
134
+ --_rs-cl-chip-multiline-border-radius:8px;
135
+ --_rs-cl-chip-vertical-padding:8px;
136
+ --_rs-cl-chip-horizontal-padding:24px;
137
+ --_rs-cl-chip-icon-size:24px;
138
+ --_rs-cl-chip-icon-offset:8px;
139
+ --_rs-cl-vertical-gap:12px;
140
+ --_rs-cl-sparse-horizontal-gap:16px;
141
+ }
142
+ &:not(html) [data-rs-internal='chip-list__chip']{
143
+ --_rs-typography-letter-spacing:0.0015em;
144
+ --_rs-typography-text-transform:initial;
145
+ --_rs-typography-font-variant-numeric:initial;
146
+ --_rs-typography-font-family:var(
147
+ --rs-font-family-ui,
148
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
149
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
150
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
151
+ );
152
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
153
+ --_rs-typography-font-weight:var(
154
+ --rs-font-weight-regular,
155
+ 400
156
+ );
157
+ --_rs-typography-line-height:var(
158
+ --rs-text-2-line-height,
159
+ 24px
160
+ );
161
+ --_rs-typography-base-color:var(
162
+ --_rs-typography-hardness-color,
163
+ var(
164
+ --rs-color-average,
165
+ 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.7)
166
+ )
167
+ );
168
+ --_rs-typography-text-auto-offset:16px;
169
+ --_rs-typography-ul-list-li-padding-left:22px;
170
+ --_rs-typography-ol-list-li-padding-left:26px;
171
+ --_rs-typography-list-li-margin-top-from-text:16px;
172
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
173
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
174
+ --_rs-typography-link-border-bottom-width-from-text:1px;
175
+ }
176
+ @media screen and (max-width: 640px){
177
+ &:not(html) [data-rs-internal='chip-list__chip']{
178
+ --_rs-typography-list-li-margin-top-from-text:12px;
179
+ }
180
+ }
181
+ }
182
+ @define-mixin rs-chip-list-size-l{
183
+ &:not(html){
184
+ --_rs-cl-chip-border-radius:36px;
185
+ --_rs-cl-chip-multiline-border-radius:12px;
186
+ --_rs-cl-chip-vertical-padding:12px;
187
+ --_rs-cl-chip-horizontal-padding:32px;
188
+ --_rs-cl-chip-icon-size:28px;
189
+ --_rs-cl-chip-icon-offset:16px;
190
+ --_rs-cl-vertical-gap:16px;
191
+ --_rs-cl-sparse-horizontal-gap:16px;
192
+ }
193
+ @media screen and (max-width: 640px){
194
+ &:not(html){
195
+ --_rs-cl-vertical-gap:12px;
196
+ }
197
+ }
198
+ &:not(html) [data-rs-internal='chip-list__chip']{
199
+ --_rs-typography-letter-spacing:normal;
200
+ --_rs-typography-text-transform:initial;
201
+ --_rs-typography-font-variant-numeric:initial;
202
+ --_rs-typography-font-family:var(
203
+ --rs-font-family-ui,
204
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
205
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
206
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
207
+ );
208
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
209
+ --_rs-typography-font-weight:var(
210
+ --rs-font-weight-regular,
211
+ 400
212
+ );
213
+ --_rs-typography-line-height:var(
214
+ --rs-text-1-line-height,
215
+ 28px
216
+ );
217
+ --_rs-typography-base-color:var(
218
+ --_rs-typography-hardness-color,
219
+ var(
220
+ --rs-color-average,
221
+ 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.7)
222
+ )
223
+ );
224
+ --_rs-typography-text-auto-offset:32px;
225
+ --_rs-typography-ul-list-li-padding-left:26px;
226
+ --_rs-typography-ol-list-li-padding-left:32px;
227
+ --_rs-typography-list-li-margin-top-from-text:24px;
228
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
229
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
230
+ --_rs-typography-link-border-bottom-width-from-text:1px;
231
+ }
232
+ @media screen and (max-width: 640px){
233
+ &:not(html) [data-rs-internal='chip-list__chip']{
234
+ --_rs-typography-list-li-margin-top-from-text:16px;
235
+ }
236
+ }
237
+ }
238
+ @define-mixin rs-chip-list-mode-classic{
239
+ &:not(html){
240
+ --_rs-cl-chip-active-border-color:var(--_rs-color-primary);
241
+ --_rs-cl-chip-selected-border-color:var(--_rs-color-primary);
242
+ --_rs-cl-chip-hover-background:var(--_rs-color-primary-t-fog);
243
+ --_rs-cl-chip-active-background:var(--_rs-color-primary-t-fog);
244
+ }
245
+ }
246
+ @define-mixin rs-chip-list-mode-rock{
247
+ &:not(html){
248
+ --_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));
249
+ --_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));
250
+ --_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);
251
+ --_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);
252
+ }
253
+ }
254
+ @define-mixin rs-chip-icon-left{
255
+ &:not(html){
256
+ --_rs-cl-chip-icon-flex-direction:row;
257
+ --_rs-cl-chip-icon-position-multiplier-left:1;
258
+ --_rs-cl-chip-icon-position-multiplier-right:0;
259
+ }
260
+ }
261
+ @define-mixin rs-chip-icon-right{
262
+ &:not(html){
263
+ --_rs-cl-chip-icon-flex-direction:row-reverse;
264
+ --_rs-cl-chip-icon-position-multiplier-left:0;
265
+ --_rs-cl-chip-icon-position-multiplier-right:1;
266
+ }
267
+ }
268
+ @define-mixin rs-chip-list-multi-align-left{
269
+ &:not(html){
270
+ --_rs-cl-align:left;
271
+ }
272
+ }
273
+ @define-mixin rs-chip-list-multi-align-center{
274
+ &:not(html){
275
+ --_rs-cl-align:center;
276
+ }
277
+ }
278
+ @define-mixin rs-chip-list-multi-align-right{
279
+ &:not(html){
280
+ --_rs-cl-align:right;
281
+ }
282
+ }
283
+ @define-mixin rs-chip-list-multi-sparse-true{
284
+ &:not(html){
285
+ --_rs-cl-sparse-horizontal-gap-or-initial:var(
286
+ --_rs-cl-sparse-horizontal-gap
287
+ );
288
+ }
289
+ @media screen and (max-width: 640px){
290
+ &:not(html){
291
+ --_rs-cl-sparse-horizontal-gap-or-initial:8px;
292
+ }
293
+ }
294
+ }
295
+ @define-mixin rs-chip-list-multi-sparse-false{
296
+ &:not(html){
297
+ --_rs-cl-sparse-horizontal-gap-or-initial:initial;
298
+ }
299
+ }
300
+ @define-mixin rs-chip-list-multi-size-xs{
301
+ &:not(html){
302
+ --_rs-cl-chip-border-radius:4px;
303
+ --_rs-cl-chip-multiline-border-radius:4px;
304
+ --_rs-cl-chip-vertical-padding:2px;
305
+ --_rs-cl-chip-horizontal-padding:16px;
306
+ --_rs-cl-chip-icon-size:16px;
307
+ --_rs-cl-chip-icon-offset:8px;
308
+ --_rs-cl-chip-icon-margin-top:2px;
309
+ --_rs-cl-vertical-gap:12px;
310
+ --_rs-cl-sparse-horizontal-gap:12px;
311
+ }
312
+ @media screen and (max-width: 640px){
313
+ &:not(html){
314
+ --_rs-cl-vertical-gap:8px;
315
+ }
316
+ }
317
+ &:not(html) [data-rs-internal='chip-list__chip']{
318
+ --_rs-typography-letter-spacing:0.0045em;
319
+ --_rs-typography-text-transform:initial;
320
+ --_rs-typography-font-variant-numeric:initial;
321
+ --_rs-typography-font-family:var(
322
+ --rs-font-family-ui,
323
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
324
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
325
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
326
+ );
327
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
328
+ --_rs-typography-font-weight:var(
329
+ --rs-font-weight-regular,
330
+ 400
331
+ );
332
+ --_rs-typography-line-height:var(
333
+ --rs-text-3-line-height,
334
+ 20px
335
+ );
336
+ --_rs-typography-base-color:var(
337
+ --_rs-typography-hardness-color,
338
+ var(
339
+ --rs-color-average,
340
+ 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.7)
341
+ )
342
+ );
343
+ --_rs-typography-text-auto-offset:8px;
344
+ --_rs-typography-ul-list-li-padding-left:28px;
345
+ --_rs-typography-ol-list-li-padding-left:21px;
346
+ --_rs-typography-list-li-margin-top-from-text:8px;
347
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
348
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
349
+ --_rs-typography-link-border-bottom-width-from-text:1px;
350
+ }
351
+ }
352
+ @define-mixin rs-chip-list-multi-size-s{
353
+ &:not(html){
354
+ --_rs-cl-chip-border-radius:24px;
355
+ --_rs-cl-chip-multiline-border-radius:4px;
356
+ --_rs-cl-chip-vertical-padding:6px;
357
+ --_rs-cl-chip-horizontal-padding:16px;
358
+ --_rs-cl-chip-icon-size:20px;
359
+ --_rs-cl-chip-icon-offset:8px;
360
+ --_rs-cl-vertical-gap:12px;
361
+ --_rs-cl-sparse-horizontal-gap:12px;
362
+ }
363
+ &:not(html) [data-rs-internal='chip-list__chip']{
364
+ --_rs-typography-letter-spacing:0.0045em;
365
+ --_rs-typography-text-transform:initial;
366
+ --_rs-typography-font-variant-numeric:initial;
367
+ --_rs-typography-font-family:var(
368
+ --rs-font-family-ui,
369
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
370
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
371
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
372
+ );
373
+ --_rs-typography-font-size:var(--rs-text-3-font-size, 13px);
374
+ --_rs-typography-font-weight:var(
375
+ --rs-font-weight-regular,
376
+ 400
377
+ );
378
+ --_rs-typography-line-height:var(
379
+ --rs-text-3-line-height,
380
+ 20px
381
+ );
382
+ --_rs-typography-base-color:var(
383
+ --_rs-typography-hardness-color,
384
+ var(
385
+ --rs-color-average,
386
+ 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.7)
387
+ )
388
+ );
389
+ --_rs-typography-text-auto-offset:8px;
390
+ --_rs-typography-ul-list-li-padding-left:28px;
391
+ --_rs-typography-ol-list-li-padding-left:21px;
392
+ --_rs-typography-list-li-margin-top-from-text:8px;
393
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
394
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
395
+ --_rs-typography-link-border-bottom-width-from-text:1px;
396
+ }
397
+ }
398
+ @define-mixin rs-chip-list-multi-size-m{
399
+ &:not(html){
400
+ --_rs-cl-chip-border-radius:24px;
401
+ --_rs-cl-chip-multiline-border-radius:8px;
402
+ --_rs-cl-chip-vertical-padding:8px;
403
+ --_rs-cl-chip-horizontal-padding:24px;
404
+ --_rs-cl-chip-icon-size:24px;
405
+ --_rs-cl-chip-icon-offset:8px;
406
+ --_rs-cl-vertical-gap:12px;
407
+ --_rs-cl-sparse-horizontal-gap:16px;
408
+ }
409
+ &:not(html) [data-rs-internal='chip-list__chip']{
410
+ --_rs-typography-letter-spacing:0.0015em;
411
+ --_rs-typography-text-transform:initial;
412
+ --_rs-typography-font-variant-numeric:initial;
413
+ --_rs-typography-font-family:var(
414
+ --rs-font-family-ui,
415
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
416
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
417
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
418
+ );
419
+ --_rs-typography-font-size:var(--rs-text-2-font-size, 16px);
420
+ --_rs-typography-font-weight:var(
421
+ --rs-font-weight-regular,
422
+ 400
423
+ );
424
+ --_rs-typography-line-height:var(
425
+ --rs-text-2-line-height,
426
+ 24px
427
+ );
428
+ --_rs-typography-base-color:var(
429
+ --_rs-typography-hardness-color,
430
+ var(
431
+ --rs-color-average,
432
+ 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.7)
433
+ )
434
+ );
435
+ --_rs-typography-text-auto-offset:16px;
436
+ --_rs-typography-ul-list-li-padding-left:22px;
437
+ --_rs-typography-ol-list-li-padding-left:26px;
438
+ --_rs-typography-list-li-margin-top-from-text:16px;
439
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
440
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
441
+ --_rs-typography-link-border-bottom-width-from-text:1px;
442
+ }
443
+ @media screen and (max-width: 640px){
444
+ &:not(html) [data-rs-internal='chip-list__chip']{
445
+ --_rs-typography-list-li-margin-top-from-text:12px;
446
+ }
447
+ }
448
+ }
449
+ @define-mixin rs-chip-list-multi-size-l{
450
+ &:not(html){
451
+ --_rs-cl-chip-border-radius:36px;
452
+ --_rs-cl-chip-multiline-border-radius:12px;
453
+ --_rs-cl-chip-vertical-padding:12px;
454
+ --_rs-cl-chip-horizontal-padding:32px;
455
+ --_rs-cl-chip-icon-size:28px;
456
+ --_rs-cl-chip-icon-offset:16px;
457
+ --_rs-cl-vertical-gap:16px;
458
+ --_rs-cl-sparse-horizontal-gap:16px;
459
+ }
460
+ @media screen and (max-width: 640px){
461
+ &:not(html){
462
+ --_rs-cl-vertical-gap:12px;
463
+ }
464
+ }
465
+ &:not(html) [data-rs-internal='chip-list__chip']{
466
+ --_rs-typography-letter-spacing:normal;
467
+ --_rs-typography-text-transform:initial;
468
+ --_rs-typography-font-variant-numeric:initial;
469
+ --_rs-typography-font-family:var(
470
+ --rs-font-family-ui,
471
+ var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system,
472
+ BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
473
+ 'Droid Sans', 'Helvetica Neue', Arial, sans-serif)
474
+ );
475
+ --_rs-typography-font-size:var(--rs-text-1-font-size, 20px);
476
+ --_rs-typography-font-weight:var(
477
+ --rs-font-weight-regular,
478
+ 400
479
+ );
480
+ --_rs-typography-line-height:var(
481
+ --rs-text-1-line-height,
482
+ 28px
483
+ );
484
+ --_rs-typography-base-color:var(
485
+ --_rs-typography-hardness-color,
486
+ var(
487
+ --rs-color-average,
488
+ 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.7)
489
+ )
490
+ );
491
+ --_rs-typography-text-auto-offset:32px;
492
+ --_rs-typography-ul-list-li-padding-left:26px;
493
+ --_rs-typography-ol-list-li-padding-left:32px;
494
+ --_rs-typography-list-li-margin-top-from-text:24px;
495
+ --_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
496
+ --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
497
+ --_rs-typography-link-border-bottom-width-from-text:1px;
498
+ }
499
+ @media screen and (max-width: 640px){
500
+ &:not(html) [data-rs-internal='chip-list__chip']{
501
+ --_rs-typography-list-li-margin-top-from-text:16px;
502
+ }
503
+ }
504
+ }
505
+ @define-mixin rs-chip-list-multi-mode-classic{
506
+ &:not(html){
507
+ --_rs-cl-chip-active-border-color:var(--_rs-color-primary);
508
+ --_rs-cl-chip-selected-border-color:var(--_rs-color-primary);
509
+ --_rs-cl-chip-hover-background:var(--_rs-color-primary-t-fog);
510
+ --_rs-cl-chip-active-background:var(--_rs-color-primary-t-fog);
511
+ }
512
+ }
513
+ @define-mixin rs-chip-list-multi-mode-rock{
514
+ &:not(html){
515
+ --_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));
516
+ --_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));
517
+ --_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);
518
+ --_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);
519
+ }
520
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/chip-list",
3
- "version": "0.7.10",
3
+ "version": "0.8.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -16,8 +16,8 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime-corejs3": "^7.14.0",
18
18
  "@juggle/resize-observer": "3.3.0",
19
- "@rescui/button": "^0.14.1",
20
- "@rescui/icons": "^0.15.2",
19
+ "@rescui/button": "^0.15.0",
20
+ "@rescui/icons": "^0.16.0",
21
21
  "classnames": "^2.2.6",
22
22
  "core-js": "^3.9.1"
23
23
  },
@@ -27,14 +27,14 @@
27
27
  "react": ">=16.8.0 <19"
28
28
  },
29
29
  "devDependencies": {
30
- "@rescui/colors": "^0.1.10",
31
- "@rescui/postcss-preset-library": "^0.1.1",
32
- "@rescui/scripts": "^0.2.2",
33
- "@rescui/typography": "^0.14.0",
30
+ "@rescui/colors": "^0.2.0",
31
+ "@rescui/scripts": "^0.3.0",
32
+ "@rescui/typography": "^0.16.0",
34
33
  "@rescui/visual-regression": "^0.1.1"
35
34
  },
36
35
  "scripts": {
37
- "build": "rescui-scripts build"
36
+ "build": "rescui-scripts build && yarn run build-pcss-api",
37
+ "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
38
38
  },
39
- "gitHead": "3be2e2a867635e8ebcb7fbbdfb8ad65a0700a61f"
39
+ "gitHead": "51da8a7188f4c558c563065a4ff4ef5c8e74994c"
40
40
  }