@selfcommunity/react-theme-default 0.5.0-alpha.1 → 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/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/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/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/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/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/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
|
@@ -5,6 +5,7 @@ const Component = {
|
|
|
5
5
|
margin: 'auto',
|
|
6
6
|
width: '100%',
|
|
7
7
|
position: 'relative',
|
|
8
|
+
gap: theme.spacing(2),
|
|
8
9
|
[theme.breakpoints.down('md')]: {
|
|
9
10
|
minHeight: 170
|
|
10
11
|
},
|
|
@@ -90,11 +91,17 @@ const Component = {
|
|
|
90
91
|
fontSize: 14,
|
|
91
92
|
position: 'relative',
|
|
92
93
|
top: 2
|
|
94
|
+
},
|
|
95
|
+
'& .SCMediaFile-docs-wrapper': {
|
|
96
|
+
gap: theme.spacing(2)
|
|
93
97
|
}
|
|
94
98
|
}),
|
|
95
|
-
lightboxRoot: (
|
|
99
|
+
lightboxRoot: () => ({}),
|
|
96
100
|
previewRoot: ({ theme }) => ({
|
|
97
|
-
|
|
101
|
+
display: 'flex',
|
|
102
|
+
flexDirection: 'column',
|
|
103
|
+
gap: theme.spacing(2),
|
|
104
|
+
'& > div:not(.SCMediaFile-docs-wrapper)': {
|
|
98
105
|
display: 'flex',
|
|
99
106
|
flexDirection: 'row',
|
|
100
107
|
flexWrap: 'nowrap',
|
|
@@ -143,13 +150,57 @@ const Component = {
|
|
|
143
150
|
maxWidth: 200
|
|
144
151
|
}
|
|
145
152
|
}
|
|
153
|
+
},
|
|
154
|
+
'& .SCMediaFile-docs-wrapper': {
|
|
155
|
+
display: 'flex',
|
|
156
|
+
flexDirection: 'column',
|
|
157
|
+
gap: theme.spacing(2)
|
|
146
158
|
}
|
|
147
159
|
}),
|
|
148
|
-
triggerRoot: (
|
|
149
|
-
triggerDrawerRoot: (
|
|
160
|
+
triggerRoot: () => ({}),
|
|
161
|
+
triggerDrawerRoot: () => ({
|
|
150
162
|
zIndex: 1300
|
|
151
163
|
}),
|
|
152
|
-
triggerMenuRoot: (
|
|
164
|
+
triggerMenuRoot: () => ({}),
|
|
165
|
+
docRoot: ({ theme }) => ({
|
|
166
|
+
borderRadius: '10px',
|
|
167
|
+
border: '1px solid #DDD',
|
|
168
|
+
padding: theme.spacing(1),
|
|
169
|
+
flexDirection: 'row',
|
|
170
|
+
gap: '8px',
|
|
171
|
+
'& .SCMediaFile-image': {
|
|
172
|
+
width: '50px',
|
|
173
|
+
height: '50px',
|
|
174
|
+
flexShrink: 0
|
|
175
|
+
},
|
|
176
|
+
'& .SCMediaFile-text-wrapper': {
|
|
177
|
+
gap: '4px',
|
|
178
|
+
[theme.breakpoints.down('sm')]: {
|
|
179
|
+
maxWidth: '57%'
|
|
180
|
+
},
|
|
181
|
+
'& .SCMediaFile-title': {
|
|
182
|
+
textAlign: 'left',
|
|
183
|
+
display: '-webkit-box',
|
|
184
|
+
'-webkit-line-clamp': '1',
|
|
185
|
+
'-webkit-box-orient': 'vertical',
|
|
186
|
+
overflow: 'hidden'
|
|
187
|
+
},
|
|
188
|
+
'& .SCMediaFile-subtitle': {
|
|
189
|
+
textAlign: 'left',
|
|
190
|
+
color: theme.palette.grey['600']
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
'& .SCMediaFile-action-wrapper': {
|
|
194
|
+
flexDirection: 'row',
|
|
195
|
+
gap: '8px',
|
|
196
|
+
marginLeft: 'auto',
|
|
197
|
+
'& .SCMediaFile-action': {
|
|
198
|
+
'&:hover': {
|
|
199
|
+
backgroundColor: theme.palette.common.white
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
})
|
|
153
204
|
}
|
|
154
205
|
};
|
|
155
206
|
export default Component;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
displayRoot: ({ theme }: any) => {
|
|
4
|
+
marginTop: any;
|
|
4
5
|
'& .SCMediaLink-link': {
|
|
5
6
|
position: string;
|
|
6
7
|
backgroundColor: string;
|
|
@@ -115,7 +116,7 @@ declare const Component: {
|
|
|
115
116
|
};
|
|
116
117
|
};
|
|
117
118
|
};
|
|
118
|
-
triggerRoot: (
|
|
119
|
+
triggerRoot: () => {};
|
|
119
120
|
};
|
|
120
121
|
};
|
|
121
122
|
export default Component;
|
|
@@ -2,6 +2,7 @@ import { alpha } from '@mui/system';
|
|
|
2
2
|
const Component = {
|
|
3
3
|
styleOverrides: {
|
|
4
4
|
displayRoot: ({ theme }) => ({
|
|
5
|
+
marginTop: theme.spacing(2),
|
|
5
6
|
'& .SCMediaLink-link': {
|
|
6
7
|
position: 'relative',
|
|
7
8
|
backgroundColor: '#F5F5F5',
|
|
@@ -116,7 +117,7 @@ const Component = {
|
|
|
116
117
|
}
|
|
117
118
|
}
|
|
118
119
|
}),
|
|
119
|
-
triggerRoot: (
|
|
120
|
+
triggerRoot: () => ({})
|
|
120
121
|
}
|
|
121
122
|
};
|
|
122
123
|
export default Component;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCPaymentOrder-details': {
|
|
7
|
+
marginTop: any;
|
|
8
|
+
marginLeft: any;
|
|
9
|
+
'& p': {
|
|
10
|
+
marginBottom: any;
|
|
11
|
+
};
|
|
12
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
13
|
+
marginTop: any;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
skeletonRoot: ({ theme }: {
|
|
18
|
+
theme: any;
|
|
19
|
+
}) => {};
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default Component;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCPaymentOrder-details': {
|
|
5
|
+
marginTop: theme.spacing(),
|
|
6
|
+
marginLeft: theme.spacing(),
|
|
7
|
+
'& p': {
|
|
8
|
+
marginBottom: theme.spacing()
|
|
9
|
+
},
|
|
10
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
11
|
+
marginTop: theme.spacing()
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}),
|
|
15
|
+
skeletonRoot: ({ theme }) => ({})
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export default Component;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
paddingLeft: number;
|
|
7
|
+
paddingRight: number;
|
|
8
|
+
width: string;
|
|
9
|
+
minWidth: number;
|
|
10
|
+
marginLeft: any;
|
|
11
|
+
marginRight: any;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default Component;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
paddingLeft: 4,
|
|
5
|
+
paddingRight: 4,
|
|
6
|
+
width: 'auto',
|
|
7
|
+
minWidth: 31,
|
|
8
|
+
marginLeft: theme.spacing(),
|
|
9
|
+
marginRight: theme.spacing(),
|
|
10
|
+
height: 30
|
|
11
|
+
})
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export default Component;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCPaymentOrders-content': {
|
|
5
|
+
position: string;
|
|
6
|
+
margin: any;
|
|
7
|
+
'& table': {
|
|
8
|
+
'& tr': {
|
|
9
|
+
'& th': {
|
|
10
|
+
zIndex: number;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
'& .SCGroup-root, .SCCategory-root': {
|
|
14
|
+
borderRadius: any;
|
|
15
|
+
maxWidth: string;
|
|
16
|
+
};
|
|
17
|
+
'& .SCPaymentProduct-root': {
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
border: string;
|
|
20
|
+
boxShadow: string;
|
|
21
|
+
color: any;
|
|
22
|
+
'& .MuiAccordionSummary-root': {
|
|
23
|
+
backgroundColor: any;
|
|
24
|
+
opacity: number;
|
|
25
|
+
borderRadius: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
'& .MuiCircularProgress-root': {
|
|
30
|
+
display: string;
|
|
31
|
+
margin: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
'& .SCPaymentOrders-filters': {
|
|
35
|
+
[x: number]: {
|
|
36
|
+
width: string;
|
|
37
|
+
};
|
|
38
|
+
alignItems: string;
|
|
39
|
+
margin: any;
|
|
40
|
+
width: string;
|
|
41
|
+
'& .SCPaymentOrders-search': {
|
|
42
|
+
'& .MuiInputBase-root': {
|
|
43
|
+
paddingRight: number;
|
|
44
|
+
'& .MuiButtonBase-root': {
|
|
45
|
+
borderRadius: string;
|
|
46
|
+
height: string;
|
|
47
|
+
'& .MuiButton-endIcon': {
|
|
48
|
+
margin: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
'& .SCPaymentOrders-picker': {
|
|
54
|
+
'& .MuiOutlinedInput-root': {
|
|
55
|
+
paddingRight: any;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
export default Component;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCPaymentOrders-content': {
|
|
5
|
+
position: 'relative',
|
|
6
|
+
margin: theme.spacing(1, 2),
|
|
7
|
+
'& table': {
|
|
8
|
+
'& tr': {
|
|
9
|
+
'& th': {
|
|
10
|
+
zIndex: 1
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
'& .SCGroup-root, .SCCategory-root': {
|
|
14
|
+
borderRadius: theme.shape.borderRadius,
|
|
15
|
+
maxWidth: '96%'
|
|
16
|
+
},
|
|
17
|
+
'& .SCPaymentProduct-root': {
|
|
18
|
+
borderRadius: `${theme.shape.borderRadius}px !important`,
|
|
19
|
+
border: '1px solid #e5e5e5',
|
|
20
|
+
boxShadow: 'none',
|
|
21
|
+
color: theme.palette.text.primary,
|
|
22
|
+
'& .MuiAccordionSummary-root': {
|
|
23
|
+
backgroundColor: theme.palette.background.paper,
|
|
24
|
+
opacity: 1,
|
|
25
|
+
borderRadius: theme.shape.borderRadius
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
'& .MuiCircularProgress-root': {
|
|
30
|
+
display: 'block',
|
|
31
|
+
margin: `${theme.spacing(7)} auto`
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
'& .SCPaymentOrders-filters': {
|
|
35
|
+
alignItems: 'center',
|
|
36
|
+
margin: theme.spacing(2),
|
|
37
|
+
width: '94%',
|
|
38
|
+
[theme.breakpoints.down('sm')]: {
|
|
39
|
+
width: '90%'
|
|
40
|
+
},
|
|
41
|
+
'& .SCPaymentOrders-search': {
|
|
42
|
+
'& .MuiInputBase-root': {
|
|
43
|
+
paddingRight: 0,
|
|
44
|
+
'& .MuiButtonBase-root': {
|
|
45
|
+
borderRadius: '0 5px 5px 0',
|
|
46
|
+
height: '37px',
|
|
47
|
+
'& .MuiButton-endIcon': {
|
|
48
|
+
margin: 0
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
'& .SCPaymentOrders-picker': {
|
|
54
|
+
'& .MuiOutlinedInput-root': {
|
|
55
|
+
paddingRight: theme.spacing(0.5)
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
export default Component;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
marginBottom: any;
|
|
7
|
+
borderRadius: string;
|
|
8
|
+
boxShadow: string;
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
'& .MuiCardContent-root': {
|
|
11
|
+
'& .SCBaseItem-root': {
|
|
12
|
+
backgroundColor: string;
|
|
13
|
+
};
|
|
14
|
+
'& .MuiTypography-body1': {
|
|
15
|
+
[x: number]: {
|
|
16
|
+
fontSize: any;
|
|
17
|
+
};
|
|
18
|
+
fontWeight: number;
|
|
19
|
+
color: any;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
'& .SCPaymentProductPrice-root': {
|
|
23
|
+
width: string;
|
|
24
|
+
paddingLeft: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
skeletonRoot: ({ theme }: {
|
|
28
|
+
theme: any;
|
|
29
|
+
}) => {
|
|
30
|
+
marginBottom: any;
|
|
31
|
+
borderRadius: string;
|
|
32
|
+
boxShadow: string;
|
|
33
|
+
backgroundColor: any;
|
|
34
|
+
'& .MuiCardContent-root': {
|
|
35
|
+
marginBottom: any;
|
|
36
|
+
'& .SCBaseItem-root': {
|
|
37
|
+
backgroundColor: string;
|
|
38
|
+
boxShadow: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
'& .SCPaymentProductPrice-skeleton-root': {
|
|
42
|
+
marginTop: any;
|
|
43
|
+
width: string;
|
|
44
|
+
paddingLeft: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export default Component;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
marginBottom: theme.spacing(2),
|
|
5
|
+
borderRadius: '10px',
|
|
6
|
+
boxShadow: 'none',
|
|
7
|
+
backgroundColor: theme.palette.grey['A200'],
|
|
8
|
+
'& .MuiCardContent-root': {
|
|
9
|
+
'& .SCBaseItem-root': {
|
|
10
|
+
backgroundColor: 'transparent'
|
|
11
|
+
},
|
|
12
|
+
'& .MuiTypography-body1': {
|
|
13
|
+
fontWeight: 200,
|
|
14
|
+
color: theme.palette.grey[600],
|
|
15
|
+
[theme.breakpoints.down('sm')]: {
|
|
16
|
+
fontSize: theme.typography.pxToRem(12)
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .SCPaymentProductPrice-root': {
|
|
21
|
+
width: 'auto',
|
|
22
|
+
paddingLeft: `${theme.spacing(0)} !important`
|
|
23
|
+
}
|
|
24
|
+
}),
|
|
25
|
+
skeletonRoot: ({ theme }) => ({
|
|
26
|
+
marginBottom: theme.spacing(2),
|
|
27
|
+
borderRadius: '10px',
|
|
28
|
+
boxShadow: 'none',
|
|
29
|
+
backgroundColor: theme.palette.grey['A200'],
|
|
30
|
+
'& .MuiCardContent-root': {
|
|
31
|
+
marginBottom: theme.spacing(1),
|
|
32
|
+
'& .SCBaseItem-root': {
|
|
33
|
+
backgroundColor: 'transparent',
|
|
34
|
+
boxShadow: 'none'
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
'& .SCPaymentProductPrice-skeleton-root': {
|
|
38
|
+
marginTop: theme.spacing(1),
|
|
39
|
+
width: 'auto',
|
|
40
|
+
paddingLeft: `${theme.spacing(0)} !important`
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
export default Component;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
borderRadius: number;
|
|
7
|
+
boxShadow: string;
|
|
8
|
+
'& .SCPaymentProductPrice-primary': {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
fontWeight: string;
|
|
11
|
+
color: string;
|
|
12
|
+
};
|
|
13
|
+
'& .SCPaymentProductPrice-button': {
|
|
14
|
+
textTransform: string;
|
|
15
|
+
'&:hover, &:active': {
|
|
16
|
+
backgroundColor: any;
|
|
17
|
+
color: any;
|
|
18
|
+
border: string;
|
|
19
|
+
'& .MuiIcon-root': {
|
|
20
|
+
color: any;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
'& .SCPaymentProductPrice-button-purchased': {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
};
|
|
28
|
+
'& .SCPaymentProductPrice-purchased-at': {
|
|
29
|
+
textDecoration: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
skeletonRoot: ({ theme }: {
|
|
33
|
+
theme: any;
|
|
34
|
+
}) => {
|
|
35
|
+
borderRadius: number;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export default Component;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
borderRadius: 0,
|
|
5
|
+
boxShadow: 'none',
|
|
6
|
+
'& .SCPaymentProductPrice-primary': {
|
|
7
|
+
fontSize: '18px',
|
|
8
|
+
fontWeight: '600 !important',
|
|
9
|
+
color: `${theme.palette.primary.main} !important`
|
|
10
|
+
},
|
|
11
|
+
'& .SCPaymentProductPrice-button': {
|
|
12
|
+
textTransform: 'uppercase',
|
|
13
|
+
'&:hover, &:active': {
|
|
14
|
+
backgroundColor: theme.palette.common.white,
|
|
15
|
+
color: theme.palette.primary.main,
|
|
16
|
+
border: `1px solid ${theme.palette.primary.main}`,
|
|
17
|
+
'& .MuiIcon-root': {
|
|
18
|
+
color: theme.palette.primary.main
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'& .SCPaymentProductPrice-button-purchased': {
|
|
23
|
+
backgroundColor: `${theme.palette.secondary.main} !important`,
|
|
24
|
+
color: `${theme.palette.secondary.contrastText} !important`
|
|
25
|
+
},
|
|
26
|
+
'& .SCPaymentProductPrice-purchased-at': {
|
|
27
|
+
textDecoration: 'underline'
|
|
28
|
+
}
|
|
29
|
+
}),
|
|
30
|
+
skeletonRoot: ({ theme }) => ({
|
|
31
|
+
borderRadius: 0
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export default Component;
|