@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.
Files changed (98) hide show
  1. package/lib/cjs/assets/social/contained/facebook.d.ts +2 -0
  2. package/lib/cjs/assets/social/contained/facebook.js +3 -0
  3. package/lib/cjs/assets/social/contained/google.d.ts +2 -0
  4. package/lib/cjs/assets/social/contained/google.js +3 -0
  5. package/lib/cjs/assets/social/contained/linkedin.d.ts +2 -0
  6. package/lib/cjs/assets/social/contained/linkedin.js +3 -0
  7. package/lib/cjs/assets/social/contained/twitter.d.ts +2 -0
  8. package/lib/cjs/assets/social/contained/twitter.js +3 -0
  9. package/lib/cjs/assets/social/outlined/facebook.d.ts +2 -0
  10. package/lib/cjs/assets/social/outlined/facebook.js +3 -0
  11. package/lib/cjs/assets/social/outlined/google.d.ts +2 -0
  12. package/lib/cjs/assets/social/outlined/google.js +3 -0
  13. package/lib/cjs/assets/social/outlined/linkedin.d.ts +2 -0
  14. package/lib/cjs/assets/social/outlined/linkedin.js +3 -0
  15. package/lib/cjs/assets/social/outlined/twitter.d.ts +2 -0
  16. package/lib/cjs/assets/social/outlined/twitter.js +3 -0
  17. package/lib/cjs/components/SCCategoryFollowersButton.d.ts +22 -12
  18. package/lib/cjs/components/SCCategoryFollowersButton.js +24 -14
  19. package/lib/cjs/components/SCCommentObject.d.ts +12 -0
  20. package/lib/cjs/components/SCCommentObject.js +12 -0
  21. package/lib/cjs/components/SCDefaultDrawerContent.d.ts +31 -0
  22. package/lib/cjs/components/SCDefaultDrawerContent.js +33 -0
  23. package/lib/cjs/components/SCEventHeader.d.ts +2 -4
  24. package/lib/cjs/components/SCEventHeader.js +6 -8
  25. package/lib/cjs/components/SCEventMembersWidget.d.ts +1 -10
  26. package/lib/cjs/components/SCEventMembersWidget.js +1 -8
  27. package/lib/cjs/components/SCEventParticipantsButton.d.ts +24 -5
  28. package/lib/cjs/components/SCEventParticipantsButton.js +23 -5
  29. package/lib/cjs/components/SCEventSubscribeButton.d.ts +3 -0
  30. package/lib/cjs/components/SCEventSubscribeButton.js +3 -0
  31. package/lib/cjs/components/SCEvents.d.ts +6 -0
  32. package/lib/cjs/components/SCEvents.js +7 -1
  33. package/lib/cjs/components/SCFeedObject.d.ts +15 -8
  34. package/lib/cjs/components/SCFeedObject.js +17 -10
  35. package/lib/cjs/components/SCGroupMembersButton.d.ts +22 -12
  36. package/lib/cjs/components/SCGroupMembersButton.js +24 -14
  37. package/lib/cjs/components/SCLiveStreamRoom.d.ts +3 -0
  38. package/lib/cjs/components/SCLiveStreamRoom.js +4 -1
  39. package/lib/cjs/components/SCOnBoardingWidget.d.ts +5 -0
  40. package/lib/cjs/components/SCOnBoardingWidget.js +5 -0
  41. package/lib/cjs/components/SCTagAutocomplete.d.ts +6 -0
  42. package/lib/cjs/components/SCTagAutocomplete.js +8 -0
  43. package/lib/cjs/components/SCUserProfileEdit.d.ts +17 -0
  44. package/lib/cjs/components/SCUserProfileEdit.js +17 -0
  45. package/lib/cjs/components/SCVoteButton.d.ts +1 -0
  46. package/lib/cjs/components/SCVoteButton.js +1 -0
  47. package/lib/cjs/index.d.ts +192 -54
  48. package/lib/cjs/index.js +30 -2
  49. package/lib/esm/assets/social/contained/facebook.d.ts +2 -0
  50. package/lib/esm/assets/social/contained/facebook.js +1 -0
  51. package/lib/esm/assets/social/contained/google.d.ts +2 -0
  52. package/lib/esm/assets/social/contained/google.js +1 -0
  53. package/lib/esm/assets/social/contained/linkedin.d.ts +2 -0
  54. package/lib/esm/assets/social/contained/linkedin.js +1 -0
  55. package/lib/esm/assets/social/contained/twitter.d.ts +2 -0
  56. package/lib/esm/assets/social/contained/twitter.js +1 -0
  57. package/lib/esm/assets/social/outlined/facebook.d.ts +2 -0
  58. package/lib/esm/assets/social/outlined/facebook.js +1 -0
  59. package/lib/esm/assets/social/outlined/google.d.ts +2 -0
  60. package/lib/esm/assets/social/outlined/google.js +1 -0
  61. package/lib/esm/assets/social/outlined/linkedin.d.ts +2 -0
  62. package/lib/esm/assets/social/outlined/linkedin.js +1 -0
  63. package/lib/esm/assets/social/outlined/twitter.d.ts +2 -0
  64. package/lib/esm/assets/social/outlined/twitter.js +1 -0
  65. package/lib/esm/components/SCCategoryFollowersButton.d.ts +22 -12
  66. package/lib/esm/components/SCCategoryFollowersButton.js +24 -14
  67. package/lib/esm/components/SCCommentObject.d.ts +12 -0
  68. package/lib/esm/components/SCCommentObject.js +12 -0
  69. package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
  70. package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
  71. package/lib/esm/components/SCEventHeader.d.ts +2 -4
  72. package/lib/esm/components/SCEventHeader.js +4 -6
  73. package/lib/esm/components/SCEventMembersWidget.d.ts +1 -10
  74. package/lib/esm/components/SCEventMembersWidget.js +1 -8
  75. package/lib/esm/components/SCEventParticipantsButton.d.ts +24 -5
  76. package/lib/esm/components/SCEventParticipantsButton.js +23 -5
  77. package/lib/esm/components/SCEventSubscribeButton.d.ts +3 -0
  78. package/lib/esm/components/SCEventSubscribeButton.js +3 -0
  79. package/lib/esm/components/SCEvents.d.ts +6 -0
  80. package/lib/esm/components/SCEvents.js +7 -1
  81. package/lib/esm/components/SCFeedObject.d.ts +15 -8
  82. package/lib/esm/components/SCFeedObject.js +17 -10
  83. package/lib/esm/components/SCGroupMembersButton.d.ts +22 -12
  84. package/lib/esm/components/SCGroupMembersButton.js +24 -14
  85. package/lib/esm/components/SCLiveStreamRoom.d.ts +3 -0
  86. package/lib/esm/components/SCLiveStreamRoom.js +4 -1
  87. package/lib/esm/components/SCOnBoardingWidget.d.ts +5 -0
  88. package/lib/esm/components/SCOnBoardingWidget.js +5 -0
  89. package/lib/esm/components/SCTagAutocomplete.d.ts +6 -0
  90. package/lib/esm/components/SCTagAutocomplete.js +6 -0
  91. package/lib/esm/components/SCUserProfileEdit.d.ts +17 -0
  92. package/lib/esm/components/SCUserProfileEdit.js +17 -0
  93. package/lib/esm/components/SCVoteButton.d.ts +1 -0
  94. package/lib/esm/components/SCVoteButton.js +1 -0
  95. package/lib/esm/index.d.ts +192 -54
  96. package/lib/esm/index.js +25 -2
  97. package/lib/umd/react-theme-default.js +1 -1
  98. 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
- marginRight: string;
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
- margin: any;
153
+ marginTop: any;
145
154
  '& .MuiChip-icon': {
146
- marginLeft: any;
147
- marginRight: any;
148
155
  fontWeight: any;
149
156
  };
150
157
  };
151
- };
152
- '& .SCFeedObject-group, & .SCFeedObject-event': {
153
- borderBottom: string;
154
- margin: any;
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
- marginRight: `${theme.spacing(1)} !important`
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
- margin: theme.spacing(0),
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 .MuiAvatar-root': {
6
- width: any;
7
- height: any;
8
- border: string;
9
- fontSize: string;
10
- '&.MuiAvatar-colorDefault': {
11
- marginLeft: number;
12
- backgroundColor: string;
13
- color: any;
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
- borderRadius: number;
16
- padding: number;
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 .MuiAvatar-root': {
8
- width: theme.selfcommunity.user.avatar.sizeSmall,
9
- height: theme.selfcommunity.user.avatar.sizeSmall,
10
- border: '1px solid #fff',
11
- fontSize: '0.76rem',
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
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;
@@ -23,6 +23,9 @@ declare const Component: {
23
23
  opacity: number;
24
24
  };
25
25
  };
26
+ "& .SCLiveStreamRoom-share-link": {
27
+ marginTop: any;
28
+ };
26
29
  "& .SCLiveStreamRoom-conference": {
27
30
  width: string;
28
31
  display: string;
@@ -11,7 +11,7 @@ const Component = {
11
11
  width: '100%'
12
12
  },
13
13
  [`& .SCLiveStreamRoom-prejoin`]: {
14
- padding: theme.spacing(2),
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': {
@@ -0,0 +1,6 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ };
5
+ };
6
+ export default Component;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({})
6
+ }
7
+ };
8
+ exports.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
  };
@@ -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
  },
@@ -18,6 +18,7 @@ declare const Component: {
18
18
  };
19
19
  };
20
20
  popperRoot: ({ theme }: any) => {
21
+ zIndex: number;
21
22
  '& .SCVoteButton-reaction .MuiIcon-root': {
22
23
  fontSize: string;
23
24
  };
@@ -20,6 +20,7 @@ const Component = {
20
20
  }
21
21
  }),
22
22
  popperRoot: ({ theme }) => ({
23
+ zIndex: 1400,
23
24
  '& .SCVoteButton-reaction .MuiIcon-root': {
24
25
  fontSize: '22px'
25
26
  }