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

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