@selfcommunity/react-theme-default 0.1.0-alpha.276 → 0.1.0-alpha.278
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/SCCommentObjectReply.d.ts +8 -2
- package/lib/cjs/components/SCCommentObjectReply.js +8 -2
- package/lib/cjs/components/SCEditor.d.ts +1 -1
- package/lib/cjs/components/SCEditor.js +1 -1
- package/lib/cjs/components/SCFeedObject.d.ts +15 -10
- package/lib/cjs/components/SCFeedObject.js +17 -12
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +64 -65
- package/lib/cjs/fonts/community/icons.ttf +0 -0
- package/lib/cjs/fonts/community/icons.woff +0 -0
- package/lib/cjs/fonts/community/icons.woff2 +0 -0
- package/lib/cjs/fonts/community-icons.css +95 -95
- package/lib/cjs/index.d.ts +27 -13
- package/lib/esm/components/SCCommentObjectReply.d.ts +8 -2
- package/lib/esm/components/SCCommentObjectReply.js +8 -2
- package/lib/esm/components/SCEditor.d.ts +1 -1
- package/lib/esm/components/SCEditor.js +1 -1
- package/lib/esm/components/SCFeedObject.d.ts +15 -10
- package/lib/esm/components/SCFeedObject.js +17 -12
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +64 -65
- package/lib/esm/fonts/community/icons.ttf +0 -0
- package/lib/esm/fonts/community/icons.woff +0 -0
- package/lib/esm/fonts/community/icons.woff2 +0 -0
- package/lib/esm/fonts/community-icons.css +95 -95
- package/lib/esm/index.d.ts +27 -13
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +64 -65
- package/lib/umd/community/icons.ttf +0 -0
- package/lib/umd/community/icons.woff +0 -0
- package/lib/umd/community/icons.woff2 +0 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +3 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: 'community-icons';
|
|
3
|
-
src: url('./community/icons.eot?
|
|
4
|
-
src: url('./community/icons.eot?
|
|
5
|
-
url('./community/icons.woff2?
|
|
6
|
-
url('./community/icons.ttf?
|
|
7
|
-
url('./community/icons.woff?
|
|
8
|
-
url('./community/icons.svg?
|
|
3
|
+
src: url('./community/icons.eot?v9exnu');
|
|
4
|
+
src: url('./community/icons.eot?v9exnu#iefix') format('embedded-opentype'),
|
|
5
|
+
url('./community/icons.woff2?v9exnu') format('woff2'),
|
|
6
|
+
url('./community/icons.ttf?v9exnu') format('truetype'),
|
|
7
|
+
url('./community/icons.woff?v9exnu') format('woff'),
|
|
8
|
+
url('./community/icons.svg?v9exnu#community') format('svg');
|
|
9
9
|
font-weight: normal;
|
|
10
10
|
font-style: normal;
|
|
11
11
|
font-display: block;
|
|
@@ -36,14 +36,98 @@
|
|
|
36
36
|
-moz-osx-font-smoothing: grayscale;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.icon-
|
|
40
|
-
content: "\
|
|
39
|
+
.icon-card_giftcard:before {
|
|
40
|
+
content: "\e900";
|
|
41
|
+
}
|
|
42
|
+
.icon-image:before {
|
|
43
|
+
content: "\e90a";
|
|
44
|
+
}
|
|
45
|
+
.icon-photo_camera:before {
|
|
46
|
+
content: "\e90b";
|
|
47
|
+
}
|
|
48
|
+
.icon-card_membership:before {
|
|
49
|
+
content: "\e90d";
|
|
50
|
+
}
|
|
51
|
+
.icon-label:before {
|
|
52
|
+
content: "\e917";
|
|
53
|
+
}
|
|
54
|
+
.icon-access_time:before {
|
|
55
|
+
content: "\e91f";
|
|
56
|
+
}
|
|
57
|
+
.icon-help_outline:before {
|
|
58
|
+
content: "\e920";
|
|
59
|
+
}
|
|
60
|
+
.icon-info:before {
|
|
61
|
+
content: "\e921";
|
|
62
|
+
}
|
|
63
|
+
.icon-error:before {
|
|
64
|
+
content: "\e922";
|
|
65
|
+
}
|
|
66
|
+
.icon-format_align_center:before {
|
|
67
|
+
content: "\e924";
|
|
68
|
+
}
|
|
69
|
+
.icon-format_align_right:before {
|
|
70
|
+
content: "\e925";
|
|
71
|
+
}
|
|
72
|
+
.icon-format_align_left:before {
|
|
73
|
+
content: "\e926";
|
|
74
|
+
}
|
|
75
|
+
.icon-format_align_justify:before {
|
|
76
|
+
content: "\e927";
|
|
77
|
+
}
|
|
78
|
+
.icon-format_horizontal_rule:before {
|
|
79
|
+
content: "\e928";
|
|
41
80
|
}
|
|
42
81
|
.icon-drag:before {
|
|
82
|
+
content: "\e92a";
|
|
83
|
+
}
|
|
84
|
+
.icon-format_heading_3:before {
|
|
85
|
+
content: "\e92b";
|
|
86
|
+
}
|
|
87
|
+
.icon-format_heading_1:before {
|
|
88
|
+
content: "\e92c";
|
|
89
|
+
}
|
|
90
|
+
.icon-format_heading_2:before {
|
|
91
|
+
content: "\e92d";
|
|
92
|
+
}
|
|
93
|
+
.icon-format_paragraph:before {
|
|
94
|
+
content: "\e92e";
|
|
95
|
+
}
|
|
96
|
+
.icon-more_vert:before {
|
|
97
|
+
content: "\e92f";
|
|
98
|
+
}
|
|
99
|
+
.icon-list:before {
|
|
100
|
+
content: "\e930";
|
|
101
|
+
}
|
|
102
|
+
.icon-format_list_bulleted:before {
|
|
103
|
+
content: "\e933";
|
|
104
|
+
}
|
|
105
|
+
.icon-format_superscript:before {
|
|
106
|
+
content: "\e939";
|
|
107
|
+
}
|
|
108
|
+
.icon-format_subscript:before {
|
|
109
|
+
content: "\e93c";
|
|
110
|
+
}
|
|
111
|
+
.icon-format_clear:before {
|
|
112
|
+
content: "\e93f";
|
|
113
|
+
}
|
|
114
|
+
.icon-format_strikethrough:before {
|
|
115
|
+
content: "\e941";
|
|
116
|
+
}
|
|
117
|
+
.icon-title:before {
|
|
118
|
+
content: "\e948";
|
|
119
|
+
}
|
|
120
|
+
.icon-check:before {
|
|
121
|
+
content: "\e949";
|
|
122
|
+
}
|
|
123
|
+
.icon-format_quote:before {
|
|
124
|
+
content: "\e958";
|
|
125
|
+
}
|
|
126
|
+
.icon-menu:before {
|
|
43
127
|
content: "\e962";
|
|
44
128
|
}
|
|
45
|
-
.icon-
|
|
46
|
-
content: "\
|
|
129
|
+
.icon-format_list_numbered:before {
|
|
130
|
+
content: "\e963";
|
|
47
131
|
}
|
|
48
132
|
.icon-add_circle_outline:before {
|
|
49
133
|
content: "\e901";
|
|
@@ -72,18 +156,9 @@
|
|
|
72
156
|
.icon-CalendarIcon:before {
|
|
73
157
|
content: "\e909";
|
|
74
158
|
}
|
|
75
|
-
.icon-card_giftcard:before {
|
|
76
|
-
content: "\e90a";
|
|
77
|
-
}
|
|
78
|
-
.icon-card_membership:before {
|
|
79
|
-
content: "\e90b";
|
|
80
|
-
}
|
|
81
159
|
.icon-chat_bubble_outline:before {
|
|
82
160
|
content: "\e90c";
|
|
83
161
|
}
|
|
84
|
-
.icon-check:before {
|
|
85
|
-
content: "\e90d";
|
|
86
|
-
}
|
|
87
162
|
.icon-chevron_left:before {
|
|
88
163
|
content: "\e90e";
|
|
89
164
|
}
|
|
@@ -111,9 +186,6 @@
|
|
|
111
186
|
.icon-email:before {
|
|
112
187
|
content: "\e916";
|
|
113
188
|
}
|
|
114
|
-
.icon-error:before {
|
|
115
|
-
content: "\e917";
|
|
116
|
-
}
|
|
117
189
|
.icon-expand_less:before {
|
|
118
190
|
content: "\e918";
|
|
119
191
|
}
|
|
@@ -135,69 +207,18 @@
|
|
|
135
207
|
.icon-folder_open:before {
|
|
136
208
|
content: "\e91e";
|
|
137
209
|
}
|
|
138
|
-
.icon-format_align_center:before {
|
|
139
|
-
content: "\e91f";
|
|
140
|
-
}
|
|
141
|
-
.icon-format_align_justify:before {
|
|
142
|
-
content: "\e920";
|
|
143
|
-
}
|
|
144
|
-
.icon-format_align_left:before {
|
|
145
|
-
content: "\e921";
|
|
146
|
-
}
|
|
147
|
-
.icon-format_align_right:before {
|
|
148
|
-
content: "\e922";
|
|
149
|
-
}
|
|
150
210
|
.icon-format_bold:before {
|
|
151
211
|
content: "\e923";
|
|
152
212
|
}
|
|
153
|
-
.icon-format_clear:before {
|
|
154
|
-
content: "\e924";
|
|
155
|
-
}
|
|
156
|
-
.icon-format_heading_1:before {
|
|
157
|
-
content: "\e925";
|
|
158
|
-
}
|
|
159
|
-
.icon-format_heading_2:before {
|
|
160
|
-
content: "\e926";
|
|
161
|
-
}
|
|
162
|
-
.icon-format_heading_3:before {
|
|
163
|
-
content: "\e927";
|
|
164
|
-
}
|
|
165
|
-
.icon-format_horizontal_rule:before {
|
|
166
|
-
content: "\e928";
|
|
167
|
-
}
|
|
168
213
|
.icon-format_italic:before {
|
|
169
214
|
content: "\e929";
|
|
170
215
|
}
|
|
171
|
-
.icon-format_list_bulleted:before {
|
|
172
|
-
content: "\e92a";
|
|
173
|
-
}
|
|
174
|
-
.icon-format_list_numbered:before {
|
|
175
|
-
content: "\e92b";
|
|
176
|
-
}
|
|
177
|
-
.icon-format_paragraph:before {
|
|
178
|
-
content: "\e92c";
|
|
179
|
-
}
|
|
180
|
-
.icon-format_quote:before {
|
|
181
|
-
content: "\e92d";
|
|
182
|
-
}
|
|
183
|
-
.icon-format_strikethrough:before {
|
|
184
|
-
content: "\e92e";
|
|
185
|
-
}
|
|
186
|
-
.icon-format_subscript:before {
|
|
187
|
-
content: "\e92f";
|
|
188
|
-
}
|
|
189
|
-
.icon-format_superscript:before {
|
|
190
|
-
content: "\e930";
|
|
191
|
-
}
|
|
192
216
|
.icon-format_underline:before {
|
|
193
217
|
content: "\e931";
|
|
194
218
|
}
|
|
195
219
|
.icon-google:before {
|
|
196
220
|
content: "\e932";
|
|
197
221
|
}
|
|
198
|
-
.icon-help_outline:before {
|
|
199
|
-
content: "\e933";
|
|
200
|
-
}
|
|
201
222
|
.icon-hide_image:before {
|
|
202
223
|
content: "\e934";
|
|
203
224
|
}
|
|
@@ -210,36 +231,24 @@
|
|
|
210
231
|
.icon-home:before {
|
|
211
232
|
content: "\e937";
|
|
212
233
|
}
|
|
213
|
-
.icon-
|
|
234
|
+
.icon-image1:before {
|
|
214
235
|
content: "\e938";
|
|
215
236
|
}
|
|
216
|
-
.icon-info:before {
|
|
217
|
-
content: "\e939";
|
|
218
|
-
}
|
|
219
237
|
.icon-insert_link:before {
|
|
220
238
|
content: "\e93a";
|
|
221
239
|
}
|
|
222
240
|
.icon-instagram:before {
|
|
223
241
|
content: "\e93b";
|
|
224
242
|
}
|
|
225
|
-
.icon-label:before {
|
|
226
|
-
content: "\e93c";
|
|
227
|
-
}
|
|
228
243
|
.icon-link:before {
|
|
229
244
|
content: "\e93d";
|
|
230
245
|
}
|
|
231
246
|
.icon-linkedin:before {
|
|
232
247
|
content: "\e93e";
|
|
233
248
|
}
|
|
234
|
-
.icon-list:before {
|
|
235
|
-
content: "\e93f";
|
|
236
|
-
}
|
|
237
249
|
.icon-more_circle:before {
|
|
238
250
|
content: "\e940";
|
|
239
251
|
}
|
|
240
|
-
.icon-more_vert:before {
|
|
241
|
-
content: "\e941";
|
|
242
|
-
}
|
|
243
252
|
.icon-movie:before {
|
|
244
253
|
content: "\e942";
|
|
245
254
|
}
|
|
@@ -258,12 +267,6 @@
|
|
|
258
267
|
.icon-person:before {
|
|
259
268
|
content: "\e947";
|
|
260
269
|
}
|
|
261
|
-
.icon-photo_camera:before {
|
|
262
|
-
content: "\e948";
|
|
263
|
-
}
|
|
264
|
-
.icon-photo:before {
|
|
265
|
-
content: "\e949";
|
|
266
|
-
}
|
|
267
270
|
.icon-picture_as_pdf:before {
|
|
268
271
|
content: "\e94a";
|
|
269
272
|
}
|
|
@@ -306,9 +309,6 @@
|
|
|
306
309
|
.icon-thumb_up:before {
|
|
307
310
|
content: "\e957";
|
|
308
311
|
}
|
|
309
|
-
.icon-title:before {
|
|
310
|
-
content: "\e958";
|
|
311
|
-
}
|
|
312
312
|
.icon-twitter:before {
|
|
313
313
|
content: "\e959";
|
|
314
314
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -920,8 +920,14 @@ declare const theme: {
|
|
|
920
920
|
overflow: string;
|
|
921
921
|
};
|
|
922
922
|
};
|
|
923
|
-
'& .SCBaseItem-image
|
|
924
|
-
|
|
923
|
+
'& .SCBaseItem-image': {
|
|
924
|
+
'& .MuiBadge-badge': {
|
|
925
|
+
top: any;
|
|
926
|
+
};
|
|
927
|
+
'& .SCCommentObjectReply-avatar': {
|
|
928
|
+
width: any;
|
|
929
|
+
height: any;
|
|
930
|
+
};
|
|
925
931
|
};
|
|
926
932
|
};
|
|
927
933
|
'& .SCCommentObjectReply-comment': {
|
|
@@ -1545,7 +1551,7 @@ declare const theme: {
|
|
|
1545
1551
|
'& .SCEditor-image': {
|
|
1546
1552
|
position: string;
|
|
1547
1553
|
display: string;
|
|
1548
|
-
'& .
|
|
1554
|
+
'& .selected': {
|
|
1549
1555
|
border: string;
|
|
1550
1556
|
};
|
|
1551
1557
|
};
|
|
@@ -1902,19 +1908,24 @@ declare const theme: {
|
|
|
1902
1908
|
color: any;
|
|
1903
1909
|
textAlign: string;
|
|
1904
1910
|
borderBottom: string;
|
|
1911
|
+
maxHeight: number;
|
|
1905
1912
|
'& a': {
|
|
1906
1913
|
color: string;
|
|
1907
1914
|
textDecoration: string;
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1915
|
+
'&::after': {
|
|
1916
|
+
content: string;
|
|
1917
|
+
padding: any;
|
|
1918
|
+
};
|
|
1919
|
+
'&:last-child::after': {
|
|
1920
|
+
display: string;
|
|
1921
|
+
};
|
|
1922
|
+
'&:hover': {
|
|
1923
|
+
color: any;
|
|
1924
|
+
};
|
|
1925
|
+
'& span': {
|
|
1926
|
+
textTransform: string;
|
|
1927
|
+
fontWeight: any;
|
|
1928
|
+
};
|
|
1918
1929
|
};
|
|
1919
1930
|
};
|
|
1920
1931
|
'& .SCFeedObject-content': {
|
|
@@ -2144,6 +2155,9 @@ declare const theme: {
|
|
|
2144
2155
|
'& .MuiDivider-root': {
|
|
2145
2156
|
borderColor: any;
|
|
2146
2157
|
};
|
|
2158
|
+
/**
|
|
2159
|
+
* Style fragments - Imports - End
|
|
2160
|
+
*/
|
|
2147
2161
|
'& .SCVoteAction-button, & .SCCommentAction-button, & .SCShareAction-button, & .SCReactionAction-button': {
|
|
2148
2162
|
color: any;
|
|
2149
2163
|
marginTop: any;
|
|
@@ -12,8 +12,14 @@ declare const Component: {
|
|
|
12
12
|
overflow: string;
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
'& .SCBaseItem-image
|
|
16
|
-
|
|
15
|
+
'& .SCBaseItem-image': {
|
|
16
|
+
'& .MuiBadge-badge': {
|
|
17
|
+
top: any;
|
|
18
|
+
};
|
|
19
|
+
'& .SCCommentObjectReply-avatar': {
|
|
20
|
+
width: any;
|
|
21
|
+
height: any;
|
|
22
|
+
};
|
|
17
23
|
};
|
|
18
24
|
};
|
|
19
25
|
'& .SCCommentObjectReply-comment': {
|
|
@@ -12,8 +12,14 @@ const Component = {
|
|
|
12
12
|
overflow: 'visible'
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
|
-
'& .SCBaseItem-image
|
|
16
|
-
|
|
15
|
+
'& .SCBaseItem-image': {
|
|
16
|
+
'& .MuiBadge-badge': {
|
|
17
|
+
top: theme.spacing(1.25)
|
|
18
|
+
},
|
|
19
|
+
'& .SCCommentObjectReply-avatar': {
|
|
20
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
21
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
22
|
+
},
|
|
17
23
|
}
|
|
18
24
|
},
|
|
19
25
|
'& .SCCommentObjectReply-comment': {
|
|
@@ -29,19 +29,24 @@ declare const Component: {
|
|
|
29
29
|
color: any;
|
|
30
30
|
textAlign: string;
|
|
31
31
|
borderBottom: string;
|
|
32
|
+
maxHeight: number;
|
|
32
33
|
'& a': {
|
|
33
34
|
color: string;
|
|
34
35
|
textDecoration: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
36
|
+
'&::after': {
|
|
37
|
+
content: string;
|
|
38
|
+
padding: any;
|
|
39
|
+
};
|
|
40
|
+
'&:last-child::after': {
|
|
41
|
+
display: string;
|
|
42
|
+
};
|
|
43
|
+
'&:hover': {
|
|
44
|
+
color: any;
|
|
45
|
+
};
|
|
46
|
+
'& span': {
|
|
47
|
+
textTransform: string;
|
|
48
|
+
fontWeight: any;
|
|
49
|
+
};
|
|
45
50
|
};
|
|
46
51
|
};
|
|
47
52
|
'& .SCFeedObject-content': {
|
|
@@ -30,19 +30,24 @@ const Component = {
|
|
|
30
30
|
color: theme.palette.primary.main,
|
|
31
31
|
textAlign: 'center',
|
|
32
32
|
borderBottom: '1px solid rgba(0, 0, 0, 0.12)',
|
|
33
|
+
maxHeight: 30,
|
|
33
34
|
'& a': {
|
|
34
35
|
color: 'inherit',
|
|
35
|
-
textDecoration: 'none'
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
36
|
+
textDecoration: 'none',
|
|
37
|
+
'&::after': {
|
|
38
|
+
content: '"\\2022"',
|
|
39
|
+
padding: theme.spacing()
|
|
40
|
+
},
|
|
41
|
+
'&:last-child::after': {
|
|
42
|
+
display: 'none'
|
|
43
|
+
},
|
|
44
|
+
'&:hover': {
|
|
45
|
+
color: theme.palette.secondary.main
|
|
46
|
+
},
|
|
47
|
+
'& span': {
|
|
48
|
+
textTransform: 'initial',
|
|
49
|
+
fontWeight: theme.typography.fontWeightBold
|
|
50
|
+
}
|
|
46
51
|
}
|
|
47
52
|
},
|
|
48
53
|
'& .SCFeedObject-content': {
|
|
@@ -79,7 +84,7 @@ const Component = {
|
|
|
79
84
|
width: '100%',
|
|
80
85
|
boxSizing: 'border-box',
|
|
81
86
|
margin: 0,
|
|
82
|
-
padding: theme.spacing(
|
|
87
|
+
padding: theme.spacing(0.5, 2)
|
|
83
88
|
},
|
|
84
89
|
'& .SCFeedObject-info-section': {
|
|
85
90
|
padding: theme.spacing(0, 2)
|
|
Binary file
|