@selfcommunity/react-theme-default 0.4.5-alpha.9 → 0.4.5-payments.144

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 (191) 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/SCCheckout.d.ts +54 -0
  10. package/lib/cjs/components/SCCheckout.js +54 -0
  11. package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +26 -0
  12. package/lib/cjs/components/SCCheckoutReturnDialog.js +26 -0
  13. package/lib/cjs/components/SCCommentObject.d.ts +7 -17
  14. package/lib/cjs/components/SCCommentObject.js +7 -17
  15. package/lib/cjs/components/SCComposer.d.ts +15 -7
  16. package/lib/cjs/components/SCComposer.js +37 -8
  17. package/lib/cjs/components/SCContributionActionsMenu.js +1 -1
  18. package/lib/cjs/components/SCCourse.d.ts +243 -0
  19. package/lib/cjs/components/SCCourse.js +245 -0
  20. package/lib/cjs/components/SCCourseCompletedDialog.d.ts +21 -0
  21. package/lib/cjs/components/SCCourseCompletedDialog.js +23 -0
  22. package/lib/cjs/components/SCCourseContentMenu.d.ts +42 -0
  23. package/lib/cjs/components/SCCourseContentMenu.js +42 -0
  24. package/lib/cjs/components/SCCourseDashboard.d.ts +337 -0
  25. package/lib/cjs/components/SCCourseDashboard.js +329 -0
  26. package/lib/cjs/components/SCCourseForm.d.ts +143 -0
  27. package/lib/cjs/components/SCCourseForm.js +144 -0
  28. package/lib/cjs/components/SCCourseFormDialog.d.ts +6 -0
  29. package/lib/cjs/components/SCCourseFormDialog.js +8 -0
  30. package/lib/cjs/components/SCCourseInfoDetails.d.ts +43 -0
  31. package/lib/cjs/components/SCCourseInfoDetails.js +43 -0
  32. package/lib/cjs/components/SCCourseParticipantsButton.d.ts +56 -0
  33. package/lib/cjs/components/SCCourseParticipantsButton.js +53 -0
  34. package/lib/cjs/components/SCCourseUsersTable.d.ts +86 -0
  35. package/lib/cjs/components/SCCourseUsersTable.js +82 -0
  36. package/lib/cjs/components/SCCourses.d.ts +133 -0
  37. package/lib/cjs/components/SCCourses.js +135 -0
  38. package/lib/cjs/components/SCCreateCourseButton.d.ts +12 -0
  39. package/lib/cjs/components/SCCreateCourseButton.js +14 -0
  40. package/lib/cjs/components/SCEditCourse.d.ts +273 -0
  41. package/lib/cjs/components/SCEditCourse.js +271 -0
  42. package/lib/cjs/components/SCEditor.d.ts +20 -0
  43. package/lib/cjs/components/SCEditor.js +20 -0
  44. package/lib/cjs/components/SCEmptyStatus.d.ts +33 -0
  45. package/lib/cjs/components/SCEmptyStatus.js +33 -0
  46. package/lib/cjs/components/SCFeedObject.d.ts +18 -12
  47. package/lib/cjs/components/SCFeedObject.js +18 -12
  48. package/lib/cjs/components/SCFeedObjectDetailTemplate.js +1 -1
  49. package/lib/cjs/components/SCLessonAppbar.d.ts +27 -0
  50. package/lib/cjs/components/SCLessonAppbar.js +28 -0
  51. package/lib/cjs/components/SCLessonCommentActionsMenu.d.ts +32 -0
  52. package/lib/cjs/components/SCLessonCommentActionsMenu.js +35 -0
  53. package/lib/cjs/components/SCLessonCommentObject.d.ts +117 -0
  54. package/lib/cjs/components/SCLessonCommentObject.js +119 -0
  55. package/lib/cjs/components/SCLessonCommentObjects.d.ts +48 -0
  56. package/lib/cjs/components/SCLessonCommentObjects.js +50 -0
  57. package/lib/cjs/components/SCLessonDrawer.d.ts +42 -0
  58. package/lib/cjs/components/SCLessonDrawer.js +44 -0
  59. package/lib/cjs/components/SCLessonEditForm.d.ts +33 -0
  60. package/lib/cjs/components/SCLessonEditForm.js +33 -0
  61. package/lib/cjs/components/SCLessonObject.d.ts +48 -0
  62. package/lib/cjs/components/SCLessonObject.js +51 -0
  63. package/lib/cjs/components/SCLessonReleaseMenu.d.ts +32 -0
  64. package/lib/cjs/components/SCLessonReleaseMenu.js +34 -0
  65. package/lib/cjs/components/SCLessonTemplate.d.ts +20 -0
  66. package/lib/cjs/components/SCLessonTemplate.js +20 -0
  67. package/lib/cjs/components/SCLiveStreamForm.d.ts +9 -0
  68. package/lib/cjs/components/SCLiveStreamForm.js +10 -1
  69. package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -1
  70. package/lib/cjs/components/SCLiveStreamRoom.js +27 -1
  71. package/lib/cjs/components/SCLiveStreamSelector.d.ts +2 -0
  72. package/lib/cjs/components/SCLiveStreamSelector.js +3 -1
  73. package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +2 -1
  74. package/lib/cjs/components/SCLiveStreamVideoConference.js +2 -1
  75. package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
  76. package/lib/cjs/components/SCNavigationToolbar.js +1 -1
  77. package/lib/cjs/components/SCPaymentProduct.d.ts +55 -0
  78. package/lib/cjs/components/SCPaymentProduct.js +53 -0
  79. package/lib/cjs/components/SCPaymentProductPrice.d.ts +15 -0
  80. package/lib/cjs/components/SCPaymentProductPrice.js +13 -0
  81. package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
  82. package/lib/cjs/components/SCPaymentProducts.js +13 -0
  83. package/lib/cjs/components/SCPrivateMessageThreadItem.d.ts +2 -0
  84. package/lib/cjs/components/SCPrivateMessageThreadItem.js +2 -1
  85. package/lib/cjs/fonts/community/icons.eot +0 -0
  86. package/lib/cjs/fonts/community/icons.svg +9 -3
  87. package/lib/cjs/fonts/community/icons.ttf +0 -0
  88. package/lib/cjs/fonts/community/icons.woff +0 -0
  89. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  90. package/lib/cjs/fonts/community-icons.css +15 -6
  91. package/lib/cjs/index.d.ts +2737 -612
  92. package/lib/cjs/index.js +76 -2
  93. package/lib/esm/components/SCAccordionLessons.d.ts +55 -0
  94. package/lib/esm/components/SCAccordionLessons.js +51 -0
  95. package/lib/esm/components/SCAddUsersButton.d.ts +19 -0
  96. package/lib/esm/components/SCAddUsersButton.js +19 -0
  97. package/lib/esm/components/SCBaseItemButton.d.ts +26 -35
  98. package/lib/esm/components/SCBaseItemButton.js +27 -36
  99. package/lib/esm/components/SCBuyButton.d.ts +15 -0
  100. package/lib/esm/components/SCBuyButton.js +11 -0
  101. package/lib/esm/components/SCCheckout.d.ts +54 -0
  102. package/lib/esm/components/SCCheckout.js +52 -0
  103. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
  104. package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
  105. package/lib/esm/components/SCCommentObject.d.ts +7 -17
  106. package/lib/esm/components/SCCommentObject.js +7 -17
  107. package/lib/esm/components/SCComposer.d.ts +15 -7
  108. package/lib/esm/components/SCComposer.js +37 -8
  109. package/lib/esm/components/SCContributionActionsMenu.js +1 -1
  110. package/lib/esm/components/SCCourse.d.ts +243 -0
  111. package/lib/esm/components/SCCourse.js +243 -0
  112. package/lib/esm/components/SCCourseCompletedDialog.d.ts +21 -0
  113. package/lib/esm/components/SCCourseCompletedDialog.js +21 -0
  114. package/lib/esm/components/SCCourseContentMenu.d.ts +42 -0
  115. package/lib/esm/components/SCCourseContentMenu.js +40 -0
  116. package/lib/esm/components/SCCourseDashboard.d.ts +337 -0
  117. package/lib/esm/components/SCCourseDashboard.js +327 -0
  118. package/lib/esm/components/SCCourseForm.d.ts +143 -0
  119. package/lib/esm/components/SCCourseForm.js +142 -0
  120. package/lib/esm/components/SCCourseFormDialog.d.ts +6 -0
  121. package/lib/esm/components/SCCourseFormDialog.js +6 -0
  122. package/lib/esm/components/SCCourseInfoDetails.d.ts +43 -0
  123. package/lib/esm/components/SCCourseInfoDetails.js +41 -0
  124. package/lib/esm/components/SCCourseParticipantsButton.d.ts +56 -0
  125. package/lib/esm/components/SCCourseParticipantsButton.js +51 -0
  126. package/lib/esm/components/SCCourseUsersTable.d.ts +86 -0
  127. package/lib/esm/components/SCCourseUsersTable.js +80 -0
  128. package/lib/esm/components/SCCourses.d.ts +133 -0
  129. package/lib/esm/components/SCCourses.js +133 -0
  130. package/lib/esm/components/SCCreateCourseButton.d.ts +12 -0
  131. package/lib/esm/components/SCCreateCourseButton.js +12 -0
  132. package/lib/esm/components/SCEditCourse.d.ts +273 -0
  133. package/lib/esm/components/SCEditCourse.js +269 -0
  134. package/lib/esm/components/SCEditor.d.ts +20 -0
  135. package/lib/esm/components/SCEditor.js +20 -0
  136. package/lib/esm/components/SCEmptyStatus.d.ts +33 -0
  137. package/lib/esm/components/SCEmptyStatus.js +31 -0
  138. package/lib/esm/components/SCFeedObject.d.ts +18 -12
  139. package/lib/esm/components/SCFeedObject.js +18 -12
  140. package/lib/esm/components/SCFeedObjectDetailTemplate.js +1 -1
  141. package/lib/esm/components/SCLessonAppbar.d.ts +27 -0
  142. package/lib/esm/components/SCLessonAppbar.js +26 -0
  143. package/lib/esm/components/SCLessonCommentActionsMenu.d.ts +32 -0
  144. package/lib/esm/components/SCLessonCommentActionsMenu.js +33 -0
  145. package/lib/esm/components/SCLessonCommentObject.d.ts +117 -0
  146. package/lib/esm/components/SCLessonCommentObject.js +117 -0
  147. package/lib/esm/components/SCLessonCommentObjects.d.ts +48 -0
  148. package/lib/esm/components/SCLessonCommentObjects.js +48 -0
  149. package/lib/esm/components/SCLessonDrawer.d.ts +42 -0
  150. package/lib/esm/components/SCLessonDrawer.js +42 -0
  151. package/lib/esm/components/SCLessonEditForm.d.ts +33 -0
  152. package/lib/esm/components/SCLessonEditForm.js +31 -0
  153. package/lib/esm/components/SCLessonObject.d.ts +48 -0
  154. package/lib/esm/components/SCLessonObject.js +49 -0
  155. package/lib/esm/components/SCLessonReleaseMenu.d.ts +32 -0
  156. package/lib/esm/components/SCLessonReleaseMenu.js +32 -0
  157. package/lib/esm/components/SCLessonTemplate.d.ts +20 -0
  158. package/lib/esm/components/SCLessonTemplate.js +18 -0
  159. package/lib/esm/components/SCLiveStreamForm.d.ts +9 -0
  160. package/lib/esm/components/SCLiveStreamForm.js +10 -1
  161. package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -1
  162. package/lib/esm/components/SCLiveStreamRoom.js +27 -1
  163. package/lib/esm/components/SCLiveStreamSelector.d.ts +2 -0
  164. package/lib/esm/components/SCLiveStreamSelector.js +3 -1
  165. package/lib/esm/components/SCLiveStreamVideoConference.d.ts +2 -1
  166. package/lib/esm/components/SCLiveStreamVideoConference.js +2 -1
  167. package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
  168. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  169. package/lib/esm/components/SCPaymentProduct.d.ts +55 -0
  170. package/lib/esm/components/SCPaymentProduct.js +51 -0
  171. package/lib/esm/components/SCPaymentProductPrice.d.ts +15 -0
  172. package/lib/esm/components/SCPaymentProductPrice.js +11 -0
  173. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  174. package/lib/esm/components/SCPaymentProducts.js +11 -0
  175. package/lib/esm/components/SCPrivateMessageThreadItem.d.ts +2 -0
  176. package/lib/esm/components/SCPrivateMessageThreadItem.js +2 -1
  177. package/lib/esm/fonts/community/icons.eot +0 -0
  178. package/lib/esm/fonts/community/icons.svg +9 -3
  179. package/lib/esm/fonts/community/icons.ttf +0 -0
  180. package/lib/esm/fonts/community/icons.woff +0 -0
  181. package/lib/esm/fonts/community/icons.woff2 +0 -0
  182. package/lib/esm/fonts/community-icons.css +15 -6
  183. package/lib/esm/index.d.ts +2737 -612
  184. package/lib/esm/index.js +76 -2
  185. package/lib/umd/community/icons.eot +0 -0
  186. package/lib/umd/community/icons.svg +9 -3
  187. package/lib/umd/community/icons.ttf +0 -0
  188. package/lib/umd/community/icons.woff +0 -0
  189. package/lib/umd/community/icons.woff2 +0 -0
  190. package/lib/umd/react-theme-default.js +1 -1
  191. package/package.json +2 -2
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ gap: theme.spacing(0.5),
7
+ '& .SCCourseInfoDetails-icon-text-wrapper': {
8
+ flexDirection: 'row',
9
+ alignItems: 'center',
10
+ gap: theme.spacing(0.75),
11
+ '& > p': {
12
+ textTransform: 'capitalize'
13
+ },
14
+ '& .SCCourseInfoDetails-link': {
15
+ textDecoration: 'none',
16
+ color: theme.palette.text.primary,
17
+ '&:hover': {
18
+ textDecoration: 'underlined'
19
+ },
20
+ '& .SCCourseInfoDetails-url': {
21
+ overflow: 'hidden',
22
+ textOverflow: 'ellipsis',
23
+ display: '-webkit-box',
24
+ '-webkit-line-clamp': '1',
25
+ '-webkit-box-orient': 'vertical'
26
+ }
27
+ },
28
+ '& .SCCourseInfoDetails-in-progress': {
29
+ width: '6px',
30
+ height: '6px',
31
+ borderRadius: '9999px',
32
+ backgroundColor: theme.palette.secondary.main
33
+ }
34
+ },
35
+ '& .SCCourseInfoDetails-creation-wrapper': {
36
+ flexDirection: 'row',
37
+ alignItems: 'center',
38
+ gap: theme.spacing(1)
39
+ }
40
+ })
41
+ }
42
+ };
43
+ exports.default = Component;
@@ -0,0 +1,56 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme, enrolled }: {
4
+ theme: any;
5
+ enrolled: any;
6
+ }) => {
7
+ padding: number;
8
+ gap: any;
9
+ marginTop: string;
10
+ minWidth: string;
11
+ '&:hover': {
12
+ backgroundColor: string;
13
+ };
14
+ '& .MuiAvatarGroup-root': {
15
+ '&:not(.SCAvatarCourseSkeleton-root) .MuiAvatar-root': {
16
+ '&.MuiAvatar-colorDefault': {
17
+ marginLeft: number;
18
+ backgroundColor: string;
19
+ color: any;
20
+ border: string;
21
+ borderRadius: number;
22
+ padding: number;
23
+ };
24
+ };
25
+ '& .MuiAvatar-root': {
26
+ height: any;
27
+ border: string;
28
+ fontSize: string;
29
+ '&:first-of-type': {
30
+ width: any;
31
+ };
32
+ '&:not(:first-of-type)': {
33
+ width: any;
34
+ };
35
+ };
36
+ };
37
+ '& .SCCourseParticipantsButton-participants': {
38
+ color: any;
39
+ '& .MuiIcon-root': {
40
+ marginRight: any;
41
+ };
42
+ };
43
+ };
44
+ dialogRoot: ({ theme }: {
45
+ theme: any;
46
+ }) => {
47
+ '& .SCCourseParticipantsButton-infinite-scroll': {
48
+ [x: number]: {
49
+ height: string;
50
+ };
51
+ height: string;
52
+ };
53
+ };
54
+ };
55
+ };
56
+ export default Component;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme, enrolled }) => ({
6
+ padding: 0,
7
+ gap: theme.spacing(1),
8
+ marginTop: '0 !important',
9
+ minWidth: 'auto',
10
+ '&:hover': {
11
+ backgroundColor: 'unset'
12
+ },
13
+ '& .MuiAvatarGroup-root': {
14
+ '&:not(.SCAvatarCourseSkeleton-root) .MuiAvatar-root': {
15
+ '&.MuiAvatar-colorDefault': {
16
+ marginLeft: 0,
17
+ backgroundColor: 'transparent',
18
+ color: theme.palette.primary.main,
19
+ border: '0 none',
20
+ borderRadius: 0,
21
+ padding: 1
22
+ }
23
+ },
24
+ '& .MuiAvatar-root': {
25
+ height: theme.selfcommunity.user.avatar.sizeSmall,
26
+ border: `1px solid ${theme.palette.common.white}`,
27
+ fontSize: '0.7rem',
28
+ '&:first-of-type': {
29
+ width: enrolled > 3 ? 'auto' : theme.selfcommunity.user.avatar.sizeSmall
30
+ },
31
+ '&:not(:first-of-type)': {
32
+ width: theme.selfcommunity.user.avatar.sizeSmall
33
+ }
34
+ }
35
+ },
36
+ '& .SCCourseParticipantsButton-participants': {
37
+ color: theme.palette.text.primary,
38
+ '& .MuiIcon-root': {
39
+ marginRight: theme.spacing(1)
40
+ }
41
+ }
42
+ }),
43
+ dialogRoot: ({ theme }) => ({
44
+ '& .SCCourseParticipantsButton-infinite-scroll': {
45
+ height: '400px !important',
46
+ [theme.breakpoints.down('md')]: {
47
+ height: '100%'
48
+ }
49
+ }
50
+ })
51
+ }
52
+ };
53
+ exports.default = Component;
@@ -0,0 +1,86 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCCourseUsersTable-search': {
7
+ '& > .MuiInputBase-root': {
8
+ borderBottomLeftRadius: string;
9
+ borderBottomRightRadius: string;
10
+ };
11
+ };
12
+ '& .SCCourseUsersTable-avatar-wrapper': {
13
+ flexDirection: string;
14
+ alignItems: string;
15
+ gap: any;
16
+ '& .MuiAvatar-root': {
17
+ width: string;
18
+ height: string;
19
+ };
20
+ };
21
+ '& .SCCourseUsersTable-progress-wrapper': {
22
+ flexDirection: string;
23
+ alignItems: string;
24
+ gap: string;
25
+ '& .SCCourseUsersTable-progress': {
26
+ [x: number]: {
27
+ display: string;
28
+ };
29
+ width: string;
30
+ borderRadius: string;
31
+ backgroundColor: any;
32
+ };
33
+ };
34
+ '& .SCCourseUsersTable-request-button-wrapper': {
35
+ flexDirection: string;
36
+ gap: string;
37
+ };
38
+ '& .SCCourseUsersTable-loading-button': {
39
+ marginTop: any;
40
+ marginLeft: any;
41
+ };
42
+ };
43
+ skeletonRoot: ({ theme }: {
44
+ theme: any;
45
+ }) => {
46
+ paddingTop: any;
47
+ };
48
+ dialogRoot: ({ theme }: {
49
+ theme: any;
50
+ }) => {
51
+ '& .MuiDialogContent-root': {
52
+ [x: number]: {
53
+ paddingBottom: string;
54
+ };
55
+ '& .SCCourseUsersTable-content-wrapper': {
56
+ [x: number]: {
57
+ marginTop: string;
58
+ };
59
+ gap: any;
60
+ '& .SCCourseUsersTable-info-outer-wrapper': {
61
+ gap: string;
62
+ border: string;
63
+ borderRadius: string;
64
+ padding: any;
65
+ '& .SCCourseUsersTable-info-inner-wrapper': {
66
+ flexDirection: string;
67
+ alignItems: string;
68
+ justifyContent: string;
69
+ marginBottom: any;
70
+ '& .SCCourseUsersTable-avatar-wrapper': {
71
+ flexDirection: string;
72
+ alignItems: string;
73
+ gap: any;
74
+ '& .SCCourseUsersTable-avatar': {
75
+ width: string;
76
+ height: string;
77
+ };
78
+ };
79
+ };
80
+ };
81
+ };
82
+ };
83
+ };
84
+ };
85
+ };
86
+ export default Component;
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCCourseUsersTable-search': {
7
+ '& > .MuiInputBase-root': {
8
+ borderBottomLeftRadius: 'unset',
9
+ borderBottomRightRadius: 'unset'
10
+ }
11
+ },
12
+ '& .SCCourseUsersTable-avatar-wrapper': {
13
+ flexDirection: 'row',
14
+ alignItems: 'center',
15
+ gap: theme.spacing(2),
16
+ '& .MuiAvatar-root': {
17
+ width: '30px',
18
+ height: '30px'
19
+ }
20
+ },
21
+ '& .SCCourseUsersTable-progress-wrapper': {
22
+ flexDirection: 'row',
23
+ alignItems: 'center',
24
+ gap: '4px',
25
+ '& .SCCourseUsersTable-progress': {
26
+ width: '100%',
27
+ borderRadius: '28px',
28
+ backgroundColor: theme.palette.grey['300'],
29
+ [theme.breakpoints.down('sm')]: {
30
+ display: 'none'
31
+ }
32
+ }
33
+ },
34
+ '& .SCCourseUsersTable-request-button-wrapper': {
35
+ flexDirection: 'row',
36
+ gap: '5px'
37
+ },
38
+ '& .SCCourseUsersTable-loading-button': {
39
+ marginTop: theme.spacing(3),
40
+ marginLeft: theme.spacing(3)
41
+ }
42
+ }),
43
+ skeletonRoot: ({ theme }) => ({
44
+ paddingTop: theme.spacing(3)
45
+ }),
46
+ dialogRoot: ({ theme }) => ({
47
+ '& .MuiDialogContent-root': {
48
+ [theme.breakpoints.down('md')]: {
49
+ paddingBottom: '20px'
50
+ },
51
+ '& .SCCourseUsersTable-content-wrapper': {
52
+ gap: theme.spacing(1),
53
+ [theme.breakpoints.down('md')]: {
54
+ marginTop: '22px'
55
+ },
56
+ '& .SCCourseUsersTable-info-outer-wrapper': {
57
+ gap: '9px',
58
+ border: `1px solid ${theme.palette.grey['300']}`,
59
+ borderRadius: '10px',
60
+ padding: theme.spacing('15px', 3, '25px'),
61
+ '& .SCCourseUsersTable-info-inner-wrapper': {
62
+ flexDirection: 'row',
63
+ alignItems: 'center',
64
+ justifyContent: 'space-between',
65
+ marginBottom: theme.spacing(2),
66
+ '& .SCCourseUsersTable-avatar-wrapper': {
67
+ flexDirection: 'row',
68
+ alignItems: 'center',
69
+ gap: theme.spacing(1),
70
+ '& .SCCourseUsersTable-avatar': {
71
+ width: '30px',
72
+ height: '30px'
73
+ }
74
+ }
75
+ }
76
+ }
77
+ }
78
+ }
79
+ })
80
+ }
81
+ };
82
+ exports.default = Component;
@@ -0,0 +1,133 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCCourses-filters': {
5
+ alignItems: string;
6
+ marginTop: any;
7
+ marginBottom: any;
8
+ '& .SCCourses-search': {
9
+ '& .MuiInputBase-root': {
10
+ paddingRight: number;
11
+ '& .MuiButtonBase-root': {
12
+ borderRadius: string;
13
+ height: string;
14
+ '& .MuiButton-endIcon': {
15
+ margin: number;
16
+ };
17
+ };
18
+ };
19
+ };
20
+ '& .SCCourses-category': {
21
+ borderRadius: any;
22
+ minWidth: string;
23
+ '& .MuiTextField-root': {
24
+ margin: number;
25
+ '& .MuiInputBase-root': {
26
+ padding: any;
27
+ };
28
+ };
29
+ };
30
+ };
31
+ '& .SCCourses-courses': {
32
+ [x: number]: {
33
+ marginBottom: any;
34
+ };
35
+ marginTop: any;
36
+ '& .SCCourses-item': {
37
+ paddingTop: any;
38
+ };
39
+ '& .SCCourses-item-placeholder': {
40
+ paddingTop: any;
41
+ };
42
+ '& .SCBaseItem-root': {
43
+ display: string;
44
+ justifyContent: string;
45
+ };
46
+ '& .SCCourse-skeleton-preview-name': {
47
+ marginTop: number;
48
+ marginBottom: number;
49
+ };
50
+ '& .SCCourse-skeleton-snippet .SCBaseItem-content': {
51
+ maxWidth: string;
52
+ };
53
+ };
54
+ '& .SCCourses-no-results': {
55
+ marginTop: any;
56
+ display: string;
57
+ flexDirection: string;
58
+ alignItems: string;
59
+ '& .SCCourses-student-empty-view': {
60
+ alignItems: string;
61
+ justifyContent: string;
62
+ gap: string;
63
+ padding: any;
64
+ marginTop: string;
65
+ '& h5': {
66
+ fontWeight: any;
67
+ marginBottom: any;
68
+ };
69
+ '& .SCCourses-skeleton-item': {
70
+ [x: number]: {
71
+ width: string;
72
+ };
73
+ minWidth: string;
74
+ };
75
+ '& .SCCourses-empty-box': {
76
+ width: string;
77
+ height: string;
78
+ border: string;
79
+ borderRadius: string;
80
+ marginBottom: string;
81
+ '& .SCCourses-empty-rotated-box': {
82
+ width: string;
83
+ height: string;
84
+ border: string;
85
+ borderRadius: string;
86
+ transform: string;
87
+ alignItems: string;
88
+ justifyContent: string;
89
+ '& .SCCourses-empty-icon': {
90
+ transform: string;
91
+ fontSize: any;
92
+ color: any;
93
+ };
94
+ };
95
+ };
96
+ };
97
+ '& .SCCourses-teacher-empty-view': {
98
+ width: string;
99
+ '& .SCCourses-skeleton-item': {
100
+ [x: number]: {
101
+ width: string;
102
+ };
103
+ minWidth: string;
104
+ };
105
+ };
106
+ };
107
+ '& .SCCourses-show-more': {
108
+ paddingLeft: any;
109
+ '&.Mui-selected, &:hover': {
110
+ backgroundColor: string;
111
+ };
112
+ };
113
+ };
114
+ skeletonRoot: ({ theme }: any) => {
115
+ '& .SCCourses-skeleton-courses': {
116
+ marginTop: any;
117
+ '& .SCCourses-skeleton-item': {
118
+ paddingTop: any;
119
+ };
120
+ };
121
+ };
122
+ coursesChipRoot: ({ theme, showForMe, showMyCourses }: any) => {
123
+ height: any;
124
+ borderRadius: any;
125
+ color: any;
126
+ '& .MuiIcon-root': {
127
+ fontSize: string;
128
+ color: any;
129
+ };
130
+ };
131
+ };
132
+ };
133
+ export default Component;
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCCourses-filters': {
7
+ alignItems: 'center',
8
+ marginTop: theme.spacing(),
9
+ marginBottom: theme.spacing(2),
10
+ '& .SCCourses-search': {
11
+ '& .MuiInputBase-root': {
12
+ paddingRight: 0,
13
+ '& .MuiButtonBase-root': {
14
+ borderRadius: '0 5px 5px 0',
15
+ height: '37px',
16
+ '& .MuiButton-endIcon': {
17
+ margin: 0
18
+ }
19
+ }
20
+ }
21
+ },
22
+ '& .SCCourses-category': {
23
+ borderRadius: theme.spacing(0.5),
24
+ minWidth: '213px',
25
+ '& .MuiTextField-root': {
26
+ margin: 0,
27
+ '& .MuiInputBase-root': {
28
+ padding: theme.spacing(1, 2, 1, 2)
29
+ }
30
+ }
31
+ }
32
+ },
33
+ '& .SCCourses-courses': {
34
+ marginTop: theme.spacing(2),
35
+ [theme.breakpoints.down('md')]: {
36
+ marginBottom: theme.spacing(7)
37
+ },
38
+ '& .SCCourses-item': {
39
+ paddingTop: theme.spacing(2)
40
+ },
41
+ '& .SCCourses-item-placeholder': {
42
+ paddingTop: theme.spacing(2)
43
+ },
44
+ '& .SCBaseItem-root': {
45
+ display: 'flex',
46
+ justifyContent: 'space-between'
47
+ },
48
+ '& .SCCourse-skeleton-preview-name': {
49
+ marginTop: 6,
50
+ marginBottom: 6
51
+ },
52
+ '& .SCCourse-skeleton-snippet .SCBaseItem-content': {
53
+ maxWidth: '70%'
54
+ }
55
+ },
56
+ '& .SCCourses-no-results': {
57
+ marginTop: theme.spacing(5),
58
+ display: 'flex',
59
+ flexDirection: 'column',
60
+ alignItems: 'center',
61
+ '& .SCCourses-student-empty-view': {
62
+ alignItems: 'center',
63
+ justifyContent: 'center',
64
+ gap: '10px',
65
+ padding: theme.spacing(3),
66
+ marginTop: '9px',
67
+ '& h5': {
68
+ fontWeight: theme.typography.fontWeightBold,
69
+ marginBottom: theme.spacing(0.5)
70
+ },
71
+ '& .SCCourses-skeleton-item': {
72
+ minWidth: '250px',
73
+ [theme.breakpoints.down('md')]: {
74
+ width: '100%'
75
+ }
76
+ },
77
+ '& .SCCourses-empty-box': {
78
+ width: '130px',
79
+ height: '130px',
80
+ border: `2px solid ${theme.palette.grey[300]}`,
81
+ borderRadius: '20px',
82
+ marginBottom: '10px',
83
+ '& .SCCourses-empty-rotated-box': {
84
+ width: 'inherit',
85
+ height: 'inherit',
86
+ border: 'inherit',
87
+ borderRadius: 'inherit',
88
+ transform: 'rotate(-25deg)',
89
+ alignItems: 'center',
90
+ justifyContent: 'center',
91
+ '& .SCCourses-empty-icon': {
92
+ transform: 'rotate(25deg)',
93
+ fontSize: theme.spacing(8),
94
+ color: theme.palette.grey[400]
95
+ }
96
+ }
97
+ }
98
+ },
99
+ '& .SCCourses-teacher-empty-view': {
100
+ width: '100%',
101
+ '& .SCCourses-skeleton-item': {
102
+ minWidth: '250px',
103
+ [theme.breakpoints.down('md')]: {
104
+ width: '100%'
105
+ }
106
+ }
107
+ }
108
+ },
109
+ '& .SCCourses-show-more': {
110
+ paddingLeft: theme.spacing(1),
111
+ '&.Mui-selected, &:hover': {
112
+ backgroundColor: 'transparent'
113
+ }
114
+ }
115
+ }),
116
+ skeletonRoot: ({ theme }) => ({
117
+ '& .SCCourses-skeleton-courses': {
118
+ marginTop: theme.spacing(2),
119
+ '& .SCCourses-skeleton-item': {
120
+ paddingTop: theme.spacing(2)
121
+ }
122
+ }
123
+ }),
124
+ coursesChipRoot: ({ theme, showForMe, showMyCourses }) => ({
125
+ height: theme.spacing(5.25),
126
+ borderRadius: theme.spacing(0.5),
127
+ color: showForMe || showMyCourses ? theme.palette.common.white : theme.palette.text.primary,
128
+ '& .MuiIcon-root': {
129
+ fontSize: '1rem',
130
+ color: theme.palette.common.white
131
+ }
132
+ })
133
+ }
134
+ };
135
+ exports.default = Component;
@@ -0,0 +1,12 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .MuiButton-startIcon': {
5
+ '& .MuiIcon-root': {
6
+ fontSize: string;
7
+ };
8
+ };
9
+ };
10
+ };
11
+ };
12
+ export default Component;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .MuiButton-startIcon': {
7
+ '& .MuiIcon-root': {
8
+ fontSize: '0.75rem !important'
9
+ }
10
+ }
11
+ })
12
+ }
13
+ };
14
+ exports.default = Component;