@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.
- package/lib/cjs/components/SCAccordionLessons.d.ts +15 -0
- package/lib/cjs/components/SCAccordionLessons.js +16 -1
- package/lib/cjs/components/SCAddUsersButton.d.ts +7 -1
- package/lib/cjs/components/SCAddUsersButton.js +6 -1
- package/lib/cjs/components/SCCourse.d.ts +4 -1
- package/lib/cjs/components/SCCourse.js +4 -1
- package/lib/cjs/components/SCCourseContentMenu.d.ts +3 -1
- package/lib/cjs/components/SCCourseContentMenu.js +3 -1
- package/lib/cjs/components/SCCourseDashboard.d.ts +18 -4
- package/lib/cjs/components/SCCourseDashboard.js +23 -8
- package/lib/cjs/components/SCCourseForm.d.ts +50 -3
- package/lib/cjs/components/SCCourseForm.js +52 -7
- package/lib/cjs/components/SCCourseTypePopover.d.ts +23 -0
- package/lib/cjs/components/SCCourseTypePopover.js +24 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +16 -0
- package/lib/cjs/components/SCCourseUsersTable.js +16 -0
- package/lib/cjs/components/SCCourses.d.ts +10 -5
- package/lib/cjs/components/SCCourses.js +11 -6
- package/lib/cjs/components/SCEditCourse.d.ts +181 -128
- package/lib/cjs/components/SCEditCourse.js +191 -137
- package/lib/cjs/components/SCEmptyStatus.d.ts +1 -0
- package/lib/cjs/components/SCEmptyStatus.js +1 -0
- package/lib/cjs/components/SCGroupForm.d.ts +3 -0
- package/lib/cjs/components/SCGroupForm.js +3 -0
- package/lib/cjs/components/SCLessonCommentObjects.d.ts +3 -1
- package/lib/cjs/components/SCLessonCommentObjects.js +4 -2
- package/lib/cjs/components/SCLessonDrawer.d.ts +3 -1
- package/lib/cjs/components/SCLessonDrawer.js +3 -1
- package/lib/cjs/components/SCLessonObject.d.ts +4 -1
- package/lib/cjs/components/SCLessonObject.js +5 -2
- package/lib/cjs/components/SCLessonTemplate.d.ts +5 -0
- package/lib/cjs/components/SCLessonTemplate.js +4 -0
- package/lib/cjs/components/SCNotification.d.ts +22 -0
- package/lib/cjs/components/SCNotification.js +22 -0
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +150 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +153 -0
- package/lib/cjs/index.d.ts +517 -152
- package/lib/cjs/index.js +5 -1
- package/lib/esm/components/SCAccordionLessons.d.ts +15 -0
- package/lib/esm/components/SCAccordionLessons.js +16 -1
- package/lib/esm/components/SCAddUsersButton.d.ts +7 -1
- package/lib/esm/components/SCAddUsersButton.js +6 -1
- package/lib/esm/components/SCCourse.d.ts +4 -1
- package/lib/esm/components/SCCourse.js +4 -1
- package/lib/esm/components/SCCourseContentMenu.d.ts +3 -1
- package/lib/esm/components/SCCourseContentMenu.js +3 -1
- package/lib/esm/components/SCCourseDashboard.d.ts +18 -4
- package/lib/esm/components/SCCourseDashboard.js +23 -8
- package/lib/esm/components/SCCourseForm.d.ts +50 -3
- package/lib/esm/components/SCCourseForm.js +49 -4
- package/lib/esm/components/SCCourseTypePopover.d.ts +23 -0
- package/lib/esm/components/SCCourseTypePopover.js +22 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +16 -0
- package/lib/esm/components/SCCourseUsersTable.js +16 -0
- package/lib/esm/components/SCCourses.d.ts +10 -5
- package/lib/esm/components/SCCourses.js +11 -6
- package/lib/esm/components/SCEditCourse.d.ts +181 -128
- package/lib/esm/components/SCEditCourse.js +191 -137
- package/lib/esm/components/SCEmptyStatus.d.ts +1 -0
- package/lib/esm/components/SCEmptyStatus.js +1 -0
- package/lib/esm/components/SCGroupForm.d.ts +3 -0
- package/lib/esm/components/SCGroupForm.js +3 -0
- package/lib/esm/components/SCLessonCommentObjects.d.ts +3 -1
- package/lib/esm/components/SCLessonCommentObjects.js +4 -2
- package/lib/esm/components/SCLessonDrawer.d.ts +3 -1
- package/lib/esm/components/SCLessonDrawer.js +3 -1
- package/lib/esm/components/SCLessonObject.d.ts +4 -1
- package/lib/esm/components/SCLessonObject.js +5 -2
- package/lib/esm/components/SCLessonTemplate.d.ts +5 -0
- package/lib/esm/components/SCLessonTemplate.js +4 -0
- package/lib/esm/components/SCNotification.d.ts +22 -0
- package/lib/esm/components/SCNotification.js +22 -0
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +150 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +151 -0
- package/lib/esm/index.d.ts +517 -152
- package/lib/esm/index.js +5 -1
- package/lib/umd/react-theme-default.js +1 -1
- 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-
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
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
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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-
|
|
115
|
-
'
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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-
|
|
121
|
-
|
|
119
|
+
'& .SCEditCourse-cell-align-center': {
|
|
120
|
+
textAlign: 'center'
|
|
122
121
|
},
|
|
123
|
-
'& .SCEditCourse-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
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-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
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-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
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-
|
|
154
|
-
|
|
155
|
-
|
|
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,35 @@ const Component = {
|
|
|
172
195
|
marginTop: '7px',
|
|
173
196
|
marginBottom: theme.spacing(2)
|
|
174
197
|
},
|
|
175
|
-
'& .SCEditCourse-options-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
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
|
+
}
|
|
183
220
|
},
|
|
184
|
-
'& .
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
221
|
+
'& .SCCourseForm-paywalls-configurator-wrap': {
|
|
222
|
+
marginBottom: theme.spacing(3),
|
|
223
|
+
'& .SCPaywallsConfigurator-content-access-type': {
|
|
224
|
+
fontSize: '14px',
|
|
225
|
+
padding: theme.spacing()
|
|
226
|
+
}
|
|
188
227
|
}
|
|
189
228
|
}
|
|
190
229
|
}),
|
|
@@ -223,30 +262,39 @@ const Component = {
|
|
|
223
262
|
gap: theme.spacing(1)
|
|
224
263
|
}
|
|
225
264
|
},
|
|
226
|
-
'& .SCEditCourse-lessons-
|
|
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',
|
|
265
|
+
'& .SCEditCourse-lessons-inner-wrapper': {
|
|
237
266
|
border: `1px solid ${theme.palette.grey[300]}`,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
marginLeft: 'auto'
|
|
267
|
+
borderRadius: '5px',
|
|
268
|
+
backgroundColor: theme.palette.common.white,
|
|
269
|
+
marginTop: '9px',
|
|
270
|
+
padding: theme.spacing(1),
|
|
271
|
+
[theme.breakpoints.up('sm')]: {
|
|
272
|
+
padding: theme.spacing(2)
|
|
245
273
|
},
|
|
246
|
-
'& .SCEditCourse-
|
|
274
|
+
'& .SCEditCourse-lessons-sections-wrapper': {
|
|
247
275
|
flexDirection: 'row',
|
|
248
|
-
|
|
249
|
-
|
|
276
|
+
alignItems: 'center',
|
|
277
|
+
justifyContent: 'space-between',
|
|
278
|
+
padding: theme.spacing(2),
|
|
279
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
280
|
+
borderRadius: '5px'
|
|
281
|
+
},
|
|
282
|
+
'& .SCEditCourse-table-container': {
|
|
283
|
+
width: 'auto',
|
|
284
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
285
|
+
borderBottomLeftRadius: '5px',
|
|
286
|
+
borderBottomRightRadius: '5px',
|
|
287
|
+
'& .SCEditCourse-margin': {
|
|
288
|
+
margin: 'auto'
|
|
289
|
+
},
|
|
290
|
+
'& .SCEditCourse-margin-left': {
|
|
291
|
+
marginLeft: 'auto'
|
|
292
|
+
},
|
|
293
|
+
'& .SCEditCourse-actions-wrapper': {
|
|
294
|
+
flexDirection: 'row',
|
|
295
|
+
justifyContent: 'flex-end',
|
|
296
|
+
gap: '22px'
|
|
297
|
+
}
|
|
250
298
|
}
|
|
251
299
|
},
|
|
252
300
|
'& .SCEditCourse-users-status-wrapper': {
|
|
@@ -255,19 +303,25 @@ const Component = {
|
|
|
255
303
|
marginTop: '7px',
|
|
256
304
|
marginBottom: theme.spacing(2)
|
|
257
305
|
},
|
|
258
|
-
'& .SCEditCourse-options-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
306
|
+
'& .SCEditCourse-options-container': {
|
|
307
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
308
|
+
borderRadius: '5px',
|
|
309
|
+
paddingBottom: '10px',
|
|
310
|
+
backgroundColor: theme.palette.common.white,
|
|
311
|
+
'& .SCEditCourse-options-wrapper': {
|
|
312
|
+
gap: theme.spacing(5),
|
|
313
|
+
maxWidth: '600px',
|
|
314
|
+
margin: 'auto'
|
|
315
|
+
},
|
|
316
|
+
'& .SCEditCourse-options-divider': {
|
|
317
|
+
marginTop: '21px',
|
|
318
|
+
marginBottom: theme.spacing(3)
|
|
319
|
+
},
|
|
320
|
+
'& .SCEditCourse-options-button-wrapper': {
|
|
321
|
+
alignItems: 'flex-end',
|
|
322
|
+
maxWidth: '600px',
|
|
323
|
+
margin: 'auto'
|
|
324
|
+
}
|
|
271
325
|
}
|
|
272
326
|
})
|
|
273
327
|
}
|
|
@@ -24,11 +24,12 @@ declare const Component: {
|
|
|
24
24
|
marginLeft: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
marginTop:
|
|
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:
|
|
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
|
};
|
|
@@ -30,9 +30,12 @@ declare const Component: {
|
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
32
|
'& .SCLessonObject-medias-section': {
|
|
33
|
-
|
|
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
|
-
|
|
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
|