@rescui/collapse 0.10.0 → 0.11.1
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/_virtual/index.css.js +12 -12
- package/lib/collapse.p.module.css.js +1 -1
- package/lib/index.css +78 -77
- package/package.json +5 -5
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
9
|
-
"allVariants": "
|
|
10
|
-
"variant16": "
|
|
11
|
-
"variant20": "
|
|
12
|
-
"variant24": "
|
|
13
|
-
"variant28": "
|
|
2
|
+
"icon": "_icon_7vq2bk_4",
|
|
3
|
+
"sizeXS": "_sizeXS_7vq2bk_14",
|
|
4
|
+
"sizeS": "_sizeS_7vq2bk_18",
|
|
5
|
+
"sizeM": "_sizeM_7vq2bk_22",
|
|
6
|
+
"sizeL": "_sizeL_7vq2bk_26",
|
|
7
|
+
"light": "_light_7vq2bk_30",
|
|
8
|
+
"dark": "_dark_7vq2bk_34",
|
|
9
|
+
"allVariants": "_allVariants_7vq2bk_48",
|
|
10
|
+
"variant16": "_variant16_7vq2bk_53",
|
|
11
|
+
"variant20": "_variant20_7vq2bk_54",
|
|
12
|
+
"variant24": "_variant24_7vq2bk_55",
|
|
13
|
+
"variant28": "_variant28_7vq2bk_58"
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
export { styles as default };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
var styles = {"themeLight":"
|
|
1
|
+
var styles = {"themeLight":"_themeLight_19dv088_6","themeDark":"_themeDark_19dv088_9","sizeS":"_sizeS_19dv088_13","sizeM":"_sizeM_19dv088_16","sizeL":"_sizeL_19dv088_19","classic":"_classic_19dv088_23","rock":"_rock_19dv088_26","clear":"_clear_19dv088_29","hasBorderBottom":"_hasBorderBottom_19dv088_33","leftIcon":"_leftIcon_19dv088_37","rightIcon":"_rightIcon_19dv088_40","disableLeftPadding":"_disableLeftPadding_19dv088_44","main":"_main_19dv088_48","opening":"_opening_19dv088_59","opened":"_opened_19dv088_60","closing":"_closing_19dv088_61","title":"_title_19dv088_95","content":"_content_19dv088_103","animationEnabled":"_animationEnabled_19dv088_115","closed":"_closed_19dv088_128","innerWrapper":"_innerWrapper_19dv088_133","button":"_button_19dv088_140","icon":"_icon_19dv088_197","iconPlus":"_iconPlus_19dv088_221","iconArrow":"_iconArrow_19dv088_226","accordion":"_accordion_19dv088_232","accordionGap0":"_accordionGap0_19dv088_237","accordionGap8":"_accordionGap8_19dv088_240","accordionGap12":"_accordionGap12_19dv088_243","accordionGap16":"_accordionGap16_19dv088_246","accordionGap24":"_accordionGap24_19dv088_249","accordionGap32":"_accordionGap32_19dv088_252"};
|
|
2
2
|
|
|
3
3
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
inherits:true;
|
|
4
4
|
initial-value:0;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._icon_7vq2bk_4{
|
|
7
7
|
--_rs-theme-dark:var(
|
|
8
8
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
9
9
|
var(--rs-theme-dark, 0)
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
14
14
|
}
|
|
15
15
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
16
|
-
.
|
|
16
|
+
._icon_7vq2bk_4{
|
|
17
17
|
--_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)));
|
|
18
18
|
--_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)));
|
|
19
19
|
--_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)));
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
25
|
-
.
|
|
25
|
+
._icon_7vq2bk_4{
|
|
26
26
|
--_rs-color-primary:rgb(calc(107 * var(--_rs-theme-light-coefficient, 1) + 132 * var(--_rs-theme-dark-coefficient, 0)), calc(87 * var(--_rs-theme-light-coefficient, 1) + 115 * var(--_rs-theme-dark-coefficient, 0)), 255);
|
|
27
27
|
--_rs-color-primary-dim:rgb(calc(137 * var(--_rs-theme-light-coefficient, 1) + 111 * var(--_rs-theme-dark-coefficient, 0)), calc(121 * var(--_rs-theme-light-coefficient, 1) + 97 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 210 * var(--_rs-theme-dark-coefficient, 0)));
|
|
28
28
|
--_rs-color-primary-fog:rgb(calc(225 * var(--_rs-theme-light-coefficient, 1) + 46 * var(--_rs-theme-dark-coefficient, 0)), calc(221 * var(--_rs-theme-light-coefficient, 1) + 43 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 73 * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
--_rs-color-primary-t-fog:rgba(calc(107 * var(--_rs-theme-light-coefficient, 1) + 132 * var(--_rs-theme-dark-coefficient, 0)), calc(87 * var(--_rs-theme-light-coefficient, 1) + 115 * var(--_rs-theme-dark-coefficient, 0)), 255, calc(.2 * var(--_rs-theme-light-coefficient, 1) + .3 * var(--_rs-theme-dark-coefficient, 0)));
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
.
|
|
33
|
+
._icon_7vq2bk_4{
|
|
34
34
|
|
|
35
35
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
36
36
|
|
|
@@ -38,27 +38,27 @@
|
|
|
38
38
|
height:var(--rs-icons-height, var(--_rs-icons-height));
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
._sizeXS_7vq2bk_14{
|
|
42
42
|
--_rs-icons-height:16px;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
.
|
|
45
|
+
._sizeS_7vq2bk_18{
|
|
46
46
|
--_rs-icons-height:20px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
._sizeM_7vq2bk_22{
|
|
50
50
|
--_rs-icons-height:24px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
._sizeL_7vq2bk_26{
|
|
54
54
|
--_rs-icons-height:28px;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
57
|
+
._light_7vq2bk_30{
|
|
58
58
|
--rs-theme-dark:0;
|
|
59
59
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)));
|
|
60
60
|
}
|
|
61
|
-
.
|
|
61
|
+
._dark_7vq2bk_34{
|
|
62
62
|
--rs-theme-dark:1;
|
|
63
63
|
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)));
|
|
64
64
|
}
|
|
@@ -72,40 +72,40 @@
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
._allVariants_7vq2bk_48{
|
|
76
76
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
77
77
|
container:rs-icon / size;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.
|
|
81
|
-
.
|
|
82
|
-
.
|
|
80
|
+
._variant16_7vq2bk_53,
|
|
81
|
+
._variant20_7vq2bk_54,
|
|
82
|
+
._variant24_7vq2bk_55{
|
|
83
83
|
display:none;
|
|
84
84
|
}
|
|
85
|
-
.
|
|
85
|
+
._variant28_7vq2bk_58{
|
|
86
86
|
display:block;
|
|
87
87
|
}
|
|
88
88
|
@container rs-icon (max-height: 24px){
|
|
89
|
-
.
|
|
89
|
+
._variant24_7vq2bk_55{
|
|
90
90
|
display:block;
|
|
91
91
|
}
|
|
92
|
-
.
|
|
92
|
+
._variant28_7vq2bk_58{
|
|
93
93
|
display:none;
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
@container rs-icon (max-height: 20px){
|
|
97
|
-
.
|
|
97
|
+
._variant20_7vq2bk_54{
|
|
98
98
|
display:block;
|
|
99
99
|
}
|
|
100
|
-
.
|
|
100
|
+
._variant24_7vq2bk_55{
|
|
101
101
|
display:none;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@container rs-icon (max-height: 16px){
|
|
105
|
-
.
|
|
105
|
+
._variant16_7vq2bk_53{
|
|
106
106
|
display:block;
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
._variant20_7vq2bk_54{
|
|
109
109
|
display:none;
|
|
110
110
|
}
|
|
111
111
|
}
|
|
@@ -115,20 +115,20 @@
|
|
|
115
115
|
inherits:true;
|
|
116
116
|
initial-value:0;
|
|
117
117
|
}
|
|
118
|
-
.
|
|
118
|
+
._themeLight_19dv088_6{
|
|
119
119
|
--rs-theme-dark:0;
|
|
120
120
|
}
|
|
121
|
-
.
|
|
121
|
+
._themeDark_19dv088_9{
|
|
122
122
|
--rs-theme-dark:1;
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
._sizeS_19dv088_13{
|
|
126
126
|
--_rs-collapse-vertical-padding:6px;
|
|
127
127
|
--_rs-collapse-horizontal-padding:8px;
|
|
128
128
|
--_rs-collapse-icon-size:20px;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.
|
|
131
|
+
._sizeS_19dv088_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
132
132
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
133
133
|
--_rs-typography-text-transform:initial;
|
|
134
134
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.
|
|
164
|
+
._sizeS_19dv088_13 > [data-rs-internal='collapse__content']{
|
|
165
165
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
166
166
|
--_rs-typography-text-transform:initial;
|
|
167
167
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -196,12 +196,12 @@
|
|
|
196
196
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
197
197
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
198
198
|
}
|
|
199
|
-
.
|
|
199
|
+
._sizeM_19dv088_16{
|
|
200
200
|
--_rs-collapse-vertical-padding:8px;
|
|
201
201
|
--_rs-collapse-horizontal-padding:8px;
|
|
202
202
|
--_rs-collapse-icon-size:24px;
|
|
203
203
|
}
|
|
204
|
-
.
|
|
204
|
+
._sizeM_19dv088_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
205
205
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
206
206
|
--_rs-typography-text-transform:initial;
|
|
207
207
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
234
234
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
._sizeM_19dv088_16 > [data-rs-internal='collapse__content']{
|
|
237
237
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
238
238
|
--_rs-typography-text-transform:initial;
|
|
239
239
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -272,16 +272,16 @@
|
|
|
272
272
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
273
273
|
}
|
|
274
274
|
@media screen and (max-width: 640px){
|
|
275
|
-
.
|
|
275
|
+
._sizeM_19dv088_16 > [data-rs-internal='collapse__content']{
|
|
276
276
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
|
-
.
|
|
279
|
+
._sizeL_19dv088_19{
|
|
280
280
|
--_rs-collapse-vertical-padding:12px;
|
|
281
281
|
--_rs-collapse-horizontal-padding:16px;
|
|
282
282
|
--_rs-collapse-icon-size:28px;
|
|
283
283
|
}
|
|
284
|
-
.
|
|
284
|
+
._sizeL_19dv088_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
285
285
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
286
286
|
--_rs-typography-text-transform:initial;
|
|
287
287
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -313,7 +313,7 @@
|
|
|
313
313
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
314
314
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
315
315
|
}
|
|
316
|
-
.
|
|
316
|
+
._sizeL_19dv088_19 > [data-rs-internal='collapse__content']{
|
|
317
317
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
318
318
|
--_rs-typography-text-transform:initial;
|
|
319
319
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -352,12 +352,12 @@
|
|
|
352
352
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
353
353
|
}
|
|
354
354
|
@media screen and (max-width: 640px){
|
|
355
|
-
.
|
|
355
|
+
._sizeL_19dv088_19 > [data-rs-internal='collapse__content']{
|
|
356
356
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
|
|
360
|
-
.
|
|
360
|
+
._classic_19dv088_23{
|
|
361
361
|
--_rs-collapse-active-theme-flip:0;
|
|
362
362
|
--_rs-collapse-active-background:rgba(
|
|
363
363
|
calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)),
|
|
@@ -371,7 +371,7 @@
|
|
|
371
371
|
);
|
|
372
372
|
--_rs-collapse-button-hover-color:rgba(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)), 1);
|
|
373
373
|
}
|
|
374
|
-
.
|
|
374
|
+
._rock_19dv088_26{
|
|
375
375
|
--_rs-collapse-active-theme-flip:1;
|
|
376
376
|
--_rs-collapse-active-background:rgb(calc(255 - 230 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 230 * var(--_rs-theme-dark-coefficient, 0)), calc(255 - 227 * var(--_rs-theme-dark-coefficient, 0)));
|
|
377
377
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
);
|
|
383
383
|
--_rs-collapse-button-hover-color:rgba(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)), 1);
|
|
384
384
|
}
|
|
385
|
-
.
|
|
385
|
+
._clear_19dv088_29{
|
|
386
386
|
--_rs-collapse-active-theme-flip:0;
|
|
387
387
|
--_rs-collapse-active-background:transparent;
|
|
388
388
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -394,16 +394,16 @@
|
|
|
394
394
|
);
|
|
395
395
|
}
|
|
396
396
|
|
|
397
|
-
.
|
|
397
|
+
._hasBorderBottom_19dv088_33{
|
|
398
398
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
399
399
|
}
|
|
400
400
|
|
|
401
|
-
.
|
|
401
|
+
._leftIcon_19dv088_37{
|
|
402
402
|
--_rs-collapse-button-flex-direction:row;
|
|
403
403
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
404
404
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(2 * var(--_rs-collapse-horizontal-padding) + var(--_rs-collapse-icon-size));
|
|
405
405
|
}
|
|
406
|
-
.
|
|
406
|
+
._rightIcon_19dv088_40{
|
|
407
407
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
408
408
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
409
409
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
@@ -411,13 +411,13 @@
|
|
|
411
411
|
);
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
.
|
|
414
|
+
._disableLeftPadding_19dv088_44{
|
|
415
415
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
416
416
|
--_rs-collapse-horizontal-padding
|
|
417
417
|
);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
.
|
|
420
|
+
._main_19dv088_48{
|
|
421
421
|
--_rs-theme-dark:var(
|
|
422
422
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
423
423
|
var(--rs-theme-dark, 0)
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
|
|
430
430
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
431
431
|
|
|
432
|
-
.
|
|
432
|
+
._main_19dv088_48{
|
|
433
433
|
--_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)));
|
|
434
434
|
--_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)));
|
|
435
435
|
--_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)));
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
|
|
441
441
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
442
442
|
|
|
443
|
-
.
|
|
443
|
+
._main_19dv088_48{
|
|
444
444
|
--_rs-color-primary:rgb(calc(107 * var(--_rs-theme-light-coefficient, 1) + 132 * var(--_rs-theme-dark-coefficient, 0)), calc(87 * var(--_rs-theme-light-coefficient, 1) + 115 * var(--_rs-theme-dark-coefficient, 0)), 255);
|
|
445
445
|
--_rs-color-primary-dim:rgb(calc(137 * var(--_rs-theme-light-coefficient, 1) + 111 * var(--_rs-theme-dark-coefficient, 0)), calc(121 * var(--_rs-theme-light-coefficient, 1) + 97 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 210 * var(--_rs-theme-dark-coefficient, 0)));
|
|
446
446
|
--_rs-color-primary-fog:rgb(calc(225 * var(--_rs-theme-light-coefficient, 1) + 46 * var(--_rs-theme-dark-coefficient, 0)), calc(221 * var(--_rs-theme-light-coefficient, 1) + 43 * var(--_rs-theme-dark-coefficient, 0)), calc(255 * var(--_rs-theme-light-coefficient, 1) + 73 * var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
.
|
|
452
|
+
._main_19dv088_48 {
|
|
453
453
|
--_rs-collapse-border-bottom-width:var(
|
|
454
454
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
455
455
|
0px
|
|
@@ -465,9 +465,9 @@
|
|
|
465
465
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
466
466
|
}
|
|
467
467
|
|
|
468
|
-
.
|
|
469
|
-
.
|
|
470
|
-
.
|
|
468
|
+
._main_19dv088_48._opening_19dv088_59,
|
|
469
|
+
._main_19dv088_48._opened_19dv088_60,
|
|
470
|
+
._main_19dv088_48._closing_19dv088_61{
|
|
471
471
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
472
472
|
|
|
473
473
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width) * var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
}
|
|
479
479
|
|
|
480
480
|
@media (hover: hover){
|
|
481
|
-
.
|
|
481
|
+
._main_19dv088_48:hover{
|
|
482
482
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
483
483
|
|
|
484
484
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width) * var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
}
|
|
490
490
|
}
|
|
491
491
|
|
|
492
|
-
.
|
|
492
|
+
._title_19dv088_95{
|
|
493
493
|
letter-spacing:var(
|
|
494
494
|
--rs-text-base-letter-spacing,
|
|
495
495
|
var(--_rs-typography-letter-spacing)
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
color:inherit;
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
.
|
|
510
|
+
._content_19dv088_103{
|
|
511
511
|
letter-spacing:var(
|
|
512
512
|
--rs-text-base-letter-spacing,
|
|
513
513
|
var(--_rs-typography-letter-spacing)
|
|
@@ -533,29 +533,29 @@
|
|
|
533
533
|
will-change:grid-template-rows;
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
.
|
|
536
|
+
._animationEnabled_19dv088_115 ._content_19dv088_103{
|
|
537
537
|
transition:grid-template-rows 300ms var(--rs-transition-function, ease);
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
.
|
|
541
|
-
.
|
|
540
|
+
._opening_19dv088_59 > ._content_19dv088_103,
|
|
541
|
+
._opened_19dv088_60 > ._content_19dv088_103{
|
|
542
542
|
grid-template-rows:minmax(0, 1fr);
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
.
|
|
545
|
+
._opened_19dv088_60 > ._content_19dv088_103{
|
|
546
546
|
overflow:visible;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
-
.
|
|
549
|
+
._closed_19dv088_128 > ._content_19dv088_103{
|
|
550
550
|
visibility:hidden;
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
.
|
|
553
|
+
._innerWrapper_19dv088_133{
|
|
554
554
|
min-height:0;
|
|
555
555
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
-
.
|
|
558
|
+
._button_19dv088_140{
|
|
559
559
|
color:var(
|
|
560
560
|
--rs-color-hard,
|
|
561
561
|
rgb(calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(25 + 230 * var(--_rs-theme-dark-coefficient, 0)), calc(28 + 227 * var(--_rs-theme-dark-coefficient, 0)))
|
|
@@ -588,32 +588,33 @@
|
|
|
588
588
|
-webkit-appearance:none;
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
.
|
|
591
|
+
._button_19dv088_140::-moz-focus-inner{
|
|
592
592
|
padding:0;
|
|
593
593
|
|
|
594
594
|
border:0;
|
|
595
595
|
}
|
|
596
596
|
|
|
597
|
-
.
|
|
597
|
+
._animationEnabled_19dv088_115 ._button_19dv088_140{
|
|
598
598
|
transition:var(--_rs-collapse-button-transition);
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
-
.
|
|
601
|
+
._button_19dv088_140:focus{
|
|
602
602
|
outline:none;
|
|
603
603
|
}
|
|
604
604
|
|
|
605
|
-
.
|
|
605
|
+
._button_19dv088_140:focus-visible,
|
|
606
|
+
._button_19dv088_140:focus[data-focus-method='key']{
|
|
606
607
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
607
608
|
}
|
|
608
609
|
|
|
609
610
|
@media (hover: hover){
|
|
610
|
-
.
|
|
611
|
+
._button_19dv088_140:hover{
|
|
611
612
|
color:var(--_rs-collapse-button-hover-color);
|
|
612
613
|
background:var(--_rs-collapse-button-hover-background);
|
|
613
614
|
}
|
|
614
615
|
}
|
|
615
616
|
|
|
616
|
-
.
|
|
617
|
+
._icon_19dv088_197{
|
|
617
618
|
position:relative;
|
|
618
619
|
top:0;
|
|
619
620
|
left:0;
|
|
@@ -629,45 +630,45 @@
|
|
|
629
630
|
will-change:transform;
|
|
630
631
|
}
|
|
631
632
|
|
|
632
|
-
.
|
|
633
|
+
._button_19dv088_140 ._icon_19dv088_197{
|
|
633
634
|
width:auto;
|
|
634
635
|
height:var(--_rs-collapse-icon-size);
|
|
635
636
|
}
|
|
636
637
|
|
|
637
|
-
.
|
|
638
|
+
._animationEnabled_19dv088_115 ._icon_19dv088_197{
|
|
638
639
|
transition:transform 300ms var(--rs-transition-function, ease);
|
|
639
640
|
}
|
|
640
641
|
|
|
641
|
-
.
|
|
642
|
-
.
|
|
642
|
+
._opening_19dv088_59._iconPlus_19dv088_221 > ._button_19dv088_140 > ._icon_19dv088_197,
|
|
643
|
+
._opened_19dv088_60._iconPlus_19dv088_221 > ._button_19dv088_140 > ._icon_19dv088_197{
|
|
643
644
|
transform:rotate(45deg);
|
|
644
645
|
}
|
|
645
646
|
|
|
646
|
-
.
|
|
647
|
-
.
|
|
647
|
+
._opening_19dv088_59._iconArrow_19dv088_226 > ._button_19dv088_140 > ._icon_19dv088_197,
|
|
648
|
+
._opened_19dv088_60._iconArrow_19dv088_226 > ._button_19dv088_140 > ._icon_19dv088_197{
|
|
648
649
|
transform:rotate(90deg);
|
|
649
650
|
}
|
|
650
651
|
|
|
651
|
-
.
|
|
652
|
+
._accordion_19dv088_232{
|
|
652
653
|
display:flex;
|
|
653
654
|
flex-direction:column;
|
|
654
655
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
655
656
|
}
|
|
656
|
-
.
|
|
657
|
+
._accordionGap0_19dv088_237{
|
|
657
658
|
--_rs-collapse-accordion-gap:0px;
|
|
658
659
|
}
|
|
659
|
-
.
|
|
660
|
+
._accordionGap8_19dv088_240{
|
|
660
661
|
--_rs-collapse-accordion-gap:8px;
|
|
661
662
|
}
|
|
662
|
-
.
|
|
663
|
+
._accordionGap12_19dv088_243{
|
|
663
664
|
--_rs-collapse-accordion-gap:12px;
|
|
664
665
|
}
|
|
665
|
-
.
|
|
666
|
+
._accordionGap16_19dv088_246{
|
|
666
667
|
--_rs-collapse-accordion-gap:16px;
|
|
667
668
|
}
|
|
668
|
-
.
|
|
669
|
+
._accordionGap24_19dv088_249{
|
|
669
670
|
--_rs-collapse-accordion-gap:24px;
|
|
670
671
|
}
|
|
671
|
-
.
|
|
672
|
+
._accordionGap32_19dv088_252{
|
|
672
673
|
--_rs-collapse-accordion-gap:32px;
|
|
673
674
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"react": ">=17.0.0 <20"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "^0.3.
|
|
28
|
+
"@rescui/colors": "^0.3.6",
|
|
29
29
|
"@rescui/scripts": "^0.6.0",
|
|
30
|
-
"@rescui/typography": "^0.
|
|
31
|
-
"@rescui/visual-regression": "^0.1.
|
|
30
|
+
"@rescui/typography": "^0.30.1",
|
|
31
|
+
"@rescui/visual-regression": "^0.1.5",
|
|
32
32
|
"@types/classnames": "^2.2.11"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
37
37
|
},
|
|
38
38
|
"nx": {},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "428fe8428862945a1199cf875bbe180ccbb71df3"
|
|
40
40
|
}
|