@selfcommunity/react-theme-default 0.4.5-alpha.9 → 0.4.5-payments.144

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