@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
package/lib/cjs/index.js CHANGED
@@ -41,6 +41,7 @@ const SCCategory_1 = tslib_1.__importDefault(require("./components/SCCategory"))
41
41
  const SCCategoryAutocomplete_1 = tslib_1.__importDefault(require("./components/SCCategoryAutocomplete"));
42
42
  const SCCategoryFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCCategoryFeedTemplate"));
43
43
  const SCCategoryFollowersButton_1 = tslib_1.__importDefault(require("./components/SCCategoryFollowersButton"));
44
+ const SCCategoryFollowButton_1 = tslib_1.__importDefault(require("./components/SCCategoryFollowButton"));
44
45
  const SCCategoryHeader_1 = tslib_1.__importDefault(require("./components/SCCategoryHeader"));
45
46
  const SCCategoryTemplate_1 = tslib_1.__importDefault(require("./components/SCCategoryTemplate"));
46
47
  const SCCategoryTrendingFeedWidget_1 = tslib_1.__importDefault(require("./components/SCCategoryTrendingFeedWidget"));
@@ -116,6 +117,7 @@ const SCGroupMembersWidget_1 = tslib_1.__importDefault(require("./components/SCG
116
117
  const SCGroupRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCGroupRequestsWidget"));
117
118
  const SCGroups_1 = tslib_1.__importDefault(require("./components/SCGroups"));
118
119
  const SCGroupSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCGroupSettingsIconButton"));
120
+ const SCGroupSubscribeButton_1 = tslib_1.__importDefault(require("./components/SCGroupSubscribeButton"));
119
121
  const SCGroupTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupTemplate"));
120
122
  const SCIncubator_1 = tslib_1.__importDefault(require("./components/SCIncubator"));
121
123
  const SCIncubatorDetail_1 = tslib_1.__importDefault(require("./components/SCIncubatorDetail"));
@@ -205,6 +207,20 @@ const SCTagAutocomplete_1 = tslib_1.__importDefault(require("./components/SCTagA
205
207
  const SCVoteAudienceButton_1 = tslib_1.__importDefault(require("./components/SCVoteAudienceButton"));
206
208
  const SCVoteButton_1 = tslib_1.__importDefault(require("./components/SCVoteButton"));
207
209
  const SCWidget_1 = tslib_1.__importDefault(require("./components/SCWidget"));
210
+ const SCBuyButton_1 = tslib_1.__importDefault(require("./components/SCBuyButton"));
211
+ const SCPaymentProducts_1 = tslib_1.__importDefault(require("./components/SCPaymentProducts"));
212
+ const SCPaymentProduct_1 = tslib_1.__importDefault(require("./components/SCPaymentProduct"));
213
+ const SCPaymentOrder_1 = tslib_1.__importDefault(require("./components/SCPaymentOrder"));
214
+ const SCPaymentOrderPdfButton_1 = tslib_1.__importDefault(require("./components/SCPaymentOrderPdfButton"));
215
+ const SCPaymentProductPrice_1 = tslib_1.__importDefault(require("./components/SCPaymentProductPrice"));
216
+ const SCCheckout_1 = tslib_1.__importDefault(require("./components/SCCheckout"));
217
+ const SCCheckoutReturnDialog_1 = tslib_1.__importDefault(require("./components/SCCheckoutReturnDialog"));
218
+ const SCHiddenPurchasableContent_1 = tslib_1.__importDefault(require("./components/SCHiddenPurchasableContent"));
219
+ const SCPaywalls_1 = tslib_1.__importDefault(require("./components/SCPaywalls"));
220
+ const SCPaywallsConfigurator_1 = tslib_1.__importDefault(require("./components/SCPaywallsConfigurator"));
221
+ const SCPdfPreview_1 = tslib_1.__importDefault(require("./components/SCPdfPreview"));
222
+ const SCPaymentOrders_1 = tslib_1.__importDefault(require("./components/SCPaymentOrders"));
223
+ const SCCheckoutHeaderInfoWidget_1 = tslib_1.__importDefault(require("./components/SCCheckoutHeaderInfoWidget"));
208
224
  /**
209
225
  * Style fragments - Imports - End
210
226
  */
@@ -328,6 +344,7 @@ const theme = {
328
344
  SCCategoryAutocomplete: SCCategoryAutocomplete_1.default,
329
345
  SCCategoryFeedTemplate: SCCategoryFeedTemplate_1.default,
330
346
  SCCategoryFollowersButton: SCCategoryFollowersButton_1.default,
347
+ SCCategoryFollowButton: SCCategoryFollowButton_1.default,
331
348
  SCCategoryHeader: SCCategoryHeader_1.default,
332
349
  SCCategoryTemplate: SCCategoryTemplate_1.default,
333
350
  SCCategoryTrendingFeedWidget: SCCategoryTrendingFeedWidget_1.default,
@@ -384,6 +401,7 @@ const theme = {
384
401
  SCGroupMembersWidget: SCGroupMembersWidget_1.default,
385
402
  SCGroupRequestsWidget: SCGroupRequestsWidget_1.default,
386
403
  SCGroupSettingsIconButton: SCGroupSettingsIconButton_1.default,
404
+ SCGroupSubscribeButton: SCGroupSubscribeButton_1.default,
387
405
  SCGroupTemplate: SCGroupTemplate_1.default,
388
406
  SCGroups: SCGroups_1.default,
389
407
  SCIncubator: SCIncubator_1.default,
@@ -492,7 +510,21 @@ const theme = {
492
510
  SCLiveStreamForm: SCLiveStreamForm_1.default,
493
511
  SCLiveStreamFormSettings: SCLiveStreamFormSettings_1.default,
494
512
  SCLiveStreamRoom: SCLiveStreamRoom_1.default,
495
- SCLiveStreamVideoConference: SCLiveStreamVideoConference_1.default
513
+ SCLiveStreamVideoConference: SCLiveStreamVideoConference_1.default,
514
+ SCBuyButton: SCBuyButton_1.default,
515
+ SCPaymentProducts: SCPaymentProducts_1.default,
516
+ SCPaymentProduct: SCPaymentProduct_1.default,
517
+ SCPaymentOrder: SCPaymentOrder_1.default,
518
+ SCPaymentOrderPdfButton: SCPaymentOrderPdfButton_1.default,
519
+ SCPaymentProductPrice: SCPaymentProductPrice_1.default,
520
+ SCCheckout: SCCheckout_1.default,
521
+ SCCheckoutReturnDialog: SCCheckoutReturnDialog_1.default,
522
+ SCHiddenPurchasableContent: SCHiddenPurchasableContent_1.default,
523
+ SCPaywalls: SCPaywalls_1.default,
524
+ SCPaywallsConfigurator: SCPaywallsConfigurator_1.default,
525
+ SCPdfPreview: SCPdfPreview_1.default,
526
+ SCPaymentOrders: SCPaymentOrders_1.default,
527
+ SCCheckoutHeaderInfoWidget: SCCheckoutHeaderInfoWidget_1.default
496
528
  },
497
529
  selfcommunity: {
498
530
  user: {
@@ -517,6 +549,20 @@ const theme = {
517
549
  sizeLarge: 90,
518
550
  sizeXLarge: 205
519
551
  }
552
+ },
553
+ contentProduct: {
554
+ icon: {
555
+ sizeSmall: 24,
556
+ sizeMedium: 40,
557
+ sizeLarge: 50
558
+ }
559
+ },
560
+ contentProductPrice: {
561
+ icon: {
562
+ sizeSmall: 24,
563
+ sizeMedium: 40,
564
+ sizeLarge: 50
565
+ }
520
566
  }
521
567
  }
522
568
  };
@@ -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,15 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ requestRoot: ({ theme }: {
4
+ theme: any;
5
+ }) => {};
6
+ drawerRoot: ({ theme }: {
7
+ theme: any;
8
+ }) => {
9
+ '& > div.MuiPaper-root': {
10
+ padding: any;
11
+ };
12
+ };
13
+ };
14
+ };
15
+ export default Component;
@@ -0,0 +1,11 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ requestRoot: ({ theme }) => ({}),
4
+ drawerRoot: ({ theme }) => ({
5
+ '& > div.MuiPaper-root': {
6
+ padding: theme.spacing(2)
7
+ }
8
+ })
9
+ }
10
+ };
11
+ export default Component;
@@ -32,6 +32,10 @@ declare const Component: {
32
32
  textOverflow: string;
33
33
  display: string;
34
34
  };
35
+ '&.MuiPaper-outlined': {
36
+ paddingLeft: any;
37
+ paddingRight: any;
38
+ };
35
39
  };
36
40
  skeletonRoot: ({ theme }: any) => {
37
41
  '& .SCCategory-image': {
@@ -46,6 +50,10 @@ declare const Component: {
46
50
  '& .SCCategory-action': {
47
51
  margin: any;
48
52
  };
53
+ '&.MuiPaper-outlined': {
54
+ paddingLeft: any;
55
+ paddingRight: any;
56
+ };
49
57
  };
50
58
  };
51
59
  };
@@ -31,6 +31,10 @@ const Component = {
31
31
  overflow: 'hidden',
32
32
  textOverflow: 'ellipsis',
33
33
  display: 'block'
34
+ },
35
+ '&.MuiPaper-outlined': {
36
+ paddingLeft: theme.spacing(1),
37
+ paddingRight: theme.spacing(1)
34
38
  }
35
39
  }),
36
40
  skeletonRoot: ({ theme }) => ({
@@ -45,6 +49,10 @@ const Component = {
45
49
  },
46
50
  '& .SCCategory-action': {
47
51
  margin: theme.spacing(0.5)
52
+ },
53
+ '&.MuiPaper-outlined': {
54
+ paddingLeft: theme.spacing(1),
55
+ paddingRight: theme.spacing(1)
48
56
  }
49
57
  })
50
58
  }
@@ -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,8 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ padding: theme.spacing(0.75, 3)
5
+ })
6
+ }
7
+ };
8
+ export default Component;
@@ -46,6 +46,10 @@ declare const Component: {
46
46
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
47
47
  textAlign: string;
48
48
  marginBottom: any;
49
+ '& button': {
50
+ marginLeft: any;
51
+ marginRight: any;
52
+ };
49
53
  };
50
54
  '& .SCCategoryHeader-followed': {
51
55
  marginBottom: string;
@@ -45,7 +45,11 @@ const Component = {
45
45
  },
46
46
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
47
47
  textAlign: 'center',
48
- marginBottom: theme.spacing(2)
48
+ marginBottom: theme.spacing(2),
49
+ '& button': {
50
+ marginLeft: theme.spacing(0.5),
51
+ marginRight: theme.spacing(0.5)
52
+ }
49
53
  },
50
54
  '& .SCCategoryHeader-followed': {
51
55
  marginBottom: `${theme.spacing(0)} !important`,
@@ -0,0 +1,115 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ position: string;
7
+ backgroundColor: any;
8
+ display: string;
9
+ flexDirection: string;
10
+ justifyContent: string;
11
+ alignItems: string;
12
+ width: string;
13
+ "& .SCCheckout-content": {
14
+ [x: number]: {
15
+ display: string;
16
+ flexDirection: string;
17
+ justifyContent: string;
18
+ alignItems: string;
19
+ };
20
+ width: string;
21
+ maxWidth: number;
22
+ display: string;
23
+ gridTemplateColumns: string;
24
+ padding: any;
25
+ gap: number;
26
+ "& .SCCheckout-content-object": {
27
+ [x: number]: {
28
+ width: string;
29
+ };
30
+ position: string;
31
+ display: string;
32
+ flexDirection: string;
33
+ justifyContent: string;
34
+ alignItems: string;
35
+ '& .SCWidget-root': {
36
+ width: string;
37
+ '& .SCEvent-preview-content': {
38
+ padding: string;
39
+ };
40
+ };
41
+ };
42
+ "& .SCCheckout-content-coverage": {
43
+ position: string;
44
+ width: string;
45
+ height: string;
46
+ backgroundColor: string;
47
+ };
48
+ "& .SCCheckout-content-desc": {
49
+ [x: number]: {
50
+ display: string;
51
+ };
52
+ display: string;
53
+ flexDirection: string;
54
+ justifyContent: string;
55
+ alignItems: string;
56
+ maxWidth: number;
57
+ };
58
+ };
59
+ "& .SCCheckout-checkout": {
60
+ width: string;
61
+ bottom: any;
62
+ };
63
+ "& .SCCheckout-object": {
64
+ [x: number]: {
65
+ minWidth: number;
66
+ width: string;
67
+ };
68
+ width: string;
69
+ };
70
+ "& .SCCheckout-payment-order": {
71
+ display: string;
72
+ flexDirection: string;
73
+ justifyContent: string;
74
+ alignItems: string;
75
+ margin: any;
76
+ '& .SCPaymentOrder-root': {
77
+ width: string;
78
+ display: string;
79
+ flexDirection: string;
80
+ justifyContent: string;
81
+ alignItems: string;
82
+ '& .SCPaymentOrder-content-object': {
83
+ minWidth: number;
84
+ };
85
+ '& .SCPaymentOrder-details': {
86
+ minWidth: number;
87
+ };
88
+ '& .SCPaymentOrderPdfButton-root': {
89
+ paddingLeft: any;
90
+ paddingRight: any;
91
+ };
92
+ };
93
+ '& .SCPaymentOrder-skeleton-root': {
94
+ minWidth: number;
95
+ };
96
+ };
97
+ "& .SCCategory-root": {
98
+ borderRadius: any;
99
+ '& a': {
100
+ padding: any;
101
+ };
102
+ };
103
+ "& .SCGroup-root": {
104
+ borderRadius: any;
105
+ '& a': {
106
+ padding: any;
107
+ };
108
+ };
109
+ "& .SCCourse-preview-root": {
110
+ minHeight: string;
111
+ };
112
+ };
113
+ };
114
+ };
115
+ export default Component;
@@ -0,0 +1,114 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ position: 'relative',
5
+ backgroundColor: theme.palette.background.paper,
6
+ display: 'flex',
7
+ flexDirection: 'column',
8
+ justifyContent: 'space-between',
9
+ alignItems: 'center',
10
+ width: '100%',
11
+ ['& .SCCheckout-content']: {
12
+ width: '100%',
13
+ maxWidth: 860,
14
+ display: 'grid',
15
+ gridTemplateColumns: '1fr 1fr',
16
+ padding: theme.spacing(2),
17
+ gap: 0,
18
+ [theme.breakpoints.down(1034)]: {
19
+ display: 'flex',
20
+ flexDirection: 'column',
21
+ justifyContent: 'space-between',
22
+ alignItems: 'center'
23
+ },
24
+ ['& .SCCheckout-content-object']: {
25
+ position: 'relative',
26
+ display: 'flex',
27
+ flexDirection: 'column',
28
+ justifyContent: 'center',
29
+ alignItems: 'flex-start',
30
+ [theme.breakpoints.down('sm')]: {
31
+ width: '90%'
32
+ },
33
+ '& .SCWidget-root': {
34
+ width: '93%',
35
+ '& .SCEvent-preview-content': {
36
+ padding: `${theme.spacing(2)} !important`
37
+ }
38
+ }
39
+ },
40
+ ['& .SCCheckout-content-coverage']: {
41
+ position: 'absolute',
42
+ width: '100%',
43
+ height: '100%',
44
+ backgroundColor: 'transparent'
45
+ },
46
+ ['& .SCCheckout-content-desc']: {
47
+ display: 'flex',
48
+ flexDirection: 'column',
49
+ justifyContent: 'center',
50
+ alignItems: 'center',
51
+ [theme.breakpoints.down(1034)]: {
52
+ display: 'none'
53
+ },
54
+ maxWidth: 600
55
+ }
56
+ },
57
+ ['& .SCCheckout-checkout']: {
58
+ width: '100%',
59
+ bottom: theme.spacing(2)
60
+ },
61
+ ['& .SCCheckout-object']: {
62
+ // margin: theme.spacing(2, 2, 0.5, 0),
63
+ width: '100%',
64
+ [theme.breakpoints.up('sm')]: {
65
+ minWidth: 395,
66
+ width: 'auto'
67
+ }
68
+ },
69
+ ['& .SCCheckout-payment-order']: {
70
+ display: 'flex',
71
+ flexDirection: 'column',
72
+ justifyContent: 'center',
73
+ alignItems: 'center',
74
+ margin: theme.spacing(5),
75
+ '& .SCPaymentOrder-root': {
76
+ width: '100%',
77
+ display: 'flex',
78
+ flexDirection: 'column',
79
+ justifyContent: 'center',
80
+ alignItems: 'center',
81
+ '& .SCPaymentOrder-content-object': {
82
+ minWidth: 300
83
+ },
84
+ '& .SCPaymentOrder-details': {
85
+ minWidth: 300
86
+ },
87
+ '& .SCPaymentOrderPdfButton-root': {
88
+ paddingLeft: theme.spacing(),
89
+ paddingRight: theme.spacing()
90
+ }
91
+ },
92
+ '& .SCPaymentOrder-skeleton-root': {
93
+ minWidth: 300
94
+ }
95
+ },
96
+ ['& .SCCategory-root']: {
97
+ borderRadius: theme.shape.borderRadius,
98
+ '& a': {
99
+ padding: theme.spacing(2)
100
+ }
101
+ },
102
+ ['& .SCGroup-root']: {
103
+ borderRadius: theme.shape.borderRadius,
104
+ '& a': {
105
+ padding: theme.spacing(2)
106
+ }
107
+ },
108
+ ['& .SCCourse-preview-root']: {
109
+ minHeight: 'auto'
110
+ }
111
+ })
112
+ }
113
+ };
114
+ export default Component;
@@ -0,0 +1,34 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .SCCheckoutHeaderInfoWidget-header': {
7
+ height: any;
8
+ position: string;
9
+ backgroundColor: any;
10
+ color: string;
11
+ textAlign: string;
12
+ '& img': {
13
+ position: string;
14
+ left: string;
15
+ top: any;
16
+ transform: string;
17
+ };
18
+ '& .MuiIcon-root': {
19
+ top: any;
20
+ position: string;
21
+ };
22
+ };
23
+ '& .SCCheckoutHeaderInfoWidget-content': {
24
+ padding: any;
25
+ justifyContent: string;
26
+ '& .MuiTypography-body2': {
27
+ paddingTop: any;
28
+ whiteSpace: string;
29
+ };
30
+ };
31
+ };
32
+ };
33
+ };
34
+ export default Component;
@@ -0,0 +1,32 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .SCCheckoutHeaderInfoWidget-header': {
5
+ height: theme.spacing(10),
6
+ position: 'relative',
7
+ backgroundColor: theme.palette.primary.main,
8
+ color: 'white',
9
+ textAlign: 'center',
10
+ '& img': {
11
+ position: 'absolute',
12
+ left: '50%',
13
+ top: theme.spacing(1),
14
+ transform: 'translateX(-50%)'
15
+ },
16
+ '& .MuiIcon-root': {
17
+ top: theme.spacing(5),
18
+ position: 'relative'
19
+ }
20
+ },
21
+ '& .SCCheckoutHeaderInfoWidget-content': {
22
+ padding: theme.spacing(1.5),
23
+ justifyContent: 'center',
24
+ '& .MuiTypography-body2': {
25
+ paddingTop: theme.spacing(1),
26
+ whiteSpace: 'pre-line'
27
+ }
28
+ }
29
+ })
30
+ }
31
+ };
32
+ export default Component;
@@ -0,0 +1,26 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: {
4
+ theme: any;
5
+ }) => {
6
+ '& .MuiDialogTitle-root': {
7
+ textAlign: string;
8
+ fontSize: string;
9
+ fontWeight: number;
10
+ };
11
+ '& .MuiDialogContent-root': {
12
+ display: string;
13
+ minHeight: number;
14
+ justifyContent: string;
15
+ alignItems: string;
16
+ '& .SCWidget-root': {
17
+ minWidth: number;
18
+ };
19
+ '& .MuiTypography-body2': {
20
+ marginTop: any;
21
+ };
22
+ };
23
+ };
24
+ };
25
+ };
26
+ export default Component;
@@ -0,0 +1,24 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ '& .MuiDialogTitle-root': {
5
+ textAlign: 'center',
6
+ fontSize: '20px',
7
+ fontWeight: 600
8
+ },
9
+ '& .MuiDialogContent-root': {
10
+ display: 'flex',
11
+ minHeight: 200,
12
+ justifyContent: 'center',
13
+ alignItems: 'center',
14
+ '& .SCWidget-root': {
15
+ minWidth: 310
16
+ },
17
+ '& .MuiTypography-body2': {
18
+ marginTop: theme.spacing(1)
19
+ }
20
+ }
21
+ })
22
+ }
23
+ };
24
+ export default Component;
@@ -93,6 +93,14 @@ declare const Component: {
93
93
  zIndex: number;
94
94
  backgroundColor: any;
95
95
  borderTop: string;
96
+ '& .SCComposer-selected-action': {
97
+ display: string;
98
+ alignItems: string;
99
+ '& .SCComposer-action-selected-icon': {
100
+ marginLeft: any;
101
+ fontSize: any;
102
+ };
103
+ };
96
104
  };
97
105
  '& .SCComposer-general-error': {
98
106
  marginBottom: any;
@@ -246,6 +254,22 @@ declare const Component: {
246
254
  };
247
255
  };
248
256
  layerLocationRoot: () => {};
257
+ layerScheduledRoot: ({ theme }: any) => {
258
+ '& .SCComposer-layer-scheduled-picker': {
259
+ display: string;
260
+ flexDirection: string;
261
+ justifyContent: string;
262
+ alignItems: string;
263
+ '& .MuiTypography-h4': {
264
+ color: any;
265
+ };
266
+ };
267
+ '& .SCComposer-layer-scheduled-message': {
268
+ textAlign: string;
269
+ marginTop: any;
270
+ marginBottom: any;
271
+ };
272
+ };
249
273
  skeletonRoot: () => {};
250
274
  typeSwitchButtonGroupRoot: ({ theme }: any) => {
251
275
  '& .MuiToggleButton-root': {
@@ -79,7 +79,15 @@ const Component = {
79
79
  justifyContent: 'space-between',
80
80
  zIndex: 1,
81
81
  backgroundColor: theme.palette.background.paper,
82
- borderTop: `1px solid ${theme.palette.grey[400]}`
82
+ borderTop: `1px solid ${theme.palette.grey[400]}`,
83
+ '& .SCComposer-selected-action': {
84
+ display: 'flex',
85
+ alignItems: 'center',
86
+ '& .SCComposer-action-selected-icon': {
87
+ marginLeft: theme.spacing(0.5),
88
+ fontSize: theme.spacing(1)
89
+ }
90
+ }
83
91
  },
84
92
  '& .SCComposer-general-error': {
85
93
  marginBottom: theme.spacing(2),
@@ -247,6 +255,22 @@ const Component = {
247
255
  }
248
256
  }),
249
257
  layerLocationRoot: () => ({}),
258
+ layerScheduledRoot: ({ theme }) => ({
259
+ '& .SCComposer-layer-scheduled-picker': {
260
+ display: 'flex',
261
+ flexDirection: 'column',
262
+ justifyContent: 'center',
263
+ alignItems: 'center',
264
+ '& .MuiTypography-h4': {
265
+ color: theme.palette.primary.main
266
+ }
267
+ },
268
+ '& .SCComposer-layer-scheduled-message': {
269
+ textAlign: 'center',
270
+ marginTop: theme.spacing(2),
271
+ marginBottom: theme.spacing(1)
272
+ }
273
+ }),
250
274
  skeletonRoot: () => ({}),
251
275
  typeSwitchButtonGroupRoot: ({ theme }) => ({
252
276
  '& .MuiToggleButton-root': {