@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,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCEventInfoWidget-content': {
|
|
7
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2)} 13px !important`,
|
|
8
|
+
'& .SCEventInfoWidget-title-wrapper': {
|
|
9
|
+
flexDirection: 'row',
|
|
10
|
+
alignItems: 'center',
|
|
11
|
+
gap: '9px',
|
|
12
|
+
marginBottom: theme.spacing(1)
|
|
13
|
+
},
|
|
14
|
+
'& .SCEventInfoWidget-text-wrapper': {
|
|
15
|
+
marginBottom: theme.spacing(3),
|
|
16
|
+
'& .SCEventInfoWidget-show-more': {
|
|
17
|
+
fontSize: theme.typography.fontSize,
|
|
18
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
19
|
+
padding: theme.spacing(0.25),
|
|
20
|
+
justifyContent: 'start',
|
|
21
|
+
'&:hover': {
|
|
22
|
+
backgroundColor: 'transparent'
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}),
|
|
28
|
+
skeletonRoot: ({ theme }) => ({
|
|
29
|
+
'& .SCEventInfoWidget-skeleton-content': {
|
|
30
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2)} 13px !important`
|
|
31
|
+
}
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
exports.default = Component;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .MuiButton-startIcon': {
|
|
5
|
+
marginRight: any;
|
|
6
|
+
'& .MuiIcon-root': {
|
|
7
|
+
fontSize: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
dialogRoot: ({ theme }: any) => {
|
|
12
|
+
'& .SCBaseDialog-title-root span ': {
|
|
13
|
+
width: string;
|
|
14
|
+
display: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
justifyContent: string;
|
|
17
|
+
'& .SCEventInviteButton-dialog-title': {
|
|
18
|
+
fontWeight: any;
|
|
19
|
+
fontSize: any;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'& .SCEventInviteButton-input': {
|
|
23
|
+
backgroundColor: string;
|
|
24
|
+
borderRadius: any;
|
|
25
|
+
height: any;
|
|
26
|
+
padding: any;
|
|
27
|
+
'& .SCEventInviteButton-icon ': {
|
|
28
|
+
marginLeft: any;
|
|
29
|
+
};
|
|
30
|
+
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
31
|
+
border: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'& .SCEventInviteButton-invited-box': {
|
|
35
|
+
marginTop: any;
|
|
36
|
+
marginBottom: any;
|
|
37
|
+
'& .MuiChip-root': {
|
|
38
|
+
marginBottom: any;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'& .SCEventInviteButton-suggested': {
|
|
42
|
+
'& h4': {
|
|
43
|
+
marginBottom: any;
|
|
44
|
+
};
|
|
45
|
+
'& .SCUser-root': {
|
|
46
|
+
'&:hover': {
|
|
47
|
+
backgroundColor: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default Component;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
'& .MuiButton-startIcon': {
|
|
8
|
+
marginRight: theme.spacing(0.5),
|
|
9
|
+
'& .MuiIcon-root': {
|
|
10
|
+
fontSize: '0.75rem !important'
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}),
|
|
14
|
+
dialogRoot: ({ theme }) => ({
|
|
15
|
+
'& .SCBaseDialog-title-root span ': {
|
|
16
|
+
width: '100%',
|
|
17
|
+
display: 'flex',
|
|
18
|
+
alignItems: 'center',
|
|
19
|
+
justifyContent: 'space-between',
|
|
20
|
+
'& .SCEventInviteButton-dialog-title': {
|
|
21
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
22
|
+
fontSize: theme.typography.h4.fontSize
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
'& .SCEventInviteButton-input': {
|
|
26
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.selectedOpacity),
|
|
27
|
+
borderRadius: theme.shape.borderRadius,
|
|
28
|
+
height: theme.spacing(3.75),
|
|
29
|
+
padding: theme.spacing(0.5, 1),
|
|
30
|
+
'& .SCEventInviteButton-icon ': {
|
|
31
|
+
marginLeft: theme.spacing(1)
|
|
32
|
+
},
|
|
33
|
+
'&.Mui-focused .MuiOutlinedInput-notchedOutline': {
|
|
34
|
+
border: '1px solid'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'& .SCEventInviteButton-invited-box': {
|
|
38
|
+
marginTop: theme.spacing(2),
|
|
39
|
+
marginBottom: theme.spacing(3),
|
|
40
|
+
'& .MuiChip-root': {
|
|
41
|
+
marginBottom: theme.spacing(1)
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
'& .SCEventInviteButton-suggested': {
|
|
45
|
+
'& h4': {
|
|
46
|
+
marginBottom: theme.spacing(1)
|
|
47
|
+
},
|
|
48
|
+
'& .SCUser-root': {
|
|
49
|
+
'&:hover': {
|
|
50
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
exports.default = Component;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
|
|
5
|
+
fontWeight: any;
|
|
6
|
+
};
|
|
7
|
+
'& .SCEventLocationWidget-map': {
|
|
8
|
+
marginBottom: any;
|
|
9
|
+
minHeight: number;
|
|
10
|
+
width: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
skeletonRoot: ({ theme }: any) => {
|
|
14
|
+
'& .SCEventLocationWidget-skeleton-map': {
|
|
15
|
+
margin: any;
|
|
16
|
+
minHeight: number;
|
|
17
|
+
width: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Component;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCEventLocationWidget-title, & .SCEventLocationWidget-location-title': {
|
|
7
|
+
fontWeight: theme.typography.fontWeightBold
|
|
8
|
+
// marginBottom: theme.spacing(0.5)
|
|
9
|
+
},
|
|
10
|
+
'& .SCEventLocationWidget-map': {
|
|
11
|
+
marginBottom: theme.spacing(1),
|
|
12
|
+
minHeight: 248,
|
|
13
|
+
width: '100%'
|
|
14
|
+
}
|
|
15
|
+
}),
|
|
16
|
+
skeletonRoot: ({ theme }) => ({
|
|
17
|
+
'& .SCEventLocationWidget-skeleton-map': {
|
|
18
|
+
margin: theme.spacing(1, 0, 1, 0),
|
|
19
|
+
minHeight: 248,
|
|
20
|
+
width: '100%'
|
|
21
|
+
}
|
|
22
|
+
})
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.default = Component;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCEventMembersWidget-content': {
|
|
7
|
+
padding: string;
|
|
8
|
+
'& .SCEventMembersWidget-title': {
|
|
9
|
+
marginBottom: string;
|
|
10
|
+
};
|
|
11
|
+
'& .SCEventMembersWidget-tabs-wrapper': {
|
|
12
|
+
borderBottom: string;
|
|
13
|
+
'& .SCEventMembersWidget-tab-label-wrapper': {
|
|
14
|
+
gap: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
'& .SCEventMembersWidget-tab-panel': {
|
|
19
|
+
padding: string;
|
|
20
|
+
};
|
|
21
|
+
'& .SCEventMembersWidget-action-button': {
|
|
22
|
+
left: string;
|
|
23
|
+
transform: string;
|
|
24
|
+
color: any;
|
|
25
|
+
};
|
|
26
|
+
'& .SCEventMembersWidget-event-button': {
|
|
27
|
+
left: string;
|
|
28
|
+
transform: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
skeletonRoot: ({ theme }: {
|
|
33
|
+
theme: any;
|
|
34
|
+
}) => {
|
|
35
|
+
'& .SCEventMembersWidget-content': {
|
|
36
|
+
padding: string;
|
|
37
|
+
'& .SCEventMembersWidget-title': {
|
|
38
|
+
marginBottom: string;
|
|
39
|
+
};
|
|
40
|
+
'& .SCEventMembersWidget-tabs-wrapper': {
|
|
41
|
+
borderBottom: string;
|
|
42
|
+
'& .SCEventMembersWidget-tab-label-wrapper': {
|
|
43
|
+
gap: string;
|
|
44
|
+
alignItems: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
'& .SCEventMembersWidget-tab-panel': {
|
|
48
|
+
padding: string;
|
|
49
|
+
};
|
|
50
|
+
'& .SCEventMembersWidget-action-button': {
|
|
51
|
+
left: string;
|
|
52
|
+
transform: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
dialogRoot: ({ theme }: {
|
|
57
|
+
theme: any;
|
|
58
|
+
}) => {
|
|
59
|
+
'& .SCEventMembersWidget-infinite-scroll': {
|
|
60
|
+
[x: number]: {
|
|
61
|
+
height: string;
|
|
62
|
+
};
|
|
63
|
+
height: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default Component;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCEventMembersWidget-content': {
|
|
7
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2)}}`,
|
|
8
|
+
'& .SCEventMembersWidget-title': {
|
|
9
|
+
marginBottom: '18px'
|
|
10
|
+
},
|
|
11
|
+
'& .SCEventMembersWidget-tabs-wrapper': {
|
|
12
|
+
borderBottom: `1px solid ${theme.palette.grey['300']}`,
|
|
13
|
+
'& .SCEventMembersWidget-tab-label-wrapper': {
|
|
14
|
+
gap: '2px',
|
|
15
|
+
alignItems: 'center'
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
'& .SCEventMembersWidget-tab-panel': {
|
|
19
|
+
padding: `${theme.spacing(4)} 0 0`
|
|
20
|
+
},
|
|
21
|
+
'& .SCEventMembersWidget-action-button': {
|
|
22
|
+
left: '50%',
|
|
23
|
+
transform: 'translate(-50%)',
|
|
24
|
+
color: theme.palette.primary.main
|
|
25
|
+
},
|
|
26
|
+
'& .SCEventMembersWidget-event-button': {
|
|
27
|
+
left: '50%',
|
|
28
|
+
transform: 'translate(-50%)'
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}),
|
|
32
|
+
skeletonRoot: ({ theme }) => ({
|
|
33
|
+
'& .SCEventMembersWidget-content': {
|
|
34
|
+
padding: `${theme.spacing(2)} ${theme.spacing(2)}`,
|
|
35
|
+
'& .SCEventMembersWidget-title': {
|
|
36
|
+
marginBottom: '18px'
|
|
37
|
+
},
|
|
38
|
+
'& .SCEventMembersWidget-tabs-wrapper': {
|
|
39
|
+
borderBottom: `1px solid ${theme.palette.grey['300']}`,
|
|
40
|
+
'& .SCEventMembersWidget-tab-label-wrapper': {
|
|
41
|
+
gap: '2px',
|
|
42
|
+
alignItems: 'center'
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
'& .SCEventMembersWidget-tab-panel': {
|
|
46
|
+
padding: `${theme.spacing(4)} 0 0`
|
|
47
|
+
},
|
|
48
|
+
'& .SCEventMembersWidget-action-button': {
|
|
49
|
+
left: '50%',
|
|
50
|
+
transform: 'translate(-50%)'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}),
|
|
54
|
+
dialogRoot: ({ theme }) => ({
|
|
55
|
+
'& .SCEventMembersWidget-infinite-scroll': {
|
|
56
|
+
height: '400px',
|
|
57
|
+
[theme.breakpoints.down('md')]: {
|
|
58
|
+
height: '100%'
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
})
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
exports.default = Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
gap: any;
|
|
7
|
+
marginTop: string;
|
|
8
|
+
minWidth: string;
|
|
9
|
+
'&:hover': {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
'& .MuiAvatarGroup-avatar': {
|
|
13
|
+
width: any;
|
|
14
|
+
height: any;
|
|
15
|
+
fontSize: string;
|
|
16
|
+
};
|
|
17
|
+
'& .SCEventParticipantsButton-participants': {
|
|
18
|
+
color: any;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
dialogRoot: ({ theme }: {
|
|
22
|
+
theme: any;
|
|
23
|
+
}) => {
|
|
24
|
+
'& .SCEventParticipantsButton-infinite-scroll': {
|
|
25
|
+
[x: number]: {
|
|
26
|
+
height: string;
|
|
27
|
+
};
|
|
28
|
+
height: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default Component;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
gap: theme.spacing(1),
|
|
7
|
+
marginTop: '0 !important',
|
|
8
|
+
minWidth: 'auto',
|
|
9
|
+
'&:hover': {
|
|
10
|
+
backgroundColor: 'unset'
|
|
11
|
+
},
|
|
12
|
+
'& .MuiAvatarGroup-avatar': {
|
|
13
|
+
width: theme.selfcommunity.user.avatar.sizeSmall,
|
|
14
|
+
height: theme.selfcommunity.user.avatar.sizeSmall,
|
|
15
|
+
fontSize: '0.8rem'
|
|
16
|
+
},
|
|
17
|
+
'& .SCEventParticipantsButton-participants': {
|
|
18
|
+
color: theme.palette.grey[600]
|
|
19
|
+
}
|
|
20
|
+
}),
|
|
21
|
+
dialogRoot: ({ theme }) => ({
|
|
22
|
+
'& .SCEventParticipantsButton-infinite-scroll': {
|
|
23
|
+
height: '400px !important',
|
|
24
|
+
[theme.breakpoints.down('md')]: {
|
|
25
|
+
height: '100%'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
exports.default = Component;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
selectRoot: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
backgroundColor: any;
|
|
7
|
+
justifyContent: string;
|
|
8
|
+
height: number;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
'&:hover, &:active': {
|
|
11
|
+
backgroundColor: any;
|
|
12
|
+
color: any;
|
|
13
|
+
'& .MuiIcon-root': {
|
|
14
|
+
color: any;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
'&.SCEventSubscribeButton-going': {
|
|
18
|
+
backgroundColor: string;
|
|
19
|
+
color: any;
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
color: any;
|
|
22
|
+
};
|
|
23
|
+
'&:hover': {
|
|
24
|
+
backgroundColor: any;
|
|
25
|
+
color: any;
|
|
26
|
+
'& .MuiIcon-root': {
|
|
27
|
+
color: any;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'&.SCEventSubscribeButton-not-going': {
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
color: any;
|
|
34
|
+
'& .MuiIcon-root': {
|
|
35
|
+
color: any;
|
|
36
|
+
};
|
|
37
|
+
'&:hover': {
|
|
38
|
+
backgroundColor: any;
|
|
39
|
+
color: any;
|
|
40
|
+
'& .MuiIcon-root': {
|
|
41
|
+
color: any;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
requestRoot: ({ theme }: {
|
|
47
|
+
theme: any;
|
|
48
|
+
}) => {};
|
|
49
|
+
menuRoot: ({ theme }: {
|
|
50
|
+
theme: any;
|
|
51
|
+
}) => {
|
|
52
|
+
'& .MuiPaper-root': {
|
|
53
|
+
width: number;
|
|
54
|
+
borderRadius: string;
|
|
55
|
+
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
56
|
+
paddingTop: number;
|
|
57
|
+
paddingBottom: number;
|
|
58
|
+
'&.Mui-disabled': {
|
|
59
|
+
paddingTop: any;
|
|
60
|
+
paddingBottom: any;
|
|
61
|
+
};
|
|
62
|
+
'& .Mui-checked .MuiSvgIcon-root': {
|
|
63
|
+
color: any;
|
|
64
|
+
};
|
|
65
|
+
'& > .MuiFormControlLabel-root': {
|
|
66
|
+
width: string;
|
|
67
|
+
marginLeft: number;
|
|
68
|
+
justifyContent: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
drawerRoot: ({ theme }: {
|
|
74
|
+
theme: any;
|
|
75
|
+
}) => {
|
|
76
|
+
'& .MuiPaper-root': {
|
|
77
|
+
'& .SCEventSubscribeButton-item': {
|
|
78
|
+
paddingTop: number;
|
|
79
|
+
paddingBottom: number;
|
|
80
|
+
'& .Mui-checked .MuiSvgIcon-root': {
|
|
81
|
+
color: any;
|
|
82
|
+
};
|
|
83
|
+
'& > .MuiFormControlLabel-root': {
|
|
84
|
+
width: string;
|
|
85
|
+
marginLeft: number;
|
|
86
|
+
justifyContent: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export default Component;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
selectRoot: ({ theme }) => ({
|
|
6
|
+
backgroundColor: theme.palette.grey['A200'],
|
|
7
|
+
justifyContent: 'space-between',
|
|
8
|
+
height: 33,
|
|
9
|
+
borderRadius: '5px',
|
|
10
|
+
'&:hover, &:active': {
|
|
11
|
+
backgroundColor: theme.palette.common.black,
|
|
12
|
+
color: theme.palette.common.white,
|
|
13
|
+
'& .MuiIcon-root': {
|
|
14
|
+
color: theme.palette.common.white
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'&.SCEventSubscribeButton-going': {
|
|
18
|
+
backgroundColor: `${theme.palette.success.dark} !important`,
|
|
19
|
+
color: theme.palette.common.white,
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
color: theme.palette.common.white
|
|
22
|
+
},
|
|
23
|
+
'&:hover': {
|
|
24
|
+
backgroundColor: theme.palette.success.dark,
|
|
25
|
+
color: theme.palette.common.white,
|
|
26
|
+
'& .MuiIcon-root': {
|
|
27
|
+
color: theme.palette.common.white
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
'&.SCEventSubscribeButton-not-going': {
|
|
32
|
+
backgroundColor: theme.palette.error.dark,
|
|
33
|
+
color: theme.palette.common.white,
|
|
34
|
+
'& .MuiIcon-root': {
|
|
35
|
+
color: theme.palette.common.white
|
|
36
|
+
},
|
|
37
|
+
'&:hover': {
|
|
38
|
+
backgroundColor: theme.palette.error.dark,
|
|
39
|
+
color: theme.palette.common.white,
|
|
40
|
+
'& .MuiIcon-root': {
|
|
41
|
+
color: theme.palette.common.white
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}),
|
|
46
|
+
requestRoot: ({ theme }) => ({}),
|
|
47
|
+
menuRoot: ({ theme }) => ({
|
|
48
|
+
'& .MuiPaper-root': {
|
|
49
|
+
width: 195,
|
|
50
|
+
borderRadius: '5px',
|
|
51
|
+
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
52
|
+
paddingTop: 0,
|
|
53
|
+
paddingBottom: 0,
|
|
54
|
+
'&.Mui-disabled': {
|
|
55
|
+
paddingTop: theme.spacing(1),
|
|
56
|
+
paddingBottom: theme.spacing(1)
|
|
57
|
+
},
|
|
58
|
+
'& .Mui-checked .MuiSvgIcon-root': {
|
|
59
|
+
color: theme.palette.success.main
|
|
60
|
+
},
|
|
61
|
+
'& > .MuiFormControlLabel-root': {
|
|
62
|
+
width: '100%',
|
|
63
|
+
marginLeft: 0,
|
|
64
|
+
justifyContent: 'space-between'
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}),
|
|
69
|
+
drawerRoot: ({ theme }) => ({
|
|
70
|
+
'& .MuiPaper-root': {
|
|
71
|
+
'& .SCEventSubscribeButton-item': {
|
|
72
|
+
paddingTop: 0,
|
|
73
|
+
paddingBottom: 0,
|
|
74
|
+
'& .Mui-checked .MuiSvgIcon-root': {
|
|
75
|
+
color: theme.palette.success.main
|
|
76
|
+
},
|
|
77
|
+
'& > .MuiFormControlLabel-root': {
|
|
78
|
+
width: '100%',
|
|
79
|
+
marginLeft: 0,
|
|
80
|
+
justifyContent: 'space-between'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
})
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
exports.default = Component;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCEvents-filters': {
|
|
5
|
+
alignItems: string;
|
|
6
|
+
marginTop: any;
|
|
7
|
+
marginBottom: any;
|
|
8
|
+
'& .SCEvents-search': {
|
|
9
|
+
'& .MuiInputBase-root': {
|
|
10
|
+
paddingRight: number;
|
|
11
|
+
'& .MuiButtonBase-root': {
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
height: string;
|
|
14
|
+
'& .MuiButton-endIcon': {
|
|
15
|
+
margin: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
'& .SCEvents-events': {
|
|
22
|
+
marginTop: any;
|
|
23
|
+
'& .SCEvents-item': {
|
|
24
|
+
paddingTop: any;
|
|
25
|
+
};
|
|
26
|
+
'& .SCEvents-item-skeleton': {
|
|
27
|
+
paddingTop: any;
|
|
28
|
+
};
|
|
29
|
+
'& .SCBaseItem-root': {
|
|
30
|
+
display: string;
|
|
31
|
+
justifyContent: string;
|
|
32
|
+
};
|
|
33
|
+
'& .SCEvent-skeleton-preview-name': {
|
|
34
|
+
marginTop: number;
|
|
35
|
+
marginBottom: number;
|
|
36
|
+
};
|
|
37
|
+
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
|
|
38
|
+
maxWidth: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'& .SCEvents-no-results': {
|
|
42
|
+
marginTop: any;
|
|
43
|
+
display: string;
|
|
44
|
+
flexDirection: string;
|
|
45
|
+
alignItems: string;
|
|
46
|
+
'& .SCEvent-skeleton-root': {
|
|
47
|
+
marginBottom: any;
|
|
48
|
+
minWidth: string;
|
|
49
|
+
};
|
|
50
|
+
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
|
|
51
|
+
maxWidth: string;
|
|
52
|
+
};
|
|
53
|
+
'& .MuiTypography-body1': {
|
|
54
|
+
fontWeight: any;
|
|
55
|
+
fontSize: string;
|
|
56
|
+
whiteSpace: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
'& .SCEvents-show-more': {
|
|
60
|
+
paddingLeft: any;
|
|
61
|
+
'&.Mui-selected, &:hover': {
|
|
62
|
+
backgroundColor: string;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
skeletonRoot: ({ theme }: any) => {
|
|
67
|
+
'& .SCEvents-skeleton-events': {
|
|
68
|
+
justifyContent: string;
|
|
69
|
+
marginTop: any;
|
|
70
|
+
'& .SCEvents-skeleton-item': {
|
|
71
|
+
paddingTop: any;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents }: any) => {
|
|
76
|
+
height: any;
|
|
77
|
+
borderRadius: any;
|
|
78
|
+
color: any;
|
|
79
|
+
'& .MuiIcon-root': {
|
|
80
|
+
fontSize: string;
|
|
81
|
+
color: any;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
export default Component;
|