@selfcommunity/react-theme-default 0.4.5-payments.210 → 0.4.5-payments.214
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 +4 -2
- package/lib/cjs/components/SCCheckout.js +7 -4
- package/lib/cjs/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
- package/lib/cjs/components/SCCheckoutHeaderInfoWidget.js +34 -0
- package/lib/cjs/components/SCCourseDashboard.d.ts +22 -0
- package/lib/cjs/components/SCCourseDashboard.js +22 -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/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/SCPaymentProduct.d.ts +20 -22
- package/lib/cjs/components/SCPaymentProduct.js +24 -26
- package/lib/cjs/components/SCPaymentProductPrice.d.ts +19 -2
- package/lib/cjs/components/SCPaymentProductPrice.js +19 -2
- package/lib/cjs/components/SCPaymentProducts.js +1 -1
- 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 +154 -26
- package/lib/cjs/index.js +5 -1
- package/lib/esm/components/SCCheckout.d.ts +4 -2
- package/lib/esm/components/SCCheckout.js +7 -4
- package/lib/esm/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
- package/lib/esm/components/SCCheckoutHeaderInfoWidget.js +32 -0
- package/lib/esm/components/SCCourseDashboard.d.ts +22 -0
- package/lib/esm/components/SCCourseDashboard.js +22 -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/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/SCPaymentProduct.d.ts +20 -22
- package/lib/esm/components/SCPaymentProduct.js +24 -26
- package/lib/esm/components/SCPaymentProductPrice.d.ts +19 -2
- package/lib/esm/components/SCPaymentProductPrice.js +19 -2
- package/lib/esm/components/SCPaymentProducts.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 +154 -26
- package/lib/esm/index.js +5 -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
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2156,6 +2156,18 @@ declare const theme: {
|
|
|
2156
2156
|
alignItems: string;
|
|
2157
2157
|
gap: any;
|
|
2158
2158
|
};
|
|
2159
|
+
'& .SCBuyButton-request-root': {
|
|
2160
|
+
fontWeight: any;
|
|
2161
|
+
'& .MuiButton-startIcon': {
|
|
2162
|
+
marginRight: any;
|
|
2163
|
+
'& .MuiIcon-root': {
|
|
2164
|
+
fontSize: string;
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2167
|
+
'&.Mui-selected, &:hover': {
|
|
2168
|
+
backgroundColor: string;
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2159
2171
|
};
|
|
2160
2172
|
};
|
|
2161
2173
|
};
|
|
@@ -2282,6 +2294,16 @@ declare const theme: {
|
|
|
2282
2294
|
};
|
|
2283
2295
|
margin: string;
|
|
2284
2296
|
gap: string;
|
|
2297
|
+
'& .SCBuyButton-request-root': {
|
|
2298
|
+
'&:hover, &:active': {
|
|
2299
|
+
backgroundColor: any;
|
|
2300
|
+
color: any;
|
|
2301
|
+
border: string;
|
|
2302
|
+
'& .MuiIcon-root': {
|
|
2303
|
+
color: any;
|
|
2304
|
+
};
|
|
2305
|
+
};
|
|
2306
|
+
};
|
|
2285
2307
|
};
|
|
2286
2308
|
};
|
|
2287
2309
|
'& .SCCourseDashboard-lessons-sections': {
|
|
@@ -4955,6 +4977,18 @@ declare const theme: {
|
|
|
4955
4977
|
alignItems: string;
|
|
4956
4978
|
gap: any;
|
|
4957
4979
|
};
|
|
4980
|
+
'& .SCBuyButton-request-root': {
|
|
4981
|
+
fontWeight: any;
|
|
4982
|
+
'& .MuiButton-startIcon': {
|
|
4983
|
+
marginRight: any;
|
|
4984
|
+
'& .MuiIcon-root': {
|
|
4985
|
+
fontSize: string;
|
|
4986
|
+
};
|
|
4987
|
+
};
|
|
4988
|
+
'&.Mui-selected, &:hover': {
|
|
4989
|
+
backgroundColor: string;
|
|
4990
|
+
};
|
|
4991
|
+
};
|
|
4958
4992
|
};
|
|
4959
4993
|
'& .SCGroupHeader-multi-actions': {
|
|
4960
4994
|
display: string;
|
|
@@ -5193,6 +5227,23 @@ declare const theme: {
|
|
|
5193
5227
|
};
|
|
5194
5228
|
};
|
|
5195
5229
|
};
|
|
5230
|
+
SCGroupSubscribeButton: {
|
|
5231
|
+
styleOverrides: {
|
|
5232
|
+
buyButtonRoot: ({ theme }: {
|
|
5233
|
+
theme: any;
|
|
5234
|
+
}) => {
|
|
5235
|
+
border: string;
|
|
5236
|
+
'&:hover, &:active': {
|
|
5237
|
+
backgroundColor: any;
|
|
5238
|
+
color: any;
|
|
5239
|
+
border: string;
|
|
5240
|
+
'& .MuiIcon-root': {
|
|
5241
|
+
color: any;
|
|
5242
|
+
};
|
|
5243
|
+
};
|
|
5244
|
+
};
|
|
5245
|
+
};
|
|
5246
|
+
};
|
|
5196
5247
|
SCGroupTemplate: {
|
|
5197
5248
|
styleOverrides: {
|
|
5198
5249
|
root: ({ theme }: any) => {
|
|
@@ -7886,6 +7937,9 @@ declare const theme: {
|
|
|
7886
7937
|
alignItems: string;
|
|
7887
7938
|
marginRight: any;
|
|
7888
7939
|
'& .MuiIcon-root': {
|
|
7940
|
+
/**
|
|
7941
|
+
* Style assets - Imports - Start
|
|
7942
|
+
*/
|
|
7889
7943
|
margin: any;
|
|
7890
7944
|
};
|
|
7891
7945
|
};
|
|
@@ -9953,6 +10007,18 @@ declare const theme: {
|
|
|
9953
10007
|
alignItems: string;
|
|
9954
10008
|
gap: any;
|
|
9955
10009
|
};
|
|
10010
|
+
'& .SCBuyButton-request-root': {
|
|
10011
|
+
fontWeight: any;
|
|
10012
|
+
'& .MuiButton-startIcon': {
|
|
10013
|
+
marginRight: any;
|
|
10014
|
+
'& .MuiIcon-root': {
|
|
10015
|
+
fontSize: string;
|
|
10016
|
+
};
|
|
10017
|
+
};
|
|
10018
|
+
'&.Mui-selected, &:hover': {
|
|
10019
|
+
backgroundColor: string;
|
|
10020
|
+
};
|
|
10021
|
+
};
|
|
9956
10022
|
};
|
|
9957
10023
|
'& .SCEditEvenButton-root': {
|
|
9958
10024
|
marginLeft: string;
|
|
@@ -10151,6 +10217,18 @@ declare const theme: {
|
|
|
10151
10217
|
requestRoot: ({ theme }: {
|
|
10152
10218
|
theme: any;
|
|
10153
10219
|
}) => {};
|
|
10220
|
+
buyButtonRoot: ({ theme }: {
|
|
10221
|
+
theme: any;
|
|
10222
|
+
}) => {
|
|
10223
|
+
'&:hover, &:active': {
|
|
10224
|
+
backgroundColor: any;
|
|
10225
|
+
color: any;
|
|
10226
|
+
border: string;
|
|
10227
|
+
'& .MuiIcon-root': {
|
|
10228
|
+
color: any;
|
|
10229
|
+
};
|
|
10230
|
+
};
|
|
10231
|
+
};
|
|
10154
10232
|
menuRoot: ({ theme }: {
|
|
10155
10233
|
theme: any;
|
|
10156
10234
|
}) => {
|
|
@@ -11628,47 +11706,45 @@ declare const theme: {
|
|
|
11628
11706
|
root: ({ theme }: {
|
|
11629
11707
|
theme: any;
|
|
11630
11708
|
}) => {
|
|
11709
|
+
marginBottom: any;
|
|
11631
11710
|
borderRadius: string;
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
'& .SCBaseItem-root': {
|
|
11638
|
-
backgroundColor: string;
|
|
11639
|
-
};
|
|
11640
|
-
'& .MuiTypography-body1': {
|
|
11641
|
-
[x: number]: {
|
|
11642
|
-
fontSize: any;
|
|
11643
|
-
};
|
|
11644
|
-
fontWeight: number;
|
|
11645
|
-
color: any;
|
|
11646
|
-
};
|
|
11711
|
+
boxShadow: string;
|
|
11712
|
+
backgroundColor: any;
|
|
11713
|
+
'& .MuiCardContent-root': {
|
|
11714
|
+
'& .SCBaseItem-root': {
|
|
11715
|
+
backgroundColor: string;
|
|
11647
11716
|
};
|
|
11648
|
-
'& .
|
|
11649
|
-
|
|
11717
|
+
'& .MuiTypography-body1': {
|
|
11718
|
+
[x: number]: {
|
|
11719
|
+
fontSize: any;
|
|
11720
|
+
};
|
|
11721
|
+
fontWeight: number;
|
|
11722
|
+
color: any;
|
|
11650
11723
|
};
|
|
11651
11724
|
};
|
|
11652
11725
|
'& .SCPaymentProductPrice-root': {
|
|
11653
|
-
marginBottom: any;
|
|
11654
11726
|
width: string;
|
|
11655
|
-
|
|
11727
|
+
paddingLeft: string;
|
|
11656
11728
|
};
|
|
11657
11729
|
};
|
|
11658
11730
|
skeletonRoot: ({ theme }: {
|
|
11659
11731
|
theme: any;
|
|
11660
11732
|
}) => {
|
|
11733
|
+
marginBottom: any;
|
|
11661
11734
|
borderRadius: string;
|
|
11662
|
-
|
|
11663
|
-
|
|
11735
|
+
boxShadow: string;
|
|
11736
|
+
backgroundColor: any;
|
|
11737
|
+
'& .MuiCardContent-root': {
|
|
11664
11738
|
marginBottom: any;
|
|
11665
11739
|
'& .SCBaseItem-root': {
|
|
11666
11740
|
backgroundColor: string;
|
|
11741
|
+
boxShadow: string;
|
|
11667
11742
|
};
|
|
11668
11743
|
};
|
|
11669
11744
|
'& .SCPaymentProductPrice-skeleton-root': {
|
|
11670
|
-
|
|
11745
|
+
marginTop: any;
|
|
11671
11746
|
width: string;
|
|
11747
|
+
paddingLeft: string;
|
|
11672
11748
|
};
|
|
11673
11749
|
};
|
|
11674
11750
|
};
|
|
@@ -11714,7 +11790,24 @@ declare const theme: {
|
|
|
11714
11790
|
root: ({ theme }: {
|
|
11715
11791
|
theme: any;
|
|
11716
11792
|
}) => {
|
|
11717
|
-
borderRadius:
|
|
11793
|
+
borderRadius: number;
|
|
11794
|
+
boxShadow: string;
|
|
11795
|
+
'& .SCPaymentProductPrice-primary': {
|
|
11796
|
+
fontSize: string;
|
|
11797
|
+
fontWeight: string;
|
|
11798
|
+
color: string;
|
|
11799
|
+
};
|
|
11800
|
+
'& .SCPaymentProductPrice-button': {
|
|
11801
|
+
textTransform: string;
|
|
11802
|
+
'&:hover, &:active': {
|
|
11803
|
+
backgroundColor: any;
|
|
11804
|
+
color: any;
|
|
11805
|
+
border: string;
|
|
11806
|
+
'& .MuiIcon-root': {
|
|
11807
|
+
color: any;
|
|
11808
|
+
};
|
|
11809
|
+
};
|
|
11810
|
+
};
|
|
11718
11811
|
'& .SCPaymentProductPrice-button-purchased': {
|
|
11719
11812
|
backgroundColor: string;
|
|
11720
11813
|
color: string;
|
|
@@ -11726,7 +11819,7 @@ declare const theme: {
|
|
|
11726
11819
|
skeletonRoot: ({ theme }: {
|
|
11727
11820
|
theme: any;
|
|
11728
11821
|
}) => {
|
|
11729
|
-
borderRadius:
|
|
11822
|
+
borderRadius: number;
|
|
11730
11823
|
};
|
|
11731
11824
|
};
|
|
11732
11825
|
};
|
|
@@ -11753,6 +11846,7 @@ declare const theme: {
|
|
|
11753
11846
|
maxWidth: number;
|
|
11754
11847
|
display: string;
|
|
11755
11848
|
gridTemplateColumns: string;
|
|
11849
|
+
padding: any;
|
|
11756
11850
|
gap: number;
|
|
11757
11851
|
"& .SCCheckout-content-object": {
|
|
11758
11852
|
[x: number]: {
|
|
@@ -11765,6 +11859,9 @@ declare const theme: {
|
|
|
11765
11859
|
alignItems: string;
|
|
11766
11860
|
'& .SCWidget-root': {
|
|
11767
11861
|
width: string;
|
|
11862
|
+
'& .SCEvent-preview-content': {
|
|
11863
|
+
padding: string;
|
|
11864
|
+
};
|
|
11768
11865
|
};
|
|
11769
11866
|
};
|
|
11770
11867
|
"& .SCCheckout-content-coverage": {
|
|
@@ -11782,7 +11879,6 @@ declare const theme: {
|
|
|
11782
11879
|
justifyContent: string;
|
|
11783
11880
|
alignItems: string;
|
|
11784
11881
|
maxWidth: number;
|
|
11785
|
-
padding: any;
|
|
11786
11882
|
};
|
|
11787
11883
|
};
|
|
11788
11884
|
"& .SCCheckout-checkout": {
|
|
@@ -11794,7 +11890,6 @@ declare const theme: {
|
|
|
11794
11890
|
minWidth: number;
|
|
11795
11891
|
width: string;
|
|
11796
11892
|
};
|
|
11797
|
-
margin: any;
|
|
11798
11893
|
width: string;
|
|
11799
11894
|
};
|
|
11800
11895
|
"& .SCCheckout-payment-order": {
|
|
@@ -12142,6 +12237,39 @@ declare const theme: {
|
|
|
12142
12237
|
};
|
|
12143
12238
|
};
|
|
12144
12239
|
};
|
|
12240
|
+
SCCheckoutHeaderInfoWidget: {
|
|
12241
|
+
styleOverrides: {
|
|
12242
|
+
root: ({ theme }: {
|
|
12243
|
+
theme: any;
|
|
12244
|
+
}) => {
|
|
12245
|
+
'& .SCCheckoutHeaderInfoWidget-header': {
|
|
12246
|
+
height: any;
|
|
12247
|
+
position: string;
|
|
12248
|
+
backgroundColor: any;
|
|
12249
|
+
color: string;
|
|
12250
|
+
textAlign: string;
|
|
12251
|
+
'& img': {
|
|
12252
|
+
position: string;
|
|
12253
|
+
left: string;
|
|
12254
|
+
top: any;
|
|
12255
|
+
transform: string;
|
|
12256
|
+
};
|
|
12257
|
+
'& .MuiIcon-root': {
|
|
12258
|
+
top: any;
|
|
12259
|
+
position: string;
|
|
12260
|
+
};
|
|
12261
|
+
};
|
|
12262
|
+
'& .SCCheckoutHeaderInfoWidget-content': {
|
|
12263
|
+
padding: any;
|
|
12264
|
+
justifyContent: string;
|
|
12265
|
+
'& .MuiTypography-body2': {
|
|
12266
|
+
paddingTop: any;
|
|
12267
|
+
whiteSpace: string;
|
|
12268
|
+
};
|
|
12269
|
+
};
|
|
12270
|
+
};
|
|
12271
|
+
};
|
|
12272
|
+
};
|
|
12145
12273
|
};
|
|
12146
12274
|
selfcommunity: {
|
|
12147
12275
|
user: {
|
package/lib/cjs/index.js
CHANGED
|
@@ -117,6 +117,7 @@ const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCG
|
|
|
117
117
|
const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
|
|
118
118
|
const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
|
|
119
119
|
const SCGroupSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCGroupSettingsIconButton"));
|
|
120
|
+
const SCGroupSubscribeButton_1 = tslib_1.__importDefault(require("./components/SCGroupSubscribeButton"));
|
|
120
121
|
const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupTemplate"));
|
|
121
122
|
const SCIncubator_1 = tslib_1.__importDefault(require("./components/SCIncubator"));
|
|
122
123
|
const SCIncubatorDetail_1 = tslib_1.__importDefault(require("./components/SCIncubatorDetail"));
|
|
@@ -219,6 +220,7 @@ const SCPaywalls_1 = tslib_1.__importDefault(require("./components/SCPaywalls"))
|
|
|
219
220
|
const SCPaywallsConfigurator_1 = tslib_1.__importDefault(require("./components/SCPaywallsConfigurator"));
|
|
220
221
|
const SCPdfPreview_1 = tslib_1.__importDefault(require("./components/SCPdfPreview"));
|
|
221
222
|
const SCPaymentOrders_1 = tslib_1.__importDefault(require("./components/SCPaymentOrders"));
|
|
223
|
+
const SCCheckoutHeaderInfoWidget_1 = tslib_1.__importDefault(require("./components/SCCheckoutHeaderInfoWidget"));
|
|
222
224
|
/**
|
|
223
225
|
* Style fragments - Imports - End
|
|
224
226
|
*/
|
|
@@ -399,6 +401,7 @@ const theme = {
|
|
|
399
401
|
SCGroupMembersWidget: SCGroupMembersWidget_1.default,
|
|
400
402
|
SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
|
|
401
403
|
SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default,
|
|
404
|
+
SCGroupSubscribeButton: SCGroupSubscribeButton_1.default,
|
|
402
405
|
SCGroupTemplate: SCGroupTemplate_1.default,
|
|
403
406
|
SCGroups: SCGroups_1.default,
|
|
404
407
|
SCIncubator: SCIncubator_1.default,
|
|
@@ -520,7 +523,8 @@ const theme = {
|
|
|
520
523
|
SCPaywalls: SCPaywalls_1.default,
|
|
521
524
|
SCPaywallsConfigurator: SCPaywallsConfigurator_1.default,
|
|
522
525
|
SCPdfPreview: SCPdfPreview_1.default,
|
|
523
|
-
SCPaymentOrders: SCPaymentOrders_1.default
|
|
526
|
+
SCPaymentOrders: SCPaymentOrders_1.default,
|
|
527
|
+
SCCheckoutHeaderInfoWidget: SCCheckoutHeaderInfoWidget_1.default
|
|
524
528
|
},
|
|
525
529
|
selfcommunity: {
|
|
526
530
|
user: {
|
|
@@ -21,6 +21,7 @@ declare const Component: {
|
|
|
21
21
|
maxWidth: number;
|
|
22
22
|
display: string;
|
|
23
23
|
gridTemplateColumns: string;
|
|
24
|
+
padding: any;
|
|
24
25
|
gap: number;
|
|
25
26
|
"& .SCCheckout-content-object": {
|
|
26
27
|
[x: number]: {
|
|
@@ -33,6 +34,9 @@ declare const Component: {
|
|
|
33
34
|
alignItems: string;
|
|
34
35
|
'& .SCWidget-root': {
|
|
35
36
|
width: string;
|
|
37
|
+
'& .SCEvent-preview-content': {
|
|
38
|
+
padding: string;
|
|
39
|
+
};
|
|
36
40
|
};
|
|
37
41
|
};
|
|
38
42
|
"& .SCCheckout-content-coverage": {
|
|
@@ -50,7 +54,6 @@ declare const Component: {
|
|
|
50
54
|
justifyContent: string;
|
|
51
55
|
alignItems: string;
|
|
52
56
|
maxWidth: number;
|
|
53
|
-
padding: any;
|
|
54
57
|
};
|
|
55
58
|
};
|
|
56
59
|
"& .SCCheckout-checkout": {
|
|
@@ -62,7 +65,6 @@ declare const Component: {
|
|
|
62
65
|
minWidth: number;
|
|
63
66
|
width: string;
|
|
64
67
|
};
|
|
65
|
-
margin: any;
|
|
66
68
|
width: string;
|
|
67
69
|
};
|
|
68
70
|
"& .SCCheckout-payment-order": {
|
|
@@ -13,6 +13,7 @@ const Component = {
|
|
|
13
13
|
maxWidth: 860,
|
|
14
14
|
display: 'grid',
|
|
15
15
|
gridTemplateColumns: '1fr 1fr',
|
|
16
|
+
padding: theme.spacing(2),
|
|
16
17
|
gap: 0,
|
|
17
18
|
[theme.breakpoints.down(1034)]: {
|
|
18
19
|
display: 'flex',
|
|
@@ -30,7 +31,10 @@ const Component = {
|
|
|
30
31
|
width: '90%'
|
|
31
32
|
},
|
|
32
33
|
'& .SCWidget-root': {
|
|
33
|
-
width: '93%'
|
|
34
|
+
width: '93%',
|
|
35
|
+
'& .SCEvent-preview-content': {
|
|
36
|
+
padding: `${theme.spacing(2)} !important`
|
|
37
|
+
}
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
['& .SCCheckout-content-coverage']: {
|
|
@@ -47,8 +51,7 @@ const Component = {
|
|
|
47
51
|
[theme.breakpoints.down(1034)]: {
|
|
48
52
|
display: 'none'
|
|
49
53
|
},
|
|
50
|
-
maxWidth: 600
|
|
51
|
-
padding: theme.spacing(4)
|
|
54
|
+
maxWidth: 600
|
|
52
55
|
}
|
|
53
56
|
},
|
|
54
57
|
['& .SCCheckout-checkout']: {
|
|
@@ -56,7 +59,7 @@ const Component = {
|
|
|
56
59
|
bottom: theme.spacing(2)
|
|
57
60
|
},
|
|
58
61
|
['& .SCCheckout-object']: {
|
|
59
|
-
margin: theme.spacing(2, 2, 0.5, 0),
|
|
62
|
+
// margin: theme.spacing(2, 2, 0.5, 0),
|
|
60
63
|
width: '100%',
|
|
61
64
|
[theme.breakpoints.up('sm')]: {
|
|
62
65
|
minWidth: 395,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: {
|
|
4
|
+
theme: any;
|
|
5
|
+
}) => {
|
|
6
|
+
'& .SCCheckoutHeaderInfoWidget-header': {
|
|
7
|
+
height: any;
|
|
8
|
+
position: string;
|
|
9
|
+
backgroundColor: any;
|
|
10
|
+
color: string;
|
|
11
|
+
textAlign: string;
|
|
12
|
+
'& img': {
|
|
13
|
+
position: string;
|
|
14
|
+
left: string;
|
|
15
|
+
top: any;
|
|
16
|
+
transform: string;
|
|
17
|
+
};
|
|
18
|
+
'& .MuiIcon-root': {
|
|
19
|
+
top: any;
|
|
20
|
+
position: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
'& .SCCheckoutHeaderInfoWidget-content': {
|
|
24
|
+
padding: any;
|
|
25
|
+
justifyContent: string;
|
|
26
|
+
'& .MuiTypography-body2': {
|
|
27
|
+
paddingTop: any;
|
|
28
|
+
whiteSpace: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export default Component;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCCheckoutHeaderInfoWidget-header': {
|
|
5
|
+
height: theme.spacing(10),
|
|
6
|
+
position: 'relative',
|
|
7
|
+
backgroundColor: theme.palette.primary.main,
|
|
8
|
+
color: 'white',
|
|
9
|
+
textAlign: 'center',
|
|
10
|
+
'& img': {
|
|
11
|
+
position: 'absolute',
|
|
12
|
+
left: '50%',
|
|
13
|
+
top: theme.spacing(1),
|
|
14
|
+
transform: 'translateX(-50%)'
|
|
15
|
+
},
|
|
16
|
+
'& .MuiIcon-root': {
|
|
17
|
+
top: theme.spacing(5),
|
|
18
|
+
position: 'relative'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
'& .SCCheckoutHeaderInfoWidget-content': {
|
|
22
|
+
padding: theme.spacing(1.5),
|
|
23
|
+
justifyContent: 'center',
|
|
24
|
+
'& .MuiTypography-body2': {
|
|
25
|
+
paddingTop: theme.spacing(1),
|
|
26
|
+
whiteSpace: 'pre-line'
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export default Component;
|
|
@@ -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
|
},
|
|
@@ -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,
|
|
@@ -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': {
|