@selfcommunity/react-theme-default 0.5.0-alpha.2 → 0.5.0-alpha.4
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.
- package/lib/cjs/components/SCComposer.d.ts +8 -0
- package/lib/cjs/components/SCComposer.js +9 -1
- package/lib/cjs/components/SCPdfPreview.d.ts +4 -0
- package/lib/cjs/components/SCPdfPreview.js +4 -0
- package/lib/cjs/index.d.ts +12 -0
- package/lib/esm/components/SCComposer.d.ts +8 -0
- package/lib/esm/components/SCComposer.js +9 -1
- package/lib/esm/components/SCPdfPreview.d.ts +4 -0
- package/lib/esm/components/SCPdfPreview.js +4 -0
- package/lib/esm/index.d.ts +12 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -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;
|
|
@@ -81,7 +81,15 @@ const Component = {
|
|
|
81
81
|
justifyContent: 'space-between',
|
|
82
82
|
zIndex: 1,
|
|
83
83
|
backgroundColor: theme.palette.background.paper,
|
|
84
|
-
borderTop: `1px solid ${theme.palette.grey[400]}
|
|
84
|
+
borderTop: `1px solid ${theme.palette.grey[400]}`,
|
|
85
|
+
'& .SCComposer-selected-action': {
|
|
86
|
+
display: 'flex',
|
|
87
|
+
alignItems: 'center',
|
|
88
|
+
'& .SCComposer-action-selected-icon': {
|
|
89
|
+
marginLeft: theme.spacing(0.5),
|
|
90
|
+
fontSize: theme.spacing(1)
|
|
91
|
+
}
|
|
92
|
+
}
|
|
85
93
|
},
|
|
86
94
|
'& .SCComposer-general-error': {
|
|
87
95
|
marginBottom: theme.spacing(2),
|
|
@@ -3,6 +3,7 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
display: string;
|
|
5
5
|
flexDirection: string;
|
|
6
|
+
marginTop: string;
|
|
6
7
|
"& .SCPdfPreview-document-pdf-wrapper": {
|
|
7
8
|
filter: string;
|
|
8
9
|
};
|
|
@@ -22,6 +23,9 @@ declare const Component: {
|
|
|
22
23
|
mixBlendMode: string;
|
|
23
24
|
opacity: number;
|
|
24
25
|
};
|
|
26
|
+
'& .react-pdf__Page__canvas': {
|
|
27
|
+
margin: string;
|
|
28
|
+
};
|
|
25
29
|
};
|
|
26
30
|
};
|
|
27
31
|
};
|
|
@@ -5,6 +5,7 @@ const Component = {
|
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
6
|
display: 'flex',
|
|
7
7
|
flexDirection: 'column',
|
|
8
|
+
marginTop: '12px',
|
|
8
9
|
[`& .SCPdfPreview-document-pdf-wrapper`]: {
|
|
9
10
|
filter: 'drop-shadow(0 0 5px #00000040)'
|
|
10
11
|
},
|
|
@@ -23,6 +24,9 @@ const Component = {
|
|
|
23
24
|
'& .react-pdf__Page__textContent': {
|
|
24
25
|
mixBlendMode: 'multiply',
|
|
25
26
|
opacity: 0.6
|
|
27
|
+
},
|
|
28
|
+
'& .react-pdf__Page__canvas': {
|
|
29
|
+
margin: 'auto'
|
|
26
30
|
}
|
|
27
31
|
}
|
|
28
32
|
})
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1418,6 +1418,14 @@ declare const theme: {
|
|
|
1418
1418
|
zIndex: number;
|
|
1419
1419
|
backgroundColor: any;
|
|
1420
1420
|
borderTop: string;
|
|
1421
|
+
'& .SCComposer-selected-action': {
|
|
1422
|
+
display: string;
|
|
1423
|
+
alignItems: string;
|
|
1424
|
+
'& .SCComposer-action-selected-icon': {
|
|
1425
|
+
marginLeft: any;
|
|
1426
|
+
fontSize: any;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1421
1429
|
};
|
|
1422
1430
|
'& .SCComposer-general-error': {
|
|
1423
1431
|
marginBottom: any;
|
|
@@ -12220,6 +12228,7 @@ declare const theme: {
|
|
|
12220
12228
|
root: ({ theme }: any) => {
|
|
12221
12229
|
display: string;
|
|
12222
12230
|
flexDirection: string;
|
|
12231
|
+
marginTop: string;
|
|
12223
12232
|
"& .SCPdfPreview-document-pdf-wrapper": {
|
|
12224
12233
|
filter: string;
|
|
12225
12234
|
};
|
|
@@ -12239,6 +12248,9 @@ declare const theme: {
|
|
|
12239
12248
|
mixBlendMode: string;
|
|
12240
12249
|
opacity: number;
|
|
12241
12250
|
};
|
|
12251
|
+
'& .react-pdf__Page__canvas': {
|
|
12252
|
+
margin: string;
|
|
12253
|
+
};
|
|
12242
12254
|
};
|
|
12243
12255
|
};
|
|
12244
12256
|
};
|
|
@@ -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;
|
|
@@ -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),
|
|
@@ -3,6 +3,7 @@ declare const Component: {
|
|
|
3
3
|
root: ({ theme }: any) => {
|
|
4
4
|
display: string;
|
|
5
5
|
flexDirection: string;
|
|
6
|
+
marginTop: string;
|
|
6
7
|
"& .SCPdfPreview-document-pdf-wrapper": {
|
|
7
8
|
filter: string;
|
|
8
9
|
};
|
|
@@ -22,6 +23,9 @@ declare const Component: {
|
|
|
22
23
|
mixBlendMode: string;
|
|
23
24
|
opacity: number;
|
|
24
25
|
};
|
|
26
|
+
'& .react-pdf__Page__canvas': {
|
|
27
|
+
margin: string;
|
|
28
|
+
};
|
|
25
29
|
};
|
|
26
30
|
};
|
|
27
31
|
};
|
|
@@ -3,6 +3,7 @@ const Component = {
|
|
|
3
3
|
root: ({ theme }) => ({
|
|
4
4
|
display: 'flex',
|
|
5
5
|
flexDirection: 'column',
|
|
6
|
+
marginTop: '12px',
|
|
6
7
|
[`& .SCPdfPreview-document-pdf-wrapper`]: {
|
|
7
8
|
filter: 'drop-shadow(0 0 5px #00000040)'
|
|
8
9
|
},
|
|
@@ -21,6 +22,9 @@ const Component = {
|
|
|
21
22
|
'& .react-pdf__Page__textContent': {
|
|
22
23
|
mixBlendMode: 'multiply',
|
|
23
24
|
opacity: 0.6
|
|
25
|
+
},
|
|
26
|
+
'& .react-pdf__Page__canvas': {
|
|
27
|
+
margin: 'auto'
|
|
24
28
|
}
|
|
25
29
|
}
|
|
26
30
|
})
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1418,6 +1418,14 @@ declare const theme: {
|
|
|
1418
1418
|
zIndex: number;
|
|
1419
1419
|
backgroundColor: any;
|
|
1420
1420
|
borderTop: string;
|
|
1421
|
+
'& .SCComposer-selected-action': {
|
|
1422
|
+
display: string;
|
|
1423
|
+
alignItems: string;
|
|
1424
|
+
'& .SCComposer-action-selected-icon': {
|
|
1425
|
+
marginLeft: any;
|
|
1426
|
+
fontSize: any;
|
|
1427
|
+
};
|
|
1428
|
+
};
|
|
1421
1429
|
};
|
|
1422
1430
|
'& .SCComposer-general-error': {
|
|
1423
1431
|
marginBottom: any;
|
|
@@ -12220,6 +12228,7 @@ declare const theme: {
|
|
|
12220
12228
|
root: ({ theme }: any) => {
|
|
12221
12229
|
display: string;
|
|
12222
12230
|
flexDirection: string;
|
|
12231
|
+
marginTop: string;
|
|
12223
12232
|
"& .SCPdfPreview-document-pdf-wrapper": {
|
|
12224
12233
|
filter: string;
|
|
12225
12234
|
};
|
|
@@ -12239,6 +12248,9 @@ declare const theme: {
|
|
|
12239
12248
|
mixBlendMode: string;
|
|
12240
12249
|
opacity: number;
|
|
12241
12250
|
};
|
|
12251
|
+
'& .react-pdf__Page__canvas': {
|
|
12252
|
+
margin: string;
|
|
12253
|
+
};
|
|
12242
12254
|
};
|
|
12243
12255
|
};
|
|
12244
12256
|
};
|