@selfcommunity/react-theme-default 0.1.55 → 0.2.0-alpha.0
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/MuiAutocomplete.js +3 -4
- package/lib/cjs/components/MuiSelect.js +2 -3
- package/lib/cjs/components/SCCalendar.d.ts +24 -0
- package/lib/cjs/components/SCCalendar.js +24 -0
- package/lib/cjs/components/SCCreateEventButton.d.ts +12 -0
- package/lib/cjs/components/SCCreateEventButton.js +14 -0
- package/lib/cjs/components/SCCreateEventWidget.d.ts +56 -0
- package/lib/cjs/components/SCCreateEventWidget.js +54 -0
- package/lib/cjs/components/SCEvent.d.ts +217 -0
- package/lib/cjs/components/SCEvent.js +219 -0
- package/lib/cjs/components/SCEventActionsMenu.d.ts +26 -0
- package/lib/cjs/components/SCEventActionsMenu.js +28 -0
- package/lib/cjs/components/SCEventForm.d.ts +103 -0
- package/lib/cjs/components/SCEventForm.js +106 -0
- package/lib/cjs/components/SCEventHeader.d.ts +147 -0
- package/lib/cjs/components/SCEventHeader.js +150 -0
- package/lib/cjs/components/SCEventInfoDetails.d.ts +43 -0
- package/lib/cjs/components/SCEventInfoDetails.js +43 -0
- package/lib/cjs/components/SCEventInfoWidget.d.ts +37 -0
- package/lib/cjs/components/SCEventInfoWidget.js +35 -0
- package/lib/cjs/components/SCEventInviteButton.d.ts +54 -0
- package/lib/cjs/components/SCEventInviteButton.js +57 -0
- package/lib/cjs/components/SCEventLocationWidget.d.ts +22 -0
- package/lib/cjs/components/SCEventLocationWidget.js +25 -0
- package/lib/cjs/components/SCEventMembersWidget.d.ts +68 -0
- package/lib/cjs/components/SCEventMembersWidget.js +64 -0
- package/lib/cjs/components/SCEventParticipantsButton.d.ts +33 -0
- package/lib/cjs/components/SCEventParticipantsButton.js +31 -0
- package/lib/cjs/components/SCEventSubscribeButton.d.ts +93 -0
- package/lib/cjs/components/SCEventSubscribeButton.js +87 -0
- package/lib/cjs/components/SCEvents.d.ts +86 -0
- package/lib/cjs/components/SCEvents.js +88 -0
- package/lib/cjs/components/SCFeedObject.d.ts +5 -5
- package/lib/cjs/components/SCFeedObject.js +5 -5
- package/lib/cjs/components/SCFeedUpdatesWidget.js +1 -1
- package/lib/cjs/components/SCMediaShare.d.ts +6 -1
- package/lib/cjs/components/SCMediaShare.js +6 -1
- package/lib/cjs/components/SCMyEventsWidget.d.ts +35 -0
- package/lib/cjs/components/SCMyEventsWidget.js +33 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/cjs/components/SCNavigationToolbar.js +1 -1
- package/lib/cjs/components/SCNotification.d.ts +27 -0
- package/lib/cjs/components/SCNotification.js +27 -0
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +451 -0
- package/lib/cjs/components/SCOnBoardingWidget.js +449 -0
- package/lib/cjs/components/SCPlatformWidget.d.ts +22 -1
- package/lib/cjs/components/SCPlatformWidget.js +22 -1
- package/lib/cjs/components/SCProgressBar.d.ts +23 -0
- package/lib/cjs/components/SCProgressBar.js +25 -0
- package/lib/cjs/components/SCRelatedEventsWidget.d.ts +101 -0
- package/lib/cjs/components/SCRelatedEventsWidget.js +97 -0
- package/lib/cjs/components/SCSuggestedEventsWidget.d.ts +97 -0
- package/lib/cjs/components/SCSuggestedEventsWidget.js +95 -0
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +17 -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 +30 -6
- package/lib/cjs/index.d.ts +3706 -1923
- package/lib/cjs/index.js +209 -167
- package/lib/esm/components/MuiAutocomplete.js +3 -3
- package/lib/esm/components/MuiSelect.js +2 -2
- package/lib/esm/components/SCCalendar.d.ts +24 -0
- package/lib/esm/components/SCCalendar.js +22 -0
- package/lib/esm/components/SCCreateEventButton.d.ts +12 -0
- package/lib/esm/components/SCCreateEventButton.js +12 -0
- package/lib/esm/components/SCCreateEventWidget.d.ts +56 -0
- package/lib/esm/components/SCCreateEventWidget.js +52 -0
- package/lib/esm/components/SCEvent.d.ts +217 -0
- package/lib/esm/components/SCEvent.js +217 -0
- package/lib/esm/components/SCEventActionsMenu.d.ts +26 -0
- package/lib/esm/components/SCEventActionsMenu.js +26 -0
- package/lib/esm/components/SCEventForm.d.ts +103 -0
- package/lib/esm/components/SCEventForm.js +104 -0
- package/lib/esm/components/SCEventHeader.d.ts +147 -0
- package/lib/esm/components/SCEventHeader.js +148 -0
- package/lib/esm/components/SCEventInfoDetails.d.ts +43 -0
- package/lib/esm/components/SCEventInfoDetails.js +41 -0
- package/lib/esm/components/SCEventInfoWidget.d.ts +37 -0
- package/lib/esm/components/SCEventInfoWidget.js +33 -0
- package/lib/esm/components/SCEventInviteButton.d.ts +54 -0
- package/lib/esm/components/SCEventInviteButton.js +55 -0
- package/lib/esm/components/SCEventLocationWidget.d.ts +22 -0
- package/lib/esm/components/SCEventLocationWidget.js +23 -0
- package/lib/esm/components/SCEventMembersWidget.d.ts +68 -0
- package/lib/esm/components/SCEventMembersWidget.js +62 -0
- package/lib/esm/components/SCEventParticipantsButton.d.ts +33 -0
- package/lib/esm/components/SCEventParticipantsButton.js +29 -0
- package/lib/esm/components/SCEventSubscribeButton.d.ts +93 -0
- package/lib/esm/components/SCEventSubscribeButton.js +85 -0
- package/lib/esm/components/SCEvents.d.ts +86 -0
- package/lib/esm/components/SCEvents.js +86 -0
- package/lib/esm/components/SCFeedObject.d.ts +5 -5
- package/lib/esm/components/SCFeedObject.js +5 -5
- package/lib/esm/components/SCFeedUpdatesWidget.js +1 -1
- package/lib/esm/components/SCMediaShare.d.ts +6 -1
- package/lib/esm/components/SCMediaShare.js +6 -1
- package/lib/esm/components/SCMyEventsWidget.d.ts +35 -0
- package/lib/esm/components/SCMyEventsWidget.js +31 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts +1 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNotification.d.ts +27 -0
- package/lib/esm/components/SCNotification.js +27 -0
- package/lib/esm/components/SCOnBoardingWidget.d.ts +451 -0
- package/lib/esm/components/SCOnBoardingWidget.js +447 -0
- package/lib/esm/components/SCPlatformWidget.d.ts +22 -1
- package/lib/esm/components/SCPlatformWidget.js +22 -1
- package/lib/esm/components/SCProgressBar.d.ts +23 -0
- package/lib/esm/components/SCProgressBar.js +23 -0
- package/lib/esm/components/SCRelatedEventsWidget.d.ts +101 -0
- package/lib/esm/components/SCRelatedEventsWidget.js +95 -0
- package/lib/esm/components/SCSuggestedEventsWidget.d.ts +97 -0
- package/lib/esm/components/SCSuggestedEventsWidget.js +93 -0
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +17 -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 +30 -6
- package/lib/esm/index.d.ts +3706 -1923
- package/lib/esm/index.js +209 -167
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +17 -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 +3 -3
- package/package.json +4 -4
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({}),
|
|
6
|
+
menuRoot: ({ theme }) => ({
|
|
7
|
+
'& .MuiDivider-root': {
|
|
8
|
+
margin: theme.spacing(1)
|
|
9
|
+
},
|
|
10
|
+
'& .MuiIcon-root': {
|
|
11
|
+
fontSize: '15px'
|
|
12
|
+
}
|
|
13
|
+
}),
|
|
14
|
+
drawerRoot: ({ theme }) => ({
|
|
15
|
+
'& .SCEventActionsMenu-item': {
|
|
16
|
+
paddingTop: 0,
|
|
17
|
+
paddingBottom: 0
|
|
18
|
+
},
|
|
19
|
+
'& .MuiDivider-root': {
|
|
20
|
+
margin: theme.spacing(2)
|
|
21
|
+
},
|
|
22
|
+
'& .MuiIcon-root': {
|
|
23
|
+
fontSize: '15px'
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.default = Component;
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
textTransform: string;
|
|
95
|
+
};
|
|
96
|
+
'& .SCEventForm-event-address-tab-content': {
|
|
97
|
+
padding: any;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export default Component;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
4
|
+
const Component = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme }) => ({
|
|
7
|
+
'& .SCEventForm-cover': {
|
|
8
|
+
position: 'relative',
|
|
9
|
+
height: 120,
|
|
10
|
+
minHeight: 120,
|
|
11
|
+
'& .SCEventForm-upload-event-cover-root': {
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
right: theme.spacing(2),
|
|
14
|
+
bottom: theme.spacing(1),
|
|
15
|
+
padding: theme.spacing(1),
|
|
16
|
+
minWidth: 'auto'
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
'& .SCEventForm-header': {
|
|
20
|
+
marginTop: theme.spacing(4.5),
|
|
21
|
+
color: theme.palette.text.secondary
|
|
22
|
+
},
|
|
23
|
+
'& .SCEventForm-form': {
|
|
24
|
+
'& .SCEventForm-picker': {
|
|
25
|
+
width: '50%'
|
|
26
|
+
},
|
|
27
|
+
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
28
|
+
marginBottom: theme.spacing(2)
|
|
29
|
+
},
|
|
30
|
+
'& .MuiButton-text': {
|
|
31
|
+
justifyContent: 'start',
|
|
32
|
+
paddingLeft: theme.spacing(1),
|
|
33
|
+
'&:hover': {
|
|
34
|
+
backgroundColor: 'transparent'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
'& .SCEventForm-date-time': {
|
|
39
|
+
display: 'flex',
|
|
40
|
+
alignItems: 'center',
|
|
41
|
+
justifyContent: 'space-between',
|
|
42
|
+
gap: theme.spacing(1)
|
|
43
|
+
},
|
|
44
|
+
'& .SCEventForm-error': {
|
|
45
|
+
color: theme.palette.error.main
|
|
46
|
+
},
|
|
47
|
+
'& .SCEventForm-switch': {
|
|
48
|
+
'& .MuiButtonBase-root': {
|
|
49
|
+
'&.Mui-checked': {
|
|
50
|
+
color: theme.palette.secondary.main,
|
|
51
|
+
'& + .MuiSwitch-track': {
|
|
52
|
+
backgroundColor: theme.palette.secondary.main
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
'& .SCEventForm-switch-label': {
|
|
58
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
59
|
+
display: 'flex',
|
|
60
|
+
alignItems: 'center',
|
|
61
|
+
justifyContent: 'center',
|
|
62
|
+
gap: theme.spacing(0.5)
|
|
63
|
+
},
|
|
64
|
+
'& .SCEventForm-active': {
|
|
65
|
+
color: theme.palette.secondary.main
|
|
66
|
+
},
|
|
67
|
+
'& .SCEventForm-privacy-section': {
|
|
68
|
+
marginTop: theme.spacing(2),
|
|
69
|
+
justifyContent: 'center',
|
|
70
|
+
'& .SCEventForm-privacy-section-info': {
|
|
71
|
+
marginBottom: theme.spacing(2)
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
'& .SCEventForm-visibility-section-info': {
|
|
75
|
+
marginTop: theme.spacing(1)
|
|
76
|
+
},
|
|
77
|
+
'& .MuiDivider-root': {
|
|
78
|
+
marginTop: theme.spacing(2),
|
|
79
|
+
border: `1px solid ${(0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`
|
|
80
|
+
},
|
|
81
|
+
'& .MuiDialogTitle-root': {
|
|
82
|
+
'& span': {
|
|
83
|
+
flexGrow: 1,
|
|
84
|
+
textAlign: 'center'
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
'& .SCEventForm-event-address-root': {
|
|
88
|
+
backgroundColor: theme.palette.grey['A200'],
|
|
89
|
+
borderRadius: 5,
|
|
90
|
+
'& .SCEventForm-event-address-tabs': {
|
|
91
|
+
padding: theme.spacing(0, 2, 0, 2),
|
|
92
|
+
'& .MuiTabs-indicator': {
|
|
93
|
+
bottom: theme.spacing(1.5)
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
'& .SCEventForm-event-address-tab': {
|
|
97
|
+
textTransform: 'none'
|
|
98
|
+
},
|
|
99
|
+
'& .SCEventForm-event-address-tab-content': {
|
|
100
|
+
padding: theme.spacing(0.5, 2, 2, 2)
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
exports.default = Component;
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme, isEventAdmin, isEventFinished }: any) => {
|
|
4
|
+
'& .SCEventHeader-cover': {
|
|
5
|
+
[x: number]: {
|
|
6
|
+
borderRadius: any;
|
|
7
|
+
};
|
|
8
|
+
position: string;
|
|
9
|
+
minHeight: number;
|
|
10
|
+
background: string;
|
|
11
|
+
height: number;
|
|
12
|
+
borderRadius: number;
|
|
13
|
+
};
|
|
14
|
+
'& .SCEventHeader-in-progress': {
|
|
15
|
+
color: any;
|
|
16
|
+
paddingLeft: any;
|
|
17
|
+
display: string;
|
|
18
|
+
alignItems: string;
|
|
19
|
+
gap: string;
|
|
20
|
+
marginBottom: any;
|
|
21
|
+
'&:before': {
|
|
22
|
+
content: string;
|
|
23
|
+
width: string;
|
|
24
|
+
height: string;
|
|
25
|
+
borderRadius: string;
|
|
26
|
+
backgroundColor: any;
|
|
27
|
+
animation: string;
|
|
28
|
+
'@keyframes pulse-animation': {
|
|
29
|
+
'0%': {
|
|
30
|
+
opacity: number;
|
|
31
|
+
};
|
|
32
|
+
'50%': {
|
|
33
|
+
opacity: number;
|
|
34
|
+
};
|
|
35
|
+
'100%': {
|
|
36
|
+
opacity: number;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'& .SCEventHeader-chip': {
|
|
42
|
+
marginLeft: any;
|
|
43
|
+
marginBottom: any;
|
|
44
|
+
backgroundColor: any;
|
|
45
|
+
'& .SCEventHeader-chip-icon': {
|
|
46
|
+
marginLeft: any;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
'& .SCEventHeader-time': {
|
|
50
|
+
textTransform: string;
|
|
51
|
+
fontSize: string;
|
|
52
|
+
fontWeight: any;
|
|
53
|
+
color: any;
|
|
54
|
+
paddingLeft: any;
|
|
55
|
+
};
|
|
56
|
+
'& .SCEventHeader-info': {
|
|
57
|
+
marginTop: any;
|
|
58
|
+
'& .SCEventHeader-name': {
|
|
59
|
+
fontSize: string;
|
|
60
|
+
fontWeight: any;
|
|
61
|
+
paddingLeft: any;
|
|
62
|
+
color: any;
|
|
63
|
+
};
|
|
64
|
+
'& .SCEventHeader-visibility': {
|
|
65
|
+
display: string;
|
|
66
|
+
justifyContent: string;
|
|
67
|
+
alignItems: string;
|
|
68
|
+
gap: any;
|
|
69
|
+
paddingLeft: any;
|
|
70
|
+
color: any;
|
|
71
|
+
'& .SCEventHeader-visibility-item': {
|
|
72
|
+
fontSize: any;
|
|
73
|
+
fontWeight: any;
|
|
74
|
+
color: any;
|
|
75
|
+
display: string;
|
|
76
|
+
justifyContent: string;
|
|
77
|
+
alignItems: string;
|
|
78
|
+
gap: any;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
'& .SCEditEvenButton-root': {
|
|
82
|
+
marginLeft: string;
|
|
83
|
+
marginTop: any;
|
|
84
|
+
marginRight: any;
|
|
85
|
+
};
|
|
86
|
+
'& .SCEvenSubscribeButton-root': {
|
|
87
|
+
marginTop: any;
|
|
88
|
+
};
|
|
89
|
+
'& .SCUser-root': {
|
|
90
|
+
borderTop: string;
|
|
91
|
+
borderBottom: string;
|
|
92
|
+
marginTop: any;
|
|
93
|
+
'& .SCBaseItemButton-content': {
|
|
94
|
+
paddingLeft: any;
|
|
95
|
+
};
|
|
96
|
+
'& .SCBaseItemButton-actions': {
|
|
97
|
+
[x: number]: {
|
|
98
|
+
width: string;
|
|
99
|
+
};
|
|
100
|
+
maxWidth: string;
|
|
101
|
+
'& .SCEventHeader-multi-actions': {
|
|
102
|
+
display: string;
|
|
103
|
+
justifyContent: string;
|
|
104
|
+
alignItems: string;
|
|
105
|
+
'& .SCEventInviteButton-root': {
|
|
106
|
+
marginRight: any;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
'& .SCUser-skeleton-root': {
|
|
112
|
+
marginTop: any;
|
|
113
|
+
'& .SCBaseItem-content': {
|
|
114
|
+
paddingLeft: any;
|
|
115
|
+
};
|
|
116
|
+
'& .SCBaseItem-actions': {
|
|
117
|
+
paddingRight: any;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
'& .SCEventHeader-name': {
|
|
122
|
+
fontWeight: any;
|
|
123
|
+
fontSize: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
skeletonRoot: ({ theme }: any) => {
|
|
127
|
+
position: string;
|
|
128
|
+
'& .SCEventHeader-cover': {
|
|
129
|
+
height: number;
|
|
130
|
+
};
|
|
131
|
+
'& .SCEventHeader-avatar': {
|
|
132
|
+
top: number;
|
|
133
|
+
display: string;
|
|
134
|
+
position: string;
|
|
135
|
+
marginLeft: any;
|
|
136
|
+
"& .MuiSkeleton-root": {
|
|
137
|
+
border: string;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
'& .SCEventHeader-info': {
|
|
141
|
+
marginTop: number;
|
|
142
|
+
marginLeft: any;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
export default Component;
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
4
|
+
const Component = {
|
|
5
|
+
styleOverrides: {
|
|
6
|
+
root: ({ theme, isEventAdmin, isEventFinished }) => ({
|
|
7
|
+
'& .SCEventHeader-cover': {
|
|
8
|
+
position: 'relative',
|
|
9
|
+
minHeight: 150,
|
|
10
|
+
background: 'linear-gradient(180deg, rgba(177,177,177,1) 0%, rgba(255,255,255,1) 90%)',
|
|
11
|
+
height: 230,
|
|
12
|
+
borderRadius: 0,
|
|
13
|
+
[theme.breakpoints.up('md')]: {
|
|
14
|
+
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'& .SCEventHeader-in-progress': {
|
|
18
|
+
color: theme.palette.secondary.main,
|
|
19
|
+
paddingLeft: theme.spacing(2),
|
|
20
|
+
display: 'inline-flex',
|
|
21
|
+
alignItems: 'center',
|
|
22
|
+
gap: '4px',
|
|
23
|
+
marginBottom: theme.spacing(0.5),
|
|
24
|
+
'&:before': {
|
|
25
|
+
content: '""',
|
|
26
|
+
width: '8px',
|
|
27
|
+
height: '8px',
|
|
28
|
+
borderRadius: '9999px',
|
|
29
|
+
backgroundColor: theme.palette.secondary.main,
|
|
30
|
+
animation: 'pulse-animation 2s linear infinite',
|
|
31
|
+
'@keyframes pulse-animation': {
|
|
32
|
+
'0%': {
|
|
33
|
+
opacity: 1
|
|
34
|
+
},
|
|
35
|
+
'50%': {
|
|
36
|
+
opacity: 0
|
|
37
|
+
},
|
|
38
|
+
'100%': {
|
|
39
|
+
opacity: 1
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
'& .SCEventHeader-chip': {
|
|
45
|
+
marginLeft: theme.spacing(2),
|
|
46
|
+
marginBottom: theme.spacing(),
|
|
47
|
+
backgroundColor: theme.palette.grey[500],
|
|
48
|
+
'& .SCEventHeader-chip-icon': {
|
|
49
|
+
marginLeft: theme.spacing(1)
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
'& .SCEventHeader-time': {
|
|
53
|
+
textTransform: 'uppercase',
|
|
54
|
+
fontSize: '1.143rem',
|
|
55
|
+
fontWeight: theme.typography.fontWeightLight,
|
|
56
|
+
color: isEventFinished ? theme.palette.grey[500] : theme.palette.text.secondary,
|
|
57
|
+
paddingLeft: theme.spacing(2)
|
|
58
|
+
},
|
|
59
|
+
'& .SCEventHeader-info': {
|
|
60
|
+
marginTop: theme.spacing(6),
|
|
61
|
+
'& .SCEventHeader-name': {
|
|
62
|
+
fontSize: '1.857rem',
|
|
63
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
64
|
+
paddingLeft: theme.spacing(2),
|
|
65
|
+
color: isEventFinished ? theme.palette.grey[500] : 'inherit'
|
|
66
|
+
},
|
|
67
|
+
'& .SCEventHeader-visibility': {
|
|
68
|
+
display: 'flex',
|
|
69
|
+
justifyContent: 'flex-start',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
gap: theme.spacing(0.5),
|
|
72
|
+
paddingLeft: theme.spacing(2),
|
|
73
|
+
color: isEventFinished ? theme.palette.grey[500] : 'inherit',
|
|
74
|
+
'& .SCEventHeader-visibility-item': {
|
|
75
|
+
fontSize: theme.typography.fontSize,
|
|
76
|
+
fontWeight: theme.typography.fontWeightLight,
|
|
77
|
+
color: theme.palette.text.secondary,
|
|
78
|
+
display: 'flex',
|
|
79
|
+
justifyContent: 'center',
|
|
80
|
+
alignItems: 'center',
|
|
81
|
+
gap: theme.spacing(0.5)
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
'& .SCEditEvenButton-root': {
|
|
85
|
+
marginLeft: 'auto',
|
|
86
|
+
marginTop: theme.spacing(-4.25),
|
|
87
|
+
marginRight: theme.spacing(1)
|
|
88
|
+
},
|
|
89
|
+
'& .SCEvenSubscribeButton-root': {
|
|
90
|
+
marginTop: theme.spacing(1)
|
|
91
|
+
},
|
|
92
|
+
'& .SCUser-root': {
|
|
93
|
+
borderTop: `1px solid ${(0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`,
|
|
94
|
+
borderBottom: `1px solid ${(0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.activatedOpacity)}`,
|
|
95
|
+
marginTop: theme.spacing(1),
|
|
96
|
+
'& .SCBaseItemButton-content': {
|
|
97
|
+
paddingLeft: theme.spacing(2)
|
|
98
|
+
},
|
|
99
|
+
'& .SCBaseItemButton-actions': {
|
|
100
|
+
maxWidth: 'none',
|
|
101
|
+
[theme.breakpoints.up('sm')]: {
|
|
102
|
+
width: isEventAdmin && '60%'
|
|
103
|
+
},
|
|
104
|
+
'& .SCEventHeader-multi-actions': {
|
|
105
|
+
display: 'flex',
|
|
106
|
+
justifyContent: 'space-between',
|
|
107
|
+
alignItems: 'center',
|
|
108
|
+
'& .SCEventInviteButton-root': {
|
|
109
|
+
marginRight: theme.spacing(1)
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
'& .SCUser-skeleton-root': {
|
|
115
|
+
marginTop: theme.spacing(2),
|
|
116
|
+
'& .SCBaseItem-content': {
|
|
117
|
+
paddingLeft: theme.spacing(2)
|
|
118
|
+
},
|
|
119
|
+
'& .SCBaseItem-actions': {
|
|
120
|
+
paddingRight: theme.spacing(2)
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
'& .SCEventHeader-name': {
|
|
125
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
126
|
+
fontSize: '1.429rem'
|
|
127
|
+
}
|
|
128
|
+
}),
|
|
129
|
+
skeletonRoot: ({ theme }) => ({
|
|
130
|
+
position: 'relative',
|
|
131
|
+
'& .SCEventHeader-cover': {
|
|
132
|
+
height: 190
|
|
133
|
+
},
|
|
134
|
+
'& .SCEventHeader-avatar': {
|
|
135
|
+
top: 140,
|
|
136
|
+
display: 'block',
|
|
137
|
+
position: 'absolute',
|
|
138
|
+
marginLeft: theme.spacing(2),
|
|
139
|
+
[`& .MuiSkeleton-root`]: {
|
|
140
|
+
border: '#FFF solid 5px'
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
'& .SCEventHeader-info': {
|
|
144
|
+
marginTop: 60,
|
|
145
|
+
marginLeft: theme.spacing(2)
|
|
146
|
+
}
|
|
147
|
+
})
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
exports.default = Component;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
gap: any;
|
|
7
|
+
'& .SCEventInfoDetails-icon-text-wrapper': {
|
|
8
|
+
flexDirection: string;
|
|
9
|
+
alignItems: string;
|
|
10
|
+
gap: any;
|
|
11
|
+
'& > p': {
|
|
12
|
+
textTransform: string;
|
|
13
|
+
};
|
|
14
|
+
'& .SCEventInfoDetails-link': {
|
|
15
|
+
textDecoration: string;
|
|
16
|
+
color: any;
|
|
17
|
+
'&:hover': {
|
|
18
|
+
textDecoration: string;
|
|
19
|
+
};
|
|
20
|
+
'& .SCEventInfoDetails-url': {
|
|
21
|
+
overflow: string;
|
|
22
|
+
textOverflow: string;
|
|
23
|
+
display: string;
|
|
24
|
+
'-webkit-line-clamp': string;
|
|
25
|
+
'-webkit-box-orient': string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'& .SCEventInfoDetails-in-progress': {
|
|
29
|
+
width: string;
|
|
30
|
+
height: string;
|
|
31
|
+
borderRadius: string;
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
'& .SCEventInfoDetails-creation-wrapper': {
|
|
36
|
+
flexDirection: string;
|
|
37
|
+
alignItems: string;
|
|
38
|
+
gap: any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default Component;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
gap: theme.spacing(0.5),
|
|
7
|
+
'& .SCEventInfoDetails-icon-text-wrapper': {
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
gap: theme.spacing(0.75),
|
|
11
|
+
'& > p': {
|
|
12
|
+
textTransform: 'capitalize'
|
|
13
|
+
},
|
|
14
|
+
'& .SCEventInfoDetails-link': {
|
|
15
|
+
textDecoration: 'none',
|
|
16
|
+
color: theme.palette.text.primary,
|
|
17
|
+
'&:hover': {
|
|
18
|
+
textDecoration: 'underlined'
|
|
19
|
+
},
|
|
20
|
+
'& .SCEventInfoDetails-url': {
|
|
21
|
+
overflow: 'hidden',
|
|
22
|
+
textOverflow: 'ellipsis',
|
|
23
|
+
display: '-webkit-box',
|
|
24
|
+
'-webkit-line-clamp': '1',
|
|
25
|
+
'-webkit-box-orient': 'vertical'
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
'& .SCEventInfoDetails-in-progress': {
|
|
29
|
+
width: '6px',
|
|
30
|
+
height: '6px',
|
|
31
|
+
borderRadius: '9999px',
|
|
32
|
+
backgroundColor: theme.palette.secondary.main
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
'& .SCEventInfoDetails-creation-wrapper': {
|
|
36
|
+
flexDirection: 'row',
|
|
37
|
+
alignItems: 'center',
|
|
38
|
+
gap: theme.spacing(1)
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.default = Component;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCEventInfoWidget-content': {
|
|
7
|
+
padding: string;
|
|
8
|
+
'& .SCEventInfoWidget-title-wrapper': {
|
|
9
|
+
flexDirection: string;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
gap: string;
|
|
12
|
+
marginBottom: any;
|
|
13
|
+
};
|
|
14
|
+
'& .SCEventInfoWidget-text-wrapper': {
|
|
15
|
+
marginBottom: any;
|
|
16
|
+
'& .SCEventInfoWidget-show-more': {
|
|
17
|
+
fontSize: any;
|
|
18
|
+
fontWeight: any;
|
|
19
|
+
padding: any;
|
|
20
|
+
justifyContent: string;
|
|
21
|
+
'&:hover': {
|
|
22
|
+
backgroundColor: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
skeletonRoot: ({ theme }: {
|
|
29
|
+
theme: any;
|
|
30
|
+
}) => {
|
|
31
|
+
'& .SCEventInfoWidget-skeleton-content': {
|
|
32
|
+
padding: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export default Component;
|