@selfcommunity/react-theme-default 0.5.0-alpha.0 → 0.5.0-alpha.2
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 +2 -2
- package/lib/cjs/components/SCBottomNavigation.js +2 -2
- 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 +16 -0
- package/lib/cjs/components/SCComposer.js +16 -0
- package/lib/cjs/components/SCCourse.d.ts +19 -1
- package/lib/cjs/components/SCCourse.js +19 -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/SCEditCourse.d.ts +7 -0
- package/lib/cjs/components/SCEditCourse.js +7 -0
- 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 +17 -10
- package/lib/cjs/components/SCFeedObject.js +18 -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 +58 -5
- package/lib/cjs/components/SCMediaFile.js +56 -5
- package/lib/cjs/components/SCMediaLink.d.ts +2 -1
- package/lib/cjs/components/SCMediaLink.js +2 -1
- package/lib/cjs/components/SCNavigationToolbar.js +2 -2
- package/lib/cjs/components/SCNavigationToolbarMobile.js +2 -2
- 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 +157 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +160 -0
- package/lib/cjs/components/SCPdfPreview.d.ts +29 -0
- package/lib/cjs/components/SCPdfPreview.js +31 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +7 -7
- 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 +849 -39
- package/lib/cjs/index.js +47 -1
- package/lib/esm/components/MuiAppBar.js +1 -1
- package/lib/esm/components/SCBottomNavigation.js +1 -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 +16 -0
- package/lib/esm/components/SCComposer.js +16 -0
- package/lib/esm/components/SCCourse.d.ts +19 -1
- package/lib/esm/components/SCCourse.js +19 -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/SCEditCourse.d.ts +7 -0
- package/lib/esm/components/SCEditCourse.js +7 -0
- 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 +17 -10
- package/lib/esm/components/SCFeedObject.js +18 -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 +58 -5
- package/lib/esm/components/SCMediaFile.js +56 -5
- package/lib/esm/components/SCMediaLink.d.ts +2 -1
- package/lib/esm/components/SCMediaLink.js +2 -1
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNavigationToolbarMobile.js +1 -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 +157 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +158 -0
- package/lib/esm/components/SCPdfPreview.d.ts +29 -0
- package/lib/esm/components/SCPdfPreview.js +29 -0
- package/lib/esm/components/SCSearchAutocomplete.js +1 -1
- 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 +849 -39
- 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
|
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,9 @@ const Component = {
|
|
|
69
80
|
fontWeight: 700,
|
|
70
81
|
padding: theme.spacing(0.5)
|
|
71
82
|
}
|
|
83
|
+
},
|
|
84
|
+
'& .SCBaseItemButton-actions': {
|
|
85
|
+
marginRight: theme.spacing()
|
|
72
86
|
}
|
|
73
87
|
}),
|
|
74
88
|
previewRoot: ({ theme }) => ({
|
|
@@ -262,6 +276,10 @@ const Component = {
|
|
|
262
276
|
transform: 'translate(-50%, -50%)'
|
|
263
277
|
}
|
|
264
278
|
}
|
|
279
|
+
},
|
|
280
|
+
'&.MuiPaper-outlined': {
|
|
281
|
+
paddingLeft: theme.spacing(),
|
|
282
|
+
paddingRight: theme.spacing()
|
|
265
283
|
}
|
|
266
284
|
})
|
|
267
285
|
}
|
|
@@ -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
|
},
|
|
@@ -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;
|
|
@@ -504,14 +511,14 @@ declare const Component: {
|
|
|
504
511
|
paddingRight: number;
|
|
505
512
|
};
|
|
506
513
|
};
|
|
507
|
-
actionsRoot: (
|
|
514
|
+
actionsRoot: () => {
|
|
508
515
|
margin: string;
|
|
509
516
|
color: string;
|
|
510
517
|
'& .SCFeedObject-actions-action': {
|
|
511
518
|
textAlign: string;
|
|
512
519
|
};
|
|
513
520
|
};
|
|
514
|
-
actionCommentRoot: (
|
|
521
|
+
actionCommentRoot: () => {
|
|
515
522
|
display: string;
|
|
516
523
|
justifyContent: string;
|
|
517
524
|
alignItems: string;
|
|
@@ -538,7 +545,7 @@ declare const Component: {
|
|
|
538
545
|
};
|
|
539
546
|
};
|
|
540
547
|
};
|
|
541
|
-
actionShareRoot: (
|
|
548
|
+
actionShareRoot: () => {
|
|
542
549
|
display: string;
|
|
543
550
|
justifyContent: string;
|
|
544
551
|
alignItems: string;
|
|
@@ -554,7 +561,7 @@ declare const Component: {
|
|
|
554
561
|
whiteSpace: string;
|
|
555
562
|
};
|
|
556
563
|
};
|
|
557
|
-
actionVoteRoot: (
|
|
564
|
+
actionVoteRoot: () => {
|
|
558
565
|
display: string;
|
|
559
566
|
justifyContent: string;
|
|
560
567
|
alignItems: string;
|
|
@@ -567,7 +574,7 @@ declare const Component: {
|
|
|
567
574
|
borderBottom: number;
|
|
568
575
|
};
|
|
569
576
|
};
|
|
570
|
-
activitiesRoot: (
|
|
577
|
+
activitiesRoot: () => {
|
|
571
578
|
width: string;
|
|
572
579
|
};
|
|
573
580
|
activitiesMenuRoot: ({ theme }: any) => {
|
|
@@ -607,7 +614,7 @@ declare const Component: {
|
|
|
607
614
|
lineHeight: string;
|
|
608
615
|
};
|
|
609
616
|
};
|
|
610
|
-
contributorsSkeletonRoot: (
|
|
617
|
+
contributorsSkeletonRoot: () => {};
|
|
611
618
|
pollObjectRoot: ({ theme }: any) => {
|
|
612
619
|
marginTop: any;
|
|
613
620
|
marginBottom: any;
|
|
@@ -744,10 +751,10 @@ declare const Component: {
|
|
|
744
751
|
};
|
|
745
752
|
};
|
|
746
753
|
};
|
|
747
|
-
activityCommentRoot: (
|
|
748
|
-
activityFollowRoot: (
|
|
749
|
-
activityPollVoteRoot: (
|
|
750
|
-
activityVoteUpRoot: (
|
|
754
|
+
activityCommentRoot: () => {};
|
|
755
|
+
activityFollowRoot: () => {};
|
|
756
|
+
activityPollVoteRoot: () => {};
|
|
757
|
+
activityVoteUpRoot: () => {};
|
|
751
758
|
};
|
|
752
759
|
};
|
|
753
760
|
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',
|
|
@@ -503,14 +510,14 @@ const Component = {
|
|
|
503
510
|
paddingRight: 0
|
|
504
511
|
}
|
|
505
512
|
}),
|
|
506
|
-
actionsRoot: (
|
|
513
|
+
actionsRoot: () => ({
|
|
507
514
|
margin: '0px 0px',
|
|
508
515
|
color: '#3A3A3A',
|
|
509
516
|
'& .SCFeedObject-actions-action': {
|
|
510
517
|
textAlign: 'center'
|
|
511
518
|
}
|
|
512
519
|
}),
|
|
513
|
-
actionCommentRoot: (
|
|
520
|
+
actionCommentRoot: () => ({
|
|
514
521
|
display: 'flex',
|
|
515
522
|
justifyContent: 'center',
|
|
516
523
|
alignItems: 'center',
|
|
@@ -537,7 +544,7 @@ const Component = {
|
|
|
537
544
|
}
|
|
538
545
|
}
|
|
539
546
|
}),
|
|
540
|
-
actionShareRoot: (
|
|
547
|
+
actionShareRoot: () => ({
|
|
541
548
|
display: 'flex',
|
|
542
549
|
justifyContent: 'center',
|
|
543
550
|
alignItems: 'center',
|
|
@@ -553,7 +560,7 @@ const Component = {
|
|
|
553
560
|
whiteSpace: 'nowrap'
|
|
554
561
|
}
|
|
555
562
|
}),
|
|
556
|
-
actionVoteRoot: (
|
|
563
|
+
actionVoteRoot: () => ({
|
|
557
564
|
display: 'flex',
|
|
558
565
|
justifyContent: 'center',
|
|
559
566
|
alignItems: 'center',
|
|
@@ -566,7 +573,7 @@ const Component = {
|
|
|
566
573
|
borderBottom: 0
|
|
567
574
|
}
|
|
568
575
|
}),
|
|
569
|
-
activitiesRoot: (
|
|
576
|
+
activitiesRoot: () => ({
|
|
570
577
|
width: '100%'
|
|
571
578
|
}),
|
|
572
579
|
activitiesMenuRoot: ({ theme }) => ({
|
|
@@ -606,7 +613,7 @@ const Component = {
|
|
|
606
613
|
lineHeight: '24px'
|
|
607
614
|
}
|
|
608
615
|
}),
|
|
609
|
-
contributorsSkeletonRoot: (
|
|
616
|
+
contributorsSkeletonRoot: () => ({
|
|
610
617
|
// [`& .${classes.btnParticipants}`]: {
|
|
611
618
|
// marginLeft: -10
|
|
612
619
|
// }
|
|
@@ -749,10 +756,10 @@ const Component = {
|
|
|
749
756
|
}
|
|
750
757
|
}
|
|
751
758
|
}),
|
|
752
|
-
activityCommentRoot: (
|
|
753
|
-
activityFollowRoot: (
|
|
754
|
-
activityPollVoteRoot: (
|
|
755
|
-
activityVoteUpRoot: (
|
|
759
|
+
activityCommentRoot: () => ({}),
|
|
760
|
+
activityFollowRoot: () => ({}),
|
|
761
|
+
activityPollVoteRoot: () => ({}),
|
|
762
|
+
activityVoteUpRoot: () => ({})
|
|
756
763
|
}
|
|
757
764
|
};
|
|
758
765
|
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': {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
buyButtonRoot: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
border: string;
|
|
7
|
+
'&:hover, &:active': {
|
|
8
|
+
backgroundColor: any;
|
|
9
|
+
color: any;
|
|
10
|
+
border: string;
|
|
11
|
+
'& .MuiIcon-root': {
|
|
12
|
+
color: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default Component;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
buyButtonRoot: ({ theme }) => ({
|
|
4
|
+
border: `1px solid transparent`,
|
|
5
|
+
'&:hover, &:active': {
|
|
6
|
+
backgroundColor: theme.palette.common.white,
|
|
7
|
+
color: theme.palette.primary.main,
|
|
8
|
+
border: `1px solid ${theme.palette.primary.main}`,
|
|
9
|
+
'& .MuiIcon-root': {
|
|
10
|
+
color: theme.palette.primary.main
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
export default Component;
|
|
@@ -8,6 +8,7 @@ declare const Component: {
|
|
|
8
8
|
margin: string;
|
|
9
9
|
width: string;
|
|
10
10
|
position: string;
|
|
11
|
+
gap: any;
|
|
11
12
|
'& .SCMediaFile-background': {
|
|
12
13
|
backgroundSize: string;
|
|
13
14
|
backgroundPosition: string;
|
|
@@ -91,10 +92,16 @@ declare const Component: {
|
|
|
91
92
|
position: string;
|
|
92
93
|
top: number;
|
|
93
94
|
};
|
|
95
|
+
'& .SCMediaFile-docs-wrapper': {
|
|
96
|
+
gap: any;
|
|
97
|
+
};
|
|
94
98
|
};
|
|
95
|
-
lightboxRoot: (
|
|
99
|
+
lightboxRoot: () => {};
|
|
96
100
|
previewRoot: ({ theme }: any) => {
|
|
97
|
-
|
|
101
|
+
display: string;
|
|
102
|
+
flexDirection: string;
|
|
103
|
+
gap: any;
|
|
104
|
+
'& > div:not(.SCMediaFile-docs-wrapper)': {
|
|
98
105
|
display: string;
|
|
99
106
|
flexDirection: string;
|
|
100
107
|
flexWrap: string;
|
|
@@ -144,12 +151,58 @@ declare const Component: {
|
|
|
144
151
|
};
|
|
145
152
|
};
|
|
146
153
|
};
|
|
154
|
+
'& .SCMediaFile-docs-wrapper': {
|
|
155
|
+
display: string;
|
|
156
|
+
flexDirection: string;
|
|
157
|
+
gap: any;
|
|
158
|
+
};
|
|
147
159
|
};
|
|
148
|
-
triggerRoot: (
|
|
149
|
-
triggerDrawerRoot: (
|
|
160
|
+
triggerRoot: () => {};
|
|
161
|
+
triggerDrawerRoot: () => {
|
|
150
162
|
zIndex: number;
|
|
151
163
|
};
|
|
152
|
-
triggerMenuRoot: (
|
|
164
|
+
triggerMenuRoot: () => {};
|
|
165
|
+
docRoot: ({ theme }: {
|
|
166
|
+
theme: any;
|
|
167
|
+
}) => {
|
|
168
|
+
borderRadius: string;
|
|
169
|
+
border: string;
|
|
170
|
+
padding: any;
|
|
171
|
+
flexDirection: string;
|
|
172
|
+
gap: string;
|
|
173
|
+
'& .SCMediaFile-image': {
|
|
174
|
+
width: string;
|
|
175
|
+
height: string;
|
|
176
|
+
flexShrink: number;
|
|
177
|
+
};
|
|
178
|
+
'& .SCMediaFile-text-wrapper': {
|
|
179
|
+
[x: number]: {
|
|
180
|
+
maxWidth: string;
|
|
181
|
+
};
|
|
182
|
+
gap: string;
|
|
183
|
+
'& .SCMediaFile-title': {
|
|
184
|
+
textAlign: string;
|
|
185
|
+
display: string;
|
|
186
|
+
'-webkit-line-clamp': string;
|
|
187
|
+
'-webkit-box-orient': string;
|
|
188
|
+
overflow: string;
|
|
189
|
+
};
|
|
190
|
+
'& .SCMediaFile-subtitle': {
|
|
191
|
+
textAlign: string;
|
|
192
|
+
color: any;
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
'& .SCMediaFile-action-wrapper': {
|
|
196
|
+
flexDirection: string;
|
|
197
|
+
gap: string;
|
|
198
|
+
marginLeft: string;
|
|
199
|
+
'& .SCMediaFile-action': {
|
|
200
|
+
'&:hover': {
|
|
201
|
+
backgroundColor: any;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
153
206
|
};
|
|
154
207
|
};
|
|
155
208
|
export default Component;
|