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

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 (50) hide show
  1. package/lib/cjs/components/SCPrivateMessageEditor.d.ts +89 -0
  2. package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -0
  3. package/lib/cjs/components/SCPrivateMessageEditor.js +92 -0
  4. package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -0
  5. package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts +34 -0
  6. package/lib/cjs/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
  7. package/lib/cjs/components/SCPrivateMessageSnippetItem.js +36 -0
  8. package/lib/cjs/components/SCPrivateMessageSnippetItem.js.map +1 -0
  9. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +48 -0
  10. package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -0
  11. package/lib/cjs/components/SCPrivateMessageSnippets.js +48 -0
  12. package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -0
  13. package/lib/cjs/components/SCPrivateMessageThread.d.ts +167 -0
  14. package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -0
  15. package/lib/cjs/components/SCPrivateMessageThread.js +171 -0
  16. package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -0
  17. package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts +9 -12
  18. package/lib/cjs/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
  19. package/lib/cjs/components/SCPrivateMessagesTemplate.js +20 -14
  20. package/lib/cjs/components/SCPrivateMessagesTemplate.js.map +1 -1
  21. package/lib/cjs/index.d.ts.map +1 -1
  22. package/lib/cjs/index.js +9 -1
  23. package/lib/cjs/index.js.map +1 -1
  24. package/lib/esm/components/SCPrivateMessageEditor.d.ts +89 -0
  25. package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -0
  26. package/lib/esm/components/SCPrivateMessageEditor.js +90 -0
  27. package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -0
  28. package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts +34 -0
  29. package/lib/esm/components/SCPrivateMessageSnippetItem.d.ts.map +1 -0
  30. package/lib/esm/components/SCPrivateMessageSnippetItem.js +34 -0
  31. package/lib/esm/components/SCPrivateMessageSnippetItem.js.map +1 -0
  32. package/lib/esm/components/SCPrivateMessageSnippets.d.ts +48 -0
  33. package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -0
  34. package/lib/esm/components/SCPrivateMessageSnippets.js +46 -0
  35. package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -0
  36. package/lib/esm/components/SCPrivateMessageThread.d.ts +167 -0
  37. package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -0
  38. package/lib/esm/components/SCPrivateMessageThread.js +169 -0
  39. package/lib/esm/components/SCPrivateMessageThread.js.map +1 -0
  40. package/lib/esm/components/SCPrivateMessagesTemplate.d.ts +9 -12
  41. package/lib/esm/components/SCPrivateMessagesTemplate.d.ts.map +1 -1
  42. package/lib/esm/components/SCPrivateMessagesTemplate.js +20 -14
  43. package/lib/esm/components/SCPrivateMessagesTemplate.js.map +1 -1
  44. package/lib/esm/index.d.ts.map +1 -1
  45. package/lib/esm/index.js +9 -1
  46. package/lib/esm/index.js.map +1 -1
  47. package/lib/umd/react-theme-default.js +16 -16
  48. package/lib/umd/react-theme-default.js.LICENSE.txt +1 -1
  49. package/lib/umd/react-theme-default.js.map +1 -1
  50. package/package.json +4 -4
@@ -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":"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"}
@@ -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,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ borderRadius: theme.spacing(1.5),
7
+ padding: `${theme.spacing(0)}!important`,
8
+ '& .SCPrivateMessageSnippetItem-time': {
9
+ float: 'right',
10
+ fontSize: theme.typography.fontWeightRegular
11
+ },
12
+ '& .MuiListItemText-primary': {
13
+ '& .SCPrivateMessageSnippetItem-username': {
14
+ fontWeight: theme.typography.fontWeightBold
15
+ },
16
+ '& .SCPrivateMessageSnippetItem-badge-label': {
17
+ marginLeft: theme.spacing(1),
18
+ borderRadius: 0,
19
+ fontSize: '0.5rem'
20
+ }
21
+ },
22
+ '& .MuiListItemText-secondary': {
23
+ display: 'flex',
24
+ justifyContent: 'space-between',
25
+ alignItems: 'center'
26
+ },
27
+ '& .MuiListItemSecondaryAction-root': {
28
+ position: 'absolute',
29
+ top: theme.spacing(3),
30
+ right: theme.spacing(0.5)
31
+ }
32
+ })
33
+ }
34
+ };
35
+ exports.default = Component;
36
+ //# 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,kBAAe,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: string;
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,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ height: theme.spacing(103.5),
7
+ maxHeight: 'inherit',
8
+ '& .MuiCardContent-root': {
9
+ display: 'flex',
10
+ flexDirection: 'column',
11
+ maxHeight: theme.spacing(103.5),
12
+ overflow: 'auto',
13
+ '& .MuiList-root': {
14
+ '&:last-child': {
15
+ marginBottom: theme.spacing(2)
16
+ },
17
+ '& .MuiButtonBase-root, MuiListItemButton-root': {
18
+ '&:hover': { borderRadius: 'inherit' }
19
+ }
20
+ }
21
+ },
22
+ '& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
23
+ padding: theme.spacing(2)
24
+ },
25
+ '& .Mui-selected': {
26
+ background: theme.palette.action.selected
27
+ },
28
+ '& .SCPrivateMessageSnippets-input': {
29
+ borderRadius: theme.shape.borderRadius,
30
+ height: theme.spacing(3.75),
31
+ '& .SCPrivateMessageSnippets-icon': {
32
+ marginRight: theme.spacing(1)
33
+ }
34
+ },
35
+ '& .SCPrivateMessageSnippets-new-message-button': {
36
+ color: `${theme.palette.primary.main} !important`,
37
+ alignSelf: 'center',
38
+ backgroundColor: 'transparent',
39
+ '&:hover': {
40
+ borderWidth: '2px !important',
41
+ backgroundColor: `${theme.palette.action.hover} !important`
42
+ }
43
+ }
44
+ })
45
+ }
46
+ };
47
+ exports.default = Component;
48
+ //# 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;YACvB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAC5B,SAAS,EAAE,SAAS;YACpB,wBAAwB,EAAE;gBACxB,OAAO,EAAE,MAAM;gBACf,aAAa,EAAE,QAAQ;gBACvB,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;gBAC/B,QAAQ,EAAE,MAAM;gBAChB,iBAAiB,EAAE;oBACjB,cAAc,EAAE;wBACd,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;qBAC/B;oBACD,+CAA+C,EAAE;wBAC/C,SAAS,EAAE,EAAC,YAAY,EAAE,SAAS,EAAC;qBACrC;iBACF;aACF;YACD,mGAAmG,EAAE;gBACnG,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;aAC1B;YACD,iBAAiB,EAAE;gBACjB,UAAU,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ;aAC1C;YACD,mCAAmC,EAAE;gBACnC,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;gBACtC,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;gBAC3B,kCAAkC,EAAE;oBAClC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;iBAC9B;aACF;YACD,gDAAgD,EAAE;gBAChD,KAAK,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,aAAa;gBACjD,SAAS,EAAE,QAAQ;gBACnB,eAAe,EAAE,aAAa;gBAC9B,SAAS,EAAE;oBACT,WAAW,EAAE,gBAAgB;oBAC7B,eAAe,EAAE,GAAG,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,aAAa;iBAC5D;aACF;SACF,CAAC;KACH;CACF,CAAC;AACF,kBAAe,SAAS,CAAC"}
@@ -0,0 +1,167 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ backgroundColor: any;
5
+ position: string;
6
+ 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"}