@selfcommunity/react-theme-default 0.1.0-alpha.83 → 0.1.0-alpha.84
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/SCCommentObject.d.ts +5 -23
- package/lib/cjs/components/SCCommentObject.d.ts.map +1 -1
- package/lib/cjs/components/SCCommentObject.js +5 -23
- package/lib/cjs/components/SCCommentObject.js.map +1 -1
- package/lib/cjs/components/SCComposer.d.ts +127 -32
- package/lib/cjs/components/SCComposer.d.ts.map +1 -1
- package/lib/cjs/components/SCComposer.js +210 -106
- package/lib/cjs/components/SCComposer.js.map +1 -1
- package/lib/cjs/components/SCInlineComposer.d.ts +13 -0
- package/lib/cjs/components/SCInlineComposer.d.ts.map +1 -1
- package/lib/cjs/components/SCInlineComposer.js +13 -0
- package/lib/cjs/components/SCInlineComposer.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageComponent.d.ts +6 -2
- package/lib/cjs/components/SCPrivateMessageComponent.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageComponent.js +4 -11
- package/lib/cjs/components/SCPrivateMessageComponent.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts +0 -2
- package/lib/cjs/components/SCPrivateMessageEditor.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageEditor.js +1 -3
- package/lib/cjs/components/SCPrivateMessageEditor.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts +4 -2
- package/lib/cjs/components/SCPrivateMessageSnippets.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageSnippets.js +4 -2
- package/lib/cjs/components/SCPrivateMessageSnippets.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.d.ts +13 -7
- package/lib/cjs/components/SCPrivateMessageThread.d.ts.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThread.js +16 -11
- package/lib/cjs/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/cjs/components/SCPrivateMessageThreadSkeleton.d.ts +21 -0
- package/lib/cjs/components/SCPrivateMessageThreadSkeleton.d.ts.map +1 -0
- package/lib/cjs/components/SCPrivateMessageThreadSkeleton.js +23 -0
- package/lib/cjs/components/SCPrivateMessageThreadSkeleton.js.map +1 -0
- package/lib/cjs/components/SCUser.d.ts +20 -0
- package/lib/cjs/components/SCUser.d.ts.map +1 -1
- package/lib/cjs/components/SCUser.js +20 -0
- package/lib/cjs/components/SCUser.js.map +1 -1
- package/lib/cjs/components/SCVoteAudienceButton.d.ts +30 -0
- package/lib/cjs/components/SCVoteAudienceButton.d.ts.map +1 -0
- package/lib/cjs/components/SCVoteAudienceButton.js +32 -0
- package/lib/cjs/components/SCVoteAudienceButton.js.map +1 -0
- package/lib/cjs/components/SCVoteButton.d.ts +23 -0
- package/lib/cjs/components/SCVoteButton.d.ts.map +1 -0
- package/lib/cjs/components/SCVoteButton.js +25 -0
- package/lib/cjs/components/SCVoteButton.js.map +1 -0
- package/lib/cjs/index.d.ts +256 -68
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +7 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/SCCommentObject.d.ts +5 -23
- package/lib/esm/components/SCCommentObject.d.ts.map +1 -1
- package/lib/esm/components/SCCommentObject.js +5 -23
- package/lib/esm/components/SCCommentObject.js.map +1 -1
- package/lib/esm/components/SCComposer.d.ts +127 -32
- package/lib/esm/components/SCComposer.d.ts.map +1 -1
- package/lib/esm/components/SCComposer.js +210 -106
- package/lib/esm/components/SCComposer.js.map +1 -1
- package/lib/esm/components/SCInlineComposer.d.ts +13 -0
- package/lib/esm/components/SCInlineComposer.d.ts.map +1 -1
- package/lib/esm/components/SCInlineComposer.js +13 -0
- package/lib/esm/components/SCInlineComposer.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageComponent.d.ts +6 -2
- package/lib/esm/components/SCPrivateMessageComponent.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageComponent.js +4 -11
- package/lib/esm/components/SCPrivateMessageComponent.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.d.ts +0 -2
- package/lib/esm/components/SCPrivateMessageEditor.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageEditor.js +1 -3
- package/lib/esm/components/SCPrivateMessageEditor.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts +4 -2
- package/lib/esm/components/SCPrivateMessageSnippets.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageSnippets.js +4 -2
- package/lib/esm/components/SCPrivateMessageSnippets.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageThread.d.ts +13 -7
- package/lib/esm/components/SCPrivateMessageThread.d.ts.map +1 -1
- package/lib/esm/components/SCPrivateMessageThread.js +16 -11
- package/lib/esm/components/SCPrivateMessageThread.js.map +1 -1
- package/lib/esm/components/SCPrivateMessageThreadSkeleton.d.ts +21 -0
- package/lib/esm/components/SCPrivateMessageThreadSkeleton.d.ts.map +1 -0
- package/lib/esm/components/SCPrivateMessageThreadSkeleton.js +21 -0
- package/lib/esm/components/SCPrivateMessageThreadSkeleton.js.map +1 -0
- package/lib/esm/components/SCUser.d.ts +20 -0
- package/lib/esm/components/SCUser.d.ts.map +1 -1
- package/lib/esm/components/SCUser.js +20 -0
- package/lib/esm/components/SCUser.js.map +1 -1
- package/lib/esm/components/SCVoteAudienceButton.d.ts +30 -0
- package/lib/esm/components/SCVoteAudienceButton.d.ts.map +1 -0
- package/lib/esm/components/SCVoteAudienceButton.js +30 -0
- package/lib/esm/components/SCVoteAudienceButton.js.map +1 -0
- package/lib/esm/components/SCVoteButton.d.ts +23 -0
- package/lib/esm/components/SCVoteButton.d.ts.map +1 -0
- package/lib/esm/components/SCVoteButton.js +23 -0
- package/lib/esm/components/SCVoteButton.js.map +1 -0
- package/lib/esm/index.d.ts +256 -68
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +7 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/umd/react-theme-default.js +5 -5
- package/lib/umd/react-theme-default.js.LICENSE.txt +1 -1
- package/lib/umd/react-theme-default.js.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCCommentObject.js","sourceRoot":"","sources":["../../../src/components/SCCommentObject.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,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;YACb,4BAA4B,EAAE;gBAC5B,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE;oBACT,UAAU,EAAE,YAAY;iBACzB;aACF;YACD,oCAAoC,EAAE;gBACpC,UAAU,EAAE,CAAC;gBACb,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,EAAE;gBACf,mBAAmB,EAAE;oBACnB,UAAU,EAAE,CAAC;oBACb,aAAa,EAAE,CAAC;oBAChB,KAAK,EAAE,MAAM;oBACb,uBAAuB,EAAE;wBACvB,UAAU,EAAE,CAAC;qBACd;iBACF;gBACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;oBAC5B,WAAW,EAAE,EAAE;iBAChB;aACF;YACD,4BAA4B,EAAE;gBAC5B,QAAQ,EAAE,UAAU;gBACpB,OAAO,EAAE,MAAM;gBACf,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACzB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY,GAAG,GAAG;gBAC5C,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC;gBACrF,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MAAM;oBACtB,SAAS,EAAE;wBACT,cAAc,EAAE,WAAW;qBAC5B;iBACF;gBACD,
|
|
1
|
+
{"version":3,"file":"SCCommentObject.js","sourceRoot":"","sources":["../../../src/components/SCCommentObject.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,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,MAAM;YACb,4BAA4B,EAAE;gBAC5B,aAAa,EAAE,CAAC;gBAChB,QAAQ,EAAE,SAAS;gBACnB,SAAS,EAAE;oBACT,UAAU,EAAE,YAAY;iBACzB;aACF;YACD,oCAAoC,EAAE;gBACpC,UAAU,EAAE,CAAC;gBACb,aAAa,EAAE,CAAC;gBAChB,WAAW,EAAE,EAAE;gBACf,mBAAmB,EAAE;oBACnB,UAAU,EAAE,CAAC;oBACb,aAAa,EAAE,CAAC;oBAChB,KAAK,EAAE,MAAM;oBACb,uBAAuB,EAAE;wBACvB,UAAU,EAAE,CAAC;qBACd;iBACF;gBACD,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;oBAC5B,WAAW,EAAE,EAAE;iBAChB;aACF;YACD,4BAA4B,EAAE;gBAC5B,QAAQ,EAAE,UAAU;gBACpB,OAAO,EAAE,MAAM;gBACf,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;gBACzB,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY,GAAG,GAAG;gBAC5C,WAAW,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,gBAAgB,CAAC;gBACrF,wBAAwB,EAAE;oBACxB,QAAQ,EAAE,CAAC;oBACX,OAAO,EAA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,cAAc,EAAE,WAAW;qBAC5B;iBACF;gBACD,0BAA0B,EAAE;oBAC1B,KAAK,EAAE,SAAS;oBAChB,mBAAmB,EAAE,OAAO;oBAC5B,QAAQ,EAAE,UAAU;oBACpB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;oBACzB,aAAa,EAAE,YAAY;iBAC5B;gBACD,kCAAkC,EAAE;oBAClC,QAAQ,EAAE,UAAU;oBACpB,KAAK,EAAE,CAAC;oBACR,GAAG,EAAE,CAAC;iBACP;aACF;SACF,CAAC;KACH;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,21 +1,45 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
-
'& .MuiDialog-paper': {
|
|
5
|
-
padding: any;
|
|
6
|
-
};
|
|
7
4
|
'& .SCComposer-title': {
|
|
8
5
|
borderBottom: string;
|
|
9
6
|
padding: any;
|
|
10
7
|
lineHeight: number;
|
|
11
8
|
fontSize: string;
|
|
9
|
+
display: string;
|
|
10
|
+
flexDirection: string;
|
|
11
|
+
flexWrap: string;
|
|
12
|
+
justifyContent: string;
|
|
13
|
+
alignItems: string;
|
|
12
14
|
'& .SCComposer-types .MuiInputBase-input': {
|
|
13
15
|
fontWeight: any;
|
|
14
16
|
fontSize: string;
|
|
15
17
|
minHeight: string;
|
|
16
18
|
};
|
|
19
|
+
'& > div': {
|
|
20
|
+
flex: number;
|
|
21
|
+
textAlign: string;
|
|
22
|
+
};
|
|
23
|
+
'& > div:first-of-type': {
|
|
24
|
+
textAlign: string;
|
|
25
|
+
};
|
|
26
|
+
'& > div:last-of-type': {
|
|
27
|
+
textAlign: string;
|
|
28
|
+
display: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
'& .SCComposer-types': {
|
|
32
|
+
flexDirection: string;
|
|
33
|
+
alignItems: string;
|
|
34
|
+
};
|
|
35
|
+
'& .SCComposer-avatar': {
|
|
36
|
+
width: any;
|
|
37
|
+
height: any;
|
|
38
|
+
display: string;
|
|
17
39
|
};
|
|
18
40
|
'& .SCComposer-content': {
|
|
41
|
+
position: string;
|
|
42
|
+
overflowY: string;
|
|
19
43
|
padding: any;
|
|
20
44
|
minHeight: number;
|
|
21
45
|
display: string;
|
|
@@ -31,6 +55,23 @@ declare const Component: {
|
|
|
31
55
|
};
|
|
32
56
|
'& .SCEditor-actions': {
|
|
33
57
|
bottom: any;
|
|
58
|
+
padding: any;
|
|
59
|
+
'& > p.MuiTypography-alignLeft > .MuiIconButton-root': {
|
|
60
|
+
marginLeft: any;
|
|
61
|
+
marginRight: any;
|
|
62
|
+
'&:first-of-type': {
|
|
63
|
+
marginLeft: number;
|
|
64
|
+
};
|
|
65
|
+
'&:last-child': {
|
|
66
|
+
marginRight: number;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
'& > p.MuiTypography-alignRight > .MuiIconButton-root': {
|
|
70
|
+
marginRight: any;
|
|
71
|
+
};
|
|
72
|
+
'& .MuiIconButton-sizeMedium': {
|
|
73
|
+
fontSize: string;
|
|
74
|
+
};
|
|
34
75
|
};
|
|
35
76
|
};
|
|
36
77
|
'& .SCComposer-medias, & .SCComposer-audience, & .SCComposer-block': {
|
|
@@ -49,6 +90,86 @@ declare const Component: {
|
|
|
49
90
|
};
|
|
50
91
|
};
|
|
51
92
|
};
|
|
93
|
+
'& .SCComposer-mediaContent, & .SCComposer-audienceContent, & .SCComposer-locationContent': {
|
|
94
|
+
minHeight: number;
|
|
95
|
+
};
|
|
96
|
+
'& .SCComposer-block': {
|
|
97
|
+
padding: any;
|
|
98
|
+
};
|
|
99
|
+
'& .SCComposer-editor': {
|
|
100
|
+
minHeight: number;
|
|
101
|
+
'& .SCEditor-placeholder': {
|
|
102
|
+
top: any;
|
|
103
|
+
left: any;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
'& .SCComposer-divider': {
|
|
107
|
+
borderTop: string;
|
|
108
|
+
};
|
|
109
|
+
'& .SCComposer-medias': {
|
|
110
|
+
margin: string;
|
|
111
|
+
};
|
|
112
|
+
'& .SCComposer-location, & .SCComposer-audience': {
|
|
113
|
+
padding: any;
|
|
114
|
+
paddingBottom: number;
|
|
115
|
+
};
|
|
116
|
+
'& .SCComposer-mediasActions': {
|
|
117
|
+
position: string;
|
|
118
|
+
left: number;
|
|
119
|
+
right: number;
|
|
120
|
+
background: any;
|
|
121
|
+
padding: any;
|
|
122
|
+
zIndex: number;
|
|
123
|
+
display: string;
|
|
124
|
+
flexWrap: string;
|
|
125
|
+
justifyContent: string;
|
|
126
|
+
'& .SCComposer-mediasActionsActions': {
|
|
127
|
+
textAlign: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
'& .SCComposer-sortableMedia': {
|
|
131
|
+
position: string;
|
|
132
|
+
};
|
|
133
|
+
'& .SCComposer-sortableMediaCover': {
|
|
134
|
+
backgroundSize: string;
|
|
135
|
+
backgroundPosition: string;
|
|
136
|
+
backgroundRepeat: string;
|
|
137
|
+
border: string;
|
|
138
|
+
borderRadius: number;
|
|
139
|
+
height: number;
|
|
140
|
+
};
|
|
141
|
+
'& .SCComposer-links': {
|
|
142
|
+
padding: any;
|
|
143
|
+
};
|
|
144
|
+
'& .SCComposer-actions': {
|
|
145
|
+
[x: number]: {
|
|
146
|
+
display: string;
|
|
147
|
+
flexDirection: string;
|
|
148
|
+
flexWrap: string;
|
|
149
|
+
justifyContent: string;
|
|
150
|
+
alignItems: string;
|
|
151
|
+
'& .MuiTypography-alignLeft, & .MuiTypography-alignRight': {
|
|
152
|
+
float: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
155
|
+
margin: number;
|
|
156
|
+
borderTop: string;
|
|
157
|
+
padding: any;
|
|
158
|
+
display: string;
|
|
159
|
+
'& .MuiTypography-alignLeft': {
|
|
160
|
+
float: string;
|
|
161
|
+
};
|
|
162
|
+
'& .MuiTypography-alignRight': {
|
|
163
|
+
float: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
'& .SCComposer-actionInput': {
|
|
167
|
+
display: string;
|
|
168
|
+
};
|
|
169
|
+
'& .SCComposer-badgeError .MuiBadge-badge': {
|
|
170
|
+
padding: number;
|
|
171
|
+
};
|
|
172
|
+
'& .MuiDialog-paper': {};
|
|
52
173
|
'& .SCComposer-mediaContent': {
|
|
53
174
|
'& .SCMediaActionImage-root': {
|
|
54
175
|
padding: number;
|
|
@@ -85,41 +206,15 @@ declare const Component: {
|
|
|
85
206
|
padding: any;
|
|
86
207
|
minHeight: number;
|
|
87
208
|
};
|
|
88
|
-
'& .SCComposer-actions': {
|
|
89
|
-
borderTop: string;
|
|
90
|
-
padding: any;
|
|
91
|
-
'& > p.MuiTypography-alignLeft > .MuiIconButton-root': {
|
|
92
|
-
marginLeft: any;
|
|
93
|
-
marginRight: any;
|
|
94
|
-
'&:first-of-type': {
|
|
95
|
-
marginLeft: number;
|
|
96
|
-
};
|
|
97
|
-
'&:last-child': {
|
|
98
|
-
marginRight: number;
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
'& > p.MuiTypography-alignRight > .MuiIconButton-root': {
|
|
102
|
-
marginRight: any;
|
|
103
|
-
};
|
|
104
|
-
'& .MuiIconButton-sizeMedium': {
|
|
105
|
-
fontSize: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
'& .SCComposer-block': {
|
|
109
|
-
padding: any;
|
|
110
|
-
};
|
|
111
|
-
'& .SCComposer-editor': {
|
|
112
|
-
'& .SCEditor-placeholder': {
|
|
113
|
-
top: any;
|
|
114
|
-
left: any;
|
|
115
|
-
};
|
|
116
|
-
};
|
|
117
209
|
'& .MuiDialog-container': {
|
|
118
210
|
'& .MuiDialog-paper': {
|
|
119
211
|
[x: number]: {
|
|
120
212
|
borderRadius: any;
|
|
121
213
|
};
|
|
122
214
|
boxShadow: any;
|
|
215
|
+
'&.MuiDialog-paperFullScreen': {
|
|
216
|
+
height: string;
|
|
217
|
+
};
|
|
123
218
|
};
|
|
124
219
|
};
|
|
125
220
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCComposer.d.ts","sourceRoot":"","sources":["../../../src/components/SCComposer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SCComposer.d.ts","sourceRoot":"","sources":["../../../src/components/SCComposer.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmOtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,129 +1,233 @@
|
|
|
1
1
|
import { alpha } from '@mui/system';
|
|
2
|
+
import { hexToRgb } from '@mui/material';
|
|
2
3
|
const Component = {
|
|
3
4
|
styleOverrides: {
|
|
4
|
-
root: ({ theme }) =>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
5
|
+
root: ({ theme }) => {
|
|
6
|
+
let mediaActionBackground = theme.palette.getContrastText(theme.palette.primary.main);
|
|
7
|
+
if (mediaActionBackground.startsWith('#')) {
|
|
8
|
+
mediaActionBackground = hexToRgb(mediaActionBackground).replace(')', ', .5)');
|
|
9
|
+
}
|
|
10
|
+
return {
|
|
11
|
+
'& .SCComposer-title': {
|
|
12
|
+
borderBottom: `1px solid ${theme.palette.grey[400]}`,
|
|
13
|
+
padding: theme.spacing(0, 0, 2, 0),
|
|
14
|
+
lineHeight: 1,
|
|
15
|
+
fontSize: '1.143rem',
|
|
16
|
+
display: 'flex',
|
|
17
|
+
flexDirection: 'row',
|
|
18
|
+
flexWrap: 'nowrap',
|
|
19
|
+
justifyContent: 'space-between',
|
|
20
|
+
alignItems: 'center',
|
|
21
|
+
'& .SCComposer-types .MuiInputBase-input': {
|
|
22
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
23
|
+
fontSize: '1.286rem',
|
|
24
|
+
minHeight: 'auto'
|
|
25
|
+
},
|
|
26
|
+
'& > div': {
|
|
27
|
+
flex: 1,
|
|
28
|
+
textAlign: 'center'
|
|
29
|
+
},
|
|
30
|
+
'& > div:first-of-type': {
|
|
31
|
+
textAlign: 'left'
|
|
32
|
+
},
|
|
33
|
+
'& > div:last-of-type': {
|
|
34
|
+
textAlign: 'right',
|
|
35
|
+
display: 'block'
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
'& .SCComposer-types': {
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
alignItems: 'center'
|
|
41
|
+
},
|
|
42
|
+
'& .SCComposer-avatar': {
|
|
43
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
44
|
+
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
45
|
+
display: 'inline-block'
|
|
46
|
+
},
|
|
47
|
+
'& .SCComposer-content': {
|
|
48
|
+
position: 'relative',
|
|
49
|
+
overflowY: 'visible',
|
|
50
|
+
padding: theme.spacing(3, 0),
|
|
51
|
+
minHeight: 300,
|
|
52
|
+
display: 'flex',
|
|
53
|
+
flexDirection: 'column',
|
|
54
|
+
justifyContent: 'space-between',
|
|
55
|
+
'& .SCComposer-editor': {
|
|
56
|
+
padding: 0,
|
|
57
|
+
fontSize: '1rem',
|
|
58
|
+
minHeight: 'auto',
|
|
59
|
+
'& .SCEditor-placeholder': {
|
|
60
|
+
top: 0,
|
|
61
|
+
left: 0
|
|
62
|
+
},
|
|
63
|
+
'& .SCEditor-actions': {
|
|
64
|
+
bottom: theme.spacing(4),
|
|
65
|
+
padding: theme.spacing(3, 0, 0, 0),
|
|
66
|
+
'& > p.MuiTypography-alignLeft > .MuiIconButton-root': {
|
|
67
|
+
marginLeft: theme.spacing(0.3),
|
|
68
|
+
marginRight: theme.spacing(0.3),
|
|
69
|
+
'&:first-of-type': {
|
|
70
|
+
marginLeft: 0
|
|
71
|
+
},
|
|
72
|
+
'&:last-child': {
|
|
73
|
+
marginRight: 0
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
'& > p.MuiTypography-alignRight > .MuiIconButton-root': {
|
|
77
|
+
marginRight: theme.spacing(1.5)
|
|
78
|
+
},
|
|
79
|
+
'& .MuiIconButton-sizeMedium': {
|
|
80
|
+
fontSize: '1.429rem'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
'& .SCComposer-medias, & .SCComposer-audience, & .SCComposer-block': {
|
|
85
|
+
margin: theme.spacing(1, 0),
|
|
86
|
+
padding: 0
|
|
87
|
+
},
|
|
88
|
+
'& .SCComposer-medias': {
|
|
89
|
+
'& .SCComposer-mediasActions': {
|
|
90
|
+
position: 'relative',
|
|
91
|
+
borderTop: `1px solid ${theme.palette.grey[400]}`,
|
|
92
|
+
backgroundColor: theme.palette.background.paper,
|
|
93
|
+
padding: theme.spacing(1, 0),
|
|
94
|
+
'& .SCComposer-mediasActionsTitle': {
|
|
95
|
+
fontSize: '1.143rem'
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
'& .SCComposer-mediaContent, & .SCComposer-audienceContent, & .SCComposer-locationContent': {
|
|
101
|
+
minHeight: 300
|
|
102
|
+
},
|
|
103
|
+
'& .SCComposer-block': {
|
|
104
|
+
padding: theme.spacing(1)
|
|
105
|
+
},
|
|
25
106
|
'& .SCComposer-editor': {
|
|
26
|
-
|
|
27
|
-
fontSize: '1rem',
|
|
28
|
-
minHeight: 'auto',
|
|
107
|
+
minHeight: 200,
|
|
29
108
|
'& .SCEditor-placeholder': {
|
|
30
|
-
top:
|
|
31
|
-
left:
|
|
32
|
-
},
|
|
33
|
-
'& .SCEditor-actions': {
|
|
34
|
-
bottom: theme.spacing(4)
|
|
109
|
+
top: theme.spacing(1),
|
|
110
|
+
left: theme.spacing(1)
|
|
35
111
|
}
|
|
36
112
|
},
|
|
37
|
-
'& .SCComposer-
|
|
38
|
-
|
|
39
|
-
padding: 0
|
|
113
|
+
'& .SCComposer-divider': {
|
|
114
|
+
borderTop: '1px solid #D1D1D1'
|
|
40
115
|
},
|
|
41
116
|
'& .SCComposer-medias': {
|
|
42
|
-
'
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
117
|
+
margin: '0 23px'
|
|
118
|
+
},
|
|
119
|
+
'& .SCComposer-location, & .SCComposer-audience': {
|
|
120
|
+
padding: theme.spacing(2),
|
|
121
|
+
paddingBottom: 0
|
|
122
|
+
},
|
|
123
|
+
'& .SCComposer-mediasActions': {
|
|
124
|
+
position: 'absolute',
|
|
125
|
+
left: 0,
|
|
126
|
+
right: 0,
|
|
127
|
+
background: mediaActionBackground,
|
|
128
|
+
padding: theme.spacing(),
|
|
129
|
+
zIndex: 1,
|
|
130
|
+
display: 'flex',
|
|
131
|
+
flexWrap: 'nowrap',
|
|
132
|
+
justifyContent: 'space-between',
|
|
133
|
+
'& .SCComposer-mediasActionsActions': {
|
|
134
|
+
textAlign: 'right'
|
|
50
135
|
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
'
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
136
|
+
},
|
|
137
|
+
'& .SCComposer-sortableMedia': {
|
|
138
|
+
position: 'relative'
|
|
139
|
+
},
|
|
140
|
+
'& .SCComposer-sortableMediaCover': {
|
|
141
|
+
backgroundSize: 'cover !important',
|
|
142
|
+
backgroundPosition: 'center !important',
|
|
143
|
+
backgroundRepeat: 'no-repeat !important',
|
|
144
|
+
border: '2px solid white',
|
|
145
|
+
borderRadius: 6,
|
|
146
|
+
height: 300
|
|
147
|
+
},
|
|
148
|
+
'& .SCComposer-links': {
|
|
149
|
+
padding: theme.spacing(2)
|
|
150
|
+
},
|
|
151
|
+
'& .SCComposer-actions': {
|
|
152
|
+
margin: 0,
|
|
153
|
+
borderTop: '1px solid #D1D1D1',
|
|
154
|
+
padding: theme.spacing(1),
|
|
155
|
+
display: 'block',
|
|
156
|
+
'& .MuiTypography-alignLeft': {
|
|
157
|
+
float: 'left'
|
|
158
|
+
},
|
|
159
|
+
'& .MuiTypography-alignRight': {
|
|
160
|
+
float: 'right'
|
|
161
|
+
},
|
|
162
|
+
[theme.breakpoints.up('md')]: {
|
|
163
|
+
display: 'flex',
|
|
164
|
+
flexDirection: 'row',
|
|
165
|
+
flexWrap: 'nowrap',
|
|
166
|
+
justifyContent: 'space-between',
|
|
167
|
+
alignItems: 'center',
|
|
168
|
+
'& .MuiTypography-alignLeft, & .MuiTypography-alignRight': {
|
|
169
|
+
float: 'none'
|
|
66
170
|
}
|
|
67
171
|
}
|
|
68
172
|
},
|
|
69
|
-
'& .
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
173
|
+
'& .SCComposer-actionInput': {
|
|
174
|
+
display: 'none !important'
|
|
175
|
+
},
|
|
176
|
+
'& .SCComposer-badgeError .MuiBadge-badge': {
|
|
177
|
+
padding: 0
|
|
178
|
+
},
|
|
179
|
+
'& .MuiDialog-paper': {
|
|
180
|
+
//padding: theme.spacing(2, 3, 3)
|
|
181
|
+
},
|
|
182
|
+
'& .SCComposer-mediaContent': {
|
|
183
|
+
'& .SCMediaActionImage-root': {
|
|
184
|
+
padding: 0,
|
|
185
|
+
'& .SCMediaActionImage-upload': {
|
|
186
|
+
padding: theme.spacing(2),
|
|
187
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
|
|
188
|
+
borderRadius: theme.shape.borderRadius,
|
|
189
|
+
color: theme.palette.primary.main,
|
|
190
|
+
'&.SCMediaActionImage-dragOver': {
|
|
191
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
192
|
+
},
|
|
193
|
+
'& .SCMediaActionImage-uploadBtn': {
|
|
194
|
+
border: '0 none'
|
|
195
|
+
}
|
|
81
196
|
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
'& .SCComposer-locationContent': {
|
|
86
|
-
padding: theme.spacing(3, 0),
|
|
87
|
-
minHeight: 300
|
|
88
|
-
},
|
|
89
|
-
'& .SCComposer-actions': {
|
|
90
|
-
borderTop: `1px solid ${theme.palette.grey[300]}`,
|
|
91
|
-
padding: theme.spacing(3, 0, 0, 0),
|
|
92
|
-
'& > p.MuiTypography-alignLeft > .MuiIconButton-root': {
|
|
93
|
-
marginLeft: theme.spacing(0.3),
|
|
94
|
-
marginRight: theme.spacing(0.3),
|
|
95
|
-
'&:first-of-type': {
|
|
96
|
-
marginLeft: 0
|
|
97
197
|
},
|
|
98
|
-
'
|
|
99
|
-
|
|
198
|
+
'& .SCMediaActionDocument-root': {
|
|
199
|
+
padding: 0,
|
|
200
|
+
'& .SCMediaActionDocument-upload': {
|
|
201
|
+
padding: theme.spacing(2),
|
|
202
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.activatedOpacity),
|
|
203
|
+
borderRadius: theme.shape.borderRadius,
|
|
204
|
+
color: theme.palette.primary.main,
|
|
205
|
+
'&.SCMediaActionDocument-dragOver': {
|
|
206
|
+
backgroundColor: alpha(theme.palette.primary.main, theme.palette.action.hoverOpacity)
|
|
207
|
+
},
|
|
208
|
+
'& .SCMediaActionDocument-uploadBtn': {
|
|
209
|
+
border: '0 none'
|
|
210
|
+
}
|
|
211
|
+
}
|
|
100
212
|
}
|
|
101
213
|
},
|
|
102
|
-
'&
|
|
103
|
-
|
|
214
|
+
'& .SCComposer-locationContent': {
|
|
215
|
+
padding: theme.spacing(3, 0),
|
|
216
|
+
minHeight: 300
|
|
104
217
|
},
|
|
105
|
-
'& .
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
top: theme.spacing(1),
|
|
115
|
-
left: theme.spacing(1)
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
'& .MuiDialog-container': {
|
|
119
|
-
'& .MuiDialog-paper': {
|
|
120
|
-
boxShadow: theme.shadows[12],
|
|
121
|
-
[theme.breakpoints.up('md')]: {
|
|
122
|
-
borderRadius: theme.shape.borderRadius
|
|
218
|
+
'& .MuiDialog-container': {
|
|
219
|
+
'& .MuiDialog-paper': {
|
|
220
|
+
boxShadow: theme.shadows[12],
|
|
221
|
+
[theme.breakpoints.up('md')]: {
|
|
222
|
+
borderRadius: theme.shape.borderRadius
|
|
223
|
+
},
|
|
224
|
+
'&.MuiDialog-paperFullScreen': {
|
|
225
|
+
height: 'auto'
|
|
226
|
+
}
|
|
123
227
|
}
|
|
124
228
|
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
229
|
+
};
|
|
230
|
+
}
|
|
127
231
|
}
|
|
128
232
|
};
|
|
129
233
|
export default Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCComposer.js","sourceRoot":"","sources":["../../../src/components/SCComposer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,KAAK,EAAC,MAAM,aAAa,CAAC;
|
|
1
|
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CAAC,EAAE,CAAC,CAAC;oBAC5B,SAAS,EAAE,GAAG;iBACf;gBACD,wBAAwB,EAAE;oBACxB,oBAAoB,EAAE;wBACpB,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;wBAC5B,CAAC,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE;4BAC5B,YAAY,EAAE,KAAK,CAAC,KAAK,CAAC,YAAY;yBACvC;wBACD,6BAA6B,EAAE;4BAC7B,MAAM,EAAE,MAAM;yBACf;qBACF;iBACF;aACF,CAAC;QACJ,CAAC;KACF;CACF,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
|
+
marginBottom: any;
|
|
4
5
|
'& .SCInlineComposer-content, & .SCInlineComposer-content:last-child': {
|
|
5
6
|
[x: number]: {
|
|
6
7
|
padding: any;
|
|
7
8
|
};
|
|
8
9
|
padding: any;
|
|
10
|
+
display: string;
|
|
11
|
+
flexDirection: string;
|
|
12
|
+
justifyContent: string;
|
|
9
13
|
'& .SCInlineComposer-input': {
|
|
10
14
|
display: string;
|
|
15
|
+
flexGrow: number;
|
|
11
16
|
'& .MuiButton-root': {
|
|
12
17
|
fontWeight: any;
|
|
13
18
|
letterSpacing: string;
|
|
@@ -18,6 +23,10 @@ declare const Component: {
|
|
|
18
23
|
border: string;
|
|
19
24
|
};
|
|
20
25
|
};
|
|
26
|
+
"& .MuiButton-text": {
|
|
27
|
+
justifyContent: string;
|
|
28
|
+
textTransform: string;
|
|
29
|
+
};
|
|
21
30
|
};
|
|
22
31
|
'& .SCInlineComposer-actions': {
|
|
23
32
|
display: string;
|
|
@@ -34,6 +43,10 @@ declare const Component: {
|
|
|
34
43
|
};
|
|
35
44
|
display: string;
|
|
36
45
|
alignItems: string;
|
|
46
|
+
'& .MuiAvatar-root': {
|
|
47
|
+
width: any;
|
|
48
|
+
height: any;
|
|
49
|
+
};
|
|
37
50
|
};
|
|
38
51
|
};
|
|
39
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SCInlineComposer.d.ts","sourceRoot":"","sources":["../../../src/components/SCInlineComposer.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG
|
|
1
|
+
{"version":3,"file":"SCInlineComposer.d.ts","sourceRoot":"","sources":["../../../src/components/SCInlineComposer.tsx"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS;;0BAEK,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDtB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|