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