@rescui/chip-list 0.9.1 → 0.9.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 CHANGED
@@ -1,19 +1,19 @@
1
- ._light_58cwl_8{
1
+ ._light_1pk70hd_8{
2
2
  --rs-theme-dark:0;
3
3
  }
4
- ._dark_58cwl_11{
4
+ ._dark_1pk70hd_11{
5
5
  --rs-theme-dark:1;
6
6
  }
7
- ._alignLeft_58cwl_15{
7
+ ._alignLeft_1pk70hd_15{
8
8
  --_rs-cl-align:left;
9
9
  }
10
- ._alignCenter_58cwl_18{
10
+ ._alignCenter_1pk70hd_18{
11
11
  --_rs-cl-align:center;
12
12
  }
13
- ._alignRight_58cwl_21{
13
+ ._alignRight_1pk70hd_21{
14
14
  --_rs-cl-align:right;
15
15
  }
16
- ._sizeXs_58cwl_25{
16
+ ._sizeXs_1pk70hd_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
- ._sizeXs_58cwl_25 [data-rs-internal='chip-list__chip']{
30
+ ._sizeXs_1pk70hd_25 [data-rs-internal='chip-list__chip']{
31
31
  --_rs-typography-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
- ._sizeS_58cwl_28{
64
+ ._sizeS_1pk70hd_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;
@@ -74,7 +74,7 @@
74
74
  --_rs-cl-compact-horizontal-gap:6px;
75
75
  --_rs-cl-sparse-horizontal-gap:12px;
76
76
  }
77
- ._sizeS_58cwl_28 [data-rs-internal='chip-list__chip']{
77
+ ._sizeS_1pk70hd_28 [data-rs-internal='chip-list__chip']{
78
78
  --_rs-typography-letter-spacing:0.0045em;
79
79
  --_rs-typography-text-transform:initial;
80
80
  --_rs-typography-font-variant-numeric:initial;
@@ -108,7 +108,7 @@
108
108
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
109
109
  --_rs-typography-link-border-bottom-width-from-text:1px;
110
110
  }
111
- ._sizeM_58cwl_31{
111
+ ._sizeM_1pk70hd_31{
112
112
  --_rs-cl-chip-base-border-radius:20px;
113
113
  --_rs-cl-chip-compact-border-radius:8px;
114
114
  --_rs-cl-chip-vertical-padding:8px;
@@ -121,7 +121,7 @@
121
121
  --_rs-cl-compact-horizontal-gap:6px;
122
122
  --_rs-cl-sparse-horizontal-gap:16px;
123
123
  }
124
- ._sizeM_58cwl_31 [data-rs-internal='chip-list__chip']{
124
+ ._sizeM_1pk70hd_31 [data-rs-internal='chip-list__chip']{
125
125
  --_rs-typography-letter-spacing:0.0015em;
126
126
  --_rs-typography-text-transform:initial;
127
127
  --_rs-typography-font-variant-numeric:initial;
@@ -156,11 +156,11 @@
156
156
  --_rs-typography-link-border-bottom-width-from-text:1px;
157
157
  }
158
158
  @media screen and (max-width: 640px){
159
- ._sizeM_58cwl_31 [data-rs-internal='chip-list__chip']{
159
+ ._sizeM_1pk70hd_31 [data-rs-internal='chip-list__chip']{
160
160
  --_rs-typography-list-li-margin-top-from-text:12px;
161
161
  }
162
162
  }
163
- ._sizeL_58cwl_34{
163
+ ._sizeL_1pk70hd_34{
164
164
  --_rs-cl-chip-base-border-radius:26px;
165
165
  --_rs-cl-chip-compact-border-radius:12px;
166
166
  --_rs-cl-chip-vertical-padding:12px;
@@ -174,11 +174,11 @@
174
174
  --_rs-cl-sparse-horizontal-gap:16px;
175
175
  }
176
176
  @media screen and (max-width: 640px){
177
- ._sizeL_58cwl_34{
177
+ ._sizeL_1pk70hd_34{
178
178
  --_rs-cl-vertical-gap:12px;
179
179
  }
180
180
  }
181
- ._sizeL_58cwl_34 [data-rs-internal='chip-list__chip']{
181
+ ._sizeL_1pk70hd_34 [data-rs-internal='chip-list__chip']{
182
182
  --_rs-typography-letter-spacing:normal;
183
183
  --_rs-typography-text-transform:initial;
184
184
  --_rs-typography-font-variant-numeric:initial;
@@ -213,34 +213,34 @@
213
213
  --_rs-typography-link-border-bottom-width-from-text:1px;
214
214
  }
215
215
  @media screen and (max-width: 640px){
216
- ._sizeL_58cwl_34 [data-rs-internal='chip-list__chip']{
216
+ ._sizeL_1pk70hd_34 [data-rs-internal='chip-list__chip']{
217
217
  --_rs-typography-list-li-margin-top-from-text:16px;
218
218
  }
219
219
  }
220
- ._innerOffsetL_58cwl_38{
220
+ ._innerOffsetL_1pk70hd_38{
221
221
  --_rs-cl-horizontal-gap-from-sparse:var(--_rs-cl-sparse-horizontal-gap);
222
222
  }
223
223
  @media screen and (max-width: 640px){
224
- ._innerOffsetL_58cwl_38{
224
+ ._innerOffsetL_1pk70hd_38{
225
225
  --_rs-cl-horizontal-gap-from-sparse:var(--_rs-cl-base-horizontal-gap);
226
226
  }
227
227
  }
228
- ._innerOffsetM_58cwl_41{
228
+ ._innerOffsetM_1pk70hd_41{
229
229
  --_rs-cl-horizontal-gap-from-sparse:initial;
230
230
  }
231
- ._classic_58cwl_45{
231
+ ._classic_1pk70hd_45{
232
232
  --_rs-cl-chip-active-border-color:var(--_rs-color-primary);
233
233
  --_rs-cl-chip-selected-border-color:var(--_rs-color-primary);
234
234
  --_rs-cl-chip-hover-background:var(--_rs-color-primary-t-fog);
235
235
  --_rs-cl-chip-active-background:var(--_rs-color-primary-t-fog);
236
236
  }
237
- ._rock_58cwl_48{
237
+ ._rock_1pk70hd_48{
238
238
  --_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));
239
239
  --_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));
240
240
  --_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);
241
241
  --_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);
242
242
  }
243
- ._compact_58cwl_52{
243
+ ._compact_1pk70hd_52{
244
244
  --_rs-cl-chip-border-radius-from-compact:var(
245
245
  --_rs-cl-chip-compact-border-radius
246
246
  );
@@ -249,7 +249,7 @@
249
249
  );
250
250
  --_rs-cl-horizontal-gap-from-compact:var(--_rs-cl-compact-horizontal-gap);
251
251
  }
252
- ._main_58cwl_56{
252
+ ._main_1pk70hd_56{
253
253
  --_rs-theme-dark:var(
254
254
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
255
255
  var(--rs-theme-dark, 0)
@@ -259,7 +259,7 @@
259
259
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
260
260
  }
261
261
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
262
- ._main_58cwl_56{
262
+ ._main_1pk70hd_56{
263
263
  --_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)));
264
264
  --_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)));
265
265
  --_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)));
@@ -268,7 +268,7 @@
268
268
  }
269
269
  }
270
270
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
271
- ._main_58cwl_56{
271
+ ._main_1pk70hd_56{
272
272
  --_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);
273
273
  --_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));
274
274
  --_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));
@@ -276,7 +276,7 @@
276
276
  --_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));
277
277
  }
278
278
  }
279
- ._main_58cwl_56 {
279
+ ._main_1pk70hd_56 {
280
280
  --_rs-cl-chip-border-radius:var(
281
281
  --_rs-cl-chip-border-radius-from-compact,
282
282
  var(--_rs-cl-chip-base-border-radius)
@@ -290,7 +290,7 @@
290
290
  var(--_rs-cl-horizontal-gap-from-sparse, var(--_rs-cl-base-horizontal-gap))
291
291
  );
292
292
  }
293
- ._chipsContainer_58cwl_62{
293
+ ._chipsContainer_1pk70hd_62{
294
294
  position:relative;
295
295
 
296
296
  display:-webkit-box;
@@ -306,17 +306,17 @@
306
306
 
307
307
  gap:var(--_rs-cl-vertical-gap) var(--_rs-cl-horizontal-gap);
308
308
  }
309
- ._alignIconLeft_58cwl_72{
309
+ ._alignIconLeft_1pk70hd_72{
310
310
  --_rs-cl-chip-icon-flex-direction:row;
311
311
  --_rs-cl-chip-icon-position-multiplier-left:1;
312
312
  --_rs-cl-chip-icon-position-multiplier-right:0;
313
313
  }
314
- ._alignIconRight_58cwl_75{
314
+ ._alignIconRight_1pk70hd_75{
315
315
  --_rs-cl-chip-icon-flex-direction:row-reverse;
316
316
  --_rs-cl-chip-icon-position-multiplier-left:0;
317
317
  --_rs-cl-chip-icon-position-multiplier-right:1;
318
318
  }
319
- ._chip_58cwl_62{
319
+ ._chip_1pk70hd_62{
320
320
  --_rs-cl-chip-icon-margin-right:calc(var(--_rs-cl-chip-icon-offset)*(1 - var(--_rs-cl-chip-icon-position-multiplier-right)) + -2px*var(--_rs-cl-chip-icon-position-multiplier-right));
321
321
  --_rs-cl-chip-icon-margin-left:calc(var(--_rs-cl-chip-icon-offset)*(1 - var(--_rs-cl-chip-icon-position-multiplier-left)) + -2px*var(--_rs-cl-chip-icon-position-multiplier-left));
322
322
  letter-spacing:var(
@@ -332,11 +332,11 @@
332
332
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
333
333
  font-feature-settings:'kern', 'liga', 'calt';
334
334
  }
335
- ._chip_58cwl_62 > p:not(:nth-child(1)),
336
- ._chip_58cwl_62 > pre:not(:nth-child(1)){
335
+ ._chip_1pk70hd_62 > p:not(:nth-child(1)),
336
+ ._chip_1pk70hd_62 > pre:not(:nth-child(1)){
337
337
  padding-top:var(--_rs-typography-auto-offset-or-initial);
338
338
  }
339
- ._chip_58cwl_62 {
339
+ ._chip_1pk70hd_62 {
340
340
 
341
341
  position:relative;
342
342
  z-index:1;
@@ -388,23 +388,23 @@
388
388
  -moz-osx-font-smoothing:inherit;
389
389
  -webkit-appearance:none;
390
390
  }
391
- ._chip_58cwl_62::-moz-focus-inner{
391
+ ._chip_1pk70hd_62::-moz-focus-inner{
392
392
  padding:0;
393
393
 
394
394
  border:none;
395
395
  }
396
- ._chip_58cwl_62:hover,
397
- ._chip_58cwl_62:focus,
398
- ._chip_58cwl_62:active{
396
+ ._chip_1pk70hd_62:hover,
397
+ ._chip_1pk70hd_62:focus,
398
+ ._chip_1pk70hd_62:active{
399
399
  outline:none;
400
400
 
401
401
  text-decoration:none;
402
402
  }
403
- ._chip_58cwl_62:focus[data-focus-method='key']{
403
+ ._chip_1pk70hd_62:focus[data-focus-method='key']{
404
404
  -webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
405
405
  box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
406
406
  }
407
- ._chip_58cwl_62:focus{
407
+ ._chip_1pk70hd_62:focus{
408
408
  border-color:rgba(
409
409
  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),
410
410
  calc(0.3 + var(--_rs-theme-dark-coefficient)*0.1)
@@ -413,7 +413,7 @@
413
413
  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));
414
414
  }
415
415
  @media (hover: hover){
416
- ._chip_58cwl_62:hover{
416
+ ._chip_1pk70hd_62:hover{
417
417
  border-color:rgba(
418
418
  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),
419
419
  calc(0.3 + var(--_rs-theme-dark-coefficient)*0.1)
@@ -424,14 +424,14 @@
424
424
  background:var(--_rs-cl-chip-hover-background);
425
425
  }
426
426
  }
427
- ._chip_58cwl_62:active{
427
+ ._chip_1pk70hd_62:active{
428
428
  border-color:var(--_rs-cl-chip-active-border-color);
429
429
 
430
430
  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));
431
431
 
432
432
  background:var(--_rs-cl-chip-active-background);
433
433
  }
434
- ._chip_58cwl_62._selected_58cwl_166{
434
+ ._chip_1pk70hd_62._selected_1pk70hd_166{
435
435
  padding:calc(var(--_rs-cl-chip-vertical-padding) - 2px) calc(var(--_rs-cl-chip-horizontal-padding) - 2px);
436
436
 
437
437
  border-width:2px;
@@ -439,7 +439,7 @@
439
439
 
440
440
  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));
441
441
  }
442
- ._chip_58cwl_62 ._icon_58cwl_176{
442
+ ._chip_1pk70hd_62 ._icon_1pk70hd_176{
443
443
  -webkit-box-flex:0;
444
444
  -ms-flex:0 0 auto;
445
445
  flex:0 0 auto;
@@ -450,6 +450,6 @@
450
450
  margin:0 var(--_rs-cl-chip-icon-margin-right) 0 var(--_rs-cl-chip-icon-margin-left);
451
451
  fill:currentColor;
452
452
  }
453
- ._chip_58cwl_62._withoutText_58cwl_187 ._icon_58cwl_176{
453
+ ._chip_1pk70hd_62._withoutText_1pk70hd_187 ._icon_1pk70hd_176{
454
454
  margin:0;
455
455
  }
@@ -1,25 +1,25 @@
1
1
  var styles = {
2
- "light": "_light_58cwl_8",
3
- "dark": "_dark_58cwl_11",
4
- "alignLeft": "_alignLeft_58cwl_15",
5
- "alignCenter": "_alignCenter_58cwl_18",
6
- "alignRight": "_alignRight_58cwl_21",
7
- "sizeXs": "_sizeXs_58cwl_25",
8
- "sizeS": "_sizeS_58cwl_28",
9
- "sizeM": "_sizeM_58cwl_31",
10
- "sizeL": "_sizeL_58cwl_34",
11
- "innerOffsetL": "_innerOffsetL_58cwl_38",
12
- "innerOffsetM": "_innerOffsetM_58cwl_41",
13
- "classic": "_classic_58cwl_45",
14
- "rock": "_rock_58cwl_48",
15
- "compact": "_compact_58cwl_52",
16
- "main": "_main_58cwl_56",
17
- "chipsContainer": "_chipsContainer_58cwl_62",
18
- "alignIconLeft": "_alignIconLeft_58cwl_72",
19
- "alignIconRight": "_alignIconRight_58cwl_75",
20
- "chip": "_chip_58cwl_62",
21
- "selected": "_selected_58cwl_166",
22
- "icon": "_icon_58cwl_176",
23
- "withoutText": "_withoutText_58cwl_187"
2
+ "light": "_light_1pk70hd_8",
3
+ "dark": "_dark_1pk70hd_11",
4
+ "alignLeft": "_alignLeft_1pk70hd_15",
5
+ "alignCenter": "_alignCenter_1pk70hd_18",
6
+ "alignRight": "_alignRight_1pk70hd_21",
7
+ "sizeXs": "_sizeXs_1pk70hd_25",
8
+ "sizeS": "_sizeS_1pk70hd_28",
9
+ "sizeM": "_sizeM_1pk70hd_31",
10
+ "sizeL": "_sizeL_1pk70hd_34",
11
+ "innerOffsetL": "_innerOffsetL_1pk70hd_38",
12
+ "innerOffsetM": "_innerOffsetM_1pk70hd_41",
13
+ "classic": "_classic_1pk70hd_45",
14
+ "rock": "_rock_1pk70hd_48",
15
+ "compact": "_compact_1pk70hd_52",
16
+ "main": "_main_1pk70hd_56",
17
+ "chipsContainer": "_chipsContainer_1pk70hd_62",
18
+ "alignIconLeft": "_alignIconLeft_1pk70hd_72",
19
+ "alignIconRight": "_alignIconRight_1pk70hd_75",
20
+ "chip": "_chip_1pk70hd_62",
21
+ "selected": "_selected_1pk70hd_166",
22
+ "icon": "_icon_1pk70hd_176",
23
+ "withoutText": "_withoutText_1pk70hd_187"
24
24
  };
25
25
  export { styles as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/chip-list",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -16,7 +16,6 @@
16
16
  "dependencies": {
17
17
  "@babel/runtime-corejs3": "^7.14.0",
18
18
  "@juggle/resize-observer": "3.3.0",
19
- "@rescui/button": "^0.15.3",
20
19
  "@rescui/icons": "^0.16.1",
21
20
  "classnames": "^2.2.6",
22
21
  "core-js": "^3.9.1"
@@ -36,5 +35,5 @@
36
35
  "build": "rescui-scripts build && yarn run build-pcss-api",
37
36
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
38
37
  },
39
- "gitHead": "a5690100cda7d749a58c4082d1d1eb3c4fc63970"
38
+ "gitHead": "d0df632410030a14ac9c796c9c6042519edfda77"
40
39
  }