@rescui/collapse 0.7.3 → 0.7.4-RUI-285-Support-blur-for-glow-hover-6f393bc1.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 +32 -32
- package/lib/index.css +73 -73
- package/package.json +7 -7
|
@@ -1,15 +1,15 @@
|
|
|
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_16arlmh_4",
|
|
3
|
+
"sizeXS": "_sizeXS_16arlmh_14",
|
|
4
|
+
"sizeS": "_sizeS_16arlmh_18",
|
|
5
|
+
"sizeM": "_sizeM_16arlmh_22",
|
|
6
|
+
"sizeL": "_sizeL_16arlmh_26",
|
|
7
|
+
"light": "_light_16arlmh_30",
|
|
8
|
+
"dark": "_dark_16arlmh_34",
|
|
9
|
+
"allVariants": "_allVariants_16arlmh_48",
|
|
10
|
+
"variant16": "_variant16_16arlmh_53",
|
|
11
|
+
"variant20": "_variant20_16arlmh_54",
|
|
12
|
+
"variant24": "_variant24_16arlmh_55",
|
|
13
|
+
"variant28": "_variant28_16arlmh_58"
|
|
14
14
|
};
|
|
15
15
|
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_1jngeqv_6",
|
|
3
|
+
"themeDark": "_themeDark_1jngeqv_9",
|
|
4
|
+
"sizeS": "_sizeS_1jngeqv_13",
|
|
5
|
+
"sizeM": "_sizeM_1jngeqv_16",
|
|
6
|
+
"sizeL": "_sizeL_1jngeqv_19",
|
|
7
|
+
"classic": "_classic_1jngeqv_23",
|
|
8
|
+
"rock": "_rock_1jngeqv_26",
|
|
9
|
+
"clear": "_clear_1jngeqv_29",
|
|
10
|
+
"hasBorderBottom": "_hasBorderBottom_1jngeqv_33",
|
|
11
|
+
"leftIcon": "_leftIcon_1jngeqv_37",
|
|
12
|
+
"rightIcon": "_rightIcon_1jngeqv_40",
|
|
13
|
+
"disableLeftPadding": "_disableLeftPadding_1jngeqv_44",
|
|
14
|
+
"main": "_main_1jngeqv_48",
|
|
15
|
+
"opening": "_opening_1jngeqv_59",
|
|
16
|
+
"opened": "_opened_1jngeqv_60",
|
|
17
|
+
"closing": "_closing_1jngeqv_61",
|
|
18
|
+
"title": "_title_1jngeqv_95",
|
|
19
|
+
"content": "_content_1jngeqv_103",
|
|
20
|
+
"closed": "_closed_1jngeqv_111",
|
|
21
|
+
"closingTransition": "_closingTransition_1jngeqv_120",
|
|
22
|
+
"innerWrapper": "_innerWrapper_1jngeqv_127",
|
|
23
|
+
"button": "_button_1jngeqv_133",
|
|
24
|
+
"icon": "_icon_1jngeqv_186",
|
|
25
|
+
"iconPlus": "_iconPlus_1jngeqv_202",
|
|
26
|
+
"iconArrow": "_iconArrow_1jngeqv_207",
|
|
27
|
+
"accordion": "_accordion_1jngeqv_213",
|
|
28
|
+
"accordionGap0": "_accordionGap0_1jngeqv_218",
|
|
29
|
+
"accordionGap8": "_accordionGap8_1jngeqv_221",
|
|
30
|
+
"accordionGap12": "_accordionGap12_1jngeqv_224",
|
|
31
|
+
"accordionGap16": "_accordionGap16_1jngeqv_227",
|
|
32
|
+
"accordionGap24": "_accordionGap24_1jngeqv_230",
|
|
33
|
+
"accordionGap32": "_accordionGap32_1jngeqv_233"
|
|
34
34
|
};
|
|
35
35
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._icon_16arlmh_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_16arlmh_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_16arlmh_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_16arlmh_4{
|
|
29
29
|
|
|
30
30
|
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
31
31
|
|
|
32
32
|
width:var(--rs-icons-width, auto);
|
|
33
33
|
height:var(--rs-icons-height, var(--_rs-icons-height));
|
|
34
34
|
}
|
|
35
|
-
.
|
|
35
|
+
._sizeXS_16arlmh_14{
|
|
36
36
|
--_rs-icons-height:16px;
|
|
37
37
|
}
|
|
38
|
-
.
|
|
38
|
+
._sizeS_16arlmh_18{
|
|
39
39
|
--_rs-icons-height:20px;
|
|
40
40
|
}
|
|
41
|
-
.
|
|
41
|
+
._sizeM_16arlmh_22{
|
|
42
42
|
--_rs-icons-height:24px;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._sizeL_16arlmh_26{
|
|
45
45
|
--_rs-icons-height:28px;
|
|
46
46
|
}
|
|
47
|
-
.
|
|
47
|
+
._light_16arlmh_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_16arlmh_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,54 +60,54 @@
|
|
|
60
60
|
transform:rotate(360deg);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._allVariants_16arlmh_48{
|
|
64
64
|
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
65
65
|
container:rs-icon / size;
|
|
66
66
|
}
|
|
67
|
-
.
|
|
68
|
-
.
|
|
69
|
-
.
|
|
67
|
+
._variant16_16arlmh_53,
|
|
68
|
+
._variant20_16arlmh_54,
|
|
69
|
+
._variant24_16arlmh_55{
|
|
70
70
|
display:none;
|
|
71
71
|
}
|
|
72
|
-
.
|
|
72
|
+
._variant28_16arlmh_58{
|
|
73
73
|
display:block;
|
|
74
74
|
}
|
|
75
75
|
@container rs-icon (max-height: 24px){
|
|
76
|
-
.
|
|
76
|
+
._variant24_16arlmh_55{
|
|
77
77
|
display:block;
|
|
78
78
|
}
|
|
79
|
-
.
|
|
79
|
+
._variant28_16arlmh_58{
|
|
80
80
|
display:none;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
83
|
@container rs-icon (max-height: 20px){
|
|
84
|
-
.
|
|
84
|
+
._variant20_16arlmh_54{
|
|
85
85
|
display:block;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._variant24_16arlmh_55{
|
|
88
88
|
display:none;
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
@container rs-icon (max-height: 16px){
|
|
92
|
-
.
|
|
92
|
+
._variant16_16arlmh_53{
|
|
93
93
|
display:block;
|
|
94
94
|
}
|
|
95
|
-
.
|
|
95
|
+
._variant20_16arlmh_54{
|
|
96
96
|
display:none;
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
|
-
.
|
|
99
|
+
._themeLight_1jngeqv_6{
|
|
100
100
|
--rs-theme-dark:0;
|
|
101
101
|
}
|
|
102
|
-
.
|
|
102
|
+
._themeDark_1jngeqv_9{
|
|
103
103
|
--rs-theme-dark:1;
|
|
104
104
|
}
|
|
105
|
-
.
|
|
105
|
+
._sizeS_1jngeqv_13{
|
|
106
106
|
--_rs-collapse-vertical-padding:6px;
|
|
107
107
|
--_rs-collapse-horizontal-padding:8px;
|
|
108
108
|
--_rs-collapse-icon-size:20px;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
._sizeS_1jngeqv_13 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
111
111
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
112
112
|
--_rs-typography-text-transform:initial;
|
|
113
113
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
139
139
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
._sizeS_1jngeqv_13 > [data-rs-internal='collapse__content']{
|
|
142
142
|
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
143
143
|
--_rs-typography-text-transform:initial;
|
|
144
144
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -172,12 +172,12 @@
|
|
|
172
172
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
173
173
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
174
174
|
}
|
|
175
|
-
.
|
|
175
|
+
._sizeM_1jngeqv_16{
|
|
176
176
|
--_rs-collapse-vertical-padding:8px;
|
|
177
177
|
--_rs-collapse-horizontal-padding:8px;
|
|
178
178
|
--_rs-collapse-icon-size:24px;
|
|
179
179
|
}
|
|
180
|
-
.
|
|
180
|
+
._sizeM_1jngeqv_16 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
181
181
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
182
182
|
--_rs-typography-text-transform:initial;
|
|
183
183
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
209
209
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
210
210
|
}
|
|
211
|
-
.
|
|
211
|
+
._sizeM_1jngeqv_16 > [data-rs-internal='collapse__content']{
|
|
212
212
|
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
213
213
|
--_rs-typography-text-transform:initial;
|
|
214
214
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -246,16 +246,16 @@
|
|
|
246
246
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
247
247
|
}
|
|
248
248
|
@media screen and (max-width: 640px){
|
|
249
|
-
.
|
|
249
|
+
._sizeM_1jngeqv_16 > [data-rs-internal='collapse__content']{
|
|
250
250
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
|
-
.
|
|
253
|
+
._sizeL_1jngeqv_19{
|
|
254
254
|
--_rs-collapse-vertical-padding:12px;
|
|
255
255
|
--_rs-collapse-horizontal-padding:16px;
|
|
256
256
|
--_rs-collapse-icon-size:28px;
|
|
257
257
|
}
|
|
258
|
-
.
|
|
258
|
+
._sizeL_1jngeqv_19 > [data-rs-internal='collapse__button'] > [data-rs-internal='collapse__title']{
|
|
259
259
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
260
260
|
--_rs-typography-text-transform:initial;
|
|
261
261
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -286,7 +286,7 @@
|
|
|
286
286
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
287
287
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
288
288
|
}
|
|
289
|
-
.
|
|
289
|
+
._sizeL_1jngeqv_19 > [data-rs-internal='collapse__content']{
|
|
290
290
|
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
291
291
|
--_rs-typography-text-transform:initial;
|
|
292
292
|
--_rs-typography-font-variant-numeric:initial;
|
|
@@ -324,11 +324,11 @@
|
|
|
324
324
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
325
325
|
}
|
|
326
326
|
@media screen and (max-width: 640px){
|
|
327
|
-
.
|
|
327
|
+
._sizeL_1jngeqv_19 > [data-rs-internal='collapse__content']{
|
|
328
328
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
.
|
|
331
|
+
._classic_1jngeqv_23{
|
|
332
332
|
--_rs-collapse-active-theme-flip:0;
|
|
333
333
|
--_rs-collapse-active-background:rgba(
|
|
334
334
|
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),
|
|
@@ -342,7 +342,7 @@
|
|
|
342
342
|
);
|
|
343
343
|
--_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);
|
|
344
344
|
}
|
|
345
|
-
.
|
|
345
|
+
._rock_1jngeqv_26{
|
|
346
346
|
--_rs-collapse-active-theme-flip:1;
|
|
347
347
|
--_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));
|
|
348
348
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:1;
|
|
@@ -353,7 +353,7 @@
|
|
|
353
353
|
);
|
|
354
354
|
--_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);
|
|
355
355
|
}
|
|
356
|
-
.
|
|
356
|
+
._clear_1jngeqv_29{
|
|
357
357
|
--_rs-collapse-active-theme-flip:0;
|
|
358
358
|
--_rs-collapse-active-background:transparent;
|
|
359
359
|
--_rs-collapse-active-border-bottom-to-padding-multiplier:0;
|
|
@@ -364,27 +364,27 @@
|
|
|
364
364
|
0.7
|
|
365
365
|
);
|
|
366
366
|
}
|
|
367
|
-
.
|
|
367
|
+
._hasBorderBottom_1jngeqv_33{
|
|
368
368
|
--_rs-collapse-border-bottom-width-or-initial:1px;
|
|
369
369
|
}
|
|
370
|
-
.
|
|
370
|
+
._leftIcon_1jngeqv_37{
|
|
371
371
|
--_rs-collapse-button-flex-direction:row;
|
|
372
372
|
--_rs-collapse-icon-margin:0 var(--_rs-collapse-horizontal-padding) 0 0;
|
|
373
373
|
--_rs-collapse-inner-wrapper-padding-left-base:calc(var(--_rs-collapse-horizontal-padding)*2 + var(--_rs-collapse-icon-size));
|
|
374
374
|
}
|
|
375
|
-
.
|
|
375
|
+
._rightIcon_1jngeqv_40{
|
|
376
376
|
--_rs-collapse-button-flex-direction:row-reverse;
|
|
377
377
|
--_rs-collapse-icon-margin:0 0 0 var(--_rs-collapse-horizontal-padding);
|
|
378
378
|
--_rs-collapse-inner-wrapper-padding-left-base:var(
|
|
379
379
|
--_rs-collapse-horizontal-padding
|
|
380
380
|
);
|
|
381
381
|
}
|
|
382
|
-
.
|
|
382
|
+
._disableLeftPadding_1jngeqv_44{
|
|
383
383
|
--_rs-collapse-inner-wrapper-padding-left-from-disable-left-padding-or-initial:var(
|
|
384
384
|
--_rs-collapse-horizontal-padding
|
|
385
385
|
);
|
|
386
386
|
}
|
|
387
|
-
.
|
|
387
|
+
._main_1jngeqv_48{
|
|
388
388
|
--_rs-theme-dark:var(
|
|
389
389
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
390
390
|
var(--rs-theme-dark, 0)
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
395
395
|
}
|
|
396
396
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
397
|
-
.
|
|
397
|
+
._main_1jngeqv_48{
|
|
398
398
|
--_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)));
|
|
399
399
|
--_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)));
|
|
400
400
|
--_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)));
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
405
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
406
|
-
.
|
|
406
|
+
._main_1jngeqv_48{
|
|
407
407
|
--_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);
|
|
408
408
|
--_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));
|
|
409
409
|
--_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));
|
|
@@ -411,7 +411,7 @@
|
|
|
411
411
|
--_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));
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
.
|
|
414
|
+
._main_1jngeqv_48 {
|
|
415
415
|
--_rs-collapse-border-bottom-width:var(
|
|
416
416
|
--_rs-collapse-border-bottom-width-or-initial,
|
|
417
417
|
0px
|
|
@@ -426,9 +426,9 @@
|
|
|
426
426
|
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);
|
|
427
427
|
border-radius:var(--rs-collapse-border-radius, 0px);
|
|
428
428
|
}
|
|
429
|
-
.
|
|
430
|
-
.
|
|
431
|
-
.
|
|
429
|
+
._main_1jngeqv_48._opening_1jngeqv_59,
|
|
430
|
+
._main_1jngeqv_48._opened_1jngeqv_60,
|
|
431
|
+
._main_1jngeqv_48._closing_1jngeqv_61{
|
|
432
432
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
433
433
|
|
|
434
434
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -438,7 +438,7 @@
|
|
|
438
438
|
background:var(--_rs-collapse-active-background);
|
|
439
439
|
}
|
|
440
440
|
@media (hover: hover){
|
|
441
|
-
.
|
|
441
|
+
._main_1jngeqv_48:hover{
|
|
442
442
|
--rs-theme-flip:var(--_rs-collapse-active-theme-flip);
|
|
443
443
|
|
|
444
444
|
padding-bottom:calc(var(--_rs-collapse-border-bottom-width)*var(--_rs-collapse-active-border-bottom-to-padding-multiplier));
|
|
@@ -448,7 +448,7 @@
|
|
|
448
448
|
background:var(--_rs-collapse-active-background);
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
.
|
|
451
|
+
._title_1jngeqv_95{
|
|
452
452
|
letter-spacing:var(
|
|
453
453
|
--rs-text-base-letter-spacing,
|
|
454
454
|
var(--_rs-typography-letter-spacing)
|
|
@@ -465,7 +465,7 @@
|
|
|
465
465
|
|
|
466
466
|
color:inherit;
|
|
467
467
|
}
|
|
468
|
-
.
|
|
468
|
+
._content_1jngeqv_103{
|
|
469
469
|
letter-spacing:var(
|
|
470
470
|
--rs-text-base-letter-spacing,
|
|
471
471
|
var(--_rs-typography-letter-spacing)
|
|
@@ -486,22 +486,22 @@
|
|
|
486
486
|
|
|
487
487
|
height:0;
|
|
488
488
|
}
|
|
489
|
-
.
|
|
489
|
+
._closed_1jngeqv_111 > ._content_1jngeqv_103{
|
|
490
490
|
display:none;
|
|
491
491
|
}
|
|
492
|
-
.
|
|
492
|
+
._opened_1jngeqv_60 > ._content_1jngeqv_103{
|
|
493
493
|
height:initial;
|
|
494
494
|
}
|
|
495
|
-
.
|
|
496
|
-
.
|
|
495
|
+
._opening_1jngeqv_59 > ._content_1jngeqv_103,
|
|
496
|
+
._closingTransition_1jngeqv_120 > ._content_1jngeqv_103{
|
|
497
497
|
overflow:hidden;
|
|
498
498
|
|
|
499
499
|
transition:height 300ms;
|
|
500
500
|
}
|
|
501
|
-
.
|
|
501
|
+
._innerWrapper_1jngeqv_127{
|
|
502
502
|
padding:0 var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-horizontal-padding) var(--_rs-collapse-inner-wrapper-padding-left);
|
|
503
503
|
}
|
|
504
|
-
.
|
|
504
|
+
._button_1jngeqv_133{
|
|
505
505
|
color:var(
|
|
506
506
|
--rs-color-hard,
|
|
507
507
|
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))
|
|
@@ -534,24 +534,24 @@
|
|
|
534
534
|
-moz-osx-font-smoothing:inherit;
|
|
535
535
|
-webkit-appearance:none;
|
|
536
536
|
}
|
|
537
|
-
.
|
|
537
|
+
._button_1jngeqv_133::-moz-focus-inner{
|
|
538
538
|
padding:0;
|
|
539
539
|
|
|
540
540
|
border:0;
|
|
541
541
|
}
|
|
542
|
-
.
|
|
542
|
+
._button_1jngeqv_133:focus{
|
|
543
543
|
outline:none;
|
|
544
544
|
}
|
|
545
|
-
.
|
|
545
|
+
._button_1jngeqv_133:focus[data-focus-method='key']{
|
|
546
546
|
box-shadow:var(--_rs-color-primary-t-dim) 0 0 0 4px;
|
|
547
547
|
}
|
|
548
548
|
@media (hover: hover){
|
|
549
|
-
.
|
|
549
|
+
._button_1jngeqv_133:hover{
|
|
550
550
|
color:var(--_rs-collapse-button-hover-color);
|
|
551
551
|
background:var(--_rs-collapse-button-hover-background);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
|
-
.
|
|
554
|
+
._icon_1jngeqv_186{
|
|
555
555
|
position:relative;
|
|
556
556
|
top:0;
|
|
557
557
|
left:0;
|
|
@@ -567,34 +567,34 @@
|
|
|
567
567
|
|
|
568
568
|
will-change:transform;
|
|
569
569
|
}
|
|
570
|
-
.
|
|
571
|
-
.
|
|
570
|
+
._opening_1jngeqv_59._iconPlus_1jngeqv_202 > ._button_1jngeqv_133 > ._icon_1jngeqv_186,
|
|
571
|
+
._opened_1jngeqv_60._iconPlus_1jngeqv_202 > ._button_1jngeqv_133 > ._icon_1jngeqv_186{
|
|
572
572
|
transform:rotate(45deg);
|
|
573
573
|
}
|
|
574
|
-
.
|
|
575
|
-
.
|
|
574
|
+
._opening_1jngeqv_59._iconArrow_1jngeqv_207 > ._button_1jngeqv_133 > ._icon_1jngeqv_186,
|
|
575
|
+
._opened_1jngeqv_60._iconArrow_1jngeqv_207 > ._button_1jngeqv_133 > ._icon_1jngeqv_186{
|
|
576
576
|
transform:rotate(90deg);
|
|
577
577
|
}
|
|
578
|
-
.
|
|
578
|
+
._accordion_1jngeqv_213{
|
|
579
579
|
display:flex;
|
|
580
580
|
flex-direction:column;
|
|
581
581
|
row-gap:var(--_rs-collapse-accordion-gap);
|
|
582
582
|
}
|
|
583
|
-
.
|
|
583
|
+
._accordionGap0_1jngeqv_218{
|
|
584
584
|
--_rs-collapse-accordion-gap:0px;
|
|
585
585
|
}
|
|
586
|
-
.
|
|
586
|
+
._accordionGap8_1jngeqv_221{
|
|
587
587
|
--_rs-collapse-accordion-gap:8px;
|
|
588
588
|
}
|
|
589
|
-
.
|
|
589
|
+
._accordionGap12_1jngeqv_224{
|
|
590
590
|
--_rs-collapse-accordion-gap:12px;
|
|
591
591
|
}
|
|
592
|
-
.
|
|
592
|
+
._accordionGap16_1jngeqv_227{
|
|
593
593
|
--_rs-collapse-accordion-gap:16px;
|
|
594
594
|
}
|
|
595
|
-
.
|
|
595
|
+
._accordionGap24_1jngeqv_230{
|
|
596
596
|
--_rs-collapse-accordion-gap:24px;
|
|
597
597
|
}
|
|
598
|
-
.
|
|
598
|
+
._accordionGap32_1jngeqv_233{
|
|
599
599
|
--_rs-collapse-accordion-gap:32px;
|
|
600
600
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.4-RUI-285-Support-blur-for-glow-hover-6f393bc1.1+6f393bc1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/use-resize-observer": "
|
|
19
|
+
"@rescui/use-resize-observer": "0.3.1-RUI-285-Support-blur-for-glow-hover-6f393bc1.96+6f393bc1",
|
|
20
20
|
"classnames": "^2.2.6"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"react": ">=16.8.0 <20"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@rescui/colors": "
|
|
29
|
-
"@rescui/scripts": "
|
|
30
|
-
"@rescui/typography": "
|
|
31
|
-
"@rescui/visual-regression": "
|
|
28
|
+
"@rescui/colors": "0.2.13-RUI-285-Support-blur-for-glow-hover-6f393bc1.50+6f393bc1",
|
|
29
|
+
"@rescui/scripts": "0.5.1",
|
|
30
|
+
"@rescui/typography": "0.24.4-RUI-285-Support-blur-for-glow-hover-6f393bc1.1+6f393bc1",
|
|
31
|
+
"@rescui/visual-regression": "0.1.4",
|
|
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": "6f393bc1b7394a744b9737ba9fe13126c3163219"
|
|
40
40
|
}
|