@selfcommunity/react-theme-default 0.4.2-courses.155 → 0.4.2-courses.157
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 +2 -0
- package/lib/cjs/components/SCCourse.js +5 -3
- package/lib/cjs/components/SCCourses.d.ts +0 -1
- package/lib/cjs/components/SCCourses.js +0 -1
- package/lib/cjs/index.d.ts +2 -1
- package/lib/esm/components/SCCourse.d.ts +2 -0
- package/lib/esm/components/SCCourse.js +5 -3
- package/lib/esm/components/SCCourses.d.ts +0 -1
- package/lib/esm/components/SCCourses.js +0 -1
- package/lib/esm/index.d.ts +2 -1
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -170,6 +170,7 @@ declare const Component: {
|
|
|
170
170
|
[x: number]: {
|
|
171
171
|
minHeight: string;
|
|
172
172
|
};
|
|
173
|
+
height: string;
|
|
173
174
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
174
175
|
position: string;
|
|
175
176
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -214,6 +215,7 @@ declare const Component: {
|
|
|
214
215
|
[x: number]: {
|
|
215
216
|
minHeight: string;
|
|
216
217
|
};
|
|
218
|
+
height: string;
|
|
217
219
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
218
220
|
position: string;
|
|
219
221
|
bottom: any;
|
|
@@ -165,10 +165,11 @@ const Component = {
|
|
|
165
165
|
},
|
|
166
166
|
'& .SCCourse-preview-actions': {
|
|
167
167
|
justifyContent: 'center',
|
|
168
|
-
padding: theme.spacing(
|
|
168
|
+
padding: theme.spacing(2)
|
|
169
169
|
}
|
|
170
170
|
}),
|
|
171
171
|
createPlaceholderRoot: ({ theme }) => ({
|
|
172
|
+
height: '100%',
|
|
172
173
|
[theme.breakpoints.up('sm')]: {
|
|
173
174
|
minHeight: '376px'
|
|
174
175
|
},
|
|
@@ -208,11 +209,12 @@ const Component = {
|
|
|
208
209
|
'& .SCCourse-create-placeholder-actions': {
|
|
209
210
|
display: 'flex',
|
|
210
211
|
justifyContent: 'center',
|
|
211
|
-
height: '
|
|
212
|
+
height: '258px'
|
|
212
213
|
}
|
|
213
214
|
}),
|
|
214
215
|
skeletonRoot: ({ theme }) => ({
|
|
215
216
|
'& .SCCourse-skeleton-preview-root': {
|
|
217
|
+
height: '100%',
|
|
216
218
|
[theme.breakpoints.up('sm')]: {
|
|
217
219
|
minHeight: '376px'
|
|
218
220
|
},
|
|
@@ -226,7 +228,7 @@ const Component = {
|
|
|
226
228
|
},
|
|
227
229
|
'& .SCCourse-skeleton-preview-content': {
|
|
228
230
|
padding: `${theme.spacing(1.5, 2, 2, 2)} !important`,
|
|
229
|
-
minHeight:
|
|
231
|
+
minHeight: 184
|
|
230
232
|
},
|
|
231
233
|
'& .SCCourse-skeleton-preview-actions': {
|
|
232
234
|
display: 'flex',
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1879,6 +1879,7 @@ declare const theme: {
|
|
|
1879
1879
|
[x: number]: {
|
|
1880
1880
|
minHeight: string;
|
|
1881
1881
|
};
|
|
1882
|
+
height: string;
|
|
1882
1883
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
1883
1884
|
position: string;
|
|
1884
1885
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -1923,6 +1924,7 @@ declare const theme: {
|
|
|
1923
1924
|
[x: number]: {
|
|
1924
1925
|
minHeight: string;
|
|
1925
1926
|
};
|
|
1927
|
+
height: string;
|
|
1926
1928
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
1927
1929
|
position: string;
|
|
1928
1930
|
bottom: any;
|
|
@@ -2404,7 +2406,6 @@ declare const theme: {
|
|
|
2404
2406
|
};
|
|
2405
2407
|
};
|
|
2406
2408
|
'& .SCCourses-no-results': {
|
|
2407
|
-
marginTop: any;
|
|
2408
2409
|
display: string;
|
|
2409
2410
|
flexDirection: string;
|
|
2410
2411
|
alignItems: string;
|
|
@@ -170,6 +170,7 @@ declare const Component: {
|
|
|
170
170
|
[x: number]: {
|
|
171
171
|
minHeight: string;
|
|
172
172
|
};
|
|
173
|
+
height: string;
|
|
173
174
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
174
175
|
position: string;
|
|
175
176
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -214,6 +215,7 @@ declare const Component: {
|
|
|
214
215
|
[x: number]: {
|
|
215
216
|
minHeight: string;
|
|
216
217
|
};
|
|
218
|
+
height: string;
|
|
217
219
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
218
220
|
position: string;
|
|
219
221
|
bottom: any;
|
|
@@ -163,10 +163,11 @@ const Component = {
|
|
|
163
163
|
},
|
|
164
164
|
'& .SCCourse-preview-actions': {
|
|
165
165
|
justifyContent: 'center',
|
|
166
|
-
padding: theme.spacing(
|
|
166
|
+
padding: theme.spacing(2)
|
|
167
167
|
}
|
|
168
168
|
}),
|
|
169
169
|
createPlaceholderRoot: ({ theme }) => ({
|
|
170
|
+
height: '100%',
|
|
170
171
|
[theme.breakpoints.up('sm')]: {
|
|
171
172
|
minHeight: '376px'
|
|
172
173
|
},
|
|
@@ -206,11 +207,12 @@ const Component = {
|
|
|
206
207
|
'& .SCCourse-create-placeholder-actions': {
|
|
207
208
|
display: 'flex',
|
|
208
209
|
justifyContent: 'center',
|
|
209
|
-
height: '
|
|
210
|
+
height: '258px'
|
|
210
211
|
}
|
|
211
212
|
}),
|
|
212
213
|
skeletonRoot: ({ theme }) => ({
|
|
213
214
|
'& .SCCourse-skeleton-preview-root': {
|
|
215
|
+
height: '100%',
|
|
214
216
|
[theme.breakpoints.up('sm')]: {
|
|
215
217
|
minHeight: '376px'
|
|
216
218
|
},
|
|
@@ -224,7 +226,7 @@ const Component = {
|
|
|
224
226
|
},
|
|
225
227
|
'& .SCCourse-skeleton-preview-content': {
|
|
226
228
|
padding: `${theme.spacing(1.5, 2, 2, 2)} !important`,
|
|
227
|
-
minHeight:
|
|
229
|
+
minHeight: 184
|
|
228
230
|
},
|
|
229
231
|
'& .SCCourse-skeleton-preview-actions': {
|
|
230
232
|
display: 'flex',
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1879,6 +1879,7 @@ declare const theme: {
|
|
|
1879
1879
|
[x: number]: {
|
|
1880
1880
|
minHeight: string;
|
|
1881
1881
|
};
|
|
1882
|
+
height: string;
|
|
1882
1883
|
'& .SCCourse-create-placeholder-image-wrapper': {
|
|
1883
1884
|
position: string;
|
|
1884
1885
|
'& .SCCourse-create-placeholder-image': {
|
|
@@ -1923,6 +1924,7 @@ declare const theme: {
|
|
|
1923
1924
|
[x: number]: {
|
|
1924
1925
|
minHeight: string;
|
|
1925
1926
|
};
|
|
1927
|
+
height: string;
|
|
1926
1928
|
'& .SCCourse-skeleton-preview-avatar': {
|
|
1927
1929
|
position: string;
|
|
1928
1930
|
bottom: any;
|
|
@@ -2404,7 +2406,6 @@ declare const theme: {
|
|
|
2404
2406
|
};
|
|
2405
2407
|
};
|
|
2406
2408
|
'& .SCCourses-no-results': {
|
|
2407
|
-
marginTop: any;
|
|
2408
2409
|
display: string;
|
|
2409
2410
|
flexDirection: string;
|
|
2410
2411
|
alignItems: string;
|