@selfcommunity/react-theme-default 0.4.5-payments.181 → 0.4.5-payments.183
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 +3 -0
- package/lib/cjs/components/SCCheckout.js +3 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +5 -0
- package/lib/cjs/components/SCCheckoutReturnDialog.js +6 -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/index.d.ts +44 -0
- package/lib/cjs/index.js +4 -0
- package/lib/esm/components/SCCheckout.d.ts +3 -0
- package/lib/esm/components/SCCheckout.js +3 -0
- package/lib/esm/components/SCCheckoutReturnDialog.d.ts +5 -0
- package/lib/esm/components/SCCheckoutReturnDialog.js +6 -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/index.d.ts +44 -0
- package/lib/esm/index.js +4 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -15,12 +15,17 @@ declare const Component: {
|
|
|
15
15
|
alignItems: string;
|
|
16
16
|
'& .SCWidget-root': {
|
|
17
17
|
minWidth: number;
|
|
18
|
+
};
|
|
19
|
+
'& .SCGroup-root': {
|
|
18
20
|
paddingLeft: any;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
22
24
|
width: string;
|
|
23
25
|
};
|
|
26
|
+
'& .SCCourse-preview-root': {
|
|
27
|
+
minHeight: string;
|
|
28
|
+
};
|
|
24
29
|
};
|
|
25
30
|
};
|
|
26
31
|
};
|
|
@@ -14,12 +14,17 @@ const Component = {
|
|
|
14
14
|
justifyContent: 'center',
|
|
15
15
|
alignItems: 'center',
|
|
16
16
|
'& .SCWidget-root': {
|
|
17
|
-
minWidth: 310
|
|
17
|
+
minWidth: 310
|
|
18
|
+
},
|
|
19
|
+
'& .SCGroup-root': {
|
|
18
20
|
paddingLeft: theme.spacing()
|
|
19
21
|
}
|
|
20
22
|
},
|
|
21
23
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
22
24
|
width: '100%'
|
|
25
|
+
},
|
|
26
|
+
'& .SCCourse-preview-root': {
|
|
27
|
+
minHeight: 'auto'
|
|
23
28
|
}
|
|
24
29
|
})
|
|
25
30
|
}
|
|
@@ -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,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCPaymentOrder-details': {
|
|
7
|
+
marginTop: theme.spacing(),
|
|
8
|
+
marginLeft: theme.spacing(),
|
|
9
|
+
'& p': {
|
|
10
|
+
marginBottom: theme.spacing()
|
|
11
|
+
},
|
|
12
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
13
|
+
marginTop: theme.spacing()
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}),
|
|
17
|
+
skeletonRoot: ({ theme }) => ({})
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
exports.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,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
paddingLeft: 4,
|
|
7
|
+
paddingRight: 4,
|
|
8
|
+
width: 'auto',
|
|
9
|
+
minWidth: 30,
|
|
10
|
+
marginLeft: theme.spacing(),
|
|
11
|
+
marginRight: theme.spacing(),
|
|
12
|
+
height: 31,
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -11640,6 +11640,42 @@ declare const theme: {
|
|
|
11640
11640
|
};
|
|
11641
11641
|
};
|
|
11642
11642
|
};
|
|
11643
|
+
SCPaymentOrder: {
|
|
11644
|
+
styleOverrides: {
|
|
11645
|
+
root: ({ theme }: {
|
|
11646
|
+
theme: any;
|
|
11647
|
+
}) => {
|
|
11648
|
+
'& .SCPaymentOrder-details': {
|
|
11649
|
+
marginTop: any;
|
|
11650
|
+
marginLeft: any;
|
|
11651
|
+
'& p': {
|
|
11652
|
+
marginBottom: any;
|
|
11653
|
+
};
|
|
11654
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
11655
|
+
marginTop: any;
|
|
11656
|
+
};
|
|
11657
|
+
};
|
|
11658
|
+
};
|
|
11659
|
+
skeletonRoot: ({ theme }: {
|
|
11660
|
+
theme: any;
|
|
11661
|
+
}) => {};
|
|
11662
|
+
};
|
|
11663
|
+
};
|
|
11664
|
+
SCPaymentOrderPdfButton: {
|
|
11665
|
+
styleOverrides: {
|
|
11666
|
+
root: ({ theme }: {
|
|
11667
|
+
theme: any;
|
|
11668
|
+
}) => {
|
|
11669
|
+
paddingLeft: number;
|
|
11670
|
+
paddingRight: number;
|
|
11671
|
+
width: string;
|
|
11672
|
+
minWidth: number;
|
|
11673
|
+
marginLeft: any;
|
|
11674
|
+
marginRight: any;
|
|
11675
|
+
height: number;
|
|
11676
|
+
};
|
|
11677
|
+
};
|
|
11678
|
+
};
|
|
11643
11679
|
SCPaymentProductPrice: {
|
|
11644
11680
|
styleOverrides: {
|
|
11645
11681
|
root: ({ theme }: {
|
|
@@ -11740,6 +11776,9 @@ declare const theme: {
|
|
|
11740
11776
|
padding: any;
|
|
11741
11777
|
};
|
|
11742
11778
|
};
|
|
11779
|
+
"& .SCCourse-preview-root": {
|
|
11780
|
+
minHeight: string;
|
|
11781
|
+
};
|
|
11743
11782
|
};
|
|
11744
11783
|
};
|
|
11745
11784
|
};
|
|
@@ -11760,12 +11799,17 @@ declare const theme: {
|
|
|
11760
11799
|
alignItems: string;
|
|
11761
11800
|
'& .SCWidget-root': {
|
|
11762
11801
|
minWidth: number;
|
|
11802
|
+
};
|
|
11803
|
+
'& .SCGroup-root': {
|
|
11763
11804
|
paddingLeft: any;
|
|
11764
11805
|
};
|
|
11765
11806
|
};
|
|
11766
11807
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
11767
11808
|
width: string;
|
|
11768
11809
|
};
|
|
11810
|
+
'& .SCCourse-preview-root': {
|
|
11811
|
+
minHeight: string;
|
|
11812
|
+
};
|
|
11769
11813
|
};
|
|
11770
11814
|
};
|
|
11771
11815
|
};
|
package/lib/cjs/index.js
CHANGED
|
@@ -209,6 +209,8 @@ const SCWidget_1 = tslib_1.__importDefault(require("./components/SCWidget"));
|
|
|
209
209
|
const SCBuyButton_1 = tslib_1.__importDefault(require("./components/SCBuyButton"));
|
|
210
210
|
const SCPaymentProducts_1 = tslib_1.__importDefault(require("./components/SCPaymentProducts"));
|
|
211
211
|
const SCPaymentProduct_1 = tslib_1.__importDefault(require("./components/SCPaymentProduct"));
|
|
212
|
+
const SCPaymentOrder_1 = tslib_1.__importDefault(require("./components/SCPaymentOrder"));
|
|
213
|
+
const SCPaymentOrderPdfButton_1 = tslib_1.__importDefault(require("./components/SCPaymentOrderPdfButton"));
|
|
212
214
|
const SCPaymentProductPrice_1 = tslib_1.__importDefault(require("./components/SCPaymentProductPrice"));
|
|
213
215
|
const SCCheckout_1 = tslib_1.__importDefault(require("./components/SCCheckout"));
|
|
214
216
|
const SCCheckoutReturnDialog_1 = tslib_1.__importDefault(require("./components/SCCheckoutReturnDialog"));
|
|
@@ -507,6 +509,8 @@ const theme = {
|
|
|
507
509
|
SCBuyButton: SCBuyButton_1.default,
|
|
508
510
|
SCPaymentProducts: SCPaymentProducts_1.default,
|
|
509
511
|
SCPaymentProduct: SCPaymentProduct_1.default,
|
|
512
|
+
SCPaymentOrder: SCPaymentOrder_1.default,
|
|
513
|
+
SCPaymentOrderPdfButton: SCPaymentOrderPdfButton_1.default,
|
|
510
514
|
SCPaymentProductPrice: SCPaymentProductPrice_1.default,
|
|
511
515
|
SCCheckout: SCCheckout_1.default,
|
|
512
516
|
SCCheckoutReturnDialog: SCCheckoutReturnDialog_1.default,
|
|
@@ -15,12 +15,17 @@ declare const Component: {
|
|
|
15
15
|
alignItems: string;
|
|
16
16
|
'& .SCWidget-root': {
|
|
17
17
|
minWidth: number;
|
|
18
|
+
};
|
|
19
|
+
'& .SCGroup-root': {
|
|
18
20
|
paddingLeft: any;
|
|
19
21
|
};
|
|
20
22
|
};
|
|
21
23
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
22
24
|
width: string;
|
|
23
25
|
};
|
|
26
|
+
'& .SCCourse-preview-root': {
|
|
27
|
+
minHeight: string;
|
|
28
|
+
};
|
|
24
29
|
};
|
|
25
30
|
};
|
|
26
31
|
};
|
|
@@ -12,12 +12,17 @@ const Component = {
|
|
|
12
12
|
justifyContent: 'center',
|
|
13
13
|
alignItems: 'center',
|
|
14
14
|
'& .SCWidget-root': {
|
|
15
|
-
minWidth: 310
|
|
15
|
+
minWidth: 310
|
|
16
|
+
},
|
|
17
|
+
'& .SCGroup-root': {
|
|
16
18
|
paddingLeft: theme.spacing()
|
|
17
19
|
}
|
|
18
20
|
},
|
|
19
21
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
20
22
|
width: '100%'
|
|
23
|
+
},
|
|
24
|
+
'& .SCCourse-preview-root': {
|
|
25
|
+
minHeight: 'auto'
|
|
21
26
|
}
|
|
22
27
|
})
|
|
23
28
|
}
|
|
@@ -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: 30,
|
|
8
|
+
marginLeft: theme.spacing(),
|
|
9
|
+
marginRight: theme.spacing(),
|
|
10
|
+
height: 31,
|
|
11
|
+
})
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export default Component;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -11640,6 +11640,42 @@ declare const theme: {
|
|
|
11640
11640
|
};
|
|
11641
11641
|
};
|
|
11642
11642
|
};
|
|
11643
|
+
SCPaymentOrder: {
|
|
11644
|
+
styleOverrides: {
|
|
11645
|
+
root: ({ theme }: {
|
|
11646
|
+
theme: any;
|
|
11647
|
+
}) => {
|
|
11648
|
+
'& .SCPaymentOrder-details': {
|
|
11649
|
+
marginTop: any;
|
|
11650
|
+
marginLeft: any;
|
|
11651
|
+
'& p': {
|
|
11652
|
+
marginBottom: any;
|
|
11653
|
+
};
|
|
11654
|
+
'& .SCPaymentOrderPdfButton-root': {
|
|
11655
|
+
marginTop: any;
|
|
11656
|
+
};
|
|
11657
|
+
};
|
|
11658
|
+
};
|
|
11659
|
+
skeletonRoot: ({ theme }: {
|
|
11660
|
+
theme: any;
|
|
11661
|
+
}) => {};
|
|
11662
|
+
};
|
|
11663
|
+
};
|
|
11664
|
+
SCPaymentOrderPdfButton: {
|
|
11665
|
+
styleOverrides: {
|
|
11666
|
+
root: ({ theme }: {
|
|
11667
|
+
theme: any;
|
|
11668
|
+
}) => {
|
|
11669
|
+
paddingLeft: number;
|
|
11670
|
+
paddingRight: number;
|
|
11671
|
+
width: string;
|
|
11672
|
+
minWidth: number;
|
|
11673
|
+
marginLeft: any;
|
|
11674
|
+
marginRight: any;
|
|
11675
|
+
height: number;
|
|
11676
|
+
};
|
|
11677
|
+
};
|
|
11678
|
+
};
|
|
11643
11679
|
SCPaymentProductPrice: {
|
|
11644
11680
|
styleOverrides: {
|
|
11645
11681
|
root: ({ theme }: {
|
|
@@ -11740,6 +11776,9 @@ declare const theme: {
|
|
|
11740
11776
|
padding: any;
|
|
11741
11777
|
};
|
|
11742
11778
|
};
|
|
11779
|
+
"& .SCCourse-preview-root": {
|
|
11780
|
+
minHeight: string;
|
|
11781
|
+
};
|
|
11743
11782
|
};
|
|
11744
11783
|
};
|
|
11745
11784
|
};
|
|
@@ -11760,12 +11799,17 @@ declare const theme: {
|
|
|
11760
11799
|
alignItems: string;
|
|
11761
11800
|
'& .SCWidget-root': {
|
|
11762
11801
|
minWidth: number;
|
|
11802
|
+
};
|
|
11803
|
+
'& .SCGroup-root': {
|
|
11763
11804
|
paddingLeft: any;
|
|
11764
11805
|
};
|
|
11765
11806
|
};
|
|
11766
11807
|
'& .SCCheckoutSuccessDialog-content-object': {
|
|
11767
11808
|
width: string;
|
|
11768
11809
|
};
|
|
11810
|
+
'& .SCCourse-preview-root': {
|
|
11811
|
+
minHeight: string;
|
|
11812
|
+
};
|
|
11769
11813
|
};
|
|
11770
11814
|
};
|
|
11771
11815
|
};
|
package/lib/esm/index.js
CHANGED
|
@@ -205,6 +205,8 @@ import SCWidget from './components/SCWidget';
|
|
|
205
205
|
import SCBuyButton from './components/SCBuyButton';
|
|
206
206
|
import SCPaymentProducts from './components/SCPaymentProducts';
|
|
207
207
|
import SCPaymentProduct from './components/SCPaymentProduct';
|
|
208
|
+
import SCPaymentOrder from './components/SCPaymentOrder';
|
|
209
|
+
import SCPaymentOrderPdfButton from './components/SCPaymentOrderPdfButton';
|
|
208
210
|
import SCPaymentProductPrice from './components/SCPaymentProductPrice';
|
|
209
211
|
import SCCheckout from './components/SCCheckout';
|
|
210
212
|
import SCCheckoutReturnDialog from './components/SCCheckoutReturnDialog';
|
|
@@ -495,6 +497,8 @@ const theme = {
|
|
|
495
497
|
SCBuyButton,
|
|
496
498
|
SCPaymentProducts,
|
|
497
499
|
SCPaymentProduct,
|
|
500
|
+
SCPaymentOrder,
|
|
501
|
+
SCPaymentOrderPdfButton,
|
|
498
502
|
SCPaymentProductPrice,
|
|
499
503
|
SCCheckout,
|
|
500
504
|
SCCheckoutReturnDialog,
|