@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
@@ -0,0 +1,193 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCCourseDashboard-header': {
5
+ [theme.breakpoints.down('sm')]: {
6
+ paddingLeft: '14px',
7
+ paddingRight: '14px'
8
+ },
9
+ '& .SCCourseDashboard-header-img': {
10
+ width: '100%',
11
+ height: '150px',
12
+ borderBottomLeftRadius: '10px',
13
+ borderBottomRightRadius: '10px',
14
+ marginBottom: '17px',
15
+ [theme.breakpoints.down('sm')]: {
16
+ display: 'none'
17
+ }
18
+ },
19
+ '& .SCCourseDashboard-header-outer-wrapper': {
20
+ alignItems: 'flex-start',
21
+ gap: '32px',
22
+ marginTop: theme.spacing(2),
23
+ marginBottom: theme.spacing(3),
24
+ [theme.breakpoints.up('sm')]: {
25
+ flexDirection: 'row',
26
+ alignItems: 'center',
27
+ justifyContent: 'space-between',
28
+ marginTop: theme.spacing(3),
29
+ marginBottom: '19px'
30
+ },
31
+ '& .SCCourseDashboard-header-inner-wrapper': {
32
+ alignItems: 'flex-start',
33
+ gap: '17px',
34
+ [theme.breakpoints.up('sm')]: {
35
+ flexDirection: 'row',
36
+ alignItems: 'center',
37
+ gap: '28px'
38
+ },
39
+ '& .SCCourseDashboard-header-icon-wrapper': {
40
+ flexDirection: 'row',
41
+ alignItems: 'center',
42
+ gap: theme.spacing(1)
43
+ }
44
+ }
45
+ }
46
+ },
47
+ '& .SCCourseDashboard-info-wrapper': {
48
+ gap: theme.spacing(2),
49
+ marginBottom: theme.spacing(2),
50
+ [theme.breakpoints.up('sm')]: {
51
+ flexDirection: 'row',
52
+ gap: '38px'
53
+ },
54
+ [theme.breakpoints.down('sm')]: {
55
+ paddingLeft: '14px',
56
+ paddingRight: '14px'
57
+ },
58
+ '& .SCCourseDashboard-info': {
59
+ flex: 1,
60
+ gap: '6px',
61
+ border: `1px solid ${theme.palette.grey['300']}`,
62
+ borderRadius: '10px',
63
+ padding: theme.spacing('17px', 3, '19px'),
64
+ '& .SCCourseParticipantsButton-root': {
65
+ justifyContent: 'flex-start',
66
+ padding: 0
67
+ }
68
+ }
69
+ },
70
+ '& .SCCourseDashboard-tab-list': {
71
+ borderBottom: `1px solid ${theme.palette.grey['300']}`,
72
+ '& .SCCourseDashboard-tab': {
73
+ textTransform: 'inherit'
74
+ },
75
+ '& > .Mui-disabled': {
76
+ opacity: 0.3
77
+ },
78
+ '& > .MuiTabs-scrollButtons': {
79
+ display: 'inline-flex'
80
+ }
81
+ },
82
+ '& .SCCourseDashboard-tab-panel': {
83
+ padding: theme.spacing(3, 0, 0),
84
+ [theme.breakpoints.down('md')]: {
85
+ paddingLeft: '14px',
86
+ paddingRight: '14px'
87
+ }
88
+ },
89
+ '& .SCCourseDashboard-comments-container': {
90
+ [theme.breakpoints.up('sm')]: {
91
+ paddingLeft: '36px',
92
+ paddingRight: '36px'
93
+ },
94
+ '& .SCCourseDashboard-outer-wrapper': {
95
+ marginTop: '15px',
96
+ marginBottom: '23px',
97
+ '& .SCCourseDashboard-inner-wrapper': {
98
+ gap: theme.spacing(3),
99
+ marginTop: '23px',
100
+ marginBottom: '30px',
101
+ '& .SCCourseDashboard-user-wrapper': {
102
+ flexDirection: 'row',
103
+ gap: '6px',
104
+ '& .SCCourseDashboard-avatar': {
105
+ width: '30px',
106
+ height: '30px'
107
+ },
108
+ '& .SCCourseDashboard-user-info': {
109
+ flexDirection: 'row',
110
+ alignItems: 'center',
111
+ gap: '6px',
112
+ '& .SCCourseDashboard-circle': {
113
+ width: '5px',
114
+ height: '5px',
115
+ borderRadius: '9999px',
116
+ backgroundColor: theme.palette.grey['600']
117
+ }
118
+ }
119
+ },
120
+ '& .SCCourseDashboard-button': {
121
+ width: 'fit-content'
122
+ }
123
+ }
124
+ }
125
+ },
126
+ '&.SCCourseDashboard-student-container': {
127
+ '& .SCCourseDashboard-progress': {
128
+ borderRadius: '28px',
129
+ backgroundColor: theme.palette.grey['300']
130
+ },
131
+ '& .SCCourseDashboard-accordion': {
132
+ borderTopLeftRadius: 'unset',
133
+ borderTopRightRadius: 'unset'
134
+ },
135
+ '& .SCCourseDashboard-user-wrapper': {
136
+ flexDirection: 'row',
137
+ alignItems: 'center',
138
+ justifyContent: 'space-between',
139
+ '& .SCCourseDashboard-user': {
140
+ flexDirection: 'row',
141
+ gap: '4px',
142
+ marginTop: '6px',
143
+ marginBottom: '6px',
144
+ '& .SCCourseDashboard-avatar': {
145
+ width: '36px',
146
+ height: '36px'
147
+ }
148
+ }
149
+ },
150
+ '& .SCCourseDashboard-lessons-sections': {
151
+ flexDirection: 'row',
152
+ alignItems: 'center',
153
+ gap: '6px',
154
+ border: `1px solid ${theme.palette.grey['300']}`,
155
+ borderBottom: 'unset',
156
+ borderTopLeftRadius: '5px',
157
+ borderTopRightRadius: '5px',
158
+ padding: '19px 24px',
159
+ '& .SCCourseDashboard-circle': {
160
+ width: '6px',
161
+ height: '6px',
162
+ borderRadius: 9999,
163
+ backgroundColor: theme.palette.common.black
164
+ }
165
+ },
166
+ '& .SCCourseDashboard-margin': {
167
+ marginTop: '19px',
168
+ marginBottom: '11px'
169
+ },
170
+ '& .SCCourseDashboard-box': {
171
+ gap: '13px',
172
+ border: `1px solid ${theme.palette.grey['300']}`,
173
+ borderRadius: '5px',
174
+ padding: '11px 24px'
175
+ },
176
+ '& .SCCourseDashboard-percentage-wrapper': {
177
+ justifyContent: 'space-between',
178
+ gap: '5px',
179
+ [theme.breakpoints.up('sm')]: {
180
+ flexDirection: 'row'
181
+ }
182
+ },
183
+ '& .SCCourseDashboard-completed-wrapper': {
184
+ flexDirection: 'row',
185
+ alignItems: 'center',
186
+ gap: '11px'
187
+ }
188
+ }
189
+ }),
190
+ skeletonRoot: () => ({})
191
+ }
192
+ };
193
+ export default Component;
@@ -0,0 +1,143 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCCourseForm-cover': {
5
+ position: string;
6
+ height: number;
7
+ minHeight: number;
8
+ borderRadius: string;
9
+ '& .SCCourseForm-upload-course-cover-root': {
10
+ position: string;
11
+ right: any;
12
+ bottom: any;
13
+ padding: any;
14
+ minWidth: string;
15
+ };
16
+ };
17
+ '& .SCCourseForm-header': {
18
+ marginTop: any;
19
+ color: any;
20
+ };
21
+ '& .SCCourseForm-form': {
22
+ '& h5': {
23
+ padding: any;
24
+ };
25
+ '& .SCCourseForm-name': {
26
+ marginTop: any;
27
+ };
28
+ '& .SCCategoryAutocomplete-root ': {
29
+ marginTop: any;
30
+ };
31
+ '& .SCCourseForm-edit-root': {
32
+ marginTop: any;
33
+ '& .SCCourseForm-edit-card': {
34
+ display: string;
35
+ alignItems: string;
36
+ borderRadius: string;
37
+ padding: any;
38
+ '& h5': {
39
+ paddingTop: number;
40
+ paddingBottom: number;
41
+ };
42
+ '& .MuiTypography-body1': {
43
+ paddingLeft: any;
44
+ };
45
+ '& .SCCourseForm-edit-access-info': {
46
+ marginTop: any;
47
+ marginBottom: any;
48
+ '& > p:first-of-type': {
49
+ marginBottom: any;
50
+ };
51
+ '& .MuiIcon-root': {
52
+ marginRight: any;
53
+ };
54
+ };
55
+ };
56
+ '& .SCCourseForm-edit-publish': {
57
+ marginTop: any;
58
+ '& h5': {
59
+ paddingTop: number;
60
+ paddingBottom: number;
61
+ };
62
+ '& .SCCourseForm-edit-publish-info': {
63
+ paddingLeft: any;
64
+ marginBottom: any;
65
+ };
66
+ '& .SCCourseForm-edit-privacy-item': {
67
+ paddingLeft: any;
68
+ marginBottom: any;
69
+ '& .MuiTypography-body1': {
70
+ display: string;
71
+ alignItems: string;
72
+ '& .MuiIcon-root': {
73
+ marginRight: any;
74
+ };
75
+ };
76
+ };
77
+ '& .SCCourseForm-edit-privacy-item-info': {
78
+ marginLeft: any;
79
+ };
80
+ };
81
+ };
82
+ };
83
+ '& .SCCourseForm-step-one': {
84
+ display: string;
85
+ flexDirection: string;
86
+ justifyContent: string;
87
+ gap: any;
88
+ marginTop: any;
89
+ '& .SCCourseForm-selected': {
90
+ backgroundColor: string;
91
+ border: string;
92
+ '&:hover': {
93
+ backgroundColor: string;
94
+ };
95
+ };
96
+ '& .MuiCard-root': {
97
+ boxShadow: string;
98
+ border: string;
99
+ borderRadius: string;
100
+ '&:hover': {
101
+ backgroundColor: any;
102
+ };
103
+ '& .MuiCardContent-root': {
104
+ '& .MuiTypography-h5': {
105
+ fontWeight: any;
106
+ };
107
+ '& .MuiTypography-body2': {
108
+ whiteSpace: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ '& .SCCourseForm-error': {
114
+ color: any;
115
+ };
116
+ '& .SCCourseForm-actions': {
117
+ marginTop: any;
118
+ display: string;
119
+ justifyContent: string;
120
+ gap: any;
121
+ '& button': {
122
+ width: string;
123
+ };
124
+ };
125
+ '& .MuiDivider-root': {
126
+ marginTop: any;
127
+ border: string;
128
+ };
129
+ '& .MuiDialogTitle-root': {
130
+ '& span': {
131
+ flexGrow: number;
132
+ textAlign: string;
133
+ };
134
+ };
135
+ };
136
+ skeletonRoot: ({ theme }: {
137
+ theme: any;
138
+ }) => {
139
+ gap: any;
140
+ };
141
+ };
142
+ };
143
+ export default Component;
@@ -0,0 +1,142 @@
1
+ import { alpha } from '@mui/system';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ '& .SCCourseForm-cover': {
6
+ position: 'relative',
7
+ height: 103,
8
+ minHeight: 103,
9
+ borderRadius: '10px',
10
+ '& .SCCourseForm-upload-course-cover-root': {
11
+ position: 'absolute',
12
+ right: theme.spacing(2),
13
+ bottom: theme.spacing(1),
14
+ padding: theme.spacing(1),
15
+ minWidth: 'auto'
16
+ }
17
+ },
18
+ '& .SCCourseForm-header': {
19
+ marginTop: theme.spacing(4.5),
20
+ color: theme.palette.text.secondary
21
+ },
22
+ '& .SCCourseForm-form': {
23
+ '& h5': {
24
+ padding: theme.spacing(1)
25
+ },
26
+ '& .SCCourseForm-name': {
27
+ marginTop: theme.spacing(3)
28
+ },
29
+ '& .SCCategoryAutocomplete-root ': {
30
+ marginTop: theme.spacing(1)
31
+ },
32
+ '& .SCCourseForm-edit-root': {
33
+ marginTop: theme.spacing(1),
34
+ '& .SCCourseForm-edit-card': {
35
+ display: 'flex',
36
+ alignItems: 'flex-start',
37
+ borderRadius: '10px',
38
+ padding: theme.spacing(2),
39
+ '& h5': {
40
+ paddingTop: 0,
41
+ paddingBottom: 0
42
+ },
43
+ '& .MuiTypography-body1': {
44
+ paddingLeft: theme.spacing(1)
45
+ },
46
+ '& .SCCourseForm-edit-access-info': {
47
+ marginTop: theme.spacing(2),
48
+ marginBottom: theme.spacing(2),
49
+ '& > p:first-of-type': {
50
+ marginBottom: theme.spacing(1)
51
+ },
52
+ '& .MuiIcon-root': {
53
+ marginRight: theme.spacing(0.5)
54
+ }
55
+ }
56
+ },
57
+ '& .SCCourseForm-edit-publish': {
58
+ marginTop: theme.spacing(3),
59
+ '& h5': {
60
+ paddingTop: 0,
61
+ paddingBottom: 0
62
+ },
63
+ '& .SCCourseForm-edit-publish-info': {
64
+ paddingLeft: theme.spacing(1),
65
+ marginBottom: theme.spacing(1)
66
+ },
67
+ '& .SCCourseForm-edit-privacy-item': {
68
+ paddingLeft: theme.spacing(1.5),
69
+ marginBottom: theme.spacing(2),
70
+ '& .MuiTypography-body1': {
71
+ display: 'flex',
72
+ alignItems: 'center',
73
+ '& .MuiIcon-root': {
74
+ marginRight: theme.spacing(0.5)
75
+ }
76
+ }
77
+ },
78
+ '& .SCCourseForm-edit-privacy-item-info': {
79
+ marginLeft: theme.spacing(2)
80
+ }
81
+ }
82
+ }
83
+ },
84
+ '& .SCCourseForm-step-one': {
85
+ display: 'flex',
86
+ flexDirection: 'column',
87
+ justifyContent: 'center',
88
+ gap: theme.spacing(2.5),
89
+ marginTop: theme.spacing(1.5),
90
+ '& .SCCourseForm-selected': {
91
+ backgroundColor: alpha(theme.palette.success.main, theme.palette.action.selectedOpacity),
92
+ border: `1px solid ${theme.palette.success.main} !important`,
93
+ '&:hover': {
94
+ backgroundColor: alpha(theme.palette.success.main, theme.palette.action.selectedOpacity)
95
+ }
96
+ },
97
+ '& .MuiCard-root': {
98
+ boxShadow: 'none',
99
+ border: `1px solid ${theme.palette.grey[300]}`,
100
+ borderRadius: '10px',
101
+ '&:hover': {
102
+ backgroundColor: theme.palette.grey[200]
103
+ },
104
+ '& .MuiCardContent-root': {
105
+ '& .MuiTypography-h5': {
106
+ fontWeight: theme.typography.fontWeightBold
107
+ },
108
+ '& .MuiTypography-body2': {
109
+ whiteSpace: 'pre-line'
110
+ }
111
+ }
112
+ }
113
+ },
114
+ '& .SCCourseForm-error': {
115
+ color: theme.palette.error.main
116
+ },
117
+ '& .SCCourseForm-actions': {
118
+ marginTop: theme.spacing(2),
119
+ display: 'flex',
120
+ justifyContent: 'flex-end',
121
+ gap: theme.spacing(2),
122
+ '& button': {
123
+ width: 'fit-content'
124
+ }
125
+ },
126
+ '& .MuiDivider-root': {
127
+ marginTop: theme.spacing(2),
128
+ border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
129
+ },
130
+ '& .MuiDialogTitle-root': {
131
+ '& span': {
132
+ flexGrow: 1,
133
+ textAlign: 'center'
134
+ }
135
+ }
136
+ }),
137
+ skeletonRoot: ({ theme }) => ({
138
+ gap: theme.spacing(3)
139
+ })
140
+ }
141
+ };
142
+ export default Component;
@@ -0,0 +1,6 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {};
4
+ };
5
+ };
6
+ export default Component;
@@ -0,0 +1,6 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({})
4
+ }
5
+ };
6
+ export default Component;
@@ -0,0 +1,43 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ gap: any;
7
+ '& .SCCourseInfoDetails-icon-text-wrapper': {
8
+ flexDirection: string;
9
+ alignItems: string;
10
+ gap: any;
11
+ '& > p': {
12
+ textTransform: string;
13
+ };
14
+ '& .SCCourseInfoDetails-link': {
15
+ textDecoration: string;
16
+ color: any;
17
+ '&:hover': {
18
+ textDecoration: string;
19
+ };
20
+ '& .SCCourseInfoDetails-url': {
21
+ overflow: string;
22
+ textOverflow: string;
23
+ display: string;
24
+ '-webkit-line-clamp': string;
25
+ '-webkit-box-orient': string;
26
+ };
27
+ };
28
+ '& .SCCourseInfoDetails-in-progress': {
29
+ width: string;
30
+ height: string;
31
+ borderRadius: string;
32
+ backgroundColor: any;
33
+ };
34
+ };
35
+ '& .SCCourseInfoDetails-creation-wrapper': {
36
+ flexDirection: string;
37
+ alignItems: string;
38
+ gap: any;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ export default Component;
@@ -0,0 +1,41 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ gap: theme.spacing(0.5),
5
+ '& .SCCourseInfoDetails-icon-text-wrapper': {
6
+ flexDirection: 'row',
7
+ alignItems: 'center',
8
+ gap: theme.spacing(0.75),
9
+ '& > p': {
10
+ textTransform: 'capitalize'
11
+ },
12
+ '& .SCCourseInfoDetails-link': {
13
+ textDecoration: 'none',
14
+ color: theme.palette.text.primary,
15
+ '&:hover': {
16
+ textDecoration: 'underlined'
17
+ },
18
+ '& .SCCourseInfoDetails-url': {
19
+ overflow: 'hidden',
20
+ textOverflow: 'ellipsis',
21
+ display: '-webkit-box',
22
+ '-webkit-line-clamp': '1',
23
+ '-webkit-box-orient': 'vertical'
24
+ }
25
+ },
26
+ '& .SCCourseInfoDetails-in-progress': {
27
+ width: '6px',
28
+ height: '6px',
29
+ borderRadius: '9999px',
30
+ backgroundColor: theme.palette.secondary.main
31
+ }
32
+ },
33
+ '& .SCCourseInfoDetails-creation-wrapper': {
34
+ flexDirection: 'row',
35
+ alignItems: 'center',
36
+ gap: theme.spacing(1)
37
+ }
38
+ })
39
+ }
40
+ };
41
+ export default Component;
@@ -0,0 +1,55 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme, followers }: {
4
+ theme: any;
5
+ followers: any;
6
+ }) => {
7
+ gap: any;
8
+ marginTop: string;
9
+ minWidth: string;
10
+ '&:hover': {
11
+ backgroundColor: string;
12
+ };
13
+ '& .MuiAvatarGroup-root': {
14
+ '&:not(.SCAvatarCourseSkeleton-root) .MuiAvatar-root': {
15
+ '&.MuiAvatar-colorDefault': {
16
+ marginLeft: number;
17
+ backgroundColor: string;
18
+ color: any;
19
+ border: string;
20
+ borderRadius: number;
21
+ padding: number;
22
+ };
23
+ };
24
+ '& .MuiAvatar-root': {
25
+ height: any;
26
+ border: string;
27
+ fontSize: string;
28
+ '&:first-of-type': {
29
+ width: any;
30
+ };
31
+ '&:not(:first-of-type)': {
32
+ width: any;
33
+ };
34
+ };
35
+ };
36
+ '& .SCCourseParticipantsButton-participants': {
37
+ color: any;
38
+ '& .MuiIcon-root': {
39
+ marginRight: any;
40
+ };
41
+ };
42
+ };
43
+ dialogRoot: ({ theme }: {
44
+ theme: any;
45
+ }) => {
46
+ '& .SCCourseParticipantsButton-infinite-scroll': {
47
+ [x: number]: {
48
+ height: string;
49
+ };
50
+ height: string;
51
+ };
52
+ };
53
+ };
54
+ };
55
+ export default Component;
@@ -0,0 +1,50 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme, followers }) => ({
4
+ gap: theme.spacing(1),
5
+ marginTop: '0 !important',
6
+ minWidth: 'auto',
7
+ '&:hover': {
8
+ backgroundColor: 'unset'
9
+ },
10
+ '& .MuiAvatarGroup-root': {
11
+ '&:not(.SCAvatarCourseSkeleton-root) .MuiAvatar-root': {
12
+ '&.MuiAvatar-colorDefault': {
13
+ marginLeft: 0,
14
+ backgroundColor: 'transparent',
15
+ color: theme.palette.primary.main,
16
+ border: '0 none',
17
+ borderRadius: 0,
18
+ padding: 1
19
+ }
20
+ },
21
+ '& .MuiAvatar-root': {
22
+ height: theme.selfcommunity.user.avatar.sizeSmall,
23
+ border: `1px solid ${theme.palette.common.white}`,
24
+ fontSize: '0.7rem',
25
+ '&:first-of-type': {
26
+ width: followers > 3 ? 'auto' : theme.selfcommunity.user.avatar.sizeSmall
27
+ },
28
+ '&:not(:first-of-type)': {
29
+ width: theme.selfcommunity.user.avatar.sizeSmall
30
+ }
31
+ }
32
+ },
33
+ '& .SCCourseParticipantsButton-participants': {
34
+ color: theme.palette.text.primary,
35
+ '& .MuiIcon-root': {
36
+ marginRight: theme.spacing(1)
37
+ }
38
+ }
39
+ }),
40
+ dialogRoot: ({ theme }) => ({
41
+ '& .SCCourseParticipantsButton-infinite-scroll': {
42
+ height: '400px !important',
43
+ [theme.breakpoints.down('md')]: {
44
+ height: '100%'
45
+ }
46
+ }
47
+ })
48
+ }
49
+ };
50
+ export default Component;