@selfcommunity/react-theme-default 0.5.0-alpha.1 → 0.5.0-alpha.11
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/SCBuyButton.d.ts +15 -0
- package/lib/cjs/components/SCBuyButton.js +13 -0
- package/lib/cjs/components/SCCategory.d.ts +8 -0
- package/lib/cjs/components/SCCategory.js +8 -0
- package/lib/cjs/components/SCCategoryFollowButton.d.ts +8 -0
- package/lib/cjs/components/SCCategoryFollowButton.js +10 -0
- package/lib/cjs/components/SCCategoryHeader.d.ts +4 -0
- package/lib/cjs/components/SCCategoryHeader.js +5 -1
- package/lib/cjs/components/SCCheckout.d.ts +115 -0
- package/lib/cjs/components/SCCheckout.js +116 -0
- package/lib/cjs/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
- package/lib/cjs/components/SCCheckoutHeaderInfoWidget.js +34 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +26 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.js +26 -0
- package/lib/cjs/components/SCComposer.d.ts +24 -0
- package/lib/cjs/components/SCComposer.js +25 -1
- package/lib/cjs/components/SCCourse.d.ts +23 -1
- package/lib/cjs/components/SCCourse.js +23 -1
- package/lib/cjs/components/SCCourseDashboard.d.ts +22 -0
- package/lib/cjs/components/SCCourseDashboard.js +22 -0
- package/lib/cjs/components/SCCourses.d.ts +3 -0
- package/lib/cjs/components/SCCourses.js +3 -0
- package/lib/cjs/components/SCDefaultDrawerContent.d.ts +8 -0
- package/lib/cjs/components/SCDefaultDrawerContent.js +8 -0
- package/lib/cjs/components/SCEditCourse.d.ts +7 -0
- package/lib/cjs/components/SCEditCourse.js +7 -0
- package/lib/cjs/components/SCEvent.d.ts +2 -0
- package/lib/cjs/components/SCEvent.js +3 -1
- package/lib/cjs/components/SCEventForm.d.ts +3 -0
- package/lib/cjs/components/SCEventForm.js +3 -0
- package/lib/cjs/components/SCEventHeader.d.ts +12 -0
- package/lib/cjs/components/SCEventHeader.js +12 -0
- package/lib/cjs/components/SCEventSubscribeButton.d.ts +12 -0
- package/lib/cjs/components/SCEventSubscribeButton.js +10 -0
- package/lib/cjs/components/SCFeedObject.d.ts +31 -10
- package/lib/cjs/components/SCFeedObject.js +32 -11
- package/lib/cjs/components/SCGroup.d.ts +6 -2
- package/lib/cjs/components/SCGroup.js +6 -2
- package/lib/cjs/components/SCGroupHeader.d.ts +12 -0
- package/lib/cjs/components/SCGroupHeader.js +12 -0
- package/lib/cjs/components/SCGroupSubscribeButton.d.ts +18 -0
- package/lib/cjs/components/SCGroupSubscribeButton.js +18 -0
- package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
- package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
- package/lib/cjs/components/SCMediaFile.d.ts +78 -8
- package/lib/cjs/components/SCMediaFile.js +76 -8
- package/lib/cjs/components/SCMediaLink.d.ts +2 -1
- package/lib/cjs/components/SCMediaLink.js +2 -1
- package/lib/cjs/components/SCPaymentOrder.d.ts +22 -0
- package/lib/cjs/components/SCPaymentOrder.js +20 -0
- package/lib/cjs/components/SCPaymentOrderPdfButton.d.ts +16 -0
- package/lib/cjs/components/SCPaymentOrderPdfButton.js +16 -0
- package/lib/cjs/components/SCPaymentOrders.d.ts +62 -0
- package/lib/cjs/components/SCPaymentOrders.js +64 -0
- package/lib/cjs/components/SCPaymentProduct.d.ts +49 -0
- package/lib/cjs/components/SCPaymentProduct.js +47 -0
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +39 -0
- package/lib/cjs/components/SCPaymentProductPrice.js +37 -0
- package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
- package/lib/cjs/components/SCPaymentProducts.js +13 -0
- package/lib/cjs/components/SCPaywalls.d.ts +12 -0
- package/lib/cjs/components/SCPaywalls.js +12 -0
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +160 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +163 -0
- package/lib/cjs/components/SCPdfPreview.d.ts +33 -0
- package/lib/cjs/components/SCPdfPreview.js +35 -0
- package/lib/cjs/components/SCVoteAudienceButton.js +2 -2
- package/lib/cjs/components/SCVoteButton.d.ts +1 -1
- package/lib/cjs/components/SCVoteButton.js +2 -2
- package/lib/cjs/fonts/community/icons.eot +0 -0
- package/lib/cjs/fonts/community/icons.svg +75 -69
- 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 +133 -126
- package/lib/cjs/index.d.ts +909 -41
- package/lib/cjs/index.js +47 -1
- package/lib/esm/components/SCBuyButton.d.ts +15 -0
- package/lib/esm/components/SCBuyButton.js +11 -0
- package/lib/esm/components/SCCategory.d.ts +8 -0
- package/lib/esm/components/SCCategory.js +8 -0
- package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
- package/lib/esm/components/SCCategoryFollowButton.js +8 -0
- package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
- package/lib/esm/components/SCCategoryHeader.js +5 -1
- package/lib/esm/components/SCCheckout.d.ts +115 -0
- package/lib/esm/components/SCCheckout.js +114 -0
- package/lib/esm/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
- package/lib/esm/components/SCCheckoutHeaderInfoWidget.js +32 -0
- package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
- package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
- package/lib/esm/components/SCComposer.d.ts +24 -0
- package/lib/esm/components/SCComposer.js +25 -1
- package/lib/esm/components/SCCourse.d.ts +23 -1
- package/lib/esm/components/SCCourse.js +23 -1
- package/lib/esm/components/SCCourseDashboard.d.ts +22 -0
- package/lib/esm/components/SCCourseDashboard.js +22 -0
- package/lib/esm/components/SCCourses.d.ts +3 -0
- package/lib/esm/components/SCCourses.js +3 -0
- package/lib/esm/components/SCDefaultDrawerContent.d.ts +8 -0
- package/lib/esm/components/SCDefaultDrawerContent.js +8 -0
- package/lib/esm/components/SCEditCourse.d.ts +7 -0
- package/lib/esm/components/SCEditCourse.js +7 -0
- package/lib/esm/components/SCEvent.d.ts +2 -0
- package/lib/esm/components/SCEvent.js +3 -1
- package/lib/esm/components/SCEventForm.d.ts +3 -0
- package/lib/esm/components/SCEventForm.js +3 -0
- package/lib/esm/components/SCEventHeader.d.ts +12 -0
- package/lib/esm/components/SCEventHeader.js +12 -0
- package/lib/esm/components/SCEventSubscribeButton.d.ts +12 -0
- package/lib/esm/components/SCEventSubscribeButton.js +10 -0
- package/lib/esm/components/SCFeedObject.d.ts +31 -10
- package/lib/esm/components/SCFeedObject.js +32 -11
- package/lib/esm/components/SCGroup.d.ts +6 -2
- package/lib/esm/components/SCGroup.js +6 -2
- package/lib/esm/components/SCGroupHeader.d.ts +12 -0
- package/lib/esm/components/SCGroupHeader.js +12 -0
- package/lib/esm/components/SCGroupSubscribeButton.d.ts +18 -0
- package/lib/esm/components/SCGroupSubscribeButton.js +16 -0
- package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
- package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
- package/lib/esm/components/SCMediaFile.d.ts +78 -8
- package/lib/esm/components/SCMediaFile.js +76 -8
- package/lib/esm/components/SCMediaLink.d.ts +2 -1
- package/lib/esm/components/SCMediaLink.js +2 -1
- package/lib/esm/components/SCPaymentOrder.d.ts +22 -0
- package/lib/esm/components/SCPaymentOrder.js +18 -0
- package/lib/esm/components/SCPaymentOrderPdfButton.d.ts +16 -0
- package/lib/esm/components/SCPaymentOrderPdfButton.js +14 -0
- package/lib/esm/components/SCPaymentOrders.d.ts +62 -0
- package/lib/esm/components/SCPaymentOrders.js +62 -0
- package/lib/esm/components/SCPaymentProduct.d.ts +49 -0
- package/lib/esm/components/SCPaymentProduct.js +45 -0
- package/lib/esm/components/SCPaymentProductPrice.d.ts +39 -0
- package/lib/esm/components/SCPaymentProductPrice.js +35 -0
- package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
- package/lib/esm/components/SCPaymentProducts.js +11 -0
- package/lib/esm/components/SCPaywalls.d.ts +12 -0
- package/lib/esm/components/SCPaywalls.js +10 -0
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +160 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +161 -0
- package/lib/esm/components/SCPdfPreview.d.ts +33 -0
- package/lib/esm/components/SCPdfPreview.js +33 -0
- package/lib/esm/components/SCVoteAudienceButton.js +2 -2
- package/lib/esm/components/SCVoteButton.d.ts +1 -1
- package/lib/esm/components/SCVoteButton.js +2 -2
- package/lib/esm/fonts/community/icons.eot +0 -0
- package/lib/esm/fonts/community/icons.svg +75 -69
- 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 +133 -126
- package/lib/esm/index.d.ts +909 -41
- package/lib/esm/index.js +47 -1
- package/lib/umd/community/icons.eot +0 -0
- package/lib/umd/community/icons.svg +75 -69
- 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 +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
4
|
width: string;
|
|
5
5
|
};
|
|
6
6
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -22,6 +22,17 @@ declare const Component: {
|
|
|
22
22
|
};
|
|
23
23
|
'& .SCCourse-snippet-image': {
|
|
24
24
|
position: string;
|
|
25
|
+
marginLeft: any;
|
|
26
|
+
'& .SCCourse-chip': {
|
|
27
|
+
maxWidth: number;
|
|
28
|
+
borderRadius: number;
|
|
29
|
+
boxShadow: string;
|
|
30
|
+
height: number;
|
|
31
|
+
'& span': {
|
|
32
|
+
padding: number;
|
|
33
|
+
fontSize: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
25
36
|
'& .SCCourse-snippet-in-progress': {
|
|
26
37
|
height: number;
|
|
27
38
|
backgroundColor: any;
|
|
@@ -70,6 +81,13 @@ declare const Component: {
|
|
|
70
81
|
padding: any;
|
|
71
82
|
};
|
|
72
83
|
};
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: any;
|
|
86
|
+
};
|
|
87
|
+
'& .SCCourse-snippet-privacy': {
|
|
88
|
+
flexDirection: string;
|
|
89
|
+
alignItems: string;
|
|
90
|
+
};
|
|
73
91
|
};
|
|
74
92
|
previewRoot: ({ theme }: any) => {
|
|
75
93
|
[x: number]: {
|
|
@@ -263,6 +281,10 @@ declare const Component: {
|
|
|
263
281
|
};
|
|
264
282
|
};
|
|
265
283
|
};
|
|
284
|
+
'&.MuiPaper-outlined': {
|
|
285
|
+
paddingLeft: any;
|
|
286
|
+
paddingRight: any;
|
|
287
|
+
};
|
|
266
288
|
};
|
|
267
289
|
};
|
|
268
290
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: () => ({
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
4
|
width: '100%'
|
|
5
5
|
}),
|
|
6
6
|
snippetRoot: ({ theme }) => ({
|
|
@@ -22,6 +22,17 @@ const Component = {
|
|
|
22
22
|
},
|
|
23
23
|
'& .SCCourse-snippet-image': {
|
|
24
24
|
position: 'relative',
|
|
25
|
+
marginLeft: theme.spacing(),
|
|
26
|
+
'& .SCCourse-chip': {
|
|
27
|
+
maxWidth: 70,
|
|
28
|
+
borderRadius: 3,
|
|
29
|
+
boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px,rgba(0, 0, 0, 0.23) 0px 3px 6px',
|
|
30
|
+
height: 18,
|
|
31
|
+
'& span': {
|
|
32
|
+
padding: 3,
|
|
33
|
+
fontSize: '0.6rem'
|
|
34
|
+
}
|
|
35
|
+
},
|
|
25
36
|
'& .SCCourse-snippet-in-progress': {
|
|
26
37
|
height: 18,
|
|
27
38
|
backgroundColor: theme.palette.secondary.main,
|
|
@@ -69,6 +80,13 @@ const Component = {
|
|
|
69
80
|
fontWeight: 700,
|
|
70
81
|
padding: theme.spacing(0.5)
|
|
71
82
|
}
|
|
83
|
+
},
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: theme.spacing()
|
|
86
|
+
},
|
|
87
|
+
'& .SCCourse-snippet-privacy': {
|
|
88
|
+
flexDirection: 'row',
|
|
89
|
+
alignItems: 'center'
|
|
72
90
|
}
|
|
73
91
|
}),
|
|
74
92
|
previewRoot: ({ theme }) => ({
|
|
@@ -262,6 +280,10 @@ const Component = {
|
|
|
262
280
|
transform: 'translate(-50%, -50%)'
|
|
263
281
|
}
|
|
264
282
|
}
|
|
283
|
+
},
|
|
284
|
+
'&.MuiPaper-outlined': {
|
|
285
|
+
paddingLeft: theme.spacing(),
|
|
286
|
+
paddingRight: theme.spacing()
|
|
265
287
|
}
|
|
266
288
|
})
|
|
267
289
|
}
|
|
@@ -52,6 +52,18 @@ declare const Component: {
|
|
|
52
52
|
alignItems: string;
|
|
53
53
|
gap: any;
|
|
54
54
|
};
|
|
55
|
+
'& .SCBuyButton-request-root': {
|
|
56
|
+
fontWeight: any;
|
|
57
|
+
'& .MuiButton-startIcon': {
|
|
58
|
+
marginRight: any;
|
|
59
|
+
'& .MuiIcon-root': {
|
|
60
|
+
fontSize: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
'&.Mui-selected, &:hover': {
|
|
64
|
+
backgroundColor: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
55
67
|
};
|
|
56
68
|
};
|
|
57
69
|
};
|
|
@@ -178,6 +190,16 @@ declare const Component: {
|
|
|
178
190
|
};
|
|
179
191
|
margin: string;
|
|
180
192
|
gap: string;
|
|
193
|
+
'& .SCBuyButton-request-root': {
|
|
194
|
+
'&:hover, &:active': {
|
|
195
|
+
backgroundColor: any;
|
|
196
|
+
color: any;
|
|
197
|
+
border: string;
|
|
198
|
+
'& .MuiIcon-root': {
|
|
199
|
+
color: any;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
};
|
|
181
203
|
};
|
|
182
204
|
};
|
|
183
205
|
'& .SCCourseDashboard-lessons-sections': {
|
|
@@ -50,6 +50,18 @@ const Component = {
|
|
|
50
50
|
flexDirection: 'row',
|
|
51
51
|
alignItems: 'center',
|
|
52
52
|
gap: theme.spacing(1)
|
|
53
|
+
},
|
|
54
|
+
'& .SCBuyButton-request-root': {
|
|
55
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
56
|
+
'& .MuiButton-startIcon': {
|
|
57
|
+
marginRight: theme.spacing(0.5),
|
|
58
|
+
'& .MuiIcon-root': {
|
|
59
|
+
fontSize: '1.5rem'
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
'&.Mui-selected, &:hover': {
|
|
63
|
+
backgroundColor: 'transparent'
|
|
64
|
+
}
|
|
53
65
|
}
|
|
54
66
|
}
|
|
55
67
|
}
|
|
@@ -173,6 +185,16 @@ const Component = {
|
|
|
173
185
|
[theme.breakpoints.up('sm')]: {
|
|
174
186
|
flexDirection: 'row',
|
|
175
187
|
margin: 0
|
|
188
|
+
},
|
|
189
|
+
'& .SCBuyButton-request-root': {
|
|
190
|
+
'&:hover, &:active': {
|
|
191
|
+
backgroundColor: theme.palette.common.white,
|
|
192
|
+
color: theme.palette.primary.main,
|
|
193
|
+
border: `1px solid ${theme.palette.primary.main}`,
|
|
194
|
+
'& .MuiIcon-root': {
|
|
195
|
+
color: theme.palette.primary.main
|
|
196
|
+
}
|
|
197
|
+
}
|
|
176
198
|
}
|
|
177
199
|
}
|
|
178
200
|
},
|
|
@@ -25,6 +25,14 @@ declare const Component: {
|
|
|
25
25
|
fontSize: number;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
+
'& .MuiAccordion-root': {
|
|
29
|
+
'& .MuiAccordionSummary-content': {
|
|
30
|
+
marginBottom: any;
|
|
31
|
+
};
|
|
32
|
+
'& .MuiAccordionDetails-root, .MuiList-root': {
|
|
33
|
+
paddingTop: number;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
28
36
|
};
|
|
29
37
|
};
|
|
30
38
|
};
|
|
@@ -24,6 +24,14 @@ const Component = {
|
|
|
24
24
|
'& .MuiIcon-root': {
|
|
25
25
|
fontSize: 18
|
|
26
26
|
}
|
|
27
|
+
},
|
|
28
|
+
'& .MuiAccordion-root': {
|
|
29
|
+
'& .MuiAccordionSummary-content': {
|
|
30
|
+
marginBottom: theme.spacing(1.5)
|
|
31
|
+
},
|
|
32
|
+
'& .MuiAccordionDetails-root, .MuiList-root': {
|
|
33
|
+
paddingTop: 0
|
|
34
|
+
}
|
|
27
35
|
}
|
|
28
36
|
})
|
|
29
37
|
}
|
|
@@ -219,6 +219,13 @@ declare const Component: {
|
|
|
219
219
|
margin: any;
|
|
220
220
|
};
|
|
221
221
|
};
|
|
222
|
+
'& .SCCourseForm-paywalls-configurator-wrap': {
|
|
223
|
+
marginBottom: any;
|
|
224
|
+
'& .SCPaywallsConfigurator-content-access-type': {
|
|
225
|
+
fontSize: string;
|
|
226
|
+
padding: any;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
222
229
|
};
|
|
223
230
|
};
|
|
224
231
|
skeletonRoot: ({ theme }: {
|
|
@@ -217,6 +217,13 @@ const Component = {
|
|
|
217
217
|
maxWidth: '600px',
|
|
218
218
|
margin: theme.spacing(2, 'auto', 0)
|
|
219
219
|
}
|
|
220
|
+
},
|
|
221
|
+
'& .SCCourseForm-paywalls-configurator-wrap': {
|
|
222
|
+
marginBottom: theme.spacing(3),
|
|
223
|
+
'& .SCPaywallsConfigurator-content-access-type': {
|
|
224
|
+
fontSize: '14px',
|
|
225
|
+
padding: theme.spacing()
|
|
226
|
+
}
|
|
220
227
|
}
|
|
221
228
|
}
|
|
222
229
|
}),
|
|
@@ -79,6 +79,18 @@ declare const Component: {
|
|
|
79
79
|
alignItems: string;
|
|
80
80
|
gap: any;
|
|
81
81
|
};
|
|
82
|
+
'& .SCBuyButton-request-root': {
|
|
83
|
+
fontWeight: any;
|
|
84
|
+
'& .MuiButton-startIcon': {
|
|
85
|
+
marginRight: any;
|
|
86
|
+
'& .MuiIcon-root': {
|
|
87
|
+
fontSize: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
'&.Mui-selected, &:hover': {
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
82
94
|
};
|
|
83
95
|
'& .SCEditEvenButton-root': {
|
|
84
96
|
marginLeft: string;
|
|
@@ -79,6 +79,18 @@ const Component = {
|
|
|
79
79
|
justifyContent: 'center',
|
|
80
80
|
alignItems: 'center',
|
|
81
81
|
gap: theme.spacing(0.5)
|
|
82
|
+
},
|
|
83
|
+
'& .SCBuyButton-request-root': {
|
|
84
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
85
|
+
'& .MuiButton-startIcon': {
|
|
86
|
+
marginRight: theme.spacing(0.5),
|
|
87
|
+
'& .MuiIcon-root': {
|
|
88
|
+
fontSize: '1.5rem'
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
'&.Mui-selected, &:hover': {
|
|
92
|
+
backgroundColor: 'transparent'
|
|
93
|
+
}
|
|
82
94
|
}
|
|
83
95
|
},
|
|
84
96
|
'& .SCEditEvenButton-root': {
|
|
@@ -49,6 +49,18 @@ declare const Component: {
|
|
|
49
49
|
requestRoot: ({ theme }: {
|
|
50
50
|
theme: any;
|
|
51
51
|
}) => {};
|
|
52
|
+
buyButtonRoot: ({ theme }: {
|
|
53
|
+
theme: any;
|
|
54
|
+
}) => {
|
|
55
|
+
'&:hover, &:active': {
|
|
56
|
+
backgroundColor: any;
|
|
57
|
+
color: any;
|
|
58
|
+
border: string;
|
|
59
|
+
'& .MuiIcon-root': {
|
|
60
|
+
color: any;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
52
64
|
menuRoot: ({ theme }: {
|
|
53
65
|
theme: any;
|
|
54
66
|
}) => {
|
|
@@ -45,6 +45,16 @@ const Component = {
|
|
|
45
45
|
}
|
|
46
46
|
}),
|
|
47
47
|
requestRoot: ({ theme }) => ({}),
|
|
48
|
+
buyButtonRoot: ({ theme }) => ({
|
|
49
|
+
'&:hover, &:active': {
|
|
50
|
+
backgroundColor: theme.palette.common.white,
|
|
51
|
+
color: theme.palette.primary.main,
|
|
52
|
+
border: `1px solid ${theme.palette.primary.main}`,
|
|
53
|
+
'& .MuiIcon-root': {
|
|
54
|
+
color: theme.palette.primary.main
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}),
|
|
48
58
|
menuRoot: ({ theme }) => ({
|
|
49
59
|
'& .MuiPaper-root': {
|
|
50
60
|
width: 195,
|
|
@@ -124,6 +124,13 @@ declare const Component: {
|
|
|
124
124
|
};
|
|
125
125
|
'& .SCFeedObject-info-section': {
|
|
126
126
|
padding: any;
|
|
127
|
+
'& .SCFeedObject-vote': {
|
|
128
|
+
width: string;
|
|
129
|
+
justifyContent: string;
|
|
130
|
+
'& > button:first-of-type': {
|
|
131
|
+
margin: string;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
127
134
|
};
|
|
128
135
|
'& .SCFeedObject-activity-at': {
|
|
129
136
|
textDecoration: string;
|
|
@@ -136,6 +143,20 @@ declare const Component: {
|
|
|
136
143
|
opacity: number;
|
|
137
144
|
};
|
|
138
145
|
};
|
|
146
|
+
'& .SCFeedObject-obj-element': {
|
|
147
|
+
position: string;
|
|
148
|
+
'& .SCFeedObject-new': {
|
|
149
|
+
position: string;
|
|
150
|
+
top: string;
|
|
151
|
+
left: string;
|
|
152
|
+
width: string;
|
|
153
|
+
height: string;
|
|
154
|
+
backgroundColor: any;
|
|
155
|
+
border: string;
|
|
156
|
+
borderRadius: string;
|
|
157
|
+
filter: string;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
139
160
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
140
161
|
[x: number]: {
|
|
141
162
|
borderRadius: any;
|
|
@@ -504,14 +525,14 @@ declare const Component: {
|
|
|
504
525
|
paddingRight: number;
|
|
505
526
|
};
|
|
506
527
|
};
|
|
507
|
-
actionsRoot: (
|
|
528
|
+
actionsRoot: () => {
|
|
508
529
|
margin: string;
|
|
509
530
|
color: string;
|
|
510
531
|
'& .SCFeedObject-actions-action': {
|
|
511
532
|
textAlign: string;
|
|
512
533
|
};
|
|
513
534
|
};
|
|
514
|
-
actionCommentRoot: (
|
|
535
|
+
actionCommentRoot: () => {
|
|
515
536
|
display: string;
|
|
516
537
|
justifyContent: string;
|
|
517
538
|
alignItems: string;
|
|
@@ -538,7 +559,7 @@ declare const Component: {
|
|
|
538
559
|
};
|
|
539
560
|
};
|
|
540
561
|
};
|
|
541
|
-
actionShareRoot: (
|
|
562
|
+
actionShareRoot: () => {
|
|
542
563
|
display: string;
|
|
543
564
|
justifyContent: string;
|
|
544
565
|
alignItems: string;
|
|
@@ -554,7 +575,7 @@ declare const Component: {
|
|
|
554
575
|
whiteSpace: string;
|
|
555
576
|
};
|
|
556
577
|
};
|
|
557
|
-
actionVoteRoot: (
|
|
578
|
+
actionVoteRoot: () => {
|
|
558
579
|
display: string;
|
|
559
580
|
justifyContent: string;
|
|
560
581
|
alignItems: string;
|
|
@@ -567,7 +588,7 @@ declare const Component: {
|
|
|
567
588
|
borderBottom: number;
|
|
568
589
|
};
|
|
569
590
|
};
|
|
570
|
-
activitiesRoot: (
|
|
591
|
+
activitiesRoot: () => {
|
|
571
592
|
width: string;
|
|
572
593
|
};
|
|
573
594
|
activitiesMenuRoot: ({ theme }: any) => {
|
|
@@ -607,7 +628,7 @@ declare const Component: {
|
|
|
607
628
|
lineHeight: string;
|
|
608
629
|
};
|
|
609
630
|
};
|
|
610
|
-
contributorsSkeletonRoot: (
|
|
631
|
+
contributorsSkeletonRoot: () => {};
|
|
611
632
|
pollObjectRoot: ({ theme }: any) => {
|
|
612
633
|
marginTop: any;
|
|
613
634
|
marginBottom: any;
|
|
@@ -744,10 +765,10 @@ declare const Component: {
|
|
|
744
765
|
};
|
|
745
766
|
};
|
|
746
767
|
};
|
|
747
|
-
activityCommentRoot: (
|
|
748
|
-
activityFollowRoot: (
|
|
749
|
-
activityPollVoteRoot: (
|
|
750
|
-
activityVoteUpRoot: (
|
|
768
|
+
activityCommentRoot: () => {};
|
|
769
|
+
activityFollowRoot: () => {};
|
|
770
|
+
activityPollVoteRoot: () => {};
|
|
771
|
+
activityVoteUpRoot: () => {};
|
|
751
772
|
};
|
|
752
773
|
};
|
|
753
774
|
export default Component;
|
|
@@ -124,7 +124,14 @@ const Component = {
|
|
|
124
124
|
padding: theme.spacing(0.2, 2)
|
|
125
125
|
},
|
|
126
126
|
'& .SCFeedObject-info-section': {
|
|
127
|
-
padding: theme.spacing(0, 2)
|
|
127
|
+
padding: theme.spacing(0, 2),
|
|
128
|
+
'& .SCFeedObject-vote': {
|
|
129
|
+
width: '100%',
|
|
130
|
+
justifyContent: 'space-between',
|
|
131
|
+
'& > button:first-of-type': {
|
|
132
|
+
margin: 'auto'
|
|
133
|
+
}
|
|
134
|
+
}
|
|
128
135
|
},
|
|
129
136
|
'& .SCFeedObject-activity-at': {
|
|
130
137
|
textDecoration: 'none',
|
|
@@ -137,6 +144,20 @@ const Component = {
|
|
|
137
144
|
opacity: 1
|
|
138
145
|
}
|
|
139
146
|
},
|
|
147
|
+
'& .SCFeedObject-obj-element': {
|
|
148
|
+
position: 'relative',
|
|
149
|
+
'& .SCFeedObject-new': {
|
|
150
|
+
position: 'absolute',
|
|
151
|
+
top: '10px',
|
|
152
|
+
left: '10px',
|
|
153
|
+
width: '9px',
|
|
154
|
+
height: '9px',
|
|
155
|
+
backgroundColor: theme.palette.secondary.main,
|
|
156
|
+
border: `1px solid ${theme.palette.common.white}`,
|
|
157
|
+
borderRadius: '9999px',
|
|
158
|
+
filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
|
|
159
|
+
}
|
|
160
|
+
},
|
|
140
161
|
'&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
|
|
141
162
|
border: `0 none`,
|
|
142
163
|
boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
|
|
@@ -503,14 +524,14 @@ const Component = {
|
|
|
503
524
|
paddingRight: 0
|
|
504
525
|
}
|
|
505
526
|
}),
|
|
506
|
-
actionsRoot: (
|
|
527
|
+
actionsRoot: () => ({
|
|
507
528
|
margin: '0px 0px',
|
|
508
529
|
color: '#3A3A3A',
|
|
509
530
|
'& .SCFeedObject-actions-action': {
|
|
510
531
|
textAlign: 'center'
|
|
511
532
|
}
|
|
512
533
|
}),
|
|
513
|
-
actionCommentRoot: (
|
|
534
|
+
actionCommentRoot: () => ({
|
|
514
535
|
display: 'flex',
|
|
515
536
|
justifyContent: 'center',
|
|
516
537
|
alignItems: 'center',
|
|
@@ -537,7 +558,7 @@ const Component = {
|
|
|
537
558
|
}
|
|
538
559
|
}
|
|
539
560
|
}),
|
|
540
|
-
actionShareRoot: (
|
|
561
|
+
actionShareRoot: () => ({
|
|
541
562
|
display: 'flex',
|
|
542
563
|
justifyContent: 'center',
|
|
543
564
|
alignItems: 'center',
|
|
@@ -553,7 +574,7 @@ const Component = {
|
|
|
553
574
|
whiteSpace: 'nowrap'
|
|
554
575
|
}
|
|
555
576
|
}),
|
|
556
|
-
actionVoteRoot: (
|
|
577
|
+
actionVoteRoot: () => ({
|
|
557
578
|
display: 'flex',
|
|
558
579
|
justifyContent: 'center',
|
|
559
580
|
alignItems: 'center',
|
|
@@ -566,7 +587,7 @@ const Component = {
|
|
|
566
587
|
borderBottom: 0
|
|
567
588
|
}
|
|
568
589
|
}),
|
|
569
|
-
activitiesRoot: (
|
|
590
|
+
activitiesRoot: () => ({
|
|
570
591
|
width: '100%'
|
|
571
592
|
}),
|
|
572
593
|
activitiesMenuRoot: ({ theme }) => ({
|
|
@@ -606,7 +627,7 @@ const Component = {
|
|
|
606
627
|
lineHeight: '24px'
|
|
607
628
|
}
|
|
608
629
|
}),
|
|
609
|
-
contributorsSkeletonRoot: (
|
|
630
|
+
contributorsSkeletonRoot: () => ({
|
|
610
631
|
// [`& .${classes.btnParticipants}`]: {
|
|
611
632
|
// marginLeft: -10
|
|
612
633
|
// }
|
|
@@ -749,10 +770,10 @@ const Component = {
|
|
|
749
770
|
}
|
|
750
771
|
}
|
|
751
772
|
}),
|
|
752
|
-
activityCommentRoot: (
|
|
753
|
-
activityFollowRoot: (
|
|
754
|
-
activityPollVoteRoot: (
|
|
755
|
-
activityVoteUpRoot: (
|
|
773
|
+
activityCommentRoot: () => ({}),
|
|
774
|
+
activityFollowRoot: () => ({}),
|
|
775
|
+
activityPollVoteRoot: () => ({}),
|
|
776
|
+
activityVoteUpRoot: () => ({})
|
|
756
777
|
}
|
|
757
778
|
};
|
|
758
779
|
export default Component;
|
|
@@ -6,9 +6,10 @@ declare const Component: {
|
|
|
6
6
|
};
|
|
7
7
|
borderRadius: number;
|
|
8
8
|
paddingBottom: number;
|
|
9
|
+
paddingLeft: any;
|
|
10
|
+
paddingRight: any;
|
|
9
11
|
overflow: string;
|
|
10
12
|
'& .SCBaseItemButton-image': {
|
|
11
|
-
marginRight: any;
|
|
12
13
|
'& .MuiAvatar-root': {
|
|
13
14
|
width: any;
|
|
14
15
|
height: any;
|
|
@@ -38,7 +39,10 @@ declare const Component: {
|
|
|
38
39
|
};
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
|
-
skeletonRoot: ({ theme }: any) => {
|
|
42
|
+
skeletonRoot: ({ theme }: any) => {
|
|
43
|
+
paddingLeft: any;
|
|
44
|
+
paddingRight: any;
|
|
45
|
+
};
|
|
42
46
|
};
|
|
43
47
|
};
|
|
44
48
|
export default Component;
|
|
@@ -3,12 +3,13 @@ const Component = {
|
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
4
|
borderRadius: 0,
|
|
5
5
|
paddingBottom: 0,
|
|
6
|
+
paddingLeft: theme.spacing(),
|
|
7
|
+
paddingRight: theme.spacing(),
|
|
6
8
|
overflow: 'visible',
|
|
7
9
|
[theme.breakpoints.up('sm')]: {
|
|
8
10
|
borderRadius: theme.shape.borderRadiusSm
|
|
9
11
|
},
|
|
10
12
|
'& .SCBaseItemButton-image': {
|
|
11
|
-
marginRight: theme.spacing(1.25),
|
|
12
13
|
'& .MuiAvatar-root': {
|
|
13
14
|
width: theme.selfcommunity.group.avatar.sizeSmall,
|
|
14
15
|
height: theme.selfcommunity.group.avatar.sizeSmall,
|
|
@@ -38,7 +39,10 @@ const Component = {
|
|
|
38
39
|
}
|
|
39
40
|
}
|
|
40
41
|
}),
|
|
41
|
-
skeletonRoot: ({ theme }) => ({
|
|
42
|
+
skeletonRoot: ({ theme }) => ({
|
|
43
|
+
paddingLeft: theme.spacing(),
|
|
44
|
+
paddingRight: theme.spacing(),
|
|
45
|
+
})
|
|
42
46
|
}
|
|
43
47
|
};
|
|
44
48
|
export default Component;
|
|
@@ -39,6 +39,18 @@ declare const Component: {
|
|
|
39
39
|
alignItems: string;
|
|
40
40
|
gap: any;
|
|
41
41
|
};
|
|
42
|
+
'& .SCBuyButton-request-root': {
|
|
43
|
+
fontWeight: any;
|
|
44
|
+
'& .MuiButton-startIcon': {
|
|
45
|
+
marginRight: any;
|
|
46
|
+
'& .MuiIcon-root': {
|
|
47
|
+
fontSize: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
'&.Mui-selected, &:hover': {
|
|
51
|
+
backgroundColor: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
42
54
|
};
|
|
43
55
|
'& .SCGroupHeader-multi-actions': {
|
|
44
56
|
display: string;
|
|
@@ -38,6 +38,18 @@ const Component = {
|
|
|
38
38
|
justifyContent: 'center',
|
|
39
39
|
alignItems: 'center',
|
|
40
40
|
gap: theme.spacing(0.5)
|
|
41
|
+
},
|
|
42
|
+
'& .SCBuyButton-request-root': {
|
|
43
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
44
|
+
'& .MuiButton-startIcon': {
|
|
45
|
+
marginRight: theme.spacing(0.5),
|
|
46
|
+
'& .MuiIcon-root': {
|
|
47
|
+
fontSize: '1.5rem'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
'&.Mui-selected, &:hover': {
|
|
51
|
+
backgroundColor: 'transparent'
|
|
52
|
+
}
|
|
41
53
|
}
|
|
42
54
|
},
|
|
43
55
|
'& .SCGroupHeader-multi-actions': {
|