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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) 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 +16 -0
  16. package/lib/cjs/components/SCComposer.js +16 -0
  17. package/lib/cjs/components/SCCourse.d.ts +19 -1
  18. package/lib/cjs/components/SCCourse.js +19 -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/SCEditCourse.d.ts +7 -0
  24. package/lib/cjs/components/SCEditCourse.js +7 -0
  25. package/lib/cjs/components/SCEventForm.d.ts +3 -0
  26. package/lib/cjs/components/SCEventForm.js +3 -0
  27. package/lib/cjs/components/SCEventHeader.d.ts +12 -0
  28. package/lib/cjs/components/SCEventHeader.js +12 -0
  29. package/lib/cjs/components/SCEventSubscribeButton.d.ts +12 -0
  30. package/lib/cjs/components/SCEventSubscribeButton.js +10 -0
  31. package/lib/cjs/components/SCFeedObject.d.ts +17 -10
  32. package/lib/cjs/components/SCFeedObject.js +18 -11
  33. package/lib/cjs/components/SCGroup.d.ts +6 -2
  34. package/lib/cjs/components/SCGroup.js +6 -2
  35. package/lib/cjs/components/SCGroupHeader.d.ts +12 -0
  36. package/lib/cjs/components/SCGroupHeader.js +12 -0
  37. package/lib/cjs/components/SCGroupSubscribeButton.d.ts +18 -0
  38. package/lib/cjs/components/SCGroupSubscribeButton.js +18 -0
  39. package/lib/cjs/components/SCHiddenPurchasableContent.d.ts +8 -0
  40. package/lib/cjs/components/SCHiddenPurchasableContent.js +10 -0
  41. package/lib/cjs/components/SCMediaFile.d.ts +58 -5
  42. package/lib/cjs/components/SCMediaFile.js +56 -5
  43. package/lib/cjs/components/SCMediaLink.d.ts +2 -1
  44. package/lib/cjs/components/SCMediaLink.js +2 -1
  45. package/lib/cjs/components/SCPaymentOrder.d.ts +22 -0
  46. package/lib/cjs/components/SCPaymentOrder.js +20 -0
  47. package/lib/cjs/components/SCPaymentOrderPdfButton.d.ts +16 -0
  48. package/lib/cjs/components/SCPaymentOrderPdfButton.js +16 -0
  49. package/lib/cjs/components/SCPaymentOrders.d.ts +62 -0
  50. package/lib/cjs/components/SCPaymentOrders.js +64 -0
  51. package/lib/cjs/components/SCPaymentProduct.d.ts +49 -0
  52. package/lib/cjs/components/SCPaymentProduct.js +47 -0
  53. package/lib/cjs/components/SCPaymentProductPrice.d.ts +39 -0
  54. package/lib/cjs/components/SCPaymentProductPrice.js +37 -0
  55. package/lib/cjs/components/SCPaymentProducts.d.ts +15 -0
  56. package/lib/cjs/components/SCPaymentProducts.js +13 -0
  57. package/lib/cjs/components/SCPaywalls.d.ts +12 -0
  58. package/lib/cjs/components/SCPaywalls.js +12 -0
  59. package/lib/cjs/components/SCPaywallsConfigurator.d.ts +157 -0
  60. package/lib/cjs/components/SCPaywallsConfigurator.js +160 -0
  61. package/lib/cjs/components/SCPdfPreview.d.ts +29 -0
  62. package/lib/cjs/components/SCPdfPreview.js +31 -0
  63. package/lib/cjs/fonts/community/icons.eot +0 -0
  64. package/lib/cjs/fonts/community/icons.svg +75 -69
  65. package/lib/cjs/fonts/community/icons.ttf +0 -0
  66. package/lib/cjs/fonts/community/icons.woff +0 -0
  67. package/lib/cjs/fonts/community/icons.woff2 +0 -0
  68. package/lib/cjs/fonts/community-icons.css +133 -126
  69. package/lib/cjs/index.d.ts +849 -39
  70. package/lib/cjs/index.js +47 -1
  71. package/lib/esm/components/SCBuyButton.d.ts +15 -0
  72. package/lib/esm/components/SCBuyButton.js +11 -0
  73. package/lib/esm/components/SCCategory.d.ts +8 -0
  74. package/lib/esm/components/SCCategory.js +8 -0
  75. package/lib/esm/components/SCCategoryFollowButton.d.ts +8 -0
  76. package/lib/esm/components/SCCategoryFollowButton.js +8 -0
  77. package/lib/esm/components/SCCategoryHeader.d.ts +4 -0
  78. package/lib/esm/components/SCCategoryHeader.js +5 -1
  79. package/lib/esm/components/SCCheckout.d.ts +115 -0
  80. package/lib/esm/components/SCCheckout.js +114 -0
  81. package/lib/esm/components/SCCheckoutHeaderInfoWidget.d.ts +34 -0
  82. package/lib/esm/components/SCCheckoutHeaderInfoWidget.js +32 -0
  83. package/lib/esm/components/SCCheckoutReturnDialog.d.ts +26 -0
  84. package/lib/esm/components/SCCheckoutReturnDialog.js +24 -0
  85. package/lib/esm/components/SCComposer.d.ts +16 -0
  86. package/lib/esm/components/SCComposer.js +16 -0
  87. package/lib/esm/components/SCCourse.d.ts +19 -1
  88. package/lib/esm/components/SCCourse.js +19 -1
  89. package/lib/esm/components/SCCourseDashboard.d.ts +22 -0
  90. package/lib/esm/components/SCCourseDashboard.js +22 -0
  91. package/lib/esm/components/SCCourses.d.ts +3 -0
  92. package/lib/esm/components/SCCourses.js +3 -0
  93. package/lib/esm/components/SCEditCourse.d.ts +7 -0
  94. package/lib/esm/components/SCEditCourse.js +7 -0
  95. package/lib/esm/components/SCEventForm.d.ts +3 -0
  96. package/lib/esm/components/SCEventForm.js +3 -0
  97. package/lib/esm/components/SCEventHeader.d.ts +12 -0
  98. package/lib/esm/components/SCEventHeader.js +12 -0
  99. package/lib/esm/components/SCEventSubscribeButton.d.ts +12 -0
  100. package/lib/esm/components/SCEventSubscribeButton.js +10 -0
  101. package/lib/esm/components/SCFeedObject.d.ts +17 -10
  102. package/lib/esm/components/SCFeedObject.js +18 -11
  103. package/lib/esm/components/SCGroup.d.ts +6 -2
  104. package/lib/esm/components/SCGroup.js +6 -2
  105. package/lib/esm/components/SCGroupHeader.d.ts +12 -0
  106. package/lib/esm/components/SCGroupHeader.js +12 -0
  107. package/lib/esm/components/SCGroupSubscribeButton.d.ts +18 -0
  108. package/lib/esm/components/SCGroupSubscribeButton.js +16 -0
  109. package/lib/esm/components/SCHiddenPurchasableContent.d.ts +8 -0
  110. package/lib/esm/components/SCHiddenPurchasableContent.js +8 -0
  111. package/lib/esm/components/SCMediaFile.d.ts +58 -5
  112. package/lib/esm/components/SCMediaFile.js +56 -5
  113. package/lib/esm/components/SCMediaLink.d.ts +2 -1
  114. package/lib/esm/components/SCMediaLink.js +2 -1
  115. package/lib/esm/components/SCPaymentOrder.d.ts +22 -0
  116. package/lib/esm/components/SCPaymentOrder.js +18 -0
  117. package/lib/esm/components/SCPaymentOrderPdfButton.d.ts +16 -0
  118. package/lib/esm/components/SCPaymentOrderPdfButton.js +14 -0
  119. package/lib/esm/components/SCPaymentOrders.d.ts +62 -0
  120. package/lib/esm/components/SCPaymentOrders.js +62 -0
  121. package/lib/esm/components/SCPaymentProduct.d.ts +49 -0
  122. package/lib/esm/components/SCPaymentProduct.js +45 -0
  123. package/lib/esm/components/SCPaymentProductPrice.d.ts +39 -0
  124. package/lib/esm/components/SCPaymentProductPrice.js +35 -0
  125. package/lib/esm/components/SCPaymentProducts.d.ts +15 -0
  126. package/lib/esm/components/SCPaymentProducts.js +11 -0
  127. package/lib/esm/components/SCPaywalls.d.ts +12 -0
  128. package/lib/esm/components/SCPaywalls.js +10 -0
  129. package/lib/esm/components/SCPaywallsConfigurator.d.ts +157 -0
  130. package/lib/esm/components/SCPaywallsConfigurator.js +158 -0
  131. package/lib/esm/components/SCPdfPreview.d.ts +29 -0
  132. package/lib/esm/components/SCPdfPreview.js +29 -0
  133. package/lib/esm/fonts/community/icons.eot +0 -0
  134. package/lib/esm/fonts/community/icons.svg +75 -69
  135. package/lib/esm/fonts/community/icons.ttf +0 -0
  136. package/lib/esm/fonts/community/icons.woff +0 -0
  137. package/lib/esm/fonts/community/icons.woff2 +0 -0
  138. package/lib/esm/fonts/community-icons.css +133 -126
  139. package/lib/esm/index.d.ts +849 -39
  140. package/lib/esm/index.js +47 -1
  141. package/lib/umd/community/icons.eot +0 -0
  142. package/lib/umd/community/icons.svg +75 -69
  143. package/lib/umd/community/icons.ttf +0 -0
  144. package/lib/umd/community/icons.woff +0 -0
  145. package/lib/umd/community/icons.woff2 +0 -0
  146. package/lib/umd/react-theme-default.js +1 -1
  147. 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
  };
@@ -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;
@@ -246,6 +246,22 @@ declare const Component: {
246
246
  };
247
247
  };
248
248
  layerLocationRoot: () => {};
249
+ layerScheduledRoot: ({ theme }: any) => {
250
+ '& .SCComposer-layer-scheduled-picker': {
251
+ display: string;
252
+ flexDirection: string;
253
+ justifyContent: string;
254
+ alignItems: string;
255
+ '& .MuiTypography-h4': {
256
+ color: any;
257
+ };
258
+ };
259
+ '& .SCComposer-layer-scheduled-message': {
260
+ textAlign: string;
261
+ marginTop: any;
262
+ marginBottom: any;
263
+ };
264
+ };
249
265
  skeletonRoot: () => {};
250
266
  typeSwitchButtonGroupRoot: ({ theme }: any) => {
251
267
  '& .MuiToggleButton-root': {
@@ -247,6 +247,22 @@ const Component = {
247
247
  }
248
248
  }),
249
249
  layerLocationRoot: () => ({}),
250
+ layerScheduledRoot: ({ theme }) => ({
251
+ '& .SCComposer-layer-scheduled-picker': {
252
+ display: 'flex',
253
+ flexDirection: 'column',
254
+ justifyContent: 'center',
255
+ alignItems: 'center',
256
+ '& .MuiTypography-h4': {
257
+ color: theme.palette.primary.main
258
+ }
259
+ },
260
+ '& .SCComposer-layer-scheduled-message': {
261
+ textAlign: 'center',
262
+ marginTop: theme.spacing(2),
263
+ marginBottom: theme.spacing(1)
264
+ }
265
+ }),
250
266
  skeletonRoot: () => ({}),
251
267
  typeSwitchButtonGroupRoot: ({ theme }) => ({
252
268
  '& .MuiToggleButton-root': {
@@ -1,6 +1,6 @@
1
1
  declare const Component: {
2
2
  styleOverrides: {
3
- root: () => {
3
+ root: ({ theme }: any) => {
4
4
  width: string;
5
5
  };
6
6
  snippetRoot: ({ theme }: any) => {
@@ -22,6 +22,17 @@ declare const Component: {
22
22
  };
23
23
  '& .SCCourse-snippet-image': {
24
24
  position: string;
25
+ marginLeft: any;
26
+ '& .SCCourse-chip': {
27
+ maxWidth: number;
28
+ borderRadius: number;
29
+ boxShadow: string;
30
+ height: number;
31
+ '& span': {
32
+ padding: number;
33
+ fontSize: string;
34
+ };
35
+ };
25
36
  '& .SCCourse-snippet-in-progress': {
26
37
  height: number;
27
38
  backgroundColor: any;
@@ -70,6 +81,9 @@ declare const Component: {
70
81
  padding: any;
71
82
  };
72
83
  };
84
+ '& .SCBaseItemButton-actions': {
85
+ marginRight: any;
86
+ };
73
87
  };
74
88
  previewRoot: ({ theme }: any) => {
75
89
  [x: number]: {
@@ -263,6 +277,10 @@ declare const Component: {
263
277
  };
264
278
  };
265
279
  };
280
+ '&.MuiPaper-outlined': {
281
+ paddingLeft: any;
282
+ paddingRight: any;
283
+ };
266
284
  };
267
285
  };
268
286
  };