@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
|
@@ -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
|
+
'& .SCEditCourse-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
|
'& .SCEditCourse-header': {
|
|
10
14
|
flexDirection: 'row',
|
|
11
15
|
alignItems: 'center',
|
|
@@ -50,7 +54,15 @@ const Component = {
|
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
'& .SCEditCourse-status': {
|
|
53
|
-
borderRadius: theme.spacing(1)
|
|
57
|
+
borderRadius: theme.spacing(1),
|
|
58
|
+
'& .MuiButtonBase-root': {
|
|
59
|
+
padding: 0,
|
|
60
|
+
textDecoration: 'underline',
|
|
61
|
+
'&:hover': {
|
|
62
|
+
backgroundColor: 'unset',
|
|
63
|
+
textDecoration: 'underline'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
54
66
|
},
|
|
55
67
|
'& .SCEditCourse-lesson-empty-status': {
|
|
56
68
|
border: `1px solid ${theme.palette.grey[300]}`,
|
|
@@ -59,109 +71,120 @@ const Component = {
|
|
|
59
71
|
'& .SCEditCourse-empty-status-button': {
|
|
60
72
|
marginTop: '7px'
|
|
61
73
|
},
|
|
62
|
-
'& .SCEditCourse-lessons-
|
|
63
|
-
flexDirection: 'row',
|
|
64
|
-
alignItems: 'center',
|
|
65
|
-
justifyContent: 'space-between',
|
|
66
|
-
marginTop: '9px',
|
|
67
|
-
padding: theme.spacing(2),
|
|
74
|
+
'& .SCEditCourse-lessons-inner-wrapper': {
|
|
68
75
|
border: `1px solid ${theme.palette.grey[300]}`,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
76
|
+
borderRadius: '5px',
|
|
77
|
+
backgroundColor: theme.palette.common.white,
|
|
78
|
+
marginTop: '9px',
|
|
79
|
+
padding: theme.spacing(1),
|
|
80
|
+
[theme.breakpoints.up('sm')]: {
|
|
81
|
+
padding: theme.spacing(2)
|
|
82
|
+
},
|
|
83
|
+
'& .SCEditCourse-lessons-sections-wrapper': {
|
|
73
84
|
flexDirection: 'row',
|
|
74
85
|
alignItems: 'center',
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
width: 'auto',
|
|
92
|
-
border: `1px solid ${theme.palette.grey[300]}`,
|
|
93
|
-
borderBottomLeftRadius: '5px',
|
|
94
|
-
borderBottomRightRadius: '5px',
|
|
95
|
-
'& .SCEditCourse-table': {
|
|
96
|
-
'& .SCEditCourse-cell-width': {
|
|
97
|
-
width: '3%'
|
|
98
|
-
},
|
|
99
|
-
'& .SCEditCourse-cell-align-center': {
|
|
100
|
-
textAlign: 'center'
|
|
101
|
-
},
|
|
102
|
-
'& .SCEditCourse-cell-align-right': {
|
|
103
|
-
textAlign: 'right'
|
|
104
|
-
},
|
|
105
|
-
'& .SCEditCourse-cell-padding': {
|
|
106
|
-
paddingRight: 0
|
|
107
|
-
},
|
|
108
|
-
'& .MuiTableCell-root': {
|
|
109
|
-
textWrapMode: 'nowrap'
|
|
110
|
-
},
|
|
111
|
-
'& .SCEditCourse-table-header': {
|
|
112
|
-
'& .SCEditCourse-table-header-typography': {
|
|
113
|
-
textTransform: 'uppercase'
|
|
86
|
+
justifyContent: 'space-between',
|
|
87
|
+
padding: theme.spacing(2),
|
|
88
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
89
|
+
borderBottom: 'unset',
|
|
90
|
+
borderTopLeftRadius: '5px',
|
|
91
|
+
borderTopRightRadius: '5px',
|
|
92
|
+
backgroundColor: theme.palette.common.white,
|
|
93
|
+
'& .SCEditCourse-lessons-sections': {
|
|
94
|
+
flexDirection: 'row',
|
|
95
|
+
alignItems: 'center',
|
|
96
|
+
gap: '6px',
|
|
97
|
+
'& .SCEditCourse-circle': {
|
|
98
|
+
width: '6px',
|
|
99
|
+
height: '6px',
|
|
100
|
+
borderRadius: 9999,
|
|
101
|
+
backgroundColor: theme.palette.common.black
|
|
114
102
|
}
|
|
115
103
|
},
|
|
116
|
-
'& .SCEditCourse-
|
|
117
|
-
'
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
104
|
+
'& .SCEditCourse-section-button': {
|
|
105
|
+
alignItems: 'flex-start',
|
|
106
|
+
'& .SCEditCourse-section-button-typography': {
|
|
107
|
+
textTransform: 'inherit'
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
'& .SCEditCourse-table-container': {
|
|
112
|
+
width: 'auto',
|
|
113
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
114
|
+
borderBottomLeftRadius: '5px',
|
|
115
|
+
borderBottomRightRadius: '5px',
|
|
116
|
+
backgroundColor: theme.palette.common.white,
|
|
117
|
+
'& .SCEditCourse-table': {
|
|
118
|
+
'& .SCEditCourse-cell-width': {
|
|
119
|
+
width: '3%'
|
|
121
120
|
},
|
|
122
|
-
'& .SCEditCourse-
|
|
123
|
-
|
|
121
|
+
'& .SCEditCourse-cell-align-center': {
|
|
122
|
+
textAlign: 'center'
|
|
124
123
|
},
|
|
125
|
-
'& .SCEditCourse-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
padding: '8px'
|
|
124
|
+
'& .SCEditCourse-cell-align-right': {
|
|
125
|
+
textAlign: 'right'
|
|
126
|
+
},
|
|
127
|
+
'& .SCEditCourse-cell-padding': {
|
|
128
|
+
paddingRight: 0
|
|
129
|
+
},
|
|
130
|
+
'& .MuiTableCell-root': {
|
|
131
|
+
textWrapMode: 'nowrap'
|
|
132
|
+
},
|
|
133
|
+
'& .SCEditCourse-table-header': {
|
|
134
|
+
'& .SCEditCourse-table-header-typography': {
|
|
135
|
+
textTransform: 'uppercase'
|
|
138
136
|
}
|
|
139
137
|
},
|
|
140
|
-
'& .SCEditCourse-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
138
|
+
'& .SCEditCourse-table-body': {
|
|
139
|
+
'& .SCEditCourse-table-body-icon-wrapper': {
|
|
140
|
+
flexDirection: 'row',
|
|
141
|
+
alignItems: 'center',
|
|
142
|
+
gap: '10px'
|
|
143
|
+
},
|
|
144
|
+
'& .SCEditCourse-table-body-accordion': {
|
|
145
|
+
backgroundColor: theme.palette.grey[200]
|
|
146
|
+
},
|
|
147
|
+
'& .SCEditCourse-edit-mode-wrapper': {
|
|
148
|
+
flexDirection: 'row',
|
|
149
|
+
alignItems: 'center',
|
|
150
|
+
gap: '5px',
|
|
151
|
+
'& .SCEditCourse-edit-mode-save-button': {
|
|
152
|
+
minWidth: 'unset',
|
|
153
|
+
borderRadius: '5px',
|
|
154
|
+
padding: '8px'
|
|
155
|
+
},
|
|
156
|
+
'& .SCEditCourse-edit-mode-close-button': {
|
|
157
|
+
border: `1px solid ${theme.palette.action.active}`,
|
|
158
|
+
borderRadius: '5px',
|
|
159
|
+
padding: '8px'
|
|
160
|
+
}
|
|
147
161
|
},
|
|
148
|
-
'& .SCEditCourse-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
162
|
+
'& .SCEditCourse-actions-wrapper': {
|
|
163
|
+
display: 'inline-flex',
|
|
164
|
+
flexDirection: 'row',
|
|
165
|
+
alignItems: 'center',
|
|
166
|
+
gap: '14px',
|
|
167
|
+
[theme.breakpoints.up('sm')]: {
|
|
168
|
+
gap: '22px'
|
|
169
|
+
},
|
|
170
|
+
'& .SCEditCourse-change-lesson-status-published-wrapper': {
|
|
171
|
+
color: theme.palette.common.white,
|
|
172
|
+
backgroundColor: theme.palette.primary.main,
|
|
173
|
+
'& .MuiIcon-root': {
|
|
174
|
+
color: theme.palette.common.white
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
'& .SCEditCourse-change-lesson-status-icon-draft': {
|
|
178
|
+
width: '20px',
|
|
179
|
+
height: '20px',
|
|
180
|
+
borderRadius: 9999,
|
|
181
|
+
backgroundColor: theme.palette.grey['600']
|
|
153
182
|
}
|
|
154
183
|
},
|
|
155
|
-
'& .SCEditCourse-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
borderRadius: 9999,
|
|
159
|
-
backgroundColor: theme.palette.grey['600']
|
|
184
|
+
'& .SCEditCourse-table-body-collapse-wrapper': {
|
|
185
|
+
padding: 0,
|
|
186
|
+
border: 0
|
|
160
187
|
}
|
|
161
|
-
},
|
|
162
|
-
'& .SCEditCourse-table-body-collapse-wrapper': {
|
|
163
|
-
padding: 0,
|
|
164
|
-
border: 0
|
|
165
188
|
}
|
|
166
189
|
}
|
|
167
190
|
}
|
|
@@ -174,19 +197,28 @@ const Component = {
|
|
|
174
197
|
marginTop: '7px',
|
|
175
198
|
marginBottom: theme.spacing(2)
|
|
176
199
|
},
|
|
177
|
-
'& .SCEditCourse-options-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
200
|
+
'& .SCEditCourse-options-container': {
|
|
201
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
202
|
+
borderRadius: '5px',
|
|
203
|
+
padding: theme.spacing(1),
|
|
204
|
+
backgroundColor: theme.palette.common.white,
|
|
205
|
+
[theme.breakpoints.up('sm')]: {
|
|
206
|
+
padding: theme.spacing(2)
|
|
207
|
+
},
|
|
208
|
+
'& .SCEditCourse-options-wrapper': {
|
|
209
|
+
gap: theme.spacing(5),
|
|
210
|
+
maxWidth: '600px',
|
|
211
|
+
margin: 'auto'
|
|
212
|
+
},
|
|
213
|
+
'& .SCEditCourse-options-divider': {
|
|
214
|
+
marginTop: '21px',
|
|
215
|
+
marginBottom: theme.spacing(3)
|
|
216
|
+
},
|
|
217
|
+
'& .SCEditCourse-options-button-wrapper': {
|
|
218
|
+
alignItems: 'flex-end',
|
|
219
|
+
maxWidth: '600px',
|
|
220
|
+
margin: theme.spacing(2, 'auto', 0)
|
|
221
|
+
}
|
|
190
222
|
}
|
|
191
223
|
}
|
|
192
224
|
}),
|
|
@@ -225,30 +257,39 @@ const Component = {
|
|
|
225
257
|
gap: theme.spacing(1)
|
|
226
258
|
}
|
|
227
259
|
},
|
|
228
|
-
'& .SCEditCourse-lessons-
|
|
229
|
-
flexDirection: 'row',
|
|
230
|
-
alignItems: 'center',
|
|
231
|
-
justifyContent: 'space-between',
|
|
232
|
-
marginTop: '9px',
|
|
233
|
-
padding: theme.spacing(2),
|
|
234
|
-
border: `1px solid ${theme.palette.grey[300]}`,
|
|
235
|
-
borderRadius: '5px'
|
|
236
|
-
},
|
|
237
|
-
'& .SCEditCourse-table-container': {
|
|
238
|
-
width: 'auto',
|
|
260
|
+
'& .SCEditCourse-lessons-inner-wrapper': {
|
|
239
261
|
border: `1px solid ${theme.palette.grey[300]}`,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
marginLeft: 'auto'
|
|
262
|
+
borderRadius: '5px',
|
|
263
|
+
backgroundColor: theme.palette.common.white,
|
|
264
|
+
marginTop: '9px',
|
|
265
|
+
padding: theme.spacing(1),
|
|
266
|
+
[theme.breakpoints.up('sm')]: {
|
|
267
|
+
padding: theme.spacing(2)
|
|
247
268
|
},
|
|
248
|
-
'& .SCEditCourse-
|
|
269
|
+
'& .SCEditCourse-lessons-sections-wrapper': {
|
|
249
270
|
flexDirection: 'row',
|
|
250
|
-
|
|
251
|
-
|
|
271
|
+
alignItems: 'center',
|
|
272
|
+
justifyContent: 'space-between',
|
|
273
|
+
padding: theme.spacing(2),
|
|
274
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
275
|
+
borderRadius: '5px'
|
|
276
|
+
},
|
|
277
|
+
'& .SCEditCourse-table-container': {
|
|
278
|
+
width: 'auto',
|
|
279
|
+
border: `1px solid ${theme.palette.grey[300]}`,
|
|
280
|
+
borderBottomLeftRadius: '5px',
|
|
281
|
+
borderBottomRightRadius: '5px',
|
|
282
|
+
'& .SCEditCourse-margin': {
|
|
283
|
+
margin: 'auto'
|
|
284
|
+
},
|
|
285
|
+
'& .SCEditCourse-margin-left': {
|
|
286
|
+
marginLeft: 'auto'
|
|
287
|
+
},
|
|
288
|
+
'& .SCEditCourse-actions-wrapper': {
|
|
289
|
+
flexDirection: 'row',
|
|
290
|
+
justifyContent: 'flex-end',
|
|
291
|
+
gap: '22px'
|
|
292
|
+
}
|
|
252
293
|
}
|
|
253
294
|
},
|
|
254
295
|
'& .SCEditCourse-users-status-wrapper': {
|
|
@@ -257,19 +298,25 @@ const Component = {
|
|
|
257
298
|
marginTop: '7px',
|
|
258
299
|
marginBottom: theme.spacing(2)
|
|
259
300
|
},
|
|
260
|
-
'& .SCEditCourse-options-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
301
|
+
'& .SCEditCourse-options-container': {
|
|
302
|
+
border: `1px solid ${theme.palette.grey['300']}`,
|
|
303
|
+
borderRadius: '5px',
|
|
304
|
+
paddingBottom: '10px',
|
|
305
|
+
backgroundColor: theme.palette.common.white,
|
|
306
|
+
'& .SCEditCourse-options-wrapper': {
|
|
307
|
+
gap: theme.spacing(5),
|
|
308
|
+
maxWidth: '600px',
|
|
309
|
+
margin: 'auto'
|
|
310
|
+
},
|
|
311
|
+
'& .SCEditCourse-options-divider': {
|
|
312
|
+
marginTop: '21px',
|
|
313
|
+
marginBottom: theme.spacing(3)
|
|
314
|
+
},
|
|
315
|
+
'& .SCEditCourse-options-button-wrapper': {
|
|
316
|
+
alignItems: 'flex-end',
|
|
317
|
+
maxWidth: '600px',
|
|
318
|
+
margin: 'auto'
|
|
319
|
+
}
|
|
273
320
|
}
|
|
274
321
|
})
|
|
275
322
|
}
|
|
@@ -61,6 +61,14 @@ declare const Component: {
|
|
|
61
61
|
paddingRight: any;
|
|
62
62
|
};
|
|
63
63
|
};
|
|
64
|
+
'& .SCEvent-finished-chip': {
|
|
65
|
+
backgroundColor: any;
|
|
66
|
+
position: string;
|
|
67
|
+
top: number;
|
|
68
|
+
right: number;
|
|
69
|
+
color: any;
|
|
70
|
+
boxShadow: string;
|
|
71
|
+
};
|
|
64
72
|
};
|
|
65
73
|
'& .SCEvent-preview-content': {
|
|
66
74
|
padding: string;
|
|
@@ -117,6 +125,20 @@ declare const Component: {
|
|
|
117
125
|
paddingRight: any;
|
|
118
126
|
};
|
|
119
127
|
};
|
|
128
|
+
'& .SCEvent-finished-chip': {
|
|
129
|
+
height: number;
|
|
130
|
+
backgroundColor: any;
|
|
131
|
+
position: string;
|
|
132
|
+
top: number;
|
|
133
|
+
right: number;
|
|
134
|
+
color: any;
|
|
135
|
+
boxShadow: string;
|
|
136
|
+
'& span': {
|
|
137
|
+
fontSize: string;
|
|
138
|
+
paddingLeft: any;
|
|
139
|
+
paddingRight: any;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
120
142
|
};
|
|
121
143
|
'& .SCBaseItem-text': {
|
|
122
144
|
fontSize: any;
|
|
@@ -62,6 +62,14 @@ const Component = {
|
|
|
62
62
|
paddingLeft: theme.spacing(0.5),
|
|
63
63
|
paddingRight: theme.spacing(0.5)
|
|
64
64
|
}
|
|
65
|
+
},
|
|
66
|
+
'& .SCEvent-finished-chip': {
|
|
67
|
+
backgroundColor: theme.palette.common.black,
|
|
68
|
+
position: 'absolute',
|
|
69
|
+
top: 10,
|
|
70
|
+
right: 10,
|
|
71
|
+
color: theme.palette.common.white,
|
|
72
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px'
|
|
65
73
|
}
|
|
66
74
|
},
|
|
67
75
|
'& .SCEvent-preview-content': {
|
|
@@ -118,6 +126,20 @@ const Component = {
|
|
|
118
126
|
paddingLeft: theme.spacing(0.5),
|
|
119
127
|
paddingRight: theme.spacing(0.5)
|
|
120
128
|
}
|
|
129
|
+
},
|
|
130
|
+
'& .SCEvent-finished-chip': {
|
|
131
|
+
height: 18,
|
|
132
|
+
backgroundColor: theme.palette.common.black,
|
|
133
|
+
position: 'absolute',
|
|
134
|
+
top: 5,
|
|
135
|
+
right: 3,
|
|
136
|
+
color: theme.palette.common.white,
|
|
137
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
138
|
+
'& span': {
|
|
139
|
+
fontSize: '0.8rem',
|
|
140
|
+
paddingLeft: theme.spacing(0.5),
|
|
141
|
+
paddingRight: theme.spacing(0.5)
|
|
142
|
+
}
|
|
121
143
|
}
|
|
122
144
|
},
|
|
123
145
|
'& .SCBaseItem-text': {
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
'& .MuiDialogContent-root': {
|
|
6
|
+
marginLeft: any;
|
|
7
|
+
marginRight: any;
|
|
8
|
+
};
|
|
9
|
+
'& .SCEventForm-actions': {
|
|
10
|
+
marginBottom: any;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
4
13
|
'& .MuiDialogTitle-root': {
|
|
5
14
|
'& span': {
|
|
6
15
|
flexGrow: number;
|
|
@@ -8,6 +8,15 @@ const Component = {
|
|
|
8
8
|
flexGrow: 1,
|
|
9
9
|
textAlign: 'center'
|
|
10
10
|
}
|
|
11
|
+
},
|
|
12
|
+
[theme.breakpoints.down('sm')]: {
|
|
13
|
+
'& .MuiDialogContent-root': {
|
|
14
|
+
marginLeft: theme.spacing(2),
|
|
15
|
+
marginRight: theme.spacing(2)
|
|
16
|
+
},
|
|
17
|
+
'& .SCEventForm-actions': {
|
|
18
|
+
marginBottom: theme.spacing(2)
|
|
19
|
+
}
|
|
11
20
|
}
|
|
12
21
|
})
|
|
13
22
|
}
|
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCEvents-section-title': {
|
|
5
|
+
marginTop: any;
|
|
6
|
+
marginBottom: any;
|
|
7
|
+
color: any;
|
|
8
|
+
fontWeight: number;
|
|
9
|
+
fontSize: number;
|
|
10
|
+
};
|
|
11
|
+
'& .SCEvents-divider': {
|
|
12
|
+
marginBottom: any;
|
|
13
|
+
};
|
|
4
14
|
'& .SCEvents-filters': {
|
|
5
15
|
alignItems: string;
|
|
6
16
|
marginTop: any;
|
|
@@ -78,7 +88,7 @@ declare const Component: {
|
|
|
78
88
|
};
|
|
79
89
|
};
|
|
80
90
|
};
|
|
81
|
-
eventsChipRoot: ({ theme, showFollowed, showPastEvents }: any) => {
|
|
91
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents, showOngoingEvents }: any) => {
|
|
82
92
|
height: any;
|
|
83
93
|
borderRadius: any;
|
|
84
94
|
color: any;
|
|
@@ -3,6 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
'& .SCEvents-section-title': {
|
|
7
|
+
marginTop: theme.spacing(4),
|
|
8
|
+
marginBottom: theme.spacing(1),
|
|
9
|
+
color: theme.palette.primary.main,
|
|
10
|
+
fontWeight: 500,
|
|
11
|
+
fontSize: 18
|
|
12
|
+
},
|
|
13
|
+
'& .SCEvents-divider': {
|
|
14
|
+
marginBottom: theme.spacing(2)
|
|
15
|
+
},
|
|
6
16
|
'& .SCEvents-filters': {
|
|
7
17
|
alignItems: 'center',
|
|
8
18
|
marginTop: theme.spacing(),
|
|
@@ -80,10 +90,10 @@ const Component = {
|
|
|
80
90
|
}
|
|
81
91
|
}
|
|
82
92
|
}),
|
|
83
|
-
eventsChipRoot: ({ theme, showFollowed, showPastEvents }) => ({
|
|
93
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents, showOngoingEvents }) => ({
|
|
84
94
|
height: theme.spacing(4.75),
|
|
85
95
|
borderRadius: theme.spacing(0.5),
|
|
86
|
-
color: showFollowed || showPastEvents ? theme.palette.common.white : theme.palette.text.primary,
|
|
96
|
+
color: showFollowed || showPastEvents || showOngoingEvents ? theme.palette.common.white : theme.palette.text.primary,
|
|
87
97
|
'& .MuiIcon-root': {
|
|
88
98
|
fontSize: '1rem',
|
|
89
99
|
color: theme.palette.common.white
|
|
@@ -24,11 +24,12 @@ declare const Component: {
|
|
|
24
24
|
marginLeft: string;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
marginTop:
|
|
27
|
+
marginTop: string;
|
|
28
28
|
marginBottom: number;
|
|
29
29
|
};
|
|
30
30
|
'& .infinite-scroll-component__outerdiv': {
|
|
31
31
|
overflowY: string;
|
|
32
|
+
marginBottom: any;
|
|
32
33
|
'& .infinite-scroll-component': {
|
|
33
34
|
'& .MuiList-root ': {
|
|
34
35
|
padding: number;
|
|
@@ -42,6 +43,7 @@ declare const Component: {
|
|
|
42
43
|
skeletonRoot: ({ theme }: any) => {
|
|
43
44
|
width: string;
|
|
44
45
|
backgroundColor: string;
|
|
46
|
+
padding: any;
|
|
45
47
|
};
|
|
46
48
|
};
|
|
47
49
|
};
|