@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,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCEvents-filters': {
|
|
7
|
+
alignItems: 'center',
|
|
8
|
+
marginTop: theme.spacing(),
|
|
9
|
+
marginBottom: theme.spacing(2),
|
|
10
|
+
'& .SCEvents-search': {
|
|
11
|
+
'& .MuiInputBase-root': {
|
|
12
|
+
paddingRight: 0,
|
|
13
|
+
'& .MuiButtonBase-root': {
|
|
14
|
+
borderRadius: '0 5px 5px 0',
|
|
15
|
+
height: '37px',
|
|
16
|
+
'& .MuiButton-endIcon': {
|
|
17
|
+
margin: 0
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
'& .SCEvents-events': {
|
|
24
|
+
marginTop: theme.spacing(2),
|
|
25
|
+
'& .SCEvents-item': {
|
|
26
|
+
paddingTop: theme.spacing(2)
|
|
27
|
+
},
|
|
28
|
+
'& .SCEvents-item-skeleton': {
|
|
29
|
+
paddingTop: theme.spacing(2)
|
|
30
|
+
},
|
|
31
|
+
'& .SCBaseItem-root': {
|
|
32
|
+
display: 'flex',
|
|
33
|
+
justifyContent: 'space-between'
|
|
34
|
+
},
|
|
35
|
+
'& .SCEvent-skeleton-preview-name': {
|
|
36
|
+
marginTop: 6,
|
|
37
|
+
marginBottom: 6
|
|
38
|
+
},
|
|
39
|
+
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
|
|
40
|
+
maxWidth: '70%'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
'& .SCEvents-no-results': {
|
|
44
|
+
marginTop: theme.spacing(3),
|
|
45
|
+
display: 'flex',
|
|
46
|
+
flexDirection: 'column',
|
|
47
|
+
alignItems: 'flex-start',
|
|
48
|
+
'& .SCEvent-skeleton-root': {
|
|
49
|
+
marginBottom: theme.spacing(2),
|
|
50
|
+
minWidth: '50%'
|
|
51
|
+
},
|
|
52
|
+
'& .SCEvent-skeleton-snippet .SCBaseItem-content': {
|
|
53
|
+
maxWidth: '70%'
|
|
54
|
+
},
|
|
55
|
+
'& .MuiTypography-body1': {
|
|
56
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
57
|
+
fontSize: '16px',
|
|
58
|
+
whiteSpace: 'pre-line'
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
'& .SCEvents-show-more': {
|
|
62
|
+
paddingLeft: theme.spacing(1),
|
|
63
|
+
'&.Mui-selected, &:hover': {
|
|
64
|
+
backgroundColor: 'transparent'
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}),
|
|
68
|
+
skeletonRoot: ({ theme }) => ({
|
|
69
|
+
'& .SCEvents-skeleton-events': {
|
|
70
|
+
justifyContent: 'center',
|
|
71
|
+
marginTop: theme.spacing(2),
|
|
72
|
+
'& .SCEvents-skeleton-item': {
|
|
73
|
+
paddingTop: theme.spacing(2)
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}),
|
|
77
|
+
eventsChipRoot: ({ theme, showFollowed, showPastEvents }) => ({
|
|
78
|
+
height: theme.spacing(4.75),
|
|
79
|
+
borderRadius: theme.spacing(0.5),
|
|
80
|
+
color: showFollowed || showPastEvents ? theme.palette.common.white : theme.palette.text.primary,
|
|
81
|
+
'& .MuiIcon-root': {
|
|
82
|
+
fontSize: '1rem',
|
|
83
|
+
color: theme.palette.common.white
|
|
84
|
+
}
|
|
85
|
+
})
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
exports.default = Component;
|
|
@@ -41,7 +41,7 @@ declare const Component: {
|
|
|
41
41
|
'&::-webkit-scrollbar': {
|
|
42
42
|
display: string;
|
|
43
43
|
};
|
|
44
|
-
'& a': {
|
|
44
|
+
'& a:not(.MuiChip-clickable)': {
|
|
45
45
|
color: string;
|
|
46
46
|
textDecoration: string;
|
|
47
47
|
'&::after': {
|
|
@@ -59,11 +59,11 @@ declare const Component: {
|
|
|
59
59
|
fontWeight: any;
|
|
60
60
|
};
|
|
61
61
|
};
|
|
62
|
-
'& .SCFeedObject-group': {
|
|
62
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
63
63
|
marginRight: string;
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
|
-
'& .SCFeedObject-group': {
|
|
66
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
67
67
|
justifyContent: string;
|
|
68
68
|
padding: any;
|
|
69
69
|
'& a': {
|
|
@@ -139,7 +139,7 @@ declare const Component: {
|
|
|
139
139
|
'& .SCFeedObject-category': {
|
|
140
140
|
borderBottom: string;
|
|
141
141
|
margin: any;
|
|
142
|
-
'& .SCFeedObject-group': {
|
|
142
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
143
143
|
borderBottom: string;
|
|
144
144
|
margin: any;
|
|
145
145
|
'& .MuiChip-icon': {
|
|
@@ -149,7 +149,7 @@ declare const Component: {
|
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
|
-
'& .SCFeedObject-group': {
|
|
152
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
153
153
|
borderBottom: string;
|
|
154
154
|
margin: any;
|
|
155
155
|
};
|
|
@@ -44,7 +44,7 @@ const Component = {
|
|
|
44
44
|
'&::-webkit-scrollbar': {
|
|
45
45
|
display: 'none'
|
|
46
46
|
},
|
|
47
|
-
'& a': {
|
|
47
|
+
'& a:not(.MuiChip-clickable)': {
|
|
48
48
|
color: 'inherit',
|
|
49
49
|
textDecoration: 'none',
|
|
50
50
|
'&::after': {
|
|
@@ -62,11 +62,11 @@ const Component = {
|
|
|
62
62
|
fontWeight: theme.typography.fontWeightBold
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
|
-
'& .SCFeedObject-group': {
|
|
65
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
66
66
|
marginRight: `${theme.spacing(1)} !important`
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
'& .SCFeedObject-group': {
|
|
69
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
70
70
|
justifyContent: 'flex-start',
|
|
71
71
|
padding: theme.spacing(0.5),
|
|
72
72
|
'& a': {
|
|
@@ -142,7 +142,7 @@ const Component = {
|
|
|
142
142
|
'& .SCFeedObject-category': {
|
|
143
143
|
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
144
144
|
margin: theme.spacing(0, 2),
|
|
145
|
-
'& .SCFeedObject-group': {
|
|
145
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
146
146
|
borderBottom: 'none',
|
|
147
147
|
margin: theme.spacing(0),
|
|
148
148
|
'& .MuiChip-icon': {
|
|
@@ -152,7 +152,7 @@ const Component = {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
|
-
'& .SCFeedObject-group': {
|
|
155
|
+
'& .SCFeedObject-group, & .SCFeedObject-event': {
|
|
156
156
|
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
157
157
|
margin: theme.spacing(1, 2, 0, 2)
|
|
158
158
|
},
|
|
@@ -2,7 +2,12 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
displayRoot: ({ theme }) => ({
|
|
5
|
+
displayRoot: ({ theme }) => ({
|
|
6
|
+
'& .SCMediaShare-share-preview': {
|
|
7
|
+
paddingLeft: theme.spacing(),
|
|
8
|
+
paddingRight: theme.spacing()
|
|
9
|
+
}
|
|
10
|
+
})
|
|
6
11
|
}
|
|
7
12
|
};
|
|
8
13
|
exports.default = Component;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCMyEventsWidget-title-wrapper': {
|
|
7
|
+
padding: string;
|
|
8
|
+
};
|
|
9
|
+
'& .SCMyEventsWidget-actions': {
|
|
10
|
+
padding: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
gap: any;
|
|
13
|
+
'& .SCMyEventsWidget-arrows': {
|
|
14
|
+
width: string;
|
|
15
|
+
height: string;
|
|
16
|
+
};
|
|
17
|
+
'& .SCMyEventsWidget-action-button': {
|
|
18
|
+
color: any;
|
|
19
|
+
textDecoration: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
skeletonRoot: ({ theme }: {
|
|
24
|
+
theme: any;
|
|
25
|
+
}) => {
|
|
26
|
+
'& .SCMyEventsWidget-actions': {
|
|
27
|
+
height: string;
|
|
28
|
+
padding: string;
|
|
29
|
+
justifyContent: string;
|
|
30
|
+
gap: any;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export default Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCMyEventsWidget-title-wrapper': {
|
|
7
|
+
padding: `12px ${theme.spacing(2)}`
|
|
8
|
+
},
|
|
9
|
+
'& .SCMyEventsWidget-actions': {
|
|
10
|
+
padding: `0 ${theme.spacing(3)} 18px`,
|
|
11
|
+
justifyContent: 'center',
|
|
12
|
+
gap: theme.spacing(3),
|
|
13
|
+
'& .SCMyEventsWidget-arrows': {
|
|
14
|
+
width: '24px',
|
|
15
|
+
height: '24px'
|
|
16
|
+
},
|
|
17
|
+
'& .SCMyEventsWidget-action-button': {
|
|
18
|
+
color: theme.palette.primary.main,
|
|
19
|
+
textDecoration: 'none'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}),
|
|
23
|
+
skeletonRoot: ({ theme }) => ({
|
|
24
|
+
'& .SCMyEventsWidget-actions': {
|
|
25
|
+
height: '40px',
|
|
26
|
+
padding: `0 ${theme.spacing(3)} 18px`,
|
|
27
|
+
justifyContent: 'center',
|
|
28
|
+
gap: theme.spacing(3)
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.default = Component;
|
|
@@ -21,7 +21,7 @@ declare const Component: {
|
|
|
21
21
|
flexGrow: number;
|
|
22
22
|
textAlign: string;
|
|
23
23
|
alignSelf: string;
|
|
24
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
|
|
24
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
|
|
25
25
|
paddingTop: number;
|
|
26
26
|
paddingLeft: any;
|
|
27
27
|
paddingRight: any;
|
|
@@ -15,7 +15,7 @@ const Component = {
|
|
|
15
15
|
flexGrow: 1,
|
|
16
16
|
textAlign: 'center',
|
|
17
17
|
alignSelf: 'end',
|
|
18
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups': {
|
|
18
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
|
|
19
19
|
paddingTop: 12,
|
|
20
20
|
paddingLeft: theme.spacing(1),
|
|
21
21
|
paddingRight: theme.spacing(1),
|
|
@@ -278,6 +278,33 @@ declare const Component: {
|
|
|
278
278
|
maxWidth: string;
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
|
+
eventRoot: ({ theme }: any) => {
|
|
282
|
+
'& .SCNotification-username, & a': {
|
|
283
|
+
fontWeight: any;
|
|
284
|
+
};
|
|
285
|
+
'& .SCNotificationItem-primary': {
|
|
286
|
+
'& .MuiIcon-root': {
|
|
287
|
+
float: string;
|
|
288
|
+
fontSize: string;
|
|
289
|
+
marginLeft: any;
|
|
290
|
+
};
|
|
291
|
+
'& .SCEvent-root': {
|
|
292
|
+
width: string;
|
|
293
|
+
'& .SCEvent-snippet-root': {
|
|
294
|
+
paddingLeft: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
};
|
|
298
|
+
'& .SCNotificationItem-secondary': {
|
|
299
|
+
textTransform: string;
|
|
300
|
+
};
|
|
301
|
+
'& .SCNotification-snippet-time': {
|
|
302
|
+
paddingLeft: any;
|
|
303
|
+
};
|
|
304
|
+
'& .SCEvent-snippet-root': {
|
|
305
|
+
backgroundColor: string;
|
|
306
|
+
};
|
|
307
|
+
};
|
|
281
308
|
groupRoot: ({ theme }: any) => {};
|
|
282
309
|
undeletedForRoot: ({ theme }: any) => {
|
|
283
310
|
'& .SCNotification-undeleted-icon': {
|
|
@@ -282,6 +282,33 @@ const Component = {
|
|
|
282
282
|
maxWidth: '40%'
|
|
283
283
|
}
|
|
284
284
|
}),
|
|
285
|
+
eventRoot: ({ theme }) => ({
|
|
286
|
+
'& .SCNotification-username, & a': {
|
|
287
|
+
fontWeight: theme.typography.fontWeightBold
|
|
288
|
+
},
|
|
289
|
+
'& .SCNotificationItem-primary': {
|
|
290
|
+
'& .MuiIcon-root': {
|
|
291
|
+
float: 'right',
|
|
292
|
+
fontSize: '20px',
|
|
293
|
+
marginLeft: theme.spacing(0.5)
|
|
294
|
+
},
|
|
295
|
+
'& .SCEvent-root': {
|
|
296
|
+
width: '100%',
|
|
297
|
+
'& .SCEvent-snippet-root': {
|
|
298
|
+
paddingLeft: '0 !important'
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
'& .SCNotificationItem-secondary': {
|
|
303
|
+
textTransform: 'capitalize'
|
|
304
|
+
},
|
|
305
|
+
'& .SCNotification-snippet-time': {
|
|
306
|
+
paddingLeft: theme.spacing(5)
|
|
307
|
+
},
|
|
308
|
+
'& .SCEvent-snippet-root': {
|
|
309
|
+
backgroundColor: 'transparent !important'
|
|
310
|
+
}
|
|
311
|
+
}),
|
|
285
312
|
groupRoot: ({ theme }) => ({}),
|
|
286
313
|
undeletedForRoot: ({ theme }) => ({
|
|
287
314
|
'& .SCNotification-undeleted-icon': {
|