@rescui/collapse 0.4.1 → 0.5.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/collapse.js CHANGED
@@ -159,6 +159,7 @@ function (_ref, ref) {
159
159
  ref: ref
160
160
  }), /*#__PURE__*/React.createElement("button", {
161
161
  type: "button",
162
+ "data-test": 'collapse__button',
162
163
  "data-rs-internal": "collapse__button",
163
164
  className: styles.button,
164
165
  onClick: toggleOpened
@@ -1,35 +1,35 @@
1
1
  var styles = {
2
- "themeLight": "_themeLight_9n5huc_6",
3
- "themeDark": "_themeDark_9n5huc_9",
4
- "sizeS": "_sizeS_9n5huc_13",
5
- "sizeM": "_sizeM_9n5huc_16",
6
- "sizeL": "_sizeL_9n5huc_19",
7
- "classic": "_classic_9n5huc_23",
8
- "rock": "_rock_9n5huc_26",
9
- "clear": "_clear_9n5huc_29",
10
- "hasBorderBottom": "_hasBorderBottom_9n5huc_33",
11
- "leftIcon": "_leftIcon_9n5huc_37",
12
- "rightIcon": "_rightIcon_9n5huc_40",
13
- "disableLeftPadding": "_disableLeftPadding_9n5huc_44",
14
- "main": "_main_9n5huc_48",
15
- "opening": "_opening_9n5huc_58",
16
- "opened": "_opened_9n5huc_59",
17
- "closing": "_closing_9n5huc_60",
18
- "title": "_title_9n5huc_94",
19
- "content": "_content_9n5huc_102",
20
- "closed": "_closed_9n5huc_112",
21
- "closingTransition": "_closingTransition_9n5huc_121",
22
- "innerWrapper": "_innerWrapper_9n5huc_128",
23
- "button": "_button_9n5huc_134",
24
- "icon": "_icon_9n5huc_188",
25
- "iconPlus": "_iconPlus_9n5huc_204",
26
- "iconArrow": "_iconArrow_9n5huc_209",
27
- "accordion": "_accordion_9n5huc_215",
28
- "accordionGap0": "_accordionGap0_9n5huc_220",
29
- "accordionGap8": "_accordionGap8_9n5huc_223",
30
- "accordionGap12": "_accordionGap12_9n5huc_226",
31
- "accordionGap16": "_accordionGap16_9n5huc_229",
32
- "accordionGap24": "_accordionGap24_9n5huc_232",
33
- "accordionGap32": "_accordionGap32_9n5huc_235"
2
+ "themeLight": "_themeLight_utw4ej_6",
3
+ "themeDark": "_themeDark_utw4ej_9",
4
+ "sizeS": "_sizeS_utw4ej_13",
5
+ "sizeM": "_sizeM_utw4ej_16",
6
+ "sizeL": "_sizeL_utw4ej_19",
7
+ "classic": "_classic_utw4ej_23",
8
+ "rock": "_rock_utw4ej_26",
9
+ "clear": "_clear_utw4ej_29",
10
+ "hasBorderBottom": "_hasBorderBottom_utw4ej_33",
11
+ "leftIcon": "_leftIcon_utw4ej_37",
12
+ "rightIcon": "_rightIcon_utw4ej_40",
13
+ "disableLeftPadding": "_disableLeftPadding_utw4ej_44",
14
+ "main": "_main_utw4ej_48",
15
+ "opening": "_opening_utw4ej_59",
16
+ "opened": "_opened_utw4ej_60",
17
+ "closing": "_closing_utw4ej_61",
18
+ "title": "_title_utw4ej_95",
19
+ "content": "_content_utw4ej_103",
20
+ "closed": "_closed_utw4ej_113",
21
+ "closingTransition": "_closingTransition_utw4ej_122",
22
+ "innerWrapper": "_innerWrapper_utw4ej_129",
23
+ "button": "_button_utw4ej_135",
24
+ "icon": "_icon_utw4ej_190",
25
+ "iconPlus": "_iconPlus_utw4ej_206",
26
+ "iconArrow": "_iconArrow_utw4ej_211",
27
+ "accordion": "_accordion_utw4ej_217",
28
+ "accordionGap0": "_accordionGap0_utw4ej_222",
29
+ "accordionGap8": "_accordionGap8_utw4ej_225",
30
+ "accordionGap12": "_accordionGap12_utw4ej_228",
31
+ "accordionGap16": "_accordionGap16_utw4ej_231",
32
+ "accordionGap24": "_accordionGap24_utw4ej_234",
33
+ "accordionGap32": "_accordionGap32_utw4ej_237"
34
34
  };
35
35
  export { styles as default };
package/lib/index.css CHANGED
@@ -1,15 +1,15 @@
1
- ._themeLight_9n5huc_6{
1
+ ._themeLight_utw4ej_6{
2
2
  --rs-theme-dark:0;
3
3
  }
4
- ._themeDark_9n5huc_9{
4
+ ._themeDark_utw4ej_9{
5
5
  --rs-theme-dark:1;
6
6
  }
7
- ._sizeS_9n5huc_13{
7
+ ._sizeS_utw4ej_13{
8
8
  --_rs-collapse-vertical-padding:6px;
9
9
  --_rs-collapse-horizontal-padding:8px;
10
10
  --_rs-collapse-icon-size:20px;
11
11
  }
12
- ._sizeS_9n5huc_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
12
+ ._sizeS_utw4ej_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
13
13
  --_rs-typography-letter-spacing:normal;
14
14
  --_rs-typography-text-transform:initial;
15
15
  --_rs-typography-font-variant-numeric:initial;
@@ -37,7 +37,7 @@
37
37
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
38
38
  --_rs-typography-link-border-bottom-width-from-text:2px;
39
39
  }
40
- ._sizeS_9n5huc_13 > [data-rs-internal='collapse__content']{
40
+ ._sizeS_utw4ej_13 > [data-rs-internal='collapse__content']{
41
41
  --_rs-typography-letter-spacing:0.0045em;
42
42
  --_rs-typography-text-transform:initial;
43
43
  --_rs-typography-font-variant-numeric:initial;
@@ -71,12 +71,12 @@
71
71
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
72
72
  --_rs-typography-link-border-bottom-width-from-text:1px;
73
73
  }
74
- ._sizeM_9n5huc_16{
74
+ ._sizeM_utw4ej_16{
75
75
  --_rs-collapse-vertical-padding:8px;
76
76
  --_rs-collapse-horizontal-padding:8px;
77
77
  --_rs-collapse-icon-size:24px;
78
78
  }
79
- ._sizeM_9n5huc_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
79
+ ._sizeM_utw4ej_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
80
80
  --_rs-typography-letter-spacing:normal;
81
81
  --_rs-typography-text-transform:initial;
82
82
  --_rs-typography-font-variant-numeric:initial;
@@ -104,7 +104,7 @@
104
104
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
105
105
  --_rs-typography-link-border-bottom-width-from-text:2px;
106
106
  }
107
- ._sizeM_9n5huc_16 > [data-rs-internal='collapse__content']{
107
+ ._sizeM_utw4ej_16 > [data-rs-internal='collapse__content']{
108
108
  --_rs-typography-letter-spacing:0.0015em;
109
109
  --_rs-typography-text-transform:initial;
110
110
  --_rs-typography-font-variant-numeric:initial;
@@ -139,16 +139,16 @@
139
139
  --_rs-typography-link-border-bottom-width-from-text:1px;
140
140
  }
141
141
  @media screen and (max-width: 640px){
142
- ._sizeM_9n5huc_16 > [data-rs-internal='collapse__content']{
142
+ ._sizeM_utw4ej_16 > [data-rs-internal='collapse__content']{
143
143
  --_rs-typography-list-li-margin-top-from-text:12px;
144
144
  }
145
145
  }
146
- ._sizeL_9n5huc_19{
146
+ ._sizeL_utw4ej_19{
147
147
  --_rs-collapse-vertical-padding:12px;
148
148
  --_rs-collapse-horizontal-padding:16px;
149
149
  --_rs-collapse-icon-size:28px;
150
150
  }
151
- ._sizeL_9n5huc_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
151
+ ._sizeL_utw4ej_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
152
152
  --_rs-typography-letter-spacing:normal;
153
153
  --_rs-typography-text-transform:initial;
154
154
  --_rs-typography-font-variant-numeric:initial;
@@ -176,7 +176,7 @@
176
176
  --_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
177
177
  --_rs-typography-link-border-bottom-width-from-text:2px;
178
178
  }
179
- ._sizeL_9n5huc_19 > [data-rs-internal='collapse__content']{
179
+ ._sizeL_utw4ej_19 > [data-rs-internal='collapse__content']{
180
180
  --_rs-typography-letter-spacing:normal;
181
181
  --_rs-typography-text-transform:initial;
182
182
  --_rs-typography-font-variant-numeric:initial;
@@ -211,11 +211,11 @@
211
211
  --_rs-typography-link-border-bottom-width-from-text:1px;
212
212
  }
213
213
  @media screen and (max-width: 640px){
214
- ._sizeL_9n5huc_19 > [data-rs-internal='collapse__content']{
214
+ ._sizeL_utw4ej_19 > [data-rs-internal='collapse__content']{
215
215
  --_rs-typography-list-li-margin-top-from-text:16px;
216
216
  }
217
217
  }
218
- ._classic_9n5huc_23{
218
+ ._classic_utw4ej_23{
219
219
  --_rs-collapse-active-theme-flip:0;
220
220
  --_rs-collapse-active-background:rgba(
221
221
  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),
@@ -229,7 +229,7 @@
229
229
  );
230
230
  --_rs-collapse-button-hover-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), 1);
231
231
  }
232
- ._rock_9n5huc_26{
232
+ ._rock_utw4ej_26{
233
233
  --_rs-collapse-active-theme-flip:1;
234
234
  --_rs-collapse-active-background:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
235
235
  --_rs-collapse-active-border-bottom-to-padding-multiplier:1;
@@ -240,7 +240,7 @@
240
240
  );
241
241
  --_rs-collapse-button-hover-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), 1);
242
242
  }
243
- ._clear_9n5huc_29{
243
+ ._clear_utw4ej_29{
244
244
  --_rs-collapse-active-theme-flip:0;
245
245
  --_rs-collapse-active-background:transparent;
246
246
  --_rs-collapse-active-border-bottom-to-padding-multiplier:0;
@@ -251,27 +251,27 @@
251
251
  0.7
252
252
  );
253
253
  }
254
- ._hasBorderBottom_9n5huc_33{
254
+ ._hasBorderBottom_utw4ej_33{
255
255
  --_rs-collapse-border-bottom-width-or-initial:1px;
256
256
  }
257
- ._leftIcon_9n5huc_37{
257
+ ._leftIcon_utw4ej_37{
258
258
  --_rs-collapse-button-flex-direction:row;
259
259
  --_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
260
260
  --_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
261
261
  }
262
- ._rightIcon_9n5huc_40{
262
+ ._rightIcon_utw4ej_40{
263
263
  --_rs-collapse-button-flex-direction:row-reverse;
264
264
  --_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
265
265
  --_rs-collapse-inner-wrapper-padding-left-base:var(
266
266
  --_rs-collapse-horizontal-padding
267
267
  );
268
268
  }
269
- ._disableLeftPadding_9n5huc_44{
269
+ ._disableLeftPadding_utw4ej_44{
270
270
  --_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
271
271
  --_rs-collapse-horizontal-padding
272
272
  );
273
273
  }
274
- ._main_9n5huc_48{
274
+ ._main_utw4ej_48{
275
275
  --_rs-theme-dark:var(
276
276
  --_rs-internal-force-theme-dark-consult-rescui-before-using,
277
277
  var(--rs-theme-dark, 0)
@@ -281,7 +281,7 @@
281
281
  --_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
282
282
  }
283
283
  @supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
284
- ._main_9n5huc_48{
284
+ ._main_utw4ej_48{
285
285
  --_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)));
286
286
  --_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)));
287
287
  --_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)));
@@ -290,7 +290,7 @@
290
290
  }
291
291
  }
292
292
  @supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
293
- ._main_9n5huc_48{
293
+ ._main_utw4ej_48{
294
294
  --_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);
295
295
  --_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));
296
296
  --_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));
@@ -298,7 +298,7 @@
298
298
  --_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));
299
299
  }
300
300
  }
301
- ._main_9n5huc_48 {
301
+ ._main_utw4ej_48 {
302
302
  --_rs-collapse-border-bottom-width:var(
303
303
  --_rs-collapse-border-bottom-width-or-initial,
304
304
  0px
@@ -311,10 +311,11 @@
311
311
  position:relative;
312
312
 
313
313
  border-bottom:var(--_rs-collapse-border-bottom-width) solid 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);
314
+ border-radius:var(--rs-collapse-border-radius, 0px);
314
315
  }
315
- ._main_9n5huc_48._opening_9n5huc_58,
316
- ._main_9n5huc_48._opened_9n5huc_59,
317
- ._main_9n5huc_48._closing_9n5huc_60{
316
+ ._main_utw4ej_48._opening_utw4ej_59,
317
+ ._main_utw4ej_48._opened_utw4ej_60,
318
+ ._main_utw4ej_48._closing_utw4ej_61{
318
319
  --rs-theme-flip:var(--_rs-collapse-active-theme-flip);
319
320
 
320
321
  padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
@@ -324,7 +325,7 @@
324
325
  background:var(--_rs-collapse-active-background);
325
326
  }
326
327
  @media (hover: hover){
327
- ._main_9n5huc_48:hover{
328
+ ._main_utw4ej_48:hover{
328
329
  --rs-theme-flip:var(--_rs-collapse-active-theme-flip);
329
330
 
330
331
  padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
@@ -334,7 +335,7 @@
334
335
  background:var(--_rs-collapse-active-background);
335
336
  }
336
337
  }
337
- ._title_9n5huc_94{
338
+ ._title_utw4ej_95{
338
339
  letter-spacing:var(
339
340
  --rs-text-base-letter-spacing,
340
341
  var(--_rs-typography-letter-spacing)
@@ -348,11 +349,11 @@
348
349
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
349
350
  font-feature-settings:'kern', 'liga', 'calt';
350
351
  }
351
- ._title_9n5huc_94 > p:not(:nth-child(1)),
352
- ._title_9n5huc_94 > pre:not(:nth-child(1)){
352
+ ._title_utw4ej_95 > p:not(:nth-child(1)),
353
+ ._title_utw4ej_95 > pre:not(:nth-child(1)){
353
354
  padding-top:var(--_rs-typography-auto-offset-or-initial);
354
355
  }
355
- ._title_9n5huc_94 {
356
+ ._title_utw4ej_95 {
356
357
 
357
358
  -webkit-box-flex:1;
358
359
 
@@ -362,7 +363,7 @@
362
363
 
363
364
  color:inherit;
364
365
  }
365
- ._content_9n5huc_102{
366
+ ._content_utw4ej_103{
366
367
  letter-spacing:var(
367
368
  --rs-text-base-letter-spacing,
368
369
  var(--_rs-typography-letter-spacing)
@@ -376,11 +377,11 @@
376
377
  -webkit-font-feature-settings:'kern', 'liga', 'calt';
377
378
  font-feature-settings:'kern', 'liga', 'calt';
378
379
  }
379
- ._content_9n5huc_102 > p:not(:nth-child(1)),
380
- ._content_9n5huc_102 > pre:not(:nth-child(1)){
380
+ ._content_utw4ej_103 > p:not(:nth-child(1)),
381
+ ._content_utw4ej_103 > pre:not(:nth-child(1)){
381
382
  padding-top:var(--_rs-typography-auto-offset-or-initial);
382
383
  }
383
- ._content_9n5huc_102 {
384
+ ._content_utw4ej_103 {
384
385
  --_rs-typography-hardness-color:var(
385
386
  --rs-color-hard,
386
387
  rgb(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))
@@ -392,24 +393,24 @@
392
393
 
393
394
  color:var(--_rs-typography-hardness-color);
394
395
  }
395
- ._closed_9n5huc_112 > ._content_9n5huc_102{
396
+ ._closed_utw4ej_113 > ._content_utw4ej_103{
396
397
  display:none;
397
398
  }
398
- ._opened_9n5huc_59 > ._content_9n5huc_102{
399
+ ._opened_utw4ej_60 > ._content_utw4ej_103{
399
400
  height:initial;
400
401
  }
401
- ._opening_9n5huc_58 > ._content_9n5huc_102,
402
- ._closingTransition_9n5huc_121 > ._content_9n5huc_102{
402
+ ._opening_utw4ej_59 > ._content_utw4ej_103,
403
+ ._closingTransition_utw4ej_122 > ._content_utw4ej_103{
403
404
  overflow:hidden;
404
405
 
405
406
  -webkit-transition:height 300ms;
406
407
 
407
408
  transition:height 300ms;
408
409
  }
409
- ._innerWrapper_9n5huc_128{
410
+ ._innerWrapper_utw4ej_129{
410
411
  padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
411
412
  }
412
- ._button_9n5huc_134{
413
+ ._button_utw4ej_135{
413
414
  --_rs-typography-hardness-color:var(
414
415
  --rs-color-hard,
415
416
  rgb(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))
@@ -437,6 +438,7 @@
437
438
  padding:var(--_rs-collapse-vertical-padding) var(--_rs-collapse-horizontal-padding);
438
439
 
439
440
  border:none;
441
+ border-radius:var(--rs-collapse-border-radius, 0px);
440
442
 
441
443
  cursor:pointer;
442
444
  text-align:left;
@@ -453,25 +455,25 @@
453
455
  -moz-osx-font-smoothing:inherit;
454
456
  -webkit-appearance:none;
455
457
  }
456
- ._button_9n5huc_134::-moz-focus-inner{
458
+ ._button_utw4ej_135::-moz-focus-inner{
457
459
  padding:0;
458
460
 
459
461
  border:0;
460
462
  }
461
- ._button_9n5huc_134:focus{
463
+ ._button_utw4ej_135:focus{
462
464
  outline:none;
463
465
  }
464
- ._button_9n5huc_134:focus[data-focus-method='key']{
466
+ ._button_utw4ej_135:focus[data-focus-method='key']{
465
467
  -webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
466
468
  box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
467
469
  }
468
470
  @media (hover: hover){
469
- ._button_9n5huc_134:hover{
471
+ ._button_utw4ej_135:hover{
470
472
  color:var(--_rs-collapse-button-hover-color);
471
473
  background:var(--_rs-collapse-button-hover-background);
472
474
  }
473
475
  }
474
- ._icon_9n5huc_188{
476
+ ._icon_utw4ej_190{
475
477
  position:relative;
476
478
  top:0;
477
479
  left:0;
@@ -498,17 +500,17 @@
498
500
 
499
501
  will-change:transform;
500
502
  }
501
- ._opening_9n5huc_58._iconPlus_9n5huc_204 > ._button_9n5huc_134 > ._icon_9n5huc_188,
502
- ._opened_9n5huc_59._iconPlus_9n5huc_204 > ._button_9n5huc_134 > ._icon_9n5huc_188{
503
+ ._opening_utw4ej_59._iconPlus_utw4ej_206 > ._button_utw4ej_135 > ._icon_utw4ej_190,
504
+ ._opened_utw4ej_60._iconPlus_utw4ej_206 > ._button_utw4ej_135 > ._icon_utw4ej_190{
503
505
  -webkit-transform:rotate(45deg);
504
506
  transform:rotate(45deg);
505
507
  }
506
- ._opening_9n5huc_58._iconArrow_9n5huc_209 > ._button_9n5huc_134 > ._icon_9n5huc_188,
507
- ._opened_9n5huc_59._iconArrow_9n5huc_209 > ._button_9n5huc_134 > ._icon_9n5huc_188{
508
+ ._opening_utw4ej_59._iconArrow_utw4ej_211 > ._button_utw4ej_135 > ._icon_utw4ej_190,
509
+ ._opened_utw4ej_60._iconArrow_utw4ej_211 > ._button_utw4ej_135 > ._icon_utw4ej_190{
508
510
  -webkit-transform:rotate(90deg);
509
511
  transform:rotate(90deg);
510
512
  }
511
- ._accordion_9n5huc_215{
513
+ ._accordion_utw4ej_217{
512
514
  display:-webkit-box;
513
515
  display:-ms-flexbox;
514
516
  display:flex;
@@ -518,21 +520,21 @@
518
520
  flex-direction:column;
519
521
  row-gap:var(--_rs-collapse-accordion-gap);
520
522
  }
521
- ._accordionGap0_9n5huc_220{
523
+ ._accordionGap0_utw4ej_222{
522
524
  --_rs-collapse-accordion-gap:0px;
523
525
  }
524
- ._accordionGap8_9n5huc_223{
526
+ ._accordionGap8_utw4ej_225{
525
527
  --_rs-collapse-accordion-gap:8px;
526
528
  }
527
- ._accordionGap12_9n5huc_226{
529
+ ._accordionGap12_utw4ej_228{
528
530
  --_rs-collapse-accordion-gap:12px;
529
531
  }
530
- ._accordionGap16_9n5huc_229{
532
+ ._accordionGap16_utw4ej_231{
531
533
  --_rs-collapse-accordion-gap:16px;
532
534
  }
533
- ._accordionGap24_9n5huc_232{
535
+ ._accordionGap24_utw4ej_234{
534
536
  --_rs-collapse-accordion-gap:24px;
535
537
  }
536
- ._accordionGap32_9n5huc_235{
538
+ ._accordionGap32_utw4ej_237{
537
539
  --_rs-collapse-accordion-gap:32px;
538
540
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescui/collapse",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
@@ -36,5 +36,5 @@
36
36
  "build": "rescui-scripts build && yarn run build-pcss-api",
37
37
  "build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
38
38
  },
39
- "gitHead": "6457f4265a1a30050b9f4cc1f0dd808c005d1ca0"
39
+ "gitHead": "33818950251175d1958e416bd51bb8d057581298"
40
40
  }