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

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 +31 -10
  36. package/lib/cjs/components/SCFeedObject.js +32 -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 +78 -8
  46. package/lib/cjs/components/SCMediaFile.js +76 -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 +909 -41
  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 +31 -10
  113. package/lib/esm/components/SCFeedObject.js +32 -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 +78 -8
  123. package/lib/esm/components/SCMediaFile.js +76 -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 +909 -41
  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
@@ -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;
@@ -136,6 +143,20 @@ declare const Component: {
136
143
  opacity: number;
137
144
  };
138
145
  };
146
+ '& .SCFeedObject-obj-element': {
147
+ position: string;
148
+ '& .SCFeedObject-new': {
149
+ position: string;
150
+ top: string;
151
+ left: string;
152
+ width: string;
153
+ height: string;
154
+ backgroundColor: any;
155
+ border: string;
156
+ borderRadius: string;
157
+ filter: string;
158
+ };
159
+ };
139
160
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
140
161
  [x: number]: {
141
162
  borderRadius: any;
@@ -504,14 +525,14 @@ declare const Component: {
504
525
  paddingRight: number;
505
526
  };
506
527
  };
507
- actionsRoot: ({ theme }: any) => {
528
+ actionsRoot: () => {
508
529
  margin: string;
509
530
  color: string;
510
531
  '& .SCFeedObject-actions-action': {
511
532
  textAlign: string;
512
533
  };
513
534
  };
514
- actionCommentRoot: ({ theme }: any) => {
535
+ actionCommentRoot: () => {
515
536
  display: string;
516
537
  justifyContent: string;
517
538
  alignItems: string;
@@ -538,7 +559,7 @@ declare const Component: {
538
559
  };
539
560
  };
540
561
  };
541
- actionShareRoot: ({ theme }: any) => {
562
+ actionShareRoot: () => {
542
563
  display: string;
543
564
  justifyContent: string;
544
565
  alignItems: string;
@@ -554,7 +575,7 @@ declare const Component: {
554
575
  whiteSpace: string;
555
576
  };
556
577
  };
557
- actionVoteRoot: ({ theme }: any) => {
578
+ actionVoteRoot: () => {
558
579
  display: string;
559
580
  justifyContent: string;
560
581
  alignItems: string;
@@ -567,7 +588,7 @@ declare const Component: {
567
588
  borderBottom: number;
568
589
  };
569
590
  };
570
- activitiesRoot: ({ theme }: any) => {
591
+ activitiesRoot: () => {
571
592
  width: string;
572
593
  };
573
594
  activitiesMenuRoot: ({ theme }: any) => {
@@ -607,7 +628,7 @@ declare const Component: {
607
628
  lineHeight: string;
608
629
  };
609
630
  };
610
- contributorsSkeletonRoot: ({ theme }: any) => {};
631
+ contributorsSkeletonRoot: () => {};
611
632
  pollObjectRoot: ({ theme }: any) => {
612
633
  marginTop: any;
613
634
  marginBottom: any;
@@ -744,10 +765,10 @@ declare const Component: {
744
765
  };
745
766
  };
746
767
  };
747
- activityCommentRoot: ({ theme }: any) => {};
748
- activityFollowRoot: ({ theme }: any) => {};
749
- activityPollVoteRoot: ({ theme }: any) => {};
750
- activityVoteUpRoot: ({ theme }: any) => {};
768
+ activityCommentRoot: () => {};
769
+ activityFollowRoot: () => {};
770
+ activityPollVoteRoot: () => {};
771
+ activityVoteUpRoot: () => {};
751
772
  };
752
773
  };
753
774
  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',
@@ -139,6 +146,20 @@ const Component = {
139
146
  opacity: 1
140
147
  }
141
148
  },
149
+ '& .SCFeedObject-obj-element': {
150
+ position: 'relative',
151
+ '& .SCFeedObject-new': {
152
+ position: 'absolute',
153
+ top: '10px',
154
+ left: '10px',
155
+ width: '9px',
156
+ height: '9px',
157
+ backgroundColor: theme.palette.secondary.main,
158
+ border: `1px solid ${theme.palette.common.white}`,
159
+ borderRadius: '9999px',
160
+ filter: 'drop-shadow(0 0 2px rgba(0, 0, 0, 0.50))'
161
+ }
162
+ },
142
163
  '&.SCFeedObject-preview, &.SCFeedObject-detail, &.SCFeedObject-search, &.SCFeedObject-share': {
143
164
  border: `0 none`,
144
165
  boxShadow: '0px 0px 10px rgba(0, 0, 0, 0.1)',
@@ -505,14 +526,14 @@ const Component = {
505
526
  paddingRight: 0
506
527
  }
507
528
  }),
508
- actionsRoot: ({ theme }) => ({
529
+ actionsRoot: () => ({
509
530
  margin: '0px 0px',
510
531
  color: '#3A3A3A',
511
532
  '& .SCFeedObject-actions-action': {
512
533
  textAlign: 'center'
513
534
  }
514
535
  }),
515
- actionCommentRoot: ({ theme }) => ({
536
+ actionCommentRoot: () => ({
516
537
  display: 'flex',
517
538
  justifyContent: 'center',
518
539
  alignItems: 'center',
@@ -539,7 +560,7 @@ const Component = {
539
560
  }
540
561
  }
541
562
  }),
542
- actionShareRoot: ({ theme }) => ({
563
+ actionShareRoot: () => ({
543
564
  display: 'flex',
544
565
  justifyContent: 'center',
545
566
  alignItems: 'center',
@@ -555,7 +576,7 @@ const Component = {
555
576
  whiteSpace: 'nowrap'
556
577
  }
557
578
  }),
558
- actionVoteRoot: ({ theme }) => ({
579
+ actionVoteRoot: () => ({
559
580
  display: 'flex',
560
581
  justifyContent: 'center',
561
582
  alignItems: 'center',
@@ -568,7 +589,7 @@ const Component = {
568
589
  borderBottom: 0
569
590
  }
570
591
  }),
571
- activitiesRoot: ({ theme }) => ({
592
+ activitiesRoot: () => ({
572
593
  width: '100%'
573
594
  }),
574
595
  activitiesMenuRoot: ({ theme }) => ({
@@ -608,7 +629,7 @@ const Component = {
608
629
  lineHeight: '24px'
609
630
  }
610
631
  }),
611
- contributorsSkeletonRoot: ({ theme }) => ({
632
+ contributorsSkeletonRoot: () => ({
612
633
  // [`& .${classes.btnParticipants}`]: {
613
634
  // marginLeft: -10
614
635
  // }
@@ -751,10 +772,10 @@ const Component = {
751
772
  }
752
773
  }
753
774
  }),
754
- activityCommentRoot: ({ theme }) => ({}),
755
- activityFollowRoot: ({ theme }) => ({}),
756
- activityPollVoteRoot: ({ theme }) => ({}),
757
- activityVoteUpRoot: ({ theme }) => ({})
775
+ activityCommentRoot: () => ({}),
776
+ activityFollowRoot: () => ({}),
777
+ activityPollVoteRoot: () => ({}),
778
+ activityVoteUpRoot: () => ({})
758
779
  }
759
780
  };
760
781
  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;