@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
@@ -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;
@@ -0,0 +1,117 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ overflow: string;
5
+ width: string;
6
+ backgroundColor: string;
7
+ border: number;
8
+ '& .SCLessonCommentObject-comment': {
9
+ backgroundColor: string;
10
+ border: number;
11
+ paddingBottom: number;
12
+ overflow: string;
13
+ '& > div': {
14
+ alignItems: string;
15
+ };
16
+ '& .SCBaseItem-image': {
17
+ marginRight: any;
18
+ };
19
+ '& .SCBaseItem-text': {
20
+ marginTop: any;
21
+ };
22
+ };
23
+ '& .SCBaseItem-image .MuiBadge-badge': {
24
+ top: any;
25
+ marginRight: number;
26
+ '& .SCUserAvatar-badge-content': {
27
+ width: any;
28
+ height: any;
29
+ };
30
+ };
31
+ '& .SCBullet-root, & .SCDateTimeAgo-root': {
32
+ color: any;
33
+ marginBottom: any;
34
+ };
35
+ '& .SCLessonCommentObject-content': {
36
+ backgroundColor: string;
37
+ overflowWrap: string;
38
+ position: string;
39
+ display: string;
40
+ padding: any;
41
+ border: number;
42
+ '& .MuiCardContent-root': {
43
+ flexGrow: number;
44
+ padding: number;
45
+ '& > p:first-of-type': {
46
+ paddingTop: number;
47
+ };
48
+ };
49
+ '& .SCLessonCommentObject-text-content': {
50
+ paddingTop: string;
51
+ margin: number;
52
+ '& a': {
53
+ color: any;
54
+ textDecoration: string;
55
+ '&:hover': {
56
+ textDecoration: string;
57
+ };
58
+ };
59
+ '& p': {
60
+ margin: number;
61
+ marginBlockStart: string;
62
+ marginBlockEnd: string;
63
+ };
64
+ '& img': {
65
+ maxWidth: string;
66
+ };
67
+ };
68
+ };
69
+ '& .SCLessonCommentObject-avatar': {
70
+ top: any;
71
+ width: any;
72
+ height: any;
73
+ };
74
+ '& .SCLessonCommentObject-author': {
75
+ marginRight: any;
76
+ textDecoration: string;
77
+ color: any;
78
+ '& span': {
79
+ fontWeight: string;
80
+ };
81
+ };
82
+ };
83
+ skeletonRoot: ({ theme }: any) => {
84
+ paddingBottom: string;
85
+ overflow: string;
86
+ '& > div': {
87
+ alignItems: string;
88
+ };
89
+ '& .SCLessonCommentObject-primary-content': {
90
+ marginLeft: any;
91
+ marginBottom: number;
92
+ };
93
+ '&.SCWidget-root': {
94
+ backgroundColor: string;
95
+ '& .SCBaseItem-content': {
96
+ alignItems: string;
97
+ };
98
+ '& .SCBaseItem-image': {
99
+ marginRight: any;
100
+ };
101
+ '& .SCBaseItem-text': {
102
+ backgroundColor: string;
103
+ marginBottom: number;
104
+ '& > .SCWidget-root': {
105
+ border: number;
106
+ backgroundColor: string;
107
+ boxShadow: string;
108
+ };
109
+ '& .MuiCardContent-root': {
110
+ padding: any;
111
+ };
112
+ };
113
+ };
114
+ };
115
+ };
116
+ };
117
+ export default Component;
@@ -0,0 +1,117 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ overflow: 'visible',
5
+ width: '100%',
6
+ backgroundColor: 'transparent',
7
+ border: 0,
8
+ '& .SCLessonCommentObject-comment': {
9
+ backgroundColor: 'transparent',
10
+ border: 0,
11
+ paddingBottom: 0,
12
+ overflow: 'visible',
13
+ '& > div': {
14
+ alignItems: 'flex-start'
15
+ },
16
+ '& .SCBaseItem-image': {
17
+ marginRight: theme.spacing(0.5)
18
+ },
19
+ '& .SCBaseItem-text': {
20
+ marginTop: theme.spacing(0.5)
21
+ }
22
+ },
23
+ '& .SCBaseItem-image .MuiBadge-badge': {
24
+ top: theme.spacing(1.5),
25
+ marginRight: 0,
26
+ '& .SCUserAvatar-badge-content': {
27
+ width: theme.spacing(1.5),
28
+ height: theme.spacing(1.5)
29
+ }
30
+ },
31
+ '& .SCBullet-root, & .SCDateTimeAgo-root': {
32
+ color: theme.palette.text.secondary,
33
+ marginBottom: theme.spacing(0.5)
34
+ },
35
+ '& .SCLessonCommentObject-content': {
36
+ backgroundColor: 'transparent',
37
+ overflowWrap: 'anywhere',
38
+ position: 'relative',
39
+ display: 'flex',
40
+ padding: theme.spacing(0.5),
41
+ border: 0,
42
+ '& .MuiCardContent-root': {
43
+ flexGrow: 1,
44
+ padding: 0,
45
+ '& > p:first-of-type': {
46
+ paddingTop: 4
47
+ }
48
+ },
49
+ '& .SCLessonCommentObject-text-content': {
50
+ paddingTop: '0 !important',
51
+ margin: 0,
52
+ '& a': {
53
+ color: theme.palette.text.secondary,
54
+ textDecoration: 'underlined',
55
+ '&:hover': {
56
+ textDecoration: 'none'
57
+ }
58
+ },
59
+ '& p': {
60
+ margin: 0,
61
+ marginBlockStart: '0.3em',
62
+ marginBlockEnd: '0.3em'
63
+ },
64
+ '& img': {
65
+ maxWidth: '100%'
66
+ }
67
+ }
68
+ },
69
+ '& .SCLessonCommentObject-avatar': {
70
+ top: theme.spacing(),
71
+ width: theme.selfcommunity.user.avatar.sizeMedium,
72
+ height: theme.selfcommunity.user.avatar.sizeMedium
73
+ },
74
+ '& .SCLessonCommentObject-author': {
75
+ marginRight: theme.spacing(0.5),
76
+ textDecoration: 'none',
77
+ color: theme.palette.text.primary,
78
+ '& span': {
79
+ fontWeight: '600'
80
+ }
81
+ }
82
+ }),
83
+ skeletonRoot: ({ theme }) => ({
84
+ paddingBottom: `${theme.spacing(2)} !important`,
85
+ overflow: 'visible',
86
+ '& > div': {
87
+ alignItems: 'flex-start'
88
+ },
89
+ '& .SCLessonCommentObject-primary-content': {
90
+ marginLeft: theme.spacing(0.5),
91
+ marginBottom: 0
92
+ },
93
+ '&.SCWidget-root': {
94
+ backgroundColor: 'transparent',
95
+ '& .SCBaseItem-content': {
96
+ alignItems: 'self-start'
97
+ },
98
+ '& .SCBaseItem-image': {
99
+ marginRight: theme.spacing(0.5)
100
+ },
101
+ '& .SCBaseItem-text': {
102
+ backgroundColor: 'transparent',
103
+ marginBottom: 0,
104
+ '& > .SCWidget-root': {
105
+ border: 0,
106
+ backgroundColor: 'transparent',
107
+ boxShadow: 'none'
108
+ },
109
+ '& .MuiCardContent-root': {
110
+ padding: theme.spacing(0.5)
111
+ }
112
+ }
113
+ }
114
+ })
115
+ }
116
+ };
117
+ export default Component;
@@ -0,0 +1,48 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ height: string;
6
+ };
7
+ display: string;
8
+ flexDirection: string;
9
+ height: string;
10
+ overflowY: string;
11
+ padding: any;
12
+ justifyContent: string;
13
+ '& .SCCommentObjectReply-root': {
14
+ backgroundColor: string;
15
+ '& .SCEditor-root': {
16
+ paddingTop: any;
17
+ };
18
+ '& .SCEditor-content': {
19
+ minHeight: string;
20
+ };
21
+ '& .SCEditor-actions': {
22
+ left: any;
23
+ '& .SCCommentObjectReply-icon-reply': {
24
+ marginLeft: string;
25
+ };
26
+ };
27
+ marginTop: any;
28
+ marginBottom: number;
29
+ };
30
+ '& .infinite-scroll-component__outerdiv': {
31
+ overflowY: string;
32
+ '& .infinite-scroll-component': {
33
+ '& .MuiList-root ': {
34
+ padding: number;
35
+ '& .MuiListItem-root': {
36
+ padding: number;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ };
42
+ skeletonRoot: ({ theme }: any) => {
43
+ width: string;
44
+ backgroundColor: string;
45
+ };
46
+ };
47
+ };
48
+ export default Component;
@@ -0,0 +1,48 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ display: 'flex',
5
+ flexDirection: 'column',
6
+ height: '100%',
7
+ [theme.breakpoints.up('sm')]: {
8
+ height: '90%'
9
+ },
10
+ overflowY: 'auto',
11
+ padding: theme.spacing(2, 2, 3, 2),
12
+ justifyContent: 'space-between',
13
+ '& .SCCommentObjectReply-root': {
14
+ backgroundColor: 'transparent',
15
+ '& .SCEditor-root': {
16
+ paddingTop: theme.spacing(2)
17
+ },
18
+ '& .SCEditor-content': {
19
+ minHeight: '50px'
20
+ },
21
+ '& .SCEditor-actions': {
22
+ left: theme.spacing(1),
23
+ '& .SCCommentObjectReply-icon-reply': {
24
+ marginLeft: 'auto'
25
+ }
26
+ },
27
+ marginTop: theme.spacing(2),
28
+ marginBottom: 0
29
+ },
30
+ '& .infinite-scroll-component__outerdiv': {
31
+ overflowY: 'auto',
32
+ '& .infinite-scroll-component': {
33
+ '& .MuiList-root ': {
34
+ padding: 0,
35
+ '& .MuiListItem-root': {
36
+ padding: 0
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }),
42
+ skeletonRoot: ({ theme }) => ({
43
+ width: '100%',
44
+ backgroundColor: 'transparent'
45
+ })
46
+ }
47
+ };
48
+ export default Component;
@@ -0,0 +1,42 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ width: string;
6
+ flexShrink: number;
7
+ } | {
8
+ width: string;
9
+ flexShrink?: undefined;
10
+ };
11
+ '& h4': {
12
+ fontWeight: any;
13
+ };
14
+ '& .MuiDrawer-paper': {
15
+ [x: number]: {
16
+ width: string;
17
+ };
18
+ width: string;
19
+ backgroundColor: any;
20
+ };
21
+ '& .SCLessonDrawer-header': {
22
+ minHeight: string;
23
+ display: string;
24
+ padding: any;
25
+ };
26
+ '& .SCLessonDrawer-header-content': {
27
+ display: string;
28
+ alignItems: string;
29
+ justifyContent: string;
30
+ };
31
+ '& .SCLessonDrawer-header-edit': {
32
+ justifyContent: string;
33
+ };
34
+ '& .SCScrollContainer-root:hover': {
35
+ '& .Mui-disabled': {
36
+ opacity: string;
37
+ };
38
+ };
39
+ };
40
+ };
41
+ };
42
+ export default Component;
@@ -0,0 +1,42 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ [theme.breakpoints.down('md')]: {
5
+ width: '100vw',
6
+ flexShrink: 0
7
+ },
8
+ [theme.breakpoints.up('sm')]: {
9
+ width: '300px'
10
+ },
11
+ '& h4': {
12
+ fontWeight: theme.typography.fontWeightMedium
13
+ },
14
+ '& .MuiDrawer-paper': {
15
+ width: '100%',
16
+ [theme.breakpoints.up('sm')]: {
17
+ width: '300px'
18
+ },
19
+ backgroundColor: theme.palette.grey[200]
20
+ },
21
+ '& .SCLessonDrawer-header': {
22
+ minHeight: '60px',
23
+ display: 'block',
24
+ padding: theme.spacing(1.5)
25
+ },
26
+ '& .SCLessonDrawer-header-content': {
27
+ display: 'flex',
28
+ alignItems: 'center',
29
+ justifyContent: 'space-between'
30
+ },
31
+ '& .SCLessonDrawer-header-edit': {
32
+ justifyContent: 'space-between'
33
+ },
34
+ '& .SCScrollContainer-root:hover': {
35
+ '& .Mui-disabled': {
36
+ opacity: '0.38 !important'
37
+ }
38
+ }
39
+ })
40
+ }
41
+ };
42
+ export default Component;
@@ -0,0 +1,33 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ [x: number]: {
5
+ paddingBottom: any;
6
+ };
7
+ padding: any;
8
+ height: string;
9
+ display: string;
10
+ flexDirection: string;
11
+ justifyContent: string;
12
+ '& .SCLessonEditForm-form': {
13
+ display: string;
14
+ flexDirection: string;
15
+ };
16
+ '& .MuiFormLabel-root': {
17
+ fontWeight: number;
18
+ color: string;
19
+ '& .Mui-focused': {
20
+ color: string;
21
+ };
22
+ };
23
+ '& .SCLessonEditForm-settings': {
24
+ marginTop: any;
25
+ };
26
+ '& .SCLessonEditForm-button': {
27
+ alignSelf: string;
28
+ marginBottom: any;
29
+ };
30
+ };
31
+ };
32
+ };
33
+ export default Component;