@selfcommunity/react-theme-default 0.2.0-embeds.17 → 0.2.0-livestream.23
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/MuiAppBar.js +4 -3
- package/lib/cjs/components/SCBottomNavigation.js +5 -4
- package/lib/cjs/components/SCEventForm.d.ts +8 -0
- package/lib/cjs/components/SCEventForm.js +8 -0
- package/lib/cjs/components/SCEventFormDialog.d.ts +13 -0
- package/lib/cjs/components/SCEventFormDialog.js +15 -0
- package/lib/cjs/components/SCEventMediaWidget.d.ts +120 -0
- package/lib/cjs/components/SCEventMediaWidget.js +115 -0
- package/lib/cjs/components/SCFeed.d.ts +9 -3
- package/lib/cjs/components/SCFeed.js +9 -3
- package/lib/cjs/components/SCFeedObject.d.ts +4 -0
- package/lib/cjs/components/SCFeedObject.js +4 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +10 -0
- package/lib/cjs/components/SCGroupActionsMenu.d.ts +26 -0
- package/lib/cjs/components/SCGroupActionsMenu.js +28 -0
- package/lib/cjs/components/SCGroupHeader.d.ts +5 -2
- package/lib/cjs/components/SCGroupHeader.js +5 -2
- package/lib/cjs/components/SCLightbox.d.ts +5 -0
- package/lib/cjs/components/SCLightbox.js +12 -7
- package/lib/cjs/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/cjs/components/SCLiveStreamDialog.js +18 -0
- package/lib/cjs/components/SCLiveStreamForm.d.ts +12 -0
- package/lib/cjs/components/SCLiveStreamForm.js +14 -0
- package/lib/cjs/components/SCLiveStreamRoom.d.ts +27 -0
- package/lib/cjs/components/SCLiveStreamRoom.js +29 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.d.ts +6 -0
- package/lib/cjs/components/SCLiveStreamVideoConference.js +8 -0
- package/lib/cjs/components/SCMediaLink.d.ts +4 -0
- package/lib/cjs/components/SCMediaLink.js +4 -4
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +45 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +48 -0
- package/lib/cjs/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/cjs/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/cjs/components/SCNavigationToolbar.js +68 -62
- package/lib/cjs/components/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +12 -2
- package/lib/cjs/components/SCOnBoardingWidget.js +12 -2
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
- package/lib/cjs/components/SCVoteButton.d.ts +5 -3
- package/lib/cjs/components/SCVoteButton.js +6 -5
- package/lib/cjs/index.d.ts +295 -16
- package/lib/cjs/index.js +17 -1
- package/lib/esm/components/MuiAppBar.js +4 -3
- package/lib/esm/components/SCBottomNavigation.js +5 -4
- package/lib/esm/components/SCEventForm.d.ts +8 -0
- package/lib/esm/components/SCEventForm.js +8 -0
- package/lib/esm/components/SCEventFormDialog.d.ts +13 -0
- package/lib/esm/components/SCEventFormDialog.js +13 -0
- package/lib/esm/components/SCEventMediaWidget.d.ts +120 -0
- package/lib/esm/components/SCEventMediaWidget.js +113 -0
- package/lib/esm/components/SCFeed.d.ts +9 -3
- package/lib/esm/components/SCFeed.js +9 -3
- package/lib/esm/components/SCFeedObject.d.ts +4 -0
- package/lib/esm/components/SCFeedObject.js +4 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +10 -0
- package/lib/esm/components/SCGroupActionsMenu.d.ts +26 -0
- package/lib/esm/components/SCGroupActionsMenu.js +26 -0
- package/lib/esm/components/SCGroupHeader.d.ts +5 -2
- package/lib/esm/components/SCGroupHeader.js +5 -2
- package/lib/esm/components/SCLightbox.d.ts +5 -0
- package/lib/esm/components/SCLightbox.js +12 -7
- package/lib/esm/components/SCLiveStreamDialog.d.ts +16 -0
- package/lib/esm/components/SCLiveStreamDialog.js +16 -0
- package/lib/esm/components/SCLiveStreamForm.d.ts +12 -0
- package/lib/esm/components/SCLiveStreamForm.js +12 -0
- package/lib/esm/components/SCLiveStreamRoom.d.ts +27 -0
- package/lib/esm/components/SCLiveStreamRoom.js +27 -0
- package/lib/esm/components/SCLiveStreamVideoConference.d.ts +6 -0
- package/lib/esm/components/SCLiveStreamVideoConference.js +6 -0
- package/lib/esm/components/SCMediaLink.d.ts +4 -0
- package/lib/esm/components/SCMediaLink.js +4 -4
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +45 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +46 -0
- package/lib/esm/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/esm/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/esm/components/SCNavigationToolbar.js +68 -62
- package/lib/esm/components/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/esm/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/esm/components/SCOnBoardingWidget.d.ts +12 -2
- package/lib/esm/components/SCOnBoardingWidget.js +12 -2
- package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/esm/components/SCSearchAutocomplete.js +29 -21
- package/lib/esm/components/SCVoteButton.d.ts +5 -3
- package/lib/esm/components/SCVoteButton.js +6 -5
- package/lib/esm/index.d.ts +295 -16
- package/lib/esm/index.js +17 -1
- package/lib/umd/react-theme-default.js +1 -19
- package/package.json +125 -120
- package/lib/umd/850.js +0 -2
- package/lib/umd/850.js.LICENSE.txt +0 -16
package/lib/cjs/index.js
CHANGED
|
@@ -67,11 +67,13 @@ const SCEmojiPicker_1 = tslib_1.__importDefault(require("./components/SCEmojiPic
|
|
|
67
67
|
const SCEvent_1 = tslib_1.__importDefault(require("./components/SCEvent"));
|
|
68
68
|
const SCEventActionsMenu_1 = tslib_1.__importDefault(require("./components/SCEventActionsMenu"));
|
|
69
69
|
const SCEventForm_1 = tslib_1.__importDefault(require("./components/SCEventForm"));
|
|
70
|
+
const SCEventFormDialog_1 = tslib_1.__importDefault(require("./components/SCEventFormDialog"));
|
|
70
71
|
const SCEventHeader_1 = tslib_1.__importDefault(require("./components/SCEventHeader"));
|
|
71
72
|
const SCEventInfoDetails_1 = tslib_1.__importDefault(require("./components/SCEventInfoDetails"));
|
|
72
73
|
const SCEventInfoWidget_1 = tslib_1.__importDefault(require("./components/SCEventInfoWidget"));
|
|
73
74
|
const SCEventInviteButton_1 = tslib_1.__importDefault(require("./components/SCEventInviteButton"));
|
|
74
75
|
const SCEventLocationWidget_1 = tslib_1.__importDefault(require("./components/SCEventLocationWidget"));
|
|
76
|
+
const SCEventMediaWidget_1 = tslib_1.__importDefault(require("./components/SCEventMediaWidget"));
|
|
75
77
|
const SCEventMembersWidget_1 = tslib_1.__importDefault(require("./components/SCEventMembersWidget"));
|
|
76
78
|
const SCEventParticipantsButton_1 = tslib_1.__importDefault(require("./components/SCEventParticipantsButton"));
|
|
77
79
|
const SCEvents_1 = tslib_1.__importDefault(require("./components/SCEvents"));
|
|
@@ -84,6 +86,7 @@ const SCFeedObjectMediaPreview_1 = tslib_1.__importDefault(require("./components
|
|
|
84
86
|
const SCFeedUpdatesWidget_1 = tslib_1.__importDefault(require("./components/SCFeedUpdatesWidget"));
|
|
85
87
|
const SCFooter_1 = tslib_1.__importDefault(require("./components/SCFooter"));
|
|
86
88
|
const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
|
|
89
|
+
const SCGroupActionsMenu_1 = tslib_1.__importDefault(require("./components/SCGroupActionsMenu"));
|
|
87
90
|
const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
|
|
88
91
|
const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
|
|
89
92
|
const SCGroupForm_1 = tslib_1.__importDefault(require("./components/SCGroupForm"));
|
|
@@ -112,6 +115,7 @@ const SCMediaLink_1 = tslib_1.__importDefault(require("./components/SCMediaLink"
|
|
|
112
115
|
const SCMediaShare_1 = tslib_1.__importDefault(require("./components/SCMediaShare"));
|
|
113
116
|
const SCMyEventsWidget_1 = tslib_1.__importDefault(require("./components/SCMyEventsWidget"));
|
|
114
117
|
const SCNavigationMenuIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuIconButton"));
|
|
118
|
+
const SCNavigationMenuDrawer_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuDrawer"));
|
|
115
119
|
const SCNavigationSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationSettingsIconButton"));
|
|
116
120
|
const SCNavigationToolbar_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbar"));
|
|
117
121
|
const SCNavigationToolbarMobile_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbarMobile"));
|
|
@@ -138,6 +142,10 @@ const SCScrollContainer_1 = tslib_1.__importDefault(require("./components/SCScro
|
|
|
138
142
|
const SCSearchAutocomplete_1 = tslib_1.__importDefault(require("./components/SCSearchAutocomplete"));
|
|
139
143
|
const SCSnippetNotifications_1 = tslib_1.__importDefault(require("./components/SCSnippetNotifications"));
|
|
140
144
|
const SCSuggestedEventsWidget_1 = tslib_1.__importDefault(require("./components/SCSuggestedEventsWidget"));
|
|
145
|
+
const SCLiveStreamDialog_1 = tslib_1.__importDefault(require("./components/SCLiveStreamDialog"));
|
|
146
|
+
const SCLiveStreamForm_1 = tslib_1.__importDefault(require("./components/SCLiveStreamForm"));
|
|
147
|
+
const SCLiveStreamRoom_1 = tslib_1.__importDefault(require("./components/SCLiveStreamRoom"));
|
|
148
|
+
const SCLiveStreamVideoConference_1 = tslib_1.__importDefault(require("./components/SCLiveStreamVideoConference"));
|
|
141
149
|
const SCToastNotifications_1 = tslib_1.__importDefault(require("./components/SCToastNotifications"));
|
|
142
150
|
const SCUser_1 = tslib_1.__importDefault(require("./components/SCUser"));
|
|
143
151
|
const SCUserActionIconButton_1 = tslib_1.__importDefault(require("./components/SCUserActionIconButton"));
|
|
@@ -293,6 +301,7 @@ const theme = {
|
|
|
293
301
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
294
302
|
SCFooter: SCFooter_1.default,
|
|
295
303
|
SCGroup: SCGroup_1.default,
|
|
304
|
+
SCGroupActionsMenu: SCGroupActionsMenu_1.default,
|
|
296
305
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
297
306
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
298
307
|
SCGroupForm: SCGroupForm_1.default,
|
|
@@ -320,6 +329,7 @@ const theme = {
|
|
|
320
329
|
SCMediaLink: SCMediaLink_1.default,
|
|
321
330
|
SCMediaShare: SCMediaShare_1.default,
|
|
322
331
|
SCNavigationMenuIconButton: SCNavigationMenuIconButton_1.default,
|
|
332
|
+
SCNavigationMenuDrawer: SCNavigationMenuDrawer_1.default,
|
|
323
333
|
SCNavigationSettingsIconButton: SCNavigationSettingsIconButton_1.default,
|
|
324
334
|
SCNavigationToolbar: SCNavigationToolbar_1.default,
|
|
325
335
|
SCNavigationToolbarMobile: SCNavigationToolbarMobile_1.default,
|
|
@@ -364,6 +374,7 @@ const theme = {
|
|
|
364
374
|
SCUserSubscribedGroupsWidget: SCUserSubscribedGroupsWidget_1.default,
|
|
365
375
|
SCUserSuggestionWidget: SCUserSuggestionWidget_1.default,
|
|
366
376
|
SCEventForm: SCEventForm_1.default,
|
|
377
|
+
SCEventFormDialog: SCEventFormDialog_1.default,
|
|
367
378
|
SCCreateEventButton: SCCreateEventButton_1.default,
|
|
368
379
|
SCEventLocationWidget: SCEventLocationWidget_1.default,
|
|
369
380
|
SCEvent: SCEvent_1.default,
|
|
@@ -376,6 +387,7 @@ const theme = {
|
|
|
376
387
|
SCEventSubscribeButton: SCEventSubscribeButton_1.default,
|
|
377
388
|
SCEventParticipantsButton: SCEventParticipantsButton_1.default,
|
|
378
389
|
SCMyEventsWidget: SCMyEventsWidget_1.default,
|
|
390
|
+
SCEventMediaWidget: SCEventMediaWidget_1.default,
|
|
379
391
|
SCCalendar: SCCalendar_1.default,
|
|
380
392
|
SCCreateEventWidget: SCCreateEventWidget_1.default,
|
|
381
393
|
SCSuggestedEventsWidget: SCSuggestedEventsWidget_1.default,
|
|
@@ -383,7 +395,11 @@ const theme = {
|
|
|
383
395
|
SCRelatedEventsWidget: SCRelatedEventsWidget_1.default,
|
|
384
396
|
SCVoteAudienceButton: SCVoteAudienceButton_1.default,
|
|
385
397
|
SCVoteButton: SCVoteButton_1.default,
|
|
386
|
-
SCWidget: SCWidget_1.default
|
|
398
|
+
SCWidget: SCWidget_1.default,
|
|
399
|
+
SCCreateLiveStreamDialog: SCLiveStreamDialog_1.default,
|
|
400
|
+
SCLiveStreamForm: SCLiveStreamForm_1.default,
|
|
401
|
+
SCLiveStreamRoom: SCLiveStreamRoom_1.default,
|
|
402
|
+
SCLiveStreamVideoConference: SCLiveStreamVideoConference_1.default,
|
|
387
403
|
},
|
|
388
404
|
selfcommunity: {
|
|
389
405
|
user: {
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => {
|
|
4
|
-
var _a, _b;
|
|
5
|
+
var _a, _b, _c, _d;
|
|
5
6
|
return ({
|
|
6
|
-
color: theme.palette.text.primary,
|
|
7
|
-
backgroundColor: (
|
|
7
|
+
color: getContrastRatio((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.text.primary,
|
|
8
|
+
backgroundColor: (_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main
|
|
8
9
|
});
|
|
9
10
|
}
|
|
10
11
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
4
|
root: ({ theme }) => {
|
|
4
|
-
var _a, _b;
|
|
5
|
+
var _a, _b, _c, _d;
|
|
5
6
|
return ({
|
|
6
7
|
backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main,
|
|
7
8
|
'& .SCBottomNavigation-action': {
|
|
8
9
|
fontSize: '1.57rem',
|
|
9
|
-
color: theme.palette.primary.main,
|
|
10
|
+
color: getContrastRatio((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main,
|
|
10
11
|
borderTop: `1px solid transparent`,
|
|
11
12
|
minWidth: 56,
|
|
12
13
|
'&.Mui-selected, &:hover': {
|
|
@@ -17,8 +18,8 @@ const Component = {
|
|
|
17
18
|
'&.Mui-selected, &:hover': {
|
|
18
19
|
color: theme.palette.secondary.main,
|
|
19
20
|
borderTop: '0 none'
|
|
20
|
-
}
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
22
23
|
},
|
|
23
24
|
'&.SCBottomNavigation-ios': {
|
|
24
25
|
paddingBottom: '15px'
|
|
@@ -68,6 +68,14 @@ declare const Component: {
|
|
|
68
68
|
'& .SCEventForm-active': {
|
|
69
69
|
color: any;
|
|
70
70
|
};
|
|
71
|
+
'& .SCEventForm-actions': {
|
|
72
|
+
marginTop: any;
|
|
73
|
+
display: string;
|
|
74
|
+
justifyContent: string;
|
|
75
|
+
'& button': {
|
|
76
|
+
width: string;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
71
79
|
'& .SCEventForm-privacy-section': {
|
|
72
80
|
marginTop: any;
|
|
73
81
|
justifyContent: string;
|
|
@@ -69,6 +69,14 @@ const Component = {
|
|
|
69
69
|
'& .SCEventForm-active': {
|
|
70
70
|
color: theme.palette.secondary.main
|
|
71
71
|
},
|
|
72
|
+
'& .SCEventForm-actions': {
|
|
73
|
+
marginTop: theme.spacing(2),
|
|
74
|
+
display: 'flex',
|
|
75
|
+
justifyContent: 'flex-end',
|
|
76
|
+
'& button': {
|
|
77
|
+
width: 'fit-content'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
72
80
|
'& .SCEventForm-privacy-section': {
|
|
73
81
|
marginTop: theme.spacing(2),
|
|
74
82
|
justifyContent: 'center',
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme, showPadding }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
showPadding: any;
|
|
6
|
+
}) => {
|
|
7
|
+
'& .SCEventMediaWidget-header': {
|
|
8
|
+
padding: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCEventMediaWidget-content': {
|
|
11
|
+
padding: any;
|
|
12
|
+
'& .SCEventMediaWidget-grid': {
|
|
13
|
+
display: string;
|
|
14
|
+
gap: string;
|
|
15
|
+
gridTemplateColumns: string;
|
|
16
|
+
'& > .SCEventMediaWidget-media': {
|
|
17
|
+
position: string;
|
|
18
|
+
width: string;
|
|
19
|
+
paddingBottom: string;
|
|
20
|
+
backgroundSize: string;
|
|
21
|
+
cursor: string;
|
|
22
|
+
'& > .SCEventMediaWidget-media-layer': {
|
|
23
|
+
position: string;
|
|
24
|
+
inset: number;
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
opacity: number;
|
|
27
|
+
};
|
|
28
|
+
'& > .SCEventMediaWidget-count-hidden-media-wrapper': {
|
|
29
|
+
position: string;
|
|
30
|
+
top: string;
|
|
31
|
+
left: string;
|
|
32
|
+
transform: string;
|
|
33
|
+
color: any;
|
|
34
|
+
'& > .SCEventMediaWidget-count-hidden-media': {
|
|
35
|
+
fontSize: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'& .SCEventMediaWidget-actions': {
|
|
42
|
+
padding: any;
|
|
43
|
+
justifyContent: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
skeletonRoot: ({}: {}) => {
|
|
47
|
+
'& .SCEventMediaWidget-grid': {
|
|
48
|
+
display: string;
|
|
49
|
+
gap: string;
|
|
50
|
+
gridTemplateColumns: string;
|
|
51
|
+
'& > .SCEventMediaWidget-media': {
|
|
52
|
+
paddingBottom: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
dialogRoot: ({ theme }: {
|
|
57
|
+
theme: any;
|
|
58
|
+
}) => {
|
|
59
|
+
'& .SCEventMediaWidget-grid': {
|
|
60
|
+
display: string;
|
|
61
|
+
gap: string;
|
|
62
|
+
gridTemplateColumns: string;
|
|
63
|
+
'& > .SCEventMediaWidget-media': {
|
|
64
|
+
paddingBottom: string;
|
|
65
|
+
};
|
|
66
|
+
'& > .SCEventMediaWidget-dialog-media-wrapper': {
|
|
67
|
+
position: string;
|
|
68
|
+
width: string;
|
|
69
|
+
paddingBottom: string;
|
|
70
|
+
backgroundSize: string;
|
|
71
|
+
'& > .SCEventMediaWidget-dialog-button-wrapper': {
|
|
72
|
+
position: string;
|
|
73
|
+
top: number;
|
|
74
|
+
width: string;
|
|
75
|
+
height: string;
|
|
76
|
+
backgroundColor: any;
|
|
77
|
+
opacity: number;
|
|
78
|
+
flexDirection: string;
|
|
79
|
+
justifyContent: string;
|
|
80
|
+
alignItems: string;
|
|
81
|
+
'& > .SCEventMediaWidget-dialog-loading-button': {
|
|
82
|
+
padding: number;
|
|
83
|
+
minWidth: string;
|
|
84
|
+
'& > .MuiLoadingButton-loadingIndicatorCenter': {
|
|
85
|
+
color: any;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
triggerRoot: ({ isSquare }: {
|
|
93
|
+
isSquare: any;
|
|
94
|
+
}) => {
|
|
95
|
+
padding: 0;
|
|
96
|
+
borderRadius: 0;
|
|
97
|
+
backgroundColor: string;
|
|
98
|
+
'&:hover': {
|
|
99
|
+
backgroundColor: string;
|
|
100
|
+
};
|
|
101
|
+
'& > .SCEventMediaWidget-trigger-content': {
|
|
102
|
+
position: string;
|
|
103
|
+
width: string;
|
|
104
|
+
padding: string;
|
|
105
|
+
paddingBottom: string;
|
|
106
|
+
flexDirection: string;
|
|
107
|
+
gap: string;
|
|
108
|
+
alignItems: string;
|
|
109
|
+
justifyContent: string;
|
|
110
|
+
'& > .SCEventMediaWidget-trigger-icon': {
|
|
111
|
+
position: string;
|
|
112
|
+
top: string;
|
|
113
|
+
transform: string;
|
|
114
|
+
fontSize: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
export default Component;
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme, showPadding }) => ({
|
|
4
|
+
'& .SCEventMediaWidget-header': {
|
|
5
|
+
padding: showPadding ? theme.spacing('10px', 2) : theme.spacing(2)
|
|
6
|
+
},
|
|
7
|
+
'& .SCEventMediaWidget-content': {
|
|
8
|
+
padding: theme.spacing(2),
|
|
9
|
+
'& .SCEventMediaWidget-grid': {
|
|
10
|
+
display: 'grid',
|
|
11
|
+
gap: '5px',
|
|
12
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
13
|
+
'& > .SCEventMediaWidget-media': {
|
|
14
|
+
position: 'relative',
|
|
15
|
+
width: '100%',
|
|
16
|
+
paddingBottom: '100%',
|
|
17
|
+
backgroundSize: 'cover',
|
|
18
|
+
cursor: 'pointer',
|
|
19
|
+
'& > .SCEventMediaWidget-media-layer': {
|
|
20
|
+
position: 'absolute',
|
|
21
|
+
inset: 0,
|
|
22
|
+
backgroundColor: 'rgba(102, 102, 102, 0.2)',
|
|
23
|
+
opacity: 0.8
|
|
24
|
+
},
|
|
25
|
+
'& > .SCEventMediaWidget-count-hidden-media-wrapper': {
|
|
26
|
+
position: 'absolute',
|
|
27
|
+
top: '50%',
|
|
28
|
+
left: '50%',
|
|
29
|
+
transform: 'translate(-50%, -50%)',
|
|
30
|
+
color: theme.palette.common.white,
|
|
31
|
+
'& > .SCEventMediaWidget-count-hidden-media': {
|
|
32
|
+
fontSize: '200%'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
'& .SCEventMediaWidget-actions': {
|
|
39
|
+
padding: theme.spacing(0, 2, '10px'),
|
|
40
|
+
justifyContent: 'center'
|
|
41
|
+
}
|
|
42
|
+
}),
|
|
43
|
+
skeletonRoot: ({}) => ({
|
|
44
|
+
'& .SCEventMediaWidget-grid': {
|
|
45
|
+
display: 'grid',
|
|
46
|
+
gap: '5px',
|
|
47
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
48
|
+
'& > .SCEventMediaWidget-media': {
|
|
49
|
+
paddingBottom: '100%'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}),
|
|
53
|
+
dialogRoot: ({ theme }) => ({
|
|
54
|
+
'& .SCEventMediaWidget-grid': {
|
|
55
|
+
display: 'grid',
|
|
56
|
+
gap: '5px',
|
|
57
|
+
gridTemplateColumns: 'repeat(3, 1fr)',
|
|
58
|
+
'& > .SCEventMediaWidget-media': {
|
|
59
|
+
paddingBottom: '100%'
|
|
60
|
+
},
|
|
61
|
+
'& > .SCEventMediaWidget-dialog-media-wrapper': {
|
|
62
|
+
position: 'relative',
|
|
63
|
+
width: '100%',
|
|
64
|
+
paddingBottom: '100%',
|
|
65
|
+
backgroundSize: 'cover',
|
|
66
|
+
'& > .SCEventMediaWidget-dialog-button-wrapper': {
|
|
67
|
+
position: 'absolute',
|
|
68
|
+
top: 0,
|
|
69
|
+
width: '100%',
|
|
70
|
+
height: '30px',
|
|
71
|
+
backgroundColor: theme.palette.common.black,
|
|
72
|
+
opacity: 0.6,
|
|
73
|
+
flexDirection: 'row',
|
|
74
|
+
justifyContent: 'flex-end',
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
'& > .SCEventMediaWidget-dialog-loading-button': {
|
|
77
|
+
padding: 0,
|
|
78
|
+
minWidth: '50px',
|
|
79
|
+
'& > .MuiLoadingButton-loadingIndicatorCenter': {
|
|
80
|
+
color: theme.palette.common.white
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}),
|
|
87
|
+
triggerRoot: ({ isSquare }) => ({
|
|
88
|
+
padding: isSquare && 0,
|
|
89
|
+
borderRadius: isSquare && 0,
|
|
90
|
+
backgroundColor: isSquare && 'rgba(112, 112, 112, 0.04)',
|
|
91
|
+
'&:hover': {
|
|
92
|
+
backgroundColor: isSquare && 'rgba(0, 0, 0, 0.04)'
|
|
93
|
+
},
|
|
94
|
+
'& > .SCEventMediaWidget-trigger-content': {
|
|
95
|
+
position: isSquare && 'relative',
|
|
96
|
+
width: isSquare && '100%',
|
|
97
|
+
padding: isSquare && '10px 60px',
|
|
98
|
+
paddingBottom: isSquare && '100%',
|
|
99
|
+
flexDirection: 'row',
|
|
100
|
+
gap: '5px',
|
|
101
|
+
alignItems: 'center',
|
|
102
|
+
justifyContent: isSquare ? 'center' : 'flex-end',
|
|
103
|
+
'& > .SCEventMediaWidget-trigger-icon': {
|
|
104
|
+
position: isSquare && 'absolute',
|
|
105
|
+
top: isSquare && '50%',
|
|
106
|
+
transform: isSquare && 'translateY(-50%)',
|
|
107
|
+
fontSize: 'inherit'
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
})
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
export default Component;
|
|
@@ -32,6 +32,14 @@ declare const Component: {
|
|
|
32
32
|
padding: number;
|
|
33
33
|
marginBottom: any;
|
|
34
34
|
};
|
|
35
|
+
'& .SCFeed-header-item': {
|
|
36
|
+
animation: string;
|
|
37
|
+
'@keyframes pulse-animation': {
|
|
38
|
+
'0%': {
|
|
39
|
+
opacity: number;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
35
43
|
};
|
|
36
44
|
'& .SCFeed-end': {
|
|
37
45
|
'& > .SCWidget-root': {
|
|
@@ -45,9 +53,7 @@ declare const Component: {
|
|
|
45
53
|
padding: any;
|
|
46
54
|
};
|
|
47
55
|
};
|
|
48
|
-
'& .SCFeed-refresh': {
|
|
49
|
-
textAlign: string;
|
|
50
|
-
};
|
|
56
|
+
'& .SCFeed-refresh': {};
|
|
51
57
|
'& .SCFeed-pagination-link': {
|
|
52
58
|
display: string;
|
|
53
59
|
};
|
|
@@ -31,6 +31,14 @@ const Component = {
|
|
|
31
31
|
'& > .SCWidget-root': {
|
|
32
32
|
padding: 0,
|
|
33
33
|
marginBottom: theme.spacing(2)
|
|
34
|
+
},
|
|
35
|
+
'& .SCFeed-header-item': {
|
|
36
|
+
animation: 'pulse-animation 2s ease-in-out',
|
|
37
|
+
'@keyframes pulse-animation': {
|
|
38
|
+
'0%': {
|
|
39
|
+
opacity: 0
|
|
40
|
+
}
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
43
|
},
|
|
36
44
|
'& .SCFeed-end': {
|
|
@@ -45,9 +53,7 @@ const Component = {
|
|
|
45
53
|
padding: theme.spacing(2)
|
|
46
54
|
}
|
|
47
55
|
},
|
|
48
|
-
'& .SCFeed-refresh': {
|
|
49
|
-
textAlign: 'center'
|
|
50
|
-
},
|
|
56
|
+
'& .SCFeed-refresh': {},
|
|
51
57
|
'& .SCFeed-pagination-link': {
|
|
52
58
|
display: 'none'
|
|
53
59
|
}
|
|
@@ -7,6 +7,16 @@ declare const Component: {
|
|
|
7
7
|
paddingLeft: any;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
+
'& .SCFeedObject-detail': {
|
|
11
|
+
'& .SCFeedObject-content': {
|
|
12
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
|
+
'& span': {
|
|
14
|
+
display: string;
|
|
15
|
+
width: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
10
20
|
};
|
|
11
21
|
skeletonRoot: ({ theme }: any) => {
|
|
12
22
|
marginTop: any;
|
|
@@ -6,6 +6,16 @@ const Component = {
|
|
|
6
6
|
'& .SCCommentsObject-root h6': {
|
|
7
7
|
paddingLeft: theme.spacing(2)
|
|
8
8
|
}
|
|
9
|
+
},
|
|
10
|
+
'& .SCFeedObject-detail': {
|
|
11
|
+
'& .SCFeedObject-content': {
|
|
12
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
13
|
+
'& span': {
|
|
14
|
+
display: 'inline-block',
|
|
15
|
+
width: '100%'
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
9
19
|
}
|
|
10
20
|
}),
|
|
11
21
|
skeletonRoot: ({ theme }) => ({
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
menuRoot: ({ theme }: any) => {
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: any;
|
|
7
|
+
};
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
drawerRoot: ({ theme }: any) => {
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: any;
|
|
19
|
+
};
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
menuRoot: ({ theme }) => ({
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: theme.spacing(1)
|
|
7
|
+
},
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: '15px'
|
|
10
|
+
}
|
|
11
|
+
}),
|
|
12
|
+
drawerRoot: ({ theme }) => ({
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: 0,
|
|
15
|
+
paddingBottom: 0
|
|
16
|
+
},
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: theme.spacing(2)
|
|
19
|
+
},
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: '15px'
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -40,10 +40,13 @@ declare const Component: {
|
|
|
40
40
|
gap: any;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: string;
|
|
44
45
|
marginLeft: string;
|
|
45
46
|
marginTop: any;
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: any;
|
|
49
|
+
};
|
|
47
50
|
};
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: any;
|
|
@@ -40,10 +40,13 @@ const Component = {
|
|
|
40
40
|
gap: theme.spacing(0.5)
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: 'flex',
|
|
44
45
|
marginLeft: 'auto',
|
|
45
46
|
marginTop: theme.spacing(-4.25),
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: theme.spacing(1)
|
|
49
|
+
}
|
|
47
50
|
},
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: theme.spacing(1)
|
|
@@ -20,6 +20,11 @@ declare const Component: {
|
|
|
20
20
|
"& .PhotoView__Photo": {
|
|
21
21
|
cursor: string;
|
|
22
22
|
maxWidth: string;
|
|
23
|
+
WebkitUserDrag: string;
|
|
24
|
+
userDrag: string;
|
|
25
|
+
'@-moz-document url-prefix()': {
|
|
26
|
+
pointerEvents: string;
|
|
27
|
+
};
|
|
23
28
|
};
|
|
24
29
|
"& .PhotoView__Photo:active": {
|
|
25
30
|
cursor: string;
|