@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.
Files changed (94) hide show
  1. package/lib/cjs/components/SCAccordionLessons.d.ts +15 -0
  2. package/lib/cjs/components/SCAccordionLessons.js +16 -1
  3. package/lib/cjs/components/SCAddUsersButton.d.ts +7 -1
  4. package/lib/cjs/components/SCAddUsersButton.js +6 -1
  5. package/lib/cjs/components/SCCourse.d.ts +4 -1
  6. package/lib/cjs/components/SCCourse.js +4 -1
  7. package/lib/cjs/components/SCCourseContentMenu.d.ts +3 -1
  8. package/lib/cjs/components/SCCourseContentMenu.js +3 -1
  9. package/lib/cjs/components/SCCourseDashboard.d.ts +18 -4
  10. package/lib/cjs/components/SCCourseDashboard.js +23 -8
  11. package/lib/cjs/components/SCCourseForm.d.ts +50 -3
  12. package/lib/cjs/components/SCCourseForm.js +52 -7
  13. package/lib/cjs/components/SCCourseTypePopover.d.ts +23 -0
  14. package/lib/cjs/components/SCCourseTypePopover.js +24 -0
  15. package/lib/cjs/components/SCCourseUsersTable.d.ts +16 -0
  16. package/lib/cjs/components/SCCourseUsersTable.js +16 -0
  17. package/lib/cjs/components/SCCourses.d.ts +10 -5
  18. package/lib/cjs/components/SCCourses.js +11 -6
  19. package/lib/cjs/components/SCEditCourse.d.ts +176 -130
  20. package/lib/cjs/components/SCEditCourse.js +185 -138
  21. package/lib/cjs/components/SCEmptyStatus.d.ts +1 -0
  22. package/lib/cjs/components/SCEmptyStatus.js +1 -0
  23. package/lib/cjs/components/SCEvent.d.ts +22 -0
  24. package/lib/cjs/components/SCEvent.js +22 -0
  25. package/lib/cjs/components/SCEventForm.d.ts +3 -0
  26. package/lib/cjs/components/SCEventForm.js +3 -0
  27. package/lib/cjs/components/SCEventFormDialog.d.ts +9 -0
  28. package/lib/cjs/components/SCEventFormDialog.js +9 -0
  29. package/lib/cjs/components/SCEvents.d.ts +11 -1
  30. package/lib/cjs/components/SCEvents.js +12 -2
  31. package/lib/cjs/components/SCGroupForm.d.ts +3 -0
  32. package/lib/cjs/components/SCGroupForm.js +3 -0
  33. package/lib/cjs/components/SCLessonCommentObjects.d.ts +3 -1
  34. package/lib/cjs/components/SCLessonCommentObjects.js +4 -2
  35. package/lib/cjs/components/SCLessonDrawer.d.ts +3 -1
  36. package/lib/cjs/components/SCLessonDrawer.js +3 -1
  37. package/lib/cjs/components/SCLessonObject.d.ts +4 -1
  38. package/lib/cjs/components/SCLessonObject.js +5 -2
  39. package/lib/cjs/components/SCLessonTemplate.d.ts +5 -0
  40. package/lib/cjs/components/SCLessonTemplate.js +4 -0
  41. package/lib/cjs/components/SCNotification.d.ts +22 -0
  42. package/lib/cjs/components/SCNotification.js +22 -0
  43. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +150 -0
  44. package/lib/cjs/components/SCPaywallsConfigurator.js +153 -0
  45. package/lib/cjs/index.d.ts +561 -159
  46. package/lib/cjs/index.js +5 -1
  47. package/lib/esm/components/SCAccordionLessons.d.ts +15 -0
  48. package/lib/esm/components/SCAccordionLessons.js +16 -1
  49. package/lib/esm/components/SCAddUsersButton.d.ts +7 -1
  50. package/lib/esm/components/SCAddUsersButton.js +6 -1
  51. package/lib/esm/components/SCCourse.d.ts +4 -1
  52. package/lib/esm/components/SCCourse.js +4 -1
  53. package/lib/esm/components/SCCourseContentMenu.d.ts +3 -1
  54. package/lib/esm/components/SCCourseContentMenu.js +3 -1
  55. package/lib/esm/components/SCCourseDashboard.d.ts +18 -4
  56. package/lib/esm/components/SCCourseDashboard.js +23 -8
  57. package/lib/esm/components/SCCourseForm.d.ts +50 -3
  58. package/lib/esm/components/SCCourseForm.js +49 -4
  59. package/lib/esm/components/SCCourseTypePopover.d.ts +23 -0
  60. package/lib/esm/components/SCCourseTypePopover.js +22 -0
  61. package/lib/esm/components/SCCourseUsersTable.d.ts +16 -0
  62. package/lib/esm/components/SCCourseUsersTable.js +16 -0
  63. package/lib/esm/components/SCCourses.d.ts +10 -5
  64. package/lib/esm/components/SCCourses.js +11 -6
  65. package/lib/esm/components/SCEditCourse.d.ts +176 -130
  66. package/lib/esm/components/SCEditCourse.js +185 -138
  67. package/lib/esm/components/SCEmptyStatus.d.ts +1 -0
  68. package/lib/esm/components/SCEmptyStatus.js +1 -0
  69. package/lib/esm/components/SCEvent.d.ts +22 -0
  70. package/lib/esm/components/SCEvent.js +22 -0
  71. package/lib/esm/components/SCEventForm.d.ts +3 -0
  72. package/lib/esm/components/SCEventForm.js +3 -0
  73. package/lib/esm/components/SCEventFormDialog.d.ts +9 -0
  74. package/lib/esm/components/SCEventFormDialog.js +9 -0
  75. package/lib/esm/components/SCEvents.d.ts +11 -1
  76. package/lib/esm/components/SCEvents.js +12 -2
  77. package/lib/esm/components/SCGroupForm.d.ts +3 -0
  78. package/lib/esm/components/SCGroupForm.js +3 -0
  79. package/lib/esm/components/SCLessonCommentObjects.d.ts +3 -1
  80. package/lib/esm/components/SCLessonCommentObjects.js +4 -2
  81. package/lib/esm/components/SCLessonDrawer.d.ts +3 -1
  82. package/lib/esm/components/SCLessonDrawer.js +3 -1
  83. package/lib/esm/components/SCLessonObject.d.ts +4 -1
  84. package/lib/esm/components/SCLessonObject.js +5 -2
  85. package/lib/esm/components/SCLessonTemplate.d.ts +5 -0
  86. package/lib/esm/components/SCLessonTemplate.js +4 -0
  87. package/lib/esm/components/SCNotification.d.ts +22 -0
  88. package/lib/esm/components/SCNotification.js +22 -0
  89. package/lib/esm/components/SCPaywallsConfigurator.d.ts +150 -0
  90. package/lib/esm/components/SCPaywallsConfigurator.js +151 -0
  91. package/lib/esm/index.d.ts +561 -159
  92. package/lib/esm/index.js +5 -1
  93. package/lib/umd/react-theme-default.js +1 -1
  94. 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-sections-wrapper': {
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
- borderBottom: 'unset',
70
- borderTopLeftRadius: '5px',
71
- borderTopRightRadius: '5px',
72
- '& .SCEditCourse-lessons-sections': {
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
- gap: '6px',
76
- '& .SCEditCourse-circle': {
77
- width: '6px',
78
- height: '6px',
79
- borderRadius: 9999,
80
- backgroundColor: theme.palette.common.black
81
- }
82
- },
83
- '& .SCEditCourse-section-button': {
84
- alignItems: 'flex-start',
85
- '& .SCEditCourse-section-button-typography': {
86
- textTransform: 'inherit'
87
- }
88
- }
89
- },
90
- '& .SCEditCourse-table-container': {
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-table-body': {
117
- '& .SCEditCourse-table-body-icon-wrapper': {
118
- flexDirection: 'row',
119
- alignItems: 'center',
120
- gap: '10px'
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-table-body-accordion': {
123
- backgroundColor: theme.palette.grey[200]
121
+ '& .SCEditCourse-cell-align-center': {
122
+ textAlign: 'center'
124
123
  },
125
- '& .SCEditCourse-edit-mode-wrapper': {
126
- flexDirection: 'row',
127
- alignItems: 'center',
128
- gap: '5px',
129
- '& .SCEditCourse-edit-mode-save-button': {
130
- minWidth: 'unset',
131
- borderRadius: '5px',
132
- padding: '8px'
133
- },
134
- '& .SCEditCourse-edit-mode-close-button': {
135
- border: `1px solid ${theme.palette.action.active}`,
136
- borderRadius: '5px',
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-actions-wrapper': {
141
- display: 'inline-flex',
142
- flexDirection: 'row',
143
- alignItems: 'center',
144
- gap: '14px',
145
- [theme.breakpoints.up('sm')]: {
146
- gap: '22px'
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-change-lesson-status-published-wrapper': {
149
- color: theme.palette.common.white,
150
- backgroundColor: theme.palette.primary.main,
151
- '& .MuiIcon-root': {
152
- color: theme.palette.common.white
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-change-lesson-status-icon-draft': {
156
- width: '20px',
157
- height: '20px',
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-wrapper': {
178
- gap: theme.spacing(5),
179
- maxWidth: '600px',
180
- margin: 'auto'
181
- },
182
- '& .SCEditCourse-options-divider': {
183
- marginTop: '21px',
184
- marginBottom: theme.spacing(3)
185
- },
186
- '& .SCEditCourse-options-button-wrapper': {
187
- alignItems: 'flex-end',
188
- maxWidth: '600px',
189
- margin: 'auto'
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-sections-wrapper': {
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
- borderBottomLeftRadius: '5px',
241
- borderBottomRightRadius: '5px',
242
- '& .SCEditCourse-margin': {
243
- margin: 'auto'
244
- },
245
- '& .SCEditCourse-margin-left': {
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-actions-wrapper': {
269
+ '& .SCEditCourse-lessons-sections-wrapper': {
249
270
  flexDirection: 'row',
250
- justifyContent: 'flex-end',
251
- gap: '22px'
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-wrapper': {
261
- gap: theme.spacing(5),
262
- maxWidth: '600px',
263
- margin: 'auto'
264
- },
265
- '& .SCEditCourse-options-divider': {
266
- marginTop: '21px',
267
- marginBottom: theme.spacing(3)
268
- },
269
- '& .SCEditCourse-options-button-wrapper': {
270
- alignItems: 'flex-end',
271
- maxWidth: '600px',
272
- margin: 'auto'
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
  }
@@ -8,6 +8,7 @@ declare const Component: {
8
8
  gap: string;
9
9
  padding: any;
10
10
  marginTop: string;
11
+ backgroundColor: any;
11
12
  '& .SCEmptyStatus-box': {
12
13
  width: string;
13
14
  height: string;
@@ -8,6 +8,7 @@ const Component = {
8
8
  gap: '10px',
9
9
  padding: theme.spacing(3),
10
10
  marginTop: '9px',
11
+ backgroundColor: theme.palette.common.white,
11
12
  '& .SCEmptyStatus-box': {
12
13
  width: '130px',
13
14
  height: '130px',
@@ -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': {
@@ -113,6 +113,9 @@ declare const Component: {
113
113
  padding: any;
114
114
  };
115
115
  };
116
+ '& .SCEventForm-paywalls-configurator-wrap': {
117
+ margin: string;
118
+ };
116
119
  };
117
120
  };
118
121
  };
@@ -115,6 +115,9 @@ const Component = {
115
115
  '& .SCEventForm-event-address-tab-content': {
116
116
  padding: theme.spacing(0.5, 2, 2, 2)
117
117
  }
118
+ },
119
+ '& .SCEventForm-paywalls-configurator-wrap': {
120
+ margin: '1px'
118
121
  }
119
122
  })
120
123
  }
@@ -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
@@ -21,6 +21,9 @@ declare const Component: {
21
21
  height: any;
22
22
  width: any;
23
23
  };
24
+ '& .MuiIcon-root': {
25
+ color: any;
26
+ };
24
27
  };
25
28
  };
26
29
  '& .SCChangeGroupPictureButton-root': {
@@ -23,6 +23,9 @@ const Component = {
23
23
  '& img': {
24
24
  height: theme.selfcommunity.group.avatar.sizeMedium,
25
25
  width: theme.selfcommunity.group.avatar.sizeMedium
26
+ },
27
+ '& .MuiIcon-root': {
28
+ color: theme.palette.common.white
26
29
  }
27
30
  }
28
31
  },
@@ -24,11 +24,12 @@ declare const Component: {
24
24
  marginLeft: string;
25
25
  };
26
26
  };
27
- marginTop: any;
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
  };