@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,273 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCEditCourse-header': {
7
+ [x: number]: {
8
+ paddingLeft: any;
9
+ };
10
+ flexDirection: string;
11
+ alignItems: string;
12
+ gap: any;
13
+ };
14
+ '& .SCEditCourse-tab-list': {
15
+ borderBottom: string;
16
+ '& .SCEditCourse-tab': {
17
+ textTransform: string;
18
+ };
19
+ '& > .Mui-disabled': {
20
+ opacity: number;
21
+ };
22
+ '& > .MuiTabs-scrollButtons': {
23
+ display: string;
24
+ };
25
+ };
26
+ '& .SCEditCourse-tab-panel': {
27
+ [x: number]: {
28
+ paddingLeft: string;
29
+ paddingRight: string;
30
+ };
31
+ padding: string;
32
+ '& .SCEditCourse-lesson-title': {
33
+ [x: number]: {
34
+ display: string;
35
+ };
36
+ marginBottom: string;
37
+ };
38
+ '& .SCEditCourse-lesson-info-wrapper': {
39
+ flexDirection: string;
40
+ alignItems: string;
41
+ justifyContent: string;
42
+ gap: any;
43
+ '& .SCEditCourse-lesson-info': {
44
+ flexDirection: string;
45
+ alignItems: string;
46
+ gap: any;
47
+ };
48
+ };
49
+ '& .SCEditCourse-status': {
50
+ borderRadius: any;
51
+ };
52
+ '& .SCEditCourse-lesson-empty-status': {
53
+ border: string;
54
+ borderRadius: string;
55
+ };
56
+ '& .SCEditCourse-empty-status-button': {
57
+ marginTop: string;
58
+ };
59
+ '& .SCEditCourse-lessons-sections-wrapper': {
60
+ flexDirection: string;
61
+ alignItems: string;
62
+ justifyContent: string;
63
+ marginTop: string;
64
+ padding: any;
65
+ border: string;
66
+ borderBottom: string;
67
+ borderTopLeftRadius: string;
68
+ borderTopRightRadius: string;
69
+ '& .SCEditCourse-lessons-sections': {
70
+ flexDirection: string;
71
+ alignItems: string;
72
+ gap: string;
73
+ '& .SCEditCourse-circle': {
74
+ width: string;
75
+ height: string;
76
+ borderRadius: number;
77
+ backgroundColor: any;
78
+ };
79
+ };
80
+ '& .SCEditCourse-section-button': {
81
+ alignItems: string;
82
+ '& .SCEditCourse-section-button-typography': {
83
+ textTransform: string;
84
+ };
85
+ };
86
+ };
87
+ '& .SCEditCourse-table-container': {
88
+ width: string;
89
+ border: string;
90
+ borderBottomLeftRadius: string;
91
+ borderBottomRightRadius: string;
92
+ '& .SCEditCourse-table': {
93
+ '& .SCEditCourse-cell-width': {
94
+ width: string;
95
+ };
96
+ '& .SCEditCourse-cell-align-center': {
97
+ textAlign: string;
98
+ };
99
+ '& .SCEditCourse-cell-align-right': {
100
+ textAlign: string;
101
+ };
102
+ '& .SCEditCourse-cell-padding': {
103
+ paddingRight: number;
104
+ };
105
+ '& .SCEditCourse-table-header': {
106
+ '& .SCEditCourse-table-header-typography': {
107
+ textTransform: string;
108
+ };
109
+ };
110
+ '& .SCEditCourse-table-body': {
111
+ '& .SCEditCourse-table-body-icon-wrapper': {
112
+ flexDirection: string;
113
+ alignItems: string;
114
+ gap: string;
115
+ };
116
+ '& .SCEditCourse-table-body-accordion': {
117
+ backgroundColor: any;
118
+ };
119
+ '& .SCEditCourse-edit-mode-wrapper': {
120
+ flexDirection: string;
121
+ alignItems: string;
122
+ gap: string;
123
+ '& .SCEditCourse-edit-mode-save-button': {
124
+ minWidth: string;
125
+ borderRadius: string;
126
+ padding: string;
127
+ };
128
+ '& .SCEditCourse-edit-mode-close-button': {
129
+ border: string;
130
+ borderRadius: string;
131
+ padding: string;
132
+ };
133
+ };
134
+ '& .SCEditCourse-actions-wrapper': {
135
+ [x: number]: {
136
+ gap: string;
137
+ };
138
+ display: string;
139
+ flexDirection: string;
140
+ alignItems: string;
141
+ gap: string;
142
+ '& .SCEditCourse-change-lesson-status-published-wrapper': {
143
+ color: any;
144
+ backgroundColor: any;
145
+ '& .MuiIcon-root': {
146
+ color: any;
147
+ };
148
+ };
149
+ '& .SCEditCourse-change-lesson-status-icon-draft': {
150
+ width: string;
151
+ height: string;
152
+ borderRadius: number;
153
+ backgroundColor: any;
154
+ };
155
+ };
156
+ '& .SCEditCourse-table-body-collapse-wrapper': {
157
+ padding: number;
158
+ border: number;
159
+ };
160
+ };
161
+ };
162
+ };
163
+ '& .SCEditCourse-users-status-wrapper': {
164
+ flexDirection: string;
165
+ alignItems: string;
166
+ justifyContent: string;
167
+ gap: string;
168
+ marginTop: string;
169
+ marginBottom: any;
170
+ };
171
+ '& .SCEditCourse-options-wrapper': {
172
+ gap: any;
173
+ maxWidth: string;
174
+ margin: string;
175
+ };
176
+ '& .SCEditCourse-options-divider': {
177
+ marginTop: string;
178
+ marginBottom: any;
179
+ };
180
+ '& .SCEditCourse-options-button-wrapper': {
181
+ alignItems: string;
182
+ maxWidth: string;
183
+ margin: string;
184
+ };
185
+ };
186
+ };
187
+ skeletonRoot: ({ theme }: {
188
+ theme: any;
189
+ }) => {
190
+ '& .SCEditCourse-header': {
191
+ [x: number]: {
192
+ paddingLeft: any;
193
+ };
194
+ flexDirection: string;
195
+ alignItems: string;
196
+ gap: any;
197
+ };
198
+ '& .SCEditCourse-tab-list': {
199
+ flexDirection: string;
200
+ alignItems: string;
201
+ justifyContent: string;
202
+ gap: any;
203
+ borderBottom: string;
204
+ padding: any;
205
+ marginBottom: string;
206
+ };
207
+ '& .SCEditCourse-lesson-title': {
208
+ [x: number]: {
209
+ display: string;
210
+ };
211
+ marginBottom: string;
212
+ };
213
+ '& .SCEditCourse-lesson-info-wrapper': {
214
+ flexDirection: string;
215
+ alignItems: string;
216
+ justifyContent: string;
217
+ gap: any;
218
+ '& .SCEditCourse-lesson-info': {
219
+ flexDirection: string;
220
+ alignItems: string;
221
+ gap: any;
222
+ };
223
+ };
224
+ '& .SCEditCourse-lessons-sections-wrapper': {
225
+ flexDirection: string;
226
+ alignItems: string;
227
+ justifyContent: string;
228
+ marginTop: string;
229
+ padding: any;
230
+ border: string;
231
+ borderRadius: string;
232
+ };
233
+ '& .SCEditCourse-table-container': {
234
+ width: string;
235
+ border: string;
236
+ borderBottomLeftRadius: string;
237
+ borderBottomRightRadius: string;
238
+ '& .SCEditCourse-margin': {
239
+ margin: string;
240
+ };
241
+ '& .SCEditCourse-margin-left': {
242
+ marginLeft: string;
243
+ };
244
+ '& .SCEditCourse-actions-wrapper': {
245
+ flexDirection: string;
246
+ justifyContent: string;
247
+ gap: string;
248
+ };
249
+ };
250
+ '& .SCEditCourse-users-status-wrapper': {
251
+ flexDirection: string;
252
+ justifyContent: string;
253
+ marginTop: string;
254
+ marginBottom: any;
255
+ };
256
+ '& .SCEditCourse-options-wrapper': {
257
+ gap: any;
258
+ maxWidth: string;
259
+ margin: string;
260
+ };
261
+ '& .SCEditCourse-options-divider': {
262
+ marginTop: string;
263
+ marginBottom: any;
264
+ };
265
+ '& .SCEditCourse-options-button-wrapper': {
266
+ alignItems: string;
267
+ maxWidth: string;
268
+ margin: string;
269
+ };
270
+ };
271
+ };
272
+ };
273
+ export default Component;
@@ -0,0 +1,269 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCEditCourse-header': {
5
+ flexDirection: 'row',
6
+ alignItems: 'center',
7
+ gap: theme.spacing(0.5),
8
+ [theme.breakpoints.down('sm')]: {
9
+ paddingLeft: theme.spacing(2)
10
+ }
11
+ },
12
+ '& .SCEditCourse-tab-list': {
13
+ borderBottom: `1px solid ${theme.palette.grey['300']}`,
14
+ '& .SCEditCourse-tab': {
15
+ textTransform: 'inherit'
16
+ },
17
+ '& > .Mui-disabled': {
18
+ opacity: 0.3
19
+ },
20
+ '& > .MuiTabs-scrollButtons': {
21
+ display: 'inline-flex'
22
+ }
23
+ },
24
+ '& .SCEditCourse-tab-panel': {
25
+ padding: '13px 0 0',
26
+ [theme.breakpoints.down('sm')]: {
27
+ paddingLeft: '14px',
28
+ paddingRight: '14px'
29
+ },
30
+ '& .SCEditCourse-lesson-title': {
31
+ marginBottom: '20px',
32
+ [theme.breakpoints.down('sm')]: {
33
+ display: 'none'
34
+ }
35
+ },
36
+ '& .SCEditCourse-lesson-info-wrapper': {
37
+ flexDirection: 'row',
38
+ alignItems: 'center',
39
+ justifyContent: 'space-between',
40
+ gap: theme.spacing(1),
41
+ '& .SCEditCourse-lesson-info': {
42
+ flexDirection: 'row',
43
+ alignItems: 'center',
44
+ gap: theme.spacing(1)
45
+ }
46
+ },
47
+ '& .SCEditCourse-status': {
48
+ borderRadius: theme.spacing(1)
49
+ },
50
+ '& .SCEditCourse-lesson-empty-status': {
51
+ border: `1px solid ${theme.palette.grey[300]}`,
52
+ borderRadius: '5px'
53
+ },
54
+ '& .SCEditCourse-empty-status-button': {
55
+ marginTop: '7px'
56
+ },
57
+ '& .SCEditCourse-lessons-sections-wrapper': {
58
+ flexDirection: 'row',
59
+ alignItems: 'center',
60
+ justifyContent: 'space-between',
61
+ marginTop: '9px',
62
+ padding: theme.spacing(2),
63
+ border: `1px solid ${theme.palette.grey[300]}`,
64
+ borderBottom: 'unset',
65
+ borderTopLeftRadius: '5px',
66
+ borderTopRightRadius: '5px',
67
+ '& .SCEditCourse-lessons-sections': {
68
+ flexDirection: 'row',
69
+ alignItems: 'center',
70
+ gap: '6px',
71
+ '& .SCEditCourse-circle': {
72
+ width: '6px',
73
+ height: '6px',
74
+ borderRadius: 9999,
75
+ backgroundColor: theme.palette.common.black
76
+ }
77
+ },
78
+ '& .SCEditCourse-section-button': {
79
+ alignItems: 'flex-start',
80
+ '& .SCEditCourse-section-button-typography': {
81
+ textTransform: 'inherit'
82
+ }
83
+ }
84
+ },
85
+ '& .SCEditCourse-table-container': {
86
+ width: 'auto',
87
+ border: `1px solid ${theme.palette.grey[300]}`,
88
+ borderBottomLeftRadius: '5px',
89
+ borderBottomRightRadius: '5px',
90
+ '& .SCEditCourse-table': {
91
+ '& .SCEditCourse-cell-width': {
92
+ width: '3%'
93
+ },
94
+ '& .SCEditCourse-cell-align-center': {
95
+ textAlign: 'center'
96
+ },
97
+ '& .SCEditCourse-cell-align-right': {
98
+ textAlign: 'right'
99
+ },
100
+ '& .SCEditCourse-cell-padding': {
101
+ paddingRight: 0
102
+ },
103
+ '& .SCEditCourse-table-header': {
104
+ '& .SCEditCourse-table-header-typography': {
105
+ textTransform: 'uppercase'
106
+ }
107
+ },
108
+ '& .SCEditCourse-table-body': {
109
+ '& .SCEditCourse-table-body-icon-wrapper': {
110
+ flexDirection: 'row',
111
+ alignItems: 'center',
112
+ gap: '10px'
113
+ },
114
+ '& .SCEditCourse-table-body-accordion': {
115
+ backgroundColor: theme.palette.grey[200]
116
+ },
117
+ '& .SCEditCourse-edit-mode-wrapper': {
118
+ flexDirection: 'row',
119
+ alignItems: 'center',
120
+ gap: '5px',
121
+ '& .SCEditCourse-edit-mode-save-button': {
122
+ minWidth: 'unset',
123
+ borderRadius: '5px',
124
+ padding: '8px'
125
+ },
126
+ '& .SCEditCourse-edit-mode-close-button': {
127
+ border: `1px solid ${theme.palette.action.active}`,
128
+ borderRadius: '5px',
129
+ padding: '8px'
130
+ }
131
+ },
132
+ '& .SCEditCourse-actions-wrapper': {
133
+ display: 'inline-flex',
134
+ flexDirection: 'row',
135
+ alignItems: 'center',
136
+ gap: '14px',
137
+ [theme.breakpoints.up('sm')]: {
138
+ gap: '22px'
139
+ },
140
+ '& .SCEditCourse-change-lesson-status-published-wrapper': {
141
+ color: theme.palette.common.white,
142
+ backgroundColor: theme.palette.primary.main,
143
+ '& .MuiIcon-root': {
144
+ color: theme.palette.common.white
145
+ }
146
+ },
147
+ '& .SCEditCourse-change-lesson-status-icon-draft': {
148
+ width: '20px',
149
+ height: '20px',
150
+ borderRadius: 9999,
151
+ backgroundColor: theme.palette.grey['600']
152
+ }
153
+ },
154
+ '& .SCEditCourse-table-body-collapse-wrapper': {
155
+ padding: 0,
156
+ border: 0
157
+ }
158
+ }
159
+ }
160
+ },
161
+ '& .SCEditCourse-users-status-wrapper': {
162
+ flexDirection: 'row',
163
+ alignItems: 'center',
164
+ justifyContent: 'space-between',
165
+ gap: '5px',
166
+ marginTop: '7px',
167
+ marginBottom: theme.spacing(2)
168
+ },
169
+ '& .SCEditCourse-options-wrapper': {
170
+ gap: theme.spacing(5),
171
+ maxWidth: '600px',
172
+ margin: 'auto'
173
+ },
174
+ '& .SCEditCourse-options-divider': {
175
+ marginTop: '21px',
176
+ marginBottom: theme.spacing(3)
177
+ },
178
+ '& .SCEditCourse-options-button-wrapper': {
179
+ alignItems: 'flex-end',
180
+ maxWidth: '600px',
181
+ margin: 'auto'
182
+ }
183
+ }
184
+ }),
185
+ skeletonRoot: ({ theme }) => ({
186
+ '& .SCEditCourse-header': {
187
+ flexDirection: 'row',
188
+ alignItems: 'center',
189
+ gap: theme.spacing(0.5),
190
+ [theme.breakpoints.down('sm')]: {
191
+ paddingLeft: theme.spacing(2)
192
+ }
193
+ },
194
+ '& .SCEditCourse-tab-list': {
195
+ flexDirection: 'row',
196
+ alignItems: 'center',
197
+ justifyContent: 'center',
198
+ gap: theme.spacing(4),
199
+ borderBottom: `1px solid ${theme.palette.grey['300']}`,
200
+ padding: theme.spacing('12px 0'),
201
+ marginBottom: '13px'
202
+ },
203
+ '& .SCEditCourse-lesson-title': {
204
+ marginBottom: '20px',
205
+ [theme.breakpoints.down('sm')]: {
206
+ display: 'none'
207
+ }
208
+ },
209
+ '& .SCEditCourse-lesson-info-wrapper': {
210
+ flexDirection: 'row',
211
+ alignItems: 'center',
212
+ justifyContent: 'space-between',
213
+ gap: theme.spacing(1),
214
+ '& .SCEditCourse-lesson-info': {
215
+ flexDirection: 'row',
216
+ alignItems: 'center',
217
+ gap: theme.spacing(1)
218
+ }
219
+ },
220
+ '& .SCEditCourse-lessons-sections-wrapper': {
221
+ flexDirection: 'row',
222
+ alignItems: 'center',
223
+ justifyContent: 'space-between',
224
+ marginTop: '9px',
225
+ padding: theme.spacing(2),
226
+ border: `1px solid ${theme.palette.grey[300]}`,
227
+ borderRadius: '5px'
228
+ },
229
+ '& .SCEditCourse-table-container': {
230
+ width: 'auto',
231
+ border: `1px solid ${theme.palette.grey[300]}`,
232
+ borderBottomLeftRadius: '5px',
233
+ borderBottomRightRadius: '5px',
234
+ '& .SCEditCourse-margin': {
235
+ margin: 'auto'
236
+ },
237
+ '& .SCEditCourse-margin-left': {
238
+ marginLeft: 'auto'
239
+ },
240
+ '& .SCEditCourse-actions-wrapper': {
241
+ flexDirection: 'row',
242
+ justifyContent: 'flex-end',
243
+ gap: '22px'
244
+ }
245
+ },
246
+ '& .SCEditCourse-users-status-wrapper': {
247
+ flexDirection: 'row',
248
+ justifyContent: 'space-between',
249
+ marginTop: '7px',
250
+ marginBottom: theme.spacing(2)
251
+ },
252
+ '& .SCEditCourse-options-wrapper': {
253
+ gap: theme.spacing(5),
254
+ maxWidth: '600px',
255
+ margin: 'auto'
256
+ },
257
+ '& .SCEditCourse-options-divider': {
258
+ marginTop: '21px',
259
+ marginBottom: theme.spacing(3)
260
+ },
261
+ '& .SCEditCourse-options-button-wrapper': {
262
+ alignItems: 'flex-end',
263
+ maxWidth: '600px',
264
+ margin: 'auto'
265
+ }
266
+ })
267
+ }
268
+ };
269
+ export default Component;
@@ -154,6 +154,26 @@ declare const Component: {
154
154
  '& .SCEditor-listItem': {
155
155
  margin: string;
156
156
  };
157
+ '& .SCEditor-document': {
158
+ '& .selected': {
159
+ border: string;
160
+ };
161
+ '& .MuiBox-root': {
162
+ padding: any;
163
+ borderRadius: string;
164
+ background: any;
165
+ '& a': {
166
+ display: string;
167
+ alignItems: string;
168
+ width: string;
169
+ '& img': {
170
+ height: any;
171
+ width: any;
172
+ marginRight: any;
173
+ };
174
+ };
175
+ };
176
+ };
157
177
  };
158
178
  toolbar: ({ theme }: any) => {
159
179
  '& .SCEditor-placeholder': {
@@ -154,6 +154,26 @@ const Component = {
154
154
  },
155
155
  '& .SCEditor-listItem': {
156
156
  margin: '0 32px'
157
+ },
158
+ '& .SCEditor-document': {
159
+ '& .selected': {
160
+ border: `2px solid ${theme.palette.secondary.main}`
161
+ },
162
+ '& .MuiBox-root': {
163
+ padding: theme.spacing(1),
164
+ borderRadius: '5px',
165
+ background: theme.palette.grey[300],
166
+ '& a': {
167
+ display: 'flex',
168
+ alignItems: 'center',
169
+ width: 'fit-content',
170
+ '& img': {
171
+ height: theme.spacing(3),
172
+ width: theme.spacing(3),
173
+ marginRight: theme.spacing(1)
174
+ }
175
+ }
176
+ }
157
177
  }
158
178
  }),
159
179
  toolbar: ({ theme }) => ({
@@ -0,0 +1,33 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ alignItems: string;
7
+ justifyContent: string;
8
+ gap: string;
9
+ padding: any;
10
+ marginTop: string;
11
+ '& .SCEmptyStatus-box': {
12
+ width: string;
13
+ height: string;
14
+ border: string;
15
+ borderRadius: string;
16
+ marginBottom: string;
17
+ '& .SCEmptyStatus-rotated-box': {
18
+ width: string;
19
+ height: string;
20
+ border: string;
21
+ borderRadius: string;
22
+ transform: string;
23
+ alignItems: string;
24
+ justifyContent: string;
25
+ '& .SCEmptyStatus-icon': {
26
+ transform: string;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ };
32
+ };
33
+ export default Component;
@@ -0,0 +1,31 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ alignItems: 'center',
5
+ justifyContent: 'center',
6
+ gap: '10px',
7
+ padding: theme.spacing(3),
8
+ marginTop: '9px',
9
+ '& .SCEmptyStatus-box': {
10
+ width: '130px',
11
+ height: '130px',
12
+ border: `2px solid ${theme.palette.grey[300]}`,
13
+ borderRadius: '20px',
14
+ marginBottom: '10px',
15
+ '& .SCEmptyStatus-rotated-box': {
16
+ width: 'inherit',
17
+ height: 'inherit',
18
+ border: 'inherit',
19
+ borderRadius: 'inherit',
20
+ transform: 'rotate(-25deg)',
21
+ alignItems: 'center',
22
+ justifyContent: 'center',
23
+ '& .SCEmptyStatus-icon': {
24
+ transform: 'rotate(25deg)'
25
+ }
26
+ }
27
+ }
28
+ })
29
+ }
30
+ };
31
+ export default Component;