@selfcommunity/react-theme-default 0.4.2-alpha.8 → 0.4.2-courses.99
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 +40 -0
- package/lib/cjs/components/SCAccordionLessons.js +40 -0
- package/lib/cjs/components/SCAddUsersButton.d.ts +19 -0
- package/lib/cjs/components/SCAddUsersButton.js +21 -0
- package/lib/cjs/components/SCBaseItemButton.d.ts +26 -35
- package/lib/cjs/components/SCBaseItemButton.js +27 -36
- package/lib/cjs/components/SCCommentObject.d.ts +19 -17
- package/lib/cjs/components/SCCommentObject.js +19 -17
- package/lib/cjs/components/SCComposer.d.ts +54 -14
- package/lib/cjs/components/SCComposer.js +79 -18
- package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
- package/lib/cjs/components/SCCourse.d.ts +263 -0
- package/lib/cjs/components/SCCourse.js +265 -0
- package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/cjs/components/SCCourseContentMenu.js +42 -0
- package/lib/cjs/components/SCCourseDashboard.d.ts +198 -0
- package/lib/cjs/components/SCCourseDashboard.js +195 -0
- package/lib/cjs/components/SCCourseForm.d.ts +143 -0
- package/lib/cjs/components/SCCourseForm.js +144 -0
- package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/cjs/components/SCCourseFormDialog.js +8 -0
- package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
- package/lib/cjs/components/SCCourseParticipantsButton.d.ts +55 -0
- package/lib/cjs/components/SCCourseParticipantsButton.js +52 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +82 -0
- package/lib/cjs/components/SCCourseUsersTable.js +80 -0
- package/lib/cjs/components/SCCourses.d.ts +137 -0
- package/lib/cjs/components/SCCourses.js +139 -0
- package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateCourseButton.js +14 -0
- package/lib/cjs/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
- package/lib/cjs/components/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/cjs/components/SCDefaultDrawerContent.js +33 -0
- package/lib/cjs/components/SCEditCourse.d.ts +218 -0
- package/lib/cjs/components/SCEditCourse.js +214 -0
- package/lib/cjs/components/SCEditor.d.ts +20 -0
- package/lib/cjs/components/SCEditor.js +20 -0
- package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
- package/lib/cjs/components/SCEmptyStatus.js +33 -0
- package/lib/cjs/components/SCEventHeader.d.ts +2 -0
- package/lib/cjs/components/SCEventHeader.js +3 -1
- package/lib/cjs/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/cjs/components/SCEventInfoDetails.js +3 -0
- package/lib/cjs/components/SCFeedObject.d.ts +41 -13
- package/lib/cjs/components/SCFeedObject.js +43 -15
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/cjs/components/SCLessonAppbar.d.ts +22 -0
- package/lib/cjs/components/SCLessonAppbar.js +24 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
- package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/cjs/components/SCLessonCommentObject.js +119 -0
- package/lib/cjs/components/SCLessonCommentObjects.d.ts +39 -0
- package/lib/cjs/components/SCLessonCommentObjects.js +41 -0
- package/lib/cjs/components/SCLessonCompletedDialog.d.ts +21 -0
- package/lib/cjs/components/SCLessonCompletedDialog.js +23 -0
- package/lib/cjs/components/SCLessonDrawer.d.ts +37 -0
- package/lib/cjs/components/SCLessonDrawer.js +39 -0
- package/lib/cjs/components/SCLessonEditForm.d.ts +30 -0
- package/lib/cjs/components/SCLessonEditForm.js +30 -0
- package/lib/cjs/components/SCLessonObject.d.ts +45 -0
- package/lib/cjs/components/SCLessonObject.js +48 -0
- package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
- package/lib/cjs/components/SCLessonTemplate.d.ts +19 -0
- package/lib/cjs/components/SCLessonTemplate.js +20 -0
- package/lib/cjs/components/SCLiveStream.d.ts +218 -0
- package/lib/cjs/components/SCLiveStream.js +220 -0
- package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +34 -0
- package/lib/cjs/components/SCLiveStreamForm.js +36 -0
- package/lib/cjs/components/SCLiveStreamFormSettings.d.ts +15 -0
- package/lib/cjs/components/SCLiveStreamFormSettings.js +17 -0
- package/lib/cjs/components/SCLiveStreamInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCLiveStreamInfoDetails.js +43 -0
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +120 -0
- package/lib/cjs/components/SCLiveStreamRoom.js +122 -0
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +71 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +75 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +30 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.js +32 -0
- package/lib/cjs/components/SCMediaFile.d.ts +0 -4
- package/lib/cjs/components/SCMediaFile.js +1 -5
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +7 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +7 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCNotification.d.ts +27 -0
- package/lib/cjs/components/SCNotification.js +27 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/cjs/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/cjs/components/SCUpScalingTierBadge.js +15 -0
- package/lib/cjs/components/SCUserLiveStreamWidget.d.ts +101 -0
- package/lib/cjs/components/SCUserLiveStreamWidget.js +97 -0
- package/lib/cjs/components/SCUserProfileEdit.js +1 -1
- package/lib/cjs/components/SCVoteButton.d.ts +1 -0
- package/lib/cjs/components/SCVoteButton.js +1 -0
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +9 -3
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +15 -6
- package/lib/cjs/index.d.ts +4337 -1846
- package/lib/cjs/index.js +73 -1
- package/lib/esm/components/SCAccordionLessons.d.ts +40 -0
- package/lib/esm/components/SCAccordionLessons.js +38 -0
- package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
- package/lib/esm/components/SCAddUsersButton.js +19 -0
- package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
- package/lib/esm/components/SCBaseItemButton.js +27 -36
- package/lib/esm/components/SCCommentObject.d.ts +19 -17
- package/lib/esm/components/SCCommentObject.js +19 -17
- package/lib/esm/components/SCComposer.d.ts +54 -14
- package/lib/esm/components/SCComposer.js +79 -18
- package/lib/esm/components/SCContributionActionsMenu.js +1 -1
- package/lib/esm/components/SCCourse.d.ts +263 -0
- package/lib/esm/components/SCCourse.js +263 -0
- package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
- package/lib/esm/components/SCCourseContentMenu.js +40 -0
- package/lib/esm/components/SCCourseDashboard.d.ts +198 -0
- package/lib/esm/components/SCCourseDashboard.js +193 -0
- package/lib/esm/components/SCCourseForm.d.ts +143 -0
- package/lib/esm/components/SCCourseForm.js +142 -0
- package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
- package/lib/esm/components/SCCourseFormDialog.js +6 -0
- package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCCourseInfoDetails.js +41 -0
- package/lib/esm/components/SCCourseParticipantsButton.d.ts +55 -0
- package/lib/esm/components/SCCourseParticipantsButton.js +50 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +82 -0
- package/lib/esm/components/SCCourseUsersTable.js +78 -0
- package/lib/esm/components/SCCourses.d.ts +137 -0
- package/lib/esm/components/SCCourses.js +137 -0
- package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/esm/components/SCCreateCourseButton.js +12 -0
- package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
- package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
- package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
- package/lib/esm/components/SCEditCourse.d.ts +218 -0
- package/lib/esm/components/SCEditCourse.js +212 -0
- package/lib/esm/components/SCEditor.d.ts +20 -0
- package/lib/esm/components/SCEditor.js +20 -0
- package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
- package/lib/esm/components/SCEmptyStatus.js +31 -0
- package/lib/esm/components/SCEventHeader.d.ts +2 -0
- package/lib/esm/components/SCEventHeader.js +3 -1
- package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
- package/lib/esm/components/SCEventInfoDetails.js +3 -0
- package/lib/esm/components/SCFeedObject.d.ts +41 -13
- package/lib/esm/components/SCFeedObject.js +43 -15
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
- package/lib/esm/components/SCLessonAppbar.d.ts +22 -0
- package/lib/esm/components/SCLessonAppbar.js +22 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
- package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
- package/lib/esm/components/SCLessonCommentObject.js +117 -0
- package/lib/esm/components/SCLessonCommentObjects.d.ts +39 -0
- package/lib/esm/components/SCLessonCommentObjects.js +39 -0
- package/lib/esm/components/SCLessonCompletedDialog.d.ts +21 -0
- package/lib/esm/components/SCLessonCompletedDialog.js +21 -0
- package/lib/esm/components/SCLessonDrawer.d.ts +37 -0
- package/lib/esm/components/SCLessonDrawer.js +37 -0
- package/lib/esm/components/SCLessonEditForm.d.ts +30 -0
- package/lib/esm/components/SCLessonEditForm.js +28 -0
- package/lib/esm/components/SCLessonObject.d.ts +45 -0
- package/lib/esm/components/SCLessonObject.js +46 -0
- package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
- package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
- package/lib/esm/components/SCLessonTemplate.d.ts +19 -0
- package/lib/esm/components/SCLessonTemplate.js +18 -0
- package/lib/esm/components/SCLiveStream.d.ts +218 -0
- package/lib/esm/components/SCLiveStream.js +218 -0
- package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/esm/components/SCLiveStreamDialog.js +16 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +34 -0
- package/lib/esm/components/SCLiveStreamForm.js +34 -0
- package/lib/esm/components/SCLiveStreamFormSettings.d.ts +15 -0
- package/lib/esm/components/SCLiveStreamFormSettings.js +15 -0
- package/lib/esm/components/SCLiveStreamInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCLiveStreamInfoDetails.js +41 -0
- package/lib/esm/components/SCLiveStreamRoom.d.ts +120 -0
- package/lib/esm/components/SCLiveStreamRoom.js +120 -0
- package/lib/esm/components/SCLiveStreamSelector.d.ts +71 -0
- package/lib/esm/components/SCLiveStreamSelector.js +73 -0
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +30 -0
- package/lib/esm/components/SCLiveStreamVideoConference.js +30 -0
- package/lib/esm/components/SCMediaFile.d.ts +0 -4
- package/lib/esm/components/SCMediaFile.js +1 -5
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +7 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +7 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNotification.d.ts +27 -0
- package/lib/esm/components/SCNotification.js +27 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
- package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
- package/lib/esm/components/SCUserLiveStreamWidget.d.ts +101 -0
- package/lib/esm/components/SCUserLiveStreamWidget.js +95 -0
- package/lib/esm/components/SCUserProfileEdit.js +1 -1
- package/lib/esm/components/SCVoteButton.d.ts +1 -0
- package/lib/esm/components/SCVoteButton.js +1 -0
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +9 -3
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +15 -6
- package/lib/esm/index.d.ts +4337 -1846
- package/lib/esm/index.js +73 -1
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +9 -3
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +1 -19
- package/package.json +123 -119
|
@@ -44,9 +44,11 @@ declare const Component: {
|
|
|
44
44
|
'& a:not(.MuiChip-clickable)': {
|
|
45
45
|
color: string;
|
|
46
46
|
textDecoration: string;
|
|
47
|
+
display: string;
|
|
47
48
|
'&::after': {
|
|
48
49
|
content: string;
|
|
49
50
|
padding: any;
|
|
51
|
+
alignSelf: string;
|
|
50
52
|
};
|
|
51
53
|
'&:last-child::after': {
|
|
52
54
|
display: string;
|
|
@@ -60,16 +62,19 @@ declare const Component: {
|
|
|
60
62
|
};
|
|
61
63
|
};
|
|
62
64
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
63
|
-
|
|
65
|
+
[x: number]: {
|
|
66
|
+
marginRight: string;
|
|
67
|
+
};
|
|
68
|
+
height: number;
|
|
64
69
|
};
|
|
65
70
|
};
|
|
66
71
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
67
72
|
justifyContent: string;
|
|
68
|
-
padding: any;
|
|
69
73
|
'& a': {
|
|
70
74
|
padding: any;
|
|
71
|
-
|
|
75
|
+
margin: any;
|
|
72
76
|
color: any;
|
|
77
|
+
maxHeight: number;
|
|
73
78
|
'&:hover': {
|
|
74
79
|
backgroundColor: any;
|
|
75
80
|
};
|
|
@@ -78,6 +83,8 @@ declare const Component: {
|
|
|
78
83
|
textTransform: string;
|
|
79
84
|
};
|
|
80
85
|
};
|
|
86
|
+
borderBottom: string;
|
|
87
|
+
margin: any;
|
|
81
88
|
};
|
|
82
89
|
'& .SCFeedObject-content': {
|
|
83
90
|
padding: any;
|
|
@@ -137,21 +144,25 @@ declare const Component: {
|
|
|
137
144
|
boxShadow: string;
|
|
138
145
|
borderRadius: number;
|
|
139
146
|
'& .SCFeedObject-category': {
|
|
147
|
+
[x: number]: {
|
|
148
|
+
justifyContent: string;
|
|
149
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
150
|
+
justifyContent: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
140
153
|
borderBottom: string;
|
|
141
154
|
margin: any;
|
|
142
155
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
143
156
|
borderBottom: string;
|
|
144
|
-
|
|
157
|
+
marginTop: number;
|
|
145
158
|
'& .MuiChip-icon': {
|
|
146
|
-
marginLeft: any;
|
|
147
|
-
marginRight: any;
|
|
148
159
|
fontWeight: any;
|
|
149
160
|
};
|
|
150
161
|
};
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
162
|
+
'& .SCFeedObject-group .MuiChip-icon': {
|
|
163
|
+
marginLeft: any;
|
|
164
|
+
marginRight: any;
|
|
165
|
+
};
|
|
155
166
|
};
|
|
156
167
|
'& .SCFeedObject-header': {
|
|
157
168
|
'& .MuiCardHeader-avatar': {
|
|
@@ -295,9 +306,25 @@ declare const Component: {
|
|
|
295
306
|
'& li': {
|
|
296
307
|
margin: string;
|
|
297
308
|
};
|
|
298
|
-
'& span
|
|
299
|
-
|
|
300
|
-
|
|
309
|
+
'& span': {
|
|
310
|
+
'& span': {
|
|
311
|
+
display: string;
|
|
312
|
+
};
|
|
313
|
+
'& span:not(:has(+ a))': {
|
|
314
|
+
width: string;
|
|
315
|
+
};
|
|
316
|
+
'& a': {
|
|
317
|
+
display: string;
|
|
318
|
+
margin: any;
|
|
319
|
+
};
|
|
320
|
+
'& a:hover': {
|
|
321
|
+
'& span': {
|
|
322
|
+
textDecoration: string;
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
'& :last-child': {
|
|
326
|
+
display: string;
|
|
327
|
+
};
|
|
301
328
|
};
|
|
302
329
|
};
|
|
303
330
|
'& .SCFeedObject-medias-section': {
|
|
@@ -309,6 +336,7 @@ declare const Component: {
|
|
|
309
336
|
fontSize: any;
|
|
310
337
|
fontWeight: any;
|
|
311
338
|
padding: any;
|
|
339
|
+
marginTop: number;
|
|
312
340
|
justifyContent: string;
|
|
313
341
|
'&:hover': {
|
|
314
342
|
backgroundColor: string;
|
|
@@ -45,9 +45,11 @@ const Component = {
|
|
|
45
45
|
'& a:not(.MuiChip-clickable)': {
|
|
46
46
|
color: 'inherit',
|
|
47
47
|
textDecoration: 'none',
|
|
48
|
+
display: 'inline-flex',
|
|
48
49
|
'&::after': {
|
|
49
50
|
content: '"\\2022"',
|
|
50
|
-
padding: theme.spacing()
|
|
51
|
+
padding: theme.spacing(),
|
|
52
|
+
alignSelf: 'center'
|
|
51
53
|
},
|
|
52
54
|
'&:last-child::after': {
|
|
53
55
|
display: 'none'
|
|
@@ -61,16 +63,19 @@ const Component = {
|
|
|
61
63
|
}
|
|
62
64
|
},
|
|
63
65
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
64
|
-
|
|
66
|
+
height: 20,
|
|
67
|
+
[theme.breakpoints.up('sm')]: {
|
|
68
|
+
marginRight: `${theme.spacing(1)} !important`
|
|
69
|
+
}
|
|
65
70
|
}
|
|
66
71
|
},
|
|
67
72
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
68
73
|
justifyContent: 'flex-start',
|
|
69
|
-
padding: theme.spacing(0.5),
|
|
70
74
|
'& a': {
|
|
71
75
|
padding: theme.spacing(0.5),
|
|
72
|
-
|
|
76
|
+
margin: theme.spacing(0.5),
|
|
73
77
|
color: theme.palette.common.white,
|
|
78
|
+
maxHeight: 20,
|
|
74
79
|
'&:hover': {
|
|
75
80
|
backgroundColor: theme.palette.common.black
|
|
76
81
|
},
|
|
@@ -78,7 +83,9 @@ const Component = {
|
|
|
78
83
|
color: theme.palette.common.white,
|
|
79
84
|
textTransform: 'initial'
|
|
80
85
|
}
|
|
81
|
-
}
|
|
86
|
+
},
|
|
87
|
+
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
88
|
+
margin: theme.spacing(0.5, 2, 0, 2)
|
|
82
89
|
},
|
|
83
90
|
'& .SCFeedObject-content': {
|
|
84
91
|
padding: theme.spacing(1, 0, 0, 0),
|
|
@@ -142,18 +149,22 @@ const Component = {
|
|
|
142
149
|
margin: theme.spacing(0, 2),
|
|
143
150
|
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
144
151
|
borderBottom: 'none',
|
|
145
|
-
|
|
152
|
+
marginTop: 5,
|
|
146
153
|
'& .MuiChip-icon': {
|
|
147
|
-
marginLeft: theme.spacing(1),
|
|
148
|
-
marginRight: theme.spacing(-1),
|
|
149
154
|
fontWeight: theme.typography.fontWeightRegular
|
|
150
155
|
}
|
|
156
|
+
},
|
|
157
|
+
'& .SCFeedObject-group .MuiChip-icon': {
|
|
158
|
+
marginLeft: theme.spacing(1),
|
|
159
|
+
marginRight: theme.spacing(-1)
|
|
160
|
+
},
|
|
161
|
+
[theme.breakpoints.down('md')]: {
|
|
162
|
+
justifyContent: 'space-evenly',
|
|
163
|
+
'@supports (-webkit-touch-callout: none)': {
|
|
164
|
+
justifyContent: 'start !important'
|
|
165
|
+
}
|
|
151
166
|
}
|
|
152
167
|
},
|
|
153
|
-
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
154
|
-
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
155
|
-
margin: theme.spacing(1, 2, 0, 2)
|
|
156
|
-
},
|
|
157
168
|
'& .SCFeedObject-header': {
|
|
158
169
|
'& .MuiCardHeader-avatar': {
|
|
159
170
|
marginRight: theme.spacing(1.5),
|
|
@@ -296,9 +307,25 @@ const Component = {
|
|
|
296
307
|
'& li': {
|
|
297
308
|
margin: '0 32px'
|
|
298
309
|
},
|
|
299
|
-
'& span
|
|
300
|
-
|
|
301
|
-
|
|
310
|
+
'& span': {
|
|
311
|
+
'& span': {
|
|
312
|
+
display: 'inline'
|
|
313
|
+
},
|
|
314
|
+
'& span:not(:has(+ a))': {
|
|
315
|
+
width: '100%'
|
|
316
|
+
},
|
|
317
|
+
'& a': {
|
|
318
|
+
display: 'inline-block',
|
|
319
|
+
margin: theme.spacing(0, 0.3)
|
|
320
|
+
},
|
|
321
|
+
'& a:hover': {
|
|
322
|
+
'& span': {
|
|
323
|
+
textDecoration: 'underline'
|
|
324
|
+
}
|
|
325
|
+
},
|
|
326
|
+
'& :last-child': {
|
|
327
|
+
display: 'inline'
|
|
328
|
+
}
|
|
302
329
|
}
|
|
303
330
|
},
|
|
304
331
|
'& .SCFeedObject-medias-section': {
|
|
@@ -310,6 +337,7 @@ const Component = {
|
|
|
310
337
|
fontSize: theme.typography.fontSize,
|
|
311
338
|
fontWeight: theme.typography.fontWeightBold,
|
|
312
339
|
padding: theme.spacing(0.25),
|
|
340
|
+
marginTop: -2,
|
|
313
341
|
justifyContent: 'start',
|
|
314
342
|
'&:hover': { backgroundColor: 'transparent' }
|
|
315
343
|
}
|
|
@@ -12,8 +12,19 @@ declare const Component: {
|
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
14
|
display: string;
|
|
15
|
+
};
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: string;
|
|
16
18
|
};
|
|
19
|
+
'& a': {
|
|
20
|
+
display: string;
|
|
21
|
+
margin: any;
|
|
22
|
+
};
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
17
28
|
};
|
|
18
29
|
};
|
|
19
30
|
};
|
|
@@ -11,8 +11,19 @@ const Component = {
|
|
|
11
11
|
'& .SCFeedObject-content': {
|
|
12
12
|
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
13
|
'& span': {
|
|
14
|
-
display: 'inline
|
|
14
|
+
display: 'inline'
|
|
15
|
+
},
|
|
16
|
+
'& span:not(:has(+ a))': {
|
|
15
17
|
width: '100%'
|
|
18
|
+
},
|
|
19
|
+
'& a': {
|
|
20
|
+
display: 'inline-block',
|
|
21
|
+
margin: theme.spacing(0, 0.3)
|
|
22
|
+
},
|
|
23
|
+
'& a:hover': {
|
|
24
|
+
'& span': {
|
|
25
|
+
textDecoration: 'underline'
|
|
26
|
+
}
|
|
16
27
|
}
|
|
17
28
|
}
|
|
18
29
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme, open }: any) => {
|
|
4
|
+
width: string;
|
|
5
|
+
'& .SCLessonAppbar-title': {
|
|
6
|
+
[x: number]: {
|
|
7
|
+
overflow: string;
|
|
8
|
+
textOverflow: string;
|
|
9
|
+
whiteSpace: string;
|
|
10
|
+
};
|
|
11
|
+
flexGrow: number;
|
|
12
|
+
};
|
|
13
|
+
boxShadow: string;
|
|
14
|
+
borderBottom: string;
|
|
15
|
+
'& .MuiToolbar-root': {
|
|
16
|
+
minHeight: string;
|
|
17
|
+
};
|
|
18
|
+
transition: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Component;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme, open }) => (Object.assign({ '& .SCLessonAppbar-title': {
|
|
4
|
+
flexGrow: 1,
|
|
5
|
+
[theme.breakpoints.down('md')]: {
|
|
6
|
+
overflow: 'hidden',
|
|
7
|
+
textOverflow: 'ellipsis',
|
|
8
|
+
whiteSpace: 'nowrap'
|
|
9
|
+
}
|
|
10
|
+
}, boxShadow: 'none', borderBottom: `1px solid ${theme.palette.grey[300]}`, '& .MuiToolbar-root': {
|
|
11
|
+
minHeight: '60px'
|
|
12
|
+
}, transition: theme.transitions.create(['margin', 'width'], {
|
|
13
|
+
easing: open ? theme.transitions.easing.easeOut : theme.transitions.easing.sharp,
|
|
14
|
+
duration: open ? theme.transitions.duration.enteringScreen : theme.transitions.duration.leavingScreen
|
|
15
|
+
}) }, (open && {
|
|
16
|
+
[theme.breakpoints.down('md')]: { marginRight: '100vw' },
|
|
17
|
+
[theme.breakpoints.up('sm')]: { marginRight: '300px' },
|
|
18
|
+
width: `calc(100% - 300px)`
|
|
19
|
+
})))
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export default Component;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCLessonCommentActionsMenu-button': {
|
|
5
|
+
color: any;
|
|
6
|
+
'&:hover': {
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
popperRoot: ({ theme }: any) => {
|
|
12
|
+
zIndex: number;
|
|
13
|
+
'& .SCLessonCommentActionsMenu-popper-root': {
|
|
14
|
+
overflow: string;
|
|
15
|
+
filter: string;
|
|
16
|
+
mt: number;
|
|
17
|
+
};
|
|
18
|
+
'& .SCLessonCommentActionsMenu-paper': {
|
|
19
|
+
width: number;
|
|
20
|
+
'& .SCLessonCommentActionsMenu-sub-item': {
|
|
21
|
+
'& .MuiListItemIcon-root': {
|
|
22
|
+
color: any;
|
|
23
|
+
};
|
|
24
|
+
'&:hover': {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { alpha } from '@mui/system';
|
|
2
|
+
const Component = {
|
|
3
|
+
styleOverrides: {
|
|
4
|
+
root: ({ theme }) => ({
|
|
5
|
+
'& .SCLessonCommentActionsMenu-button': {
|
|
6
|
+
color: theme.palette.primary.main,
|
|
7
|
+
'&:hover': {
|
|
8
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}),
|
|
12
|
+
popperRoot: ({ theme }) => ({
|
|
13
|
+
zIndex: 1200,
|
|
14
|
+
'& .SCLessonCommentActionsMenu-popper-root': {
|
|
15
|
+
overflow: 'visible',
|
|
16
|
+
filter: 'drop-shadow(0px -1px 5px rgba(0,0,0,0.10))',
|
|
17
|
+
mt: 1.5
|
|
18
|
+
},
|
|
19
|
+
'& .SCLessonCommentActionsMenu-paper': {
|
|
20
|
+
width: 280,
|
|
21
|
+
'& .SCLessonCommentActionsMenu-sub-item': {
|
|
22
|
+
'& .MuiListItemIcon-root': {
|
|
23
|
+
color: theme.palette.text.secondary
|
|
24
|
+
},
|
|
25
|
+
'&:hover': {
|
|
26
|
+
backgroundColor: alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity)
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
export default Component;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
overflow: string;
|
|
5
|
+
width: string;
|
|
6
|
+
backgroundColor: string;
|
|
7
|
+
border: number;
|
|
8
|
+
'& .SCLessonCommentObject-comment': {
|
|
9
|
+
backgroundColor: string;
|
|
10
|
+
border: number;
|
|
11
|
+
paddingBottom: number;
|
|
12
|
+
overflow: string;
|
|
13
|
+
'& > div': {
|
|
14
|
+
alignItems: string;
|
|
15
|
+
};
|
|
16
|
+
'& .SCBaseItem-image': {
|
|
17
|
+
marginRight: any;
|
|
18
|
+
};
|
|
19
|
+
'& .SCBaseItem-text': {
|
|
20
|
+
marginTop: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCBaseItem-image .MuiBadge-badge': {
|
|
24
|
+
top: any;
|
|
25
|
+
marginRight: number;
|
|
26
|
+
'& .SCUserAvatar-badge-content': {
|
|
27
|
+
width: any;
|
|
28
|
+
height: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'& .SCBullet-root, & .SCDateTimeAgo-root': {
|
|
32
|
+
color: any;
|
|
33
|
+
marginBottom: any;
|
|
34
|
+
};
|
|
35
|
+
'& .SCLessonCommentObject-content': {
|
|
36
|
+
backgroundColor: string;
|
|
37
|
+
overflowWrap: string;
|
|
38
|
+
position: string;
|
|
39
|
+
display: string;
|
|
40
|
+
padding: any;
|
|
41
|
+
border: number;
|
|
42
|
+
'& .MuiCardContent-root': {
|
|
43
|
+
flexGrow: number;
|
|
44
|
+
padding: number;
|
|
45
|
+
'& > p:first-of-type': {
|
|
46
|
+
paddingTop: number;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'& .SCLessonCommentObject-text-content': {
|
|
50
|
+
paddingTop: string;
|
|
51
|
+
margin: number;
|
|
52
|
+
'& a': {
|
|
53
|
+
color: any;
|
|
54
|
+
textDecoration: string;
|
|
55
|
+
'&:hover': {
|
|
56
|
+
textDecoration: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
'& p': {
|
|
60
|
+
margin: number;
|
|
61
|
+
marginBlockStart: string;
|
|
62
|
+
marginBlockEnd: string;
|
|
63
|
+
};
|
|
64
|
+
'& img': {
|
|
65
|
+
maxWidth: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
'& .SCLessonCommentObject-avatar': {
|
|
70
|
+
top: any;
|
|
71
|
+
width: any;
|
|
72
|
+
height: any;
|
|
73
|
+
};
|
|
74
|
+
'& .SCLessonCommentObject-author': {
|
|
75
|
+
marginRight: any;
|
|
76
|
+
textDecoration: string;
|
|
77
|
+
color: any;
|
|
78
|
+
'& span': {
|
|
79
|
+
fontWeight: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
skeletonRoot: ({ theme }: any) => {
|
|
84
|
+
paddingBottom: string;
|
|
85
|
+
overflow: string;
|
|
86
|
+
'& > div': {
|
|
87
|
+
alignItems: string;
|
|
88
|
+
};
|
|
89
|
+
'& .SCLessonCommentObject-primary-content': {
|
|
90
|
+
marginLeft: any;
|
|
91
|
+
marginBottom: number;
|
|
92
|
+
};
|
|
93
|
+
'&.SCWidget-root': {
|
|
94
|
+
backgroundColor: string;
|
|
95
|
+
'& .SCBaseItem-content': {
|
|
96
|
+
alignItems: string;
|
|
97
|
+
};
|
|
98
|
+
'& .SCBaseItem-image': {
|
|
99
|
+
marginRight: any;
|
|
100
|
+
};
|
|
101
|
+
'& .SCBaseItem-text': {
|
|
102
|
+
backgroundColor: string;
|
|
103
|
+
marginBottom: number;
|
|
104
|
+
'& > .SCWidget-root': {
|
|
105
|
+
border: number;
|
|
106
|
+
backgroundColor: string;
|
|
107
|
+
boxShadow: string;
|
|
108
|
+
};
|
|
109
|
+
'& .MuiCardContent-root': {
|
|
110
|
+
padding: any;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
export default Component;
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
overflow: 'visible',
|
|
5
|
+
width: '100%',
|
|
6
|
+
backgroundColor: 'transparent',
|
|
7
|
+
border: 0,
|
|
8
|
+
'& .SCLessonCommentObject-comment': {
|
|
9
|
+
backgroundColor: 'transparent',
|
|
10
|
+
border: 0,
|
|
11
|
+
paddingBottom: 0,
|
|
12
|
+
overflow: 'visible',
|
|
13
|
+
'& > div': {
|
|
14
|
+
alignItems: 'flex-start'
|
|
15
|
+
},
|
|
16
|
+
'& .SCBaseItem-image': {
|
|
17
|
+
marginRight: theme.spacing(0.5)
|
|
18
|
+
},
|
|
19
|
+
'& .SCBaseItem-text': {
|
|
20
|
+
marginTop: theme.spacing(0.5)
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
'& .SCBaseItem-image .MuiBadge-badge': {
|
|
24
|
+
top: theme.spacing(1.5),
|
|
25
|
+
marginRight: 0,
|
|
26
|
+
'& .SCUserAvatar-badge-content': {
|
|
27
|
+
width: theme.spacing(1.5),
|
|
28
|
+
height: theme.spacing(1.5)
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
'& .SCBullet-root, & .SCDateTimeAgo-root': {
|
|
32
|
+
color: theme.palette.text.secondary,
|
|
33
|
+
marginBottom: theme.spacing(0.5)
|
|
34
|
+
},
|
|
35
|
+
'& .SCLessonCommentObject-content': {
|
|
36
|
+
backgroundColor: 'transparent',
|
|
37
|
+
overflowWrap: 'anywhere',
|
|
38
|
+
position: 'relative',
|
|
39
|
+
display: 'flex',
|
|
40
|
+
padding: theme.spacing(0.5),
|
|
41
|
+
border: 0,
|
|
42
|
+
'& .MuiCardContent-root': {
|
|
43
|
+
flexGrow: 1,
|
|
44
|
+
padding: 0,
|
|
45
|
+
'& > p:first-of-type': {
|
|
46
|
+
paddingTop: 4
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
'& .SCLessonCommentObject-text-content': {
|
|
50
|
+
paddingTop: '0 !important',
|
|
51
|
+
margin: 0,
|
|
52
|
+
'& a': {
|
|
53
|
+
color: theme.palette.text.secondary,
|
|
54
|
+
textDecoration: 'underlined',
|
|
55
|
+
'&:hover': {
|
|
56
|
+
textDecoration: 'none'
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
'& p': {
|
|
60
|
+
margin: 0,
|
|
61
|
+
marginBlockStart: '0.3em',
|
|
62
|
+
marginBlockEnd: '0.3em'
|
|
63
|
+
},
|
|
64
|
+
'& img': {
|
|
65
|
+
maxWidth: '100%'
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
'& .SCLessonCommentObject-avatar': {
|
|
70
|
+
top: theme.spacing(),
|
|
71
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
72
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
73
|
+
},
|
|
74
|
+
'& .SCLessonCommentObject-author': {
|
|
75
|
+
marginRight: theme.spacing(0.5),
|
|
76
|
+
textDecoration: 'none',
|
|
77
|
+
color: theme.palette.text.primary,
|
|
78
|
+
'& span': {
|
|
79
|
+
fontWeight: '600'
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}),
|
|
83
|
+
skeletonRoot: ({ theme }) => ({
|
|
84
|
+
paddingBottom: `${theme.spacing(2)} !important`,
|
|
85
|
+
overflow: 'visible',
|
|
86
|
+
'& > div': {
|
|
87
|
+
alignItems: 'flex-start'
|
|
88
|
+
},
|
|
89
|
+
'& .SCLessonCommentObject-primary-content': {
|
|
90
|
+
marginLeft: theme.spacing(0.5),
|
|
91
|
+
marginBottom: 0
|
|
92
|
+
},
|
|
93
|
+
'&.SCWidget-root': {
|
|
94
|
+
backgroundColor: 'transparent',
|
|
95
|
+
'& .SCBaseItem-content': {
|
|
96
|
+
alignItems: 'self-start'
|
|
97
|
+
},
|
|
98
|
+
'& .SCBaseItem-image': {
|
|
99
|
+
marginRight: theme.spacing(0.5)
|
|
100
|
+
},
|
|
101
|
+
'& .SCBaseItem-text': {
|
|
102
|
+
backgroundColor: 'transparent',
|
|
103
|
+
marginBottom: 0,
|
|
104
|
+
'& > .SCWidget-root': {
|
|
105
|
+
border: 0,
|
|
106
|
+
backgroundColor: 'transparent',
|
|
107
|
+
boxShadow: 'none'
|
|
108
|
+
},
|
|
109
|
+
'& .MuiCardContent-root': {
|
|
110
|
+
padding: theme.spacing(0.5)
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
export default Component;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
display: string;
|
|
5
|
+
flexDirection: string;
|
|
6
|
+
height: string;
|
|
7
|
+
overflowY: string;
|
|
8
|
+
padding: any;
|
|
9
|
+
justifyContent: string;
|
|
10
|
+
'& .SCCommentObjectReply-root': {
|
|
11
|
+
backgroundColor: string;
|
|
12
|
+
'& .SCEditor-actions': {
|
|
13
|
+
left: any;
|
|
14
|
+
'& .SCCommentObjectReply-icon-reply': {
|
|
15
|
+
marginLeft: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
marginTop: any;
|
|
19
|
+
marginBottom: number;
|
|
20
|
+
};
|
|
21
|
+
'& .infinite-scroll-component__outerdiv': {
|
|
22
|
+
overflowY: string;
|
|
23
|
+
'& .infinite-scroll-component': {
|
|
24
|
+
'& .MuiList-root ': {
|
|
25
|
+
padding: number;
|
|
26
|
+
'& .MuiListItem-root': {
|
|
27
|
+
padding: number;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
skeletonRoot: ({ theme }: any) => {
|
|
34
|
+
width: string;
|
|
35
|
+
backgroundColor: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default Component;
|