@selfcommunity/react-theme-default 0.1.9-alpha.7 → 0.1.9-alpha.70

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 (93) 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/SCGroupHeader.d.ts +5 -5
  8. package/lib/cjs/components/SCGroupHeader.js +13 -12
  9. package/lib/cjs/components/SCGroupInviteButton.d.ts +3 -0
  10. package/lib/cjs/components/SCGroupInviteButton.js +4 -1
  11. package/lib/cjs/components/SCGroupInvitedWidget.d.ts +8 -0
  12. package/lib/cjs/components/SCGroupInvitedWidget.js +10 -0
  13. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  14. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  15. package/lib/cjs/components/SCGroupTemplate.d.ts +3 -0
  16. package/lib/cjs/components/SCGroupTemplate.js +3 -0
  17. package/lib/cjs/components/SCGroups.d.ts +27 -1
  18. package/lib/cjs/components/SCGroups.js +29 -3
  19. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  20. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  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 -0
  29. package/lib/cjs/components/SCPrivateMessageThreadItem.js +5 -0
  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 +8 -8
  34. package/lib/cjs/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
  35. package/lib/cjs/components/SCUserSubscribedGroupsWidget.js +10 -0
  36. package/lib/cjs/fonts/community/icons.eot +0 -0
  37. package/lib/cjs/fonts/community/icons.svg +5 -1
  38. package/lib/cjs/fonts/community/icons.ttf +0 -0
  39. package/lib/cjs/fonts/community/icons.woff +0 -0
  40. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  41. package/lib/cjs/fonts/community-icons.css +13 -7
  42. package/lib/cjs/index.d.ts +143 -10
  43. package/lib/cjs/index.js +8 -2
  44. package/lib/esm/components/SCCategoryHeader.d.ts +10 -1
  45. package/lib/esm/components/SCCategoryHeader.js +12 -3
  46. package/lib/esm/components/SCFeedObject.d.ts +32 -0
  47. package/lib/esm/components/SCFeedObject.js +33 -1
  48. package/lib/esm/components/SCGroup.d.ts +5 -0
  49. package/lib/esm/components/SCGroup.js +6 -1
  50. package/lib/esm/components/SCGroupHeader.d.ts +5 -5
  51. package/lib/esm/components/SCGroupHeader.js +13 -12
  52. package/lib/esm/components/SCGroupInviteButton.d.ts +3 -0
  53. package/lib/esm/components/SCGroupInviteButton.js +4 -1
  54. package/lib/esm/components/SCGroupInvitedWidget.d.ts +8 -0
  55. package/lib/esm/components/SCGroupInvitedWidget.js +8 -0
  56. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  57. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  58. package/lib/esm/components/SCGroupTemplate.d.ts +3 -0
  59. package/lib/esm/components/SCGroupTemplate.js +3 -0
  60. package/lib/esm/components/SCGroups.d.ts +27 -1
  61. package/lib/esm/components/SCGroups.js +29 -3
  62. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  63. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  64. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  65. package/lib/esm/components/SCNotification.d.ts +1 -0
  66. package/lib/esm/components/SCNotification.js +1 -0
  67. package/lib/esm/components/SCPrivateMessageSnippets.d.ts +1 -0
  68. package/lib/esm/components/SCPrivateMessageSnippets.js +1 -0
  69. package/lib/esm/components/SCPrivateMessageThread.d.ts +11 -0
  70. package/lib/esm/components/SCPrivateMessageThread.js +15 -4
  71. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +5 -0
  72. package/lib/esm/components/SCPrivateMessageThreadItem.js +5 -0
  73. package/lib/esm/components/SCUser.d.ts +5 -0
  74. package/lib/esm/components/SCUser.js +5 -0
  75. package/lib/esm/components/SCUserProfileHeader.d.ts +2 -2
  76. package/lib/esm/components/SCUserProfileHeader.js +8 -8
  77. package/lib/esm/components/SCUserSubscribedGroupsWidget.d.ts +8 -0
  78. package/lib/esm/components/SCUserSubscribedGroupsWidget.js +8 -0
  79. package/lib/esm/fonts/community/icons.eot +0 -0
  80. package/lib/esm/fonts/community/icons.svg +5 -1
  81. package/lib/esm/fonts/community/icons.ttf +0 -0
  82. package/lib/esm/fonts/community/icons.woff +0 -0
  83. package/lib/esm/fonts/community/icons.woff2 +0 -0
  84. package/lib/esm/fonts/community-icons.css +13 -7
  85. package/lib/esm/index.d.ts +143 -10
  86. package/lib/esm/index.js +8 -2
  87. package/lib/umd/community/icons.eot +0 -0
  88. package/lib/umd/community/icons.svg +5 -1
  89. package/lib/umd/community/icons.ttf +0 -0
  90. package/lib/umd/community/icons.woff +0 -0
  91. package/lib/umd/community/icons.woff2 +0 -0
  92. package/lib/umd/react-theme-default.js +2 -2
  93. package/package.json +4 -4
@@ -14,8 +14,11 @@ const Component = {
14
14
  minHeight: 150,
15
15
  color: '#FFF',
16
16
  background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
17
- height: 150,
18
- borderRadius: 0
17
+ height: 230,
18
+ borderRadius: 0,
19
+ [theme.breakpoints.up('md')]: {
20
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
21
+ }
19
22
  },
20
23
  '& .SCCategoryHeader-info': {
21
24
  paddingLeft: theme.spacing(2),
@@ -54,7 +57,13 @@ const Component = {
54
57
  }
55
58
  }
56
59
  }),
57
- skeletonRoot: ({ theme }) => ({})
60
+ skeletonRoot: ({ theme }) => ({
61
+ '& .SCCategoryHeader-skeleton-cover': {
62
+ [theme.breakpoints.up('md')]: {
63
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
64
+ }
65
+ }
66
+ })
58
67
  }
59
68
  };
60
69
  export default Component;
@@ -59,6 +59,25 @@ declare const Component: {
59
59
  fontWeight: any;
60
60
  };
61
61
  };
62
+ '& .SCFeedObject-group': {
63
+ marginRight: string;
64
+ };
65
+ };
66
+ '& .SCFeedObject-group': {
67
+ justifyContent: string;
68
+ padding: any;
69
+ '& a': {
70
+ padding: any;
71
+ marginBottom: any;
72
+ color: any;
73
+ '&:hover': {
74
+ backgroundColor: any;
75
+ };
76
+ '& span': {
77
+ color: any;
78
+ textTransform: string;
79
+ };
80
+ };
62
81
  };
63
82
  '& .SCFeedObject-content': {
64
83
  padding: any;
@@ -120,6 +139,19 @@ declare const Component: {
120
139
  '& .SCFeedObject-category': {
121
140
  borderBottom: string;
122
141
  margin: any;
142
+ '& .SCFeedObject-group': {
143
+ borderBottom: string;
144
+ margin: any;
145
+ '& .MuiChip-icon': {
146
+ marginLeft: any;
147
+ marginRight: any;
148
+ fontWeight: any;
149
+ };
150
+ };
151
+ };
152
+ '& .SCFeedObject-group': {
153
+ borderBottom: string;
154
+ margin: any;
123
155
  };
124
156
  '& .SCFeedObject-header': {
125
157
  '& .MuiCardHeader-avatar': {
@@ -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'
@@ -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;
@@ -47,6 +44,9 @@ declare const Component: {
47
44
  marginLeft: string;
48
45
  marginTop: any;
49
46
  };
47
+ '& .SCGroupSubscribeButton-root': {
48
+ marginTop: any;
49
+ };
50
50
  };
51
51
  '& .SCGroupHeader-avatar': {
52
52
  top: number;
@@ -85,7 +85,7 @@ declare const Component: {
85
85
  position: string;
86
86
  '& .SCGroupHeader-cover': {
87
87
  [x: number]: {
88
- margin: any;
88
+ borderRadius: any;
89
89
  };
90
90
  height: number;
91
91
  };
@@ -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,14 @@ const Component = {
44
42
  },
45
43
  '& .SCEditGroupButton-root': {
46
44
  marginLeft: 'auto',
47
- marginTop: theme.spacing(2)
45
+ marginTop: theme.spacing(-4.25)
46
+ },
47
+ '& .SCGroupSubscribeButton-root': {
48
+ marginTop: theme.spacing(1)
48
49
  }
49
50
  },
50
51
  '& .SCGroupHeader-avatar': {
51
- top: 150,
52
+ top: 230,
52
53
  display: 'block',
53
54
  position: 'absolute',
54
55
  transform: 'translate(-50%, -50%)',
@@ -62,14 +63,14 @@ const Component = {
62
63
  }
63
64
  },
64
65
  '& .SCGroupHeader-change-picture': {
65
- top: 150,
66
+ top: 230,
66
67
  left: '50%',
67
68
  transform: 'translate(90%, -50%)',
68
69
  position: 'relative',
69
70
  display: 'flex'
70
71
  },
71
72
  '& .SCGroupHeader-name': {
72
- marginBottom: theme.spacing(2),
73
+ marginBottom: theme.spacing(1),
73
74
  fontWeight: theme.typography.fontWeightBold,
74
75
  fontSize: '1.429rem',
75
76
  textAlign: 'center'
@@ -83,13 +84,13 @@ const Component = {
83
84
  skeletonRoot: ({ theme }) => ({
84
85
  position: 'relative',
85
86
  '& .SCGroupHeader-cover': {
86
- [theme.breakpoints.up('lg')]: {
87
- margin: theme.spacing(0, -5, 0, -5)
87
+ [theme.breakpoints.up('md')]: {
88
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
88
89
  },
89
- height: 150
90
+ height: 230
90
91
  },
91
92
  '& .SCGroupHeader-avatar': {
92
- top: 150,
93
+ top: 230,
93
94
  display: 'block',
94
95
  position: 'absolute',
95
96
  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,6 +41,17 @@ 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': {
@@ -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,24 @@ 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': {
32
58
  marginTop: theme.spacing(3),
33
59
  '& .SCGroup-skeleton-root': {
34
- padding: theme.spacing(1.5),
60
+ padding: theme.spacing(1),
35
61
  width: 'auto'
36
62
  }
37
63
  }
@@ -17,7 +17,7 @@ declare const Component: {
17
17
  marginRight: any;
18
18
  '& img': {
19
19
  verticalAlign: string;
20
- maxHeight: any;
20
+ maxHeight: number;
21
21
  };
22
22
  };
23
23
  '& .SCNavigationToolbar-navigation': {
@@ -6,7 +6,7 @@ const Component = {
6
6
  marginRight: theme.spacing(2),
7
7
  '& img': {
8
8
  verticalAlign: 'middle',
9
- maxHeight: theme.mixins.toolbar.minHeight
9
+ maxHeight: theme.mixins.toolbar.minHeight - 10
10
10
  }
11
11
  },
12
12
  '& .SCNavigationToolbar-navigation': {
@@ -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;
@@ -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',