@selfcommunity/react-theme-default 0.1.0-alpha.25 → 0.1.0-alpha.27
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/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/SCFeed.d.ts +3 -0
- package/lib/cjs/components/SCFeed.d.ts.map +1 -1
- package/lib/cjs/components/SCFeed.js +3 -0
- package/lib/cjs/components/SCFeed.js.map +1 -1
- 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/SCPrivateMessageEditor.d.ts +89 -0
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageEditor.js +92 -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 +167 -0
- package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThread.js +171 -0
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts +9 -12
- package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessagesTemplate.js +20 -14
- package/lib/cjs/components/SCPrivateMessagesTemplate.js.map +1 -1
- 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/index.d.ts.map +1 -1
- package/lib/cjs/index.js +41 -25
- package/lib/cjs/index.js.map +1 -1
- 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/SCFeed.d.ts +3 -0
- package/lib/esm/components/SCFeed.d.ts.map +1 -1
- package/lib/esm/components/SCFeed.js +3 -0
- package/lib/esm/components/SCFeed.js.map +1 -1
- 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/SCPrivateMessageEditor.d.ts +89 -0
- package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageEditor.js +90 -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 +167 -0
- package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageThread.js +169 -0
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -0
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts +9 -12
- package/lib/esm/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessagesTemplate.js +20 -14
- package/lib/esm/components/SCPrivateMessagesTemplate.js.map +1 -1
- 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/index.d.ts.map +1 -1
- package/lib/esm/index.js +41 -25
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-theme-default.js +14 -14
- package/lib/umd/react-theme-default.js.LICENSE.txt +2 -2
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
- package/lib/cjs/components/SCMobileHeader.d.ts +0 -11
- package/lib/cjs/components/SCMobileHeader.d.ts.map +0 -1
- package/lib/cjs/components/SCMobileHeader.js +0 -13
- package/lib/cjs/components/SCMobileHeader.js.map +0 -1
- package/lib/esm/components/SCMobileHeader.d.ts +0 -11
- 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
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCNotificationItem-root .SCNotificationItem-header .SCNotificationItem-secondary': {
|
|
5
|
+
marginTop: any;
|
|
6
|
+
'& .SCDateTimeAgo-root': {
|
|
7
|
+
marginTop: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export default Component;
|
|
14
|
+
//# sourceMappingURL=SCContributionNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCContributionNotification.d.ts","sourceRoot":"","sources":["../../../src/components/SCContributionNotification.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;CAStB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCNotificationItem-root .SCNotificationItem-header .SCNotificationItem-secondary': {
|
|
7
|
+
marginTop: theme.spacing(1),
|
|
8
|
+
'& .SCDateTimeAgo-root': {
|
|
9
|
+
marginTop: 0
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.default = Component;
|
|
16
|
+
//# sourceMappingURL=SCContributionNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCContributionNotification.js","sourceRoot":"","sources":["../../../src/components/SCContributionNotification.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,qFAAqF,EAAE;gBACrF,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC3B,uBAAuB,EAAE;oBACvB,SAAS,EAAE,CAAC;iBACb;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -2,10 +2,11 @@ declare const Component: {
|
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
'& .SCCustomSnackMessage-card': {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
width: string;
|
|
6
|
+
'& .SCCustomSnackMessage-content': {
|
|
7
|
+
position: string;
|
|
8
|
+
padding: any;
|
|
9
|
+
};
|
|
9
10
|
};
|
|
10
11
|
};
|
|
11
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCCustomSnackMessage.d.ts","sourceRoot":"","sources":["../../../src/components/SCCustomSnackMessage.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCCustomSnackMessage.d.ts","sourceRoot":"","sources":["../../../src/components/SCCustomSnackMessage.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;CAUtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -4,10 +4,11 @@ const Component = {
|
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
'& .SCCustomSnackMessage-card': {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
width: '100%',
|
|
8
|
+
'& .SCCustomSnackMessage-content': {
|
|
9
|
+
position: 'relative',
|
|
10
|
+
padding: theme.spacing(2, 4, 2, 2)
|
|
11
|
+
}
|
|
11
12
|
}
|
|
12
13
|
})
|
|
13
14
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCCustomSnackMessage.js","sourceRoot":"","sources":["../../../src/components/SCCustomSnackMessage.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,
|
|
1
|
+
{"version":3,"file":"SCCustomSnackMessage.js","sourceRoot":"","sources":["../../../src/components/SCCustomSnackMessage.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,KAAK,EAAE,MAAM;gBACb,iCAAiC,EAAE;oBACjC,QAAQ,EAAE,UAAU;oBACpB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;iBACnC;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeed.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeed.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCFeed.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeed.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCFeed.js","sourceRoot":"","sources":["../../../src/components/SCFeed.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,gBAAgB,EAAE;gBAChB,OAAO,EAAE,CAAC;gBACV,CAAC,KAAK,CAAC,WAA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B,EAAE;gBACjB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;gBAC/B,wBAAwB,EAAE;oBACxB,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC/B;aACF;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,CAAC;gBACV,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBAC9B,SAAS,EAAE;oBACT,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC1B;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -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,47 @@
|
|
|
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
|
+
'& .SCNotification-header': {
|
|
8
|
+
padding: theme.spacing(2, 2, 0, 2),
|
|
9
|
+
'& .SCNotification-avatar': {
|
|
10
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
11
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
'& .SCNotification-content': {
|
|
15
|
+
padding: 0,
|
|
16
|
+
'& .SCNotification-uncollapsed': {
|
|
17
|
+
padding: theme.spacing(2, 2, 1, 2),
|
|
18
|
+
'& > *': {
|
|
19
|
+
marginBottom: theme.spacing()
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'& .SCNotification-show-other-aggregated': {
|
|
23
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
24
|
+
},
|
|
25
|
+
'& .SCNotification-collapsed': {
|
|
26
|
+
padding: theme.spacing(2),
|
|
27
|
+
'& .MuiCollapse-wrapperInner > *': {
|
|
28
|
+
marginBottom: theme.spacing()
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
'& .SCNotificationItem-detail': {
|
|
32
|
+
borderRadius: 0
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
'& a': {
|
|
36
|
+
textDecoration: 'none',
|
|
37
|
+
color: theme.palette.text.primary,
|
|
38
|
+
'&:hover, &:active': {
|
|
39
|
+
color: theme.palette.text.primary,
|
|
40
|
+
textDecoration: 'underline'
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.default = Component;
|
|
47
|
+
//# sourceMappingURL=SCNotification.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotification.js","sourceRoot":"","sources":["../../../src/components/SCNotification.tsx"],"names":[],"mappings":";;AAAA,wCAAkC;AAElC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,0BAA0B,EAAE;gBAC1B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;gBAClC,0BAA0B,EAAE;oBAC1B,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;oBACjD,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU;iBACnD;aACF;YACD,2BAA2B,EAAE;gBAC3B,OAAO,EAAE,CAAC;gBACV,+BAA+B,EAAE;oBAC/B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;oBAClC,OAAO,EAAE;wBACP,YAAY,EAAE,KAAK,CAAC,OAAO,EAAE;qBAC9B;iBACF;gBACD,yCAAyC,EAAE;oBACzC,eAAe,EAAE,IAAA,cAAK,EAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;iBACtF;gBACD,6BAA6B,EAAE;oBAC7B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBACzB,iCAAiC,EAAE;wBACjC,YAAY,EAAE,KAAK,CAAC,OAAO,EAAE;qBAC9B;iBACF;gBACD,8BAA8B,EAAE;oBAC9B,YAAY,EAAE,CAAC;iBAChB;aACF;YACD,KAAK,EAAE;gBACL,cAAc,EAAE,MAAM;gBACtB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;gBACjC,mBAAmB,EAAE;oBACnB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;oBACjC,cAAc,EAAE,WAAW;iBAC5B;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,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,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
a: {
|
|
7
|
+
color: theme.palette.text.primary,
|
|
8
|
+
textDecoration: 'none',
|
|
9
|
+
'&:hover, &:active': {
|
|
10
|
+
textDecoration: 'underline'
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
'& .SCNotificationItem-header': {
|
|
14
|
+
display: 'flex',
|
|
15
|
+
flexDirection: 'row',
|
|
16
|
+
'& .SCNotificationItem-primary': {
|
|
17
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
18
|
+
'& .SCContributionNotification-username': {
|
|
19
|
+
fontWeight: theme.typography.fontWeightBold
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'& .SCNotificationItem-secondary .SCDateTimeAgo-root': {
|
|
23
|
+
marginTop: theme.spacing(1)
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'&.SCNotificationItem-toast': {
|
|
27
|
+
backgroundColor: 'transparent',
|
|
28
|
+
borderRadius: 0,
|
|
29
|
+
'& .SCNotificationItem-header': {
|
|
30
|
+
'& .SCNotificationItem-image': {
|
|
31
|
+
marginRight: theme.spacing(1),
|
|
32
|
+
'& .MuiAvatar-root': {
|
|
33
|
+
width: theme.selfcommunity.user.avatar.sizeSmall,
|
|
34
|
+
height: theme.selfcommunity.user.avatar.sizeSmall
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
'&.SCNotificationItem-snippet': {
|
|
40
|
+
backgroundColor: 'transparent',
|
|
41
|
+
borderRadius: 0,
|
|
42
|
+
'& .SCNotificationItem-header': {
|
|
43
|
+
'& .SCNotificationItem-image': {
|
|
44
|
+
marginRight: theme.spacing(1),
|
|
45
|
+
'& .MuiAvatar-root': {
|
|
46
|
+
width: theme.selfcommunity.user.avatar.sizeSmall,
|
|
47
|
+
height: theme.selfcommunity.user.avatar.sizeSmall
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
'&.SCNotificationItem-detail': {
|
|
53
|
+
backgroundColor: 'transparent',
|
|
54
|
+
borderRadius: 0,
|
|
55
|
+
'& .SCNotificationItem-header': {
|
|
56
|
+
'& .SCNotificationItem-image': {
|
|
57
|
+
marginRight: theme.spacing(1),
|
|
58
|
+
'& .MuiAvatar-root': {
|
|
59
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
60
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
})
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
exports.default = Component;
|
|
69
|
+
//# sourceMappingURL=SCNotificationItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SCNotificationItem.js","sourceRoot":"","sources":["../../../src/components/SCNotificationItem.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,CAAC,EAAE;gBACD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO;gBACjC,cAAc,EAAE,MAAM;gBACtB,mBAAmB,EAAE;oBACnB,cAAc,EAAE,WAAW;iBAC5B;aACF;YACD,8BAA8B,EAAE;gBAC9B,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,KAAK;gBACpB,+BAA+B,EAAE;oBAC/B,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB;oBAC7C,wCAAwC,EAAE;wBACxC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc;qBAC5C;iBACF;gBACD,qDAAqD,EAAE;oBACrD,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC5B;aACF;YACD,4BAA4B,EAAE;gBAC5B,eAA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'& .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,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCNotificationsMenu-paper': {
|
|
7
|
+
padding: theme.spacing(2),
|
|
8
|
+
'& .MuiList-root': {
|
|
9
|
+
padding: 0
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.default = Component;
|
|
16
|
+
//# 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,kBAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
width: string;
|
|
5
|
+
position: string;
|
|
6
|
+
bottom: number;
|
|
7
|
+
left: number;
|
|
8
|
+
zIndex: number;
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
'& .MuiIcon-root': {
|
|
11
|
+
fontSize: string;
|
|
12
|
+
};
|
|
13
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
14
|
+
width: string;
|
|
15
|
+
};
|
|
16
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
17
|
+
'& textarea': {
|
|
18
|
+
backgroundColor: any;
|
|
19
|
+
borderRadius: any;
|
|
20
|
+
padding: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
24
|
+
backgroundColor: any;
|
|
25
|
+
display: string;
|
|
26
|
+
justifyContent: string;
|
|
27
|
+
};
|
|
28
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
29
|
+
'& .MuiIcon-root': {
|
|
30
|
+
fontSize: string;
|
|
31
|
+
};
|
|
32
|
+
backgroundColor: any;
|
|
33
|
+
'& .MuiCardHeader-root': {
|
|
34
|
+
paddingRight: any;
|
|
35
|
+
paddingTop: any;
|
|
36
|
+
};
|
|
37
|
+
'& .MuiCardContent-root': {
|
|
38
|
+
'& .SCMessageMediaUploader-upload': {
|
|
39
|
+
display: string;
|
|
40
|
+
justifyContent: string;
|
|
41
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
42
|
+
backgroundColor: any;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
46
|
+
display: string;
|
|
47
|
+
justifyContent: string;
|
|
48
|
+
img: {
|
|
49
|
+
maxWidth: any;
|
|
50
|
+
};
|
|
51
|
+
video: {
|
|
52
|
+
maxWidth: any;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
56
|
+
[x: number]: {
|
|
57
|
+
height: any;
|
|
58
|
+
width: any;
|
|
59
|
+
};
|
|
60
|
+
height: any;
|
|
61
|
+
width: any;
|
|
62
|
+
position: string;
|
|
63
|
+
};
|
|
64
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
65
|
+
backgroundColor: any;
|
|
66
|
+
height: any;
|
|
67
|
+
width: any;
|
|
68
|
+
position: string;
|
|
69
|
+
'& .MuiCircularProgress-root': {
|
|
70
|
+
position: string;
|
|
71
|
+
top: string;
|
|
72
|
+
left: string;
|
|
73
|
+
};
|
|
74
|
+
'& .SCMessageMediaUploader-progress': {
|
|
75
|
+
display: string;
|
|
76
|
+
justifyContent: string;
|
|
77
|
+
};
|
|
78
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
79
|
+
display: string;
|
|
80
|
+
justifyContent: string;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export default Component;
|
|
89
|
+
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
width: '100%',
|
|
7
|
+
position: 'absolute',
|
|
8
|
+
bottom: 0,
|
|
9
|
+
left: 0,
|
|
10
|
+
zIndex: 1,
|
|
11
|
+
backgroundColor: theme.palette.primary.main,
|
|
12
|
+
'& .MuiIcon-root': {
|
|
13
|
+
fontSize: '1.571rem'
|
|
14
|
+
},
|
|
15
|
+
'& .SCPrivateMessageEditor-message-input': {
|
|
16
|
+
width: '100%'
|
|
17
|
+
},
|
|
18
|
+
'& .MuiInputBase-root, MuiOutlinedInput-root': {
|
|
19
|
+
//height: theme.spacing(6.25),
|
|
20
|
+
'& textarea': {
|
|
21
|
+
backgroundColor: theme.palette.common.white,
|
|
22
|
+
borderRadius: theme.shape.borderRadius,
|
|
23
|
+
padding: theme.spacing(1)
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
'& .SCPrivateMessageEditor-send-media-section': {
|
|
27
|
+
backgroundColor: theme.palette.primary.main,
|
|
28
|
+
display: 'flex',
|
|
29
|
+
justifyContent: 'center'
|
|
30
|
+
},
|
|
31
|
+
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
32
|
+
'& .MuiIcon-root': {
|
|
33
|
+
fontSize: '1.143rem'
|
|
34
|
+
},
|
|
35
|
+
backgroundColor: theme.palette.primary.main,
|
|
36
|
+
'& .MuiCardHeader-root': {
|
|
37
|
+
paddingRight: theme.spacing(2),
|
|
38
|
+
paddingTop: theme.spacing(1)
|
|
39
|
+
},
|
|
40
|
+
'& .MuiCardContent-root': {
|
|
41
|
+
'& .SCMessageMediaUploader-upload': {
|
|
42
|
+
display: 'flex',
|
|
43
|
+
justifyContent: 'center',
|
|
44
|
+
'& .MuiButtonBase-root, MuiIconButton-root': {
|
|
45
|
+
backgroundColor: theme.palette.common.white
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
'& .SCMessageMediaUploader-preview-container': {
|
|
49
|
+
display: 'flex',
|
|
50
|
+
justifyContent: 'center',
|
|
51
|
+
img: {
|
|
52
|
+
maxWidth: theme.spacing(25)
|
|
53
|
+
},
|
|
54
|
+
video: {
|
|
55
|
+
maxWidth: theme.spacing(25)
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
'& .SCMessageMediaUploader-doc-preview': {
|
|
59
|
+
[theme.breakpoints.down('md')]: {
|
|
60
|
+
height: theme.spacing(12.5),
|
|
61
|
+
width: theme.spacing(25)
|
|
62
|
+
},
|
|
63
|
+
height: theme.spacing(25),
|
|
64
|
+
width: theme.spacing(50),
|
|
65
|
+
position: 'relative'
|
|
66
|
+
},
|
|
67
|
+
'& .SCMessageMediaUploader-doc-loading-preview': {
|
|
68
|
+
backgroundColor: theme.palette.background.default,
|
|
69
|
+
height: theme.spacing(12.5),
|
|
70
|
+
width: theme.spacing(25),
|
|
71
|
+
position: 'relative',
|
|
72
|
+
'& .MuiCircularProgress-root': {
|
|
73
|
+
position: 'absolute',
|
|
74
|
+
top: '40%',
|
|
75
|
+
left: '45%'
|
|
76
|
+
},
|
|
77
|
+
'& .SCMessageMediaUploader-progress': {
|
|
78
|
+
display: 'flex',
|
|
79
|
+
justifyContent: 'center'
|
|
80
|
+
},
|
|
81
|
+
'& .SCMessageMediaUploader-clear-media': {
|
|
82
|
+
display: 'flex',
|
|
83
|
+
justifyContent: 'flex-end'
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
exports.default = Component;
|
|
92
|
+
//# 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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+
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"}
|