@selfcommunity/react-theme-default 0.4.5-payments.182 → 0.5.0-alpha.1
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/SCCategoryHeader.d.ts +0 -4
- package/lib/cjs/components/SCCategoryHeader.js +1 -5
- package/lib/cjs/components/SCEditCourse.d.ts +0 -7
- package/lib/cjs/components/SCEditCourse.js +0 -7
- package/lib/cjs/components/SCEventForm.d.ts +0 -3
- package/lib/cjs/components/SCEventForm.js +0 -3
- package/lib/cjs/components/SCNavigationToolbar.js +2 -2
- package/lib/cjs/components/SCNavigationToolbarMobile.js +2 -2
- package/lib/cjs/components/SCSearchAutocomplete.js +7 -7
- package/lib/cjs/index.d.ts +0 -415
- package/lib/cjs/index.js +1 -35
- package/lib/esm/components/MuiAppBar.js +1 -1
- package/lib/esm/components/SCBottomNavigation.js +1 -1
- package/lib/esm/components/SCCategoryHeader.d.ts +0 -4
- package/lib/esm/components/SCCategoryHeader.js +1 -5
- package/lib/esm/components/SCEditCourse.d.ts +0 -7
- package/lib/esm/components/SCEditCourse.js +0 -7
- package/lib/esm/components/SCEventForm.d.ts +0 -3
- package/lib/esm/components/SCEventForm.js +0 -3
- package/lib/esm/components/SCNavigationToolbar.js +1 -1
- package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
- package/lib/esm/components/SCSearchAutocomplete.js +1 -1
- package/lib/esm/index.d.ts +0 -415
- package/lib/esm/index.js +1 -35
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
- package/lib/cjs/components/SCBuyButton.d.ts +0 -15
- package/lib/cjs/components/SCBuyButton.js +0 -13
- package/lib/cjs/components/SCCategoryFollowButton.d.ts +0 -8
- package/lib/cjs/components/SCCategoryFollowButton.js +0 -10
- package/lib/cjs/components/SCCheckout.d.ts +0 -86
- package/lib/cjs/components/SCCheckout.js +0 -86
- package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +0 -30
- package/lib/cjs/components/SCCheckoutReturnDialog.js +0 -30
- package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +0 -8
- package/lib/cjs/components/SCHiddenPurchasableContent.js +0 -10
- package/lib/cjs/components/SCPaymentProduct.d.ts +0 -51
- package/lib/cjs/components/SCPaymentProduct.js +0 -49
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +0 -22
- package/lib/cjs/components/SCPaymentProductPrice.js +0 -20
- package/lib/cjs/components/SCPaymentProducts.d.ts +0 -15
- package/lib/cjs/components/SCPaymentProducts.js +0 -13
- package/lib/cjs/components/SCPaywalls.d.ts +0 -12
- package/lib/cjs/components/SCPaywalls.js +0 -12
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +0 -150
- package/lib/cjs/components/SCPaywallsConfigurator.js +0 -153
- package/lib/esm/components/SCBuyButton.d.ts +0 -15
- package/lib/esm/components/SCBuyButton.js +0 -11
- package/lib/esm/components/SCCategoryFollowButton.d.ts +0 -8
- package/lib/esm/components/SCCategoryFollowButton.js +0 -8
- package/lib/esm/components/SCCheckout.d.ts +0 -86
- package/lib/esm/components/SCCheckout.js +0 -84
- package/lib/esm/components/SCCheckoutReturnDialog.d.ts +0 -30
- package/lib/esm/components/SCCheckoutReturnDialog.js +0 -28
- package/lib/esm/components/SCHiddenPurchasableContent.d.ts +0 -8
- package/lib/esm/components/SCHiddenPurchasableContent.js +0 -8
- package/lib/esm/components/SCPaymentProduct.d.ts +0 -51
- package/lib/esm/components/SCPaymentProduct.js +0 -47
- package/lib/esm/components/SCPaymentProductPrice.d.ts +0 -22
- package/lib/esm/components/SCPaymentProductPrice.js +0 -18
- package/lib/esm/components/SCPaymentProducts.d.ts +0 -15
- package/lib/esm/components/SCPaymentProducts.js +0 -11
- package/lib/esm/components/SCPaywalls.d.ts +0 -12
- package/lib/esm/components/SCPaywalls.js +0 -10
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +0 -150
- package/lib/esm/components/SCPaywallsConfigurator.js +0 -151
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selfcommunity/react-theme-default",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-alpha.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -121,5 +121,5 @@
|
|
|
121
121
|
"bugs": {
|
|
122
122
|
"url": "https://github.com/selfcommunity/community-js/issues"
|
|
123
123
|
},
|
|
124
|
-
"gitHead": "
|
|
124
|
+
"gitHead": "85b99aa0d7da8721e63c46f7a8d3304a12e1c2fc"
|
|
125
125
|
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
requestRoot: ({ theme }: {
|
|
4
|
-
theme: any;
|
|
5
|
-
}) => {};
|
|
6
|
-
drawerRoot: ({ theme }: {
|
|
7
|
-
theme: any;
|
|
8
|
-
}) => {
|
|
9
|
-
'& > div.MuiPaper-root': {
|
|
10
|
-
padding: any;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default Component;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
requestRoot: ({ theme }) => ({}),
|
|
6
|
-
drawerRoot: ({ theme }) => ({
|
|
7
|
-
'& > div.MuiPaper-root': {
|
|
8
|
-
padding: theme.spacing(2)
|
|
9
|
-
}
|
|
10
|
-
})
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
exports.default = Component;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: ({ theme }: {
|
|
4
|
-
theme: any;
|
|
5
|
-
}) => {
|
|
6
|
-
position: string;
|
|
7
|
-
backgroundColor: any;
|
|
8
|
-
display: string;
|
|
9
|
-
flexDirection: string;
|
|
10
|
-
justifyContent: string;
|
|
11
|
-
alignItems: string;
|
|
12
|
-
width: string;
|
|
13
|
-
"& .SCCheckout-content": {
|
|
14
|
-
[x: number]: {
|
|
15
|
-
display: string;
|
|
16
|
-
flexDirection: string;
|
|
17
|
-
justifyContent: string;
|
|
18
|
-
alignItems: string;
|
|
19
|
-
};
|
|
20
|
-
width: string;
|
|
21
|
-
maxWidth: number;
|
|
22
|
-
display: string;
|
|
23
|
-
gridTemplateColumns: string;
|
|
24
|
-
gap: number;
|
|
25
|
-
"& .SCCheckout-content-object": {
|
|
26
|
-
[x: number]: {
|
|
27
|
-
width: string;
|
|
28
|
-
};
|
|
29
|
-
position: string;
|
|
30
|
-
display: string;
|
|
31
|
-
flexDirection: string;
|
|
32
|
-
justifyContent: string;
|
|
33
|
-
alignItems: string;
|
|
34
|
-
'& .SCWidget-root': {
|
|
35
|
-
width: string;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
"& .SCCheckout-content-coverage": {
|
|
39
|
-
position: string;
|
|
40
|
-
width: string;
|
|
41
|
-
height: string;
|
|
42
|
-
backgroundColor: string;
|
|
43
|
-
};
|
|
44
|
-
"& .SCCheckout-content-desc": {
|
|
45
|
-
[x: number]: {
|
|
46
|
-
display: string;
|
|
47
|
-
};
|
|
48
|
-
display: string;
|
|
49
|
-
flexDirection: string;
|
|
50
|
-
justifyContent: string;
|
|
51
|
-
alignItems: string;
|
|
52
|
-
maxWidth: number;
|
|
53
|
-
padding: any;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
"& .SCCheckout-checkout": {
|
|
57
|
-
width: string;
|
|
58
|
-
bottom: any;
|
|
59
|
-
};
|
|
60
|
-
"& .SCCheckout-object": {
|
|
61
|
-
[x: number]: {
|
|
62
|
-
minWidth: number;
|
|
63
|
-
width: string;
|
|
64
|
-
};
|
|
65
|
-
margin: any;
|
|
66
|
-
width: string;
|
|
67
|
-
};
|
|
68
|
-
"& .SCCategory-root": {
|
|
69
|
-
borderRadius: any;
|
|
70
|
-
'& a': {
|
|
71
|
-
padding: any;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
"& .SCGroup-root": {
|
|
75
|
-
borderRadius: any;
|
|
76
|
-
'& a': {
|
|
77
|
-
padding: any;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
"& .SCCourse-preview-root": {
|
|
81
|
-
minHeight: string;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
export default Component;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
6
|
-
position: 'relative',
|
|
7
|
-
backgroundColor: theme.palette.background.paper,
|
|
8
|
-
display: 'flex',
|
|
9
|
-
flexDirection: 'column',
|
|
10
|
-
justifyContent: 'space-between',
|
|
11
|
-
alignItems: 'center',
|
|
12
|
-
width: '100%',
|
|
13
|
-
['& .SCCheckout-content']: {
|
|
14
|
-
width: '100%',
|
|
15
|
-
maxWidth: 860,
|
|
16
|
-
display: 'grid',
|
|
17
|
-
gridTemplateColumns: '1fr 1fr',
|
|
18
|
-
gap: 0,
|
|
19
|
-
[theme.breakpoints.down(1034)]: {
|
|
20
|
-
display: 'flex',
|
|
21
|
-
flexDirection: 'column',
|
|
22
|
-
justifyContent: 'space-between',
|
|
23
|
-
alignItems: 'center'
|
|
24
|
-
},
|
|
25
|
-
['& .SCCheckout-content-object']: {
|
|
26
|
-
position: 'relative',
|
|
27
|
-
display: 'flex',
|
|
28
|
-
flexDirection: 'column',
|
|
29
|
-
justifyContent: 'center',
|
|
30
|
-
alignItems: 'flex-start',
|
|
31
|
-
[theme.breakpoints.down('sm')]: {
|
|
32
|
-
width: '90%'
|
|
33
|
-
},
|
|
34
|
-
'& .SCWidget-root': {
|
|
35
|
-
width: '93%'
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
['& .SCCheckout-content-coverage']: {
|
|
39
|
-
position: 'absolute',
|
|
40
|
-
width: '100%',
|
|
41
|
-
height: '100%',
|
|
42
|
-
backgroundColor: 'transparent'
|
|
43
|
-
},
|
|
44
|
-
['& .SCCheckout-content-desc']: {
|
|
45
|
-
display: 'flex',
|
|
46
|
-
flexDirection: 'column',
|
|
47
|
-
justifyContent: 'center',
|
|
48
|
-
alignItems: 'center',
|
|
49
|
-
[theme.breakpoints.down(1034)]: {
|
|
50
|
-
display: 'none'
|
|
51
|
-
},
|
|
52
|
-
maxWidth: 600,
|
|
53
|
-
padding: theme.spacing(4)
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
['& .SCCheckout-checkout']: {
|
|
57
|
-
width: '100%',
|
|
58
|
-
bottom: theme.spacing(2)
|
|
59
|
-
},
|
|
60
|
-
['& .SCCheckout-object']: {
|
|
61
|
-
margin: theme.spacing(2, 2, 0.5, 0),
|
|
62
|
-
width: '100%',
|
|
63
|
-
[theme.breakpoints.up('sm')]: {
|
|
64
|
-
minWidth: 395,
|
|
65
|
-
width: 'auto'
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
['& .SCCategory-root']: {
|
|
69
|
-
borderRadius: theme.shape.borderRadius,
|
|
70
|
-
'& a': {
|
|
71
|
-
padding: theme.spacing(2)
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
['& .SCGroup-root']: {
|
|
75
|
-
borderRadius: theme.shape.borderRadius,
|
|
76
|
-
'& a': {
|
|
77
|
-
padding: theme.spacing(2)
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
['& .SCCourse-preview-root']: {
|
|
81
|
-
minHeight: 'auto'
|
|
82
|
-
}
|
|
83
|
-
})
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
exports.default = Component;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: ({ theme }: {
|
|
4
|
-
theme: any;
|
|
5
|
-
}) => {
|
|
6
|
-
'& .MuiDialogTitle-root': {
|
|
7
|
-
textAlign: string;
|
|
8
|
-
fontSize: string;
|
|
9
|
-
fontWeight: number;
|
|
10
|
-
};
|
|
11
|
-
'& .MuiDialogContent-root': {
|
|
12
|
-
display: string;
|
|
13
|
-
minHeight: number;
|
|
14
|
-
justifyContent: string;
|
|
15
|
-
alignItems: string;
|
|
16
|
-
'& .SCWidget-root': {
|
|
17
|
-
minWidth: number;
|
|
18
|
-
paddingLeft: any;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
'& .SCCheckoutSuccessDialog-content-object': {
|
|
22
|
-
width: string;
|
|
23
|
-
};
|
|
24
|
-
'& .SCCourse-preview-root': {
|
|
25
|
-
minHeight: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default Component;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
6
|
-
'& .MuiDialogTitle-root': {
|
|
7
|
-
textAlign: 'center',
|
|
8
|
-
fontSize: '20px',
|
|
9
|
-
fontWeight: 600
|
|
10
|
-
},
|
|
11
|
-
'& .MuiDialogContent-root': {
|
|
12
|
-
display: 'flex',
|
|
13
|
-
minHeight: 200,
|
|
14
|
-
justifyContent: 'center',
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
'& .SCWidget-root': {
|
|
17
|
-
minWidth: 310,
|
|
18
|
-
paddingLeft: theme.spacing()
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
'& .SCCheckoutSuccessDialog-content-object': {
|
|
22
|
-
width: '100%'
|
|
23
|
-
},
|
|
24
|
-
'& .SCCourse-preview-root': {
|
|
25
|
-
minHeight: 'auto'
|
|
26
|
-
},
|
|
27
|
-
})
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
exports.default = Component;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: ({ theme }: {
|
|
4
|
-
theme: any;
|
|
5
|
-
}) => {
|
|
6
|
-
borderRadius: string;
|
|
7
|
-
'& .MuiAccordionSummary-root': {
|
|
8
|
-
backgroundColor: any;
|
|
9
|
-
'& .MuiAccordionSummary-content': {
|
|
10
|
-
display: string;
|
|
11
|
-
flexDirection: string;
|
|
12
|
-
'& .SCBaseItem-root': {
|
|
13
|
-
backgroundColor: string;
|
|
14
|
-
};
|
|
15
|
-
'& .MuiTypography-body1': {
|
|
16
|
-
[x: number]: {
|
|
17
|
-
fontSize: any;
|
|
18
|
-
};
|
|
19
|
-
fontWeight: number;
|
|
20
|
-
color: any;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
'& .MuiAccordionDetails-root': {
|
|
24
|
-
marginTop: any;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
'& .SCPaymentProductPrice-root': {
|
|
28
|
-
marginBottom: any;
|
|
29
|
-
width: string;
|
|
30
|
-
borderRadius: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
skeletonRoot: ({ theme }: {
|
|
34
|
-
theme: any;
|
|
35
|
-
}) => {
|
|
36
|
-
borderRadius: string;
|
|
37
|
-
'& .MuiAccordionSummary-root': {
|
|
38
|
-
backgroundColor: any;
|
|
39
|
-
marginBottom: any;
|
|
40
|
-
'& .SCBaseItem-root': {
|
|
41
|
-
backgroundColor: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
'& .SCPaymentProductPrice-skeleton-root': {
|
|
45
|
-
marginBottom: any;
|
|
46
|
-
width: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
export default Component;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
6
|
-
borderRadius: '3px !important',
|
|
7
|
-
'& .MuiAccordionSummary-root': {
|
|
8
|
-
backgroundColor: theme.palette.grey[50],
|
|
9
|
-
'& .MuiAccordionSummary-content': {
|
|
10
|
-
display: 'block',
|
|
11
|
-
flexDirection: 'row',
|
|
12
|
-
'& .SCBaseItem-root': {
|
|
13
|
-
backgroundColor: 'transparent'
|
|
14
|
-
},
|
|
15
|
-
'& .MuiTypography-body1': {
|
|
16
|
-
fontWeight: 200,
|
|
17
|
-
color: theme.palette.grey[600],
|
|
18
|
-
[theme.breakpoints.down('sm')]: {
|
|
19
|
-
fontSize: theme.typography.pxToRem(12)
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
'& .MuiAccordionDetails-root': {
|
|
24
|
-
marginTop: theme.spacing()
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
'& .SCPaymentProductPrice-root': {
|
|
28
|
-
marginBottom: theme.spacing(),
|
|
29
|
-
width: 'auto',
|
|
30
|
-
borderRadius: '3px'
|
|
31
|
-
}
|
|
32
|
-
}),
|
|
33
|
-
skeletonRoot: ({ theme }) => ({
|
|
34
|
-
borderRadius: '3px !important',
|
|
35
|
-
'& .MuiAccordionSummary-root': {
|
|
36
|
-
backgroundColor: theme.palette.grey[50],
|
|
37
|
-
marginBottom: theme.spacing(1),
|
|
38
|
-
'& .SCBaseItem-root': {
|
|
39
|
-
backgroundColor: 'transparent'
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
'& .SCPaymentProductPrice-skeleton-root': {
|
|
43
|
-
marginBottom: theme.spacing(),
|
|
44
|
-
width: 'auto'
|
|
45
|
-
}
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.default = Component;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: ({ theme }: {
|
|
4
|
-
theme: any;
|
|
5
|
-
}) => {
|
|
6
|
-
borderRadius: string;
|
|
7
|
-
'& .SCPaymentProductPrice-button-purchased': {
|
|
8
|
-
backgroundColor: string;
|
|
9
|
-
color: string;
|
|
10
|
-
};
|
|
11
|
-
'& .SCPaymentProductPrice-purchased-at': {
|
|
12
|
-
textDecoration: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
skeletonRoot: ({ theme }: {
|
|
16
|
-
theme: any;
|
|
17
|
-
}) => {
|
|
18
|
-
borderRadius: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default Component;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
6
|
-
borderRadius: '3px',
|
|
7
|
-
'& .SCPaymentProductPrice-button-purchased': {
|
|
8
|
-
backgroundColor: `${theme.palette.secondary.main} !important`,
|
|
9
|
-
color: `${theme.palette.secondary.contrastText} !important`
|
|
10
|
-
},
|
|
11
|
-
'& .SCPaymentProductPrice-purchased-at': {
|
|
12
|
-
textDecoration: 'underline'
|
|
13
|
-
}
|
|
14
|
-
}),
|
|
15
|
-
skeletonRoot: ({ theme }) => ({
|
|
16
|
-
borderRadius: '3px'
|
|
17
|
-
})
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
exports.default = Component;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const Component = {
|
|
4
|
-
styleOverrides: {
|
|
5
|
-
root: ({ theme }) => ({
|
|
6
|
-
padding: theme.spacing(0.5),
|
|
7
|
-
}),
|
|
8
|
-
skeletonRoot: ({ theme }) => ({
|
|
9
|
-
padding: theme.spacing(0.5)
|
|
10
|
-
})
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
exports.default = Component;
|
|
@@ -1,150 +0,0 @@
|
|
|
1
|
-
declare const Component: {
|
|
2
|
-
styleOverrides: {
|
|
3
|
-
root: ({ theme }: any) => {
|
|
4
|
-
"& .SCPaywallsConfigurator-new-product": {
|
|
5
|
-
background: string;
|
|
6
|
-
padding: any;
|
|
7
|
-
marginTop: any;
|
|
8
|
-
borderRadius: any;
|
|
9
|
-
};
|
|
10
|
-
"& .SCPaywallsConfigurator-no-product": {
|
|
11
|
-
textDecoration: string;
|
|
12
|
-
paddingLeft: number;
|
|
13
|
-
color: "#bdbdbd";
|
|
14
|
-
};
|
|
15
|
-
"& .SCPaywallsConfigurator-content-access-type": {
|
|
16
|
-
'& > p': {
|
|
17
|
-
marginBottom: any;
|
|
18
|
-
};
|
|
19
|
-
'& .MuiPaper-root': {
|
|
20
|
-
borderColor: string;
|
|
21
|
-
};
|
|
22
|
-
'& .MuiAccordion-root:first-of-type': {
|
|
23
|
-
borderTopLeftRadius: number;
|
|
24
|
-
borderTopRightRadius: number;
|
|
25
|
-
};
|
|
26
|
-
'& .MuiAccordion-root:last-of-type': {
|
|
27
|
-
borderBottomLeftRadius: number;
|
|
28
|
-
borderBottomRightRadius: number;
|
|
29
|
-
};
|
|
30
|
-
"& .SCPaywallsConfigurator-selected-payment-products-list": {
|
|
31
|
-
borderTop: string;
|
|
32
|
-
marginTop: number;
|
|
33
|
-
};
|
|
34
|
-
"& .SCPaywallsConfigurator-add-payment-product": {
|
|
35
|
-
position: string;
|
|
36
|
-
left: number;
|
|
37
|
-
'& .MuiButton-startIcon': {
|
|
38
|
-
fontSize: string;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
paymentProductsAutocompletePopperRoot: ({ theme }: any) => {
|
|
44
|
-
"& .MuiAutocomplete-paper": {
|
|
45
|
-
boxShadow: string;
|
|
46
|
-
margin: number;
|
|
47
|
-
color: string;
|
|
48
|
-
fontSize: number;
|
|
49
|
-
};
|
|
50
|
-
"& .MuiAutocomplete-listbox": {
|
|
51
|
-
backgroundColor: string;
|
|
52
|
-
padding: number;
|
|
53
|
-
"& .MuiAutocomplete-option": {
|
|
54
|
-
minHeight: string;
|
|
55
|
-
alignItems: string;
|
|
56
|
-
padding: number;
|
|
57
|
-
borderBottom: string;
|
|
58
|
-
'&[aria-selected="true"]': {
|
|
59
|
-
backgroundColor: string;
|
|
60
|
-
};
|
|
61
|
-
"&.MuiAutocomplete-focused, &.MuiAutocomplete-focused[aria-selected=\"true\"]": {
|
|
62
|
-
backgroundColor: any;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
"&.MuiAutocomplete-popperDisablePortal": {
|
|
67
|
-
position: string;
|
|
68
|
-
};
|
|
69
|
-
"& .SCPaywallsConfigurator-product-check-icon": {
|
|
70
|
-
width: number;
|
|
71
|
-
height: number;
|
|
72
|
-
margin: string;
|
|
73
|
-
};
|
|
74
|
-
"& .SCPaywallsConfigurator-product-card-icon": {
|
|
75
|
-
width: number;
|
|
76
|
-
height: number;
|
|
77
|
-
flexShrink: number;
|
|
78
|
-
borderRadius: string;
|
|
79
|
-
marginRight: any;
|
|
80
|
-
marginTop: string;
|
|
81
|
-
padding: string;
|
|
82
|
-
backgroundColor: string;
|
|
83
|
-
color: string;
|
|
84
|
-
};
|
|
85
|
-
"& .SCPaywallsConfigurator-product-content": {
|
|
86
|
-
flexGrow: number;
|
|
87
|
-
'& span': {
|
|
88
|
-
color: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
91
|
-
"& .SCPaywallsConfigurator-product-remove-icon": {
|
|
92
|
-
opacity: number;
|
|
93
|
-
width: number;
|
|
94
|
-
height: number;
|
|
95
|
-
};
|
|
96
|
-
"& .SCPaywallsConfigurator-autocomplete-footer": {
|
|
97
|
-
backgroundColor: "#bdbdbd";
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
paymentProductsPopperRoot: ({ theme }: any) => {
|
|
101
|
-
border: string;
|
|
102
|
-
boxShadow: string;
|
|
103
|
-
borderRadius: number;
|
|
104
|
-
width: number;
|
|
105
|
-
zIndex: any;
|
|
106
|
-
fontSize: number;
|
|
107
|
-
color: string;
|
|
108
|
-
backgroundColor: string;
|
|
109
|
-
'& .MuiPaper-root': {
|
|
110
|
-
borderRadius: number;
|
|
111
|
-
};
|
|
112
|
-
"& .SCPaywallsConfigurator-payment-products-popper-title": {
|
|
113
|
-
borderBottom: string;
|
|
114
|
-
padding: string;
|
|
115
|
-
fontWeight: number;
|
|
116
|
-
};
|
|
117
|
-
"& .SCPaywallsConfigurator-payment-products-popper-footer": {
|
|
118
|
-
borderTop: string;
|
|
119
|
-
padding: string;
|
|
120
|
-
display: string;
|
|
121
|
-
alignItems: string;
|
|
122
|
-
justifyContent: string;
|
|
123
|
-
'& button': {
|
|
124
|
-
padding: string;
|
|
125
|
-
'& .MuiIcon-root': {
|
|
126
|
-
fontSize: number;
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
filterInputRoot: ({ theme }: any) => {
|
|
132
|
-
padding: number;
|
|
133
|
-
width: string;
|
|
134
|
-
borderBottom: string;
|
|
135
|
-
'& input': {
|
|
136
|
-
borderRadius: number;
|
|
137
|
-
backgroundColor: string;
|
|
138
|
-
padding: number;
|
|
139
|
-
transition: any;
|
|
140
|
-
border: string;
|
|
141
|
-
fontSize: number;
|
|
142
|
-
'&:focus': {
|
|
143
|
-
boxShadow: string;
|
|
144
|
-
borderColor: string;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
export default Component;
|