@selfcommunity/react-theme-default 0.4.5-alpha.9 → 0.4.5-payments.143
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 +55 -0
- package/lib/cjs/components/SCAccordionLessons.js +53 -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/SCBuyButton.d.ts +15 -0
- package/lib/cjs/components/SCBuyButton.js +13 -0
- package/lib/cjs/components/SCCheckoutSuccessDialog.d.ts +23 -0
- package/lib/cjs/components/SCCheckoutSuccessDialog.js +23 -0
- package/lib/cjs/components/SCCommentObject.d.ts +7 -17
- package/lib/cjs/components/SCCommentObject.js +7 -17
- package/lib/cjs/components/SCComposer.d.ts +15 -7
- package/lib/cjs/components/SCComposer.js +37 -8
- package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
- package/lib/cjs/components/SCCourse.d.ts +243 -0
- package/lib/cjs/components/SCCourse.js +245 -0
- package/lib/cjs/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/cjs/components/SCCourseCompletedDialog.js +23 -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 +337 -0
- package/lib/cjs/components/SCCourseDashboard.js +329 -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 +56 -0
- package/lib/cjs/components/SCCourseParticipantsButton.js +53 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/cjs/components/SCCourseUsersTable.js +82 -0
- package/lib/cjs/components/SCCourses.d.ts +133 -0
- package/lib/cjs/components/SCCourses.js +135 -0
- package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateCourseButton.js +14 -0
- package/lib/cjs/components/SCEditCourse.d.ts +273 -0
- package/lib/cjs/components/SCEditCourse.js +271 -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/SCFeedObject.d.ts +18 -12
- package/lib/cjs/components/SCFeedObject.js +18 -12
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/cjs/components/SCLessonAppbar.d.ts +27 -0
- package/lib/cjs/components/SCLessonAppbar.js +28 -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 +48 -0
- package/lib/cjs/components/SCLessonCommentObjects.js +50 -0
- package/lib/cjs/components/SCLessonDrawer.d.ts +42 -0
- package/lib/cjs/components/SCLessonDrawer.js +44 -0
- package/lib/cjs/components/SCLessonEditForm.d.ts +33 -0
- package/lib/cjs/components/SCLessonEditForm.js +33 -0
- package/lib/cjs/components/SCLessonObject.d.ts +48 -0
- package/lib/cjs/components/SCLessonObject.js +51 -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 +20 -0
- package/lib/cjs/components/SCLessonTemplate.js +20 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/cjs/components/SCLiveStreamForm.js +10 -1
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
- package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/cjs/components/SCLiveStreamSelector.js +3 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/cjs/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCPaymentProduct.d.ts +55 -0
- package/lib/cjs/components/SCPaymentProduct.js +53 -0
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProductPrice.js +13 -0
- package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProducts.js +13 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
- 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 +3945 -1876
- package/lib/cjs/index.js +74 -2
- package/lib/esm/components/SCAccordionLessons.d.ts +55 -0
- package/lib/esm/components/SCAccordionLessons.js +51 -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/SCBuyButton.d.ts +15 -0
- package/lib/esm/components/SCBuyButton.js +11 -0
- package/lib/esm/components/SCCheckoutSuccessDialog.d.ts +23 -0
- package/lib/esm/components/SCCheckoutSuccessDialog.js +21 -0
- package/lib/esm/components/SCCommentObject.d.ts +7 -17
- package/lib/esm/components/SCCommentObject.js +7 -17
- package/lib/esm/components/SCComposer.d.ts +15 -7
- package/lib/esm/components/SCComposer.js +37 -8
- package/lib/esm/components/SCContributionActionsMenu.js +1 -1
- package/lib/esm/components/SCCourse.d.ts +243 -0
- package/lib/esm/components/SCCourse.js +243 -0
- package/lib/esm/components/SCCourseCompletedDialog.d.ts +21 -0
- package/lib/esm/components/SCCourseCompletedDialog.js +21 -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 +337 -0
- package/lib/esm/components/SCCourseDashboard.js +327 -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 +56 -0
- package/lib/esm/components/SCCourseParticipantsButton.js +51 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +86 -0
- package/lib/esm/components/SCCourseUsersTable.js +80 -0
- package/lib/esm/components/SCCourses.d.ts +133 -0
- package/lib/esm/components/SCCourses.js +133 -0
- package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
- package/lib/esm/components/SCCreateCourseButton.js +12 -0
- package/lib/esm/components/SCEditCourse.d.ts +273 -0
- package/lib/esm/components/SCEditCourse.js +269 -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/SCFeedObject.d.ts +18 -12
- package/lib/esm/components/SCFeedObject.js +18 -12
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +1 -1
- package/lib/esm/components/SCLessonAppbar.d.ts +27 -0
- package/lib/esm/components/SCLessonAppbar.js +26 -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 +48 -0
- package/lib/esm/components/SCLessonCommentObjects.js +48 -0
- package/lib/esm/components/SCLessonDrawer.d.ts +42 -0
- package/lib/esm/components/SCLessonDrawer.js +42 -0
- package/lib/esm/components/SCLessonEditForm.d.ts +33 -0
- package/lib/esm/components/SCLessonEditForm.js +31 -0
- package/lib/esm/components/SCLessonObject.d.ts +48 -0
- package/lib/esm/components/SCLessonObject.js +49 -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 +20 -0
- package/lib/esm/components/SCLessonTemplate.js +18 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
- package/lib/esm/components/SCLiveStreamForm.js +10 -1
- package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
- package/lib/esm/components/SCLiveStreamRoom.js +27 -1
- package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
- package/lib/esm/components/SCLiveStreamSelector.js +3 -1
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +2 -1
- package/lib/esm/components/SCLiveStreamVideoConference.js +2 -1
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCPaymentProduct.d.ts +55 -0
- package/lib/esm/components/SCPaymentProduct.js +51 -0
- package/lib/esm/components/SCPaymentProductPrice.d.ts +15 -0
- package/lib/esm/components/SCPaymentProductPrice.js +11 -0
- package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
- package/lib/esm/components/SCPaymentProducts.js +11 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
- package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
- 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 +3945 -1876
- package/lib/esm/index.js +74 -2
- 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 -1
- package/package.json +2 -2
|
@@ -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,119 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
overflow: 'visible',
|
|
7
|
+
width: '100%',
|
|
8
|
+
backgroundColor: 'transparent',
|
|
9
|
+
border: 0,
|
|
10
|
+
'& .SCLessonCommentObject-comment': {
|
|
11
|
+
backgroundColor: 'transparent',
|
|
12
|
+
border: 0,
|
|
13
|
+
paddingBottom: 0,
|
|
14
|
+
overflow: 'visible',
|
|
15
|
+
'& > div': {
|
|
16
|
+
alignItems: 'flex-start'
|
|
17
|
+
},
|
|
18
|
+
'& .SCBaseItem-image': {
|
|
19
|
+
marginRight: theme.spacing(0.5)
|
|
20
|
+
},
|
|
21
|
+
'& .SCBaseItem-text': {
|
|
22
|
+
marginTop: theme.spacing(0.5)
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
'& .SCBaseItem-image .MuiBadge-badge': {
|
|
26
|
+
top: theme.spacing(1.5),
|
|
27
|
+
marginRight: 0,
|
|
28
|
+
'& .SCUserAvatar-badge-content': {
|
|
29
|
+
width: theme.spacing(1.5),
|
|
30
|
+
height: theme.spacing(1.5)
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'& .SCBullet-root, & .SCDateTimeAgo-root': {
|
|
34
|
+
color: theme.palette.text.secondary,
|
|
35
|
+
marginBottom: theme.spacing(0.5)
|
|
36
|
+
},
|
|
37
|
+
'& .SCLessonCommentObject-content': {
|
|
38
|
+
backgroundColor: 'transparent',
|
|
39
|
+
overflowWrap: 'anywhere',
|
|
40
|
+
position: 'relative',
|
|
41
|
+
display: 'flex',
|
|
42
|
+
padding: theme.spacing(0.5),
|
|
43
|
+
border: 0,
|
|
44
|
+
'& .MuiCardContent-root': {
|
|
45
|
+
flexGrow: 1,
|
|
46
|
+
padding: 0,
|
|
47
|
+
'& > p:first-of-type': {
|
|
48
|
+
paddingTop: 4
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
'& .SCLessonCommentObject-text-content': {
|
|
52
|
+
paddingTop: '0 !important',
|
|
53
|
+
margin: 0,
|
|
54
|
+
'& a': {
|
|
55
|
+
color: theme.palette.text.secondary,
|
|
56
|
+
textDecoration: 'underlined',
|
|
57
|
+
'&:hover': {
|
|
58
|
+
textDecoration: 'none'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
'& p': {
|
|
62
|
+
margin: 0,
|
|
63
|
+
marginBlockStart: '0.3em',
|
|
64
|
+
marginBlockEnd: '0.3em'
|
|
65
|
+
},
|
|
66
|
+
'& img': {
|
|
67
|
+
maxWidth: '100%'
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
'& .SCLessonCommentObject-avatar': {
|
|
72
|
+
top: theme.spacing(),
|
|
73
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
74
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
75
|
+
},
|
|
76
|
+
'& .SCLessonCommentObject-author': {
|
|
77
|
+
marginRight: theme.spacing(0.5),
|
|
78
|
+
textDecoration: 'none',
|
|
79
|
+
color: theme.palette.text.primary,
|
|
80
|
+
'& span': {
|
|
81
|
+
fontWeight: '600'
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}),
|
|
85
|
+
skeletonRoot: ({ theme }) => ({
|
|
86
|
+
paddingBottom: `${theme.spacing(2)} !important`,
|
|
87
|
+
overflow: 'visible',
|
|
88
|
+
'& > div': {
|
|
89
|
+
alignItems: 'flex-start'
|
|
90
|
+
},
|
|
91
|
+
'& .SCLessonCommentObject-primary-content': {
|
|
92
|
+
marginLeft: theme.spacing(0.5),
|
|
93
|
+
marginBottom: 0
|
|
94
|
+
},
|
|
95
|
+
'&.SCWidget-root': {
|
|
96
|
+
backgroundColor: 'transparent',
|
|
97
|
+
'& .SCBaseItem-content': {
|
|
98
|
+
alignItems: 'self-start'
|
|
99
|
+
},
|
|
100
|
+
'& .SCBaseItem-image': {
|
|
101
|
+
marginRight: theme.spacing(0.5)
|
|
102
|
+
},
|
|
103
|
+
'& .SCBaseItem-text': {
|
|
104
|
+
backgroundColor: 'transparent',
|
|
105
|
+
marginBottom: 0,
|
|
106
|
+
'& > .SCWidget-root': {
|
|
107
|
+
border: 0,
|
|
108
|
+
backgroundColor: 'transparent',
|
|
109
|
+
boxShadow: 'none'
|
|
110
|
+
},
|
|
111
|
+
'& .MuiCardContent-root': {
|
|
112
|
+
padding: theme.spacing(0.5)
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
})
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
exports.default = Component;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
height: string;
|
|
6
|
+
};
|
|
7
|
+
display: string;
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
height: string;
|
|
10
|
+
overflowY: string;
|
|
11
|
+
padding: any;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
'& .SCCommentObjectReply-root': {
|
|
14
|
+
backgroundColor: string;
|
|
15
|
+
'& .SCEditor-root': {
|
|
16
|
+
paddingTop: any;
|
|
17
|
+
};
|
|
18
|
+
'& .SCEditor-content': {
|
|
19
|
+
minHeight: string;
|
|
20
|
+
};
|
|
21
|
+
'& .SCEditor-actions': {
|
|
22
|
+
left: any;
|
|
23
|
+
'& .SCCommentObjectReply-icon-reply': {
|
|
24
|
+
marginLeft: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
marginTop: any;
|
|
28
|
+
marginBottom: number;
|
|
29
|
+
};
|
|
30
|
+
'& .infinite-scroll-component__outerdiv': {
|
|
31
|
+
overflowY: string;
|
|
32
|
+
'& .infinite-scroll-component': {
|
|
33
|
+
'& .MuiList-root ': {
|
|
34
|
+
padding: number;
|
|
35
|
+
'& .MuiListItem-root': {
|
|
36
|
+
padding: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
skeletonRoot: ({ theme }: any) => {
|
|
43
|
+
width: string;
|
|
44
|
+
backgroundColor: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default Component;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
display: 'flex',
|
|
7
|
+
flexDirection: 'column',
|
|
8
|
+
height: '100%',
|
|
9
|
+
[theme.breakpoints.up('sm')]: {
|
|
10
|
+
height: '90%'
|
|
11
|
+
},
|
|
12
|
+
overflowY: 'auto',
|
|
13
|
+
padding: theme.spacing(2, 2, 3, 2),
|
|
14
|
+
justifyContent: 'space-between',
|
|
15
|
+
'& .SCCommentObjectReply-root': {
|
|
16
|
+
backgroundColor: 'transparent',
|
|
17
|
+
'& .SCEditor-root': {
|
|
18
|
+
paddingTop: theme.spacing(2)
|
|
19
|
+
},
|
|
20
|
+
'& .SCEditor-content': {
|
|
21
|
+
minHeight: '50px'
|
|
22
|
+
},
|
|
23
|
+
'& .SCEditor-actions': {
|
|
24
|
+
left: theme.spacing(1),
|
|
25
|
+
'& .SCCommentObjectReply-icon-reply': {
|
|
26
|
+
marginLeft: 'auto'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
marginTop: theme.spacing(2),
|
|
30
|
+
marginBottom: 0
|
|
31
|
+
},
|
|
32
|
+
'& .infinite-scroll-component__outerdiv': {
|
|
33
|
+
overflowY: 'auto',
|
|
34
|
+
'& .infinite-scroll-component': {
|
|
35
|
+
'& .MuiList-root ': {
|
|
36
|
+
padding: 0,
|
|
37
|
+
'& .MuiListItem-root': {
|
|
38
|
+
padding: 0
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}),
|
|
44
|
+
skeletonRoot: ({ theme }) => ({
|
|
45
|
+
width: '100%',
|
|
46
|
+
backgroundColor: 'transparent'
|
|
47
|
+
})
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
exports.default = Component;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
width: string;
|
|
6
|
+
flexShrink: number;
|
|
7
|
+
} | {
|
|
8
|
+
width: string;
|
|
9
|
+
flexShrink?: undefined;
|
|
10
|
+
};
|
|
11
|
+
'& h4': {
|
|
12
|
+
fontWeight: any;
|
|
13
|
+
};
|
|
14
|
+
'& .MuiDrawer-paper': {
|
|
15
|
+
[x: number]: {
|
|
16
|
+
width: string;
|
|
17
|
+
};
|
|
18
|
+
width: string;
|
|
19
|
+
backgroundColor: any;
|
|
20
|
+
};
|
|
21
|
+
'& .SCLessonDrawer-header': {
|
|
22
|
+
minHeight: string;
|
|
23
|
+
display: string;
|
|
24
|
+
padding: any;
|
|
25
|
+
};
|
|
26
|
+
'& .SCLessonDrawer-header-content': {
|
|
27
|
+
display: string;
|
|
28
|
+
alignItems: string;
|
|
29
|
+
justifyContent: string;
|
|
30
|
+
};
|
|
31
|
+
'& .SCLessonDrawer-header-edit': {
|
|
32
|
+
justifyContent: string;
|
|
33
|
+
};
|
|
34
|
+
'& .SCScrollContainer-root:hover': {
|
|
35
|
+
'& .Mui-disabled': {
|
|
36
|
+
opacity: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export default Component;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
[theme.breakpoints.down('md')]: {
|
|
7
|
+
width: '100vw',
|
|
8
|
+
flexShrink: 0
|
|
9
|
+
},
|
|
10
|
+
[theme.breakpoints.up('sm')]: {
|
|
11
|
+
width: '300px'
|
|
12
|
+
},
|
|
13
|
+
'& h4': {
|
|
14
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
15
|
+
},
|
|
16
|
+
'& .MuiDrawer-paper': {
|
|
17
|
+
width: '100%',
|
|
18
|
+
[theme.breakpoints.up('sm')]: {
|
|
19
|
+
width: '300px'
|
|
20
|
+
},
|
|
21
|
+
backgroundColor: theme.palette.grey[200]
|
|
22
|
+
},
|
|
23
|
+
'& .SCLessonDrawer-header': {
|
|
24
|
+
minHeight: '60px',
|
|
25
|
+
display: 'block',
|
|
26
|
+
padding: theme.spacing(1.5)
|
|
27
|
+
},
|
|
28
|
+
'& .SCLessonDrawer-header-content': {
|
|
29
|
+
display: 'flex',
|
|
30
|
+
alignItems: 'center',
|
|
31
|
+
justifyContent: 'space-between'
|
|
32
|
+
},
|
|
33
|
+
'& .SCLessonDrawer-header-edit': {
|
|
34
|
+
justifyContent: 'space-between'
|
|
35
|
+
},
|
|
36
|
+
'& .SCScrollContainer-root:hover': {
|
|
37
|
+
'& .Mui-disabled': {
|
|
38
|
+
opacity: '0.38 !important'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
exports.default = Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
paddingBottom: any;
|
|
6
|
+
};
|
|
7
|
+
padding: any;
|
|
8
|
+
height: string;
|
|
9
|
+
display: string;
|
|
10
|
+
flexDirection: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
'& .SCLessonEditForm-form': {
|
|
13
|
+
display: string;
|
|
14
|
+
flexDirection: string;
|
|
15
|
+
};
|
|
16
|
+
'& .MuiFormLabel-root': {
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
color: string;
|
|
19
|
+
'& .Mui-focused': {
|
|
20
|
+
color: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCLessonEditForm-settings': {
|
|
24
|
+
marginTop: any;
|
|
25
|
+
};
|
|
26
|
+
'& .SCLessonEditForm-button': {
|
|
27
|
+
alignSelf: string;
|
|
28
|
+
marginBottom: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
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
|
+
padding: theme.spacing(2),
|
|
7
|
+
[theme.breakpoints.up('sm')]: {
|
|
8
|
+
paddingBottom: theme.spacing(5)
|
|
9
|
+
},
|
|
10
|
+
height: '100%',
|
|
11
|
+
display: 'flex',
|
|
12
|
+
flexDirection: 'column',
|
|
13
|
+
justifyContent: 'space-between',
|
|
14
|
+
'& .SCLessonEditForm-form': {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
flexDirection: 'column'
|
|
17
|
+
},
|
|
18
|
+
'& .MuiFormLabel-root': {
|
|
19
|
+
fontWeight: 700,
|
|
20
|
+
color: 'inherit',
|
|
21
|
+
'& .Mui-focused': { color: 'inherit' }
|
|
22
|
+
},
|
|
23
|
+
'& .SCLessonEditForm-settings': {
|
|
24
|
+
marginTop: theme.spacing(2)
|
|
25
|
+
},
|
|
26
|
+
'& .SCLessonEditForm-button': {
|
|
27
|
+
alignSelf: 'center',
|
|
28
|
+
marginBottom: theme.spacing(3)
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.default = Component;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
display: string;
|
|
5
|
+
flexDirection: string;
|
|
6
|
+
padding: any;
|
|
7
|
+
'& .SCLessonObject-content': {
|
|
8
|
+
padding: string;
|
|
9
|
+
'& .SCLessonObject-text': {
|
|
10
|
+
'& > div:first-of-type': {
|
|
11
|
+
height: string;
|
|
12
|
+
img: {
|
|
13
|
+
height: string;
|
|
14
|
+
objectFit: string;
|
|
15
|
+
};
|
|
16
|
+
padding: string;
|
|
17
|
+
};
|
|
18
|
+
'& > div:has(> a)': {
|
|
19
|
+
borderRadius: string;
|
|
20
|
+
padding: any;
|
|
21
|
+
background: any;
|
|
22
|
+
};
|
|
23
|
+
'& > div:has(> a) > a:first-of-type': {
|
|
24
|
+
textDecoration: string;
|
|
25
|
+
color: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .SCLessonObject-content-edit': {
|
|
30
|
+
padding: string;
|
|
31
|
+
'& .SCEditor-content': {
|
|
32
|
+
paddingTop: number;
|
|
33
|
+
paddingBottom: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
'& .SCWidget-root': {
|
|
37
|
+
[x: number]: {
|
|
38
|
+
boxShadow: string;
|
|
39
|
+
};
|
|
40
|
+
marginBottom: any;
|
|
41
|
+
};
|
|
42
|
+
'& .SCLessonObject-button': {
|
|
43
|
+
alignSelf: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
export default Component;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
display: 'flex',
|
|
7
|
+
flexDirection: 'column',
|
|
8
|
+
padding: theme.spacing(1),
|
|
9
|
+
'& .SCLessonObject-content': {
|
|
10
|
+
padding: `${theme.spacing(2)} !important`,
|
|
11
|
+
'& .SCLessonObject-text': {
|
|
12
|
+
'& > div:first-of-type': {
|
|
13
|
+
height: '240px',
|
|
14
|
+
img: {
|
|
15
|
+
height: '240px',
|
|
16
|
+
objectFit: 'cover'
|
|
17
|
+
},
|
|
18
|
+
padding: '0 !important'
|
|
19
|
+
},
|
|
20
|
+
// '& .SCEditor-paragraph': {}
|
|
21
|
+
'& > div:has(> a)': {
|
|
22
|
+
borderRadius: '5px',
|
|
23
|
+
padding: theme.spacing(1),
|
|
24
|
+
background: theme.palette.grey[300]
|
|
25
|
+
},
|
|
26
|
+
'& > div:has(> a) > a:first-of-type': {
|
|
27
|
+
textDecoration: 'none',
|
|
28
|
+
color: 'inherit'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
'& .SCLessonObject-content-edit': {
|
|
33
|
+
padding: '0 !important',
|
|
34
|
+
'& .SCEditor-content': {
|
|
35
|
+
paddingTop: 0,
|
|
36
|
+
paddingBottom: 0
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
'& .SCWidget-root': {
|
|
40
|
+
marginBottom: theme.spacing(3),
|
|
41
|
+
[theme.breakpoints.down('md')]: {
|
|
42
|
+
boxShadow: 'none'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
'& .SCLessonObject-button': {
|
|
46
|
+
alignSelf: 'center'
|
|
47
|
+
}
|
|
48
|
+
})
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
exports.default = Component;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
popoverRoot: ({ theme }: any) => {
|
|
5
|
+
width: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
'& .MuiPaper-root': {
|
|
8
|
+
padding: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCLessonReleaseMenu-popover-content': {
|
|
11
|
+
marginTop: any;
|
|
12
|
+
'& .SCLessonReleaseMenu-popover-selection': {
|
|
13
|
+
display: string;
|
|
14
|
+
alignItems: string;
|
|
15
|
+
gap: any;
|
|
16
|
+
'& .MuiInputBase-root': {
|
|
17
|
+
width: string;
|
|
18
|
+
height: string;
|
|
19
|
+
};
|
|
20
|
+
'& .MuiRadio-root': {
|
|
21
|
+
padding: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'& .SCLessonReleaseMenu-popover-action': {
|
|
25
|
+
marginTop: any;
|
|
26
|
+
width: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({}),
|
|
6
|
+
popoverRoot: ({ theme }) => ({
|
|
7
|
+
width: '260px',
|
|
8
|
+
borderRadius: '4px',
|
|
9
|
+
'& .MuiPaper-root': {
|
|
10
|
+
padding: theme.spacing(2)
|
|
11
|
+
},
|
|
12
|
+
'& .SCLessonReleaseMenu-popover-content': {
|
|
13
|
+
marginTop: theme.spacing(1),
|
|
14
|
+
'& .SCLessonReleaseMenu-popover-selection': {
|
|
15
|
+
display: 'flex',
|
|
16
|
+
alignItems: 'center',
|
|
17
|
+
gap: theme.spacing(2),
|
|
18
|
+
'& .MuiInputBase-root': {
|
|
19
|
+
width: '68px',
|
|
20
|
+
height: '38px'
|
|
21
|
+
},
|
|
22
|
+
'& .MuiRadio-root': {
|
|
23
|
+
padding: theme.spacing(0.5)
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'& .SCLessonReleaseMenu-popover-action': {
|
|
27
|
+
marginTop: theme.spacing(1),
|
|
28
|
+
width: '100%'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
exports.default = Component;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: () => {};
|
|
4
|
+
containerRoot: ({ theme, open }: any) => {
|
|
5
|
+
'& .SCLessonTemplate-navigation-title': {
|
|
6
|
+
display: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
justifyContent: string;
|
|
9
|
+
marginBottom: any;
|
|
10
|
+
};
|
|
11
|
+
width: string;
|
|
12
|
+
display: string;
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
overflow: string;
|
|
15
|
+
transition: any;
|
|
16
|
+
marginRight: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export default Component;
|