@selfcommunity/react-theme-default 0.1.0-alpha.6 → 0.1.0-alpha.60
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/MuiAppBar.d.ts +3 -2
- package/lib/cjs/components/MuiAppBar.d.ts.map +1 -1
- package/lib/cjs/components/MuiAppBar.js +6 -2
- package/lib/cjs/components/MuiAppBar.js.map +1 -1
- package/lib/cjs/components/MuiIconButton.d.ts +3 -0
- package/lib/cjs/components/MuiIconButton.d.ts.map +1 -1
- package/lib/cjs/components/MuiIconButton.js +5 -2
- package/lib/cjs/components/MuiIconButton.js.map +1 -1
- package/lib/cjs/components/SCBottomNavigation.d.ts +16 -0
- package/lib/cjs/components/SCBottomNavigation.d.ts.map +1 -0
- package/lib/cjs/components/SCBottomNavigation.js +18 -0
- package/lib/cjs/components/SCBottomNavigation.js.map +1 -0
- package/lib/cjs/components/SCCategories.d.ts +9 -3
- package/lib/cjs/components/SCCategories.d.ts.map +1 -1
- package/lib/cjs/components/SCCategories.js +9 -3
- package/lib/cjs/components/SCCategories.js.map +1 -1
- package/lib/cjs/components/SCCategoriesSkeleton.d.ts +9 -5
- package/lib/cjs/components/SCCategoriesSkeleton.d.ts.map +1 -1
- package/lib/cjs/components/SCCategoriesSkeleton.js +9 -5
- package/lib/cjs/components/SCCategoriesSkeleton.js.map +1 -1
- package/lib/cjs/components/{SCMobileHeader.d.ts → SCChoices.d.ts} +2 -4
- package/lib/cjs/components/SCChoices.d.ts.map +1 -0
- package/lib/cjs/components/{SCMobileHeader.js → SCChoices.js} +2 -4
- package/lib/cjs/components/SCChoices.js.map +1 -0
- package/lib/cjs/components/SCContributionNotification.d.ts +14 -0
- package/lib/cjs/components/SCContributionNotification.d.ts.map +1 -0
- package/lib/cjs/components/SCContributionNotification.js +16 -0
- package/lib/cjs/components/SCContributionNotification.js.map +1 -0
- package/lib/cjs/components/SCCustomSnackMessage.d.ts +5 -4
- package/lib/cjs/components/SCCustomSnackMessage.d.ts.map +1 -1
- package/lib/cjs/components/SCCustomSnackMessage.js +5 -4
- package/lib/cjs/components/SCCustomSnackMessage.js.map +1 -1
- package/lib/cjs/components/SCDateTimeAgo.js +2 -2
- package/lib/cjs/components/SCDateTimeAgo.js.map +1 -1
- package/lib/cjs/components/SCFeed.d.ts +7 -1
- package/lib/cjs/components/SCFeed.d.ts.map +1 -1
- package/lib/cjs/components/SCFeed.js +7 -1
- package/lib/cjs/components/SCFeed.js.map +1 -1
- package/lib/cjs/components/SCFeedObject.js +3 -3
- package/lib/cjs/components/SCFeedObject.js.map +1 -1
- package/lib/cjs/components/SCInlineComposer.d.ts +2 -0
- package/lib/cjs/components/SCInlineComposer.d.ts.map +1 -1
- package/lib/cjs/components/SCInlineComposer.js +2 -0
- package/lib/cjs/components/SCInlineComposer.js.map +1 -1
- package/lib/{esm/components/SCMobileHeader.d.ts → cjs/components/SCLightbox.d.ts} +2 -4
- package/lib/cjs/components/SCLightbox.d.ts.map +1 -0
- package/lib/cjs/components/SCLightbox.js +11 -0
- package/lib/cjs/components/SCLightbox.js.map +1 -0
- package/lib/cjs/components/SCLoyaltyProgram.d.ts +3 -6
- package/lib/cjs/components/SCLoyaltyProgram.d.ts.map +1 -1
- package/lib/cjs/components/SCLoyaltyProgram.js +4 -7
- package/lib/cjs/components/SCLoyaltyProgram.js.map +1 -1
- package/lib/cjs/components/SCNavigationToolbar.d.ts +54 -0
- package/lib/cjs/components/SCNavigationToolbar.d.ts.map +1 -0
- package/lib/cjs/components/SCNavigationToolbar.js +56 -0
- package/lib/cjs/components/SCNavigationToolbar.js.map +1 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +16 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.d.ts.map +1 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.js +18 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.js.map +1 -0
- package/lib/cjs/components/SCNotification.d.ts +44 -0
- package/lib/cjs/components/SCNotification.d.ts.map +1 -0
- package/lib/cjs/components/SCNotification.js +47 -0
- package/lib/cjs/components/SCNotification.js.map +1 -0
- package/lib/cjs/components/SCNotificationItem.d.ts +67 -0
- package/lib/cjs/components/SCNotificationItem.d.ts.map +1 -0
- package/lib/cjs/components/SCNotificationItem.js +69 -0
- package/lib/cjs/components/SCNotificationItem.js.map +1 -0
- package/lib/cjs/components/SCNotificationsMenu.d.ts +14 -0
- package/lib/cjs/components/SCNotificationsMenu.d.ts.map +1 -0
- package/lib/cjs/components/SCNotificationsMenu.js +16 -0
- package/lib/cjs/components/SCNotificationsMenu.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageComponent.d.ts +26 -0
- package/lib/cjs/components/SCPrivateMessageComponent.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageComponent.js +37 -0
- package/lib/cjs/components/SCPrivateMessageComponent.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageComponentSkeleton.d.ts +24 -0
- package/lib/cjs/components/SCPrivateMessageComponentSkeleton.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageComponentSkeleton.js +26 -0
- package/lib/cjs/components/SCPrivateMessageComponentSkeleton.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts +94 -0
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageEditor.js +97 -0
- package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts +34 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.js +36 -0
- package/lib/cjs/components/SCPrivateMessageSnippetItem.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +48 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.js +48 -0
- package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +138 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +146 -0
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +15 -0
- package/lib/cjs/components/SCSearchAutocomplete.d.ts.map +1 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +17 -0
- package/lib/cjs/components/SCSearchAutocomplete.js.map +1 -0
- package/lib/cjs/components/SCSnippetNotifications.d.ts +35 -21
- package/lib/cjs/components/SCSnippetNotifications.d.ts.map +1 -1
- package/lib/cjs/components/SCSnippetNotifications.js +36 -22
- package/lib/cjs/components/SCSnippetNotifications.js.map +1 -1
- package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
- package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
- package/lib/cjs/components/SCSnippetNotificationsSkeleton.js +41 -0
- package/lib/cjs/components/SCSnippetNotificationsSkeleton.js.map +1 -0
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +182 -170
- 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 +108 -90
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +64 -23
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/MuiAppBar.d.ts +3 -2
- package/lib/esm/components/MuiAppBar.d.ts.map +1 -1
- package/lib/esm/components/MuiAppBar.js +6 -2
- package/lib/esm/components/MuiAppBar.js.map +1 -1
- package/lib/esm/components/MuiIconButton.d.ts +3 -0
- package/lib/esm/components/MuiIconButton.d.ts.map +1 -1
- package/lib/esm/components/MuiIconButton.js +5 -2
- package/lib/esm/components/MuiIconButton.js.map +1 -1
- package/lib/esm/components/SCBottomNavigation.d.ts +16 -0
- package/lib/esm/components/SCBottomNavigation.d.ts.map +1 -0
- package/lib/esm/components/SCBottomNavigation.js +16 -0
- package/lib/esm/components/SCBottomNavigation.js.map +1 -0
- package/lib/esm/components/SCCategories.d.ts +9 -3
- package/lib/esm/components/SCCategories.d.ts.map +1 -1
- package/lib/esm/components/SCCategories.js +9 -3
- package/lib/esm/components/SCCategories.js.map +1 -1
- package/lib/esm/components/SCCategoriesSkeleton.d.ts +9 -5
- package/lib/esm/components/SCCategoriesSkeleton.d.ts.map +1 -1
- package/lib/esm/components/SCCategoriesSkeleton.js +9 -5
- package/lib/esm/components/SCCategoriesSkeleton.js.map +1 -1
- package/lib/esm/components/SCChoices.d.ts +9 -0
- package/lib/esm/components/SCChoices.d.ts.map +1 -0
- package/lib/esm/components/SCChoices.js +9 -0
- package/lib/esm/components/SCChoices.js.map +1 -0
- package/lib/esm/components/SCContributionNotification.d.ts +14 -0
- package/lib/esm/components/SCContributionNotification.d.ts.map +1 -0
- package/lib/esm/components/SCContributionNotification.js +14 -0
- package/lib/esm/components/SCContributionNotification.js.map +1 -0
- package/lib/esm/components/SCCustomSnackMessage.d.ts +5 -4
- package/lib/esm/components/SCCustomSnackMessage.d.ts.map +1 -1
- package/lib/esm/components/SCCustomSnackMessage.js +5 -4
- package/lib/esm/components/SCCustomSnackMessage.js.map +1 -1
- package/lib/esm/components/SCDateTimeAgo.js +2 -2
- package/lib/esm/components/SCDateTimeAgo.js.map +1 -1
- package/lib/esm/components/SCFeed.d.ts +7 -1
- package/lib/esm/components/SCFeed.d.ts.map +1 -1
- package/lib/esm/components/SCFeed.js +7 -1
- package/lib/esm/components/SCFeed.js.map +1 -1
- package/lib/esm/components/SCFeedObject.js +3 -3
- package/lib/esm/components/SCFeedObject.js.map +1 -1
- package/lib/esm/components/SCInlineComposer.d.ts +2 -0
- package/lib/esm/components/SCInlineComposer.d.ts.map +1 -1
- package/lib/esm/components/SCInlineComposer.js +2 -0
- package/lib/esm/components/SCInlineComposer.js.map +1 -1
- package/lib/esm/components/SCLightbox.d.ts +9 -0
- package/lib/esm/components/SCLightbox.d.ts.map +1 -0
- package/lib/esm/components/SCLightbox.js +9 -0
- package/lib/esm/components/SCLightbox.js.map +1 -0
- package/lib/esm/components/SCLoyaltyProgram.d.ts +3 -6
- package/lib/esm/components/SCLoyaltyProgram.d.ts.map +1 -1
- package/lib/esm/components/SCLoyaltyProgram.js +4 -7
- package/lib/esm/components/SCLoyaltyProgram.js.map +1 -1
- package/lib/esm/components/SCNavigationToolbar.d.ts +54 -0
- package/lib/esm/components/SCNavigationToolbar.d.ts.map +1 -0
- package/lib/esm/components/SCNavigationToolbar.js +54 -0
- package/lib/esm/components/SCNavigationToolbar.js.map +1 -0
- package/lib/esm/components/SCNavigationToolbarMobile.d.ts +16 -0
- package/lib/esm/components/SCNavigationToolbarMobile.d.ts.map +1 -0
- package/lib/esm/components/SCNavigationToolbarMobile.js +16 -0
- package/lib/esm/components/SCNavigationToolbarMobile.js.map +1 -0
- package/lib/esm/components/SCNotification.d.ts +44 -0
- package/lib/esm/components/SCNotification.d.ts.map +1 -0
- package/lib/esm/components/SCNotification.js +45 -0
- package/lib/esm/components/SCNotification.js.map +1 -0
- package/lib/esm/components/SCNotificationItem.d.ts +67 -0
- package/lib/esm/components/SCNotificationItem.d.ts.map +1 -0
- package/lib/esm/components/SCNotificationItem.js +67 -0
- package/lib/esm/components/SCNotificationItem.js.map +1 -0
- package/lib/esm/components/SCNotificationsMenu.d.ts +14 -0
- package/lib/esm/components/SCNotificationsMenu.d.ts.map +1 -0
- package/lib/esm/components/SCNotificationsMenu.js +14 -0
- package/lib/esm/components/SCNotificationsMenu.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageComponent.d.ts +26 -0
- package/lib/esm/components/SCPrivateMessageComponent.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageComponent.js +35 -0
- package/lib/esm/components/SCPrivateMessageComponent.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageComponentSkeleton.d.ts +24 -0
- package/lib/esm/components/SCPrivateMessageComponentSkeleton.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageComponentSkeleton.js +24 -0
- package/lib/esm/components/SCPrivateMessageComponentSkeleton.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +94 -0
- package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageEditor.js +95 -0
- package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts +34 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.js +34 -0
- package/lib/esm/components/SCPrivateMessageSnippetItem.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts +48 -0
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageSnippets.js +46 -0
- package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts +138 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.js +144 -0
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/esm/components/SCSearchAutocomplete.d.ts +15 -0
- package/lib/esm/components/SCSearchAutocomplete.d.ts.map +1 -0
- package/lib/esm/components/SCSearchAutocomplete.js +15 -0
- package/lib/esm/components/SCSearchAutocomplete.js.map +1 -0
- package/lib/esm/components/SCSnippetNotifications.d.ts +35 -21
- package/lib/esm/components/SCSnippetNotifications.d.ts.map +1 -1
- package/lib/esm/components/SCSnippetNotifications.js +36 -22
- package/lib/esm/components/SCSnippetNotifications.js.map +1 -1
- package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
- package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
- package/lib/esm/components/SCSnippetNotificationsSkeleton.js +39 -0
- package/lib/esm/components/SCSnippetNotificationsSkeleton.js.map +1 -0
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +182 -170
- 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 +108 -90
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +64 -23
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +182 -170
- 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 +19 -19
- package/lib/umd/react-theme-default.js.LICENSE.txt +4 -2
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
- package/lib/cjs/components/SCMobileHeader.d.ts.map +0 -1
- package/lib/cjs/components/SCMobileHeader.js.map +0 -1
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts +0 -29
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts.map +0 -1
- package/lib/cjs/components/SCPrivateMessagesTemplate.js +0 -31
- package/lib/cjs/components/SCPrivateMessagesTemplate.js.map +0 -1
- package/lib/esm/components/SCMobileHeader.d.ts.map +0 -1
- package/lib/esm/components/SCMobileHeader.js +0 -11
- package/lib/esm/components/SCMobileHeader.js.map +0 -1
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts +0 -29
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts.map +0 -1
- package/lib/esm/components/SCPrivateMessagesTemplate.js +0 -29
- package/lib/esm/components/SCPrivateMessagesTemplate.js.map +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCNotification-header': {
|
|
5
|
+
padding: any;
|
|
6
|
+
'& .SCNotification-avatar': {
|
|
7
|
+
width: any;
|
|
8
|
+
height: any;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'& .SCNotification-content': {
|
|
12
|
+
padding: number;
|
|
13
|
+
'& .SCNotification-uncollapsed': {
|
|
14
|
+
padding: any;
|
|
15
|
+
'& > *': {
|
|
16
|
+
marginBottom: any;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
'& .SCNotification-show-other-aggregated': {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
};
|
|
22
|
+
'& .SCNotification-collapsed': {
|
|
23
|
+
padding: any;
|
|
24
|
+
'& .MuiCollapse-wrapperInner > *': {
|
|
25
|
+
marginBottom: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'& .SCNotificationItem-detail': {
|
|
29
|
+
borderRadius: number;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
'& a': {
|
|
33
|
+
textDecoration: string;
|
|
34
|
+
color: any;
|
|
35
|
+
'&:hover, &:active': {
|
|
36
|
+
color: any;
|
|
37
|
+
textDecoration: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export default Component;
|
|
44
|
+
//# sourceMappingURL=SCNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotification.d.ts","sourceRoot":"","sources":["../../../src/components/SCNotification.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuCtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { alpha } from '@mui/system';
|
|
2
|
+
const Component = {
|
|
3
|
+
styleOverrides: {
|
|
4
|
+
root: ({ theme }) => ({
|
|
5
|
+
'& .SCNotification-header': {
|
|
6
|
+
padding: theme.spacing(2, 2, 0, 2),
|
|
7
|
+
'& .SCNotification-avatar': {
|
|
8
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
9
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
'& .SCNotification-content': {
|
|
13
|
+
padding: 0,
|
|
14
|
+
'& .SCNotification-uncollapsed': {
|
|
15
|
+
padding: theme.spacing(2, 2, 1, 2),
|
|
16
|
+
'& > *': {
|
|
17
|
+
marginBottom: theme.spacing()
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .SCNotification-show-other-aggregated': {
|
|
21
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
22
|
+
},
|
|
23
|
+
'& .SCNotification-collapsed': {
|
|
24
|
+
padding: theme.spacing(2),
|
|
25
|
+
'& .MuiCollapse-wrapperInner > *': {
|
|
26
|
+
marginBottom: theme.spacing()
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
'& .SCNotificationItem-detail': {
|
|
30
|
+
borderRadius: 0
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'& a': {
|
|
34
|
+
textDecoration: 'none',
|
|
35
|
+
color: theme.palette.text.primary,
|
|
36
|
+
'&:hover, &:active': {
|
|
37
|
+
color: theme.palette.text.primary,
|
|
38
|
+
textDecoration: 'underline'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
})
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
export default Component;
|
|
45
|
+
//# sourceMappingURL=SCNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotification.js","sourceRoot":"","sources":["../../../src/components/SCNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAElC,MAAM,SAAS,GAAG;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;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
a: {
|
|
5
|
+
color: any;
|
|
6
|
+
textDecoration: string;
|
|
7
|
+
'&:hover, &:active': {
|
|
8
|
+
textDecoration: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'& .SCNotificationItem-header': {
|
|
12
|
+
display: string;
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
'& .SCNotificationItem-primary': {
|
|
15
|
+
fontWeight: any;
|
|
16
|
+
'& .SCContributionNotification-username': {
|
|
17
|
+
fontWeight: any;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .SCNotificationItem-secondary .SCDateTimeAgo-root': {
|
|
21
|
+
marginTop: any;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'&.SCNotificationItem-toast': {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
borderRadius: number;
|
|
27
|
+
'& .SCNotificationItem-header': {
|
|
28
|
+
'& .SCNotificationItem-image': {
|
|
29
|
+
marginRight: any;
|
|
30
|
+
'& .MuiAvatar-root': {
|
|
31
|
+
width: any;
|
|
32
|
+
height: any;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
'&.SCNotificationItem-snippet': {
|
|
38
|
+
backgroundColor: string;
|
|
39
|
+
borderRadius: number;
|
|
40
|
+
'& .SCNotificationItem-header': {
|
|
41
|
+
'& .SCNotificationItem-image': {
|
|
42
|
+
marginRight: any;
|
|
43
|
+
'& .MuiAvatar-root': {
|
|
44
|
+
width: any;
|
|
45
|
+
height: any;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&.SCNotificationItem-detail': {
|
|
51
|
+
backgroundColor: string;
|
|
52
|
+
borderRadius: number;
|
|
53
|
+
'& .SCNotificationItem-header': {
|
|
54
|
+
'& .SCNotificationItem-image': {
|
|
55
|
+
marginRight: any;
|
|
56
|
+
'& .MuiAvatar-root': {
|
|
57
|
+
width: any;
|
|
58
|
+
height: any;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default Component;
|
|
67
|
+
//# sourceMappingURL=SCNotificationItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotificationItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCNotificationItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8DtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
a: {
|
|
5
|
+
color: theme.palette.text.primary,
|
|
6
|
+
textDecoration: 'none',
|
|
7
|
+
'&:hover, &:active': {
|
|
8
|
+
textDecoration: 'underline'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
'& .SCNotificationItem-header': {
|
|
12
|
+
display: 'flex',
|
|
13
|
+
flexDirection: 'row',
|
|
14
|
+
'& .SCNotificationItem-primary': {
|
|
15
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
16
|
+
'& .SCContributionNotification-username': {
|
|
17
|
+
fontWeight: theme.typography.fontWeightBold
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .SCNotificationItem-secondary .SCDateTimeAgo-root': {
|
|
21
|
+
marginTop: theme.spacing(1)
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
'&.SCNotificationItem-toast': {
|
|
25
|
+
backgroundColor: 'transparent',
|
|
26
|
+
borderRadius: 0,
|
|
27
|
+
'& .SCNotificationItem-header': {
|
|
28
|
+
'& .SCNotificationItem-image': {
|
|
29
|
+
marginRight: theme.spacing(1),
|
|
30
|
+
'& .MuiAvatar-root': {
|
|
31
|
+
width: theme.selfcommunity.user.avatar.sizeSmall,
|
|
32
|
+
height: theme.selfcommunity.user.avatar.sizeSmall
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'&.SCNotificationItem-snippet': {
|
|
38
|
+
backgroundColor: 'transparent',
|
|
39
|
+
borderRadius: 0,
|
|
40
|
+
'& .SCNotificationItem-header': {
|
|
41
|
+
'& .SCNotificationItem-image': {
|
|
42
|
+
marginRight: theme.spacing(1),
|
|
43
|
+
'& .MuiAvatar-root': {
|
|
44
|
+
width: theme.selfcommunity.user.avatar.sizeSmall,
|
|
45
|
+
height: theme.selfcommunity.user.avatar.sizeSmall
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
'&.SCNotificationItem-detail': {
|
|
51
|
+
backgroundColor: 'transparent',
|
|
52
|
+
borderRadius: 0,
|
|
53
|
+
'& .SCNotificationItem-header': {
|
|
54
|
+
'& .SCNotificationItem-image': {
|
|
55
|
+
marginRight: theme.spacing(1),
|
|
56
|
+
'& .MuiAvatar-root': {
|
|
57
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
58
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
export default Component;
|
|
67
|
+
//# sourceMappingURL=SCNotificationItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotificationItem.js","sourceRoot":"","sources":["../../../src/components/SCNotificationItem.tsx"],"names":[],"mappings":"AA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AM,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS;yBAClD;qBACF;iBACF;aACF;YACD,6BAA6B,EAAE;gBAC7B,eAAe,EAAE,aAAa;gBAC9B,YAAY,EAAE,CAAC;gBACf,8BAA8B,EAAE;oBAC9B,6BAA6B,EAAE;wBAC7B,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;wBAC7B,mBAAmB,EAAE;4BACnB,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;4BACjD,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;yBACnD;qBACF;iBACF;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCNotificationsMenu-paper': {
|
|
5
|
+
padding: any;
|
|
6
|
+
'& .MuiList-root': {
|
|
7
|
+
padding: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
|
14
|
+
//# sourceMappingURL=SCNotificationsMenu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotificationsMenu.d.ts","sourceRoot":"","sources":["../../../src/components/SCNotificationsMenu.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;CAStB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCNotificationsMenu-paper': {
|
|
5
|
+
padding: theme.spacing(2),
|
|
6
|
+
'& .MuiList-root': {
|
|
7
|
+
padding: 0
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
})
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
|
14
|
+
//# sourceMappingURL=SCNotificationsMenu.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotificationsMenu.js","sourceRoot":"","sources":["../../../src/components/SCNotificationsMenu.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,8BAA8B,EAAE;gBAC9B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACzB,iBAAiB,EAAE;oBACjB,OAAO,EAAE,CAAC;iBACX;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root': {
|
|
6
|
+
border: string;
|
|
7
|
+
'& .SCPrivateMessageThread-root': {
|
|
8
|
+
borderRadius: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
maxWidth: any;
|
|
13
|
+
maxHeight: any;
|
|
14
|
+
' .MuiPaper-root, MuiAppBar-root': {
|
|
15
|
+
boxShadow: string;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
};
|
|
18
|
+
'& .SCPrivateMessageSnippetItem-root, .SCPrivateMessageThreadItem-root': {
|
|
19
|
+
boxShadow: string;
|
|
20
|
+
marginBottom: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default Component;
|
|
26
|
+
//# sourceMappingURL=SCPrivateMessageComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageComponent.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageComponent.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;CA8BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
maxWidth: theme.breakpoints.values['lg'],
|
|
5
|
+
maxHeight: theme.breakpoints.values['lg'],
|
|
6
|
+
' .MuiPaper-root, MuiAppBar-root': {
|
|
7
|
+
boxShadow: 'none',
|
|
8
|
+
borderRadius: 0
|
|
9
|
+
},
|
|
10
|
+
'& .SCPrivateMessageSnippetItem-root, .SCPrivateMessageThreadItem-root': {
|
|
11
|
+
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
12
|
+
marginBottom: theme.spacing(1)
|
|
13
|
+
},
|
|
14
|
+
[theme.breakpoints.down('md')]: {
|
|
15
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root': {
|
|
16
|
+
border: 'none',
|
|
17
|
+
'& .SCPrivateMessageThread-root': {
|
|
18
|
+
borderRadius: 0
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
// '& .MuiAppBar-root': {
|
|
22
|
+
// color: theme.palette.text.secondary,
|
|
23
|
+
// '& .MuiFormControl-root, MuiTextField-root': {
|
|
24
|
+
// marginTop: '30px',
|
|
25
|
+
// '& .MuiInputBase-root': {
|
|
26
|
+
// borderRadius: 0
|
|
27
|
+
// }
|
|
28
|
+
// }
|
|
29
|
+
// }
|
|
30
|
+
}
|
|
31
|
+
})
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export default Component;
|
|
35
|
+
//# sourceMappingURL=SCPrivateMessageComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageComponent.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageComponent.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;YACxC,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;YACzC,iCAAiC,EAAE;gBACjC,SAAS,EAAE,MAAM;gBACjB,YAAY,EAAE,CAAC;aAChB;YACD,uEAAuE,EAAE;gBACvE,SAAS,EAAE,iCAAiC;gBAC5C,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aAC/B;YACD,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,8EAA8E,EAAE;oBAC9E,MAAM,EAAE,MAAM;oBACd,gCAAgC,EAAE;wBAChC,YAAY,EAAE,CAAC;qBAChB;iBACF;gBACD,yBAAyB;gBACzB,yCAAyC;gBACzC,mDAAmD;gBACnD,yBAAyB;gBACzB,iCAAiC;gBACjC,wBAAwB;gBACxB,QAAQ;gBACR,MAAM;gBACN,IAAI;aACL;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
width: any;
|
|
6
|
+
};
|
|
7
|
+
'& .SCPrivateMessageComponentSkeleton-thread-section': {
|
|
8
|
+
'& .MuiCardContent-root': {
|
|
9
|
+
padding: number;
|
|
10
|
+
'& .MuiList-root': {
|
|
11
|
+
paddingTop: number;
|
|
12
|
+
paddingBottom: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
' .MuiPaper-root, MuiAppBar-root': {
|
|
17
|
+
boxShadow: string;
|
|
18
|
+
borderRadius: number;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export default Component;
|
|
24
|
+
//# sourceMappingURL=SCPrivateMessageComponentSkeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageComponentSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageComponentSkeleton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;CAmBtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
[theme.breakpoints.up('sm')]: {
|
|
5
|
+
width: theme.breakpoints.values['lg']
|
|
6
|
+
},
|
|
7
|
+
'& .SCPrivateMessageComponentSkeleton-thread-section': {
|
|
8
|
+
'& .MuiCardContent-root': {
|
|
9
|
+
padding: 0,
|
|
10
|
+
'& .MuiList-root': {
|
|
11
|
+
paddingTop: 0,
|
|
12
|
+
paddingBottom: 0
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
' .MuiPaper-root, MuiAppBar-root': {
|
|
17
|
+
boxShadow: 'none',
|
|
18
|
+
borderRadius: 0
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
export default Component;
|
|
24
|
+
//# sourceMappingURL=SCPrivateMessageComponentSkeleton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageComponentSkeleton.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageComponentSkeleton.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC5B,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC;aACtC;YACD,qDAAqD,EAAE;gBACrD,wBAAwB,EAAE;oBACxB,OAAO,EAAE,CAAC;oBACV,iBAAiB,EAAE;wBACjB,UAAU,EAAE,CAAC;wBACb,aAAa,EAAE,CAAC;qBACjB;iBACF;aACF;YACD,iCAAiC,EAAE;gBACjC,SAAS,EAAE,MAAM;gBACjB,YAAY,EAAE,CAAC;aAChB;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
[x: number]: {
|
|
5
|
+
position: string;
|
|
6
|
+
top: string;
|
|
7
|
+
bottom: number;
|
|
8
|
+
};
|
|
9
|
+
width: string;
|
|
10
|
+
position: string;
|
|
11
|
+
bottom: number;
|
|
12
|
+
left: number;
|
|
13
|
+
zIndex: number;
|
|
14
|
+
backgroundColor: any;
|
|
15
|
+
'& .MuiIcon-root': {
|
|
16
|
+
fontSize: string;
|
|
17
|
+
};
|
|
18
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
19
|
+
width: string;
|
|
20
|
+
};
|
|
21
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
22
|
+
'& textarea': {
|
|
23
|
+
backgroundColor: any;
|
|
24
|
+
borderRadius: any;
|
|
25
|
+
padding: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
29
|
+
backgroundColor: any;
|
|
30
|
+
display: string;
|
|
31
|
+
justifyContent: string;
|
|
32
|
+
};
|
|
33
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
34
|
+
'& .MuiIcon-root': {
|
|
35
|
+
fontSize: string;
|
|
36
|
+
};
|
|
37
|
+
backgroundColor: any;
|
|
38
|
+
'& .MuiCardHeader-root': {
|
|
39
|
+
paddingRight: any;
|
|
40
|
+
paddingTop: any;
|
|
41
|
+
};
|
|
42
|
+
'& .MuiCardContent-root': {
|
|
43
|
+
'& .SCMessageMediaUploader-upload': {
|
|
44
|
+
display: string;
|
|
45
|
+
justifyContent: string;
|
|
46
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
47
|
+
backgroundColor: any;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
51
|
+
display: string;
|
|
52
|
+
justifyContent: string;
|
|
53
|
+
img: {
|
|
54
|
+
maxWidth: any;
|
|
55
|
+
};
|
|
56
|
+
video: {
|
|
57
|
+
maxWidth: any;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
61
|
+
[x: number]: {
|
|
62
|
+
height: any;
|
|
63
|
+
width: any;
|
|
64
|
+
};
|
|
65
|
+
height: any;
|
|
66
|
+
width: any;
|
|
67
|
+
position: string;
|
|
68
|
+
};
|
|
69
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
70
|
+
backgroundColor: any;
|
|
71
|
+
height: any;
|
|
72
|
+
width: any;
|
|
73
|
+
position: string;
|
|
74
|
+
'& .MuiCircularProgress-root': {
|
|
75
|
+
position: string;
|
|
76
|
+
top: string;
|
|
77
|
+
left: string;
|
|
78
|
+
};
|
|
79
|
+
'& .SCMessageMediaUploader-progress': {
|
|
80
|
+
display: string;
|
|
81
|
+
justifyContent: string;
|
|
82
|
+
};
|
|
83
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
84
|
+
display: string;
|
|
85
|
+
justifyContent: string;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export default Component;
|
|
94
|
+
//# sourceMappingURL=SCPrivateMessageEditor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
width: '100%',
|
|
5
|
+
position: 'absolute',
|
|
6
|
+
bottom: 0,
|
|
7
|
+
left: 0,
|
|
8
|
+
zIndex: 1,
|
|
9
|
+
[theme.breakpoints.down('md')]: {
|
|
10
|
+
position: 'fixed',
|
|
11
|
+
top: 'auto',
|
|
12
|
+
bottom: 0
|
|
13
|
+
},
|
|
14
|
+
backgroundColor: theme.palette.primary.main,
|
|
15
|
+
'& .MuiIcon-root': {
|
|
16
|
+
fontSize: '1.571rem'
|
|
17
|
+
},
|
|
18
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
19
|
+
width: '100%'
|
|
20
|
+
},
|
|
21
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
22
|
+
//height: theme.spacing(6.25),
|
|
23
|
+
'& textarea': {
|
|
24
|
+
backgroundColor: theme.palette.common.white,
|
|
25
|
+
borderRadius: theme.shape.borderRadius,
|
|
26
|
+
padding: theme.spacing(1)
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
30
|
+
backgroundColor: theme.palette.primary.main,
|
|
31
|
+
display: 'flex',
|
|
32
|
+
justifyContent: 'center'
|
|
33
|
+
},
|
|
34
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
35
|
+
'& .MuiIcon-root': {
|
|
36
|
+
fontSize: '1.143rem'
|
|
37
|
+
},
|
|
38
|
+
backgroundColor: theme.palette.primary.main,
|
|
39
|
+
'& .MuiCardHeader-root': {
|
|
40
|
+
paddingRight: theme.spacing(2),
|
|
41
|
+
paddingTop: theme.spacing(1)
|
|
42
|
+
},
|
|
43
|
+
'& .MuiCardContent-root': {
|
|
44
|
+
'& .SCMessageMediaUploader-upload': {
|
|
45
|
+
display: 'flex',
|
|
46
|
+
justifyContent: 'center',
|
|
47
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
48
|
+
backgroundColor: theme.palette.common.white
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
52
|
+
display: 'flex',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
img: {
|
|
55
|
+
maxWidth: theme.spacing(25)
|
|
56
|
+
},
|
|
57
|
+
video: {
|
|
58
|
+
maxWidth: theme.spacing(25)
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
62
|
+
[theme.breakpoints.down('md')]: {
|
|
63
|
+
height: theme.spacing(12.5),
|
|
64
|
+
width: theme.spacing(25)
|
|
65
|
+
},
|
|
66
|
+
height: theme.spacing(25),
|
|
67
|
+
width: theme.spacing(50),
|
|
68
|
+
position: 'relative'
|
|
69
|
+
},
|
|
70
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
71
|
+
backgroundColor: theme.palette.background.default,
|
|
72
|
+
height: theme.spacing(12.5),
|
|
73
|
+
width: theme.spacing(25),
|
|
74
|
+
position: 'relative',
|
|
75
|
+
'& .MuiCircularProgress-root': {
|
|
76
|
+
position: 'absolute',
|
|
77
|
+
top: '40%',
|
|
78
|
+
left: '45%'
|
|
79
|
+
},
|
|
80
|
+
'& .SCMessageMediaUploader-progress': {
|
|
81
|
+
display: 'flex',
|
|
82
|
+
justifyContent: 'center'
|
|
83
|
+
},
|
|
84
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
85
|
+
display: 'flex',
|
|
86
|
+
justifyContent: 'flex-end'
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
})
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
export default Component;
|
|
95
|
+
//# sourceMappingURL=SCPrivateMessageEditor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,MAAM;gBACX,MAAM,EAAE,CAAC;aACV;YACD,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;YAC3C,iBAAiB,EAAE;gBACjB,QAAQ,EAAE,UAAU;aACrB;YACD,yCAAyC,EAAE;gBACzC,KAAK,EAAE,MAAM;aACd;YACD,6CAA6C,EAAE;gBAC7C,8BA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AK,CAAC,OAAO,CAAC,EAAE,CAAC;yBACzB;wBACD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACzB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACxB,QAAQ,EAAE,UAAU;qBACrB;oBACD,+CAA+C,EAAE;wBAC/C,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO;wBACjD,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;wBAC3B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBACxB,QAAQ,EAAE,UAAU;wBACpB,6BAA6B,EAAE;4BAC7B,QAAQ,EAAE,UAAU;4BACpB,GAAG,EAAE,KAAK;4BACV,IAAI,EAAE,KAAK;yBACZ;wBACD,oCAAoC,EAAE;4BACpC,OAAO,EAAE,MAAM;4BACf,cAAc,EAAE,QAAQ;yBACzB;wBACD,uCAAuC,EAAE;4BACvC,OAAO,EAAE,MAAM;4BACf,cAAc,EAAE,UAAU;yBAC3B;qBACF;iBACF;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
borderRadius: any;
|
|
5
|
+
padding: string;
|
|
6
|
+
'& .SCPrivateMessageSnippetItem-time': {
|
|
7
|
+
float: string;
|
|
8
|
+
fontSize: any;
|
|
9
|
+
};
|
|
10
|
+
'& .MuiListItemText-primary': {
|
|
11
|
+
'& .SCPrivateMessageSnippetItem-username': {
|
|
12
|
+
fontWeight: any;
|
|
13
|
+
};
|
|
14
|
+
'& .SCPrivateMessageSnippetItem-badge-label': {
|
|
15
|
+
marginLeft: any;
|
|
16
|
+
borderRadius: number;
|
|
17
|
+
fontSize: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .MuiListItemText-secondary': {
|
|
21
|
+
display: string;
|
|
22
|
+
justifyContent: string;
|
|
23
|
+
alignItems: string;
|
|
24
|
+
};
|
|
25
|
+
'& .MuiListItemSecondaryAction-root': {
|
|
26
|
+
position: string;
|
|
27
|
+
top: any;
|
|
28
|
+
right: any;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default Component;
|
|
34
|
+
//# sourceMappingURL=SCPrivateMessageSnippetItem.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageSnippetItem.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippetItem.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|