@selfcommunity/react-theme-default 0.5.0-alpha.0 → 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 (171) 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 +24 -0
  18. package/lib/cjs/components/SCComposer.js +25 -1
  19. package/lib/cjs/components/SCCourse.d.ts +23 -1
  20. package/lib/cjs/components/SCCourse.js +23 -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/SCDefaultDrawerContent.d.ts +8 -0
  26. package/lib/cjs/components/SCDefaultDrawerContent.js +8 -0
  27. package/lib/cjs/components/SCEditCourse.d.ts +7 -0
  28. package/lib/cjs/components/SCEditCourse.js +7 -0
  29. package/lib/cjs/components/SCEvent.d.ts +2 -0
  30. package/lib/cjs/components/SCEvent.js +3 -1
  31. package/lib/cjs/components/SCEventForm.d.ts +3 -0
  32. package/lib/cjs/components/SCEventForm.js +3 -0
  33. package/lib/cjs/components/SCEventHeader.d.ts +12 -0
  34. package/lib/cjs/components/SCEventHeader.js +12 -0
  35. package/lib/cjs/components/SCEventSubscribeButton.d.ts +12 -0
  36. package/lib/cjs/components/SCEventSubscribeButton.js +10 -0
  37. package/lib/cjs/components/SCFeedObject.d.ts +17 -10
  38. package/lib/cjs/components/SCFeedObject.js +18 -11
  39. package/lib/cjs/components/SCGroup.d.ts +6 -2
  40. package/lib/cjs/components/SCGroup.js +6 -2
  41. package/lib/cjs/components/SCGroupHeader.d.ts +12 -0
  42. package/lib/cjs/components/SCGroupHeader.js +12 -0
  43. package/lib/cjs/components/SCGroupSubscribeButton.d.ts +18 -0
  44. package/lib/cjs/components/SCGroupSubscribeButton.js +18 -0
  45. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  46. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  47. package/lib/cjs/components/SCMediaFile.d.ts +66 -8
  48. package/lib/cjs/components/SCMediaFile.js +64 -8
  49. package/lib/cjs/components/SCMediaLink.d.ts +2 -1
  50. package/lib/cjs/components/SCMediaLink.js +2 -1
  51. package/lib/cjs/components/SCNavigationToolbar.js +2 -2
  52. package/lib/cjs/components/SCNavigationToolbarMobile.js +2 -2
  53. package/lib/cjs/components/SCPaymentOrder.d.ts +22 -0
  54. package/lib/cjs/components/SCPaymentOrder.js +20 -0
  55. package/lib/cjs/components/SCPaymentOrderPdfButton.d.ts +16 -0
  56. package/lib/cjs/components/SCPaymentOrderPdfButton.js +16 -0
  57. package/lib/cjs/components/SCPaymentOrders.d.ts +62 -0
  58. package/lib/cjs/components/SCPaymentOrders.js +64 -0
  59. package/lib/cjs/components/SCPaymentProduct.d.ts +49 -0
  60. package/lib/cjs/components/SCPaymentProduct.js +47 -0
  61. package/lib/cjs/components/SCPaymentProductPrice.d.ts +39 -0
  62. package/lib/cjs/components/SCPaymentProductPrice.js +37 -0
  63. package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
  64. package/lib/cjs/components/SCPaymentProducts.js +13 -0
  65. package/lib/cjs/components/SCPaywalls.d.ts +12 -0
  66. package/lib/cjs/components/SCPaywalls.js +12 -0
  67. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +160 -0
  68. package/lib/cjs/components/SCPaywallsConfigurator.js +163 -0
  69. package/lib/cjs/components/SCPdfPreview.d.ts +33 -0
  70. package/lib/cjs/components/SCPdfPreview.js +35 -0
  71. package/lib/cjs/components/SCSearchAutocomplete.js +7 -7
  72. package/lib/cjs/components/SCVoteAudienceButton.js +2 -2
  73. package/lib/cjs/components/SCVoteButton.d.ts +1 -1
  74. package/lib/cjs/components/SCVoteButton.js +2 -2
  75. package/lib/cjs/fonts/community/icons.eot +0 -0
  76. package/lib/cjs/fonts/community/icons.svg +75 -69
  77. package/lib/cjs/fonts/community/icons.ttf +0 -0
  78. package/lib/cjs/fonts/community/icons.woff +0 -0
  79. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  80. package/lib/cjs/fonts/community-icons.css +133 -126
  81. package/lib/cjs/index.d.ts +887 -43
  82. package/lib/cjs/index.js +47 -1
  83. package/lib/esm/components/MuiAppBar.js +1 -1
  84. package/lib/esm/components/SCBottomNavigation.js +1 -1
  85. package/lib/esm/components/SCBuyButton.d.ts +15 -0
  86. package/lib/esm/components/SCBuyButton.js +11 -0
  87. package/lib/esm/components/SCCategory.d.ts +8 -0
  88. package/lib/esm/components/SCCategory.js +8 -0
  89. package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
  90. package/lib/esm/components/SCCategoryFollowButton.js +8 -0
  91. package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
  92. package/lib/esm/components/SCCategoryHeader.js +5 -1
  93. package/lib/esm/components/SCCheckout.d.ts +115 -0
  94. package/lib/esm/components/SCCheckout.js +114 -0
  95. package/lib/esm/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
  96. package/lib/esm/components/SCCheckoutHeaderInfoWidget.js +32 -0
  97. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
  98. package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
  99. package/lib/esm/components/SCComposer.d.ts +24 -0
  100. package/lib/esm/components/SCComposer.js +25 -1
  101. package/lib/esm/components/SCCourse.d.ts +23 -1
  102. package/lib/esm/components/SCCourse.js +23 -1
  103. package/lib/esm/components/SCCourseDashboard.d.ts +22 -0
  104. package/lib/esm/components/SCCourseDashboard.js +22 -0
  105. package/lib/esm/components/SCCourses.d.ts +3 -0
  106. package/lib/esm/components/SCCourses.js +3 -0
  107. package/lib/esm/components/SCDefaultDrawerContent.d.ts +8 -0
  108. package/lib/esm/components/SCDefaultDrawerContent.js +8 -0
  109. package/lib/esm/components/SCEditCourse.d.ts +7 -0
  110. package/lib/esm/components/SCEditCourse.js +7 -0
  111. package/lib/esm/components/SCEvent.d.ts +2 -0
  112. package/lib/esm/components/SCEvent.js +3 -1
  113. package/lib/esm/components/SCEventForm.d.ts +3 -0
  114. package/lib/esm/components/SCEventForm.js +3 -0
  115. package/lib/esm/components/SCEventHeader.d.ts +12 -0
  116. package/lib/esm/components/SCEventHeader.js +12 -0
  117. package/lib/esm/components/SCEventSubscribeButton.d.ts +12 -0
  118. package/lib/esm/components/SCEventSubscribeButton.js +10 -0
  119. package/lib/esm/components/SCFeedObject.d.ts +17 -10
  120. package/lib/esm/components/SCFeedObject.js +18 -11
  121. package/lib/esm/components/SCGroup.d.ts +6 -2
  122. package/lib/esm/components/SCGroup.js +6 -2
  123. package/lib/esm/components/SCGroupHeader.d.ts +12 -0
  124. package/lib/esm/components/SCGroupHeader.js +12 -0
  125. package/lib/esm/components/SCGroupSubscribeButton.d.ts +18 -0
  126. package/lib/esm/components/SCGroupSubscribeButton.js +16 -0
  127. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  128. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  129. package/lib/esm/components/SCMediaFile.d.ts +66 -8
  130. package/lib/esm/components/SCMediaFile.js +64 -8
  131. package/lib/esm/components/SCMediaLink.d.ts +2 -1
  132. package/lib/esm/components/SCMediaLink.js +2 -1
  133. package/lib/esm/components/SCNavigationToolbar.js +1 -1
  134. package/lib/esm/components/SCNavigationToolbarMobile.js +1 -1
  135. package/lib/esm/components/SCPaymentOrder.d.ts +22 -0
  136. package/lib/esm/components/SCPaymentOrder.js +18 -0
  137. package/lib/esm/components/SCPaymentOrderPdfButton.d.ts +16 -0
  138. package/lib/esm/components/SCPaymentOrderPdfButton.js +14 -0
  139. package/lib/esm/components/SCPaymentOrders.d.ts +62 -0
  140. package/lib/esm/components/SCPaymentOrders.js +62 -0
  141. package/lib/esm/components/SCPaymentProduct.d.ts +49 -0
  142. package/lib/esm/components/SCPaymentProduct.js +45 -0
  143. package/lib/esm/components/SCPaymentProductPrice.d.ts +39 -0
  144. package/lib/esm/components/SCPaymentProductPrice.js +35 -0
  145. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  146. package/lib/esm/components/SCPaymentProducts.js +11 -0
  147. package/lib/esm/components/SCPaywalls.d.ts +12 -0
  148. package/lib/esm/components/SCPaywalls.js +10 -0
  149. package/lib/esm/components/SCPaywallsConfigurator.d.ts +160 -0
  150. package/lib/esm/components/SCPaywallsConfigurator.js +161 -0
  151. package/lib/esm/components/SCPdfPreview.d.ts +33 -0
  152. package/lib/esm/components/SCPdfPreview.js +33 -0
  153. package/lib/esm/components/SCSearchAutocomplete.js +1 -1
  154. package/lib/esm/components/SCVoteAudienceButton.js +2 -2
  155. package/lib/esm/components/SCVoteButton.d.ts +1 -1
  156. package/lib/esm/components/SCVoteButton.js +2 -2
  157. package/lib/esm/fonts/community/icons.eot +0 -0
  158. package/lib/esm/fonts/community/icons.svg +75 -69
  159. package/lib/esm/fonts/community/icons.ttf +0 -0
  160. package/lib/esm/fonts/community/icons.woff +0 -0
  161. package/lib/esm/fonts/community/icons.woff2 +0 -0
  162. package/lib/esm/fonts/community-icons.css +133 -126
  163. package/lib/esm/index.d.ts +887 -43
  164. package/lib/esm/index.js +47 -1
  165. package/lib/umd/community/icons.eot +0 -0
  166. package/lib/umd/community/icons.svg +75 -69
  167. package/lib/umd/community/icons.ttf +0 -0
  168. package/lib/umd/community/icons.woff +0 -0
  169. package/lib/umd/community/icons.woff2 +0 -0
  170. package/lib/umd/react-theme-default.js +1 -1
  171. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
- root: () => ({
5
+ root: ({ theme }) => ({
6
6
  width: '100%'
7
7
  }),
8
8
  snippetRoot: ({ theme }) => ({
@@ -24,6 +24,17 @@ const Component = {
24
24
  },
25
25
  '& .SCCourse-snippet-image': {
26
26
  position: 'relative',
27
+ marginLeft: theme.spacing(),
28
+ '& .SCCourse-chip': {
29
+ maxWidth: 70,
30
+ borderRadius: 3,
31
+ boxShadow: 'rgba(0, 0, 0, 0.16) 0px 3px 6px,rgba(0, 0, 0, 0.23) 0px 3px 6px',
32
+ height: 18,
33
+ '& span': {
34
+ padding: 3,
35
+ fontSize: '0.6rem'
36
+ }
37
+ },
27
38
  '& .SCCourse-snippet-in-progress': {
28
39
  height: 18,
29
40
  backgroundColor: theme.palette.secondary.main,
@@ -71,6 +82,13 @@ const Component = {
71
82
  fontWeight: 700,
72
83
  padding: theme.spacing(0.5)
73
84
  }
85
+ },
86
+ '& .SCBaseItemButton-actions': {
87
+ marginRight: theme.spacing()
88
+ },
89
+ '& .SCCourse-snippet-privacy': {
90
+ flexDirection: 'row',
91
+ alignItems: 'center'
74
92
  }
75
93
  }),
76
94
  previewRoot: ({ theme }) => ({
@@ -264,6 +282,10 @@ const Component = {
264
282
  transform: 'translate(-50%, -50%)'
265
283
  }
266
284
  }
285
+ },
286
+ '&.MuiPaper-outlined': {
287
+ paddingLeft: theme.spacing(),
288
+ paddingRight: theme.spacing()
267
289
  }
268
290
  })
269
291
  }
@@ -52,6 +52,18 @@ declare const Component: {
52
52
  alignItems: string;
53
53
  gap: any;
54
54
  };
55
+ '& .SCBuyButton-request-root': {
56
+ fontWeight: any;
57
+ '& .MuiButton-startIcon': {
58
+ marginRight: any;
59
+ '& .MuiIcon-root': {
60
+ fontSize: string;
61
+ };
62
+ };
63
+ '&.Mui-selected, &:hover': {
64
+ backgroundColor: string;
65
+ };
66
+ };
55
67
  };
56
68
  };
57
69
  };
@@ -178,6 +190,16 @@ declare const Component: {
178
190
  };
179
191
  margin: string;
180
192
  gap: string;
193
+ '& .SCBuyButton-request-root': {
194
+ '&:hover, &:active': {
195
+ backgroundColor: any;
196
+ color: any;
197
+ border: string;
198
+ '& .MuiIcon-root': {
199
+ color: any;
200
+ };
201
+ };
202
+ };
181
203
  };
182
204
  };
183
205
  '& .SCCourseDashboard-lessons-sections': {
@@ -52,6 +52,18 @@ const Component = {
52
52
  flexDirection: 'row',
53
53
  alignItems: 'center',
54
54
  gap: theme.spacing(1)
55
+ },
56
+ '& .SCBuyButton-request-root': {
57
+ fontWeight: theme.typography.fontWeightBold,
58
+ '& .MuiButton-startIcon': {
59
+ marginRight: theme.spacing(0.5),
60
+ '& .MuiIcon-root': {
61
+ fontSize: '1.5rem'
62
+ }
63
+ },
64
+ '&.Mui-selected, &:hover': {
65
+ backgroundColor: 'transparent'
66
+ }
55
67
  }
56
68
  }
57
69
  }
@@ -175,6 +187,16 @@ const Component = {
175
187
  [theme.breakpoints.up('sm')]: {
176
188
  flexDirection: 'row',
177
189
  margin: 0
190
+ },
191
+ '& .SCBuyButton-request-root': {
192
+ '&:hover, &:active': {
193
+ backgroundColor: theme.palette.common.white,
194
+ color: theme.palette.primary.main,
195
+ border: `1px solid ${theme.palette.primary.main}`,
196
+ '& .MuiIcon-root': {
197
+ color: theme.palette.primary.main
198
+ }
199
+ }
178
200
  }
179
201
  }
180
202
  },
@@ -1,6 +1,9 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
3
  root: ({ theme }: any) => {
4
+ '& .infinite-scroll-component__outerdiv .infinite-scroll-component': {
5
+ overflow: string;
6
+ };
4
7
  '& .SCCourses-filters': {
5
8
  alignItems: string;
6
9
  marginTop: any;
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const Component = {
4
4
  styleOverrides: {
5
5
  root: ({ theme }) => ({
6
+ '& .infinite-scroll-component__outerdiv .infinite-scroll-component': {
7
+ overflow: 'visible !important'
8
+ },
6
9
  '& .SCCourses-filters': {
7
10
  alignItems: 'center',
8
11
  marginTop: theme.spacing(),
@@ -25,6 +25,14 @@ declare const Component: {
25
25
  fontSize: number;
26
26
  };
27
27
  };
28
+ '& .MuiAccordion-root': {
29
+ '& .MuiAccordionSummary-content': {
30
+ marginBottom: any;
31
+ };
32
+ '& .MuiAccordionDetails-root, .MuiList-root': {
33
+ paddingTop: number;
34
+ };
35
+ };
28
36
  };
29
37
  };
30
38
  };
@@ -26,6 +26,14 @@ const Component = {
26
26
  '& .MuiIcon-root': {
27
27
  fontSize: 18
28
28
  }
29
+ },
30
+ '& .MuiAccordion-root': {
31
+ '& .MuiAccordionSummary-content': {
32
+ marginBottom: theme.spacing(1.5)
33
+ },
34
+ '& .MuiAccordionDetails-root, .MuiList-root': {
35
+ paddingTop: 0
36
+ }
29
37
  }
30
38
  })
31
39
  }
@@ -219,6 +219,13 @@ 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
+ };
222
229
  };
223
230
  };
224
231
  skeletonRoot: ({ theme }: {
@@ -219,6 +219,13 @@ 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
+ }
222
229
  }
223
230
  }
224
231
  }),
@@ -154,6 +154,8 @@ declare const Component: {
154
154
  };
155
155
  '& .SCEvent-snippet-secondary': {
156
156
  color: any;
157
+ display: string;
158
+ alignItems: string;
157
159
  };
158
160
  };
159
161
  };
@@ -155,7 +155,9 @@ const Component = {
155
155
  }
156
156
  },
157
157
  '& .SCEvent-snippet-secondary': {
158
- color: theme.palette.text.secondary
158
+ color: theme.palette.text.secondary,
159
+ display: 'flex',
160
+ alignItems: 'center'
159
161
  }
160
162
  }
161
163
  }),
@@ -113,6 +113,9 @@ declare const Component: {
113
113
  padding: any;
114
114
  };
115
115
  };
116
+ '& .SCEventForm-paywalls-configurator-wrap': {
117
+ margin: string;
118
+ };
116
119
  };
117
120
  };
118
121
  };
@@ -115,6 +115,9 @@ 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'
118
121
  }
119
122
  })
120
123
  }
@@ -79,6 +79,18 @@ declare const Component: {
79
79
  alignItems: string;
80
80
  gap: any;
81
81
  };
82
+ '& .SCBuyButton-request-root': {
83
+ fontWeight: any;
84
+ '& .MuiButton-startIcon': {
85
+ marginRight: any;
86
+ '& .MuiIcon-root': {
87
+ fontSize: string;
88
+ };
89
+ };
90
+ '&.Mui-selected, &:hover': {
91
+ backgroundColor: string;
92
+ };
93
+ };
82
94
  };
83
95
  '& .SCEditEvenButton-root': {
84
96
  marginLeft: string;
@@ -81,6 +81,18 @@ const Component = {
81
81
  justifyContent: 'center',
82
82
  alignItems: 'center',
83
83
  gap: theme.spacing(0.5)
84
+ },
85
+ '& .SCBuyButton-request-root': {
86
+ fontWeight: theme.typography.fontWeightBold,
87
+ '& .MuiButton-startIcon': {
88
+ marginRight: theme.spacing(0.5),
89
+ '& .MuiIcon-root': {
90
+ fontSize: '1.5rem'
91
+ }
92
+ },
93
+ '&.Mui-selected, &:hover': {
94
+ backgroundColor: 'transparent'
95
+ }
84
96
  }
85
97
  },
86
98
  '& .SCEditEvenButton-root': {
@@ -49,6 +49,18 @@ declare const Component: {
49
49
  requestRoot: ({ theme }: {
50
50
  theme: any;
51
51
  }) => {};
52
+ buyButtonRoot: ({ theme }: {
53
+ theme: any;
54
+ }) => {
55
+ '&:hover, &:active': {
56
+ backgroundColor: any;
57
+ color: any;
58
+ border: string;
59
+ '& .MuiIcon-root': {
60
+ color: any;
61
+ };
62
+ };
63
+ };
52
64
  menuRoot: ({ theme }: {
53
65
  theme: any;
54
66
  }) => {
@@ -47,6 +47,16 @@ const Component = {
47
47
  }
48
48
  }),
49
49
  requestRoot: ({ theme }) => ({}),
50
+ buyButtonRoot: ({ theme }) => ({
51
+ '&:hover, &:active': {
52
+ backgroundColor: theme.palette.common.white,
53
+ color: theme.palette.primary.main,
54
+ border: `1px solid ${theme.palette.primary.main}`,
55
+ '& .MuiIcon-root': {
56
+ color: theme.palette.primary.main
57
+ }
58
+ }
59
+ }),
50
60
  menuRoot: ({ theme }) => ({
51
61
  '& .MuiPaper-root': {
52
62
  width: 195,
@@ -124,6 +124,13 @@ declare const Component: {
124
124
  };
125
125
  '& .SCFeedObject-info-section': {
126
126
  padding: any;
127
+ '& .SCFeedObject-vote': {
128
+ width: string;
129
+ justifyContent: string;
130
+ '& > button:first-of-type': {
131
+ margin: string;
132
+ };
133
+ };
127
134
  };
128
135
  '& .SCFeedObject-activity-at': {
129
136
  textDecoration: string;
@@ -504,14 +511,14 @@ declare const Component: {
504
511
  paddingRight: number;
505
512
  };
506
513
  };
507
- actionsRoot: ({ theme }: any) => {
514
+ actionsRoot: () => {
508
515
  margin: string;
509
516
  color: string;
510
517
  '& .SCFeedObject-actions-action': {
511
518
  textAlign: string;
512
519
  };
513
520
  };
514
- actionCommentRoot: ({ theme }: any) => {
521
+ actionCommentRoot: () => {
515
522
  display: string;
516
523
  justifyContent: string;
517
524
  alignItems: string;
@@ -538,7 +545,7 @@ declare const Component: {
538
545
  };
539
546
  };
540
547
  };
541
- actionShareRoot: ({ theme }: any) => {
548
+ actionShareRoot: () => {
542
549
  display: string;
543
550
  justifyContent: string;
544
551
  alignItems: string;
@@ -554,7 +561,7 @@ declare const Component: {
554
561
  whiteSpace: string;
555
562
  };
556
563
  };
557
- actionVoteRoot: ({ theme }: any) => {
564
+ actionVoteRoot: () => {
558
565
  display: string;
559
566
  justifyContent: string;
560
567
  alignItems: string;
@@ -567,7 +574,7 @@ declare const Component: {
567
574
  borderBottom: number;
568
575
  };
569
576
  };
570
- activitiesRoot: ({ theme }: any) => {
577
+ activitiesRoot: () => {
571
578
  width: string;
572
579
  };
573
580
  activitiesMenuRoot: ({ theme }: any) => {
@@ -607,7 +614,7 @@ declare const Component: {
607
614
  lineHeight: string;
608
615
  };
609
616
  };
610
- contributorsSkeletonRoot: ({ theme }: any) => {};
617
+ contributorsSkeletonRoot: () => {};
611
618
  pollObjectRoot: ({ theme }: any) => {
612
619
  marginTop: any;
613
620
  marginBottom: any;
@@ -744,10 +751,10 @@ declare const Component: {
744
751
  };
745
752
  };
746
753
  };
747
- activityCommentRoot: ({ theme }: any) => {};
748
- activityFollowRoot: ({ theme }: any) => {};
749
- activityPollVoteRoot: ({ theme }: any) => {};
750
- activityVoteUpRoot: ({ theme }: any) => {};
754
+ activityCommentRoot: () => {};
755
+ activityFollowRoot: () => {};
756
+ activityPollVoteRoot: () => {};
757
+ activityVoteUpRoot: () => {};
751
758
  };
752
759
  };
753
760
  export default Component;
@@ -126,7 +126,14 @@ const Component = {
126
126
  padding: theme.spacing(0.2, 2)
127
127
  },
128
128
  '& .SCFeedObject-info-section': {
129
- padding: theme.spacing(0, 2)
129
+ padding: theme.spacing(0, 2),
130
+ '& .SCFeedObject-vote': {
131
+ width: '100%',
132
+ justifyContent: 'space-between',
133
+ '& > button:first-of-type': {
134
+ margin: 'auto'
135
+ }
136
+ }
130
137
  },
131
138
  '& .SCFeedObject-activity-at': {
132
139
  textDecoration: 'none',
@@ -505,14 +512,14 @@ const Component = {
505
512
  paddingRight: 0
506
513
  }
507
514
  }),
508
- actionsRoot: ({ theme }) => ({
515
+ actionsRoot: () => ({
509
516
  margin: '0px 0px',
510
517
  color: '#3A3A3A',
511
518
  '& .SCFeedObject-actions-action': {
512
519
  textAlign: 'center'
513
520
  }
514
521
  }),
515
- actionCommentRoot: ({ theme }) => ({
522
+ actionCommentRoot: () => ({
516
523
  display: 'flex',
517
524
  justifyContent: 'center',
518
525
  alignItems: 'center',
@@ -539,7 +546,7 @@ const Component = {
539
546
  }
540
547
  }
541
548
  }),
542
- actionShareRoot: ({ theme }) => ({
549
+ actionShareRoot: () => ({
543
550
  display: 'flex',
544
551
  justifyContent: 'center',
545
552
  alignItems: 'center',
@@ -555,7 +562,7 @@ const Component = {
555
562
  whiteSpace: 'nowrap'
556
563
  }
557
564
  }),
558
- actionVoteRoot: ({ theme }) => ({
565
+ actionVoteRoot: () => ({
559
566
  display: 'flex',
560
567
  justifyContent: 'center',
561
568
  alignItems: 'center',
@@ -568,7 +575,7 @@ const Component = {
568
575
  borderBottom: 0
569
576
  }
570
577
  }),
571
- activitiesRoot: ({ theme }) => ({
578
+ activitiesRoot: () => ({
572
579
  width: '100%'
573
580
  }),
574
581
  activitiesMenuRoot: ({ theme }) => ({
@@ -608,7 +615,7 @@ const Component = {
608
615
  lineHeight: '24px'
609
616
  }
610
617
  }),
611
- contributorsSkeletonRoot: ({ theme }) => ({
618
+ contributorsSkeletonRoot: () => ({
612
619
  // [`& .${classes.btnParticipants}`]: {
613
620
  // marginLeft: -10
614
621
  // }
@@ -751,10 +758,10 @@ const Component = {
751
758
  }
752
759
  }
753
760
  }),
754
- activityCommentRoot: ({ theme }) => ({}),
755
- activityFollowRoot: ({ theme }) => ({}),
756
- activityPollVoteRoot: ({ theme }) => ({}),
757
- activityVoteUpRoot: ({ theme }) => ({})
761
+ activityCommentRoot: () => ({}),
762
+ activityFollowRoot: () => ({}),
763
+ activityPollVoteRoot: () => ({}),
764
+ activityVoteUpRoot: () => ({})
758
765
  }
759
766
  };
760
767
  exports.default = Component;
@@ -6,9 +6,10 @@ declare const Component: {
6
6
  };
7
7
  borderRadius: number;
8
8
  paddingBottom: number;
9
+ paddingLeft: any;
10
+ paddingRight: any;
9
11
  overflow: string;
10
12
  '& .SCBaseItemButton-image': {
11
- marginRight: any;
12
13
  '& .MuiAvatar-root': {
13
14
  width: any;
14
15
  height: any;
@@ -38,7 +39,10 @@ declare const Component: {
38
39
  };
39
40
  };
40
41
  };
41
- skeletonRoot: ({ theme }: any) => {};
42
+ skeletonRoot: ({ theme }: any) => {
43
+ paddingLeft: any;
44
+ paddingRight: any;
45
+ };
42
46
  };
43
47
  };
44
48
  export default Component;
@@ -5,12 +5,13 @@ const Component = {
5
5
  root: ({ theme }) => ({
6
6
  borderRadius: 0,
7
7
  paddingBottom: 0,
8
+ paddingLeft: theme.spacing(),
9
+ paddingRight: theme.spacing(),
8
10
  overflow: 'visible',
9
11
  [theme.breakpoints.up('sm')]: {
10
12
  borderRadius: theme.shape.borderRadiusSm
11
13
  },
12
14
  '& .SCBaseItemButton-image': {
13
- marginRight: theme.spacing(1.25),
14
15
  '& .MuiAvatar-root': {
15
16
  width: theme.selfcommunity.group.avatar.sizeSmall,
16
17
  height: theme.selfcommunity.group.avatar.sizeSmall,
@@ -40,7 +41,10 @@ const Component = {
40
41
  }
41
42
  }
42
43
  }),
43
- skeletonRoot: ({ theme }) => ({})
44
+ skeletonRoot: ({ theme }) => ({
45
+ paddingLeft: theme.spacing(),
46
+ paddingRight: theme.spacing(),
47
+ })
44
48
  }
45
49
  };
46
50
  exports.default = Component;
@@ -39,6 +39,18 @@ declare const Component: {
39
39
  alignItems: string;
40
40
  gap: any;
41
41
  };
42
+ '& .SCBuyButton-request-root': {
43
+ fontWeight: any;
44
+ '& .MuiButton-startIcon': {
45
+ marginRight: any;
46
+ '& .MuiIcon-root': {
47
+ fontSize: string;
48
+ };
49
+ };
50
+ '&.Mui-selected, &:hover': {
51
+ backgroundColor: string;
52
+ };
53
+ };
42
54
  };
43
55
  '& .SCGroupHeader-multi-actions': {
44
56
  display: string;
@@ -40,6 +40,18 @@ const Component = {
40
40
  justifyContent: 'center',
41
41
  alignItems: 'center',
42
42
  gap: theme.spacing(0.5)
43
+ },
44
+ '& .SCBuyButton-request-root': {
45
+ fontWeight: theme.typography.fontWeightBold,
46
+ '& .MuiButton-startIcon': {
47
+ marginRight: theme.spacing(0.5),
48
+ '& .MuiIcon-root': {
49
+ fontSize: '1.5rem'
50
+ }
51
+ },
52
+ '&.Mui-selected, &:hover': {
53
+ backgroundColor: 'transparent'
54
+ }
43
55
  }
44
56
  },
45
57
  '& .SCGroupHeader-multi-actions': {
@@ -0,0 +1,18 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ buyButtonRoot: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ border: string;
7
+ '&:hover, &:active': {
8
+ backgroundColor: any;
9
+ color: any;
10
+ border: string;
11
+ '& .MuiIcon-root': {
12
+ color: any;
13
+ };
14
+ };
15
+ };
16
+ };
17
+ };
18
+ export default Component;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ buyButtonRoot: ({ theme }) => ({
6
+ border: `1px solid transparent`,
7
+ '&:hover, &:active': {
8
+ backgroundColor: theme.palette.common.white,
9
+ color: theme.palette.primary.main,
10
+ border: `1px solid ${theme.palette.primary.main}`,
11
+ '& .MuiIcon-root': {
12
+ color: theme.palette.primary.main
13
+ }
14
+ }
15
+ })
16
+ }
17
+ };
18
+ exports.default = Component;
@@ -0,0 +1,8 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ padding: any;
5
+ };
6
+ };
7
+ };
8
+ export default Component;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ padding: theme.spacing(2)
7
+ })
8
+ }
9
+ };
10
+ exports.default = Component;