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