@selfcommunity/react-theme-default 0.4.5-alpha.1 → 0.4.5-alpha.11
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/SCComposer.d.ts +36 -8
- package/lib/cjs/components/SCComposer.js +37 -9
- package/lib/cjs/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
- package/lib/cjs/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/cjs/components/SCEventInfoDetails.js +3 -0
- package/lib/cjs/components/SCFeedObject.d.ts +21 -15
- package/lib/cjs/components/SCFeedObject.js +22 -16
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.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 +29 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.js +31 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +4 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +4 -0
- package/lib/cjs/components/SCNotification.d.ts +27 -0
- package/lib/cjs/components/SCNotification.js +27 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- 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 +842 -114
- package/lib/cjs/index.js +23 -1
- package/lib/esm/components/SCComposer.d.ts +36 -8
- package/lib/esm/components/SCComposer.js +37 -9
- package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
- package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/esm/components/SCEventInfoDetails.js +3 -0
- package/lib/esm/components/SCFeedObject.d.ts +21 -15
- package/lib/esm/components/SCFeedObject.js +22 -16
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.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 +29 -0
- package/lib/esm/components/SCLiveStreamVideoConference.js +29 -0
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +4 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +4 -0
- package/lib/esm/components/SCNotification.d.ts +27 -0
- package/lib/esm/components/SCNotification.js +27 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- 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 +842 -114
- package/lib/esm/index.js +23 -1
- package/lib/umd/react-theme-default.js +1 -19
- package/package.json +123 -117
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCLiveStreamSelector-warning': {
|
|
5
|
+
margin: any;
|
|
6
|
+
"& a": {
|
|
7
|
+
color: any;
|
|
8
|
+
fontWeight: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'& .SCLiveStreamSelector-options': {
|
|
12
|
+
[x: number]: {
|
|
13
|
+
display: string;
|
|
14
|
+
};
|
|
15
|
+
display: string;
|
|
16
|
+
justifyContent: string;
|
|
17
|
+
alignItems: string;
|
|
18
|
+
'& > div': {
|
|
19
|
+
[x: number]: {
|
|
20
|
+
margin: string;
|
|
21
|
+
marginBottom: any;
|
|
22
|
+
};
|
|
23
|
+
width: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
'& .SCLiveStreamSelector-actions': {
|
|
27
|
+
display: string;
|
|
28
|
+
justifyContent: string;
|
|
29
|
+
alignItems: string;
|
|
30
|
+
marginTop: any;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
optionCardRoot: ({ theme, selected }: any) => {
|
|
34
|
+
maxWidth: number;
|
|
35
|
+
height: string;
|
|
36
|
+
minHeight: number;
|
|
37
|
+
padding: any;
|
|
38
|
+
margin: any;
|
|
39
|
+
cursor: string;
|
|
40
|
+
transition: any;
|
|
41
|
+
backgroundColor: any;
|
|
42
|
+
'&:hover': {
|
|
43
|
+
backgroundColor: any;
|
|
44
|
+
boxShadow: any;
|
|
45
|
+
};
|
|
46
|
+
border: string;
|
|
47
|
+
"& > div": {
|
|
48
|
+
display: string;
|
|
49
|
+
justifyContent: string;
|
|
50
|
+
alignItems: string;
|
|
51
|
+
marginBottom: number;
|
|
52
|
+
maxWidth: string;
|
|
53
|
+
};
|
|
54
|
+
"& ul": {
|
|
55
|
+
marginTop: any;
|
|
56
|
+
padding: number;
|
|
57
|
+
listStyle: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
featureItemRoot: ({ theme, selected }: any) => {
|
|
61
|
+
display: string;
|
|
62
|
+
alignItems: string;
|
|
63
|
+
gap: any;
|
|
64
|
+
marginBottom: any;
|
|
65
|
+
'&:last-child': {
|
|
66
|
+
marginBottom: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
export default Component;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCLiveStreamSelector-warning': {
|
|
5
|
+
margin: theme.spacing(2, 5, 2, 5),
|
|
6
|
+
[`& a`]: {
|
|
7
|
+
color: theme.palette.common.white,
|
|
8
|
+
fontWeight: 'bold'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
'& .SCLiveStreamSelector-options': {
|
|
12
|
+
display: 'flex',
|
|
13
|
+
justifyContent: 'center',
|
|
14
|
+
alignItems: 'center',
|
|
15
|
+
[theme.breakpoints.down('sm')]: {
|
|
16
|
+
display: 'block'
|
|
17
|
+
},
|
|
18
|
+
'& > div': {
|
|
19
|
+
width: '290px',
|
|
20
|
+
[theme.breakpoints.down('sm')]: {
|
|
21
|
+
margin: '0px auto',
|
|
22
|
+
marginBottom: theme.spacing(2)
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'& .SCLiveStreamSelector-actions': {
|
|
27
|
+
display: 'flex',
|
|
28
|
+
justifyContent: 'flex-end',
|
|
29
|
+
alignItems: 'flex-end',
|
|
30
|
+
marginTop: theme.spacing(4)
|
|
31
|
+
}
|
|
32
|
+
}),
|
|
33
|
+
optionCardRoot: ({ theme, selected }) => ({
|
|
34
|
+
maxWidth: 300,
|
|
35
|
+
height: 'auto',
|
|
36
|
+
minHeight: 440,
|
|
37
|
+
padding: theme.spacing(3),
|
|
38
|
+
margin: theme.spacing(0, 3),
|
|
39
|
+
cursor: 'pointer',
|
|
40
|
+
transition: theme.transitions.create(['background-color', 'box-shadow'], {
|
|
41
|
+
duration: theme.transitions.duration.short
|
|
42
|
+
}),
|
|
43
|
+
backgroundColor: selected ? theme.palette.grey[100] : theme.palette.background.paper,
|
|
44
|
+
'&:hover': {
|
|
45
|
+
backgroundColor: theme.palette.grey[50],
|
|
46
|
+
boxShadow: theme.shadows[2]
|
|
47
|
+
},
|
|
48
|
+
border: `1px solid ${theme.palette.divider}`,
|
|
49
|
+
[`& > div`]: {
|
|
50
|
+
display: 'flex',
|
|
51
|
+
justifyContent: 'space-between',
|
|
52
|
+
alignItems: 'center',
|
|
53
|
+
marginBottom: 2,
|
|
54
|
+
maxWidth: '300px'
|
|
55
|
+
},
|
|
56
|
+
[`& ul`]: {
|
|
57
|
+
marginTop: theme.spacing(2),
|
|
58
|
+
padding: 0,
|
|
59
|
+
listStyle: 'none'
|
|
60
|
+
}
|
|
61
|
+
}),
|
|
62
|
+
featureItemRoot: ({ theme, selected }) => ({
|
|
63
|
+
display: 'flex',
|
|
64
|
+
alignItems: 'flex-start',
|
|
65
|
+
gap: theme.spacing(1.5),
|
|
66
|
+
marginBottom: theme.spacing(2),
|
|
67
|
+
'&:last-child': {
|
|
68
|
+
marginBottom: 0
|
|
69
|
+
}
|
|
70
|
+
})
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
export default Component;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
height: string;
|
|
5
|
+
width: string;
|
|
6
|
+
overflowY: string;
|
|
7
|
+
};
|
|
8
|
+
dialogRoot: ({ theme }: any) => {
|
|
9
|
+
"& .SCLiveStreamVideoConference-end-conference-wrap": {
|
|
10
|
+
display: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
alignItems: string;
|
|
13
|
+
alignContent: string;
|
|
14
|
+
flexDirection: string;
|
|
15
|
+
textAlign: string;
|
|
16
|
+
"& .SCLiveStreamVideoConference-logo": {
|
|
17
|
+
img: {
|
|
18
|
+
maxHeight: string;
|
|
19
|
+
};
|
|
20
|
+
marginBottom: any;
|
|
21
|
+
};
|
|
22
|
+
"& .SCLiveStreamVideoConference-btn-back-home": {
|
|
23
|
+
marginTop: any;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
height: '100vh',
|
|
5
|
+
width: '100%',
|
|
6
|
+
overflowY: 'hidden'
|
|
7
|
+
}),
|
|
8
|
+
dialogRoot: ({ theme }) => ({
|
|
9
|
+
[`& .SCLiveStreamVideoConference-end-conference-wrap`]: {
|
|
10
|
+
display: 'flex',
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
alignContent: 'center',
|
|
14
|
+
flexDirection: 'column',
|
|
15
|
+
textAlign: 'center',
|
|
16
|
+
[`& .SCLiveStreamVideoConference-logo`]: {
|
|
17
|
+
img: {
|
|
18
|
+
maxHeight: '100px'
|
|
19
|
+
},
|
|
20
|
+
marginBottom: theme.spacing(2)
|
|
21
|
+
},
|
|
22
|
+
[`& .SCLiveStreamVideoConference-btn-back-home`]: {
|
|
23
|
+
marginTop: theme.spacing(2)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
@@ -305,6 +305,33 @@ declare const Component: {
|
|
|
305
305
|
backgroundColor: string;
|
|
306
306
|
};
|
|
307
307
|
};
|
|
308
|
+
liveStreamRoot: ({ theme }: any) => {
|
|
309
|
+
'& .SCNotification-username, & a': {
|
|
310
|
+
fontWeight: any;
|
|
311
|
+
};
|
|
312
|
+
'& .SCNotificationItem-primary': {
|
|
313
|
+
'& .MuiIcon-root': {
|
|
314
|
+
float: string;
|
|
315
|
+
fontSize: string;
|
|
316
|
+
marginLeft: any;
|
|
317
|
+
};
|
|
318
|
+
'& .SCEvent-root': {
|
|
319
|
+
width: string;
|
|
320
|
+
'& .SCEvent-snippet-root': {
|
|
321
|
+
paddingLeft: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
'& .SCNotificationItem-secondary': {
|
|
326
|
+
textTransform: string;
|
|
327
|
+
};
|
|
328
|
+
'& .SCNotification-snippet-time': {
|
|
329
|
+
paddingLeft: any;
|
|
330
|
+
};
|
|
331
|
+
'& .SCEvent-snippet-root': {
|
|
332
|
+
backgroundColor: string;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
308
335
|
groupRoot: ({ theme }: any) => {};
|
|
309
336
|
undeletedForRoot: ({ theme }: any) => {
|
|
310
337
|
'& .SCNotification-undeleted-icon': {
|
|
@@ -307,6 +307,33 @@ const Component = {
|
|
|
307
307
|
backgroundColor: 'transparent !important'
|
|
308
308
|
}
|
|
309
309
|
}),
|
|
310
|
+
liveStreamRoot: ({ theme }) => ({
|
|
311
|
+
'& .SCNotification-username, & a': {
|
|
312
|
+
fontWeight: theme.typography.fontWeightBold
|
|
313
|
+
},
|
|
314
|
+
'& .SCNotificationItem-primary': {
|
|
315
|
+
'& .MuiIcon-root': {
|
|
316
|
+
float: 'right',
|
|
317
|
+
fontSize: '20px',
|
|
318
|
+
marginLeft: theme.spacing(0.5)
|
|
319
|
+
},
|
|
320
|
+
'& .SCEvent-root': {
|
|
321
|
+
width: '100%',
|
|
322
|
+
'& .SCEvent-snippet-root': {
|
|
323
|
+
paddingLeft: '0 !important'
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
'& .SCNotificationItem-secondary': {
|
|
328
|
+
textTransform: 'capitalize'
|
|
329
|
+
},
|
|
330
|
+
'& .SCNotification-snippet-time': {
|
|
331
|
+
paddingLeft: theme.spacing(5)
|
|
332
|
+
},
|
|
333
|
+
'& .SCEvent-snippet-root': {
|
|
334
|
+
backgroundColor: 'transparent !important'
|
|
335
|
+
}
|
|
336
|
+
}),
|
|
310
337
|
groupRoot: ({ theme }) => ({}),
|
|
311
338
|
undeletedForRoot: ({ theme }) => ({
|
|
312
339
|
'& .SCNotification-undeleted-icon': {
|
|
@@ -82,12 +82,14 @@ declare const Component: {
|
|
|
82
82
|
[x: number]: {
|
|
83
83
|
width: any;
|
|
84
84
|
};
|
|
85
|
+
position: string;
|
|
85
86
|
'& img': {
|
|
86
87
|
height: string;
|
|
87
88
|
width: string;
|
|
88
89
|
};
|
|
89
90
|
'& .MuiButtonBase-root': {
|
|
90
91
|
flexWrap: string;
|
|
92
|
+
width: string;
|
|
91
93
|
position: string;
|
|
92
94
|
bottom: any;
|
|
93
95
|
backgroundColor: string;
|
|
@@ -79,6 +79,7 @@ const Component = {
|
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
'& .SCPrivateMessageThreadItem-document': {
|
|
82
|
+
position: 'relative',
|
|
82
83
|
[theme.breakpoints.up('sm')]: {
|
|
83
84
|
width: theme.spacing(32.5)
|
|
84
85
|
},
|
|
@@ -88,7 +89,7 @@ const Component = {
|
|
|
88
89
|
},
|
|
89
90
|
'& .MuiButtonBase-root': {
|
|
90
91
|
flexWrap: 'wrap',
|
|
91
|
-
|
|
92
|
+
width: '100%',
|
|
92
93
|
position: 'absolute',
|
|
93
94
|
bottom: theme.spacing(4),
|
|
94
95
|
backgroundColor: 'rgba(0,0,0,0.5)',
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
badgeRoot: ({ theme }: any) => {
|
|
5
|
+
background: string;
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
padding: string;
|
|
8
|
+
height: string;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCUserLiveStreamWidget-content': {
|
|
7
|
+
'& .SCUserLiveStreamWidget-header': {
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
marginBottom: any;
|
|
12
|
+
'& .SCUserLiveStreamWidget-avatar-wrapper': {
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
alignItems: string;
|
|
15
|
+
color: string;
|
|
16
|
+
padding: number;
|
|
17
|
+
minWidth: string;
|
|
18
|
+
'& .SCUserLiveStreamWidget-avatar': {
|
|
19
|
+
width: any;
|
|
20
|
+
height: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& h4': {
|
|
24
|
+
marginLeft: number;
|
|
25
|
+
lineHeight: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'& .SCUserLiveStreamWidget-live-wrapper': {
|
|
29
|
+
paddingTop: any;
|
|
30
|
+
gap: any;
|
|
31
|
+
'& .SCUserLiveStreamWidget-live': {
|
|
32
|
+
'& > div': {
|
|
33
|
+
padding: string;
|
|
34
|
+
'& > .SCBaseItem-content': {
|
|
35
|
+
'& > .SCBaseItem-text': {
|
|
36
|
+
margin: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
'& .SCUserLiveStreamWidget-actions': {
|
|
44
|
+
padding: string;
|
|
45
|
+
justifyContent: string;
|
|
46
|
+
'& .SCSuggestedEventsWidget-actionButton': {
|
|
47
|
+
color: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
skeletonRoot: ({ theme }: {
|
|
52
|
+
theme: any;
|
|
53
|
+
}) => {
|
|
54
|
+
'& .SCUserLiveStreamWidget-content': {
|
|
55
|
+
padding: string;
|
|
56
|
+
'& .SCUserLiveStreamWidget-user': {
|
|
57
|
+
marginBottom: any;
|
|
58
|
+
'& > .SCBaseItem-content': {
|
|
59
|
+
'& > .SCBaseItem-text': {
|
|
60
|
+
margin: number;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
'& > .SCBaseItem-actions': {
|
|
64
|
+
display: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
'& .SCUserLiveStreamWidget-live-wrapper': {
|
|
68
|
+
gap: any;
|
|
69
|
+
'& .SCUserLiveStreamWidget-live': {
|
|
70
|
+
'& > div': {
|
|
71
|
+
padding: string;
|
|
72
|
+
'& > .SCBaseItem-content': {
|
|
73
|
+
'& > .SCBaseItem-text': {
|
|
74
|
+
margin: number;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
'& .SCUserLiveStreamWidget-actions': {
|
|
82
|
+
padding: string;
|
|
83
|
+
justifyContent: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
dialogRoot: ({ theme }: {
|
|
87
|
+
theme: any;
|
|
88
|
+
}) => {
|
|
89
|
+
'& .SCUserLiveStreamWidget-infinite-scroll': {
|
|
90
|
+
[x: number]: {
|
|
91
|
+
height: string;
|
|
92
|
+
};
|
|
93
|
+
height: string;
|
|
94
|
+
'& .SCEvent-root': {
|
|
95
|
+
width: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
export default Component;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCUserLiveStreamWidget-content': {
|
|
5
|
+
'& .SCUserLiveStreamWidget-header': {
|
|
6
|
+
flexDirection: 'row',
|
|
7
|
+
justifyContent: 'flex-start',
|
|
8
|
+
alignItems: 'flex-start',
|
|
9
|
+
marginBottom: theme.spacing(2),
|
|
10
|
+
'& .SCUserLiveStreamWidget-avatar-wrapper': {
|
|
11
|
+
flexDirection: 'row',
|
|
12
|
+
alignItems: 'center',
|
|
13
|
+
color: 'inherit',
|
|
14
|
+
padding: 0,
|
|
15
|
+
minWidth: 'auto',
|
|
16
|
+
'& .SCUserLiveStreamWidget-avatar': {
|
|
17
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
18
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
'& h4': {
|
|
22
|
+
marginLeft: 7,
|
|
23
|
+
lineHeight: '28px'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'& .SCUserLiveStreamWidget-live-wrapper': {
|
|
27
|
+
paddingTop: theme.spacing(2),
|
|
28
|
+
gap: theme.spacing(2),
|
|
29
|
+
'& .SCUserLiveStreamWidget-live': {
|
|
30
|
+
'& > div': {
|
|
31
|
+
padding: '0 !important',
|
|
32
|
+
'& > .SCBaseItem-content': {
|
|
33
|
+
'& > .SCBaseItem-text': {
|
|
34
|
+
margin: 0
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
'& .SCUserLiveStreamWidget-actions': {
|
|
42
|
+
padding: `0 ${theme.spacing(2)} 15px`,
|
|
43
|
+
justifyContent: 'center',
|
|
44
|
+
'& .SCSuggestedEventsWidget-actionButton': {
|
|
45
|
+
color: theme.palette.primary.main
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}),
|
|
49
|
+
skeletonRoot: ({ theme }) => ({
|
|
50
|
+
'& .SCUserLiveStreamWidget-content': {
|
|
51
|
+
padding: `10px ${theme.spacing(2)} 12px`,
|
|
52
|
+
'& .SCUserLiveStreamWidget-user': {
|
|
53
|
+
marginBottom: theme.spacing(2),
|
|
54
|
+
'& > .SCBaseItem-content': {
|
|
55
|
+
'& > .SCBaseItem-text': {
|
|
56
|
+
margin: 0
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'& > .SCBaseItem-actions': {
|
|
60
|
+
display: 'none'
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
'& .SCUserLiveStreamWidget-live-wrapper': {
|
|
64
|
+
gap: theme.spacing(2),
|
|
65
|
+
'& .SCUserLiveStreamWidget-live': {
|
|
66
|
+
'& > div': {
|
|
67
|
+
padding: '0 !important',
|
|
68
|
+
'& > .SCBaseItem-content': {
|
|
69
|
+
'& > .SCBaseItem-text': {
|
|
70
|
+
margin: 0
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
'& .SCUserLiveStreamWidget-actions': {
|
|
78
|
+
padding: `0 ${theme.spacing(2)} 15px`,
|
|
79
|
+
justifyContent: 'center'
|
|
80
|
+
}
|
|
81
|
+
}),
|
|
82
|
+
dialogRoot: ({ theme }) => ({
|
|
83
|
+
'& .SCUserLiveStreamWidget-infinite-scroll': {
|
|
84
|
+
height: '400px',
|
|
85
|
+
[theme.breakpoints.down('md')]: {
|
|
86
|
+
height: '100%'
|
|
87
|
+
},
|
|
88
|
+
'& .SCEvent-root': {
|
|
89
|
+
width: '100%'
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
})
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
export default Component;
|