@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.
Files changed (187) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +55 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +53 -0
  3. package/lib/cjs/components/SCAddUsersButton.d.ts +19 -0
  4. package/lib/cjs/components/SCAddUsersButton.js +21 -0
  5. package/lib/cjs/components/SCBaseItemButton.d.ts +26 -35
  6. package/lib/cjs/components/SCBaseItemButton.js +27 -36
  7. package/lib/cjs/components/SCBuyButton.d.ts +15 -0
  8. package/lib/cjs/components/SCBuyButton.js +13 -0
  9. package/lib/cjs/components/SCCheckoutSuccessDialog.d.ts +23 -0
  10. package/lib/cjs/components/SCCheckoutSuccessDialog.js +23 -0
  11. package/lib/cjs/components/SCCommentObject.d.ts +7 -17
  12. package/lib/cjs/components/SCCommentObject.js +7 -17
  13. package/lib/cjs/components/SCComposer.d.ts +15 -7
  14. package/lib/cjs/components/SCComposer.js +37 -8
  15. package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
  16. package/lib/cjs/components/SCCourse.d.ts +243 -0
  17. package/lib/cjs/components/SCCourse.js +245 -0
  18. package/lib/cjs/components/SCCourseCompletedDialog.d.ts +21 -0
  19. package/lib/cjs/components/SCCourseCompletedDialog.js +23 -0
  20. package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
  21. package/lib/cjs/components/SCCourseContentMenu.js +42 -0
  22. package/lib/cjs/components/SCCourseDashboard.d.ts +337 -0
  23. package/lib/cjs/components/SCCourseDashboard.js +329 -0
  24. package/lib/cjs/components/SCCourseForm.d.ts +143 -0
  25. package/lib/cjs/components/SCCourseForm.js +144 -0
  26. package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
  27. package/lib/cjs/components/SCCourseFormDialog.js +8 -0
  28. package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
  29. package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
  30. package/lib/cjs/components/SCCourseParticipantsButton.d.ts +56 -0
  31. package/lib/cjs/components/SCCourseParticipantsButton.js +53 -0
  32. package/lib/cjs/components/SCCourseUsersTable.d.ts +86 -0
  33. package/lib/cjs/components/SCCourseUsersTable.js +82 -0
  34. package/lib/cjs/components/SCCourses.d.ts +133 -0
  35. package/lib/cjs/components/SCCourses.js +135 -0
  36. package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
  37. package/lib/cjs/components/SCCreateCourseButton.js +14 -0
  38. package/lib/cjs/components/SCEditCourse.d.ts +273 -0
  39. package/lib/cjs/components/SCEditCourse.js +271 -0
  40. package/lib/cjs/components/SCEditor.d.ts +20 -0
  41. package/lib/cjs/components/SCEditor.js +20 -0
  42. package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
  43. package/lib/cjs/components/SCEmptyStatus.js +33 -0
  44. package/lib/cjs/components/SCFeedObject.d.ts +18 -12
  45. package/lib/cjs/components/SCFeedObject.js +18 -12
  46. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +1 -1
  47. package/lib/cjs/components/SCLessonAppbar.d.ts +27 -0
  48. package/lib/cjs/components/SCLessonAppbar.js +28 -0
  49. package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
  50. package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
  51. package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
  52. package/lib/cjs/components/SCLessonCommentObject.js +119 -0
  53. package/lib/cjs/components/SCLessonCommentObjects.d.ts +48 -0
  54. package/lib/cjs/components/SCLessonCommentObjects.js +50 -0
  55. package/lib/cjs/components/SCLessonDrawer.d.ts +42 -0
  56. package/lib/cjs/components/SCLessonDrawer.js +44 -0
  57. package/lib/cjs/components/SCLessonEditForm.d.ts +33 -0
  58. package/lib/cjs/components/SCLessonEditForm.js +33 -0
  59. package/lib/cjs/components/SCLessonObject.d.ts +48 -0
  60. package/lib/cjs/components/SCLessonObject.js +51 -0
  61. package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
  62. package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
  63. package/lib/cjs/components/SCLessonTemplate.d.ts +20 -0
  64. package/lib/cjs/components/SCLessonTemplate.js +20 -0
  65. package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
  66. package/lib/cjs/components/SCLiveStreamForm.js +10 -1
  67. package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
  68. package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
  69. package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
  70. package/lib/cjs/components/SCLiveStreamSelector.js +3 -1
  71. package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +2 -1
  72. package/lib/cjs/components/SCLiveStreamVideoConference.js +2 -1
  73. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  74. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  75. package/lib/cjs/components/SCPaymentProduct.d.ts +55 -0
  76. package/lib/cjs/components/SCPaymentProduct.js +53 -0
  77. package/lib/cjs/components/SCPaymentProductPrice.d.ts +15 -0
  78. package/lib/cjs/components/SCPaymentProductPrice.js +13 -0
  79. package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
  80. package/lib/cjs/components/SCPaymentProducts.js +13 -0
  81. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
  82. package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
  83. package/lib/cjs/fonts/community/icons.eot +0 -0
  84. package/lib/cjs/fonts/community/icons.svg +9 -3
  85. package/lib/cjs/fonts/community/icons.ttf +0 -0
  86. package/lib/cjs/fonts/community/icons.woff +0 -0
  87. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  88. package/lib/cjs/fonts/community-icons.css +15 -6
  89. package/lib/cjs/index.d.ts +3945 -1876
  90. package/lib/cjs/index.js +74 -2
  91. package/lib/esm/components/SCAccordionLessons.d.ts +55 -0
  92. package/lib/esm/components/SCAccordionLessons.js +51 -0
  93. package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
  94. package/lib/esm/components/SCAddUsersButton.js +19 -0
  95. package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
  96. package/lib/esm/components/SCBaseItemButton.js +27 -36
  97. package/lib/esm/components/SCBuyButton.d.ts +15 -0
  98. package/lib/esm/components/SCBuyButton.js +11 -0
  99. package/lib/esm/components/SCCheckoutSuccessDialog.d.ts +23 -0
  100. package/lib/esm/components/SCCheckoutSuccessDialog.js +21 -0
  101. package/lib/esm/components/SCCommentObject.d.ts +7 -17
  102. package/lib/esm/components/SCCommentObject.js +7 -17
  103. package/lib/esm/components/SCComposer.d.ts +15 -7
  104. package/lib/esm/components/SCComposer.js +37 -8
  105. package/lib/esm/components/SCContributionActionsMenu.js +1 -1
  106. package/lib/esm/components/SCCourse.d.ts +243 -0
  107. package/lib/esm/components/SCCourse.js +243 -0
  108. package/lib/esm/components/SCCourseCompletedDialog.d.ts +21 -0
  109. package/lib/esm/components/SCCourseCompletedDialog.js +21 -0
  110. package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
  111. package/lib/esm/components/SCCourseContentMenu.js +40 -0
  112. package/lib/esm/components/SCCourseDashboard.d.ts +337 -0
  113. package/lib/esm/components/SCCourseDashboard.js +327 -0
  114. package/lib/esm/components/SCCourseForm.d.ts +143 -0
  115. package/lib/esm/components/SCCourseForm.js +142 -0
  116. package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
  117. package/lib/esm/components/SCCourseFormDialog.js +6 -0
  118. package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
  119. package/lib/esm/components/SCCourseInfoDetails.js +41 -0
  120. package/lib/esm/components/SCCourseParticipantsButton.d.ts +56 -0
  121. package/lib/esm/components/SCCourseParticipantsButton.js +51 -0
  122. package/lib/esm/components/SCCourseUsersTable.d.ts +86 -0
  123. package/lib/esm/components/SCCourseUsersTable.js +80 -0
  124. package/lib/esm/components/SCCourses.d.ts +133 -0
  125. package/lib/esm/components/SCCourses.js +133 -0
  126. package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
  127. package/lib/esm/components/SCCreateCourseButton.js +12 -0
  128. package/lib/esm/components/SCEditCourse.d.ts +273 -0
  129. package/lib/esm/components/SCEditCourse.js +269 -0
  130. package/lib/esm/components/SCEditor.d.ts +20 -0
  131. package/lib/esm/components/SCEditor.js +20 -0
  132. package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
  133. package/lib/esm/components/SCEmptyStatus.js +31 -0
  134. package/lib/esm/components/SCFeedObject.d.ts +18 -12
  135. package/lib/esm/components/SCFeedObject.js +18 -12
  136. package/lib/esm/components/SCFeedObjectDetailTemplate.js +1 -1
  137. package/lib/esm/components/SCLessonAppbar.d.ts +27 -0
  138. package/lib/esm/components/SCLessonAppbar.js +26 -0
  139. package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
  140. package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
  141. package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
  142. package/lib/esm/components/SCLessonCommentObject.js +117 -0
  143. package/lib/esm/components/SCLessonCommentObjects.d.ts +48 -0
  144. package/lib/esm/components/SCLessonCommentObjects.js +48 -0
  145. package/lib/esm/components/SCLessonDrawer.d.ts +42 -0
  146. package/lib/esm/components/SCLessonDrawer.js +42 -0
  147. package/lib/esm/components/SCLessonEditForm.d.ts +33 -0
  148. package/lib/esm/components/SCLessonEditForm.js +31 -0
  149. package/lib/esm/components/SCLessonObject.d.ts +48 -0
  150. package/lib/esm/components/SCLessonObject.js +49 -0
  151. package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
  152. package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
  153. package/lib/esm/components/SCLessonTemplate.d.ts +20 -0
  154. package/lib/esm/components/SCLessonTemplate.js +18 -0
  155. package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
  156. package/lib/esm/components/SCLiveStreamForm.js +10 -1
  157. package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
  158. package/lib/esm/components/SCLiveStreamRoom.js +27 -1
  159. package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
  160. package/lib/esm/components/SCLiveStreamSelector.js +3 -1
  161. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +2 -1
  162. package/lib/esm/components/SCLiveStreamVideoConference.js +2 -1
  163. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  164. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  165. package/lib/esm/components/SCPaymentProduct.d.ts +55 -0
  166. package/lib/esm/components/SCPaymentProduct.js +51 -0
  167. package/lib/esm/components/SCPaymentProductPrice.d.ts +15 -0
  168. package/lib/esm/components/SCPaymentProductPrice.js +11 -0
  169. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  170. package/lib/esm/components/SCPaymentProducts.js +11 -0
  171. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
  172. package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
  173. package/lib/esm/fonts/community/icons.eot +0 -0
  174. package/lib/esm/fonts/community/icons.svg +9 -3
  175. package/lib/esm/fonts/community/icons.ttf +0 -0
  176. package/lib/esm/fonts/community/icons.woff +0 -0
  177. package/lib/esm/fonts/community/icons.woff2 +0 -0
  178. package/lib/esm/fonts/community-icons.css +15 -6
  179. package/lib/esm/index.d.ts +3945 -1876
  180. package/lib/esm/index.js +74 -2
  181. package/lib/umd/community/icons.eot +0 -0
  182. package/lib/umd/community/icons.svg +9 -3
  183. package/lib/umd/community/icons.ttf +0 -0
  184. package/lib/umd/community/icons.woff +0 -0
  185. package/lib/umd/community/icons.woff2 +0 -0
  186. package/lib/umd/react-theme-default.js +1 -1
  187. package/package.json +2 -2
@@ -0,0 +1,327 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCCourseDashboard-header': {
5
+ [theme.breakpoints.down('sm')]: {
6
+ paddingLeft: '14px',
7
+ paddingRight: '14px'
8
+ },
9
+ '& .SCCourseDashboard-header-img': {
10
+ width: '100%',
11
+ minHeight: '150px',
12
+ height: '230px',
13
+ borderBottomLeftRadius: '10px',
14
+ borderBottomRightRadius: '10px',
15
+ marginBottom: '17px',
16
+ [theme.breakpoints.down('sm')]: {
17
+ display: 'none'
18
+ }
19
+ },
20
+ '& .SCCourseDashboard-header-outer-wrapper': {
21
+ alignItems: 'flex-start',
22
+ gap: '32px',
23
+ marginTop: theme.spacing(2),
24
+ marginBottom: theme.spacing(3),
25
+ [theme.breakpoints.up('sm')]: {
26
+ flexDirection: 'row',
27
+ alignItems: 'center',
28
+ justifyContent: 'space-between',
29
+ marginTop: theme.spacing(3),
30
+ marginBottom: '19px'
31
+ },
32
+ '& .SCCourseDashboard-header-inner-wrapper': {
33
+ alignItems: 'flex-start',
34
+ gap: '17px',
35
+ [theme.breakpoints.up('sm')]: {
36
+ flexDirection: 'row',
37
+ alignItems: 'center',
38
+ gap: '28px'
39
+ },
40
+ '& .SCCourseDashboard-header-icon-wrapper': {
41
+ flexDirection: 'row',
42
+ alignItems: 'center',
43
+ gap: theme.spacing(1)
44
+ }
45
+ }
46
+ }
47
+ },
48
+ '& .SCCourseDashboard-info-wrapper': {
49
+ gap: theme.spacing(2),
50
+ marginBottom: theme.spacing(2),
51
+ [theme.breakpoints.up('sm')]: {
52
+ flexDirection: 'row',
53
+ gap: '38px'
54
+ },
55
+ [theme.breakpoints.down('sm')]: {
56
+ paddingLeft: '14px',
57
+ paddingRight: '14px'
58
+ },
59
+ '& .SCCourseDashboard-info': {
60
+ flex: 1,
61
+ gap: '6px',
62
+ border: `1px solid ${theme.palette.grey['300']}`,
63
+ borderRadius: '10px',
64
+ padding: theme.spacing('17px', 3, '19px'),
65
+ '& .SCCourseParticipantsButton-root': {
66
+ justifyContent: 'flex-start',
67
+ padding: 0
68
+ }
69
+ }
70
+ },
71
+ '& .SCCourseDashboard-tab-list': {
72
+ borderBottom: `1px solid ${theme.palette.grey['300']}`,
73
+ '& .SCCourseDashboard-tab': {
74
+ textTransform: 'inherit'
75
+ },
76
+ '& > .Mui-disabled': {
77
+ opacity: 0.3
78
+ },
79
+ '& > .MuiTabs-scrollButtons': {
80
+ display: 'inline-flex'
81
+ }
82
+ },
83
+ '& .SCCourseDashboard-tab-panel': {
84
+ padding: theme.spacing(3, 0, 0),
85
+ [theme.breakpoints.down('md')]: {
86
+ paddingLeft: '14px',
87
+ paddingRight: '14px'
88
+ }
89
+ },
90
+ '& .SCCourseDashboard-comments-container': {
91
+ [theme.breakpoints.up('sm')]: {
92
+ paddingLeft: '36px',
93
+ paddingRight: '36px'
94
+ },
95
+ '& .SCCourseDashboard-outer-wrapper': {
96
+ marginTop: '15px',
97
+ marginBottom: '23px',
98
+ '& .SCCourseDashboard-inner-wrapper': {
99
+ gap: theme.spacing(3),
100
+ marginTop: '23px',
101
+ marginBottom: '30px',
102
+ '& .SCCourseDashboard-user-wrapper': {
103
+ flexDirection: 'row',
104
+ gap: '6px',
105
+ '& .SCCourseDashboard-avatar': {
106
+ width: '30px',
107
+ height: '30px'
108
+ },
109
+ '& .SCCourseDashboard-user-info': {
110
+ flexDirection: 'row',
111
+ alignItems: 'center',
112
+ gap: '6px',
113
+ '& .SCCourseDashboard-circle': {
114
+ width: '5px',
115
+ height: '5px',
116
+ borderRadius: '9999px',
117
+ backgroundColor: theme.palette.grey['600']
118
+ }
119
+ }
120
+ },
121
+ '& .SCCourseDashboard-button': {
122
+ width: 'fit-content'
123
+ }
124
+ }
125
+ }
126
+ },
127
+ '&.SCCourseDashboard-student-container': {
128
+ '& .SCCourseDashboard-accordion': {
129
+ borderTopLeftRadius: 'unset',
130
+ borderTopRightRadius: 'unset'
131
+ },
132
+ '& .SCCourseDashboard-user-wrapper': {
133
+ flexDirection: 'row',
134
+ alignItems: 'center',
135
+ justifyContent: 'space-between',
136
+ '& .SCCourseDashboard-user': {
137
+ flexDirection: 'row',
138
+ alignItems: 'center',
139
+ gap: '4px',
140
+ marginTop: '6px',
141
+ marginBottom: '6px',
142
+ '& .SCCourseDashboard-avatar': {
143
+ width: '36px',
144
+ height: '36px'
145
+ }
146
+ },
147
+ '& .SCCourseDashboard-actions-wrapper': {
148
+ flexDirection: 'row',
149
+ gap: '5px'
150
+ }
151
+ },
152
+ '& .SCCourseDashboard-lessons-sections': {
153
+ flexDirection: 'row',
154
+ alignItems: 'center',
155
+ gap: '6px',
156
+ border: `1px solid ${theme.palette.grey['300']}`,
157
+ borderBottom: 'unset',
158
+ borderTopLeftRadius: '5px',
159
+ borderTopRightRadius: '5px',
160
+ padding: '19px 24px',
161
+ '& .SCCourseDashboard-circle': {
162
+ width: '6px',
163
+ height: '6px',
164
+ borderRadius: 9999,
165
+ backgroundColor: theme.palette.common.black
166
+ }
167
+ },
168
+ '& .SCCourseDashboard-margin': {
169
+ marginTop: '19px',
170
+ marginBottom: '11px'
171
+ },
172
+ '& .SCCourseDashboard-box': {
173
+ gap: '13px',
174
+ border: `1px solid ${theme.palette.grey['300']}`,
175
+ borderRadius: '5px',
176
+ padding: '11px 24px'
177
+ },
178
+ '& .SCCourseDashboard-percentage-wrapper': {
179
+ justifyContent: 'space-between',
180
+ gap: '5px',
181
+ [theme.breakpoints.up('sm')]: {
182
+ flexDirection: 'row'
183
+ }
184
+ },
185
+ '& .SCCourseDashboard-progress': {
186
+ borderRadius: '28px',
187
+ backgroundColor: theme.palette.grey['300']
188
+ },
189
+ '& .SCCourseDashboard-completed-wrapper': {
190
+ flexDirection: 'row',
191
+ alignItems: 'center',
192
+ gap: '11px'
193
+ }
194
+ }
195
+ }),
196
+ skeletonRoot: ({ theme }) => ({
197
+ '& .SCCourseDashboard-header': {
198
+ [theme.breakpoints.down('sm')]: {
199
+ paddingLeft: '14px',
200
+ paddingRight: '14px'
201
+ },
202
+ '& .SCCourseDashboard-header-img': {
203
+ width: '100%',
204
+ minHeight: '150px',
205
+ height: '230px',
206
+ borderBottomLeftRadius: '10px',
207
+ borderBottomRightRadius: '10px',
208
+ marginBottom: '17px',
209
+ [theme.breakpoints.down('sm')]: {
210
+ display: 'none'
211
+ }
212
+ },
213
+ '& .SCCourseDashboard-header-outer-wrapper': {
214
+ alignItems: 'flex-start',
215
+ gap: '32px',
216
+ marginTop: theme.spacing(2),
217
+ marginBottom: theme.spacing(3),
218
+ [theme.breakpoints.up('sm')]: {
219
+ flexDirection: 'row',
220
+ alignItems: 'center',
221
+ justifyContent: 'space-between',
222
+ marginTop: theme.spacing(3),
223
+ marginBottom: '19px'
224
+ },
225
+ '& .SCCourseDashboard-header-inner-wrapper': {
226
+ alignItems: 'flex-start',
227
+ gap: '17px',
228
+ [theme.breakpoints.up('sm')]: {
229
+ flexDirection: 'row',
230
+ alignItems: 'center',
231
+ gap: '28px'
232
+ },
233
+ '& .SCCourseDashboard-header-icon-wrapper': {
234
+ flexDirection: 'row',
235
+ alignItems: 'center',
236
+ gap: theme.spacing(1)
237
+ }
238
+ }
239
+ }
240
+ },
241
+ '&.SCCourseDashboard-teacher': {
242
+ '& .SCCourseDashboard-info-wrapper': {
243
+ gap: theme.spacing(2),
244
+ marginBottom: theme.spacing(2),
245
+ [theme.breakpoints.up('sm')]: {
246
+ flexDirection: 'row',
247
+ gap: '38px'
248
+ },
249
+ [theme.breakpoints.down('sm')]: {
250
+ paddingLeft: '14px',
251
+ paddingRight: '14px'
252
+ },
253
+ '& .SCCourseDashboard-info': {
254
+ flex: 1,
255
+ gap: '6px',
256
+ border: `1px solid ${theme.palette.grey['300']}`,
257
+ borderRadius: '10px',
258
+ padding: theme.spacing('17px', 3, '19px'),
259
+ '& .SCCourseParticipantsButton-root': {
260
+ justifyContent: 'flex-start',
261
+ padding: 0
262
+ }
263
+ }
264
+ },
265
+ '& .SCCourseDashboard-tab-list': {
266
+ flexDirection: 'row',
267
+ alignItems: 'center',
268
+ justifyContent: 'center',
269
+ gap: theme.spacing(4),
270
+ borderBottom: `1px solid ${theme.palette.grey['300']}`,
271
+ padding: theme.spacing('12px 0')
272
+ }
273
+ },
274
+ '&.SCCourseDashboard-student': {
275
+ '& .SCCourseDashboard-user-wrapper': {
276
+ flexDirection: 'row',
277
+ alignItems: 'center',
278
+ justifyContent: 'space-between',
279
+ '& .SCCourseDashboard-user': {
280
+ flexDirection: 'row',
281
+ alignItems: 'center',
282
+ gap: '4px',
283
+ marginTop: '6px',
284
+ marginBottom: '6px',
285
+ '& .SCCourseDashboard-avatar': {
286
+ width: '36px',
287
+ height: '36px'
288
+ }
289
+ }
290
+ },
291
+ '& .SCCourseDashboard-margin': {
292
+ marginTop: '19px',
293
+ marginBottom: '11px'
294
+ },
295
+ '& .SCCourseDashboard-box': {
296
+ gap: '13px',
297
+ border: `1px solid ${theme.palette.grey['300']}`,
298
+ borderRadius: '5px',
299
+ padding: '11px 24px'
300
+ },
301
+ '& .SCCourseDashboard-percentage-wrapper': {
302
+ justifyContent: 'space-between',
303
+ gap: '5px',
304
+ [theme.breakpoints.up('sm')]: {
305
+ flexDirection: 'row'
306
+ }
307
+ },
308
+ '& .SCCourseDashboard-lessons-sections': {
309
+ flexDirection: 'row',
310
+ alignItems: 'center',
311
+ gap: '6px',
312
+ border: `1px solid ${theme.palette.grey['300']}`,
313
+ borderBottom: 'unset',
314
+ borderTopLeftRadius: '5px',
315
+ borderTopRightRadius: '5px',
316
+ padding: '19px 24px',
317
+ '& .SCCourseDashboard-circle': {
318
+ width: '6px',
319
+ height: '6px',
320
+ borderRadius: 9999
321
+ }
322
+ }
323
+ }
324
+ })
325
+ }
326
+ };
327
+ export default Component;
@@ -0,0 +1,143 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCCourseForm-cover': {
5
+ position: string;
6
+ height: number;
7
+ minHeight: number;
8
+ borderRadius: string;
9
+ '& .SCCourseForm-upload-course-cover-root': {
10
+ position: string;
11
+ right: any;
12
+ bottom: any;
13
+ padding: any;
14
+ minWidth: string;
15
+ };
16
+ };
17
+ '& .SCCourseForm-header': {
18
+ marginTop: any;
19
+ color: any;
20
+ };
21
+ '& .SCCourseForm-form': {
22
+ '& h5': {
23
+ padding: any;
24
+ };
25
+ '& .SCCourseForm-name': {
26
+ marginTop: any;
27
+ };
28
+ '& .SCCategoryAutocomplete-root ': {
29
+ marginTop: any;
30
+ };
31
+ '& .SCCourseForm-edit-root': {
32
+ marginTop: any;
33
+ '& .SCCourseForm-edit-card': {
34
+ display: string;
35
+ alignItems: string;
36
+ borderRadius: string;
37
+ padding: any;
38
+ '& h5': {
39
+ paddingTop: number;
40
+ paddingBottom: number;
41
+ };
42
+ '& .MuiTypography-body1': {
43
+ paddingLeft: any;
44
+ };
45
+ '& .SCCourseForm-edit-access-info': {
46
+ marginTop: any;
47
+ marginBottom: any;
48
+ '& > p:first-of-type': {
49
+ marginBottom: any;
50
+ };
51
+ '& .MuiIcon-root': {
52
+ marginRight: any;
53
+ };
54
+ };
55
+ };
56
+ '& .SCCourseForm-edit-publish': {
57
+ marginTop: any;
58
+ '& h5': {
59
+ paddingTop: number;
60
+ paddingBottom: number;
61
+ };
62
+ '& .SCCourseForm-edit-publish-info': {
63
+ paddingLeft: any;
64
+ marginBottom: any;
65
+ };
66
+ '& .SCCourseForm-edit-privacy-item': {
67
+ paddingLeft: any;
68
+ marginBottom: any;
69
+ '& .MuiTypography-body1': {
70
+ display: string;
71
+ alignItems: string;
72
+ '& .MuiIcon-root': {
73
+ marginRight: any;
74
+ };
75
+ };
76
+ };
77
+ '& .SCCourseForm-edit-privacy-item-info': {
78
+ marginLeft: any;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ '& .SCCourseForm-step-one': {
84
+ display: string;
85
+ flexDirection: string;
86
+ justifyContent: string;
87
+ gap: any;
88
+ marginTop: any;
89
+ '& .SCCourseForm-selected': {
90
+ backgroundColor: string;
91
+ border: string;
92
+ '&:hover': {
93
+ backgroundColor: string;
94
+ };
95
+ };
96
+ '& .MuiCard-root': {
97
+ boxShadow: string;
98
+ border: string;
99
+ borderRadius: string;
100
+ '&:hover': {
101
+ backgroundColor: any;
102
+ };
103
+ '& .MuiCardContent-root': {
104
+ '& .MuiTypography-h5': {
105
+ fontWeight: any;
106
+ };
107
+ '& .MuiTypography-body2': {
108
+ whiteSpace: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ '& .SCCourseForm-error': {
114
+ color: any;
115
+ };
116
+ '& .SCCourseForm-actions': {
117
+ marginTop: any;
118
+ display: string;
119
+ justifyContent: string;
120
+ gap: any;
121
+ '& button': {
122
+ width: string;
123
+ };
124
+ };
125
+ '& .MuiDivider-root': {
126
+ marginTop: any;
127
+ border: string;
128
+ };
129
+ '& .MuiDialogTitle-root': {
130
+ '& span': {
131
+ flexGrow: number;
132
+ textAlign: string;
133
+ };
134
+ };
135
+ };
136
+ skeletonRoot: ({ theme }: {
137
+ theme: any;
138
+ }) => {
139
+ gap: any;
140
+ };
141
+ };
142
+ };
143
+ export default Component;
@@ -0,0 +1,142 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .SCCourseForm-cover': {
6
+ position: 'relative',
7
+ height: 103,
8
+ minHeight: 103,
9
+ borderRadius: '10px',
10
+ '& .SCCourseForm-upload-course-cover-root': {
11
+ position: 'absolute',
12
+ right: theme.spacing(2),
13
+ bottom: theme.spacing(1),
14
+ padding: theme.spacing(1),
15
+ minWidth: 'auto'
16
+ }
17
+ },
18
+ '& .SCCourseForm-header': {
19
+ marginTop: theme.spacing(4.5),
20
+ color: theme.palette.text.secondary
21
+ },
22
+ '& .SCCourseForm-form': {
23
+ '& h5': {
24
+ padding: theme.spacing(1)
25
+ },
26
+ '& .SCCourseForm-name': {
27
+ marginTop: theme.spacing(3)
28
+ },
29
+ '& .SCCategoryAutocomplete-root ': {
30
+ marginTop: theme.spacing(1)
31
+ },
32
+ '& .SCCourseForm-edit-root': {
33
+ marginTop: theme.spacing(1),
34
+ '& .SCCourseForm-edit-card': {
35
+ display: 'flex',
36
+ alignItems: 'flex-start',
37
+ borderRadius: '10px',
38
+ padding: theme.spacing(2),
39
+ '& h5': {
40
+ paddingTop: 0,
41
+ paddingBottom: 0
42
+ },
43
+ '& .MuiTypography-body1': {
44
+ paddingLeft: theme.spacing(1)
45
+ },
46
+ '& .SCCourseForm-edit-access-info': {
47
+ marginTop: theme.spacing(2),
48
+ marginBottom: theme.spacing(2),
49
+ '& > p:first-of-type': {
50
+ marginBottom: theme.spacing(1)
51
+ },
52
+ '& .MuiIcon-root': {
53
+ marginRight: theme.spacing(0.5)
54
+ }
55
+ }
56
+ },
57
+ '& .SCCourseForm-edit-publish': {
58
+ marginTop: theme.spacing(3),
59
+ '& h5': {
60
+ paddingTop: 0,
61
+ paddingBottom: 0
62
+ },
63
+ '& .SCCourseForm-edit-publish-info': {
64
+ paddingLeft: theme.spacing(1),
65
+ marginBottom: theme.spacing(1)
66
+ },
67
+ '& .SCCourseForm-edit-privacy-item': {
68
+ paddingLeft: theme.spacing(1.5),
69
+ marginBottom: theme.spacing(2),
70
+ '& .MuiTypography-body1': {
71
+ display: 'flex',
72
+ alignItems: 'center',
73
+ '& .MuiIcon-root': {
74
+ marginRight: theme.spacing(0.5)
75
+ }
76
+ }
77
+ },
78
+ '& .SCCourseForm-edit-privacy-item-info': {
79
+ marginLeft: theme.spacing(2)
80
+ }
81
+ }
82
+ }
83
+ },
84
+ '& .SCCourseForm-step-one': {
85
+ display: 'flex',
86
+ flexDirection: 'column',
87
+ justifyContent: 'center',
88
+ gap: theme.spacing(2.5),
89
+ marginTop: theme.spacing(1.5),
90
+ '& .SCCourseForm-selected': {
91
+ backgroundColor: alpha(theme.palette.success.main, theme.palette.action.selectedOpacity),
92
+ border: `1px solid ${theme.palette.success.main} !important`,
93
+ '&:hover': {
94
+ backgroundColor: alpha(theme.palette.success.main, theme.palette.action.selectedOpacity)
95
+ }
96
+ },
97
+ '& .MuiCard-root': {
98
+ boxShadow: 'none',
99
+ border: `1px solid ${theme.palette.grey[300]}`,
100
+ borderRadius: '10px',
101
+ '&:hover': {
102
+ backgroundColor: theme.palette.grey[200]
103
+ },
104
+ '& .MuiCardContent-root': {
105
+ '& .MuiTypography-h5': {
106
+ fontWeight: theme.typography.fontWeightBold
107
+ },
108
+ '& .MuiTypography-body2': {
109
+ whiteSpace: 'pre-line'
110
+ }
111
+ }
112
+ }
113
+ },
114
+ '& .SCCourseForm-error': {
115
+ color: theme.palette.error.main
116
+ },
117
+ '& .SCCourseForm-actions': {
118
+ marginTop: theme.spacing(2),
119
+ display: 'flex',
120
+ justifyContent: 'flex-end',
121
+ gap: theme.spacing(2),
122
+ '& button': {
123
+ width: 'fit-content'
124
+ }
125
+ },
126
+ '& .MuiDivider-root': {
127
+ marginTop: theme.spacing(2),
128
+ border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
129
+ },
130
+ '& .MuiDialogTitle-root': {
131
+ '& span': {
132
+ flexGrow: 1,
133
+ textAlign: 'center'
134
+ }
135
+ }
136
+ }),
137
+ skeletonRoot: ({ theme }) => ({
138
+ gap: theme.spacing(3)
139
+ })
140
+ }
141
+ };
142
+ export default Component;
@@ -0,0 +1,6 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ };
5
+ };
6
+ export default Component;
@@ -0,0 +1,6 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({})
4
+ }
5
+ };
6
+ export default Component;
@@ -0,0 +1,43 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ gap: any;
7
+ '& .SCCourseInfoDetails-icon-text-wrapper': {
8
+ flexDirection: string;
9
+ alignItems: string;
10
+ gap: any;
11
+ '& > p': {
12
+ textTransform: string;
13
+ };
14
+ '& .SCCourseInfoDetails-link': {
15
+ textDecoration: string;
16
+ color: any;
17
+ '&:hover': {
18
+ textDecoration: string;
19
+ };
20
+ '& .SCCourseInfoDetails-url': {
21
+ overflow: string;
22
+ textOverflow: string;
23
+ display: string;
24
+ '-webkit-line-clamp': string;
25
+ '-webkit-box-orient': string;
26
+ };
27
+ };
28
+ '& .SCCourseInfoDetails-in-progress': {
29
+ width: string;
30
+ height: string;
31
+ borderRadius: string;
32
+ backgroundColor: any;
33
+ };
34
+ };
35
+ '& .SCCourseInfoDetails-creation-wrapper': {
36
+ flexDirection: string;
37
+ alignItems: string;
38
+ gap: any;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export default Component;