@selfcommunity/react-theme-default 0.4.5-payments.169 → 0.5.0-alpha.0

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.
Files changed (62) hide show
  1. package/lib/cjs/components/SCCategoryHeader.d.ts +0 -4
  2. package/lib/cjs/components/SCCategoryHeader.js +1 -5
  3. package/lib/cjs/components/SCComposer.d.ts +3 -0
  4. package/lib/cjs/components/SCComposer.js +4 -1
  5. package/lib/cjs/components/SCEventForm.d.ts +0 -3
  6. package/lib/cjs/components/SCEventForm.js +0 -3
  7. package/lib/cjs/components/SCGroups.d.ts +8 -0
  8. package/lib/cjs/components/SCGroups.js +8 -0
  9. package/lib/cjs/index.d.ts +11 -402
  10. package/lib/cjs/index.js +1 -35
  11. package/lib/esm/components/SCCategoryHeader.d.ts +0 -4
  12. package/lib/esm/components/SCCategoryHeader.js +1 -5
  13. package/lib/esm/components/SCComposer.d.ts +3 -0
  14. package/lib/esm/components/SCComposer.js +4 -1
  15. package/lib/esm/components/SCEventForm.d.ts +0 -3
  16. package/lib/esm/components/SCEventForm.js +0 -3
  17. package/lib/esm/components/SCGroups.d.ts +8 -0
  18. package/lib/esm/components/SCGroups.js +8 -0
  19. package/lib/esm/index.d.ts +11 -402
  20. package/lib/esm/index.js +1 -35
  21. package/lib/umd/react-theme-default.js +1 -1
  22. package/package.json +2 -2
  23. package/lib/cjs/components/SCBuyButton.d.ts +0 -15
  24. package/lib/cjs/components/SCBuyButton.js +0 -13
  25. package/lib/cjs/components/SCCategoryFollowButton.d.ts +0 -8
  26. package/lib/cjs/components/SCCategoryFollowButton.js +0 -10
  27. package/lib/cjs/components/SCCheckout.d.ts +0 -83
  28. package/lib/cjs/components/SCCheckout.js +0 -83
  29. package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +0 -27
  30. package/lib/cjs/components/SCCheckoutReturnDialog.js +0 -27
  31. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +0 -8
  32. package/lib/cjs/components/SCHiddenPurchasableContent.js +0 -10
  33. package/lib/cjs/components/SCPaymentProduct.d.ts +0 -51
  34. package/lib/cjs/components/SCPaymentProduct.js +0 -49
  35. package/lib/cjs/components/SCPaymentProductPrice.d.ts +0 -22
  36. package/lib/cjs/components/SCPaymentProductPrice.js +0 -20
  37. package/lib/cjs/components/SCPaymentProducts.d.ts +0 -15
  38. package/lib/cjs/components/SCPaymentProducts.js +0 -13
  39. package/lib/cjs/components/SCPaywalls.d.ts +0 -12
  40. package/lib/cjs/components/SCPaywalls.js +0 -12
  41. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +0 -150
  42. package/lib/cjs/components/SCPaywallsConfigurator.js +0 -153
  43. package/lib/esm/components/SCBuyButton.d.ts +0 -15
  44. package/lib/esm/components/SCBuyButton.js +0 -11
  45. package/lib/esm/components/SCCategoryFollowButton.d.ts +0 -8
  46. package/lib/esm/components/SCCategoryFollowButton.js +0 -8
  47. package/lib/esm/components/SCCheckout.d.ts +0 -83
  48. package/lib/esm/components/SCCheckout.js +0 -81
  49. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +0 -27
  50. package/lib/esm/components/SCCheckoutReturnDialog.js +0 -25
  51. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +0 -8
  52. package/lib/esm/components/SCHiddenPurchasableContent.js +0 -8
  53. package/lib/esm/components/SCPaymentProduct.d.ts +0 -51
  54. package/lib/esm/components/SCPaymentProduct.js +0 -47
  55. package/lib/esm/components/SCPaymentProductPrice.d.ts +0 -22
  56. package/lib/esm/components/SCPaymentProductPrice.js +0 -18
  57. package/lib/esm/components/SCPaymentProducts.d.ts +0 -15
  58. package/lib/esm/components/SCPaymentProducts.js +0 -11
  59. package/lib/esm/components/SCPaywalls.d.ts +0 -12
  60. package/lib/esm/components/SCPaywalls.js +0 -10
  61. package/lib/esm/components/SCPaywallsConfigurator.d.ts +0 -150
  62. package/lib/esm/components/SCPaywallsConfigurator.js +0 -151
@@ -113,9 +113,6 @@ declare const Component: {
113
113
  padding: any;
114
114
  };
115
115
  };
116
- '& .SCEventForm-paywalls-configurator-wrap': {
117
- margin: string;
118
- };
119
116
  };
120
117
  };
121
118
  };
@@ -113,9 +113,6 @@ const Component = {
113
113
  '& .SCEventForm-event-address-tab-content': {
114
114
  padding: theme.spacing(0.5, 2, 2, 2)
115
115
  }
116
- },
117
- '& .SCEventForm-paywalls-configurator-wrap': {
118
- margin: '1px'
119
116
  }
120
117
  })
121
118
  }
@@ -13,6 +13,14 @@ declare const Component: {
13
13
  marginTop: any;
14
14
  marginBottom: any;
15
15
  };
16
+ '& .SCGroups-search': {
17
+ '& .MuiButtonBase-root': {
18
+ minWidth: string;
19
+ '& .MuiButton-endIcon': {
20
+ margin: number;
21
+ };
22
+ };
23
+ };
16
24
  '& .SCGroups-groups': {
17
25
  marginTop: any;
18
26
  '& .SCGroups-item': {
@@ -13,6 +13,14 @@ const Component = {
13
13
  marginTop: theme.spacing(),
14
14
  marginBottom: theme.spacing(2)
15
15
  },
16
+ '& .SCGroups-search': {
17
+ '& .MuiButtonBase-root': {
18
+ minWidth: '30px',
19
+ '& .MuiButton-endIcon': {
20
+ margin: 0
21
+ }
22
+ }
23
+ },
16
24
  '& .SCGroups-groups': {
17
25
  marginTop: theme.spacing(2),
18
26
  '& .SCGroups-item': {
@@ -838,13 +838,6 @@ declare const theme: {
838
838
  dialogRoot: () => {};
839
839
  };
840
840
  };
841
- SCCategoryFollowButton: {
842
- styleOverrides: {
843
- root: ({ theme }: any) => {
844
- padding: any;
845
- };
846
- };
847
- };
848
841
  SCCategoryHeader: {
849
842
  defaultProps: {
850
843
  CategoryFollowButtonProps: {
@@ -893,10 +886,6 @@ declare const theme: {
893
886
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
894
887
  textAlign: string;
895
888
  marginBottom: any;
896
- '& button': {
897
- marginLeft: any;
898
- marginRight: any;
899
- };
900
889
  };
901
890
  '& .SCCategoryHeader-followed': {
902
891
  marginBottom: string;
@@ -1499,6 +1488,9 @@ declare const theme: {
1499
1488
  '& .SCMediaFile-media': {
1500
1489
  height: string;
1501
1490
  maxWidth: number;
1491
+ '& .SCMediaFile-title': {
1492
+ maxWidth: string;
1493
+ };
1502
1494
  };
1503
1495
  };
1504
1496
  '& .SCMediaLink-preview-root': {
@@ -5184,6 +5176,14 @@ declare const theme: {
5184
5176
  marginTop: any;
5185
5177
  marginBottom: any;
5186
5178
  };
5179
+ '& .SCGroups-search': {
5180
+ '& .MuiButtonBase-root': {
5181
+ minWidth: string;
5182
+ '& .MuiButton-endIcon': {
5183
+ margin: number;
5184
+ };
5185
+ };
5186
+ };
5187
5187
  '& .SCGroups-groups': {
5188
5188
  marginTop: any;
5189
5189
  '& .SCGroups-item': {
@@ -9334,9 +9334,6 @@ declare const theme: {
9334
9334
  padding: any;
9335
9335
  };
9336
9336
  };
9337
- '& .SCEventForm-paywalls-configurator-wrap': {
9338
- margin: string;
9339
- };
9340
9337
  };
9341
9338
  };
9342
9339
  };
@@ -11544,380 +11541,6 @@ declare const theme: {
11544
11541
  };
11545
11542
  };
11546
11543
  };
11547
- SCBuyButton: {
11548
- styleOverrides: {
11549
- requestRoot: ({ theme }: {
11550
- theme: any;
11551
- }) => {};
11552
- drawerRoot: ({ theme }: {
11553
- theme: any;
11554
- }) => {
11555
- '& > div.MuiPaper-root': {
11556
- padding: any;
11557
- };
11558
- };
11559
- };
11560
- };
11561
- SCPaymentProducts: {
11562
- styleOverrides: {
11563
- root: ({ theme }: {
11564
- theme: any;
11565
- }) => {
11566
- padding: any;
11567
- };
11568
- skeletonRoot: ({ theme }: {
11569
- theme: any;
11570
- }) => {
11571
- padding: any;
11572
- };
11573
- };
11574
- };
11575
- SCPaymentProduct: {
11576
- styleOverrides: {
11577
- root: ({ theme }: {
11578
- theme: any;
11579
- }) => {
11580
- borderRadius: string;
11581
- '& .MuiAccordionSummary-root': {
11582
- backgroundColor: any;
11583
- '& .MuiAccordionSummary-content': {
11584
- display: string;
11585
- flexDirection: string;
11586
- '& .SCBaseItem-root': {
11587
- backgroundColor: string;
11588
- };
11589
- '& .MuiTypography-body1': {
11590
- [x: number]: {
11591
- fontSize: any;
11592
- };
11593
- fontWeight: number;
11594
- color: any;
11595
- };
11596
- };
11597
- '& .MuiAccordionDetails-root': {
11598
- marginTop: any;
11599
- };
11600
- };
11601
- '& .SCPaymentProductPrice-root': {
11602
- marginBottom: any;
11603
- width: string;
11604
- borderRadius: string;
11605
- };
11606
- };
11607
- skeletonRoot: ({ theme }: {
11608
- theme: any;
11609
- }) => {
11610
- borderRadius: string;
11611
- '& .MuiAccordionSummary-root': {
11612
- backgroundColor: any;
11613
- marginBottom: any;
11614
- '& .SCBaseItem-root': {
11615
- backgroundColor: string;
11616
- };
11617
- };
11618
- '& .SCPaymentProductPrice-skeleton-root': {
11619
- marginBottom: any;
11620
- width: string;
11621
- };
11622
- };
11623
- };
11624
- };
11625
- SCPaymentProductPrice: {
11626
- styleOverrides: {
11627
- root: ({ theme }: {
11628
- theme: any;
11629
- }) => {
11630
- borderRadius: string;
11631
- '& .SCPaymentProductPrice-button-purchased': {
11632
- backgroundColor: string;
11633
- color: string;
11634
- };
11635
- '& .SCPaymentProductPrice-purchased-at': {
11636
- textDecoration: string;
11637
- };
11638
- };
11639
- skeletonRoot: ({ theme }: {
11640
- theme: any;
11641
- }) => {
11642
- borderRadius: string;
11643
- };
11644
- };
11645
- };
11646
- SCCheckout: {
11647
- styleOverrides: {
11648
- root: ({ theme }: {
11649
- theme: any;
11650
- }) => {
11651
- position: string;
11652
- backgroundColor: any;
11653
- display: string;
11654
- flexDirection: string;
11655
- justifyContent: string;
11656
- alignItems: string;
11657
- width: string;
11658
- "& .SCCheckout-content": {
11659
- [x: number]: {
11660
- display: string;
11661
- flexDirection: string;
11662
- justifyContent: string;
11663
- alignItems: string;
11664
- };
11665
- width: string;
11666
- maxWidth: number;
11667
- display: string;
11668
- gridTemplateColumns: string;
11669
- gap: number;
11670
- "& .SCCheckout-content-object": {
11671
- [x: number]: {
11672
- width: string;
11673
- };
11674
- position: string;
11675
- display: string;
11676
- flexDirection: string;
11677
- justifyContent: string;
11678
- alignItems: string;
11679
- '& .SCWidget-root': {
11680
- width: string;
11681
- };
11682
- };
11683
- "& .SCCheckout-content-coverage": {
11684
- position: string;
11685
- width: string;
11686
- height: string;
11687
- backgroundColor: string;
11688
- };
11689
- "& .SCCheckout-content-desc": {
11690
- [x: number]: {
11691
- display: string;
11692
- };
11693
- display: string;
11694
- flexDirection: string;
11695
- justifyContent: string;
11696
- alignItems: string;
11697
- maxWidth: number;
11698
- padding: any;
11699
- };
11700
- };
11701
- "& .SCCheckout-checkout": {
11702
- width: string;
11703
- bottom: any;
11704
- };
11705
- "& .SCCheckout-object": {
11706
- [x: number]: {
11707
- minWidth: number;
11708
- width: string;
11709
- };
11710
- margin: any;
11711
- width: string;
11712
- };
11713
- "& .SCCategory-root": {
11714
- borderRadius: any;
11715
- '& a': {
11716
- padding: any;
11717
- };
11718
- };
11719
- "& .SCGroup-root": {
11720
- borderRadius: any;
11721
- '& a': {
11722
- padding: any;
11723
- };
11724
- };
11725
- };
11726
- };
11727
- };
11728
- SCCheckoutReturnDialog: {
11729
- styleOverrides: {
11730
- root: ({ theme }: {
11731
- theme: any;
11732
- }) => {
11733
- '& .MuiDialogTitle-root': {
11734
- textAlign: string;
11735
- fontSize: string;
11736
- fontWeight: number;
11737
- };
11738
- '& .MuiDialogContent-root': {
11739
- display: string;
11740
- minHeight: number;
11741
- justifyContent: string;
11742
- alignItems: string;
11743
- '& .SCWidget-root': {
11744
- minWidth: number;
11745
- paddingLeft: any;
11746
- };
11747
- };
11748
- '& .SCCheckoutSuccessDialog-content-object': {
11749
- width: string;
11750
- };
11751
- };
11752
- };
11753
- };
11754
- SCHiddenPurchasableContent: {
11755
- styleOverrides: {
11756
- root: ({ theme }: any) => {
11757
- padding: any;
11758
- };
11759
- };
11760
- };
11761
- SCPaywalls: {
11762
- styleOverrides: {
11763
- root: ({ theme }: {
11764
- theme: any;
11765
- }) => {
11766
- '& .SCPaywalls-error': {
11767
- margin: any;
11768
- };
11769
- };
11770
- };
11771
- };
11772
- SCPaywallsConfigurator: {
11773
- styleOverrides: {
11774
- root: ({ theme }: any) => {
11775
- "& .SCPaywallsConfigurator-new-product": {
11776
- background: string;
11777
- padding: any;
11778
- marginTop: any;
11779
- borderRadius: any;
11780
- };
11781
- "& .SCPaywallsConfigurator-no-product": {
11782
- textDecoration: string;
11783
- paddingLeft: number;
11784
- color: "#bdbdbd";
11785
- };
11786
- "& .SCPaywallsConfigurator-content-access-type": {
11787
- '& > p': {
11788
- marginBottom: any;
11789
- };
11790
- '& .MuiPaper-root': {
11791
- borderColor: string;
11792
- };
11793
- '& .MuiAccordion-root:first-of-type': {
11794
- borderTopLeftRadius: number;
11795
- borderTopRightRadius: number;
11796
- };
11797
- '& .MuiAccordion-root:last-of-type': {
11798
- borderBottomLeftRadius: number;
11799
- borderBottomRightRadius: number;
11800
- };
11801
- "& .SCPaywallsConfigurator-selected-payment-products-list": {
11802
- borderTop: string;
11803
- marginTop: number;
11804
- };
11805
- "& .SCPaywallsConfigurator-add-payment-product": {
11806
- position: string;
11807
- left: number;
11808
- '& .MuiButton-startIcon': {
11809
- fontSize: string;
11810
- };
11811
- };
11812
- };
11813
- };
11814
- paymentProductsAutocompletePopperRoot: ({ theme }: any) => {
11815
- "& .MuiAutocomplete-paper": {
11816
- boxShadow: string;
11817
- margin: number;
11818
- color: string;
11819
- fontSize: number;
11820
- };
11821
- "& .MuiAutocomplete-listbox": {
11822
- backgroundColor: string;
11823
- padding: number;
11824
- "& .MuiAutocomplete-option": {
11825
- minHeight: string;
11826
- alignItems: string;
11827
- padding: number;
11828
- borderBottom: string;
11829
- '&[aria-selected="true"]': {
11830
- backgroundColor: string;
11831
- };
11832
- "&.MuiAutocomplete-focused, &.MuiAutocomplete-focused[aria-selected=\"true\"]": {
11833
- backgroundColor: any;
11834
- };
11835
- };
11836
- };
11837
- "&.MuiAutocomplete-popperDisablePortal": {
11838
- position: string;
11839
- };
11840
- "& .SCPaywallsConfigurator-product-check-icon": {
11841
- width: number;
11842
- height: number;
11843
- margin: string;
11844
- };
11845
- "& .SCPaywallsConfigurator-product-card-icon": {
11846
- width: number;
11847
- height: number;
11848
- flexShrink: number;
11849
- borderRadius: string;
11850
- marginRight: any;
11851
- marginTop: string;
11852
- padding: string;
11853
- backgroundColor: string;
11854
- color: string;
11855
- };
11856
- "& .SCPaywallsConfigurator-product-content": {
11857
- flexGrow: number;
11858
- '& span': {
11859
- color: string;
11860
- };
11861
- };
11862
- "& .SCPaywallsConfigurator-product-remove-icon": {
11863
- opacity: number;
11864
- width: number;
11865
- height: number;
11866
- };
11867
- "& .SCPaywallsConfigurator-autocomplete-footer": {
11868
- backgroundColor: "#bdbdbd";
11869
- };
11870
- };
11871
- paymentProductsPopperRoot: ({ theme }: any) => {
11872
- border: string;
11873
- boxShadow: string;
11874
- borderRadius: number;
11875
- width: number;
11876
- zIndex: any;
11877
- fontSize: number;
11878
- color: string;
11879
- backgroundColor: string;
11880
- '& .MuiPaper-root': {
11881
- borderRadius: number;
11882
- };
11883
- "& .SCPaywallsConfigurator-payment-products-popper-title": {
11884
- borderBottom: string;
11885
- padding: string;
11886
- fontWeight: number;
11887
- };
11888
- "& .SCPaywallsConfigurator-payment-products-popper-footer": {
11889
- borderTop: string;
11890
- padding: string;
11891
- display: string;
11892
- alignItems: string;
11893
- justifyContent: string;
11894
- '& button': {
11895
- padding: string;
11896
- '& .MuiIcon-root': {
11897
- fontSize: number;
11898
- };
11899
- };
11900
- };
11901
- };
11902
- filterInputRoot: ({ theme }: any) => {
11903
- padding: number;
11904
- width: string;
11905
- borderBottom: string;
11906
- '& input': {
11907
- borderRadius: number;
11908
- backgroundColor: string;
11909
- padding: number;
11910
- transition: any;
11911
- border: string;
11912
- fontSize: number;
11913
- '&:focus': {
11914
- boxShadow: string;
11915
- borderColor: string;
11916
- };
11917
- };
11918
- };
11919
- };
11920
- };
11921
11544
  };
11922
11545
  selfcommunity: {
11923
11546
  user: {
@@ -11943,20 +11566,6 @@ declare const theme: {
11943
11566
  sizeXLarge: number;
11944
11567
  };
11945
11568
  };
11946
- contentProduct: {
11947
- icon: {
11948
- sizeSmall: number;
11949
- sizeMedium: number;
11950
- sizeLarge: number;
11951
- };
11952
- };
11953
- contentProductPrice: {
11954
- icon: {
11955
- sizeSmall: number;
11956
- sizeMedium: number;
11957
- sizeLarge: number;
11958
- };
11959
- };
11960
11569
  };
11961
11570
  };
11962
11571
  export default theme;
package/lib/esm/index.js CHANGED
@@ -37,7 +37,6 @@ import SCCategory from './components/SCCategory';
37
37
  import SCCategoryAutocomplete from './components/SCCategoryAutocomplete';
38
38
  import SCCategoryFeedTemplate from './components/SCCategoryFeedTemplate';
39
39
  import SCCategoryFollowersButton from './components/SCCategoryFollowersButton';
40
- import SCCategoryFollowButton from './components/SCCategoryFollowButton';
41
40
  import SCCategoryHeader from './components/SCCategoryHeader';
42
41
  import SCCategoryTemplate from './components/SCCategoryTemplate';
43
42
  import SCCategoryTrendingFeedWidget from './components/SCCategoryTrendingFeedWidget';
@@ -202,15 +201,6 @@ import SCTagAutocomplete from './components/SCTagAutocomplete';
202
201
  import SCVoteAudienceButton from './components/SCVoteAudienceButton';
203
202
  import SCVoteButton from './components/SCVoteButton';
204
203
  import SCWidget from './components/SCWidget';
205
- import SCBuyButton from './components/SCBuyButton';
206
- import SCPaymentProducts from './components/SCPaymentProducts';
207
- import SCPaymentProduct from './components/SCPaymentProduct';
208
- import SCPaymentProductPrice from './components/SCPaymentProductPrice';
209
- import SCCheckout from './components/SCCheckout';
210
- import SCCheckoutReturnDialog from './components/SCCheckoutReturnDialog';
211
- import SCHiddenPurchasableContent from './components/SCHiddenPurchasableContent';
212
- import SCPaywalls from './components/SCPaywalls';
213
- import SCPaywallsConfigurator from './components/SCPaywallsConfigurator';
214
204
  /**
215
205
  * Style fragments - Imports - End
216
206
  */
@@ -326,7 +316,6 @@ const theme = {
326
316
  SCCategoryAutocomplete,
327
317
  SCCategoryFeedTemplate,
328
318
  SCCategoryFollowersButton,
329
- SCCategoryFollowButton,
330
319
  SCCategoryHeader,
331
320
  SCCategoryTemplate,
332
321
  SCCategoryTrendingFeedWidget,
@@ -491,16 +480,7 @@ const theme = {
491
480
  SCLiveStreamForm,
492
481
  SCLiveStreamFormSettings,
493
482
  SCLiveStreamRoom,
494
- SCLiveStreamVideoConference,
495
- SCBuyButton,
496
- SCPaymentProducts,
497
- SCPaymentProduct,
498
- SCPaymentProductPrice,
499
- SCCheckout,
500
- SCCheckoutReturnDialog,
501
- SCHiddenPurchasableContent,
502
- SCPaywalls,
503
- SCPaywallsConfigurator
483
+ SCLiveStreamVideoConference
504
484
  },
505
485
  selfcommunity: {
506
486
  user: {
@@ -525,20 +505,6 @@ const theme = {
525
505
  sizeLarge: 90,
526
506
  sizeXLarge: 205
527
507
  }
528
- },
529
- contentProduct: {
530
- icon: {
531
- sizeSmall: 24,
532
- sizeMedium: 40,
533
- sizeLarge: 50
534
- }
535
- },
536
- contentProductPrice: {
537
- icon: {
538
- sizeSmall: 24,
539
- sizeMedium: 40,
540
- sizeLarge: 50
541
- }
542
508
  }
543
509
  }
544
510
  };