@selfcommunity/react-theme-default 0.1.0-alpha.74 → 0.1.0-alpha.75
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/SCPrivateMessageEditor.d.ts +12 -2
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageEditor.js +15 -4
- package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +11 -3
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageSnippets.js +13 -5
- package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +7 -3
- package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.js +14 -12
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/cjs/index.d.ts +30 -8
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +12 -2
- package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.js +15 -4
- package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts +11 -3
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageSnippets.js +13 -5
- package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageThread.d.ts +7 -3
- package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageThread.js +14 -12
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/esm/index.d.ts +30 -8
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/umd/react-theme-default.js +19 -19
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +3 -3
|
@@ -11,24 +11,34 @@ declare const Component: {
|
|
|
11
11
|
bottom: number;
|
|
12
12
|
left: number;
|
|
13
13
|
zIndex: number;
|
|
14
|
-
backgroundColor:
|
|
14
|
+
backgroundColor: string;
|
|
15
15
|
'& .MuiIcon-root': {
|
|
16
16
|
fontSize: string;
|
|
17
17
|
};
|
|
18
18
|
'& .SCPrivateMessageEditor-message-input': {
|
|
19
19
|
width: string;
|
|
20
20
|
};
|
|
21
|
-
'& .MuiInputBase-root,
|
|
21
|
+
'& .MuiInputBase-root, MuiFilledInput-root': {
|
|
22
|
+
borderRadius: number;
|
|
23
|
+
padding: any;
|
|
22
24
|
'& textarea': {
|
|
23
25
|
backgroundColor: any;
|
|
24
26
|
borderRadius: any;
|
|
25
27
|
padding: any;
|
|
28
|
+
border: string;
|
|
29
|
+
'&:hover': {
|
|
30
|
+
border: string;
|
|
31
|
+
};
|
|
26
32
|
};
|
|
27
33
|
};
|
|
28
34
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
29
35
|
height: any;
|
|
30
36
|
backgroundColor: any;
|
|
31
37
|
'& .MuiCardContent-root': {
|
|
38
|
+
borderTop: string;
|
|
39
|
+
'&:hover': {
|
|
40
|
+
backgroundColor: string;
|
|
41
|
+
};
|
|
32
42
|
overflow: string;
|
|
33
43
|
padding: any;
|
|
34
44
|
display: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
6
|
root: ({ theme }) => ({
|
|
@@ -13,24 +14,34 @@ const Component = {
|
|
|
13
14
|
top: 'auto',
|
|
14
15
|
bottom: 0
|
|
15
16
|
},
|
|
16
|
-
backgroundColor: theme.palette.
|
|
17
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.activatedOpacity),
|
|
17
18
|
'& .MuiIcon-root': {
|
|
18
19
|
fontSize: '1.571rem'
|
|
19
20
|
},
|
|
20
21
|
'& .SCPrivateMessageEditor-message-input': {
|
|
21
22
|
width: '100%'
|
|
22
23
|
},
|
|
23
|
-
'& .MuiInputBase-root,
|
|
24
|
+
'& .MuiInputBase-root, MuiFilledInput-root': {
|
|
25
|
+
borderRadius: 0,
|
|
26
|
+
padding: theme.spacing(0.5, 0, 0.5, 0),
|
|
24
27
|
'& textarea': {
|
|
25
28
|
backgroundColor: theme.palette.common.white,
|
|
26
29
|
borderRadius: theme.shape.borderRadius,
|
|
27
|
-
padding: theme.spacing(1)
|
|
30
|
+
padding: theme.spacing(1),
|
|
31
|
+
border: `2px solid transparent`,
|
|
32
|
+
'&:hover': {
|
|
33
|
+
border: `2px solid${theme.palette.secondary.main}`
|
|
34
|
+
}
|
|
28
35
|
}
|
|
29
36
|
},
|
|
30
37
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
31
38
|
height: theme.spacing(15),
|
|
32
|
-
backgroundColor: theme.palette.
|
|
39
|
+
backgroundColor: theme.palette.secondary.light,
|
|
33
40
|
'& .MuiCardContent-root': {
|
|
41
|
+
borderTop: `1px dashed${theme.palette.secondary.main}`,
|
|
42
|
+
'&:hover': {
|
|
43
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
|
|
44
|
+
},
|
|
34
45
|
overflow: 'visible',
|
|
35
46
|
padding: theme.spacing(1),
|
|
36
47
|
display: 'flex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,MAAM;gBACX,MAAM,EAAE,CAAC;aACV;YACD,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":";;AAAA,wCAAkC;AAElC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,QAAQ,EAAE,OAAO;gBACj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,EAAE,MAAM;6BACf;yBACF;qBACF;oBACD,wCAAwC,EAAE;wBACxC,uBAAuB,EAAE;4BACvB,QAAQ,EAAE,SAAS;yBACpB;qBACF;iBACF;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
|
@@ -9,12 +9,16 @@ declare const Component: {
|
|
|
9
9
|
maxHeight: any;
|
|
10
10
|
overflow: string;
|
|
11
11
|
'& .MuiList-root': {
|
|
12
|
+
'& .Mui-selected': {
|
|
13
|
+
backgroundColor: string;
|
|
14
|
+
};
|
|
12
15
|
'&:last-child': {
|
|
13
16
|
marginBottom: any;
|
|
14
17
|
};
|
|
15
18
|
'& .MuiButtonBase-root, MuiListItemButton-root': {
|
|
16
19
|
'&:hover': {
|
|
17
20
|
borderRadius: string;
|
|
21
|
+
backgroundColor: string;
|
|
18
22
|
};
|
|
19
23
|
};
|
|
20
24
|
};
|
|
@@ -22,11 +26,15 @@ declare const Component: {
|
|
|
22
26
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
|
|
23
27
|
padding: any;
|
|
24
28
|
};
|
|
25
|
-
'& .Mui-selected': {
|
|
26
|
-
background: any;
|
|
27
|
-
};
|
|
28
29
|
'& .SCPrivateMessageSnippets-input': {
|
|
30
|
+
'& .MuiInputBase-input, MuiFilledInput-input': {
|
|
31
|
+
padding: any;
|
|
32
|
+
};
|
|
29
33
|
borderRadius: any;
|
|
34
|
+
backgroundColor: string;
|
|
35
|
+
'&:hover': {
|
|
36
|
+
backgroundColor: string;
|
|
37
|
+
};
|
|
30
38
|
height: any;
|
|
31
39
|
'& .SCPrivateMessageSnippets-icon': {
|
|
32
40
|
marginRight: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippets.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageSnippets.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageSnippets.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDtB,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
6
|
root: ({ theme }) => ({
|
|
@@ -11,22 +12,29 @@ const Component = {
|
|
|
11
12
|
maxHeight: theme.spacing(103.5),
|
|
12
13
|
overflow: 'auto',
|
|
13
14
|
'& .MuiList-root': {
|
|
15
|
+
'& .Mui-selected': {
|
|
16
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
|
|
17
|
+
},
|
|
14
18
|
'&:last-child': {
|
|
15
19
|
marginBottom: theme.spacing(2)
|
|
16
20
|
},
|
|
17
21
|
'& .MuiButtonBase-root, MuiListItemButton-root': {
|
|
18
|
-
'&:hover': { borderRadius: 'inherit' }
|
|
22
|
+
'&:hover': { borderRadius: 'inherit', backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.hoverOpacity) }
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
25
|
},
|
|
22
26
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
|
|
23
27
|
padding: theme.spacing(2)
|
|
24
28
|
},
|
|
25
|
-
'& .Mui-selected': {
|
|
26
|
-
background: theme.palette.action.selected
|
|
27
|
-
},
|
|
28
29
|
'& .SCPrivateMessageSnippets-input': {
|
|
30
|
+
'& .MuiInputBase-input, MuiFilledInput-input': {
|
|
31
|
+
padding: theme.spacing(0)
|
|
32
|
+
},
|
|
29
33
|
borderRadius: theme.shape.borderRadius,
|
|
34
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity),
|
|
35
|
+
'&:hover': {
|
|
36
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.activatedOpacity)
|
|
37
|
+
},
|
|
30
38
|
height: theme.spacing(3.75),
|
|
31
39
|
'& .SCPrivateMessageSnippets-icon': {
|
|
32
40
|
marginRight: theme.spacing(1)
|
|
@@ -38,7 +46,7 @@ const Component = {
|
|
|
38
46
|
backgroundColor: 'transparent',
|
|
39
47
|
'&:hover': {
|
|
40
48
|
borderWidth: '2px !important',
|
|
41
|
-
backgroundColor:
|
|
49
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
42
50
|
}
|
|
43
51
|
}
|
|
44
52
|
})
|
|
@@ -1 +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;
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageS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,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;gBAC1F,SAAS,EAAE;oBACT,eAAe,EAAE,IAAA,cAAK,EAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC;iBAC5F;gBACD,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,IAAA,cAAK,EAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC;iBACtF;aACF;SACF,CAAC;KACH;CACF,CAAC;AACF,kBAAe,SAAS,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
-
backgroundColor:
|
|
4
|
+
backgroundColor: string;
|
|
5
5
|
position: string;
|
|
6
6
|
height: any;
|
|
7
7
|
maxHeight: string;
|
|
@@ -9,6 +9,7 @@ declare const Component: {
|
|
|
9
9
|
height: string;
|
|
10
10
|
maxHeight: string;
|
|
11
11
|
overflow: string;
|
|
12
|
+
padding: any;
|
|
12
13
|
'& .MuiAlert-root': {
|
|
13
14
|
position: string;
|
|
14
15
|
bottom: number;
|
|
@@ -18,6 +19,7 @@ declare const Component: {
|
|
|
18
19
|
justifyContent: string;
|
|
19
20
|
};
|
|
20
21
|
'& .MuiList-root': {
|
|
22
|
+
margin: any;
|
|
21
23
|
'& .MuiListItem-root': {
|
|
22
24
|
'&.SCPrivateMessageThread-receiver': {
|
|
23
25
|
backgroundColor: any;
|
|
@@ -34,7 +36,7 @@ declare const Component: {
|
|
|
34
36
|
};
|
|
35
37
|
};
|
|
36
38
|
'&.SCPrivateMessageThread-sender': {
|
|
37
|
-
backgroundColor:
|
|
39
|
+
backgroundColor: string;
|
|
38
40
|
};
|
|
39
41
|
};
|
|
40
42
|
};
|
|
@@ -55,7 +57,7 @@ declare const Component: {
|
|
|
55
57
|
height: any;
|
|
56
58
|
alignItems: string;
|
|
57
59
|
justifyContent: string;
|
|
58
|
-
backgroundColor:
|
|
60
|
+
backgroundColor: string;
|
|
59
61
|
'& .SCPrivateMessageThread-new-message-header-content': {
|
|
60
62
|
display: string;
|
|
61
63
|
alignItems: string;
|
|
@@ -70,6 +72,7 @@ declare const Component: {
|
|
|
70
72
|
};
|
|
71
73
|
'& .MuiIcon-root': {
|
|
72
74
|
color: any;
|
|
75
|
+
padding: any;
|
|
73
76
|
};
|
|
74
77
|
'& .MuiTypography-root': {
|
|
75
78
|
color: any;
|
|
@@ -114,6 +117,7 @@ declare const Component: {
|
|
|
114
117
|
position: string;
|
|
115
118
|
bottom: any;
|
|
116
119
|
right: any;
|
|
120
|
+
padding: any;
|
|
117
121
|
};
|
|
118
122
|
'& .SCPrivateMessageThreadItem-text': {
|
|
119
123
|
minHeight: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageThread.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageThread.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoJtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const system_1 = require("@mui/system");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
6
|
root: ({ theme }) => ({
|
|
6
|
-
backgroundColor: theme.palette.action.
|
|
7
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.selectedOpacity),
|
|
7
8
|
position: 'relative',
|
|
8
9
|
height: theme.spacing(103.5),
|
|
9
10
|
maxHeight: 'inherit',
|
|
@@ -11,6 +12,7 @@ const Component = {
|
|
|
11
12
|
height: '100%',
|
|
12
13
|
maxHeight: `calc(100% - ${theme.spacing(10)})`,
|
|
13
14
|
overflow: 'auto',
|
|
15
|
+
padding: theme.spacing(0),
|
|
14
16
|
'& .MuiAlert-root': {
|
|
15
17
|
position: 'absolute',
|
|
16
18
|
bottom: 0,
|
|
@@ -20,9 +22,7 @@ const Component = {
|
|
|
20
22
|
justifyContent: 'center'
|
|
21
23
|
},
|
|
22
24
|
'& .MuiList-root': {
|
|
23
|
-
|
|
24
|
-
// marginTop: theme.spacing(2)
|
|
25
|
-
// },
|
|
25
|
+
margin: theme.spacing(0, 2, 0, 2),
|
|
26
26
|
'& .MuiListItem-root': {
|
|
27
27
|
'&.SCPrivateMessageThread-receiver': {
|
|
28
28
|
backgroundColor: theme.palette.common.white,
|
|
@@ -39,7 +39,7 @@ const Component = {
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
'&.SCPrivateMessageThread-sender': {
|
|
42
|
-
backgroundColor: theme.palette.
|
|
42
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.activatedOpacity)
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
@@ -60,11 +60,12 @@ const Component = {
|
|
|
60
60
|
height: theme.spacing(6.25),
|
|
61
61
|
alignItems: 'center',
|
|
62
62
|
justifyContent: 'center',
|
|
63
|
-
backgroundColor: theme.palette.
|
|
63
|
+
backgroundColor: (0, system_1.alpha)(theme.palette.secondary.main, theme.palette.action.activatedOpacity),
|
|
64
64
|
'& .SCPrivateMessageThread-new-message-header-content': {
|
|
65
65
|
display: 'flex',
|
|
66
66
|
alignItems: 'center',
|
|
67
67
|
width: '80%',
|
|
68
|
+
//padding: theme.spacing(0.5),
|
|
68
69
|
maxHeight: theme.spacing(5),
|
|
69
70
|
overflow: 'auto',
|
|
70
71
|
backgroundColor: theme.palette.common.white,
|
|
@@ -74,8 +75,8 @@ const Component = {
|
|
|
74
75
|
fontSize: '1.714rem'
|
|
75
76
|
},
|
|
76
77
|
'& .MuiIcon-root': {
|
|
77
|
-
color: theme.palette.secondary.main
|
|
78
|
-
|
|
78
|
+
color: theme.palette.secondary.main,
|
|
79
|
+
padding: theme.spacing(0.5)
|
|
79
80
|
},
|
|
80
81
|
'& .MuiTypography-root': {
|
|
81
82
|
color: theme.palette.secondary.main
|
|
@@ -99,7 +100,7 @@ const Component = {
|
|
|
99
100
|
marginBottom: theme.spacing(1),
|
|
100
101
|
'& .SCPrivateMessageThread-subheader': {
|
|
101
102
|
width: 'fit-content',
|
|
102
|
-
padding: theme.spacing(
|
|
103
|
+
padding: theme.spacing(0.5),
|
|
103
104
|
backgroundColor: 'white',
|
|
104
105
|
fontWeight: theme.typography.fontWeightRegular,
|
|
105
106
|
borderRadius: theme.shape.borderRadius,
|
|
@@ -113,13 +114,14 @@ const Component = {
|
|
|
113
114
|
paddingRight: `${theme.spacing(2)} !important`,
|
|
114
115
|
paddingLeft: `${theme.spacing(2)} !important`,
|
|
115
116
|
'& .MuiListItemSecondaryAction-root': {
|
|
116
|
-
right: theme.spacing(0),
|
|
117
|
-
top: theme.spacing(
|
|
117
|
+
right: theme.spacing(0.5),
|
|
118
|
+
top: theme.spacing(3)
|
|
118
119
|
},
|
|
119
120
|
'& .SCPrivateMessageThreadItem-message-time': {
|
|
120
121
|
position: 'absolute',
|
|
121
122
|
bottom: theme.spacing(0),
|
|
122
|
-
right: theme.spacing(1)
|
|
123
|
+
right: theme.spacing(1),
|
|
124
|
+
padding: theme.spacing(0.5)
|
|
123
125
|
},
|
|
124
126
|
'& .SCPrivateMessageThreadItem-text': {
|
|
125
127
|
minHeight: theme.spacing(6),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageThread.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":";;AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageThread.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageThread.tsx"],"names":[],"mappings":";;AAAA,wCAAkC;AAElC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,eAAe,EAAE,IAAA,cAAK,EAAC,KAAK,CAAC,OAAO,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC;YAC1F,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;YAC5B,SAAS,EAAE,SAAS;YACpB,wBAAwB,EAAE;gBACxB,MAAM,EAAE,MAAM;gBACd,SAAS,EAAE,eAAe,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC,GAAG;gBAC9C,QAAQ,EAAE,MAAM;gBAChB,OAA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AG,CAAC;iBAC5B;gBACD,oCAAoC,EAAE;oBACpC,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBAC3B,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,uBAAuB,EAAE;wBACvB,QAAQ,EAAE,UAAU;qBACrB;iBACF;gBACD,mCAAmC,EAAE;oBACnC,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;oBACpB,2BAA2B;oBAC3B,4BAA4B;oBAC5B,OAAO,EAAE;wBACP,KAAK,EAAE,MAAM;wBACb,SAAS,EAAE,GAAG;wBACd,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;4BAC9B,SAAS,EAAE,GAAG;yBACf;qBACF;iBACF;gBACD,wCAAwC,EAAE;oBACxC,OAAO,EAAE,MAAM;oBACf,UAAU,EAAE,QAAQ;iBACrB;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,kBAAe,SAAS,CAAC"}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2130,12 +2130,16 @@ declare const theme: {
|
|
|
2130
2130
|
maxHeight: any;
|
|
2131
2131
|
overflow: string;
|
|
2132
2132
|
'& .MuiList-root': {
|
|
2133
|
+
'& .Mui-selected': {
|
|
2134
|
+
backgroundColor: string;
|
|
2135
|
+
};
|
|
2133
2136
|
'&:last-child': {
|
|
2134
2137
|
marginBottom: any;
|
|
2135
2138
|
};
|
|
2136
2139
|
'& .MuiButtonBase-root, MuiListItemButton-root': {
|
|
2137
2140
|
'&:hover': {
|
|
2138
2141
|
borderRadius: string;
|
|
2142
|
+
backgroundColor: string;
|
|
2139
2143
|
};
|
|
2140
2144
|
};
|
|
2141
2145
|
};
|
|
@@ -2143,11 +2147,15 @@ declare const theme: {
|
|
|
2143
2147
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCPrivateMessageSnippets-root, MuiCardContent-root': {
|
|
2144
2148
|
padding: any;
|
|
2145
2149
|
};
|
|
2146
|
-
'& .Mui-selected': {
|
|
2147
|
-
background: any;
|
|
2148
|
-
};
|
|
2149
2150
|
'& .SCPrivateMessageSnippets-input': {
|
|
2151
|
+
'& .MuiInputBase-input, MuiFilledInput-input': {
|
|
2152
|
+
padding: any;
|
|
2153
|
+
};
|
|
2150
2154
|
borderRadius: any;
|
|
2155
|
+
backgroundColor: string;
|
|
2156
|
+
'&:hover': {
|
|
2157
|
+
backgroundColor: string;
|
|
2158
|
+
};
|
|
2151
2159
|
height: any;
|
|
2152
2160
|
'& .SCPrivateMessageSnippets-icon': {
|
|
2153
2161
|
marginRight: any;
|
|
@@ -2168,7 +2176,7 @@ declare const theme: {
|
|
|
2168
2176
|
SCPrivateMessageThread: {
|
|
2169
2177
|
styleOverrides: {
|
|
2170
2178
|
root: ({ theme }: any) => {
|
|
2171
|
-
backgroundColor:
|
|
2179
|
+
backgroundColor: string;
|
|
2172
2180
|
position: string;
|
|
2173
2181
|
height: any;
|
|
2174
2182
|
maxHeight: string;
|
|
@@ -2176,6 +2184,7 @@ declare const theme: {
|
|
|
2176
2184
|
height: string;
|
|
2177
2185
|
maxHeight: string;
|
|
2178
2186
|
overflow: string;
|
|
2187
|
+
padding: any;
|
|
2179
2188
|
'& .MuiAlert-root': {
|
|
2180
2189
|
position: string;
|
|
2181
2190
|
bottom: number;
|
|
@@ -2185,6 +2194,7 @@ declare const theme: {
|
|
|
2185
2194
|
justifyContent: string;
|
|
2186
2195
|
};
|
|
2187
2196
|
'& .MuiList-root': {
|
|
2197
|
+
margin: any;
|
|
2188
2198
|
'& .MuiListItem-root': {
|
|
2189
2199
|
'&.SCPrivateMessageThread-receiver': {
|
|
2190
2200
|
backgroundColor: any;
|
|
@@ -2201,7 +2211,7 @@ declare const theme: {
|
|
|
2201
2211
|
};
|
|
2202
2212
|
};
|
|
2203
2213
|
'&.SCPrivateMessageThread-sender': {
|
|
2204
|
-
backgroundColor:
|
|
2214
|
+
backgroundColor: string;
|
|
2205
2215
|
};
|
|
2206
2216
|
};
|
|
2207
2217
|
};
|
|
@@ -2222,7 +2232,7 @@ declare const theme: {
|
|
|
2222
2232
|
height: any;
|
|
2223
2233
|
alignItems: string;
|
|
2224
2234
|
justifyContent: string;
|
|
2225
|
-
backgroundColor:
|
|
2235
|
+
backgroundColor: string;
|
|
2226
2236
|
'& .SCPrivateMessageThread-new-message-header-content': {
|
|
2227
2237
|
display: string;
|
|
2228
2238
|
alignItems: string;
|
|
@@ -2237,6 +2247,7 @@ declare const theme: {
|
|
|
2237
2247
|
};
|
|
2238
2248
|
'& .MuiIcon-root': {
|
|
2239
2249
|
color: any;
|
|
2250
|
+
padding: any;
|
|
2240
2251
|
};
|
|
2241
2252
|
'& .MuiTypography-root': {
|
|
2242
2253
|
color: any;
|
|
@@ -2281,6 +2292,7 @@ declare const theme: {
|
|
|
2281
2292
|
position: string;
|
|
2282
2293
|
bottom: any;
|
|
2283
2294
|
right: any;
|
|
2295
|
+
padding: any;
|
|
2284
2296
|
};
|
|
2285
2297
|
'& .SCPrivateMessageThreadItem-text': {
|
|
2286
2298
|
minHeight: any;
|
|
@@ -2322,24 +2334,34 @@ declare const theme: {
|
|
|
2322
2334
|
bottom: number;
|
|
2323
2335
|
left: number;
|
|
2324
2336
|
zIndex: number;
|
|
2325
|
-
backgroundColor:
|
|
2337
|
+
backgroundColor: string;
|
|
2326
2338
|
'& .MuiIcon-root': {
|
|
2327
2339
|
fontSize: string;
|
|
2328
2340
|
};
|
|
2329
2341
|
'& .SCPrivateMessageEditor-message-input': {
|
|
2330
2342
|
width: string;
|
|
2331
2343
|
};
|
|
2332
|
-
'& .MuiInputBase-root,
|
|
2344
|
+
'& .MuiInputBase-root, MuiFilledInput-root': {
|
|
2345
|
+
borderRadius: number;
|
|
2346
|
+
padding: any;
|
|
2333
2347
|
'& textarea': {
|
|
2334
2348
|
backgroundColor: any;
|
|
2335
2349
|
borderRadius: any;
|
|
2336
2350
|
padding: any;
|
|
2351
|
+
border: string;
|
|
2352
|
+
'&:hover': {
|
|
2353
|
+
border: string;
|
|
2354
|
+
};
|
|
2337
2355
|
};
|
|
2338
2356
|
};
|
|
2339
2357
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
2340
2358
|
height: any;
|
|
2341
2359
|
backgroundColor: any;
|
|
2342
2360
|
'& .MuiCardContent-root': {
|
|
2361
|
+
borderTop: string;
|
|
2362
|
+
'&:hover': {
|
|
2363
|
+
backgroundColor: string;
|
|
2364
|
+
};
|
|
2343
2365
|
overflow: string;
|
|
2344
2366
|
padding: any;
|
|
2345
2367
|
display: string;
|
package/lib/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,6BAA6B,CAAC;AA0FrC;;GAEG;AAEH,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,6BAA6B,CAAC;AA0FrC;;GAEG;AAEH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;CAiJV,CAAC;AACF,eAAe,KAAK,CAAC"}
|
|
@@ -11,24 +11,34 @@ declare const Component: {
|
|
|
11
11
|
bottom: number;
|
|
12
12
|
left: number;
|
|
13
13
|
zIndex: number;
|
|
14
|
-
backgroundColor:
|
|
14
|
+
backgroundColor: string;
|
|
15
15
|
'& .MuiIcon-root': {
|
|
16
16
|
fontSize: string;
|
|
17
17
|
};
|
|
18
18
|
'& .SCPrivateMessageEditor-message-input': {
|
|
19
19
|
width: string;
|
|
20
20
|
};
|
|
21
|
-
'& .MuiInputBase-root,
|
|
21
|
+
'& .MuiInputBase-root, MuiFilledInput-root': {
|
|
22
|
+
borderRadius: number;
|
|
23
|
+
padding: any;
|
|
22
24
|
'& textarea': {
|
|
23
25
|
backgroundColor: any;
|
|
24
26
|
borderRadius: any;
|
|
25
27
|
padding: any;
|
|
28
|
+
border: string;
|
|
29
|
+
'&:hover': {
|
|
30
|
+
border: string;
|
|
31
|
+
};
|
|
26
32
|
};
|
|
27
33
|
};
|
|
28
34
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
29
35
|
height: any;
|
|
30
36
|
backgroundColor: any;
|
|
31
37
|
'& .MuiCardContent-root': {
|
|
38
|
+
borderTop: string;
|
|
39
|
+
'&:hover': {
|
|
40
|
+
backgroundColor: string;
|
|
41
|
+
};
|
|
32
42
|
overflow: string;
|
|
33
43
|
padding: any;
|
|
34
44
|
display: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.d.ts","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoGtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { alpha } from '@mui/system';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => ({
|
|
@@ -11,24 +12,34 @@ const Component = {
|
|
|
11
12
|
top: 'auto',
|
|
12
13
|
bottom: 0
|
|
13
14
|
},
|
|
14
|
-
backgroundColor: theme.palette.
|
|
15
|
+
backgroundColor: alpha(theme.palette.secondary.main, theme.palette.action.activatedOpacity),
|
|
15
16
|
'& .MuiIcon-root': {
|
|
16
17
|
fontSize: '1.571rem'
|
|
17
18
|
},
|
|
18
19
|
'& .SCPrivateMessageEditor-message-input': {
|
|
19
20
|
width: '100%'
|
|
20
21
|
},
|
|
21
|
-
'& .MuiInputBase-root,
|
|
22
|
+
'& .MuiInputBase-root, MuiFilledInput-root': {
|
|
23
|
+
borderRadius: 0,
|
|
24
|
+
padding: theme.spacing(0.5, 0, 0.5, 0),
|
|
22
25
|
'& textarea': {
|
|
23
26
|
backgroundColor: theme.palette.common.white,
|
|
24
27
|
borderRadius: theme.shape.borderRadius,
|
|
25
|
-
padding: theme.spacing(1)
|
|
28
|
+
padding: theme.spacing(1),
|
|
29
|
+
border: `2px solid transparent`,
|
|
30
|
+
'&:hover': {
|
|
31
|
+
border: `2px solid${theme.palette.secondary.main}`
|
|
32
|
+
}
|
|
26
33
|
}
|
|
27
34
|
},
|
|
28
35
|
'& .MuiPaper-root, MuiCard-root, SCWidget-root, SCMessageMediaUploader-root': {
|
|
29
36
|
height: theme.spacing(15),
|
|
30
|
-
backgroundColor: theme.palette.
|
|
37
|
+
backgroundColor: theme.palette.secondary.light,
|
|
31
38
|
'& .MuiCardContent-root': {
|
|
39
|
+
borderTop: `1px dashed${theme.palette.secondary.main}`,
|
|
40
|
+
'&:hover': {
|
|
41
|
+
backgroundColor: alpha(theme.palette.secondary.main, theme.palette.action.selectedOpacity)
|
|
42
|
+
},
|
|
32
43
|
overflow: 'visible',
|
|
33
44
|
padding: theme.spacing(1),
|
|
34
45
|
display: 'flex',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,MAAM;gBACX,MAAM,EAAE,CAAC;aACV;YACD,eAAe,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"SCPrivateMessageEditor.js","sourceRoot":"","sources":["../../../src/components/SCPrivateMessageEditor.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;AAElC,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE;QACd,IAAI,EAAE,CAAC,EAAC,KAAK,EAAM,EAAE,EAAE,CAAC,CAAC;YACvB,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,CAAC;YACT,IAAI,EAAE,CAAC;YACP,MAAM,EAAE,CAAC;YACT,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE;gBAC9B,QAAQ,EAAE,OAAO;gBACjB,GAAG,EAAE,MAAM;gBACX,MAAM,EAAE,CA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