@selfcommunity/react-theme-default 0.1.50-alpha.0 → 0.1.50-event.28
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/MuiIcon.d.ts +1 -5
- package/lib/cjs/components/MuiIcon.js +2 -6
- package/lib/cjs/components/SCCreateEventButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateEventButton.js +14 -0
- package/lib/cjs/components/SCDefaultHeaderContent.d.ts +9 -0
- package/lib/cjs/components/SCDefaultHeaderContent.js +11 -0
- package/lib/cjs/components/SCEvent.d.ts +35 -0
- package/lib/cjs/components/SCEvent.js +37 -0
- package/lib/cjs/components/SCEventForm.d.ts +104 -0
- package/lib/cjs/components/SCEventForm.js +107 -0
- package/lib/cjs/components/SCEventLocationWidget.d.ts +28 -0
- package/lib/cjs/components/SCEventLocationWidget.js +31 -0
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +5 -1
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +12 -6
- package/lib/cjs/index.d.ts +187 -5
- package/lib/cjs/index.js +14 -1
- package/lib/esm/components/MuiIcon.d.ts +1 -5
- package/lib/esm/components/MuiIcon.js +2 -6
- package/lib/esm/components/SCCreateEventButton.d.ts +12 -0
- package/lib/esm/components/SCCreateEventButton.js +12 -0
- package/lib/esm/components/SCDefaultHeaderContent.d.ts +9 -0
- package/lib/esm/components/SCDefaultHeaderContent.js +9 -0
- package/lib/esm/components/SCEvent.d.ts +35 -0
- package/lib/esm/components/SCEvent.js +35 -0
- package/lib/esm/components/SCEventForm.d.ts +104 -0
- package/lib/esm/components/SCEventForm.js +105 -0
- package/lib/esm/components/SCEventLocationWidget.d.ts +28 -0
- package/lib/esm/components/SCEventLocationWidget.js +29 -0
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +5 -1
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +12 -6
- package/lib/esm/index.d.ts +187 -5
- package/lib/esm/index.js +14 -1
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +5 -1
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
package/lib/cjs/index.d.ts
CHANGED
|
@@ -4,6 +4,9 @@ import './fonts/community-icons.css';
|
|
|
4
4
|
/**
|
|
5
5
|
* Style fragments - Imports - End
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Export default theme
|
|
9
|
+
*/
|
|
7
10
|
declare const theme: {
|
|
8
11
|
typography: {
|
|
9
12
|
htmlFontSize: number;
|
|
@@ -174,11 +177,7 @@ declare const theme: {
|
|
|
174
177
|
MuiIcon: {
|
|
175
178
|
defaultProps: {
|
|
176
179
|
baseClassName: string;
|
|
177
|
-
|
|
178
|
-
styleOverrides: {
|
|
179
|
-
root: ({ theme }: any) => {
|
|
180
|
-
fontSize: string;
|
|
181
|
-
};
|
|
180
|
+
fontSize: string;
|
|
182
181
|
};
|
|
183
182
|
};
|
|
184
183
|
MuiIconButton: {
|
|
@@ -3348,6 +3347,14 @@ declare const theme: {
|
|
|
3348
3347
|
};
|
|
3349
3348
|
};
|
|
3350
3349
|
};
|
|
3350
|
+
SCDefaultHeaderContent: {
|
|
3351
|
+
styleOverrides: {
|
|
3352
|
+
root: () => {
|
|
3353
|
+
display: string;
|
|
3354
|
+
alignItems: string;
|
|
3355
|
+
};
|
|
3356
|
+
};
|
|
3357
|
+
};
|
|
3351
3358
|
SCNavigationToolbar: {
|
|
3352
3359
|
styleOverrides: {
|
|
3353
3360
|
root: ({ theme }: any) => {
|
|
@@ -6275,6 +6282,181 @@ declare const theme: {
|
|
|
6275
6282
|
dialogRoot: ({ theme }: any) => {};
|
|
6276
6283
|
};
|
|
6277
6284
|
};
|
|
6285
|
+
SCEventForm: {
|
|
6286
|
+
styleOverrides: {
|
|
6287
|
+
root: ({ theme }: any) => {
|
|
6288
|
+
'& .SCEventForm-cover': {
|
|
6289
|
+
position: string;
|
|
6290
|
+
height: number;
|
|
6291
|
+
minHeight: number;
|
|
6292
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
6293
|
+
position: string;
|
|
6294
|
+
right: any;
|
|
6295
|
+
bottom: any;
|
|
6296
|
+
padding: any;
|
|
6297
|
+
minWidth: string;
|
|
6298
|
+
};
|
|
6299
|
+
};
|
|
6300
|
+
'& .SCEventForm-header': {
|
|
6301
|
+
marginTop: any;
|
|
6302
|
+
color: any;
|
|
6303
|
+
};
|
|
6304
|
+
'& .SCEventForm-form': {
|
|
6305
|
+
'& .SCEventForm-picker': {
|
|
6306
|
+
width: string;
|
|
6307
|
+
};
|
|
6308
|
+
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
6309
|
+
marginBottom: any;
|
|
6310
|
+
};
|
|
6311
|
+
'& .MuiButton-text': {
|
|
6312
|
+
justifyContent: string;
|
|
6313
|
+
paddingLeft: any;
|
|
6314
|
+
'&:hover': {
|
|
6315
|
+
backgroundColor: string;
|
|
6316
|
+
};
|
|
6317
|
+
};
|
|
6318
|
+
};
|
|
6319
|
+
'& .SCEventForm-date-time': {
|
|
6320
|
+
display: string;
|
|
6321
|
+
alignItems: string;
|
|
6322
|
+
justifyContent: string;
|
|
6323
|
+
gap: any;
|
|
6324
|
+
};
|
|
6325
|
+
'& .SCEventForm-error': {
|
|
6326
|
+
color: any;
|
|
6327
|
+
};
|
|
6328
|
+
'& .SCEventForm-switch': {
|
|
6329
|
+
'& .MuiButtonBase-root': {
|
|
6330
|
+
'&.Mui-checked': {
|
|
6331
|
+
color: any;
|
|
6332
|
+
'& + .MuiSwitch-track': {
|
|
6333
|
+
backgroundColor: any;
|
|
6334
|
+
};
|
|
6335
|
+
};
|
|
6336
|
+
};
|
|
6337
|
+
};
|
|
6338
|
+
'& .SCEventForm-switch-label': {
|
|
6339
|
+
fontWeight: any;
|
|
6340
|
+
display: string;
|
|
6341
|
+
alignItems: string;
|
|
6342
|
+
justifyContent: string;
|
|
6343
|
+
gap: any;
|
|
6344
|
+
};
|
|
6345
|
+
'& .SCEventForm-active': {
|
|
6346
|
+
color: any;
|
|
6347
|
+
};
|
|
6348
|
+
'& .SCEventForm-privacy-section': {
|
|
6349
|
+
marginTop: any;
|
|
6350
|
+
justifyContent: string;
|
|
6351
|
+
'& .SCEventForm-privacy-section-info': {
|
|
6352
|
+
marginBottom: any;
|
|
6353
|
+
};
|
|
6354
|
+
};
|
|
6355
|
+
'& .SCEventForm-visibility-section-info': {
|
|
6356
|
+
marginTop: any;
|
|
6357
|
+
};
|
|
6358
|
+
'& .MuiDivider-root': {
|
|
6359
|
+
marginTop: any;
|
|
6360
|
+
border: string;
|
|
6361
|
+
};
|
|
6362
|
+
'& .MuiDialogTitle-root': {
|
|
6363
|
+
'& span': {
|
|
6364
|
+
flexGrow: number;
|
|
6365
|
+
textAlign: string;
|
|
6366
|
+
};
|
|
6367
|
+
};
|
|
6368
|
+
'& .SCEventForm-event-address-root': {
|
|
6369
|
+
backgroundColor: any;
|
|
6370
|
+
borderRadius: number;
|
|
6371
|
+
'& .SCEventForm-event-address-tabs': {
|
|
6372
|
+
padding: any;
|
|
6373
|
+
'& .MuiTabs-indicator': {
|
|
6374
|
+
bottom: any;
|
|
6375
|
+
};
|
|
6376
|
+
};
|
|
6377
|
+
'& .SCEventForm-event-address-tab': {
|
|
6378
|
+
minHeight: number;
|
|
6379
|
+
textTransform: string;
|
|
6380
|
+
};
|
|
6381
|
+
'& .SCEventForm-event-address-tab-content': {
|
|
6382
|
+
padding: any;
|
|
6383
|
+
};
|
|
6384
|
+
};
|
|
6385
|
+
};
|
|
6386
|
+
};
|
|
6387
|
+
};
|
|
6388
|
+
SCCreateEventButton: {
|
|
6389
|
+
styleOverrides: {
|
|
6390
|
+
root: ({ theme }: any) => {
|
|
6391
|
+
'& .MuiButton-startIcon': {
|
|
6392
|
+
'& .MuiIcon-root': {
|
|
6393
|
+
fontSize: string;
|
|
6394
|
+
};
|
|
6395
|
+
};
|
|
6396
|
+
};
|
|
6397
|
+
};
|
|
6398
|
+
};
|
|
6399
|
+
SCEventLocationWidget: {
|
|
6400
|
+
styleOverrides: {
|
|
6401
|
+
root: ({ theme }: any) => {
|
|
6402
|
+
[x: number]: {
|
|
6403
|
+
width: number;
|
|
6404
|
+
};
|
|
6405
|
+
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
|
|
6406
|
+
fontWeight: any;
|
|
6407
|
+
};
|
|
6408
|
+
'& .SCEventLocationWidget-map': {
|
|
6409
|
+
marginBottom: any;
|
|
6410
|
+
height: number;
|
|
6411
|
+
width: string;
|
|
6412
|
+
};
|
|
6413
|
+
};
|
|
6414
|
+
skeletonRoot: ({ theme }: any) => {
|
|
6415
|
+
[x: number]: {
|
|
6416
|
+
width: number;
|
|
6417
|
+
};
|
|
6418
|
+
'& .SCEventLocationWidget-skeleton-map': {
|
|
6419
|
+
margin: any;
|
|
6420
|
+
height: number;
|
|
6421
|
+
width: string;
|
|
6422
|
+
};
|
|
6423
|
+
};
|
|
6424
|
+
};
|
|
6425
|
+
};
|
|
6426
|
+
SCEvent: {
|
|
6427
|
+
styleOverrides: {
|
|
6428
|
+
root: ({ theme }: any) => {
|
|
6429
|
+
[x: number]: {
|
|
6430
|
+
borderRadius: any;
|
|
6431
|
+
};
|
|
6432
|
+
borderRadius: number;
|
|
6433
|
+
paddingBottom: number;
|
|
6434
|
+
overflow: string;
|
|
6435
|
+
'& .SCBaseItemButton-image': {
|
|
6436
|
+
marginRight: any;
|
|
6437
|
+
'& .MuiAvatar-root': {
|
|
6438
|
+
width: number;
|
|
6439
|
+
height: number;
|
|
6440
|
+
'& img': {
|
|
6441
|
+
borderRadius: number;
|
|
6442
|
+
};
|
|
6443
|
+
};
|
|
6444
|
+
};
|
|
6445
|
+
'& .SCBaseItemButton-text': {
|
|
6446
|
+
fontSize: any;
|
|
6447
|
+
'& .SCEvent-primary': {
|
|
6448
|
+
'& p': {
|
|
6449
|
+
fontWeight: any;
|
|
6450
|
+
};
|
|
6451
|
+
};
|
|
6452
|
+
'& .SCEvent-secondary': {
|
|
6453
|
+
color: any;
|
|
6454
|
+
};
|
|
6455
|
+
};
|
|
6456
|
+
};
|
|
6457
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
6458
|
+
};
|
|
6459
|
+
};
|
|
6278
6460
|
};
|
|
6279
6461
|
selfcommunity: {
|
|
6280
6462
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -88,6 +88,7 @@ const SCBullet_1 = tslib_1.__importDefault(require("./components/SCBullet"));
|
|
|
88
88
|
const SCAccountDataPortability_1 = tslib_1.__importDefault(require("./components/SCAccountDataPortability"));
|
|
89
89
|
const SCAccountDelete_1 = tslib_1.__importDefault(require("./components/SCAccountDelete"));
|
|
90
90
|
const SCNavigationMenuIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuIconButton"));
|
|
91
|
+
const SCDefaultHeaderContent_1 = tslib_1.__importDefault(require("./components/SCDefaultHeaderContent"));
|
|
91
92
|
const SCPreviewMediaLink_1 = tslib_1.__importDefault(require("./components/SCPreviewMediaLink"));
|
|
92
93
|
const SCUserAvatar_1 = tslib_1.__importDefault(require("./components/SCUserAvatar"));
|
|
93
94
|
const SCAccountReset_1 = tslib_1.__importDefault(require("./components/SCAccountReset"));
|
|
@@ -138,9 +139,16 @@ const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGr
|
|
|
138
139
|
const SCGroupSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCGroupSettingsIconButton"));
|
|
139
140
|
const SCGroupInvitedWidget_1 = tslib_1.__importDefault(require("./components/SCGroupInvitedWidget"));
|
|
140
141
|
const SCUserSubscribedGroupsWidget_1 = tslib_1.__importDefault(require("./components/SCUserSubscribedGroupsWidget"));
|
|
142
|
+
const SCEventForm_1 = tslib_1.__importDefault(require("./components/SCEventForm"));
|
|
143
|
+
const SCCreateEventButton_1 = tslib_1.__importDefault(require("./components/SCCreateEventButton"));
|
|
144
|
+
const SCEventLocationWidget_1 = tslib_1.__importDefault(require("./components/SCEventLocationWidget"));
|
|
145
|
+
const SCEvent_1 = tslib_1.__importDefault(require("./components/SCEvent"));
|
|
141
146
|
/**
|
|
142
147
|
* Style fragments - Imports - End
|
|
143
148
|
*/
|
|
149
|
+
/**
|
|
150
|
+
* Export default theme
|
|
151
|
+
*/
|
|
144
152
|
const theme = {
|
|
145
153
|
// palette: {
|
|
146
154
|
// background: {
|
|
@@ -261,6 +269,7 @@ const theme = {
|
|
|
261
269
|
SCMediaFile: SCMediaFile_1.default,
|
|
262
270
|
SCMediaLink: SCMediaLink_1.default,
|
|
263
271
|
SCNavigationSettingsIconButton: SCNavigationSettingsIconButton_1.default,
|
|
272
|
+
SCDefaultHeaderContent: SCDefaultHeaderContent_1.default,
|
|
264
273
|
SCNavigationToolbar: SCNavigationToolbar_1.default,
|
|
265
274
|
SCNavigationToolbarMobile: SCNavigationToolbarMobile_1.default,
|
|
266
275
|
SCNotification: SCNotification_1.default,
|
|
@@ -336,7 +345,11 @@ const theme = {
|
|
|
336
345
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
337
346
|
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default,
|
|
338
347
|
SCGroupInvitedWidget: SCGroupInvitedWidget_1.default,
|
|
339
|
-
SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default
|
|
348
|
+
SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default,
|
|
349
|
+
SCEventForm: SCEventForm_1.default,
|
|
350
|
+
SCCreateEventButton: SCCreateEventButton_1.default,
|
|
351
|
+
SCEventLocationWidget: SCEventLocationWidget_1.default,
|
|
352
|
+
SCEvent: SCEvent_1.default
|
|
340
353
|
},
|
|
341
354
|
selfcommunity: {
|
|
342
355
|
user: {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
defaultProps: {
|
|
3
3
|
// Replace the `material-icons` default value.
|
|
4
|
-
baseClassName: 'community-icons'
|
|
5
|
-
|
|
6
|
-
styleOverrides: {
|
|
7
|
-
root: ({ theme }) => ({
|
|
8
|
-
fontSize: 'inherit'
|
|
9
|
-
})
|
|
4
|
+
baseClassName: 'community-icons',
|
|
5
|
+
fontSize: 'inherit'
|
|
10
6
|
}
|
|
11
7
|
};
|
|
12
8
|
export default Component;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
borderRadius: any;
|
|
6
|
+
};
|
|
7
|
+
borderRadius: number;
|
|
8
|
+
paddingBottom: number;
|
|
9
|
+
overflow: string;
|
|
10
|
+
'& .SCBaseItemButton-image': {
|
|
11
|
+
marginRight: any;
|
|
12
|
+
'& .MuiAvatar-root': {
|
|
13
|
+
width: number;
|
|
14
|
+
height: number;
|
|
15
|
+
'& img': {
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .SCBaseItemButton-text': {
|
|
21
|
+
fontSize: any;
|
|
22
|
+
'& .SCEvent-primary': {
|
|
23
|
+
'& p': {
|
|
24
|
+
fontWeight: any;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
'& .SCEvent-secondary': {
|
|
28
|
+
color: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default Component;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
borderRadius: 0,
|
|
5
|
+
paddingBottom: 0,
|
|
6
|
+
overflow: 'visible',
|
|
7
|
+
[theme.breakpoints.up('sm')]: {
|
|
8
|
+
borderRadius: theme.shape.borderRadiusSm
|
|
9
|
+
},
|
|
10
|
+
'& .SCBaseItemButton-image': {
|
|
11
|
+
marginRight: theme.spacing(1.25),
|
|
12
|
+
'& .MuiAvatar-root': {
|
|
13
|
+
width: 100,
|
|
14
|
+
height: 60,
|
|
15
|
+
'& img': {
|
|
16
|
+
borderRadius: 0
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .SCBaseItemButton-text': {
|
|
21
|
+
fontSize: theme.typography.fontSize,
|
|
22
|
+
'& .SCEvent-primary': {
|
|
23
|
+
'& p': {
|
|
24
|
+
fontWeight: theme.typography.fontWeightBold
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
'& .SCEvent-secondary': {
|
|
28
|
+
color: theme.palette.text.secondary
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}),
|
|
32
|
+
skeletonRoot: ({ theme }) => ({})
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export default Component;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCEventForm-cover': {
|
|
5
|
+
position: string;
|
|
6
|
+
height: number;
|
|
7
|
+
minHeight: number;
|
|
8
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
9
|
+
position: string;
|
|
10
|
+
right: any;
|
|
11
|
+
bottom: any;
|
|
12
|
+
padding: any;
|
|
13
|
+
minWidth: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
'& .SCEventForm-header': {
|
|
17
|
+
marginTop: any;
|
|
18
|
+
color: any;
|
|
19
|
+
};
|
|
20
|
+
'& .SCEventForm-form': {
|
|
21
|
+
'& .SCEventForm-picker': {
|
|
22
|
+
width: string;
|
|
23
|
+
};
|
|
24
|
+
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
25
|
+
marginBottom: any;
|
|
26
|
+
};
|
|
27
|
+
'& .MuiButton-text': {
|
|
28
|
+
justifyContent: string;
|
|
29
|
+
paddingLeft: any;
|
|
30
|
+
'&:hover': {
|
|
31
|
+
backgroundColor: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'& .SCEventForm-date-time': {
|
|
36
|
+
display: string;
|
|
37
|
+
alignItems: string;
|
|
38
|
+
justifyContent: string;
|
|
39
|
+
gap: any;
|
|
40
|
+
};
|
|
41
|
+
'& .SCEventForm-error': {
|
|
42
|
+
color: any;
|
|
43
|
+
};
|
|
44
|
+
'& .SCEventForm-switch': {
|
|
45
|
+
'& .MuiButtonBase-root': {
|
|
46
|
+
'&.Mui-checked': {
|
|
47
|
+
color: any;
|
|
48
|
+
'& + .MuiSwitch-track': {
|
|
49
|
+
backgroundColor: any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
'& .SCEventForm-switch-label': {
|
|
55
|
+
fontWeight: any;
|
|
56
|
+
display: string;
|
|
57
|
+
alignItems: string;
|
|
58
|
+
justifyContent: string;
|
|
59
|
+
gap: any;
|
|
60
|
+
};
|
|
61
|
+
'& .SCEventForm-active': {
|
|
62
|
+
color: any;
|
|
63
|
+
};
|
|
64
|
+
'& .SCEventForm-privacy-section': {
|
|
65
|
+
marginTop: any;
|
|
66
|
+
justifyContent: string;
|
|
67
|
+
'& .SCEventForm-privacy-section-info': {
|
|
68
|
+
marginBottom: any;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
'& .SCEventForm-visibility-section-info': {
|
|
72
|
+
marginTop: any;
|
|
73
|
+
};
|
|
74
|
+
'& .MuiDivider-root': {
|
|
75
|
+
marginTop: any;
|
|
76
|
+
border: string;
|
|
77
|
+
};
|
|
78
|
+
'& .MuiDialogTitle-root': {
|
|
79
|
+
'& span': {
|
|
80
|
+
flexGrow: number;
|
|
81
|
+
textAlign: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
'& .SCEventForm-event-address-root': {
|
|
85
|
+
backgroundColor: any;
|
|
86
|
+
borderRadius: number;
|
|
87
|
+
'& .SCEventForm-event-address-tabs': {
|
|
88
|
+
padding: any;
|
|
89
|
+
'& .MuiTabs-indicator': {
|
|
90
|
+
bottom: any;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
'& .SCEventForm-event-address-tab': {
|
|
94
|
+
minHeight: number;
|
|
95
|
+
textTransform: string;
|
|
96
|
+
};
|
|
97
|
+
'& .SCEventForm-event-address-tab-content': {
|
|
98
|
+
padding: any;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
export default Component;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { alpha } from '@mui/system';
|
|
2
|
+
const Component = {
|
|
3
|
+
styleOverrides: {
|
|
4
|
+
root: ({ theme }) => ({
|
|
5
|
+
'& .SCEventForm-cover': {
|
|
6
|
+
position: 'relative',
|
|
7
|
+
height: 120,
|
|
8
|
+
minHeight: 120,
|
|
9
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
10
|
+
position: 'absolute',
|
|
11
|
+
right: theme.spacing(2),
|
|
12
|
+
bottom: theme.spacing(1),
|
|
13
|
+
padding: theme.spacing(1),
|
|
14
|
+
minWidth: 'auto'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'& .SCEventForm-header': {
|
|
18
|
+
marginTop: theme.spacing(4.5),
|
|
19
|
+
color: theme.palette.text.secondary
|
|
20
|
+
},
|
|
21
|
+
'& .SCEventForm-form': {
|
|
22
|
+
'& .SCEventForm-picker': {
|
|
23
|
+
width: '50%'
|
|
24
|
+
},
|
|
25
|
+
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
26
|
+
marginBottom: theme.spacing(2)
|
|
27
|
+
},
|
|
28
|
+
'& .MuiButton-text': {
|
|
29
|
+
justifyContent: 'start',
|
|
30
|
+
paddingLeft: theme.spacing(1),
|
|
31
|
+
'&:hover': {
|
|
32
|
+
backgroundColor: 'transparent'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
'& .SCEventForm-date-time': {
|
|
37
|
+
display: 'flex',
|
|
38
|
+
alignItems: 'center',
|
|
39
|
+
justifyContent: 'space-between',
|
|
40
|
+
gap: theme.spacing(1)
|
|
41
|
+
},
|
|
42
|
+
'& .SCEventForm-error': {
|
|
43
|
+
color: theme.palette.error.main
|
|
44
|
+
},
|
|
45
|
+
'& .SCEventForm-switch': {
|
|
46
|
+
'& .MuiButtonBase-root': {
|
|
47
|
+
'&.Mui-checked': {
|
|
48
|
+
color: theme.palette.secondary.main,
|
|
49
|
+
'& + .MuiSwitch-track': {
|
|
50
|
+
backgroundColor: theme.palette.secondary.main
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
'& .SCEventForm-switch-label': {
|
|
56
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
57
|
+
display: 'flex',
|
|
58
|
+
alignItems: 'center',
|
|
59
|
+
justifyContent: 'center',
|
|
60
|
+
gap: theme.spacing(0.5)
|
|
61
|
+
},
|
|
62
|
+
'& .SCEventForm-active': {
|
|
63
|
+
color: theme.palette.secondary.main
|
|
64
|
+
},
|
|
65
|
+
'& .SCEventForm-privacy-section': {
|
|
66
|
+
marginTop: theme.spacing(2),
|
|
67
|
+
justifyContent: 'center',
|
|
68
|
+
'& .SCEventForm-privacy-section-info': {
|
|
69
|
+
marginBottom: theme.spacing(2)
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
'& .SCEventForm-visibility-section-info': {
|
|
73
|
+
marginTop: theme.spacing(1)
|
|
74
|
+
},
|
|
75
|
+
'& .MuiDivider-root': {
|
|
76
|
+
marginTop: theme.spacing(2),
|
|
77
|
+
border: `1px solid ${alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
|
|
78
|
+
},
|
|
79
|
+
'& .MuiDialogTitle-root': {
|
|
80
|
+
'& span': {
|
|
81
|
+
flexGrow: 1,
|
|
82
|
+
textAlign: 'center'
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
'& .SCEventForm-event-address-root': {
|
|
86
|
+
backgroundColor: theme.palette.grey['A200'],
|
|
87
|
+
borderRadius: 5,
|
|
88
|
+
'& .SCEventForm-event-address-tabs': {
|
|
89
|
+
padding: theme.spacing(2, 2, 0, 2),
|
|
90
|
+
'& .MuiTabs-indicator': {
|
|
91
|
+
bottom: theme.spacing(1.5)
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
'& .SCEventForm-event-address-tab': {
|
|
95
|
+
minHeight: 0,
|
|
96
|
+
textTransform: 'none'
|
|
97
|
+
},
|
|
98
|
+
'& .SCEventForm-event-address-tab-content': {
|
|
99
|
+
padding: theme.spacing(0.5, 2, 2, 2)
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
})
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
export default Component;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
width: number;
|
|
6
|
+
};
|
|
7
|
+
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
|
|
8
|
+
fontWeight: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCEventLocationWidget-map': {
|
|
11
|
+
marginBottom: any;
|
|
12
|
+
height: number;
|
|
13
|
+
width: string;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
skeletonRoot: ({ theme }: any) => {
|
|
17
|
+
[x: number]: {
|
|
18
|
+
width: number;
|
|
19
|
+
};
|
|
20
|
+
'& .SCEventLocationWidget-skeleton-map': {
|
|
21
|
+
margin: any;
|
|
22
|
+
height: number;
|
|
23
|
+
width: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default Component;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
[theme.breakpoints.up('sm')]: {
|
|
5
|
+
width: 470
|
|
6
|
+
},
|
|
7
|
+
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
|
|
8
|
+
fontWeight: theme.typography.fontWeightBold
|
|
9
|
+
// marginBottom: theme.spacing(0.5)
|
|
10
|
+
},
|
|
11
|
+
'& .SCEventLocationWidget-map': {
|
|
12
|
+
marginBottom: theme.spacing(1),
|
|
13
|
+
height: 248,
|
|
14
|
+
width: '100%'
|
|
15
|
+
}
|
|
16
|
+
}),
|
|
17
|
+
skeletonRoot: ({ theme }) => ({
|
|
18
|
+
[theme.breakpoints.up('sm')]: {
|
|
19
|
+
width: 470
|
|
20
|
+
},
|
|
21
|
+
'& .SCEventLocationWidget-skeleton-map': {
|
|
22
|
+
margin: theme.spacing(1, 0, 1, 0),
|
|
23
|
+
height: 248,
|
|
24
|
+
width: '100%'
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export default Component;
|
|
Binary file
|