@selfcommunity/react-theme-default 0.4.5-payments.166 → 0.4.5-payments.169
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.
- package/lib/cjs/components/SCAccordionLessons.d.ts +15 -0
- package/lib/cjs/components/SCAccordionLessons.js +16 -1
- package/lib/cjs/components/SCAddUsersButton.d.ts +7 -1
- package/lib/cjs/components/SCAddUsersButton.js +6 -1
- package/lib/cjs/components/SCCourse.d.ts +4 -1
- package/lib/cjs/components/SCCourse.js +4 -1
- package/lib/cjs/components/SCCourseContentMenu.d.ts +3 -1
- package/lib/cjs/components/SCCourseContentMenu.js +3 -1
- package/lib/cjs/components/SCCourseDashboard.d.ts +18 -4
- package/lib/cjs/components/SCCourseDashboard.js +23 -8
- package/lib/cjs/components/SCCourseForm.d.ts +50 -3
- package/lib/cjs/components/SCCourseForm.js +52 -7
- package/lib/cjs/components/SCCourseTypePopover.d.ts +23 -0
- package/lib/cjs/components/SCCourseTypePopover.js +24 -0
- package/lib/cjs/components/SCCourseUsersTable.d.ts +16 -0
- package/lib/cjs/components/SCCourseUsersTable.js +16 -0
- package/lib/cjs/components/SCCourses.d.ts +10 -5
- package/lib/cjs/components/SCCourses.js +11 -6
- package/lib/cjs/components/SCEditCourse.d.ts +176 -130
- package/lib/cjs/components/SCEditCourse.js +185 -138
- package/lib/cjs/components/SCEmptyStatus.d.ts +1 -0
- package/lib/cjs/components/SCEmptyStatus.js +1 -0
- package/lib/cjs/components/SCEvent.d.ts +22 -0
- package/lib/cjs/components/SCEvent.js +22 -0
- package/lib/cjs/components/SCEventForm.d.ts +3 -0
- package/lib/cjs/components/SCEventForm.js +3 -0
- package/lib/cjs/components/SCEventFormDialog.d.ts +9 -0
- package/lib/cjs/components/SCEventFormDialog.js +9 -0
- package/lib/cjs/components/SCEvents.d.ts +11 -1
- package/lib/cjs/components/SCEvents.js +12 -2
- package/lib/cjs/components/SCGroupForm.d.ts +3 -0
- package/lib/cjs/components/SCGroupForm.js +3 -0
- package/lib/cjs/components/SCLessonCommentObjects.d.ts +3 -1
- package/lib/cjs/components/SCLessonCommentObjects.js +4 -2
- package/lib/cjs/components/SCLessonDrawer.d.ts +3 -1
- package/lib/cjs/components/SCLessonDrawer.js +3 -1
- package/lib/cjs/components/SCLessonObject.d.ts +4 -1
- package/lib/cjs/components/SCLessonObject.js +5 -2
- package/lib/cjs/components/SCLessonTemplate.d.ts +5 -0
- package/lib/cjs/components/SCLessonTemplate.js +4 -0
- package/lib/cjs/components/SCNotification.d.ts +22 -0
- package/lib/cjs/components/SCNotification.js +22 -0
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +150 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +153 -0
- package/lib/cjs/index.d.ts +561 -159
- package/lib/cjs/index.js +5 -1
- package/lib/esm/components/SCAccordionLessons.d.ts +15 -0
- package/lib/esm/components/SCAccordionLessons.js +16 -1
- package/lib/esm/components/SCAddUsersButton.d.ts +7 -1
- package/lib/esm/components/SCAddUsersButton.js +6 -1
- package/lib/esm/components/SCCourse.d.ts +4 -1
- package/lib/esm/components/SCCourse.js +4 -1
- package/lib/esm/components/SCCourseContentMenu.d.ts +3 -1
- package/lib/esm/components/SCCourseContentMenu.js +3 -1
- package/lib/esm/components/SCCourseDashboard.d.ts +18 -4
- package/lib/esm/components/SCCourseDashboard.js +23 -8
- package/lib/esm/components/SCCourseForm.d.ts +50 -3
- package/lib/esm/components/SCCourseForm.js +49 -4
- package/lib/esm/components/SCCourseTypePopover.d.ts +23 -0
- package/lib/esm/components/SCCourseTypePopover.js +22 -0
- package/lib/esm/components/SCCourseUsersTable.d.ts +16 -0
- package/lib/esm/components/SCCourseUsersTable.js +16 -0
- package/lib/esm/components/SCCourses.d.ts +10 -5
- package/lib/esm/components/SCCourses.js +11 -6
- package/lib/esm/components/SCEditCourse.d.ts +176 -130
- package/lib/esm/components/SCEditCourse.js +185 -138
- package/lib/esm/components/SCEmptyStatus.d.ts +1 -0
- package/lib/esm/components/SCEmptyStatus.js +1 -0
- package/lib/esm/components/SCEvent.d.ts +22 -0
- package/lib/esm/components/SCEvent.js +22 -0
- package/lib/esm/components/SCEventForm.d.ts +3 -0
- package/lib/esm/components/SCEventForm.js +3 -0
- package/lib/esm/components/SCEventFormDialog.d.ts +9 -0
- package/lib/esm/components/SCEventFormDialog.js +9 -0
- package/lib/esm/components/SCEvents.d.ts +11 -1
- package/lib/esm/components/SCEvents.js +12 -2
- package/lib/esm/components/SCGroupForm.d.ts +3 -0
- package/lib/esm/components/SCGroupForm.js +3 -0
- package/lib/esm/components/SCLessonCommentObjects.d.ts +3 -1
- package/lib/esm/components/SCLessonCommentObjects.js +4 -2
- package/lib/esm/components/SCLessonDrawer.d.ts +3 -1
- package/lib/esm/components/SCLessonDrawer.js +3 -1
- package/lib/esm/components/SCLessonObject.d.ts +4 -1
- package/lib/esm/components/SCLessonObject.js +5 -2
- package/lib/esm/components/SCLessonTemplate.d.ts +5 -0
- package/lib/esm/components/SCLessonTemplate.js +4 -0
- package/lib/esm/components/SCNotification.d.ts +22 -0
- package/lib/esm/components/SCNotification.js +22 -0
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +150 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +151 -0
- package/lib/esm/index.d.ts +561 -159
- package/lib/esm/index.js +5 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: {
|
|
4
4
|
theme: any;
|
|
5
5
|
}) => {
|
|
6
|
+
backgroundColor: any;
|
|
6
7
|
border: string;
|
|
7
8
|
borderRadius: string;
|
|
8
9
|
'& .SCAccordionLessons-empty': {
|
|
@@ -18,6 +19,11 @@ declare const Component: {
|
|
|
18
19
|
'& .MuiAccordionSummary-content': {
|
|
19
20
|
justifyContent: string;
|
|
20
21
|
margin: number;
|
|
22
|
+
'& .SCAccordionLessons-name-wrapper': {
|
|
23
|
+
flexDirection: string;
|
|
24
|
+
alignItems: string;
|
|
25
|
+
gap: string;
|
|
26
|
+
};
|
|
21
27
|
};
|
|
22
28
|
};
|
|
23
29
|
'& .SCAccordionLessons-details': {
|
|
@@ -35,6 +41,15 @@ declare const Component: {
|
|
|
35
41
|
borderRadius: string;
|
|
36
42
|
backgroundColor: any;
|
|
37
43
|
};
|
|
44
|
+
'& .SCAccordionLessons-link': {
|
|
45
|
+
textDecoration: string;
|
|
46
|
+
padding: number;
|
|
47
|
+
justifyContent: string;
|
|
48
|
+
'&:hover': {
|
|
49
|
+
backgroundColor: string;
|
|
50
|
+
textDecoration: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
38
53
|
};
|
|
39
54
|
};
|
|
40
55
|
};
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
backgroundColor: theme.palette.common.white,
|
|
6
7
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
7
8
|
borderRadius: '5px',
|
|
8
9
|
'& .SCAccordionLessons-empty': {
|
|
@@ -17,7 +18,12 @@ const Component = {
|
|
|
17
18
|
backgroundColor: theme.palette.grey['200'],
|
|
18
19
|
'& .MuiAccordionSummary-content': {
|
|
19
20
|
justifyContent: 'space-between',
|
|
20
|
-
margin: 0
|
|
21
|
+
margin: 0,
|
|
22
|
+
'& .SCAccordionLessons-name-wrapper': {
|
|
23
|
+
flexDirection: 'row',
|
|
24
|
+
alignItems: 'center',
|
|
25
|
+
gap: '5px'
|
|
26
|
+
}
|
|
21
27
|
}
|
|
22
28
|
},
|
|
23
29
|
'& .SCAccordionLessons-details': {
|
|
@@ -34,6 +40,15 @@ const Component = {
|
|
|
34
40
|
height: theme.spacing(2),
|
|
35
41
|
borderRadius: '9999px',
|
|
36
42
|
backgroundColor: theme.palette.grey['300']
|
|
43
|
+
},
|
|
44
|
+
'& .SCAccordionLessons-link': {
|
|
45
|
+
textDecoration: 'underline',
|
|
46
|
+
padding: 0,
|
|
47
|
+
justifyContent: 'space-between',
|
|
48
|
+
'&:hover': {
|
|
49
|
+
backgroundColor: 'unset',
|
|
50
|
+
textDecoration: 'underline'
|
|
51
|
+
}
|
|
37
52
|
}
|
|
38
53
|
}
|
|
39
54
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const material_1 = require("@mui/material");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
|
-
root: () => ({
|
|
6
|
+
root: ({ theme }) => ({
|
|
7
|
+
'&.SCAddUsersButton-contrast-color': {
|
|
8
|
+
color: (0, material_1.getContrastRatio)(theme.palette.background.default, theme.palette.common.white) > 4.5 ? theme.palette.common.white : undefined
|
|
9
|
+
}
|
|
10
|
+
}),
|
|
6
11
|
dialogRoot: () => ({
|
|
7
12
|
'& .MuiDialogActions-root': {
|
|
8
13
|
marginTop: '36px'
|
|
@@ -8,6 +8,9 @@ declare const Component: {
|
|
|
8
8
|
backgroundColor: any;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
+
'& .MuiButtonBase-root': {
|
|
12
|
+
paddingLeft: any;
|
|
13
|
+
};
|
|
11
14
|
};
|
|
12
15
|
'& .SCCourseContentMenu-list-item': {
|
|
13
16
|
'&:hover, &:focus, &:active': {
|
|
@@ -19,7 +22,6 @@ declare const Component: {
|
|
|
19
22
|
color: any;
|
|
20
23
|
};
|
|
21
24
|
'& .SCCourseContentMenu-item': {
|
|
22
|
-
padding: any;
|
|
23
25
|
'& .MuiListItemText-primary': {
|
|
24
26
|
fontWeight: any;
|
|
25
27
|
};
|
|
@@ -9,6 +9,9 @@ const Component = {
|
|
|
9
9
|
'&:hover, &:focus, &:active': {
|
|
10
10
|
backgroundColor: theme.palette.grey[300]
|
|
11
11
|
}
|
|
12
|
+
},
|
|
13
|
+
'& .MuiButtonBase-root': {
|
|
14
|
+
paddingLeft: theme.spacing(5)
|
|
12
15
|
}
|
|
13
16
|
},
|
|
14
17
|
'& .SCCourseContentMenu-list-item': {
|
|
@@ -21,7 +24,6 @@ const Component = {
|
|
|
21
24
|
color: theme.palette.text.secondary
|
|
22
25
|
},
|
|
23
26
|
'& .SCCourseContentMenu-item': {
|
|
24
|
-
padding: theme.spacing(0.5, 0, 0.5, 3),
|
|
25
27
|
'& .MuiListItemText-primary': {
|
|
26
28
|
fontWeight: theme.typography.fontWeightMedium
|
|
27
29
|
},
|
|
@@ -6,6 +6,9 @@ declare const Component: {
|
|
|
6
6
|
[x: number]: {
|
|
7
7
|
marginBottom: string;
|
|
8
8
|
};
|
|
9
|
+
'& .SCCourseDashboard-contrast-color': {
|
|
10
|
+
color: any;
|
|
11
|
+
};
|
|
9
12
|
'& .SCCourseDashboard-header': {
|
|
10
13
|
[x: number]: {
|
|
11
14
|
paddingLeft: string;
|
|
@@ -21,6 +24,8 @@ declare const Component: {
|
|
|
21
24
|
borderBottomLeftRadius: string;
|
|
22
25
|
borderBottomRightRadius: string;
|
|
23
26
|
marginBottom: string;
|
|
27
|
+
objectFit: string;
|
|
28
|
+
objectPosition: string;
|
|
24
29
|
};
|
|
25
30
|
'& .SCCourseDashboard-header-outer-wrapper': {
|
|
26
31
|
[x: number]: {
|
|
@@ -70,6 +75,7 @@ declare const Component: {
|
|
|
70
75
|
border: string;
|
|
71
76
|
borderRadius: string;
|
|
72
77
|
padding: any;
|
|
78
|
+
backgroundColor: any;
|
|
73
79
|
'& .SCCourseParticipantsButton-root': {
|
|
74
80
|
justifyContent: string;
|
|
75
81
|
padding: number;
|
|
@@ -97,9 +103,12 @@ declare const Component: {
|
|
|
97
103
|
};
|
|
98
104
|
'& .SCCourseDashboard-comments-container': {
|
|
99
105
|
[x: number]: {
|
|
100
|
-
|
|
101
|
-
paddingRight: string;
|
|
106
|
+
padding: any;
|
|
102
107
|
};
|
|
108
|
+
backgroundColor: any;
|
|
109
|
+
border: string;
|
|
110
|
+
borderRadius: string;
|
|
111
|
+
padding: any;
|
|
103
112
|
'& .SCCourseDashboard-outer-wrapper': {
|
|
104
113
|
marginTop: string;
|
|
105
114
|
marginBottom: string;
|
|
@@ -133,6 +142,9 @@ declare const Component: {
|
|
|
133
142
|
};
|
|
134
143
|
};
|
|
135
144
|
'&.SCCourseDashboard-student-container': {
|
|
145
|
+
'& .SCCourseDashboard-description': {
|
|
146
|
+
whiteSpace: string;
|
|
147
|
+
};
|
|
136
148
|
'& .SCCourseDashboard-accordion': {
|
|
137
149
|
borderTopLeftRadius: string;
|
|
138
150
|
borderTopRightRadius: string;
|
|
@@ -141,12 +153,12 @@ declare const Component: {
|
|
|
141
153
|
flexDirection: string;
|
|
142
154
|
alignItems: string;
|
|
143
155
|
justifyContent: string;
|
|
156
|
+
backgroundColor: any;
|
|
157
|
+
padding: string;
|
|
144
158
|
'& .SCCourseDashboard-user': {
|
|
145
159
|
flexDirection: string;
|
|
146
160
|
alignItems: string;
|
|
147
161
|
gap: string;
|
|
148
|
-
marginTop: string;
|
|
149
|
-
marginBottom: string;
|
|
150
162
|
'& .SCCourseDashboard-avatar': {
|
|
151
163
|
width: string;
|
|
152
164
|
height: string;
|
|
@@ -177,6 +189,7 @@ declare const Component: {
|
|
|
177
189
|
borderTopLeftRadius: string;
|
|
178
190
|
borderTopRightRadius: string;
|
|
179
191
|
padding: string;
|
|
192
|
+
backgroundColor: any;
|
|
180
193
|
'& .SCCourseDashboard-circle': {
|
|
181
194
|
width: string;
|
|
182
195
|
height: string;
|
|
@@ -193,6 +206,7 @@ declare const Component: {
|
|
|
193
206
|
border: string;
|
|
194
207
|
borderRadius: string;
|
|
195
208
|
padding: string;
|
|
209
|
+
backgroundColor: any;
|
|
196
210
|
};
|
|
197
211
|
'& .SCCourseDashboard-percentage-wrapper': {
|
|
198
212
|
[x: number]: {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const material_1 = require("@mui/material");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
6
|
root: ({ theme }) => ({
|
|
6
7
|
[theme.breakpoints.down('sm')]: {
|
|
7
8
|
marginBottom: '56px'
|
|
8
9
|
},
|
|
10
|
+
'& .SCCourseDashboard-contrast-color': {
|
|
11
|
+
color: (0, material_1.getContrastRatio)(theme.palette.background.default, theme.palette.common.white) > 4.5 ? theme.palette.common.white : undefined
|
|
12
|
+
},
|
|
9
13
|
'& .SCCourseDashboard-header': {
|
|
10
14
|
[theme.breakpoints.down('sm')]: {
|
|
11
15
|
paddingLeft: '14px',
|
|
@@ -18,6 +22,8 @@ const Component = {
|
|
|
18
22
|
borderBottomLeftRadius: '10px',
|
|
19
23
|
borderBottomRightRadius: '10px',
|
|
20
24
|
marginBottom: '17px',
|
|
25
|
+
objectFit: 'cover',
|
|
26
|
+
objectPosition: 'center',
|
|
21
27
|
[theme.breakpoints.down('sm')]: {
|
|
22
28
|
display: 'none'
|
|
23
29
|
}
|
|
@@ -65,8 +71,9 @@ const Component = {
|
|
|
65
71
|
flex: 1,
|
|
66
72
|
gap: '6px',
|
|
67
73
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
68
|
-
borderRadius: '
|
|
74
|
+
borderRadius: '5px',
|
|
69
75
|
padding: theme.spacing('17px', 3, '19px'),
|
|
76
|
+
backgroundColor: theme.palette.common.white,
|
|
70
77
|
'& .SCCourseParticipantsButton-root': {
|
|
71
78
|
justifyContent: 'flex-start',
|
|
72
79
|
padding: 0
|
|
@@ -86,16 +93,19 @@ const Component = {
|
|
|
86
93
|
}
|
|
87
94
|
},
|
|
88
95
|
'& .SCCourseDashboard-tab-panel': {
|
|
89
|
-
padding: theme.spacing(3, 0
|
|
96
|
+
padding: theme.spacing(3, 0),
|
|
90
97
|
[theme.breakpoints.down('md')]: {
|
|
91
98
|
paddingLeft: '14px',
|
|
92
99
|
paddingRight: '14px'
|
|
93
100
|
}
|
|
94
101
|
},
|
|
95
102
|
'& .SCCourseDashboard-comments-container': {
|
|
103
|
+
backgroundColor: theme.palette.common.white,
|
|
104
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
105
|
+
borderRadius: '5px',
|
|
106
|
+
padding: theme.spacing(1),
|
|
96
107
|
[theme.breakpoints.up('sm')]: {
|
|
97
|
-
|
|
98
|
-
paddingRight: '36px'
|
|
108
|
+
padding: theme.spacing(2)
|
|
99
109
|
},
|
|
100
110
|
'& .SCCourseDashboard-outer-wrapper': {
|
|
101
111
|
marginTop: '15px',
|
|
@@ -130,6 +140,9 @@ const Component = {
|
|
|
130
140
|
}
|
|
131
141
|
},
|
|
132
142
|
'&.SCCourseDashboard-student-container': {
|
|
143
|
+
'& .SCCourseDashboard-description': {
|
|
144
|
+
whiteSpace: 'pre-line'
|
|
145
|
+
},
|
|
133
146
|
'& .SCCourseDashboard-accordion': {
|
|
134
147
|
borderTopLeftRadius: 'unset',
|
|
135
148
|
borderTopRightRadius: 'unset'
|
|
@@ -138,12 +151,12 @@ const Component = {
|
|
|
138
151
|
flexDirection: 'row',
|
|
139
152
|
alignItems: 'center',
|
|
140
153
|
justifyContent: 'space-between',
|
|
154
|
+
backgroundColor: theme.palette.common.white,
|
|
155
|
+
padding: '6px',
|
|
141
156
|
'& .SCCourseDashboard-user': {
|
|
142
157
|
flexDirection: 'row',
|
|
143
158
|
alignItems: 'center',
|
|
144
159
|
gap: '4px',
|
|
145
|
-
marginTop: '6px',
|
|
146
|
-
marginBottom: '6px',
|
|
147
160
|
'& .SCCourseDashboard-avatar': {
|
|
148
161
|
width: '36px',
|
|
149
162
|
height: '36px'
|
|
@@ -174,6 +187,7 @@ const Component = {
|
|
|
174
187
|
borderTopLeftRadius: '5px',
|
|
175
188
|
borderTopRightRadius: '5px',
|
|
176
189
|
padding: '19px 24px',
|
|
190
|
+
backgroundColor: theme.palette.common.white,
|
|
177
191
|
'& .SCCourseDashboard-circle': {
|
|
178
192
|
width: '6px',
|
|
179
193
|
height: '6px',
|
|
@@ -189,7 +203,8 @@ const Component = {
|
|
|
189
203
|
gap: '13px',
|
|
190
204
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
191
205
|
borderRadius: '5px',
|
|
192
|
-
padding: '11px 24px'
|
|
206
|
+
padding: '11px 24px',
|
|
207
|
+
backgroundColor: theme.palette.common.white
|
|
193
208
|
},
|
|
194
209
|
'& .SCCourseDashboard-percentage-wrapper': {
|
|
195
210
|
justifyContent: 'space-between',
|
|
@@ -270,7 +285,7 @@ const Component = {
|
|
|
270
285
|
flex: 1,
|
|
271
286
|
gap: '6px',
|
|
272
287
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
273
|
-
borderRadius: '
|
|
288
|
+
borderRadius: '5px',
|
|
274
289
|
padding: theme.spacing('17px', 3, '19px'),
|
|
275
290
|
'& .SCCourseParticipantsButton-root': {
|
|
276
291
|
justifyContent: 'flex-start',
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }:
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCCourseForm-contrast-color': {
|
|
7
|
+
color: any;
|
|
8
|
+
};
|
|
4
9
|
'& .SCCourseForm-cover': {
|
|
5
10
|
position: string;
|
|
6
11
|
height: number;
|
|
@@ -18,8 +23,20 @@ declare const Component: {
|
|
|
18
23
|
marginTop: any;
|
|
19
24
|
color: any;
|
|
20
25
|
};
|
|
26
|
+
'& h5': {
|
|
27
|
+
padding: any;
|
|
28
|
+
};
|
|
21
29
|
'& .SCCourseForm-form': {
|
|
22
|
-
'
|
|
30
|
+
'&.SCCourseForm-step-customization': {
|
|
31
|
+
[x: number]: {
|
|
32
|
+
padding: any;
|
|
33
|
+
};
|
|
34
|
+
backgroundColor: any;
|
|
35
|
+
border: string;
|
|
36
|
+
borderBottom: string;
|
|
37
|
+
borderRadius: string;
|
|
38
|
+
borderBottomLeftRadius: string;
|
|
39
|
+
borderBottomRightRadius: string;
|
|
23
40
|
padding: any;
|
|
24
41
|
};
|
|
25
42
|
'& .SCCourseForm-name': {
|
|
@@ -29,6 +46,7 @@ declare const Component: {
|
|
|
29
46
|
marginTop: any;
|
|
30
47
|
};
|
|
31
48
|
'& .SCCourseForm-edit-root': {
|
|
49
|
+
backgroundColor: any;
|
|
32
50
|
marginTop: any;
|
|
33
51
|
'& .SCCourseForm-edit-card': {
|
|
34
52
|
display: string;
|
|
@@ -77,6 +95,13 @@ declare const Component: {
|
|
|
77
95
|
'& .SCCourseForm-edit-privacy-item-info': {
|
|
78
96
|
marginLeft: any;
|
|
79
97
|
};
|
|
98
|
+
'& .SCCourseForm-disabled': {
|
|
99
|
+
opacity: number;
|
|
100
|
+
};
|
|
101
|
+
'& .SCCourseForm-edit-card': {
|
|
102
|
+
alignItems: string;
|
|
103
|
+
margin: any;
|
|
104
|
+
};
|
|
80
105
|
};
|
|
81
106
|
};
|
|
82
107
|
};
|
|
@@ -93,6 +118,10 @@ declare const Component: {
|
|
|
93
118
|
backgroundColor: string;
|
|
94
119
|
};
|
|
95
120
|
};
|
|
121
|
+
'& .SCCourseForm-disabled': {
|
|
122
|
+
pointerEvents: string;
|
|
123
|
+
opacity: number;
|
|
124
|
+
};
|
|
96
125
|
'& .MuiCard-root': {
|
|
97
126
|
boxShadow: string;
|
|
98
127
|
border: string;
|
|
@@ -107,6 +136,13 @@ declare const Component: {
|
|
|
107
136
|
'& .MuiTypography-body2': {
|
|
108
137
|
whiteSpace: string;
|
|
109
138
|
};
|
|
139
|
+
'& .SCCourseForm-card-title': {
|
|
140
|
+
display: string;
|
|
141
|
+
justifyContent: string;
|
|
142
|
+
'& .MuiChip-root': {
|
|
143
|
+
borderRadius: number;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
110
146
|
};
|
|
111
147
|
};
|
|
112
148
|
};
|
|
@@ -114,10 +150,21 @@ declare const Component: {
|
|
|
114
150
|
color: any;
|
|
115
151
|
};
|
|
116
152
|
'& .SCCourseForm-actions': {
|
|
117
|
-
marginTop: any;
|
|
118
153
|
display: string;
|
|
119
154
|
justifyContent: string;
|
|
120
155
|
gap: any;
|
|
156
|
+
'&.SCCourseForm-step-customization': {
|
|
157
|
+
[x: number]: {
|
|
158
|
+
padding: any;
|
|
159
|
+
};
|
|
160
|
+
backgroundColor: any;
|
|
161
|
+
border: string;
|
|
162
|
+
borderTop: string;
|
|
163
|
+
borderRadius: string;
|
|
164
|
+
borderTopLeftRadius: string;
|
|
165
|
+
borderTopRightRadius: string;
|
|
166
|
+
padding: any;
|
|
167
|
+
};
|
|
121
168
|
'& button': {
|
|
122
169
|
width: string;
|
|
123
170
|
};
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const
|
|
3
|
+
const material_1 = require("@mui/material");
|
|
4
4
|
const Component = {
|
|
5
5
|
styleOverrides: {
|
|
6
6
|
root: ({ theme }) => ({
|
|
7
|
+
'& .SCCourseForm-contrast-color': {
|
|
8
|
+
color: (0, material_1.getContrastRatio)(theme.palette.background.default, theme.palette.common.white) > 4.5 ? theme.palette.common.white : undefined
|
|
9
|
+
},
|
|
7
10
|
'& .SCCourseForm-cover': {
|
|
8
11
|
position: 'relative',
|
|
9
12
|
height: 103,
|
|
@@ -21,9 +24,21 @@ const Component = {
|
|
|
21
24
|
marginTop: theme.spacing(4.5),
|
|
22
25
|
color: theme.palette.text.secondary
|
|
23
26
|
},
|
|
27
|
+
'& h5': {
|
|
28
|
+
padding: theme.spacing(1)
|
|
29
|
+
},
|
|
24
30
|
'& .SCCourseForm-form': {
|
|
25
|
-
'
|
|
26
|
-
|
|
31
|
+
'&.SCCourseForm-step-customization': {
|
|
32
|
+
backgroundColor: theme.palette.common.white,
|
|
33
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
34
|
+
borderBottom: 'unset',
|
|
35
|
+
borderRadius: '5px',
|
|
36
|
+
borderBottomLeftRadius: 'unset',
|
|
37
|
+
borderBottomRightRadius: 'unset',
|
|
38
|
+
padding: theme.spacing(1, 1, 0),
|
|
39
|
+
[theme.breakpoints.up('sm')]: {
|
|
40
|
+
padding: theme.spacing(2, 2, 0)
|
|
41
|
+
}
|
|
27
42
|
},
|
|
28
43
|
'& .SCCourseForm-name': {
|
|
29
44
|
marginTop: theme.spacing(3)
|
|
@@ -32,6 +47,7 @@ const Component = {
|
|
|
32
47
|
marginTop: theme.spacing(1)
|
|
33
48
|
},
|
|
34
49
|
'& .SCCourseForm-edit-root': {
|
|
50
|
+
backgroundColor: theme.palette.common.white,
|
|
35
51
|
marginTop: theme.spacing(1),
|
|
36
52
|
'& .SCCourseForm-edit-card': {
|
|
37
53
|
display: 'flex',
|
|
@@ -79,6 +95,13 @@ const Component = {
|
|
|
79
95
|
},
|
|
80
96
|
'& .SCCourseForm-edit-privacy-item-info': {
|
|
81
97
|
marginLeft: theme.spacing(2)
|
|
98
|
+
},
|
|
99
|
+
'& .SCCourseForm-disabled': {
|
|
100
|
+
opacity: 0.5
|
|
101
|
+
},
|
|
102
|
+
'& .SCCourseForm-edit-card': {
|
|
103
|
+
alignItems: 'center',
|
|
104
|
+
margin: theme.spacing(1)
|
|
82
105
|
}
|
|
83
106
|
}
|
|
84
107
|
}
|
|
@@ -90,12 +113,16 @@ const Component = {
|
|
|
90
113
|
gap: theme.spacing(2.5),
|
|
91
114
|
marginTop: theme.spacing(1.5),
|
|
92
115
|
'& .SCCourseForm-selected': {
|
|
93
|
-
backgroundColor: (0,
|
|
116
|
+
backgroundColor: (0, material_1.alpha)(theme.palette.success.main, theme.palette.action.selectedOpacity),
|
|
94
117
|
border: `1px solid ${theme.palette.success.main} !important`,
|
|
95
118
|
'&:hover': {
|
|
96
|
-
backgroundColor: (0,
|
|
119
|
+
backgroundColor: (0, material_1.alpha)(theme.palette.success.main, theme.palette.action.selectedOpacity)
|
|
97
120
|
}
|
|
98
121
|
},
|
|
122
|
+
'& .SCCourseForm-disabled': {
|
|
123
|
+
pointerEvents: 'none',
|
|
124
|
+
opacity: 0.5
|
|
125
|
+
},
|
|
99
126
|
'& .MuiCard-root': {
|
|
100
127
|
boxShadow: 'none',
|
|
101
128
|
border: `1px solid ${theme.palette.grey[300]}`,
|
|
@@ -109,6 +136,13 @@ const Component = {
|
|
|
109
136
|
},
|
|
110
137
|
'& .MuiTypography-body2': {
|
|
111
138
|
whiteSpace: 'pre-line'
|
|
139
|
+
},
|
|
140
|
+
'& .SCCourseForm-card-title': {
|
|
141
|
+
display: 'flex',
|
|
142
|
+
justifyContent: 'space-between',
|
|
143
|
+
'& .MuiChip-root': {
|
|
144
|
+
borderRadius: 0
|
|
145
|
+
}
|
|
112
146
|
}
|
|
113
147
|
}
|
|
114
148
|
}
|
|
@@ -117,17 +151,28 @@ const Component = {
|
|
|
117
151
|
color: theme.palette.error.main
|
|
118
152
|
},
|
|
119
153
|
'& .SCCourseForm-actions': {
|
|
120
|
-
marginTop: theme.spacing(2),
|
|
121
154
|
display: 'flex',
|
|
122
155
|
justifyContent: 'flex-end',
|
|
123
156
|
gap: theme.spacing(2),
|
|
157
|
+
'&.SCCourseForm-step-customization': {
|
|
158
|
+
backgroundColor: theme.palette.common.white,
|
|
159
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
160
|
+
borderTop: 'unset',
|
|
161
|
+
borderRadius: '5px',
|
|
162
|
+
borderTopLeftRadius: 'unset',
|
|
163
|
+
borderTopRightRadius: 'unset',
|
|
164
|
+
padding: theme.spacing(0, 1, 1),
|
|
165
|
+
[theme.breakpoints.up('sm')]: {
|
|
166
|
+
padding: theme.spacing(0, 2, 2)
|
|
167
|
+
}
|
|
168
|
+
},
|
|
124
169
|
'& button': {
|
|
125
170
|
width: 'fit-content'
|
|
126
171
|
}
|
|
127
172
|
},
|
|
128
173
|
'& .MuiDivider-root': {
|
|
129
174
|
marginTop: theme.spacing(2),
|
|
130
|
-
border: `1px solid ${(0,
|
|
175
|
+
border: `1px solid ${(0, material_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
|
|
131
176
|
},
|
|
132
177
|
'& .MuiDialogTitle-root': {
|
|
133
178
|
'& span': {
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
flexDirection: string;
|
|
7
|
+
alignItems: string;
|
|
8
|
+
gap: any;
|
|
9
|
+
'&.SCCourseTypePopover-contrast-color': {
|
|
10
|
+
color: any;
|
|
11
|
+
};
|
|
12
|
+
'& .SCCourseTypePopover-button': {
|
|
13
|
+
padding: number;
|
|
14
|
+
textDecoration: string;
|
|
15
|
+
'&:hover': {
|
|
16
|
+
backgroundColor: string;
|
|
17
|
+
textDecoration: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default Component;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const material_1 = require("@mui/material");
|
|
4
|
+
const Component = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme }) => ({
|
|
7
|
+
flexDirection: 'row',
|
|
8
|
+
alignItems: 'center',
|
|
9
|
+
gap: theme.spacing(1),
|
|
10
|
+
'&.SCCourseTypePopover-contrast-color': {
|
|
11
|
+
color: (0, material_1.getContrastRatio)(theme.palette.background.default, theme.palette.common.white) > 4.5 ? theme.palette.common.white : undefined
|
|
12
|
+
},
|
|
13
|
+
'& .SCCourseTypePopover-button': {
|
|
14
|
+
padding: 0,
|
|
15
|
+
textDecoration: 'underline',
|
|
16
|
+
'&:hover': {
|
|
17
|
+
backgroundColor: 'unset',
|
|
18
|
+
textDecoration: 'underline'
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
})
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.default = Component;
|
|
@@ -3,11 +3,27 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: {
|
|
4
4
|
theme: any;
|
|
5
5
|
}) => {
|
|
6
|
+
[x: number]: {
|
|
7
|
+
padding: any;
|
|
8
|
+
};
|
|
9
|
+
border: string;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
padding: any;
|
|
12
|
+
backgroundColor: any;
|
|
6
13
|
'& .SCCourseUsersTable-search': {
|
|
7
14
|
'& > .MuiInputBase-root': {
|
|
8
15
|
borderBottomLeftRadius: string;
|
|
9
16
|
borderBottomRightRadius: string;
|
|
10
17
|
};
|
|
18
|
+
'& .SCCourseUsersTable-end-adornment-wrapper': {
|
|
19
|
+
flexDirection: string;
|
|
20
|
+
'& .SCCourseUsersTable-search-button': {
|
|
21
|
+
minWidth: string;
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
padding: any;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
11
27
|
};
|
|
12
28
|
'& .SCCourseUsersTable-avatar-wrapper': {
|
|
13
29
|
flexDirection: string;
|