@selfcommunity/react-theme-default 0.1.9-alpha.8 → 0.1.9-alpha.81

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 (76) hide show
  1. package/lib/cjs/components/SCCategoryHeader.d.ts +10 -1
  2. package/lib/cjs/components/SCCategoryHeader.js +12 -3
  3. package/lib/cjs/components/SCFeedObject.d.ts +32 -0
  4. package/lib/cjs/components/SCFeedObject.js +33 -1
  5. package/lib/cjs/components/SCGroup.d.ts +5 -0
  6. package/lib/cjs/components/SCGroup.js +6 -1
  7. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +3 -0
  8. package/lib/cjs/components/SCGroupFeedTemplate.js +4 -1
  9. package/lib/cjs/components/SCGroupHeader.d.ts +6 -5
  10. package/lib/cjs/components/SCGroupHeader.js +14 -12
  11. package/lib/cjs/components/SCGroupInviteButton.d.ts +3 -0
  12. package/lib/cjs/components/SCGroupInviteButton.js +4 -1
  13. package/lib/cjs/components/SCGroupInvitedWidget.d.ts +8 -0
  14. package/lib/cjs/components/SCGroupInvitedWidget.js +10 -0
  15. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  16. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  17. package/lib/cjs/components/SCGroupTemplate.d.ts +3 -0
  18. package/lib/cjs/components/SCGroupTemplate.js +3 -0
  19. package/lib/cjs/components/SCGroups.d.ts +28 -1
  20. package/lib/cjs/components/SCGroups.js +30 -3
  21. package/lib/cjs/components/SCNavigationToolbarMobile.js +1 -1
  22. package/lib/cjs/components/SCNotification.d.ts +1 -0
  23. package/lib/cjs/components/SCNotification.js +1 -0
  24. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +1 -0
  25. package/lib/cjs/components/SCPrivateMessageSnippets.js +1 -0
  26. package/lib/cjs/components/SCPrivateMessageThread.d.ts +11 -0
  27. package/lib/cjs/components/SCPrivateMessageThread.js +15 -4
  28. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +5 -1
  29. package/lib/cjs/components/SCPrivateMessageThreadItem.js +6 -1
  30. package/lib/cjs/components/SCUser.d.ts +5 -0
  31. package/lib/cjs/components/SCUser.js +5 -0
  32. package/lib/cjs/components/SCUserProfileHeader.d.ts +2 -2
  33. package/lib/cjs/components/SCUserProfileHeader.js +10 -10
  34. package/lib/cjs/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
  35. package/lib/cjs/components/SCUserSubscribedGroupsWidget.js +10 -0
  36. package/lib/cjs/index.d.ts +147 -10
  37. package/lib/cjs/index.js +8 -2
  38. package/lib/esm/components/SCCategoryHeader.d.ts +10 -1
  39. package/lib/esm/components/SCCategoryHeader.js +12 -3
  40. package/lib/esm/components/SCFeedObject.d.ts +32 -0
  41. package/lib/esm/components/SCFeedObject.js +33 -1
  42. package/lib/esm/components/SCGroup.d.ts +5 -0
  43. package/lib/esm/components/SCGroup.js +6 -1
  44. package/lib/esm/components/SCGroupFeedTemplate.d.ts +3 -0
  45. package/lib/esm/components/SCGroupFeedTemplate.js +4 -1
  46. package/lib/esm/components/SCGroupHeader.d.ts +6 -5
  47. package/lib/esm/components/SCGroupHeader.js +14 -12
  48. package/lib/esm/components/SCGroupInviteButton.d.ts +3 -0
  49. package/lib/esm/components/SCGroupInviteButton.js +4 -1
  50. package/lib/esm/components/SCGroupInvitedWidget.d.ts +8 -0
  51. package/lib/esm/components/SCGroupInvitedWidget.js +8 -0
  52. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  53. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  54. package/lib/esm/components/SCGroupTemplate.d.ts +3 -0
  55. package/lib/esm/components/SCGroupTemplate.js +3 -0
  56. package/lib/esm/components/SCGroups.d.ts +28 -1
  57. package/lib/esm/components/SCGroups.js +30 -3
  58. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  59. package/lib/esm/components/SCNotification.d.ts +1 -0
  60. package/lib/esm/components/SCNotification.js +1 -0
  61. package/lib/esm/components/SCPrivateMessageSnippets.d.ts +1 -0
  62. package/lib/esm/components/SCPrivateMessageSnippets.js +1 -0
  63. package/lib/esm/components/SCPrivateMessageThread.d.ts +11 -0
  64. package/lib/esm/components/SCPrivateMessageThread.js +15 -4
  65. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +5 -1
  66. package/lib/esm/components/SCPrivateMessageThreadItem.js +6 -1
  67. package/lib/esm/components/SCUser.d.ts +5 -0
  68. package/lib/esm/components/SCUser.js +5 -0
  69. package/lib/esm/components/SCUserProfileHeader.d.ts +2 -2
  70. package/lib/esm/components/SCUserProfileHeader.js +10 -10
  71. package/lib/esm/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
  72. package/lib/esm/components/SCUserSubscribedGroupsWidget.js +8 -0
  73. package/lib/esm/index.d.ts +147 -10
  74. package/lib/esm/index.js +8 -2
  75. package/lib/umd/react-theme-default.js +2 -2
  76. package/package.json +4 -4
@@ -59,6 +59,25 @@ const Component = {
59
59
  textTransform: 'initial',
60
60
  fontWeight: theme.typography.fontWeightBold
61
61
  }
62
+ },
63
+ '& .SCFeedObject-group': {
64
+ marginRight: `${theme.spacing(1)} !important`
65
+ }
66
+ },
67
+ '& .SCFeedObject-group': {
68
+ justifyContent: 'flex-start',
69
+ padding: theme.spacing(0.5),
70
+ '& a': {
71
+ padding: theme.spacing(0.5),
72
+ marginBottom: theme.spacing(0.5),
73
+ color: theme.palette.common.white,
74
+ '&:hover': {
75
+ backgroundColor: theme.palette.common.black
76
+ },
77
+ '& span': {
78
+ color: theme.palette.common.white,
79
+ textTransform: 'initial'
80
+ }
62
81
  }
63
82
  },
64
83
  '& .SCFeedObject-content': {
@@ -120,7 +139,20 @@ const Component = {
120
139
  },
121
140
  '& .SCFeedObject-category': {
122
141
  borderBottom: '1px solid rgba(221, 221, 221, 1)',
123
- margin: theme.spacing(0, 2)
142
+ margin: theme.spacing(0, 2),
143
+ '& .SCFeedObject-group': {
144
+ borderBottom: 'none',
145
+ margin: theme.spacing(0),
146
+ '& .MuiChip-icon': {
147
+ marginLeft: theme.spacing(1),
148
+ marginRight: theme.spacing(-1),
149
+ fontWeight: theme.typography.fontWeightRegular
150
+ }
151
+ }
152
+ },
153
+ '& .SCFeedObject-group': {
154
+ borderBottom: '1px solid rgba(221, 221, 221, 1)',
155
+ margin: theme.spacing(1, 2, 0, 2)
124
156
  },
125
157
  '& .SCFeedObject-header': {
126
158
  '& .MuiCardHeader-avatar': {
@@ -18,7 +18,12 @@ declare const Component: {
18
18
  };
19
19
  };
20
20
  '& .SCBaseItemButton-primary': {
21
+ display: string;
22
+ alignItems: string;
21
23
  fontWeight: any;
24
+ '& .SCGroup-icon': {
25
+ marginLeft: any;
26
+ };
22
27
  };
23
28
  '& .SCBaseItemButton-secondary': {
24
29
  fontSize: string;
@@ -18,7 +18,12 @@ const Component = {
18
18
  }
19
19
  },
20
20
  '& .SCBaseItemButton-primary': {
21
- fontWeight: theme.typography.fontWeightBold
21
+ display: 'flex',
22
+ alignItems: 'center',
23
+ fontWeight: theme.typography.fontWeightBold,
24
+ '& .SCGroup-icon': {
25
+ marginLeft: theme.spacing(0.5)
26
+ }
22
27
  },
23
28
  '& .SCBaseItemButton-secondary': {
24
29
  fontSize: '0.857rem'
@@ -2,6 +2,9 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  marginTop: number;
5
+ '& .SCGroupInfoWidget-root': {
6
+ padding: any;
7
+ };
5
8
  };
6
9
  skeletonRoot: ({ theme }: any) => {
7
10
  [x: number]: {
@@ -1,7 +1,10 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
- marginTop: 0
4
+ marginTop: 0,
5
+ '& .SCGroupInfoWidget-root': {
6
+ padding: theme.spacing(1)
7
+ }
5
8
  }),
6
9
  skeletonRoot: ({ theme }) => ({
7
10
  marginTop: 0,
@@ -4,10 +4,6 @@ declare const Component: {
4
4
  '& .SCGroupHeader-cover': {
5
5
  [x: number]: {
6
6
  borderRadius: any;
7
- margin?: undefined;
8
- } | {
9
- margin: any;
10
- borderRadius?: undefined;
11
7
  };
12
8
  position: string;
13
9
  height: number;
@@ -17,6 +13,7 @@ declare const Component: {
17
13
  boxShadow: string;
18
14
  };
19
15
  '& .SCGroupHeader-info': {
16
+ marginTop: any;
20
17
  display: string;
21
18
  flexDirection: string;
22
19
  justifyContent: string;
@@ -46,6 +43,10 @@ declare const Component: {
46
43
  '& .SCEditGroupButton-root': {
47
44
  marginLeft: string;
48
45
  marginTop: any;
46
+ marginRight: any;
47
+ };
48
+ '& .SCGroupSubscribeButton-root': {
49
+ marginTop: any;
49
50
  };
50
51
  };
51
52
  '& .SCGroupHeader-avatar': {
@@ -85,7 +86,7 @@ declare const Component: {
85
86
  position: string;
86
87
  '& .SCGroupHeader-cover': {
87
88
  [x: number]: {
88
- margin: any;
89
+ borderRadius: any;
89
90
  };
90
91
  height: number;
91
92
  };
@@ -3,19 +3,17 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  '& .SCGroupHeader-cover': {
5
5
  position: 'relative',
6
- height: 150,
6
+ height: 230,
7
7
  minHeight: 150,
8
8
  borderRadius: 0,
9
9
  background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
10
10
  boxShadow: 'unset',
11
11
  [theme.breakpoints.up('md')]: {
12
12
  borderRadius: theme.spacing(0, 0, 2.5, 2.5)
13
- },
14
- [theme.breakpoints.up('lg')]: {
15
- margin: theme.spacing(0, -5, 0, -5)
16
13
  }
17
14
  },
18
15
  '& .SCGroupHeader-info': {
16
+ marginTop: theme.spacing(6.5),
19
17
  display: 'flex',
20
18
  flexDirection: 'column',
21
19
  justifyContent: 'center',
@@ -44,11 +42,15 @@ const Component = {
44
42
  },
45
43
  '& .SCEditGroupButton-root': {
46
44
  marginLeft: 'auto',
47
- marginTop: theme.spacing(2)
45
+ marginTop: theme.spacing(-4.25),
46
+ marginRight: theme.spacing(1)
47
+ },
48
+ '& .SCGroupSubscribeButton-root': {
49
+ marginTop: theme.spacing(1)
48
50
  }
49
51
  },
50
52
  '& .SCGroupHeader-avatar': {
51
- top: 150,
53
+ top: 230,
52
54
  display: 'block',
53
55
  position: 'absolute',
54
56
  transform: 'translate(-50%, -50%)',
@@ -62,14 +64,14 @@ const Component = {
62
64
  }
63
65
  },
64
66
  '& .SCGroupHeader-change-picture': {
65
- top: 150,
67
+ top: 230,
66
68
  left: '50%',
67
69
  transform: 'translate(90%, -50%)',
68
70
  position: 'relative',
69
71
  display: 'flex'
70
72
  },
71
73
  '& .SCGroupHeader-name': {
72
- marginBottom: theme.spacing(2),
74
+ marginBottom: theme.spacing(1),
73
75
  fontWeight: theme.typography.fontWeightBold,
74
76
  fontSize: '1.429rem',
75
77
  textAlign: 'center'
@@ -83,13 +85,13 @@ const Component = {
83
85
  skeletonRoot: ({ theme }) => ({
84
86
  position: 'relative',
85
87
  '& .SCGroupHeader-cover': {
86
- [theme.breakpoints.up('lg')]: {
87
- margin: theme.spacing(0, -5, 0, -5)
88
+ [theme.breakpoints.up('md')]: {
89
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
88
90
  },
89
- height: 150
91
+ height: 230
90
92
  },
91
93
  '& .SCGroupHeader-avatar': {
92
- top: 150,
94
+ top: 230,
93
95
  display: 'block',
94
96
  position: 'absolute',
95
97
  transform: 'translate(-50%, -50%)',
@@ -34,6 +34,9 @@ declare const Component: {
34
34
  '& .SCGroupInviteButton-invited-box': {
35
35
  marginTop: any;
36
36
  marginBottom: any;
37
+ '& .MuiChip-root': {
38
+ marginBottom: any;
39
+ };
37
40
  };
38
41
  '& .SCGroupInviteButton-suggested': {
39
42
  '& h4': {
@@ -34,7 +34,10 @@ const Component = {
34
34
  },
35
35
  '& .SCGroupInviteButton-invited-box': {
36
36
  marginTop: theme.spacing(2),
37
- marginBottom: theme.spacing(3)
37
+ marginBottom: theme.spacing(3),
38
+ '& .MuiChip-root': {
39
+ marginBottom: theme.spacing(1)
40
+ }
38
41
  },
39
42
  '& .SCGroupInviteButton-suggested': {
40
43
  '& h4': {
@@ -0,0 +1,8 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ skeletonRoot: ({ theme }: any) => {};
5
+ dialogRoot: ({ theme }: any) => {};
6
+ };
7
+ };
8
+ export default Component;
@@ -0,0 +1,8 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({}),
4
+ skeletonRoot: ({ theme }) => ({}),
5
+ dialogRoot: ({ theme }) => ({})
6
+ }
7
+ };
8
+ export default Component;
@@ -0,0 +1,19 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ menuRoot: ({ theme }: any) => {
5
+ '& .SCGroupSettingsIconButton-paper': {
6
+ maxWidth: number;
7
+ padding: any;
8
+ };
9
+ };
10
+ drawerRoot: ({ theme }: any) => {
11
+ '& .MuiList-root': {
12
+ '& a': {
13
+ color: string;
14
+ };
15
+ };
16
+ };
17
+ };
18
+ };
19
+ export default Component;
@@ -0,0 +1,19 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({}),
4
+ menuRoot: ({ theme }) => ({
5
+ '& .SCGroupSettingsIconButton-paper': {
6
+ maxWidth: 400,
7
+ padding: theme.spacing(1)
8
+ }
9
+ }),
10
+ drawerRoot: ({ theme }) => ({
11
+ '& .MuiList-root': {
12
+ '& a': {
13
+ color: 'inherit'
14
+ }
15
+ }
16
+ })
17
+ }
18
+ };
19
+ export default Component;
@@ -5,6 +5,9 @@ declare const Component: {
5
5
  '& .SCCategoryTemplate-feed': {
6
6
  marginTop: any;
7
7
  };
8
+ '& .SCGroupInfoWidget-root': {
9
+ marginTop: any;
10
+ };
8
11
  };
9
12
  skeletonRoot: ({ theme }: any) => {
10
13
  [x: number]: {
@@ -4,6 +4,9 @@ const Component = {
4
4
  marginTop: 0,
5
5
  '& .SCCategoryTemplate-feed': {
6
6
  marginTop: theme.spacing(2)
7
+ },
8
+ '& .SCGroupInfoWidget-root': {
9
+ marginTop: theme.spacing(2)
7
10
  }
8
11
  }),
9
12
  skeletonRoot: ({ theme }) => ({
@@ -1,10 +1,24 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ '& .SCGroups-skeleton-root ': {
5
+ '& .MuiGrid-item': {
6
+ paddingTop: number;
7
+ };
8
+ };
9
+ '& .MuiGrid-container': {
10
+ justifyContent: string;
11
+ };
12
+ '& .SCGroups-filters': {
13
+ marginTop: any;
14
+ marginBottom: any;
15
+ };
4
16
  '& .SCGroups-groups': {
5
17
  marginTop: any;
6
18
  '& .SCGroups-item': {
7
- padding: any;
19
+ [x: number]: {
20
+ padding: any;
21
+ };
8
22
  width: string;
9
23
  '& > div': {
10
24
  cursor: string;
@@ -13,6 +27,7 @@ declare const Component: {
13
27
  };
14
28
  };
15
29
  '& .SCGroups-no-results': {
30
+ marginTop: any;
16
31
  display: string;
17
32
  flexDirection: string;
18
33
  justifyContent: string;
@@ -26,9 +41,21 @@ declare const Component: {
26
41
  fontSize: any;
27
42
  };
28
43
  };
44
+ '& .SCGroups-end-message': {
45
+ display: string;
46
+ alignItems: string;
47
+ justifyContent: string;
48
+ '& .MuiButtonBase-root': {
49
+ paddingLeft: any;
50
+ '&.Mui-selected, &:hover': {
51
+ backgroundColor: string;
52
+ };
53
+ };
54
+ };
29
55
  };
30
56
  skeletonRoot: ({ theme }: any) => {
31
57
  '& .SCGroups-groups': {
58
+ justifyContent: string;
32
59
  marginTop: any;
33
60
  '& .SCGroup-skeleton-root': {
34
61
  padding: any;
@@ -1,10 +1,24 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
+ '& .SCGroups-skeleton-root ': {
5
+ '& .MuiGrid-item': {
6
+ paddingTop: 0
7
+ }
8
+ },
9
+ '& .MuiGrid-container': {
10
+ justifyContent: 'center'
11
+ },
12
+ '& .SCGroups-filters': {
13
+ marginTop: theme.spacing(),
14
+ marginBottom: theme.spacing(2)
15
+ },
4
16
  '& .SCGroups-groups': {
5
- marginTop: theme.spacing(3),
17
+ marginTop: theme.spacing(2),
6
18
  '& .SCGroups-item': {
7
- padding: theme.spacing(2),
19
+ [theme.breakpoints.up('md')]: {
20
+ padding: theme.spacing(2)
21
+ },
8
22
  width: 'auto',
9
23
  '& > div': {
10
24
  cursor: 'default',
@@ -13,6 +27,7 @@ const Component = {
13
27
  }
14
28
  },
15
29
  '& .SCGroups-no-results': {
30
+ marginTop: theme.spacing(3),
16
31
  display: 'flex',
17
32
  flexDirection: 'column',
18
33
  justifyContent: 'center',
@@ -25,13 +40,25 @@ const Component = {
25
40
  fontWeight: theme.typography.fontWeightMedium,
26
41
  fontSize: theme.typography.body1.fontSize
27
42
  }
43
+ },
44
+ '& .SCGroups-end-message': {
45
+ display: 'flex',
46
+ alignItems: 'center',
47
+ justifyContent: 'center',
48
+ '& .MuiButtonBase-root': {
49
+ paddingLeft: theme.spacing(1),
50
+ '&.Mui-selected, &:hover': {
51
+ backgroundColor: 'transparent'
52
+ }
53
+ }
28
54
  }
29
55
  }),
30
56
  skeletonRoot: ({ theme }) => ({
31
57
  '& .SCGroups-groups': {
58
+ justifyContent: 'center',
32
59
  marginTop: theme.spacing(3),
33
60
  '& .SCGroup-skeleton-root': {
34
- padding: theme.spacing(1.5),
61
+ padding: theme.spacing(1),
35
62
  width: 'auto'
36
63
  }
37
64
  }
@@ -3,7 +3,7 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  padding: theme.spacing(0, 1, 0, 1),
5
5
  '& .SCNavigationToolbarMobile-logo': {
6
- margin: theme.spacing(0.5, 2, 0.5, 2),
6
+ margin: theme.spacing(0.5, 2, 0.5, 0.5),
7
7
  flexGrow: 1,
8
8
  '& img': {
9
9
  verticalAlign: 'middle',
@@ -278,6 +278,7 @@ declare const Component: {
278
278
  maxWidth: string;
279
279
  };
280
280
  };
281
+ groupRoot: ({ theme }: any) => {};
281
282
  undeletedForRoot: ({ theme }: any) => {
282
283
  '& .SCNotification-undeleted-icon': {
283
284
  backgroundColor: "#f44336";
@@ -280,6 +280,7 @@ const Component = {
280
280
  maxWidth: '40%'
281
281
  }
282
282
  }),
283
+ groupRoot: ({ theme }) => ({}),
283
284
  undeletedForRoot: ({ theme }) => ({
284
285
  '& .SCNotification-undeleted-icon': {
285
286
  backgroundColor: red[500],
@@ -3,6 +3,7 @@ declare const Component: {
3
3
  root: ({ theme }: any) => {
4
4
  height: string;
5
5
  width: string;
6
+ borderRadius: number;
6
7
  '& .MuiCardContent-root': {
7
8
  display: string;
8
9
  flexDirection: string;
@@ -3,6 +3,7 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  height: '100%',
5
5
  width: '100%',
6
+ borderRadius: 0,
6
7
  '& .MuiCardContent-root': {
7
8
  display: 'flex',
8
9
  flexDirection: 'column',
@@ -69,6 +69,17 @@ declare const Component: {
69
69
  };
70
70
  };
71
71
  };
72
+ '& .SCPrivateMessageThread-item': {
73
+ display: string;
74
+ marginBottom: any;
75
+ '& .SCPrivateMessageThread-avatar': {
76
+ marginRight: any;
77
+ '& img': {
78
+ height: any;
79
+ width: any;
80
+ };
81
+ };
82
+ };
72
83
  };
73
84
  '& .SCPrivateMessageThread-empty-message': {
74
85
  height: string;
@@ -4,7 +4,7 @@ const Component = {
4
4
  root: ({ theme }) => ({
5
5
  height: '100%',
6
6
  width: '100%',
7
- backgroundColor: alpha(theme.palette.common.white, theme.palette.action.selectedOpacity),
7
+ backgroundColor: alpha(theme.palette.common.white, 0.5),
8
8
  borderRadius: 0,
9
9
  '& .MuiCardContent-root': {
10
10
  display: 'flex',
@@ -48,7 +48,7 @@ const Component = {
48
48
  position: 'absolute',
49
49
  border: `${theme.spacing(3)} solid transparent`,
50
50
  borderTop: `${theme.spacing(3)} solid ${theme.palette.common.white}`,
51
- top: theme.spacing(1),
51
+ top: theme.spacing(0),
52
52
  left: theme.spacing(-2)
53
53
  }
54
54
  },
@@ -62,13 +62,24 @@ const Component = {
62
62
  position: 'absolute',
63
63
  border: `${theme.spacing(3)} solid transparent`,
64
64
  borderTop: `${theme.spacing(3)} solid ${theme.palette.grey[300]}`,
65
- top: theme.spacing(1),
65
+ top: theme.spacing(0),
66
66
  right: theme.spacing(-2)
67
67
  }
68
68
  }
69
69
  }
70
70
  }
71
71
  }
72
+ },
73
+ '& .SCPrivateMessageThread-item': {
74
+ display: 'flex',
75
+ marginBottom: theme.spacing(1),
76
+ '& .SCPrivateMessageThread-avatar': {
77
+ marginRight: theme.spacing(6),
78
+ '& img': {
79
+ height: theme.selfcommunity.group.avatar.sizeMedium,
80
+ width: theme.selfcommunity.group.avatar.sizeMedium
81
+ }
82
+ }
72
83
  }
73
84
  },
74
85
  '& .SCPrivateMessageThread-empty-message': {
@@ -84,7 +95,7 @@ const Component = {
84
95
  height: theme.mixins.toolbar.minHeight,
85
96
  alignItems: 'center',
86
97
  justifyContent: 'center',
87
- backgroundColor: alpha(theme.palette.secondary.main, theme.palette.action.activatedOpacity),
98
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
88
99
  '& .SCPrivateMessageThread-new-message-header-content': {
89
100
  display: 'flex',
90
101
  alignItems: 'center',
@@ -1,6 +1,7 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ flexDirection: string;
4
5
  borderRadius: any;
5
6
  padding: any;
6
7
  boxShadow: string;
@@ -19,6 +20,10 @@ declare const Component: {
19
20
  right: any;
20
21
  padding: any;
21
22
  };
23
+ '& .SCPrivateMessageThreadItem-username': {
24
+ marginRight: string;
25
+ marginBottom: any;
26
+ };
22
27
  '& .SCPrivateMessageThreadItem-text': {
23
28
  display: string;
24
29
  alignItems: string;
@@ -83,7 +88,6 @@ declare const Component: {
83
88
  };
84
89
  '& .MuiButtonBase-root': {
85
90
  flexWrap: string;
86
- width: string;
87
91
  position: string;
88
92
  bottom: any;
89
93
  backgroundColor: string;
@@ -1,6 +1,7 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
+ flexDirection: 'column',
4
5
  borderRadius: theme.shape.borderRadius,
5
6
  padding: theme.spacing(2, 4, 4, 2),
6
7
  boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
@@ -19,6 +20,10 @@ const Component = {
19
20
  right: theme.spacing(3),
20
21
  padding: theme.spacing(0.5, 0, 0.5, 0)
21
22
  },
23
+ '& .SCPrivateMessageThreadItem-username': {
24
+ marginRight: 'auto',
25
+ marginBottom: theme.spacing(1)
26
+ },
22
27
  '& .SCPrivateMessageThreadItem-text': {
23
28
  display: 'flex',
24
29
  alignItems: 'center',
@@ -83,7 +88,7 @@ const Component = {
83
88
  },
84
89
  '& .MuiButtonBase-root': {
85
90
  flexWrap: 'wrap',
86
- width: 'calc(100% - 24px)',
91
+ //width: 'calc(100% - 24px)',
87
92
  position: 'absolute',
88
93
  bottom: theme.spacing(4),
89
94
  backgroundColor: 'rgba(0,0,0,0.5)',
@@ -22,6 +22,11 @@ declare const Component: {
22
22
  borderRadius: number;
23
23
  fontSize: string;
24
24
  };
25
+ '& .SCUser-group-admin-badge-label': {
26
+ marginLeft: any;
27
+ fontSize: string;
28
+ color: any;
29
+ };
25
30
  '& .SCBaseItemButton-primary': {
26
31
  fontWeight: any;
27
32
  };
@@ -22,6 +22,11 @@ const Component = {
22
22
  borderRadius: 0,
23
23
  fontSize: '0.5rem'
24
24
  },
25
+ '& .SCUser-group-admin-badge-label': {
26
+ marginLeft: theme.spacing(1),
27
+ fontSize: '0.75rem',
28
+ color: theme.palette.secondary.main
29
+ },
25
30
  '& .SCBaseItemButton-primary': {
26
31
  fontWeight: theme.typography.fontWeightBold
27
32
  },
@@ -3,7 +3,7 @@ declare const Component: {
3
3
  root: ({ theme }: any) => {
4
4
  '& .SCUserProfileHeader-cover': {
5
5
  [x: number]: {
6
- margin: any;
6
+ borderRadius: any;
7
7
  };
8
8
  position: string;
9
9
  height: number;
@@ -71,7 +71,7 @@ declare const Component: {
71
71
  position: string;
72
72
  '& .SCUserProfileHeader-cover': {
73
73
  [x: number]: {
74
- margin: any;
74
+ borderRadius: any;
75
75
  };
76
76
  height: number;
77
77
  };