@selfcommunity/react-theme-default 0.1.9-alpha.3 → 0.1.9-alpha.31

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 (89) hide show
  1. package/lib/cjs/components/SCCategoryHeader.js +2 -2
  2. package/lib/cjs/components/SCComposer.d.ts +1 -0
  3. package/lib/cjs/components/SCComposer.js +5 -4
  4. package/lib/cjs/components/SCCreateGroupButton.d.ts +5 -2
  5. package/lib/cjs/components/SCCreateGroupButton.js +5 -2
  6. package/lib/cjs/components/SCEditGroupButton.d.ts +13 -0
  7. package/lib/cjs/components/SCEditGroupButton.js +15 -0
  8. package/lib/cjs/components/SCFeedObject.d.ts +37 -0
  9. package/lib/cjs/components/SCFeedObject.js +38 -1
  10. package/lib/cjs/components/SCGroupAutocomplete.d.ts +6 -0
  11. package/lib/cjs/components/SCGroupAutocomplete.js +8 -0
  12. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +0 -29
  13. package/lib/cjs/components/SCGroupFeedTemplate.js +1 -30
  14. package/lib/cjs/components/{SCCreateGroup.d.ts → SCGroupForm.d.ts} +13 -10
  15. package/lib/cjs/components/{SCCreateGroup.js → SCGroupForm.js} +13 -10
  16. package/lib/cjs/components/SCGroupHeader.d.ts +12 -16
  17. package/lib/cjs/components/SCGroupHeader.js +13 -17
  18. package/lib/cjs/components/SCGroupInviteButton.d.ts +5 -2
  19. package/lib/cjs/components/SCGroupInviteButton.js +5 -2
  20. package/lib/cjs/components/SCGroupMembersWidget.d.ts +2 -2
  21. package/lib/cjs/components/SCGroupMembersWidget.js +2 -2
  22. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  23. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  24. package/lib/cjs/components/SCGroupTemplate.d.ts +3 -0
  25. package/lib/cjs/components/SCGroupTemplate.js +3 -0
  26. package/lib/cjs/components/SCGroups.d.ts +36 -2
  27. package/lib/cjs/components/SCGroups.js +36 -2
  28. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  29. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  30. package/lib/cjs/components/SCNavigationToolbarMobile.js +1 -1
  31. package/lib/cjs/components/SCPrivateMessageThread.d.ts +11 -0
  32. package/lib/cjs/components/SCPrivateMessageThread.js +13 -2
  33. package/lib/cjs/components/SCUserProfileHeader.js +2 -2
  34. package/lib/cjs/fonts/community/icons.eot +0 -0
  35. package/lib/cjs/fonts/community/icons.svg +5 -1
  36. package/lib/cjs/fonts/community/icons.ttf +0 -0
  37. package/lib/cjs/fonts/community/icons.woff +0 -0
  38. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  39. package/lib/cjs/fonts/community-icons.css +13 -7
  40. package/lib/cjs/index.d.ts +161 -64
  41. package/lib/cjs/index.js +10 -4
  42. package/lib/esm/components/SCCategoryHeader.js +2 -2
  43. package/lib/esm/components/SCComposer.d.ts +1 -0
  44. package/lib/esm/components/SCComposer.js +5 -4
  45. package/lib/esm/components/SCCreateGroupButton.d.ts +5 -2
  46. package/lib/esm/components/SCCreateGroupButton.js +5 -2
  47. package/lib/esm/components/SCEditGroupButton.d.ts +13 -0
  48. package/lib/esm/components/SCEditGroupButton.js +13 -0
  49. package/lib/esm/components/SCFeedObject.d.ts +37 -0
  50. package/lib/esm/components/SCFeedObject.js +38 -1
  51. package/lib/esm/components/SCGroupAutocomplete.d.ts +6 -0
  52. package/lib/esm/components/SCGroupAutocomplete.js +6 -0
  53. package/lib/esm/components/SCGroupFeedTemplate.d.ts +0 -29
  54. package/lib/esm/components/SCGroupFeedTemplate.js +1 -30
  55. package/lib/esm/components/{SCCreateGroup.d.ts → SCGroupForm.d.ts} +13 -10
  56. package/lib/esm/components/{SCCreateGroup.js → SCGroupForm.js} +13 -10
  57. package/lib/esm/components/SCGroupHeader.d.ts +12 -16
  58. package/lib/esm/components/SCGroupHeader.js +13 -17
  59. package/lib/esm/components/SCGroupInviteButton.d.ts +5 -2
  60. package/lib/esm/components/SCGroupInviteButton.js +5 -2
  61. package/lib/esm/components/SCGroupMembersWidget.d.ts +2 -2
  62. package/lib/esm/components/SCGroupMembersWidget.js +2 -2
  63. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  64. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  65. package/lib/esm/components/SCGroupTemplate.d.ts +3 -0
  66. package/lib/esm/components/SCGroupTemplate.js +3 -0
  67. package/lib/esm/components/SCGroups.d.ts +36 -2
  68. package/lib/esm/components/SCGroups.js +36 -2
  69. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  70. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  71. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  72. package/lib/esm/components/SCPrivateMessageThread.d.ts +11 -0
  73. package/lib/esm/components/SCPrivateMessageThread.js +13 -2
  74. package/lib/esm/components/SCUserProfileHeader.js +2 -2
  75. package/lib/esm/fonts/community/icons.eot +0 -0
  76. package/lib/esm/fonts/community/icons.svg +5 -1
  77. package/lib/esm/fonts/community/icons.ttf +0 -0
  78. package/lib/esm/fonts/community/icons.woff +0 -0
  79. package/lib/esm/fonts/community/icons.woff2 +0 -0
  80. package/lib/esm/fonts/community-icons.css +13 -7
  81. package/lib/esm/index.d.ts +161 -64
  82. package/lib/esm/index.js +10 -4
  83. package/lib/umd/community/icons.eot +0 -0
  84. package/lib/umd/community/icons.svg +5 -1
  85. package/lib/umd/community/icons.ttf +0 -0
  86. package/lib/umd/community/icons.woff +0 -0
  87. package/lib/umd/community/icons.woff2 +0 -0
  88. package/lib/umd/react-theme-default.js +2 -2
  89. package/package.json +4 -4
@@ -2,35 +2,6 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  marginTop: number;
5
- '& .SCGroupFeedTemplate-feed': {
6
- marginTop: any;
7
- };
8
- '& .SCGroupFeedTemplate-tabs': {
9
- '& .MuiTabs-flexContainer': {
10
- borderBottom: string;
11
- };
12
- '& .MuiTabs-indicator': {
13
- display: string;
14
- justifyContent: string;
15
- backgroundColor: string;
16
- };
17
- '& .MuiTabs-indicatorSpan': {
18
- maxWidth: string;
19
- width: string;
20
- backgroundColor: any;
21
- };
22
- };
23
- '& .SCGroupFeedTemplate-tab-content': {
24
- '& .SCGroupFeedTemplate-members': {
25
- display: string;
26
- flexDirection: string;
27
- gap: any;
28
- };
29
- };
30
- };
31
- tabRoot: ({ theme }: any) => {
32
- textTransform: string;
33
- fontWeight: any;
34
5
  };
35
6
  skeletonRoot: ({ theme }: any) => {
36
7
  [x: number]: {
@@ -1,36 +1,7 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
- marginTop: 0,
5
- '& .SCGroupFeedTemplate-feed': {
6
- marginTop: theme.spacing(2)
7
- },
8
- '& .SCGroupFeedTemplate-tabs': {
9
- '& .MuiTabs-flexContainer': {
10
- borderBottom: `2px solid ${theme.palette.grey[300]}`
11
- },
12
- '& .MuiTabs-indicator': {
13
- display: 'flex',
14
- justifyContent: 'center',
15
- backgroundColor: 'transparent'
16
- },
17
- '& .MuiTabs-indicatorSpan': {
18
- maxWidth: '40%',
19
- width: '100%',
20
- backgroundColor: theme.palette.secondary.main
21
- }
22
- },
23
- '& .SCGroupFeedTemplate-tab-content': {
24
- '& .SCGroupFeedTemplate-members': {
25
- display: 'flex',
26
- flexDirection: 'column',
27
- gap: theme.spacing(2)
28
- }
29
- }
30
- }),
31
- tabRoot: ({ theme }) => ({
32
- textTransform: 'none',
33
- fontWeight: theme.typography.fontWeightBold
4
+ marginTop: 0
34
5
  }),
35
6
  skeletonRoot: ({ theme }) => ({
36
7
  marginTop: 0,
@@ -1,11 +1,11 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
- '& .SCCreateGroup-cover': {
4
+ '& .SCGroupForm-cover': {
5
5
  position: string;
6
6
  height: number;
7
7
  minHeight: number;
8
- '& .SCCreateGroup-avatar': {
8
+ '& .SCGroupForm-avatar': {
9
9
  top: number;
10
10
  display: string;
11
11
  position: string;
@@ -36,11 +36,14 @@ declare const Component: {
36
36
  bottom: any;
37
37
  };
38
38
  };
39
- '& .SCCreateGroup-header': {
39
+ '& .SCGroupForm-header': {
40
40
  marginTop: any;
41
41
  color: any;
42
42
  };
43
- '& .SCCreateGroup-switch': {
43
+ '& .SCGroupForm-error': {
44
+ color: any;
45
+ };
46
+ '& .SCGroupForm-switch': {
44
47
  '& .MuiButtonBase-root': {
45
48
  '&.Mui-checked': {
46
49
  color: any;
@@ -50,30 +53,30 @@ declare const Component: {
50
53
  };
51
54
  };
52
55
  };
53
- '& .SCCreateGroup-switch-label': {
56
+ '& .SCGroupForm-switch-label': {
54
57
  fontWeight: any;
55
58
  display: string;
56
59
  alignItems: string;
57
60
  justifyContent: string;
58
61
  gap: any;
59
62
  };
60
- '& .SCCreateGroup-active': {
63
+ '& .SCGroupForm-active': {
61
64
  color: any;
62
65
  };
63
- '& .SCCreateGroup-privacy-section': {
66
+ '& .SCGroupForm-privacy-section': {
64
67
  marginTop: any;
65
- '& .SCCreateGroup-privacy-section-info': {
68
+ '& .SCGroupForm-privacy-section-info': {
66
69
  marginBottom: any;
67
70
  };
68
71
  };
69
- '& .SCCreateGroup-visibility-section-info': {
72
+ '& .SCGroupForm-visibility-section-info': {
70
73
  marginTop: any;
71
74
  };
72
75
  '& .MuiDivider-root': {
73
76
  marginTop: any;
74
77
  border: string;
75
78
  };
76
- '& .SCCreateGroup-invite-section': {
79
+ '& .SCGroupForm-invite-section': {
77
80
  marginTop: any;
78
81
  display: string;
79
82
  justifyContent: string;
@@ -2,11 +2,11 @@ import { alpha } from '@mui/system';
2
2
  const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme }) => ({
5
- '& .SCCreateGroup-cover': {
5
+ '& .SCGroupForm-cover': {
6
6
  position: 'relative',
7
7
  height: 120,
8
8
  minHeight: 120,
9
- '& .SCCreateGroup-avatar': {
9
+ '& .SCGroupForm-avatar': {
10
10
  top: 120,
11
11
  display: 'block',
12
12
  position: 'absolute',
@@ -37,11 +37,14 @@ const Component = {
37
37
  bottom: theme.spacing(2)
38
38
  }
39
39
  },
40
- '& .SCCreateGroup-header': {
40
+ '& .SCGroupForm-header': {
41
41
  marginTop: theme.spacing(4.5),
42
42
  color: theme.palette.text.secondary
43
43
  },
44
- '& .SCCreateGroup-switch': {
44
+ '& .SCGroupForm-error': {
45
+ color: theme.palette.error.main
46
+ },
47
+ '& .SCGroupForm-switch': {
45
48
  '& .MuiButtonBase-root': {
46
49
  '&.Mui-checked': {
47
50
  color: theme.palette.secondary.main,
@@ -51,30 +54,30 @@ const Component = {
51
54
  }
52
55
  }
53
56
  },
54
- '& .SCCreateGroup-switch-label': {
57
+ '& .SCGroupForm-switch-label': {
55
58
  fontWeight: theme.typography.fontWeightMedium,
56
59
  display: 'flex',
57
60
  alignItems: 'center',
58
61
  justifyContent: 'center',
59
62
  gap: theme.spacing(0.5)
60
63
  },
61
- '& .SCCreateGroup-active': {
64
+ '& .SCGroupForm-active': {
62
65
  color: theme.palette.secondary.main
63
66
  },
64
- '& .SCCreateGroup-privacy-section': {
67
+ '& .SCGroupForm-privacy-section': {
65
68
  marginTop: theme.spacing(2),
66
- '& .SCCreateGroup-privacy-section-info': {
69
+ '& .SCGroupForm-privacy-section-info': {
67
70
  marginBottom: theme.spacing(2)
68
71
  }
69
72
  },
70
- '& .SCCreateGroup-visibility-section-info': {
73
+ '& .SCGroupForm-visibility-section-info': {
71
74
  marginTop: theme.spacing(1)
72
75
  },
73
76
  '& .MuiDivider-root': {
74
77
  marginTop: theme.spacing(2),
75
78
  border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
76
79
  },
77
- '& .SCCreateGroup-invite-section': {
80
+ '& .SCGroupForm-invite-section': {
78
81
  marginTop: theme.spacing(2),
79
82
  display: 'flex',
80
83
  justifyContent: 'center',
@@ -17,6 +17,7 @@ declare const Component: {
17
17
  boxShadow: string;
18
18
  };
19
19
  '& .SCGroupHeader-info': {
20
+ marginTop: number;
20
21
  display: string;
21
22
  flexDirection: string;
22
23
  justifyContent: string;
@@ -43,6 +44,13 @@ declare const Component: {
43
44
  gap: any;
44
45
  };
45
46
  };
47
+ '& .SCEditGroupButton-root': {
48
+ marginLeft: string;
49
+ marginTop: any;
50
+ };
51
+ '& .SCGroupSubscribeButton-root': {
52
+ marginTop: any;
53
+ };
46
54
  };
47
55
  '& .SCGroupHeader-avatar': {
48
56
  top: number;
@@ -66,7 +74,6 @@ declare const Component: {
66
74
  display: string;
67
75
  };
68
76
  '& .SCGroupHeader-name': {
69
- marginTop: number;
70
77
  marginBottom: any;
71
78
  fontWeight: any;
72
79
  fontSize: string;
@@ -96,23 +103,12 @@ declare const Component: {
96
103
  border: string;
97
104
  };
98
105
  };
99
- '& .SCGroupHeader-section': {
106
+ '& .SCGroupHeader-info': {
100
107
  display: string;
101
108
  justifyContent: string;
102
- '& .SCGroupHeader-name': {
103
- marginTop: number;
104
- textAlign: string;
105
- "& .MuiSkeleton-root": {
106
- justifyContent: string;
107
- };
108
- };
109
- '& .SCGroupHeader-actions': {
110
- [x: number]: {
111
- margin: any;
112
- };
113
- height: string;
114
- marginTop: any;
115
- };
109
+ flexDirection: string;
110
+ alignItems: string;
111
+ marginTop: number;
116
112
  };
117
113
  };
118
114
  };
@@ -16,6 +16,7 @@ const Component = {
16
16
  }
17
17
  },
18
18
  '& .SCGroupHeader-info': {
19
+ marginTop: 50,
19
20
  display: 'flex',
20
21
  flexDirection: 'column',
21
22
  justifyContent: 'center',
@@ -41,6 +42,13 @@ const Component = {
41
42
  alignItems: 'center',
42
43
  gap: theme.spacing(0.5)
43
44
  }
45
+ },
46
+ '& .SCEditGroupButton-root': {
47
+ marginLeft: 'auto',
48
+ marginTop: theme.spacing(2)
49
+ },
50
+ '& .SCGroupSubscribeButton-root': {
51
+ marginTop: theme.spacing(1)
44
52
  }
45
53
  },
46
54
  '& .SCGroupHeader-avatar': {
@@ -65,8 +73,7 @@ const Component = {
65
73
  display: 'flex'
66
74
  },
67
75
  '& .SCGroupHeader-name': {
68
- marginTop: 0.5 * theme.selfcommunity.group.avatar.sizeLarge + 8,
69
- marginBottom: theme.spacing(2),
76
+ marginBottom: theme.spacing(1),
70
77
  fontWeight: theme.typography.fontWeightBold,
71
78
  fontSize: '1.429rem',
72
79
  textAlign: 'center'
@@ -95,23 +102,12 @@ const Component = {
95
102
  border: '#FFF solid 5px'
96
103
  }
97
104
  },
98
- '& .SCGroupHeader-section': {
105
+ '& .SCGroupHeader-info': {
99
106
  display: 'flex',
100
107
  justifyContent: 'center',
101
- '& .SCGroupHeader-name': {
102
- marginTop: 50,
103
- textAlign: 'start',
104
- [`& .MuiSkeleton-root`]: {
105
- justifyContent: 'center'
106
- }
107
- },
108
- '& .SCGroupHeader-actions': {
109
- [theme.breakpoints.up('md')]: {
110
- margin: theme.spacing(1, 2, 2, 2)
111
- },
112
- height: 'fit-content',
113
- marginTop: theme.spacing(1)
114
- }
108
+ flexDirection: 'column',
109
+ alignItems: 'center',
110
+ marginTop: 60
115
111
  }
116
112
  })
117
113
  }
@@ -1,8 +1,11 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
- '& .MuiIcon-root': {
5
- fontSize: string;
4
+ '& .MuiButton-startIcon': {
5
+ marginRight: any;
6
+ '& .MuiIcon-root': {
7
+ fontSize: string;
8
+ };
6
9
  };
7
10
  };
8
11
  dialogRoot: ({ theme }: any) => {
@@ -2,8 +2,11 @@ import { alpha } from '@mui/system';
2
2
  const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme }) => ({
5
- '& .MuiIcon-root': {
6
- fontSize: '1rem !important'
5
+ '& .MuiButton-startIcon': {
6
+ marginRight: theme.spacing(0.5),
7
+ '& .MuiIcon-root': {
8
+ fontSize: '0.75rem !important'
9
+ }
7
10
  }
8
11
  }),
9
12
  dialogRoot: ({ theme }) => ({
@@ -1,8 +1,8 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
- '& .SCGroupMembersWidget-button': {
5
- marginTop: any;
4
+ '& .SCGroupMembersWidget-actions': {
5
+ margin: any;
6
6
  };
7
7
  };
8
8
  skeletonRoot: ({ theme }: any) => {};
@@ -1,8 +1,8 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
- '& .SCGroupMembersWidget-button': {
5
- marginTop: theme.spacing(1)
4
+ '& .SCGroupMembersWidget-actions': {
5
+ margin: theme.spacing(0, 0, 2, 1)
6
6
  }
7
7
  }),
8
8
  skeletonRoot: ({ theme }) => ({}),
@@ -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,7 +1,41 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {};
4
- skeletonRoot: ({ theme }: any) => {};
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroups-groups': {
5
+ marginTop: any;
6
+ '& .SCGroups-item': {
7
+ padding: any;
8
+ width: string;
9
+ '& > div': {
10
+ cursor: string;
11
+ padding: any;
12
+ };
13
+ };
14
+ };
15
+ '& .SCGroups-no-results': {
16
+ display: string;
17
+ flexDirection: string;
18
+ justifyContent: string;
19
+ alignItems: string;
20
+ '& h4': {
21
+ fontWeight: any;
22
+ fontSize: any;
23
+ };
24
+ '& .MuiTypography-body1': {
25
+ fontWeight: any;
26
+ fontSize: any;
27
+ };
28
+ };
29
+ };
30
+ skeletonRoot: ({ theme }: any) => {
31
+ '& .SCGroups-groups': {
32
+ marginTop: any;
33
+ '& .SCGroup-skeleton-root': {
34
+ padding: any;
35
+ width: string;
36
+ };
37
+ };
38
+ };
5
39
  };
6
40
  };
7
41
  export default Component;
@@ -1,7 +1,41 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
- root: ({ theme }) => ({}),
4
- skeletonRoot: ({ theme }) => ({})
3
+ root: ({ theme }) => ({
4
+ '& .SCGroups-groups': {
5
+ marginTop: theme.spacing(3),
6
+ '& .SCGroups-item': {
7
+ padding: theme.spacing(2),
8
+ width: 'auto',
9
+ '& > div': {
10
+ cursor: 'default',
11
+ padding: theme.spacing(1)
12
+ }
13
+ }
14
+ },
15
+ '& .SCGroups-no-results': {
16
+ display: 'flex',
17
+ flexDirection: 'column',
18
+ justifyContent: 'center',
19
+ alignItems: 'center',
20
+ '& h4': {
21
+ fontWeight: theme.typography.fontWeightBold,
22
+ fontSize: theme.typography.h4.fontSize
23
+ },
24
+ '& .MuiTypography-body1': {
25
+ fontWeight: theme.typography.fontWeightMedium,
26
+ fontSize: theme.typography.body1.fontSize
27
+ }
28
+ }
29
+ }),
30
+ skeletonRoot: ({ theme }) => ({
31
+ '& .SCGroups-groups': {
32
+ marginTop: theme.spacing(3),
33
+ '& .SCGroup-skeleton-root': {
34
+ padding: theme.spacing(1.5),
35
+ width: 'auto'
36
+ }
37
+ }
38
+ })
5
39
  }
6
40
  };
7
41
  export default Component;
@@ -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',
@@ -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;
@@ -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': {
@@ -3,8 +3,8 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  '& .SCUserProfileHeader-cover': {
5
5
  position: 'relative',
6
- height: 150,
7
- minHeight: 150,
6
+ height: 230,
7
+ minHeight: 230,
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',
Binary file