@selfcommunity/react-theme-default 0.4.2-alpha.8 → 0.4.2-courses.99

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 (227) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +40 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +40 -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/SCCommentObject.d.ts +19 -17
  8. package/lib/cjs/components/SCCommentObject.js +19 -17
  9. package/lib/cjs/components/SCComposer.d.ts +54 -14
  10. package/lib/cjs/components/SCComposer.js +79 -18
  11. package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
  12. package/lib/cjs/components/SCCourse.d.ts +263 -0
  13. package/lib/cjs/components/SCCourse.js +265 -0
  14. package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
  15. package/lib/cjs/components/SCCourseContentMenu.js +42 -0
  16. package/lib/cjs/components/SCCourseDashboard.d.ts +198 -0
  17. package/lib/cjs/components/SCCourseDashboard.js +195 -0
  18. package/lib/cjs/components/SCCourseForm.d.ts +143 -0
  19. package/lib/cjs/components/SCCourseForm.js +144 -0
  20. package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
  21. package/lib/cjs/components/SCCourseFormDialog.js +8 -0
  22. package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
  23. package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
  24. package/lib/cjs/components/SCCourseParticipantsButton.d.ts +55 -0
  25. package/lib/cjs/components/SCCourseParticipantsButton.js +52 -0
  26. package/lib/cjs/components/SCCourseUsersTable.d.ts +82 -0
  27. package/lib/cjs/components/SCCourseUsersTable.js +80 -0
  28. package/lib/cjs/components/SCCourses.d.ts +137 -0
  29. package/lib/cjs/components/SCCourses.js +139 -0
  30. package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
  31. package/lib/cjs/components/SCCreateCourseButton.js +14 -0
  32. package/lib/cjs/components/SCCreateLiveStreamButton.d.ts +12 -0
  33. package/lib/cjs/components/SCCreateLiveStreamButton.js +14 -0
  34. package/lib/cjs/components/SCDefaultDrawerContent.d.ts +31 -0
  35. package/lib/cjs/components/SCDefaultDrawerContent.js +33 -0
  36. package/lib/cjs/components/SCEditCourse.d.ts +218 -0
  37. package/lib/cjs/components/SCEditCourse.js +214 -0
  38. package/lib/cjs/components/SCEditor.d.ts +20 -0
  39. package/lib/cjs/components/SCEditor.js +20 -0
  40. package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
  41. package/lib/cjs/components/SCEmptyStatus.js +33 -0
  42. package/lib/cjs/components/SCEventHeader.d.ts +2 -0
  43. package/lib/cjs/components/SCEventHeader.js +3 -1
  44. package/lib/cjs/components/SCEventInfoDetails.d.ts +3 -0
  45. package/lib/cjs/components/SCEventInfoDetails.js +3 -0
  46. package/lib/cjs/components/SCFeedObject.d.ts +41 -13
  47. package/lib/cjs/components/SCFeedObject.js +43 -15
  48. package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +11 -0
  49. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +12 -1
  50. package/lib/cjs/components/SCLessonAppbar.d.ts +22 -0
  51. package/lib/cjs/components/SCLessonAppbar.js +24 -0
  52. package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
  53. package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
  54. package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
  55. package/lib/cjs/components/SCLessonCommentObject.js +119 -0
  56. package/lib/cjs/components/SCLessonCommentObjects.d.ts +39 -0
  57. package/lib/cjs/components/SCLessonCommentObjects.js +41 -0
  58. package/lib/cjs/components/SCLessonCompletedDialog.d.ts +21 -0
  59. package/lib/cjs/components/SCLessonCompletedDialog.js +23 -0
  60. package/lib/cjs/components/SCLessonDrawer.d.ts +37 -0
  61. package/lib/cjs/components/SCLessonDrawer.js +39 -0
  62. package/lib/cjs/components/SCLessonEditForm.d.ts +30 -0
  63. package/lib/cjs/components/SCLessonEditForm.js +30 -0
  64. package/lib/cjs/components/SCLessonObject.d.ts +45 -0
  65. package/lib/cjs/components/SCLessonObject.js +48 -0
  66. package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
  67. package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
  68. package/lib/cjs/components/SCLessonTemplate.d.ts +19 -0
  69. package/lib/cjs/components/SCLessonTemplate.js +20 -0
  70. package/lib/cjs/components/SCLiveStream.d.ts +218 -0
  71. package/lib/cjs/components/SCLiveStream.js +220 -0
  72. package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
  73. package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
  74. package/lib/cjs/components/SCLiveStreamForm.d.ts +34 -0
  75. package/lib/cjs/components/SCLiveStreamForm.js +36 -0
  76. package/lib/cjs/components/SCLiveStreamFormSettings.d.ts +15 -0
  77. package/lib/cjs/components/SCLiveStreamFormSettings.js +17 -0
  78. package/lib/cjs/components/SCLiveStreamInfoDetails.d.ts +43 -0
  79. package/lib/cjs/components/SCLiveStreamInfoDetails.js +43 -0
  80. package/lib/cjs/components/SCLiveStreamRoom.d.ts +120 -0
  81. package/lib/cjs/components/SCLiveStreamRoom.js +122 -0
  82. package/lib/cjs/components/SCLiveStreamSelector.d.ts +71 -0
  83. package/lib/cjs/components/SCLiveStreamSelector.js +75 -0
  84. package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +30 -0
  85. package/lib/cjs/components/SCLiveStreamVideoConference.js +32 -0
  86. package/lib/cjs/components/SCMediaFile.d.ts +0 -4
  87. package/lib/cjs/components/SCMediaFile.js +1 -5
  88. package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +7 -0
  89. package/lib/cjs/components/SCNavigationMenuDrawer.js +7 -0
  90. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  91. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  92. package/lib/cjs/components/SCNotification.d.ts +27 -0
  93. package/lib/cjs/components/SCNotification.js +27 -0
  94. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
  95. package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
  96. package/lib/cjs/components/SCUpScalingTierBadge.d.ts +13 -0
  97. package/lib/cjs/components/SCUpScalingTierBadge.js +15 -0
  98. package/lib/cjs/components/SCUserLiveStreamWidget.d.ts +101 -0
  99. package/lib/cjs/components/SCUserLiveStreamWidget.js +97 -0
  100. package/lib/cjs/components/SCUserProfileEdit.js +1 -1
  101. package/lib/cjs/components/SCVoteButton.d.ts +1 -0
  102. package/lib/cjs/components/SCVoteButton.js +1 -0
  103. package/lib/cjs/fonts/community/icons.eot +0 -0
  104. package/lib/cjs/fonts/community/icons.svg +9 -3
  105. package/lib/cjs/fonts/community/icons.ttf +0 -0
  106. package/lib/cjs/fonts/community/icons.woff +0 -0
  107. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  108. package/lib/cjs/fonts/community-icons.css +15 -6
  109. package/lib/cjs/index.d.ts +4337 -1846
  110. package/lib/cjs/index.js +73 -1
  111. package/lib/esm/components/SCAccordionLessons.d.ts +40 -0
  112. package/lib/esm/components/SCAccordionLessons.js +38 -0
  113. package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
  114. package/lib/esm/components/SCAddUsersButton.js +19 -0
  115. package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
  116. package/lib/esm/components/SCBaseItemButton.js +27 -36
  117. package/lib/esm/components/SCCommentObject.d.ts +19 -17
  118. package/lib/esm/components/SCCommentObject.js +19 -17
  119. package/lib/esm/components/SCComposer.d.ts +54 -14
  120. package/lib/esm/components/SCComposer.js +79 -18
  121. package/lib/esm/components/SCContributionActionsMenu.js +1 -1
  122. package/lib/esm/components/SCCourse.d.ts +263 -0
  123. package/lib/esm/components/SCCourse.js +263 -0
  124. package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
  125. package/lib/esm/components/SCCourseContentMenu.js +40 -0
  126. package/lib/esm/components/SCCourseDashboard.d.ts +198 -0
  127. package/lib/esm/components/SCCourseDashboard.js +193 -0
  128. package/lib/esm/components/SCCourseForm.d.ts +143 -0
  129. package/lib/esm/components/SCCourseForm.js +142 -0
  130. package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
  131. package/lib/esm/components/SCCourseFormDialog.js +6 -0
  132. package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
  133. package/lib/esm/components/SCCourseInfoDetails.js +41 -0
  134. package/lib/esm/components/SCCourseParticipantsButton.d.ts +55 -0
  135. package/lib/esm/components/SCCourseParticipantsButton.js +50 -0
  136. package/lib/esm/components/SCCourseUsersTable.d.ts +82 -0
  137. package/lib/esm/components/SCCourseUsersTable.js +78 -0
  138. package/lib/esm/components/SCCourses.d.ts +137 -0
  139. package/lib/esm/components/SCCourses.js +137 -0
  140. package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
  141. package/lib/esm/components/SCCreateCourseButton.js +12 -0
  142. package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
  143. package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
  144. package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
  145. package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
  146. package/lib/esm/components/SCEditCourse.d.ts +218 -0
  147. package/lib/esm/components/SCEditCourse.js +212 -0
  148. package/lib/esm/components/SCEditor.d.ts +20 -0
  149. package/lib/esm/components/SCEditor.js +20 -0
  150. package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
  151. package/lib/esm/components/SCEmptyStatus.js +31 -0
  152. package/lib/esm/components/SCEventHeader.d.ts +2 -0
  153. package/lib/esm/components/SCEventHeader.js +3 -1
  154. package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
  155. package/lib/esm/components/SCEventInfoDetails.js +3 -0
  156. package/lib/esm/components/SCFeedObject.d.ts +41 -13
  157. package/lib/esm/components/SCFeedObject.js +43 -15
  158. package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
  159. package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
  160. package/lib/esm/components/SCLessonAppbar.d.ts +22 -0
  161. package/lib/esm/components/SCLessonAppbar.js +22 -0
  162. package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
  163. package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
  164. package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
  165. package/lib/esm/components/SCLessonCommentObject.js +117 -0
  166. package/lib/esm/components/SCLessonCommentObjects.d.ts +39 -0
  167. package/lib/esm/components/SCLessonCommentObjects.js +39 -0
  168. package/lib/esm/components/SCLessonCompletedDialog.d.ts +21 -0
  169. package/lib/esm/components/SCLessonCompletedDialog.js +21 -0
  170. package/lib/esm/components/SCLessonDrawer.d.ts +37 -0
  171. package/lib/esm/components/SCLessonDrawer.js +37 -0
  172. package/lib/esm/components/SCLessonEditForm.d.ts +30 -0
  173. package/lib/esm/components/SCLessonEditForm.js +28 -0
  174. package/lib/esm/components/SCLessonObject.d.ts +45 -0
  175. package/lib/esm/components/SCLessonObject.js +46 -0
  176. package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
  177. package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
  178. package/lib/esm/components/SCLessonTemplate.d.ts +19 -0
  179. package/lib/esm/components/SCLessonTemplate.js +18 -0
  180. package/lib/esm/components/SCLiveStream.d.ts +218 -0
  181. package/lib/esm/components/SCLiveStream.js +218 -0
  182. package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
  183. package/lib/esm/components/SCLiveStreamDialog.js +16 -0
  184. package/lib/esm/components/SCLiveStreamForm.d.ts +34 -0
  185. package/lib/esm/components/SCLiveStreamForm.js +34 -0
  186. package/lib/esm/components/SCLiveStreamFormSettings.d.ts +15 -0
  187. package/lib/esm/components/SCLiveStreamFormSettings.js +15 -0
  188. package/lib/esm/components/SCLiveStreamInfoDetails.d.ts +43 -0
  189. package/lib/esm/components/SCLiveStreamInfoDetails.js +41 -0
  190. package/lib/esm/components/SCLiveStreamRoom.d.ts +120 -0
  191. package/lib/esm/components/SCLiveStreamRoom.js +120 -0
  192. package/lib/esm/components/SCLiveStreamSelector.d.ts +71 -0
  193. package/lib/esm/components/SCLiveStreamSelector.js +73 -0
  194. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +30 -0
  195. package/lib/esm/components/SCLiveStreamVideoConference.js +30 -0
  196. package/lib/esm/components/SCMediaFile.d.ts +0 -4
  197. package/lib/esm/components/SCMediaFile.js +1 -5
  198. package/lib/esm/components/SCNavigationMenuDrawer.d.ts +7 -0
  199. package/lib/esm/components/SCNavigationMenuDrawer.js +7 -0
  200. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  201. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  202. package/lib/esm/components/SCNotification.d.ts +27 -0
  203. package/lib/esm/components/SCNotification.js +27 -0
  204. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
  205. package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
  206. package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
  207. package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
  208. package/lib/esm/components/SCUserLiveStreamWidget.d.ts +101 -0
  209. package/lib/esm/components/SCUserLiveStreamWidget.js +95 -0
  210. package/lib/esm/components/SCUserProfileEdit.js +1 -1
  211. package/lib/esm/components/SCVoteButton.d.ts +1 -0
  212. package/lib/esm/components/SCVoteButton.js +1 -0
  213. package/lib/esm/fonts/community/icons.eot +0 -0
  214. package/lib/esm/fonts/community/icons.svg +9 -3
  215. package/lib/esm/fonts/community/icons.ttf +0 -0
  216. package/lib/esm/fonts/community/icons.woff +0 -0
  217. package/lib/esm/fonts/community/icons.woff2 +0 -0
  218. package/lib/esm/fonts/community-icons.css +15 -6
  219. package/lib/esm/index.d.ts +4337 -1846
  220. package/lib/esm/index.js +73 -1
  221. package/lib/umd/community/icons.eot +0 -0
  222. package/lib/umd/community/icons.svg +9 -3
  223. package/lib/umd/community/icons.ttf +0 -0
  224. package/lib/umd/community/icons.woff +0 -0
  225. package/lib/umd/community/icons.woff2 +0 -0
  226. package/lib/umd/react-theme-default.js +1 -19
  227. package/package.json +123 -119
@@ -9,7 +9,6 @@ declare const Component: {
9
9
  '& .MuiDialogContent-root': {
10
10
  minHeight: number;
11
11
  height: string;
12
- maxHeight: number;
13
12
  };
14
13
  '& .MuiDialogActions-root': {
15
14
  justifyContent: string;
@@ -17,10 +16,14 @@ declare const Component: {
17
16
  };
18
17
  };
19
18
  '& .MuiDialog-paper': {
19
+ [x: number]: {
20
+ height: string;
21
+ };
20
22
  position: string;
21
23
  overflowX: string;
22
24
  '& > form': {
23
25
  zIndex: number;
26
+ height: string;
24
27
  };
25
28
  '& .MuiDialogTitle-root': {
26
29
  position: string;
@@ -42,22 +45,21 @@ declare const Component: {
42
45
  };
43
46
  };
44
47
  '& .MuiDialogContent-root': {
48
+ [x: number]: {
49
+ overflowY: string;
50
+ };
45
51
  margin: string;
46
52
  padding: any;
47
53
  height: string;
48
54
  '& .SCEditor-root': {
49
55
  padding: any;
56
+ marginBottom: any;
57
+ position: string;
50
58
  '& .SCEditor-placeholder': {
51
59
  left: number;
52
- top: any;
53
60
  position: string;
54
61
  };
55
62
  '&.SCEditor-toolbar': {
56
- position: string;
57
- '& .SCEditor-placeholder': {
58
- marginTop: number;
59
- position: string;
60
- };
61
63
  '& .SCEditorToolbarPlugin-root': {
62
64
  zIndex: number;
63
65
  position: string;
@@ -98,11 +100,15 @@ declare const Component: {
98
100
  };
99
101
  };
100
102
  };
101
- attributesRoot: ({ theme }: any) => {};
103
+ attributesRoot: () => {};
102
104
  contentDiscussionRoot: ({ theme }: any) => {
103
105
  '& .SCComposer-content-discussion-title': {
104
- paddingBottom: any;
105
106
  '& .MuiInputBase-root': {
107
+ [x: number]: {
108
+ maxHeight: number;
109
+ };
110
+ maxHeight: number;
111
+ overflowY: string;
106
112
  paddingLeft: number;
107
113
  paddingRight: number;
108
114
  paddingBottom: number;
@@ -122,6 +128,19 @@ declare const Component: {
122
128
  marginLeft: number;
123
129
  };
124
130
  };
131
+ '& .SCEditor-root': {
132
+ '& .SCEditor-placeholder': {
133
+ top: any;
134
+ };
135
+ '& .SCEditor-content': {
136
+ [x: number]: {
137
+ maxHeight: number;
138
+ };
139
+ overflowY: string;
140
+ minHeight: number;
141
+ maxHeight: string;
142
+ };
143
+ };
125
144
  };
126
145
  contentPollRoot: ({ theme }: any) => {
127
146
  padding: any;
@@ -135,7 +154,28 @@ declare const Component: {
135
154
  marginTop: any;
136
155
  };
137
156
  };
138
- contentPostRoot: ({ theme }: any) => {};
157
+ contentPostRoot: ({ theme }: any) => {
158
+ '& .SCEditor-root': {
159
+ '& .SCEditor-placeholder': {
160
+ top: any;
161
+ };
162
+ '& .SCEditor-content': {
163
+ [x: number]: {
164
+ maxHeight: number;
165
+ };
166
+ overflowY: string;
167
+ minHeight: number;
168
+ maxHeight: string;
169
+ };
170
+ };
171
+ };
172
+ contentLessonRoot: ({ theme }: any) => {
173
+ '& .SCEditor-root': {
174
+ '& .SCEditor-content': {
175
+ paddingTop: any;
176
+ };
177
+ };
178
+ };
139
179
  layerTransitionRoot: ({ theme }: any) => {
140
180
  position: string;
141
181
  top: number;
@@ -169,8 +209,8 @@ declare const Component: {
169
209
  marginBottom: any;
170
210
  };
171
211
  };
172
- layerCategoryRoot: ({ theme }: any) => {};
173
- layerGroupRoot: ({ theme }: any) => {};
212
+ layerCategoryRoot: () => {};
213
+ layerGroupRoot: () => {};
174
214
  layerCloseRoot: ({ theme }: any) => {
175
215
  '& .SCComposer-layer-content': {
176
216
  '& .MuiTypography-root': {
@@ -189,8 +229,8 @@ declare const Component: {
189
229
  };
190
230
  };
191
231
  };
192
- layerLocationRoot: ({ theme }: any) => {};
193
- skeletonRoot: ({ theme }: any) => {};
232
+ layerLocationRoot: () => {};
233
+ skeletonRoot: () => {};
194
234
  typeSwitchButtonGroupRoot: ({ theme }: any) => {
195
235
  '& .MuiToggleButton-root': {
196
236
  backgroundColor: any;
@@ -3,10 +3,14 @@ const Component = {
3
3
  styleOverrides: {
4
4
  root: ({ theme }) => ({
5
5
  '& .MuiDialog-paper': {
6
+ [theme.breakpoints.down('md')]: {
7
+ height: '100%'
8
+ },
6
9
  position: 'relative',
7
10
  overflowX: 'hidden',
8
11
  '& > form': {
9
- zIndex: 0
12
+ zIndex: 0,
13
+ height: '100%'
10
14
  },
11
15
  '& .MuiDialogTitle-root': {
12
16
  position: 'absolute',
@@ -30,20 +34,19 @@ const Component = {
30
34
  '& .MuiDialogContent-root': {
31
35
  margin: '45px 0',
32
36
  padding: theme.spacing(1, 2),
33
- height: `calc(100vh - 45px - 45px - ${theme.spacing(2)})`,
37
+ height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
38
+ [theme.breakpoints.up('md')]: {
39
+ overflowY: 'hidden'
40
+ },
34
41
  '& .SCEditor-root': {
35
42
  padding: theme.spacing(1, 0),
43
+ marginBottom: theme.spacing(3),
44
+ position: 'relative',
36
45
  '& .SCEditor-placeholder': {
37
46
  left: 0,
38
- top: theme.spacing(1),
39
47
  position: 'absolute'
40
48
  },
41
49
  '&.SCEditor-toolbar': {
42
- position: 'static',
43
- '& .SCEditor-placeholder': {
44
- marginTop: -40,
45
- position: 'static'
46
- },
47
50
  '& .SCEditorToolbarPlugin-root': {
48
51
  zIndex: 1,
49
52
  position: 'absolute',
@@ -90,8 +93,7 @@ const Component = {
90
93
  },
91
94
  '& .MuiDialogContent-root': {
92
95
  minHeight: 300,
93
- height: 'auto',
94
- maxHeight: 600
96
+ height: 'auto'
95
97
  },
96
98
  '& .MuiDialogActions-root': {
97
99
  justifyContent: 'center'
@@ -99,16 +101,20 @@ const Component = {
99
101
  }
100
102
  }
101
103
  }),
102
- attributesRoot: ({ theme }) => ({}),
104
+ attributesRoot: () => ({}),
103
105
  contentDiscussionRoot: ({ theme }) => ({
104
106
  '& .SCComposer-content-discussion-title': {
105
- paddingBottom: theme.spacing(2),
106
107
  '& .MuiInputBase-root': {
108
+ maxHeight: 160,
109
+ overflowY: 'auto',
107
110
  paddingLeft: 0,
108
111
  paddingRight: 0,
109
112
  paddingBottom: 0,
110
- fontSize: '1.429rem',
113
+ fontSize: '1.3rem',
111
114
  fontWeight: theme.typography.fontWeightBold,
115
+ [theme.breakpoints.up('md')]: {
116
+ maxHeight: 110
117
+ },
112
118
  '& fieldset': {
113
119
  display: 'none'
114
120
  },
@@ -122,6 +128,19 @@ const Component = {
122
128
  '& .MuiFormHelperText-root': {
123
129
  marginLeft: 0
124
130
  }
131
+ },
132
+ '& .SCEditor-root': {
133
+ '& .SCEditor-placeholder': {
134
+ top: theme.spacing(7)
135
+ },
136
+ '& .SCEditor-content': {
137
+ overflowY: 'auto',
138
+ minHeight: 300,
139
+ maxHeight: `calc(100vh - 45px - 45px - 55px - 45px - ${theme.spacing(2)})`,
140
+ [theme.breakpoints.up('md')]: {
141
+ maxHeight: 380
142
+ }
143
+ }
125
144
  }
126
145
  }),
127
146
  contentPollRoot: ({ theme }) => ({
@@ -136,7 +155,49 @@ const Component = {
136
155
  marginTop: theme.spacing(3)
137
156
  }
138
157
  }),
139
- contentPostRoot: ({ theme }) => ({}),
158
+ contentPostRoot: ({ theme }) => ({
159
+ '& .SCEditor-root': {
160
+ '& .SCEditor-placeholder': {
161
+ top: theme.spacing()
162
+ },
163
+ '& .SCEditor-content': {
164
+ overflowY: 'auto',
165
+ minHeight: 300,
166
+ maxHeight: `calc(100vh - 45px - 45px - ${theme.spacing(3)})`,
167
+ [theme.breakpoints.up('md')]: {
168
+ maxHeight: 400
169
+ }
170
+ }
171
+ }
172
+ }),
173
+ contentLessonRoot: ({ theme }) => ({
174
+ // '& .SCComposer-content-lesson-editor': {
175
+ '& .SCEditor-root': {
176
+ '& .SCEditor-content': {
177
+ paddingTop: theme.spacing(1)
178
+ }
179
+ // paddingBottom: theme.spacing(2),
180
+ // '& .MuiInputBase-root': {
181
+ // paddingLeft: 0,
182
+ // paddingRight: 0,
183
+ // paddingBottom: 0,
184
+ // fontSize: '1.429rem',
185
+ // fontWeight: theme.typography.fontWeightBold,
186
+ // '& fieldset': {
187
+ // display: 'none'
188
+ // },
189
+ // '&.MuiInputBase-adornedEnd .MuiTypography-root': {
190
+ // alignSelf: 'end'
191
+ // },
192
+ // '&.Mui-error': {
193
+ // color: theme.palette.error.main
194
+ // }
195
+ // },
196
+ // '& .MuiFormHelperText-root': {
197
+ // marginLeft: 0
198
+ // }
199
+ }
200
+ }),
140
201
  layerTransitionRoot: ({ theme }) => ({
141
202
  position: 'absolute',
142
203
  top: 0,
@@ -170,8 +231,8 @@ const Component = {
170
231
  marginBottom: theme.spacing(4)
171
232
  }
172
233
  }),
173
- layerCategoryRoot: ({ theme }) => ({}),
174
- layerGroupRoot: ({ theme }) => ({}),
234
+ layerCategoryRoot: () => ({}),
235
+ layerGroupRoot: () => ({}),
175
236
  layerCloseRoot: ({ theme }) => ({
176
237
  '& .SCComposer-layer-content': {
177
238
  '& .MuiTypography-root': {
@@ -190,8 +251,8 @@ const Component = {
190
251
  }
191
252
  }
192
253
  }),
193
- layerLocationRoot: ({ theme }) => ({}),
194
- skeletonRoot: ({ theme }) => ({}),
254
+ layerLocationRoot: () => ({}),
255
+ skeletonRoot: () => ({}),
195
256
  typeSwitchButtonGroupRoot: ({ theme }) => ({
196
257
  '& .MuiToggleButton-root': {
197
258
  backgroundColor: theme.palette.common.black,
@@ -17,7 +17,7 @@ const Component = {
17
17
  }
18
18
  }),
19
19
  popperRoot: ({ theme }) => ({
20
- zIndex: 2,
20
+ zIndex: 1200,
21
21
  '& .SCContributionActionsMenu-popper-root': {
22
22
  overflow: 'visible',
23
23
  filter: 'drop-shadow(0px -1px 5px rgba(0,0,0,0.10))',
@@ -0,0 +1,263 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ snippetRoot: ({ theme }: any) => {
5
+ overflow: string;
6
+ boxSizing: string;
7
+ paddingLeft: string;
8
+ paddingRight: string;
9
+ '& .SCBaseItem-image': {
10
+ '& .MuiAvatar-root': {
11
+ width: number;
12
+ height: number;
13
+ '& img': {
14
+ borderRadius: string;
15
+ };
16
+ };
17
+ };
18
+ '& .SCCourse-snippet-image': {
19
+ position: string;
20
+ '& .SCCourse-snippet-in-progress': {
21
+ height: number;
22
+ backgroundColor: any;
23
+ position: string;
24
+ top: number;
25
+ right: number;
26
+ color: any;
27
+ boxShadow: string;
28
+ '& span': {
29
+ fontSize: string;
30
+ paddingLeft: any;
31
+ paddingRight: any;
32
+ };
33
+ };
34
+ };
35
+ '& .SCBaseItem-text': {
36
+ fontSize: any;
37
+ '& .SCCourse-snippet-primary': {
38
+ color: any;
39
+ textDecoration: string;
40
+ '&:hover': {
41
+ textDecoration: string;
42
+ };
43
+ '& p': {
44
+ fontWeight: any;
45
+ };
46
+ };
47
+ '& .SCCourse-snippet-secondary': {
48
+ color: any;
49
+ };
50
+ };
51
+ '& .SCCourse-chip': {
52
+ textTransform: string;
53
+ position: string;
54
+ top: any;
55
+ left: any;
56
+ color: any;
57
+ borderRadius: number;
58
+ '& .MuiChip-label': {
59
+ fontWeight: number;
60
+ padding: any;
61
+ };
62
+ };
63
+ };
64
+ previewRoot: ({ theme }: any) => {
65
+ '& .SCCourse-preview-image-wrapper': {
66
+ position: string;
67
+ '& .SCCourse-preview-image': {
68
+ height: string;
69
+ };
70
+ '& .SCCourse-chip': {
71
+ textTransform: string;
72
+ position: string;
73
+ top: any;
74
+ left: any;
75
+ color: any;
76
+ borderRadius: number;
77
+ '& .MuiChip-label': {
78
+ fontWeight: number;
79
+ padding: any;
80
+ };
81
+ };
82
+ '& .SCCourse-preview-avatar': {
83
+ position: string;
84
+ bottom: any;
85
+ left: any;
86
+ width: any;
87
+ height: any;
88
+ border: string;
89
+ };
90
+ };
91
+ '& .SCCourse-preview-content': {
92
+ padding: string;
93
+ '& .SCCourse-preview-creator': {
94
+ paddingTop: number;
95
+ marginBottom: any;
96
+ };
97
+ '& .SCCourse-preview-name-wrapper': {
98
+ textDecoration: string;
99
+ color: string;
100
+ h6: {
101
+ fontWeight: number;
102
+ };
103
+ '& .SCCourse-preview-name': {
104
+ marginBottom: any;
105
+ };
106
+ };
107
+ '& .SCCourse-preview-info': {
108
+ display: string;
109
+ alignItems: string;
110
+ marginBottom: any;
111
+ };
112
+ '& .SCCourse-preview-category': {
113
+ [x: number]: {
114
+ height: any;
115
+ };
116
+ '& .MuiChip-root': {
117
+ marginRight: any;
118
+ };
119
+ };
120
+ };
121
+ '& .SCCourse-preview-progress': {
122
+ [x: number]: {
123
+ height: any;
124
+ };
125
+ justifyContent: string;
126
+ padding: any;
127
+ '& .MuiLinearProgress-root': {
128
+ width: string;
129
+ height: number;
130
+ borderRadius: number;
131
+ marginTop: any;
132
+ };
133
+ '& .SCCourse-preview-completed-status': {
134
+ display: string;
135
+ alignItems: string;
136
+ justifyContent: string;
137
+ '& .MuiIcon-root': {
138
+ marginRight: any;
139
+ };
140
+ };
141
+ '& .SCCourse-preview-progress-bar': {
142
+ backgroundColor: any;
143
+ };
144
+ };
145
+ '& .SCCourse-preview-actions': {
146
+ justifyContent: string;
147
+ padding: any;
148
+ };
149
+ };
150
+ placeholderRoot: ({ theme }: any) => {
151
+ '& .SCCourse-placeholder-image-wrapper': {
152
+ position: string;
153
+ '& .SCCourse-placeholder-image': {
154
+ height: string;
155
+ };
156
+ '& .SCCourse-placeholder-icon': {
157
+ position: string;
158
+ top: string;
159
+ left: string;
160
+ transform: string;
161
+ color: any;
162
+ };
163
+ '& .SCCourse-placeholder-chip': {
164
+ backgroundColor: any;
165
+ position: string;
166
+ top: any;
167
+ left: any;
168
+ color: any;
169
+ borderRadius: number;
170
+ '& .MuiChip-label': {
171
+ fontWeight: number;
172
+ padding: any;
173
+ };
174
+ };
175
+ '& .SCCourse-placeholder-avatar': {
176
+ position: string;
177
+ bottom: any;
178
+ left: any;
179
+ width: any;
180
+ height: any;
181
+ border: string;
182
+ };
183
+ };
184
+ '& .SCCourse-placeholder-content': {
185
+ [x: number]: {
186
+ height: any;
187
+ };
188
+ padding: string;
189
+ '& .SCCourse-placeholder-creator': {
190
+ fontSize: string;
191
+ marginBottom: any;
192
+ };
193
+ '& .SCCourse-placeholder-name-wrapper': {
194
+ textDecoration: string;
195
+ color: string;
196
+ '& .SCCourse-placeholder-name': {
197
+ fontSize: string;
198
+ marginBottom: any;
199
+ };
200
+ };
201
+ '& .SCCourse-placeholder-info': {
202
+ display: string;
203
+ alignItems: string;
204
+ marginBottom: any;
205
+ };
206
+ };
207
+ '& .SCCourse-placeholder-actions': {
208
+ '& .MuiIcon-root': {
209
+ marginRight: any;
210
+ };
211
+ padding: any;
212
+ };
213
+ '& .SCCourse-placeholder-create-button': {
214
+ display: string;
215
+ justifyContent: string;
216
+ marginTop: any;
217
+ marginBottom: any;
218
+ };
219
+ };
220
+ skeletonRoot: ({ theme }: any) => {
221
+ '& .SCCourse-skeleton-preview-root': {
222
+ '& .SCCourse-skeleton-preview-avatar': {
223
+ position: string;
224
+ bottom: string;
225
+ left: any;
226
+ border: string;
227
+ };
228
+ '& .SCCourse-skeleton-preview-content': {
229
+ padding: string;
230
+ };
231
+ '& .SCCourse-skeleton-preview-actions': {
232
+ display: string;
233
+ marginTop: any;
234
+ justifyContent: string;
235
+ padding: any;
236
+ };
237
+ };
238
+ '& .SCCourse-skeleton-snippet-root': {
239
+ overflow: string;
240
+ boxSizing: string;
241
+ paddingLeft: string;
242
+ paddingRight: string;
243
+ '& .SCCourse-skeleton-snippet-image': {
244
+ position: string;
245
+ '& .MuiSkeleton-root': {
246
+ borderRadius: string;
247
+ };
248
+ '& .MuiIcon-root': {
249
+ color: any;
250
+ position: string;
251
+ top: string;
252
+ left: string;
253
+ transform: string;
254
+ };
255
+ };
256
+ '& .SCBaseItem-actions': {
257
+ maxWidth: string;
258
+ };
259
+ };
260
+ };
261
+ };
262
+ };
263
+ export default Component;