@selfcommunity/react-theme-default 0.4.2-courses.192 → 0.4.2-courses.193
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/SCAccordionLessons.d.ts +1 -0
- package/lib/cjs/components/SCAccordionLessons.js +1 -0
- package/lib/cjs/components/SCNotification.d.ts +22 -0
- package/lib/cjs/components/SCNotification.js +22 -0
- package/lib/cjs/index.d.ts +23 -0
- package/lib/esm/components/SCAccordionLessons.d.ts +1 -0
- package/lib/esm/components/SCAccordionLessons.js +1 -0
- package/lib/esm/components/SCNotification.d.ts +22 -0
- package/lib/esm/components/SCNotification.js +22 -0
- package/lib/esm/index.d.ts +23 -0
- package/lib/umd/react-theme-default.js +1 -1
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const Component = {
|
|
4
4
|
styleOverrides: {
|
|
5
5
|
root: ({ theme }) => ({
|
|
6
|
+
backgroundColor: theme.palette.common.white,
|
|
6
7
|
border: `1px solid ${theme.palette.grey['300']}`,
|
|
7
8
|
borderRadius: '5px',
|
|
8
9
|
'& .SCAccordionLessons-empty': {
|
|
@@ -278,6 +278,28 @@ declare const Component: {
|
|
|
278
278
|
maxWidth: string;
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
|
+
courseRoot: ({ theme }: any) => {
|
|
282
|
+
'& .SCNotification-username, & a': {
|
|
283
|
+
fontWeight: any;
|
|
284
|
+
};
|
|
285
|
+
'& .SCNotificationItem-primary': {
|
|
286
|
+
'& .SCCourse-root': {
|
|
287
|
+
width: string;
|
|
288
|
+
'& .SCCourse-snippet-root': {
|
|
289
|
+
paddingLeft: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
'& .SCNotificationItem-secondary': {
|
|
294
|
+
textTransform: string;
|
|
295
|
+
};
|
|
296
|
+
'& .SCNotification-snippet-time': {
|
|
297
|
+
paddingLeft: any;
|
|
298
|
+
};
|
|
299
|
+
'& .SCCourse-snippet-root': {
|
|
300
|
+
backgroundColor: string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
281
303
|
eventRoot: ({ theme }: any) => {
|
|
282
304
|
'& .SCNotification-username, & a': {
|
|
283
305
|
fontWeight: any;
|
|
@@ -282,6 +282,28 @@ const Component = {
|
|
|
282
282
|
maxWidth: '40%'
|
|
283
283
|
}
|
|
284
284
|
}),
|
|
285
|
+
courseRoot: ({ theme }) => ({
|
|
286
|
+
'& .SCNotification-username, & a': {
|
|
287
|
+
fontWeight: theme.typography.fontWeightBold
|
|
288
|
+
},
|
|
289
|
+
'& .SCNotificationItem-primary': {
|
|
290
|
+
'& .SCCourse-root': {
|
|
291
|
+
width: '100%',
|
|
292
|
+
'& .SCCourse-snippet-root': {
|
|
293
|
+
paddingLeft: '0 !important'
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
'& .SCNotificationItem-secondary': {
|
|
298
|
+
textTransform: 'capitalize'
|
|
299
|
+
},
|
|
300
|
+
'& .SCNotification-snippet-time': {
|
|
301
|
+
paddingLeft: theme.spacing(5)
|
|
302
|
+
},
|
|
303
|
+
'& .SCCourse-snippet-root': {
|
|
304
|
+
backgroundColor: 'transparent !important'
|
|
305
|
+
}
|
|
306
|
+
}),
|
|
285
307
|
eventRoot: ({ theme }) => ({
|
|
286
308
|
'& .SCNotification-username, & a': {
|
|
287
309
|
fontWeight: theme.typography.fontWeightBold
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -238,6 +238,7 @@ declare const theme: {
|
|
|
238
238
|
root: ({ theme }: {
|
|
239
239
|
theme: any;
|
|
240
240
|
}) => {
|
|
241
|
+
backgroundColor: any;
|
|
241
242
|
border: string;
|
|
242
243
|
borderRadius: string;
|
|
243
244
|
'& .SCAccordionLessons-empty': {
|
|
@@ -7099,6 +7100,28 @@ declare const theme: {
|
|
|
7099
7100
|
maxWidth: string;
|
|
7100
7101
|
};
|
|
7101
7102
|
};
|
|
7103
|
+
courseRoot: ({ theme }: any) => {
|
|
7104
|
+
'& .SCNotification-username, & a': {
|
|
7105
|
+
fontWeight: any;
|
|
7106
|
+
};
|
|
7107
|
+
'& .SCNotificationItem-primary': {
|
|
7108
|
+
'& .SCCourse-root': {
|
|
7109
|
+
width: string;
|
|
7110
|
+
'& .SCCourse-snippet-root': {
|
|
7111
|
+
paddingLeft: string;
|
|
7112
|
+
};
|
|
7113
|
+
};
|
|
7114
|
+
};
|
|
7115
|
+
'& .SCNotificationItem-secondary': {
|
|
7116
|
+
textTransform: string;
|
|
7117
|
+
};
|
|
7118
|
+
'& .SCNotification-snippet-time': {
|
|
7119
|
+
paddingLeft: any;
|
|
7120
|
+
};
|
|
7121
|
+
'& .SCCourse-snippet-root': {
|
|
7122
|
+
backgroundColor: string;
|
|
7123
|
+
};
|
|
7124
|
+
};
|
|
7102
7125
|
eventRoot: ({ theme }: any) => {
|
|
7103
7126
|
'& .SCNotification-username, & a': {
|
|
7104
7127
|
fontWeight: any;
|
|
@@ -278,6 +278,28 @@ declare const Component: {
|
|
|
278
278
|
maxWidth: string;
|
|
279
279
|
};
|
|
280
280
|
};
|
|
281
|
+
courseRoot: ({ theme }: any) => {
|
|
282
|
+
'& .SCNotification-username, & a': {
|
|
283
|
+
fontWeight: any;
|
|
284
|
+
};
|
|
285
|
+
'& .SCNotificationItem-primary': {
|
|
286
|
+
'& .SCCourse-root': {
|
|
287
|
+
width: string;
|
|
288
|
+
'& .SCCourse-snippet-root': {
|
|
289
|
+
paddingLeft: string;
|
|
290
|
+
};
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
'& .SCNotificationItem-secondary': {
|
|
294
|
+
textTransform: string;
|
|
295
|
+
};
|
|
296
|
+
'& .SCNotification-snippet-time': {
|
|
297
|
+
paddingLeft: any;
|
|
298
|
+
};
|
|
299
|
+
'& .SCCourse-snippet-root': {
|
|
300
|
+
backgroundColor: string;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
281
303
|
eventRoot: ({ theme }: any) => {
|
|
282
304
|
'& .SCNotification-username, & a': {
|
|
283
305
|
fontWeight: any;
|
|
@@ -280,6 +280,28 @@ const Component = {
|
|
|
280
280
|
maxWidth: '40%'
|
|
281
281
|
}
|
|
282
282
|
}),
|
|
283
|
+
courseRoot: ({ theme }) => ({
|
|
284
|
+
'& .SCNotification-username, & a': {
|
|
285
|
+
fontWeight: theme.typography.fontWeightBold
|
|
286
|
+
},
|
|
287
|
+
'& .SCNotificationItem-primary': {
|
|
288
|
+
'& .SCCourse-root': {
|
|
289
|
+
width: '100%',
|
|
290
|
+
'& .SCCourse-snippet-root': {
|
|
291
|
+
paddingLeft: '0 !important'
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
'& .SCNotificationItem-secondary': {
|
|
296
|
+
textTransform: 'capitalize'
|
|
297
|
+
},
|
|
298
|
+
'& .SCNotification-snippet-time': {
|
|
299
|
+
paddingLeft: theme.spacing(5)
|
|
300
|
+
},
|
|
301
|
+
'& .SCCourse-snippet-root': {
|
|
302
|
+
backgroundColor: 'transparent !important'
|
|
303
|
+
}
|
|
304
|
+
}),
|
|
283
305
|
eventRoot: ({ theme }) => ({
|
|
284
306
|
'& .SCNotification-username, & a': {
|
|
285
307
|
fontWeight: theme.typography.fontWeightBold
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -238,6 +238,7 @@ declare const theme: {
|
|
|
238
238
|
root: ({ theme }: {
|
|
239
239
|
theme: any;
|
|
240
240
|
}) => {
|
|
241
|
+
backgroundColor: any;
|
|
241
242
|
border: string;
|
|
242
243
|
borderRadius: string;
|
|
243
244
|
'& .SCAccordionLessons-empty': {
|
|
@@ -7099,6 +7100,28 @@ declare const theme: {
|
|
|
7099
7100
|
maxWidth: string;
|
|
7100
7101
|
};
|
|
7101
7102
|
};
|
|
7103
|
+
courseRoot: ({ theme }: any) => {
|
|
7104
|
+
'& .SCNotification-username, & a': {
|
|
7105
|
+
fontWeight: any;
|
|
7106
|
+
};
|
|
7107
|
+
'& .SCNotificationItem-primary': {
|
|
7108
|
+
'& .SCCourse-root': {
|
|
7109
|
+
width: string;
|
|
7110
|
+
'& .SCCourse-snippet-root': {
|
|
7111
|
+
paddingLeft: string;
|
|
7112
|
+
};
|
|
7113
|
+
};
|
|
7114
|
+
};
|
|
7115
|
+
'& .SCNotificationItem-secondary': {
|
|
7116
|
+
textTransform: string;
|
|
7117
|
+
};
|
|
7118
|
+
'& .SCNotification-snippet-time': {
|
|
7119
|
+
paddingLeft: any;
|
|
7120
|
+
};
|
|
7121
|
+
'& .SCCourse-snippet-root': {
|
|
7122
|
+
backgroundColor: string;
|
|
7123
|
+
};
|
|
7124
|
+
};
|
|
7102
7125
|
eventRoot: ({ theme }: any) => {
|
|
7103
7126
|
'& .SCNotification-username, & a': {
|
|
7104
7127
|
fontWeight: any;
|