@selfcommunity/react-theme-default 0.1.0-alpha.220 → 0.1.0-alpha.221

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.
@@ -2,379 +2,204 @@ import { keyframes } from '@emotion/react';
2
2
  const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme }) => {
5
- const closeWindow = keyframes `
5
+ const PhotoViewRotate = keyframes `
6
6
  0% {
7
- opacity: 1
7
+ transform: rotate(0deg)
8
8
  }
9
- 100% {
10
- opacity: 0;
9
+ to {
10
+ transform: rotate(1turn)
11
11
  }`;
12
- const pointFade = keyframes `
13
- 0%, 19.999%,
14
- 100% { {
12
+ const PhotoViewDelayIn = keyframes `
13
+ 0%, 50% {
14
+ opacity: 0
15
+ }
16
+ to {
15
17
  opacity: 1
18
+ }`;
19
+ const PhotoViewFade = keyframes `
20
+ 0% {
21
+ opacity: 0
16
22
  }
17
- 20% {
18
- opacity: 0;
23
+ to {
24
+ opacity: 1
19
25
  }`;
20
26
  return {
27
+ height: '100%',
28
+ left: 0,
29
+ overflow: 'hidden',
30
+ position: 'fixed',
31
+ top: 0,
32
+ touchAction: 'none',
33
+ width: '100%',
21
34
  zIndex: 2000,
22
- backgroundColor: 'transparent',
23
- '& .SCLightbox-ril-outer': {
24
- backgroundColor: 'rgba(0, 0, 0, 0.85)',
25
- outline: 'none',
26
- top: 0,
27
- left: 0,
28
- right: 0,
29
- bottom: 0,
30
- zIndex: 1000,
31
- width: '100%',
32
- height: '100vh',
33
- msContentZooming: 'none',
34
- msUserSelect: 'none',
35
- msTouchSelect: 'none',
36
- touchAction: 'none'
35
+ ['& .PhotoView__Spinner']: {
36
+ '-webkit-animation': `${PhotoViewDelayIn} .4s linear both`,
37
+ animation: `${PhotoViewDelayIn} .4s linear both`
37
38
  },
38
- '& .SCLightbox-ril-outer-closing': {
39
- opacity: 0
39
+ ['& .PhotoView__Spinner svg']: {
40
+ '-webkit-animation': `${PhotoViewRotate} .6s linear infinite`,
41
+ animation: `${PhotoViewRotate} .6s linear infinite`
40
42
  },
41
- '& .SCLightbox-ril-inner': {
42
- position: 'absolute',
43
- top: 0,
44
- left: 0,
45
- right: 0,
46
- bottom: 0
43
+ ['& .PhotoView__Photo']: {
44
+ cursor: 'grab',
45
+ maxWidth: 'none'
47
46
  },
48
- '& .SCLightbox-ril-image': {
49
- position: 'absolute',
50
- top: 0,
51
- left: 0,
52
- right: 0,
53
- bottom: 0,
54
- margin: 'auto',
55
- maxWidth: 'none',
56
- msContentZooming: 'none',
57
- msUserSelect: 'none',
58
- msTouchSelect: 'none',
59
- touchAction: 'none'
60
- },
61
- '& .SCLightbox-ril-image-discourager': {
62
- backgroundRepeat: 'no-repeat',
63
- backgroundPosition: 'center',
64
- backgroundSize: 'contain'
65
- },
66
- '& .SCLightbox-ril-nav-buttons': {
67
- border: 'none',
68
- position: 'absolute',
69
- top: 0,
70
- bottom: 0,
71
- width: 20,
72
- height: 34,
73
- padding: '40px 30px',
74
- margin: 'auto',
75
- cursor: 'pointer',
76
- opacity: 0.7,
77
- '&:hover': {
78
- opacity: 1
79
- },
80
- '&:active': {
47
+ ['& .PhotoView__Photo:active']: {
48
+ cursor: 'grabbing',
49
+ ['&:active']: {
81
50
  opacity: 1
82
51
  }
83
52
  },
84
- '& .SCLightbox-ril-nav-button-prev': {
53
+ ['& .PhotoView__icon']: {
54
+ display: 'inline-block',
85
55
  left: 0,
86
- background: 'rgba(0, 0, 0, 0.2)',
87
- borderRadius: 0,
88
- color: '#FFF',
89
- '& span': {
90
- fontSize: 39
91
- }
92
- },
93
- '& .SCLightbox-ril-nav-button-next': {
94
- right: 0,
95
- background: 'rgba(0, 0, 0, 0.2)',
96
- borderRadius: 0,
97
- color: '#FFF',
98
- '& span': {
99
- fontSize: 39
100
- }
101
- },
102
- '& .SCLightbox-ril-download-blocker': {
103
56
  position: 'absolute',
104
57
  top: 0,
105
- left: 0,
106
- right: 0,
107
- bottom: 0,
108
- backgroundImage: "url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7');",
109
- backgroundSize: 'cover'
58
+ transform: 'translate(-50%, -50%)'
110
59
  },
111
- '& .SCLightbox-ril-caption': {
112
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
113
- position: 'absolute',
114
- left: 0,
115
- right: 0,
116
- display: 'flex',
117
- justifyContent: 'space-between',
60
+ ['& .PhotoView__PhotoBox']: {
118
61
  bottom: 0,
119
- maxHeight: 150,
120
- overflow: 'auto'
121
- },
122
- '& .SCLightbox-ril-toolbar': {
123
- backgroundColor: 'rgba(0, 0, 0, 0.5)',
62
+ direction: 'ltr',
63
+ left: 0,
124
64
  position: 'absolute',
65
+ right: 0,
125
66
  top: 0,
67
+ touchAction: 'none',
68
+ width: '100%',
69
+ transformOrigin: 'left top'
70
+ },
71
+ ['& .PhotoView__PhotoWrap']: {
72
+ bottom: 0,
73
+ direction: 'ltr',
126
74
  left: 0,
75
+ position: 'absolute',
127
76
  right: 0,
128
- display: 'flex',
129
- justifyContent: 'space-between',
130
- height: 50
77
+ top: 0,
78
+ touchAction: 'none',
79
+ width: '100%',
80
+ overflow: 'hidden',
81
+ zIndex: 10
131
82
  },
132
- '& .SCLightbox-ril-caption-content': {
133
- padding: '10px 20px',
134
- color: '#fff'
83
+ ['& .PhotoView-Slider__clean .PhotoView-Slider__ArrowLeft, .PhotoView-Slider__clean .PhotoView-Slider__ArrowRight, .PhotoView-Slider__clean .PhotoView-Slider__BannerWrap, .PhotoView-Slider__clean .PhotoView-Slider__Overlay, .PhotoView-Slider__willClose .PhotoView-Slider__BannerWrap:hover']: {
84
+ opacity: 0
135
85
  },
136
- '& .SCLightbox-ril-toolbar-side': {
137
- height: 50,
138
- margin: 0
86
+ ['& .PhotoView-Slider__Backdrop']: {
87
+ background: '#000',
88
+ height: '100%',
89
+ left: 0,
90
+ position: 'absolute',
91
+ top: 0,
92
+ transitionProperty: 'background-color',
93
+ width: '100%',
94
+ zIndex: -1
139
95
  },
140
- '& .SCLightbox-ril-toolbar-left-side': {
141
- paddingLeft: 20,
142
- paddingRight: 0,
143
- flex: '0 1 auto',
144
- overflow: 'hidden',
145
- textOverflow: 'ellipsis'
96
+ ['& .PhotoView-Slider__fadeIn']: {
97
+ '-webkit-animation': `${PhotoViewFade} linear both`,
98
+ animation: `${PhotoViewFade} linear both`,
99
+ opacity: 0
146
100
  },
147
- '& .SCLightbox-ril-toolbar-right-side': {
148
- paddingLeft: 0,
149
- paddingRight: 20,
150
- flex: '0 0 auto'
101
+ ['& .PhotoView-Slider__fadeOut']: {
102
+ animation: `${PhotoViewFade} linear reverse both`,
103
+ opacity: 0
151
104
  },
152
- '& .SCLightbox-ril-toolbar-item': {
153
- display: 'inline-block',
154
- lineHeight: '50px',
155
- padding: 0,
105
+ ['& .PhotoView-Slider__BannerWrap']: {
106
+ alignItems: 'center',
107
+ backgroundColor: 'rgba(0, 0, 0, .5)',
156
108
  color: '#fff',
157
- fontSize: '120%',
158
- maxWidth: '100%',
159
- overflow: 'hidden',
160
- textOverflow: 'ellipsis',
161
- whiteSpace: 'nowrap'
162
- },
163
- '& .SCLightbox-ril-toolbar-item-child': {
164
- verticalAlign: 'middle'
165
- },
166
- '& .SCLightbox-ril-builtin-button': {
167
- width: 40,
168
- height: 35,
169
- cursor: 'pointer',
170
- border: 'none',
171
- opacity: 0.7,
172
- '&:hover': {
109
+ display: 'flex',
110
+ height: 44,
111
+ justifyContent: 'space-between',
112
+ left: 0,
113
+ position: 'absolute',
114
+ top: 0,
115
+ transition: 'opacity .2s ease-out',
116
+ width: '100%',
117
+ zIndex: 20,
118
+ ['&:hover']: {
173
119
  opacity: 1
174
- },
175
- '&:active': {
176
- outline: 'none'
177
- }
178
- },
179
- '& .SCLightbox-ril-builtin-button-disabled': {
180
- cursor: 'default',
181
- opacity: 0.5,
182
- '&:hover': {
183
- opacity: 0.5
184
120
  }
185
121
  },
186
- '& .SCLightbox-ril-close-button': {
187
- background: 'rgba(0, 0, 0, 0.2)',
188
- '& span': {
189
- color: '#FFF',
190
- fontSize: 32
191
- }
192
- },
193
- '& .SCLightbox-ril-zoom-in-button': {
194
- background: 'rgba(0, 0, 0, 0.2)',
195
- marginRight: theme.spacing(3),
196
- '& span': {
197
- color: '#FFF',
198
- fontSize: 32
199
- }
200
- },
201
- '& .SCLightbox-ril-zoom-out-button': {
202
- background: 'rgba(0, 0, 0, 0.2)',
203
- marginRight: theme.spacing(5),
204
- '& span': {
205
- color: '#FFF',
206
- fontSize: 32
207
- }
122
+ ['& .PhotoView-Slider__Counter']: {
123
+ fontSize: '14px',
124
+ opacity: 0,
125
+ padding: '0 10px'
208
126
  },
209
- '& .SCPrivateMessageThreadItem-download-button': {
210
- background: 'rgba(0, 0, 0, 0.2)',
211
- marginRight: theme.spacing(3),
212
- '& span': {
213
- color: '#FFF',
214
- fontSize: 32
215
- }
216
- },
217
- '& .SCLightbox-ril-outer-animating': {
218
- animationName: `${closeWindow}`
219
- },
220
- '& .SCLightbox-ril-loading-circle': {
221
- width: 60,
222
- height: 60,
223
- position: 'relative'
127
+ ['& .PhotoView-Slider__BannerRight']: {
128
+ alignItems: 'center',
129
+ display: 'flex',
130
+ height: '100%'
224
131
  },
225
- '& .SCLightbox-ril-loading-circle-point': {
226
- width: '100%',
227
- height: '100%',
228
- position: 'absolute',
229
- left: 0,
230
- top: 0,
231
- '&:before': {
232
- content: '""',
233
- display: 'block',
234
- margin: '0 auto',
235
- width: '11%',
236
- height: '30%',
237
- backgroundColor: '#fff',
238
- borderRadius: '30%',
239
- animation: `${pointFade} 800ms infinite ease-in-out both`
240
- },
241
- '&:nth-of-type(1)': {
242
- transform: 'rotate(0deg)',
243
- '&:before': {
244
- animationDelay: '-800ms'
245
- }
246
- },
247
- '&:nth-of-type(7)': {
248
- transform: 'rotate(180deg)',
249
- '&:before': {
250
- animationDelay: '-800ms'
251
- }
252
- },
253
- '&:nth-of-type(2)': {
254
- transform: 'rotate(30deg)',
255
- '&:before': {
256
- animationDelay: '-666ms'
257
- }
258
- },
259
- '&:nth-of-type(8)': {
260
- transform: 'rotate(210deg)',
261
- '&:before': {
262
- animationDelay: '-666ms'
263
- }
264
- },
265
- '&:nth-of-type(3)': {
266
- transform: 'rotate(60deg)',
267
- '&:before': {
268
- animationDelay: '-533ms'
269
- }
270
- },
271
- '&:nth-of-type(9)': {
272
- transform: 'rotate(240deg)',
273
- '&:before': {
274
- animationDelay: '-533ms'
275
- }
276
- },
277
- '&:nth-of-type(4)': {
278
- transform: 'rotate(90deg)',
279
- '&:before': {
280
- animationDelay: '-400ms'
281
- }
282
- },
283
- '&:nth-of-type(10)': {
284
- transform: 'rotate(270deg)',
285
- '&:before': {
286
- animationDelay: '-400ms'
287
- }
288
- },
289
- '&:nth-of-type(5)': {
290
- transform: 'rotate(120deg)',
291
- '&:before': {
292
- animationDelay: '-266ms'
293
- }
294
- },
295
- '&:nth-of-type(11)': {
296
- transform: 'rotate(300deg)',
297
- '&:before': {
298
- animationDelay: '-266ms'
299
- }
300
- },
301
- '&:nth-of-type(6)': {
302
- transform: 'rotate(150deg)',
303
- '&:before': {
304
- animationDelay: '-133ms'
305
- }
306
- },
307
- '&:nth-of-type(12)': {
308
- transform: 'rotate(330deg)',
309
- '&:before': {
310
- animationDelay: '-133ms'
311
- }
312
- },
313
- '&:nth-of-type(13)': {
314
- transform: 'rotate(360deg)',
315
- '&:before': {
316
- animationDelay: '0ms'
317
- }
318
- }
132
+ ['& .PhotoView-Slider__toolbarIcon']: {
133
+ fill: '#fff',
134
+ boxSizing: 'border-box',
135
+ cursor: 'pointer',
136
+ opacity: 0.75,
137
+ padding: '10px',
138
+ transition: 'opacity .2s linear'
319
139
  },
320
- '& .SCLightbox-ril-loading-container': {
321
- position: 'absolute',
322
- top: 0,
323
- right: 0,
324
- bottom: 0,
325
- left: 0
140
+ ['& .PhotoView-Slider__toolbarIcon:hover']: {
141
+ opacity: 1
326
142
  },
327
- '& .SCLightbox-ril-error-container': {
328
- position: 'absolute',
329
- top: 0,
330
- right: 0,
143
+ ['& .PhotoView-Slider__ArrowLeft']: {
144
+ alignItems: 'center',
331
145
  bottom: 0,
332
- left: 0,
146
+ cursor: 'pointer',
333
147
  display: 'flex',
334
- alignItems: 'center',
148
+ height: 100,
335
149
  justifyContent: 'center',
336
- color: '#fff'
337
- },
338
- '& .SCLightbox-ril-loading-container-icon': {
339
- color: '#fff',
340
- position: 'absolute',
341
- top: '50%',
342
- left: '50%',
343
- transform: 'translateX(-50%) translateY(-50%)'
344
- },
345
- '& .SCLightbox-ril-image-prev': {
150
+ margin: 'auto',
151
+ opacity: 0.75,
346
152
  position: 'absolute',
347
153
  top: 0,
154
+ transition: 'opacity .2s linear',
155
+ '-webkit-user-select': 'none',
156
+ '-moz-user-select': 'none',
157
+ '-ms-user-select': 'none',
158
+ userSelect: 'none',
159
+ width: 70,
160
+ zIndex: 20,
348
161
  left: 0,
349
- right: 0,
350
- bottom: 0,
351
- margin: 'auto',
352
- maxWidth: 'none',
353
- msContentZooming: 'none',
354
- msUserSelect: 'none',
355
- msTouchSelect: 'none',
356
- touchAction: 'none',
357
- '& .SCLightbox-ril-loading-container': {
358
- display: 'none'
162
+ ['& svg']: {
163
+ fill: '#fff',
164
+ background: 'rgba(0, 0, 0, .3)',
165
+ boxSizing: 'content-box',
166
+ height: 24,
167
+ padding: 10,
168
+ width: 24
169
+ },
170
+ ['&:hover']: {
171
+ opacity: 1
359
172
  }
360
173
  },
361
- '& .SCLightbox-ril-image-next': {
174
+ ['& .PhotoView-Slider__ArrowRight']: {
175
+ alignItems: 'center',
176
+ bottom: 0,
177
+ cursor: 'pointer',
178
+ display: 'flex',
179
+ height: 100,
180
+ justifyContent: 'center',
181
+ margin: 'auto',
182
+ opacity: 0.75,
362
183
  position: 'absolute',
363
184
  top: 0,
364
- left: 0,
185
+ transition: 'opacity .2s linear',
186
+ '-webkit-user-select': 'none',
187
+ '-moz-user-select': 'none',
188
+ '-ms-user-select': 'none',
189
+ userSelect: 'none',
190
+ width: 70,
191
+ zIndex: 20,
365
192
  right: 0,
366
- bottom: 0,
367
- margin: 'auto',
368
- maxWidth: 'none',
369
- msContentZooming: 'none',
370
- msUserSelect: 'none',
371
- msTouchSelect: 'none',
372
- touchAction: 'none',
373
- '& .SCLightbox-ril-loading-container': {
374
- display: 'none'
375
- },
376
- '& .SCLightbox-ril-error-container': {
377
- display: 'none'
193
+ ['& svg']: {
194
+ fill: '#fff',
195
+ background: 'rgba(0, 0, 0, .3)',
196
+ boxSizing: 'content-box',
197
+ height: 24,
198
+ padding: 10,
199
+ width: 24
200
+ },
201
+ ['&:hover']: {
202
+ opacity: 1
378
203
  }
379
204
  }
380
205
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SCLightbox.js","sourceRoot":"","sources":["../../../src/components/SCLightbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE;YACrB,MAAM,WAAW,GAAG,SAAS,CAAA;;;;;;UAMzB,CAAC;YAEL,MAAM,SAAS,GAAG,SAAS,CAAA;;;;;;;UAOvB,CAAC;YACL,OAAO;gBACL,MAAM,EAAE,IAAI;gBACZ,eAAe,EAAE,aAAa;gBAC9B,yBAAyB,EAAE;oBACzB,eAAe,EAAE,qBAAqB;oBACtC,OAAO,EAAE,MAAM;oBACf,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,CAAC;oBACR,MAAM,EAAE,CAAC;oBACT,MAAM,EAAE,IAAI;oBACZ,KAAK,EAAE,MAAM;oBACb,MAAM,EAAE,OAAO;oBACf,gBAAgB,EAAE,MAAM;oBACxB,YAAY,EAAE,MAAM;oBACpB,aAAa,EAAE,MAAM;oBACrB,WAAW,EAAE,MAAM;iBACpB;gBACD,iCAAiC,EAAE;oBACjC,OAAO,EAAE,C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AAE,MAAM;oBACb,QAAQ,EAAE,UAAU;oBACpB,GAAG,EAAE,KAAK;oBACV,IAAI,EAAE,KAAK;oBACX,SAAS,EAAE,mCAAmC;iBAC/C;gBACD,8BAA8B,EAAE;oBAC9B,QAAQ,EAAE,UAAU;oBACpB,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,CAAC;oBACR,MAAM,EAAE,CAAC;oBACT,MAAM,EAAE,MAAM;oBACd,QAAQ,EAAE,MAAM;oBAChB,gBAAgB,EAAE,MAAM;oBACxB,YAAY,EAAE,MAAM;oBACpB,aAAa,EAAE,MAAM;oBACrB,WAAW,EAAE,MAAM;oBACnB,qCAAqC,EAAE;wBACrC,OAAO,EAAE,MAAM;qBAChB;iBACF;gBACD,8BAA8B,EAAE;oBAC9B,QAAQ,EAAE,UAAU;oBACpB,GAAG,EAAE,CAAC;oBACN,IAAI,EAAE,CAAC;oBACP,KAAK,EAAE,CAAC;oBACR,MAAM,EAAE,CAAC;oBACT,MAAM,EAAE,MAAM;oBACd,QAAQ,EAAE,MAAM;oBAChB,gBAAgB,EAAE,MAAM;oBACxB,YAAY,EAAE,MAAM;oBACpB,aAAa,EAAE,MAAM;oBACrB,WAAW,EAAE,MAAM;oBACnB,qCAAqC,EAAE;wBACrC,OAAO,EAAE,MAAM;qBAChB;oBACD,mCAAmC,EAAE;wBACnC,OAAO,EAAE,MAAM;qBAChB;iBACF;aACF,CAAC;QACJ,CAAC;KACF;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"SCLightbox.js","sourceRoot":"","sources":["../../../src/components/SCLightbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAEzC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE;YACrB,MAAM,eAAe,GAAG,SAAS,CAAA;;;;;;UAM7B,C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