@selfcommunity/react-theme-default 0.4.5-payments.149 → 0.4.5-payments.151
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 +3 -0
- package/lib/cjs/components/SCAccordionLessons.js +3 -0
- package/lib/cjs/components/SCCategoryFollowButton.d.ts +8 -0
- package/lib/cjs/components/SCCategoryFollowButton.js +10 -0
- package/lib/cjs/components/SCCategoryHeader.d.ts +4 -0
- package/lib/cjs/components/SCCategoryHeader.js +5 -1
- package/lib/cjs/components/SCCheckout.d.ts +3 -1
- package/lib/cjs/components/SCCheckout.js +3 -1
- package/lib/cjs/components/SCCommentObjectReply.d.ts +7 -0
- package/lib/cjs/components/SCCommentObjectReply.js +8 -1
- package/lib/cjs/components/SCComposer.d.ts +13 -0
- package/lib/cjs/components/SCComposer.js +14 -22
- package/lib/cjs/components/SCCourse.d.ts +25 -6
- package/lib/cjs/components/SCCourse.js +28 -9
- package/lib/cjs/components/SCCourseDashboard.d.ts +15 -1
- package/lib/cjs/components/SCCourseDashboard.js +16 -2
- package/lib/cjs/components/SCCourses.d.ts +0 -1
- package/lib/cjs/components/SCCourses.js +0 -1
- package/lib/cjs/components/SCEditCourse.d.ts +6 -0
- package/lib/cjs/components/SCEditCourse.js +6 -0
- package/lib/cjs/components/SCEditor.d.ts +0 -20
- package/lib/cjs/components/SCEditor.js +0 -20
- package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
- package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
- package/lib/cjs/components/SCLessonCommentObject.d.ts +3 -0
- package/lib/cjs/components/SCLessonCommentObject.js +3 -0
- package/lib/cjs/components/SCLessonFilePreview.d.ts +31 -0
- package/lib/cjs/components/SCLessonFilePreview.js +33 -0
- package/lib/cjs/components/SCLessonObject.d.ts +22 -4
- package/lib/cjs/components/SCLessonObject.js +22 -5
- package/lib/cjs/components/SCLessonTemplate.d.ts +5 -1
- package/lib/cjs/components/SCLessonTemplate.js +6 -1
- package/lib/cjs/components/SCPaymentProduct.d.ts +0 -7
- package/lib/cjs/components/SCPaymentProduct.js +3 -10
- package/lib/cjs/index.d.ts +151 -44
- package/lib/cjs/index.js +7 -1
- package/lib/esm/components/SCAccordionLessons.d.ts +3 -0
- package/lib/esm/components/SCAccordionLessons.js +3 -0
- package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
- package/lib/esm/components/SCCategoryFollowButton.js +8 -0
- package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
- package/lib/esm/components/SCCategoryHeader.js +5 -1
- package/lib/esm/components/SCCheckout.d.ts +3 -1
- package/lib/esm/components/SCCheckout.js +3 -1
- package/lib/esm/components/SCCommentObjectReply.d.ts +7 -0
- package/lib/esm/components/SCCommentObjectReply.js +8 -1
- package/lib/esm/components/SCComposer.d.ts +13 -0
- package/lib/esm/components/SCComposer.js +14 -22
- package/lib/esm/components/SCCourse.d.ts +25 -6
- package/lib/esm/components/SCCourse.js +28 -9
- package/lib/esm/components/SCCourseDashboard.d.ts +15 -1
- package/lib/esm/components/SCCourseDashboard.js +16 -2
- package/lib/esm/components/SCCourses.d.ts +0 -1
- package/lib/esm/components/SCCourses.js +0 -1
- package/lib/esm/components/SCEditCourse.d.ts +6 -0
- package/lib/esm/components/SCEditCourse.js +6 -0
- package/lib/esm/components/SCEditor.d.ts +0 -20
- package/lib/esm/components/SCEditor.js +0 -20
- package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
- package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
- package/lib/esm/components/SCLessonCommentObject.d.ts +3 -0
- package/lib/esm/components/SCLessonCommentObject.js +3 -0
- package/lib/esm/components/SCLessonFilePreview.d.ts +31 -0
- package/lib/esm/components/SCLessonFilePreview.js +31 -0
- package/lib/esm/components/SCLessonObject.d.ts +22 -4
- package/lib/esm/components/SCLessonObject.js +22 -5
- package/lib/esm/components/SCLessonTemplate.d.ts +5 -1
- package/lib/esm/components/SCLessonTemplate.js +6 -1
- package/lib/esm/components/SCPaymentProduct.d.ts +0 -7
- package/lib/esm/components/SCPaymentProduct.js +3 -10
- package/lib/esm/index.d.ts +151 -44
- package/lib/esm/index.js +7 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,9 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
7
7
|
borderRadius: '5px',
|
|
8
|
+
'& .SCAccordionLessons-empty': {
|
|
9
|
+
padding: theme.spacing('19px', 3)
|
|
10
|
+
},
|
|
8
11
|
'& .SCAccordionLessons-accordion': {
|
|
9
12
|
'& .SCAccordionLessons-summary': {
|
|
10
13
|
flexDirection: 'row-reverse',
|
|
@@ -46,6 +46,10 @@ declare const Component: {
|
|
|
46
46
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
47
47
|
textAlign: string;
|
|
48
48
|
marginBottom: any;
|
|
49
|
+
'& button': {
|
|
50
|
+
marginLeft: any;
|
|
51
|
+
marginRight: any;
|
|
52
|
+
};
|
|
49
53
|
};
|
|
50
54
|
'& .SCCategoryHeader-followed': {
|
|
51
55
|
marginBottom: string;
|
|
@@ -47,7 +47,11 @@ const Component = {
|
|
|
47
47
|
},
|
|
48
48
|
'& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
|
|
49
49
|
textAlign: 'center',
|
|
50
|
-
marginBottom: theme.spacing(2)
|
|
50
|
+
marginBottom: theme.spacing(2),
|
|
51
|
+
'& button': {
|
|
52
|
+
marginLeft: theme.spacing(0.5),
|
|
53
|
+
marginRight: theme.spacing(0.5)
|
|
54
|
+
}
|
|
51
55
|
},
|
|
52
56
|
'& .SCCategoryHeader-followed': {
|
|
53
57
|
marginBottom: `${theme.spacing(0)} !important`,
|
|
@@ -27,6 +27,13 @@ declare const Component: {
|
|
|
27
27
|
'& .SCCommentObjectReply-comment': {
|
|
28
28
|
overflow: string;
|
|
29
29
|
borderRadius: number;
|
|
30
|
+
'& .SCCommentObjectReply-media': {
|
|
31
|
+
maxWidth: number;
|
|
32
|
+
padding: any;
|
|
33
|
+
'& .SCMediaFile-media': {
|
|
34
|
+
height: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
30
37
|
};
|
|
31
38
|
'& .SCCommentObjectReply-actions': {
|
|
32
39
|
marginLeft: any;
|
|
@@ -28,7 +28,14 @@ const Component = {
|
|
|
28
28
|
},
|
|
29
29
|
'& .SCCommentObjectReply-comment': {
|
|
30
30
|
overflow: 'visible',
|
|
31
|
-
borderRadius: theme.shape.borderRadius * 0.5
|
|
31
|
+
borderRadius: theme.shape.borderRadius * 0.5,
|
|
32
|
+
'& .SCCommentObjectReply-media': {
|
|
33
|
+
maxWidth: 200,
|
|
34
|
+
padding: theme.spacing(1),
|
|
35
|
+
'& .SCMediaFile-media': {
|
|
36
|
+
height: '40px !important'
|
|
37
|
+
}
|
|
38
|
+
}
|
|
32
39
|
},
|
|
33
40
|
'& .SCCommentObjectReply-actions': {
|
|
34
41
|
marginLeft: theme.spacing(),
|
|
@@ -170,11 +170,24 @@ declare const Component: {
|
|
|
170
170
|
};
|
|
171
171
|
};
|
|
172
172
|
contentLessonRoot: ({ theme }: any) => {
|
|
173
|
+
padding: any;
|
|
173
174
|
'& .SCEditor-root': {
|
|
174
175
|
'& .SCEditor-content': {
|
|
175
176
|
paddingTop: any;
|
|
176
177
|
};
|
|
177
178
|
};
|
|
179
|
+
'& .SCComposer-content-lesson-medias': {
|
|
180
|
+
'& .SCMediaFile-preview-root': {
|
|
181
|
+
marginBottom: any;
|
|
182
|
+
'& .SCMediaFile-media': {
|
|
183
|
+
height: string;
|
|
184
|
+
maxWidth: number;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
'& .SCMediaLink-preview-root': {
|
|
188
|
+
marginBottom: any;
|
|
189
|
+
};
|
|
190
|
+
};
|
|
178
191
|
};
|
|
179
192
|
layerTransitionRoot: ({ theme }: any) => {
|
|
180
193
|
position: string;
|
|
@@ -173,31 +173,23 @@ const Component = {
|
|
|
173
173
|
}
|
|
174
174
|
}),
|
|
175
175
|
contentLessonRoot: ({ theme }) => ({
|
|
176
|
-
|
|
176
|
+
padding: theme.spacing(2),
|
|
177
177
|
'& .SCEditor-root': {
|
|
178
178
|
'& .SCEditor-content': {
|
|
179
|
-
paddingTop: theme.spacing(1)
|
|
179
|
+
paddingTop: theme.spacing(1.5)
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
'& .SCComposer-content-lesson-medias': {
|
|
183
|
+
'& .SCMediaFile-preview-root': {
|
|
184
|
+
marginBottom: theme.spacing(1),
|
|
185
|
+
'& .SCMediaFile-media': {
|
|
186
|
+
height: '60px !important',
|
|
187
|
+
maxWidth: 140
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
'& .SCMediaLink-preview-root': {
|
|
191
|
+
marginBottom: theme.spacing(1)
|
|
180
192
|
}
|
|
181
|
-
// paddingBottom: theme.spacing(2),
|
|
182
|
-
// '& .MuiInputBase-root': {
|
|
183
|
-
// paddingLeft: 0,
|
|
184
|
-
// paddingRight: 0,
|
|
185
|
-
// paddingBottom: 0,
|
|
186
|
-
// fontSize: '1.429rem',
|
|
187
|
-
// fontWeight: theme.typography.fontWeightBold,
|
|
188
|
-
// '& fieldset': {
|
|
189
|
-
// display: 'none'
|
|
190
|
-
// },
|
|
191
|
-
// '&.MuiInputBase-adornedEnd .MuiTypography-root': {
|
|
192
|
-
// alignSelf: 'end'
|
|
193
|
-
// },
|
|
194
|
-
// '&.Mui-error': {
|
|
195
|
-
// color: theme.palette.error.main
|
|
196
|
-
// }
|
|
197
|
-
// },
|
|
198
|
-
// '& .MuiFormHelperText-root': {
|
|
199
|
-
// marginLeft: 0
|
|
200
|
-
// }
|
|
201
193
|
}
|
|
202
194
|
}),
|
|
203
195
|
layerTransitionRoot: ({ theme }) => ({
|
|
@@ -62,7 +62,10 @@ declare const Component: {
|
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
64
|
previewRoot: ({ theme }: any) => {
|
|
65
|
-
|
|
65
|
+
[x: number]: {
|
|
66
|
+
minHeight: string;
|
|
67
|
+
};
|
|
68
|
+
height: string;
|
|
66
69
|
'& .SCCourse-preview-image-wrapper': {
|
|
67
70
|
position: string;
|
|
68
71
|
'& .SCCourse-preview-image': {
|
|
@@ -88,12 +91,19 @@ declare const Component: {
|
|
|
88
91
|
height: any;
|
|
89
92
|
border: string;
|
|
90
93
|
};
|
|
94
|
+
'.MuiBadge-badge': {
|
|
95
|
+
left: any;
|
|
96
|
+
top: any;
|
|
97
|
+
};
|
|
91
98
|
};
|
|
92
99
|
'& .SCCourse-preview-content': {
|
|
93
100
|
padding: any;
|
|
94
101
|
'& .SCCourse-preview-creator': {
|
|
95
|
-
|
|
96
|
-
|
|
102
|
+
textDecoration: string;
|
|
103
|
+
color: string;
|
|
104
|
+
'& .MuiTypography-root': {
|
|
105
|
+
marginBottom: any;
|
|
106
|
+
};
|
|
97
107
|
};
|
|
98
108
|
'& .SCCourse-preview-name-wrapper': {
|
|
99
109
|
textDecoration: string;
|
|
@@ -157,7 +167,10 @@ declare const Component: {
|
|
|
157
167
|
};
|
|
158
168
|
};
|
|
159
169
|
createPlaceholderRoot: ({ theme }: any) => {
|
|
160
|
-
|
|
170
|
+
[x: number]: {
|
|
171
|
+
minHeight: string;
|
|
172
|
+
};
|
|
173
|
+
height: string;
|
|
161
174
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
162
175
|
position: string;
|
|
163
176
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -199,18 +212,24 @@ declare const Component: {
|
|
|
199
212
|
};
|
|
200
213
|
skeletonRoot: ({ theme }: any) => {
|
|
201
214
|
'& .SCCourse-skeleton-preview-root': {
|
|
215
|
+
[x: number]: {
|
|
216
|
+
minHeight: string;
|
|
217
|
+
};
|
|
218
|
+
height: string;
|
|
202
219
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
203
220
|
position: string;
|
|
204
|
-
bottom:
|
|
221
|
+
bottom: any;
|
|
205
222
|
left: any;
|
|
223
|
+
width: any;
|
|
224
|
+
height: any;
|
|
206
225
|
border: string;
|
|
207
226
|
};
|
|
208
227
|
'& .SCCourse-skeleton-preview-content': {
|
|
209
228
|
padding: string;
|
|
229
|
+
minHeight: number;
|
|
210
230
|
};
|
|
211
231
|
'& .SCCourse-skeleton-preview-actions': {
|
|
212
232
|
display: string;
|
|
213
|
-
marginTop: any;
|
|
214
233
|
justifyContent: string;
|
|
215
234
|
padding: any;
|
|
216
235
|
};
|
|
@@ -64,7 +64,10 @@ const Component = {
|
|
|
64
64
|
}
|
|
65
65
|
}),
|
|
66
66
|
previewRoot: ({ theme }) => ({
|
|
67
|
-
|
|
67
|
+
height: '100%',
|
|
68
|
+
[theme.breakpoints.up('sm')]: {
|
|
69
|
+
minHeight: '376px'
|
|
70
|
+
},
|
|
68
71
|
'& .SCCourse-preview-image-wrapper': {
|
|
69
72
|
position: 'relative',
|
|
70
73
|
'& .SCCourse-preview-image': {
|
|
@@ -89,13 +92,20 @@ const Component = {
|
|
|
89
92
|
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
90
93
|
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
91
94
|
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
95
|
+
},
|
|
96
|
+
'.MuiBadge-badge': {
|
|
97
|
+
left: theme.spacing(3),
|
|
98
|
+
top: theme.spacing(-0.5)
|
|
92
99
|
}
|
|
93
100
|
},
|
|
94
101
|
'& .SCCourse-preview-content': {
|
|
95
|
-
padding: theme.spacing(2),
|
|
102
|
+
padding: theme.spacing(1.5, 2, 2, 2),
|
|
96
103
|
'& .SCCourse-preview-creator': {
|
|
97
|
-
|
|
98
|
-
|
|
104
|
+
textDecoration: 'none',
|
|
105
|
+
color: 'inherit',
|
|
106
|
+
'& .MuiTypography-root': {
|
|
107
|
+
marginBottom: theme.spacing(1)
|
|
108
|
+
}
|
|
99
109
|
},
|
|
100
110
|
'& .SCCourse-preview-name-wrapper': {
|
|
101
111
|
textDecoration: 'none',
|
|
@@ -159,7 +169,10 @@ const Component = {
|
|
|
159
169
|
}
|
|
160
170
|
}),
|
|
161
171
|
createPlaceholderRoot: ({ theme }) => ({
|
|
162
|
-
|
|
172
|
+
height: '100%',
|
|
173
|
+
[theme.breakpoints.up('sm')]: {
|
|
174
|
+
minHeight: '376px'
|
|
175
|
+
},
|
|
163
176
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
164
177
|
position: 'relative',
|
|
165
178
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -196,23 +209,29 @@ const Component = {
|
|
|
196
209
|
'& .SCCourse-create-placeholder-actions': {
|
|
197
210
|
display: 'flex',
|
|
198
211
|
justifyContent: 'center',
|
|
199
|
-
height: '
|
|
212
|
+
height: '258px'
|
|
200
213
|
}
|
|
201
214
|
}),
|
|
202
215
|
skeletonRoot: ({ theme }) => ({
|
|
203
216
|
'& .SCCourse-skeleton-preview-root': {
|
|
217
|
+
height: '100%',
|
|
218
|
+
[theme.breakpoints.up('sm')]: {
|
|
219
|
+
minHeight: '376px'
|
|
220
|
+
},
|
|
204
221
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
205
222
|
position: 'absolute',
|
|
206
|
-
bottom:
|
|
223
|
+
bottom: theme.spacing(-2),
|
|
207
224
|
left: theme.spacing(1.5),
|
|
225
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
226
|
+
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
208
227
|
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
209
228
|
},
|
|
210
229
|
'& .SCCourse-skeleton-preview-content': {
|
|
211
|
-
padding:
|
|
230
|
+
padding: `${theme.spacing(1.5, 2, 2, 2)} !important`,
|
|
231
|
+
minHeight: 184
|
|
212
232
|
},
|
|
213
233
|
'& .SCCourse-skeleton-preview-actions': {
|
|
214
234
|
display: 'flex',
|
|
215
|
-
marginTop: theme.spacing(4),
|
|
216
235
|
justifyContent: 'center',
|
|
217
236
|
padding: theme.spacing(2)
|
|
218
237
|
}
|
|
@@ -3,6 +3,9 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: {
|
|
4
4
|
theme: any;
|
|
5
5
|
}) => {
|
|
6
|
+
[x: number]: {
|
|
7
|
+
marginBottom: string;
|
|
8
|
+
};
|
|
6
9
|
'& .SCCourseDashboard-header': {
|
|
7
10
|
[x: number]: {
|
|
8
11
|
paddingLeft: string;
|
|
@@ -148,9 +151,20 @@ declare const Component: {
|
|
|
148
151
|
width: string;
|
|
149
152
|
height: string;
|
|
150
153
|
};
|
|
154
|
+
'& a': {
|
|
155
|
+
textDecoration: string;
|
|
156
|
+
color: string;
|
|
157
|
+
};
|
|
158
|
+
'& .MuiBadge-root': {
|
|
159
|
+
marginRight: any;
|
|
160
|
+
};
|
|
151
161
|
};
|
|
152
162
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
153
|
-
|
|
163
|
+
[x: number]: {
|
|
164
|
+
flexDirection: string;
|
|
165
|
+
margin: number;
|
|
166
|
+
};
|
|
167
|
+
margin: string;
|
|
154
168
|
gap: string;
|
|
155
169
|
};
|
|
156
170
|
};
|
|
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
[theme.breakpoints.down('sm')]: {
|
|
7
|
+
marginBottom: '56px'
|
|
8
|
+
},
|
|
6
9
|
'& .SCCourseDashboard-header': {
|
|
7
10
|
[theme.breakpoints.down('sm')]: {
|
|
8
11
|
paddingLeft: '14px',
|
|
@@ -144,11 +147,22 @@ const Component = {
|
|
|
144
147
|
'& .SCCourseDashboard-avatar': {
|
|
145
148
|
width: '36px',
|
|
146
149
|
height: '36px'
|
|
150
|
+
},
|
|
151
|
+
'& a': {
|
|
152
|
+
textDecoration: 'none',
|
|
153
|
+
color: 'inherit'
|
|
154
|
+
},
|
|
155
|
+
'& .MuiBadge-root': {
|
|
156
|
+
marginRight: theme.spacing(0.5)
|
|
147
157
|
}
|
|
148
158
|
},
|
|
149
159
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
150
|
-
|
|
151
|
-
gap: '5px'
|
|
160
|
+
margin: '6px 0',
|
|
161
|
+
gap: '5px',
|
|
162
|
+
[theme.breakpoints.up('sm')]: {
|
|
163
|
+
flexDirection: 'row',
|
|
164
|
+
margin: 0
|
|
165
|
+
}
|
|
152
166
|
}
|
|
153
167
|
},
|
|
154
168
|
'& .SCCourseDashboard-lessons-sections': {
|
|
@@ -3,6 +3,9 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: {
|
|
4
4
|
theme: any;
|
|
5
5
|
}) => {
|
|
6
|
+
[x: number]: {
|
|
7
|
+
marginBottom: string;
|
|
8
|
+
};
|
|
6
9
|
'& .SCEditCourse-header': {
|
|
7
10
|
[x: number]: {
|
|
8
11
|
paddingLeft: any;
|
|
@@ -102,6 +105,9 @@ declare const Component: {
|
|
|
102
105
|
'& .SCEditCourse-cell-padding': {
|
|
103
106
|
paddingRight: number;
|
|
104
107
|
};
|
|
108
|
+
'& .MuiTableCell-root': {
|
|
109
|
+
textWrapMode: string;
|
|
110
|
+
};
|
|
105
111
|
'& .SCEditCourse-table-header': {
|
|
106
112
|
'& .SCEditCourse-table-header-typography': {
|
|
107
113
|
textTransform: string;
|
|
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
[theme.breakpoints.down('sm')]: {
|
|
7
|
+
marginBottom: '56px'
|
|
8
|
+
},
|
|
6
9
|
'& .SCEditCourse-header': {
|
|
7
10
|
flexDirection: 'row',
|
|
8
11
|
alignItems: 'center',
|
|
@@ -102,6 +105,9 @@ const Component = {
|
|
|
102
105
|
'& .SCEditCourse-cell-padding': {
|
|
103
106
|
paddingRight: 0
|
|
104
107
|
},
|
|
108
|
+
'& .MuiTableCell-root': {
|
|
109
|
+
textWrapMode: 'nowrap'
|
|
110
|
+
},
|
|
105
111
|
'& .SCEditCourse-table-header': {
|
|
106
112
|
'& .SCEditCourse-table-header-typography': {
|
|
107
113
|
textTransform: 'uppercase'
|
|
@@ -154,26 +154,6 @@ declare const Component: {
|
|
|
154
154
|
'& .SCEditor-listItem': {
|
|
155
155
|
margin: string;
|
|
156
156
|
};
|
|
157
|
-
'& .SCEditor-document': {
|
|
158
|
-
'& .selected': {
|
|
159
|
-
border: string;
|
|
160
|
-
};
|
|
161
|
-
'& .MuiBox-root': {
|
|
162
|
-
padding: any;
|
|
163
|
-
borderRadius: string;
|
|
164
|
-
background: any;
|
|
165
|
-
'& a': {
|
|
166
|
-
display: string;
|
|
167
|
-
alignItems: string;
|
|
168
|
-
width: string;
|
|
169
|
-
'& img': {
|
|
170
|
-
height: any;
|
|
171
|
-
width: any;
|
|
172
|
-
marginRight: any;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
157
|
};
|
|
178
158
|
toolbar: ({ theme }: any) => {
|
|
179
159
|
'& .SCEditor-placeholder': {
|
|
@@ -156,26 +156,6 @@ const Component = {
|
|
|
156
156
|
},
|
|
157
157
|
'& .SCEditor-listItem': {
|
|
158
158
|
margin: '0 32px'
|
|
159
|
-
},
|
|
160
|
-
'& .SCEditor-document': {
|
|
161
|
-
'& .selected': {
|
|
162
|
-
border: `2px solid ${theme.palette.secondary.main}`
|
|
163
|
-
},
|
|
164
|
-
'& .MuiBox-root': {
|
|
165
|
-
padding: theme.spacing(1),
|
|
166
|
-
borderRadius: '5px',
|
|
167
|
-
background: theme.palette.grey[300],
|
|
168
|
-
'& a': {
|
|
169
|
-
display: 'flex',
|
|
170
|
-
alignItems: 'center',
|
|
171
|
-
width: 'fit-content',
|
|
172
|
-
'& img': {
|
|
173
|
-
height: theme.spacing(3),
|
|
174
|
-
width: theme.spacing(3),
|
|
175
|
-
marginRight: theme.spacing(1)
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
159
|
}
|
|
180
160
|
}),
|
|
181
161
|
toolbar: ({ theme }) => ({
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
backgroundSize: string;
|
|
5
|
+
backgroundPosition: string;
|
|
6
|
+
position: string;
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
margin: any;
|
|
9
|
+
width: string;
|
|
10
|
+
height: string;
|
|
11
|
+
flexBasis: number;
|
|
12
|
+
flexGrow: number;
|
|
13
|
+
flexShrink: number;
|
|
14
|
+
'& .SCLessonFilePreview-title': {
|
|
15
|
+
position: string;
|
|
16
|
+
left: any;
|
|
17
|
+
top: any;
|
|
18
|
+
borderRadius: any;
|
|
19
|
+
background: string;
|
|
20
|
+
color: any;
|
|
21
|
+
fontSize: string;
|
|
22
|
+
padding: any;
|
|
23
|
+
maxWidth: number;
|
|
24
|
+
textOverflow: string;
|
|
25
|
+
overflow: string;
|
|
26
|
+
whiteSpace: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
backgroundSize: 'cover',
|
|
7
|
+
backgroundPosition: 'center',
|
|
8
|
+
position: 'relative',
|
|
9
|
+
borderRadius: theme.shape.borderRadius * 0.5,
|
|
10
|
+
margin: theme.spacing(0.5),
|
|
11
|
+
width: '100%',
|
|
12
|
+
height: '60px',
|
|
13
|
+
flexBasis: 120,
|
|
14
|
+
flexGrow: 0,
|
|
15
|
+
flexShrink: 0,
|
|
16
|
+
'& .SCLessonFilePreview-title': {
|
|
17
|
+
position: 'absolute',
|
|
18
|
+
left: theme.spacing(1),
|
|
19
|
+
top: theme.spacing(1),
|
|
20
|
+
borderRadius: theme.shape.borderRadius,
|
|
21
|
+
background: '#33333380 0% 0% no-repeat padding-box',
|
|
22
|
+
color: theme.palette.common.white,
|
|
23
|
+
fontSize: '0.875rem',
|
|
24
|
+
padding: theme.spacing(0.5, 1),
|
|
25
|
+
maxWidth: 80,
|
|
26
|
+
textOverflow: 'ellipsis',
|
|
27
|
+
overflow: 'hidden',
|
|
28
|
+
whiteSpace: 'nowrap'
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.default = Component;
|