@selfcommunity/react-theme-default 0.1.0-alpha.24 → 0.1.0-alpha.26

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.
Files changed (82) hide show
  1. package/lib/cjs/components/SCContributionNotification.d.ts +14 -0
  2. package/lib/cjs/components/SCContributionNotification.d.ts.map +1 -0
  3. package/lib/cjs/components/SCContributionNotification.js +16 -0
  4. package/lib/cjs/components/SCContributionNotification.js.map +1 -0
  5. package/lib/cjs/components/SCCustomSnackMessage.d.ts +5 -4
  6. package/lib/cjs/components/SCCustomSnackMessage.d.ts.map +1 -1
  7. package/lib/cjs/components/SCCustomSnackMessage.js +5 -4
  8. package/lib/cjs/components/SCCustomSnackMessage.js.map +1 -1
  9. package/lib/cjs/components/SCFeed.d.ts +3 -0
  10. package/lib/cjs/components/SCFeed.d.ts.map +1 -1
  11. package/lib/cjs/components/SCFeed.js +3 -0
  12. package/lib/cjs/components/SCFeed.js.map +1 -1
  13. package/lib/cjs/components/SCNotification.d.ts +44 -0
  14. package/lib/cjs/components/SCNotification.d.ts.map +1 -0
  15. package/lib/cjs/components/SCNotification.js +47 -0
  16. package/lib/cjs/components/SCNotification.js.map +1 -0
  17. package/lib/cjs/components/SCNotificationItem.d.ts +67 -0
  18. package/lib/cjs/components/SCNotificationItem.d.ts.map +1 -0
  19. package/lib/cjs/components/SCNotificationItem.js +69 -0
  20. package/lib/cjs/components/SCNotificationItem.js.map +1 -0
  21. package/lib/cjs/components/SCNotificationsMenu.d.ts +14 -0
  22. package/lib/cjs/components/SCNotificationsMenu.d.ts.map +1 -0
  23. package/lib/cjs/components/SCNotificationsMenu.js +16 -0
  24. package/lib/cjs/components/SCNotificationsMenu.js.map +1 -0
  25. package/lib/cjs/components/SCSnippetNotifications.d.ts +35 -21
  26. package/lib/cjs/components/SCSnippetNotifications.d.ts.map +1 -1
  27. package/lib/cjs/components/SCSnippetNotifications.js +36 -22
  28. package/lib/cjs/components/SCSnippetNotifications.js.map +1 -1
  29. package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
  30. package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
  31. package/lib/cjs/components/SCSnippetNotificationsSkeleton.js +41 -0
  32. package/lib/cjs/components/SCSnippetNotificationsSkeleton.js.map +1 -0
  33. package/lib/cjs/index.d.ts.map +1 -1
  34. package/lib/cjs/index.js +33 -25
  35. package/lib/cjs/index.js.map +1 -1
  36. package/lib/esm/components/SCContributionNotification.d.ts +14 -0
  37. package/lib/esm/components/SCContributionNotification.d.ts.map +1 -0
  38. package/lib/esm/components/SCContributionNotification.js +14 -0
  39. package/lib/esm/components/SCContributionNotification.js.map +1 -0
  40. package/lib/esm/components/SCCustomSnackMessage.d.ts +5 -4
  41. package/lib/esm/components/SCCustomSnackMessage.d.ts.map +1 -1
  42. package/lib/esm/components/SCCustomSnackMessage.js +5 -4
  43. package/lib/esm/components/SCCustomSnackMessage.js.map +1 -1
  44. package/lib/esm/components/SCFeed.d.ts +3 -0
  45. package/lib/esm/components/SCFeed.d.ts.map +1 -1
  46. package/lib/esm/components/SCFeed.js +3 -0
  47. package/lib/esm/components/SCFeed.js.map +1 -1
  48. package/lib/esm/components/SCNotification.d.ts +44 -0
  49. package/lib/esm/components/SCNotification.d.ts.map +1 -0
  50. package/lib/esm/components/SCNotification.js +45 -0
  51. package/lib/esm/components/SCNotification.js.map +1 -0
  52. package/lib/esm/components/SCNotificationItem.d.ts +67 -0
  53. package/lib/esm/components/SCNotificationItem.d.ts.map +1 -0
  54. package/lib/esm/components/SCNotificationItem.js +67 -0
  55. package/lib/esm/components/SCNotificationItem.js.map +1 -0
  56. package/lib/esm/components/SCNotificationsMenu.d.ts +14 -0
  57. package/lib/esm/components/SCNotificationsMenu.d.ts.map +1 -0
  58. package/lib/esm/components/SCNotificationsMenu.js +14 -0
  59. package/lib/esm/components/SCNotificationsMenu.js.map +1 -0
  60. package/lib/esm/components/SCSnippetNotifications.d.ts +35 -21
  61. package/lib/esm/components/SCSnippetNotifications.d.ts.map +1 -1
  62. package/lib/esm/components/SCSnippetNotifications.js +36 -22
  63. package/lib/esm/components/SCSnippetNotifications.js.map +1 -1
  64. package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
  65. package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
  66. package/lib/esm/components/SCSnippetNotificationsSkeleton.js +39 -0
  67. package/lib/esm/components/SCSnippetNotificationsSkeleton.js.map +1 -0
  68. package/lib/esm/index.d.ts.map +1 -1
  69. package/lib/esm/index.js +33 -25
  70. package/lib/esm/index.js.map +1 -1
  71. package/lib/umd/react-theme-default.js +14 -14
  72. package/lib/umd/react-theme-default.js.LICENSE.txt +2 -2
  73. package/lib/umd/react-theme-default.js.map +1 -1
  74. package/package.json +4 -4
  75. package/lib/cjs/components/SCMobileHeader.d.ts +0 -11
  76. package/lib/cjs/components/SCMobileHeader.d.ts.map +0 -1
  77. package/lib/cjs/components/SCMobileHeader.js +0 -13
  78. package/lib/cjs/components/SCMobileHeader.js.map +0 -1
  79. package/lib/esm/components/SCMobileHeader.d.ts +0 -11
  80. package/lib/esm/components/SCMobileHeader.d.ts.map +0 -1
  81. package/lib/esm/components/SCMobileHeader.js +0 -11
  82. 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
- paddingLeft: number;
6
- };
7
- '& .SCNotificationItem-content': {
8
- paddingBottom: any;
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;;;;;;;;;CAStB,CAAC;AAEF,eAAe,SAAS,CAAC"}
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
- paddingLeft: 0
8
- },
9
- '& .SCNotificationItem-content': {
10
- paddingBottom: theme.spacing(1)
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,WAAW,EAAE,CAAC;aACf;YACD,+BAA+B,EAAE;gBAC/B,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aAChC;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
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"}
@@ -10,6 +10,9 @@ declare const Component: {
10
10
  '&:last-child': {
11
11
  paddingBottom: any;
12
12
  };
13
+ '& > * > * > .SCWidget-root': {
14
+ marginBottom: any;
15
+ };
13
16
  };
14
17
  '& .SCFeed-right': {
15
18
  padding: any;
@@ -1 +1 @@
1
- {"version":3,"file":"SCFeed.d.ts","sourceRoot":"","sources":["../../../src/components/SCFeed.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
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"}
@@ -11,6 +11,9 @@ const Component = {
11
11
  },
12
12
  '&:last-child': {
13
13
  paddingBottom: theme.spacing(4)
14
+ },
15
+ '& > * > * > .SCWidget-root': {
16
+ marginBottom: theme.spacing(2)
14
17
  }
15
18
  },
16
19
  '& .SCFeed-right': {
@@ -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,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;oBAC5B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI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ACxB,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"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C,SAAS;4BAChD,MAAM,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,kBAAe,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,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"}
@@ -1,30 +1,44 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
- '& .SCSnippetNotifications-notifications-wrap': {
5
- maxWidth: string;
6
- '& .SCNotificationItem-primary': {
7
- color: any;
8
- '& a': {
9
- '&:hover': {
10
- color: any;
11
- textDecoration: string;
4
+ '& .SCSnippetNotifications-item': {
5
+ padding: number;
6
+ marginBottom: any;
7
+ '& .SCNotificationItem-root': {
8
+ backgroundColor: string;
9
+ borderRadius: number;
10
+ '&.SCNotificationItem-snippet': {
11
+ '&:before': {
12
+ borderRadius: any;
13
+ width: any;
14
+ left: number;
15
+ height: string;
16
+ display: string;
17
+ zIndex: string;
18
+ position: string;
19
+ content: string;
20
+ backgroundColor: string;
21
+ };
22
+ '&.SCNotificationItem-new': {
23
+ '&:before': {
24
+ backgroundColor: any;
25
+ };
26
+ };
27
+ '& .SCNotificationItem-header': {
28
+ padding: any;
12
29
  };
13
30
  };
14
31
  };
15
- };
16
- '& .SCNotificationItem-image': {
17
- paddingLeft: string;
18
- };
19
- '&.SCNotificationItem-new-snippet': {
20
- '&::before': {
21
- backgroundColor: any;
22
- };
23
- };
24
- '& .SCUserNotificationPrivateMessage-reply-button': {
25
- color: any;
26
- '&:hover': {
27
- color: string;
32
+ '&.SCSnippetNotifications-broadcast-messages-banner': {
33
+ '& .SCNotificationItem-root.SCNotificationItem-snippet.SCNotificationItem-new': {
34
+ '&:before': {
35
+ backgroundColor: any;
36
+ };
37
+ };
38
+ '& .SCNotificationItem-title a': {
39
+ color: any;
40
+ fontWeight: any;
41
+ };
28
42
  };
29
43
  };
30
44
  };
@@ -1 +1 @@
1
- {"version":3,"file":"SCSnippetNotifications.d.ts","sourceRoot":"","sources":["../../../src/components/SCSnippetNotifications.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"SCSnippetNotifications.d.ts","sourceRoot":"","sources":["../../../src/components/SCSnippetNotifications.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -3,30 +3,44 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
5
  root: ({ theme }) => ({
6
- '& .SCSnippetNotifications-notifications-wrap': {
7
- maxWidth: 'initial',
8
- '& .SCNotificationItem-primary': {
9
- color: theme.palette.grey[600],
10
- '& a': {
11
- '&:hover': {
12
- color: theme.palette.primary.main,
13
- textDecoration: 'underline'
6
+ '& .SCSnippetNotifications-item': {
7
+ padding: 0,
8
+ marginBottom: theme.spacing(),
9
+ '& .SCNotificationItem-root': {
10
+ backgroundColor: 'transparent',
11
+ borderRadius: 0,
12
+ '&.SCNotificationItem-snippet': {
13
+ '&:before': {
14
+ borderRadius: theme.shape.borderRadius,
15
+ width: theme.spacing(0.6),
16
+ left: 1,
17
+ height: '100%',
18
+ display: 'block',
19
+ zIndex: '20',
20
+ position: 'absolute',
21
+ content: '" "',
22
+ backgroundColor: 'rgba(84, 110, 122, 0.3)'
23
+ },
24
+ '&.SCNotificationItem-new': {
25
+ '&:before': {
26
+ backgroundColor: theme.palette.primary.main
27
+ }
28
+ },
29
+ '& .SCNotificationItem-header': {
30
+ padding: theme.spacing(1, 2)
14
31
  }
15
32
  }
16
- }
17
- },
18
- '& .SCNotificationItem-image': {
19
- paddingLeft: '0px !important'
20
- },
21
- '&.SCNotificationItem-new-snippet': {
22
- '&::before': {
23
- backgroundColor: theme.palette.primary.main
24
- }
25
- },
26
- '& .SCUserNotificationPrivateMessage-reply-button': {
27
- color: theme.palette.primary.main,
28
- '&:hover': {
29
- color: '#FFF !important'
33
+ },
34
+ '&.SCSnippetNotifications-broadcast-messages-banner': {
35
+ '& .SCNotificationItem-root.SCNotificationItem-snippet.SCNotificationItem-new': {
36
+ '&:before': {
37
+ backgroundColor: theme.palette.secondary.main
38
+ }
39
+ },
40
+ '& .SCNotificationItem-title a': {
41
+ color: theme.palette.secondary.main,
42
+ fontWeight: theme.typography.fontWeightBold
43
+ }
30
44
  }
31
45
  }
32
46
  })
@@ -1 +1 @@
1
- {"version":3,"file":"SCSnippetNotifications.js","sourceRoot":"","sources":["../../../src/components/SCSnippetNotifications.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,8CAA8C,EAAE;gBAC9C,QAAQ,EAAE,SAAS;gBACnB,+BAA+B,EAAE;oBAC/B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;oBAC9B,KAAK,EAAE;wBACL,SAAS,EAAE;4BACT,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;4BACjC,cAAc,EAAE,WAAW;yBAC5B;qBACF;iBACF;aACF;YACD,6BAA6B,EAAE;gBAC7B,WAAW,EAAE,gBAAgB;aAC9B;YACD,kCAAkC,EAAE;gBAClC,WAAW,EAAE;oBACX,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;iBAC5C;aACF;YACD,kDAAkD,EAAE;gBAClD,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBACjC,SAAS,EAAE;oBACT,KAAK,EAAE,iBAAiB;iBACzB;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"SCSnippetNotifications.js","sourceRoot":"","sources":["../../../src/components/SCSnippetNotifications.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,gCAAgC,EAAE;gBAChC,OAAO,EAAE,CAAC;gBACV,YAAY,EAAE,KAAK,CAAC,OAAO,EAAE;gBAC7B,4BAA4B,EAAE;oBAC5B,eAAe,EAAE,aAAa;oBAC9B,YAAY,EAAE,CAAC;oBACf,8BAA8B,EAAE;wBAC9B,UAAU,EAAE;4BACV,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;4BACtC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;4BACzB,IAAI,EAAE,CAAC;4BACP,MAAM,EAAE,MAAM;4BACd,OAAO,EAAE,OAAO;4BAChB,MAAM,EAAE,IAAI;4BACZ,QAAQ,EAAE,UAAU;4BACpB,OAAO,EAAE,KAAK;4BACd,eAAe,EAAE,yBAAyB;yBAC3C;wBACD,0BAA0B,EAAE;4BAC1B,UAAU,EAAE;gCACV,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;6BAC5C;yBACF;wBACD,8BAA8B,EAAE;4BAC9B,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC;yBAC7B;qBACF;iBACF;gBACD,oDAAoD,EAAE;oBACpD,8EAA8E,EAAE;wBAC9E,UAAU,EAAE;4BACV,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI;yBAC9C;qBACF;oBACD,+BAA+B,EAAE;wBAC/B,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI;wBACnC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc;qBAC5C;iBACF;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,39 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ margin: number;
5
+ padding: number;
6
+ '& .SCSnippetNotificationsSkeleton-item': {
7
+ padding: number;
8
+ marginBottom: any;
9
+ '& .SCNotificationItem-root': {
10
+ backgroundColor: string;
11
+ borderRadius: number;
12
+ '&.SCNotificationItem-snippet': {
13
+ '&:before': {
14
+ borderRadius: any;
15
+ width: any;
16
+ left: number;
17
+ height: string;
18
+ display: string;
19
+ zIndex: string;
20
+ position: string;
21
+ content: string;
22
+ backgroundColor: string;
23
+ };
24
+ '&.SCNotificationItem-new': {
25
+ '&:before': {
26
+ backgroundColor: any;
27
+ };
28
+ };
29
+ '& .SCNotificationItem-header': {
30
+ padding: any;
31
+ };
32
+ };
33
+ };
34
+ };
35
+ };
36
+ };
37
+ };
38
+ export default Component;
39
+ //# sourceMappingURL=SCSnippetNotificationsSkeleton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCSnippetNotificationsSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/SCSnippetNotificationsSkeleton.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkCtB,CAAC;AAEF,eAAe,SAAS,CAAC"}