@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/esm/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/esm/index.js
CHANGED
|
@@ -113,6 +113,7 @@ import SCGroupMembersWidget from './components/SCGroupMembersWidget';
|
|
|
113
113
|
import SCGroupRequestsWidget from './components/SCGroupRequestsWidget';
|
|
114
114
|
import SCGroups from './components/SCGroups';
|
|
115
115
|
import SCGroupSettingsIconButton from './components/SCGroupSettingsIconButton';
|
|
116
|
+
import SCGroupSubscribeButton from './components/SCGroupSubscribeButton';
|
|
116
117
|
import SCGroupTemplate from './components/SCGroupTemplate';
|
|
117
118
|
import SCIncubator from './components/SCIncubator';
|
|
118
119
|
import SCIncubatorDetail from './components/SCIncubatorDetail';
|
|
@@ -215,6 +216,7 @@ import SCPaywalls from './components/SCPaywalls';
|
|
|
215
216
|
import SCPaywallsConfigurator from './components/SCPaywallsConfigurator';
|
|
216
217
|
import SCPdfPreview from './components/SCPdfPreview';
|
|
217
218
|
import SCPaymentOrders from './components/SCPaymentOrders';
|
|
219
|
+
import SCCheckoutHeaderInfoWidget from './components/SCCheckoutHeaderInfoWidget';
|
|
218
220
|
/**
|
|
219
221
|
* Style fragments - Imports - End
|
|
220
222
|
*/
|
|
@@ -387,6 +389,7 @@ const theme = {
|
|
|
387
389
|
SCGroupMembersWidget,
|
|
388
390
|
SCGroupRequestsWidget,
|
|
389
391
|
SCGroupSettingsIconButton,
|
|
392
|
+
SCGroupSubscribeButton,
|
|
390
393
|
SCGroupTemplate,
|
|
391
394
|
SCGroups,
|
|
392
395
|
SCIncubator,
|
|
@@ -508,7 +511,8 @@ const theme = {
|
|
|
508
511
|
SCPaywalls,
|
|
509
512
|
SCPaywallsConfigurator,
|
|
510
513
|
SCPdfPreview,
|
|
511
|
-
SCPaymentOrders
|
|
514
|
+
SCPaymentOrders,
|
|
515
|
+
SCCheckoutHeaderInfoWidget
|
|
512
516
|
},
|
|
513
517
|
selfcommunity: {
|
|
514
518
|
user: {
|
|
Binary file
|