@selfcommunity/react-theme-default 0.4.5-payments.182 → 0.5.0-alpha.1

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 (68) hide show
  1. package/lib/cjs/components/MuiAppBar.js +2 -2
  2. package/lib/cjs/components/SCBottomNavigation.js +2 -2
  3. package/lib/cjs/components/SCCategoryHeader.d.ts +0 -4
  4. package/lib/cjs/components/SCCategoryHeader.js +1 -5
  5. package/lib/cjs/components/SCEditCourse.d.ts +0 -7
  6. package/lib/cjs/components/SCEditCourse.js +0 -7
  7. package/lib/cjs/components/SCEventForm.d.ts +0 -3
  8. package/lib/cjs/components/SCEventForm.js +0 -3
  9. package/lib/cjs/components/SCNavigationToolbar.js +2 -2
  10. package/lib/cjs/components/SCNavigationToolbarMobile.js +2 -2
  11. package/lib/cjs/components/SCSearchAutocomplete.js +7 -7
  12. package/lib/cjs/index.d.ts +0 -415
  13. package/lib/cjs/index.js +1 -35
  14. package/lib/esm/components/MuiAppBar.js +1 -1
  15. package/lib/esm/components/SCBottomNavigation.js +1 -1
  16. package/lib/esm/components/SCCategoryHeader.d.ts +0 -4
  17. package/lib/esm/components/SCCategoryHeader.js +1 -5
  18. package/lib/esm/components/SCEditCourse.d.ts +0 -7
  19. package/lib/esm/components/SCEditCourse.js +0 -7
  20. package/lib/esm/components/SCEventForm.d.ts +0 -3
  21. package/lib/esm/components/SCEventForm.js +0 -3
  22. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  23. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  24. package/lib/esm/components/SCSearchAutocomplete.js +1 -1
  25. package/lib/esm/index.d.ts +0 -415
  26. package/lib/esm/index.js +1 -35
  27. package/lib/umd/react-theme-default.js +1 -1
  28. package/package.json +2 -2
  29. package/lib/cjs/components/SCBuyButton.d.ts +0 -15
  30. package/lib/cjs/components/SCBuyButton.js +0 -13
  31. package/lib/cjs/components/SCCategoryFollowButton.d.ts +0 -8
  32. package/lib/cjs/components/SCCategoryFollowButton.js +0 -10
  33. package/lib/cjs/components/SCCheckout.d.ts +0 -86
  34. package/lib/cjs/components/SCCheckout.js +0 -86
  35. package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +0 -30
  36. package/lib/cjs/components/SCCheckoutReturnDialog.js +0 -30
  37. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +0 -8
  38. package/lib/cjs/components/SCHiddenPurchasableContent.js +0 -10
  39. package/lib/cjs/components/SCPaymentProduct.d.ts +0 -51
  40. package/lib/cjs/components/SCPaymentProduct.js +0 -49
  41. package/lib/cjs/components/SCPaymentProductPrice.d.ts +0 -22
  42. package/lib/cjs/components/SCPaymentProductPrice.js +0 -20
  43. package/lib/cjs/components/SCPaymentProducts.d.ts +0 -15
  44. package/lib/cjs/components/SCPaymentProducts.js +0 -13
  45. package/lib/cjs/components/SCPaywalls.d.ts +0 -12
  46. package/lib/cjs/components/SCPaywalls.js +0 -12
  47. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +0 -150
  48. package/lib/cjs/components/SCPaywallsConfigurator.js +0 -153
  49. package/lib/esm/components/SCBuyButton.d.ts +0 -15
  50. package/lib/esm/components/SCBuyButton.js +0 -11
  51. package/lib/esm/components/SCCategoryFollowButton.d.ts +0 -8
  52. package/lib/esm/components/SCCategoryFollowButton.js +0 -8
  53. package/lib/esm/components/SCCheckout.d.ts +0 -86
  54. package/lib/esm/components/SCCheckout.js +0 -84
  55. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +0 -30
  56. package/lib/esm/components/SCCheckoutReturnDialog.js +0 -28
  57. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +0 -8
  58. package/lib/esm/components/SCHiddenPurchasableContent.js +0 -8
  59. package/lib/esm/components/SCPaymentProduct.d.ts +0 -51
  60. package/lib/esm/components/SCPaymentProduct.js +0 -47
  61. package/lib/esm/components/SCPaymentProductPrice.d.ts +0 -22
  62. package/lib/esm/components/SCPaymentProductPrice.js +0 -18
  63. package/lib/esm/components/SCPaymentProducts.d.ts +0 -15
  64. package/lib/esm/components/SCPaymentProducts.js +0 -11
  65. package/lib/esm/components/SCPaywalls.d.ts +0 -12
  66. package/lib/esm/components/SCPaywalls.js +0 -10
  67. package/lib/esm/components/SCPaywallsConfigurator.d.ts +0 -150
  68. package/lib/esm/components/SCPaywallsConfigurator.js +0 -151
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const styles_1 = require("@mui/material/styles");
3
+ const material_1 = require("@mui/material");
4
4
  const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => {
7
7
  var _a, _b, _c, _d;
8
8
  return ({
9
- color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.text.primary,
9
+ color: (0, material_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.text.primary,
10
10
  backgroundColor: (_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main
11
11
  });
12
12
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const styles_1 = require("@mui/material/styles");
3
+ const material_1 = require("@mui/material");
4
4
  const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => {
@@ -9,7 +9,7 @@ const Component = {
9
9
  backgroundColor: (_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main,
10
10
  '& .SCBottomNavigation-action': {
11
11
  fontSize: '1.57rem',
12
- color: (0, styles_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main,
12
+ color: (0, material_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main,
13
13
  borderTop: `1px solid transparent`,
14
14
  minWidth: 56,
15
15
  '&.Mui-selected, &:hover': {
@@ -46,10 +46,6 @@ declare const Component: {
46
46
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
47
47
  textAlign: string;
48
48
  marginBottom: any;
49
- '& button': {
50
- marginLeft: any;
51
- marginRight: any;
52
- };
53
49
  };
54
50
  '& .SCCategoryHeader-followed': {
55
51
  marginBottom: string;
@@ -47,11 +47,7 @@ const Component = {
47
47
  },
48
48
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
49
49
  textAlign: 'center',
50
- marginBottom: theme.spacing(2),
51
- '& button': {
52
- marginLeft: theme.spacing(0.5),
53
- marginRight: theme.spacing(0.5)
54
- }
50
+ marginBottom: theme.spacing(2)
55
51
  },
56
52
  '& .SCCategoryHeader-followed': {
57
53
  marginBottom: `${theme.spacing(0)} !important`,
@@ -219,13 +219,6 @@ declare const Component: {
219
219
  margin: any;
220
220
  };
221
221
  };
222
- '& .SCCourseForm-paywalls-configurator-wrap': {
223
- marginBottom: any;
224
- '& .SCPaywallsConfigurator-content-access-type': {
225
- fontSize: string;
226
- padding: any;
227
- };
228
- };
229
222
  };
230
223
  };
231
224
  skeletonRoot: ({ theme }: {
@@ -219,13 +219,6 @@ const Component = {
219
219
  maxWidth: '600px',
220
220
  margin: theme.spacing(2, 'auto', 0)
221
221
  }
222
- },
223
- '& .SCCourseForm-paywalls-configurator-wrap': {
224
- marginBottom: theme.spacing(3),
225
- '& .SCPaywallsConfigurator-content-access-type': {
226
- fontSize: '14px',
227
- padding: theme.spacing()
228
- }
229
222
  }
230
223
  }
231
224
  }),
@@ -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
  };
@@ -115,9 +115,6 @@ const Component = {
115
115
  '& .SCEventForm-event-address-tab-content': {
116
116
  padding: theme.spacing(0.5, 2, 2, 2)
117
117
  }
118
- },
119
- '& .SCEventForm-paywalls-configurator-wrap': {
120
- margin: '1px'
121
118
  }
122
119
  })
123
120
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const styles_1 = require("@mui/material/styles");
3
+ const material_1 = require("@mui/material");
4
4
  const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => {
@@ -67,7 +67,7 @@ const Component = {
67
67
  color: theme.palette.secondary.main
68
68
  },
69
69
  '& .MuiIconButton-root': {
70
- color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
70
+ color: (0, material_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
71
71
  },
72
72
  [theme.breakpoints.up(950)]: {
73
73
  padding: theme.spacing(0, 2),
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const styles_1 = require("@mui/material/styles");
3
+ const material_1 = require("@mui/material");
4
4
  const Component = {
5
5
  styleOverrides: {
6
6
  root: ({ theme }) => {
@@ -19,7 +19,7 @@ const Component = {
19
19
  flexGrow: 0
20
20
  },
21
21
  '& .MuiIconButton-root': {
22
- color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
22
+ color: (0, material_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
23
23
  },
24
24
  '& h4': {
25
25
  fontSize: '1.286rem',
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const system_1 = require("@mui/system");
4
- const styles_1 = require("@mui/material/styles");
4
+ const material_1 = require("@mui/material");
5
5
  const Component = {
6
6
  styleOverrides: {
7
7
  root: ({ theme }) => {
@@ -12,24 +12,24 @@ const Component = {
12
12
  borderRadius: theme.shape.borderRadius,
13
13
  '& .MuiAutocomplete-input': {
14
14
  padding: theme.spacing(0.5, 1),
15
- color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
15
+ color: (0, material_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
16
16
  }
17
17
  },
18
18
  '& .MuiInputBase-root': {
19
19
  '& .MuiIcon-root': {
20
- color: (0, styles_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
20
+ color: (0, material_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
21
21
  },
22
22
  '& fieldset': {
23
- borderColor: (0, system_1.alpha)((0, styles_1.getContrastRatio)((_f = (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.navbar) === null || _f === void 0 ? void 0 : _f.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main, theme.palette.action.disabledOpacity)
23
+ borderColor: (0, system_1.alpha)((0, material_1.getContrastRatio)((_f = (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.navbar) === null || _f === void 0 ? void 0 : _f.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main, theme.palette.action.disabledOpacity)
24
24
  },
25
25
  '&:hover fieldset': {
26
- borderColor: (0, styles_1.getContrastRatio)((_h = (_g = theme.palette) === null || _g === void 0 ? void 0 : _g.navbar) === null || _h === void 0 ? void 0 : _h.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
26
+ borderColor: (0, material_1.getContrastRatio)((_h = (_g = theme.palette) === null || _g === void 0 ? void 0 : _g.navbar) === null || _h === void 0 ? void 0 : _h.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
27
27
  },
28
28
  '&.Mui-focused fieldset': {
29
- borderColor: (0, styles_1.getContrastRatio)((_k = (_j = theme.palette) === null || _j === void 0 ? void 0 : _j.navbar) === null || _k === void 0 ? void 0 : _k.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
29
+ borderColor: (0, material_1.getContrastRatio)((_k = (_j = theme.palette) === null || _j === void 0 ? void 0 : _j.navbar) === null || _k === void 0 ? void 0 : _k.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
30
30
  },
31
31
  '&.Mui-focused .SCSearchAutocomplete-icon': {
32
- color: (0, styles_1.getContrastRatio)((_m = (_l = theme.palette) === null || _l === void 0 ? void 0 : _l.navbar) === null || _m === void 0 ? void 0 : _m.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
32
+ color: (0, material_1.getContrastRatio)((_m = (_l = theme.palette) === null || _l === void 0 ? void 0 : _l.navbar) === null || _m === void 0 ? void 0 : _m.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
33
33
  }
34
34
  }
35
35
  });
@@ -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;
@@ -3644,13 +3633,6 @@ declare const theme: {
3644
3633
  margin: any;
3645
3634
  };
3646
3635
  };
3647
- '& .SCCourseForm-paywalls-configurator-wrap': {
3648
- marginBottom: any;
3649
- '& .SCPaywallsConfigurator-content-access-type': {
3650
- fontSize: string;
3651
- padding: any;
3652
- };
3653
- };
3654
3636
  };
3655
3637
  };
3656
3638
  skeletonRoot: ({ theme }: {
@@ -9352,9 +9334,6 @@ declare const theme: {
9352
9334
  padding: any;
9353
9335
  };
9354
9336
  };
9355
- '& .SCEventForm-paywalls-configurator-wrap': {
9356
- margin: string;
9357
- };
9358
9337
  };
9359
9338
  };
9360
9339
  };
@@ -11562,386 +11541,6 @@ declare const theme: {
11562
11541
  };
11563
11542
  };
11564
11543
  };
11565
- SCBuyButton: {
11566
- styleOverrides: {
11567
- requestRoot: ({ theme }: {
11568
- theme: any;
11569
- }) => {};
11570
- drawerRoot: ({ theme }: {
11571
- theme: any;
11572
- }) => {
11573
- '& > div.MuiPaper-root': {
11574
- padding: any;
11575
- };
11576
- };
11577
- };
11578
- };
11579
- SCPaymentProducts: {
11580
- styleOverrides: {
11581
- root: ({ theme }: {
11582
- theme: any;
11583
- }) => {
11584
- padding: any;
11585
- };
11586
- skeletonRoot: ({ theme }: {
11587
- theme: any;
11588
- }) => {
11589
- padding: any;
11590
- };
11591
- };
11592
- };
11593
- SCPaymentProduct: {
11594
- styleOverrides: {
11595
- root: ({ theme }: {
11596
- theme: any;
11597
- }) => {
11598
- borderRadius: string;
11599
- '& .MuiAccordionSummary-root': {
11600
- backgroundColor: any;
11601
- '& .MuiAccordionSummary-content': {
11602
- display: string;
11603
- flexDirection: string;
11604
- '& .SCBaseItem-root': {
11605
- backgroundColor: string;
11606
- };
11607
- '& .MuiTypography-body1': {
11608
- [x: number]: {
11609
- fontSize: any;
11610
- };
11611
- fontWeight: number;
11612
- color: any;
11613
- };
11614
- };
11615
- '& .MuiAccordionDetails-root': {
11616
- marginTop: any;
11617
- };
11618
- };
11619
- '& .SCPaymentProductPrice-root': {
11620
- marginBottom: any;
11621
- width: string;
11622
- borderRadius: string;
11623
- };
11624
- };
11625
- skeletonRoot: ({ theme }: {
11626
- theme: any;
11627
- }) => {
11628
- borderRadius: string;
11629
- '& .MuiAccordionSummary-root': {
11630
- backgroundColor: any;
11631
- marginBottom: any;
11632
- '& .SCBaseItem-root': {
11633
- backgroundColor: string;
11634
- };
11635
- };
11636
- '& .SCPaymentProductPrice-skeleton-root': {
11637
- marginBottom: any;
11638
- width: string;
11639
- };
11640
- };
11641
- };
11642
- };
11643
- SCPaymentProductPrice: {
11644
- styleOverrides: {
11645
- root: ({ theme }: {
11646
- theme: any;
11647
- }) => {
11648
- borderRadius: string;
11649
- '& .SCPaymentProductPrice-button-purchased': {
11650
- backgroundColor: string;
11651
- color: string;
11652
- };
11653
- '& .SCPaymentProductPrice-purchased-at': {
11654
- textDecoration: string;
11655
- };
11656
- };
11657
- skeletonRoot: ({ theme }: {
11658
- theme: any;
11659
- }) => {
11660
- borderRadius: string;
11661
- };
11662
- };
11663
- };
11664
- SCCheckout: {
11665
- styleOverrides: {
11666
- root: ({ theme }: {
11667
- theme: any;
11668
- }) => {
11669
- position: string;
11670
- backgroundColor: any;
11671
- display: string;
11672
- flexDirection: string;
11673
- justifyContent: string;
11674
- alignItems: string;
11675
- width: string;
11676
- "& .SCCheckout-content": {
11677
- [x: number]: {
11678
- display: string;
11679
- flexDirection: string;
11680
- justifyContent: string;
11681
- alignItems: string;
11682
- };
11683
- width: string;
11684
- maxWidth: number;
11685
- display: string;
11686
- gridTemplateColumns: string;
11687
- gap: number;
11688
- "& .SCCheckout-content-object": {
11689
- [x: number]: {
11690
- width: string;
11691
- };
11692
- position: string;
11693
- display: string;
11694
- flexDirection: string;
11695
- justifyContent: string;
11696
- alignItems: string;
11697
- '& .SCWidget-root': {
11698
- width: string;
11699
- };
11700
- };
11701
- "& .SCCheckout-content-coverage": {
11702
- position: string;
11703
- width: string;
11704
- height: string;
11705
- backgroundColor: string;
11706
- };
11707
- "& .SCCheckout-content-desc": {
11708
- [x: number]: {
11709
- display: string;
11710
- };
11711
- display: string;
11712
- flexDirection: string;
11713
- justifyContent: string;
11714
- alignItems: string;
11715
- maxWidth: number;
11716
- padding: any;
11717
- };
11718
- };
11719
- "& .SCCheckout-checkout": {
11720
- width: string;
11721
- bottom: any;
11722
- };
11723
- "& .SCCheckout-object": {
11724
- [x: number]: {
11725
- minWidth: number;
11726
- width: string;
11727
- };
11728
- margin: any;
11729
- width: string;
11730
- };
11731
- "& .SCCategory-root": {
11732
- borderRadius: any;
11733
- '& a': {
11734
- padding: any;
11735
- };
11736
- };
11737
- "& .SCGroup-root": {
11738
- borderRadius: any;
11739
- '& a': {
11740
- padding: any;
11741
- };
11742
- };
11743
- "& .SCCourse-preview-root": {
11744
- minHeight: string;
11745
- };
11746
- };
11747
- };
11748
- };
11749
- SCCheckoutReturnDialog: {
11750
- styleOverrides: {
11751
- root: ({ theme }: {
11752
- theme: any;
11753
- }) => {
11754
- '& .MuiDialogTitle-root': {
11755
- textAlign: string;
11756
- fontSize: string;
11757
- fontWeight: number;
11758
- };
11759
- '& .MuiDialogContent-root': {
11760
- display: string;
11761
- minHeight: number;
11762
- justifyContent: string;
11763
- alignItems: string;
11764
- '& .SCWidget-root': {
11765
- minWidth: number;
11766
- paddingLeft: any;
11767
- };
11768
- };
11769
- '& .SCCheckoutSuccessDialog-content-object': {
11770
- width: string;
11771
- };
11772
- '& .SCCourse-preview-root': {
11773
- minHeight: string;
11774
- };
11775
- };
11776
- };
11777
- };
11778
- SCHiddenPurchasableContent: {
11779
- styleOverrides: {
11780
- root: ({ theme }: any) => {
11781
- padding: any;
11782
- };
11783
- };
11784
- };
11785
- SCPaywalls: {
11786
- styleOverrides: {
11787
- root: ({ theme }: {
11788
- theme: any;
11789
- }) => {
11790
- '& .SCPaywalls-error': {
11791
- margin: any;
11792
- };
11793
- };
11794
- };
11795
- };
11796
- SCPaywallsConfigurator: {
11797
- styleOverrides: {
11798
- root: ({ theme }: any) => {
11799
- "& .SCPaywallsConfigurator-new-product": {
11800
- background: string;
11801
- padding: any;
11802
- marginTop: any;
11803
- borderRadius: any;
11804
- };
11805
- "& .SCPaywallsConfigurator-no-product": {
11806
- textDecoration: string;
11807
- paddingLeft: number;
11808
- color: "#bdbdbd";
11809
- };
11810
- "& .SCPaywallsConfigurator-content-access-type": {
11811
- '& > p': {
11812
- marginBottom: any;
11813
- };
11814
- '& .MuiPaper-root': {
11815
- borderColor: string;
11816
- };
11817
- '& .MuiAccordion-root:first-of-type': {
11818
- borderTopLeftRadius: number;
11819
- borderTopRightRadius: number;
11820
- };
11821
- '& .MuiAccordion-root:last-of-type': {
11822
- borderBottomLeftRadius: number;
11823
- borderBottomRightRadius: number;
11824
- };
11825
- "& .SCPaywallsConfigurator-selected-payment-products-list": {
11826
- borderTop: string;
11827
- marginTop: number;
11828
- };
11829
- "& .SCPaywallsConfigurator-add-payment-product": {
11830
- position: string;
11831
- left: number;
11832
- '& .MuiButton-startIcon': {
11833
- fontSize: string;
11834
- };
11835
- };
11836
- };
11837
- };
11838
- paymentProductsAutocompletePopperRoot: ({ theme }: any) => {
11839
- "& .MuiAutocomplete-paper": {
11840
- boxShadow: string;
11841
- margin: number;
11842
- color: string;
11843
- fontSize: number;
11844
- };
11845
- "& .MuiAutocomplete-listbox": {
11846
- backgroundColor: string;
11847
- padding: number;
11848
- "& .MuiAutocomplete-option": {
11849
- minHeight: string;
11850
- alignItems: string;
11851
- padding: number;
11852
- borderBottom: string;
11853
- '&[aria-selected="true"]': {
11854
- backgroundColor: string;
11855
- };
11856
- "&.MuiAutocomplete-focused, &.MuiAutocomplete-focused[aria-selected=\"true\"]": {
11857
- backgroundColor: any;
11858
- };
11859
- };
11860
- };
11861
- "&.MuiAutocomplete-popperDisablePortal": {
11862
- position: string;
11863
- };
11864
- "& .SCPaywallsConfigurator-product-check-icon": {
11865
- width: number;
11866
- height: number;
11867
- margin: string;
11868
- };
11869
- "& .SCPaywallsConfigurator-product-card-icon": {
11870
- width: number;
11871
- height: number;
11872
- flexShrink: number;
11873
- borderRadius: string;
11874
- marginRight: any;
11875
- marginTop: string;
11876
- padding: string;
11877
- backgroundColor: string;
11878
- color: string;
11879
- };
11880
- "& .SCPaywallsConfigurator-product-content": {
11881
- flexGrow: number;
11882
- '& span': {
11883
- color: string;
11884
- };
11885
- };
11886
- "& .SCPaywallsConfigurator-product-remove-icon": {
11887
- opacity: number;
11888
- width: number;
11889
- height: number;
11890
- };
11891
- "& .SCPaywallsConfigurator-autocomplete-footer": {
11892
- backgroundColor: "#bdbdbd";
11893
- };
11894
- };
11895
- paymentProductsPopperRoot: ({ theme }: any) => {
11896
- border: string;
11897
- boxShadow: string;
11898
- borderRadius: number;
11899
- width: number;
11900
- zIndex: any;
11901
- fontSize: number;
11902
- color: string;
11903
- backgroundColor: string;
11904
- '& .MuiPaper-root': {
11905
- borderRadius: number;
11906
- };
11907
- "& .SCPaywallsConfigurator-payment-products-popper-title": {
11908
- borderBottom: string;
11909
- padding: string;
11910
- fontWeight: number;
11911
- };
11912
- "& .SCPaywallsConfigurator-payment-products-popper-footer": {
11913
- borderTop: string;
11914
- padding: string;
11915
- display: string;
11916
- alignItems: string;
11917
- justifyContent: string;
11918
- '& button': {
11919
- padding: string;
11920
- '& .MuiIcon-root': {
11921
- fontSize: number;
11922
- };
11923
- };
11924
- };
11925
- };
11926
- filterInputRoot: ({ theme }: any) => {
11927
- padding: number;
11928
- width: string;
11929
- borderBottom: string;
11930
- '& input': {
11931
- borderRadius: number;
11932
- backgroundColor: string;
11933
- padding: number;
11934
- transition: any;
11935
- border: string;
11936
- fontSize: number;
11937
- '&:focus': {
11938
- boxShadow: string;
11939
- borderColor: string;
11940
- };
11941
- };
11942
- };
11943
- };
11944
- };
11945
11544
  };
11946
11545
  selfcommunity: {
11947
11546
  user: {
@@ -11967,20 +11566,6 @@ declare const theme: {
11967
11566
  sizeXLarge: number;
11968
11567
  };
11969
11568
  };
11970
- contentProduct: {
11971
- icon: {
11972
- sizeSmall: number;
11973
- sizeMedium: number;
11974
- sizeLarge: number;
11975
- };
11976
- };
11977
- contentProductPrice: {
11978
- icon: {
11979
- sizeSmall: number;
11980
- sizeMedium: number;
11981
- sizeLarge: number;
11982
- };
11983
- };
11984
11569
  };
11985
11570
  };
11986
11571
  export default theme;