@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
|
@@ -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;
|