@selfcommunity/react-theme-default 0.4.2-alpha.22 → 0.4.2-alpha.24
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/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/cjs/components/SCDefaultDrawerContent.js +33 -0
- package/lib/cjs/components/SCFeedObject.d.ts +2 -0
- package/lib/cjs/components/SCFeedObject.js +3 -1
- package/lib/cjs/index.d.ts +32 -3
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCDefaultDrawerContent.d.ts +31 -0
- package/lib/esm/components/SCDefaultDrawerContent.js +31 -0
- package/lib/esm/components/SCFeedObject.d.ts +2 -0
- package/lib/esm/components/SCFeedObject.js +3 -1
- package/lib/esm/index.d.ts +32 -3
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
5
|
+
paddingLeft: any;
|
|
6
|
+
};
|
|
7
|
+
'& .SCDefaultDrawerContent-title': {
|
|
8
|
+
paddingTop: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
11
|
+
paddingTop: any;
|
|
12
|
+
paddingBottom: number;
|
|
13
|
+
'& .MuiListItemButton-root': {
|
|
14
|
+
paddingLeft: any;
|
|
15
|
+
paddingRight: any;
|
|
16
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .MuiListItemIcon-root': {
|
|
21
|
+
minWidth: number;
|
|
22
|
+
marginRight: any;
|
|
23
|
+
};
|
|
24
|
+
'& .MuiIcon-root': {
|
|
25
|
+
fontSize: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default Component;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({
|
|
6
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
7
|
+
paddingLeft: theme.spacing(2)
|
|
8
|
+
},
|
|
9
|
+
'& .SCDefaultDrawerContent-title': {
|
|
10
|
+
paddingTop: theme.spacing(1)
|
|
11
|
+
},
|
|
12
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
13
|
+
paddingTop: theme.spacing(0.5),
|
|
14
|
+
paddingBottom: 0,
|
|
15
|
+
'& .MuiListItemButton-root': {
|
|
16
|
+
paddingLeft: theme.spacing(3),
|
|
17
|
+
paddingRight: theme.spacing(3),
|
|
18
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
19
|
+
fontWeight: 700
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
'& .MuiListItemIcon-root': {
|
|
23
|
+
minWidth: 0,
|
|
24
|
+
marginRight: theme.spacing(2)
|
|
25
|
+
},
|
|
26
|
+
'& .MuiIcon-root': {
|
|
27
|
+
fontSize: 15
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.default = Component;
|
|
@@ -84,7 +84,9 @@ const Component = {
|
|
|
84
84
|
color: theme.palette.common.white,
|
|
85
85
|
textTransform: 'initial'
|
|
86
86
|
}
|
|
87
|
-
}
|
|
87
|
+
},
|
|
88
|
+
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
89
|
+
margin: theme.spacing(1, 2, 0, 2)
|
|
88
90
|
},
|
|
89
91
|
'& .SCFeedObject-content': {
|
|
90
92
|
padding: theme.spacing(1, 0, 0, 0),
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1706,6 +1706,36 @@ declare const theme: {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
};
|
|
1708
1708
|
};
|
|
1709
|
+
SCDefaultDrawerContent: {
|
|
1710
|
+
styleOverrides: {
|
|
1711
|
+
root: ({ theme }: any) => {
|
|
1712
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
1713
|
+
paddingLeft: any;
|
|
1714
|
+
};
|
|
1715
|
+
'& .SCDefaultDrawerContent-title': {
|
|
1716
|
+
paddingTop: any;
|
|
1717
|
+
};
|
|
1718
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
1719
|
+
paddingTop: any;
|
|
1720
|
+
paddingBottom: number;
|
|
1721
|
+
'& .MuiListItemButton-root': {
|
|
1722
|
+
paddingLeft: any;
|
|
1723
|
+
paddingRight: any;
|
|
1724
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
1725
|
+
fontWeight: number;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
'& .MuiListItemIcon-root': {
|
|
1729
|
+
minWidth: number;
|
|
1730
|
+
marginRight: any;
|
|
1731
|
+
};
|
|
1732
|
+
'& .MuiIcon-root': {
|
|
1733
|
+
fontSize: number;
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1709
1739
|
SCEditGroupButton: {
|
|
1710
1740
|
styleOverrides: {
|
|
1711
1741
|
root: ({ theme }: any) => {
|
|
@@ -2198,6 +2228,8 @@ declare const theme: {
|
|
|
2198
2228
|
textTransform: string;
|
|
2199
2229
|
};
|
|
2200
2230
|
};
|
|
2231
|
+
borderBottom: string;
|
|
2232
|
+
margin: any;
|
|
2201
2233
|
};
|
|
2202
2234
|
'& .SCFeedObject-content': {
|
|
2203
2235
|
padding: any;
|
|
@@ -2455,9 +2487,6 @@ declare const theme: {
|
|
|
2455
2487
|
color: string;
|
|
2456
2488
|
};
|
|
2457
2489
|
};
|
|
2458
|
-
/**
|
|
2459
|
-
* Style assets - Imports - Start
|
|
2460
|
-
*/
|
|
2461
2490
|
'& .MuiDivider-root': {
|
|
2462
2491
|
borderColor: any;
|
|
2463
2492
|
};
|
package/lib/cjs/index.js
CHANGED
|
@@ -62,6 +62,7 @@ const SCCustomAdv_1 = tslib_1.__importDefault(require("./components/SCCustomAdv"
|
|
|
62
62
|
const SCCustomSnackMessage_1 = tslib_1.__importDefault(require("./components/SCCustomSnackMessage"));
|
|
63
63
|
const SCDateTimeAgo_1 = tslib_1.__importDefault(require("./components/SCDateTimeAgo"));
|
|
64
64
|
const SCDefaultHeaderContent_1 = tslib_1.__importDefault(require("./components/SCDefaultHeaderContent"));
|
|
65
|
+
const SCDefaultDrawerContent_1 = tslib_1.__importDefault(require("./components/SCDefaultDrawerContent"));
|
|
65
66
|
const SCEditGroupButton_1 = tslib_1.__importDefault(require("./components/SCEditGroupButton"));
|
|
66
67
|
const SCEditor_1 = tslib_1.__importDefault(require("./components/SCEditor"));
|
|
67
68
|
const SCEmojiPicker_1 = tslib_1.__importDefault(require("./components/SCEmojiPicker"));
|
|
@@ -308,6 +309,7 @@ const theme = {
|
|
|
308
309
|
SCCustomSnackMessage: SCCustomSnackMessage_1.default,
|
|
309
310
|
SCDateTimeAgo: SCDateTimeAgo_1.default,
|
|
310
311
|
SCDefaultHeaderContent: SCDefaultHeaderContent_1.default,
|
|
312
|
+
SCDefaultDrawerContent: SCDefaultDrawerContent_1.default,
|
|
311
313
|
SCEditGroupButton: SCEditGroupButton_1.default,
|
|
312
314
|
SCEditor: SCEditor_1.default,
|
|
313
315
|
SCEmojiPicker: SCEmojiPicker_1.default,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {
|
|
4
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
5
|
+
paddingLeft: any;
|
|
6
|
+
};
|
|
7
|
+
'& .SCDefaultDrawerContent-title': {
|
|
8
|
+
paddingTop: any;
|
|
9
|
+
};
|
|
10
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
11
|
+
paddingTop: any;
|
|
12
|
+
paddingBottom: number;
|
|
13
|
+
'& .MuiListItemButton-root': {
|
|
14
|
+
paddingLeft: any;
|
|
15
|
+
paddingRight: any;
|
|
16
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
17
|
+
fontWeight: number;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
'& .MuiListItemIcon-root': {
|
|
21
|
+
minWidth: number;
|
|
22
|
+
marginRight: any;
|
|
23
|
+
};
|
|
24
|
+
'& .MuiIcon-root': {
|
|
25
|
+
fontSize: number;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export default Component;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({
|
|
4
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
5
|
+
paddingLeft: theme.spacing(2)
|
|
6
|
+
},
|
|
7
|
+
'& .SCDefaultDrawerContent-title': {
|
|
8
|
+
paddingTop: theme.spacing(1)
|
|
9
|
+
},
|
|
10
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
11
|
+
paddingTop: theme.spacing(0.5),
|
|
12
|
+
paddingBottom: 0,
|
|
13
|
+
'& .MuiListItemButton-root': {
|
|
14
|
+
paddingLeft: theme.spacing(3),
|
|
15
|
+
paddingRight: theme.spacing(3),
|
|
16
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
17
|
+
fontWeight: 700
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
'& .MuiListItemIcon-root': {
|
|
21
|
+
minWidth: 0,
|
|
22
|
+
marginRight: theme.spacing(2)
|
|
23
|
+
},
|
|
24
|
+
'& .MuiIcon-root': {
|
|
25
|
+
fontSize: 15
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
export default Component;
|
|
@@ -82,7 +82,9 @@ const Component = {
|
|
|
82
82
|
color: theme.palette.common.white,
|
|
83
83
|
textTransform: 'initial'
|
|
84
84
|
}
|
|
85
|
-
}
|
|
85
|
+
},
|
|
86
|
+
borderBottom: '1px solid rgba(221, 221, 221, 1)',
|
|
87
|
+
margin: theme.spacing(1, 2, 0, 2)
|
|
86
88
|
},
|
|
87
89
|
'& .SCFeedObject-content': {
|
|
88
90
|
padding: theme.spacing(1, 0, 0, 0),
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1706,6 +1706,36 @@ declare const theme: {
|
|
|
1706
1706
|
};
|
|
1707
1707
|
};
|
|
1708
1708
|
};
|
|
1709
|
+
SCDefaultDrawerContent: {
|
|
1710
|
+
styleOverrides: {
|
|
1711
|
+
root: ({ theme }: any) => {
|
|
1712
|
+
'& .SCDefaultDrawerContent-no-results': {
|
|
1713
|
+
paddingLeft: any;
|
|
1714
|
+
};
|
|
1715
|
+
'& .SCDefaultDrawerContent-title': {
|
|
1716
|
+
paddingTop: any;
|
|
1717
|
+
};
|
|
1718
|
+
'& .SCDefaultDrawerContent-navigation': {
|
|
1719
|
+
paddingTop: any;
|
|
1720
|
+
paddingBottom: number;
|
|
1721
|
+
'& .MuiListItemButton-root': {
|
|
1722
|
+
paddingLeft: any;
|
|
1723
|
+
paddingRight: any;
|
|
1724
|
+
'& .MuiListItemText-root .MuiTypography-root': {
|
|
1725
|
+
fontWeight: number;
|
|
1726
|
+
};
|
|
1727
|
+
};
|
|
1728
|
+
'& .MuiListItemIcon-root': {
|
|
1729
|
+
minWidth: number;
|
|
1730
|
+
marginRight: any;
|
|
1731
|
+
};
|
|
1732
|
+
'& .MuiIcon-root': {
|
|
1733
|
+
fontSize: number;
|
|
1734
|
+
};
|
|
1735
|
+
};
|
|
1736
|
+
};
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1709
1739
|
SCEditGroupButton: {
|
|
1710
1740
|
styleOverrides: {
|
|
1711
1741
|
root: ({ theme }: any) => {
|
|
@@ -2198,6 +2228,8 @@ declare const theme: {
|
|
|
2198
2228
|
textTransform: string;
|
|
2199
2229
|
};
|
|
2200
2230
|
};
|
|
2231
|
+
borderBottom: string;
|
|
2232
|
+
margin: any;
|
|
2201
2233
|
};
|
|
2202
2234
|
'& .SCFeedObject-content': {
|
|
2203
2235
|
padding: any;
|
|
@@ -2455,9 +2487,6 @@ declare const theme: {
|
|
|
2455
2487
|
color: string;
|
|
2456
2488
|
};
|
|
2457
2489
|
};
|
|
2458
|
-
/**
|
|
2459
|
-
* Style assets - Imports - Start
|
|
2460
|
-
*/
|
|
2461
2490
|
'& .MuiDivider-root': {
|
|
2462
2491
|
borderColor: any;
|
|
2463
2492
|
};
|
package/lib/esm/index.js
CHANGED
|
@@ -58,6 +58,7 @@ import SCCustomAdv from './components/SCCustomAdv';
|
|
|
58
58
|
import SCCustomSnackMessage from './components/SCCustomSnackMessage';
|
|
59
59
|
import SCDateTimeAgo from './components/SCDateTimeAgo';
|
|
60
60
|
import SCDefaultHeaderContent from './components/SCDefaultHeaderContent';
|
|
61
|
+
import SCDefaultDrawerContent from './components/SCDefaultDrawerContent';
|
|
61
62
|
import SCEditGroupButton from './components/SCEditGroupButton';
|
|
62
63
|
import SCEditor from './components/SCEditor';
|
|
63
64
|
import SCEmojiPicker from './components/SCEmojiPicker';
|
|
@@ -296,6 +297,7 @@ const theme = {
|
|
|
296
297
|
SCCustomSnackMessage,
|
|
297
298
|
SCDateTimeAgo,
|
|
298
299
|
SCDefaultHeaderContent,
|
|
300
|
+
SCDefaultDrawerContent,
|
|
299
301
|
SCEditGroupButton,
|
|
300
302
|
SCEditor,
|
|
301
303
|
SCEmojiPicker,
|