@rescui/collapse 0.4.0 → 0.4.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/collapse.p.module.css.js +32 -32
- package/lib/index.css +58 -58
- package/package.json +5 -5
|
@@ -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_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"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_9n5huc_6{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_9n5huc_9{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeS_9n5huc_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
|
-
.
|
|
12
|
+
._sizeS_9n5huc_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
|
-
.
|
|
40
|
+
._sizeS_9n5huc_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
|
-
.
|
|
74
|
+
._sizeM_9n5huc_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
|
-
.
|
|
79
|
+
._sizeM_9n5huc_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
|
-
.
|
|
107
|
+
._sizeM_9n5huc_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
|
-
.
|
|
142
|
+
._sizeM_9n5huc_16 > [data-rs-internal='collapse__content']{
|
|
143
143
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
._sizeL_9n5huc_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
|
-
.
|
|
151
|
+
._sizeL_9n5huc_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
|
-
.
|
|
179
|
+
._sizeL_9n5huc_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
|
-
.
|
|
214
|
+
._sizeL_9n5huc_19 > [data-rs-internal='collapse__content']{
|
|
215
215
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
._classic_9n5huc_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
|
-
.
|
|
232
|
+
._rock_9n5huc_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
|
-
.
|
|
243
|
+
._clear_9n5huc_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
|
-
.
|
|
254
|
+
._hasBorderBottom_9n5huc_33{
|
|
255
255
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
256
256
|
}
|
|
257
|
-
.
|
|
257
|
+
._leftIcon_9n5huc_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
|
-
.
|
|
262
|
+
._rightIcon_9n5huc_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
|
-
.
|
|
269
|
+
._disableLeftPadding_9n5huc_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
|
-
.
|
|
274
|
+
._main_9n5huc_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
|
-
.
|
|
284
|
+
._main_9n5huc_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
|
-
.
|
|
293
|
+
._main_9n5huc_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
|
-
.
|
|
301
|
+
._main_9n5huc_48 {
|
|
302
302
|
--_rs-collapse-border-bottom-width:var(
|
|
303
303
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
304
304
|
0px
|
|
@@ -312,9 +312,9 @@
|
|
|
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
314
|
}
|
|
315
|
-
.
|
|
316
|
-
.
|
|
317
|
-
.
|
|
315
|
+
._main_9n5huc_48._opening_9n5huc_58,
|
|
316
|
+
._main_9n5huc_48._opened_9n5huc_59,
|
|
317
|
+
._main_9n5huc_48._closing_9n5huc_60{
|
|
318
318
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
319
319
|
|
|
320
320
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
background:var(--_rs-collapse-active-background);
|
|
325
325
|
}
|
|
326
326
|
@media (hover: hover){
|
|
327
|
-
.
|
|
327
|
+
._main_9n5huc_48:hover{
|
|
328
328
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
329
329
|
|
|
330
330
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -334,7 +334,7 @@
|
|
|
334
334
|
background:var(--_rs-collapse-active-background);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
.
|
|
337
|
+
._title_9n5huc_94{
|
|
338
338
|
letter-spacing:var(
|
|
339
339
|
--rs-text-base-letter-spacing,
|
|
340
340
|
var(--_rs-typography-letter-spacing)
|
|
@@ -348,11 +348,11 @@
|
|
|
348
348
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
349
349
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
350
350
|
}
|
|
351
|
-
.
|
|
352
|
-
.
|
|
351
|
+
._title_9n5huc_94 > p:not(:nth-child(1)),
|
|
352
|
+
._title_9n5huc_94 > pre:not(:nth-child(1)){
|
|
353
353
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
354
354
|
}
|
|
355
|
-
.
|
|
355
|
+
._title_9n5huc_94 {
|
|
356
356
|
|
|
357
357
|
-webkit-box-flex:1;
|
|
358
358
|
|
|
@@ -362,7 +362,7 @@
|
|
|
362
362
|
|
|
363
363
|
color:inherit;
|
|
364
364
|
}
|
|
365
|
-
.
|
|
365
|
+
._content_9n5huc_102{
|
|
366
366
|
letter-spacing:var(
|
|
367
367
|
--rs-text-base-letter-spacing,
|
|
368
368
|
var(--_rs-typography-letter-spacing)
|
|
@@ -376,11 +376,11 @@
|
|
|
376
376
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
377
377
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
378
378
|
}
|
|
379
|
-
.
|
|
380
|
-
.
|
|
379
|
+
._content_9n5huc_102 > p:not(:nth-child(1)),
|
|
380
|
+
._content_9n5huc_102 > pre:not(:nth-child(1)){
|
|
381
381
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
382
382
|
}
|
|
383
|
-
.
|
|
383
|
+
._content_9n5huc_102 {
|
|
384
384
|
--_rs-typography-hardness-color:var(
|
|
385
385
|
--rs-color-hard,
|
|
386
386
|
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 +392,24 @@
|
|
|
392
392
|
|
|
393
393
|
color:var(--_rs-typography-hardness-color);
|
|
394
394
|
}
|
|
395
|
-
.
|
|
395
|
+
._closed_9n5huc_112 > ._content_9n5huc_102{
|
|
396
396
|
display:none;
|
|
397
397
|
}
|
|
398
|
-
.
|
|
398
|
+
._opened_9n5huc_59 > ._content_9n5huc_102{
|
|
399
399
|
height:initial;
|
|
400
400
|
}
|
|
401
|
-
.
|
|
402
|
-
.
|
|
401
|
+
._opening_9n5huc_58 > ._content_9n5huc_102,
|
|
402
|
+
._closingTransition_9n5huc_121 > ._content_9n5huc_102{
|
|
403
403
|
overflow:hidden;
|
|
404
404
|
|
|
405
405
|
-webkit-transition:height 300ms;
|
|
406
406
|
|
|
407
407
|
transition:height 300ms;
|
|
408
408
|
}
|
|
409
|
-
.
|
|
409
|
+
._innerWrapper_9n5huc_128{
|
|
410
410
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
411
411
|
}
|
|
412
|
-
.
|
|
412
|
+
._button_9n5huc_134{
|
|
413
413
|
--_rs-typography-hardness-color:var(
|
|
414
414
|
--rs-color-hard,
|
|
415
415
|
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))
|
|
@@ -453,25 +453,25 @@
|
|
|
453
453
|
-moz-osx-font-smoothing:inherit;
|
|
454
454
|
-webkit-appearance:none;
|
|
455
455
|
}
|
|
456
|
-
.
|
|
456
|
+
._button_9n5huc_134::-moz-focus-inner{
|
|
457
457
|
padding:0;
|
|
458
458
|
|
|
459
459
|
border:0;
|
|
460
460
|
}
|
|
461
|
-
.
|
|
461
|
+
._button_9n5huc_134:focus{
|
|
462
462
|
outline:none;
|
|
463
463
|
}
|
|
464
|
-
.
|
|
464
|
+
._button_9n5huc_134:focus[data-focus-method='key']{
|
|
465
465
|
-webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
466
466
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
467
467
|
}
|
|
468
468
|
@media (hover: hover){
|
|
469
|
-
.
|
|
469
|
+
._button_9n5huc_134:hover{
|
|
470
470
|
color:var(--_rs-collapse-button-hover-color);
|
|
471
471
|
background:var(--_rs-collapse-button-hover-background);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
.
|
|
474
|
+
._icon_9n5huc_188{
|
|
475
475
|
position:relative;
|
|
476
476
|
top:0;
|
|
477
477
|
left:0;
|
|
@@ -498,17 +498,17 @@
|
|
|
498
498
|
|
|
499
499
|
will-change:transform;
|
|
500
500
|
}
|
|
501
|
-
.
|
|
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
503
|
-webkit-transform:rotate(45deg);
|
|
504
504
|
transform:rotate(45deg);
|
|
505
505
|
}
|
|
506
|
-
.
|
|
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
508
|
-webkit-transform:rotate(90deg);
|
|
509
509
|
transform:rotate(90deg);
|
|
510
510
|
}
|
|
511
|
-
.
|
|
511
|
+
._accordion_9n5huc_215{
|
|
512
512
|
display:-webkit-box;
|
|
513
513
|
display:-ms-flexbox;
|
|
514
514
|
display:flex;
|
|
@@ -518,21 +518,21 @@
|
|
|
518
518
|
flex-direction:column;
|
|
519
519
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
520
520
|
}
|
|
521
|
-
.
|
|
521
|
+
._accordionGap0_9n5huc_220{
|
|
522
522
|
--_rs-collapse-accordion-gap:0px;
|
|
523
523
|
}
|
|
524
|
-
.
|
|
524
|
+
._accordionGap8_9n5huc_223{
|
|
525
525
|
--_rs-collapse-accordion-gap:8px;
|
|
526
526
|
}
|
|
527
|
-
.
|
|
527
|
+
._accordionGap12_9n5huc_226{
|
|
528
528
|
--_rs-collapse-accordion-gap:12px;
|
|
529
529
|
}
|
|
530
|
-
.
|
|
530
|
+
._accordionGap16_9n5huc_229{
|
|
531
531
|
--_rs-collapse-accordion-gap:16px;
|
|
532
532
|
}
|
|
533
|
-
.
|
|
533
|
+
._accordionGap24_9n5huc_232{
|
|
534
534
|
--_rs-collapse-accordion-gap:24px;
|
|
535
535
|
}
|
|
536
|
-
.
|
|
536
|
+
._accordionGap32_9n5huc_235{
|
|
537
537
|
--_rs-collapse-accordion-gap:32px;
|
|
538
538
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,20 +15,20 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/icons": "^0.16.
|
|
18
|
+
"@rescui/icons": "^0.16.1",
|
|
19
19
|
"@rescui/use-resize-observer": "^0.2.0",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@rescui/ui-contexts": "^0.
|
|
24
|
+
"@rescui/ui-contexts": "^0.5.0",
|
|
25
25
|
"prop-types": "^15.7.2",
|
|
26
26
|
"react": ">=16.8.0 <19"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rescui/colors": "^0.2.0",
|
|
30
30
|
"@rescui/scripts": "^0.3.0",
|
|
31
|
-
"@rescui/typography": "^0.16.
|
|
31
|
+
"@rescui/typography": "^0.16.1",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.1",
|
|
33
33
|
"@types/classnames": "^2.2.11"
|
|
34
34
|
},
|
|
@@ -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": "
|
|
39
|
+
"gitHead": "6457f4265a1a30050b9f4cc1f0dd808c005d1ca0"
|
|
40
40
|
}
|