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

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 (161) 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 +24 -0
  16. package/lib/cjs/components/SCComposer.js +25 -1
  17. package/lib/cjs/components/SCCourse.d.ts +23 -1
  18. package/lib/cjs/components/SCCourse.js +23 -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/SCDefaultDrawerContent.d.ts +8 -0
  24. package/lib/cjs/components/SCDefaultDrawerContent.js +8 -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/SCEvent.d.ts +2 -0
  28. package/lib/cjs/components/SCEvent.js +3 -1
  29. package/lib/cjs/components/SCEventForm.d.ts +3 -0
  30. package/lib/cjs/components/SCEventForm.js +3 -0
  31. package/lib/cjs/components/SCEventHeader.d.ts +12 -0
  32. package/lib/cjs/components/SCEventHeader.js +12 -0
  33. package/lib/cjs/components/SCEventSubscribeButton.d.ts +12 -0
  34. package/lib/cjs/components/SCEventSubscribeButton.js +10 -0
  35. package/lib/cjs/components/SCFeedObject.d.ts +17 -10
  36. package/lib/cjs/components/SCFeedObject.js +18 -11
  37. package/lib/cjs/components/SCGroup.d.ts +6 -2
  38. package/lib/cjs/components/SCGroup.js +6 -2
  39. package/lib/cjs/components/SCGroupHeader.d.ts +12 -0
  40. package/lib/cjs/components/SCGroupHeader.js +12 -0
  41. package/lib/cjs/components/SCGroupSubscribeButton.d.ts +18 -0
  42. package/lib/cjs/components/SCGroupSubscribeButton.js +18 -0
  43. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  44. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  45. package/lib/cjs/components/SCMediaFile.d.ts +66 -8
  46. package/lib/cjs/components/SCMediaFile.js +64 -8
  47. package/lib/cjs/components/SCMediaLink.d.ts +2 -1
  48. package/lib/cjs/components/SCMediaLink.js +2 -1
  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 +160 -0
  64. package/lib/cjs/components/SCPaywallsConfigurator.js +163 -0
  65. package/lib/cjs/components/SCPdfPreview.d.ts +33 -0
  66. package/lib/cjs/components/SCPdfPreview.js +35 -0
  67. package/lib/cjs/components/SCVoteAudienceButton.js +2 -2
  68. package/lib/cjs/components/SCVoteButton.d.ts +1 -1
  69. package/lib/cjs/components/SCVoteButton.js +2 -2
  70. package/lib/cjs/fonts/community/icons.eot +0 -0
  71. package/lib/cjs/fonts/community/icons.svg +75 -69
  72. package/lib/cjs/fonts/community/icons.ttf +0 -0
  73. package/lib/cjs/fonts/community/icons.woff +0 -0
  74. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  75. package/lib/cjs/fonts/community-icons.css +133 -126
  76. package/lib/cjs/index.d.ts +887 -43
  77. package/lib/cjs/index.js +47 -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 +24 -0
  93. package/lib/esm/components/SCComposer.js +25 -1
  94. package/lib/esm/components/SCCourse.d.ts +23 -1
  95. package/lib/esm/components/SCCourse.js +23 -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/SCDefaultDrawerContent.d.ts +8 -0
  101. package/lib/esm/components/SCDefaultDrawerContent.js +8 -0
  102. package/lib/esm/components/SCEditCourse.d.ts +7 -0
  103. package/lib/esm/components/SCEditCourse.js +7 -0
  104. package/lib/esm/components/SCEvent.d.ts +2 -0
  105. package/lib/esm/components/SCEvent.js +3 -1
  106. package/lib/esm/components/SCEventForm.d.ts +3 -0
  107. package/lib/esm/components/SCEventForm.js +3 -0
  108. package/lib/esm/components/SCEventHeader.d.ts +12 -0
  109. package/lib/esm/components/SCEventHeader.js +12 -0
  110. package/lib/esm/components/SCEventSubscribeButton.d.ts +12 -0
  111. package/lib/esm/components/SCEventSubscribeButton.js +10 -0
  112. package/lib/esm/components/SCFeedObject.d.ts +17 -10
  113. package/lib/esm/components/SCFeedObject.js +18 -11
  114. package/lib/esm/components/SCGroup.d.ts +6 -2
  115. package/lib/esm/components/SCGroup.js +6 -2
  116. package/lib/esm/components/SCGroupHeader.d.ts +12 -0
  117. package/lib/esm/components/SCGroupHeader.js +12 -0
  118. package/lib/esm/components/SCGroupSubscribeButton.d.ts +18 -0
  119. package/lib/esm/components/SCGroupSubscribeButton.js +16 -0
  120. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  121. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  122. package/lib/esm/components/SCMediaFile.d.ts +66 -8
  123. package/lib/esm/components/SCMediaFile.js +64 -8
  124. package/lib/esm/components/SCMediaLink.d.ts +2 -1
  125. package/lib/esm/components/SCMediaLink.js +2 -1
  126. package/lib/esm/components/SCPaymentOrder.d.ts +22 -0
  127. package/lib/esm/components/SCPaymentOrder.js +18 -0
  128. package/lib/esm/components/SCPaymentOrderPdfButton.d.ts +16 -0
  129. package/lib/esm/components/SCPaymentOrderPdfButton.js +14 -0
  130. package/lib/esm/components/SCPaymentOrders.d.ts +62 -0
  131. package/lib/esm/components/SCPaymentOrders.js +62 -0
  132. package/lib/esm/components/SCPaymentProduct.d.ts +49 -0
  133. package/lib/esm/components/SCPaymentProduct.js +45 -0
  134. package/lib/esm/components/SCPaymentProductPrice.d.ts +39 -0
  135. package/lib/esm/components/SCPaymentProductPrice.js +35 -0
  136. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  137. package/lib/esm/components/SCPaymentProducts.js +11 -0
  138. package/lib/esm/components/SCPaywalls.d.ts +12 -0
  139. package/lib/esm/components/SCPaywalls.js +10 -0
  140. package/lib/esm/components/SCPaywallsConfigurator.d.ts +160 -0
  141. package/lib/esm/components/SCPaywallsConfigurator.js +161 -0
  142. package/lib/esm/components/SCPdfPreview.d.ts +33 -0
  143. package/lib/esm/components/SCPdfPreview.js +33 -0
  144. package/lib/esm/components/SCVoteAudienceButton.js +2 -2
  145. package/lib/esm/components/SCVoteButton.d.ts +1 -1
  146. package/lib/esm/components/SCVoteButton.js +2 -2
  147. package/lib/esm/fonts/community/icons.eot +0 -0
  148. package/lib/esm/fonts/community/icons.svg +75 -69
  149. package/lib/esm/fonts/community/icons.ttf +0 -0
  150. package/lib/esm/fonts/community/icons.woff +0 -0
  151. package/lib/esm/fonts/community/icons.woff2 +0 -0
  152. package/lib/esm/fonts/community-icons.css +133 -126
  153. package/lib/esm/index.d.ts +887 -43
  154. package/lib/esm/index.js +47 -1
  155. package/lib/umd/community/icons.eot +0 -0
  156. package/lib/umd/community/icons.svg +75 -69
  157. package/lib/umd/community/icons.ttf +0 -0
  158. package/lib/umd/community/icons.woff +0 -0
  159. package/lib/umd/community/icons.woff2 +0 -0
  160. package/lib/umd/react-theme-default.js +1 -1
  161. package/package.json +2 -2
@@ -1,13 +1,11 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  displayRoot: ({ theme }: any) => {
4
- [x: number]: {
5
- minHeight: number;
6
- };
7
4
  textAlign: string;
8
5
  margin: string;
9
6
  width: string;
10
7
  position: string;
8
+ gap: any;
11
9
  '& .SCMediaFile-background': {
12
10
  backgroundSize: string;
13
11
  backgroundPosition: string;
@@ -91,10 +89,16 @@ declare const Component: {
91
89
  position: string;
92
90
  top: number;
93
91
  };
92
+ '& .SCMediaFile-docs-wrapper': {
93
+ gap: any;
94
+ };
94
95
  };
95
- lightboxRoot: ({ theme }: any) => {};
96
+ lightboxRoot: () => {};
96
97
  previewRoot: ({ theme }: any) => {
97
- '& > div': {
98
+ display: string;
99
+ flexDirection: string;
100
+ gap: any;
101
+ '& > div:not(.SCMediaFile-docs-wrapper)': {
98
102
  display: string;
99
103
  flexDirection: string;
100
104
  flexWrap: string;
@@ -144,12 +148,66 @@ declare const Component: {
144
148
  };
145
149
  };
146
150
  };
151
+ '& .SCMediaFile-docs-wrapper': {
152
+ display: string;
153
+ flexDirection: string;
154
+ gap: any;
155
+ };
147
156
  };
148
- triggerRoot: ({ theme }: any) => {};
149
- triggerDrawerRoot: ({ theme }: any) => {
157
+ triggerRoot: () => {};
158
+ triggerDrawerRoot: () => {
150
159
  zIndex: number;
151
160
  };
152
- triggerMenuRoot: ({ theme }: any) => {};
161
+ triggerMenuRoot: () => {};
162
+ docRoot: ({ theme }: {
163
+ theme: any;
164
+ }) => {
165
+ border: string;
166
+ borderRadius: string;
167
+ padding: any;
168
+ flexDirection: string;
169
+ gap: string;
170
+ '& .SCMediaFile-image-wrapper': {
171
+ border: string;
172
+ borderRadius: string;
173
+ flexShrink: number;
174
+ position: string;
175
+ width: string;
176
+ height: string;
177
+ '& .SCMediaFile-badge-pdf': {
178
+ position: string;
179
+ bottom: string;
180
+ left: number;
181
+ };
182
+ };
183
+ '& .SCMediaFile-text-wrapper': {
184
+ [x: number]: {
185
+ maxWidth: string;
186
+ };
187
+ gap: string;
188
+ '& .SCMediaFile-title': {
189
+ textAlign: string;
190
+ display: string;
191
+ '-webkit-line-clamp': string;
192
+ '-webkit-box-orient': string;
193
+ overflow: string;
194
+ };
195
+ '& .SCMediaFile-subtitle': {
196
+ textAlign: string;
197
+ color: any;
198
+ };
199
+ };
200
+ '& .SCMediaFile-action-wrapper': {
201
+ flexDirection: string;
202
+ gap: string;
203
+ marginLeft: string;
204
+ '& .SCMediaFile-action': {
205
+ '&:hover': {
206
+ backgroundColor: any;
207
+ };
208
+ };
209
+ };
210
+ };
153
211
  };
154
212
  };
155
213
  export default Component;
@@ -7,9 +7,7 @@ const Component = {
7
7
  margin: 'auto',
8
8
  width: '100%',
9
9
  position: 'relative',
10
- [theme.breakpoints.down('md')]: {
11
- minHeight: 170
12
- },
10
+ gap: theme.spacing(2),
13
11
  '& .SCMediaFile-background': {
14
12
  backgroundSize: 'cover !important',
15
13
  backgroundPosition: 'center !important',
@@ -92,11 +90,17 @@ const Component = {
92
90
  fontSize: 14,
93
91
  position: 'relative',
94
92
  top: 2
93
+ },
94
+ '& .SCMediaFile-docs-wrapper': {
95
+ gap: theme.spacing(2)
95
96
  }
96
97
  }),
97
- lightboxRoot: ({ theme }) => ({}),
98
+ lightboxRoot: () => ({}),
98
99
  previewRoot: ({ theme }) => ({
99
- '& > div': {
100
+ display: 'flex',
101
+ flexDirection: 'column',
102
+ gap: theme.spacing(2),
103
+ '& > div:not(.SCMediaFile-docs-wrapper)': {
100
104
  display: 'flex',
101
105
  flexDirection: 'row',
102
106
  flexWrap: 'nowrap',
@@ -145,13 +149,65 @@ const Component = {
145
149
  maxWidth: 200
146
150
  }
147
151
  }
152
+ },
153
+ '& .SCMediaFile-docs-wrapper': {
154
+ display: 'flex',
155
+ flexDirection: 'column',
156
+ gap: theme.spacing(2)
148
157
  }
149
158
  }),
150
- triggerRoot: ({ theme }) => ({}),
151
- triggerDrawerRoot: ({ theme }) => ({
159
+ triggerRoot: () => ({}),
160
+ triggerDrawerRoot: () => ({
152
161
  zIndex: 1300
153
162
  }),
154
- triggerMenuRoot: ({ theme }) => ({})
163
+ triggerMenuRoot: () => ({}),
164
+ docRoot: ({ theme }) => ({
165
+ border: '1px solid #DDD',
166
+ borderRadius: '10px',
167
+ padding: theme.spacing(1),
168
+ flexDirection: 'row',
169
+ gap: '8px',
170
+ '& .SCMediaFile-image-wrapper': {
171
+ border: '1px solid #DDD',
172
+ borderRadius: '2px',
173
+ flexShrink: 0,
174
+ position: 'relative',
175
+ width: '50px',
176
+ height: '50px',
177
+ '& .SCMediaFile-badge-pdf': {
178
+ position: 'absolute',
179
+ bottom: '8px',
180
+ left: 0
181
+ }
182
+ },
183
+ '& .SCMediaFile-text-wrapper': {
184
+ gap: '4px',
185
+ [theme.breakpoints.down('sm')]: {
186
+ maxWidth: '57%'
187
+ },
188
+ '& .SCMediaFile-title': {
189
+ textAlign: 'left',
190
+ display: '-webkit-box',
191
+ '-webkit-line-clamp': '1',
192
+ '-webkit-box-orient': 'vertical',
193
+ overflow: 'hidden'
194
+ },
195
+ '& .SCMediaFile-subtitle': {
196
+ textAlign: 'left',
197
+ color: theme.palette.grey['600']
198
+ }
199
+ },
200
+ '& .SCMediaFile-action-wrapper': {
201
+ flexDirection: 'row',
202
+ gap: '8px',
203
+ marginLeft: 'auto',
204
+ '& .SCMediaFile-action': {
205
+ '&:hover': {
206
+ backgroundColor: theme.palette.common.white
207
+ }
208
+ }
209
+ }
210
+ })
155
211
  }
156
212
  };
157
213
  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;