@selfcommunity/react-theme-default 0.4.2-courses.163 → 0.4.2-courses.164
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 +21 -17
- package/lib/cjs/components/SCCourse.js +24 -20
- package/lib/cjs/components/SCUserCreatedCoursesWidget.d.ts +8 -0
- package/lib/cjs/components/SCUserCreatedCoursesWidget.js +10 -0
- package/lib/cjs/index.d.ts +28 -17
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCCourse.d.ts +21 -17
- package/lib/esm/components/SCCourse.js +24 -20
- package/lib/esm/components/SCUserCreatedCoursesWidget.d.ts +8 -0
- package/lib/esm/components/SCUserCreatedCoursesWidget.js +8 -0
- package/lib/esm/index.d.ts +28 -17
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {
|
|
4
|
+
width: string;
|
|
5
|
+
};
|
|
4
6
|
snippetRoot: ({ theme }: any) => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
'& .SCBaseItemButton-image': {
|
|
8
|
+
'& .SCCourse-snippet-avatar': {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
'& img': {
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
11
16
|
width: number;
|
|
12
17
|
height: number;
|
|
13
18
|
'& img': {
|
|
@@ -32,9 +37,10 @@ declare const Component: {
|
|
|
32
37
|
};
|
|
33
38
|
};
|
|
34
39
|
};
|
|
35
|
-
'& .
|
|
40
|
+
'& .SCBaseItemButton-text': {
|
|
36
41
|
fontSize: any;
|
|
37
|
-
|
|
42
|
+
textAlign: string;
|
|
43
|
+
'& .SCBaseItemButton-primary > a': {
|
|
38
44
|
color: any;
|
|
39
45
|
textDecoration: string;
|
|
40
46
|
'&:hover': {
|
|
@@ -42,9 +48,13 @@ declare const Component: {
|
|
|
42
48
|
};
|
|
43
49
|
'& p': {
|
|
44
50
|
fontWeight: any;
|
|
51
|
+
whiteSpace: string;
|
|
52
|
+
overflow: string;
|
|
53
|
+
textOverflow: string;
|
|
54
|
+
display: string;
|
|
45
55
|
};
|
|
46
56
|
};
|
|
47
|
-
'& .
|
|
57
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
48
58
|
color: any;
|
|
49
59
|
};
|
|
50
60
|
};
|
|
@@ -211,6 +221,7 @@ declare const Component: {
|
|
|
211
221
|
};
|
|
212
222
|
};
|
|
213
223
|
skeletonRoot: ({ theme }: any) => {
|
|
224
|
+
width: string;
|
|
214
225
|
'& .SCCourse-skeleton-preview-root': {
|
|
215
226
|
[x: number]: {
|
|
216
227
|
minHeight: string;
|
|
@@ -235,10 +246,6 @@ declare const Component: {
|
|
|
235
246
|
};
|
|
236
247
|
};
|
|
237
248
|
'& .SCCourse-skeleton-snippet-root': {
|
|
238
|
-
overflow: string;
|
|
239
|
-
boxSizing: string;
|
|
240
|
-
paddingLeft: string;
|
|
241
|
-
paddingRight: string;
|
|
242
249
|
'& .SCCourse-skeleton-snippet-image': {
|
|
243
250
|
position: string;
|
|
244
251
|
'& .MuiSkeleton-root': {
|
|
@@ -252,9 +259,6 @@ declare const Component: {
|
|
|
252
259
|
transform: string;
|
|
253
260
|
};
|
|
254
261
|
};
|
|
255
|
-
'& .SCBaseItem-actions': {
|
|
256
|
-
maxWidth: string;
|
|
257
|
-
};
|
|
258
262
|
};
|
|
259
263
|
};
|
|
260
264
|
};
|
|
@@ -2,19 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
|
-
root: (
|
|
5
|
+
root: () => ({
|
|
6
|
+
width: '100%'
|
|
7
|
+
}),
|
|
6
8
|
snippetRoot: ({ theme }) => ({
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
paddingLeft: `${theme.spacing()} !important`,
|
|
10
|
-
paddingRight: `${theme.spacing()} !important`,
|
|
11
|
-
'& .SCBaseItem-image': {
|
|
12
|
-
'& .MuiAvatar-root': {
|
|
9
|
+
'& .SCBaseItemButton-image': {
|
|
10
|
+
'& .SCCourse-snippet-avatar': {
|
|
13
11
|
width: 100,
|
|
14
12
|
height: 60,
|
|
15
13
|
'& img': {
|
|
16
14
|
borderRadius: '5px'
|
|
17
15
|
}
|
|
16
|
+
},
|
|
17
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
18
|
+
width: 60,
|
|
19
|
+
height: 60,
|
|
20
|
+
'& img': {
|
|
21
|
+
borderRadius: '5px'
|
|
22
|
+
}
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
25
|
'& .SCCourse-snippet-image': {
|
|
@@ -34,19 +39,24 @@ const Component = {
|
|
|
34
39
|
}
|
|
35
40
|
}
|
|
36
41
|
},
|
|
37
|
-
'& .
|
|
42
|
+
'& .SCBaseItemButton-text': {
|
|
38
43
|
fontSize: theme.typography.fontSize,
|
|
39
|
-
|
|
44
|
+
textAlign: 'start',
|
|
45
|
+
'& .SCBaseItemButton-primary > a': {
|
|
40
46
|
color: theme.palette.text.primary,
|
|
41
47
|
textDecoration: 'none',
|
|
42
48
|
'&:hover': {
|
|
43
49
|
textDecoration: 'none'
|
|
44
50
|
},
|
|
45
51
|
'& p': {
|
|
46
|
-
fontWeight: theme.typography.fontWeightBold
|
|
52
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
53
|
+
whiteSpace: 'nowrap',
|
|
54
|
+
overflow: 'hidden',
|
|
55
|
+
textOverflow: 'ellipsis',
|
|
56
|
+
display: 'block'
|
|
47
57
|
}
|
|
48
58
|
},
|
|
49
|
-
'& .
|
|
59
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
50
60
|
color: theme.palette.text.secondary
|
|
51
61
|
}
|
|
52
62
|
},
|
|
@@ -87,7 +97,7 @@ const Component = {
|
|
|
87
97
|
},
|
|
88
98
|
'& .SCCourse-preview-avatar': {
|
|
89
99
|
position: 'absolute',
|
|
90
|
-
bottom: theme.spacing(-
|
|
100
|
+
bottom: theme.spacing(-1),
|
|
91
101
|
left: theme.spacing(1.5),
|
|
92
102
|
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
93
103
|
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
@@ -99,7 +109,7 @@ const Component = {
|
|
|
99
109
|
}
|
|
100
110
|
},
|
|
101
111
|
'& .SCCourse-preview-content': {
|
|
102
|
-
padding: theme.spacing(1
|
|
112
|
+
padding: theme.spacing(1, 2, 2, 2),
|
|
103
113
|
'& .SCCourse-preview-creator': {
|
|
104
114
|
textDecoration: 'none',
|
|
105
115
|
color: 'inherit',
|
|
@@ -213,6 +223,7 @@ const Component = {
|
|
|
213
223
|
}
|
|
214
224
|
}),
|
|
215
225
|
skeletonRoot: ({ theme }) => ({
|
|
226
|
+
width: '100%',
|
|
216
227
|
'& .SCCourse-skeleton-preview-root': {
|
|
217
228
|
height: '100%',
|
|
218
229
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -237,10 +248,6 @@ const Component = {
|
|
|
237
248
|
}
|
|
238
249
|
},
|
|
239
250
|
'& .SCCourse-skeleton-snippet-root': {
|
|
240
|
-
overflow: 'visible',
|
|
241
|
-
boxSizing: 'border-box',
|
|
242
|
-
paddingLeft: `${theme.spacing()} !important`,
|
|
243
|
-
paddingRight: `${theme.spacing()} !important`,
|
|
244
251
|
'& .SCCourse-skeleton-snippet-image': {
|
|
245
252
|
position: 'relative',
|
|
246
253
|
'& .MuiSkeleton-root': {
|
|
@@ -253,9 +260,6 @@ const Component = {
|
|
|
253
260
|
left: '50%',
|
|
254
261
|
transform: 'translate(-50%, -50%)'
|
|
255
262
|
}
|
|
256
|
-
},
|
|
257
|
-
'& .SCBaseItem-actions': {
|
|
258
|
-
maxWidth: 'none !important'
|
|
259
263
|
}
|
|
260
264
|
}
|
|
261
265
|
})
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({}),
|
|
6
|
+
skeletonRoot: ({ theme }) => ({}),
|
|
7
|
+
dialogRoot: ({ theme }) => ({})
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1732,14 +1732,19 @@ declare const theme: {
|
|
|
1732
1732
|
};
|
|
1733
1733
|
SCCourse: {
|
|
1734
1734
|
styleOverrides: {
|
|
1735
|
-
root: (
|
|
1735
|
+
root: () => {
|
|
1736
|
+
width: string;
|
|
1737
|
+
};
|
|
1736
1738
|
snippetRoot: ({ theme }: any) => {
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1739
|
+
'& .SCBaseItemButton-image': {
|
|
1740
|
+
'& .SCCourse-snippet-avatar': {
|
|
1741
|
+
width: number;
|
|
1742
|
+
height: number;
|
|
1743
|
+
'& img': {
|
|
1744
|
+
borderRadius: string;
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
1743
1748
|
width: number;
|
|
1744
1749
|
height: number;
|
|
1745
1750
|
'& img': {
|
|
@@ -1764,9 +1769,10 @@ declare const theme: {
|
|
|
1764
1769
|
};
|
|
1765
1770
|
};
|
|
1766
1771
|
};
|
|
1767
|
-
'& .
|
|
1772
|
+
'& .SCBaseItemButton-text': {
|
|
1768
1773
|
fontSize: any;
|
|
1769
|
-
|
|
1774
|
+
textAlign: string;
|
|
1775
|
+
'& .SCBaseItemButton-primary > a': {
|
|
1770
1776
|
color: any;
|
|
1771
1777
|
textDecoration: string;
|
|
1772
1778
|
'&:hover': {
|
|
@@ -1774,9 +1780,13 @@ declare const theme: {
|
|
|
1774
1780
|
};
|
|
1775
1781
|
'& p': {
|
|
1776
1782
|
fontWeight: any;
|
|
1783
|
+
whiteSpace: string;
|
|
1784
|
+
overflow: string;
|
|
1785
|
+
textOverflow: string;
|
|
1786
|
+
display: string;
|
|
1777
1787
|
};
|
|
1778
1788
|
};
|
|
1779
|
-
'& .
|
|
1789
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
1780
1790
|
color: any;
|
|
1781
1791
|
};
|
|
1782
1792
|
};
|
|
@@ -1943,6 +1953,7 @@ declare const theme: {
|
|
|
1943
1953
|
};
|
|
1944
1954
|
};
|
|
1945
1955
|
skeletonRoot: ({ theme }: any) => {
|
|
1956
|
+
width: string;
|
|
1946
1957
|
'& .SCCourse-skeleton-preview-root': {
|
|
1947
1958
|
[x: number]: {
|
|
1948
1959
|
minHeight: string;
|
|
@@ -1967,10 +1978,6 @@ declare const theme: {
|
|
|
1967
1978
|
};
|
|
1968
1979
|
};
|
|
1969
1980
|
'& .SCCourse-skeleton-snippet-root': {
|
|
1970
|
-
overflow: string;
|
|
1971
|
-
boxSizing: string;
|
|
1972
|
-
paddingLeft: string;
|
|
1973
|
-
paddingRight: string;
|
|
1974
1981
|
'& .SCCourse-skeleton-snippet-image': {
|
|
1975
1982
|
position: string;
|
|
1976
1983
|
'& .MuiSkeleton-root': {
|
|
@@ -1984,9 +1991,6 @@ declare const theme: {
|
|
|
1984
1991
|
transform: string;
|
|
1985
1992
|
};
|
|
1986
1993
|
};
|
|
1987
|
-
'& .SCBaseItem-actions': {
|
|
1988
|
-
maxWidth: string;
|
|
1989
|
-
};
|
|
1990
1994
|
};
|
|
1991
1995
|
};
|
|
1992
1996
|
};
|
|
@@ -8655,6 +8659,13 @@ declare const theme: {
|
|
|
8655
8659
|
};
|
|
8656
8660
|
};
|
|
8657
8661
|
};
|
|
8662
|
+
SCUserCreatedCoursesWidget: {
|
|
8663
|
+
styleOverrides: {
|
|
8664
|
+
root: ({ theme }: any) => {};
|
|
8665
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
8666
|
+
dialogRoot: ({ theme }: any) => {};
|
|
8667
|
+
};
|
|
8668
|
+
};
|
|
8658
8669
|
SCUserFeedTemplate: {
|
|
8659
8670
|
styleOverrides: {
|
|
8660
8671
|
root: ({ theme }: any) => {};
|
package/lib/cjs/index.js
CHANGED
|
@@ -189,6 +189,7 @@ const SCUserConnectionsRequestsSentWidget_1 = tslib_1.__importDefault(require(".
|
|
|
189
189
|
const SCUserConnectionsRequestsWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsRequestsWidget"));
|
|
190
190
|
const SCUserConnectionsWidget_1 = tslib_1.__importDefault(require("./components/SCUserConnectionsWidget"));
|
|
191
191
|
const SCUserCounters_1 = tslib_1.__importDefault(require("./components/SCUserCounters"));
|
|
192
|
+
const SCUserCreatedCoursesWidget_1 = tslib_1.__importDefault(require("./components/SCUserCreatedCoursesWidget"));
|
|
192
193
|
const SCUserFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCUserFeedTemplate"));
|
|
193
194
|
const SCUserFollowedUsersWidget_1 = tslib_1.__importDefault(require("./components/SCUserFollowedUsersWidget"));
|
|
194
195
|
const SCUserFollowersWidget_1 = tslib_1.__importDefault(require("./components/SCUserFollowersWidget"));
|
|
@@ -442,6 +443,7 @@ const theme = {
|
|
|
442
443
|
SCUserConnectionsRequestsWidget: SCUserConnectionsRequestsWidget_1.default,
|
|
443
444
|
SCUserConnectionsWidget: SCUserConnectionsWidget_1.default,
|
|
444
445
|
SCUserCounters: SCUserCounters_1.default,
|
|
446
|
+
SCUserCreatedCoursesWidget: SCUserCreatedCoursesWidget_1.default,
|
|
445
447
|
SCUserFeedTemplate: SCUserFeedTemplate_1.default,
|
|
446
448
|
SCUserFollowedUsersWidget: SCUserFollowedUsersWidget_1.default,
|
|
447
449
|
SCUserFollowersWidget: SCUserFollowersWidget_1.default,
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
declare const Component: {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => {
|
|
4
|
+
width: string;
|
|
5
|
+
};
|
|
4
6
|
snippetRoot: ({ theme }: any) => {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
'& .SCBaseItemButton-image': {
|
|
8
|
+
'& .SCCourse-snippet-avatar': {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
'& img': {
|
|
12
|
+
borderRadius: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
11
16
|
width: number;
|
|
12
17
|
height: number;
|
|
13
18
|
'& img': {
|
|
@@ -32,9 +37,10 @@ declare const Component: {
|
|
|
32
37
|
};
|
|
33
38
|
};
|
|
34
39
|
};
|
|
35
|
-
'& .
|
|
40
|
+
'& .SCBaseItemButton-text': {
|
|
36
41
|
fontSize: any;
|
|
37
|
-
|
|
42
|
+
textAlign: string;
|
|
43
|
+
'& .SCBaseItemButton-primary > a': {
|
|
38
44
|
color: any;
|
|
39
45
|
textDecoration: string;
|
|
40
46
|
'&:hover': {
|
|
@@ -42,9 +48,13 @@ declare const Component: {
|
|
|
42
48
|
};
|
|
43
49
|
'& p': {
|
|
44
50
|
fontWeight: any;
|
|
51
|
+
whiteSpace: string;
|
|
52
|
+
overflow: string;
|
|
53
|
+
textOverflow: string;
|
|
54
|
+
display: string;
|
|
45
55
|
};
|
|
46
56
|
};
|
|
47
|
-
'& .
|
|
57
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
48
58
|
color: any;
|
|
49
59
|
};
|
|
50
60
|
};
|
|
@@ -211,6 +221,7 @@ declare const Component: {
|
|
|
211
221
|
};
|
|
212
222
|
};
|
|
213
223
|
skeletonRoot: ({ theme }: any) => {
|
|
224
|
+
width: string;
|
|
214
225
|
'& .SCCourse-skeleton-preview-root': {
|
|
215
226
|
[x: number]: {
|
|
216
227
|
minHeight: string;
|
|
@@ -235,10 +246,6 @@ declare const Component: {
|
|
|
235
246
|
};
|
|
236
247
|
};
|
|
237
248
|
'& .SCCourse-skeleton-snippet-root': {
|
|
238
|
-
overflow: string;
|
|
239
|
-
boxSizing: string;
|
|
240
|
-
paddingLeft: string;
|
|
241
|
-
paddingRight: string;
|
|
242
249
|
'& .SCCourse-skeleton-snippet-image': {
|
|
243
250
|
position: string;
|
|
244
251
|
'& .MuiSkeleton-root': {
|
|
@@ -252,9 +259,6 @@ declare const Component: {
|
|
|
252
259
|
transform: string;
|
|
253
260
|
};
|
|
254
261
|
};
|
|
255
|
-
'& .SCBaseItem-actions': {
|
|
256
|
-
maxWidth: string;
|
|
257
|
-
};
|
|
258
262
|
};
|
|
259
263
|
};
|
|
260
264
|
};
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
const Component = {
|
|
2
2
|
styleOverrides: {
|
|
3
|
-
root: (
|
|
3
|
+
root: () => ({
|
|
4
|
+
width: '100%'
|
|
5
|
+
}),
|
|
4
6
|
snippetRoot: ({ theme }) => ({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
paddingLeft: `${theme.spacing()} !important`,
|
|
8
|
-
paddingRight: `${theme.spacing()} !important`,
|
|
9
|
-
'& .SCBaseItem-image': {
|
|
10
|
-
'& .MuiAvatar-root': {
|
|
7
|
+
'& .SCBaseItemButton-image': {
|
|
8
|
+
'& .SCCourse-snippet-avatar': {
|
|
11
9
|
width: 100,
|
|
12
10
|
height: 60,
|
|
13
11
|
'& img': {
|
|
14
12
|
borderRadius: '5px'
|
|
15
13
|
}
|
|
14
|
+
},
|
|
15
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
16
|
+
width: 60,
|
|
17
|
+
height: 60,
|
|
18
|
+
'& img': {
|
|
19
|
+
borderRadius: '5px'
|
|
20
|
+
}
|
|
16
21
|
}
|
|
17
22
|
},
|
|
18
23
|
'& .SCCourse-snippet-image': {
|
|
@@ -32,19 +37,24 @@ const Component = {
|
|
|
32
37
|
}
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
|
-
'& .
|
|
40
|
+
'& .SCBaseItemButton-text': {
|
|
36
41
|
fontSize: theme.typography.fontSize,
|
|
37
|
-
|
|
42
|
+
textAlign: 'start',
|
|
43
|
+
'& .SCBaseItemButton-primary > a': {
|
|
38
44
|
color: theme.palette.text.primary,
|
|
39
45
|
textDecoration: 'none',
|
|
40
46
|
'&:hover': {
|
|
41
47
|
textDecoration: 'none'
|
|
42
48
|
},
|
|
43
49
|
'& p': {
|
|
44
|
-
fontWeight: theme.typography.fontWeightBold
|
|
50
|
+
fontWeight: theme.typography.fontWeightBold,
|
|
51
|
+
whiteSpace: 'nowrap',
|
|
52
|
+
overflow: 'hidden',
|
|
53
|
+
textOverflow: 'ellipsis',
|
|
54
|
+
display: 'block'
|
|
45
55
|
}
|
|
46
56
|
},
|
|
47
|
-
'& .
|
|
57
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
48
58
|
color: theme.palette.text.secondary
|
|
49
59
|
}
|
|
50
60
|
},
|
|
@@ -85,7 +95,7 @@ const Component = {
|
|
|
85
95
|
},
|
|
86
96
|
'& .SCCourse-preview-avatar': {
|
|
87
97
|
position: 'absolute',
|
|
88
|
-
bottom: theme.spacing(-
|
|
98
|
+
bottom: theme.spacing(-1),
|
|
89
99
|
left: theme.spacing(1.5),
|
|
90
100
|
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
91
101
|
height: theme.selfcommunity.user.avatar.sizeMedium,
|
|
@@ -97,7 +107,7 @@ const Component = {
|
|
|
97
107
|
}
|
|
98
108
|
},
|
|
99
109
|
'& .SCCourse-preview-content': {
|
|
100
|
-
padding: theme.spacing(1
|
|
110
|
+
padding: theme.spacing(1, 2, 2, 2),
|
|
101
111
|
'& .SCCourse-preview-creator': {
|
|
102
112
|
textDecoration: 'none',
|
|
103
113
|
color: 'inherit',
|
|
@@ -211,6 +221,7 @@ const Component = {
|
|
|
211
221
|
}
|
|
212
222
|
}),
|
|
213
223
|
skeletonRoot: ({ theme }) => ({
|
|
224
|
+
width: '100%',
|
|
214
225
|
'& .SCCourse-skeleton-preview-root': {
|
|
215
226
|
height: '100%',
|
|
216
227
|
[theme.breakpoints.up('sm')]: {
|
|
@@ -235,10 +246,6 @@ const Component = {
|
|
|
235
246
|
}
|
|
236
247
|
},
|
|
237
248
|
'& .SCCourse-skeleton-snippet-root': {
|
|
238
|
-
overflow: 'visible',
|
|
239
|
-
boxSizing: 'border-box',
|
|
240
|
-
paddingLeft: `${theme.spacing()} !important`,
|
|
241
|
-
paddingRight: `${theme.spacing()} !important`,
|
|
242
249
|
'& .SCCourse-skeleton-snippet-image': {
|
|
243
250
|
position: 'relative',
|
|
244
251
|
'& .MuiSkeleton-root': {
|
|
@@ -251,9 +258,6 @@ const Component = {
|
|
|
251
258
|
left: '50%',
|
|
252
259
|
transform: 'translate(-50%, -50%)'
|
|
253
260
|
}
|
|
254
|
-
},
|
|
255
|
-
'& .SCBaseItem-actions': {
|
|
256
|
-
maxWidth: 'none !important'
|
|
257
261
|
}
|
|
258
262
|
}
|
|
259
263
|
})
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1732,14 +1732,19 @@ declare const theme: {
|
|
|
1732
1732
|
};
|
|
1733
1733
|
SCCourse: {
|
|
1734
1734
|
styleOverrides: {
|
|
1735
|
-
root: (
|
|
1735
|
+
root: () => {
|
|
1736
|
+
width: string;
|
|
1737
|
+
};
|
|
1736
1738
|
snippetRoot: ({ theme }: any) => {
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1739
|
+
'& .SCBaseItemButton-image': {
|
|
1740
|
+
'& .SCCourse-snippet-avatar': {
|
|
1741
|
+
width: number;
|
|
1742
|
+
height: number;
|
|
1743
|
+
'& img': {
|
|
1744
|
+
borderRadius: string;
|
|
1745
|
+
};
|
|
1746
|
+
};
|
|
1747
|
+
'& .SCCourse-snippet-avatar-user-profile-view': {
|
|
1743
1748
|
width: number;
|
|
1744
1749
|
height: number;
|
|
1745
1750
|
'& img': {
|
|
@@ -1764,9 +1769,10 @@ declare const theme: {
|
|
|
1764
1769
|
};
|
|
1765
1770
|
};
|
|
1766
1771
|
};
|
|
1767
|
-
'& .
|
|
1772
|
+
'& .SCBaseItemButton-text': {
|
|
1768
1773
|
fontSize: any;
|
|
1769
|
-
|
|
1774
|
+
textAlign: string;
|
|
1775
|
+
'& .SCBaseItemButton-primary > a': {
|
|
1770
1776
|
color: any;
|
|
1771
1777
|
textDecoration: string;
|
|
1772
1778
|
'&:hover': {
|
|
@@ -1774,9 +1780,13 @@ declare const theme: {
|
|
|
1774
1780
|
};
|
|
1775
1781
|
'& p': {
|
|
1776
1782
|
fontWeight: any;
|
|
1783
|
+
whiteSpace: string;
|
|
1784
|
+
overflow: string;
|
|
1785
|
+
textOverflow: string;
|
|
1786
|
+
display: string;
|
|
1777
1787
|
};
|
|
1778
1788
|
};
|
|
1779
|
-
'& .
|
|
1789
|
+
'& .SSCBaseItemButton-secondary > a': {
|
|
1780
1790
|
color: any;
|
|
1781
1791
|
};
|
|
1782
1792
|
};
|
|
@@ -1943,6 +1953,7 @@ declare const theme: {
|
|
|
1943
1953
|
};
|
|
1944
1954
|
};
|
|
1945
1955
|
skeletonRoot: ({ theme }: any) => {
|
|
1956
|
+
width: string;
|
|
1946
1957
|
'& .SCCourse-skeleton-preview-root': {
|
|
1947
1958
|
[x: number]: {
|
|
1948
1959
|
minHeight: string;
|
|
@@ -1967,10 +1978,6 @@ declare const theme: {
|
|
|
1967
1978
|
};
|
|
1968
1979
|
};
|
|
1969
1980
|
'& .SCCourse-skeleton-snippet-root': {
|
|
1970
|
-
overflow: string;
|
|
1971
|
-
boxSizing: string;
|
|
1972
|
-
paddingLeft: string;
|
|
1973
|
-
paddingRight: string;
|
|
1974
1981
|
'& .SCCourse-skeleton-snippet-image': {
|
|
1975
1982
|
position: string;
|
|
1976
1983
|
'& .MuiSkeleton-root': {
|
|
@@ -1984,9 +1991,6 @@ declare const theme: {
|
|
|
1984
1991
|
transform: string;
|
|
1985
1992
|
};
|
|
1986
1993
|
};
|
|
1987
|
-
'& .SCBaseItem-actions': {
|
|
1988
|
-
maxWidth: string;
|
|
1989
|
-
};
|
|
1990
1994
|
};
|
|
1991
1995
|
};
|
|
1992
1996
|
};
|
|
@@ -8655,6 +8659,13 @@ declare const theme: {
|
|
|
8655
8659
|
};
|
|
8656
8660
|
};
|
|
8657
8661
|
};
|
|
8662
|
+
SCUserCreatedCoursesWidget: {
|
|
8663
|
+
styleOverrides: {
|
|
8664
|
+
root: ({ theme }: any) => {};
|
|
8665
|
+
skeletonRoot: ({ theme }: any) => {};
|
|
8666
|
+
dialogRoot: ({ theme }: any) => {};
|
|
8667
|
+
};
|
|
8668
|
+
};
|
|
8658
8669
|
SCUserFeedTemplate: {
|
|
8659
8670
|
styleOverrides: {
|
|
8660
8671
|
root: ({ theme }: any) => {};
|
package/lib/esm/index.js
CHANGED
|
@@ -185,6 +185,7 @@ import SCUserConnectionsRequestsSentWidget from './components/SCUserConnectionsR
|
|
|
185
185
|
import SCUserConnectionsRequestsWidget from './components/SCUserConnectionsRequestsWidget';
|
|
186
186
|
import SCUserConnectionsWidget from './components/SCUserConnectionsWidget';
|
|
187
187
|
import SCUserCounters from './components/SCUserCounters';
|
|
188
|
+
import SCUserCreatedCoursesWidget from './components/SCUserCreatedCoursesWidget';
|
|
188
189
|
import SCUserFeedTemplate from './components/SCUserFeedTemplate';
|
|
189
190
|
import SCUserFollowedUsersWidget from './components/SCUserFollowedUsersWidget';
|
|
190
191
|
import SCUserFollowersWidget from './components/SCUserFollowersWidget';
|
|
@@ -430,6 +431,7 @@ const theme = {
|
|
|
430
431
|
SCUserConnectionsRequestsWidget,
|
|
431
432
|
SCUserConnectionsWidget,
|
|
432
433
|
SCUserCounters,
|
|
434
|
+
SCUserCreatedCoursesWidget,
|
|
433
435
|
SCUserFeedTemplate,
|
|
434
436
|
SCUserFollowedUsersWidget,
|
|
435
437
|
SCUserFollowersWidget,
|