@selfcommunity/react-theme-default 0.1.55 → 0.2.0-alpha.0

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 (129) hide show
  1. package/lib/cjs/components/MuiAutocomplete.js +3 -4
  2. package/lib/cjs/components/MuiSelect.js +2 -3
  3. package/lib/cjs/components/SCCalendar.d.ts +24 -0
  4. package/lib/cjs/components/SCCalendar.js +24 -0
  5. package/lib/cjs/components/SCCreateEventButton.d.ts +12 -0
  6. package/lib/cjs/components/SCCreateEventButton.js +14 -0
  7. package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
  8. package/lib/cjs/components/SCCreateEventWidget.js +54 -0
  9. package/lib/cjs/components/SCEvent.d.ts +217 -0
  10. package/lib/cjs/components/SCEvent.js +219 -0
  11. package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
  12. package/lib/cjs/components/SCEventActionsMenu.js +28 -0
  13. package/lib/cjs/components/SCEventForm.d.ts +103 -0
  14. package/lib/cjs/components/SCEventForm.js +106 -0
  15. package/lib/cjs/components/SCEventHeader.d.ts +147 -0
  16. package/lib/cjs/components/SCEventHeader.js +150 -0
  17. package/lib/cjs/components/SCEventInfoDetails.d.ts +43 -0
  18. package/lib/cjs/components/SCEventInfoDetails.js +43 -0
  19. package/lib/cjs/components/SCEventInfoWidget.d.ts +37 -0
  20. package/lib/cjs/components/SCEventInfoWidget.js +35 -0
  21. package/lib/cjs/components/SCEventInviteButton.d.ts +54 -0
  22. package/lib/cjs/components/SCEventInviteButton.js +57 -0
  23. package/lib/cjs/components/SCEventLocationWidget.d.ts +22 -0
  24. package/lib/cjs/components/SCEventLocationWidget.js +25 -0
  25. package/lib/cjs/components/SCEventMembersWidget.d.ts +68 -0
  26. package/lib/cjs/components/SCEventMembersWidget.js +64 -0
  27. package/lib/cjs/components/SCEventParticipantsButton.d.ts +33 -0
  28. package/lib/cjs/components/SCEventParticipantsButton.js +31 -0
  29. package/lib/cjs/components/SCEventSubscribeButton.d.ts +93 -0
  30. package/lib/cjs/components/SCEventSubscribeButton.js +87 -0
  31. package/lib/cjs/components/SCEvents.d.ts +86 -0
  32. package/lib/cjs/components/SCEvents.js +88 -0
  33. package/lib/cjs/components/SCFeedObject.d.ts +5 -5
  34. package/lib/cjs/components/SCFeedObject.js +5 -5
  35. package/lib/cjs/components/SCFeedUpdatesWidget.js +1 -1
  36. package/lib/cjs/components/SCMediaShare.d.ts +6 -1
  37. package/lib/cjs/components/SCMediaShare.js +6 -1
  38. package/lib/cjs/components/SCMyEventsWidget.d.ts +35 -0
  39. package/lib/cjs/components/SCMyEventsWidget.js +33 -0
  40. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  41. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  42. package/lib/cjs/components/SCNotification.d.ts +27 -0
  43. package/lib/cjs/components/SCNotification.js +27 -0
  44. package/lib/cjs/components/SCOnBoardingWidget.d.ts +451 -0
  45. package/lib/cjs/components/SCOnBoardingWidget.js +449 -0
  46. package/lib/cjs/components/SCPlatformWidget.d.ts +22 -1
  47. package/lib/cjs/components/SCPlatformWidget.js +22 -1
  48. package/lib/cjs/components/SCProgressBar.d.ts +23 -0
  49. package/lib/cjs/components/SCProgressBar.js +25 -0
  50. package/lib/cjs/components/SCRelatedEventsWidget.d.ts +101 -0
  51. package/lib/cjs/components/SCRelatedEventsWidget.js +97 -0
  52. package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +97 -0
  53. package/lib/cjs/components/SCSuggestedEventsWidget.js +95 -0
  54. package/lib/cjs/fonts/community/icons.eot +0 -0
  55. package/lib/cjs/fonts/community/icons.svg +17 -1
  56. package/lib/cjs/fonts/community/icons.ttf +0 -0
  57. package/lib/cjs/fonts/community/icons.woff +0 -0
  58. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  59. package/lib/cjs/fonts/community-icons.css +30 -6
  60. package/lib/cjs/index.d.ts +3706 -1923
  61. package/lib/cjs/index.js +209 -167
  62. package/lib/esm/components/MuiAutocomplete.js +3 -3
  63. package/lib/esm/components/MuiSelect.js +2 -2
  64. package/lib/esm/components/SCCalendar.d.ts +24 -0
  65. package/lib/esm/components/SCCalendar.js +22 -0
  66. package/lib/esm/components/SCCreateEventButton.d.ts +12 -0
  67. package/lib/esm/components/SCCreateEventButton.js +12 -0
  68. package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
  69. package/lib/esm/components/SCCreateEventWidget.js +52 -0
  70. package/lib/esm/components/SCEvent.d.ts +217 -0
  71. package/lib/esm/components/SCEvent.js +217 -0
  72. package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
  73. package/lib/esm/components/SCEventActionsMenu.js +26 -0
  74. package/lib/esm/components/SCEventForm.d.ts +103 -0
  75. package/lib/esm/components/SCEventForm.js +104 -0
  76. package/lib/esm/components/SCEventHeader.d.ts +147 -0
  77. package/lib/esm/components/SCEventHeader.js +148 -0
  78. package/lib/esm/components/SCEventInfoDetails.d.ts +43 -0
  79. package/lib/esm/components/SCEventInfoDetails.js +41 -0
  80. package/lib/esm/components/SCEventInfoWidget.d.ts +37 -0
  81. package/lib/esm/components/SCEventInfoWidget.js +33 -0
  82. package/lib/esm/components/SCEventInviteButton.d.ts +54 -0
  83. package/lib/esm/components/SCEventInviteButton.js +55 -0
  84. package/lib/esm/components/SCEventLocationWidget.d.ts +22 -0
  85. package/lib/esm/components/SCEventLocationWidget.js +23 -0
  86. package/lib/esm/components/SCEventMembersWidget.d.ts +68 -0
  87. package/lib/esm/components/SCEventMembersWidget.js +62 -0
  88. package/lib/esm/components/SCEventParticipantsButton.d.ts +33 -0
  89. package/lib/esm/components/SCEventParticipantsButton.js +29 -0
  90. package/lib/esm/components/SCEventSubscribeButton.d.ts +93 -0
  91. package/lib/esm/components/SCEventSubscribeButton.js +85 -0
  92. package/lib/esm/components/SCEvents.d.ts +86 -0
  93. package/lib/esm/components/SCEvents.js +86 -0
  94. package/lib/esm/components/SCFeedObject.d.ts +5 -5
  95. package/lib/esm/components/SCFeedObject.js +5 -5
  96. package/lib/esm/components/SCFeedUpdatesWidget.js +1 -1
  97. package/lib/esm/components/SCMediaShare.d.ts +6 -1
  98. package/lib/esm/components/SCMediaShare.js +6 -1
  99. package/lib/esm/components/SCMyEventsWidget.d.ts +35 -0
  100. package/lib/esm/components/SCMyEventsWidget.js +31 -0
  101. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  102. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  103. package/lib/esm/components/SCNotification.d.ts +27 -0
  104. package/lib/esm/components/SCNotification.js +27 -0
  105. package/lib/esm/components/SCOnBoardingWidget.d.ts +451 -0
  106. package/lib/esm/components/SCOnBoardingWidget.js +447 -0
  107. package/lib/esm/components/SCPlatformWidget.d.ts +22 -1
  108. package/lib/esm/components/SCPlatformWidget.js +22 -1
  109. package/lib/esm/components/SCProgressBar.d.ts +23 -0
  110. package/lib/esm/components/SCProgressBar.js +23 -0
  111. package/lib/esm/components/SCRelatedEventsWidget.d.ts +101 -0
  112. package/lib/esm/components/SCRelatedEventsWidget.js +95 -0
  113. package/lib/esm/components/SCSuggestedEventsWidget.d.ts +97 -0
  114. package/lib/esm/components/SCSuggestedEventsWidget.js +93 -0
  115. package/lib/esm/fonts/community/icons.eot +0 -0
  116. package/lib/esm/fonts/community/icons.svg +17 -1
  117. package/lib/esm/fonts/community/icons.ttf +0 -0
  118. package/lib/esm/fonts/community/icons.woff +0 -0
  119. package/lib/esm/fonts/community/icons.woff2 +0 -0
  120. package/lib/esm/fonts/community-icons.css +30 -6
  121. package/lib/esm/index.d.ts +3706 -1923
  122. package/lib/esm/index.js +209 -167
  123. package/lib/umd/community/icons.eot +0 -0
  124. package/lib/umd/community/icons.svg +17 -1
  125. package/lib/umd/community/icons.ttf +0 -0
  126. package/lib/umd/community/icons.woff +0 -0
  127. package/lib/umd/community/icons.woff2 +0 -0
  128. package/lib/umd/react-theme-default.js +3 -3
  129. package/package.json +4 -4
@@ -0,0 +1,447 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ [theme.breakpoints.up('md')]: {
5
+ borderRadius: theme.shape.borderRadius
6
+ },
7
+ '& .SCOnBoardingWidget-step-content': {
8
+ [theme.breakpoints.up('md')]: {
9
+ width: '70%'
10
+ },
11
+ padding: theme.spacing(1, 2, 2, 2)
12
+ },
13
+ '& .SCOnBoardingWidget-logo': {
14
+ width: 'auto'
15
+ },
16
+ '& .MuiCardContent-root': {
17
+ '& .MuiList-root': {
18
+ paddingTop: 0,
19
+ borderRight: `1px solid ${theme.palette.grey[200]}`,
20
+ '& .MuiListItem-root': {
21
+ paddingBottom: 0
22
+ }
23
+ },
24
+ [theme.breakpoints.up('md')]: {
25
+ display: 'flex'
26
+ },
27
+ padding: 0,
28
+ '& .SCOnBoardingWidget-steps-mobile': {
29
+ width: '100%',
30
+ display: 'flex',
31
+ overflowX: 'auto',
32
+ overflowY: 'hidden',
33
+ '&::-webkit-scrollbar': {
34
+ display: 'none'
35
+ },
36
+ '-webkit-overflow-scrolling': 'touch',
37
+ '& .MuiButtonBase-root, .MuiListItem-root': {
38
+ marginRight: theme.spacing(0.5),
39
+ padding: 0,
40
+ '& .MuiChip-root': {
41
+ '&.MuiChip-filledDefault': {
42
+ color: theme.palette.common.white,
43
+ backgroundColor: theme.palette.common.black
44
+ }
45
+ }
46
+ },
47
+ padding: theme.spacing(2, 1, 2, 1)
48
+ },
49
+ '& .SCOnBoardingWidget-steps': {
50
+ width: '30%',
51
+ '& .Mui-selected': {
52
+ backgroundColor: theme.palette.grey['A200']
53
+ },
54
+ '& .MuiButtonBase-root': {
55
+ height: theme.spacing(5),
56
+ '&:hover': {
57
+ backgroundColor: theme.palette.grey['A200']
58
+ },
59
+ '& .MuiListItemIcon-root': {
60
+ minWidth: 0
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }),
66
+ accordionRoot: ({ theme, expanded }) => ({
67
+ boxShadow: 'none',
68
+ '& .MuiAccordionDetails-root ': {
69
+ padding: 0,
70
+ '& .SCOnBoardingWidget-content': {
71
+ '& .MuiCardContent-root': {
72
+ padding: 0,
73
+ '& .MuiList-root': {
74
+ paddingTop: 0,
75
+ paddingBottom: theme.spacing(1)
76
+ },
77
+ [theme.breakpoints.down('md')]: {
78
+ '& .MuiListItem-root:first-of-type': {
79
+ paddingTop: theme.spacing(1)
80
+ }
81
+ }
82
+ }
83
+ }
84
+ },
85
+ '& .MuiAccordionSummary-root': {
86
+ borderBottom: `1px solid ${theme.palette.grey[200]}`,
87
+ borderRadius: 0,
88
+ [theme.breakpoints.up('md')]: {
89
+ borderRadius: theme.shape.borderRadius,
90
+ borderBottomLeftRadius: expanded ? 0 : theme.shape.borderRadius,
91
+ borderBottomRightRadius: expanded ? 0 : theme.shape.borderRadius
92
+ },
93
+ '& .MuiAccordionSummary-content': {
94
+ '& h4, & h5': {
95
+ fontWeight: theme.typography.fontWeightBold
96
+ },
97
+ '& h4': {
98
+ fontSize: '1.429rem',
99
+ [theme.breakpoints.down('md')]: {
100
+ marginLeft: theme.spacing(2),
101
+ '& .MuiIcon-root': {
102
+ position: 'absolute',
103
+ left: theme.spacing(2)
104
+ }
105
+ }
106
+ },
107
+ '& h5': {
108
+ fontSize: '1.143rem'
109
+ },
110
+ 'p strong': {
111
+ color: expanded ? theme.palette.secondary.main : 'inherit'
112
+ },
113
+ '& .SCOnBoardingWidget-intro': {
114
+ marginLeft: theme.spacing(2),
115
+ '& h5': {
116
+ marginBottom: theme.spacing(0.5)
117
+ }
118
+ },
119
+ [theme.breakpoints.down('md')]: {
120
+ flexDirection: 'column',
121
+ paddingLeft: expanded ? theme.spacing(2) : 0
122
+ },
123
+ '& .MuiTypography-body1': {
124
+ display: expanded ? 'inherit' : 'flex',
125
+ alignItems: 'center',
126
+ fontSize: expanded ? '14px' : '16px',
127
+ flexWrap: 'wrap',
128
+ strong: {
129
+ marginRight: expanded ? 'inherit' : theme.spacing(1),
130
+ marginLeft: expanded ? 'inherit' : theme.spacing(1)
131
+ }
132
+ }
133
+ },
134
+ alignItems: 'flex-start',
135
+ '& .MuiAccordionSummary-expandIconWrapper': {
136
+ marginTop: theme.spacing(1.5),
137
+ alignSelf: 'flex-start'
138
+ }
139
+ }
140
+ }),
141
+ skeletonRoot: ({ theme }) => ({
142
+ display: 'flex',
143
+ flexDirection: 'column',
144
+ [theme.breakpoints.up('md')]: {
145
+ flexDirection: 'row'
146
+ },
147
+ '& .SCOnBoardingWidget-skeleton-content': {
148
+ width: '100%',
149
+ marginLeft: theme.spacing(1),
150
+ [theme.breakpoints.down('md')]: {
151
+ padding: theme.spacing(2)
152
+ }
153
+ },
154
+ '& .SCOnBoardingWidget-skeleton-menu': {
155
+ '& .MuiListItem-root': {
156
+ padding: 0
157
+ },
158
+ [theme.breakpoints.up('md')]: {
159
+ borderRight: `1px solid ${theme.palette.grey[200]}`
160
+ }
161
+ }
162
+ }),
163
+ contentRoot: ({ theme }) => ({
164
+ '& .SCOnBoardingWidget-content-title': {
165
+ fontWeight: theme.typography.fontWeightBold
166
+ },
167
+ '& .SCOnBoardingWidget-content-summary': {
168
+ whiteSpace: 'pre-line',
169
+ marginTop: theme.spacing(1),
170
+ marginBottom: theme.spacing(2)
171
+ },
172
+ '& .SCOnBoardingWidget-content-action': {
173
+ display: 'flex',
174
+ justifyContent: 'center'
175
+ },
176
+ '& .SCProgressBar-message': {
177
+ marginBottom: theme.spacing(0.5)
178
+ },
179
+ [theme.breakpoints.up('sm')]: {
180
+ '& .SCOnBoardingWidget-content-progress': {
181
+ display: 'flex',
182
+ alignItems: 'center',
183
+ '& .SCOnBoardingWidget-content-animation-progress': {
184
+ height: '250px',
185
+ width: '250px'
186
+ }
187
+ }
188
+ }
189
+ }),
190
+ categoryRoot: ({ theme }) => ({
191
+ '& .SCOnBoardingWidget-category-title': {
192
+ fontWeight: theme.typography.fontWeightBold
193
+ },
194
+ '& .SCOnBoardingWidget-category-summary': {
195
+ margin: theme.spacing(1, 0, 0.5, 0)
196
+ },
197
+ '& .SCOnBoardingWidget-category-action': {
198
+ display: 'flex',
199
+ justifyContent: 'center',
200
+ '& .MuiButton-root': {
201
+ marginTop: theme.spacing(3)
202
+ }
203
+ },
204
+ '& .SCProgressBar-message': {
205
+ marginBottom: theme.spacing(0.5)
206
+ },
207
+ [theme.breakpoints.up('sm')]: {
208
+ '& .SCOnBoardingWidget-category-progress': {
209
+ display: 'flex',
210
+ alignItems: 'center',
211
+ '& .SCOnBoardingWidget-category-animation-progress': {
212
+ height: '250px',
213
+ width: '250px'
214
+ }
215
+ }
216
+ }
217
+ }),
218
+ appearanceRoot: ({ theme }) => ({
219
+ display: 'flex',
220
+ alignItems: 'center',
221
+ flexDirection: 'column',
222
+ '& .MuiButton-root': {
223
+ marginTop: theme.spacing(4)
224
+ },
225
+ '& h4': {
226
+ marginBottom: theme.spacing(1),
227
+ fontWeight: theme.typography.fontWeightBold
228
+ }
229
+ }),
230
+ appearanceDrawerRoot: ({ theme }) => ({
231
+ '& .MuiDrawer-paper': {
232
+ width: '100%',
233
+ [theme.breakpoints.up('sm')]: {
234
+ width: 'fit-content',
235
+ padding: theme.spacing(0, 2, 2, 2)
236
+ }
237
+ },
238
+ '& .SCOnBoardingWidget-appearance-drawer-header': {
239
+ display: 'flex',
240
+ justifyContent: 'space-between',
241
+ alignItems: 'center',
242
+ '& h4': {
243
+ fontWeight: theme.typography.fontWeightBold
244
+ },
245
+ padding: theme.spacing(1)
246
+ },
247
+ '& .MuiTabs-root': {
248
+ [theme.breakpoints.down('md')]: {
249
+ padding: theme.spacing(1)
250
+ },
251
+ marginBottom: theme.spacing(2),
252
+ '& .MuiTab-root ': {
253
+ textTransform: 'none'
254
+ }
255
+ },
256
+ '& .SCOnBoardingWidget-appearance-drawer-content': {
257
+ [theme.breakpoints.down('md')]: {
258
+ padding: theme.spacing(1.5)
259
+ },
260
+ display: 'flex',
261
+ flexDirection: 'column'
262
+ },
263
+ '& .SCOnBoardingWidget-appearance-color': {
264
+ margin: theme.spacing(1, 0, 2, 0)
265
+ },
266
+ '& .SCOnBoardingWidget-appearance-logo-container': {
267
+ position: 'relative',
268
+ width: '100%',
269
+ height: 'auto',
270
+ display: 'flex',
271
+ justifyContent: 'center',
272
+ alignItems: 'center',
273
+ '& .SCOnBoardingWidget-appearance-logo': {
274
+ height: 120,
275
+ width: 240,
276
+ marginBottom: theme.spacing(2),
277
+ objectFit: 'contain',
278
+ '& img': {
279
+ width: '100%',
280
+ height: 'auto'
281
+ }
282
+ },
283
+ '& .SCOnBoardingWidget-appearance-upload-button': {
284
+ '& .MuiIcon-root': {
285
+ fontSize: '1.143rem'
286
+ }
287
+ }
288
+ }
289
+ }),
290
+ profileRoot: ({ theme }) => ({
291
+ display: 'flex',
292
+ alignItems: 'center',
293
+ flexDirection: 'column',
294
+ '& .MuiButton-root': {
295
+ marginTop: theme.spacing(4)
296
+ },
297
+ '& .SCOnBoardingWidget-profile-title': {
298
+ fontWeight: theme.typography.fontWeightBold,
299
+ marginBottom: theme.spacing(1)
300
+ }
301
+ }),
302
+ profileDrawerRoot: ({ theme }) => ({
303
+ '& .MuiDrawer-paper': {
304
+ width: '100%',
305
+ [theme.breakpoints.up('sm')]: {
306
+ width: '30%',
307
+ padding: theme.spacing(0, 2, 2, 2)
308
+ }
309
+ },
310
+ '& .SCOnBoardingWidget-profile-cover': {
311
+ position: 'relative',
312
+ height: 230,
313
+ minHeight: 150,
314
+ borderRadius: 0,
315
+ background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
316
+ boxShadow: 'unset',
317
+ [theme.breakpoints.up('md')]: {
318
+ borderRadius: theme.spacing(0, 0, 2.5, 2.5)
319
+ }
320
+ },
321
+ '& .SCOnBoardingWidget-profile-icon': {
322
+ alignSelf: 'end'
323
+ },
324
+ '& .SCOnBoardingWidget-profile-avatar': {
325
+ top: 100,
326
+ [theme.breakpoints.up('sm')]: { top: 150 },
327
+ display: 'block',
328
+ position: 'absolute',
329
+ marginLeft: theme.spacing(2),
330
+ '& > .MuiBadge-root > img': {
331
+ height: theme.selfcommunity.user.avatar.sizeXLarge,
332
+ width: theme.selfcommunity.user.avatar.sizeXLarge,
333
+ borderRadius: '50%',
334
+ border: `#FFF solid ${theme.spacing(0.5)}`,
335
+ objectFit: 'cover'
336
+ },
337
+ '& .MuiBadge-badge': {
338
+ right: theme.spacing(1),
339
+ top: theme.spacing(3),
340
+ '& .SCUserAvatar-badge-content': {
341
+ width: 32,
342
+ height: 32
343
+ }
344
+ }
345
+ },
346
+ '& .SCOnBoardingWidget-profile-change-picture': {
347
+ top: 140,
348
+ [theme.breakpoints.up('sm')]: { top: 190 },
349
+ left: 80,
350
+ position: 'relative',
351
+ display: 'flex',
352
+ marginLeft: theme.spacing(2)
353
+ },
354
+ '& .SCOnBoardingWidget-profile-change-cover': {
355
+ position: 'absolute',
356
+ right: 10,
357
+ bottom: 10
358
+ },
359
+ '& .SCOnBoardingWidget-profile-public-info': {
360
+ marginTop: theme.spacing(6),
361
+ padding: theme.spacing(2),
362
+ '& .SCUserProfileEdit-public-info-root': {
363
+ display: 'flex',
364
+ alignItems: 'center',
365
+ flexDirection: 'column',
366
+ '& .MuiButtonBase-root': {
367
+ width: 'auto'
368
+ }
369
+ }
370
+ }
371
+ }),
372
+ inviteRoot: ({ theme }) => ({
373
+ '& .MuiTypography-subtitle1': {
374
+ marginLeft: theme.spacing(1.5)
375
+ },
376
+ '& .SCOnBoardingWidget-invite-title': {
377
+ fontWeight: theme.typography.fontWeightBold
378
+ },
379
+ '& .SCOnBoardingWidget-invite-social': {
380
+ margin: theme.spacing(2, 0, 2, 0),
381
+ '& .SCOnBoardingWidget-invite-social-icon-container': {
382
+ display: 'flex',
383
+ justifyContent: 'center',
384
+ marginTop: theme.spacing(2)
385
+ },
386
+ '& .SCOnBoardingWidget-invite-social-icon': {
387
+ fontSize: '2rem',
388
+ fontWeight: theme.typography.fontWeightBold
389
+ },
390
+ '& .SCOnBoardingWidget-invite-title': {
391
+ fontSize: '14px'
392
+ }
393
+ },
394
+ '& .SCOnBoardingWidget-invite-button': {
395
+ marginTop: theme.spacing(8)
396
+ },
397
+ '& .SCOnBoardingWidget-invite-action': {
398
+ display: 'flex',
399
+ justifyContent: 'center',
400
+ marginTop: theme.spacing(5)
401
+ },
402
+ '& .SCOnBoardingWidget-invite-email': {
403
+ '& .SCOnBoardingWidget-invite-title': {
404
+ fontSize: '14px'
405
+ }
406
+ }
407
+ }),
408
+ appRoot: ({ theme }) => ({
409
+ '& .SCOnBoardingWidget-app-title': {
410
+ fontWeight: theme.typography.fontWeightBold
411
+ },
412
+ '& .SCOnBoardingWidget-app-summary': {
413
+ whiteSpace: 'pre-line',
414
+ margin: theme.spacing(2, 0, 2, 0)
415
+ },
416
+ '& .SCOnBoardingWidget-app-tabs': {
417
+ padding: theme.spacing(0, 2, 0, 2),
418
+ '& .MuiTab-root ': {
419
+ textTransform: 'none'
420
+ }
421
+ },
422
+ '& .SCOnBoardingWidget-app-tab-content': {
423
+ display: 'flex',
424
+ flexDirection: 'column',
425
+ alignItems: 'center',
426
+ '& .SCOnBoardingWidget-app-image': {
427
+ width: 'auto'
428
+ }
429
+ },
430
+ '& .SCOnBoardingWidget-app-step': {
431
+ marginBottom: theme.spacing(2),
432
+ display: 'flex',
433
+ alignItems: 'center',
434
+ strong: {
435
+ display: 'flex',
436
+ alignItems: 'center',
437
+ marginRight: theme.spacing(0.5),
438
+ '& .MuiIcon-root': {
439
+ margin: theme.spacing(0, 0.5, 0, 0.5)
440
+ }
441
+ },
442
+ flexWrap: 'wrap'
443
+ }
444
+ })
445
+ }
446
+ };
447
+ export default Component;
@@ -3,7 +3,28 @@ declare const Component: {
3
3
  root: ({ theme }: any) => {
4
4
  padding: any;
5
5
  };
6
- skeletonRoot: ({ theme }: any) => {};
6
+ skeletonRoot: ({ theme }: any) => {
7
+ '& .SCPlatformWidget-skeleton-content': {
8
+ padding: any;
9
+ };
10
+ '& .SCPlatformWidget-skeleton-title': {
11
+ display: string;
12
+ justifyContent: string;
13
+ alignItems: string;
14
+ paddingBottom: any;
15
+ };
16
+ '& .SCPlatformWidget-skeleton-actions': {
17
+ display: string;
18
+ justifyContent: string;
19
+ alignItems: string;
20
+ paddingBottom: any;
21
+ };
22
+ '& .SCPlatformWidget-skeleton-tutorial': {
23
+ display: string;
24
+ justifyContent: string;
25
+ alignItems: string;
26
+ };
27
+ };
7
28
  };
8
29
  };
9
30
  export default Component;
@@ -3,7 +3,28 @@ const Component = {
3
3
  root: ({ theme }) => ({
4
4
  padding: theme.spacing(2)
5
5
  }),
6
- skeletonRoot: ({ theme }) => ({})
6
+ skeletonRoot: ({ theme }) => ({
7
+ '& .SCPlatformWidget-skeleton-content': {
8
+ padding: theme.spacing(2)
9
+ },
10
+ '& .SCPlatformWidget-skeleton-title': {
11
+ display: 'flex',
12
+ justifyContent: 'center',
13
+ alignItems: 'center',
14
+ paddingBottom: theme.spacing()
15
+ },
16
+ '& .SCPlatformWidget-skeleton-actions': {
17
+ display: 'flex',
18
+ justifyContent: 'space-around',
19
+ alignItems: 'center',
20
+ paddingBottom: theme.spacing()
21
+ },
22
+ '& .SCPlatformWidget-skeleton-tutorial': {
23
+ display: 'flex',
24
+ justifyContent: 'center',
25
+ alignItems: 'center'
26
+ }
27
+ })
7
28
  }
8
29
  };
9
30
  export default Component;
@@ -0,0 +1,23 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ width: string;
5
+ display: string;
6
+ flexDirection: string;
7
+ alignItems: string;
8
+ '& .SCProgressBar-bar': {
9
+ width: string;
10
+ height: number;
11
+ borderRadius: number;
12
+ };
13
+ '& .SCProgressBar-progress': {
14
+ marginTop: any;
15
+ h4: {
16
+ fontWeight: any;
17
+ fontSize: string;
18
+ };
19
+ };
20
+ };
21
+ };
22
+ };
23
+ export default Component;
@@ -0,0 +1,23 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ width: '100%',
5
+ display: 'flex',
6
+ flexDirection: 'column',
7
+ alignItems: 'center',
8
+ '& .SCProgressBar-bar': {
9
+ width: '100%',
10
+ height: 10,
11
+ borderRadius: 5
12
+ },
13
+ '& .SCProgressBar-progress': {
14
+ marginTop: theme.spacing(0.5),
15
+ h4: {
16
+ fontWeight: theme.typography.fontWeightBold,
17
+ fontSize: '18px'
18
+ }
19
+ }
20
+ })
21
+ }
22
+ };
23
+ export default Component;
@@ -0,0 +1,101 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCRelatedEventsWidget-content': {
7
+ padding: string;
8
+ '& .SCRelatedEventsWidget-header': {
9
+ flexDirection: string;
10
+ justifyContent: string;
11
+ alignItems: string;
12
+ marginBottom: any;
13
+ '& .SCRelatedEventsWidget-avatar-wrapper': {
14
+ flexDirection: string;
15
+ alignItems: string;
16
+ color: string;
17
+ padding: number;
18
+ minWidth: string;
19
+ '& .SCRelatedEventsWidget-avatar': {
20
+ width: any;
21
+ height: any;
22
+ };
23
+ };
24
+ '& h4': {
25
+ marginLeft: number;
26
+ lineHeight: string;
27
+ };
28
+ };
29
+ '& .SCRelatedEventsWidget-event-wrapper': {
30
+ gap: any;
31
+ '& .SCRelatedEventsWidget-event': {
32
+ '& > div': {
33
+ padding: string;
34
+ '& > .SCBaseItem-content': {
35
+ '& > .SCBaseItem-text': {
36
+ margin: number;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ };
42
+ };
43
+ '& .SCRelatedEventsWidget-actions': {
44
+ padding: string;
45
+ justifyContent: string;
46
+ '& .SCSuggestedEventsWidget-actionButton': {
47
+ color: any;
48
+ };
49
+ };
50
+ };
51
+ skeletonRoot: ({ theme }: {
52
+ theme: any;
53
+ }) => {
54
+ '& .SCRelatedEventsWidget-content': {
55
+ padding: string;
56
+ '& .SCRelatedEventsWidget-user': {
57
+ marginBottom: any;
58
+ '& > .SCBaseItem-content': {
59
+ '& > .SCBaseItem-text': {
60
+ margin: number;
61
+ };
62
+ };
63
+ '& > .SCBaseItem-actions': {
64
+ display: string;
65
+ };
66
+ };
67
+ '& .SCRelatedEventsWidget-event-wrapper': {
68
+ gap: any;
69
+ '& .SCRelatedEventsWidget-event': {
70
+ '& > div': {
71
+ padding: string;
72
+ '& > .SCBaseItem-content': {
73
+ '& > .SCBaseItem-text': {
74
+ margin: number;
75
+ };
76
+ };
77
+ };
78
+ };
79
+ };
80
+ };
81
+ '& .SCRelatedEventsWidget-actions': {
82
+ padding: string;
83
+ justifyContent: string;
84
+ };
85
+ };
86
+ dialogRoot: ({ theme }: {
87
+ theme: any;
88
+ }) => {
89
+ '& .SCRelatedEventsWidget-infinite-scroll': {
90
+ [x: number]: {
91
+ height: string;
92
+ };
93
+ height: string;
94
+ '& .SCEvent-root': {
95
+ width: string;
96
+ };
97
+ };
98
+ };
99
+ };
100
+ };
101
+ export default Component;