@selfcommunity/react-theme-default 0.1.9-alpha.2 → 0.1.9-alpha.20

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.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 -22
  13. package/lib/cjs/components/SCGroupFeedTemplate.js +1 -23
  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 +5 -1
  21. package/lib/cjs/components/SCGroupMembersWidget.js +5 -1
  22. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  23. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  24. package/lib/cjs/components/SCGroups.d.ts +41 -0
  25. package/lib/cjs/components/SCGroups.js +43 -0
  26. package/lib/cjs/components/SCNavigationToolbar.d.ts +2 -2
  27. package/lib/cjs/components/SCNavigationToolbar.js +2 -2
  28. package/lib/cjs/components/SCNavigationToolbarMobile.js +1 -1
  29. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
  30. package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
  31. package/lib/cjs/components/SCUserProfileHeader.js +2 -2
  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 +156 -59
  39. package/lib/cjs/index.js +12 -4
  40. package/lib/esm/components/SCCategoryHeader.js +2 -2
  41. package/lib/esm/components/SCComposer.d.ts +1 -0
  42. package/lib/esm/components/SCComposer.js +5 -4
  43. package/lib/esm/components/SCCreateGroupButton.d.ts +5 -2
  44. package/lib/esm/components/SCCreateGroupButton.js +5 -2
  45. package/lib/esm/components/SCEditGroupButton.d.ts +13 -0
  46. package/lib/esm/components/SCEditGroupButton.js +13 -0
  47. package/lib/esm/components/SCFeedObject.d.ts +37 -0
  48. package/lib/esm/components/SCFeedObject.js +38 -1
  49. package/lib/esm/components/SCGroupAutocomplete.d.ts +6 -0
  50. package/lib/esm/components/SCGroupAutocomplete.js +6 -0
  51. package/lib/esm/components/SCGroupFeedTemplate.d.ts +0 -22
  52. package/lib/esm/components/SCGroupFeedTemplate.js +1 -23
  53. package/lib/esm/components/{SCCreateGroup.d.ts → SCGroupForm.d.ts} +13 -10
  54. package/lib/esm/components/{SCCreateGroup.js → SCGroupForm.js} +13 -10
  55. package/lib/esm/components/SCGroupHeader.d.ts +12 -16
  56. package/lib/esm/components/SCGroupHeader.js +13 -17
  57. package/lib/esm/components/SCGroupInviteButton.d.ts +5 -2
  58. package/lib/esm/components/SCGroupInviteButton.js +5 -2
  59. package/lib/esm/components/SCGroupMembersWidget.d.ts +5 -1
  60. package/lib/esm/components/SCGroupMembersWidget.js +5 -1
  61. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  62. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  63. package/lib/esm/components/SCGroups.d.ts +41 -0
  64. package/lib/esm/components/SCGroups.js +41 -0
  65. package/lib/esm/components/SCNavigationToolbar.d.ts +2 -2
  66. package/lib/esm/components/SCNavigationToolbar.js +2 -2
  67. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  68. package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
  69. package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
  70. package/lib/esm/components/SCUserProfileHeader.js +2 -2
  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 +156 -59
  78. package/lib/esm/index.js +12 -4
  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
package/lib/cjs/index.js CHANGED
@@ -124,7 +124,7 @@ const SCChangeGroupCoverButton_1 = tslib_1.__importDefault(require("./components
124
124
  const SCChangeGroupPictureButton_1 = tslib_1.__importDefault(require("./components/SCChangeGroupPictureButton"));
125
125
  const SCGroupMembersButton_1 = tslib_1.__importDefault(require("./components/SCGroupMembersButton"));
126
126
  const SCCreateGroupButton_1 = tslib_1.__importDefault(require("./components/SCCreateGroupButton"));
127
- const SCCreateGroup_1 = tslib_1.__importDefault(require("./components/SCCreateGroup"));
127
+ const SCGroupForm_1 = tslib_1.__importDefault(require("./components/SCGroupForm"));
128
128
  const SCGroupInviteButton_1 = tslib_1.__importDefault(require("./components/SCGroupInviteButton"));
129
129
  const SCGroupInfoWidget_1 = tslib_1.__importDefault(require("./components/SCGroupInfoWidget"));
130
130
  const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
@@ -132,6 +132,10 @@ const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupT
132
132
  const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
133
133
  const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCGroupMembersWidget"));
134
134
  const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
135
+ const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
136
+ const SCEditGroupButton_1 = tslib_1.__importDefault(require("./components/SCEditGroupButton"));
137
+ const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
138
+ const SCGroupSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCGroupSettingsIconButton"));
135
139
  /**
136
140
  * Style fragments - Imports - End
137
141
  */
@@ -317,14 +321,18 @@ const theme = {
317
321
  SCChangeGroupPictureButton: SCChangeGroupPictureButton_1.default,
318
322
  SCGroupMembersButton: SCGroupMembersButton_1.default,
319
323
  SCCreateGroupButton: SCCreateGroupButton_1.default,
320
- SCCreateGroup: SCCreateGroup_1.default,
324
+ SCGroupForm: SCGroupForm_1.default,
321
325
  SCGroupInviteButton: SCGroupInviteButton_1.default,
322
326
  SCGroupInfoWidget: SCGroupInfoWidget_1.default,
323
327
  SCGroup: SCGroup_1.default,
324
328
  SCGroupTemplate: SCGroupTemplate_1.default,
325
329
  SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
326
330
  SCGroupMembersWidget: SCGroupMembersWidget_1.default,
327
- SCGroupRequestsWidget: SCGroupRequestsWidget_1.default
331
+ SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
332
+ SCGroups: SCGroups_1.default,
333
+ SCEditGroupButton: SCEditGroupButton_1.default,
334
+ SCGroupAutocomplete: SCGroupAutocomplete_1.default,
335
+ SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default
328
336
  },
329
337
  selfcommunity: {
330
338
  user: {
@@ -347,7 +355,7 @@ const theme = {
347
355
  sizeSmall: 40,
348
356
  sizeMedium: 60,
349
357
  sizeLarge: 90,
350
- sizeXLarge: 120
358
+ sizeXLarge: 205
351
359
  }
352
360
  }
353
361
  }
@@ -11,10 +11,10 @@ const Component = {
11
11
  flexDirection: 'column',
12
12
  justifyContent: 'center',
13
13
  alignItems: 'center',
14
- minHeight: 150,
14
+ minHeight: 250,
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,
17
+ height: 250,
18
18
  borderRadius: 0
19
19
  },
20
20
  '& .SCCategoryHeader-info': {
@@ -170,6 +170,7 @@ declare const Component: {
170
170
  };
171
171
  };
172
172
  layerCategoryRoot: ({ theme }: any) => {};
173
+ layerGroupRoot: ({ theme }: any) => {};
173
174
  layerCloseRoot: ({ theme }: any) => {
174
175
  '& .SCComposer-layer-content': {
175
176
  '& .MuiTypography-root': {
@@ -53,7 +53,7 @@ const Component = {
53
53
  left: theme.spacing(0.2),
54
54
  marginBottom: 0,
55
55
  backgroundColor: theme.palette.background.paper
56
- },
56
+ }
57
57
  }
58
58
  }
59
59
  },
@@ -81,7 +81,7 @@ const Component = {
81
81
  '& .SCComposer-general-error': {
82
82
  marginBottom: theme.spacing(2),
83
83
  color: theme.palette.error.main
84
- },
84
+ }
85
85
  },
86
86
  [theme.breakpoints.up('md')]: {
87
87
  '& .MuiDialog-paper': {
@@ -96,7 +96,7 @@ const Component = {
96
96
  '& .MuiDialogActions-root': {
97
97
  justifyContent: 'center'
98
98
  }
99
- },
99
+ }
100
100
  }
101
101
  }),
102
102
  attributesRoot: ({ theme }) => ({}),
@@ -171,6 +171,7 @@ const Component = {
171
171
  }
172
172
  }),
173
173
  layerCategoryRoot: ({ theme }) => ({}),
174
+ layerGroupRoot: ({ theme }) => ({}),
174
175
  layerCloseRoot: ({ theme }) => ({
175
176
  '& .SCComposer-layer-content': {
176
177
  '& .MuiTypography-root': {
@@ -210,7 +211,7 @@ const Component = {
210
211
  paddingRight: theme.spacing(4)
211
212
  }
212
213
  }
213
- }),
214
+ })
214
215
  }
215
216
  };
216
217
  export default Component;
@@ -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
  };
@@ -1,8 +1,11 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
- '& .MuiIcon-root': {
5
- fontSize: '1rem !important'
4
+ '& .MuiButton-startIcon': {
5
+ marginRight: theme.spacing(0.5),
6
+ '& .MuiIcon-root': {
7
+ fontSize: '0.75rem !important'
8
+ }
6
9
  }
7
10
  })
8
11
  }
@@ -0,0 +1,13 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiButton-startIcon': {
5
+ marginRight: any;
6
+ '& .MuiIcon-root': {
7
+ fontSize: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ };
13
+ export default Component;
@@ -0,0 +1,13 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .MuiButton-startIcon': {
5
+ marginRight: theme.spacing(0.5),
6
+ '& .MuiIcon-root': {
7
+ fontSize: '0.75rem !important'
8
+ }
9
+ }
10
+ })
11
+ }
12
+ };
13
+ export default Component;
@@ -59,6 +59,30 @@ declare const Component: {
59
59
  fontWeight: any;
60
60
  };
61
61
  };
62
+ '& .SCFeedObject-group': {
63
+ [x: number]: {
64
+ right: string;
65
+ };
66
+ position: string;
67
+ right: string;
68
+ transform: string;
69
+ };
70
+ };
71
+ '& .SCFeedObject-group': {
72
+ justifyContent: string;
73
+ padding: any;
74
+ '& a': {
75
+ padding: any;
76
+ marginBottom: any;
77
+ color: any;
78
+ '&:hover': {
79
+ backgroundColor: any;
80
+ };
81
+ '& span': {
82
+ color: any;
83
+ textTransform: string;
84
+ };
85
+ };
62
86
  };
63
87
  '& .SCFeedObject-content': {
64
88
  padding: any;
@@ -120,6 +144,19 @@ declare const Component: {
120
144
  '& .SCFeedObject-category': {
121
145
  borderBottom: string;
122
146
  margin: any;
147
+ '& .SCFeedObject-group': {
148
+ borderBottom: string;
149
+ margin: any;
150
+ '& .MuiChip-icon': {
151
+ marginLeft: any;
152
+ marginRight: any;
153
+ fontWeight: any;
154
+ };
155
+ };
156
+ };
157
+ '& .SCFeedObject-group': {
158
+ borderBottom: string;
159
+ margin: any;
123
160
  };
124
161
  '& .SCFeedObject-header': {
125
162
  '& .MuiCardHeader-avatar': {
@@ -59,6 +59,30 @@ const Component = {
59
59
  textTransform: 'initial',
60
60
  fontWeight: theme.typography.fontWeightBold
61
61
  }
62
+ },
63
+ '& .SCFeedObject-group': {
64
+ position: 'relative',
65
+ right: '10%',
66
+ [theme.breakpoints.up('sm')]: {
67
+ right: '30%'
68
+ },
69
+ transform: 'translateX(-50%)'
70
+ }
71
+ },
72
+ '& .SCFeedObject-group': {
73
+ justifyContent: 'flex-start',
74
+ padding: theme.spacing(0.5),
75
+ '& a': {
76
+ padding: theme.spacing(0.5),
77
+ marginBottom: theme.spacing(0.5),
78
+ color: theme.palette.common.white,
79
+ '&:hover': {
80
+ backgroundColor: theme.palette.common.black
81
+ },
82
+ '& span': {
83
+ color: theme.palette.common.white,
84
+ textTransform: 'initial'
85
+ }
62
86
  }
63
87
  },
64
88
  '& .SCFeedObject-content': {
@@ -120,7 +144,20 @@ const Component = {
120
144
  },
121
145
  '& .SCFeedObject-category': {
122
146
  borderBottom: '1px solid rgba(221, 221, 221, 1)',
123
- margin: theme.spacing(0, 2)
147
+ margin: theme.spacing(0, 2),
148
+ '& .SCFeedObject-group': {
149
+ borderBottom: 'none',
150
+ margin: theme.spacing(0),
151
+ '& .MuiChip-icon': {
152
+ marginLeft: theme.spacing(1),
153
+ marginRight: theme.spacing(-1),
154
+ fontWeight: theme.typography.fontWeightRegular
155
+ }
156
+ }
157
+ },
158
+ '& .SCFeedObject-group': {
159
+ borderBottom: '1px solid rgba(221, 221, 221, 1)',
160
+ margin: theme.spacing(1, 2, 0, 2)
124
161
  },
125
162
  '& .SCFeedObject-header': {
126
163
  '& .MuiCardHeader-avatar': {
@@ -0,0 +1,6 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ };
5
+ };
6
+ export default Component;
@@ -0,0 +1,6 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({})
4
+ }
5
+ };
6
+ export default Component;
@@ -2,28 +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
- };
24
- tabRoot: ({ theme }: any) => {
25
- textTransform: string;
26
- fontWeight: any;
27
5
  };
28
6
  skeletonRoot: ({ theme }: any) => {
29
7
  [x: number]: {
@@ -1,29 +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: '30%',
19
- width: '100%',
20
- backgroundColor: theme.palette.secondary.main
21
- }
22
- }
23
- }),
24
- tabRoot: ({ theme }) => ({
25
- textTransform: 'none',
26
- fontWeight: theme.typography.fontWeightBold
4
+ marginTop: 0
27
5
  }),
28
6
  skeletonRoot: ({ theme }) => ({
29
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,6 +1,10 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {};
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupMembersWidget-actions': {
5
+ margin: any;
6
+ };
7
+ };
4
8
  skeletonRoot: ({ theme }: any) => {};
5
9
  dialogRoot: ({ theme }: any) => {};
6
10
  };
@@ -1,6 +1,10 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
- root: ({ theme }) => ({}),
3
+ root: ({ theme }) => ({
4
+ '& .SCGroupMembersWidget-actions': {
5
+ margin: theme.spacing(0, 0, 2, 1)
6
+ }
7
+ }),
4
8
  skeletonRoot: ({ theme }) => ({}),
5
9
  dialogRoot: ({ theme }) => ({})
6
10
  }