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