@selfcommunity/react-theme-default 0.5.0-alpha.4 → 0.5.0-alpha.6
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/SCCourse.d.ts +5 -1
- package/lib/cjs/components/SCCourse.js +5 -1
- package/lib/cjs/components/SCEvent.d.ts +3 -1
- package/lib/cjs/components/SCEvent.js +4 -2
- package/lib/cjs/components/SCPaywallsConfigurator.d.ts +3 -0
- package/lib/cjs/components/SCPaywallsConfigurator.js +6 -3
- package/lib/cjs/components/SCVoteAudienceButton.js +2 -2
- package/lib/cjs/components/SCVoteButton.d.ts +1 -1
- package/lib/cjs/components/SCVoteButton.js +2 -2
- package/lib/cjs/index.d.ts +12 -3
- package/lib/esm/components/SCCourse.d.ts +5 -1
- package/lib/esm/components/SCCourse.js +5 -1
- package/lib/esm/components/SCEvent.d.ts +3 -1
- package/lib/esm/components/SCEvent.js +4 -2
- package/lib/esm/components/SCPaywallsConfigurator.d.ts +3 -0
- package/lib/esm/components/SCPaywallsConfigurator.js +6 -3
- package/lib/esm/components/SCVoteAudienceButton.js +2 -2
- package/lib/esm/components/SCVoteButton.d.ts +1 -1
- package/lib/esm/components/SCVoteButton.js +2 -2
- package/lib/esm/index.d.ts +12 -3
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {
|
|
4
4
|
width: string;
|
|
5
5
|
};
|
|
6
6
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -84,6 +84,10 @@ declare const Component: {
|
|
|
84
84
|
'& .SCBaseItemButton-actions': {
|
|
85
85
|
marginRight: any;
|
|
86
86
|
};
|
|
87
|
+
'& .SCCourse-snippet-privacy': {
|
|
88
|
+
flexDirection: string;
|
|
89
|
+
alignItems: string;
|
|
90
|
+
};
|
|
87
91
|
};
|
|
88
92
|
previewRoot: ({ theme }: any) => {
|
|
89
93
|
[x: number]: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: (
|
|
5
|
+
root: () => ({
|
|
6
6
|
width: '100%'
|
|
7
7
|
}),
|
|
8
8
|
snippetRoot: ({ theme }) => ({
|
|
@@ -85,6 +85,10 @@ const Component = {
|
|
|
85
85
|
},
|
|
86
86
|
'& .SCBaseItemButton-actions': {
|
|
87
87
|
marginRight: theme.spacing()
|
|
88
|
+
},
|
|
89
|
+
'& .SCCourse-snippet-privacy': {
|
|
90
|
+
flexDirection: 'row',
|
|
91
|
+
alignItems: 'center'
|
|
88
92
|
}
|
|
89
93
|
}),
|
|
90
94
|
previewRoot: ({ theme }) => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {};
|
|
4
4
|
detailRoot: ({ theme }: any) => {
|
|
5
5
|
'& .SCEvent-detail-image-wrapper': {
|
|
6
6
|
position: string;
|
|
@@ -154,6 +154,8 @@ declare const Component: {
|
|
|
154
154
|
};
|
|
155
155
|
'& .SCEvent-snippet-secondary': {
|
|
156
156
|
color: any;
|
|
157
|
+
display: string;
|
|
158
|
+
alignItems: string;
|
|
157
159
|
};
|
|
158
160
|
};
|
|
159
161
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: (
|
|
5
|
+
root: () => ({}),
|
|
6
6
|
detailRoot: ({ theme }) => ({
|
|
7
7
|
'& .SCEvent-detail-image-wrapper': {
|
|
8
8
|
position: 'relative',
|
|
@@ -155,7 +155,9 @@ const Component = {
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
'& .SCEvent-snippet-secondary': {
|
|
158
|
-
color: theme.palette.text.secondary
|
|
158
|
+
color: theme.palette.text.secondary,
|
|
159
|
+
display: 'flex',
|
|
160
|
+
alignItems: 'center'
|
|
159
161
|
}
|
|
160
162
|
}
|
|
161
163
|
}),
|
|
@@ -75,15 +75,18 @@ const Component = {
|
|
|
75
75
|
margin: '3px 5px 0px -1px'
|
|
76
76
|
},
|
|
77
77
|
[`& .SCPaywallsConfigurator-product-card-icon`]: {
|
|
78
|
-
width:
|
|
79
|
-
height:
|
|
78
|
+
width: 20,
|
|
79
|
+
height: 20,
|
|
80
80
|
flexShrink: 0,
|
|
81
81
|
borderRadius: '3px',
|
|
82
82
|
marginRight: theme.spacing(),
|
|
83
83
|
marginTop: '2px',
|
|
84
84
|
padding: '3px',
|
|
85
85
|
backgroundColor: 'red',
|
|
86
|
-
color: 'white'
|
|
86
|
+
color: 'white',
|
|
87
|
+
[`& > .community-icons`]: {
|
|
88
|
+
fontSize: '20px'
|
|
89
|
+
}
|
|
87
90
|
},
|
|
88
91
|
[`& .SCPaywallsConfigurator-product-content`]: {
|
|
89
92
|
flexGrow: 1,
|
|
@@ -28,8 +28,8 @@ const Component = {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
'& .SCVoteAudienceButton-dialog-vote-badge': {
|
|
31
|
-
width: theme.
|
|
32
|
-
height: theme.
|
|
31
|
+
width: theme.spacing(2),
|
|
32
|
+
height: theme.spacing(2),
|
|
33
33
|
backgroundColor: theme.palette.background.paper,
|
|
34
34
|
border: `1px solid ${theme.palette.background.paper}`
|
|
35
35
|
}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1799,7 +1799,7 @@ declare const theme: {
|
|
|
1799
1799
|
};
|
|
1800
1800
|
SCCourse: {
|
|
1801
1801
|
styleOverrides: {
|
|
1802
|
-
root: (
|
|
1802
|
+
root: () => {
|
|
1803
1803
|
width: string;
|
|
1804
1804
|
};
|
|
1805
1805
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -1883,6 +1883,10 @@ declare const theme: {
|
|
|
1883
1883
|
'& .SCBaseItemButton-actions': {
|
|
1884
1884
|
marginRight: any;
|
|
1885
1885
|
};
|
|
1886
|
+
'& .SCCourse-snippet-privacy': {
|
|
1887
|
+
flexDirection: string;
|
|
1888
|
+
alignItems: string;
|
|
1889
|
+
};
|
|
1886
1890
|
};
|
|
1887
1891
|
previewRoot: ({ theme }: any) => {
|
|
1888
1892
|
[x: number]: {
|
|
@@ -9598,7 +9602,7 @@ declare const theme: {
|
|
|
9598
9602
|
};
|
|
9599
9603
|
SCEvent: {
|
|
9600
9604
|
styleOverrides: {
|
|
9601
|
-
root: (
|
|
9605
|
+
root: () => {};
|
|
9602
9606
|
detailRoot: ({ theme }: any) => {
|
|
9603
9607
|
'& .SCEvent-detail-image-wrapper': {
|
|
9604
9608
|
position: string;
|
|
@@ -9752,6 +9756,8 @@ declare const theme: {
|
|
|
9752
9756
|
};
|
|
9753
9757
|
'& .SCEvent-snippet-secondary': {
|
|
9754
9758
|
color: any;
|
|
9759
|
+
display: string;
|
|
9760
|
+
alignItems: string;
|
|
9755
9761
|
};
|
|
9756
9762
|
};
|
|
9757
9763
|
};
|
|
@@ -10841,7 +10847,7 @@ declare const theme: {
|
|
|
10841
10847
|
};
|
|
10842
10848
|
};
|
|
10843
10849
|
};
|
|
10844
|
-
popperRoot: (
|
|
10850
|
+
popperRoot: () => {
|
|
10845
10851
|
zIndex: number;
|
|
10846
10852
|
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
10847
10853
|
fontSize: string;
|
|
@@ -12150,6 +12156,9 @@ declare const theme: {
|
|
|
12150
12156
|
padding: string;
|
|
12151
12157
|
backgroundColor: string;
|
|
12152
12158
|
color: string;
|
|
12159
|
+
"& > .community-icons": {
|
|
12160
|
+
fontSize: string;
|
|
12161
|
+
};
|
|
12153
12162
|
};
|
|
12154
12163
|
"& .SCPaywallsConfigurator-product-content": {
|
|
12155
12164
|
flexGrow: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {
|
|
4
4
|
width: string;
|
|
5
5
|
};
|
|
6
6
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -84,6 +84,10 @@ declare const Component: {
|
|
|
84
84
|
'& .SCBaseItemButton-actions': {
|
|
85
85
|
marginRight: any;
|
|
86
86
|
};
|
|
87
|
+
'& .SCCourse-snippet-privacy': {
|
|
88
|
+
flexDirection: string;
|
|
89
|
+
alignItems: string;
|
|
90
|
+
};
|
|
87
91
|
};
|
|
88
92
|
previewRoot: ({ theme }: any) => {
|
|
89
93
|
[x: number]: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => ({
|
|
4
4
|
width: '100%'
|
|
5
5
|
}),
|
|
6
6
|
snippetRoot: ({ theme }) => ({
|
|
@@ -83,6 +83,10 @@ const Component = {
|
|
|
83
83
|
},
|
|
84
84
|
'& .SCBaseItemButton-actions': {
|
|
85
85
|
marginRight: theme.spacing()
|
|
86
|
+
},
|
|
87
|
+
'& .SCCourse-snippet-privacy': {
|
|
88
|
+
flexDirection: 'row',
|
|
89
|
+
alignItems: 'center'
|
|
86
90
|
}
|
|
87
91
|
}),
|
|
88
92
|
previewRoot: ({ theme }) => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {};
|
|
4
4
|
detailRoot: ({ theme }: any) => {
|
|
5
5
|
'& .SCEvent-detail-image-wrapper': {
|
|
6
6
|
position: string;
|
|
@@ -154,6 +154,8 @@ declare const Component: {
|
|
|
154
154
|
};
|
|
155
155
|
'& .SCEvent-snippet-secondary': {
|
|
156
156
|
color: any;
|
|
157
|
+
display: string;
|
|
158
|
+
alignItems: string;
|
|
157
159
|
};
|
|
158
160
|
};
|
|
159
161
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => ({}),
|
|
4
4
|
detailRoot: ({ theme }) => ({
|
|
5
5
|
'& .SCEvent-detail-image-wrapper': {
|
|
6
6
|
position: 'relative',
|
|
@@ -153,7 +153,9 @@ const Component = {
|
|
|
153
153
|
}
|
|
154
154
|
},
|
|
155
155
|
'& .SCEvent-snippet-secondary': {
|
|
156
|
-
color: theme.palette.text.secondary
|
|
156
|
+
color: theme.palette.text.secondary,
|
|
157
|
+
display: 'flex',
|
|
158
|
+
alignItems: 'center'
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
161
|
}),
|
|
@@ -73,15 +73,18 @@ const Component = {
|
|
|
73
73
|
margin: '3px 5px 0px -1px'
|
|
74
74
|
},
|
|
75
75
|
[`& .SCPaywallsConfigurator-product-card-icon`]: {
|
|
76
|
-
width:
|
|
77
|
-
height:
|
|
76
|
+
width: 20,
|
|
77
|
+
height: 20,
|
|
78
78
|
flexShrink: 0,
|
|
79
79
|
borderRadius: '3px',
|
|
80
80
|
marginRight: theme.spacing(),
|
|
81
81
|
marginTop: '2px',
|
|
82
82
|
padding: '3px',
|
|
83
83
|
backgroundColor: 'red',
|
|
84
|
-
color: 'white'
|
|
84
|
+
color: 'white',
|
|
85
|
+
[`& > .community-icons`]: {
|
|
86
|
+
fontSize: '20px'
|
|
87
|
+
}
|
|
85
88
|
},
|
|
86
89
|
[`& .SCPaywallsConfigurator-product-content`]: {
|
|
87
90
|
flexGrow: 1,
|
|
@@ -26,8 +26,8 @@ const Component = {
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
'& .SCVoteAudienceButton-dialog-vote-badge': {
|
|
29
|
-
width: theme.
|
|
30
|
-
height: theme.
|
|
29
|
+
width: theme.spacing(2),
|
|
30
|
+
height: theme.spacing(2),
|
|
31
31
|
backgroundColor: theme.palette.background.paper,
|
|
32
32
|
border: `1px solid ${theme.palette.background.paper}`
|
|
33
33
|
}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1799,7 +1799,7 @@ declare const theme: {
|
|
|
1799
1799
|
};
|
|
1800
1800
|
SCCourse: {
|
|
1801
1801
|
styleOverrides: {
|
|
1802
|
-
root: (
|
|
1802
|
+
root: () => {
|
|
1803
1803
|
width: string;
|
|
1804
1804
|
};
|
|
1805
1805
|
snippetRoot: ({ theme }: any) => {
|
|
@@ -1883,6 +1883,10 @@ declare const theme: {
|
|
|
1883
1883
|
'& .SCBaseItemButton-actions': {
|
|
1884
1884
|
marginRight: any;
|
|
1885
1885
|
};
|
|
1886
|
+
'& .SCCourse-snippet-privacy': {
|
|
1887
|
+
flexDirection: string;
|
|
1888
|
+
alignItems: string;
|
|
1889
|
+
};
|
|
1886
1890
|
};
|
|
1887
1891
|
previewRoot: ({ theme }: any) => {
|
|
1888
1892
|
[x: number]: {
|
|
@@ -9598,7 +9602,7 @@ declare const theme: {
|
|
|
9598
9602
|
};
|
|
9599
9603
|
SCEvent: {
|
|
9600
9604
|
styleOverrides: {
|
|
9601
|
-
root: (
|
|
9605
|
+
root: () => {};
|
|
9602
9606
|
detailRoot: ({ theme }: any) => {
|
|
9603
9607
|
'& .SCEvent-detail-image-wrapper': {
|
|
9604
9608
|
position: string;
|
|
@@ -9752,6 +9756,8 @@ declare const theme: {
|
|
|
9752
9756
|
};
|
|
9753
9757
|
'& .SCEvent-snippet-secondary': {
|
|
9754
9758
|
color: any;
|
|
9759
|
+
display: string;
|
|
9760
|
+
alignItems: string;
|
|
9755
9761
|
};
|
|
9756
9762
|
};
|
|
9757
9763
|
};
|
|
@@ -10841,7 +10847,7 @@ declare const theme: {
|
|
|
10841
10847
|
};
|
|
10842
10848
|
};
|
|
10843
10849
|
};
|
|
10844
|
-
popperRoot: (
|
|
10850
|
+
popperRoot: () => {
|
|
10845
10851
|
zIndex: number;
|
|
10846
10852
|
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
10847
10853
|
fontSize: string;
|
|
@@ -12150,6 +12156,9 @@ declare const theme: {
|
|
|
12150
12156
|
padding: string;
|
|
12151
12157
|
backgroundColor: string;
|
|
12152
12158
|
color: string;
|
|
12159
|
+
"& > .community-icons": {
|
|
12160
|
+
fontSize: string;
|
|
12161
|
+
};
|
|
12153
12162
|
};
|
|
12154
12163
|
"& .SCPaywallsConfigurator-product-content": {
|
|
12155
12164
|
flexGrow: number;
|