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

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 +25 -1
  16. package/lib/cjs/components/SCGroups.js +26 -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 +135 -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 +25 -1
  55. package/lib/esm/components/SCGroups.js +26 -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 +135 -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
@@ -7,6 +7,9 @@ declare const Component: {
7
7
  styleOverrides: {
8
8
  root: ({ theme }: any) => {
9
9
  '& .SCCategoryHeader-cover': {
10
+ [x: number]: {
11
+ borderRadius: any;
12
+ };
10
13
  display: string;
11
14
  flexDirection: string;
12
15
  justifyContent: string;
@@ -54,7 +57,13 @@ declare const Component: {
54
57
  };
55
58
  };
56
59
  };
57
- skeletonRoot: ({ theme }: any) => {};
60
+ skeletonRoot: ({ theme }: any) => {
61
+ '& .SCCategoryHeader-skeleton-cover': {
62
+ [x: number]: {
63
+ borderRadius: any;
64
+ };
65
+ };
66
+ };
58
67
  };
59
68
  };
60
69
  export default Component;
@@ -16,8 +16,11 @@ const Component = {
16
16
  minHeight: 150,
17
17
  color: '#FFF',
18
18
  background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
19
- height: 150,
20
- borderRadius: 0
19
+ height: 230,
20
+ borderRadius: 0,
21
+ [theme.breakpoints.up('md')]: {
22
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
23
+ }
21
24
  },
22
25
  '& .SCCategoryHeader-info': {
23
26
  paddingLeft: theme.spacing(2),
@@ -56,7 +59,13 @@ const Component = {
56
59
  }
57
60
  }
58
61
  }),
59
- skeletonRoot: ({ theme }) => ({})
62
+ skeletonRoot: ({ theme }) => ({
63
+ '& .SCCategoryHeader-skeleton-cover': {
64
+ [theme.breakpoints.up('md')]: {
65
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
66
+ }
67
+ }
68
+ })
60
69
  }
61
70
  };
62
71
  exports.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': {
@@ -61,6 +61,25 @@ const Component = {
61
61
  textTransform: 'initial',
62
62
  fontWeight: theme.typography.fontWeightBold
63
63
  }
64
+ },
65
+ '& .SCFeedObject-group': {
66
+ marginRight: `${theme.spacing(1)} !important`
67
+ }
68
+ },
69
+ '& .SCFeedObject-group': {
70
+ justifyContent: 'flex-start',
71
+ padding: theme.spacing(0.5),
72
+ '& a': {
73
+ padding: theme.spacing(0.5),
74
+ marginBottom: theme.spacing(0.5),
75
+ color: theme.palette.common.white,
76
+ '&:hover': {
77
+ backgroundColor: theme.palette.common.black
78
+ },
79
+ '& span': {
80
+ color: theme.palette.common.white,
81
+ textTransform: 'initial'
82
+ }
64
83
  }
65
84
  },
66
85
  '& .SCFeedObject-content': {
@@ -122,7 +141,20 @@ const Component = {
122
141
  },
123
142
  '& .SCFeedObject-category': {
124
143
  borderBottom: '1px solid rgba(221, 221, 221, 1)',
125
- margin: theme.spacing(0, 2)
144
+ margin: theme.spacing(0, 2),
145
+ '& .SCFeedObject-group': {
146
+ borderBottom: 'none',
147
+ margin: theme.spacing(0),
148
+ '& .MuiChip-icon': {
149
+ marginLeft: theme.spacing(1),
150
+ marginRight: theme.spacing(-1),
151
+ fontWeight: theme.typography.fontWeightRegular
152
+ }
153
+ }
154
+ },
155
+ '& .SCFeedObject-group': {
156
+ borderBottom: '1px solid rgba(221, 221, 221, 1)',
157
+ margin: theme.spacing(1, 2, 0, 2)
126
158
  },
127
159
  '& .SCFeedObject-header': {
128
160
  '& .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;
@@ -20,7 +20,12 @@ const Component = {
20
20
  }
21
21
  },
22
22
  '& .SCBaseItemButton-primary': {
23
- fontWeight: theme.typography.fontWeightBold
23
+ display: 'flex',
24
+ alignItems: 'center',
25
+ fontWeight: theme.typography.fontWeightBold,
26
+ '& .SCGroup-icon': {
27
+ marginLeft: theme.spacing(0.5)
28
+ }
24
29
  },
25
30
  '& .SCBaseItemButton-secondary': {
26
31
  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
  };
@@ -5,19 +5,17 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  '& .SCGroupHeader-cover': {
7
7
  position: 'relative',
8
- height: 150,
8
+ height: 230,
9
9
  minHeight: 150,
10
10
  borderRadius: 0,
11
11
  background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
12
12
  boxShadow: 'unset',
13
13
  [theme.breakpoints.up('md')]: {
14
14
  borderRadius: theme.spacing(0, 0, 2.5, 2.5)
15
- },
16
- [theme.breakpoints.up('lg')]: {
17
- margin: theme.spacing(0, -5, 0, -5)
18
15
  }
19
16
  },
20
17
  '& .SCGroupHeader-info': {
18
+ marginTop: theme.spacing(6.5),
21
19
  display: 'flex',
22
20
  flexDirection: 'column',
23
21
  justifyContent: 'center',
@@ -46,7 +44,10 @@ const Component = {
46
44
  },
47
45
  '& .SCEditGroupButton-root': {
48
46
  marginLeft: 'auto',
49
- marginTop: theme.spacing(2)
47
+ marginTop: theme.spacing(-4.25)
48
+ },
49
+ '& .SCGroupSubscribeButton-root': {
50
+ marginTop: theme.spacing(1)
50
51
  }
51
52
  },
52
53
  '& .SCGroupHeader-avatar': {
@@ -71,7 +72,7 @@ const Component = {
71
72
  display: 'flex'
72
73
  },
73
74
  '& .SCGroupHeader-name': {
74
- marginBottom: theme.spacing(2),
75
+ marginBottom: theme.spacing(1),
75
76
  fontWeight: theme.typography.fontWeightBold,
76
77
  fontSize: '1.429rem',
77
78
  textAlign: 'center'
@@ -85,10 +86,10 @@ const Component = {
85
86
  skeletonRoot: ({ theme }) => ({
86
87
  position: 'relative',
87
88
  '& .SCGroupHeader-cover': {
88
- [theme.breakpoints.up('lg')]: {
89
- margin: theme.spacing(0, -5, 0, -5)
89
+ [theme.breakpoints.up('md')]: {
90
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
90
91
  },
91
- height: 150
92
+ height: 230
92
93
  },
93
94
  '& .SCGroupHeader-avatar': {
94
95
  top: 150,
@@ -100,23 +101,12 @@ const Component = {
100
101
  border: '#FFF solid 5px'
101
102
  }
102
103
  },
103
- '& .SCGroupHeader-section': {
104
+ '& .SCGroupHeader-info': {
104
105
  display: 'flex',
105
106
  justifyContent: 'center',
106
- '& .SCGroupHeader-name': {
107
- marginTop: 50,
108
- textAlign: 'start',
109
- [`& .MuiSkeleton-root`]: {
110
- justifyContent: 'center'
111
- }
112
- },
113
- '& .SCGroupHeader-actions': {
114
- [theme.breakpoints.up('md')]: {
115
- margin: theme.spacing(1, 2, 2, 2)
116
- },
117
- height: 'fit-content',
118
- marginTop: theme.spacing(1)
119
- }
107
+ flexDirection: 'column',
108
+ alignItems: 'center',
109
+ marginTop: 60
120
110
  }
121
111
  })
122
112
  }
@@ -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,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ skeletonRoot: ({ theme }) => ({}),
7
+ dialogRoot: ({ theme }) => ({})
8
+ }
9
+ };
10
+ exports.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,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ menuRoot: ({ theme }) => ({
7
+ '& .SCGroupSettingsIconButton-paper': {
8
+ maxWidth: 400,
9
+ padding: theme.spacing(1)
10
+ }
11
+ }),
12
+ drawerRoot: ({ theme }) => ({
13
+ '& .MuiList-root': {
14
+ '& a': {
15
+ color: 'inherit'
16
+ }
17
+ }
18
+ })
19
+ }
20
+ };
21
+ exports.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]: {
@@ -6,6 +6,9 @@ const Component = {
6
6
  marginTop: 0,
7
7
  '& .SCCategoryTemplate-feed': {
8
8
  marginTop: theme.spacing(2)
9
+ },
10
+ '& .SCGroupInfoWidget-root': {
11
+ marginTop: theme.spacing(2)
9
12
  }
10
13
  }),
11
14
  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,21 @@ 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
+ };
15
39
  };
16
40
  skeletonRoot: ({ theme }: any) => {
17
41
  '& .SCGroups-groups': {
@@ -3,16 +3,40 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
5
  root: ({ theme }) => ({
6
+ '& .MuiGrid-container': {
7
+ justifyContent: 'center'
8
+ },
9
+ '& .SCGroups-filters': {
10
+ marginTop: theme.spacing(),
11
+ marginBottom: theme.spacing(2)
12
+ },
6
13
  '& .SCGroups-groups': {
7
- marginTop: theme.spacing(3),
14
+ marginTop: theme.spacing(2),
8
15
  '& .SCGroups-item': {
9
- padding: theme.spacing(2),
16
+ [theme.breakpoints.up('md')]: {
17
+ padding: theme.spacing(2)
18
+ },
10
19
  width: 'auto',
11
20
  '& > div': {
12
21
  cursor: 'default',
13
22
  padding: theme.spacing(1)
14
23
  }
15
24
  }
25
+ },
26
+ '& .SCGroups-no-results': {
27
+ marginTop: theme.spacing(3),
28
+ display: 'flex',
29
+ flexDirection: 'column',
30
+ justifyContent: 'center',
31
+ alignItems: 'center',
32
+ '& h4': {
33
+ fontWeight: theme.typography.fontWeightBold,
34
+ fontSize: theme.typography.h4.fontSize
35
+ },
36
+ '& .MuiTypography-body1': {
37
+ fontWeight: theme.typography.fontWeightMedium,
38
+ fontSize: theme.typography.body1.fontSize
39
+ }
16
40
  }
17
41
  }),
18
42
  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': {
@@ -8,7 +8,7 @@ const Component = {
8
8
  marginRight: theme.spacing(2),
9
9
  '& img': {
10
10
  verticalAlign: 'middle',
11
- maxHeight: theme.mixins.toolbar.minHeight
11
+ maxHeight: theme.mixins.toolbar.minHeight - 10
12
12
  }
13
13
  },
14
14
  '& .SCNavigationToolbar-navigation': {
@@ -5,7 +5,7 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  padding: theme.spacing(0, 1, 0, 1),
7
7
  '& .SCNavigationToolbarMobile-logo': {
8
- margin: theme.spacing(0.5, 2, 0.5, 2),
8
+ margin: theme.spacing(0.5, 2, 0.5, 0.5),
9
9
  flexGrow: 1,
10
10
  '& img': {
11
11
  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";
@@ -282,6 +282,7 @@ const Component = {
282
282
  maxWidth: '40%'
283
283
  }
284
284
  }),
285
+ groupRoot: ({ theme }) => ({}),
285
286
  undeletedForRoot: ({ theme }) => ({
286
287
  '& .SCNotification-undeleted-icon': {
287
288
  backgroundColor: colors_1.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;
@@ -5,6 +5,7 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  height: '100%',
7
7
  width: '100%',
8
+ borderRadius: 0,
8
9
  '& .MuiCardContent-root': {
9
10
  display: 'flex',
10
11
  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;
@@ -6,7 +6,7 @@ const Component = {
6
6
  root: ({ theme }) => ({
7
7
  height: '100%',
8
8
  width: '100%',
9
- backgroundColor: (0, system_1.alpha)(theme.palette.common.white, theme.palette.action.selectedOpacity),
9
+ backgroundColor: (0, system_1.alpha)(theme.palette.common.white, 0.5),
10
10
  borderRadius: 0,
11
11
  '& .MuiCardContent-root': {
12
12
  display: 'flex',
@@ -50,7 +50,7 @@ const Component = {
50
50
  position: 'absolute',
51
51
  border: `${theme.spacing(3)} solid transparent`,
52
52
  borderTop: `${theme.spacing(3)} solid ${theme.palette.common.white}`,
53
- top: theme.spacing(1),
53
+ top: theme.spacing(0),
54
54
  left: theme.spacing(-2)
55
55
  }
56
56
  },
@@ -64,13 +64,24 @@ const Component = {
64
64
  position: 'absolute',
65
65
  border: `${theme.spacing(3)} solid transparent`,
66
66
  borderTop: `${theme.spacing(3)} solid ${theme.palette.grey[300]}`,
67
- top: theme.spacing(1),
67
+ top: theme.spacing(0),
68
68
  right: theme.spacing(-2)
69
69
  }
70
70
  }
71
71
  }
72
72
  }
73
73
  }
74
+ },
75
+ '& .SCPrivateMessageThread-item': {
76
+ display: 'flex',
77
+ marginBottom: theme.spacing(1),
78
+ '& .SCPrivateMessageThread-avatar': {
79
+ marginRight: theme.spacing(6),
80
+ '& img': {
81
+ height: theme.selfcommunity.group.avatar.sizeMedium,
82
+ width: theme.selfcommunity.group.avatar.sizeMedium
83
+ }
84
+ }
74
85
  }
75
86
  },
76
87
  '& .SCPrivateMessageThread-empty-message': {
@@ -86,7 +97,7 @@ const Component = {
86
97
  height: theme.mixins.toolbar.minHeight,
87
98
  alignItems: 'center',
88
99
  justifyContent: 'center',
89
- backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.activatedOpacity),
100
+ backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity),
90
101
  '& .SCPrivateMessageThread-new-message-header-content': {
91
102
  display: 'flex',
92
103
  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;