@selfcommunity/react-theme-default 0.1.9-alpha.0 → 0.1.9-alpha.10

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 (103) hide show
  1. package/lib/cjs/components/SCChangeGroupCoverButton.d.ts +9 -0
  2. package/lib/cjs/components/SCChangeGroupCoverButton.js +11 -0
  3. package/lib/cjs/components/SCChangeGroupPictureButton.d.ts +9 -0
  4. package/lib/cjs/components/SCChangeGroupPictureButton.js +11 -0
  5. package/lib/cjs/components/SCComposer.d.ts +1 -0
  6. package/lib/cjs/components/SCComposer.js +5 -4
  7. package/lib/cjs/components/SCCreateGroupButton.d.ts +13 -0
  8. package/lib/cjs/components/SCCreateGroupButton.js +15 -0
  9. package/lib/cjs/components/SCEditGroupButton.d.ts +13 -0
  10. package/lib/cjs/components/SCEditGroupButton.js +15 -0
  11. package/lib/cjs/components/SCGroup.d.ts +36 -0
  12. package/lib/cjs/components/SCGroup.js +38 -0
  13. package/lib/cjs/components/SCGroupAutocomplete.d.ts +6 -0
  14. package/lib/cjs/components/SCGroupAutocomplete.js +8 -0
  15. package/lib/cjs/components/SCGroupFeedTemplate.d.ts +14 -0
  16. package/lib/cjs/components/SCGroupFeedTemplate.js +16 -0
  17. package/lib/cjs/components/SCGroupForm.d.ts +88 -0
  18. package/lib/cjs/components/SCGroupForm.js +91 -0
  19. package/lib/cjs/components/SCGroupHeader.d.ts +116 -0
  20. package/lib/cjs/components/SCGroupHeader.js +117 -0
  21. package/lib/cjs/components/SCGroupInfoWidget.d.ts +32 -0
  22. package/lib/cjs/components/SCGroupInfoWidget.js +34 -0
  23. package/lib/cjs/components/SCGroupInviteButton.d.ts +51 -0
  24. package/lib/cjs/components/SCGroupInviteButton.js +54 -0
  25. package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -0
  26. package/lib/cjs/components/SCGroupMembersButton.js +24 -0
  27. package/lib/cjs/components/SCGroupMembersWidget.d.ts +12 -0
  28. package/lib/cjs/components/SCGroupMembersWidget.js +14 -0
  29. package/lib/cjs/components/SCGroupRequestsWidget.d.ts +8 -0
  30. package/lib/cjs/components/SCGroupRequestsWidget.js +10 -0
  31. package/lib/cjs/components/SCGroupSettingsIconButton.d.ts +19 -0
  32. package/lib/cjs/components/SCGroupSettingsIconButton.js +21 -0
  33. package/lib/cjs/components/SCGroupTemplate.d.ts +17 -0
  34. package/lib/cjs/components/SCGroupTemplate.js +19 -0
  35. package/lib/cjs/components/SCGroups.d.ts +41 -0
  36. package/lib/cjs/components/SCGroups.js +43 -0
  37. package/lib/cjs/components/SCNavigationToolbar.d.ts +2 -2
  38. package/lib/cjs/components/SCNavigationToolbar.js +2 -2
  39. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -3
  40. package/lib/cjs/components/SCPrivateMessageEditor.js +0 -3
  41. package/lib/cjs/fonts/community/icons.eot +0 -0
  42. package/lib/cjs/fonts/community/icons.svg +11 -3
  43. package/lib/cjs/fonts/community/icons.ttf +0 -0
  44. package/lib/cjs/fonts/community/icons.woff +0 -0
  45. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  46. package/lib/cjs/fonts/community-icons.css +19 -7
  47. package/lib/cjs/index.d.ts +501 -5
  48. package/lib/cjs/index.js +45 -2
  49. package/lib/esm/components/SCChangeGroupCoverButton.d.ts +9 -0
  50. package/lib/esm/components/SCChangeGroupCoverButton.js +9 -0
  51. package/lib/esm/components/SCChangeGroupPictureButton.d.ts +9 -0
  52. package/lib/esm/components/SCChangeGroupPictureButton.js +9 -0
  53. package/lib/esm/components/SCComposer.d.ts +1 -0
  54. package/lib/esm/components/SCComposer.js +5 -4
  55. package/lib/esm/components/SCCreateGroupButton.d.ts +13 -0
  56. package/lib/esm/components/SCCreateGroupButton.js +13 -0
  57. package/lib/esm/components/SCEditGroupButton.d.ts +13 -0
  58. package/lib/esm/components/SCEditGroupButton.js +13 -0
  59. package/lib/esm/components/SCGroup.d.ts +36 -0
  60. package/lib/esm/components/SCGroup.js +36 -0
  61. package/lib/esm/components/SCGroupAutocomplete.d.ts +6 -0
  62. package/lib/esm/components/SCGroupAutocomplete.js +6 -0
  63. package/lib/esm/components/SCGroupFeedTemplate.d.ts +14 -0
  64. package/lib/esm/components/SCGroupFeedTemplate.js +14 -0
  65. package/lib/esm/components/SCGroupForm.d.ts +88 -0
  66. package/lib/esm/components/SCGroupForm.js +89 -0
  67. package/lib/esm/components/SCGroupHeader.d.ts +116 -0
  68. package/lib/esm/components/SCGroupHeader.js +115 -0
  69. package/lib/esm/components/SCGroupInfoWidget.d.ts +32 -0
  70. package/lib/esm/components/SCGroupInfoWidget.js +32 -0
  71. package/lib/esm/components/SCGroupInviteButton.d.ts +51 -0
  72. package/lib/esm/components/SCGroupInviteButton.js +52 -0
  73. package/lib/esm/components/SCGroupMembersButton.d.ts +22 -0
  74. package/lib/esm/components/SCGroupMembersButton.js +22 -0
  75. package/lib/esm/components/SCGroupMembersWidget.d.ts +12 -0
  76. package/lib/esm/components/SCGroupMembersWidget.js +12 -0
  77. package/lib/esm/components/SCGroupRequestsWidget.d.ts +8 -0
  78. package/lib/esm/components/SCGroupRequestsWidget.js +8 -0
  79. package/lib/esm/components/SCGroupSettingsIconButton.d.ts +19 -0
  80. package/lib/esm/components/SCGroupSettingsIconButton.js +19 -0
  81. package/lib/esm/components/SCGroupTemplate.d.ts +17 -0
  82. package/lib/esm/components/SCGroupTemplate.js +17 -0
  83. package/lib/esm/components/SCGroups.d.ts +41 -0
  84. package/lib/esm/components/SCGroups.js +41 -0
  85. package/lib/esm/components/SCNavigationToolbar.d.ts +2 -2
  86. package/lib/esm/components/SCNavigationToolbar.js +2 -2
  87. package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -3
  88. package/lib/esm/components/SCPrivateMessageEditor.js +0 -3
  89. package/lib/esm/fonts/community/icons.eot +0 -0
  90. package/lib/esm/fonts/community/icons.svg +11 -3
  91. package/lib/esm/fonts/community/icons.ttf +0 -0
  92. package/lib/esm/fonts/community/icons.woff +0 -0
  93. package/lib/esm/fonts/community/icons.woff2 +0 -0
  94. package/lib/esm/fonts/community-icons.css +19 -7
  95. package/lib/esm/index.d.ts +501 -5
  96. package/lib/esm/index.js +45 -2
  97. package/lib/umd/community/icons.eot +0 -0
  98. package/lib/umd/community/icons.svg +11 -3
  99. package/lib/umd/community/icons.ttf +0 -0
  100. package/lib/umd/community/icons.woff +0 -0
  101. package/lib/umd/community/icons.woff2 +0 -0
  102. package/lib/umd/react-theme-default.js +2 -2
  103. package/package.json +4 -4
@@ -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;
@@ -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;
@@ -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;
@@ -0,0 +1,36 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ borderRadius: any;
6
+ };
7
+ borderRadius: number;
8
+ paddingBottom: number;
9
+ overflow: string;
10
+ '& .SCBaseItemButton-image': {
11
+ marginRight: any;
12
+ '& .MuiAvatar-root': {
13
+ width: any;
14
+ height: any;
15
+ '& img': {
16
+ borderRadius: number;
17
+ };
18
+ };
19
+ };
20
+ '& .SCBaseItemButton-primary': {
21
+ fontWeight: any;
22
+ };
23
+ '& .SCBaseItemButton-secondary': {
24
+ fontSize: string;
25
+ };
26
+ '& .SCGroup-actions': {
27
+ '& .MuiIcon-root': {
28
+ fontSize: string;
29
+ color: any;
30
+ };
31
+ };
32
+ };
33
+ skeletonRoot: ({ theme }: any) => {};
34
+ };
35
+ };
36
+ export default Component;
@@ -0,0 +1,36 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ borderRadius: 0,
5
+ paddingBottom: 0,
6
+ overflow: 'visible',
7
+ [theme.breakpoints.up('sm')]: {
8
+ borderRadius: theme.shape.borderRadiusSm
9
+ },
10
+ '& .SCBaseItemButton-image': {
11
+ marginRight: theme.spacing(1.25),
12
+ '& .MuiAvatar-root': {
13
+ width: theme.selfcommunity.group.avatar.sizeSmall,
14
+ height: theme.selfcommunity.group.avatar.sizeSmall,
15
+ '& img': {
16
+ borderRadius: 0
17
+ }
18
+ }
19
+ },
20
+ '& .SCBaseItemButton-primary': {
21
+ fontWeight: theme.typography.fontWeightBold
22
+ },
23
+ '& .SCBaseItemButton-secondary': {
24
+ fontSize: '0.857rem'
25
+ },
26
+ '& .SCGroup-actions': {
27
+ '& .MuiIcon-root': {
28
+ fontSize: '1.286rem',
29
+ color: theme.palette.primary.main
30
+ }
31
+ }
32
+ }),
33
+ skeletonRoot: ({ theme }) => ({})
34
+ }
35
+ };
36
+ export default Component;
@@ -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;
@@ -0,0 +1,14 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ marginTop: number;
5
+ };
6
+ skeletonRoot: ({ theme }: any) => {
7
+ [x: number]: {
8
+ marginTop: number;
9
+ };
10
+ marginTop: number;
11
+ };
12
+ };
13
+ };
14
+ export default Component;
@@ -0,0 +1,14 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ marginTop: 0
5
+ }),
6
+ skeletonRoot: ({ theme }) => ({
7
+ marginTop: 0,
8
+ [theme.breakpoints.up('md')]: {
9
+ marginTop: 30
10
+ }
11
+ })
12
+ }
13
+ };
14
+ export default Component;
@@ -0,0 +1,88 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupForm-cover': {
5
+ position: string;
6
+ height: number;
7
+ minHeight: number;
8
+ '& .SCGroupForm-avatar': {
9
+ top: number;
10
+ display: string;
11
+ position: string;
12
+ transform: string;
13
+ left: string;
14
+ '& .MuiAvatar-root': {
15
+ height: any;
16
+ width: any;
17
+ borderRadius: string;
18
+ border: string;
19
+ objectFit: string;
20
+ '& img': {
21
+ height: any;
22
+ width: any;
23
+ };
24
+ };
25
+ };
26
+ '& .SCChangeGroupPictureButton-root': {
27
+ top: number;
28
+ left: string;
29
+ transform: string;
30
+ position: string;
31
+ display: string;
32
+ };
33
+ '& .SCChangeGroupCoverButton-root': {
34
+ position: string;
35
+ right: any;
36
+ bottom: any;
37
+ };
38
+ };
39
+ '& .SCGroupForm-header': {
40
+ marginTop: any;
41
+ color: any;
42
+ };
43
+ '& .SCGroupForm-error': {
44
+ color: any;
45
+ };
46
+ '& .SCGroupForm-switch': {
47
+ '& .MuiButtonBase-root': {
48
+ '&.Mui-checked': {
49
+ color: any;
50
+ '& + .MuiSwitch-track': {
51
+ backgroundColor: any;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ '& .SCGroupForm-switch-label': {
57
+ fontWeight: any;
58
+ display: string;
59
+ alignItems: string;
60
+ justifyContent: string;
61
+ gap: any;
62
+ };
63
+ '& .SCGroupForm-active': {
64
+ color: any;
65
+ };
66
+ '& .SCGroupForm-privacy-section': {
67
+ marginTop: any;
68
+ '& .SCGroupForm-privacy-section-info': {
69
+ marginBottom: any;
70
+ };
71
+ };
72
+ '& .SCGroupForm-visibility-section-info': {
73
+ marginTop: any;
74
+ };
75
+ '& .MuiDivider-root': {
76
+ marginTop: any;
77
+ border: string;
78
+ };
79
+ '& .SCGroupForm-invite-section': {
80
+ marginTop: any;
81
+ display: string;
82
+ justifyContent: string;
83
+ alignItems: string;
84
+ };
85
+ };
86
+ };
87
+ };
88
+ export default Component;
@@ -0,0 +1,89 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .SCGroupForm-cover': {
6
+ position: 'relative',
7
+ height: 120,
8
+ minHeight: 120,
9
+ '& .SCGroupForm-avatar': {
10
+ top: 120,
11
+ display: 'block',
12
+ position: 'absolute',
13
+ transform: 'translate(-50%, -50%)',
14
+ left: '50%',
15
+ '& .MuiAvatar-root': {
16
+ height: theme.selfcommunity.group.avatar.sizeMedium,
17
+ width: theme.selfcommunity.group.avatar.sizeMedium,
18
+ borderRadius: '50%',
19
+ border: `#FFF solid ${theme.spacing(0.5)}`,
20
+ objectFit: 'cover',
21
+ '& img': {
22
+ height: theme.selfcommunity.group.avatar.sizeMedium,
23
+ width: theme.selfcommunity.group.avatar.sizeMedium
24
+ }
25
+ }
26
+ },
27
+ '& .SCChangeGroupPictureButton-root': {
28
+ top: 120,
29
+ left: '50%',
30
+ transform: 'translate(90%, -50%)',
31
+ position: 'relative',
32
+ display: 'flex'
33
+ },
34
+ '& .SCChangeGroupCoverButton-root': {
35
+ position: 'absolute',
36
+ right: theme.spacing(2),
37
+ bottom: theme.spacing(2)
38
+ }
39
+ },
40
+ '& .SCGroupForm-header': {
41
+ marginTop: theme.spacing(4.5),
42
+ color: theme.palette.text.secondary
43
+ },
44
+ '& .SCGroupForm-error': {
45
+ color: theme.palette.error.main
46
+ },
47
+ '& .SCGroupForm-switch': {
48
+ '& .MuiButtonBase-root': {
49
+ '&.Mui-checked': {
50
+ color: theme.palette.secondary.main,
51
+ '& + .MuiSwitch-track': {
52
+ backgroundColor: theme.palette.secondary.main
53
+ }
54
+ }
55
+ }
56
+ },
57
+ '& .SCGroupForm-switch-label': {
58
+ fontWeight: theme.typography.fontWeightMedium,
59
+ display: 'flex',
60
+ alignItems: 'center',
61
+ justifyContent: 'center',
62
+ gap: theme.spacing(0.5)
63
+ },
64
+ '& .SCGroupForm-active': {
65
+ color: theme.palette.secondary.main
66
+ },
67
+ '& .SCGroupForm-privacy-section': {
68
+ marginTop: theme.spacing(2),
69
+ '& .SCGroupForm-privacy-section-info': {
70
+ marginBottom: theme.spacing(2)
71
+ }
72
+ },
73
+ '& .SCGroupForm-visibility-section-info': {
74
+ marginTop: theme.spacing(1)
75
+ },
76
+ '& .MuiDivider-root': {
77
+ marginTop: theme.spacing(2),
78
+ border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
79
+ },
80
+ '& .SCGroupForm-invite-section': {
81
+ marginTop: theme.spacing(2),
82
+ display: 'flex',
83
+ justifyContent: 'center',
84
+ alignItems: 'center'
85
+ }
86
+ })
87
+ }
88
+ };
89
+ export default Component;
@@ -0,0 +1,116 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupHeader-cover': {
5
+ [x: number]: {
6
+ borderRadius: any;
7
+ margin?: undefined;
8
+ } | {
9
+ margin: any;
10
+ borderRadius?: undefined;
11
+ };
12
+ position: string;
13
+ height: number;
14
+ minHeight: number;
15
+ borderRadius: number;
16
+ background: string;
17
+ boxShadow: string;
18
+ };
19
+ '& .SCGroupHeader-info': {
20
+ marginTop: number;
21
+ display: string;
22
+ flexDirection: string;
23
+ justifyContent: string;
24
+ alignItems: string;
25
+ '& .SCGroupHeader-members': {
26
+ marginBottom: string;
27
+ '& .SCGroupHeader-members-counter': {
28
+ fontSize: string;
29
+ fontWeight: any;
30
+ display: string;
31
+ };
32
+ };
33
+ '& .SCGroupHeader-visibility': {
34
+ display: string;
35
+ justifyContent: string;
36
+ alignItems: string;
37
+ gap: any;
38
+ '& .SCGroupHeader-visibility-item': {
39
+ fontSize: any;
40
+ fontWeight: any;
41
+ display: string;
42
+ justifyContent: string;
43
+ alignItems: string;
44
+ gap: any;
45
+ };
46
+ };
47
+ '& .SCEditGroupButton-root': {
48
+ marginLeft: string;
49
+ marginTop: any;
50
+ };
51
+ '& .SCGroupSubscribeButton-root': {
52
+ marginTop: any;
53
+ };
54
+ };
55
+ '& .SCGroupHeader-avatar': {
56
+ top: number;
57
+ display: string;
58
+ position: string;
59
+ transform: string;
60
+ left: string;
61
+ '& .MuiAvatar-root': {
62
+ height: any;
63
+ width: any;
64
+ borderRadius: string;
65
+ border: string;
66
+ objectFit: string;
67
+ };
68
+ };
69
+ '& .SCGroupHeader-change-picture': {
70
+ top: number;
71
+ left: string;
72
+ transform: string;
73
+ position: string;
74
+ display: string;
75
+ };
76
+ '& .SCGroupHeader-name': {
77
+ marginBottom: any;
78
+ fontWeight: any;
79
+ fontSize: string;
80
+ textAlign: string;
81
+ };
82
+ '& .SCGroupHeader-change-cover': {
83
+ position: string;
84
+ right: any;
85
+ bottom: any;
86
+ };
87
+ };
88
+ skeletonRoot: ({ theme }: any) => {
89
+ position: string;
90
+ '& .SCGroupHeader-cover': {
91
+ [x: number]: {
92
+ margin: any;
93
+ };
94
+ height: number;
95
+ };
96
+ '& .SCGroupHeader-avatar': {
97
+ top: number;
98
+ display: string;
99
+ position: string;
100
+ transform: string;
101
+ left: string;
102
+ "& .MuiSkeleton-root": {
103
+ border: string;
104
+ };
105
+ };
106
+ '& .SCGroupHeader-info': {
107
+ display: string;
108
+ justifyContent: string;
109
+ flexDirection: string;
110
+ alignItems: string;
111
+ marginTop: number;
112
+ };
113
+ };
114
+ };
115
+ };
116
+ export default Component;
@@ -0,0 +1,115 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCGroupHeader-cover': {
5
+ position: 'relative',
6
+ height: 150,
7
+ minHeight: 150,
8
+ borderRadius: 0,
9
+ background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
10
+ boxShadow: 'unset',
11
+ [theme.breakpoints.up('md')]: {
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
+ }
17
+ },
18
+ '& .SCGroupHeader-info': {
19
+ marginTop: 50,
20
+ display: 'flex',
21
+ flexDirection: 'column',
22
+ justifyContent: 'center',
23
+ alignItems: 'center',
24
+ '& .SCGroupHeader-members': {
25
+ marginBottom: `${theme.spacing(0)} !important`,
26
+ '& .SCGroupHeader-members-counter': {
27
+ fontSize: '1rem',
28
+ fontWeight: theme.typography.fontWeightRegular,
29
+ display: 'inline'
30
+ }
31
+ },
32
+ '& .SCGroupHeader-visibility': {
33
+ display: 'flex',
34
+ justifyContent: 'center',
35
+ alignItems: 'center',
36
+ gap: theme.spacing(1),
37
+ '& .SCGroupHeader-visibility-item': {
38
+ fontSize: theme.typography.fontSize,
39
+ fontWeight: theme.typography.fontWeightLight,
40
+ display: 'flex',
41
+ justifyContent: 'center',
42
+ alignItems: 'center',
43
+ gap: theme.spacing(0.5)
44
+ }
45
+ },
46
+ '& .SCEditGroupButton-root': {
47
+ marginLeft: 'auto',
48
+ marginTop: theme.spacing(2)
49
+ },
50
+ '& .SCGroupSubscribeButton-root': {
51
+ marginTop: theme.spacing(1)
52
+ }
53
+ },
54
+ '& .SCGroupHeader-avatar': {
55
+ top: 150,
56
+ display: 'block',
57
+ position: 'absolute',
58
+ transform: 'translate(-50%, -50%)',
59
+ left: '50%',
60
+ '& .MuiAvatar-root': {
61
+ height: theme.selfcommunity.group.avatar.sizeLarge,
62
+ width: theme.selfcommunity.group.avatar.sizeLarge,
63
+ borderRadius: '50%',
64
+ border: `#FFF solid ${theme.spacing(0.5)}`,
65
+ objectFit: 'cover'
66
+ }
67
+ },
68
+ '& .SCGroupHeader-change-picture': {
69
+ top: 150,
70
+ left: '50%',
71
+ transform: 'translate(90%, -50%)',
72
+ position: 'relative',
73
+ display: 'flex'
74
+ },
75
+ '& .SCGroupHeader-name': {
76
+ marginBottom: theme.spacing(1),
77
+ fontWeight: theme.typography.fontWeightBold,
78
+ fontSize: '1.429rem',
79
+ textAlign: 'center'
80
+ },
81
+ '& .SCGroupHeader-change-cover': {
82
+ position: 'absolute',
83
+ right: theme.spacing(2),
84
+ bottom: theme.spacing(2)
85
+ }
86
+ }),
87
+ skeletonRoot: ({ theme }) => ({
88
+ position: 'relative',
89
+ '& .SCGroupHeader-cover': {
90
+ [theme.breakpoints.up('lg')]: {
91
+ margin: theme.spacing(0, -5, 0, -5)
92
+ },
93
+ height: 150
94
+ },
95
+ '& .SCGroupHeader-avatar': {
96
+ top: 150,
97
+ display: 'block',
98
+ position: 'absolute',
99
+ transform: 'translate(-50%, -50%)',
100
+ left: '50%',
101
+ [`& .MuiSkeleton-root`]: {
102
+ border: '#FFF solid 5px'
103
+ }
104
+ },
105
+ '& .SCGroupHeader-info': {
106
+ display: 'flex',
107
+ justifyContent: 'center',
108
+ flexDirection: 'column',
109
+ alignItems: 'center',
110
+ marginTop: 60
111
+ }
112
+ })
113
+ }
114
+ };
115
+ export default Component;
@@ -0,0 +1,32 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCGroupInfoWidget-title': {
5
+ fontWeight: any;
6
+ marginBottom: any;
7
+ };
8
+ '& .SCGroupInfoWidget-description': {
9
+ marginBottom: any;
10
+ };
11
+ '& .SCGroupInfoWidget-privacy': {
12
+ marginBottom: any;
13
+ '& .SCGroupInfoWidget-privacy-title': {
14
+ color: any;
15
+ fontWeight: any;
16
+ display: string;
17
+ alignItems: string;
18
+ gap: any;
19
+ };
20
+ };
21
+ '& .SCGroupInfoWidget-visibility-title': {
22
+ color: any;
23
+ fontWeight: any;
24
+ display: string;
25
+ alignItems: string;
26
+ gap: any;
27
+ };
28
+ };
29
+ skeletonRoot: ({ theme }: any) => {};
30
+ };
31
+ };
32
+ export default Component;