@selfcommunity/react-theme-default 0.4.5-payments.192 → 0.4.5-payments.193
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/SCCheckout.d.ts +27 -0
- package/lib/cjs/components/SCCheckout.js +27 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +6 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.js +6 -0
- package/lib/cjs/components/SCPaymentOrders.d.ts +13 -0
- package/lib/cjs/components/SCPaymentOrders.js +15 -0
- package/lib/cjs/index.d.ts +45 -0
- package/lib/cjs/index.js +3 -1
- package/lib/esm/components/SCCheckout.d.ts +27 -0
- package/lib/esm/components/SCCheckout.js +27 -0
- package/lib/esm/components/SCCheckoutReturnDialog.d.ts +6 -0
- package/lib/esm/components/SCCheckoutReturnDialog.js +6 -0
- package/lib/esm/components/SCPaymentOrders.d.ts +13 -0
- package/lib/esm/components/SCPaymentOrders.js +13 -0
- package/lib/esm/index.d.ts +45 -0
- package/lib/esm/index.js +3 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -65,6 +65,33 @@ declare const Component: {
|
|
|
65
65
|
margin: any;
|
|
66
66
|
width: string;
|
|
67
67
|
};
|
|
68
|
+
"& .SCCheckout-payment-order": {
|
|
69
|
+
display: string;
|
|
70
|
+
flexDirection: string;
|
|
71
|
+
justifyContent: string;
|
|
72
|
+
alignItems: string;
|
|
73
|
+
margin: any;
|
|
74
|
+
'& .SCPaymentOrder-root': {
|
|
75
|
+
width: string;
|
|
76
|
+
display: string;
|
|
77
|
+
flexDirection: string;
|
|
78
|
+
justifyContent: string;
|
|
79
|
+
alignItems: string;
|
|
80
|
+
'& .SCPaymentOrder-content-object': {
|
|
81
|
+
minWidth: number;
|
|
82
|
+
};
|
|
83
|
+
'& .SCPaymentOrder-details': {
|
|
84
|
+
minWidth: number;
|
|
85
|
+
};
|
|
86
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
87
|
+
paddingLeft: any;
|
|
88
|
+
paddingRight: any;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
92
|
+
minWidth: number;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
68
95
|
"& .SCCategory-root": {
|
|
69
96
|
borderRadius: any;
|
|
70
97
|
'& a': {
|
|
@@ -65,6 +65,33 @@ const Component = {
|
|
|
65
65
|
width: 'auto'
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
+
['& .SCCheckout-payment-order']: {
|
|
69
|
+
display: 'flex',
|
|
70
|
+
flexDirection: 'column',
|
|
71
|
+
justifyContent: 'center',
|
|
72
|
+
alignItems: 'center',
|
|
73
|
+
margin: theme.spacing(5),
|
|
74
|
+
'& .SCPaymentOrder-root': {
|
|
75
|
+
width: '100%',
|
|
76
|
+
display: 'flex',
|
|
77
|
+
flexDirection: 'column',
|
|
78
|
+
justifyContent: 'center',
|
|
79
|
+
alignItems: 'center',
|
|
80
|
+
'& .SCPaymentOrder-content-object': {
|
|
81
|
+
minWidth: 300
|
|
82
|
+
},
|
|
83
|
+
'& .SCPaymentOrder-details': {
|
|
84
|
+
minWidth: 300
|
|
85
|
+
},
|
|
86
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
87
|
+
paddingLeft: theme.spacing(),
|
|
88
|
+
paddingRight: theme.spacing()
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
92
|
+
minWidth: 300
|
|
93
|
+
}
|
|
94
|
+
},
|
|
68
95
|
['& .SCCategory-root']: {
|
|
69
96
|
borderRadius: theme.shape.borderRadius,
|
|
70
97
|
'& a': {
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCCategory-category-image': {
|
|
7
|
+
paddingLeft: theme.spacing(1)
|
|
8
|
+
},
|
|
9
|
+
'& .SCGroup-avatar': {
|
|
10
|
+
marginLeft: theme.spacing(1)
|
|
11
|
+
}
|
|
12
|
+
})
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -11775,6 +11775,33 @@ declare const theme: {
|
|
|
11775
11775
|
margin: any;
|
|
11776
11776
|
width: string;
|
|
11777
11777
|
};
|
|
11778
|
+
"& .SCCheckout-payment-order": {
|
|
11779
|
+
display: string;
|
|
11780
|
+
flexDirection: string;
|
|
11781
|
+
justifyContent: string;
|
|
11782
|
+
alignItems: string;
|
|
11783
|
+
margin: any;
|
|
11784
|
+
'& .SCPaymentOrder-root': {
|
|
11785
|
+
width: string;
|
|
11786
|
+
display: string;
|
|
11787
|
+
flexDirection: string;
|
|
11788
|
+
justifyContent: string;
|
|
11789
|
+
alignItems: string;
|
|
11790
|
+
'& .SCPaymentOrder-content-object': {
|
|
11791
|
+
minWidth: number;
|
|
11792
|
+
};
|
|
11793
|
+
'& .SCPaymentOrder-details': {
|
|
11794
|
+
minWidth: number;
|
|
11795
|
+
};
|
|
11796
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
11797
|
+
paddingLeft: any;
|
|
11798
|
+
paddingRight: any;
|
|
11799
|
+
};
|
|
11800
|
+
};
|
|
11801
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
11802
|
+
minWidth: number;
|
|
11803
|
+
};
|
|
11804
|
+
};
|
|
11778
11805
|
"& .SCCategory-root": {
|
|
11779
11806
|
borderRadius: any;
|
|
11780
11807
|
'& a': {
|
|
@@ -11821,6 +11848,12 @@ declare const theme: {
|
|
|
11821
11848
|
'& .SCCourse-preview-root': {
|
|
11822
11849
|
minHeight: string;
|
|
11823
11850
|
};
|
|
11851
|
+
'& .SCCategory-category-image': {
|
|
11852
|
+
paddingLeft: any;
|
|
11853
|
+
};
|
|
11854
|
+
'& .SCGroup-avatar': {
|
|
11855
|
+
marginLeft: any;
|
|
11856
|
+
};
|
|
11824
11857
|
};
|
|
11825
11858
|
};
|
|
11826
11859
|
};
|
|
@@ -12019,6 +12052,18 @@ declare const theme: {
|
|
|
12019
12052
|
};
|
|
12020
12053
|
};
|
|
12021
12054
|
};
|
|
12055
|
+
SCPaymentOrders: {
|
|
12056
|
+
styleOverrides: {
|
|
12057
|
+
root: ({ theme }: any) => {
|
|
12058
|
+
'& .SCCategory-category-image': {
|
|
12059
|
+
paddingLeft: any;
|
|
12060
|
+
};
|
|
12061
|
+
'& .SCGroup-avatar': {
|
|
12062
|
+
marginLeft: any;
|
|
12063
|
+
};
|
|
12064
|
+
};
|
|
12065
|
+
};
|
|
12066
|
+
};
|
|
12022
12067
|
};
|
|
12023
12068
|
selfcommunity: {
|
|
12024
12069
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -218,6 +218,7 @@ const SCHiddenPurchasableContent_1 = tslib_1.__importDefault(require("./componen
|
|
|
218
218
|
const SCPaywalls_1 = tslib_1.__importDefault(require("./components/SCPaywalls"));
|
|
219
219
|
const SCPaywallsConfigurator_1 = tslib_1.__importDefault(require("./components/SCPaywallsConfigurator"));
|
|
220
220
|
const SCPdfPreview_1 = tslib_1.__importDefault(require("./components/SCPdfPreview"));
|
|
221
|
+
const SCPaymentOrders_1 = tslib_1.__importDefault(require("./components/SCPaymentOrders"));
|
|
221
222
|
/**
|
|
222
223
|
* Style fragments - Imports - End
|
|
223
224
|
*/
|
|
@@ -518,7 +519,8 @@ const theme = {
|
|
|
518
519
|
SCHiddenPurchasableContent: SCHiddenPurchasableContent_1.default,
|
|
519
520
|
SCPaywalls: SCPaywalls_1.default,
|
|
520
521
|
SCPaywallsConfigurator: SCPaywallsConfigurator_1.default,
|
|
521
|
-
SCPdfPreview: SCPdfPreview_1.default
|
|
522
|
+
SCPdfPreview: SCPdfPreview_1.default,
|
|
523
|
+
SCPaymentOrders: SCPaymentOrders_1.default
|
|
522
524
|
},
|
|
523
525
|
selfcommunity: {
|
|
524
526
|
user: {
|
|
@@ -65,6 +65,33 @@ declare const Component: {
|
|
|
65
65
|
margin: any;
|
|
66
66
|
width: string;
|
|
67
67
|
};
|
|
68
|
+
"& .SCCheckout-payment-order": {
|
|
69
|
+
display: string;
|
|
70
|
+
flexDirection: string;
|
|
71
|
+
justifyContent: string;
|
|
72
|
+
alignItems: string;
|
|
73
|
+
margin: any;
|
|
74
|
+
'& .SCPaymentOrder-root': {
|
|
75
|
+
width: string;
|
|
76
|
+
display: string;
|
|
77
|
+
flexDirection: string;
|
|
78
|
+
justifyContent: string;
|
|
79
|
+
alignItems: string;
|
|
80
|
+
'& .SCPaymentOrder-content-object': {
|
|
81
|
+
minWidth: number;
|
|
82
|
+
};
|
|
83
|
+
'& .SCPaymentOrder-details': {
|
|
84
|
+
minWidth: number;
|
|
85
|
+
};
|
|
86
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
87
|
+
paddingLeft: any;
|
|
88
|
+
paddingRight: any;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
92
|
+
minWidth: number;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
68
95
|
"& .SCCategory-root": {
|
|
69
96
|
borderRadius: any;
|
|
70
97
|
'& a': {
|
|
@@ -63,6 +63,33 @@ const Component = {
|
|
|
63
63
|
width: 'auto'
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
+
['& .SCCheckout-payment-order']: {
|
|
67
|
+
display: 'flex',
|
|
68
|
+
flexDirection: 'column',
|
|
69
|
+
justifyContent: 'center',
|
|
70
|
+
alignItems: 'center',
|
|
71
|
+
margin: theme.spacing(5),
|
|
72
|
+
'& .SCPaymentOrder-root': {
|
|
73
|
+
width: '100%',
|
|
74
|
+
display: 'flex',
|
|
75
|
+
flexDirection: 'column',
|
|
76
|
+
justifyContent: 'center',
|
|
77
|
+
alignItems: 'center',
|
|
78
|
+
'& .SCPaymentOrder-content-object': {
|
|
79
|
+
minWidth: 300
|
|
80
|
+
},
|
|
81
|
+
'& .SCPaymentOrder-details': {
|
|
82
|
+
minWidth: 300
|
|
83
|
+
},
|
|
84
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
85
|
+
paddingLeft: theme.spacing(),
|
|
86
|
+
paddingRight: theme.spacing()
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
90
|
+
minWidth: 300
|
|
91
|
+
}
|
|
92
|
+
},
|
|
66
93
|
['& .SCCategory-root']: {
|
|
67
94
|
borderRadius: theme.shape.borderRadius,
|
|
68
95
|
'& a': {
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -11775,6 +11775,33 @@ declare const theme: {
|
|
|
11775
11775
|
margin: any;
|
|
11776
11776
|
width: string;
|
|
11777
11777
|
};
|
|
11778
|
+
"& .SCCheckout-payment-order": {
|
|
11779
|
+
display: string;
|
|
11780
|
+
flexDirection: string;
|
|
11781
|
+
justifyContent: string;
|
|
11782
|
+
alignItems: string;
|
|
11783
|
+
margin: any;
|
|
11784
|
+
'& .SCPaymentOrder-root': {
|
|
11785
|
+
width: string;
|
|
11786
|
+
display: string;
|
|
11787
|
+
flexDirection: string;
|
|
11788
|
+
justifyContent: string;
|
|
11789
|
+
alignItems: string;
|
|
11790
|
+
'& .SCPaymentOrder-content-object': {
|
|
11791
|
+
minWidth: number;
|
|
11792
|
+
};
|
|
11793
|
+
'& .SCPaymentOrder-details': {
|
|
11794
|
+
minWidth: number;
|
|
11795
|
+
};
|
|
11796
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
11797
|
+
paddingLeft: any;
|
|
11798
|
+
paddingRight: any;
|
|
11799
|
+
};
|
|
11800
|
+
};
|
|
11801
|
+
'& .SCPaymentOrder-skeleton-root': {
|
|
11802
|
+
minWidth: number;
|
|
11803
|
+
};
|
|
11804
|
+
};
|
|
11778
11805
|
"& .SCCategory-root": {
|
|
11779
11806
|
borderRadius: any;
|
|
11780
11807
|
'& a': {
|
|
@@ -11821,6 +11848,12 @@ declare const theme: {
|
|
|
11821
11848
|
'& .SCCourse-preview-root': {
|
|
11822
11849
|
minHeight: string;
|
|
11823
11850
|
};
|
|
11851
|
+
'& .SCCategory-category-image': {
|
|
11852
|
+
paddingLeft: any;
|
|
11853
|
+
};
|
|
11854
|
+
'& .SCGroup-avatar': {
|
|
11855
|
+
marginLeft: any;
|
|
11856
|
+
};
|
|
11824
11857
|
};
|
|
11825
11858
|
};
|
|
11826
11859
|
};
|
|
@@ -12019,6 +12052,18 @@ declare const theme: {
|
|
|
12019
12052
|
};
|
|
12020
12053
|
};
|
|
12021
12054
|
};
|
|
12055
|
+
SCPaymentOrders: {
|
|
12056
|
+
styleOverrides: {
|
|
12057
|
+
root: ({ theme }: any) => {
|
|
12058
|
+
'& .SCCategory-category-image': {
|
|
12059
|
+
paddingLeft: any;
|
|
12060
|
+
};
|
|
12061
|
+
'& .SCGroup-avatar': {
|
|
12062
|
+
marginLeft: any;
|
|
12063
|
+
};
|
|
12064
|
+
};
|
|
12065
|
+
};
|
|
12066
|
+
};
|
|
12022
12067
|
};
|
|
12023
12068
|
selfcommunity: {
|
|
12024
12069
|
user: {
|
package/lib/esm/index.js
CHANGED
|
@@ -214,6 +214,7 @@ import SCHiddenPurchasableContent from './components/SCHiddenPurchasableContent'
|
|
|
214
214
|
import SCPaywalls from './components/SCPaywalls';
|
|
215
215
|
import SCPaywallsConfigurator from './components/SCPaywallsConfigurator';
|
|
216
216
|
import SCPdfPreview from './components/SCPdfPreview';
|
|
217
|
+
import SCPaymentOrders from './components/SCPaymentOrders';
|
|
217
218
|
/**
|
|
218
219
|
* Style fragments - Imports - End
|
|
219
220
|
*/
|
|
@@ -506,7 +507,8 @@ const theme = {
|
|
|
506
507
|
SCHiddenPurchasableContent,
|
|
507
508
|
SCPaywalls,
|
|
508
509
|
SCPaywallsConfigurator,
|
|
509
|
-
SCPdfPreview
|
|
510
|
+
SCPdfPreview,
|
|
511
|
+
SCPaymentOrders
|
|
510
512
|
},
|
|
511
513
|
selfcommunity: {
|
|
512
514
|
user: {
|