@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
|
@@ -264,6 +264,11 @@ declare const Component: {
|
|
|
264
264
|
margin: string;
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
|
+
'& .SCFeedObject-medias-section': {
|
|
268
|
+
'& .SCFeedObjectMediaPreview-root': {
|
|
269
|
+
margin: any;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
267
272
|
'& .SCFeedObject-show-more': {
|
|
268
273
|
padding: any;
|
|
269
274
|
marginTop: any;
|
|
@@ -430,9 +435,6 @@ declare const Component: {
|
|
|
430
435
|
paddingRight: number;
|
|
431
436
|
};
|
|
432
437
|
};
|
|
433
|
-
mediaPreviewRoot: ({ theme }: any) => {
|
|
434
|
-
margin: any;
|
|
435
|
-
};
|
|
436
438
|
actionsRoot: ({ theme }: any) => {
|
|
437
439
|
margin: string;
|
|
438
440
|
color: string;
|
|
@@ -632,25 +634,32 @@ declare const Component: {
|
|
|
632
634
|
};
|
|
633
635
|
};
|
|
634
636
|
relevantActivitiesRoot: ({ theme }: any) => {
|
|
635
|
-
'& .MuiList-root, & .SCFeedObject-relevant-activities-activity': {
|
|
636
|
-
padding: number;
|
|
637
|
-
};
|
|
638
637
|
'& .SCFeedObject-relevant-activities-activity': {
|
|
639
638
|
'& > .SCBaseItem-root': {
|
|
640
639
|
borderRadius: number;
|
|
641
640
|
marginBottom: any;
|
|
642
|
-
'& .SCBaseItem-
|
|
643
|
-
|
|
644
|
-
'& .SCBaseItem-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
641
|
+
'& .SCBaseItem-content': {
|
|
642
|
+
alignItems: string;
|
|
643
|
+
'& .SCBaseItem-text': {
|
|
644
|
+
margin: number;
|
|
645
|
+
'& .SCBaseItem-primary': {
|
|
646
|
+
display: string;
|
|
647
|
+
marginBottom: any;
|
|
648
|
+
'& a:nth-child(1)': {
|
|
649
|
+
fontWeight: any;
|
|
650
|
+
textDecoration: string;
|
|
651
|
+
};
|
|
652
|
+
'& a': {
|
|
653
|
+
color: any;
|
|
654
|
+
textDecoration: string;
|
|
655
|
+
'&:hover': {
|
|
656
|
+
textDecoration: string;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
'& .SCBaseItem-secondary': {
|
|
661
|
+
fontSize: string;
|
|
650
662
|
};
|
|
651
|
-
};
|
|
652
|
-
'& .SCBaseItem-secondary': {
|
|
653
|
-
fontSize: string;
|
|
654
663
|
};
|
|
655
664
|
};
|
|
656
665
|
};
|
|
@@ -663,20 +672,7 @@ declare const Component: {
|
|
|
663
672
|
};
|
|
664
673
|
};
|
|
665
674
|
};
|
|
666
|
-
activityCommentRoot: ({ theme }: any) => {
|
|
667
|
-
'& .SCBaseItem-primary': {
|
|
668
|
-
display: string;
|
|
669
|
-
flexDirection: string;
|
|
670
|
-
alignItems: string;
|
|
671
|
-
marginBottom: string;
|
|
672
|
-
'& .MuiTypography-root': {
|
|
673
|
-
marginBottom: number;
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
'& .SCFeedObject-activity-comment-username': {
|
|
677
|
-
marginRight: any;
|
|
678
|
-
};
|
|
679
|
-
};
|
|
675
|
+
activityCommentRoot: ({ theme }: any) => {};
|
|
680
676
|
activityFollowRoot: ({ theme }: any) => {};
|
|
681
677
|
activityPollVoteRoot: ({ theme }: any) => {};
|
|
682
678
|
activityVoteUpRoot: ({ theme }: any) => {};
|
|
@@ -267,6 +267,11 @@ const Component = {
|
|
|
267
267
|
margin: '0 32px'
|
|
268
268
|
}
|
|
269
269
|
},
|
|
270
|
+
'& .SCFeedObject-medias-section': {
|
|
271
|
+
'& .SCFeedObjectMediaPreview-root': {
|
|
272
|
+
margin: theme.spacing(0, 1)
|
|
273
|
+
}
|
|
274
|
+
},
|
|
270
275
|
'& .SCFeedObject-show-more': {
|
|
271
276
|
padding: theme.spacing(0.5),
|
|
272
277
|
marginTop: theme.spacing(-0.5)
|
|
@@ -433,9 +438,6 @@ const Component = {
|
|
|
433
438
|
paddingRight: 0
|
|
434
439
|
}
|
|
435
440
|
}),
|
|
436
|
-
mediaPreviewRoot: ({ theme }) => ({
|
|
437
|
-
margin: theme.spacing(0, 1)
|
|
438
|
-
}),
|
|
439
441
|
actionsRoot: ({ theme }) => ({
|
|
440
442
|
margin: '0px 0px',
|
|
441
443
|
color: '#3A3A3A',
|
|
@@ -641,28 +643,32 @@ const Component = {
|
|
|
641
643
|
}
|
|
642
644
|
}),
|
|
643
645
|
relevantActivitiesRoot: ({ theme }) => ({
|
|
644
|
-
'& .MuiList-root, & .SCFeedObject-relevant-activities-activity': {
|
|
645
|
-
padding: 0
|
|
646
|
-
// '& .SCBaseItem-content': {
|
|
647
|
-
// alignItems: 'flex-start'
|
|
648
|
-
// }
|
|
649
|
-
},
|
|
650
646
|
'& .SCFeedObject-relevant-activities-activity': {
|
|
651
647
|
'& > .SCBaseItem-root': {
|
|
652
648
|
borderRadius: 0,
|
|
653
649
|
marginBottom: theme.spacing(2),
|
|
654
|
-
'& .SCBaseItem-
|
|
655
|
-
|
|
656
|
-
'& .SCBaseItem-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
650
|
+
'& .SCBaseItem-content': {
|
|
651
|
+
alignItems: 'flex-start',
|
|
652
|
+
'& .SCBaseItem-text': {
|
|
653
|
+
margin: 0,
|
|
654
|
+
'& .SCBaseItem-primary': {
|
|
655
|
+
display: 'inline-block',
|
|
656
|
+
marginBottom: theme.spacing(0.5),
|
|
657
|
+
'& a:nth-child(1)': {
|
|
658
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
659
|
+
textDecoration: 'none'
|
|
660
|
+
},
|
|
661
|
+
'& a': {
|
|
662
|
+
color: theme.palette.text.secondary,
|
|
663
|
+
textDecoration: 'underlined',
|
|
664
|
+
'&:hover': {
|
|
665
|
+
textDecoration: 'none'
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
'& .SCBaseItem-secondary': {
|
|
670
|
+
fontSize: '0.857rem'
|
|
662
671
|
}
|
|
663
|
-
},
|
|
664
|
-
'& .SCBaseItem-secondary': {
|
|
665
|
-
fontSize: '0.857rem'
|
|
666
672
|
}
|
|
667
673
|
}
|
|
668
674
|
},
|
|
@@ -675,20 +681,7 @@ const Component = {
|
|
|
675
681
|
}
|
|
676
682
|
}
|
|
677
683
|
}),
|
|
678
|
-
activityCommentRoot: ({ theme }) => ({
|
|
679
|
-
'& .SCBaseItem-primary': {
|
|
680
|
-
display: 'flex !important',
|
|
681
|
-
flexDirection: 'row !important',
|
|
682
|
-
alignItems: 'center !important',
|
|
683
|
-
marginBottom: '0 !important',
|
|
684
|
-
'& .MuiTypography-root': {
|
|
685
|
-
marginBottom: 0
|
|
686
|
-
}
|
|
687
|
-
},
|
|
688
|
-
'& .SCFeedObject-activity-comment-username': {
|
|
689
|
-
marginRight: theme.spacing(0.5)
|
|
690
|
-
}
|
|
691
|
-
}),
|
|
684
|
+
activityCommentRoot: ({ theme }) => ({}),
|
|
692
685
|
activityFollowRoot: ({ theme }) => ({}),
|
|
693
686
|
activityPollVoteRoot: ({ theme }) => ({}),
|
|
694
687
|
activityVoteUpRoot: ({ theme }) => ({})
|
package/lib/cjs/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/cjs/index.js
CHANGED
|
@@ -16,6 +16,7 @@ const SCBroadcastMessages_1 = tslib_1.__importDefault(require("./components/SCBr
|
|
|
16
16
|
const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/SCSnippetNotifications"));
|
|
17
17
|
const SCScrollContainer_1 = tslib_1.__importDefault(require("./components/SCScrollContainer"));
|
|
18
18
|
const SCFeedObject_1 = tslib_1.__importDefault(require("./components/SCFeedObject"));
|
|
19
|
+
const SCFeedObjectMediaPreview_1 = tslib_1.__importDefault(require("./components/SCFeedObjectMediaPreview"));
|
|
19
20
|
const SCFeed_1 = tslib_1.__importDefault(require("./components/SCFeed"));
|
|
20
21
|
const MuiButton_1 = tslib_1.__importDefault(require("./components/MuiButton"));
|
|
21
22
|
const MuiAvatar_1 = tslib_1.__importDefault(require("./components/MuiAvatar"));
|
|
@@ -29,6 +30,7 @@ const SCCategoryTemplate_1 = tslib_1.__importDefault(require("./components/SCCat
|
|
|
29
30
|
const SCUserProfileTemplate_1 = tslib_1.__importDefault(require("./components/SCUserProfileTemplate"));
|
|
30
31
|
const SCFeedObjectDetailTemplate_1 = tslib_1.__importDefault(require("./components/SCFeedObjectDetailTemplate"));
|
|
31
32
|
const SCCommentObject_1 = tslib_1.__importDefault(require("./components/SCCommentObject"));
|
|
33
|
+
const SCCommentObjectReply_1 = tslib_1.__importDefault(require("./components/SCCommentObjectReply"));
|
|
32
34
|
const SCCustomSnackMessage_1 = tslib_1.__importDefault(require("./components/SCCustomSnackMessage"));
|
|
33
35
|
const MuiContainer_1 = tslib_1.__importDefault(require("./components/MuiContainer"));
|
|
34
36
|
const SCLoyaltyProgramDetailTemplate_1 = tslib_1.__importDefault(require("./components/SCLoyaltyProgramDetailTemplate"));
|
|
@@ -71,7 +73,6 @@ const SCUserProfileEdit_1 = tslib_1.__importDefault(require("./components/SCUser
|
|
|
71
73
|
const SCUserProfileBlocked_1 = tslib_1.__importDefault(require("./components/SCUserProfileBlocked"));
|
|
72
74
|
const SCVoteButton_1 = tslib_1.__importDefault(require("./components/SCVoteButton"));
|
|
73
75
|
const SCVoteAudienceButton_1 = tslib_1.__importDefault(require("./components/SCVoteAudienceButton"));
|
|
74
|
-
const SCCommentObjectReply_1 = tslib_1.__importDefault(require("./components/SCCommentObjectReply"));
|
|
75
76
|
const SCFooter_1 = tslib_1.__importDefault(require("./components/SCFooter"));
|
|
76
77
|
const SCPlatformWidget_1 = tslib_1.__importDefault(require("./components/SCPlatformWidget"));
|
|
77
78
|
const SCChangePictureButton_1 = tslib_1.__importDefault(require("./components/SCChangePictureButton"));
|
|
@@ -207,6 +208,7 @@ const theme = {
|
|
|
207
208
|
SCEmojiPicker: SCEmojiPicker_1.default,
|
|
208
209
|
SCFeed: SCFeed_1.default,
|
|
209
210
|
SCFeedObject: SCFeedObject_1.default,
|
|
211
|
+
SCFeedObjectMediaPreview: SCFeedObjectMediaPreview_1.default,
|
|
210
212
|
SCFeedObjectDetailTemplate: SCFeedObjectDetailTemplate_1.default,
|
|
211
213
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
212
214
|
SCFooter: SCFooter_1.default,
|
|
@@ -264,6 +264,11 @@ declare const Component: {
|
|
|
264
264
|
margin: string;
|
|
265
265
|
};
|
|
266
266
|
};
|
|
267
|
+
'& .SCFeedObject-medias-section': {
|
|
268
|
+
'& .SCFeedObjectMediaPreview-root': {
|
|
269
|
+
margin: any;
|
|
270
|
+
};
|
|
271
|
+
};
|
|
267
272
|
'& .SCFeedObject-show-more': {
|
|
268
273
|
padding: any;
|
|
269
274
|
marginTop: any;
|
|
@@ -430,9 +435,6 @@ declare const Component: {
|
|
|
430
435
|
paddingRight: number;
|
|
431
436
|
};
|
|
432
437
|
};
|
|
433
|
-
mediaPreviewRoot: ({ theme }: any) => {
|
|
434
|
-
margin: any;
|
|
435
|
-
};
|
|
436
438
|
actionsRoot: ({ theme }: any) => {
|
|
437
439
|
margin: string;
|
|
438
440
|
color: string;
|
|
@@ -632,25 +634,32 @@ declare const Component: {
|
|
|
632
634
|
};
|
|
633
635
|
};
|
|
634
636
|
relevantActivitiesRoot: ({ theme }: any) => {
|
|
635
|
-
'& .MuiList-root, & .SCFeedObject-relevant-activities-activity': {
|
|
636
|
-
padding: number;
|
|
637
|
-
};
|
|
638
637
|
'& .SCFeedObject-relevant-activities-activity': {
|
|
639
638
|
'& > .SCBaseItem-root': {
|
|
640
639
|
borderRadius: number;
|
|
641
640
|
marginBottom: any;
|
|
642
|
-
'& .SCBaseItem-
|
|
643
|
-
|
|
644
|
-
'& .SCBaseItem-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
641
|
+
'& .SCBaseItem-content': {
|
|
642
|
+
alignItems: string;
|
|
643
|
+
'& .SCBaseItem-text': {
|
|
644
|
+
margin: number;
|
|
645
|
+
'& .SCBaseItem-primary': {
|
|
646
|
+
display: string;
|
|
647
|
+
marginBottom: any;
|
|
648
|
+
'& a:nth-child(1)': {
|
|
649
|
+
fontWeight: any;
|
|
650
|
+
textDecoration: string;
|
|
651
|
+
};
|
|
652
|
+
'& a': {
|
|
653
|
+
color: any;
|
|
654
|
+
textDecoration: string;
|
|
655
|
+
'&:hover': {
|
|
656
|
+
textDecoration: string;
|
|
657
|
+
};
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
'& .SCBaseItem-secondary': {
|
|
661
|
+
fontSize: string;
|
|
650
662
|
};
|
|
651
|
-
};
|
|
652
|
-
'& .SCBaseItem-secondary': {
|
|
653
|
-
fontSize: string;
|
|
654
663
|
};
|
|
655
664
|
};
|
|
656
665
|
};
|
|
@@ -663,20 +672,7 @@ declare const Component: {
|
|
|
663
672
|
};
|
|
664
673
|
};
|
|
665
674
|
};
|
|
666
|
-
activityCommentRoot: ({ theme }: any) => {
|
|
667
|
-
'& .SCBaseItem-primary': {
|
|
668
|
-
display: string;
|
|
669
|
-
flexDirection: string;
|
|
670
|
-
alignItems: string;
|
|
671
|
-
marginBottom: string;
|
|
672
|
-
'& .MuiTypography-root': {
|
|
673
|
-
marginBottom: number;
|
|
674
|
-
};
|
|
675
|
-
};
|
|
676
|
-
'& .SCFeedObject-activity-comment-username': {
|
|
677
|
-
marginRight: any;
|
|
678
|
-
};
|
|
679
|
-
};
|
|
675
|
+
activityCommentRoot: ({ theme }: any) => {};
|
|
680
676
|
activityFollowRoot: ({ theme }: any) => {};
|
|
681
677
|
activityPollVoteRoot: ({ theme }: any) => {};
|
|
682
678
|
activityVoteUpRoot: ({ theme }: any) => {};
|
|
@@ -265,6 +265,11 @@ const Component = {
|
|
|
265
265
|
margin: '0 32px'
|
|
266
266
|
}
|
|
267
267
|
},
|
|
268
|
+
'& .SCFeedObject-medias-section': {
|
|
269
|
+
'& .SCFeedObjectMediaPreview-root': {
|
|
270
|
+
margin: theme.spacing(0, 1)
|
|
271
|
+
}
|
|
272
|
+
},
|
|
268
273
|
'& .SCFeedObject-show-more': {
|
|
269
274
|
padding: theme.spacing(0.5),
|
|
270
275
|
marginTop: theme.spacing(-0.5)
|
|
@@ -431,9 +436,6 @@ const Component = {
|
|
|
431
436
|
paddingRight: 0
|
|
432
437
|
}
|
|
433
438
|
}),
|
|
434
|
-
mediaPreviewRoot: ({ theme }) => ({
|
|
435
|
-
margin: theme.spacing(0, 1)
|
|
436
|
-
}),
|
|
437
439
|
actionsRoot: ({ theme }) => ({
|
|
438
440
|
margin: '0px 0px',
|
|
439
441
|
color: '#3A3A3A',
|
|
@@ -639,28 +641,32 @@ const Component = {
|
|
|
639
641
|
}
|
|
640
642
|
}),
|
|
641
643
|
relevantActivitiesRoot: ({ theme }) => ({
|
|
642
|
-
'& .MuiList-root, & .SCFeedObject-relevant-activities-activity': {
|
|
643
|
-
padding: 0
|
|
644
|
-
// '& .SCBaseItem-content': {
|
|
645
|
-
// alignItems: 'flex-start'
|
|
646
|
-
// }
|
|
647
|
-
},
|
|
648
644
|
'& .SCFeedObject-relevant-activities-activity': {
|
|
649
645
|
'& > .SCBaseItem-root': {
|
|
650
646
|
borderRadius: 0,
|
|
651
647
|
marginBottom: theme.spacing(2),
|
|
652
|
-
'& .SCBaseItem-
|
|
653
|
-
|
|
654
|
-
'& .SCBaseItem-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
648
|
+
'& .SCBaseItem-content': {
|
|
649
|
+
alignItems: 'flex-start',
|
|
650
|
+
'& .SCBaseItem-text': {
|
|
651
|
+
margin: 0,
|
|
652
|
+
'& .SCBaseItem-primary': {
|
|
653
|
+
display: 'inline-block',
|
|
654
|
+
marginBottom: theme.spacing(0.5),
|
|
655
|
+
'& a:nth-child(1)': {
|
|
656
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
657
|
+
textDecoration: 'none'
|
|
658
|
+
},
|
|
659
|
+
'& a': {
|
|
660
|
+
color: theme.palette.text.secondary,
|
|
661
|
+
textDecoration: 'underlined',
|
|
662
|
+
'&:hover': {
|
|
663
|
+
textDecoration: 'none'
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
'& .SCBaseItem-secondary': {
|
|
668
|
+
fontSize: '0.857rem'
|
|
660
669
|
}
|
|
661
|
-
},
|
|
662
|
-
'& .SCBaseItem-secondary': {
|
|
663
|
-
fontSize: '0.857rem'
|
|
664
670
|
}
|
|
665
671
|
}
|
|
666
672
|
},
|
|
@@ -673,20 +679,7 @@ const Component = {
|
|
|
673
679
|
}
|
|
674
680
|
}
|
|
675
681
|
}),
|
|
676
|
-
activityCommentRoot: ({ theme }) => ({
|
|
677
|
-
'& .SCBaseItem-primary': {
|
|
678
|
-
display: 'flex !important',
|
|
679
|
-
flexDirection: 'row !important',
|
|
680
|
-
alignItems: 'center !important',
|
|
681
|
-
marginBottom: '0 !important',
|
|
682
|
-
'& .MuiTypography-root': {
|
|
683
|
-
marginBottom: 0
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
'& .SCFeedObject-activity-comment-username': {
|
|
687
|
-
marginRight: theme.spacing(0.5)
|
|
688
|
-
}
|
|
689
|
-
}),
|
|
682
|
+
activityCommentRoot: ({ theme }) => ({}),
|
|
690
683
|
activityFollowRoot: ({ theme }) => ({}),
|
|
691
684
|
activityPollVoteRoot: ({ theme }) => ({}),
|
|
692
685
|
activityVoteUpRoot: ({ theme }) => ({})
|