@rescui/collapse 0.3.0 → 0.3.2
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 +33 -33
- package/lib/index.css +90 -87
- package/package.json +4 -4
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"hasBorderBottom": "
|
|
3
|
-
"main": "
|
|
4
|
-
"themeLight": "
|
|
5
|
-
"themeDark": "
|
|
6
|
-
"rock": "
|
|
7
|
-
"opening": "
|
|
8
|
-
"opened": "
|
|
9
|
-
"closing": "
|
|
10
|
-
"classic": "
|
|
11
|
-
"title": "
|
|
12
|
-
"sizeS": "
|
|
13
|
-
"button": "
|
|
14
|
-
"sizeM": "
|
|
15
|
-
"sizeL": "
|
|
16
|
-
"content": "
|
|
17
|
-
"closed": "
|
|
18
|
-
"closingTransition": "
|
|
19
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
20
|
-
"leftIcon": "
|
|
21
|
-
"innerWrapper": "
|
|
22
|
-
"rightIcon": "
|
|
23
|
-
"disableLeftPadding": "
|
|
24
|
-
"clear": "
|
|
25
|
-
"icon": "
|
|
26
|
-
"iconPlus": "
|
|
27
|
-
"iconArrow": "
|
|
28
|
-
"accordion": "
|
|
29
|
-
"accordionGap0": "
|
|
30
|
-
"accordionGap8": "
|
|
31
|
-
"accordionGap12": "
|
|
32
|
-
"accordionGap16": "
|
|
33
|
-
"accordionGap24": "
|
|
34
|
-
"accordionGap32": "
|
|
2
|
+
"hasBorderBottom": "_hasBorderBottom_1hap1wt_14",
|
|
3
|
+
"main": "_main_1hap1wt_18",
|
|
4
|
+
"themeLight": "_themeLight_1hap1wt_21",
|
|
5
|
+
"themeDark": "_themeDark_1hap1wt_27",
|
|
6
|
+
"rock": "_rock_1hap1wt_33",
|
|
7
|
+
"opening": "_opening_1hap1wt_33",
|
|
8
|
+
"opened": "_opened_1hap1wt_34",
|
|
9
|
+
"closing": "_closing_1hap1wt_35",
|
|
10
|
+
"classic": "_classic_1hap1wt_49",
|
|
11
|
+
"title": "_title_1hap1wt_106",
|
|
12
|
+
"sizeS": "_sizeS_1hap1wt_111",
|
|
13
|
+
"button": "_button_1hap1wt_111",
|
|
14
|
+
"sizeM": "_sizeM_1hap1wt_114",
|
|
15
|
+
"sizeL": "_sizeL_1hap1wt_117",
|
|
16
|
+
"content": "_content_1hap1wt_122",
|
|
17
|
+
"closed": "_closed_1hap1wt_129",
|
|
18
|
+
"closingTransition": "_closingTransition_1hap1wt_138",
|
|
19
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_1hap1wt_1",
|
|
20
|
+
"leftIcon": "_leftIcon_1hap1wt_156",
|
|
21
|
+
"innerWrapper": "_innerWrapper_1hap1wt_155",
|
|
22
|
+
"rightIcon": "_rightIcon_1hap1wt_160",
|
|
23
|
+
"disableLeftPadding": "_disableLeftPadding_1hap1wt_161",
|
|
24
|
+
"clear": "_clear_1hap1wt_233",
|
|
25
|
+
"icon": "_icon_1hap1wt_281",
|
|
26
|
+
"iconPlus": "_iconPlus_1hap1wt_327",
|
|
27
|
+
"iconArrow": "_iconArrow_1hap1wt_332",
|
|
28
|
+
"accordion": "_accordion_1hap1wt_338",
|
|
29
|
+
"accordionGap0": "_accordionGap0_1hap1wt_342",
|
|
30
|
+
"accordionGap8": "_accordionGap8_1hap1wt_345",
|
|
31
|
+
"accordionGap12": "_accordionGap12_1hap1wt_348",
|
|
32
|
+
"accordionGap16": "_accordionGap16_1hap1wt_351",
|
|
33
|
+
"accordionGap24": "_accordionGap24_1hap1wt_354",
|
|
34
|
+
"accordionGap32": "_accordionGap32_1hap1wt_357"
|
|
35
35
|
};
|
|
36
36
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
.
|
|
1
|
+
._hasBorderBottom_1hap1wt_14{
|
|
2
2
|
border-bottom:1px solid;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._main_1hap1wt_18{
|
|
5
5
|
position:relative;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21{
|
|
8
8
|
border-color:rgba(25,25,28,0.2);
|
|
9
9
|
|
|
10
10
|
color:#19191C;
|
|
11
11
|
|
|
12
12
|
color:var(--rs-typography-color-hard, #19191C);
|
|
13
13
|
}
|
|
14
|
-
.
|
|
14
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27{
|
|
15
15
|
border-color:rgba(255,255,255,0.2);
|
|
16
16
|
|
|
17
17
|
color:#FFFFFF;
|
|
18
18
|
|
|
19
19
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
20
20
|
}
|
|
21
|
-
.
|
|
22
|
-
.
|
|
23
|
-
.
|
|
21
|
+
._main_1hap1wt_18._hasBorderBottom_1hap1wt_14._rock_1hap1wt_33._opening_1hap1wt_33,
|
|
22
|
+
._main_1hap1wt_18._hasBorderBottom_1hap1wt_14._rock_1hap1wt_33._opened_1hap1wt_34,
|
|
23
|
+
._main_1hap1wt_18._hasBorderBottom_1hap1wt_14._rock_1hap1wt_33._closing_1hap1wt_35{
|
|
24
24
|
padding-bottom:1px;
|
|
25
25
|
|
|
26
26
|
border-bottom:none;
|
|
27
27
|
}
|
|
28
28
|
@media (hover: hover){
|
|
29
|
-
.
|
|
29
|
+
._main_1hap1wt_18._hasBorderBottom_1hap1wt_14._rock_1hap1wt_33:hover{
|
|
30
30
|
padding-bottom:1px;
|
|
31
31
|
|
|
32
32
|
border-bottom:none;
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
.
|
|
36
|
-
.
|
|
37
|
-
.
|
|
35
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._classic_1hap1wt_49._opening_1hap1wt_33,
|
|
36
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._classic_1hap1wt_49._opened_1hap1wt_34,
|
|
37
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._classic_1hap1wt_49._closing_1hap1wt_35{
|
|
38
38
|
background:rgba(25,25,28,0.05);
|
|
39
39
|
}
|
|
40
40
|
@media (hover: hover){
|
|
41
|
-
.
|
|
41
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._classic_1hap1wt_49:hover{
|
|
42
42
|
background:rgba(25,25,28,0.05);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
.
|
|
46
|
-
.
|
|
47
|
-
.
|
|
45
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._classic_1hap1wt_49._opening_1hap1wt_33,
|
|
46
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._classic_1hap1wt_49._opened_1hap1wt_34,
|
|
47
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._classic_1hap1wt_49._closing_1hap1wt_35{
|
|
48
48
|
background:rgba(255,255,255,0.05);
|
|
49
49
|
}
|
|
50
50
|
@media (hover: hover){
|
|
51
|
-
.
|
|
51
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._classic_1hap1wt_49:hover{
|
|
52
52
|
background:rgba(255,255,255,0.05);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
|
-
.
|
|
56
|
-
.
|
|
57
|
-
.
|
|
55
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._rock_1hap1wt_33._opening_1hap1wt_33,
|
|
56
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._rock_1hap1wt_33._opened_1hap1wt_34,
|
|
57
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._rock_1hap1wt_33._closing_1hap1wt_35{
|
|
58
58
|
--rs-typography-color-hard:#FFFFFF;
|
|
59
59
|
--rs-typography-color-average:rgba(255,255,255,0.7);
|
|
60
60
|
--rs-typography-color-pale:rgba(255,255,255,0.5);
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
background:#19191C;
|
|
66
66
|
}
|
|
67
67
|
@media (hover: hover){
|
|
68
|
-
.
|
|
68
|
+
._main_1hap1wt_18._themeLight_1hap1wt_21._rock_1hap1wt_33:hover{
|
|
69
69
|
--rs-typography-color-hard:#FFFFFF;
|
|
70
70
|
--rs-typography-color-average:rgba(255,255,255,0.7);
|
|
71
71
|
--rs-typography-color-pale:rgba(255,255,255,0.5);
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
background:#19191C;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
.
|
|
80
|
-
.
|
|
81
|
-
.
|
|
79
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._rock_1hap1wt_33._opening_1hap1wt_33,
|
|
80
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._rock_1hap1wt_33._opened_1hap1wt_34,
|
|
81
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._rock_1hap1wt_33._closing_1hap1wt_35{
|
|
82
82
|
--rs-typography-color-hard:#19191C;
|
|
83
83
|
--rs-typography-color-average:rgba(25,25,28,0.7);
|
|
84
84
|
--rs-typography-color-pale:rgba(25,25,28,0.5);
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
background:#FFFFFF;
|
|
90
90
|
}
|
|
91
91
|
@media (hover: hover){
|
|
92
|
-
.
|
|
92
|
+
._main_1hap1wt_18._themeDark_1hap1wt_27._rock_1hap1wt_33:hover{
|
|
93
93
|
--rs-typography-color-hard:#19191C;
|
|
94
94
|
--rs-typography-color-average:rgba(25,25,28,0.7);
|
|
95
95
|
--rs-typography-color-pale:rgba(25,25,28,0.5);
|
|
@@ -100,14 +100,15 @@
|
|
|
100
100
|
background:#FFFFFF;
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
.
|
|
103
|
+
._title_1hap1wt_106{
|
|
104
104
|
-webkit-box-flex:1;
|
|
105
105
|
-ms-flex:1 1 auto;
|
|
106
106
|
flex:1 1 auto;
|
|
107
107
|
|
|
108
108
|
color:inherit;
|
|
109
109
|
}
|
|
110
|
-
.
|
|
110
|
+
._sizeS_1hap1wt_111 > ._button_1hap1wt_111 > ._title_1hap1wt_106{
|
|
111
|
+
letter-spacing:normal;
|
|
111
112
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
112
113
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
113
114
|
-webkit-font-feature-settings:"kern", "liga", "calt";
|
|
@@ -119,7 +120,8 @@
|
|
|
119
120
|
line-height:20px;
|
|
120
121
|
line-height:var(--rs-h5-line-height, 20px);
|
|
121
122
|
}
|
|
122
|
-
.
|
|
123
|
+
._sizeM_1hap1wt_114 > ._button_1hap1wt_111 > ._title_1hap1wt_106{
|
|
124
|
+
letter-spacing:normal;
|
|
123
125
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
124
126
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
125
127
|
-webkit-font-feature-settings:"kern", "liga", "calt";
|
|
@@ -131,7 +133,7 @@
|
|
|
131
133
|
line-height:24px;
|
|
132
134
|
line-height:var(--rs-h4-line-height, 24px);
|
|
133
135
|
}
|
|
134
|
-
.
|
|
136
|
+
._sizeL_1hap1wt_117 > ._button_1hap1wt_111 > ._title_1hap1wt_106{
|
|
135
137
|
letter-spacing:normal;
|
|
136
138
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
137
139
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -144,28 +146,28 @@
|
|
|
144
146
|
line-height:28px;
|
|
145
147
|
line-height:var(--rs-h3-line-height, 28px);
|
|
146
148
|
}
|
|
147
|
-
.
|
|
149
|
+
._content_1hap1wt_122{
|
|
148
150
|
will-change:height;
|
|
149
151
|
|
|
150
152
|
height:0;
|
|
151
153
|
|
|
152
154
|
color:inherit;
|
|
153
155
|
}
|
|
154
|
-
.
|
|
156
|
+
._closed_1hap1wt_129 > ._content_1hap1wt_122{
|
|
155
157
|
display:none;
|
|
156
158
|
}
|
|
157
|
-
.
|
|
159
|
+
._opened_1hap1wt_34 > ._content_1hap1wt_122{
|
|
158
160
|
height:initial;
|
|
159
161
|
}
|
|
160
|
-
.
|
|
161
|
-
.
|
|
162
|
+
._opening_1hap1wt_33 > ._content_1hap1wt_122,
|
|
163
|
+
._closingTransition_1hap1wt_138 > ._content_1hap1wt_122{
|
|
162
164
|
overflow:hidden;
|
|
163
165
|
|
|
164
166
|
-webkit-transition:height 300ms;
|
|
165
167
|
|
|
166
168
|
transition:height 300ms;
|
|
167
169
|
}
|
|
168
|
-
.
|
|
170
|
+
._sizeS_1hap1wt_111 > ._content_1hap1wt_122{
|
|
169
171
|
letter-spacing:0.0045em;
|
|
170
172
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
171
173
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -176,10 +178,10 @@
|
|
|
176
178
|
line-height:20px;
|
|
177
179
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
178
180
|
}
|
|
179
|
-
._rs-reset-letter-
|
|
181
|
+
._rs-reset-letter-spacing_1hap1wt_1 ._sizeS_1hap1wt_111 > ._content_1hap1wt_122{
|
|
180
182
|
letter-spacing:normal;
|
|
181
183
|
}
|
|
182
|
-
.
|
|
184
|
+
._sizeM_1hap1wt_114 > ._content_1hap1wt_122{
|
|
183
185
|
letter-spacing:0.0015em;
|
|
184
186
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
185
187
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -191,10 +193,11 @@
|
|
|
191
193
|
line-height:24px;
|
|
192
194
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
193
195
|
}
|
|
194
|
-
._rs-reset-letter-
|
|
196
|
+
._rs-reset-letter-spacing_1hap1wt_1 ._sizeM_1hap1wt_114 > ._content_1hap1wt_122{
|
|
195
197
|
letter-spacing:normal;
|
|
196
198
|
}
|
|
197
|
-
.
|
|
199
|
+
._sizeL_1hap1wt_117 > ._content_1hap1wt_122{
|
|
200
|
+
letter-spacing:normal;
|
|
198
201
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
199
202
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
200
203
|
-webkit-font-feature-settings:"kern", "liga", "calt";
|
|
@@ -205,28 +208,28 @@
|
|
|
205
208
|
line-height:28px;
|
|
206
209
|
line-height:var(--rs-text-1-line-height, 28px);
|
|
207
210
|
}
|
|
208
|
-
.
|
|
211
|
+
._sizeS_1hap1wt_111._leftIcon_1hap1wt_156 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
209
212
|
padding:0 8px 8px 36px;
|
|
210
213
|
}
|
|
211
|
-
.
|
|
212
|
-
.
|
|
214
|
+
._sizeS_1hap1wt_111._rightIcon_1hap1wt_160 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155,
|
|
215
|
+
._sizeS_1hap1wt_111._disableLeftPadding_1hap1wt_161 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
213
216
|
padding:0 8px 8px 8px;
|
|
214
217
|
}
|
|
215
|
-
.
|
|
218
|
+
._sizeM_1hap1wt_114._leftIcon_1hap1wt_156 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
216
219
|
padding:0 8px 8px 40px;
|
|
217
220
|
}
|
|
218
|
-
.
|
|
219
|
-
.
|
|
221
|
+
._sizeM_1hap1wt_114._rightIcon_1hap1wt_160 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155,
|
|
222
|
+
._sizeM_1hap1wt_114._disableLeftPadding_1hap1wt_161 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
220
223
|
padding:0 8px 8px 8px;
|
|
221
224
|
}
|
|
222
|
-
.
|
|
225
|
+
._sizeL_1hap1wt_117._leftIcon_1hap1wt_156 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
223
226
|
padding:0 16px 16px 60px;
|
|
224
227
|
}
|
|
225
|
-
.
|
|
226
|
-
.
|
|
228
|
+
._sizeL_1hap1wt_117._rightIcon_1hap1wt_160 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155,
|
|
229
|
+
._sizeL_1hap1wt_117._disableLeftPadding_1hap1wt_161 > ._content_1hap1wt_122 > ._innerWrapper_1hap1wt_155{
|
|
227
230
|
padding:0 16px 16px 16px;
|
|
228
231
|
}
|
|
229
|
-
.
|
|
232
|
+
._button_1hap1wt_111{
|
|
230
233
|
position:relative;
|
|
231
234
|
|
|
232
235
|
display:-webkit-box;
|
|
@@ -258,60 +261,60 @@
|
|
|
258
261
|
-moz-osx-font-smoothing:inherit;
|
|
259
262
|
-webkit-appearance:none;
|
|
260
263
|
}
|
|
261
|
-
.
|
|
264
|
+
._button_1hap1wt_111::-moz-focus-inner{
|
|
262
265
|
padding:0;
|
|
263
266
|
|
|
264
267
|
border:0;
|
|
265
268
|
}
|
|
266
|
-
.
|
|
269
|
+
._sizeS_1hap1wt_111 > ._button_1hap1wt_111{
|
|
267
270
|
padding:6px 8px;
|
|
268
271
|
}
|
|
269
|
-
.
|
|
272
|
+
._sizeM_1hap1wt_114 > ._button_1hap1wt_111{
|
|
270
273
|
padding:8px 8px;
|
|
271
274
|
}
|
|
272
|
-
.
|
|
275
|
+
._sizeL_1hap1wt_117 > ._button_1hap1wt_111{
|
|
273
276
|
padding:12px 16px;
|
|
274
277
|
}
|
|
275
|
-
.
|
|
278
|
+
._button_1hap1wt_111:focus{
|
|
276
279
|
outline:none;
|
|
277
280
|
}
|
|
278
|
-
.
|
|
281
|
+
._clear_1hap1wt_233 > ._button_1hap1wt_111{
|
|
279
282
|
-webkit-transition:color 100ms;
|
|
280
283
|
transition:color 100ms;
|
|
281
284
|
}
|
|
282
|
-
.
|
|
283
|
-
.
|
|
285
|
+
._classic_1hap1wt_49 > ._button_1hap1wt_111,
|
|
286
|
+
._rock_1hap1wt_33 > ._button_1hap1wt_111{
|
|
284
287
|
-webkit-transition:background-color 100ms;
|
|
285
288
|
transition:background-color 100ms;
|
|
286
289
|
}
|
|
287
|
-
.
|
|
290
|
+
._themeLight_1hap1wt_21 ._button_1hap1wt_111{
|
|
288
291
|
color:#19191C;
|
|
289
292
|
color:var(--rs-typography-color-hard, #19191C);
|
|
290
293
|
}
|
|
291
|
-
.
|
|
294
|
+
._themeDark_1hap1wt_27 ._button_1hap1wt_111{
|
|
292
295
|
color:#FFFFFF;
|
|
293
296
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
294
297
|
}
|
|
295
|
-
.
|
|
298
|
+
._themeLight_1hap1wt_21 > ._button_1hap1wt_111:focus[data-focus-method='key']{
|
|
296
299
|
-webkit-box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
|
|
297
300
|
-webkit-box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
|
|
298
301
|
box-shadow:rgba(107, 87, 255, 0.8) 0 0 0 4px;
|
|
299
302
|
box-shadow:var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) 0 0 0 4px;
|
|
300
303
|
}
|
|
301
|
-
.
|
|
304
|
+
._themeDark_1hap1wt_27 > ._button_1hap1wt_111:focus[data-focus-method='key']{
|
|
302
305
|
-webkit-box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
|
|
303
306
|
-webkit-box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
|
|
304
307
|
box-shadow:rgba(132, 115, 255,0.8) 0 0 0 4px;
|
|
305
308
|
box-shadow:var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) 0 0 0 4px;
|
|
306
309
|
}
|
|
307
310
|
@media (hover: hover){
|
|
308
|
-
.
|
|
311
|
+
._themeLight_1hap1wt_21._classic_1hap1wt_49 > ._button_1hap1wt_111:hover{
|
|
309
312
|
background:rgba(25,25,28,0.05);
|
|
310
313
|
}
|
|
311
|
-
.
|
|
314
|
+
._themeDark_1hap1wt_27._classic_1hap1wt_49 > ._button_1hap1wt_111:hover{
|
|
312
315
|
background:rgba(255,255,255,0.05);
|
|
313
316
|
}
|
|
314
|
-
.
|
|
317
|
+
._themeLight_1hap1wt_21._rock_1hap1wt_33 > ._button_1hap1wt_111:hover{
|
|
315
318
|
--rs-typography-color-hard:#FFFFFF;
|
|
316
319
|
--rs-typography-color-average:rgba(255,255,255,0.7);
|
|
317
320
|
--rs-typography-color-pale:rgba(255,255,255,0.5);
|
|
@@ -321,7 +324,7 @@
|
|
|
321
324
|
--rs-typography-rock-link-hover-color:#19191C;
|
|
322
325
|
background:rgba(255,255,255,0.1);
|
|
323
326
|
}
|
|
324
|
-
.
|
|
327
|
+
._themeDark_1hap1wt_27._rock_1hap1wt_33 > ._button_1hap1wt_111:hover{
|
|
325
328
|
--rs-typography-color-hard:#19191C;
|
|
326
329
|
--rs-typography-color-average:rgba(25,25,28,0.7);
|
|
327
330
|
--rs-typography-color-pale:rgba(25,25,28,0.5);
|
|
@@ -331,16 +334,16 @@
|
|
|
331
334
|
--rs-typography-rock-link-hover-color:#FFFFFF;
|
|
332
335
|
background:rgba(25,25,28,0.1);
|
|
333
336
|
}
|
|
334
|
-
.
|
|
337
|
+
._themeLight_1hap1wt_21._clear_1hap1wt_233 > ._button_1hap1wt_111:hover{
|
|
335
338
|
color:rgba(25,25,28,0.7);
|
|
336
339
|
color:var(--rs-typography-color-average, rgba(25,25,28,0.7));
|
|
337
340
|
}
|
|
338
|
-
.
|
|
341
|
+
._themeDark_1hap1wt_27._clear_1hap1wt_233 > ._button_1hap1wt_111:hover{
|
|
339
342
|
color:rgba(255,255,255,0.7);
|
|
340
343
|
color:var(--rs-typography-color-average, rgba(255,255,255,0.7));
|
|
341
344
|
}
|
|
342
345
|
}
|
|
343
|
-
.
|
|
346
|
+
._icon_1hap1wt_281{
|
|
344
347
|
position:relative;
|
|
345
348
|
top:0;
|
|
346
349
|
left:0;
|
|
@@ -363,47 +366,47 @@
|
|
|
363
366
|
-webkit-transform-origin:center center;
|
|
364
367
|
transform-origin:center center;
|
|
365
368
|
}
|
|
366
|
-
.
|
|
369
|
+
._sizeS_1hap1wt_111 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
367
370
|
width:20px;
|
|
368
371
|
height:20px;
|
|
369
372
|
}
|
|
370
|
-
.
|
|
373
|
+
._sizeM_1hap1wt_114 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
371
374
|
width:24px;
|
|
372
375
|
height:24px;
|
|
373
376
|
}
|
|
374
|
-
.
|
|
377
|
+
._sizeL_1hap1wt_117 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
375
378
|
width:28px;
|
|
376
379
|
height:28px;
|
|
377
380
|
}
|
|
378
|
-
.
|
|
381
|
+
._sizeS_1hap1wt_111._leftIcon_1hap1wt_156 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
379
382
|
margin-right:8px;
|
|
380
383
|
}
|
|
381
|
-
.
|
|
384
|
+
._sizeS_1hap1wt_111._rightIcon_1hap1wt_160 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
382
385
|
margin-left:8px;
|
|
383
386
|
}
|
|
384
|
-
.
|
|
387
|
+
._sizeM_1hap1wt_114._leftIcon_1hap1wt_156 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
385
388
|
margin-right:8px;
|
|
386
389
|
}
|
|
387
|
-
.
|
|
390
|
+
._sizeM_1hap1wt_114._rightIcon_1hap1wt_160 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
388
391
|
margin-left:8px;
|
|
389
392
|
}
|
|
390
|
-
.
|
|
393
|
+
._sizeL_1hap1wt_117._leftIcon_1hap1wt_156 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
391
394
|
margin-right:16px;
|
|
392
395
|
}
|
|
393
|
-
.
|
|
396
|
+
._sizeL_1hap1wt_117._rightIcon_1hap1wt_160 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
394
397
|
margin-left:16px;
|
|
395
398
|
}
|
|
396
|
-
.
|
|
397
|
-
.
|
|
399
|
+
._opening_1hap1wt_33._iconPlus_1hap1wt_327 > ._button_1hap1wt_111 > ._icon_1hap1wt_281,
|
|
400
|
+
._opened_1hap1wt_34._iconPlus_1hap1wt_327 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
398
401
|
-webkit-transform:rotate(45deg);
|
|
399
402
|
transform:rotate(45deg);
|
|
400
403
|
}
|
|
401
|
-
.
|
|
402
|
-
.
|
|
404
|
+
._opening_1hap1wt_33._iconArrow_1hap1wt_332 > ._button_1hap1wt_111 > ._icon_1hap1wt_281,
|
|
405
|
+
._opened_1hap1wt_34._iconArrow_1hap1wt_332 > ._button_1hap1wt_111 > ._icon_1hap1wt_281{
|
|
403
406
|
-webkit-transform:rotate(90deg);
|
|
404
407
|
transform:rotate(90deg);
|
|
405
408
|
}
|
|
406
|
-
.
|
|
409
|
+
._accordion_1hap1wt_338{
|
|
407
410
|
display:-webkit-box;
|
|
408
411
|
display:-ms-flexbox;
|
|
409
412
|
display:flex;
|
|
@@ -412,21 +415,21 @@
|
|
|
412
415
|
-ms-flex-direction:column;
|
|
413
416
|
flex-direction:column;
|
|
414
417
|
}
|
|
415
|
-
.
|
|
418
|
+
._accordionGap0_1hap1wt_342{
|
|
416
419
|
row-gap:0;
|
|
417
420
|
}
|
|
418
|
-
.
|
|
421
|
+
._accordionGap8_1hap1wt_345{
|
|
419
422
|
row-gap:8px;
|
|
420
423
|
}
|
|
421
|
-
.
|
|
424
|
+
._accordionGap12_1hap1wt_348{
|
|
422
425
|
row-gap:12px;
|
|
423
426
|
}
|
|
424
|
-
.
|
|
427
|
+
._accordionGap16_1hap1wt_351{
|
|
425
428
|
row-gap:16px;
|
|
426
429
|
}
|
|
427
|
-
.
|
|
430
|
+
._accordionGap24_1hap1wt_354{
|
|
428
431
|
row-gap:24px;
|
|
429
432
|
}
|
|
430
|
-
.
|
|
433
|
+
._accordionGap32_1hap1wt_357{
|
|
431
434
|
row-gap:32px;
|
|
432
435
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/collapse",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
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.
|
|
18
|
+
"@rescui/icons": "^0.14.0",
|
|
19
19
|
"@rescui/use-resize-observer": "^0.1.4",
|
|
20
20
|
"classnames": "^2.2.6",
|
|
21
21
|
"core-js": "^3.9.1"
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@rescui/colors": "^0.1.6",
|
|
30
30
|
"@rescui/scripts": "^0.2.0",
|
|
31
|
-
"@rescui/typography": "^0.
|
|
31
|
+
"@rescui/typography": "^0.12.0",
|
|
32
32
|
"@rescui/visual-regression": "^0.1.0",
|
|
33
33
|
"@types/classnames": "^2.2.11"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"build": "rescui-scripts build"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "0dbcd90b8d2ecbfa34582147271a439d6dd656a2"
|
|
39
39
|
}
|