@selfcommunity/react-theme-default 0.5.0-alpha.1 → 0.5.0-alpha.2

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 (147) hide show
  1. package/lib/cjs/components/SCBuyButton.d.ts +15 -0
  2. package/lib/cjs/components/SCBuyButton.js +13 -0
  3. package/lib/cjs/components/SCCategory.d.ts +8 -0
  4. package/lib/cjs/components/SCCategory.js +8 -0
  5. package/lib/cjs/components/SCCategoryFollowButton.d.ts +8 -0
  6. package/lib/cjs/components/SCCategoryFollowButton.js +10 -0
  7. package/lib/cjs/components/SCCategoryHeader.d.ts +4 -0
  8. package/lib/cjs/components/SCCategoryHeader.js +5 -1
  9. package/lib/cjs/components/SCCheckout.d.ts +115 -0
  10. package/lib/cjs/components/SCCheckout.js +116 -0
  11. package/lib/cjs/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
  12. package/lib/cjs/components/SCCheckoutHeaderInfoWidget.js +34 -0
  13. package/lib/cjs/components/SCCheckoutReturnDialog.d.ts +26 -0
  14. package/lib/cjs/components/SCCheckoutReturnDialog.js +26 -0
  15. package/lib/cjs/components/SCComposer.d.ts +16 -0
  16. package/lib/cjs/components/SCComposer.js +16 -0
  17. package/lib/cjs/components/SCCourse.d.ts +19 -1
  18. package/lib/cjs/components/SCCourse.js +19 -1
  19. package/lib/cjs/components/SCCourseDashboard.d.ts +22 -0
  20. package/lib/cjs/components/SCCourseDashboard.js +22 -0
  21. package/lib/cjs/components/SCCourses.d.ts +3 -0
  22. package/lib/cjs/components/SCCourses.js +3 -0
  23. package/lib/cjs/components/SCEditCourse.d.ts +7 -0
  24. package/lib/cjs/components/SCEditCourse.js +7 -0
  25. package/lib/cjs/components/SCEventForm.d.ts +3 -0
  26. package/lib/cjs/components/SCEventForm.js +3 -0
  27. package/lib/cjs/components/SCEventHeader.d.ts +12 -0
  28. package/lib/cjs/components/SCEventHeader.js +12 -0
  29. package/lib/cjs/components/SCEventSubscribeButton.d.ts +12 -0
  30. package/lib/cjs/components/SCEventSubscribeButton.js +10 -0
  31. package/lib/cjs/components/SCFeedObject.d.ts +17 -10
  32. package/lib/cjs/components/SCFeedObject.js +18 -11
  33. package/lib/cjs/components/SCGroup.d.ts +6 -2
  34. package/lib/cjs/components/SCGroup.js +6 -2
  35. package/lib/cjs/components/SCGroupHeader.d.ts +12 -0
  36. package/lib/cjs/components/SCGroupHeader.js +12 -0
  37. package/lib/cjs/components/SCGroupSubscribeButton.d.ts +18 -0
  38. package/lib/cjs/components/SCGroupSubscribeButton.js +18 -0
  39. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  40. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  41. package/lib/cjs/components/SCMediaFile.d.ts +58 -5
  42. package/lib/cjs/components/SCMediaFile.js +56 -5
  43. package/lib/cjs/components/SCMediaLink.d.ts +2 -1
  44. package/lib/cjs/components/SCMediaLink.js +2 -1
  45. package/lib/cjs/components/SCPaymentOrder.d.ts +22 -0
  46. package/lib/cjs/components/SCPaymentOrder.js +20 -0
  47. package/lib/cjs/components/SCPaymentOrderPdfButton.d.ts +16 -0
  48. package/lib/cjs/components/SCPaymentOrderPdfButton.js +16 -0
  49. package/lib/cjs/components/SCPaymentOrders.d.ts +62 -0
  50. package/lib/cjs/components/SCPaymentOrders.js +64 -0
  51. package/lib/cjs/components/SCPaymentProduct.d.ts +49 -0
  52. package/lib/cjs/components/SCPaymentProduct.js +47 -0
  53. package/lib/cjs/components/SCPaymentProductPrice.d.ts +39 -0
  54. package/lib/cjs/components/SCPaymentProductPrice.js +37 -0
  55. package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
  56. package/lib/cjs/components/SCPaymentProducts.js +13 -0
  57. package/lib/cjs/components/SCPaywalls.d.ts +12 -0
  58. package/lib/cjs/components/SCPaywalls.js +12 -0
  59. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +157 -0
  60. package/lib/cjs/components/SCPaywallsConfigurator.js +160 -0
  61. package/lib/cjs/components/SCPdfPreview.d.ts +29 -0
  62. package/lib/cjs/components/SCPdfPreview.js +31 -0
  63. package/lib/cjs/fonts/community/icons.eot +0 -0
  64. package/lib/cjs/fonts/community/icons.svg +75 -69
  65. package/lib/cjs/fonts/community/icons.ttf +0 -0
  66. package/lib/cjs/fonts/community/icons.woff +0 -0
  67. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  68. package/lib/cjs/fonts/community-icons.css +133 -126
  69. package/lib/cjs/index.d.ts +849 -39
  70. package/lib/cjs/index.js +47 -1
  71. package/lib/esm/components/SCBuyButton.d.ts +15 -0
  72. package/lib/esm/components/SCBuyButton.js +11 -0
  73. package/lib/esm/components/SCCategory.d.ts +8 -0
  74. package/lib/esm/components/SCCategory.js +8 -0
  75. package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
  76. package/lib/esm/components/SCCategoryFollowButton.js +8 -0
  77. package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
  78. package/lib/esm/components/SCCategoryHeader.js +5 -1
  79. package/lib/esm/components/SCCheckout.d.ts +115 -0
  80. package/lib/esm/components/SCCheckout.js +114 -0
  81. package/lib/esm/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
  82. package/lib/esm/components/SCCheckoutHeaderInfoWidget.js +32 -0
  83. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
  84. package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
  85. package/lib/esm/components/SCComposer.d.ts +16 -0
  86. package/lib/esm/components/SCComposer.js +16 -0
  87. package/lib/esm/components/SCCourse.d.ts +19 -1
  88. package/lib/esm/components/SCCourse.js +19 -1
  89. package/lib/esm/components/SCCourseDashboard.d.ts +22 -0
  90. package/lib/esm/components/SCCourseDashboard.js +22 -0
  91. package/lib/esm/components/SCCourses.d.ts +3 -0
  92. package/lib/esm/components/SCCourses.js +3 -0
  93. package/lib/esm/components/SCEditCourse.d.ts +7 -0
  94. package/lib/esm/components/SCEditCourse.js +7 -0
  95. package/lib/esm/components/SCEventForm.d.ts +3 -0
  96. package/lib/esm/components/SCEventForm.js +3 -0
  97. package/lib/esm/components/SCEventHeader.d.ts +12 -0
  98. package/lib/esm/components/SCEventHeader.js +12 -0
  99. package/lib/esm/components/SCEventSubscribeButton.d.ts +12 -0
  100. package/lib/esm/components/SCEventSubscribeButton.js +10 -0
  101. package/lib/esm/components/SCFeedObject.d.ts +17 -10
  102. package/lib/esm/components/SCFeedObject.js +18 -11
  103. package/lib/esm/components/SCGroup.d.ts +6 -2
  104. package/lib/esm/components/SCGroup.js +6 -2
  105. package/lib/esm/components/SCGroupHeader.d.ts +12 -0
  106. package/lib/esm/components/SCGroupHeader.js +12 -0
  107. package/lib/esm/components/SCGroupSubscribeButton.d.ts +18 -0
  108. package/lib/esm/components/SCGroupSubscribeButton.js +16 -0
  109. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  110. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  111. package/lib/esm/components/SCMediaFile.d.ts +58 -5
  112. package/lib/esm/components/SCMediaFile.js +56 -5
  113. package/lib/esm/components/SCMediaLink.d.ts +2 -1
  114. package/lib/esm/components/SCMediaLink.js +2 -1
  115. package/lib/esm/components/SCPaymentOrder.d.ts +22 -0
  116. package/lib/esm/components/SCPaymentOrder.js +18 -0
  117. package/lib/esm/components/SCPaymentOrderPdfButton.d.ts +16 -0
  118. package/lib/esm/components/SCPaymentOrderPdfButton.js +14 -0
  119. package/lib/esm/components/SCPaymentOrders.d.ts +62 -0
  120. package/lib/esm/components/SCPaymentOrders.js +62 -0
  121. package/lib/esm/components/SCPaymentProduct.d.ts +49 -0
  122. package/lib/esm/components/SCPaymentProduct.js +45 -0
  123. package/lib/esm/components/SCPaymentProductPrice.d.ts +39 -0
  124. package/lib/esm/components/SCPaymentProductPrice.js +35 -0
  125. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  126. package/lib/esm/components/SCPaymentProducts.js +11 -0
  127. package/lib/esm/components/SCPaywalls.d.ts +12 -0
  128. package/lib/esm/components/SCPaywalls.js +10 -0
  129. package/lib/esm/components/SCPaywallsConfigurator.d.ts +157 -0
  130. package/lib/esm/components/SCPaywallsConfigurator.js +158 -0
  131. package/lib/esm/components/SCPdfPreview.d.ts +29 -0
  132. package/lib/esm/components/SCPdfPreview.js +29 -0
  133. package/lib/esm/fonts/community/icons.eot +0 -0
  134. package/lib/esm/fonts/community/icons.svg +75 -69
  135. package/lib/esm/fonts/community/icons.ttf +0 -0
  136. package/lib/esm/fonts/community/icons.woff +0 -0
  137. package/lib/esm/fonts/community/icons.woff2 +0 -0
  138. package/lib/esm/fonts/community-icons.css +133 -126
  139. package/lib/esm/index.d.ts +849 -39
  140. package/lib/esm/index.js +47 -1
  141. package/lib/umd/community/icons.eot +0 -0
  142. package/lib/umd/community/icons.svg +75 -69
  143. package/lib/umd/community/icons.ttf +0 -0
  144. package/lib/umd/community/icons.woff +0 -0
  145. package/lib/umd/community/icons.woff2 +0 -0
  146. package/lib/umd/react-theme-default.js +1 -1
  147. package/package.json +2 -2
@@ -7,6 +7,7 @@ const Component = {
7
7
  margin: 'auto',
8
8
  width: '100%',
9
9
  position: 'relative',
10
+ gap: theme.spacing(2),
10
11
  [theme.breakpoints.down('md')]: {
11
12
  minHeight: 170
12
13
  },
@@ -92,11 +93,17 @@ const Component = {
92
93
  fontSize: 14,
93
94
  position: 'relative',
94
95
  top: 2
96
+ },
97
+ '& .SCMediaFile-docs-wrapper': {
98
+ gap: theme.spacing(2)
95
99
  }
96
100
  }),
97
- lightboxRoot: ({ theme }) => ({}),
101
+ lightboxRoot: () => ({}),
98
102
  previewRoot: ({ theme }) => ({
99
- '& > div': {
103
+ display: 'flex',
104
+ flexDirection: 'column',
105
+ gap: theme.spacing(2),
106
+ '& > div:not(.SCMediaFile-docs-wrapper)': {
100
107
  display: 'flex',
101
108
  flexDirection: 'row',
102
109
  flexWrap: 'nowrap',
@@ -145,13 +152,57 @@ const Component = {
145
152
  maxWidth: 200
146
153
  }
147
154
  }
155
+ },
156
+ '& .SCMediaFile-docs-wrapper': {
157
+ display: 'flex',
158
+ flexDirection: 'column',
159
+ gap: theme.spacing(2)
148
160
  }
149
161
  }),
150
- triggerRoot: ({ theme }) => ({}),
151
- triggerDrawerRoot: ({ theme }) => ({
162
+ triggerRoot: () => ({}),
163
+ triggerDrawerRoot: () => ({
152
164
  zIndex: 1300
153
165
  }),
154
- triggerMenuRoot: ({ theme }) => ({})
166
+ triggerMenuRoot: () => ({}),
167
+ docRoot: ({ theme }) => ({
168
+ borderRadius: '10px',
169
+ border: '1px solid #DDD',
170
+ padding: theme.spacing(1),
171
+ flexDirection: 'row',
172
+ gap: '8px',
173
+ '& .SCMediaFile-image': {
174
+ width: '50px',
175
+ height: '50px',
176
+ flexShrink: 0
177
+ },
178
+ '& .SCMediaFile-text-wrapper': {
179
+ gap: '4px',
180
+ [theme.breakpoints.down('sm')]: {
181
+ maxWidth: '57%'
182
+ },
183
+ '& .SCMediaFile-title': {
184
+ textAlign: 'left',
185
+ display: '-webkit-box',
186
+ '-webkit-line-clamp': '1',
187
+ '-webkit-box-orient': 'vertical',
188
+ overflow: 'hidden'
189
+ },
190
+ '& .SCMediaFile-subtitle': {
191
+ textAlign: 'left',
192
+ color: theme.palette.grey['600']
193
+ }
194
+ },
195
+ '& .SCMediaFile-action-wrapper': {
196
+ flexDirection: 'row',
197
+ gap: '8px',
198
+ marginLeft: 'auto',
199
+ '& .SCMediaFile-action': {
200
+ '&:hover': {
201
+ backgroundColor: theme.palette.common.white
202
+ }
203
+ }
204
+ }
205
+ })
155
206
  }
156
207
  };
157
208
  exports.default = Component;
@@ -1,6 +1,7 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  displayRoot: ({ theme }: any) => {
4
+ marginTop: any;
4
5
  '& .SCMediaLink-link': {
5
6
  position: string;
6
7
  backgroundColor: string;
@@ -115,7 +116,7 @@ declare const Component: {
115
116
  };
116
117
  };
117
118
  };
118
- triggerRoot: ({ theme }: any) => {};
119
+ triggerRoot: () => {};
119
120
  };
120
121
  };
121
122
  export default Component;
@@ -4,6 +4,7 @@ const system_1 = require("@mui/system");
4
4
  const Component = {
5
5
  styleOverrides: {
6
6
  displayRoot: ({ theme }) => ({
7
+ marginTop: theme.spacing(2),
7
8
  '& .SCMediaLink-link': {
8
9
  position: 'relative',
9
10
  backgroundColor: '#F5F5F5',
@@ -118,7 +119,7 @@ const Component = {
118
119
  }
119
120
  }
120
121
  }),
121
- triggerRoot: ({ theme }) => ({})
122
+ triggerRoot: () => ({})
122
123
  }
123
124
  };
124
125
  exports.default = Component;
@@ -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: 31,
10
+ marginLeft: theme.spacing(),
11
+ marginRight: theme.spacing(),
12
+ height: 30
13
+ })
14
+ }
15
+ };
16
+ exports.default = Component;
@@ -0,0 +1,62 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ '& .SCPaymentOrders-content': {
5
+ position: string;
6
+ margin: any;
7
+ '& table': {
8
+ '& tr': {
9
+ '& th': {
10
+ zIndex: number;
11
+ };
12
+ };
13
+ '& .SCGroup-root, .SCCategory-root': {
14
+ borderRadius: any;
15
+ maxWidth: string;
16
+ };
17
+ '& .SCPaymentProduct-root': {
18
+ borderRadius: string;
19
+ border: string;
20
+ boxShadow: string;
21
+ color: any;
22
+ '& .MuiAccordionSummary-root': {
23
+ backgroundColor: any;
24
+ opacity: number;
25
+ borderRadius: any;
26
+ };
27
+ };
28
+ };
29
+ '& .MuiCircularProgress-root': {
30
+ display: string;
31
+ margin: string;
32
+ };
33
+ };
34
+ '& .SCPaymentOrders-filters': {
35
+ [x: number]: {
36
+ width: string;
37
+ };
38
+ alignItems: string;
39
+ margin: any;
40
+ width: string;
41
+ '& .SCPaymentOrders-search': {
42
+ '& .MuiInputBase-root': {
43
+ paddingRight: number;
44
+ '& .MuiButtonBase-root': {
45
+ borderRadius: string;
46
+ height: string;
47
+ '& .MuiButton-endIcon': {
48
+ margin: number;
49
+ };
50
+ };
51
+ };
52
+ };
53
+ '& .SCPaymentOrders-picker': {
54
+ '& .MuiOutlinedInput-root': {
55
+ paddingRight: any;
56
+ };
57
+ };
58
+ };
59
+ };
60
+ };
61
+ };
62
+ export default Component;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCPaymentOrders-content': {
7
+ position: 'relative',
8
+ margin: theme.spacing(1, 2),
9
+ '& table': {
10
+ '& tr': {
11
+ '& th': {
12
+ zIndex: 1
13
+ }
14
+ },
15
+ '& .SCGroup-root, .SCCategory-root': {
16
+ borderRadius: theme.shape.borderRadius,
17
+ maxWidth: '96%'
18
+ },
19
+ '& .SCPaymentProduct-root': {
20
+ borderRadius: `${theme.shape.borderRadius}px !important`,
21
+ border: '1px solid #e5e5e5',
22
+ boxShadow: 'none',
23
+ color: theme.palette.text.primary,
24
+ '& .MuiAccordionSummary-root': {
25
+ backgroundColor: theme.palette.background.paper,
26
+ opacity: 1,
27
+ borderRadius: theme.shape.borderRadius
28
+ }
29
+ }
30
+ },
31
+ '& .MuiCircularProgress-root': {
32
+ display: 'block',
33
+ margin: `${theme.spacing(7)} auto`
34
+ }
35
+ },
36
+ '& .SCPaymentOrders-filters': {
37
+ alignItems: 'center',
38
+ margin: theme.spacing(2),
39
+ width: '94%',
40
+ [theme.breakpoints.down('sm')]: {
41
+ width: '90%'
42
+ },
43
+ '& .SCPaymentOrders-search': {
44
+ '& .MuiInputBase-root': {
45
+ paddingRight: 0,
46
+ '& .MuiButtonBase-root': {
47
+ borderRadius: '0 5px 5px 0',
48
+ height: '37px',
49
+ '& .MuiButton-endIcon': {
50
+ margin: 0
51
+ }
52
+ }
53
+ }
54
+ },
55
+ '& .SCPaymentOrders-picker': {
56
+ '& .MuiOutlinedInput-root': {
57
+ paddingRight: theme.spacing(0.5)
58
+ }
59
+ }
60
+ }
61
+ })
62
+ }
63
+ };
64
+ exports.default = Component;
@@ -0,0 +1,49 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ marginBottom: any;
7
+ borderRadius: string;
8
+ boxShadow: string;
9
+ backgroundColor: any;
10
+ '& .MuiCardContent-root': {
11
+ '& .SCBaseItem-root': {
12
+ backgroundColor: string;
13
+ };
14
+ '& .MuiTypography-body1': {
15
+ [x: number]: {
16
+ fontSize: any;
17
+ };
18
+ fontWeight: number;
19
+ color: any;
20
+ };
21
+ };
22
+ '& .SCPaymentProductPrice-root': {
23
+ width: string;
24
+ paddingLeft: string;
25
+ };
26
+ };
27
+ skeletonRoot: ({ theme }: {
28
+ theme: any;
29
+ }) => {
30
+ marginBottom: any;
31
+ borderRadius: string;
32
+ boxShadow: string;
33
+ backgroundColor: any;
34
+ '& .MuiCardContent-root': {
35
+ marginBottom: any;
36
+ '& .SCBaseItem-root': {
37
+ backgroundColor: string;
38
+ boxShadow: string;
39
+ };
40
+ };
41
+ '& .SCPaymentProductPrice-skeleton-root': {
42
+ marginTop: any;
43
+ width: string;
44
+ paddingLeft: string;
45
+ };
46
+ };
47
+ };
48
+ };
49
+ export default Component;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ marginBottom: theme.spacing(2),
7
+ borderRadius: '10px',
8
+ boxShadow: 'none',
9
+ backgroundColor: theme.palette.grey['A200'],
10
+ '& .MuiCardContent-root': {
11
+ '& .SCBaseItem-root': {
12
+ backgroundColor: 'transparent'
13
+ },
14
+ '& .MuiTypography-body1': {
15
+ fontWeight: 200,
16
+ color: theme.palette.grey[600],
17
+ [theme.breakpoints.down('sm')]: {
18
+ fontSize: theme.typography.pxToRem(12)
19
+ }
20
+ }
21
+ },
22
+ '& .SCPaymentProductPrice-root': {
23
+ width: 'auto',
24
+ paddingLeft: `${theme.spacing(0)} !important`
25
+ }
26
+ }),
27
+ skeletonRoot: ({ theme }) => ({
28
+ marginBottom: theme.spacing(2),
29
+ borderRadius: '10px',
30
+ boxShadow: 'none',
31
+ backgroundColor: theme.palette.grey['A200'],
32
+ '& .MuiCardContent-root': {
33
+ marginBottom: theme.spacing(1),
34
+ '& .SCBaseItem-root': {
35
+ backgroundColor: 'transparent',
36
+ boxShadow: 'none'
37
+ }
38
+ },
39
+ '& .SCPaymentProductPrice-skeleton-root': {
40
+ marginTop: theme.spacing(1),
41
+ width: 'auto',
42
+ paddingLeft: `${theme.spacing(0)} !important`
43
+ }
44
+ })
45
+ }
46
+ };
47
+ exports.default = Component;
@@ -0,0 +1,39 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ borderRadius: number;
7
+ boxShadow: string;
8
+ '& .SCPaymentProductPrice-primary': {
9
+ fontSize: string;
10
+ fontWeight: string;
11
+ color: string;
12
+ };
13
+ '& .SCPaymentProductPrice-button': {
14
+ textTransform: string;
15
+ '&:hover, &:active': {
16
+ backgroundColor: any;
17
+ color: any;
18
+ border: string;
19
+ '& .MuiIcon-root': {
20
+ color: any;
21
+ };
22
+ };
23
+ };
24
+ '& .SCPaymentProductPrice-button-purchased': {
25
+ backgroundColor: string;
26
+ color: string;
27
+ };
28
+ '& .SCPaymentProductPrice-purchased-at': {
29
+ textDecoration: string;
30
+ };
31
+ };
32
+ skeletonRoot: ({ theme }: {
33
+ theme: any;
34
+ }) => {
35
+ borderRadius: number;
36
+ };
37
+ };
38
+ };
39
+ export default Component;
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ borderRadius: 0,
7
+ boxShadow: 'none',
8
+ '& .SCPaymentProductPrice-primary': {
9
+ fontSize: '18px',
10
+ fontWeight: '600 !important',
11
+ color: `${theme.palette.primary.main} !important`
12
+ },
13
+ '& .SCPaymentProductPrice-button': {
14
+ textTransform: 'uppercase',
15
+ '&:hover, &:active': {
16
+ backgroundColor: theme.palette.common.white,
17
+ color: theme.palette.primary.main,
18
+ border: `1px solid ${theme.palette.primary.main}`,
19
+ '& .MuiIcon-root': {
20
+ color: theme.palette.primary.main
21
+ }
22
+ }
23
+ },
24
+ '& .SCPaymentProductPrice-button-purchased': {
25
+ backgroundColor: `${theme.palette.secondary.main} !important`,
26
+ color: `${theme.palette.secondary.contrastText} !important`
27
+ },
28
+ '& .SCPaymentProductPrice-purchased-at': {
29
+ textDecoration: 'underline'
30
+ }
31
+ }),
32
+ skeletonRoot: ({ theme }) => ({
33
+ borderRadius: 0
34
+ })
35
+ }
36
+ };
37
+ exports.default = Component;
@@ -0,0 +1,15 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ padding: any;
7
+ };
8
+ skeletonRoot: ({ theme }: {
9
+ theme: any;
10
+ }) => {
11
+ padding: any;
12
+ };
13
+ };
14
+ };
15
+ export default Component;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ padding: theme.spacing(0.5)
7
+ }),
8
+ skeletonRoot: ({ theme }) => ({
9
+ padding: theme.spacing(0.5)
10
+ })
11
+ }
12
+ };
13
+ exports.default = Component;
@@ -0,0 +1,12 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCPaywalls-error': {
7
+ margin: any;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ export default Component;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCPaywalls-error': {
7
+ margin: theme.spacing(2, 0)
8
+ }
9
+ })
10
+ }
11
+ };
12
+ exports.default = Component;