@selfcommunity/react-theme-default 0.4.5-alpha.8 → 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 +50 -14
  14. package/lib/cjs/components/SCComposer.js +73 -16
  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 +2739 -642
  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 +50 -14
  104. package/lib/esm/components/SCComposer.js +73 -16
  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 +2739 -642
  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
@@ -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;
@@ -46,22 +45,21 @@ declare const Component: {
46
45
  };
47
46
  };
48
47
  '& .MuiDialogContent-root': {
48
+ [x: number]: {
49
+ overflowY: string;
50
+ };
49
51
  margin: string;
50
52
  padding: any;
51
53
  height: string;
52
54
  '& .SCEditor-root': {
53
55
  padding: any;
56
+ marginBottom: any;
57
+ position: string;
54
58
  '& .SCEditor-placeholder': {
55
59
  left: number;
56
- top: any;
57
60
  position: string;
58
61
  };
59
62
  '&.SCEditor-toolbar': {
60
- position: string;
61
- '& .SCEditor-placeholder': {
62
- marginTop: number;
63
- position: string;
64
- };
65
63
  '& .SCEditorToolbarPlugin-root': {
66
64
  zIndex: number;
67
65
  position: string;
@@ -102,11 +100,15 @@ declare const Component: {
102
100
  };
103
101
  };
104
102
  };
105
- attributesRoot: ({ theme }: any) => {};
103
+ attributesRoot: () => {};
106
104
  contentDiscussionRoot: ({ theme }: any) => {
107
105
  '& .SCComposer-content-discussion-title': {
108
- paddingBottom: any;
109
106
  '& .MuiInputBase-root': {
107
+ [x: number]: {
108
+ maxHeight: number;
109
+ };
110
+ maxHeight: number;
111
+ overflowY: string;
110
112
  paddingLeft: number;
111
113
  paddingRight: number;
112
114
  paddingBottom: number;
@@ -126,6 +128,19 @@ declare const Component: {
126
128
  marginLeft: number;
127
129
  };
128
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
+ };
129
144
  };
130
145
  contentPollRoot: ({ theme }: any) => {
131
146
  padding: any;
@@ -139,7 +154,28 @@ declare const Component: {
139
154
  marginTop: any;
140
155
  };
141
156
  };
142
- 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
+ };
143
179
  layerTransitionRoot: ({ theme }: any) => {
144
180
  position: string;
145
181
  top: number;
@@ -173,8 +209,8 @@ declare const Component: {
173
209
  marginBottom: any;
174
210
  };
175
211
  };
176
- layerCategoryRoot: ({ theme }: any) => {};
177
- layerGroupRoot: ({ theme }: any) => {};
212
+ layerCategoryRoot: () => {};
213
+ layerGroupRoot: () => {};
178
214
  layerCloseRoot: ({ theme }: any) => {
179
215
  '& .SCComposer-layer-content': {
180
216
  '& .MuiTypography-root': {
@@ -193,8 +229,8 @@ declare const Component: {
193
229
  };
194
230
  };
195
231
  };
196
- layerLocationRoot: ({ theme }: any) => {};
197
- skeletonRoot: ({ theme }: any) => {};
232
+ layerLocationRoot: () => {};
233
+ skeletonRoot: () => {};
198
234
  typeSwitchButtonGroupRoot: ({ theme }: any) => {
199
235
  '& .MuiToggleButton-root': {
200
236
  backgroundColor: any;
@@ -35,19 +35,18 @@ const Component = {
35
35
  margin: '45px 0',
36
36
  padding: theme.spacing(1, 2),
37
37
  height: `calc(100% - 45px - 45px - ${theme.spacing(2)})`,
38
+ [theme.breakpoints.up('md')]: {
39
+ overflowY: 'hidden'
40
+ },
38
41
  '& .SCEditor-root': {
39
42
  padding: theme.spacing(1, 0),
43
+ marginBottom: theme.spacing(3),
44
+ position: 'relative',
40
45
  '& .SCEditor-placeholder': {
41
46
  left: 0,
42
- top: theme.spacing(1),
43
47
  position: 'absolute'
44
48
  },
45
49
  '&.SCEditor-toolbar': {
46
- position: 'static',
47
- '& .SCEditor-placeholder': {
48
- marginTop: -40,
49
- position: 'static'
50
- },
51
50
  '& .SCEditorToolbarPlugin-root': {
52
51
  zIndex: 1,
53
52
  position: 'absolute',
@@ -94,8 +93,7 @@ const Component = {
94
93
  },
95
94
  '& .MuiDialogContent-root': {
96
95
  minHeight: 300,
97
- height: 'auto',
98
- maxHeight: 600
96
+ height: 'auto'
99
97
  },
100
98
  '& .MuiDialogActions-root': {
101
99
  justifyContent: 'center'
@@ -103,16 +101,20 @@ const Component = {
103
101
  }
104
102
  }
105
103
  }),
106
- attributesRoot: ({ theme }) => ({}),
104
+ attributesRoot: () => ({}),
107
105
  contentDiscussionRoot: ({ theme }) => ({
108
106
  '& .SCComposer-content-discussion-title': {
109
- paddingBottom: theme.spacing(2),
110
107
  '& .MuiInputBase-root': {
108
+ maxHeight: 160,
109
+ overflowY: 'auto',
111
110
  paddingLeft: 0,
112
111
  paddingRight: 0,
113
112
  paddingBottom: 0,
114
- fontSize: '1.429rem',
113
+ fontSize: '1.3rem',
115
114
  fontWeight: theme.typography.fontWeightBold,
115
+ [theme.breakpoints.up('md')]: {
116
+ maxHeight: 110
117
+ },
116
118
  '& fieldset': {
117
119
  display: 'none'
118
120
  },
@@ -126,6 +128,19 @@ const Component = {
126
128
  '& .MuiFormHelperText-root': {
127
129
  marginLeft: 0
128
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
+ }
129
144
  }
130
145
  }),
131
146
  contentPollRoot: ({ theme }) => ({
@@ -140,7 +155,49 @@ const Component = {
140
155
  marginTop: theme.spacing(3)
141
156
  }
142
157
  }),
143
- 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
+ }),
144
201
  layerTransitionRoot: ({ theme }) => ({
145
202
  position: 'absolute',
146
203
  top: 0,
@@ -174,8 +231,8 @@ const Component = {
174
231
  marginBottom: theme.spacing(4)
175
232
  }
176
233
  }),
177
- layerCategoryRoot: ({ theme }) => ({}),
178
- layerGroupRoot: ({ theme }) => ({}),
234
+ layerCategoryRoot: () => ({}),
235
+ layerGroupRoot: () => ({}),
179
236
  layerCloseRoot: ({ theme }) => ({
180
237
  '& .SCComposer-layer-content': {
181
238
  '& .MuiTypography-root': {
@@ -194,8 +251,8 @@ const Component = {
194
251
  }
195
252
  }
196
253
  }),
197
- layerLocationRoot: ({ theme }) => ({}),
198
- skeletonRoot: ({ theme }) => ({}),
254
+ layerLocationRoot: () => ({}),
255
+ skeletonRoot: () => ({}),
199
256
  typeSwitchButtonGroupRoot: ({ theme }) => ({
200
257
  '& .MuiToggleButton-root': {
201
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,243 @@
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
+ minHeight: string;
66
+ '& .SCCourse-preview-image-wrapper': {
67
+ position: string;
68
+ '& .SCCourse-preview-image': {
69
+ height: string;
70
+ };
71
+ '& .SCCourse-chip': {
72
+ textTransform: string;
73
+ position: string;
74
+ top: any;
75
+ left: any;
76
+ color: any;
77
+ borderRadius: number;
78
+ '& .MuiChip-label': {
79
+ fontWeight: number;
80
+ padding: any;
81
+ };
82
+ };
83
+ '& .SCCourse-preview-avatar': {
84
+ position: string;
85
+ bottom: any;
86
+ left: any;
87
+ width: any;
88
+ height: any;
89
+ border: string;
90
+ };
91
+ };
92
+ '& .SCCourse-preview-content': {
93
+ padding: any;
94
+ '& .SCCourse-preview-creator': {
95
+ paddingTop: number;
96
+ marginBottom: any;
97
+ };
98
+ '& .SCCourse-preview-name-wrapper': {
99
+ textDecoration: string;
100
+ color: string;
101
+ h6: {
102
+ fontWeight: number;
103
+ };
104
+ '& .SCCourse-preview-name': {
105
+ display: string;
106
+ height: any;
107
+ marginBottom: any;
108
+ textOverflow: string;
109
+ overflow: string;
110
+ WebkitLineClamp: string;
111
+ WebkitBoxOrient: string;
112
+ lineHeight: number;
113
+ };
114
+ };
115
+ '& .SCCourse-preview-info': {
116
+ height: any;
117
+ display: string;
118
+ alignItems: string;
119
+ marginBottom: any;
120
+ };
121
+ '& .SCCourse-preview-category': {
122
+ [x: number]: {
123
+ height: any;
124
+ };
125
+ '& .MuiChip-root': {
126
+ marginRight: any;
127
+ };
128
+ };
129
+ };
130
+ '& .SCCourse-preview-progress': {
131
+ [x: number]: {
132
+ height: any;
133
+ };
134
+ justifyContent: string;
135
+ padding: any;
136
+ '& .MuiLinearProgress-root': {
137
+ width: string;
138
+ height: number;
139
+ borderRadius: number;
140
+ marginTop: any;
141
+ };
142
+ '& .SCCourse-preview-completed-status': {
143
+ display: string;
144
+ alignItems: string;
145
+ justifyContent: string;
146
+ '& .MuiIcon-root': {
147
+ marginRight: any;
148
+ };
149
+ };
150
+ '& .SCCourse-preview-progress-bar': {
151
+ backgroundColor: any;
152
+ };
153
+ };
154
+ '& .SCCourse-preview-actions': {
155
+ justifyContent: string;
156
+ padding: any;
157
+ };
158
+ };
159
+ createPlaceholderRoot: ({ theme }: any) => {
160
+ minHeight: string;
161
+ '& .SCCourse-create-placeholder-image-wrapper': {
162
+ position: string;
163
+ '& .SCCourse-create-placeholder-image': {
164
+ height: string;
165
+ };
166
+ '& .SCCourse-create-placeholder-icon': {
167
+ position: string;
168
+ top: string;
169
+ left: string;
170
+ transform: string;
171
+ color: any;
172
+ };
173
+ '& .SCCourse-create-placeholder-chip': {
174
+ backgroundColor: any;
175
+ position: string;
176
+ top: any;
177
+ left: any;
178
+ color: any;
179
+ borderRadius: number;
180
+ '& .MuiChip-label': {
181
+ fontWeight: number;
182
+ padding: any;
183
+ };
184
+ };
185
+ '& .SCCourse-create-placeholder-avatar': {
186
+ position: string;
187
+ bottom: any;
188
+ left: any;
189
+ width: any;
190
+ height: any;
191
+ border: string;
192
+ };
193
+ };
194
+ '& .SCCourse-create-placeholder-actions': {
195
+ display: string;
196
+ justifyContent: string;
197
+ height: string;
198
+ };
199
+ };
200
+ skeletonRoot: ({ theme }: any) => {
201
+ '& .SCCourse-skeleton-preview-root': {
202
+ '& .SCCourse-skeleton-preview-avatar': {
203
+ position: string;
204
+ bottom: string;
205
+ left: any;
206
+ border: string;
207
+ };
208
+ '& .SCCourse-skeleton-preview-content': {
209
+ padding: string;
210
+ };
211
+ '& .SCCourse-skeleton-preview-actions': {
212
+ display: string;
213
+ marginTop: any;
214
+ justifyContent: string;
215
+ padding: any;
216
+ };
217
+ };
218
+ '& .SCCourse-skeleton-snippet-root': {
219
+ overflow: string;
220
+ boxSizing: string;
221
+ paddingLeft: string;
222
+ paddingRight: string;
223
+ '& .SCCourse-skeleton-snippet-image': {
224
+ position: string;
225
+ '& .MuiSkeleton-root': {
226
+ borderRadius: string;
227
+ };
228
+ '& .MuiIcon-root': {
229
+ color: any;
230
+ position: string;
231
+ top: string;
232
+ left: string;
233
+ transform: string;
234
+ };
235
+ };
236
+ '& .SCBaseItem-actions': {
237
+ maxWidth: string;
238
+ };
239
+ };
240
+ };
241
+ };
242
+ };
243
+ export default Component;