@selfcommunity/react-theme-default 0.1.0-alpha.304 → 0.1.0-alpha.306
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 +1 -1
- package/lib/cjs/components/SCCommentObject.js +1 -1
- package/lib/cjs/components/SCFeedObject.d.ts +27 -31
- package/lib/cjs/components/SCFeedObject.js +27 -34
- package/lib/cjs/components/SCFeedObjectMediaPreview.d.ts +6 -0
- package/lib/cjs/components/SCFeedObjectMediaPreview.js +8 -0
- package/lib/cjs/index.d.ts +33 -32
- package/lib/cjs/index.js +3 -1
- package/lib/esm/components/SCCommentObject.d.ts +1 -1
- package/lib/esm/components/SCCommentObject.js +1 -1
- package/lib/esm/components/SCFeedObject.d.ts +27 -31
- package/lib/esm/components/SCFeedObject.js +27 -34
- package/lib/esm/components/SCFeedObjectMediaPreview.d.ts +6 -0
- package/lib/esm/components/SCFeedObjectMediaPreview.js +6 -0
- package/lib/esm/index.d.ts +33 -32
- package/lib/esm/index.js +3 -1
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
package/lib/esm/index.d.ts
CHANGED
|
@@ -886,7 +886,7 @@ declare const theme: {
|
|
|
886
886
|
textDecoration: string;
|
|
887
887
|
};
|
|
888
888
|
};
|
|
889
|
-
'& .
|
|
889
|
+
'& .SCCommentObjectReply': {
|
|
890
890
|
color: string;
|
|
891
891
|
textDecorationStyle: string;
|
|
892
892
|
fontSize: string;
|
|
@@ -1971,6 +1971,11 @@ declare const theme: {
|
|
|
1971
1971
|
margin: string;
|
|
1972
1972
|
};
|
|
1973
1973
|
};
|
|
1974
|
+
'& .SCFeedObject-medias-section': {
|
|
1975
|
+
'& .SCFeedObjectMediaPreview-root': {
|
|
1976
|
+
margin: any;
|
|
1977
|
+
};
|
|
1978
|
+
};
|
|
1974
1979
|
'& .SCFeedObject-show-more': {
|
|
1975
1980
|
padding: any;
|
|
1976
1981
|
marginTop: any;
|
|
@@ -2137,9 +2142,6 @@ declare const theme: {
|
|
|
2137
2142
|
paddingRight: number;
|
|
2138
2143
|
};
|
|
2139
2144
|
};
|
|
2140
|
-
mediaPreviewRoot: ({ theme }: any) => {
|
|
2141
|
-
margin: any;
|
|
2142
|
-
};
|
|
2143
2145
|
actionsRoot: ({ theme }: any) => {
|
|
2144
2146
|
margin: string;
|
|
2145
2147
|
color: string;
|
|
@@ -2339,25 +2341,32 @@ declare const theme: {
|
|
|
2339
2341
|
};
|
|
2340
2342
|
};
|
|
2341
2343
|
relevantActivitiesRoot: ({ theme }: any) => {
|
|
2342
|
-
'& .MuiList-root, & .SCFeedObject-relevant-activities-activity': {
|
|
2343
|
-
padding: number;
|
|
2344
|
-
};
|
|
2345
2344
|
'& .SCFeedObject-relevant-activities-activity': {
|
|
2346
2345
|
'& > .SCBaseItem-root': {
|
|
2347
2346
|
borderRadius: number;
|
|
2348
2347
|
marginBottom: any;
|
|
2349
|
-
'& .SCBaseItem-
|
|
2350
|
-
|
|
2351
|
-
'& .SCBaseItem-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2348
|
+
'& .SCBaseItem-content': {
|
|
2349
|
+
alignItems: string;
|
|
2350
|
+
'& .SCBaseItem-text': {
|
|
2351
|
+
margin: number;
|
|
2352
|
+
'& .SCBaseItem-primary': {
|
|
2353
|
+
display: string;
|
|
2354
|
+
marginBottom: any;
|
|
2355
|
+
'& a:nth-child(1)': {
|
|
2356
|
+
fontWeight: any;
|
|
2357
|
+
textDecoration: string;
|
|
2358
|
+
};
|
|
2359
|
+
'& a': {
|
|
2360
|
+
color: any;
|
|
2361
|
+
textDecoration: string;
|
|
2362
|
+
'&:hover': {
|
|
2363
|
+
textDecoration: string;
|
|
2364
|
+
};
|
|
2365
|
+
};
|
|
2366
|
+
};
|
|
2367
|
+
'& .SCBaseItem-secondary': {
|
|
2368
|
+
fontSize: string;
|
|
2357
2369
|
};
|
|
2358
|
-
};
|
|
2359
|
-
'& .SCBaseItem-secondary': {
|
|
2360
|
-
fontSize: string;
|
|
2361
2370
|
};
|
|
2362
2371
|
};
|
|
2363
2372
|
};
|
|
@@ -2370,25 +2379,17 @@ declare const theme: {
|
|
|
2370
2379
|
};
|
|
2371
2380
|
};
|
|
2372
2381
|
};
|
|
2373
|
-
activityCommentRoot: ({ theme }: any) => {
|
|
2374
|
-
'& .SCBaseItem-primary': {
|
|
2375
|
-
display: string;
|
|
2376
|
-
flexDirection: string;
|
|
2377
|
-
alignItems: string;
|
|
2378
|
-
marginBottom: string;
|
|
2379
|
-
'& .MuiTypography-root': {
|
|
2380
|
-
marginBottom: number;
|
|
2381
|
-
};
|
|
2382
|
-
};
|
|
2383
|
-
'& .SCFeedObject-activity-comment-username': {
|
|
2384
|
-
marginRight: any;
|
|
2385
|
-
};
|
|
2386
|
-
};
|
|
2382
|
+
activityCommentRoot: ({ theme }: any) => {};
|
|
2387
2383
|
activityFollowRoot: ({ theme }: any) => {};
|
|
2388
2384
|
activityPollVoteRoot: ({ theme }: any) => {};
|
|
2389
2385
|
activityVoteUpRoot: ({ theme }: any) => {};
|
|
2390
2386
|
};
|
|
2391
2387
|
};
|
|
2388
|
+
SCFeedObjectMediaPreview: {
|
|
2389
|
+
styleOverrides: {
|
|
2390
|
+
root: ({ theme }: any) => {};
|
|
2391
|
+
};
|
|
2392
|
+
};
|
|
2392
2393
|
SCFeedObjectDetailTemplate: {
|
|
2393
2394
|
styleOverrides: {
|
|
2394
2395
|
root: ({ theme }: any) => {
|
package/lib/esm/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import SCBroadcastMessages from './components/SCBroadcastMessages';
|
|
|
13
13
|
import SCSnippetNotifications from './components/SCSnippetNotifications';
|
|
14
14
|
import SCScrollContainer from './components/SCScrollContainer';
|
|
15
15
|
import SCFeedObject from './components/SCFeedObject';
|
|
16
|
+
import SCFeedObjectMediaPreview from './components/SCFeedObjectMediaPreview';
|
|
16
17
|
import SCFeed from './components/SCFeed';
|
|
17
18
|
import MuiButton from './components/MuiButton';
|
|
18
19
|
import MuiAvatar from './components/MuiAvatar';
|
|
@@ -26,6 +27,7 @@ import SCCategoryTemplate from './components/SCCategoryTemplate';
|
|
|
26
27
|
import SCUserProfileTemplate from './components/SCUserProfileTemplate';
|
|
27
28
|
import SCFeedObjectDetailTemplate from './components/SCFeedObjectDetailTemplate';
|
|
28
29
|
import SCCommentObject from './components/SCCommentObject';
|
|
30
|
+
import SCCommentObjectReply from './components/SCCommentObjectReply';
|
|
29
31
|
import SCCustomSnackMessage from './components/SCCustomSnackMessage';
|
|
30
32
|
import MuiContainer from './components/MuiContainer';
|
|
31
33
|
import SCLoyaltyProgramDetailTemplate from './components/SCLoyaltyProgramDetailTemplate';
|
|
@@ -68,7 +70,6 @@ import SCUserProfileEdit from './components/SCUserProfileEdit';
|
|
|
68
70
|
import SCUserProfileBlocked from './components/SCUserProfileBlocked';
|
|
69
71
|
import SCVoteButton from './components/SCVoteButton';
|
|
70
72
|
import SCVoteAudienceButton from './components/SCVoteAudienceButton';
|
|
71
|
-
import SCCommentObjectReply from './components/SCCommentObjectReply';
|
|
72
73
|
import SCFooter from './components/SCFooter';
|
|
73
74
|
import SCPlatformWidget from './components/SCPlatformWidget';
|
|
74
75
|
import SCChangePictureButton from './components/SCChangePictureButton';
|
|
@@ -204,6 +205,7 @@ const theme = {
|
|
|
204
205
|
SCEmojiPicker,
|
|
205
206
|
SCFeed,
|
|
206
207
|
SCFeedObject,
|
|
208
|
+
SCFeedObjectMediaPreview,
|
|
207
209
|
SCFeedObjectDetailTemplate,
|
|
208
210
|
SCFeedUpdatesWidget,
|
|
209
211
|
SCFooter,
|