@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,157 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ "& .SCPaywallsConfigurator-new-product": {
5
+ background: string;
6
+ padding: any;
7
+ marginTop: any;
8
+ borderRadius: any;
9
+ };
10
+ "& .SCPaywallsConfigurator-no-product": {
11
+ textDecoration: string;
12
+ paddingLeft: number;
13
+ color: "#bdbdbd";
14
+ };
15
+ "& .SCPaywallsConfigurator-content-access-type": {
16
+ '& > p': {
17
+ marginBottom: any;
18
+ };
19
+ '& .MuiPaper-root': {
20
+ borderColor: string;
21
+ };
22
+ '& .MuiAccordion-root:first-of-type': {
23
+ borderTopLeftRadius: number;
24
+ borderTopRightRadius: number;
25
+ };
26
+ '& .MuiAccordion-root:last-of-type': {
27
+ borderBottomLeftRadius: number;
28
+ borderBottomRightRadius: number;
29
+ };
30
+ "& .SCPaywallsConfigurator-selected-payment-products-list": {
31
+ borderTop: string;
32
+ marginTop: number;
33
+ };
34
+ "& .SCPaywallsConfigurator-add-payment-product": {
35
+ position: string;
36
+ left: number;
37
+ '& .MuiButton-startIcon': {
38
+ fontSize: string;
39
+ };
40
+ };
41
+ };
42
+ };
43
+ paymentProductsAutocompletePopperRoot: ({ theme }: any) => {
44
+ "& .MuiAutocomplete-paper": {
45
+ boxShadow: string;
46
+ margin: number;
47
+ color: string;
48
+ fontSize: number;
49
+ };
50
+ "& .MuiAutocomplete-listbox": {
51
+ backgroundColor: string;
52
+ padding: number;
53
+ "& .MuiAutocomplete-option": {
54
+ minHeight: string;
55
+ alignItems: string;
56
+ padding: number;
57
+ borderBottom: string;
58
+ '&[aria-selected="true"]': {
59
+ backgroundColor: string;
60
+ };
61
+ "&.MuiAutocomplete-focused, &.MuiAutocomplete-focused[aria-selected=\"true\"]": {
62
+ backgroundColor: any;
63
+ };
64
+ };
65
+ };
66
+ "&.MuiAutocomplete-popperDisablePortal": {
67
+ position: string;
68
+ };
69
+ "& .SCPaywallsConfigurator-product-check-icon": {
70
+ width: number;
71
+ height: number;
72
+ margin: string;
73
+ };
74
+ "& .SCPaywallsConfigurator-product-card-icon": {
75
+ width: number;
76
+ height: number;
77
+ flexShrink: number;
78
+ borderRadius: string;
79
+ marginRight: any;
80
+ marginTop: string;
81
+ padding: string;
82
+ backgroundColor: string;
83
+ color: string;
84
+ };
85
+ "& .SCPaywallsConfigurator-product-content": {
86
+ flexGrow: number;
87
+ '& span': {
88
+ color: string;
89
+ };
90
+ };
91
+ "& .SCPaywallsConfigurator-product-remove-icon": {
92
+ opacity: number;
93
+ width: number;
94
+ height: number;
95
+ };
96
+ "& .SCPaywallsConfigurator-autocomplete-footer": {
97
+ backgroundColor: "#bdbdbd";
98
+ };
99
+ "& .SCPaywallsConfigurator-autocomplete-products-loading": {
100
+ width: string;
101
+ minHeight: number;
102
+ display: string;
103
+ alignItems: string;
104
+ justifyContent: string;
105
+ };
106
+ };
107
+ paymentProductsPopperRoot: ({ theme }: any) => {
108
+ border: string;
109
+ boxShadow: string;
110
+ borderRadius: number;
111
+ width: number;
112
+ zIndex: any;
113
+ fontSize: number;
114
+ color: string;
115
+ backgroundColor: string;
116
+ '& .MuiPaper-root': {
117
+ borderRadius: number;
118
+ };
119
+ "& .SCPaywallsConfigurator-payment-products-popper-title": {
120
+ borderBottom: string;
121
+ padding: string;
122
+ fontWeight: number;
123
+ };
124
+ "& .SCPaywallsConfigurator-payment-products-popper-footer": {
125
+ borderTop: string;
126
+ padding: string;
127
+ display: string;
128
+ alignItems: string;
129
+ justifyContent: string;
130
+ '& button': {
131
+ padding: string;
132
+ '& .MuiIcon-root': {
133
+ fontSize: number;
134
+ };
135
+ };
136
+ };
137
+ };
138
+ filterInputRoot: ({ theme }: any) => {
139
+ padding: number;
140
+ width: string;
141
+ borderBottom: string;
142
+ '& input': {
143
+ borderRadius: number;
144
+ backgroundColor: string;
145
+ padding: number;
146
+ transition: any;
147
+ border: string;
148
+ fontSize: number;
149
+ '&:focus': {
150
+ boxShadow: string;
151
+ borderColor: string;
152
+ };
153
+ };
154
+ };
155
+ };
156
+ };
157
+ export default Component;
@@ -0,0 +1,158 @@
1
+ import { grey } from '@mui/material/colors';
2
+ const Component = {
3
+ styleOverrides: {
4
+ root: ({ theme }) => ({
5
+ [`& .SCPaywallsConfigurator-new-product`]: {
6
+ background: '#eeeeee',
7
+ padding: theme.spacing(2),
8
+ marginTop: theme.spacing(),
9
+ borderRadius: theme.spacing(1)
10
+ },
11
+ [`& .SCPaywallsConfigurator-no-product`]: {
12
+ textDecoration: 'italic',
13
+ paddingLeft: 0,
14
+ color: grey[400]
15
+ },
16
+ [`& .SCPaywallsConfigurator-content-access-type`]: {
17
+ '& > p': {
18
+ marginBottom: theme.spacing(2)
19
+ },
20
+ '& .MuiPaper-root': {
21
+ borderColor: '#c6c6c6'
22
+ },
23
+ '& .MuiAccordion-root:first-of-type': {
24
+ borderTopLeftRadius: 5,
25
+ borderTopRightRadius: 5
26
+ },
27
+ '& .MuiAccordion-root:last-of-type': {
28
+ borderBottomLeftRadius: 5,
29
+ borderBottomRightRadius: 5
30
+ },
31
+ [`& .SCPaywallsConfigurator-selected-payment-products-list`]: {
32
+ borderTop: '1px solid',
33
+ marginTop: 10
34
+ },
35
+ [`& .SCPaywallsConfigurator-add-payment-product`]: {
36
+ position: 'relative',
37
+ left: -23,
38
+ '& .MuiButton-startIcon': {
39
+ fontSize: '15px'
40
+ }
41
+ }
42
+ }
43
+ }),
44
+ paymentProductsAutocompletePopperRoot: ({ theme }) => ({
45
+ [`& .MuiAutocomplete-paper`]: {
46
+ boxShadow: 'none',
47
+ margin: 0,
48
+ color: 'inherit',
49
+ fontSize: 13
50
+ },
51
+ [`& .MuiAutocomplete-listbox`]: {
52
+ backgroundColor: theme.palette.mode === 'light' ? '#fff' : '#1c2128',
53
+ padding: 0,
54
+ [`& .MuiAutocomplete-option`]: {
55
+ minHeight: 'auto',
56
+ alignItems: 'flex-start',
57
+ padding: 8,
58
+ borderBottom: `1px solid ${theme.palette.mode === 'light' ? ' #eaecef' : '#30363d'}`,
59
+ '&[aria-selected="true"]': {
60
+ backgroundColor: 'transparent'
61
+ },
62
+ [`&.MuiAutocomplete-focused, &.MuiAutocomplete-focused[aria-selected="true"]`]: {
63
+ backgroundColor: theme.palette.action.hover
64
+ }
65
+ }
66
+ },
67
+ [`&.MuiAutocomplete-popperDisablePortal`]: {
68
+ position: 'relative'
69
+ },
70
+ [`& .SCPaywallsConfigurator-product-check-icon`]: {
71
+ width: 17,
72
+ height: 17,
73
+ margin: '3px 5px 0px -1px'
74
+ },
75
+ [`& .SCPaywallsConfigurator-product-card-icon`]: {
76
+ width: 14,
77
+ height: 14,
78
+ flexShrink: 0,
79
+ borderRadius: '3px',
80
+ marginRight: theme.spacing(),
81
+ marginTop: '2px',
82
+ padding: '3px',
83
+ backgroundColor: 'red',
84
+ color: 'white'
85
+ },
86
+ [`& .SCPaywallsConfigurator-product-content`]: {
87
+ flexGrow: 1,
88
+ '& span': {
89
+ color: '#8b949e'
90
+ }
91
+ },
92
+ [`& .SCPaywallsConfigurator-product-remove-icon`]: {
93
+ opacity: 0.6,
94
+ width: 18,
95
+ height: 18
96
+ },
97
+ [`& .SCPaywallsConfigurator-autocomplete-footer`]: {
98
+ backgroundColor: grey[400]
99
+ },
100
+ [`& .SCPaywallsConfigurator-autocomplete-products-loading`]: {
101
+ width: '100%',
102
+ minHeight: 300,
103
+ display: 'flex',
104
+ alignItems: 'center',
105
+ justifyContent: 'center'
106
+ }
107
+ }),
108
+ paymentProductsPopperRoot: ({ theme }) => ({
109
+ border: `1px solid ${theme.palette.mode === 'light' ? '#e1e4e8' : '#30363d'}`,
110
+ boxShadow: `0 8px 24px ${theme.palette.mode === 'light' ? 'rgba(149, 157, 165, 0.2)' : 'rgb(1, 4, 9)'}`,
111
+ borderRadius: 6,
112
+ width: 300,
113
+ zIndex: theme.zIndex.modal,
114
+ fontSize: 13,
115
+ color: theme.palette.mode === 'light' ? '#24292e' : '#c9d1d9',
116
+ backgroundColor: theme.palette.mode === 'light' ? '#fff' : '#1c2128',
117
+ '& .MuiPaper-root': {
118
+ borderRadius: 0
119
+ },
120
+ [`& .SCPaywallsConfigurator-payment-products-popper-title`]: {
121
+ borderBottom: `1px solid ${theme.palette.mode === 'light' ? '#eaecef' : '#30363d'}`,
122
+ padding: '8px 10px',
123
+ fontWeight: 600
124
+ },
125
+ [`& .SCPaywallsConfigurator-payment-products-popper-footer`]: {
126
+ borderTop: '1px solid #eaecef',
127
+ padding: '8px',
128
+ display: 'flex',
129
+ alignItems: 'flex-end',
130
+ justifyContent: 'center',
131
+ '& button': {
132
+ padding: '2px 8px',
133
+ '& .MuiIcon-root': {
134
+ fontSize: 12
135
+ }
136
+ }
137
+ }
138
+ }),
139
+ filterInputRoot: ({ theme }) => ({
140
+ padding: 10,
141
+ width: '100%',
142
+ borderBottom: `1px solid ${theme.palette.mode === 'light' ? '#eaecef' : '#30363d'}`,
143
+ '& input': {
144
+ borderRadius: 4,
145
+ backgroundColor: theme.palette.mode === 'light' ? '#fff' : '#0d1117',
146
+ padding: 8,
147
+ transition: theme.transitions.create(['border-color', 'box-shadow']),
148
+ border: `1px solid ${theme.palette.mode === 'light' ? '#eaecef' : '#30363d'}`,
149
+ fontSize: 14,
150
+ '&:focus': {
151
+ boxShadow: `0px 0px 0px 3px ${theme.palette.mode === 'light' ? 'rgba(3, 102, 214, 0.3)' : 'rgb(12, 45, 107)'}`,
152
+ borderColor: theme.palette.mode === 'light' ? '#0366d6' : '#388bfd'
153
+ }
154
+ }
155
+ })
156
+ }
157
+ };
158
+ export default Component;
@@ -0,0 +1,33 @@
1
+ declare const Component: {
2
+ styleOverrides: {
3
+ root: ({ theme }: any) => {
4
+ display: string;
5
+ flexDirection: string;
6
+ marginTop: string;
7
+ "& .SCPdfPreview-document-pdf-wrapper": {
8
+ filter: string;
9
+ };
10
+ "& .SCPdfPreview-document-pdf-link": {
11
+ padding: number;
12
+ '&:hover': {
13
+ opacity: number;
14
+ };
15
+ };
16
+ "& .SCPdfPreview-document-pdf-page": {
17
+ display: string;
18
+ flexDirection: string;
19
+ justifyContent: string;
20
+ marginBottom: any;
21
+ pageBreakAfter: string;
22
+ '& .react-pdf__Page__textContent': {
23
+ mixBlendMode: string;
24
+ opacity: number;
25
+ };
26
+ '& .react-pdf__Page__canvas': {
27
+ margin: string;
28
+ };
29
+ };
30
+ };
31
+ };
32
+ };
33
+ export default Component;
@@ -0,0 +1,33 @@
1
+ const Component = {
2
+ styleOverrides: {
3
+ root: ({ theme }) => ({
4
+ display: 'flex',
5
+ flexDirection: 'column',
6
+ marginTop: '12px',
7
+ [`& .SCPdfPreview-document-pdf-wrapper`]: {
8
+ filter: 'drop-shadow(0 0 5px #00000040)'
9
+ },
10
+ [`& .SCPdfPreview-document-pdf-link`]: {
11
+ padding: 10,
12
+ '&:hover': {
13
+ opacity: 0.5
14
+ }
15
+ },
16
+ [`& .SCPdfPreview-document-pdf-page`]: {
17
+ display: 'flex',
18
+ flexDirection: 'column',
19
+ justifyContent: 'center',
20
+ marginBottom: theme.spacing(3),
21
+ pageBreakAfter: 'always',
22
+ '& .react-pdf__Page__textContent': {
23
+ mixBlendMode: 'multiply',
24
+ opacity: 0.6
25
+ },
26
+ '& .react-pdf__Page__canvas': {
27
+ margin: 'auto'
28
+ }
29
+ }
30
+ })
31
+ }
32
+ };
33
+ export default Component;
Binary file