@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
@@ -0,0 +1 @@
1
+ export default `data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAAsTAAALEwEAmpwYAAAGLElEQVR4nO2deYwUVRDGv113FfHCC5VDQbwAI0E8oyhivLJeaDQa4gEaFKOiMSpGRA2KMUExSuIGUCKYeOCNovHEW/BCUdTIKXiB6IqwwiKMecnbZLOZrq/nzbzu1z31S/q/qZmq6quqXr0aQFEURVEURVEURVEURVFk6gAM8HR0CND5hxCdu6eh1JMACh6OhxAWI4i+fwDYPw3FOgFY4eEEbAFwKsLgNACbBF3/BXBMmgqebB1W6ZOwEsDOaRoGoD+Af8iFMhQBMMXTo2h6ijZ1iXF3j0YgbAfgR08n4bwU7NkBwHyi1yMIDPMc/M/DCVgNYM8E7dgKwCyi0zsAtkaATCCKXxkRwg0C0CTIvZCgDZOJDQsA7IhA2QbA14Ly3wHYNkL2EmL4sAT0v5no8AuAfRA4JnLYKBgxUZCdKcj97dl4867ZLPx+M4AjkRFuEwwxRg6OkNsNwG+C7HsAaj3oeziA9UTns5GxMsUngkErhBj/LPIYGFVhXXsC+J385rXIIAfa2zbKqEcF2cdI5tm3QjruAuB74vxGZJhRxLhzI+R2ArBckPscQH2Zupkw8i2i3ys2LM0sNQBeEwxcBWCPCNnBpMQxtky9phPnm5O8PXJAVwB/Osb4Dwpym+zL04VxMepQ3ZAjLiUGXxQh15E8oxcKeYWrLmtt7T93PCMY3QRg7wg5kym3CLIm+47L8QA2CN/VYqu7uWR3EuO/aZ/NxbiLxOimlMHoTR6F5hiJnMNi/KuFvOJTQW4pqc+Yk7+I/PZ4VAlSjL/e5g/F6GNzgChZsyZRDPOO+Jg4/2lPGXaQsBj/MyHGv4k48vR2nzdOfY7IzLUv+6qCxfi3RsgZh84R5ExJoXObz08kzl/S7vNVBYvxDxNqN2sFWXPFx+lkWCM87qoCFuMvsOsLxbiCOPdhsjpnQtGBCdsbJANIjH9vhFyNrdMUHI4tQuJXlYwjMb5JnqK6FtY4nIAxCdsXPHUA5pEXpelSKMaFJTp/WsK2ZYbeJMZvrEB75BzhnaIAuJE4sKGM9siFAXTZBU+tXfONcuLPdgWrGA3kBNyRsC2ZpSeJ8Z917OfZkNcSsw9GkKv5Asf2yPmhdrOFyMuCI/8SVqtYe+TdCduRWfaymx6iHPm6sHYwgeQVmgHHZAh5FJlyhEt75OK8LLYnwROCI9cJ24JYe+SkhO3ILJ0A/CQ48kOhb2csqQeZrUdKDE4iawcmgXNpj1wp5BVKGwaSiqmJ8Q9GcQ4i7ZEzIuQUSy/bPVcgx5dCjH9dgFugMsGuAH6I4fzWw7SuRJU43g5oC1Qm6ADggxKc37qMeVTE93UjPUEvJWxf0NQAeLxE57cei4QYfxiRHZ6wncFyD3HUMhLjS2MOXiRboHqgyrksZifDGMcxB6w98v1qatBqzwnkyt7YZm9ZHel2k8YcsPbI61GF9LFVzlI6GXqROQ7SmIMZjnlFbiufyx07Ga5xjPGT2AKVmeasuWV0MpiI6VXHGP9EUuK4HTmn1m5PKpTZycC2QJnIJ4pJJK84AlXaG1oosZPhYscxBx1Jti2NVsg0rD6zGsB+JX6n65iDo8ky5v3IGQ3E4GahpCBhxhz86jjmYDxZxjQhcm6acdcRY88p4/vPJHeWufOKUW83hrhugcoEXW2C5DsJmkZi/L6OW6CmIsOYq+cr4vzJFfytZY4x/miiYzl3Z2rU2zYSybDZtrxQyVW0zQ4xvnlHvCvIrcrilqZG4vwvPLWJPOA45mBf0h75PDKEVLVsbbjt7nFR5xvHMQcjid5BzAplnE9SfXOV9fOsw6FkQf8+ocQx23G0QhAcS2YymDzgjIR0udNxzAHbAvWG0B4ZfCfDVQFtgVoqxPhDA7KjYp0MUTsffW+BanaM8Z8ioxUOQIY6GWamuOR3Q4xF+WJDZU8hJ++jEMaaxelkmJfyTIZaO3K44OG4BYF3MiwRZsMlSQ9bGa30CWixd0sqDCfKNQW2xnq5p7vg2zT+emUQ6WRosUt/oTHL00kwT4KgOhnMSlWIdI4xLdflMHnFcUl1MkgVxywsag/xdBcsFkYrVIwu5C+d+oeaJbajn6e/4TI7exRFURRFURRFURRFURQF7fkfjepu1iawStQAAAAASUVORK5CYII=`;
@@ -1,22 +1,32 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: ({ theme }: any) => {
3
+ root: ({ theme, followers }: 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;
@@ -1,22 +1,32 @@
1
1
  const Component = {
2
2
  styleOverrides: {
3
- root: ({ theme }) => ({
3
+ root: ({ theme, followers }) => ({
4
4
  padding: theme.spacing(),
5
- '& .MuiAvatarGroup-root .MuiAvatar-root': {
6
- width: theme.selfcommunity.user.avatar.sizeSmall,
7
- height: theme.selfcommunity.user.avatar.sizeSmall,
8
- border: '1px solid #fff',
9
- fontSize: '0.76rem',
10
- '&.MuiAvatar-colorDefault': {
11
- marginLeft: 0,
12
- backgroundColor: 'transparent',
13
- color: theme.palette.primary.main,
14
- border: '0 none',
15
- borderRadius: 0,
16
- padding: 1
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: followers > 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;
@@ -68,6 +68,18 @@ declare const Component: {
68
68
  maxWidth: string;
69
69
  };
70
70
  };
71
+ '& .SCCommentObject-flag-chip': {
72
+ borderRadius: number;
73
+ display: string;
74
+ width: string;
75
+ };
76
+ };
77
+ '& .SCCommentObject-collapsed': {
78
+ justifyContent: string;
79
+ alignItems: string;
80
+ '& .MuiCardContent-root': {
81
+ marginLeft: any;
82
+ };
71
83
  };
72
84
  '& .SCCommentObject-show-more-content': {
73
85
  color: any;
@@ -68,6 +68,18 @@ const Component = {
68
68
  '& img': {
69
69
  maxWidth: '100%'
70
70
  }
71
+ },
72
+ '& .SCCommentObject-flag-chip': {
73
+ borderRadius: 0,
74
+ display: 'flex',
75
+ width: 'fit-content'
76
+ }
77
+ },
78
+ '& .SCCommentObject-collapsed': {
79
+ justifyContent: 'center',
80
+ alignItems: 'center',
81
+ '& .MuiCardContent-root': {
82
+ marginLeft: theme.spacing(1)
71
83
  }
72
84
  },
73
85
  '& .SCCommentObject-show-more-content': {
@@ -0,0 +1,31 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCDefaultDrawerContent-no-results': {
5
+ paddingLeft: any;
6
+ };
7
+ '& .SCDefaultDrawerContent-title': {
8
+ paddingTop: any;
9
+ };
10
+ '& .SCDefaultDrawerContent-navigation': {
11
+ paddingTop: any;
12
+ paddingBottom: number;
13
+ '& .MuiListItemButton-root': {
14
+ paddingLeft: any;
15
+ paddingRight: any;
16
+ '& .MuiListItemText-root .MuiTypography-root': {
17
+ fontWeight: number;
18
+ };
19
+ };
20
+ '& .MuiListItemIcon-root': {
21
+ minWidth: number;
22
+ marginRight: any;
23
+ };
24
+ '& .MuiIcon-root': {
25
+ fontSize: number;
26
+ };
27
+ };
28
+ };
29
+ };
30
+ };
31
+ export default Component;
@@ -0,0 +1,31 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCDefaultDrawerContent-no-results': {
5
+ paddingLeft: theme.spacing(2)
6
+ },
7
+ '& .SCDefaultDrawerContent-title': {
8
+ paddingTop: theme.spacing(1)
9
+ },
10
+ '& .SCDefaultDrawerContent-navigation': {
11
+ paddingTop: theme.spacing(0.5),
12
+ paddingBottom: 0,
13
+ '& .MuiListItemButton-root': {
14
+ paddingLeft: theme.spacing(3),
15
+ paddingRight: theme.spacing(3),
16
+ '& .MuiListItemText-root .MuiTypography-root': {
17
+ fontWeight: 700
18
+ }
19
+ },
20
+ '& .MuiListItemIcon-root': {
21
+ minWidth: 0,
22
+ marginRight: theme.spacing(2)
23
+ },
24
+ '& .MuiIcon-root': {
25
+ fontSize: 18
26
+ }
27
+ }
28
+ })
29
+ }
30
+ };
31
+ export default Component;
@@ -42,6 +42,8 @@ declare const Component: {
42
42
  marginLeft: any;
43
43
  marginBottom: any;
44
44
  backgroundColor: any;
45
+ color: any;
46
+ border: string;
45
47
  '& .SCEventHeader-chip-icon': {
46
48
  marginLeft: any;
47
49
  };
@@ -118,10 +120,6 @@ declare const Component: {
118
120
  };
119
121
  };
120
122
  };
121
- '& .SCEventHeader-name': {
122
- fontWeight: any;
123
- fontSize: string;
124
- };
125
123
  };
126
124
  skeletonRoot: ({ theme }: any) => {
127
125
  position: string;
@@ -1,4 +1,4 @@
1
- import { alpha } from '@mui/system';
1
+ import { alpha } from '@mui/material';
2
2
  const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme, isEventAdmin, isEventFinished }) => ({
@@ -42,7 +42,9 @@ const Component = {
42
42
  '& .SCEventHeader-chip': {
43
43
  marginLeft: theme.spacing(2),
44
44
  marginBottom: theme.spacing(),
45
- backgroundColor: theme.palette.grey[500],
45
+ backgroundColor: theme.palette.common.white,
46
+ color: theme.palette.error.light,
47
+ border: `1px solid ${theme.palette.grey[400]}`,
46
48
  '& .SCEventHeader-chip-icon': {
47
49
  marginLeft: theme.spacing(1)
48
50
  }
@@ -118,10 +120,6 @@ const Component = {
118
120
  paddingRight: theme.spacing(2)
119
121
  }
120
122
  }
121
- },
122
- '& .SCEventHeader-name': {
123
- fontWeight: theme.typography.fontWeightBold,
124
- fontSize: '1.429rem'
125
123
  }
126
124
  }),
127
125
  skeletonRoot: ({ theme }) => ({
@@ -53,16 +53,7 @@ declare const Component: {
53
53
  };
54
54
  };
55
55
  };
56
- dialogRoot: ({ theme }: {
57
- theme: any;
58
- }) => {
59
- '& .SCEventMembersWidget-infinite-scroll': {
60
- [x: number]: {
61
- height: string;
62
- };
63
- height: string;
64
- };
65
- };
56
+ dialogRoot: () => {};
66
57
  };
67
58
  };
68
59
  export default Component;
@@ -49,14 +49,7 @@ const Component = {
49
49
  }
50
50
  }
51
51
  }),
52
- dialogRoot: ({ theme }) => ({
53
- '& .SCEventMembersWidget-infinite-scroll': {
54
- height: '400px',
55
- [theme.breakpoints.down('md')]: {
56
- height: '100%'
57
- }
58
- }
59
- })
52
+ dialogRoot: () => ({})
60
53
  }
61
54
  };
62
55
  export default Component;
@@ -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,10 +10,28 @@ declare const Component: {
9
10
  '&:hover': {
10
11
  backgroundColor: string;
11
12
  };
12
- '& .MuiAvatarGroup-avatar': {
13
- width: any;
14
- height: any;
15
- fontSize: string;
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;
26
+ border: string;
27
+ fontSize: string;
28
+ '&:first-of-type': {
29
+ width: any;
30
+ };
31
+ '&:not(:first-of-type)': {
32
+ width: any;
33
+ };
34
+ };
16
35
  };
17
36
  '& .SCEventParticipantsButton-participants': {
18
37
  color: any;
@@ -1,16 +1,34 @@
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-avatar': {
11
- width: theme.selfcommunity.user.avatar.sizeSmall,
12
- height: theme.selfcommunity.user.avatar.sizeSmall,
13
- fontSize: '0.8rem'
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
+ }
31
+ }
14
32
  },
15
33
  '& .SCEventParticipantsButton-participants': {
16
34
  color: theme.palette.grey[600]
@@ -3,6 +3,9 @@ declare const Component: {
3
3
  selectRoot: ({ theme }: {
4
4
  theme: any;
5
5
  }) => {
6
+ [x: number]: {
7
+ padding: string;
8
+ };
6
9
  backgroundColor: any;
7
10
  justifyContent: string;
8
11
  height: number;
@@ -5,6 +5,9 @@ const Component = {
5
5
  justifyContent: 'space-between',
6
6
  height: 33,
7
7
  borderRadius: '5px',
8
+ [theme.breakpoints.down('md')]: {
9
+ padding: '10px'
10
+ },
8
11
  '&:hover, &:active': {
9
12
  backgroundColor: theme.palette.common.black,
10
13
  color: theme.palette.common.white,
@@ -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%'
@@ -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': {
@@ -45,9 +45,11 @@ const Component = {
45
45
  '& a:not(.MuiChip-clickable)': {
46
46
  color: 'inherit',
47
47
  textDecoration: 'none',
48
+ display: 'inline-flex',
48
49
  '&::after': {
49
50
  content: '"\\2022"',
50
- padding: theme.spacing()
51
+ padding: theme.spacing(),
52
+ alignSelf: 'center'
51
53
  },
52
54
  '&:last-child::after': {
53
55
  display: 'none'
@@ -61,7 +63,9 @@ const Component = {
61
63
  }
62
64
  },
63
65
  '& .SCFeedObject-group, & .SCFeedObject-event': {
64
- marginRight: `${theme.spacing(1)} !important`
66
+ [theme.breakpoints.up('sm')]: {
67
+ marginRight: `${theme.spacing(1)} !important`
68
+ }
65
69
  }
66
70
  },
67
71
  '& .SCFeedObject-group, & .SCFeedObject-event': {
@@ -78,7 +82,9 @@ const Component = {
78
82
  color: theme.palette.common.white,
79
83
  textTransform: 'initial'
80
84
  }
81
- }
85
+ },
86
+ borderBottom: '1px solid rgba(221, 221, 221, 1)',
87
+ margin: theme.spacing(1, 2, 0, 2)
82
88
  },
83
89
  '& .SCFeedObject-content': {
84
90
  padding: theme.spacing(1, 0, 0, 0),
@@ -142,18 +148,19 @@ const Component = {
142
148
  margin: theme.spacing(0, 2),
143
149
  '& .SCFeedObject-group, & .SCFeedObject-event': {
144
150
  borderBottom: 'none',
145
- margin: theme.spacing(0),
151
+ marginTop: theme.spacing(0.5),
146
152
  '& .MuiChip-icon': {
147
- marginLeft: theme.spacing(1),
148
- marginRight: theme.spacing(-1),
149
153
  fontWeight: theme.typography.fontWeightRegular
150
154
  }
155
+ },
156
+ '& .SCFeedObject-group .MuiChip-icon': {
157
+ marginLeft: theme.spacing(1),
158
+ marginRight: theme.spacing(-1)
159
+ },
160
+ [theme.breakpoints.down('md')]: {
161
+ justifyContent: 'space-evenly'
151
162
  }
152
163
  },
153
- '& .SCFeedObject-group, & .SCFeedObject-event': {
154
- borderBottom: '1px solid rgba(221, 221, 221, 1)',
155
- margin: theme.spacing(1, 2, 0, 2)
156
- },
157
164
  '& .SCFeedObject-header': {
158
165
  '& .MuiCardHeader-avatar': {
159
166
  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;
@@ -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 .MuiAvatar-root': {
6
- width: theme.selfcommunity.user.avatar.sizeSmall,
7
- height: theme.selfcommunity.user.avatar.sizeSmall,
8
- border: '1px solid #fff',
9
- fontSize: '0.76rem',
10
- '&.MuiAvatar-colorDefault': {
11
- marginLeft: 0,
12
- backgroundColor: 'transparent',
13
- color: theme.palette.primary.main,
14
- border: '0 none',
15
- borderRadius: 0,
16
- padding: 1
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;