@selfcommunity/react-theme-default 0.4.2-alpha.0 → 0.4.2-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.
- 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/SCEventMembersWidget.d.ts +1 -10
- package/lib/cjs/components/SCEventMembersWidget.js +1 -8
- package/lib/cjs/components/SCEventParticipantsButton.d.ts +22 -12
- package/lib/cjs/components/SCEventParticipantsButton.js +22 -13
- package/lib/cjs/components/SCEvents.d.ts +6 -0
- package/lib/cjs/components/SCEvents.js +7 -1
- package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -12
- package/lib/cjs/components/SCGroupMembersButton.js +24 -14
- package/lib/cjs/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/cjs/components/SCUserProfileEdit.js +17 -0
- package/lib/cjs/index.d.ts +123 -52
- package/lib/cjs/index.js +26 -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/SCEventMembersWidget.d.ts +1 -10
- package/lib/esm/components/SCEventMembersWidget.js +1 -8
- package/lib/esm/components/SCEventParticipantsButton.d.ts +22 -12
- package/lib/esm/components/SCEventParticipantsButton.js +22 -13
- package/lib/esm/components/SCEvents.d.ts +6 -0
- package/lib/esm/components/SCEvents.js +7 -1
- package/lib/esm/components/SCGroupMembersButton.d.ts +22 -12
- package/lib/esm/components/SCGroupMembersButton.js +24 -14
- package/lib/esm/components/SCUserProfileEdit.d.ts +17 -0
- package/lib/esm/components/SCUserProfileEdit.js +17 -0
- package/lib/esm/index.d.ts +123 -52
- package/lib/esm/index.js +21 -2
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }: {
|
|
3
|
+
root: ({ theme, followers }: {
|
|
4
4
|
theme: any;
|
|
5
|
+
followers: any;
|
|
5
6
|
}) => {
|
|
6
7
|
gap: any;
|
|
7
8
|
marginTop: string;
|
|
@@ -9,18 +10,27 @@ declare const Component: {
|
|
|
9
10
|
'&:hover': {
|
|
10
11
|
backgroundColor: string;
|
|
11
12
|
};
|
|
12
|
-
'& .MuiAvatarGroup-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
'& .MuiAvatarGroup-root': {
|
|
14
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
15
|
+
'&.MuiAvatar-colorDefault': {
|
|
16
|
+
marginLeft: number;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
color: any;
|
|
19
|
+
border: string;
|
|
20
|
+
borderRadius: number;
|
|
21
|
+
padding: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'& .MuiAvatar-root': {
|
|
25
|
+
height: any;
|
|
21
26
|
border: string;
|
|
22
|
-
|
|
23
|
-
|
|
27
|
+
fontSize: string;
|
|
28
|
+
'&:first-of-type': {
|
|
29
|
+
width: any;
|
|
30
|
+
};
|
|
31
|
+
'&:not(:first-of-type)': {
|
|
32
|
+
width: any;
|
|
33
|
+
};
|
|
24
34
|
};
|
|
25
35
|
};
|
|
26
36
|
'& .SCEventParticipantsButton-participants': {
|
|
@@ -1,24 +1,33 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }) => ({
|
|
3
|
+
root: ({ theme, followers }) => ({
|
|
4
4
|
gap: theme.spacing(1),
|
|
5
5
|
marginTop: '0 !important',
|
|
6
6
|
minWidth: 'auto',
|
|
7
7
|
'&:hover': {
|
|
8
8
|
backgroundColor: 'unset'
|
|
9
9
|
},
|
|
10
|
-
'& .MuiAvatarGroup-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
'& .MuiAvatarGroup-root': {
|
|
11
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
12
|
+
'&.MuiAvatar-colorDefault': {
|
|
13
|
+
marginLeft: 0,
|
|
14
|
+
backgroundColor: 'transparent',
|
|
15
|
+
color: theme.palette.primary.main,
|
|
16
|
+
border: '0 none',
|
|
17
|
+
borderRadius: 0,
|
|
18
|
+
padding: 1
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
'& .MuiAvatar-root': {
|
|
22
|
+
height: theme.selfcommunity.user.avatar.sizeSmall,
|
|
23
|
+
border: `1px solid ${theme.palette.common.white}`,
|
|
24
|
+
fontSize: '0.7rem',
|
|
25
|
+
'&:first-of-type': {
|
|
26
|
+
width: followers > 3 ? 'auto' : theme.selfcommunity.user.avatar.sizeSmall
|
|
27
|
+
},
|
|
28
|
+
'&:not(:first-of-type)': {
|
|
29
|
+
width: theme.selfcommunity.user.avatar.sizeSmall
|
|
30
|
+
}
|
|
22
31
|
}
|
|
23
32
|
},
|
|
24
33
|
'& .SCEventParticipantsButton-participants': {
|
|
@@ -19,6 +19,9 @@ declare const Component: {
|
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
21
|
'& .SCEvents-events': {
|
|
22
|
+
[x: number]: {
|
|
23
|
+
marginBottom: any;
|
|
24
|
+
};
|
|
22
25
|
marginTop: any;
|
|
23
26
|
'& .SCEvents-item': {
|
|
24
27
|
paddingTop: any;
|
|
@@ -44,6 +47,9 @@ declare const Component: {
|
|
|
44
47
|
flexDirection: string;
|
|
45
48
|
alignItems: string;
|
|
46
49
|
'& .SCEvent-skeleton-root': {
|
|
50
|
+
[x: number]: {
|
|
51
|
+
width: string;
|
|
52
|
+
};
|
|
47
53
|
marginBottom: any;
|
|
48
54
|
minWidth: string;
|
|
49
55
|
};
|
|
@@ -20,6 +20,9 @@ const Component = {
|
|
|
20
20
|
},
|
|
21
21
|
'& .SCEvents-events': {
|
|
22
22
|
marginTop: theme.spacing(2),
|
|
23
|
+
[theme.breakpoints.down('md')]: {
|
|
24
|
+
marginBottom: theme.spacing(7)
|
|
25
|
+
},
|
|
23
26
|
'& .SCEvents-item': {
|
|
24
27
|
paddingTop: theme.spacing(2)
|
|
25
28
|
},
|
|
@@ -45,7 +48,10 @@ const Component = {
|
|
|
45
48
|
alignItems: 'flex-start',
|
|
46
49
|
'& .SCEvent-skeleton-root': {
|
|
47
50
|
marginBottom: theme.spacing(2),
|
|
48
|
-
minWidth: '50%'
|
|
51
|
+
minWidth: '50%',
|
|
52
|
+
[theme.breakpoints.down('md')]: {
|
|
53
|
+
width: '100%'
|
|
54
|
+
}
|
|
49
55
|
},
|
|
50
56
|
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
|
|
51
57
|
maxWidth: '70%'
|
|
@@ -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;
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }) => ({
|
|
3
|
+
root: ({ theme, subscribers }) => ({
|
|
4
4
|
padding: theme.spacing(),
|
|
5
|
-
'& .MuiAvatarGroup-root
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
5
|
+
'& .MuiAvatarGroup-root': {
|
|
6
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
7
|
+
'&.MuiAvatar-colorDefault': {
|
|
8
|
+
marginLeft: 0,
|
|
9
|
+
backgroundColor: 'transparent',
|
|
10
|
+
color: theme.palette.primary.main,
|
|
11
|
+
border: '0 none',
|
|
12
|
+
borderRadius: 0,
|
|
13
|
+
padding: 1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
'& .MuiAvatar-root': {
|
|
17
|
+
height: theme.selfcommunity.user.avatar.sizeSmall,
|
|
18
|
+
border: `1px solid ${theme.palette.common.white}`,
|
|
19
|
+
fontSize: '0.7rem',
|
|
20
|
+
'&:first-of-type': {
|
|
21
|
+
width: subscribers > 3 ? 'auto' : theme.selfcommunity.user.avatar.sizeSmall
|
|
22
|
+
},
|
|
23
|
+
'&:not(:first-of-type)': {
|
|
24
|
+
width: theme.selfcommunity.user.avatar.sizeSmall
|
|
25
|
+
}
|
|
17
26
|
}
|
|
18
27
|
}
|
|
19
|
-
})
|
|
28
|
+
}),
|
|
29
|
+
dialogRoot: () => ({})
|
|
20
30
|
}
|
|
21
31
|
};
|
|
22
32
|
export default Component;
|
|
@@ -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
|
};
|
|
@@ -35,6 +35,23 @@ const Component = {
|
|
|
35
35
|
marginBottom: theme.spacing(2)
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
39
|
+
backgroundColor: 'transparent',
|
|
40
|
+
border: '1px solid #3b3b3b',
|
|
41
|
+
'& th,td': {
|
|
42
|
+
padding: 12,
|
|
43
|
+
fontWeight: 'bold'
|
|
44
|
+
},
|
|
45
|
+
'& td': {
|
|
46
|
+
padding: 12,
|
|
47
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
48
|
+
textTransform: 'capitalize',
|
|
49
|
+
position: 'relative',
|
|
50
|
+
top: theme.spacing(-1),
|
|
51
|
+
left: theme.spacing()
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
38
55
|
'& .SCUserProfileEdit-language-switcher': {
|
|
39
56
|
margin: theme.spacing(1, 0, 1, 0)
|
|
40
57
|
},
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -4,6 +4,20 @@ import './styles/reset.css';
|
|
|
4
4
|
/**
|
|
5
5
|
* Style fragments - Imports - End
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Style assets - Imports - Start
|
|
9
|
+
*/
|
|
10
|
+
import GoogleIconContained from './assets/social/contained/google';
|
|
11
|
+
import FacebookIconContained from './assets/social/contained/facebook';
|
|
12
|
+
import TwitterIconContained from './assets/social/contained/twitter';
|
|
13
|
+
import LinkedinIconContained from './assets/social/contained/linkedin';
|
|
14
|
+
import GoogleIconOutlined from './assets/social/outlined/google';
|
|
15
|
+
import FacebookIconOutlined from './assets/social/outlined/facebook';
|
|
16
|
+
import TwitterIconOutlined from './assets/social/outlined/twitter';
|
|
17
|
+
import LinkedinIconOutlined from './assets/social/outlined/linkedin';
|
|
18
|
+
/**
|
|
19
|
+
* Style assets - Imports - End
|
|
20
|
+
*/
|
|
7
21
|
/**
|
|
8
22
|
* Export default theme
|
|
9
23
|
*/
|
|
@@ -708,23 +722,33 @@ declare const theme: {
|
|
|
708
722
|
};
|
|
709
723
|
SCCategoryFollowersButton: {
|
|
710
724
|
styleOverrides: {
|
|
711
|
-
root: ({ theme }: any) => {
|
|
725
|
+
root: ({ theme, followers }: any) => {
|
|
712
726
|
padding: any;
|
|
713
|
-
'& .MuiAvatarGroup-root
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
727
|
+
'& .MuiAvatarGroup-root': {
|
|
728
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
729
|
+
'&.MuiAvatar-colorDefault': {
|
|
730
|
+
marginLeft: number;
|
|
731
|
+
backgroundColor: string;
|
|
732
|
+
color: any;
|
|
733
|
+
border: string;
|
|
734
|
+
borderRadius: number;
|
|
735
|
+
padding: number;
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
'& .MuiAvatar-root': {
|
|
739
|
+
height: any;
|
|
722
740
|
border: string;
|
|
723
|
-
|
|
724
|
-
|
|
741
|
+
fontSize: string;
|
|
742
|
+
'&:first-of-type': {
|
|
743
|
+
width: any;
|
|
744
|
+
};
|
|
745
|
+
'&:not(:first-of-type)': {
|
|
746
|
+
width: any;
|
|
747
|
+
};
|
|
725
748
|
};
|
|
726
749
|
};
|
|
727
750
|
};
|
|
751
|
+
dialogRoot: () => {};
|
|
728
752
|
};
|
|
729
753
|
};
|
|
730
754
|
SCCategoryHeader: {
|
|
@@ -963,6 +987,18 @@ declare const theme: {
|
|
|
963
987
|
maxWidth: string;
|
|
964
988
|
};
|
|
965
989
|
};
|
|
990
|
+
'& .SCCommentObject-flag-chip': {
|
|
991
|
+
borderRadius: number;
|
|
992
|
+
display: string;
|
|
993
|
+
width: string;
|
|
994
|
+
};
|
|
995
|
+
};
|
|
996
|
+
'& .SCCommentObject-collapsed': {
|
|
997
|
+
justifyContent: string;
|
|
998
|
+
alignItems: string;
|
|
999
|
+
'& .MuiCardContent-root': {
|
|
1000
|
+
marginLeft: any;
|
|
1001
|
+
};
|
|
966
1002
|
};
|
|
967
1003
|
'& .SCCommentObject-show-more-content': {
|
|
968
1004
|
color: any;
|
|
@@ -3277,23 +3313,33 @@ declare const theme: {
|
|
|
3277
3313
|
};
|
|
3278
3314
|
SCGroupMembersButton: {
|
|
3279
3315
|
styleOverrides: {
|
|
3280
|
-
root: ({ theme }: any) => {
|
|
3316
|
+
root: ({ theme, subscribers }: any) => {
|
|
3281
3317
|
padding: any;
|
|
3282
|
-
'& .MuiAvatarGroup-root
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3318
|
+
'& .MuiAvatarGroup-root': {
|
|
3319
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
3320
|
+
'&.MuiAvatar-colorDefault': {
|
|
3321
|
+
marginLeft: number;
|
|
3322
|
+
backgroundColor: string;
|
|
3323
|
+
color: any;
|
|
3324
|
+
border: string;
|
|
3325
|
+
borderRadius: number;
|
|
3326
|
+
padding: number;
|
|
3327
|
+
};
|
|
3328
|
+
};
|
|
3329
|
+
'& .MuiAvatar-root': {
|
|
3330
|
+
height: any;
|
|
3291
3331
|
border: string;
|
|
3292
|
-
|
|
3293
|
-
|
|
3332
|
+
fontSize: string;
|
|
3333
|
+
'&:first-of-type': {
|
|
3334
|
+
width: any;
|
|
3335
|
+
};
|
|
3336
|
+
'&:not(:first-of-type)': {
|
|
3337
|
+
width: any;
|
|
3338
|
+
};
|
|
3294
3339
|
};
|
|
3295
3340
|
};
|
|
3296
3341
|
};
|
|
3342
|
+
dialogRoot: () => {};
|
|
3297
3343
|
};
|
|
3298
3344
|
};
|
|
3299
3345
|
SCGroupMembersWidget: {
|
|
@@ -6638,6 +6684,23 @@ declare const theme: {
|
|
|
6638
6684
|
marginBottom: any;
|
|
6639
6685
|
};
|
|
6640
6686
|
};
|
|
6687
|
+
'& .SCUserSocialAssociation-provider-table': {
|
|
6688
|
+
backgroundColor: string;
|
|
6689
|
+
border: string;
|
|
6690
|
+
'& th,td': {
|
|
6691
|
+
padding: number;
|
|
6692
|
+
fontWeight: string;
|
|
6693
|
+
};
|
|
6694
|
+
'& td': {
|
|
6695
|
+
padding: number;
|
|
6696
|
+
'& .SCUserSocialAssociation-provider-name': {
|
|
6697
|
+
textTransform: string;
|
|
6698
|
+
position: string;
|
|
6699
|
+
top: any;
|
|
6700
|
+
left: any;
|
|
6701
|
+
};
|
|
6702
|
+
};
|
|
6703
|
+
};
|
|
6641
6704
|
'& .SCUserProfileEdit-language-switcher': {
|
|
6642
6705
|
margin: any;
|
|
6643
6706
|
};
|
|
@@ -7270,6 +7333,9 @@ declare const theme: {
|
|
|
7270
7333
|
};
|
|
7271
7334
|
};
|
|
7272
7335
|
'& .SCEvents-events': {
|
|
7336
|
+
[x: number]: {
|
|
7337
|
+
marginBottom: any;
|
|
7338
|
+
};
|
|
7273
7339
|
marginTop: any;
|
|
7274
7340
|
'& .SCEvents-item': {
|
|
7275
7341
|
paddingTop: any;
|
|
@@ -7295,6 +7361,9 @@ declare const theme: {
|
|
|
7295
7361
|
flexDirection: string;
|
|
7296
7362
|
alignItems: string;
|
|
7297
7363
|
'& .SCEvent-skeleton-root': {
|
|
7364
|
+
[x: number]: {
|
|
7365
|
+
width: string;
|
|
7366
|
+
};
|
|
7298
7367
|
marginBottom: any;
|
|
7299
7368
|
minWidth: string;
|
|
7300
7369
|
};
|
|
@@ -7710,30 +7779,37 @@ declare const theme: {
|
|
|
7710
7779
|
};
|
|
7711
7780
|
SCEventParticipantsButton: {
|
|
7712
7781
|
styleOverrides: {
|
|
7713
|
-
root: ({ theme }: {
|
|
7782
|
+
root: ({ theme, followers }: {
|
|
7714
7783
|
theme: any;
|
|
7784
|
+
followers: any;
|
|
7715
7785
|
}) => {
|
|
7716
|
-
/**
|
|
7717
|
-
* Style fragments - Imports - Start
|
|
7718
|
-
*/
|
|
7719
7786
|
gap: any;
|
|
7720
7787
|
marginTop: string;
|
|
7721
7788
|
minWidth: string;
|
|
7722
7789
|
'&:hover': {
|
|
7723
7790
|
backgroundColor: string;
|
|
7724
7791
|
};
|
|
7725
|
-
'& .MuiAvatarGroup-
|
|
7726
|
-
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
|
|
7730
|
-
|
|
7731
|
-
|
|
7732
|
-
|
|
7733
|
-
|
|
7792
|
+
'& .MuiAvatarGroup-root': {
|
|
7793
|
+
'&:not(.SCAvatarGroupSkeleton-root) .MuiAvatar-root': {
|
|
7794
|
+
'&.MuiAvatar-colorDefault': {
|
|
7795
|
+
marginLeft: number;
|
|
7796
|
+
backgroundColor: string;
|
|
7797
|
+
color: any;
|
|
7798
|
+
border: string;
|
|
7799
|
+
borderRadius: number;
|
|
7800
|
+
padding: number;
|
|
7801
|
+
};
|
|
7802
|
+
};
|
|
7803
|
+
'& .MuiAvatar-root': {
|
|
7804
|
+
height: any;
|
|
7734
7805
|
border: string;
|
|
7735
|
-
|
|
7736
|
-
|
|
7806
|
+
fontSize: string;
|
|
7807
|
+
'&:first-of-type': {
|
|
7808
|
+
width: any;
|
|
7809
|
+
};
|
|
7810
|
+
'&:not(:first-of-type)': {
|
|
7811
|
+
width: any;
|
|
7812
|
+
};
|
|
7737
7813
|
};
|
|
7738
7814
|
};
|
|
7739
7815
|
'& .SCEventParticipantsButton-participants': {
|
|
@@ -7971,9 +8047,6 @@ declare const theme: {
|
|
|
7971
8047
|
root: ({ theme }: {
|
|
7972
8048
|
theme: any;
|
|
7973
8049
|
}) => {
|
|
7974
|
-
/**
|
|
7975
|
-
* Style fragments - Imports - Start
|
|
7976
|
-
*/
|
|
7977
8050
|
'& .SCEventMembersWidget-content': {
|
|
7978
8051
|
padding: string;
|
|
7979
8052
|
'& .SCEventMembersWidget-title': {
|
|
@@ -8024,16 +8097,7 @@ declare const theme: {
|
|
|
8024
8097
|
};
|
|
8025
8098
|
};
|
|
8026
8099
|
};
|
|
8027
|
-
dialogRoot: (
|
|
8028
|
-
theme: any;
|
|
8029
|
-
}) => {
|
|
8030
|
-
'& .SCEventMembersWidget-infinite-scroll': {
|
|
8031
|
-
[x: number]: {
|
|
8032
|
-
height: string;
|
|
8033
|
-
};
|
|
8034
|
-
height: string;
|
|
8035
|
-
};
|
|
8036
|
-
};
|
|
8100
|
+
dialogRoot: () => {};
|
|
8037
8101
|
};
|
|
8038
8102
|
};
|
|
8039
8103
|
SCRelatedEventsWidget: {
|
|
@@ -8419,3 +8483,10 @@ declare const theme: {
|
|
|
8419
8483
|
};
|
|
8420
8484
|
};
|
|
8421
8485
|
export default theme;
|
|
8486
|
+
/**
|
|
8487
|
+
* Style assets - Exports - Start
|
|
8488
|
+
*/
|
|
8489
|
+
export { GoogleIconContained, FacebookIconContained, LinkedinIconContained, TwitterIconContained, GoogleIconOutlined, FacebookIconOutlined, LinkedinIconOutlined, TwitterIconOutlined };
|
|
8490
|
+
/**
|
|
8491
|
+
* Style assets - Exports - End
|
|
8492
|
+
*/
|
package/lib/esm/index.js
CHANGED
|
@@ -165,6 +165,20 @@ import SCWidget from './components/SCWidget';
|
|
|
165
165
|
/**
|
|
166
166
|
* Style fragments - Imports - End
|
|
167
167
|
*/
|
|
168
|
+
/**
|
|
169
|
+
* Style assets - Imports - Start
|
|
170
|
+
*/
|
|
171
|
+
import GoogleIconContained from './assets/social/contained/google';
|
|
172
|
+
import FacebookIconContained from './assets/social/contained/facebook';
|
|
173
|
+
import TwitterIconContained from './assets/social/contained/twitter';
|
|
174
|
+
import LinkedinIconContained from './assets/social/contained/linkedin';
|
|
175
|
+
import GoogleIconOutlined from './assets/social/outlined/google';
|
|
176
|
+
import FacebookIconOutlined from './assets/social/outlined/facebook';
|
|
177
|
+
import TwitterIconOutlined from './assets/social/outlined/twitter';
|
|
178
|
+
import LinkedinIconOutlined from './assets/social/outlined/linkedin';
|
|
179
|
+
/**
|
|
180
|
+
* Style assets - Imports - End
|
|
181
|
+
*/
|
|
168
182
|
/**
|
|
169
183
|
* Export default theme
|
|
170
184
|
*/
|
|
@@ -233,8 +247,6 @@ const theme = {
|
|
|
233
247
|
MuiAppBar,
|
|
234
248
|
MuiAutocomplete,
|
|
235
249
|
MuiAvatar,
|
|
236
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-ignore
|
|
237
|
-
// @ts-ignore
|
|
238
250
|
MuiButton,
|
|
239
251
|
MuiContainer,
|
|
240
252
|
MuiDialog,
|
|
@@ -419,3 +431,10 @@ const theme = {
|
|
|
419
431
|
}
|
|
420
432
|
};
|
|
421
433
|
export default theme;
|
|
434
|
+
/**
|
|
435
|
+
* Style assets - Exports - Start
|
|
436
|
+
*/
|
|
437
|
+
export { GoogleIconContained, FacebookIconContained, LinkedinIconContained, TwitterIconContained, GoogleIconOutlined, FacebookIconOutlined, LinkedinIconOutlined, TwitterIconOutlined };
|
|
438
|
+
/**
|
|
439
|
+
* Style assets - Exports - End
|
|
440
|
+
*/
|