@selfcommunity/react-theme-default 0.4.2-alpha.9 → 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 (225) 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/SCVoteButton.d.ts +1 -0
  101. package/lib/cjs/components/SCVoteButton.js +1 -0
  102. package/lib/cjs/fonts/community/icons.eot +0 -0
  103. package/lib/cjs/fonts/community/icons.svg +9 -3
  104. package/lib/cjs/fonts/community/icons.ttf +0 -0
  105. package/lib/cjs/fonts/community/icons.woff +0 -0
  106. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  107. package/lib/cjs/fonts/community-icons.css +15 -6
  108. package/lib/cjs/index.d.ts +4337 -1846
  109. package/lib/cjs/index.js +73 -1
  110. package/lib/esm/components/SCAccordionLessons.d.ts +40 -0
  111. package/lib/esm/components/SCAccordionLessons.js +38 -0
  112. package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
  113. package/lib/esm/components/SCAddUsersButton.js +19 -0
  114. package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
  115. package/lib/esm/components/SCBaseItemButton.js +27 -36
  116. package/lib/esm/components/SCCommentObject.d.ts +19 -17
  117. package/lib/esm/components/SCCommentObject.js +19 -17
  118. package/lib/esm/components/SCComposer.d.ts +54 -14
  119. package/lib/esm/components/SCComposer.js +79 -18
  120. package/lib/esm/components/SCContributionActionsMenu.js +1 -1
  121. package/lib/esm/components/SCCourse.d.ts +263 -0
  122. package/lib/esm/components/SCCourse.js +263 -0
  123. package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
  124. package/lib/esm/components/SCCourseContentMenu.js +40 -0
  125. package/lib/esm/components/SCCourseDashboard.d.ts +198 -0
  126. package/lib/esm/components/SCCourseDashboard.js +193 -0
  127. package/lib/esm/components/SCCourseForm.d.ts +143 -0
  128. package/lib/esm/components/SCCourseForm.js +142 -0
  129. package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
  130. package/lib/esm/components/SCCourseFormDialog.js +6 -0
  131. package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
  132. package/lib/esm/components/SCCourseInfoDetails.js +41 -0
  133. package/lib/esm/components/SCCourseParticipantsButton.d.ts +55 -0
  134. package/lib/esm/components/SCCourseParticipantsButton.js +50 -0
  135. package/lib/esm/components/SCCourseUsersTable.d.ts +82 -0
  136. package/lib/esm/components/SCCourseUsersTable.js +78 -0
  137. package/lib/esm/components/SCCourses.d.ts +137 -0
  138. package/lib/esm/components/SCCourses.js +137 -0
  139. package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
  140. package/lib/esm/components/SCCreateCourseButton.js +12 -0
  141. package/lib/esm/components/SCCreateLiveStreamButton.d.ts +12 -0
  142. package/lib/esm/components/SCCreateLiveStreamButton.js +12 -0
  143. package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
  144. package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
  145. package/lib/esm/components/SCEditCourse.d.ts +218 -0
  146. package/lib/esm/components/SCEditCourse.js +212 -0
  147. package/lib/esm/components/SCEditor.d.ts +20 -0
  148. package/lib/esm/components/SCEditor.js +20 -0
  149. package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
  150. package/lib/esm/components/SCEmptyStatus.js +31 -0
  151. package/lib/esm/components/SCEventHeader.d.ts +2 -0
  152. package/lib/esm/components/SCEventHeader.js +3 -1
  153. package/lib/esm/components/SCEventInfoDetails.d.ts +3 -0
  154. package/lib/esm/components/SCEventInfoDetails.js +3 -0
  155. package/lib/esm/components/SCFeedObject.d.ts +41 -13
  156. package/lib/esm/components/SCFeedObject.js +43 -15
  157. package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +11 -0
  158. package/lib/esm/components/SCFeedObjectDetailTemplate.js +12 -1
  159. package/lib/esm/components/SCLessonAppbar.d.ts +22 -0
  160. package/lib/esm/components/SCLessonAppbar.js +22 -0
  161. package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
  162. package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
  163. package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
  164. package/lib/esm/components/SCLessonCommentObject.js +117 -0
  165. package/lib/esm/components/SCLessonCommentObjects.d.ts +39 -0
  166. package/lib/esm/components/SCLessonCommentObjects.js +39 -0
  167. package/lib/esm/components/SCLessonCompletedDialog.d.ts +21 -0
  168. package/lib/esm/components/SCLessonCompletedDialog.js +21 -0
  169. package/lib/esm/components/SCLessonDrawer.d.ts +37 -0
  170. package/lib/esm/components/SCLessonDrawer.js +37 -0
  171. package/lib/esm/components/SCLessonEditForm.d.ts +30 -0
  172. package/lib/esm/components/SCLessonEditForm.js +28 -0
  173. package/lib/esm/components/SCLessonObject.d.ts +45 -0
  174. package/lib/esm/components/SCLessonObject.js +46 -0
  175. package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
  176. package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
  177. package/lib/esm/components/SCLessonTemplate.d.ts +19 -0
  178. package/lib/esm/components/SCLessonTemplate.js +18 -0
  179. package/lib/esm/components/SCLiveStream.d.ts +218 -0
  180. package/lib/esm/components/SCLiveStream.js +218 -0
  181. package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
  182. package/lib/esm/components/SCLiveStreamDialog.js +16 -0
  183. package/lib/esm/components/SCLiveStreamForm.d.ts +34 -0
  184. package/lib/esm/components/SCLiveStreamForm.js +34 -0
  185. package/lib/esm/components/SCLiveStreamFormSettings.d.ts +15 -0
  186. package/lib/esm/components/SCLiveStreamFormSettings.js +15 -0
  187. package/lib/esm/components/SCLiveStreamInfoDetails.d.ts +43 -0
  188. package/lib/esm/components/SCLiveStreamInfoDetails.js +41 -0
  189. package/lib/esm/components/SCLiveStreamRoom.d.ts +120 -0
  190. package/lib/esm/components/SCLiveStreamRoom.js +120 -0
  191. package/lib/esm/components/SCLiveStreamSelector.d.ts +71 -0
  192. package/lib/esm/components/SCLiveStreamSelector.js +73 -0
  193. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +30 -0
  194. package/lib/esm/components/SCLiveStreamVideoConference.js +30 -0
  195. package/lib/esm/components/SCMediaFile.d.ts +0 -4
  196. package/lib/esm/components/SCMediaFile.js +1 -5
  197. package/lib/esm/components/SCNavigationMenuDrawer.d.ts +7 -0
  198. package/lib/esm/components/SCNavigationMenuDrawer.js +7 -0
  199. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  200. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  201. package/lib/esm/components/SCNotification.d.ts +27 -0
  202. package/lib/esm/components/SCNotification.js +27 -0
  203. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
  204. package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
  205. package/lib/esm/components/SCUpScalingTierBadge.d.ts +13 -0
  206. package/lib/esm/components/SCUpScalingTierBadge.js +13 -0
  207. package/lib/esm/components/SCUserLiveStreamWidget.d.ts +101 -0
  208. package/lib/esm/components/SCUserLiveStreamWidget.js +95 -0
  209. package/lib/esm/components/SCVoteButton.d.ts +1 -0
  210. package/lib/esm/components/SCVoteButton.js +1 -0
  211. package/lib/esm/fonts/community/icons.eot +0 -0
  212. package/lib/esm/fonts/community/icons.svg +9 -3
  213. package/lib/esm/fonts/community/icons.ttf +0 -0
  214. package/lib/esm/fonts/community/icons.woff +0 -0
  215. package/lib/esm/fonts/community/icons.woff2 +0 -0
  216. package/lib/esm/fonts/community-icons.css +15 -6
  217. package/lib/esm/index.d.ts +4337 -1846
  218. package/lib/esm/index.js +73 -1
  219. package/lib/umd/community/icons.eot +0 -0
  220. package/lib/umd/community/icons.svg +9 -3
  221. package/lib/umd/community/icons.ttf +0 -0
  222. package/lib/umd/community/icons.woff +0 -0
  223. package/lib/umd/community/icons.woff2 +0 -0
  224. package/lib/umd/react-theme-default.js +1 -19
  225. package/package.json +123 -119
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({}),
6
+ snippetRoot: ({ theme }) => ({
7
+ overflow: 'visible',
8
+ boxSizing: 'border-box',
9
+ paddingLeft: `${theme.spacing()} !important`,
10
+ paddingRight: `${theme.spacing()} !important`,
11
+ '& .SCBaseItem-image': {
12
+ '& .MuiAvatar-root': {
13
+ width: 100,
14
+ height: 60,
15
+ '& img': {
16
+ borderRadius: '5px'
17
+ }
18
+ }
19
+ },
20
+ '& .SCCourse-snippet-image': {
21
+ position: 'relative',
22
+ '& .SCCourse-snippet-in-progress': {
23
+ height: 18,
24
+ backgroundColor: theme.palette.secondary.main,
25
+ position: 'absolute',
26
+ top: 5,
27
+ right: 3,
28
+ color: theme.palette.common.white,
29
+ boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
30
+ '& span': {
31
+ fontSize: '0.8rem',
32
+ paddingLeft: theme.spacing(0.5),
33
+ paddingRight: theme.spacing(0.5)
34
+ }
35
+ }
36
+ },
37
+ '& .SCBaseItem-text': {
38
+ fontSize: theme.typography.fontSize,
39
+ '& .SCCourse-snippet-primary': {
40
+ color: theme.palette.text.primary,
41
+ textDecoration: 'none',
42
+ '&:hover': {
43
+ textDecoration: 'none'
44
+ },
45
+ '& p': {
46
+ fontWeight: theme.typography.fontWeightBold
47
+ }
48
+ },
49
+ '& .SCCourse-snippet-secondary': {
50
+ color: theme.palette.text.secondary
51
+ }
52
+ },
53
+ '& .SCCourse-chip': {
54
+ textTransform: 'uppercase',
55
+ position: 'absolute',
56
+ top: theme.spacing(1),
57
+ left: theme.spacing(0.5),
58
+ color: theme.palette.common.white,
59
+ borderRadius: 0,
60
+ '& .MuiChip-label': {
61
+ fontWeight: 700,
62
+ padding: theme.spacing(0.5)
63
+ }
64
+ }
65
+ }),
66
+ previewRoot: ({ theme }) => ({
67
+ '& .SCCourse-preview-image-wrapper': {
68
+ position: 'relative',
69
+ '& .SCCourse-preview-image': {
70
+ height: '110px'
71
+ },
72
+ '& .SCCourse-chip': {
73
+ textTransform: 'uppercase',
74
+ position: 'absolute',
75
+ top: theme.spacing(2),
76
+ left: theme.spacing(2),
77
+ color: theme.palette.common.white,
78
+ borderRadius: 0,
79
+ '& .MuiChip-label': {
80
+ fontWeight: 700,
81
+ padding: theme.spacing(0.5)
82
+ }
83
+ },
84
+ '& .SCCourse-preview-avatar': {
85
+ position: 'absolute',
86
+ bottom: theme.spacing(-2),
87
+ left: theme.spacing(1.5),
88
+ width: theme.selfcommunity.user.avatar.sizeMedium,
89
+ height: theme.selfcommunity.user.avatar.sizeMedium,
90
+ border: `#FFF solid ${theme.spacing(0.2)}`
91
+ }
92
+ },
93
+ '& .SCCourse-preview-content': {
94
+ padding: `16px ${theme.spacing(2)} 0 !important`,
95
+ '& .SCCourse-preview-creator': {
96
+ paddingTop: 0,
97
+ marginBottom: theme.spacing(1)
98
+ },
99
+ '& .SCCourse-preview-name-wrapper': {
100
+ textDecoration: 'none',
101
+ color: 'inherit',
102
+ h6: {
103
+ fontWeight: 700
104
+ },
105
+ '& .SCCourse-preview-name': {
106
+ marginBottom: theme.spacing(0.5)
107
+ }
108
+ },
109
+ '& .SCCourse-preview-info': {
110
+ display: 'flex',
111
+ alignItems: 'center',
112
+ marginBottom: theme.spacing(1)
113
+ },
114
+ '& .SCCourse-preview-category': {
115
+ [theme.breakpoints.up('sm')]: {
116
+ height: theme.spacing(4)
117
+ },
118
+ '& .MuiChip-root': {
119
+ marginRight: theme.spacing(0.5)
120
+ }
121
+ }
122
+ },
123
+ '& .SCCourse-preview-progress': {
124
+ [theme.breakpoints.up('sm')]: {
125
+ height: theme.spacing(3)
126
+ },
127
+ justifyContent: 'center',
128
+ padding: theme.spacing(1),
129
+ '& .MuiLinearProgress-root': {
130
+ width: '100%',
131
+ height: 5,
132
+ borderRadius: 5,
133
+ marginTop: theme.spacing(1)
134
+ },
135
+ '& .SCCourse-preview-completed-status': {
136
+ display: 'flex',
137
+ alignItems: 'center',
138
+ justifyContent: 'center',
139
+ '& .MuiIcon-root': {
140
+ marginRight: theme.spacing(1)
141
+ }
142
+ },
143
+ '& .SCCourse-preview-progress-bar': {
144
+ backgroundColor: theme.palette.grey['300']
145
+ }
146
+ },
147
+ '& .SCCourse-preview-actions': {
148
+ justifyContent: 'center',
149
+ padding: theme.spacing(2)
150
+ }
151
+ }),
152
+ placeholderRoot: ({ theme }) => ({
153
+ '& .SCCourse-placeholder-image-wrapper': {
154
+ position: 'relative',
155
+ '& .SCCourse-placeholder-image': {
156
+ height: '110px'
157
+ },
158
+ '& .SCCourse-placeholder-icon': {
159
+ position: 'absolute',
160
+ top: '50%',
161
+ left: '50%',
162
+ transform: 'translate(-50%, -50%)',
163
+ color: theme.palette.common.white
164
+ },
165
+ '& .SCCourse-placeholder-chip': {
166
+ backgroundColor: theme.palette.grey['600'],
167
+ position: 'absolute',
168
+ top: theme.spacing(2),
169
+ left: theme.spacing(2),
170
+ color: theme.palette.common.white,
171
+ borderRadius: 0,
172
+ '& .MuiChip-label': {
173
+ fontWeight: 700,
174
+ padding: theme.spacing(0.5)
175
+ }
176
+ },
177
+ '& .SCCourse-placeholder-avatar': {
178
+ position: 'absolute',
179
+ bottom: theme.spacing(-2),
180
+ left: theme.spacing(1.5),
181
+ width: theme.selfcommunity.user.avatar.sizeMedium,
182
+ height: theme.selfcommunity.user.avatar.sizeMedium,
183
+ border: `#FFF solid ${theme.spacing(0.2)}`
184
+ }
185
+ },
186
+ '& .SCCourse-placeholder-content': {
187
+ padding: `16px ${theme.spacing(2)} 0 !important`,
188
+ '& .SCCourse-placeholder-creator': {
189
+ fontSize: '0.875rem',
190
+ marginBottom: theme.spacing(0.5)
191
+ },
192
+ '& .SCCourse-placeholder-name-wrapper': {
193
+ textDecoration: 'none',
194
+ color: 'inherit',
195
+ '& .SCCourse-placeholder-name': {
196
+ fontSize: '1rem',
197
+ marginBottom: theme.spacing(0.5)
198
+ }
199
+ },
200
+ '& .SCCourse-placeholder-info': {
201
+ display: 'flex',
202
+ alignItems: 'center',
203
+ marginBottom: theme.spacing(1)
204
+ },
205
+ [theme.breakpoints.up('sm')]: {
206
+ height: theme.spacing(20.5)
207
+ }
208
+ },
209
+ '& .SCCourse-placeholder-actions': {
210
+ '& .MuiIcon-root': {
211
+ marginRight: theme.spacing(1)
212
+ },
213
+ padding: theme.spacing(2)
214
+ },
215
+ '& .SCCourse-placeholder-create-button': {
216
+ display: 'flex',
217
+ justifyContent: 'center',
218
+ marginTop: theme.spacing(10.25),
219
+ marginBottom: theme.spacing(10.25)
220
+ }
221
+ }),
222
+ skeletonRoot: ({ theme }) => ({
223
+ '& .SCCourse-skeleton-preview-root': {
224
+ '& .SCCourse-skeleton-preview-avatar': {
225
+ position: 'absolute',
226
+ bottom: '-20px',
227
+ left: theme.spacing(1.5),
228
+ border: `#FFF solid ${theme.spacing(0.2)}`
229
+ },
230
+ '& .SCCourse-skeleton-preview-content': {
231
+ padding: `16px ${theme.spacing(2)} 0 !important`
232
+ },
233
+ '& .SCCourse-skeleton-preview-actions': {
234
+ display: 'flex',
235
+ marginTop: theme.spacing(4),
236
+ justifyContent: 'center',
237
+ padding: theme.spacing(2)
238
+ }
239
+ },
240
+ '& .SCCourse-skeleton-snippet-root': {
241
+ overflow: 'visible',
242
+ boxSizing: 'border-box',
243
+ paddingLeft: `${theme.spacing()} !important`,
244
+ paddingRight: `${theme.spacing()} !important`,
245
+ '& .SCCourse-skeleton-snippet-image': {
246
+ position: 'relative',
247
+ '& .MuiSkeleton-root': {
248
+ borderRadius: '5px'
249
+ },
250
+ '& .MuiIcon-root': {
251
+ color: theme.palette.common.white,
252
+ position: 'absolute',
253
+ top: '50%',
254
+ left: '50%',
255
+ transform: 'translate(-50%, -50%)'
256
+ }
257
+ },
258
+ '& .SCBaseItem-actions': {
259
+ maxWidth: 'none !important'
260
+ }
261
+ }
262
+ })
263
+ }
264
+ };
265
+ exports.default = Component;
@@ -0,0 +1,42 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiList-root': {
5
+ '& .Mui-selected': {
6
+ backgroundColor: any;
7
+ '&:hover, &:focus, &:active': {
8
+ backgroundColor: any;
9
+ };
10
+ };
11
+ };
12
+ '& .SCCourseContentMenu-list-item': {
13
+ '&:hover, &:focus, &:active': {
14
+ backgroundColor: string;
15
+ };
16
+ };
17
+ '& .SCCourseContentMenu-list-item-icon': {
18
+ minWidth: any;
19
+ color: any;
20
+ };
21
+ '& .SCCourseContentMenu-item': {
22
+ padding: any;
23
+ '& .MuiListItemText-primary': {
24
+ fontWeight: any;
25
+ };
26
+ '&:hover': {
27
+ backgroundColor: string;
28
+ };
29
+ };
30
+ '& .SCCourseContentMenu-item-icon': {
31
+ minWidth: any;
32
+ };
33
+ '& .SCCourseContentMenu-icon-complete': {
34
+ color: any;
35
+ };
36
+ '& .SCCourseContentMenu-icon-incomplete': {
37
+ color: any;
38
+ };
39
+ };
40
+ };
41
+ };
42
+ export default Component;
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .MuiList-root': {
7
+ '& .Mui-selected': {
8
+ backgroundColor: theme.palette.grey[300],
9
+ '&:hover, &:focus, &:active': {
10
+ backgroundColor: theme.palette.grey[300]
11
+ }
12
+ }
13
+ },
14
+ '& .SCCourseContentMenu-list-item': {
15
+ '&:hover, &:focus, &:active': {
16
+ backgroundColor: 'transparent'
17
+ }
18
+ },
19
+ '& .SCCourseContentMenu-list-item-icon': {
20
+ minWidth: theme.spacing(3),
21
+ color: theme.palette.text.secondary
22
+ },
23
+ '& .SCCourseContentMenu-item': {
24
+ padding: theme.spacing(0.5, 0, 0.5, 3),
25
+ '& .MuiListItemText-primary': {
26
+ fontWeight: theme.typography.fontWeightMedium
27
+ },
28
+ '&:hover': { backgroundColor: 'transparent' }
29
+ },
30
+ '& .SCCourseContentMenu-item-icon': {
31
+ minWidth: theme.spacing(4)
32
+ },
33
+ '& .SCCourseContentMenu-icon-complete': {
34
+ color: theme.palette.success.main
35
+ },
36
+ '& .SCCourseContentMenu-icon-incomplete': {
37
+ color: theme.palette.grey[300]
38
+ }
39
+ })
40
+ }
41
+ };
42
+ exports.default = Component;
@@ -0,0 +1,198 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCCourseDashboard-header': {
7
+ [x: number]: {
8
+ paddingLeft: string;
9
+ paddingRight: string;
10
+ };
11
+ '& .SCCourseDashboard-header-img': {
12
+ [x: number]: {
13
+ display: string;
14
+ };
15
+ width: string;
16
+ height: string;
17
+ borderBottomLeftRadius: string;
18
+ borderBottomRightRadius: string;
19
+ marginBottom: string;
20
+ };
21
+ '& .SCCourseDashboard-header-outer-wrapper': {
22
+ [x: number]: {
23
+ flexDirection: string;
24
+ alignItems: string;
25
+ justifyContent: string;
26
+ marginTop: any;
27
+ marginBottom: string;
28
+ };
29
+ alignItems: string;
30
+ gap: string;
31
+ marginTop: any;
32
+ marginBottom: any;
33
+ '& .SCCourseDashboard-header-inner-wrapper': {
34
+ [x: number]: {
35
+ flexDirection: string;
36
+ alignItems: string;
37
+ gap: string;
38
+ };
39
+ alignItems: string;
40
+ gap: string;
41
+ '& .SCCourseDashboard-header-icon-wrapper': {
42
+ flexDirection: string;
43
+ alignItems: string;
44
+ gap: any;
45
+ };
46
+ };
47
+ };
48
+ };
49
+ '& .SCCourseDashboard-info-wrapper': {
50
+ [x: number]: {
51
+ flexDirection: string;
52
+ gap: string;
53
+ paddingLeft?: undefined;
54
+ paddingRight?: undefined;
55
+ } | {
56
+ paddingLeft: string;
57
+ paddingRight: string;
58
+ flexDirection?: undefined;
59
+ gap?: undefined;
60
+ };
61
+ gap: any;
62
+ marginBottom: any;
63
+ '& .SCCourseDashboard-info': {
64
+ flex: number;
65
+ gap: string;
66
+ border: string;
67
+ borderRadius: string;
68
+ padding: any;
69
+ '& .SCCourseParticipantsButton-root': {
70
+ justifyContent: string;
71
+ padding: number;
72
+ };
73
+ };
74
+ };
75
+ '& .SCCourseDashboard-tab-list': {
76
+ borderBottom: string;
77
+ '& .SCCourseDashboard-tab': {
78
+ textTransform: string;
79
+ };
80
+ '& > .Mui-disabled': {
81
+ opacity: number;
82
+ };
83
+ '& > .MuiTabs-scrollButtons': {
84
+ display: string;
85
+ };
86
+ };
87
+ '& .SCCourseDashboard-tab-panel': {
88
+ [x: number]: {
89
+ paddingLeft: string;
90
+ paddingRight: string;
91
+ };
92
+ padding: any;
93
+ };
94
+ '& .SCCourseDashboard-comments-container': {
95
+ [x: number]: {
96
+ paddingLeft: string;
97
+ paddingRight: string;
98
+ };
99
+ '& .SCCourseDashboard-outer-wrapper': {
100
+ marginTop: string;
101
+ marginBottom: string;
102
+ '& .SCCourseDashboard-inner-wrapper': {
103
+ gap: any;
104
+ marginTop: string;
105
+ marginBottom: string;
106
+ '& .SCCourseDashboard-user-wrapper': {
107
+ flexDirection: string;
108
+ gap: string;
109
+ '& .SCCourseDashboard-avatar': {
110
+ width: string;
111
+ height: string;
112
+ };
113
+ '& .SCCourseDashboard-user-info': {
114
+ flexDirection: string;
115
+ alignItems: string;
116
+ gap: string;
117
+ '& .SCCourseDashboard-circle': {
118
+ width: string;
119
+ height: string;
120
+ borderRadius: string;
121
+ backgroundColor: any;
122
+ };
123
+ };
124
+ };
125
+ '& .SCCourseDashboard-button': {
126
+ width: string;
127
+ };
128
+ };
129
+ };
130
+ };
131
+ '&.SCCourseDashboard-student-container': {
132
+ '& .SCCourseDashboard-progress': {
133
+ borderRadius: string;
134
+ backgroundColor: any;
135
+ };
136
+ '& .SCCourseDashboard-accordion': {
137
+ borderTopLeftRadius: string;
138
+ borderTopRightRadius: string;
139
+ };
140
+ '& .SCCourseDashboard-user-wrapper': {
141
+ flexDirection: string;
142
+ alignItems: string;
143
+ justifyContent: string;
144
+ '& .SCCourseDashboard-user': {
145
+ flexDirection: string;
146
+ gap: string;
147
+ marginTop: string;
148
+ marginBottom: string;
149
+ '& .SCCourseDashboard-avatar': {
150
+ width: string;
151
+ height: string;
152
+ };
153
+ };
154
+ };
155
+ '& .SCCourseDashboard-lessons-sections': {
156
+ flexDirection: string;
157
+ alignItems: string;
158
+ gap: string;
159
+ border: string;
160
+ borderBottom: string;
161
+ borderTopLeftRadius: string;
162
+ borderTopRightRadius: string;
163
+ padding: string;
164
+ '& .SCCourseDashboard-circle': {
165
+ width: string;
166
+ height: string;
167
+ borderRadius: number;
168
+ backgroundColor: any;
169
+ };
170
+ };
171
+ '& .SCCourseDashboard-margin': {
172
+ marginTop: string;
173
+ marginBottom: string;
174
+ };
175
+ '& .SCCourseDashboard-box': {
176
+ gap: string;
177
+ border: string;
178
+ borderRadius: string;
179
+ padding: string;
180
+ };
181
+ '& .SCCourseDashboard-percentage-wrapper': {
182
+ [x: number]: {
183
+ flexDirection: string;
184
+ };
185
+ justifyContent: string;
186
+ gap: string;
187
+ };
188
+ '& .SCCourseDashboard-completed-wrapper': {
189
+ flexDirection: string;
190
+ alignItems: string;
191
+ gap: string;
192
+ };
193
+ };
194
+ };
195
+ skeletonRoot: () => {};
196
+ };
197
+ };
198
+ export default Component;