@selfcommunity/react-theme-default 0.2.0-alpha.18 → 0.2.0-alpha.19
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/SCGroupActionsMenu.d.ts +26 -0
- package/lib/cjs/components/SCGroupActionsMenu.js +28 -0
- package/lib/cjs/components/SCGroupHeader.d.ts +5 -2
- package/lib/cjs/components/SCGroupHeader.js +5 -2
- package/lib/cjs/index.d.ts +34 -5
- package/lib/cjs/index.js +2 -0
- package/lib/esm/components/SCGroupActionsMenu.d.ts +26 -0
- package/lib/esm/components/SCGroupActionsMenu.js +26 -0
- package/lib/esm/components/SCGroupHeader.d.ts +5 -2
- package/lib/esm/components/SCGroupHeader.js +5 -2
- package/lib/esm/index.d.ts +34 -5
- package/lib/esm/index.js +2 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
menuRoot: ({ theme }: any) => {
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: any;
|
|
7
|
+
};
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
drawerRoot: ({ theme }: any) => {
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: any;
|
|
19
|
+
};
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Component = {
|
|
4
|
+
styleOverrides: {
|
|
5
|
+
root: ({ theme }) => ({}),
|
|
6
|
+
menuRoot: ({ theme }) => ({
|
|
7
|
+
'& .MuiDivider-root': {
|
|
8
|
+
margin: theme.spacing(1)
|
|
9
|
+
},
|
|
10
|
+
'& .MuiIcon-root': {
|
|
11
|
+
fontSize: '15px'
|
|
12
|
+
}
|
|
13
|
+
}),
|
|
14
|
+
drawerRoot: ({ theme }) => ({
|
|
15
|
+
'& .SCGroupActionsMenu-item': {
|
|
16
|
+
paddingTop: 0,
|
|
17
|
+
paddingBottom: 0
|
|
18
|
+
},
|
|
19
|
+
'& .MuiDivider-root': {
|
|
20
|
+
margin: theme.spacing(2)
|
|
21
|
+
},
|
|
22
|
+
'& .MuiIcon-root': {
|
|
23
|
+
fontSize: '15px'
|
|
24
|
+
}
|
|
25
|
+
})
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.default = Component;
|
|
@@ -40,10 +40,13 @@ declare const Component: {
|
|
|
40
40
|
gap: any;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: string;
|
|
44
45
|
marginLeft: string;
|
|
45
46
|
marginTop: any;
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: any;
|
|
49
|
+
};
|
|
47
50
|
};
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: any;
|
|
@@ -42,10 +42,13 @@ const Component = {
|
|
|
42
42
|
gap: theme.spacing(0.5)
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
|
-
'& .
|
|
45
|
+
'& .SCGroupHeader-multi-actions': {
|
|
46
|
+
display: 'flex',
|
|
46
47
|
marginLeft: 'auto',
|
|
47
48
|
marginTop: theme.spacing(-4.25),
|
|
48
|
-
|
|
49
|
+
'& .SCEditGroupButton-root': {
|
|
50
|
+
marginRight: theme.spacing(1)
|
|
51
|
+
}
|
|
49
52
|
},
|
|
50
53
|
'& .SCGroupSubscribeButton-root': {
|
|
51
54
|
marginTop: theme.spacing(1)
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2397,9 +2397,7 @@ declare const theme: {
|
|
|
2397
2397
|
fontWeight: any;
|
|
2398
2398
|
marginTop: any;
|
|
2399
2399
|
marginBottom: number;
|
|
2400
|
-
color: any;
|
|
2401
|
-
* Export default theme
|
|
2402
|
-
*/
|
|
2400
|
+
color: any;
|
|
2403
2401
|
'&:hover': {
|
|
2404
2402
|
color: string;
|
|
2405
2403
|
};
|
|
@@ -2910,6 +2908,31 @@ declare const theme: {
|
|
|
2910
2908
|
skeletonRoot: ({ theme }: any) => {};
|
|
2911
2909
|
};
|
|
2912
2910
|
};
|
|
2911
|
+
SCGroupActionsMenu: {
|
|
2912
|
+
styleOverrides: {
|
|
2913
|
+
root: ({ theme }: any) => {};
|
|
2914
|
+
menuRoot: ({ theme }: any) => {
|
|
2915
|
+
'& .MuiDivider-root': {
|
|
2916
|
+
margin: any;
|
|
2917
|
+
};
|
|
2918
|
+
'& .MuiIcon-root': {
|
|
2919
|
+
fontSize: string;
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
drawerRoot: ({ theme }: any) => {
|
|
2923
|
+
'& .SCGroupActionsMenu-item': {
|
|
2924
|
+
paddingTop: number;
|
|
2925
|
+
paddingBottom: number;
|
|
2926
|
+
};
|
|
2927
|
+
'& .MuiDivider-root': {
|
|
2928
|
+
margin: any;
|
|
2929
|
+
};
|
|
2930
|
+
'& .MuiIcon-root': {
|
|
2931
|
+
fontSize: string;
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
};
|
|
2913
2936
|
SCGroupAutocomplete: {
|
|
2914
2937
|
styleOverrides: {
|
|
2915
2938
|
root: ({ theme }: any) => {};
|
|
@@ -3060,10 +3083,13 @@ declare const theme: {
|
|
|
3060
3083
|
gap: any;
|
|
3061
3084
|
};
|
|
3062
3085
|
};
|
|
3063
|
-
'& .
|
|
3086
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3087
|
+
display: string;
|
|
3064
3088
|
marginLeft: string;
|
|
3065
3089
|
marginTop: any;
|
|
3066
|
-
|
|
3090
|
+
'& .SCEditGroupButton-root': {
|
|
3091
|
+
marginRight: any;
|
|
3092
|
+
};
|
|
3067
3093
|
};
|
|
3068
3094
|
'& .SCGroupSubscribeButton-root': {
|
|
3069
3095
|
marginTop: any;
|
|
@@ -5276,6 +5302,9 @@ declare const theme: {
|
|
|
5276
5302
|
'& .MuiBadge-badge': {
|
|
5277
5303
|
right: any;
|
|
5278
5304
|
top: any;
|
|
5305
|
+
/**
|
|
5306
|
+
* Export default theme
|
|
5307
|
+
*/
|
|
5279
5308
|
'& .SCUserAvatar-badge-content': {
|
|
5280
5309
|
width: number;
|
|
5281
5310
|
height: number;
|
package/lib/cjs/index.js
CHANGED
|
@@ -84,6 +84,7 @@ const SCFeedObjectMediaPreview_1 = tslib_1.__importDefault(require("./components
|
|
|
84
84
|
const SCFeedUpdatesWidget_1 = tslib_1.__importDefault(require("./components/SCFeedUpdatesWidget"));
|
|
85
85
|
const SCFooter_1 = tslib_1.__importDefault(require("./components/SCFooter"));
|
|
86
86
|
const SCGroup_1 = tslib_1.__importDefault(require("./components/SCGroup"));
|
|
87
|
+
const SCGroupActionsMenu_1 = tslib_1.__importDefault(require("./components/SCGroupActionsMenu"));
|
|
87
88
|
const SCGroupAutocomplete_1 = tslib_1.__importDefault(require("./components/SCGroupAutocomplete"));
|
|
88
89
|
const SCGroupFeedTemplate_1 = tslib_1.__importDefault(require("./components/SCGroupFeedTemplate"));
|
|
89
90
|
const SCGroupForm_1 = tslib_1.__importDefault(require("./components/SCGroupForm"));
|
|
@@ -293,6 +294,7 @@ const theme = {
|
|
|
293
294
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
294
295
|
SCFooter: SCFooter_1.default,
|
|
295
296
|
SCGroup: SCGroup_1.default,
|
|
297
|
+
SCGroupActionsMenu: SCGroupActionsMenu_1.default,
|
|
296
298
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
297
299
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
298
300
|
SCGroupForm: SCGroupForm_1.default,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const Component: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }: any) => {};
|
|
4
|
+
menuRoot: ({ theme }: any) => {
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: any;
|
|
7
|
+
};
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
drawerRoot: ({ theme }: any) => {
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: number;
|
|
15
|
+
paddingBottom: number;
|
|
16
|
+
};
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: any;
|
|
19
|
+
};
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const Component = {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
root: ({ theme }) => ({}),
|
|
4
|
+
menuRoot: ({ theme }) => ({
|
|
5
|
+
'& .MuiDivider-root': {
|
|
6
|
+
margin: theme.spacing(1)
|
|
7
|
+
},
|
|
8
|
+
'& .MuiIcon-root': {
|
|
9
|
+
fontSize: '15px'
|
|
10
|
+
}
|
|
11
|
+
}),
|
|
12
|
+
drawerRoot: ({ theme }) => ({
|
|
13
|
+
'& .SCGroupActionsMenu-item': {
|
|
14
|
+
paddingTop: 0,
|
|
15
|
+
paddingBottom: 0
|
|
16
|
+
},
|
|
17
|
+
'& .MuiDivider-root': {
|
|
18
|
+
margin: theme.spacing(2)
|
|
19
|
+
},
|
|
20
|
+
'& .MuiIcon-root': {
|
|
21
|
+
fontSize: '15px'
|
|
22
|
+
}
|
|
23
|
+
})
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
export default Component;
|
|
@@ -40,10 +40,13 @@ declare const Component: {
|
|
|
40
40
|
gap: any;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: string;
|
|
44
45
|
marginLeft: string;
|
|
45
46
|
marginTop: any;
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: any;
|
|
49
|
+
};
|
|
47
50
|
};
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: any;
|
|
@@ -40,10 +40,13 @@ const Component = {
|
|
|
40
40
|
gap: theme.spacing(0.5)
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
'& .
|
|
43
|
+
'& .SCGroupHeader-multi-actions': {
|
|
44
|
+
display: 'flex',
|
|
44
45
|
marginLeft: 'auto',
|
|
45
46
|
marginTop: theme.spacing(-4.25),
|
|
46
|
-
|
|
47
|
+
'& .SCEditGroupButton-root': {
|
|
48
|
+
marginRight: theme.spacing(1)
|
|
49
|
+
}
|
|
47
50
|
},
|
|
48
51
|
'& .SCGroupSubscribeButton-root': {
|
|
49
52
|
marginTop: theme.spacing(1)
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -2397,9 +2397,7 @@ declare const theme: {
|
|
|
2397
2397
|
fontWeight: any;
|
|
2398
2398
|
marginTop: any;
|
|
2399
2399
|
marginBottom: number;
|
|
2400
|
-
color: any;
|
|
2401
|
-
* Export default theme
|
|
2402
|
-
*/
|
|
2400
|
+
color: any;
|
|
2403
2401
|
'&:hover': {
|
|
2404
2402
|
color: string;
|
|
2405
2403
|
};
|
|
@@ -2910,6 +2908,31 @@ declare const theme: {
|
|
|
2910
2908
|
skeletonRoot: ({ theme }: any) => {};
|
|
2911
2909
|
};
|
|
2912
2910
|
};
|
|
2911
|
+
SCGroupActionsMenu: {
|
|
2912
|
+
styleOverrides: {
|
|
2913
|
+
root: ({ theme }: any) => {};
|
|
2914
|
+
menuRoot: ({ theme }: any) => {
|
|
2915
|
+
'& .MuiDivider-root': {
|
|
2916
|
+
margin: any;
|
|
2917
|
+
};
|
|
2918
|
+
'& .MuiIcon-root': {
|
|
2919
|
+
fontSize: string;
|
|
2920
|
+
};
|
|
2921
|
+
};
|
|
2922
|
+
drawerRoot: ({ theme }: any) => {
|
|
2923
|
+
'& .SCGroupActionsMenu-item': {
|
|
2924
|
+
paddingTop: number;
|
|
2925
|
+
paddingBottom: number;
|
|
2926
|
+
};
|
|
2927
|
+
'& .MuiDivider-root': {
|
|
2928
|
+
margin: any;
|
|
2929
|
+
};
|
|
2930
|
+
'& .MuiIcon-root': {
|
|
2931
|
+
fontSize: string;
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
};
|
|
2935
|
+
};
|
|
2913
2936
|
SCGroupAutocomplete: {
|
|
2914
2937
|
styleOverrides: {
|
|
2915
2938
|
root: ({ theme }: any) => {};
|
|
@@ -3060,10 +3083,13 @@ declare const theme: {
|
|
|
3060
3083
|
gap: any;
|
|
3061
3084
|
};
|
|
3062
3085
|
};
|
|
3063
|
-
'& .
|
|
3086
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3087
|
+
display: string;
|
|
3064
3088
|
marginLeft: string;
|
|
3065
3089
|
marginTop: any;
|
|
3066
|
-
|
|
3090
|
+
'& .SCEditGroupButton-root': {
|
|
3091
|
+
marginRight: any;
|
|
3092
|
+
};
|
|
3067
3093
|
};
|
|
3068
3094
|
'& .SCGroupSubscribeButton-root': {
|
|
3069
3095
|
marginTop: any;
|
|
@@ -5276,6 +5302,9 @@ declare const theme: {
|
|
|
5276
5302
|
'& .MuiBadge-badge': {
|
|
5277
5303
|
right: any;
|
|
5278
5304
|
top: any;
|
|
5305
|
+
/**
|
|
5306
|
+
* Export default theme
|
|
5307
|
+
*/
|
|
5279
5308
|
'& .SCUserAvatar-badge-content': {
|
|
5280
5309
|
width: number;
|
|
5281
5310
|
height: number;
|
package/lib/esm/index.js
CHANGED
|
@@ -81,6 +81,7 @@ import SCFeedObjectMediaPreview from './components/SCFeedObjectMediaPreview';
|
|
|
81
81
|
import SCFeedUpdatesWidget from './components/SCFeedUpdatesWidget';
|
|
82
82
|
import SCFooter from './components/SCFooter';
|
|
83
83
|
import SCGroup from './components/SCGroup';
|
|
84
|
+
import SCGroupActionsMenu from './components/SCGroupActionsMenu';
|
|
84
85
|
import SCGroupAutocomplete from './components/SCGroupAutocomplete';
|
|
85
86
|
import SCGroupFeedTemplate from './components/SCGroupFeedTemplate';
|
|
86
87
|
import SCGroupForm from './components/SCGroupForm';
|
|
@@ -290,6 +291,7 @@ const theme = {
|
|
|
290
291
|
SCFeedUpdatesWidget,
|
|
291
292
|
SCFooter,
|
|
292
293
|
SCGroup,
|
|
294
|
+
SCGroupActionsMenu,
|
|
293
295
|
SCGroupAutocomplete,
|
|
294
296
|
SCGroupFeedTemplate,
|
|
295
297
|
SCGroupForm,
|