@selfcommunity/react-theme-default 0.4.5-alpha.1 → 0.4.5-alpha.10

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.
Files changed (78) hide show
  1. package/lib/cjs/components/SCComposer.d.ts +36 -8
  2. package/lib/cjs/components/SCComposer.js +37 -9
  3. package/lib/cjs/components/SCCreateLiveStreamButton.d.ts +12 -0
  4. package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
  5. package/lib/cjs/components/SCEventInfoDetails.d.ts +3 -0
  6. package/lib/cjs/components/SCEventInfoDetails.js +3 -0
  7. package/lib/cjs/components/SCFeedObject.d.ts +3 -3
  8. package/lib/cjs/components/SCFeedObject.js +5 -5
  9. package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
  10. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +12 -1
  11. package/lib/cjs/components/SCLiveStream.d.ts +218 -0
  12. package/lib/cjs/components/SCLiveStream.js +220 -0
  13. package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
  14. package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
  15. package/lib/cjs/components/SCLiveStreamForm.d.ts +27 -0
  16. package/lib/cjs/components/SCLiveStreamForm.js +29 -0
  17. package/lib/cjs/components/SCLiveStreamFormSettings.d.ts +15 -0
  18. package/lib/cjs/components/SCLiveStreamFormSettings.js +17 -0
  19. package/lib/cjs/components/SCLiveStreamInfoDetails.d.ts +43 -0
  20. package/lib/cjs/components/SCLiveStreamInfoDetails.js +43 -0
  21. package/lib/cjs/components/SCLiveStreamRoom.d.ts +113 -0
  22. package/lib/cjs/components/SCLiveStreamRoom.js +115 -0
  23. package/lib/cjs/components/SCLiveStreamSelector.d.ts +71 -0
  24. package/lib/cjs/components/SCLiveStreamSelector.js +75 -0
  25. package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +29 -0
  26. package/lib/cjs/components/SCLiveStreamVideoConference.js +31 -0
  27. package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +4 -0
  28. package/lib/cjs/components/SCNavigationMenuDrawer.js +4 -0
  29. package/lib/cjs/components/SCNotification.d.ts +27 -0
  30. package/lib/cjs/components/SCNotification.js +27 -0
  31. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
  32. package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
  33. package/lib/cjs/components/SCUpScalingTierBadge.d.ts +13 -0
  34. package/lib/cjs/components/SCUpScalingTierBadge.js +15 -0
  35. package/lib/cjs/components/SCUserLiveStreamWidget.d.ts +101 -0
  36. package/lib/cjs/components/SCUserLiveStreamWidget.js +97 -0
  37. package/lib/cjs/index.d.ts +828 -106
  38. package/lib/cjs/index.js +23 -1
  39. package/lib/esm/components/SCComposer.d.ts +36 -8
  40. package/lib/esm/components/SCComposer.js +37 -9
  41. package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
  42. package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
  43. package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
  44. package/lib/esm/components/SCEventInfoDetails.js +3 -0
  45. package/lib/esm/components/SCFeedObject.d.ts +3 -3
  46. package/lib/esm/components/SCFeedObject.js +5 -5
  47. package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
  48. package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
  49. package/lib/esm/components/SCLiveStream.d.ts +218 -0
  50. package/lib/esm/components/SCLiveStream.js +218 -0
  51. package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
  52. package/lib/esm/components/SCLiveStreamDialog.js +16 -0
  53. package/lib/esm/components/SCLiveStreamForm.d.ts +27 -0
  54. package/lib/esm/components/SCLiveStreamForm.js +27 -0
  55. package/lib/esm/components/SCLiveStreamFormSettings.d.ts +15 -0
  56. package/lib/esm/components/SCLiveStreamFormSettings.js +15 -0
  57. package/lib/esm/components/SCLiveStreamInfoDetails.d.ts +43 -0
  58. package/lib/esm/components/SCLiveStreamInfoDetails.js +41 -0
  59. package/lib/esm/components/SCLiveStreamRoom.d.ts +113 -0
  60. package/lib/esm/components/SCLiveStreamRoom.js +113 -0
  61. package/lib/esm/components/SCLiveStreamSelector.d.ts +71 -0
  62. package/lib/esm/components/SCLiveStreamSelector.js +73 -0
  63. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +29 -0
  64. package/lib/esm/components/SCLiveStreamVideoConference.js +29 -0
  65. package/lib/esm/components/SCNavigationMenuDrawer.d.ts +4 -0
  66. package/lib/esm/components/SCNavigationMenuDrawer.js +4 -0
  67. package/lib/esm/components/SCNotification.d.ts +27 -0
  68. package/lib/esm/components/SCNotification.js +27 -0
  69. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
  70. package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
  71. package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
  72. package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
  73. package/lib/esm/components/SCUserLiveStreamWidget.d.ts +101 -0
  74. package/lib/esm/components/SCUserLiveStreamWidget.js +95 -0
  75. package/lib/esm/index.d.ts +828 -106
  76. package/lib/esm/index.js +23 -1
  77. package/lib/umd/react-theme-default.js +1 -19
  78. package/package.json +123 -117
@@ -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;
@@ -0,0 +1,43 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ gap: any;
7
+ '& .SCLiveStreamInfoDetails-icon-text-wrapper': {
8
+ flexDirection: string;
9
+ alignItems: string;
10
+ gap: any;
11
+ '& > p': {
12
+ textTransform: string;
13
+ };
14
+ '& .SCLiveStreamInfoDetails-link': {
15
+ textDecoration: string;
16
+ color: any;
17
+ '&:hover': {
18
+ textDecoration: string;
19
+ };
20
+ '& .SCLiveStreamInfoDetails-url': {
21
+ overflow: string;
22
+ textOverflow: string;
23
+ display: string;
24
+ '-webkit-line-clamp': string;
25
+ '-webkit-box-orient': string;
26
+ };
27
+ };
28
+ '& .SCLiveStreamInfoDetails-in-progress': {
29
+ width: string;
30
+ height: string;
31
+ borderRadius: string;
32
+ backgroundColor: any;
33
+ };
34
+ };
35
+ '& .SCLiveStreamInfoDetails-creation-wrapper': {
36
+ flexDirection: string;
37
+ alignItems: string;
38
+ gap: any;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export default Component;
@@ -0,0 +1,41 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ gap: theme.spacing(0.5),
5
+ '& .SCLiveStreamInfoDetails-icon-text-wrapper': {
6
+ flexDirection: 'row',
7
+ alignItems: 'center',
8
+ gap: theme.spacing(0.75),
9
+ '& > p': {
10
+ textTransform: 'capitalize'
11
+ },
12
+ '& .SCLiveStreamInfoDetails-link': {
13
+ textDecoration: 'none',
14
+ color: theme.palette.text.primary,
15
+ '&:hover': {
16
+ textDecoration: 'underlined'
17
+ },
18
+ '& .SCLiveStreamInfoDetails-url': {
19
+ overflow: 'hidden',
20
+ textOverflow: 'ellipsis',
21
+ display: '-webkit-box',
22
+ '-webkit-line-clamp': '1',
23
+ '-webkit-box-orient': 'vertical'
24
+ }
25
+ },
26
+ '& .SCLiveStreamInfoDetails-in-progress': {
27
+ width: '6px',
28
+ height: '6px',
29
+ borderRadius: '9999px',
30
+ backgroundColor: theme.palette.secondary.main
31
+ }
32
+ },
33
+ '& .SCLiveStreamInfoDetails-creation-wrapper': {
34
+ flexDirection: 'row',
35
+ alignItems: 'center',
36
+ gap: theme.spacing(1)
37
+ }
38
+ })
39
+ }
40
+ };
41
+ export default Component;
@@ -0,0 +1,113 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ width: string;
5
+ display: string;
6
+ justifyContent: string;
7
+ alignContent: string;
8
+ "& .SCLiveStreamRoom-title": {
9
+ margin: any;
10
+ textAlign: string;
11
+ color: any;
12
+ };
13
+ "& .SCLiveStreamRoom-description": {
14
+ backgroundColor: any;
15
+ color: any;
16
+ border: string;
17
+ borderRadius: string;
18
+ marginTop: any;
19
+ marginBottom: any;
20
+ padding: any;
21
+ };
22
+ "& .SCLiveStreamRoom-content": {
23
+ width: string;
24
+ };
25
+ "& .SCLiveStreamRoom-prejoin": {
26
+ margin: any;
27
+ padding: any;
28
+ display: string;
29
+ placeItems: string;
30
+ height: string;
31
+ position: string;
32
+ '& .lk-form-control': {
33
+ display: string;
34
+ };
35
+ };
36
+ "& .SCLiveStreamRoom-prejoin-loading": {
37
+ '& .lk-prejoin': {
38
+ opacity: number;
39
+ };
40
+ };
41
+ "& .SCLiveStreamRoom-prejoin-alert": {
42
+ backgroundColor: any;
43
+ color: any;
44
+ border: string;
45
+ borderRadius: string;
46
+ };
47
+ "& .SCLiveStreamRoom-share-link": {
48
+ marginTop: any;
49
+ backgroundColor: any;
50
+ '& textarea': {
51
+ color: any;
52
+ '-webkit-text-fill-color': any;
53
+ };
54
+ };
55
+ "& .SCLiveStreamRoom-conference": {
56
+ width: string;
57
+ display: string;
58
+ justifyContent: string;
59
+ alignItems: string;
60
+ backgroundColor: string;
61
+ };
62
+ "& .SCLiveStreamRoom-prejoin-loader": {
63
+ maxWidth: number;
64
+ width: string;
65
+ position: string;
66
+ textAlign: string;
67
+ '& .MuiTypography-root': {
68
+ color: string;
69
+ };
70
+ };
71
+ "& .SCLiveStreamRoom-end-prejoin-content": {
72
+ color: any;
73
+ display: string;
74
+ justifyContent: string;
75
+ alignItems: string;
76
+ marginTop: any;
77
+ paddingBottom: any;
78
+ "& .SCLiveStreamRoom-end-prejoin-content-box": {
79
+ [x: number]: {
80
+ width: string;
81
+ };
82
+ width: string;
83
+ };
84
+ };
85
+ '& .lk-prejoin': {
86
+ maxWidth: number;
87
+ width: string;
88
+ backgroundColor: string;
89
+ borderRadius: any;
90
+ };
91
+ '& .lk-join-button': {
92
+ backgroundColor: any;
93
+ color: any;
94
+ '&:hover': {
95
+ backgroundColor: any;
96
+ };
97
+ };
98
+ };
99
+ dialogRoot: ({ theme }: any) => {
100
+ "& .SCLiveStreamRoom-end-conference-wrap": {
101
+ display: string;
102
+ justifyContent: string;
103
+ alignItems: string;
104
+ alignContent: string;
105
+ flexDirection: string;
106
+ "& .SCLiveStreamVideoConference-btn-back-home": {
107
+ marginTop: any;
108
+ };
109
+ };
110
+ };
111
+ };
112
+ };
113
+ export default Component;
@@ -0,0 +1,113 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ width: '100%',
5
+ display: 'flex',
6
+ justifyContent: 'center',
7
+ alignContent: 'center',
8
+ [`& .SCLiveStreamRoom-title`]: {
9
+ margin: theme.spacing(2),
10
+ textAlign: 'center',
11
+ color: theme.palette.text.primary
12
+ },
13
+ [`& .SCLiveStreamRoom-description`]: {
14
+ backgroundColor: theme.palette.background.paper,
15
+ color: theme.palette.text.primary,
16
+ border: '1px solid #555555',
17
+ borderRadius: '5px',
18
+ marginTop: theme.spacing(2),
19
+ marginBottom: theme.spacing(2),
20
+ padding: theme.spacing(0, 2)
21
+ },
22
+ [`& .SCLiveStreamRoom-content`]: {
23
+ width: '100%'
24
+ },
25
+ [`& .SCLiveStreamRoom-prejoin`]: {
26
+ margin: theme.spacing(),
27
+ padding: theme.spacing(),
28
+ display: 'grid',
29
+ placeItems: 'center',
30
+ height: 'auto',
31
+ position: 'relative',
32
+ '& .lk-form-control': {
33
+ display: 'none'
34
+ }
35
+ },
36
+ [`& .SCLiveStreamRoom-prejoin-loading`]: {
37
+ '& .lk-prejoin': {
38
+ opacity: 0.5
39
+ }
40
+ },
41
+ [`& .SCLiveStreamRoom-prejoin-alert`]: {
42
+ backgroundColor: theme.palette.background.paper,
43
+ color: theme.palette.text.primary,
44
+ border: '1px solid #555555',
45
+ borderRadius: '5px'
46
+ },
47
+ [`& .SCLiveStreamRoom-share-link`]: {
48
+ marginTop: theme.spacing(3),
49
+ backgroundColor: theme.palette.background.paper,
50
+ '& textarea': {
51
+ color: theme.palette.text.primary,
52
+ '-webkit-text-fill-color': theme.palette.text.primary
53
+ }
54
+ },
55
+ [`& .SCLiveStreamRoom-conference`]: {
56
+ width: '100%',
57
+ display: 'flex',
58
+ justifyContent: 'center',
59
+ alignItems: 'center',
60
+ backgroundColor: '#111111'
61
+ },
62
+ [`& .SCLiveStreamRoom-prejoin-loader`]: {
63
+ maxWidth: 620,
64
+ width: '100%',
65
+ position: 'absolute',
66
+ textAlign: 'center',
67
+ '& .MuiTypography-root': {
68
+ color: '#111111'
69
+ }
70
+ },
71
+ [`& .SCLiveStreamRoom-end-prejoin-content`]: {
72
+ color: theme.palette.common.black,
73
+ display: 'flex',
74
+ justifyContent: 'center',
75
+ alignItems: 'center',
76
+ marginTop: theme.spacing(2),
77
+ paddingBottom: theme.spacing(3),
78
+ [`& .SCLiveStreamRoom-end-prejoin-content-box`]: {
79
+ width: '47%',
80
+ [theme.breakpoints.down('md')]: {
81
+ width: '90%'
82
+ }
83
+ }
84
+ },
85
+ '& .lk-prejoin': {
86
+ maxWidth: 620,
87
+ width: '100%',
88
+ backgroundColor: '#111111',
89
+ borderRadius: theme.shape.borderRadiusSm
90
+ },
91
+ '& .lk-join-button': {
92
+ backgroundColor: theme.palette.primary.main,
93
+ color: theme.palette.common.white,
94
+ '&:hover': {
95
+ backgroundColor: theme.palette.primary.dark
96
+ }
97
+ }
98
+ }),
99
+ dialogRoot: ({ theme }) => ({
100
+ [`& .SCLiveStreamRoom-end-conference-wrap`]: {
101
+ display: 'flex',
102
+ justifyContent: 'center',
103
+ alignItems: 'center',
104
+ alignContent: 'center',
105
+ flexDirection: 'column',
106
+ [`& .SCLiveStreamVideoConference-btn-back-home`]: {
107
+ marginTop: theme.spacing(2)
108
+ }
109
+ }
110
+ })
111
+ }
112
+ };
113
+ export default Component;