@selfcommunity/react-theme-default 0.2.0-live.80 → 0.2.0-live.85
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/assets/social/contained/facebook.d.ts +2 -0
- package/lib/cjs/assets/social/contained/facebook.js +3 -0
- package/lib/cjs/assets/social/contained/google.d.ts +2 -0
- package/lib/cjs/assets/social/contained/google.js +3 -0
- package/lib/cjs/assets/social/contained/linkedin.d.ts +2 -0
- package/lib/cjs/assets/social/contained/linkedin.js +3 -0
- package/lib/cjs/assets/social/contained/twitter.d.ts +2 -0
- package/lib/cjs/assets/social/contained/twitter.js +3 -0
- package/lib/cjs/assets/social/outlined/facebook.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/facebook.js +3 -0
- package/lib/cjs/assets/social/outlined/google.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/google.js +3 -0
- package/lib/cjs/assets/social/outlined/linkedin.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/linkedin.js +3 -0
- package/lib/cjs/assets/social/outlined/twitter.d.ts +2 -0
- package/lib/cjs/assets/social/outlined/twitter.js +3 -0
- package/lib/cjs/components/SCCategoryFollowersButton.d.ts +22 -12
- package/lib/cjs/components/SCCategoryFollowersButton.js +24 -14
- package/lib/cjs/components/SCCommentObject.d.ts +12 -0
- package/lib/cjs/components/SCCommentObject.js +12 -0
- package/lib/cjs/components/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/cjs/components/SCDefaultDrawerContent.js +33 -0
- package/lib/cjs/components/SCEventHeader.d.ts +2 -4
- package/lib/cjs/components/SCEventHeader.js +6 -8
- package/lib/cjs/components/SCEventMembersWidget.d.ts +1 -10
- package/lib/cjs/components/SCEventMembersWidget.js +1 -8
- package/lib/cjs/components/SCEventParticipantsButton.d.ts +24 -5
- package/lib/cjs/components/SCEventParticipantsButton.js +23 -5
- package/lib/cjs/components/SCEventSubscribeButton.d.ts +3 -0
- package/lib/cjs/components/SCEventSubscribeButton.js +3 -0
- package/lib/cjs/components/SCEvents.d.ts +6 -0
- package/lib/cjs/components/SCEvents.js +7 -1
- package/lib/cjs/components/SCFeedObject.d.ts +15 -8
- package/lib/cjs/components/SCFeedObject.js +17 -10
- package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -12
- package/lib/cjs/components/SCGroupMembersButton.js +24 -14
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +3 -0
- package/lib/cjs/components/SCLiveStreamRoom.js +4 -1
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +5 -0
- package/lib/cjs/components/SCOnBoardingWidget.js +5 -0
- package/lib/cjs/components/SCTagAutocomplete.d.ts +6 -0
- package/lib/cjs/components/SCTagAutocomplete.js +8 -0
- package/lib/cjs/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/cjs/components/SCUserProfileEdit.js +17 -0
- package/lib/cjs/components/SCVoteButton.d.ts +1 -0
- package/lib/cjs/components/SCVoteButton.js +1 -0
- package/lib/cjs/index.d.ts +192 -54
- package/lib/cjs/index.js +30 -2
- package/lib/esm/assets/social/contained/facebook.d.ts +2 -0
- package/lib/esm/assets/social/contained/facebook.js +1 -0
- package/lib/esm/assets/social/contained/google.d.ts +2 -0
- package/lib/esm/assets/social/contained/google.js +1 -0
- package/lib/esm/assets/social/contained/linkedin.d.ts +2 -0
- package/lib/esm/assets/social/contained/linkedin.js +1 -0
- package/lib/esm/assets/social/contained/twitter.d.ts +2 -0
- package/lib/esm/assets/social/contained/twitter.js +1 -0
- package/lib/esm/assets/social/outlined/facebook.d.ts +2 -0
- package/lib/esm/assets/social/outlined/facebook.js +1 -0
- package/lib/esm/assets/social/outlined/google.d.ts +2 -0
- package/lib/esm/assets/social/outlined/google.js +1 -0
- package/lib/esm/assets/social/outlined/linkedin.d.ts +2 -0
- package/lib/esm/assets/social/outlined/linkedin.js +1 -0
- package/lib/esm/assets/social/outlined/twitter.d.ts +2 -0
- package/lib/esm/assets/social/outlined/twitter.js +1 -0
- package/lib/esm/components/SCCategoryFollowersButton.d.ts +22 -12
- package/lib/esm/components/SCCategoryFollowersButton.js +24 -14
- package/lib/esm/components/SCCommentObject.d.ts +12 -0
- package/lib/esm/components/SCCommentObject.js +12 -0
- package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
- package/lib/esm/components/SCEventHeader.d.ts +2 -4
- package/lib/esm/components/SCEventHeader.js +4 -6
- package/lib/esm/components/SCEventMembersWidget.d.ts +1 -10
- package/lib/esm/components/SCEventMembersWidget.js +1 -8
- package/lib/esm/components/SCEventParticipantsButton.d.ts +24 -5
- package/lib/esm/components/SCEventParticipantsButton.js +23 -5
- package/lib/esm/components/SCEventSubscribeButton.d.ts +3 -0
- package/lib/esm/components/SCEventSubscribeButton.js +3 -0
- package/lib/esm/components/SCEvents.d.ts +6 -0
- package/lib/esm/components/SCEvents.js +7 -1
- package/lib/esm/components/SCFeedObject.d.ts +15 -8
- package/lib/esm/components/SCFeedObject.js +17 -10
- package/lib/esm/components/SCGroupMembersButton.d.ts +22 -12
- package/lib/esm/components/SCGroupMembersButton.js +24 -14
- package/lib/esm/components/SCLiveStreamRoom.d.ts +3 -0
- package/lib/esm/components/SCLiveStreamRoom.js +4 -1
- package/lib/esm/components/SCOnBoardingWidget.d.ts +5 -0
- package/lib/esm/components/SCOnBoardingWidget.js +5 -0
- package/lib/esm/components/SCTagAutocomplete.d.ts +6 -0
- package/lib/esm/components/SCTagAutocomplete.js +6 -0
- package/lib/esm/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/esm/components/SCUserProfileEdit.js +17 -0
- package/lib/esm/components/SCVoteButton.d.ts +1 -0
- package/lib/esm/components/SCVoteButton.js +1 -0
- package/lib/esm/index.d.ts +192 -54
- package/lib/esm/index.js +25 -2
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +4 -4
|
@@ -44,9 +44,11 @@ declare const Component: {
|
|
|
44
44
|
'& a:not(.MuiChip-clickable)': {
|
|
45
45
|
color: string;
|
|
46
46
|
textDecoration: string;
|
|
47
|
+
display: string;
|
|
47
48
|
'&::after': {
|
|
48
49
|
content: string;
|
|
49
50
|
padding: any;
|
|
51
|
+
alignSelf: string;
|
|
50
52
|
};
|
|
51
53
|
'&:last-child::after': {
|
|
52
54
|
display: string;
|
|
@@ -60,7 +62,9 @@ declare const Component: {
|
|
|
60
62
|
};
|
|
61
63
|
};
|
|
62
64
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
63
|
-
|
|
65
|
+
[x: number]: {
|
|
66
|
+
marginRight: string;
|
|
67
|
+
};
|
|
64
68
|
};
|
|
65
69
|
};
|
|
66
70
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
@@ -78,6 +82,8 @@ declare const Component: {
|
|
|
78
82
|
textTransform: string;
|
|
79
83
|
};
|
|
80
84
|
};
|
|
85
|
+
borderBottom: string;
|
|
86
|
+
margin: any;
|
|
81
87
|
};
|
|
82
88
|
'& .SCFeedObject-content': {
|
|
83
89
|
padding: any;
|
|
@@ -137,21 +143,22 @@ declare const Component: {
|
|
|
137
143
|
boxShadow: string;
|
|
138
144
|
borderRadius: number;
|
|
139
145
|
'& .SCFeedObject-category': {
|
|
146
|
+
[x: number]: {
|
|
147
|
+
justifyContent: string;
|
|
148
|
+
};
|
|
140
149
|
borderBottom: string;
|
|
141
150
|
margin: any;
|
|
142
151
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
143
152
|
borderBottom: string;
|
|
144
|
-
|
|
153
|
+
marginTop: any;
|
|
145
154
|
'& .MuiChip-icon': {
|
|
146
|
-
marginLeft: any;
|
|
147
|
-
marginRight: any;
|
|
148
155
|
fontWeight: any;
|
|
149
156
|
};
|
|
150
157
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
158
|
+
'& .SCFeedObject-group .MuiChip-icon': {
|
|
159
|
+
marginLeft: any;
|
|
160
|
+
marginRight: any;
|
|
161
|
+
};
|
|
155
162
|
};
|
|
156
163
|
'& .SCFeedObject-header': {
|
|
157
164
|
'& .MuiCardHeader-avatar': {
|
|
@@ -47,9 +47,11 @@ const Component = {
|
|
|
47
47
|
'& a:not(.MuiChip-clickable)': {
|
|
48
48
|
color: 'inherit',
|
|
49
49
|
textDecoration: 'none',
|
|
50
|
+
display: 'inline-flex',
|
|
50
51
|
'&::after': {
|
|
51
52
|
content: '"\\2022"',
|
|
52
|
-
padding: theme.spacing()
|
|
53
|
+
padding: theme.spacing(),
|
|
54
|
+
alignSelf: 'center'
|
|
53
55
|
},
|
|
54
56
|
'&:last-child::after': {
|
|
55
57
|
display: 'none'
|
|
@@ -63,7 +65,9 @@ const Component = {
|
|
|
63
65
|
}
|
|
64
66
|
},
|
|
65
67
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
66
|
-
|
|
68
|
+
[theme.breakpoints.up('sm')]: {
|
|
69
|
+
marginRight: `${theme.spacing(1)} !important`
|
|
70
|
+
}
|
|
67
71
|
}
|
|
68
72
|
},
|
|
69
73
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
@@ -80,7 +84,9 @@ const Component = {
|
|
|
80
84
|
color: theme.palette.common.white,
|
|
81
85
|
textTransform: 'initial'
|
|
82
86
|
}
|
|
83
|
-
}
|
|
87
|
+
},
|
|
88
|
+
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
89
|
+
margin: theme.spacing(1, 2, 0, 2)
|
|
84
90
|
},
|
|
85
91
|
'& .SCFeedObject-content': {
|
|
86
92
|
padding: theme.spacing(1, 0, 0, 0),
|
|
@@ -144,18 +150,19 @@ const Component = {
|
|
|
144
150
|
margin: theme.spacing(0, 2),
|
|
145
151
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
146
152
|
borderBottom: 'none',
|
|
147
|
-
|
|
153
|
+
marginTop: theme.spacing(0.5),
|
|
148
154
|
'& .MuiChip-icon': {
|
|
149
|
-
marginLeft: theme.spacing(1),
|
|
150
|
-
marginRight: theme.spacing(-1),
|
|
151
155
|
fontWeight: theme.typography.fontWeightRegular
|
|
152
156
|
}
|
|
157
|
+
},
|
|
158
|
+
'& .SCFeedObject-group .MuiChip-icon': {
|
|
159
|
+
marginLeft: theme.spacing(1),
|
|
160
|
+
marginRight: theme.spacing(-1)
|
|
161
|
+
},
|
|
162
|
+
[theme.breakpoints.down('md')]: {
|
|
163
|
+
justifyContent: 'space-evenly'
|
|
153
164
|
}
|
|
154
165
|
},
|
|
155
|
-
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
156
|
-
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
157
|
-
margin: theme.spacing(1, 2, 0, 2)
|
|
158
|
-
},
|
|
159
166
|
'& .SCFeedObject-header': {
|
|
160
167
|
'& .MuiCardHeader-avatar': {
|
|
161
168
|
marginRight: theme.spacing(1.5),
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }: any) => {
|
|
3
|
+
root: ({ theme, subscribers }: any) => {
|
|
4
4
|
padding: any;
|
|
5
|
-
'& .MuiAvatarGroup-root
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
'& .MuiAvatarGroup-root': {
|
|
6
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
7
|
+
'&.MuiAvatar-colorDefault': {
|
|
8
|
+
marginLeft: number;
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
color: any;
|
|
11
|
+
border: string;
|
|
12
|
+
borderRadius: number;
|
|
13
|
+
padding: number;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'& .MuiAvatar-root': {
|
|
17
|
+
height: any;
|
|
14
18
|
border: string;
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
fontSize: string;
|
|
20
|
+
'&:first-of-type': {
|
|
21
|
+
width: any;
|
|
22
|
+
};
|
|
23
|
+
'&:not(:first-of-type)': {
|
|
24
|
+
width: any;
|
|
25
|
+
};
|
|
17
26
|
};
|
|
18
27
|
};
|
|
19
28
|
};
|
|
29
|
+
dialogRoot: () => {};
|
|
20
30
|
};
|
|
21
31
|
};
|
|
22
32
|
export default Component;
|
|
@@ -2,23 +2,33 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
5
|
+
root: ({ theme, subscribers }) => ({
|
|
6
6
|
padding: theme.spacing(),
|
|
7
|
-
'& .MuiAvatarGroup-root
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
7
|
+
'& .MuiAvatarGroup-root': {
|
|
8
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
9
|
+
'&.MuiAvatar-colorDefault': {
|
|
10
|
+
marginLeft: 0,
|
|
11
|
+
backgroundColor: 'transparent',
|
|
12
|
+
color: theme.palette.primary.main,
|
|
13
|
+
border: '0 none',
|
|
14
|
+
borderRadius: 0,
|
|
15
|
+
padding: 1
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
'& .MuiAvatar-root': {
|
|
19
|
+
height: theme.selfcommunity.user.avatar.sizeSmall,
|
|
20
|
+
border: `1px solid ${theme.palette.common.white}`,
|
|
21
|
+
fontSize: '0.7rem',
|
|
22
|
+
'&:first-of-type': {
|
|
23
|
+
width: subscribers > 3 ? 'auto' : theme.selfcommunity.user.avatar.sizeSmall
|
|
24
|
+
},
|
|
25
|
+
'&:not(:first-of-type)': {
|
|
26
|
+
width: theme.selfcommunity.user.avatar.sizeSmall
|
|
27
|
+
}
|
|
19
28
|
}
|
|
20
29
|
}
|
|
21
|
-
})
|
|
30
|
+
}),
|
|
31
|
+
dialogRoot: () => ({})
|
|
22
32
|
}
|
|
23
33
|
};
|
|
24
34
|
exports.default = Component;
|
|
@@ -11,7 +11,7 @@ const Component = {
|
|
|
11
11
|
width: '100%'
|
|
12
12
|
},
|
|
13
13
|
[`& .SCLiveStreamRoom-prejoin`]: {
|
|
14
|
-
padding: theme.spacing(
|
|
14
|
+
padding: theme.spacing(),
|
|
15
15
|
display: 'grid',
|
|
16
16
|
placeItems: 'center',
|
|
17
17
|
height: '100%',
|
|
@@ -25,6 +25,9 @@ const Component = {
|
|
|
25
25
|
opacity: 0.5
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
|
+
[`& .SCLiveStreamRoom-share-link`]: {
|
|
29
|
+
marginTop: theme.spacing(3)
|
|
30
|
+
},
|
|
28
31
|
[`& .SCLiveStreamRoom-conference`]: {
|
|
29
32
|
width: '100%',
|
|
30
33
|
display: 'flex',
|
|
@@ -457,6 +457,11 @@ declare const Component: {
|
|
|
457
457
|
'& .SCOnBoardingWidget-app-image': {
|
|
458
458
|
width: string;
|
|
459
459
|
};
|
|
460
|
+
'& .SCOnBoardingWidget-app-image-android': {
|
|
461
|
+
width: string;
|
|
462
|
+
marginTop: any;
|
|
463
|
+
marginBottom: any;
|
|
464
|
+
};
|
|
460
465
|
};
|
|
461
466
|
'& .SCOnBoardingWidget-app-step': {
|
|
462
467
|
marginBottom: any;
|
|
@@ -455,6 +455,11 @@ const Component = {
|
|
|
455
455
|
alignItems: 'center',
|
|
456
456
|
'& .SCOnBoardingWidget-app-image': {
|
|
457
457
|
width: 'auto'
|
|
458
|
+
},
|
|
459
|
+
'& .SCOnBoardingWidget-app-image-android': {
|
|
460
|
+
width: 'auto',
|
|
461
|
+
marginTop: theme.spacing(1),
|
|
462
|
+
marginBottom: theme.spacing(2)
|
|
458
463
|
}
|
|
459
464
|
},
|
|
460
465
|
'& .SCOnBoardingWidget-app-step': {
|
|
@@ -35,6 +35,23 @@ declare const Component: {
|
|
|
35
35
|
marginBottom: any;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
border: string;
|
|
41
|
+
'& th,td': {
|
|
42
|
+
padding: number;
|
|
43
|
+
fontWeight: string;
|
|
44
|
+
};
|
|
45
|
+
'& td': {
|
|
46
|
+
padding: number;
|
|
47
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
48
|
+
textTransform: string;
|
|
49
|
+
position: string;
|
|
50
|
+
top: any;
|
|
51
|
+
left: any;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
38
55
|
'& .SCUserProfileEdit-language-switcher': {
|
|
39
56
|
margin: any;
|
|
40
57
|
};
|
|
@@ -37,6 +37,23 @@ const Component = {
|
|
|
37
37
|
marginBottom: theme.spacing(2)
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
41
|
+
backgroundColor: 'transparent',
|
|
42
|
+
border: '1px solid #3b3b3b',
|
|
43
|
+
'& th,td': {
|
|
44
|
+
padding: 12,
|
|
45
|
+
fontWeight: 'bold'
|
|
46
|
+
},
|
|
47
|
+
'& td': {
|
|
48
|
+
padding: 12,
|
|
49
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
50
|
+
textTransform: 'capitalize',
|
|
51
|
+
position: 'relative',
|
|
52
|
+
top: theme.spacing(-1),
|
|
53
|
+
left: theme.spacing()
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
40
57
|
'& .SCUserProfileEdit-language-switcher': {
|
|
41
58
|
margin: theme.spacing(1, 0, 1, 0)
|
|
42
59
|
},
|