@selfcommunity/react-theme-default 0.1.0-alpha.286 → 0.1.0-alpha.288

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 (96) hide show
  1. package/lib/cjs/components/SCBottomNavigation.d.ts +7 -0
  2. package/lib/cjs/components/SCBottomNavigation.js +8 -1
  3. package/lib/cjs/components/SCCommentObject.d.ts +1 -0
  4. package/lib/cjs/components/SCCommentObject.js +2 -1
  5. package/lib/cjs/components/SCCommentObjectReply.d.ts +1 -0
  6. package/lib/cjs/components/SCCommentObjectReply.js +1 -0
  7. package/lib/cjs/components/SCCommentsObject.d.ts +21 -1
  8. package/lib/cjs/components/SCCommentsObject.js +21 -1
  9. package/lib/cjs/components/SCComposer.d.ts +163 -295
  10. package/lib/cjs/components/SCComposer.js +173 -314
  11. package/lib/cjs/components/SCContributorsFeedObject.d.ts +1 -0
  12. package/lib/cjs/components/SCContributorsFeedObject.js +2 -1
  13. package/lib/cjs/components/SCFeedObject.d.ts +7 -1
  14. package/lib/cjs/components/SCFeedObject.js +13 -7
  15. package/lib/cjs/components/SCFeedObjectMediaPreview.d.ts +11 -0
  16. package/lib/cjs/components/{SCNavigationToolbarMobileSkeleton.js → SCFeedObjectMediaPreview.js} +4 -4
  17. package/lib/cjs/components/SCInlineComposerWidget.d.ts +31 -7
  18. package/lib/cjs/components/SCInlineComposerWidget.js +31 -7
  19. package/lib/cjs/components/SCLightbox.d.ts +1 -0
  20. package/lib/cjs/components/SCLightbox.js +2 -1
  21. package/lib/cjs/components/SCLoyaltyProgramWidget.js +1 -1
  22. package/lib/cjs/components/SCMediaFile.d.ts +158 -0
  23. package/lib/cjs/components/SCMediaFile.js +160 -0
  24. package/lib/cjs/components/SCMediaLink.d.ts +65 -0
  25. package/lib/cjs/components/SCMediaLink.js +68 -0
  26. package/lib/cjs/components/SCMediaShare.d.ts +6 -0
  27. package/lib/cjs/components/SCMediaShare.js +8 -0
  28. package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +6 -0
  29. package/lib/cjs/components/SCNavigationToolbarMobile.js +6 -0
  30. package/lib/cjs/components/SCUserAvatar.d.ts +1 -0
  31. package/lib/cjs/components/SCUserAvatar.js +2 -1
  32. package/lib/cjs/components/SCWidget.d.ts +6 -4
  33. package/lib/cjs/components/SCWidget.js +7 -5
  34. package/lib/cjs/fonts/community/icons.eot +0 -0
  35. package/lib/cjs/fonts/community/icons.svg +30 -27
  36. package/lib/cjs/fonts/community/icons.ttf +0 -0
  37. package/lib/cjs/fonts/community/icons.woff +0 -0
  38. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  39. package/lib/cjs/fonts/community-icons.css +12 -9
  40. package/lib/cjs/index.d.ts +464 -343
  41. package/lib/cjs/index.js +5 -5
  42. package/lib/esm/components/SCBottomNavigation.d.ts +7 -0
  43. package/lib/esm/components/SCBottomNavigation.js +8 -1
  44. package/lib/esm/components/SCCommentObject.d.ts +1 -0
  45. package/lib/esm/components/SCCommentObject.js +2 -1
  46. package/lib/esm/components/SCCommentObjectReply.d.ts +1 -0
  47. package/lib/esm/components/SCCommentObjectReply.js +1 -0
  48. package/lib/esm/components/SCCommentsObject.d.ts +21 -1
  49. package/lib/esm/components/SCCommentsObject.js +21 -1
  50. package/lib/esm/components/SCComposer.d.ts +163 -295
  51. package/lib/esm/components/SCComposer.js +173 -314
  52. package/lib/esm/components/SCContributorsFeedObject.d.ts +1 -0
  53. package/lib/esm/components/SCContributorsFeedObject.js +2 -1
  54. package/lib/esm/components/SCFeedObject.d.ts +7 -1
  55. package/lib/esm/components/SCFeedObject.js +13 -7
  56. package/lib/esm/components/SCFeedObjectMediaPreview.d.ts +11 -0
  57. package/lib/esm/components/SCFeedObjectMediaPreview.js +11 -0
  58. package/lib/esm/components/SCInlineComposerWidget.d.ts +31 -7
  59. package/lib/esm/components/SCInlineComposerWidget.js +31 -7
  60. package/lib/esm/components/SCLightbox.d.ts +1 -0
  61. package/lib/esm/components/SCLightbox.js +2 -1
  62. package/lib/esm/components/SCLoyaltyProgramWidget.js +1 -1
  63. package/lib/esm/components/SCMediaFile.d.ts +158 -0
  64. package/lib/esm/components/SCMediaFile.js +158 -0
  65. package/lib/esm/components/SCMediaLink.d.ts +65 -0
  66. package/lib/esm/components/SCMediaLink.js +66 -0
  67. package/lib/esm/components/SCMediaShare.d.ts +6 -0
  68. package/lib/esm/components/SCMediaShare.js +6 -0
  69. package/lib/esm/components/SCNavigationToolbarMobile.d.ts +6 -0
  70. package/lib/esm/components/SCNavigationToolbarMobile.js +6 -0
  71. package/lib/esm/components/SCUserAvatar.d.ts +1 -0
  72. package/lib/esm/components/SCUserAvatar.js +2 -1
  73. package/lib/esm/components/SCWidget.d.ts +6 -4
  74. package/lib/esm/components/SCWidget.js +7 -5
  75. package/lib/esm/fonts/community/icons.eot +0 -0
  76. package/lib/esm/fonts/community/icons.svg +30 -27
  77. package/lib/esm/fonts/community/icons.ttf +0 -0
  78. package/lib/esm/fonts/community/icons.woff +0 -0
  79. package/lib/esm/fonts/community/icons.woff2 +0 -0
  80. package/lib/esm/fonts/community-icons.css +12 -9
  81. package/lib/esm/index.d.ts +464 -343
  82. package/lib/esm/index.js +5 -5
  83. package/lib/umd/community/icons.eot +0 -0
  84. package/lib/umd/community/icons.svg +30 -27
  85. package/lib/umd/community/icons.ttf +0 -0
  86. package/lib/umd/community/icons.woff +0 -0
  87. package/lib/umd/community/icons.woff2 +0 -0
  88. package/lib/umd/react-theme-default.js +2 -2
  89. package/package.json +4 -4
  90. package/lib/cjs/components/SCComposerPoll.d.ts +0 -26
  91. package/lib/cjs/components/SCComposerPoll.js +0 -28
  92. package/lib/cjs/components/SCNavigationToolbarMobileSkeleton.d.ts +0 -11
  93. package/lib/esm/components/SCComposerPoll.d.ts +0 -26
  94. package/lib/esm/components/SCComposerPoll.js +0 -26
  95. package/lib/esm/components/SCNavigationToolbarMobileSkeleton.d.ts +0 -11
  96. package/lib/esm/components/SCNavigationToolbarMobileSkeleton.js +0 -11
@@ -1,351 +1,210 @@
1
1
  import { alpha } from '@mui/system';
2
- import { hexToRgb } from '@mui/material';
3
2
  const Component = {
4
3
  styleOverrides: {
5
- root: ({ theme }) => {
6
- let mediaActionBackground = theme.palette.getContrastText(theme.palette.primary.main);
7
- if (mediaActionBackground.startsWith('#')) {
8
- mediaActionBackground = hexToRgb(mediaActionBackground).replace(')', ', .5)');
9
- }
10
- return {
11
- '& .SCComposer-title': {
12
- borderBottom: `1px solid ${theme.palette.grey[400]}`,
13
- padding: theme.spacing(0, 0, 2, 0),
14
- lineHeight: 1,
15
- fontSize: '1.143rem',
4
+ root: ({ theme }) => ({
5
+ '& .MuiDialog-paper': {
6
+ position: 'relative',
7
+ overflowX: 'hidden',
8
+ '& > form': {
9
+ zIndex: 0
10
+ },
11
+ '& .MuiDialogTitle-root': {
12
+ position: 'absolute',
13
+ top: 0,
14
+ left: 0,
15
+ right: 0,
16
+ padding: theme.spacing(0.5, 2, 0.5, 1),
16
17
  display: 'flex',
17
18
  flexDirection: 'row',
18
- flexWrap: 'nowrap',
19
19
  justifyContent: 'space-between',
20
20
  alignItems: 'center',
21
- '& .SCComposer-types .MuiInputBase-input': {
22
- fontWeight: theme.typography.fontWeightBold,
23
- fontSize: '1.286rem',
24
- minHeight: 'auto'
25
- },
26
- '& > div': {
27
- flex: 1,
28
- textAlign: 'center'
29
- },
30
- '& > div:first-of-type': {
31
- textAlign: 'left'
32
- },
33
- '& > div:last-of-type': {
34
- textAlign: 'right',
35
- display: 'block'
21
+ borderBottom: `1px solid ${theme.palette.grey[400]}`,
22
+ zIndex: 2,
23
+ backgroundColor: theme.palette.background.paper,
24
+ '& .MuiTypography-root': {
25
+ flexGrow: 1,
26
+ textAlign: 'left',
27
+ fontWeight: theme.typography.fontWeightMedium
36
28
  }
37
29
  },
38
- '& .SCComposer-types': {
39
- flexDirection: 'row',
40
- alignItems: 'center'
41
- },
42
- '& .SCComposer-avatar': {
43
- width: theme.selfcommunity.user.avatar.sizeMedium,
44
- height: theme.selfcommunity.user.avatar.sizeMedium,
45
- display: 'inline-block'
46
- },
47
- '& .SCComposer-content': {
48
- position: 'relative',
49
- overflowY: 'visible',
50
- padding: theme.spacing(3, 0),
51
- minHeight: 300,
52
- display: 'flex',
53
- flexDirection: 'column',
54
- justifyContent: 'space-between',
55
- '& .SCComposer-editor': {
56
- flexGrow: 1,
57
- padding: 0,
58
- fontSize: '1rem',
30
+ '& .MuiDialogContent-root': {
31
+ margin: '45px 0',
32
+ padding: theme.spacing(1, 2),
33
+ height: `calc(100vh - 45px - 45px - ${theme.spacing(2)})`,
34
+ '& .SCEditor-root': {
35
+ padding: theme.spacing(1, 0),
36
+ position: 'static',
59
37
  '& .SCEditor-placeholder': {
60
- top: 0,
61
- left: 0
62
- },
63
- '& .SCEditor-actions': {
64
- bottom: theme.spacing(4),
65
- padding: theme.spacing(3, 0, 0, 0),
66
- '& > p.MuiTypography-alignLeft > .MuiIconButton-root': {
67
- marginLeft: theme.spacing(0.3),
68
- marginRight: theme.spacing(0.3),
69
- '&:first-of-type': {
70
- marginLeft: 0
71
- },
72
- '&:last-child': {
73
- marginRight: 0
74
- }
75
- },
76
- '& > p.MuiTypography-alignRight > .MuiIconButton-root': {
77
- marginRight: theme.spacing(1.5)
78
- },
79
- '& .MuiIconButton-sizeMedium': {
80
- fontSize: '1.429rem'
81
- }
38
+ left: 0,
39
+ top: -60,
40
+ position: 'relative'
82
41
  },
83
- '&.SCEditor-toolbar': {
84
- '& .SCEditor-placeholder': {
85
- top: theme.spacing(6),
86
- left: 0
87
- },
88
- '& .SCEditor-actions': {
89
- bottom: theme.spacing(2)
90
- }
91
- }
92
- },
93
- '& .SCComposer-medias, & .SCComposer-audience, & .SCComposer-block': {
94
- margin: theme.spacing(1, 0),
95
- padding: 0
96
- },
97
- '& .SCComposer-medias': {
98
- '& .SCComposer-mediasActions': {
99
- position: 'relative',
100
- borderTop: `1px solid ${theme.palette.grey[400]}`,
101
- backgroundColor: theme.palette.background.paper,
102
- padding: theme.spacing(1, 0),
103
- '& .SCComposer-mediasActionsTitle': {
104
- fontSize: '1.143rem'
105
- }
106
- }
107
- }
108
- },
109
- '& .SCComposer-mediaContent, & .SCComposer-audienceContent, & .SCComposer-locationContent': {
110
- minHeight: 300
111
- },
112
- '& .SCComposer-audienceContent': {
113
- maxWidth: 400,
114
- margin: theme.spacing(0, 'auto'),
115
- '& .MuiTabs-root': {
116
- margin: theme.spacing(0),
117
- '& .MuiTabs-flexContainer': {
118
- justifyContent: 'center',
119
- '& .MuiTab-root': {
120
- minHeight: theme.spacing(6),
121
- flexDirection: 'row',
122
- '& .MuiTab-iconWrapper': {
123
- marginRight: theme.spacing(1),
124
- fontSize: '1.429rem'
125
- }
126
- }
42
+ '& .SCEditorToolbarPlugin-root': {
43
+ zIndex: 1,
44
+ position: 'absolute',
45
+ display: 'flex',
46
+ bottom: 45,
47
+ right: theme.spacing(0.2),
48
+ left: theme.spacing(0.2),
49
+ marginBottom: 0,
50
+ backgroundColor: theme.palette.background.paper
127
51
  }
128
- },
129
- '& .SCComposer-block': {
130
- marginBottom: theme.spacing(4)
131
- }
132
- },
133
- '& .SCComposer-block': {
134
- padding: theme.spacing(1)
135
- },
136
- '& .SCComposer-editor': {
137
- minHeight: 200,
138
- '& .SCEditor-placeholder': {
139
- top: theme.spacing(1),
140
- left: theme.spacing(1)
141
52
  }
142
53
  },
143
- '& .SCComposer-divider': {
144
- borderTop: '1px solid #D1D1D1'
145
- },
146
- '& .SCComposer-medias': {
147
- margin: '0 23px'
148
- },
149
- '& .SCComposer-location, & .SCComposer-audience': {
150
- padding: theme.spacing(2),
151
- paddingBottom: 0
152
- },
153
- '& .SCComposer-mediasActions': {
54
+ '& .SCComposer-types': {
154
55
  position: 'absolute',
56
+ zIndex: 2,
57
+ bottom: theme.spacing(7),
155
58
  left: 0,
156
59
  right: 0,
157
- background: mediaActionBackground,
158
- padding: theme.spacing(),
159
- zIndex: 1,
160
- display: 'flex',
161
- flexWrap: 'nowrap',
162
- justifyContent: 'space-between',
163
- '& .SCComposer-mediasActionsActions': {
164
- textAlign: 'right'
165
- }
166
- },
167
- '& .SCComposer-sortableMedia': {
168
- position: 'relative'
169
- },
170
- '& .SCComposer-sortableMediaCover': {
171
- backgroundSize: 'cover !important',
172
- backgroundPosition: 'center !important',
173
- backgroundRepeat: 'no-repeat !important',
174
- border: '2px solid white',
175
- borderRadius: 6,
176
- height: 300
60
+ justifyContent: 'center'
177
61
  },
178
- '& .SCComposer-links': {
179
- padding: theme.spacing(2)
180
- },
181
- '& .SCComposer-actions': {
182
- margin: 0,
183
- borderTop: '1px solid #D1D1D1',
184
- padding: theme.spacing(1),
185
- '& .SCComposer-media-actions': {},
186
- '& .SCComposer-filter-actions': {
187
- flexGrow: 1,
188
- textAlign: 'right'
189
- },
62
+ '& .MuiDialogActions-root': {
63
+ position: 'absolute',
64
+ bottom: 0,
65
+ left: 0,
66
+ right: 0,
67
+ padding: theme.spacing(0.5, 1),
190
68
  display: 'flex',
191
69
  flexDirection: 'row',
192
- flexWrap: 'nowrap',
193
70
  justifyContent: 'space-between',
194
- alignItems: 'center'
195
- },
196
- '& .SCComposer-actionInput': {
197
- display: 'none !important'
71
+ zIndex: 1,
72
+ backgroundColor: theme.palette.background.paper,
73
+ borderTop: `1px solid ${theme.palette.grey[400]}`
198
74
  },
199
- '& .SCComposer-badgeError .MuiBadge-badge': {
200
- padding: 0
75
+ '& .SCComposer-general-error': {
76
+ marginBottom: theme.spacing(2),
77
+ color: theme.palette.error.main
201
78
  },
79
+ },
80
+ [theme.breakpoints.up('md')]: {
202
81
  '& .MuiDialog-paper': {
203
- padding: theme.spacing(2, 3, 3)
204
- },
205
- '& .SCComposer-mediaContent': {
206
- '& .SCMediaActionImage-root': {
207
- padding: 0,
208
- '& .SCMediaActionImage-upload': {
209
- padding: theme.spacing(2),
210
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
211
- borderRadius: theme.shape.borderRadius,
212
- color: theme.palette.primary.main,
213
- '&.SCMediaActionImage-dragOver': {
214
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
215
- },
216
- '& .SCMediaActionImage-uploadBtn': {
217
- border: '0 none'
218
- }
219
- }
82
+ '& > form': {
83
+ zIndex: 0
220
84
  },
221
- '& .SCMediaActionDocument-root': {
222
- padding: 0,
223
- '& .SCMediaActionDocument-upload': {
224
- padding: theme.spacing(2),
225
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
226
- borderRadius: theme.shape.borderRadius,
227
- color: theme.palette.primary.main,
228
- '&.SCMediaActionDocument-dragOver': {
229
- backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
230
- },
231
- '& .SCMediaActionDocument-uploadBtn': {
232
- border: '0 none'
233
- }
234
- }
235
- }
236
- },
237
- '& .SCComposer-locationContent': {
238
- padding: theme.spacing(3, 0),
239
- minHeight: 300
240
- },
241
- '& .MuiDialog-container': {
242
- '& .MuiDialog-paper': {
243
- boxShadow: theme.shadows[12],
244
- [theme.breakpoints.up('md')]: {
245
- borderRadius: theme.shape.borderRadius
246
- },
247
- '&.MuiDialog-paperFullScreen': {
248
- height: 'auto',
249
- minHeight: '100%'
250
- }
251
- }
252
- },
253
- '& .SCCategoryAutocomplete-root': {
254
- minWidth: 120,
255
- '& .MuiFormControl-root': {
256
- margin: 0
85
+ '& .MuiDialogContent-root': {
86
+ minHeight: 300,
87
+ height: 'auto',
88
+ maxHeight: 600
89
+ },
90
+ '& .MuiDialogActions-root': {
91
+ justifyContent: 'center'
257
92
  }
258
93
  },
259
- '& .MuiDialog-paperFullScreen': {
260
- // Mobile view
261
- position: 'relative',
262
- '& .SCComposer-title': {
263
- transition: 'opacity 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750)',
264
- position: 'fixed',
265
- top: 0,
266
- left: 0,
267
- right: 0,
268
- padding: theme.spacing(2, 3),
269
- backgroundColor: theme.palette.background.paper,
270
- zIndex: 1000
94
+ }
95
+ }),
96
+ attributesRoot: ({ theme }) => ({}),
97
+ contentDiscussionRoot: ({ theme }) => ({
98
+ '& .SCComposer-content-discussion-title': {
99
+ paddingBottom: theme.spacing(2),
100
+ '& .MuiInputBase-root': {
101
+ paddingLeft: 0,
102
+ paddingRight: 0,
103
+ paddingBottom: 0,
104
+ fontSize: '1.429rem',
105
+ fontWeight: theme.typography.fontWeightBold,
106
+ '& fieldset': {
107
+ display: 'none'
271
108
  },
272
- '& .SCComposer-content': {
273
- transition: 'padding 100ms cubic-bezier(0.250, 0.250, 0.750, 0.750)',
274
- padding: theme.spacing(9, 0)
109
+ '&.MuiInputBase-adornedEnd .MuiTypography-root': {
110
+ alignSelf: 'end'
275
111
  },
276
- '& .SCComposer-actions': {
277
- position: 'fixed',
278
- bottom: 0,
279
- left: 0,
280
- right: 0,
281
- padding: theme.spacing(2, 2),
282
- zIndex: 1000,
283
- backgroundColor: theme.palette.background.paper,
284
- '& .SCComposer-media-actions': {
285
- borderRight: `1px solid ${theme.palette.grey[400]}`,
286
- paddingRight: theme.spacing(1)
287
- },
288
- '& .SCComposer-filter-actions': {
289
- textAlign: 'right'
290
- }
112
+ '&.Mui-error': {
113
+ color: theme.palette.error.main
291
114
  }
292
115
  },
293
- '&.SCComposer-writing': {
294
- '& .MuiDialog-paperFullScreen': {
295
- // Expanded view for editor
296
- '& .SCComposer-title': {
297
- opacity: 0
298
- },
299
- '& .SCComposer-title-dense': {
300
- position: 'fixed',
301
- top: theme.spacing(2),
302
- right: theme.spacing(2),
303
- zIndex: 1002,
304
- borderRadius: theme.shape.borderRadius * 0.2,
305
- borderColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
306
- borderWidth: 1,
307
- borderStyle: 'solid',
308
- display: 'flex',
309
- flexDirection: 'row',
310
- alignItems: 'center',
311
- justifyContent: 'left',
312
- '& .MuiButtonBase-root': {
313
- margin: theme.spacing(0.5),
314
- padding: theme.spacing(1),
315
- fontSize: '1rem',
316
- border: 0,
317
- borderRadius: theme.shape.borderRadius * 0.2
318
- }
319
- },
320
- '& .SCComposer-content': {
321
- paddingTop: 0,
322
- '& .SCComposer-block': {
323
- height: 0,
324
- overflow: 'hidden',
325
- margin: 0
326
- },
327
- '& .SCEditor-root': {
328
- marginTop: theme.spacing(6),
329
- '& .SCEditorToolbarPlugin-root': {
330
- position: 'fixed',
331
- top: theme.spacing(2),
332
- left: theme.spacing(3),
333
- right: theme.spacing(12),
334
- zIndex: 1001
335
- },
336
- '& .SCEditor-placeholder': {
337
- top: 0
338
- }
339
- }
116
+ '& .MuiFormHelperText-root': {
117
+ marginLeft: 0
118
+ }
119
+ }
120
+ }),
121
+ contentPollRoot: ({ theme }) => ({
122
+ padding: theme.spacing(2),
123
+ '& .SCComposer-content-poll-title, & .SCComposer-content-poll-choices, & .SCComposer-content-poll-choice-new, & .SCComposer-content-poll-metadata': {
124
+ marginBottom: theme.spacing(3)
125
+ },
126
+ '& .SCComposer-content-poll-choices .MuiTextField-root': {
127
+ marginBottom: theme.spacing()
128
+ },
129
+ '& .SCComposer-content-poll-metadata': {
130
+ marginTop: theme.spacing(3)
131
+ }
132
+ }),
133
+ contentPostRoot: ({ theme }) => ({}),
134
+ layerTransitionRoot: ({ theme }) => ({
135
+ position: 'absolute',
136
+ top: 0,
137
+ left: 0,
138
+ right: 0,
139
+ bottom: 0,
140
+ zIndex: 5,
141
+ background: theme.palette.background.paper,
142
+ '& .MuiDialogContent-root': {
143
+ height: 'calc(100% - 45px - 16px) !important',
144
+ marginBottom: '0 !important'
145
+ }
146
+ }),
147
+ layerAudienceRoot: ({ theme }) => ({
148
+ '& .MuiTabs-root': {
149
+ minHeight: 'auto',
150
+ marginBottom: theme.spacing(4),
151
+ '& .MuiTabs-flexContainer': {
152
+ justifyContent: 'center',
153
+ '& .MuiTab-labelIcon': {
154
+ minHeight: 'auto',
155
+ flexDirection: 'row',
156
+ '& .MuiIcon-root': {
157
+ marginRight: theme.spacing(1)
158
+ }
159
+ }
160
+ }
161
+ },
162
+ '& .SCComposer-layer-audience-message': {
163
+ textAlign: 'center',
164
+ marginBottom: theme.spacing(4)
165
+ }
166
+ }),
167
+ layerCategoryRoot: ({ theme }) => ({}),
168
+ layerCloseRoot: ({ theme }) => ({
169
+ '& .SCComposer-layer-content': {
170
+ '& .MuiTypography-root': {
171
+ textAlign: 'center'
172
+ },
173
+ '& .MuiList-root': {
174
+ '& .MuiListItem-root': {
175
+ padding: 0,
176
+ '& .MuiTypography-root': {
177
+ fontSize: '1.143rem'
340
178
  },
341
- '& .SCComposer-actions': {}
179
+ '&:nth-last-of-type(1)': {
180
+ color: theme.palette.error.main
181
+ }
342
182
  }
343
- },
344
- '&.SCComposer-ios .SCComposer-actions': {
345
- marginBottom: '15px'
346
183
  }
347
- };
348
- }
184
+ }
185
+ }),
186
+ layerLocationRoot: ({ theme }) => ({}),
187
+ skeletonRoot: ({ theme }) => ({}),
188
+ typeSwitchButtonGroupRoot: ({ theme }) => ({
189
+ '& .MuiToggleButton-root': {
190
+ backgroundColor: theme.palette.common.black,
191
+ color: alpha(theme.palette.common.white, 0.5),
192
+ padding: theme.spacing(0.5, 2),
193
+ fontSize: '1rem',
194
+ fontWeight: theme.typography.fontWeightBold,
195
+ textTransform: 'capitalize',
196
+ '&.Mui-selected, &:hover, &:active, &.Mui-selected:hover': {
197
+ color: theme.palette.common.white,
198
+ backgroundColor: theme.palette.common.black
199
+ },
200
+ '&:nth-of-type(1)': {
201
+ paddingLeft: theme.spacing(4)
202
+ },
203
+ '&:nth-last-of-type(1)': {
204
+ paddingRight: theme.spacing(4)
205
+ }
206
+ }
207
+ }),
349
208
  }
350
209
  };
351
210
  export default Component;
@@ -2,6 +2,7 @@ declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
4
  '& .SCContributorsFeedObject-btn-participants': {
5
+ padding: any;
5
6
  marginLeft: any;
6
7
  color: string;
7
8
  fontWeight: any;
@@ -2,7 +2,8 @@ const Component = {
2
2
  styleOverrides: {
3
3
  root: ({ theme }) => ({
4
4
  '& .SCContributorsFeedObject-btn-participants': {
5
- marginLeft: theme.spacing(-1),
5
+ padding: theme.spacing(0.5),
6
+ marginLeft: theme.spacing(-0.5),
6
7
  color: 'inherit',
7
8
  fontWeight: theme.typography.fontWeightLight,
8
9
  fontSize: '0.875rem'
@@ -19,6 +19,7 @@ declare const Component: {
19
19
  height: any;
20
20
  };
21
21
  '& .SCFeedObject-header': {
22
+ paddingTop: any;
22
23
  paddingBottom: number;
23
24
  '& .MuiCardHeader-subheader': {
24
25
  display: string;
@@ -152,6 +153,7 @@ declare const Component: {
152
153
  '& .SCFeedObject-text-section': {
153
154
  overflowWrap: string;
154
155
  '& > :first-of-type': {
156
+ marginBottom: number;
155
157
  padding: any;
156
158
  display: string;
157
159
  };
@@ -252,9 +254,12 @@ declare const Component: {
252
254
  margin: string;
253
255
  };
254
256
  };
257
+ '& .SCFeedObject-show-more': {
258
+ padding: any;
259
+ marginTop: any;
260
+ };
255
261
  };
256
262
  '& .SCFeedObject-actions-section': {
257
- marginBottom: any;
258
263
  '&:last-of-type': {
259
264
  marginBottom: number;
260
265
  };
@@ -327,6 +332,7 @@ declare const Component: {
327
332
  paddingBottom: number;
328
333
  '& .SCActivitiesMenu-selector': {
329
334
  '& .MuiButton-root': {
335
+ marginTop: any;
330
336
  fontSize: string;
331
337
  fontWeight: any;
332
338
  padding: any;