@rescui/collapse 0.5.13 → 0.5.14
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 +7 -7
- package/lib/collapse.p.module.css.js +32 -32
- package/lib/index.css +62 -62
- package/package.json +3 -3
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"icon": "
|
|
3
|
-
"sizeXS": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"light": "
|
|
8
|
-
"dark": "
|
|
2
|
+
"icon": "_icon_afka1x_4",
|
|
3
|
+
"sizeXS": "_sizeXS_afka1x_14",
|
|
4
|
+
"sizeS": "_sizeS_afka1x_18",
|
|
5
|
+
"sizeM": "_sizeM_afka1x_22",
|
|
6
|
+
"sizeL": "_sizeL_afka1x_26",
|
|
7
|
+
"light": "_light_afka1x_30",
|
|
8
|
+
"dark": "_dark_afka1x_34"
|
|
9
9
|
};
|
|
10
10
|
export { styles as default };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"sizeS": "
|
|
5
|
-
"sizeM": "
|
|
6
|
-
"sizeL": "
|
|
7
|
-
"classic": "
|
|
8
|
-
"rock": "
|
|
9
|
-
"clear": "
|
|
10
|
-
"hasBorderBottom": "
|
|
11
|
-
"leftIcon": "
|
|
12
|
-
"rightIcon": "
|
|
13
|
-
"disableLeftPadding": "
|
|
14
|
-
"main": "
|
|
15
|
-
"opening": "
|
|
16
|
-
"opened": "
|
|
17
|
-
"closing": "
|
|
18
|
-
"title": "
|
|
19
|
-
"content": "
|
|
20
|
-
"closed": "
|
|
21
|
-
"closingTransition": "
|
|
22
|
-
"innerWrapper": "
|
|
23
|
-
"button": "
|
|
24
|
-
"icon": "
|
|
25
|
-
"iconPlus": "
|
|
26
|
-
"iconArrow": "
|
|
27
|
-
"accordion": "
|
|
28
|
-
"accordionGap0": "
|
|
29
|
-
"accordionGap8": "
|
|
30
|
-
"accordionGap12": "
|
|
31
|
-
"accordionGap16": "
|
|
32
|
-
"accordionGap24": "
|
|
33
|
-
"accordionGap32": "
|
|
2
|
+
"themeLight": "_themeLight_axpybf_6",
|
|
3
|
+
"themeDark": "_themeDark_axpybf_9",
|
|
4
|
+
"sizeS": "_sizeS_axpybf_13",
|
|
5
|
+
"sizeM": "_sizeM_axpybf_16",
|
|
6
|
+
"sizeL": "_sizeL_axpybf_19",
|
|
7
|
+
"classic": "_classic_axpybf_23",
|
|
8
|
+
"rock": "_rock_axpybf_26",
|
|
9
|
+
"clear": "_clear_axpybf_29",
|
|
10
|
+
"hasBorderBottom": "_hasBorderBottom_axpybf_33",
|
|
11
|
+
"leftIcon": "_leftIcon_axpybf_37",
|
|
12
|
+
"rightIcon": "_rightIcon_axpybf_40",
|
|
13
|
+
"disableLeftPadding": "_disableLeftPadding_axpybf_44",
|
|
14
|
+
"main": "_main_axpybf_48",
|
|
15
|
+
"opening": "_opening_axpybf_59",
|
|
16
|
+
"opened": "_opened_axpybf_60",
|
|
17
|
+
"closing": "_closing_axpybf_61",
|
|
18
|
+
"title": "_title_axpybf_95",
|
|
19
|
+
"content": "_content_axpybf_103",
|
|
20
|
+
"closed": "_closed_axpybf_111",
|
|
21
|
+
"closingTransition": "_closingTransition_axpybf_120",
|
|
22
|
+
"innerWrapper": "_innerWrapper_axpybf_127",
|
|
23
|
+
"button": "_button_axpybf_133",
|
|
24
|
+
"icon": "_icon_axpybf_186",
|
|
25
|
+
"iconPlus": "_iconPlus_axpybf_202",
|
|
26
|
+
"iconArrow": "_iconArrow_axpybf_207",
|
|
27
|
+
"accordion": "_accordion_axpybf_213",
|
|
28
|
+
"accordionGap0": "_accordionGap0_axpybf_218",
|
|
29
|
+
"accordionGap8": "_accordionGap8_axpybf_221",
|
|
30
|
+
"accordionGap12": "_accordionGap12_axpybf_224",
|
|
31
|
+
"accordionGap16": "_accordionGap16_axpybf_227",
|
|
32
|
+
"accordionGap24": "_accordionGap24_axpybf_230",
|
|
33
|
+
"accordionGap32": "_accordionGap32_axpybf_233"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_afka1x_4{
|
|
2
2
|
--_rs-theme-dark:var(
|
|
3
3
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
4
4
|
var(--rs-theme-dark, 0)
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
9
9
|
}
|
|
10
10
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
11
|
-
.
|
|
11
|
+
._icon_afka1x_4{
|
|
12
12
|
--_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)));
|
|
13
13
|
--_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)));
|
|
14
14
|
--_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)));
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
20
|
-
.
|
|
20
|
+
._icon_afka1x_4{
|
|
21
21
|
--_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);
|
|
22
22
|
--_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));
|
|
23
23
|
--_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));
|
|
@@ -25,30 +25,30 @@
|
|
|
25
25
|
--_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));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
.
|
|
28
|
+
._icon_afka1x_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:auto;
|
|
33
33
|
height:var(--_rs-icons-height);
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_afka1x_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_afka1x_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_afka1x_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_afka1x_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_afka1x_30{
|
|
48
48
|
--rs-theme-dark:0;
|
|
49
49
|
--_rs-icons-themed-fill-or-initial: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));
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
._dark_afka1x_34{
|
|
52
52
|
--rs-theme-dark:1;
|
|
53
53
|
--_rs-icons-themed-fill-or-initial: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));
|
|
54
54
|
}
|
|
@@ -60,18 +60,18 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._themeLight_axpybf_6{
|
|
64
64
|
--rs-theme-dark:0;
|
|
65
65
|
}
|
|
66
|
-
.
|
|
66
|
+
._themeDark_axpybf_9{
|
|
67
67
|
--rs-theme-dark:1;
|
|
68
68
|
}
|
|
69
|
-
.
|
|
69
|
+
._sizeS_axpybf_13{
|
|
70
70
|
--_rs-collapse-vertical-padding:6px;
|
|
71
71
|
--_rs-collapse-horizontal-padding:8px;
|
|
72
72
|
--_rs-collapse-icon-size:20px;
|
|
73
73
|
}
|
|
74
|
-
.
|
|
74
|
+
._sizeS_axpybf_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
75
75
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
76
76
|
--_rs-typography-text-transform:initial;
|
|
77
77
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
103
103
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeS_axpybf_13 > [data-rs-internal='collapse__content']{
|
|
106
106
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
107
107
|
--_rs-typography-text-transform:initial;
|
|
108
108
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -136,12 +136,12 @@
|
|
|
136
136
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
137
137
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
138
138
|
}
|
|
139
|
-
.
|
|
139
|
+
._sizeM_axpybf_16{
|
|
140
140
|
--_rs-collapse-vertical-padding:8px;
|
|
141
141
|
--_rs-collapse-horizontal-padding:8px;
|
|
142
142
|
--_rs-collapse-icon-size:24px;
|
|
143
143
|
}
|
|
144
|
-
.
|
|
144
|
+
._sizeM_axpybf_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
145
145
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
146
146
|
--_rs-typography-text-transform:initial;
|
|
147
147
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
173
173
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
._sizeM_axpybf_16 > [data-rs-internal='collapse__content']{
|
|
176
176
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
177
177
|
--_rs-typography-text-transform:initial;
|
|
178
178
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -210,16 +210,16 @@
|
|
|
210
210
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
211
211
|
}
|
|
212
212
|
@media screen and (max-width: 640px){
|
|
213
|
-
.
|
|
213
|
+
._sizeM_axpybf_16 > [data-rs-internal='collapse__content']{
|
|
214
214
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
|
-
.
|
|
217
|
+
._sizeL_axpybf_19{
|
|
218
218
|
--_rs-collapse-vertical-padding:12px;
|
|
219
219
|
--_rs-collapse-horizontal-padding:16px;
|
|
220
220
|
--_rs-collapse-icon-size:28px;
|
|
221
221
|
}
|
|
222
|
-
.
|
|
222
|
+
._sizeL_axpybf_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
223
223
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
224
224
|
--_rs-typography-text-transform:initial;
|
|
225
225
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
251
251
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._sizeL_axpybf_19 > [data-rs-internal='collapse__content']{
|
|
254
254
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
255
255
|
--_rs-typography-text-transform:initial;
|
|
256
256
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -288,11 +288,11 @@
|
|
|
288
288
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
289
289
|
}
|
|
290
290
|
@media screen and (max-width: 640px){
|
|
291
|
-
.
|
|
291
|
+
._sizeL_axpybf_19 > [data-rs-internal='collapse__content']{
|
|
292
292
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
|
-
.
|
|
295
|
+
._classic_axpybf_23{
|
|
296
296
|
--_rs-collapse-active-theme-flip:0;
|
|
297
297
|
--_rs-collapse-active-background:rgba(
|
|
298
298
|
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),
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
);
|
|
307
307
|
--_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);
|
|
308
308
|
}
|
|
309
|
-
.
|
|
309
|
+
._rock_axpybf_26{
|
|
310
310
|
--_rs-collapse-active-theme-flip:1;
|
|
311
311
|
--_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));
|
|
312
312
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
);
|
|
318
318
|
--_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);
|
|
319
319
|
}
|
|
320
|
-
.
|
|
320
|
+
._clear_axpybf_29{
|
|
321
321
|
--_rs-collapse-active-theme-flip:0;
|
|
322
322
|
--_rs-collapse-active-background:transparent;
|
|
323
323
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -328,27 +328,27 @@
|
|
|
328
328
|
0.7
|
|
329
329
|
);
|
|
330
330
|
}
|
|
331
|
-
.
|
|
331
|
+
._hasBorderBottom_axpybf_33{
|
|
332
332
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
333
333
|
}
|
|
334
|
-
.
|
|
334
|
+
._leftIcon_axpybf_37{
|
|
335
335
|
--_rs-collapse-button-flex-direction:row;
|
|
336
336
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
337
337
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
|
|
338
338
|
}
|
|
339
|
-
.
|
|
339
|
+
._rightIcon_axpybf_40{
|
|
340
340
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
341
341
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
342
342
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
343
343
|
--_rs-collapse-horizontal-padding
|
|
344
344
|
);
|
|
345
345
|
}
|
|
346
|
-
.
|
|
346
|
+
._disableLeftPadding_axpybf_44{
|
|
347
347
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
348
348
|
--_rs-collapse-horizontal-padding
|
|
349
349
|
);
|
|
350
350
|
}
|
|
351
|
-
.
|
|
351
|
+
._main_axpybf_48{
|
|
352
352
|
--_rs-theme-dark:var(
|
|
353
353
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
354
354
|
var(--rs-theme-dark, 0)
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
359
359
|
}
|
|
360
360
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
361
|
-
.
|
|
361
|
+
._main_axpybf_48{
|
|
362
362
|
--_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)));
|
|
363
363
|
--_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)));
|
|
364
364
|
--_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)));
|
|
@@ -367,7 +367,7 @@
|
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
370
|
-
.
|
|
370
|
+
._main_axpybf_48{
|
|
371
371
|
--_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);
|
|
372
372
|
--_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));
|
|
373
373
|
--_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));
|
|
@@ -375,7 +375,7 @@
|
|
|
375
375
|
--_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));
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
|
-
.
|
|
378
|
+
._main_axpybf_48 {
|
|
379
379
|
--_rs-collapse-border-bottom-width:var(
|
|
380
380
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
381
381
|
0px
|
|
@@ -390,9 +390,9 @@
|
|
|
390
390
|
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);
|
|
391
391
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
392
392
|
}
|
|
393
|
-
.
|
|
394
|
-
.
|
|
395
|
-
.
|
|
393
|
+
._main_axpybf_48._opening_axpybf_59,
|
|
394
|
+
._main_axpybf_48._opened_axpybf_60,
|
|
395
|
+
._main_axpybf_48._closing_axpybf_61{
|
|
396
396
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
397
397
|
|
|
398
398
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
background:var(--_rs-collapse-active-background);
|
|
403
403
|
}
|
|
404
404
|
@media (hover: hover){
|
|
405
|
-
.
|
|
405
|
+
._main_axpybf_48:hover{
|
|
406
406
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
407
407
|
|
|
408
408
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
background:var(--_rs-collapse-active-background);
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
.
|
|
415
|
+
._title_axpybf_95{
|
|
416
416
|
letter-spacing:var(
|
|
417
417
|
--rs-text-base-letter-spacing,
|
|
418
418
|
var(--_rs-typography-letter-spacing)
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
|
|
430
430
|
color:inherit;
|
|
431
431
|
}
|
|
432
|
-
.
|
|
432
|
+
._content_axpybf_103{
|
|
433
433
|
letter-spacing:var(
|
|
434
434
|
--rs-text-base-letter-spacing,
|
|
435
435
|
var(--_rs-typography-letter-spacing)
|
|
@@ -450,22 +450,22 @@
|
|
|
450
450
|
|
|
451
451
|
height:0;
|
|
452
452
|
}
|
|
453
|
-
.
|
|
453
|
+
._closed_axpybf_111 > ._content_axpybf_103{
|
|
454
454
|
display:none;
|
|
455
455
|
}
|
|
456
|
-
.
|
|
456
|
+
._opened_axpybf_60 > ._content_axpybf_103{
|
|
457
457
|
height:initial;
|
|
458
458
|
}
|
|
459
|
-
.
|
|
460
|
-
.
|
|
459
|
+
._opening_axpybf_59 > ._content_axpybf_103,
|
|
460
|
+
._closingTransition_axpybf_120 > ._content_axpybf_103{
|
|
461
461
|
overflow:hidden;
|
|
462
462
|
|
|
463
463
|
transition:height 300ms;
|
|
464
464
|
}
|
|
465
|
-
.
|
|
465
|
+
._innerWrapper_axpybf_127{
|
|
466
466
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
467
467
|
}
|
|
468
|
-
.
|
|
468
|
+
._button_axpybf_133{
|
|
469
469
|
color:var(
|
|
470
470
|
--rs-color-hard,
|
|
471
471
|
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))
|
|
@@ -498,24 +498,24 @@
|
|
|
498
498
|
-moz-osx-font-smoothing:inherit;
|
|
499
499
|
-webkit-appearance:none;
|
|
500
500
|
}
|
|
501
|
-
.
|
|
501
|
+
._button_axpybf_133::-moz-focus-inner{
|
|
502
502
|
padding:0;
|
|
503
503
|
|
|
504
504
|
border:0;
|
|
505
505
|
}
|
|
506
|
-
.
|
|
506
|
+
._button_axpybf_133:focus{
|
|
507
507
|
outline:none;
|
|
508
508
|
}
|
|
509
|
-
.
|
|
509
|
+
._button_axpybf_133:focus[data-focus-method='key']{
|
|
510
510
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
511
511
|
}
|
|
512
512
|
@media (hover: hover){
|
|
513
|
-
.
|
|
513
|
+
._button_axpybf_133:hover{
|
|
514
514
|
color:var(--_rs-collapse-button-hover-color);
|
|
515
515
|
background:var(--_rs-collapse-button-hover-background);
|
|
516
516
|
}
|
|
517
517
|
}
|
|
518
|
-
.
|
|
518
|
+
._icon_axpybf_186{
|
|
519
519
|
position:relative;
|
|
520
520
|
top:0;
|
|
521
521
|
left:0;
|
|
@@ -531,34 +531,34 @@
|
|
|
531
531
|
|
|
532
532
|
will-change:transform;
|
|
533
533
|
}
|
|
534
|
-
.
|
|
535
|
-
.
|
|
534
|
+
._opening_axpybf_59._iconPlus_axpybf_202 > ._button_axpybf_133 > ._icon_axpybf_186,
|
|
535
|
+
._opened_axpybf_60._iconPlus_axpybf_202 > ._button_axpybf_133 > ._icon_axpybf_186{
|
|
536
536
|
transform:rotate(45deg);
|
|
537
537
|
}
|
|
538
|
-
.
|
|
539
|
-
.
|
|
538
|
+
._opening_axpybf_59._iconArrow_axpybf_207 > ._button_axpybf_133 > ._icon_axpybf_186,
|
|
539
|
+
._opened_axpybf_60._iconArrow_axpybf_207 > ._button_axpybf_133 > ._icon_axpybf_186{
|
|
540
540
|
transform:rotate(90deg);
|
|
541
541
|
}
|
|
542
|
-
.
|
|
542
|
+
._accordion_axpybf_213{
|
|
543
543
|
display:flex;
|
|
544
544
|
flex-direction:column;
|
|
545
545
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
546
546
|
}
|
|
547
|
-
.
|
|
547
|
+
._accordionGap0_axpybf_218{
|
|
548
548
|
--_rs-collapse-accordion-gap:0px;
|
|
549
549
|
}
|
|
550
|
-
.
|
|
550
|
+
._accordionGap8_axpybf_221{
|
|
551
551
|
--_rs-collapse-accordion-gap:8px;
|
|
552
552
|
}
|
|
553
|
-
.
|
|
553
|
+
._accordionGap12_axpybf_224{
|
|
554
554
|
--_rs-collapse-accordion-gap:12px;
|
|
555
555
|
}
|
|
556
|
-
.
|
|
556
|
+
._accordionGap16_axpybf_227{
|
|
557
557
|
--_rs-collapse-accordion-gap:16px;
|
|
558
558
|
}
|
|
559
|
-
.
|
|
559
|
+
._accordionGap24_axpybf_230{
|
|
560
560
|
--_rs-collapse-accordion-gap:24px;
|
|
561
561
|
}
|
|
562
|
-
.
|
|
562
|
+
._accordionGap32_axpybf_233{
|
|
563
563
|
--_rs-collapse-accordion-gap:32px;
|
|
564
564
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.14",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@rescui/colors": "^0.2.7",
|
|
29
29
|
"@rescui/scripts": "^0.3.5",
|
|
30
|
-
"@rescui/typography": "^0.
|
|
30
|
+
"@rescui/typography": "^0.23.0",
|
|
31
31
|
"@rescui/visual-regression": "^0.1.2",
|
|
32
32
|
"@types/classnames": "^2.2.11"
|
|
33
33
|
},
|
|
@@ -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": "f9a0228790b099e343e9017980e7635c12815bda"
|
|
40
40
|
}
|