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