@selfcommunity/react-theme-default 0.1.50-events.102 → 0.1.50-events.103
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/SCEventSubscribeButton.d.ts +7 -1
- package/lib/cjs/components/SCEventSubscribeButton.js +5 -1
- package/lib/cjs/components/SCNotification.d.ts +12 -3
- package/lib/cjs/components/SCNotification.js +12 -3
- package/lib/cjs/index.d.ts +19 -4
- package/lib/esm/components/SCEventSubscribeButton.d.ts +7 -1
- package/lib/esm/components/SCEventSubscribeButton.js +5 -1
- package/lib/esm/components/SCNotification.d.ts +12 -3
- package/lib/esm/components/SCNotification.js +12 -3
- package/lib/esm/index.d.ts +19 -4
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -43,7 +43,9 @@ declare const Component: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
requestRoot: ({}: {
|
|
46
|
+
requestRoot: ({ theme }: {
|
|
47
|
+
theme: any;
|
|
48
|
+
}) => {};
|
|
47
49
|
menuRoot: ({ theme }: {
|
|
48
50
|
theme: any;
|
|
49
51
|
}) => {
|
|
@@ -53,6 +55,10 @@ declare const Component: {
|
|
|
53
55
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
54
56
|
paddingTop: number;
|
|
55
57
|
paddingBottom: number;
|
|
58
|
+
'&.Mui-disabled': {
|
|
59
|
+
paddingTop: any;
|
|
60
|
+
paddingBottom: any;
|
|
61
|
+
};
|
|
56
62
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
57
63
|
color: any;
|
|
58
64
|
};
|
|
@@ -43,7 +43,7 @@ const Component = {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}),
|
|
46
|
-
requestRoot: ({}) => ({}),
|
|
46
|
+
requestRoot: ({ theme }) => ({}),
|
|
47
47
|
menuRoot: ({ theme }) => ({
|
|
48
48
|
'& .MuiPaper-root': {
|
|
49
49
|
width: 195,
|
|
@@ -51,6 +51,10 @@ const Component = {
|
|
|
51
51
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
52
52
|
paddingTop: 0,
|
|
53
53
|
paddingBottom: 0,
|
|
54
|
+
'&.Mui-disabled': {
|
|
55
|
+
paddingTop: theme.spacing(1),
|
|
56
|
+
paddingBottom: theme.spacing(1)
|
|
57
|
+
},
|
|
54
58
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
55
59
|
color: theme.palette.success.main
|
|
56
60
|
},
|
|
@@ -282,9 +282,18 @@ declare const Component: {
|
|
|
282
282
|
'& .SCNotification-username, & a': {
|
|
283
283
|
fontWeight: any;
|
|
284
284
|
};
|
|
285
|
-
'& .SCNotificationItem-primary
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
'& .SCNotificationItem-primary': {
|
|
286
|
+
'& .MuiIcon-root': {
|
|
287
|
+
float: string;
|
|
288
|
+
fontSize: string;
|
|
289
|
+
marginLeft: any;
|
|
290
|
+
};
|
|
291
|
+
'& .SCEvent-root': {
|
|
292
|
+
width: string;
|
|
293
|
+
'& .SCEvent-snippet-root': {
|
|
294
|
+
paddingLeft: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
288
297
|
};
|
|
289
298
|
'& .SCNotificationItem-secondary': {
|
|
290
299
|
textTransform: string;
|
|
@@ -286,9 +286,18 @@ const Component = {
|
|
|
286
286
|
'& .SCNotification-username, & a': {
|
|
287
287
|
fontWeight: theme.typography.fontWeightBold
|
|
288
288
|
},
|
|
289
|
-
'& .SCNotificationItem-primary
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
'& .SCNotificationItem-primary': {
|
|
290
|
+
'& .MuiIcon-root': {
|
|
291
|
+
float: 'right',
|
|
292
|
+
fontSize: '20px',
|
|
293
|
+
marginLeft: theme.spacing(0.5)
|
|
294
|
+
},
|
|
295
|
+
'& .SCEvent-root': {
|
|
296
|
+
width: '100%',
|
|
297
|
+
'& .SCEvent-snippet-root': {
|
|
298
|
+
paddingLeft: '0 !important'
|
|
299
|
+
}
|
|
300
|
+
}
|
|
292
301
|
},
|
|
293
302
|
'& .SCNotificationItem-secondary': {
|
|
294
303
|
textTransform: 'capitalize'
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -4710,9 +4710,18 @@ declare const theme: {
|
|
|
4710
4710
|
'& .SCNotification-username, & a': {
|
|
4711
4711
|
fontWeight: any;
|
|
4712
4712
|
};
|
|
4713
|
-
'& .SCNotificationItem-primary
|
|
4714
|
-
|
|
4715
|
-
|
|
4713
|
+
'& .SCNotificationItem-primary': {
|
|
4714
|
+
'& .MuiIcon-root': {
|
|
4715
|
+
float: string;
|
|
4716
|
+
fontSize: string;
|
|
4717
|
+
marginLeft: any;
|
|
4718
|
+
};
|
|
4719
|
+
'& .SCEvent-root': {
|
|
4720
|
+
width: string;
|
|
4721
|
+
'& .SCEvent-snippet-root': {
|
|
4722
|
+
paddingLeft: string;
|
|
4723
|
+
};
|
|
4724
|
+
};
|
|
4716
4725
|
};
|
|
4717
4726
|
'& .SCNotificationItem-secondary': {
|
|
4718
4727
|
textTransform: string;
|
|
@@ -7399,7 +7408,9 @@ declare const theme: {
|
|
|
7399
7408
|
};
|
|
7400
7409
|
};
|
|
7401
7410
|
};
|
|
7402
|
-
requestRoot: ({}: {
|
|
7411
|
+
requestRoot: ({ theme }: {
|
|
7412
|
+
theme: any;
|
|
7413
|
+
}) => {};
|
|
7403
7414
|
menuRoot: ({ theme }: {
|
|
7404
7415
|
theme: any;
|
|
7405
7416
|
}) => {
|
|
@@ -7409,6 +7420,10 @@ declare const theme: {
|
|
|
7409
7420
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
7410
7421
|
paddingTop: number;
|
|
7411
7422
|
paddingBottom: number;
|
|
7423
|
+
'&.Mui-disabled': {
|
|
7424
|
+
paddingTop: any;
|
|
7425
|
+
paddingBottom: any;
|
|
7426
|
+
};
|
|
7412
7427
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
7413
7428
|
color: any;
|
|
7414
7429
|
};
|
|
@@ -43,7 +43,9 @@ declare const Component: {
|
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
|
-
requestRoot: ({}: {
|
|
46
|
+
requestRoot: ({ theme }: {
|
|
47
|
+
theme: any;
|
|
48
|
+
}) => {};
|
|
47
49
|
menuRoot: ({ theme }: {
|
|
48
50
|
theme: any;
|
|
49
51
|
}) => {
|
|
@@ -53,6 +55,10 @@ declare const Component: {
|
|
|
53
55
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
54
56
|
paddingTop: number;
|
|
55
57
|
paddingBottom: number;
|
|
58
|
+
'&.Mui-disabled': {
|
|
59
|
+
paddingTop: any;
|
|
60
|
+
paddingBottom: any;
|
|
61
|
+
};
|
|
56
62
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
57
63
|
color: any;
|
|
58
64
|
};
|
|
@@ -41,7 +41,7 @@ const Component = {
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}),
|
|
44
|
-
requestRoot: ({}) => ({}),
|
|
44
|
+
requestRoot: ({ theme }) => ({}),
|
|
45
45
|
menuRoot: ({ theme }) => ({
|
|
46
46
|
'& .MuiPaper-root': {
|
|
47
47
|
width: 195,
|
|
@@ -49,6 +49,10 @@ const Component = {
|
|
|
49
49
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
50
50
|
paddingTop: 0,
|
|
51
51
|
paddingBottom: 0,
|
|
52
|
+
'&.Mui-disabled': {
|
|
53
|
+
paddingTop: theme.spacing(1),
|
|
54
|
+
paddingBottom: theme.spacing(1)
|
|
55
|
+
},
|
|
52
56
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
53
57
|
color: theme.palette.success.main
|
|
54
58
|
},
|
|
@@ -282,9 +282,18 @@ declare const Component: {
|
|
|
282
282
|
'& .SCNotification-username, & a': {
|
|
283
283
|
fontWeight: any;
|
|
284
284
|
};
|
|
285
|
-
'& .SCNotificationItem-primary
|
|
286
|
-
|
|
287
|
-
|
|
285
|
+
'& .SCNotificationItem-primary': {
|
|
286
|
+
'& .MuiIcon-root': {
|
|
287
|
+
float: string;
|
|
288
|
+
fontSize: string;
|
|
289
|
+
marginLeft: any;
|
|
290
|
+
};
|
|
291
|
+
'& .SCEvent-root': {
|
|
292
|
+
width: string;
|
|
293
|
+
'& .SCEvent-snippet-root': {
|
|
294
|
+
paddingLeft: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
288
297
|
};
|
|
289
298
|
'& .SCNotificationItem-secondary': {
|
|
290
299
|
textTransform: string;
|
|
@@ -284,9 +284,18 @@ const Component = {
|
|
|
284
284
|
'& .SCNotification-username, & a': {
|
|
285
285
|
fontWeight: theme.typography.fontWeightBold
|
|
286
286
|
},
|
|
287
|
-
'& .SCNotificationItem-primary
|
|
288
|
-
|
|
289
|
-
|
|
287
|
+
'& .SCNotificationItem-primary': {
|
|
288
|
+
'& .MuiIcon-root': {
|
|
289
|
+
float: 'right',
|
|
290
|
+
fontSize: '20px',
|
|
291
|
+
marginLeft: theme.spacing(0.5)
|
|
292
|
+
},
|
|
293
|
+
'& .SCEvent-root': {
|
|
294
|
+
width: '100%',
|
|
295
|
+
'& .SCEvent-snippet-root': {
|
|
296
|
+
paddingLeft: '0 !important'
|
|
297
|
+
}
|
|
298
|
+
}
|
|
290
299
|
},
|
|
291
300
|
'& .SCNotificationItem-secondary': {
|
|
292
301
|
textTransform: 'capitalize'
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -4710,9 +4710,18 @@ declare const theme: {
|
|
|
4710
4710
|
'& .SCNotification-username, & a': {
|
|
4711
4711
|
fontWeight: any;
|
|
4712
4712
|
};
|
|
4713
|
-
'& .SCNotificationItem-primary
|
|
4714
|
-
|
|
4715
|
-
|
|
4713
|
+
'& .SCNotificationItem-primary': {
|
|
4714
|
+
'& .MuiIcon-root': {
|
|
4715
|
+
float: string;
|
|
4716
|
+
fontSize: string;
|
|
4717
|
+
marginLeft: any;
|
|
4718
|
+
};
|
|
4719
|
+
'& .SCEvent-root': {
|
|
4720
|
+
width: string;
|
|
4721
|
+
'& .SCEvent-snippet-root': {
|
|
4722
|
+
paddingLeft: string;
|
|
4723
|
+
};
|
|
4724
|
+
};
|
|
4716
4725
|
};
|
|
4717
4726
|
'& .SCNotificationItem-secondary': {
|
|
4718
4727
|
textTransform: string;
|
|
@@ -7399,7 +7408,9 @@ declare const theme: {
|
|
|
7399
7408
|
};
|
|
7400
7409
|
};
|
|
7401
7410
|
};
|
|
7402
|
-
requestRoot: ({}: {
|
|
7411
|
+
requestRoot: ({ theme }: {
|
|
7412
|
+
theme: any;
|
|
7413
|
+
}) => {};
|
|
7403
7414
|
menuRoot: ({ theme }: {
|
|
7404
7415
|
theme: any;
|
|
7405
7416
|
}) => {
|
|
@@ -7409,6 +7420,10 @@ declare const theme: {
|
|
|
7409
7420
|
'& .MuiList-root .SCEventSubscribeButton-item': {
|
|
7410
7421
|
paddingTop: number;
|
|
7411
7422
|
paddingBottom: number;
|
|
7423
|
+
'&.Mui-disabled': {
|
|
7424
|
+
paddingTop: any;
|
|
7425
|
+
paddingBottom: any;
|
|
7426
|
+
};
|
|
7412
7427
|
'& .Mui-checked .MuiSvgIcon-root': {
|
|
7413
7428
|
color: any;
|
|
7414
7429
|
};
|