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

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 +33 -0
  62. package/lib/cjs/components/SCPdfPreview.js +35 -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 +853 -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 +33 -0
  132. package/lib/esm/components/SCPdfPreview.js +33 -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 +853 -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
@@ -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,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ requestRoot: ({ theme }) => ({}),
6
+ drawerRoot: ({ theme }) => ({
7
+ '& > div.MuiPaper-root': {
8
+ padding: theme.spacing(2)
9
+ }
10
+ })
11
+ }
12
+ };
13
+ exports.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
  };
@@ -33,6 +33,10 @@ const Component = {
33
33
  overflow: 'hidden',
34
34
  textOverflow: 'ellipsis',
35
35
  display: 'block'
36
+ },
37
+ '&.MuiPaper-outlined': {
38
+ paddingLeft: theme.spacing(1),
39
+ paddingRight: theme.spacing(1)
36
40
  }
37
41
  }),
38
42
  skeletonRoot: ({ theme }) => ({
@@ -47,6 +51,10 @@ const Component = {
47
51
  },
48
52
  '& .SCCategory-action': {
49
53
  margin: theme.spacing(0.5)
54
+ },
55
+ '&.MuiPaper-outlined': {
56
+ paddingLeft: theme.spacing(1),
57
+ paddingRight: theme.spacing(1)
50
58
  }
51
59
  })
52
60
  }
@@ -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(0.75, 3)
7
+ })
8
+ }
9
+ };
10
+ exports.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;
@@ -47,7 +47,11 @@ const Component = {
47
47
  },
48
48
  '& .SCCategoryHeader-followed, & .SCCategoryHeader-action': {
49
49
  textAlign: 'center',
50
- marginBottom: theme.spacing(2)
50
+ marginBottom: theme.spacing(2),
51
+ '& button': {
52
+ marginLeft: theme.spacing(0.5),
53
+ marginRight: theme.spacing(0.5)
54
+ }
51
55
  },
52
56
  '& .SCCategoryHeader-followed': {
53
57
  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,116 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ position: 'relative',
7
+ backgroundColor: theme.palette.background.paper,
8
+ display: 'flex',
9
+ flexDirection: 'column',
10
+ justifyContent: 'space-between',
11
+ alignItems: 'center',
12
+ width: '100%',
13
+ ['& .SCCheckout-content']: {
14
+ width: '100%',
15
+ maxWidth: 860,
16
+ display: 'grid',
17
+ gridTemplateColumns: '1fr 1fr',
18
+ padding: theme.spacing(2),
19
+ gap: 0,
20
+ [theme.breakpoints.down(1034)]: {
21
+ display: 'flex',
22
+ flexDirection: 'column',
23
+ justifyContent: 'space-between',
24
+ alignItems: 'center'
25
+ },
26
+ ['& .SCCheckout-content-object']: {
27
+ position: 'relative',
28
+ display: 'flex',
29
+ flexDirection: 'column',
30
+ justifyContent: 'center',
31
+ alignItems: 'flex-start',
32
+ [theme.breakpoints.down('sm')]: {
33
+ width: '90%'
34
+ },
35
+ '& .SCWidget-root': {
36
+ width: '93%',
37
+ '& .SCEvent-preview-content': {
38
+ padding: `${theme.spacing(2)} !important`
39
+ }
40
+ }
41
+ },
42
+ ['& .SCCheckout-content-coverage']: {
43
+ position: 'absolute',
44
+ width: '100%',
45
+ height: '100%',
46
+ backgroundColor: 'transparent'
47
+ },
48
+ ['& .SCCheckout-content-desc']: {
49
+ display: 'flex',
50
+ flexDirection: 'column',
51
+ justifyContent: 'center',
52
+ alignItems: 'center',
53
+ [theme.breakpoints.down(1034)]: {
54
+ display: 'none'
55
+ },
56
+ maxWidth: 600
57
+ }
58
+ },
59
+ ['& .SCCheckout-checkout']: {
60
+ width: '100%',
61
+ bottom: theme.spacing(2)
62
+ },
63
+ ['& .SCCheckout-object']: {
64
+ // margin: theme.spacing(2, 2, 0.5, 0),
65
+ width: '100%',
66
+ [theme.breakpoints.up('sm')]: {
67
+ minWidth: 395,
68
+ width: 'auto'
69
+ }
70
+ },
71
+ ['& .SCCheckout-payment-order']: {
72
+ display: 'flex',
73
+ flexDirection: 'column',
74
+ justifyContent: 'center',
75
+ alignItems: 'center',
76
+ margin: theme.spacing(5),
77
+ '& .SCPaymentOrder-root': {
78
+ width: '100%',
79
+ display: 'flex',
80
+ flexDirection: 'column',
81
+ justifyContent: 'center',
82
+ alignItems: 'center',
83
+ '& .SCPaymentOrder-content-object': {
84
+ minWidth: 300
85
+ },
86
+ '& .SCPaymentOrder-details': {
87
+ minWidth: 300
88
+ },
89
+ '& .SCPaymentOrderPdfButton-root': {
90
+ paddingLeft: theme.spacing(),
91
+ paddingRight: theme.spacing()
92
+ }
93
+ },
94
+ '& .SCPaymentOrder-skeleton-root': {
95
+ minWidth: 300
96
+ }
97
+ },
98
+ ['& .SCCategory-root']: {
99
+ borderRadius: theme.shape.borderRadius,
100
+ '& a': {
101
+ padding: theme.spacing(2)
102
+ }
103
+ },
104
+ ['& .SCGroup-root']: {
105
+ borderRadius: theme.shape.borderRadius,
106
+ '& a': {
107
+ padding: theme.spacing(2)
108
+ }
109
+ },
110
+ ['& .SCCourse-preview-root']: {
111
+ minHeight: 'auto'
112
+ }
113
+ })
114
+ }
115
+ };
116
+ exports.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,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .SCCheckoutHeaderInfoWidget-header': {
7
+ height: theme.spacing(10),
8
+ position: 'relative',
9
+ backgroundColor: theme.palette.primary.main,
10
+ color: 'white',
11
+ textAlign: 'center',
12
+ '& img': {
13
+ position: 'absolute',
14
+ left: '50%',
15
+ top: theme.spacing(1),
16
+ transform: 'translateX(-50%)'
17
+ },
18
+ '& .MuiIcon-root': {
19
+ top: theme.spacing(5),
20
+ position: 'relative'
21
+ }
22
+ },
23
+ '& .SCCheckoutHeaderInfoWidget-content': {
24
+ padding: theme.spacing(1.5),
25
+ justifyContent: 'center',
26
+ '& .MuiTypography-body2': {
27
+ paddingTop: theme.spacing(1),
28
+ whiteSpace: 'pre-line'
29
+ }
30
+ }
31
+ })
32
+ }
33
+ };
34
+ exports.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,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const Component = {
4
+ styleOverrides: {
5
+ root: ({ theme }) => ({
6
+ '& .MuiDialogTitle-root': {
7
+ textAlign: 'center',
8
+ fontSize: '20px',
9
+ fontWeight: 600
10
+ },
11
+ '& .MuiDialogContent-root': {
12
+ display: 'flex',
13
+ minHeight: 200,
14
+ justifyContent: 'center',
15
+ alignItems: 'center',
16
+ '& .SCWidget-root': {
17
+ minWidth: 310
18
+ },
19
+ '& .MuiTypography-body2': {
20
+ marginTop: theme.spacing(1)
21
+ }
22
+ }
23
+ })
24
+ }
25
+ };
26
+ exports.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': {
@@ -249,6 +249,22 @@ const Component = {
249
249
  }
250
250
  }),
251
251
  layerLocationRoot: () => ({}),
252
+ layerScheduledRoot: ({ theme }) => ({
253
+ '& .SCComposer-layer-scheduled-picker': {
254
+ display: 'flex',
255
+ flexDirection: 'column',
256
+ justifyContent: 'center',
257
+ alignItems: 'center',
258
+ '& .MuiTypography-h4': {
259
+ color: theme.palette.primary.main
260
+ }
261
+ },
262
+ '& .SCComposer-layer-scheduled-message': {
263
+ textAlign: 'center',
264
+ marginTop: theme.spacing(2),
265
+ marginBottom: theme.spacing(1)
266
+ }
267
+ }),
252
268
  skeletonRoot: () => ({}),
253
269
  typeSwitchButtonGroupRoot: ({ theme }) => ({
254
270
  '& .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
  };
@@ -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,9 @@ const Component = {
71
82
  fontWeight: 700,
72
83
  padding: theme.spacing(0.5)
73
84
  }
85
+ },
86
+ '& .SCBaseItemButton-actions': {
87
+ marginRight: theme.spacing()
74
88
  }
75
89
  }),
76
90
  previewRoot: ({ theme }) => ({
@@ -264,6 +278,10 @@ const Component = {
264
278
  transform: 'translate(-50%, -50%)'
265
279
  }
266
280
  }
281
+ },
282
+ '&.MuiPaper-outlined': {
283
+ paddingLeft: theme.spacing(),
284
+ paddingRight: theme.spacing()
267
285
  }
268
286
  })
269
287
  }
@@ -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': {