@selfcommunity/react-theme-default 0.4.5-payments.168 → 0.4.5-payments.169

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 (78) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +15 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +16 -1
  3. package/lib/cjs/components/SCAddUsersButton.d.ts +7 -1
  4. package/lib/cjs/components/SCAddUsersButton.js +6 -1
  5. package/lib/cjs/components/SCCourse.d.ts +4 -1
  6. package/lib/cjs/components/SCCourse.js +4 -1
  7. package/lib/cjs/components/SCCourseContentMenu.d.ts +3 -1
  8. package/lib/cjs/components/SCCourseContentMenu.js +3 -1
  9. package/lib/cjs/components/SCCourseDashboard.d.ts +18 -4
  10. package/lib/cjs/components/SCCourseDashboard.js +23 -8
  11. package/lib/cjs/components/SCCourseForm.d.ts +50 -3
  12. package/lib/cjs/components/SCCourseForm.js +52 -7
  13. package/lib/cjs/components/SCCourseTypePopover.d.ts +23 -0
  14. package/lib/cjs/components/SCCourseTypePopover.js +24 -0
  15. package/lib/cjs/components/SCCourseUsersTable.d.ts +16 -0
  16. package/lib/cjs/components/SCCourseUsersTable.js +16 -0
  17. package/lib/cjs/components/SCCourses.d.ts +10 -5
  18. package/lib/cjs/components/SCCourses.js +11 -6
  19. package/lib/cjs/components/SCEditCourse.d.ts +176 -130
  20. package/lib/cjs/components/SCEditCourse.js +185 -138
  21. package/lib/cjs/components/SCEmptyStatus.d.ts +1 -0
  22. package/lib/cjs/components/SCEmptyStatus.js +1 -0
  23. package/lib/cjs/components/SCGroupForm.d.ts +3 -0
  24. package/lib/cjs/components/SCGroupForm.js +3 -0
  25. package/lib/cjs/components/SCLessonCommentObjects.d.ts +3 -1
  26. package/lib/cjs/components/SCLessonCommentObjects.js +4 -2
  27. package/lib/cjs/components/SCLessonDrawer.d.ts +3 -1
  28. package/lib/cjs/components/SCLessonDrawer.js +3 -1
  29. package/lib/cjs/components/SCLessonObject.d.ts +4 -1
  30. package/lib/cjs/components/SCLessonObject.js +5 -2
  31. package/lib/cjs/components/SCLessonTemplate.d.ts +5 -0
  32. package/lib/cjs/components/SCLessonTemplate.js +4 -0
  33. package/lib/cjs/components/SCNotification.d.ts +22 -0
  34. package/lib/cjs/components/SCNotification.js +22 -0
  35. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +150 -0
  36. package/lib/cjs/components/SCPaywallsConfigurator.js +153 -0
  37. package/lib/cjs/index.d.ts +512 -154
  38. package/lib/cjs/index.js +5 -1
  39. package/lib/esm/components/SCAccordionLessons.d.ts +15 -0
  40. package/lib/esm/components/SCAccordionLessons.js +16 -1
  41. package/lib/esm/components/SCAddUsersButton.d.ts +7 -1
  42. package/lib/esm/components/SCAddUsersButton.js +6 -1
  43. package/lib/esm/components/SCCourse.d.ts +4 -1
  44. package/lib/esm/components/SCCourse.js +4 -1
  45. package/lib/esm/components/SCCourseContentMenu.d.ts +3 -1
  46. package/lib/esm/components/SCCourseContentMenu.js +3 -1
  47. package/lib/esm/components/SCCourseDashboard.d.ts +18 -4
  48. package/lib/esm/components/SCCourseDashboard.js +23 -8
  49. package/lib/esm/components/SCCourseForm.d.ts +50 -3
  50. package/lib/esm/components/SCCourseForm.js +49 -4
  51. package/lib/esm/components/SCCourseTypePopover.d.ts +23 -0
  52. package/lib/esm/components/SCCourseTypePopover.js +22 -0
  53. package/lib/esm/components/SCCourseUsersTable.d.ts +16 -0
  54. package/lib/esm/components/SCCourseUsersTable.js +16 -0
  55. package/lib/esm/components/SCCourses.d.ts +10 -5
  56. package/lib/esm/components/SCCourses.js +11 -6
  57. package/lib/esm/components/SCEditCourse.d.ts +176 -130
  58. package/lib/esm/components/SCEditCourse.js +185 -138
  59. package/lib/esm/components/SCEmptyStatus.d.ts +1 -0
  60. package/lib/esm/components/SCEmptyStatus.js +1 -0
  61. package/lib/esm/components/SCGroupForm.d.ts +3 -0
  62. package/lib/esm/components/SCGroupForm.js +3 -0
  63. package/lib/esm/components/SCLessonCommentObjects.d.ts +3 -1
  64. package/lib/esm/components/SCLessonCommentObjects.js +4 -2
  65. package/lib/esm/components/SCLessonDrawer.d.ts +3 -1
  66. package/lib/esm/components/SCLessonDrawer.js +3 -1
  67. package/lib/esm/components/SCLessonObject.d.ts +4 -1
  68. package/lib/esm/components/SCLessonObject.js +5 -2
  69. package/lib/esm/components/SCLessonTemplate.d.ts +5 -0
  70. package/lib/esm/components/SCLessonTemplate.js +4 -0
  71. package/lib/esm/components/SCNotification.d.ts +22 -0
  72. package/lib/esm/components/SCNotification.js +22 -0
  73. package/lib/esm/components/SCPaywallsConfigurator.d.ts +150 -0
  74. package/lib/esm/components/SCPaywallsConfigurator.js +151 -0
  75. package/lib/esm/index.d.ts +512 -154
  76. package/lib/esm/index.js +5 -1
  77. package/lib/umd/react-theme-default.js +1 -1
  78. package/package.json +2 -2
@@ -1,9 +1,13 @@
1
+ import { getContrastRatio } from '@mui/material';
1
2
  const Component = {
2
3
  styleOverrides: {
3
4
  root: ({ theme }) => ({
4
5
  [theme.breakpoints.down('sm')]: {
5
6
  marginBottom: '56px'
6
7
  },
8
+ '& .SCEditCourse-contrast-color': {
9
+ color: getContrastRatio(theme.palette.background.default, theme.palette.common.white) > 4.5 ? theme.palette.common.white : undefined
10
+ },
7
11
  '& .SCEditCourse-header': {
8
12
  flexDirection: 'row',
9
13
  alignItems: 'center',
@@ -48,7 +52,15 @@ const Component = {
48
52
  }
49
53
  },
50
54
  '& .SCEditCourse-status': {
51
- borderRadius: theme.spacing(1)
55
+ borderRadius: theme.spacing(1),
56
+ '& .MuiButtonBase-root': {
57
+ padding: 0,
58
+ textDecoration: 'underline',
59
+ '&:hover': {
60
+ backgroundColor: 'unset',
61
+ textDecoration: 'underline'
62
+ }
63
+ }
52
64
  },
53
65
  '& .SCEditCourse-lesson-empty-status': {
54
66
  border: `1px solid ${theme.palette.grey[300]}`,
@@ -57,109 +69,120 @@ const Component = {
57
69
  '& .SCEditCourse-empty-status-button': {
58
70
  marginTop: '7px'
59
71
  },
60
- '& .SCEditCourse-lessons-sections-wrapper': {
61
- flexDirection: 'row',
62
- alignItems: 'center',
63
- justifyContent: 'space-between',
64
- marginTop: '9px',
65
- padding: theme.spacing(2),
72
+ '& .SCEditCourse-lessons-inner-wrapper': {
66
73
  border: `1px solid ${theme.palette.grey[300]}`,
67
- borderBottom: 'unset',
68
- borderTopLeftRadius: '5px',
69
- borderTopRightRadius: '5px',
70
- '& .SCEditCourse-lessons-sections': {
74
+ borderRadius: '5px',
75
+ backgroundColor: theme.palette.common.white,
76
+ marginTop: '9px',
77
+ padding: theme.spacing(1),
78
+ [theme.breakpoints.up('sm')]: {
79
+ padding: theme.spacing(2)
80
+ },
81
+ '& .SCEditCourse-lessons-sections-wrapper': {
71
82
  flexDirection: 'row',
72
83
  alignItems: 'center',
73
- gap: '6px',
74
- '& .SCEditCourse-circle': {
75
- width: '6px',
76
- height: '6px',
77
- borderRadius: 9999,
78
- backgroundColor: theme.palette.common.black
79
- }
80
- },
81
- '& .SCEditCourse-section-button': {
82
- alignItems: 'flex-start',
83
- '& .SCEditCourse-section-button-typography': {
84
- textTransform: 'inherit'
85
- }
86
- }
87
- },
88
- '& .SCEditCourse-table-container': {
89
- width: 'auto',
90
- border: `1px solid ${theme.palette.grey[300]}`,
91
- borderBottomLeftRadius: '5px',
92
- borderBottomRightRadius: '5px',
93
- '& .SCEditCourse-table': {
94
- '& .SCEditCourse-cell-width': {
95
- width: '3%'
96
- },
97
- '& .SCEditCourse-cell-align-center': {
98
- textAlign: 'center'
99
- },
100
- '& .SCEditCourse-cell-align-right': {
101
- textAlign: 'right'
102
- },
103
- '& .SCEditCourse-cell-padding': {
104
- paddingRight: 0
105
- },
106
- '& .MuiTableCell-root': {
107
- textWrapMode: 'nowrap'
108
- },
109
- '& .SCEditCourse-table-header': {
110
- '& .SCEditCourse-table-header-typography': {
111
- textTransform: 'uppercase'
84
+ justifyContent: 'space-between',
85
+ padding: theme.spacing(2),
86
+ border: `1px solid ${theme.palette.grey[300]}`,
87
+ borderBottom: 'unset',
88
+ borderTopLeftRadius: '5px',
89
+ borderTopRightRadius: '5px',
90
+ backgroundColor: theme.palette.common.white,
91
+ '& .SCEditCourse-lessons-sections': {
92
+ flexDirection: 'row',
93
+ alignItems: 'center',
94
+ gap: '6px',
95
+ '& .SCEditCourse-circle': {
96
+ width: '6px',
97
+ height: '6px',
98
+ borderRadius: 9999,
99
+ backgroundColor: theme.palette.common.black
112
100
  }
113
101
  },
114
- '& .SCEditCourse-table-body': {
115
- '& .SCEditCourse-table-body-icon-wrapper': {
116
- flexDirection: 'row',
117
- alignItems: 'center',
118
- gap: '10px'
102
+ '& .SCEditCourse-section-button': {
103
+ alignItems: 'flex-start',
104
+ '& .SCEditCourse-section-button-typography': {
105
+ textTransform: 'inherit'
106
+ }
107
+ }
108
+ },
109
+ '& .SCEditCourse-table-container': {
110
+ width: 'auto',
111
+ border: `1px solid ${theme.palette.grey[300]}`,
112
+ borderBottomLeftRadius: '5px',
113
+ borderBottomRightRadius: '5px',
114
+ backgroundColor: theme.palette.common.white,
115
+ '& .SCEditCourse-table': {
116
+ '& .SCEditCourse-cell-width': {
117
+ width: '3%'
119
118
  },
120
- '& .SCEditCourse-table-body-accordion': {
121
- backgroundColor: theme.palette.grey[200]
119
+ '& .SCEditCourse-cell-align-center': {
120
+ textAlign: 'center'
122
121
  },
123
- '& .SCEditCourse-edit-mode-wrapper': {
124
- flexDirection: 'row',
125
- alignItems: 'center',
126
- gap: '5px',
127
- '& .SCEditCourse-edit-mode-save-button': {
128
- minWidth: 'unset',
129
- borderRadius: '5px',
130
- padding: '8px'
131
- },
132
- '& .SCEditCourse-edit-mode-close-button': {
133
- border: `1px solid ${theme.palette.action.active}`,
134
- borderRadius: '5px',
135
- padding: '8px'
122
+ '& .SCEditCourse-cell-align-right': {
123
+ textAlign: 'right'
124
+ },
125
+ '& .SCEditCourse-cell-padding': {
126
+ paddingRight: 0
127
+ },
128
+ '& .MuiTableCell-root': {
129
+ textWrapMode: 'nowrap'
130
+ },
131
+ '& .SCEditCourse-table-header': {
132
+ '& .SCEditCourse-table-header-typography': {
133
+ textTransform: 'uppercase'
136
134
  }
137
135
  },
138
- '& .SCEditCourse-actions-wrapper': {
139
- display: 'inline-flex',
140
- flexDirection: 'row',
141
- alignItems: 'center',
142
- gap: '14px',
143
- [theme.breakpoints.up('sm')]: {
144
- gap: '22px'
136
+ '& .SCEditCourse-table-body': {
137
+ '& .SCEditCourse-table-body-icon-wrapper': {
138
+ flexDirection: 'row',
139
+ alignItems: 'center',
140
+ gap: '10px'
141
+ },
142
+ '& .SCEditCourse-table-body-accordion': {
143
+ backgroundColor: theme.palette.grey[200]
144
+ },
145
+ '& .SCEditCourse-edit-mode-wrapper': {
146
+ flexDirection: 'row',
147
+ alignItems: 'center',
148
+ gap: '5px',
149
+ '& .SCEditCourse-edit-mode-save-button': {
150
+ minWidth: 'unset',
151
+ borderRadius: '5px',
152
+ padding: '8px'
153
+ },
154
+ '& .SCEditCourse-edit-mode-close-button': {
155
+ border: `1px solid ${theme.palette.action.active}`,
156
+ borderRadius: '5px',
157
+ padding: '8px'
158
+ }
145
159
  },
146
- '& .SCEditCourse-change-lesson-status-published-wrapper': {
147
- color: theme.palette.common.white,
148
- backgroundColor: theme.palette.primary.main,
149
- '& .MuiIcon-root': {
150
- color: theme.palette.common.white
160
+ '& .SCEditCourse-actions-wrapper': {
161
+ display: 'inline-flex',
162
+ flexDirection: 'row',
163
+ alignItems: 'center',
164
+ gap: '14px',
165
+ [theme.breakpoints.up('sm')]: {
166
+ gap: '22px'
167
+ },
168
+ '& .SCEditCourse-change-lesson-status-published-wrapper': {
169
+ color: theme.palette.common.white,
170
+ backgroundColor: theme.palette.primary.main,
171
+ '& .MuiIcon-root': {
172
+ color: theme.palette.common.white
173
+ }
174
+ },
175
+ '& .SCEditCourse-change-lesson-status-icon-draft': {
176
+ width: '20px',
177
+ height: '20px',
178
+ borderRadius: 9999,
179
+ backgroundColor: theme.palette.grey['600']
151
180
  }
152
181
  },
153
- '& .SCEditCourse-change-lesson-status-icon-draft': {
154
- width: '20px',
155
- height: '20px',
156
- borderRadius: 9999,
157
- backgroundColor: theme.palette.grey['600']
182
+ '& .SCEditCourse-table-body-collapse-wrapper': {
183
+ padding: 0,
184
+ border: 0
158
185
  }
159
- },
160
- '& .SCEditCourse-table-body-collapse-wrapper': {
161
- padding: 0,
162
- border: 0
163
186
  }
164
187
  }
165
188
  }
@@ -172,19 +195,28 @@ const Component = {
172
195
  marginTop: '7px',
173
196
  marginBottom: theme.spacing(2)
174
197
  },
175
- '& .SCEditCourse-options-wrapper': {
176
- gap: theme.spacing(5),
177
- maxWidth: '600px',
178
- margin: 'auto'
179
- },
180
- '& .SCEditCourse-options-divider': {
181
- marginTop: '21px',
182
- marginBottom: theme.spacing(3)
183
- },
184
- '& .SCEditCourse-options-button-wrapper': {
185
- alignItems: 'flex-end',
186
- maxWidth: '600px',
187
- margin: 'auto'
198
+ '& .SCEditCourse-options-container': {
199
+ border: `1px solid ${theme.palette.grey['300']}`,
200
+ borderRadius: '5px',
201
+ padding: theme.spacing(1),
202
+ backgroundColor: theme.palette.common.white,
203
+ [theme.breakpoints.up('sm')]: {
204
+ padding: theme.spacing(2)
205
+ },
206
+ '& .SCEditCourse-options-wrapper': {
207
+ gap: theme.spacing(5),
208
+ maxWidth: '600px',
209
+ margin: 'auto'
210
+ },
211
+ '& .SCEditCourse-options-divider': {
212
+ marginTop: '21px',
213
+ marginBottom: theme.spacing(3)
214
+ },
215
+ '& .SCEditCourse-options-button-wrapper': {
216
+ alignItems: 'flex-end',
217
+ maxWidth: '600px',
218
+ margin: theme.spacing(2, 'auto', 0)
219
+ }
188
220
  }
189
221
  }
190
222
  }),
@@ -223,30 +255,39 @@ const Component = {
223
255
  gap: theme.spacing(1)
224
256
  }
225
257
  },
226
- '& .SCEditCourse-lessons-sections-wrapper': {
227
- flexDirection: 'row',
228
- alignItems: 'center',
229
- justifyContent: 'space-between',
230
- marginTop: '9px',
231
- padding: theme.spacing(2),
232
- border: `1px solid ${theme.palette.grey[300]}`,
233
- borderRadius: '5px'
234
- },
235
- '& .SCEditCourse-table-container': {
236
- width: 'auto',
258
+ '& .SCEditCourse-lessons-inner-wrapper': {
237
259
  border: `1px solid ${theme.palette.grey[300]}`,
238
- borderBottomLeftRadius: '5px',
239
- borderBottomRightRadius: '5px',
240
- '& .SCEditCourse-margin': {
241
- margin: 'auto'
242
- },
243
- '& .SCEditCourse-margin-left': {
244
- marginLeft: 'auto'
260
+ borderRadius: '5px',
261
+ backgroundColor: theme.palette.common.white,
262
+ marginTop: '9px',
263
+ padding: theme.spacing(1),
264
+ [theme.breakpoints.up('sm')]: {
265
+ padding: theme.spacing(2)
245
266
  },
246
- '& .SCEditCourse-actions-wrapper': {
267
+ '& .SCEditCourse-lessons-sections-wrapper': {
247
268
  flexDirection: 'row',
248
- justifyContent: 'flex-end',
249
- gap: '22px'
269
+ alignItems: 'center',
270
+ justifyContent: 'space-between',
271
+ padding: theme.spacing(2),
272
+ border: `1px solid ${theme.palette.grey[300]}`,
273
+ borderRadius: '5px'
274
+ },
275
+ '& .SCEditCourse-table-container': {
276
+ width: 'auto',
277
+ border: `1px solid ${theme.palette.grey[300]}`,
278
+ borderBottomLeftRadius: '5px',
279
+ borderBottomRightRadius: '5px',
280
+ '& .SCEditCourse-margin': {
281
+ margin: 'auto'
282
+ },
283
+ '& .SCEditCourse-margin-left': {
284
+ marginLeft: 'auto'
285
+ },
286
+ '& .SCEditCourse-actions-wrapper': {
287
+ flexDirection: 'row',
288
+ justifyContent: 'flex-end',
289
+ gap: '22px'
290
+ }
250
291
  }
251
292
  },
252
293
  '& .SCEditCourse-users-status-wrapper': {
@@ -255,19 +296,25 @@ const Component = {
255
296
  marginTop: '7px',
256
297
  marginBottom: theme.spacing(2)
257
298
  },
258
- '& .SCEditCourse-options-wrapper': {
259
- gap: theme.spacing(5),
260
- maxWidth: '600px',
261
- margin: 'auto'
262
- },
263
- '& .SCEditCourse-options-divider': {
264
- marginTop: '21px',
265
- marginBottom: theme.spacing(3)
266
- },
267
- '& .SCEditCourse-options-button-wrapper': {
268
- alignItems: 'flex-end',
269
- maxWidth: '600px',
270
- margin: 'auto'
299
+ '& .SCEditCourse-options-container': {
300
+ border: `1px solid ${theme.palette.grey['300']}`,
301
+ borderRadius: '5px',
302
+ paddingBottom: '10px',
303
+ backgroundColor: theme.palette.common.white,
304
+ '& .SCEditCourse-options-wrapper': {
305
+ gap: theme.spacing(5),
306
+ maxWidth: '600px',
307
+ margin: 'auto'
308
+ },
309
+ '& .SCEditCourse-options-divider': {
310
+ marginTop: '21px',
311
+ marginBottom: theme.spacing(3)
312
+ },
313
+ '& .SCEditCourse-options-button-wrapper': {
314
+ alignItems: 'flex-end',
315
+ maxWidth: '600px',
316
+ margin: 'auto'
317
+ }
271
318
  }
272
319
  })
273
320
  }
@@ -8,6 +8,7 @@ declare const Component: {
8
8
  gap: string;
9
9
  padding: any;
10
10
  marginTop: string;
11
+ backgroundColor: any;
11
12
  '& .SCEmptyStatus-box': {
12
13
  width: string;
13
14
  height: string;
@@ -6,6 +6,7 @@ const Component = {
6
6
  gap: '10px',
7
7
  padding: theme.spacing(3),
8
8
  marginTop: '9px',
9
+ backgroundColor: theme.palette.common.white,
9
10
  '& .SCEmptyStatus-box': {
10
11
  width: '130px',
11
12
  height: '130px',
@@ -21,6 +21,9 @@ declare const Component: {
21
21
  height: any;
22
22
  width: any;
23
23
  };
24
+ '& .MuiIcon-root': {
25
+ color: any;
26
+ };
24
27
  };
25
28
  };
26
29
  '& .SCChangeGroupPictureButton-root': {
@@ -21,6 +21,9 @@ const Component = {
21
21
  '& img': {
22
22
  height: theme.selfcommunity.group.avatar.sizeMedium,
23
23
  width: theme.selfcommunity.group.avatar.sizeMedium
24
+ },
25
+ '& .MuiIcon-root': {
26
+ color: theme.palette.common.white
24
27
  }
25
28
  }
26
29
  },
@@ -24,11 +24,12 @@ declare const Component: {
24
24
  marginLeft: string;
25
25
  };
26
26
  };
27
- marginTop: any;
27
+ marginTop: string;
28
28
  marginBottom: number;
29
29
  };
30
30
  '& .infinite-scroll-component__outerdiv': {
31
31
  overflowY: string;
32
+ marginBottom: any;
32
33
  '& .infinite-scroll-component': {
33
34
  '& .MuiList-root ': {
34
35
  padding: number;
@@ -42,6 +43,7 @@ declare const Component: {
42
43
  skeletonRoot: ({ theme }: any) => {
43
44
  width: string;
44
45
  backgroundColor: string;
46
+ padding: any;
45
47
  };
46
48
  };
47
49
  };
@@ -24,11 +24,12 @@ const Component = {
24
24
  marginLeft: 'auto'
25
25
  }
26
26
  },
27
- marginTop: theme.spacing(2),
27
+ marginTop: 'auto',
28
28
  marginBottom: 0
29
29
  },
30
30
  '& .infinite-scroll-component__outerdiv': {
31
31
  overflowY: 'auto',
32
+ marginBottom: theme.spacing(2),
32
33
  '& .infinite-scroll-component': {
33
34
  '& .MuiList-root ': {
34
35
  padding: 0,
@@ -41,7 +42,8 @@ const Component = {
41
42
  }),
42
43
  skeletonRoot: ({ theme }) => ({
43
44
  width: '100%',
44
- backgroundColor: 'transparent'
45
+ backgroundColor: 'transparent',
46
+ padding: theme.spacing(2, 0, 0, 2)
45
47
  })
46
48
  }
47
49
  };
@@ -19,7 +19,9 @@ declare const Component: {
19
19
  backgroundColor: any;
20
20
  };
21
21
  '& .SCLessonDrawer-header': {
22
- minHeight: string;
22
+ [x: number]: {
23
+ minHeight: string;
24
+ };
23
25
  display: string;
24
26
  padding: any;
25
27
  };
@@ -19,7 +19,9 @@ const Component = {
19
19
  backgroundColor: theme.palette.grey[200]
20
20
  },
21
21
  '& .SCLessonDrawer-header': {
22
- minHeight: '60px',
22
+ [theme.breakpoints.up('sm')]: {
23
+ minHeight: '60px'
24
+ },
23
25
  display: 'block',
24
26
  padding: theme.spacing(1.5)
25
27
  },
@@ -30,9 +30,12 @@ declare const Component: {
30
30
  };
31
31
  };
32
32
  '& .SCLessonObject-medias-section': {
33
- display: string;
33
+ '& .SCLessonObject-files': {
34
+ display: string;
35
+ };
34
36
  '& .SCLessonFilePreview-root': {
35
37
  marginBottom: any;
38
+ maxWidth: string;
36
39
  };
37
40
  '& .SCMediaLink-display-root': {
38
41
  marginBottom: any;
@@ -30,9 +30,12 @@ const Component = {
30
30
  }
31
31
  },
32
32
  '& .SCLessonObject-medias-section': {
33
- display: 'flex',
33
+ '& .SCLessonObject-files': {
34
+ display: 'flex'
35
+ },
34
36
  '& .SCLessonFilePreview-root': {
35
- marginBottom: theme.spacing(1)
37
+ marginBottom: theme.spacing(1),
38
+ maxWidth: '140px'
36
39
  },
37
40
  '& .SCMediaLink-display-root': {
38
41
  marginBottom: theme.spacing(1),
@@ -8,6 +8,11 @@ declare const Component: {
8
8
  justifyContent: string;
9
9
  marginBottom: any;
10
10
  };
11
+ '& .SCLessonTemplate-preview-info': {
12
+ justifyContent: string;
13
+ borderRadius: number;
14
+ marginBottom: any;
15
+ };
11
16
  '& .SCLessonTemplate-button': {
12
17
  alignSelf: string;
13
18
  marginTop: string;
@@ -14,6 +14,10 @@ const Component = {
14
14
  alignItems: 'center',
15
15
  justifyContent: 'space-between',
16
16
  marginBottom: theme.spacing(1)
17
+ }, '& .SCLessonTemplate-preview-info': {
18
+ justifyContent: 'center',
19
+ borderRadius: 5,
20
+ marginBottom: theme.spacing(1)
17
21
  }, '& .SCLessonTemplate-button': {
18
22
  alignSelf: 'center',
19
23
  marginTop: 'auto'
@@ -278,6 +278,28 @@ declare const Component: {
278
278
  maxWidth: string;
279
279
  };
280
280
  };
281
+ courseRoot: ({ theme }: any) => {
282
+ '& .SCNotification-username, & a': {
283
+ fontWeight: any;
284
+ };
285
+ '& .SCNotificationItem-primary': {
286
+ '& .SCCourse-root': {
287
+ width: string;
288
+ '& .SCCourse-snippet-root': {
289
+ paddingLeft: string;
290
+ };
291
+ };
292
+ };
293
+ '& .SCNotificationItem-secondary': {
294
+ textTransform: string;
295
+ };
296
+ '& .SCNotification-snippet-time': {
297
+ paddingLeft: any;
298
+ };
299
+ '& .SCCourse-snippet-root': {
300
+ backgroundColor: string;
301
+ };
302
+ };
281
303
  eventRoot: ({ theme }: any) => {
282
304
  '& .SCNotification-username, & a': {
283
305
  fontWeight: any;
@@ -280,6 +280,28 @@ const Component = {
280
280
  maxWidth: '40%'
281
281
  }
282
282
  }),
283
+ courseRoot: ({ theme }) => ({
284
+ '& .SCNotification-username, & a': {
285
+ fontWeight: theme.typography.fontWeightBold
286
+ },
287
+ '& .SCNotificationItem-primary': {
288
+ '& .SCCourse-root': {
289
+ width: '100%',
290
+ '& .SCCourse-snippet-root': {
291
+ paddingLeft: '0 !important'
292
+ }
293
+ }
294
+ },
295
+ '& .SCNotificationItem-secondary': {
296
+ textTransform: 'capitalize'
297
+ },
298
+ '& .SCNotification-snippet-time': {
299
+ paddingLeft: theme.spacing(5)
300
+ },
301
+ '& .SCCourse-snippet-root': {
302
+ backgroundColor: 'transparent !important'
303
+ }
304
+ }),
283
305
  eventRoot: ({ theme }) => ({
284
306
  '& .SCNotification-username, & a': {
285
307
  fontWeight: theme.typography.fontWeightBold