@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,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;
@@ -306,19 +306,24 @@ declare const Component: {
306
306
  '& li': {
307
307
  margin: string;
308
308
  };
309
- '& span span': {
310
- display: string;
311
- };
312
- '& span span:not(:has(+ a))': {
313
- width: string;
314
- };
315
- '& span a': {
316
- display: string;
317
- margin: any;
318
- };
319
- '& span a:hover': {
309
+ '& span': {
320
310
  '& span': {
321
- textDecoration: string;
311
+ display: string;
312
+ };
313
+ '& span:not(:has(+ a))': {
314
+ width: string;
315
+ };
316
+ '& a': {
317
+ display: string;
318
+ margin: any;
319
+ };
320
+ '& a:hover': {
321
+ '& span': {
322
+ textDecoration: string;
323
+ };
324
+ };
325
+ '& :last-child': {
326
+ display: string;
322
327
  };
323
328
  };
324
329
  };
@@ -331,6 +336,7 @@ declare const Component: {
331
336
  fontSize: any;
332
337
  fontWeight: any;
333
338
  padding: any;
339
+ marginTop: number;
334
340
  justifyContent: string;
335
341
  '&:hover': {
336
342
  backgroundColor: string;
@@ -307,19 +307,24 @@ const Component = {
307
307
  '& li': {
308
308
  margin: '0 32px'
309
309
  },
310
- '& span span': {
311
- display: 'inline-block'
312
- },
313
- '& span span:not(:has(+ a))': {
314
- width: '100%'
315
- },
316
- '& span a': {
317
- display: 'inline-block',
318
- margin: theme.spacing(0, 0.3)
319
- },
320
- '& span a:hover': {
310
+ '& span': {
321
311
  '& span': {
322
- textDecoration: 'underline'
312
+ display: 'inline'
313
+ },
314
+ '& span:not(:has(+ a))': {
315
+ width: '100%'
316
+ },
317
+ '& a': {
318
+ display: 'inline-block',
319
+ margin: theme.spacing(0, 0.3)
320
+ },
321
+ '& a:hover': {
322
+ '& span': {
323
+ textDecoration: 'underline'
324
+ }
325
+ },
326
+ '& :last-child': {
327
+ display: 'inline'
323
328
  }
324
329
  }
325
330
  },
@@ -332,6 +337,7 @@ const Component = {
332
337
  fontSize: theme.typography.fontSize,
333
338
  fontWeight: theme.typography.fontWeightBold,
334
339
  padding: theme.spacing(0.25),
340
+ marginTop: -2,
335
341
  justifyContent: 'start',
336
342
  '&:hover': { backgroundColor: 'transparent' }
337
343
  }
@@ -11,7 +11,7 @@ const Component = {
11
11
  '& .SCFeedObject-content': {
12
12
  '& .SCFeedObject-text-section .SCFeedObject-text': {
13
13
  '& span': {
14
- display: 'inline-block'
14
+ display: 'inline'
15
15
  },
16
16
  '& span:not(:has(+ a))': {
17
17
  width: '100%'
@@ -0,0 +1,27 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme, open }: any) => {
4
+ width: string;
5
+ '& .SCLessonAppbar-title': {
6
+ [x: number]: {
7
+ overflow: string;
8
+ textOverflow: string;
9
+ whiteSpace: string;
10
+ };
11
+ flexGrow: number;
12
+ };
13
+ '& .SCLessonAppbar-start-items': {
14
+ flexGrow: number;
15
+ display: string;
16
+ alignItems: string;
17
+ };
18
+ boxShadow: string;
19
+ borderBottom: string;
20
+ '& .MuiToolbar-root': {
21
+ minHeight: string;
22
+ };
23
+ transition: any;
24
+ };
25
+ };
26
+ };
27
+ export default Component;
@@ -0,0 +1,26 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme, open }) => (Object.assign({ '& .SCLessonAppbar-title': {
4
+ flexGrow: 1,
5
+ [theme.breakpoints.down('md')]: {
6
+ overflow: 'hidden',
7
+ textOverflow: 'ellipsis',
8
+ whiteSpace: 'nowrap'
9
+ }
10
+ }, '& .SCLessonAppbar-start-items': {
11
+ flexGrow: 1,
12
+ display: 'flex',
13
+ alignItems: 'center'
14
+ }, boxShadow: 'none', borderBottom: `1px solid ${theme.palette.grey[300]}`, '& .MuiToolbar-root': {
15
+ minHeight: '60px'
16
+ }, transition: theme.transitions.create(['margin', 'width'], {
17
+ easing: open ? theme.transitions.easing.easeOut : theme.transitions.easing.sharp,
18
+ duration: open ? theme.transitions.duration.enteringScreen : theme.transitions.duration.leavingScreen
19
+ }) }, (open && {
20
+ [theme.breakpoints.down('md')]: { marginRight: '100vw' },
21
+ [theme.breakpoints.up('sm')]: { marginRight: '300px' },
22
+ width: `calc(100% - 300px)`
23
+ })))
24
+ }
25
+ };
26
+ export default Component;
@@ -0,0 +1,32 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCLessonCommentActionsMenu-button': {
5
+ color: any;
6
+ '&:hover': {
7
+ backgroundColor: string;
8
+ };
9
+ };
10
+ };
11
+ popperRoot: ({ theme }: any) => {
12
+ zIndex: number;
13
+ '& .SCLessonCommentActionsMenu-popper-root': {
14
+ overflow: string;
15
+ filter: string;
16
+ mt: number;
17
+ };
18
+ '& .SCLessonCommentActionsMenu-paper': {
19
+ width: number;
20
+ '& .SCLessonCommentActionsMenu-sub-item': {
21
+ '& .MuiListItemIcon-root': {
22
+ color: any;
23
+ };
24
+ '&:hover': {
25
+ backgroundColor: string;
26
+ };
27
+ };
28
+ };
29
+ };
30
+ };
31
+ };
32
+ export default Component;
@@ -0,0 +1,33 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .SCLessonCommentActionsMenu-button': {
6
+ color: theme.palette.primary.main,
7
+ '&:hover': {
8
+ backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
9
+ }
10
+ }
11
+ }),
12
+ popperRoot: ({ theme }) => ({
13
+ zIndex: 1200,
14
+ '& .SCLessonCommentActionsMenu-popper-root': {
15
+ overflow: 'visible',
16
+ filter: 'drop-shadow(0px -1px 5px rgba(0,0,0,0.10))',
17
+ mt: 1.5
18
+ },
19
+ '& .SCLessonCommentActionsMenu-paper': {
20
+ width: 280,
21
+ '& .SCLessonCommentActionsMenu-sub-item': {
22
+ '& .MuiListItemIcon-root': {
23
+ color: theme.palette.text.secondary
24
+ },
25
+ '&:hover': {
26
+ backgroundColor: alpha(theme.palette.text.primary, theme.palette.action.hoverOpacity)
27
+ }
28
+ }
29
+ }
30
+ })
31
+ }
32
+ };
33
+ export default Component;