@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.
Files changed (122) 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/SCPrivateMessageEditor.d.ts +89 -0
  26. package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -0
  27. package/lib/cjs/components/SCPrivateMessageEditor.js +92 -0
  28. package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -0
  29. package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts +34 -0
  30. package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
  31. package/lib/cjs/components/SCPrivateMessageSnippetItem.js +36 -0
  32. package/lib/cjs/components/SCPrivateMessageSnippetItem.js.map +1 -0
  33. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +48 -0
  34. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -0
  35. package/lib/cjs/components/SCPrivateMessageSnippets.js +48 -0
  36. package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -0
  37. package/lib/cjs/components/SCPrivateMessageThread.d.ts +167 -0
  38. package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -0
  39. package/lib/cjs/components/SCPrivateMessageThread.js +171 -0
  40. package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -0
  41. package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts +9 -12
  42. package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
  43. package/lib/cjs/components/SCPrivateMessagesTemplate.js +20 -14
  44. package/lib/cjs/components/SCPrivateMessagesTemplate.js.map +1 -1
  45. package/lib/cjs/components/SCSnippetNotifications.d.ts +35 -21
  46. package/lib/cjs/components/SCSnippetNotifications.d.ts.map +1 -1
  47. package/lib/cjs/components/SCSnippetNotifications.js +36 -22
  48. package/lib/cjs/components/SCSnippetNotifications.js.map +1 -1
  49. package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
  50. package/lib/cjs/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
  51. package/lib/cjs/components/SCSnippetNotificationsSkeleton.js +41 -0
  52. package/lib/cjs/components/SCSnippetNotificationsSkeleton.js.map +1 -0
  53. package/lib/cjs/index.d.ts.map +1 -1
  54. package/lib/cjs/index.js +41 -25
  55. package/lib/cjs/index.js.map +1 -1
  56. package/lib/esm/components/SCContributionNotification.d.ts +14 -0
  57. package/lib/esm/components/SCContributionNotification.d.ts.map +1 -0
  58. package/lib/esm/components/SCContributionNotification.js +14 -0
  59. package/lib/esm/components/SCContributionNotification.js.map +1 -0
  60. package/lib/esm/components/SCCustomSnackMessage.d.ts +5 -4
  61. package/lib/esm/components/SCCustomSnackMessage.d.ts.map +1 -1
  62. package/lib/esm/components/SCCustomSnackMessage.js +5 -4
  63. package/lib/esm/components/SCCustomSnackMessage.js.map +1 -1
  64. package/lib/esm/components/SCFeed.d.ts +3 -0
  65. package/lib/esm/components/SCFeed.d.ts.map +1 -1
  66. package/lib/esm/components/SCFeed.js +3 -0
  67. package/lib/esm/components/SCFeed.js.map +1 -1
  68. package/lib/esm/components/SCNotification.d.ts +44 -0
  69. package/lib/esm/components/SCNotification.d.ts.map +1 -0
  70. package/lib/esm/components/SCNotification.js +45 -0
  71. package/lib/esm/components/SCNotification.js.map +1 -0
  72. package/lib/esm/components/SCNotificationItem.d.ts +67 -0
  73. package/lib/esm/components/SCNotificationItem.d.ts.map +1 -0
  74. package/lib/esm/components/SCNotificationItem.js +67 -0
  75. package/lib/esm/components/SCNotificationItem.js.map +1 -0
  76. package/lib/esm/components/SCNotificationsMenu.d.ts +14 -0
  77. package/lib/esm/components/SCNotificationsMenu.d.ts.map +1 -0
  78. package/lib/esm/components/SCNotificationsMenu.js +14 -0
  79. package/lib/esm/components/SCNotificationsMenu.js.map +1 -0
  80. package/lib/esm/components/SCPrivateMessageEditor.d.ts +89 -0
  81. package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -0
  82. package/lib/esm/components/SCPrivateMessageEditor.js +90 -0
  83. package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -0
  84. package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts +34 -0
  85. package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
  86. package/lib/esm/components/SCPrivateMessageSnippetItem.js +34 -0
  87. package/lib/esm/components/SCPrivateMessageSnippetItem.js.map +1 -0
  88. package/lib/esm/components/SCPrivateMessageSnippets.d.ts +48 -0
  89. package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -0
  90. package/lib/esm/components/SCPrivateMessageSnippets.js +46 -0
  91. package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -0
  92. package/lib/esm/components/SCPrivateMessageThread.d.ts +167 -0
  93. package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -0
  94. package/lib/esm/components/SCPrivateMessageThread.js +169 -0
  95. package/lib/esm/components/SCPrivateMessageThread.js.map +1 -0
  96. package/lib/esm/components/SCPrivateMessagesTemplate.d.ts +9 -12
  97. package/lib/esm/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
  98. package/lib/esm/components/SCPrivateMessagesTemplate.js +20 -14
  99. package/lib/esm/components/SCPrivateMessagesTemplate.js.map +1 -1
  100. package/lib/esm/components/SCSnippetNotifications.d.ts +35 -21
  101. package/lib/esm/components/SCSnippetNotifications.d.ts.map +1 -1
  102. package/lib/esm/components/SCSnippetNotifications.js +36 -22
  103. package/lib/esm/components/SCSnippetNotifications.js.map +1 -1
  104. package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts +39 -0
  105. package/lib/esm/components/SCSnippetNotificationsSkeleton.d.ts.map +1 -0
  106. package/lib/esm/components/SCSnippetNotificationsSkeleton.js +39 -0
  107. package/lib/esm/components/SCSnippetNotificationsSkeleton.js.map +1 -0
  108. package/lib/esm/index.d.ts.map +1 -1
  109. package/lib/esm/index.js +41 -25
  110. package/lib/esm/index.js.map +1 -1
  111. package/lib/umd/react-theme-default.js +14 -14
  112. package/lib/umd/react-theme-default.js.LICENSE.txt +2 -2
  113. package/lib/umd/react-theme-default.js.map +1 -1
  114. package/package.json +4 -4
  115. package/lib/cjs/components/SCMobileHeader.d.ts +0 -11
  116. package/lib/cjs/components/SCMobileHeader.d.ts.map +0 -1
  117. package/lib/cjs/components/SCMobileHeader.js +0 -13
  118. package/lib/cjs/components/SCMobileHeader.js.map +0 -1
  119. package/lib/esm/components/SCMobileHeader.d.ts +0 -11
  120. package/lib/esm/components/SCMobileHeader.d.ts.map +0 -1
  121. package/lib/esm/components/SCMobileHeader.js +0 -11
  122. package/lib/esm/components/SCMobileHeader.js.map +0 -1
@@ -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":"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,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,SAAS;4BAChD,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,SAAS;yBAClD;qBACF;iBACF;aACF;YACD,8BAA8B,EAAE;gBAC9B,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,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,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,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,90 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ width: '100%',
5
+ position: 'absolute',
6
+ bottom: 0,
7
+ left: 0,
8
+ zIndex: 1,
9
+ backgroundColor: theme.palette.primary.main,
10
+ '& .MuiIcon-root': {
11
+ fontSize: '1.571rem'
12
+ },
13
+ '& .SCPrivateMessageEditor-message-input': {
14
+ width: '100%'
15
+ },
16
+ '& .MuiInputBase-root, MuiOutlinedInput-root': {
17
+ //height: theme.spacing(6.25),
18
+ '& textarea': {
19
+ backgroundColor: theme.palette.common.white,
20
+ borderRadius: theme.shape.borderRadius,
21
+ padding: theme.spacing(1)
22
+ }
23
+ },
24
+ '& .SCPrivateMessageEditor-send-media-section': {
25
+ backgroundColor: theme.palette.primary.main,
26
+ display: 'flex',
27
+ justifyContent: 'center'
28
+ },
29
+ '& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
30
+ '& .MuiIcon-root': {
31
+ fontSize: '1.143rem'
32
+ },
33
+ backgroundColor: theme.palette.primary.main,
34
+ '& .MuiCardHeader-root': {
35
+ paddingRight: theme.spacing(2),
36
+ paddingTop: theme.spacing(1)
37
+ },
38
+ '& .MuiCardContent-root': {
39
+ '& .SCMessageMediaUploader-upload': {
40
+ display: 'flex',
41
+ justifyContent: 'center',
42
+ '& .MuiButtonBase-root, MuiIconButton-root': {
43
+ backgroundColor: theme.palette.common.white
44
+ }
45
+ },
46
+ '& .SCMessageMediaUploader-preview-container': {
47
+ display: 'flex',
48
+ justifyContent: 'center',
49
+ img: {
50
+ maxWidth: theme.spacing(25)
51
+ },
52
+ video: {
53
+ maxWidth: theme.spacing(25)
54
+ }
55
+ },
56
+ '& .SCMessageMediaUploader-doc-preview': {
57
+ [theme.breakpoints.down('md')]: {
58
+ height: theme.spacing(12.5),
59
+ width: theme.spacing(25)
60
+ },
61
+ height: theme.spacing(25),
62
+ width: theme.spacing(50),
63
+ position: 'relative'
64
+ },
65
+ '& .SCMessageMediaUploader-doc-loading-preview': {
66
+ backgroundColor: theme.palette.background.default,
67
+ height: theme.spacing(12.5),
68
+ width: theme.spacing(25),
69
+ position: 'relative',
70
+ '& .MuiCircularProgress-root': {
71
+ position: 'absolute',
72
+ top: '40%',
73
+ left: '45%'
74
+ },
75
+ '& .SCMessageMediaUploader-progress': {
76
+ display: 'flex',
77
+ justifyContent: 'center'
78
+ },
79
+ '& .SCMessageMediaUploader-clear-media': {
80
+ display: 'flex',
81
+ justifyContent: 'flex-end'
82
+ }
83
+ }
84
+ }
85
+ }
86
+ })
87
+ }
88
+ };
89
+ export default Component;
90
+ //# 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,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,8BAA8B;gBAC9B,YAAY,EAAE;oBACZ,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK;oBAC3C,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;oBACtC,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC1B;aACF;YACD,8CAA8C,EAAE;gBAC9C,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI;gBAC3C,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,QAAQ;aACzB;YACD,4EAA4E,EAAE;gBAC5E,iBAAiB,EAAE;oBACjB,QAAQ,EAAE,UAAU;iBACrB;gBACD,eAAe,EAAE,KAAK,CAA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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"}
@@ -0,0 +1,34 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ borderRadius: theme.spacing(1.5),
5
+ padding: `${theme.spacing(0)}!important`,
6
+ '& .SCPrivateMessageSnippetItem-time': {
7
+ float: 'right',
8
+ fontSize: theme.typography.fontWeightRegular
9
+ },
10
+ '& .MuiListItemText-primary': {
11
+ '& .SCPrivateMessageSnippetItem-username': {
12
+ fontWeight: theme.typography.fontWeightBold
13
+ },
14
+ '& .SCPrivateMessageSnippetItem-badge-label': {
15
+ marginLeft: theme.spacing(1),
16
+ borderRadius: 0,
17
+ fontSize: '0.5rem'
18
+ }
19
+ },
20
+ '& .MuiListItemText-secondary': {
21
+ display: 'flex',
22
+ justifyContent: 'space-between',
23
+ alignItems: 'center'
24
+ },
25
+ '& .MuiListItemSecondaryAction-root': {
26
+ position: 'absolute',
27
+ top: theme.spacing(3),
28
+ right: theme.spacing(0.5)
29
+ }
30
+ })
31
+ }
32
+ };
33
+ export default Component;
34
+ //# sourceMappingURL=SCPrivateMessageSnippetItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCPrivateMessageSnippetItem.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippetItem.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;YAChC,OAAO,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,YAAY;YACxC,qCAAqC,EAAE;gBACrC,KAAK,EAAE,OAAO;gBACd,QAAQ,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB;aAC7C;YACD,4BAA4B,EAAE;gBAC5B,yCAAyC,EAAE;oBACzC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC,cAAc;iBAC5C;gBACD,4CAA4C,EAAE;oBAC5C,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC5B,YAAY,EAAE,CAAC;oBACf,QAAQ,EAAE,QAAQ;iBACnB;aACF;YACD,8BAA8B,EAAE;gBAC9B,OAAO,EAAE,MAAM;gBACf,cAAc,EAAE,eAAe;gBAC/B,UAAU,EAAE,QAAQ;aACrB;YACD,oCAAoC,EAAE;gBACpC,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC;aAC1B;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,48 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ height: any;
5
+ maxHeight: string;
6
+ '& .MuiCardContent-root': {
7
+ display: string;
8
+ flexDirection: string;
9
+ maxHeight: any;
10
+ overflow: string;
11
+ '& .MuiList-root': {
12
+ '&:last-child': {
13
+ marginBottom: any;
14
+ };
15
+ '& .MuiButtonBase-root, MuiListItemButton-root': {
16
+ '&:hover': {
17
+ borderRadius: string;
18
+ };
19
+ };
20
+ };
21
+ };
22
+ '& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
23
+ padding: any;
24
+ };
25
+ '& .Mui-selected': {
26
+ background: any;
27
+ };
28
+ '& .SCPrivateMessageSnippets-input': {
29
+ borderRadius: any;
30
+ height: any;
31
+ '& .SCPrivateMessageSnippets-icon': {
32
+ marginRight: any;
33
+ };
34
+ };
35
+ '& .SCPrivateMessageSnippets-new-message-button': {
36
+ color: any;
37
+ alignSelf: string;
38
+ backgroundColor: string;
39
+ '&:hover': {
40
+ borderWidth: string;
41
+ backgroundColor: string;
42
+ };
43
+ };
44
+ };
45
+ };
46
+ };
47
+ export default Component;
48
+ //# sourceMappingURL=SCPrivateMessageSnippets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCPrivateMessageSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippets.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyCtB,CAAC;AACF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,46 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ height: theme.spacing(103.5),
5
+ maxHeight: 'inherit',
6
+ '& .MuiCardContent-root': {
7
+ display: 'flex',
8
+ flexDirection: 'column',
9
+ maxHeight: theme.spacing(103.5),
10
+ overflow: 'auto',
11
+ '& .MuiList-root': {
12
+ '&:last-child': {
13
+ marginBottom: theme.spacing(2)
14
+ },
15
+ '& .MuiButtonBase-root, MuiListItemButton-root': {
16
+ '&:hover': { borderRadius: 'inherit' }
17
+ }
18
+ }
19
+ },
20
+ '& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
21
+ padding: theme.spacing(2)
22
+ },
23
+ '& .Mui-selected': {
24
+ background: theme.palette.action.selected
25
+ },
26
+ '& .SCPrivateMessageSnippets-input': {
27
+ borderRadius: theme.shape.borderRadius,
28
+ height: theme.spacing(3.75),
29
+ '& .SCPrivateMessageSnippets-icon': {
30
+ marginRight: theme.spacing(1)
31
+ }
32
+ },
33
+ '& .SCPrivateMessageSnippets-new-message-button': {
34
+ color: theme.palette.primary.main,
35
+ alignSelf: 'center',
36
+ backgroundColor: 'transparent',
37
+ '&:hover': {
38
+ borderWidth: '2px !important',
39
+ backgroundColor: `${theme.palette.action.hover} !important`
40
+ }
41
+ }
42
+ })
43
+ }
44
+ };
45
+ export default Component;
46
+ //# sourceMappingURL=SCPrivateMessageSnippets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCPrivateMessageSnippets.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippets.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;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+ height: any;
7
+ maxHeight: string;
8
+ '& .MuiCardContent-root': {
9
+ height: string;
10
+ maxHeight: any;
11
+ overflow: string;
12
+ '& .MuiList-root': {
13
+ [x: number]: {
14
+ marginTop: any;
15
+ };
16
+ '& .MuiListItem-root': {
17
+ '&.SCPrivateMessageThread-receiver': {
18
+ backgroundColor: any;
19
+ '&:after': {
20
+ marginRight: any;
21
+ content: string;
22
+ position: string;
23
+ border: string;
24
+ borderTop: string;
25
+ top: number;
26
+ left: any;
27
+ };
28
+ };
29
+ '&.SCPrivateMessageThread-sender': {
30
+ marginLeft: any;
31
+ backgroundColor: any;
32
+ };
33
+ };
34
+ };
35
+ };
36
+ '& .SCPrivateMessageThread-empty-message': {
37
+ position: string;
38
+ top: string;
39
+ display: string;
40
+ justifyContent: string;
41
+ fontSize: string;
42
+ };
43
+ '& .SCPrivateMessageThread-mobile-header': {
44
+ display: string;
45
+ flexDirection: string;
46
+ position: string;
47
+ top: number;
48
+ right: number;
49
+ width: string;
50
+ alignItems: string;
51
+ justifyContent: string;
52
+ zIndex: number;
53
+ backgroundColor: any;
54
+ '& .SCPrivateMessageThread-mobile-header-content': {
55
+ display: string;
56
+ justifyContent: string;
57
+ alignItems: string;
58
+ '& .MuiAvatar-root': {
59
+ width: any;
60
+ height: any;
61
+ padding: any;
62
+ };
63
+ };
64
+ '& .MuiIcon-root': {
65
+ padding: any;
66
+ fontSize: string;
67
+ };
68
+ };
69
+ '& .SCPrivateMessageThread-new-message-header': {
70
+ position: string;
71
+ top: number;
72
+ right: number;
73
+ display: string;
74
+ width: string;
75
+ height: any;
76
+ alignItems: string;
77
+ justifyContent: string;
78
+ backgroundColor: any;
79
+ '& .SCPrivateMessageThread-new-message-header-content': {
80
+ display: string;
81
+ alignItems: string;
82
+ width: string;
83
+ maxHeight: any;
84
+ overflow: string;
85
+ backgroundColor: any;
86
+ borderRadius: any;
87
+ marginRight: any;
88
+ '& .SCPrivateMessageThread-new-message-header-icon': {
89
+ fontSize: string;
90
+ };
91
+ '& .MuiIcon-root': {
92
+ color: any;
93
+ padding: any;
94
+ };
95
+ '& .MuiTypography-root': {
96
+ color: any;
97
+ };
98
+ '& .SCPrivateMessageThread-autocomplete': {
99
+ minWidth: any;
100
+ marginLeft: any;
101
+ '& .MuiAutocomplete-endAdornment': {
102
+ position: string;
103
+ '& .MuiAutocomplete-clearIndicator': {
104
+ fontSize: string;
105
+ };
106
+ };
107
+ };
108
+ };
109
+ };
110
+ '& .MuiListSubheader-root': {
111
+ backgroundColor: string;
112
+ display: string;
113
+ justifyContent: string;
114
+ marginBottom: any;
115
+ '& .SCPrivateMessageThread-subheader': {
116
+ width: string;
117
+ padding: any;
118
+ backgroundColor: string;
119
+ fontWeight: any;
120
+ borderRadius: any;
121
+ boxShadow: string;
122
+ };
123
+ };
124
+ '& .SCPrivateMessageThreadItem-root': {
125
+ borderRadius: any;
126
+ paddingTop: string;
127
+ paddingBottom: string;
128
+ paddingRight: string;
129
+ paddingLeft: string;
130
+ '& .MuiListItemSecondaryAction-root': {
131
+ right: any;
132
+ top: any;
133
+ };
134
+ '& .SCPrivateMessageThreadItem-message-time': {
135
+ position: string;
136
+ bottom: any;
137
+ right: any;
138
+ };
139
+ '& .SCPrivateMessageThreadItem-text': {
140
+ minHeight: any;
141
+ display: string;
142
+ alignItems: string;
143
+ '& .MuiTypography-root': {
144
+ fontSize: string;
145
+ };
146
+ };
147
+ '& .SCPrivateMessageThreadItem-img': {
148
+ display: string;
149
+ alignItems: string;
150
+ '& img': {
151
+ [x: number]: {
152
+ minHeight: number;
153
+ };
154
+ width: string;
155
+ minHeight: number;
156
+ };
157
+ };
158
+ '& .SCPrivateMessageThreadItem-document': {
159
+ display: string;
160
+ alignItems: string;
161
+ };
162
+ };
163
+ };
164
+ };
165
+ };
166
+ export default Component;
167
+ //# sourceMappingURL=SCPrivateMessageThread.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SCPrivateMessageThread.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoKtB,CAAC;AAEF,eAAe,SAAS,CAAC"}