@selfcommunity/react-theme-default 0.4.2-courses.151 → 0.4.2-courses.153
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 +9 -2
- package/lib/cjs/components/SCCourse.js +10 -3
- package/lib/cjs/components/SCCourseDashboard.d.ts +7 -0
- package/lib/cjs/components/SCCourseDashboard.js +7 -0
- package/lib/cjs/components/SCLessonTemplate.d.ts +1 -1
- package/lib/cjs/components/SCLessonTemplate.js +3 -1
- package/lib/cjs/index.d.ts +17 -3
- package/lib/esm/components/SCCourse.d.ts +9 -2
- package/lib/esm/components/SCCourse.js +10 -3
- package/lib/esm/components/SCCourseDashboard.d.ts +7 -0
- package/lib/esm/components/SCCourseDashboard.js +7 -0
- package/lib/esm/components/SCLessonTemplate.d.ts +1 -1
- package/lib/esm/components/SCLessonTemplate.js +3 -1
- package/lib/esm/index.d.ts +17 -3
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -88,12 +88,19 @@ declare const Component: {
|
|
|
88
88
|
height: any;
|
|
89
89
|
border: string;
|
|
90
90
|
};
|
|
91
|
+
'.MuiBadge-badge': {
|
|
92
|
+
left: any;
|
|
93
|
+
top: any;
|
|
94
|
+
};
|
|
91
95
|
};
|
|
92
96
|
'& .SCCourse-preview-content': {
|
|
93
97
|
padding: any;
|
|
94
98
|
'& .SCCourse-preview-creator': {
|
|
95
|
-
|
|
96
|
-
|
|
99
|
+
textDecoration: string;
|
|
100
|
+
color: string;
|
|
101
|
+
'& .MuiTypography-root': {
|
|
102
|
+
marginBottom: any;
|
|
103
|
+
};
|
|
97
104
|
};
|
|
98
105
|
'& .SCCourse-preview-name-wrapper': {
|
|
99
106
|
textDecoration: string;
|
|
@@ -89,13 +89,20 @@ const Component = {
|
|
|
89
89
|
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
90
90
|
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
91
91
|
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
92
|
+
},
|
|
93
|
+
'.MuiBadge-badge': {
|
|
94
|
+
left: theme.spacing(3),
|
|
95
|
+
top: theme.spacing(-0.5)
|
|
92
96
|
}
|
|
93
97
|
},
|
|
94
98
|
'& .SCCourse-preview-content': {
|
|
95
|
-
padding: theme.spacing(2),
|
|
99
|
+
padding: theme.spacing(1, 2, 2, 2),
|
|
96
100
|
'& .SCCourse-preview-creator': {
|
|
97
|
-
|
|
98
|
-
|
|
101
|
+
textDecoration: 'none',
|
|
102
|
+
color: 'inherit',
|
|
103
|
+
'& .MuiTypography-root': {
|
|
104
|
+
marginBottom: theme.spacing(1)
|
|
105
|
+
}
|
|
99
106
|
},
|
|
100
107
|
'& .SCCourse-preview-name-wrapper': {
|
|
101
108
|
textDecoration: 'none',
|
|
@@ -148,6 +148,13 @@ declare const Component: {
|
|
|
148
148
|
width: string;
|
|
149
149
|
height: string;
|
|
150
150
|
};
|
|
151
|
+
'& a': {
|
|
152
|
+
textDecoration: string;
|
|
153
|
+
color: string;
|
|
154
|
+
};
|
|
155
|
+
'& .MuiBadge-root': {
|
|
156
|
+
marginRight: any;
|
|
157
|
+
};
|
|
151
158
|
};
|
|
152
159
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
153
160
|
flexDirection: string;
|
|
@@ -144,6 +144,13 @@ const Component = {
|
|
|
144
144
|
'& .SCCourseDashboard-avatar': {
|
|
145
145
|
width: '36px',
|
|
146
146
|
height: '36px'
|
|
147
|
+
},
|
|
148
|
+
'& a': {
|
|
149
|
+
textDecoration: 'none',
|
|
150
|
+
color: 'inherit'
|
|
151
|
+
},
|
|
152
|
+
'& .MuiBadge-root': {
|
|
153
|
+
marginRight: theme.spacing(0.5)
|
|
147
154
|
}
|
|
148
155
|
},
|
|
149
156
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: () => ({}),
|
|
6
|
-
containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column',
|
|
6
|
+
containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', paddingBottom: theme.mixins.toolbar.minHeight,
|
|
7
|
+
//overflow: 'hidden',
|
|
8
|
+
transition: theme.transitions.create('margin', {
|
|
7
9
|
easing: theme.transitions.easing.sharp,
|
|
8
10
|
duration: theme.transitions.duration.leavingScreen
|
|
9
11
|
}), marginRight: 0 }, (open && {
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1797,12 +1797,19 @@ declare const theme: {
|
|
|
1797
1797
|
height: any;
|
|
1798
1798
|
border: string;
|
|
1799
1799
|
};
|
|
1800
|
+
'.MuiBadge-badge': {
|
|
1801
|
+
left: any;
|
|
1802
|
+
top: any;
|
|
1803
|
+
};
|
|
1800
1804
|
};
|
|
1801
1805
|
'& .SCCourse-preview-content': {
|
|
1802
1806
|
padding: any;
|
|
1803
1807
|
'& .SCCourse-preview-creator': {
|
|
1804
|
-
|
|
1805
|
-
|
|
1808
|
+
textDecoration: string;
|
|
1809
|
+
color: string;
|
|
1810
|
+
'& .MuiTypography-root': {
|
|
1811
|
+
marginBottom: any;
|
|
1812
|
+
};
|
|
1806
1813
|
};
|
|
1807
1814
|
'& .SCCourse-preview-name-wrapper': {
|
|
1808
1815
|
textDecoration: string;
|
|
@@ -2140,6 +2147,13 @@ declare const theme: {
|
|
|
2140
2147
|
width: string;
|
|
2141
2148
|
height: string;
|
|
2142
2149
|
};
|
|
2150
|
+
'& a': {
|
|
2151
|
+
textDecoration: string;
|
|
2152
|
+
color: string;
|
|
2153
|
+
};
|
|
2154
|
+
'& .MuiBadge-root': {
|
|
2155
|
+
marginRight: any;
|
|
2156
|
+
};
|
|
2143
2157
|
};
|
|
2144
2158
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
2145
2159
|
flexDirection: string;
|
|
@@ -5536,7 +5550,7 @@ declare const theme: {
|
|
|
5536
5550
|
width: string;
|
|
5537
5551
|
display: string;
|
|
5538
5552
|
flexDirection: string;
|
|
5539
|
-
|
|
5553
|
+
paddingBottom: any;
|
|
5540
5554
|
transition: any;
|
|
5541
5555
|
marginRight: number;
|
|
5542
5556
|
};
|
|
@@ -88,12 +88,19 @@ declare const Component: {
|
|
|
88
88
|
height: any;
|
|
89
89
|
border: string;
|
|
90
90
|
};
|
|
91
|
+
'.MuiBadge-badge': {
|
|
92
|
+
left: any;
|
|
93
|
+
top: any;
|
|
94
|
+
};
|
|
91
95
|
};
|
|
92
96
|
'& .SCCourse-preview-content': {
|
|
93
97
|
padding: any;
|
|
94
98
|
'& .SCCourse-preview-creator': {
|
|
95
|
-
|
|
96
|
-
|
|
99
|
+
textDecoration: string;
|
|
100
|
+
color: string;
|
|
101
|
+
'& .MuiTypography-root': {
|
|
102
|
+
marginBottom: any;
|
|
103
|
+
};
|
|
97
104
|
};
|
|
98
105
|
'& .SCCourse-preview-name-wrapper': {
|
|
99
106
|
textDecoration: string;
|
|
@@ -87,13 +87,20 @@ const Component = {
|
|
|
87
87
|
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
88
88
|
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
89
89
|
border: `#FFF solid ${theme.spacing(0.2)}`
|
|
90
|
+
},
|
|
91
|
+
'.MuiBadge-badge': {
|
|
92
|
+
left: theme.spacing(3),
|
|
93
|
+
top: theme.spacing(-0.5)
|
|
90
94
|
}
|
|
91
95
|
},
|
|
92
96
|
'& .SCCourse-preview-content': {
|
|
93
|
-
padding: theme.spacing(2),
|
|
97
|
+
padding: theme.spacing(1, 2, 2, 2),
|
|
94
98
|
'& .SCCourse-preview-creator': {
|
|
95
|
-
|
|
96
|
-
|
|
99
|
+
textDecoration: 'none',
|
|
100
|
+
color: 'inherit',
|
|
101
|
+
'& .MuiTypography-root': {
|
|
102
|
+
marginBottom: theme.spacing(1)
|
|
103
|
+
}
|
|
97
104
|
},
|
|
98
105
|
'& .SCCourse-preview-name-wrapper': {
|
|
99
106
|
textDecoration: 'none',
|
|
@@ -148,6 +148,13 @@ declare const Component: {
|
|
|
148
148
|
width: string;
|
|
149
149
|
height: string;
|
|
150
150
|
};
|
|
151
|
+
'& a': {
|
|
152
|
+
textDecoration: string;
|
|
153
|
+
color: string;
|
|
154
|
+
};
|
|
155
|
+
'& .MuiBadge-root': {
|
|
156
|
+
marginRight: any;
|
|
157
|
+
};
|
|
151
158
|
};
|
|
152
159
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
153
160
|
flexDirection: string;
|
|
@@ -142,6 +142,13 @@ const Component = {
|
|
|
142
142
|
'& .SCCourseDashboard-avatar': {
|
|
143
143
|
width: '36px',
|
|
144
144
|
height: '36px'
|
|
145
|
+
},
|
|
146
|
+
'& a': {
|
|
147
|
+
textDecoration: 'none',
|
|
148
|
+
color: 'inherit'
|
|
149
|
+
},
|
|
150
|
+
'& .MuiBadge-root': {
|
|
151
|
+
marginRight: theme.spacing(0.5)
|
|
145
152
|
}
|
|
146
153
|
},
|
|
147
154
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
3
|
root: () => ({}),
|
|
4
|
-
containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column',
|
|
4
|
+
containerRoot: ({ theme, open }) => (Object.assign(Object.assign({ display: 'flex', flexDirection: 'column', paddingBottom: theme.mixins.toolbar.minHeight,
|
|
5
|
+
//overflow: 'hidden',
|
|
6
|
+
transition: theme.transitions.create('margin', {
|
|
5
7
|
easing: theme.transitions.easing.sharp,
|
|
6
8
|
duration: theme.transitions.duration.leavingScreen
|
|
7
9
|
}), marginRight: 0 }, (open && {
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1797,12 +1797,19 @@ declare const theme: {
|
|
|
1797
1797
|
height: any;
|
|
1798
1798
|
border: string;
|
|
1799
1799
|
};
|
|
1800
|
+
'.MuiBadge-badge': {
|
|
1801
|
+
left: any;
|
|
1802
|
+
top: any;
|
|
1803
|
+
};
|
|
1800
1804
|
};
|
|
1801
1805
|
'& .SCCourse-preview-content': {
|
|
1802
1806
|
padding: any;
|
|
1803
1807
|
'& .SCCourse-preview-creator': {
|
|
1804
|
-
|
|
1805
|
-
|
|
1808
|
+
textDecoration: string;
|
|
1809
|
+
color: string;
|
|
1810
|
+
'& .MuiTypography-root': {
|
|
1811
|
+
marginBottom: any;
|
|
1812
|
+
};
|
|
1806
1813
|
};
|
|
1807
1814
|
'& .SCCourse-preview-name-wrapper': {
|
|
1808
1815
|
textDecoration: string;
|
|
@@ -2140,6 +2147,13 @@ declare const theme: {
|
|
|
2140
2147
|
width: string;
|
|
2141
2148
|
height: string;
|
|
2142
2149
|
};
|
|
2150
|
+
'& a': {
|
|
2151
|
+
textDecoration: string;
|
|
2152
|
+
color: string;
|
|
2153
|
+
};
|
|
2154
|
+
'& .MuiBadge-root': {
|
|
2155
|
+
marginRight: any;
|
|
2156
|
+
};
|
|
2143
2157
|
};
|
|
2144
2158
|
'& .SCCourseDashboard-actions-wrapper': {
|
|
2145
2159
|
flexDirection: string;
|
|
@@ -5536,7 +5550,7 @@ declare const theme: {
|
|
|
5536
5550
|
width: string;
|
|
5537
5551
|
display: string;
|
|
5538
5552
|
flexDirection: string;
|
|
5539
|
-
|
|
5553
|
+
paddingBottom: any;
|
|
5540
5554
|
transition: any;
|
|
5541
5555
|
marginRight: number;
|
|
5542
5556
|
};
|