@selfcommunity/react-theme-default 0.2.0-alpha.34 → 0.2.0-alpha.35
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/SCVoteButton.d.ts +5 -3
- package/lib/cjs/components/SCVoteButton.js +6 -5
- package/lib/cjs/index.d.ts +5 -3
- package/lib/esm/components/SCVoteButton.d.ts +5 -3
- package/lib/esm/components/SCVoteButton.js +6 -5
- package/lib/esm/index.d.ts +5 -3
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +2 -3
- package/lib/umd/850.js +0 -2
- package/lib/umd/850.js.LICENSE.txt +0 -16
|
@@ -9,9 +9,6 @@ declare const Component: {
|
|
|
9
9
|
minWidth: number;
|
|
10
10
|
'& .MuiIcon-root': {
|
|
11
11
|
fontSize: string;
|
|
12
|
-
'& img': {
|
|
13
|
-
filter: string;
|
|
14
|
-
};
|
|
15
12
|
};
|
|
16
13
|
'&.MuiButton-sizeSmall': {
|
|
17
14
|
padding: any;
|
|
@@ -20,6 +17,11 @@ declare const Component: {
|
|
|
20
17
|
};
|
|
21
18
|
};
|
|
22
19
|
};
|
|
20
|
+
popperRoot: ({ theme }: any) => {
|
|
21
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
27
|
export default Component;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const hex_to_css_filter_1 = require("hex-to-css-filter");
|
|
4
3
|
const Component = {
|
|
5
4
|
styleOverrides: {
|
|
6
5
|
root: ({ theme }) => ({
|
|
@@ -11,10 +10,7 @@ const Component = {
|
|
|
11
10
|
padding: theme.spacing(1.5),
|
|
12
11
|
minWidth: 0,
|
|
13
12
|
'& .MuiIcon-root': {
|
|
14
|
-
fontSize: '1.57rem'
|
|
15
|
-
'& img': {
|
|
16
|
-
filter: (0, hex_to_css_filter_1.hexToCSSFilter)(theme.palette.primary.main).filter
|
|
17
|
-
}
|
|
13
|
+
fontSize: '1.57rem'
|
|
18
14
|
},
|
|
19
15
|
'&.MuiButton-sizeSmall': {
|
|
20
16
|
padding: theme.spacing(0.5),
|
|
@@ -22,6 +18,11 @@ const Component = {
|
|
|
22
18
|
fontSize: '1rem'
|
|
23
19
|
}
|
|
24
20
|
}
|
|
21
|
+
}),
|
|
22
|
+
popperRoot: ({ theme }) => ({
|
|
23
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
24
|
+
fontSize: '22px'
|
|
25
|
+
}
|
|
25
26
|
})
|
|
26
27
|
}
|
|
27
28
|
};
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -8108,9 +8108,6 @@ declare const theme: {
|
|
|
8108
8108
|
minWidth: number;
|
|
8109
8109
|
'& .MuiIcon-root': {
|
|
8110
8110
|
fontSize: string;
|
|
8111
|
-
'& img': {
|
|
8112
|
-
filter: string;
|
|
8113
|
-
};
|
|
8114
8111
|
};
|
|
8115
8112
|
'&.MuiButton-sizeSmall': {
|
|
8116
8113
|
padding: any;
|
|
@@ -8119,6 +8116,11 @@ declare const theme: {
|
|
|
8119
8116
|
};
|
|
8120
8117
|
};
|
|
8121
8118
|
};
|
|
8119
|
+
popperRoot: ({ theme }: any) => {
|
|
8120
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
8121
|
+
fontSize: string;
|
|
8122
|
+
};
|
|
8123
|
+
};
|
|
8122
8124
|
};
|
|
8123
8125
|
};
|
|
8124
8126
|
SCWidget: {
|
|
@@ -9,9 +9,6 @@ declare const Component: {
|
|
|
9
9
|
minWidth: number;
|
|
10
10
|
'& .MuiIcon-root': {
|
|
11
11
|
fontSize: string;
|
|
12
|
-
'& img': {
|
|
13
|
-
filter: string;
|
|
14
|
-
};
|
|
15
12
|
};
|
|
16
13
|
'&.MuiButton-sizeSmall': {
|
|
17
14
|
padding: any;
|
|
@@ -20,6 +17,11 @@ declare const Component: {
|
|
|
20
17
|
};
|
|
21
18
|
};
|
|
22
19
|
};
|
|
20
|
+
popperRoot: ({ theme }: any) => {
|
|
21
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
27
|
export default Component;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { hexToCSSFilter } from 'hex-to-css-filter';
|
|
2
1
|
const Component = {
|
|
3
2
|
styleOverrides: {
|
|
4
3
|
root: ({ theme }) => ({
|
|
@@ -9,10 +8,7 @@ const Component = {
|
|
|
9
8
|
padding: theme.spacing(1.5),
|
|
10
9
|
minWidth: 0,
|
|
11
10
|
'& .MuiIcon-root': {
|
|
12
|
-
fontSize: '1.57rem'
|
|
13
|
-
'& img': {
|
|
14
|
-
filter: hexToCSSFilter(theme.palette.primary.main).filter
|
|
15
|
-
}
|
|
11
|
+
fontSize: '1.57rem'
|
|
16
12
|
},
|
|
17
13
|
'&.MuiButton-sizeSmall': {
|
|
18
14
|
padding: theme.spacing(0.5),
|
|
@@ -20,6 +16,11 @@ const Component = {
|
|
|
20
16
|
fontSize: '1rem'
|
|
21
17
|
}
|
|
22
18
|
}
|
|
19
|
+
}),
|
|
20
|
+
popperRoot: ({ theme }) => ({
|
|
21
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
22
|
+
fontSize: '22px'
|
|
23
|
+
}
|
|
23
24
|
})
|
|
24
25
|
}
|
|
25
26
|
};
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -8108,9 +8108,6 @@ declare const theme: {
|
|
|
8108
8108
|
minWidth: number;
|
|
8109
8109
|
'& .MuiIcon-root': {
|
|
8110
8110
|
fontSize: string;
|
|
8111
|
-
'& img': {
|
|
8112
|
-
filter: string;
|
|
8113
|
-
};
|
|
8114
8111
|
};
|
|
8115
8112
|
'&.MuiButton-sizeSmall': {
|
|
8116
8113
|
padding: any;
|
|
@@ -8119,6 +8116,11 @@ declare const theme: {
|
|
|
8119
8116
|
};
|
|
8120
8117
|
};
|
|
8121
8118
|
};
|
|
8119
|
+
popperRoot: ({ theme }: any) => {
|
|
8120
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
8121
|
+
fontSize: string;
|
|
8122
|
+
};
|
|
8123
|
+
};
|
|
8122
8124
|
};
|
|
8123
8125
|
};
|
|
8124
8126
|
SCWidget: {
|