@selfcommunity/react-theme-default 0.4.5-alpha.0 → 0.4.5-alpha.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/cjs/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/cjs/components/SCEventInfoDetails.js +3 -0
- package/lib/cjs/components/SCFeedObject.d.ts +11 -0
- package/lib/cjs/components/SCFeedObject.js +12 -1
- package/lib/cjs/components/SCLiveStream.d.ts +218 -0
- package/lib/cjs/components/SCLiveStream.js +220 -0
- package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +27 -0
- package/lib/cjs/components/SCLiveStreamForm.js +29 -0
- package/lib/cjs/components/SCLiveStreamFormSettings.d.ts +15 -0
- package/lib/cjs/components/SCLiveStreamFormSettings.js +17 -0
- package/lib/cjs/components/SCLiveStreamInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCLiveStreamInfoDetails.js +43 -0
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +113 -0
- package/lib/cjs/components/SCLiveStreamRoom.js +115 -0
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +71 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +75 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +27 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.js +29 -0
- package/lib/cjs/components/SCMediaFile.d.ts +0 -4
- package/lib/cjs/components/SCMediaFile.js +1 -5
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +3 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +3 -0
- package/lib/cjs/components/SCNotification.d.ts +27 -0
- package/lib/cjs/components/SCNotification.js +27 -0
- package/lib/cjs/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/cjs/components/SCUpScalingTierBadge.js +15 -0
- package/lib/cjs/components/SCUserLiveStreamWidget.d.ts +101 -0
- package/lib/cjs/components/SCUserLiveStreamWidget.js +97 -0
- package/lib/cjs/index.d.ts +772 -95
- package/lib/cjs/index.js +21 -1
- package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/esm/components/SCEventInfoDetails.js +3 -0
- package/lib/esm/components/SCFeedObject.d.ts +11 -0
- package/lib/esm/components/SCFeedObject.js +12 -1
- package/lib/esm/components/SCLiveStream.d.ts +218 -0
- package/lib/esm/components/SCLiveStream.js +218 -0
- package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/esm/components/SCLiveStreamDialog.js +16 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +27 -0
- package/lib/esm/components/SCLiveStreamForm.js +27 -0
- package/lib/esm/components/SCLiveStreamFormSettings.d.ts +15 -0
- package/lib/esm/components/SCLiveStreamFormSettings.js +15 -0
- package/lib/esm/components/SCLiveStreamInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCLiveStreamInfoDetails.js +41 -0
- package/lib/esm/components/SCLiveStreamRoom.d.ts +113 -0
- package/lib/esm/components/SCLiveStreamRoom.js +113 -0
- package/lib/esm/components/SCLiveStreamSelector.d.ts +71 -0
- package/lib/esm/components/SCLiveStreamSelector.js +73 -0
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +27 -0
- package/lib/esm/components/SCLiveStreamVideoConference.js +27 -0
- package/lib/esm/components/SCMediaFile.d.ts +0 -4
- package/lib/esm/components/SCMediaFile.js +1 -5
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +3 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +3 -0
- package/lib/esm/components/SCNotification.d.ts +27 -0
- package/lib/esm/components/SCNotification.js +27 -0
- package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
- package/lib/esm/components/SCUserLiveStreamWidget.d.ts +101 -0
- package/lib/esm/components/SCUserLiveStreamWidget.js +95 -0
- package/lib/esm/index.d.ts +772 -95
- package/lib/esm/index.js +21 -1
- package/lib/umd/react-theme-default.js +1 -19
- package/package.json +123 -117
package/lib/cjs/index.js
CHANGED
|
@@ -144,6 +144,16 @@ const SCScrollContainer_1 = tslib_1.__importDefault(require("./components/SCScro
|
|
|
144
144
|
const SCSearchAutocomplete_1 = tslib_1.__importDefault(require("./components/SCSearchAutocomplete"));
|
|
145
145
|
const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/SCSnippetNotifications"));
|
|
146
146
|
const SCSuggestedEventsWidget_1 = tslib_1.__importDefault(require("./components/SCSuggestedEventsWidget"));
|
|
147
|
+
const SCLiveStream_1 = tslib_1.__importDefault(require("./components/SCLiveStream"));
|
|
148
|
+
const SCLiveStreamDialog_1 = tslib_1.__importDefault(require("./components/SCLiveStreamDialog"));
|
|
149
|
+
const SCLiveStreamSelector_1 = tslib_1.__importDefault(require("./components/SCLiveStreamSelector"));
|
|
150
|
+
const SCLiveStreamForm_1 = tslib_1.__importDefault(require("./components/SCLiveStreamForm"));
|
|
151
|
+
const SCLiveStreamFormSettings_1 = tslib_1.__importDefault(require("./components/SCLiveStreamFormSettings"));
|
|
152
|
+
const SCLiveStreamRoom_1 = tslib_1.__importDefault(require("./components/SCLiveStreamRoom"));
|
|
153
|
+
const SCLiveStreamVideoConference_1 = tslib_1.__importDefault(require("./components/SCLiveStreamVideoConference"));
|
|
154
|
+
const SCLiveStreamInfoDetails_1 = tslib_1.__importDefault(require("./components/SCLiveStreamInfoDetails"));
|
|
155
|
+
const SCUpScalingTierBadge_1 = tslib_1.__importDefault(require("./components/SCUpScalingTierBadge"));
|
|
156
|
+
const SCUserLiveStreamWidget_1 = tslib_1.__importDefault(require("./components/SCUserLiveStreamWidget"));
|
|
147
157
|
const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCToastNotifications"));
|
|
148
158
|
const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
|
|
149
159
|
const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
|
|
@@ -408,6 +418,7 @@ const theme = {
|
|
|
408
418
|
SCEventSubscribeButton: SCEventSubscribeButton_1.default,
|
|
409
419
|
SCEventParticipantsButton: SCEventParticipantsButton_1.default,
|
|
410
420
|
SCMyEventsWidget: SCMyEventsWidget_1.default,
|
|
421
|
+
SCEventMediaWidget: SCEventMediaWidget_1.default,
|
|
411
422
|
SCCalendar: SCCalendar_1.default,
|
|
412
423
|
SCCreateEventWidget: SCCreateEventWidget_1.default,
|
|
413
424
|
SCSuggestedEventsWidget: SCSuggestedEventsWidget_1.default,
|
|
@@ -416,7 +427,16 @@ const theme = {
|
|
|
416
427
|
SCVoteAudienceButton: SCVoteAudienceButton_1.default,
|
|
417
428
|
SCVoteButton: SCVoteButton_1.default,
|
|
418
429
|
SCWidget: SCWidget_1.default,
|
|
419
|
-
|
|
430
|
+
SCLiveStream: SCLiveStream_1.default,
|
|
431
|
+
SCLiveStreamInfoDetails: SCLiveStreamInfoDetails_1.default,
|
|
432
|
+
SCUpScalingTierBadge: SCUpScalingTierBadge_1.default,
|
|
433
|
+
SCUserLiveStreamWidget: SCUserLiveStreamWidget_1.default,
|
|
434
|
+
SCCreateLiveStreamDialog: SCLiveStreamDialog_1.default,
|
|
435
|
+
SCLiveStreamSelector: SCLiveStreamSelector_1.default,
|
|
436
|
+
SCLiveStreamForm: SCLiveStreamForm_1.default,
|
|
437
|
+
SCLiveStreamFormSettings: SCLiveStreamFormSettings_1.default,
|
|
438
|
+
SCLiveStreamRoom: SCLiveStreamRoom_1.default,
|
|
439
|
+
SCLiveStreamVideoConference: SCLiveStreamVideoConference_1.default
|
|
420
440
|
},
|
|
421
441
|
selfcommunity: {
|
|
422
442
|
user: {
|
|
@@ -308,8 +308,19 @@ declare const Component: {
|
|
|
308
308
|
};
|
|
309
309
|
'& span span': {
|
|
310
310
|
display: string;
|
|
311
|
+
};
|
|
312
|
+
'& span span:not(:has(+ a))': {
|
|
311
313
|
width: string;
|
|
312
314
|
};
|
|
315
|
+
'& span a': {
|
|
316
|
+
display: string;
|
|
317
|
+
margin: any;
|
|
318
|
+
};
|
|
319
|
+
'& span a:hover': {
|
|
320
|
+
'& span': {
|
|
321
|
+
textDecoration: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
313
324
|
};
|
|
314
325
|
'& .SCFeedObject-medias-section': {
|
|
315
326
|
'& .SCFeedObjectMediaPreview-root': {
|
|
@@ -308,8 +308,19 @@ const Component = {
|
|
|
308
308
|
margin: '0 32px'
|
|
309
309
|
},
|
|
310
310
|
'& span span': {
|
|
311
|
-
display: 'inline-block'
|
|
311
|
+
display: 'inline-block'
|
|
312
|
+
},
|
|
313
|
+
'& span span:not(:has(+ a))': {
|
|
312
314
|
width: '100%'
|
|
315
|
+
},
|
|
316
|
+
'& span a': {
|
|
317
|
+
display: 'inline-block',
|
|
318
|
+
margin: theme.spacing(0, 0.3)
|
|
319
|
+
},
|
|
320
|
+
'& span a:hover': {
|
|
321
|
+
'& span': {
|
|
322
|
+
textDecoration: 'underline'
|
|
323
|
+
}
|
|
313
324
|
}
|
|
314
325
|
},
|
|
315
326
|
'& .SCFeedObject-medias-section': {
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
detailRoot: ({ theme }: any) => {
|
|
5
|
+
'& .SCLiveStream-detail-image-wrapper': {
|
|
6
|
+
position: string;
|
|
7
|
+
'& .SCLiveStream-detail-image': {
|
|
8
|
+
height: string;
|
|
9
|
+
};
|
|
10
|
+
'& .SCLiveStream-detail-in-progress': {
|
|
11
|
+
backgroundColor: any;
|
|
12
|
+
position: string;
|
|
13
|
+
top: number;
|
|
14
|
+
right: number;
|
|
15
|
+
color: any;
|
|
16
|
+
boxShadow: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'& .SCLiveStream-detail-content': {
|
|
20
|
+
padding: string;
|
|
21
|
+
'& .SCLiveStream-detail-user': {
|
|
22
|
+
marginTop: string;
|
|
23
|
+
'& .SCBaseItemButton-text': {
|
|
24
|
+
margin: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'& .SCLiveStream-detail-name-wrapper': {
|
|
28
|
+
textDecoration: string;
|
|
29
|
+
color: string;
|
|
30
|
+
'& .SCLiveStream-detail-name': {
|
|
31
|
+
marginBottom: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'& .SCLiveStream-detail-first-divider': {
|
|
35
|
+
marginTop: string;
|
|
36
|
+
marginBottom: any;
|
|
37
|
+
};
|
|
38
|
+
'& .SCLiveStream-detail-second-divider': {
|
|
39
|
+
marginTop: any;
|
|
40
|
+
marginBottom: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
previewRoot: ({ theme }: any) => {
|
|
45
|
+
'& .SCLiveStream-preview-image-wrapper': {
|
|
46
|
+
position: string;
|
|
47
|
+
'& .SCLiveStream-preview-image': {
|
|
48
|
+
height: string;
|
|
49
|
+
};
|
|
50
|
+
'& .SCLiveStream-preview-in-progress': {
|
|
51
|
+
height: number;
|
|
52
|
+
backgroundColor: any;
|
|
53
|
+
position: string;
|
|
54
|
+
top: number;
|
|
55
|
+
right: number;
|
|
56
|
+
color: any;
|
|
57
|
+
boxShadow: string;
|
|
58
|
+
'& span': {
|
|
59
|
+
fontSize: string;
|
|
60
|
+
paddingLeft: any;
|
|
61
|
+
paddingRight: any;
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
'& .SCLiveStream-preview-content': {
|
|
66
|
+
padding: string;
|
|
67
|
+
'& .SCLiveStreamInfoDetails-icon-text-wrapper': {
|
|
68
|
+
'& .MuiTypography-root': {
|
|
69
|
+
fontSize: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
'& .SCLiveStream-detail-user': {
|
|
73
|
+
marginTop: string;
|
|
74
|
+
'& .SCBaseItemButton-text': {
|
|
75
|
+
margin: number;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
'& .SCLiveStream-preview-name-wrapper': {
|
|
79
|
+
marginTop: number;
|
|
80
|
+
textDecoration: string;
|
|
81
|
+
color: string;
|
|
82
|
+
'& h5': {
|
|
83
|
+
whiteSpace: string;
|
|
84
|
+
overflow: string;
|
|
85
|
+
textOverflow: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
snippetRoot: ({ theme }: any) => {
|
|
91
|
+
overflow: string;
|
|
92
|
+
boxSizing: string;
|
|
93
|
+
paddingLeft: string;
|
|
94
|
+
paddingRight: string;
|
|
95
|
+
'& .SCBaseItem-image': {
|
|
96
|
+
'& .MuiAvatar-root': {
|
|
97
|
+
width: number;
|
|
98
|
+
height: number;
|
|
99
|
+
borderRadius: string;
|
|
100
|
+
'& img': {
|
|
101
|
+
borderRadius: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
'& .SCLiveStream-snippet-image': {
|
|
106
|
+
position: string;
|
|
107
|
+
'& .SCLiveStream-snippet-in-progress': {
|
|
108
|
+
height: number;
|
|
109
|
+
backgroundColor: any;
|
|
110
|
+
position: string;
|
|
111
|
+
top: number;
|
|
112
|
+
right: number;
|
|
113
|
+
color: any;
|
|
114
|
+
boxShadow: string;
|
|
115
|
+
'& span': {
|
|
116
|
+
fontSize: string;
|
|
117
|
+
paddingLeft: any;
|
|
118
|
+
paddingRight: any;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
'& .SCBaseItem-text': {
|
|
123
|
+
fontSize: any;
|
|
124
|
+
'& .SCLiveStream-snippet-primary': {
|
|
125
|
+
color: any;
|
|
126
|
+
textDecoration: string;
|
|
127
|
+
'&:hover': {
|
|
128
|
+
textDecoration: string;
|
|
129
|
+
};
|
|
130
|
+
'& p': {
|
|
131
|
+
fontWeight: any;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
'& .SCLiveStream-snippet-secondary': {
|
|
135
|
+
color: any;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
skeletonRoot: ({ theme }: any) => {
|
|
140
|
+
'& .SCLiveStream-skeleton-detail-root': {
|
|
141
|
+
'& .SCLiveStream-skeleton-detail-calendar': {
|
|
142
|
+
position: string;
|
|
143
|
+
bottom: string;
|
|
144
|
+
left: string;
|
|
145
|
+
boxShadow: string;
|
|
146
|
+
};
|
|
147
|
+
'& .SCLiveStream-skeleton-detail-content': {
|
|
148
|
+
padding: string;
|
|
149
|
+
'& .SCLiveStream-skeleton-detail-user': {
|
|
150
|
+
marginTop: string;
|
|
151
|
+
'& .SCBaseItemButton-text': {
|
|
152
|
+
margin: number;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
'& .SCLiveStream-skeleton-detail-name-wrapper': {
|
|
156
|
+
textDecoration: string;
|
|
157
|
+
color: string;
|
|
158
|
+
'& .SCLiveStream-skeleton-detail-name': {
|
|
159
|
+
marginBottom: string;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
'& .SCLiveStream-skeleton-detail-first-divider': {
|
|
163
|
+
marginTop: string;
|
|
164
|
+
marginBottom: any;
|
|
165
|
+
};
|
|
166
|
+
'& .SCLiveStream-skeleton-detail-second-divider': {
|
|
167
|
+
marginTop: any;
|
|
168
|
+
marginBottom: string;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
'& .SCLiveStream-skeleton-preview-root': {
|
|
173
|
+
'& .SCLiveStream-skeleton-preview-content': {
|
|
174
|
+
padding: any;
|
|
175
|
+
};
|
|
176
|
+
'& .SCLiveStream-skeleton-preview-image': {
|
|
177
|
+
position: string;
|
|
178
|
+
'& .MuiSkeleton-root': {
|
|
179
|
+
borderRadius: string;
|
|
180
|
+
};
|
|
181
|
+
'& .MuiIcon-root': {
|
|
182
|
+
color: any;
|
|
183
|
+
position: string;
|
|
184
|
+
top: string;
|
|
185
|
+
left: string;
|
|
186
|
+
transform: string;
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
'& .SCBaseItem-actions': {
|
|
190
|
+
maxWidth: string;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
'& .SCLiveStream-skeleton-snippet-root': {
|
|
194
|
+
overflow: string;
|
|
195
|
+
boxSizing: string;
|
|
196
|
+
paddingLeft: string;
|
|
197
|
+
paddingRight: string;
|
|
198
|
+
'& .SCLiveStream-skeleton-snippet-image': {
|
|
199
|
+
position: string;
|
|
200
|
+
'& .MuiSkeleton-root': {
|
|
201
|
+
borderRadius: string;
|
|
202
|
+
};
|
|
203
|
+
'& .MuiIcon-root': {
|
|
204
|
+
color: any;
|
|
205
|
+
position: string;
|
|
206
|
+
top: string;
|
|
207
|
+
left: string;
|
|
208
|
+
transform: string;
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
'& .SCBaseItem-actions': {
|
|
212
|
+
maxWidth: string;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
export default Component;
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
detailRoot: ({ theme }) => ({
|
|
5
|
+
'& .SCLiveStream-detail-image-wrapper': {
|
|
6
|
+
position: 'relative',
|
|
7
|
+
'& .SCLiveStream-detail-image': {
|
|
8
|
+
height: '170px'
|
|
9
|
+
},
|
|
10
|
+
'& .SCLiveStream-detail-in-progress': {
|
|
11
|
+
backgroundColor: theme.palette.secondary.main,
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
top: 10,
|
|
14
|
+
right: 10,
|
|
15
|
+
color: theme.palette.common.white,
|
|
16
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px'
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
'& .SCLiveStream-detail-content': {
|
|
20
|
+
padding: `52px ${theme.spacing(3)} 0 !important`,
|
|
21
|
+
'& .SCLiveStream-detail-user': {
|
|
22
|
+
marginTop: '14px',
|
|
23
|
+
'& .SCBaseItemButton-text': {
|
|
24
|
+
margin: 0
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
'& .SCLiveStream-detail-name-wrapper': {
|
|
28
|
+
textDecoration: 'none',
|
|
29
|
+
color: 'inherit',
|
|
30
|
+
'& .SCLiveStream-detail-name': {
|
|
31
|
+
marginBottom: '10px'
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
'& .SCLiveStream-detail-first-divider': {
|
|
35
|
+
marginTop: '18px',
|
|
36
|
+
marginBottom: theme.spacing()
|
|
37
|
+
},
|
|
38
|
+
'& .SCLiveStream-detail-second-divider': {
|
|
39
|
+
marginTop: theme.spacing(),
|
|
40
|
+
marginBottom: '18px'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
44
|
+
previewRoot: ({ theme }) => ({
|
|
45
|
+
'& .SCLiveStream-preview-image-wrapper': {
|
|
46
|
+
position: 'relative',
|
|
47
|
+
'& .SCLiveStream-preview-image': {
|
|
48
|
+
height: '80px'
|
|
49
|
+
},
|
|
50
|
+
'& .SCLiveStream-preview-in-progress': {
|
|
51
|
+
height: 18,
|
|
52
|
+
backgroundColor: theme.palette.secondary.main,
|
|
53
|
+
position: 'absolute',
|
|
54
|
+
top: 7,
|
|
55
|
+
right: 7,
|
|
56
|
+
color: theme.palette.common.white,
|
|
57
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
58
|
+
'& span': {
|
|
59
|
+
fontSize: '0.8rem',
|
|
60
|
+
paddingLeft: theme.spacing(0.5),
|
|
61
|
+
paddingRight: theme.spacing(0.5)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
'& .SCLiveStream-preview-content': {
|
|
66
|
+
padding: `${theme.spacing()} !important`,
|
|
67
|
+
'& .SCLiveStreamInfoDetails-icon-text-wrapper': {
|
|
68
|
+
'& .MuiTypography-root': {
|
|
69
|
+
fontSize: '0.8rem'
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
'& .SCLiveStream-detail-user': {
|
|
73
|
+
marginTop: '14px',
|
|
74
|
+
'& .SCBaseItemButton-text': {
|
|
75
|
+
margin: 0
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
'& .SCLiveStream-preview-name-wrapper': {
|
|
79
|
+
marginTop: 3,
|
|
80
|
+
textDecoration: 'none',
|
|
81
|
+
color: 'inherit',
|
|
82
|
+
'& h5': {
|
|
83
|
+
whiteSpace: 'nowrap',
|
|
84
|
+
overflow: 'hidden',
|
|
85
|
+
textOverflow: 'ellipsis'
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}),
|
|
90
|
+
snippetRoot: ({ theme }) => ({
|
|
91
|
+
overflow: 'visible',
|
|
92
|
+
boxSizing: 'border-box',
|
|
93
|
+
paddingLeft: `${theme.spacing()} !important`,
|
|
94
|
+
paddingRight: `${theme.spacing()} !important`,
|
|
95
|
+
'& .SCBaseItem-image': {
|
|
96
|
+
'& .MuiAvatar-root': {
|
|
97
|
+
width: 100,
|
|
98
|
+
height: 60,
|
|
99
|
+
borderRadius: '5px',
|
|
100
|
+
'& img': {
|
|
101
|
+
borderRadius: '5px'
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
'& .SCLiveStream-snippet-image': {
|
|
106
|
+
position: 'relative',
|
|
107
|
+
'& .SCLiveStream-snippet-in-progress': {
|
|
108
|
+
height: 18,
|
|
109
|
+
backgroundColor: theme.palette.secondary.main,
|
|
110
|
+
position: 'absolute',
|
|
111
|
+
top: 5,
|
|
112
|
+
right: 3,
|
|
113
|
+
color: theme.palette.common.white,
|
|
114
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
115
|
+
'& span': {
|
|
116
|
+
fontSize: '0.8rem',
|
|
117
|
+
paddingLeft: theme.spacing(0.5),
|
|
118
|
+
paddingRight: theme.spacing(0.5)
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
'& .SCBaseItem-text': {
|
|
123
|
+
fontSize: theme.typography.fontSize,
|
|
124
|
+
'& .SCLiveStream-snippet-primary': {
|
|
125
|
+
color: theme.palette.text.primary,
|
|
126
|
+
textDecoration: 'none',
|
|
127
|
+
'&:hover': {
|
|
128
|
+
textDecoration: 'none'
|
|
129
|
+
},
|
|
130
|
+
'& p': {
|
|
131
|
+
fontWeight: theme.typography.fontWeightBold
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
'& .SCLiveStream-snippet-secondary': {
|
|
135
|
+
color: theme.palette.text.secondary
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}),
|
|
139
|
+
skeletonRoot: ({ theme }) => ({
|
|
140
|
+
'& .SCLiveStream-skeleton-detail-root': {
|
|
141
|
+
'& .SCLiveStream-skeleton-detail-calendar': {
|
|
142
|
+
position: 'absolute',
|
|
143
|
+
bottom: '-36px',
|
|
144
|
+
left: '24px',
|
|
145
|
+
boxShadow: '0px 3px 8px #00000040'
|
|
146
|
+
},
|
|
147
|
+
'& .SCLiveStream-skeleton-detail-content': {
|
|
148
|
+
padding: `52px ${theme.spacing(3)} 0 !important`,
|
|
149
|
+
'& .SCLiveStream-skeleton-detail-user': {
|
|
150
|
+
marginTop: '14px',
|
|
151
|
+
'& .SCBaseItemButton-text': {
|
|
152
|
+
margin: 0
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
'& .SCLiveStream-skeleton-detail-name-wrapper': {
|
|
156
|
+
textDecoration: 'none',
|
|
157
|
+
color: 'inherit',
|
|
158
|
+
'& .SCLiveStream-skeleton-detail-name': {
|
|
159
|
+
marginBottom: '10px'
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
'& .SCLiveStream-skeleton-detail-first-divider': {
|
|
163
|
+
marginTop: '18px',
|
|
164
|
+
marginBottom: theme.spacing()
|
|
165
|
+
},
|
|
166
|
+
'& .SCLiveStream-skeleton-detail-second-divider': {
|
|
167
|
+
marginTop: theme.spacing(),
|
|
168
|
+
marginBottom: '18px'
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
'& .SCLiveStream-skeleton-preview-root': {
|
|
173
|
+
'& .SCLiveStream-skeleton-preview-content': {
|
|
174
|
+
padding: theme.spacing()
|
|
175
|
+
},
|
|
176
|
+
'& .SCLiveStream-skeleton-preview-image': {
|
|
177
|
+
position: 'relative',
|
|
178
|
+
'& .MuiSkeleton-root': {
|
|
179
|
+
borderRadius: '5px'
|
|
180
|
+
},
|
|
181
|
+
'& .MuiIcon-root': {
|
|
182
|
+
color: theme.palette.common.white,
|
|
183
|
+
position: 'absolute',
|
|
184
|
+
top: '50%',
|
|
185
|
+
left: '50%',
|
|
186
|
+
transform: 'translate(-50%, -50%)'
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
'& .SCBaseItem-actions': {
|
|
190
|
+
maxWidth: 'none !important'
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
'& .SCLiveStream-skeleton-snippet-root': {
|
|
194
|
+
overflow: 'visible',
|
|
195
|
+
boxSizing: 'border-box',
|
|
196
|
+
paddingLeft: `${theme.spacing()} !important`,
|
|
197
|
+
paddingRight: `${theme.spacing()} !important`,
|
|
198
|
+
'& .SCLiveStream-skeleton-snippet-image': {
|
|
199
|
+
position: 'relative',
|
|
200
|
+
'& .MuiSkeleton-root': {
|
|
201
|
+
borderRadius: '5px'
|
|
202
|
+
},
|
|
203
|
+
'& .MuiIcon-root': {
|
|
204
|
+
color: theme.palette.common.white,
|
|
205
|
+
position: 'absolute',
|
|
206
|
+
top: '50%',
|
|
207
|
+
left: '50%',
|
|
208
|
+
transform: 'translate(-50%, -50%)'
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
'& .SCBaseItem-actions': {
|
|
212
|
+
maxWidth: 'none !important'
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
})
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
export default Component;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .MuiDialogTitle-root': {
|
|
5
|
+
'& span': {
|
|
6
|
+
flexGrow: number;
|
|
7
|
+
textAlign: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
'& .SCCreateLiveStreamDialog-root': {
|
|
11
|
+
padding: any;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default Component;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .MuiDialogTitle-root': {
|
|
5
|
+
'& span': {
|
|
6
|
+
flexGrow: 1,
|
|
7
|
+
textAlign: 'center'
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
'& .SCCreateLiveStreamDialog-root': {
|
|
11
|
+
padding: theme.spacing(2, 0, 0, 0)
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default Component;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCLiveStreamForm-cover': {
|
|
5
|
+
position: string;
|
|
6
|
+
height: number;
|
|
7
|
+
minHeight: number;
|
|
8
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
9
|
+
position: string;
|
|
10
|
+
right: any;
|
|
11
|
+
bottom: any;
|
|
12
|
+
padding: any;
|
|
13
|
+
minWidth: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
"& .SCLiveStreamForm-access-view": {
|
|
17
|
+
margin: any;
|
|
18
|
+
};
|
|
19
|
+
"& .SCLiveStreamForm-actions": {
|
|
20
|
+
display: string;
|
|
21
|
+
justifyContent: string;
|
|
22
|
+
marginTop: any;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCLiveStreamForm-cover': {
|
|
5
|
+
position: 'relative',
|
|
6
|
+
height: 120,
|
|
7
|
+
minHeight: 120,
|
|
8
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
9
|
+
position: 'absolute',
|
|
10
|
+
right: theme.spacing(2),
|
|
11
|
+
bottom: theme.spacing(1),
|
|
12
|
+
padding: theme.spacing(1),
|
|
13
|
+
minWidth: 'auto'
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
[`& .SCLiveStreamForm-access-view`]: {
|
|
17
|
+
margin: theme.spacing(2, 0),
|
|
18
|
+
},
|
|
19
|
+
[`& .SCLiveStreamForm-actions`]: {
|
|
20
|
+
display: 'flex',
|
|
21
|
+
justifyContent: 'flex-end',
|
|
22
|
+
marginTop: theme.spacing(2)
|
|
23
|
+
}
|
|
24
|
+
})
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
margin: any;
|
|
5
|
+
'& .SCLiveStreamFormSettings-access-view': {
|
|
6
|
+
margin: any;
|
|
7
|
+
width: string;
|
|
8
|
+
'& .Mui-checked': {
|
|
9
|
+
color: any;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default Component;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
margin: theme.spacing(1, 0),
|
|
5
|
+
'& .SCLiveStreamFormSettings-access-view': {
|
|
6
|
+
margin: theme.spacing(2, 0),
|
|
7
|
+
width: '100%',
|
|
8
|
+
'& .Mui-checked': {
|
|
9
|
+
color: theme.palette.primary.main
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export default Component;
|