@selfcommunity/react-theme-default 0.1.9-alpha.5 → 0.1.9-alpha.51

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 (85) 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 +9 -20
  8. package/lib/cjs/components/SCGroupHeader.js +14 -24
  9. package/lib/cjs/components/SCGroupInvitedWidget.d.ts +8 -0
  10. package/lib/cjs/components/SCGroupInvitedWidget.js +10 -0
  11. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  12. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  13. package/lib/cjs/components/SCGroupTemplate.d.ts +3 -0
  14. package/lib/cjs/components/SCGroupTemplate.js +3 -0
  15. package/lib/cjs/components/SCGroups.d.ts +36 -1
  16. package/lib/cjs/components/SCGroups.js +37 -2
  17. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  18. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  19. package/lib/cjs/components/SCNavigationToolbarMobile.js +1 -1
  20. package/lib/cjs/components/SCNotification.d.ts +1 -0
  21. package/lib/cjs/components/SCNotification.js +1 -0
  22. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +1 -0
  23. package/lib/cjs/components/SCPrivateMessageSnippets.js +1 -0
  24. package/lib/cjs/components/SCPrivateMessageThread.d.ts +11 -0
  25. package/lib/cjs/components/SCPrivateMessageThread.js +15 -4
  26. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +5 -0
  27. package/lib/cjs/components/SCPrivateMessageThreadItem.js +5 -0
  28. package/lib/cjs/components/SCUser.d.ts +5 -0
  29. package/lib/cjs/components/SCUser.js +5 -0
  30. package/lib/cjs/components/SCUserProfileHeader.d.ts +2 -2
  31. package/lib/cjs/components/SCUserProfileHeader.js +8 -8
  32. package/lib/cjs/fonts/community/icons.eot +0 -0
  33. package/lib/cjs/fonts/community/icons.svg +5 -1
  34. package/lib/cjs/fonts/community/icons.ttf +0 -0
  35. package/lib/cjs/fonts/community/icons.woff +0 -0
  36. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  37. package/lib/cjs/fonts/community-icons.css +13 -7
  38. package/lib/cjs/index.d.ts +146 -25
  39. package/lib/cjs/index.js +6 -2
  40. package/lib/esm/components/SCCategoryHeader.d.ts +10 -1
  41. package/lib/esm/components/SCCategoryHeader.js +12 -3
  42. package/lib/esm/components/SCFeedObject.d.ts +32 -0
  43. package/lib/esm/components/SCFeedObject.js +33 -1
  44. package/lib/esm/components/SCGroup.d.ts +5 -0
  45. package/lib/esm/components/SCGroup.js +6 -1
  46. package/lib/esm/components/SCGroupHeader.d.ts +9 -20
  47. package/lib/esm/components/SCGroupHeader.js +14 -24
  48. package/lib/esm/components/SCGroupInvitedWidget.d.ts +8 -0
  49. package/lib/esm/components/SCGroupInvitedWidget.js +8 -0
  50. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  51. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  52. package/lib/esm/components/SCGroupTemplate.d.ts +3 -0
  53. package/lib/esm/components/SCGroupTemplate.js +3 -0
  54. package/lib/esm/components/SCGroups.d.ts +36 -1
  55. package/lib/esm/components/SCGroups.js +37 -2
  56. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  57. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  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 -0
  66. package/lib/esm/components/SCPrivateMessageThreadItem.js +5 -0
  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 +8 -8
  71. package/lib/esm/fonts/community/icons.eot +0 -0
  72. package/lib/esm/fonts/community/icons.svg +5 -1
  73. package/lib/esm/fonts/community/icons.ttf +0 -0
  74. package/lib/esm/fonts/community/icons.woff +0 -0
  75. package/lib/esm/fonts/community/icons.woff2 +0 -0
  76. package/lib/esm/fonts/community-icons.css +13 -7
  77. package/lib/esm/index.d.ts +146 -25
  78. package/lib/esm/index.js +6 -2
  79. package/lib/umd/community/icons.eot +0 -0
  80. package/lib/umd/community/icons.svg +5 -1
  81. package/lib/umd/community/icons.ttf +0 -0
  82. package/lib/umd/community/icons.woff +0 -0
  83. package/lib/umd/community/icons.woff2 +0 -0
  84. package/lib/umd/react-theme-default.js +2 -2
  85. 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
  };
@@ -99,23 +99,12 @@ declare const Component: {
99
99
  border: string;
100
100
  };
101
101
  };
102
- '& .SCGroupHeader-section': {
102
+ '& .SCGroupHeader-info': {
103
103
  display: string;
104
104
  justifyContent: string;
105
- '& .SCGroupHeader-name': {
106
- marginTop: number;
107
- textAlign: string;
108
- "& .MuiSkeleton-root": {
109
- justifyContent: string;
110
- };
111
- };
112
- '& .SCGroupHeader-actions': {
113
- [x: number]: {
114
- margin: any;
115
- };
116
- height: string;
117
- marginTop: any;
118
- };
105
+ flexDirection: string;
106
+ alignItems: string;
107
+ marginTop: number;
119
108
  };
120
109
  };
121
110
  };
@@ -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,7 +42,10 @@ 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': {
@@ -69,7 +70,7 @@ const Component = {
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,10 +84,10 @@ 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
93
  top: 150,
@@ -98,23 +99,12 @@ const Component = {
98
99
  border: '#FFF solid 5px'
99
100
  }
100
101
  },
101
- '& .SCGroupHeader-section': {
102
+ '& .SCGroupHeader-info': {
102
103
  display: 'flex',
103
104
  justifyContent: 'center',
104
- '& .SCGroupHeader-name': {
105
- marginTop: 50,
106
- textAlign: 'start',
107
- [`& .MuiSkeleton-root`]: {
108
- justifyContent: 'center'
109
- }
110
- },
111
- '& .SCGroupHeader-actions': {
112
- [theme.breakpoints.up('md')]: {
113
- margin: theme.spacing(1, 2, 2, 2)
114
- },
115
- height: 'fit-content',
116
- marginTop: theme.spacing(1)
117
- }
105
+ flexDirection: 'column',
106
+ alignItems: 'center',
107
+ marginTop: 60
118
108
  }
119
109
  })
120
110
  }
@@ -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,19 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ '& .MuiGrid-container': {
5
+ justifyContent: string;
6
+ };
7
+ '& .SCGroups-filters': {
8
+ marginTop: any;
9
+ marginBottom: any;
10
+ };
4
11
  '& .SCGroups-groups': {
5
12
  marginTop: any;
6
13
  '& .SCGroups-item': {
7
- padding: any;
14
+ [x: number]: {
15
+ padding: any;
16
+ };
8
17
  width: string;
9
18
  '& > div': {
10
19
  cursor: string;
@@ -12,6 +21,32 @@ declare const Component: {
12
21
  };
13
22
  };
14
23
  };
24
+ '& .SCGroups-no-results': {
25
+ marginTop: any;
26
+ display: string;
27
+ flexDirection: string;
28
+ justifyContent: string;
29
+ alignItems: string;
30
+ '& h4': {
31
+ fontWeight: any;
32
+ fontSize: any;
33
+ };
34
+ '& .MuiTypography-body1': {
35
+ fontWeight: any;
36
+ fontSize: any;
37
+ };
38
+ };
39
+ '& .SCGroups-end-message': {
40
+ display: string;
41
+ alignItems: string;
42
+ justifyContent: string;
43
+ '& .MuiButtonBase-root': {
44
+ paddingLeft: any;
45
+ '&.Mui-selected, &:hover': {
46
+ backgroundColor: string;
47
+ };
48
+ };
49
+ };
15
50
  };
16
51
  skeletonRoot: ({ theme }: any) => {
17
52
  '& .SCGroups-groups': {
@@ -1,16 +1,51 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
+ '& .MuiGrid-container': {
5
+ justifyContent: 'center'
6
+ },
7
+ '& .SCGroups-filters': {
8
+ marginTop: theme.spacing(),
9
+ marginBottom: theme.spacing(2)
10
+ },
4
11
  '& .SCGroups-groups': {
5
- marginTop: theme.spacing(3),
12
+ marginTop: theme.spacing(2),
6
13
  '& .SCGroups-item': {
7
- padding: theme.spacing(2),
14
+ [theme.breakpoints.up('md')]: {
15
+ padding: theme.spacing(2)
16
+ },
8
17
  width: 'auto',
9
18
  '& > div': {
10
19
  cursor: 'default',
11
20
  padding: theme.spacing(1)
12
21
  }
13
22
  }
23
+ },
24
+ '& .SCGroups-no-results': {
25
+ marginTop: theme.spacing(3),
26
+ display: 'flex',
27
+ flexDirection: 'column',
28
+ justifyContent: 'center',
29
+ alignItems: 'center',
30
+ '& h4': {
31
+ fontWeight: theme.typography.fontWeightBold,
32
+ fontSize: theme.typography.h4.fontSize
33
+ },
34
+ '& .MuiTypography-body1': {
35
+ fontWeight: theme.typography.fontWeightMedium,
36
+ fontSize: theme.typography.body1.fontSize
37
+ }
38
+ },
39
+ '& .SCGroups-end-message': {
40
+ display: 'flex',
41
+ alignItems: 'center',
42
+ justifyContent: 'center',
43
+ '& .MuiButtonBase-root': {
44
+ paddingLeft: theme.spacing(1),
45
+ '&.Mui-selected, &:hover': {
46
+ backgroundColor: 'transparent'
47
+ }
48
+ }
14
49
  }
15
50
  }),
16
51
  skeletonRoot: ({ theme }) => ({
@@ -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;