@rescui/collapse 0.5.0 → 0.5.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 +4 -4
|
@@ -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_15dawgo_6",
|
|
3
|
+
"themeDark": "_themeDark_15dawgo_9",
|
|
4
|
+
"sizeS": "_sizeS_15dawgo_13",
|
|
5
|
+
"sizeM": "_sizeM_15dawgo_16",
|
|
6
|
+
"sizeL": "_sizeL_15dawgo_19",
|
|
7
|
+
"classic": "_classic_15dawgo_23",
|
|
8
|
+
"rock": "_rock_15dawgo_26",
|
|
9
|
+
"clear": "_clear_15dawgo_29",
|
|
10
|
+
"hasBorderBottom": "_hasBorderBottom_15dawgo_33",
|
|
11
|
+
"leftIcon": "_leftIcon_15dawgo_37",
|
|
12
|
+
"rightIcon": "_rightIcon_15dawgo_40",
|
|
13
|
+
"disableLeftPadding": "_disableLeftPadding_15dawgo_44",
|
|
14
|
+
"main": "_main_15dawgo_48",
|
|
15
|
+
"opening": "_opening_15dawgo_59",
|
|
16
|
+
"opened": "_opened_15dawgo_60",
|
|
17
|
+
"closing": "_closing_15dawgo_61",
|
|
18
|
+
"title": "_title_15dawgo_95",
|
|
19
|
+
"content": "_content_15dawgo_103",
|
|
20
|
+
"closed": "_closed_15dawgo_113",
|
|
21
|
+
"closingTransition": "_closingTransition_15dawgo_122",
|
|
22
|
+
"innerWrapper": "_innerWrapper_15dawgo_129",
|
|
23
|
+
"button": "_button_15dawgo_135",
|
|
24
|
+
"icon": "_icon_15dawgo_190",
|
|
25
|
+
"iconPlus": "_iconPlus_15dawgo_206",
|
|
26
|
+
"iconArrow": "_iconArrow_15dawgo_211",
|
|
27
|
+
"accordion": "_accordion_15dawgo_217",
|
|
28
|
+
"accordionGap0": "_accordionGap0_15dawgo_222",
|
|
29
|
+
"accordionGap8": "_accordionGap8_15dawgo_225",
|
|
30
|
+
"accordionGap12": "_accordionGap12_15dawgo_228",
|
|
31
|
+
"accordionGap16": "_accordionGap16_15dawgo_231",
|
|
32
|
+
"accordionGap24": "_accordionGap24_15dawgo_234",
|
|
33
|
+
"accordionGap32": "_accordionGap32_15dawgo_237"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
.
|
|
1
|
+
._themeLight_15dawgo_6{
|
|
2
2
|
--rs-theme-dark:0;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._themeDark_15dawgo_9{
|
|
5
5
|
--rs-theme-dark:1;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._sizeS_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_16 > [data-rs-internal='collapse__content']{
|
|
143
143
|
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
._sizeL_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_19 > [data-rs-internal='collapse__content']{
|
|
215
215
|
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
.
|
|
218
|
+
._classic_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_33{
|
|
255
255
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
256
256
|
}
|
|
257
|
-
.
|
|
257
|
+
._leftIcon_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_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_15dawgo_48 {
|
|
302
302
|
--_rs-collapse-border-bottom-width:var(
|
|
303
303
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
304
304
|
0px
|
|
@@ -313,9 +313,9 @@
|
|
|
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
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
315
315
|
}
|
|
316
|
-
.
|
|
317
|
-
.
|
|
318
|
-
.
|
|
316
|
+
._main_15dawgo_48._opening_15dawgo_59,
|
|
317
|
+
._main_15dawgo_48._opened_15dawgo_60,
|
|
318
|
+
._main_15dawgo_48._closing_15dawgo_61{
|
|
319
319
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
320
320
|
|
|
321
321
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -325,7 +325,7 @@
|
|
|
325
325
|
background:var(--_rs-collapse-active-background);
|
|
326
326
|
}
|
|
327
327
|
@media (hover: hover){
|
|
328
|
-
.
|
|
328
|
+
._main_15dawgo_48:hover{
|
|
329
329
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
330
330
|
|
|
331
331
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
background:var(--_rs-collapse-active-background);
|
|
336
336
|
}
|
|
337
337
|
}
|
|
338
|
-
.
|
|
338
|
+
._title_15dawgo_95{
|
|
339
339
|
letter-spacing:var(
|
|
340
340
|
--rs-text-base-letter-spacing,
|
|
341
341
|
var(--_rs-typography-letter-spacing)
|
|
@@ -349,11 +349,11 @@
|
|
|
349
349
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
350
350
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
351
351
|
}
|
|
352
|
-
.
|
|
353
|
-
.
|
|
352
|
+
._title_15dawgo_95 > p:not(:nth-child(1)),
|
|
353
|
+
._title_15dawgo_95 > pre:not(:nth-child(1)){
|
|
354
354
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
355
355
|
}
|
|
356
|
-
.
|
|
356
|
+
._title_15dawgo_95 {
|
|
357
357
|
|
|
358
358
|
-webkit-box-flex:1;
|
|
359
359
|
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
|
|
364
364
|
color:inherit;
|
|
365
365
|
}
|
|
366
|
-
.
|
|
366
|
+
._content_15dawgo_103{
|
|
367
367
|
letter-spacing:var(
|
|
368
368
|
--rs-text-base-letter-spacing,
|
|
369
369
|
var(--_rs-typography-letter-spacing)
|
|
@@ -377,11 +377,11 @@
|
|
|
377
377
|
-webkit-font-feature-settings:'kern', 'liga', 'calt';
|
|
378
378
|
font-feature-settings:'kern', 'liga', 'calt';
|
|
379
379
|
}
|
|
380
|
-
.
|
|
381
|
-
.
|
|
380
|
+
._content_15dawgo_103 > p:not(:nth-child(1)),
|
|
381
|
+
._content_15dawgo_103 > pre:not(:nth-child(1)){
|
|
382
382
|
padding-top:var(--_rs-typography-auto-offset-or-initial);
|
|
383
383
|
}
|
|
384
|
-
.
|
|
384
|
+
._content_15dawgo_103 {
|
|
385
385
|
--_rs-typography-hardness-color:var(
|
|
386
386
|
--rs-color-hard,
|
|
387
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))
|
|
@@ -393,24 +393,24 @@
|
|
|
393
393
|
|
|
394
394
|
color:var(--_rs-typography-hardness-color);
|
|
395
395
|
}
|
|
396
|
-
.
|
|
396
|
+
._closed_15dawgo_113 > ._content_15dawgo_103{
|
|
397
397
|
display:none;
|
|
398
398
|
}
|
|
399
|
-
.
|
|
399
|
+
._opened_15dawgo_60 > ._content_15dawgo_103{
|
|
400
400
|
height:initial;
|
|
401
401
|
}
|
|
402
|
-
.
|
|
403
|
-
.
|
|
402
|
+
._opening_15dawgo_59 > ._content_15dawgo_103,
|
|
403
|
+
._closingTransition_15dawgo_122 > ._content_15dawgo_103{
|
|
404
404
|
overflow:hidden;
|
|
405
405
|
|
|
406
406
|
-webkit-transition:height 300ms;
|
|
407
407
|
|
|
408
408
|
transition:height 300ms;
|
|
409
409
|
}
|
|
410
|
-
.
|
|
410
|
+
._innerWrapper_15dawgo_129{
|
|
411
411
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
412
412
|
}
|
|
413
|
-
.
|
|
413
|
+
._button_15dawgo_135{
|
|
414
414
|
--_rs-typography-hardness-color:var(
|
|
415
415
|
--rs-color-hard,
|
|
416
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))
|
|
@@ -455,25 +455,25 @@
|
|
|
455
455
|
-moz-osx-font-smoothing:inherit;
|
|
456
456
|
-webkit-appearance:none;
|
|
457
457
|
}
|
|
458
|
-
.
|
|
458
|
+
._button_15dawgo_135::-moz-focus-inner{
|
|
459
459
|
padding:0;
|
|
460
460
|
|
|
461
461
|
border:0;
|
|
462
462
|
}
|
|
463
|
-
.
|
|
463
|
+
._button_15dawgo_135:focus{
|
|
464
464
|
outline:none;
|
|
465
465
|
}
|
|
466
|
-
.
|
|
466
|
+
._button_15dawgo_135:focus[data-focus-method='key']{
|
|
467
467
|
-webkit-box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
468
468
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
469
469
|
}
|
|
470
470
|
@media (hover: hover){
|
|
471
|
-
.
|
|
471
|
+
._button_15dawgo_135:hover{
|
|
472
472
|
color:var(--_rs-collapse-button-hover-color);
|
|
473
473
|
background:var(--_rs-collapse-button-hover-background);
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
|
-
.
|
|
476
|
+
._icon_15dawgo_190{
|
|
477
477
|
position:relative;
|
|
478
478
|
top:0;
|
|
479
479
|
left:0;
|
|
@@ -500,17 +500,17 @@
|
|
|
500
500
|
|
|
501
501
|
will-change:transform;
|
|
502
502
|
}
|
|
503
|
-
.
|
|
504
|
-
.
|
|
503
|
+
._opening_15dawgo_59._iconPlus_15dawgo_206 > ._button_15dawgo_135 > ._icon_15dawgo_190,
|
|
504
|
+
._opened_15dawgo_60._iconPlus_15dawgo_206 > ._button_15dawgo_135 > ._icon_15dawgo_190{
|
|
505
505
|
-webkit-transform:rotate(45deg);
|
|
506
506
|
transform:rotate(45deg);
|
|
507
507
|
}
|
|
508
|
-
.
|
|
509
|
-
.
|
|
508
|
+
._opening_15dawgo_59._iconArrow_15dawgo_211 > ._button_15dawgo_135 > ._icon_15dawgo_190,
|
|
509
|
+
._opened_15dawgo_60._iconArrow_15dawgo_211 > ._button_15dawgo_135 > ._icon_15dawgo_190{
|
|
510
510
|
-webkit-transform:rotate(90deg);
|
|
511
511
|
transform:rotate(90deg);
|
|
512
512
|
}
|
|
513
|
-
.
|
|
513
|
+
._accordion_15dawgo_217{
|
|
514
514
|
display:-webkit-box;
|
|
515
515
|
display:-ms-flexbox;
|
|
516
516
|
display:flex;
|
|
@@ -520,21 +520,21 @@
|
|
|
520
520
|
flex-direction:column;
|
|
521
521
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
522
522
|
}
|
|
523
|
-
.
|
|
523
|
+
._accordionGap0_15dawgo_222{
|
|
524
524
|
--_rs-collapse-accordion-gap:0px;
|
|
525
525
|
}
|
|
526
|
-
.
|
|
526
|
+
._accordionGap8_15dawgo_225{
|
|
527
527
|
--_rs-collapse-accordion-gap:8px;
|
|
528
528
|
}
|
|
529
|
-
.
|
|
529
|
+
._accordionGap12_15dawgo_228{
|
|
530
530
|
--_rs-collapse-accordion-gap:12px;
|
|
531
531
|
}
|
|
532
|
-
.
|
|
532
|
+
._accordionGap16_15dawgo_231{
|
|
533
533
|
--_rs-collapse-accordion-gap:16px;
|
|
534
534
|
}
|
|
535
|
-
.
|
|
535
|
+
._accordionGap24_15dawgo_234{
|
|
536
536
|
--_rs-collapse-accordion-gap:24px;
|
|
537
537
|
}
|
|
538
|
-
.
|
|
538
|
+
._accordionGap32_15dawgo_237{
|
|
539
539
|
--_rs-collapse-accordion-gap:32px;
|
|
540
540
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime-corejs3": "^7.14.0",
|
|
18
|
-
"@rescui/icons": "^0.16.
|
|
18
|
+
"@rescui/icons": "^0.16.2",
|
|
19
19
|
"@rescui/use-resize-observer": "^0.2.0",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
@@ -28,7 +28,7 @@
|
|
|
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.2",
|
|
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": "a2e1fabd391841605a1f7d06800f60fb82a50feb"
|
|
40
40
|
}
|