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