@charcoal-ui/react-sandbox 3.3.0 → 3.5.0
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/package.json +7 -7
- package/src/components/Carousel/__snapshots__/index.story.storyshot +360 -0
- package/src/components/CarouselButton/__snapshots__/index.story.storyshot +168 -0
- package/src/components/Filter/__snapshots__/index.story.storyshot +239 -0
- package/src/components/HintText/__snapshots__/index.story.storyshot +119 -0
- package/src/components/Layout/__snapshots__/index.story.storyshot +1297 -0
- package/src/components/MenuListItem/__snapshots__/index.story.storyshot +1389 -0
- package/src/components/Pager/__snapshots__/index.story.storyshot +1894 -0
- package/src/components/SwitchCheckbox/__snapshots__/index.story.storyshot +507 -0
- package/src/components/TextEllipsis/__snapshots__/index.story.storyshot +32 -0
- package/src/components/WithIcon/__snapshots__/index.story.storyshot +852 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@charcoal-ui/react-sandbox",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"main": "./dist/index.cjs.js",
|
|
6
6
|
"module": "./dist/index.esm.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"typescript": "^4.9.5"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@charcoal-ui/foundation": "^3.
|
|
51
|
-
"@charcoal-ui/react": "^3.
|
|
52
|
-
"@charcoal-ui/styled": "^3.
|
|
53
|
-
"@charcoal-ui/theme": "^3.
|
|
54
|
-
"@charcoal-ui/utils": "^3.
|
|
50
|
+
"@charcoal-ui/foundation": "^3.5.0",
|
|
51
|
+
"@charcoal-ui/react": "^3.5.0",
|
|
52
|
+
"@charcoal-ui/styled": "^3.5.0",
|
|
53
|
+
"@charcoal-ui/theme": "^3.5.0",
|
|
54
|
+
"@charcoal-ui/utils": "^3.5.0",
|
|
55
55
|
"polished": "^4.1.4",
|
|
56
56
|
"react-spring": "^9.0.0",
|
|
57
57
|
"warning": "^4.0.3"
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"url": "https://github.com/pixiv/charcoal.git",
|
|
74
74
|
"directory": "packages/react-sandbox"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "73956af8afa8f49bb016dd17d3539a7512ad0c42"
|
|
77
77
|
}
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`Storyshots Sandbox/Carousel Carousel 1`] = `
|
|
4
|
+
.c12 {
|
|
5
|
+
stroke: none;
|
|
6
|
+
fill: currentColor;
|
|
7
|
+
width: 24px;
|
|
8
|
+
height: 24px;
|
|
9
|
+
line-height: 0;
|
|
10
|
+
font-size: 0;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.c11 {
|
|
15
|
+
display: -webkit-box;
|
|
16
|
+
display: -webkit-flex;
|
|
17
|
+
display: -ms-flexbox;
|
|
18
|
+
display: flex;
|
|
19
|
+
-webkit-align-items: center;
|
|
20
|
+
-webkit-box-align: center;
|
|
21
|
+
-ms-flex-align: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
-webkit-box-pack: center;
|
|
24
|
+
-webkit-justify-content: center;
|
|
25
|
+
-ms-flex-pack: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 40px;
|
|
28
|
+
height: 40px;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
background-color: rgba(0,0,0,0.32);
|
|
31
|
+
-webkit-transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
32
|
+
transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
33
|
+
color: #ffffff;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.c9 {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
display: -webkit-box;
|
|
41
|
+
display: -webkit-flex;
|
|
42
|
+
display: -ms-flexbox;
|
|
43
|
+
display: flex;
|
|
44
|
+
-webkit-align-items: center;
|
|
45
|
+
-webkit-box-align: center;
|
|
46
|
+
-ms-flex-align: center;
|
|
47
|
+
align-items: center;
|
|
48
|
+
padding: 0;
|
|
49
|
+
min-width: 40px;
|
|
50
|
+
border: none;
|
|
51
|
+
outline: 0;
|
|
52
|
+
background: transparent;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
-webkit-transition: 0.4s visibility,0.4s opacity;
|
|
55
|
+
transition: 0.4s visibility,0.4s opacity;
|
|
56
|
+
z-index: 1;
|
|
57
|
+
visibility: hidden;
|
|
58
|
+
opacity: 0;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.c9:hover .c10 {
|
|
63
|
+
background-color: rgba(0,0,0,0.3472);
|
|
64
|
+
color: #f5f5f5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.c9:active .c10 {
|
|
68
|
+
background-color: rgba(0,0,0,0.4288);
|
|
69
|
+
color: #d6d6d6;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.c3 {
|
|
73
|
+
vertical-align: top;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
list-style: none;
|
|
76
|
+
padding: 0;
|
|
77
|
+
min-width: 100%;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
display: -webkit-inline-box;
|
|
80
|
+
display: -webkit-inline-flex;
|
|
81
|
+
display: -ms-inline-flexbox;
|
|
82
|
+
display: inline-flex;
|
|
83
|
+
margin: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.c8 {
|
|
87
|
+
opacity: 0;
|
|
88
|
+
-webkit-transition: 0.4s opacity;
|
|
89
|
+
transition: 0.4s opacity;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.c1 {
|
|
93
|
+
position: relative;
|
|
94
|
+
z-index: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.c1:hover .c7 {
|
|
98
|
+
opacity: 1;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.c2 {
|
|
102
|
+
overflow-x: auto;
|
|
103
|
+
padding: 0;
|
|
104
|
+
margin: 0;
|
|
105
|
+
-webkit-scrollbar-width: none;
|
|
106
|
+
-moz-scrollbar-width: none;
|
|
107
|
+
-ms-scrollbar-width: none;
|
|
108
|
+
scrollbar-width: none;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.c2::-webkit-scrollbar {
|
|
112
|
+
display: none;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.c5 {
|
|
116
|
+
background-color: rgba(0,0,0,0.02);
|
|
117
|
+
border-radius: 8px;
|
|
118
|
+
color: #adadad;
|
|
119
|
+
display: -webkit-box;
|
|
120
|
+
display: -webkit-flex;
|
|
121
|
+
display: -ms-flexbox;
|
|
122
|
+
display: flex;
|
|
123
|
+
-webkit-align-items: center;
|
|
124
|
+
-webkit-box-align: center;
|
|
125
|
+
-ms-flex-align: center;
|
|
126
|
+
align-items: center;
|
|
127
|
+
-webkit-box-pack: center;
|
|
128
|
+
-webkit-justify-content: center;
|
|
129
|
+
-ms-flex-pack: center;
|
|
130
|
+
justify-content: center;
|
|
131
|
+
font-size: 14px;
|
|
132
|
+
font-weight: bold;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.c0 {
|
|
136
|
+
width: 100%;
|
|
137
|
+
padding: 0 108px;
|
|
138
|
+
box-sizing: border-box;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.c4 {
|
|
142
|
+
display: -webkit-box;
|
|
143
|
+
display: -webkit-flex;
|
|
144
|
+
display: -ms-flexbox;
|
|
145
|
+
display: flex;
|
|
146
|
+
padding: 0 16px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.c4 > * + * {
|
|
150
|
+
margin-left: 4px;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.c6 {
|
|
154
|
+
width: 118px;
|
|
155
|
+
height: 118px;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
<div
|
|
159
|
+
data-dark={false}
|
|
160
|
+
>
|
|
161
|
+
<div
|
|
162
|
+
className="c0"
|
|
163
|
+
>
|
|
164
|
+
<div
|
|
165
|
+
className="c1"
|
|
166
|
+
>
|
|
167
|
+
<div
|
|
168
|
+
className="c2"
|
|
169
|
+
onScroll={[Function]}
|
|
170
|
+
>
|
|
171
|
+
<ul
|
|
172
|
+
className="c3"
|
|
173
|
+
>
|
|
174
|
+
<div
|
|
175
|
+
className="c4"
|
|
176
|
+
>
|
|
177
|
+
<div
|
|
178
|
+
className="c5 c6"
|
|
179
|
+
size={118}
|
|
180
|
+
>
|
|
181
|
+
Dummy
|
|
182
|
+
</div>
|
|
183
|
+
<div
|
|
184
|
+
className="c5 c6"
|
|
185
|
+
size={118}
|
|
186
|
+
>
|
|
187
|
+
Dummy
|
|
188
|
+
</div>
|
|
189
|
+
<div
|
|
190
|
+
className="c5 c6"
|
|
191
|
+
size={118}
|
|
192
|
+
>
|
|
193
|
+
Dummy
|
|
194
|
+
</div>
|
|
195
|
+
<div
|
|
196
|
+
className="c5 c6"
|
|
197
|
+
size={118}
|
|
198
|
+
>
|
|
199
|
+
Dummy
|
|
200
|
+
</div>
|
|
201
|
+
<div
|
|
202
|
+
className="c5 c6"
|
|
203
|
+
size={118}
|
|
204
|
+
>
|
|
205
|
+
Dummy
|
|
206
|
+
</div>
|
|
207
|
+
<div
|
|
208
|
+
className="c5 c6"
|
|
209
|
+
size={118}
|
|
210
|
+
>
|
|
211
|
+
Dummy
|
|
212
|
+
</div>
|
|
213
|
+
<div
|
|
214
|
+
className="c5 c6"
|
|
215
|
+
size={118}
|
|
216
|
+
>
|
|
217
|
+
Dummy
|
|
218
|
+
</div>
|
|
219
|
+
<div
|
|
220
|
+
className="c5 c6"
|
|
221
|
+
size={118}
|
|
222
|
+
>
|
|
223
|
+
Dummy
|
|
224
|
+
</div>
|
|
225
|
+
<div
|
|
226
|
+
className="c5 c6"
|
|
227
|
+
size={118}
|
|
228
|
+
>
|
|
229
|
+
Dummy
|
|
230
|
+
</div>
|
|
231
|
+
<div
|
|
232
|
+
className="c5 c6"
|
|
233
|
+
size={118}
|
|
234
|
+
>
|
|
235
|
+
Dummy
|
|
236
|
+
</div>
|
|
237
|
+
<div
|
|
238
|
+
className="c5 c6"
|
|
239
|
+
size={118}
|
|
240
|
+
>
|
|
241
|
+
Dummy
|
|
242
|
+
</div>
|
|
243
|
+
<div
|
|
244
|
+
className="c5 c6"
|
|
245
|
+
size={118}
|
|
246
|
+
>
|
|
247
|
+
Dummy
|
|
248
|
+
</div>
|
|
249
|
+
<div
|
|
250
|
+
className="c5 c6"
|
|
251
|
+
size={118}
|
|
252
|
+
>
|
|
253
|
+
Dummy
|
|
254
|
+
</div>
|
|
255
|
+
<div
|
|
256
|
+
className="c5 c6"
|
|
257
|
+
size={118}
|
|
258
|
+
>
|
|
259
|
+
Dummy
|
|
260
|
+
</div>
|
|
261
|
+
<div
|
|
262
|
+
className="c5 c6"
|
|
263
|
+
size={118}
|
|
264
|
+
>
|
|
265
|
+
Dummy
|
|
266
|
+
</div>
|
|
267
|
+
<div
|
|
268
|
+
className="c5 c6"
|
|
269
|
+
size={118}
|
|
270
|
+
>
|
|
271
|
+
Dummy
|
|
272
|
+
</div>
|
|
273
|
+
<div
|
|
274
|
+
className="c5 c6"
|
|
275
|
+
size={118}
|
|
276
|
+
>
|
|
277
|
+
Dummy
|
|
278
|
+
</div>
|
|
279
|
+
<div
|
|
280
|
+
className="c5 c6"
|
|
281
|
+
size={118}
|
|
282
|
+
>
|
|
283
|
+
Dummy
|
|
284
|
+
</div>
|
|
285
|
+
<div
|
|
286
|
+
className="c5 c6"
|
|
287
|
+
size={118}
|
|
288
|
+
>
|
|
289
|
+
Dummy
|
|
290
|
+
</div>
|
|
291
|
+
<div
|
|
292
|
+
className="c5 c6"
|
|
293
|
+
size={118}
|
|
294
|
+
>
|
|
295
|
+
Dummy
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
</ul>
|
|
299
|
+
</div>
|
|
300
|
+
<div
|
|
301
|
+
className="c7 c8"
|
|
302
|
+
>
|
|
303
|
+
<button
|
|
304
|
+
className="c9"
|
|
305
|
+
onClick={[Function]}
|
|
306
|
+
style={
|
|
307
|
+
Object {
|
|
308
|
+
"left": 0,
|
|
309
|
+
"paddingBottom": 0,
|
|
310
|
+
"paddingLeft": 16,
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
type="button"
|
|
314
|
+
>
|
|
315
|
+
<div
|
|
316
|
+
className="c10 c11"
|
|
317
|
+
>
|
|
318
|
+
<svg
|
|
319
|
+
className="c12"
|
|
320
|
+
size={24}
|
|
321
|
+
viewBox="0 0 24 24"
|
|
322
|
+
>
|
|
323
|
+
<path
|
|
324
|
+
d="M8.08579 16.5858C7.30474 17.3668 7.30474 18.6332 8.08579 19.4142C8.86684 20.1953 10.1332 20.1953 10.9142 19.4142L18.3284 12L10.9142 4.58579C10.1332 3.80474 8.86684 3.80474 8.08579 4.58579C7.30474 5.36684 7.30474 6.63317 8.08579 7.41421L12.6716 12L8.08579 16.5858Z"
|
|
325
|
+
transform="rotate(180 12 12)"
|
|
326
|
+
/>
|
|
327
|
+
</svg>
|
|
328
|
+
</div>
|
|
329
|
+
</button>
|
|
330
|
+
<button
|
|
331
|
+
className="c9"
|
|
332
|
+
onClick={[Function]}
|
|
333
|
+
style={
|
|
334
|
+
Object {
|
|
335
|
+
"paddingBottom": 0,
|
|
336
|
+
"paddingRight": 16,
|
|
337
|
+
"right": 0,
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
type="button"
|
|
341
|
+
>
|
|
342
|
+
<div
|
|
343
|
+
className="c10 c11"
|
|
344
|
+
>
|
|
345
|
+
<svg
|
|
346
|
+
className="c12"
|
|
347
|
+
size={24}
|
|
348
|
+
viewBox="0 0 24 24"
|
|
349
|
+
>
|
|
350
|
+
<path
|
|
351
|
+
d="M8.08579 16.5858C7.30474 17.3668 7.30474 18.6332 8.08579 19.4142C8.86684 20.1953 10.1332 20.1953 10.9142 19.4142L18.3284 12L10.9142 4.58579C10.1332 3.80474 8.86684 3.80474 8.08579 4.58579C7.30474 5.36684 7.30474 6.63317 8.08579 7.41421L12.6716 12L8.08579 16.5858Z"
|
|
352
|
+
/>
|
|
353
|
+
</svg>
|
|
354
|
+
</div>
|
|
355
|
+
</button>
|
|
356
|
+
</div>
|
|
357
|
+
</div>
|
|
358
|
+
</div>
|
|
359
|
+
</div>
|
|
360
|
+
`;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`Storyshots Sandbox/Carousel/CarouselButton Carousel Button 1`] = `
|
|
4
|
+
.c3 {
|
|
5
|
+
stroke: none;
|
|
6
|
+
fill: currentColor;
|
|
7
|
+
width: 24px;
|
|
8
|
+
height: 24px;
|
|
9
|
+
line-height: 0;
|
|
10
|
+
font-size: 0;
|
|
11
|
+
vertical-align: middle;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.c2 {
|
|
15
|
+
display: -webkit-box;
|
|
16
|
+
display: -webkit-flex;
|
|
17
|
+
display: -ms-flexbox;
|
|
18
|
+
display: flex;
|
|
19
|
+
-webkit-align-items: center;
|
|
20
|
+
-webkit-box-align: center;
|
|
21
|
+
-ms-flex-align: center;
|
|
22
|
+
align-items: center;
|
|
23
|
+
-webkit-box-pack: center;
|
|
24
|
+
-webkit-justify-content: center;
|
|
25
|
+
-ms-flex-pack: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 40px;
|
|
28
|
+
height: 40px;
|
|
29
|
+
border-radius: 50%;
|
|
30
|
+
background-color: rgba(0,0,0,0.32);
|
|
31
|
+
-webkit-transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
32
|
+
transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
33
|
+
color: #ffffff;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.c0 {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 0;
|
|
39
|
+
bottom: 0;
|
|
40
|
+
display: -webkit-box;
|
|
41
|
+
display: -webkit-flex;
|
|
42
|
+
display: -ms-flexbox;
|
|
43
|
+
display: flex;
|
|
44
|
+
-webkit-align-items: center;
|
|
45
|
+
-webkit-box-align: center;
|
|
46
|
+
-ms-flex-align: center;
|
|
47
|
+
align-items: center;
|
|
48
|
+
padding: 0;
|
|
49
|
+
min-width: 40px;
|
|
50
|
+
border: none;
|
|
51
|
+
outline: 0;
|
|
52
|
+
background: transparent;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
-webkit-transition: 0.4s visibility,0.4s opacity;
|
|
55
|
+
transition: 0.4s visibility,0.4s opacity;
|
|
56
|
+
z-index: 1;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.c0:hover .c1 {
|
|
60
|
+
background-color: rgba(0,0,0,0.3472);
|
|
61
|
+
color: #f5f5f5;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.c0:active .c1 {
|
|
65
|
+
background-color: rgba(0,0,0,0.4288);
|
|
66
|
+
color: #d6d6d6;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
<div
|
|
70
|
+
data-dark={false}
|
|
71
|
+
>
|
|
72
|
+
<button
|
|
73
|
+
className="c0"
|
|
74
|
+
onClick={[Function]}
|
|
75
|
+
style={
|
|
76
|
+
Object {
|
|
77
|
+
"left": 0,
|
|
78
|
+
"paddingBottom": 0,
|
|
79
|
+
"paddingLeft": 0,
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
type="button"
|
|
83
|
+
>
|
|
84
|
+
<div
|
|
85
|
+
className="c1 c2"
|
|
86
|
+
>
|
|
87
|
+
<svg
|
|
88
|
+
className="c3"
|
|
89
|
+
size={24}
|
|
90
|
+
viewBox="0 0 24 24"
|
|
91
|
+
>
|
|
92
|
+
<path
|
|
93
|
+
d="M8.08579 16.5858C7.30474 17.3668 7.30474 18.6332 8.08579 19.4142C8.86684 20.1953 10.1332 20.1953 10.9142 19.4142L18.3284 12L10.9142 4.58579C10.1332 3.80474 8.86684 3.80474 8.08579 4.58579C7.30474 5.36684 7.30474 6.63317 8.08579 7.41421L12.6716 12L8.08579 16.5858Z"
|
|
94
|
+
transform="rotate(180 12 12)"
|
|
95
|
+
/>
|
|
96
|
+
</svg>
|
|
97
|
+
</div>
|
|
98
|
+
</button>
|
|
99
|
+
</div>
|
|
100
|
+
`;
|
|
101
|
+
|
|
102
|
+
exports[`Storyshots Sandbox/Carousel/CarouselButton Scroll Hint Button 1`] = `
|
|
103
|
+
.c2 {
|
|
104
|
+
stroke: none;
|
|
105
|
+
fill: currentColor;
|
|
106
|
+
width: 24px;
|
|
107
|
+
height: 24px;
|
|
108
|
+
line-height: 0;
|
|
109
|
+
font-size: 0;
|
|
110
|
+
vertical-align: middle;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.c0 {
|
|
114
|
+
display: -webkit-box;
|
|
115
|
+
display: -webkit-flex;
|
|
116
|
+
display: -ms-flexbox;
|
|
117
|
+
display: flex;
|
|
118
|
+
-webkit-align-items: center;
|
|
119
|
+
-webkit-box-align: center;
|
|
120
|
+
-ms-flex-align: center;
|
|
121
|
+
align-items: center;
|
|
122
|
+
-webkit-box-pack: center;
|
|
123
|
+
-webkit-justify-content: center;
|
|
124
|
+
-ms-flex-pack: center;
|
|
125
|
+
justify-content: center;
|
|
126
|
+
width: 40px;
|
|
127
|
+
height: 40px;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
background-color: rgba(0,0,0,0.32);
|
|
130
|
+
-webkit-transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
131
|
+
transition: 0.4s visibility,0.4s opacity,0.2s background-color,0.2s color;
|
|
132
|
+
color: #ffffff;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.c1 {
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.c1:hover {
|
|
140
|
+
background-color: rgba(0,0,0,0.3472);
|
|
141
|
+
color: #f5f5f5;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.c1:active {
|
|
145
|
+
background-color: rgba(0,0,0,0.4288);
|
|
146
|
+
color: #d6d6d6;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
<div
|
|
150
|
+
data-dark={false}
|
|
151
|
+
>
|
|
152
|
+
<div
|
|
153
|
+
className="c0 c1"
|
|
154
|
+
onClick={[Function]}
|
|
155
|
+
>
|
|
156
|
+
<svg
|
|
157
|
+
className="c2"
|
|
158
|
+
size={24}
|
|
159
|
+
viewBox="0 0 24 24"
|
|
160
|
+
>
|
|
161
|
+
<path
|
|
162
|
+
d="M8.08579 16.5858C7.30474 17.3668 7.30474 18.6332 8.08579 19.4142C8.86684 20.1953 10.1332 20.1953 10.9142 19.4142L18.3284 12L10.9142 4.58579C10.1332 3.80474 8.86684 3.80474 8.08579 4.58579C7.30474 5.36684 7.30474 6.63317 8.08579 7.41421L12.6716 12L8.08579 16.5858Z"
|
|
163
|
+
transform="rotate(180 12 12)"
|
|
164
|
+
/>
|
|
165
|
+
</svg>
|
|
166
|
+
</div>
|
|
167
|
+
</div>
|
|
168
|
+
`;
|