@selfcommunity/react-theme-default 0.2.0-alpha.3 → 0.2.0-alpha.30
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/MuiAppBar.js +4 -3
- package/lib/cjs/components/SCBottomNavigation.js +5 -4
- package/lib/cjs/components/SCEventForm.d.ts +5 -0
- package/lib/cjs/components/SCEventForm.js +6 -1
- package/lib/cjs/components/SCFeed.d.ts +9 -3
- package/lib/cjs/components/SCFeed.js +9 -3
- package/lib/cjs/components/SCFeedObject.d.ts +4 -0
- package/lib/cjs/components/SCFeedObject.js +4 -0
- 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/components/SCMediaLink.d.ts +47 -1
- package/lib/cjs/components/SCMediaLink.js +52 -2
- package/lib/cjs/components/SCNavigationMenuDrawer.d.ts +42 -0
- package/lib/cjs/components/SCNavigationMenuDrawer.js +45 -0
- package/lib/cjs/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/cjs/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/cjs/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/cjs/components/SCNavigationToolbar.js +68 -62
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +17 -6
- package/lib/cjs/components/SCOnBoardingWidget.js +20 -8
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
- package/lib/cjs/index.d.ts +129 -18
- package/lib/cjs/index.js +4 -0
- package/lib/esm/components/MuiAppBar.js +4 -3
- package/lib/esm/components/SCBottomNavigation.js +5 -4
- package/lib/esm/components/SCEventForm.d.ts +5 -0
- package/lib/esm/components/SCEventForm.js +6 -1
- package/lib/esm/components/SCFeed.d.ts +9 -3
- package/lib/esm/components/SCFeed.js +9 -3
- package/lib/esm/components/SCFeedObject.d.ts +4 -0
- package/lib/esm/components/SCFeedObject.js +4 -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/components/SCMediaLink.d.ts +47 -1
- package/lib/esm/components/SCMediaLink.js +52 -2
- package/lib/esm/components/SCNavigationMenuDrawer.d.ts +42 -0
- package/lib/esm/components/SCNavigationMenuDrawer.js +43 -0
- package/lib/esm/components/SCNavigationMenuIconButton.d.ts +0 -37
- package/lib/esm/components/SCNavigationMenuIconButton.js +1 -39
- package/lib/esm/components/SCNavigationToolbar.d.ts +3 -1
- package/lib/esm/components/SCNavigationToolbar.js +68 -62
- package/lib/esm/components/SCOnBoardingWidget.d.ts +17 -6
- package/lib/esm/components/SCOnBoardingWidget.js +20 -8
- package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/esm/components/SCSearchAutocomplete.js +29 -21
- package/lib/esm/index.d.ts +129 -18
- package/lib/esm/index.js +4 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -4
|
@@ -1,78 +1,84 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const styles_1 = require("@mui/material/styles");
|
|
3
4
|
const Component = {
|
|
4
5
|
styleOverrides: {
|
|
5
|
-
root: ({ theme }) =>
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
'&
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
root: ({ theme }) => {
|
|
7
|
+
var _a, _b;
|
|
8
|
+
return ({
|
|
9
|
+
padding: theme.spacing(0, 1),
|
|
10
|
+
'& .SCNavigationToolbar-logo, & .SCNavigationToolbar-custom-item': {
|
|
11
|
+
marginRight: theme.spacing(2),
|
|
12
|
+
'& img': {
|
|
13
|
+
verticalAlign: 'middle',
|
|
14
|
+
maxHeight: theme.mixins.toolbar.minHeight - 20
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
'& .SCNavigationToolbar-navigation': {
|
|
18
|
+
flexGrow: 1,
|
|
19
|
+
textAlign: 'center',
|
|
20
|
+
alignSelf: 'end',
|
|
21
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
|
|
22
|
+
paddingTop: 12,
|
|
23
|
+
paddingLeft: theme.spacing(1),
|
|
24
|
+
paddingRight: theme.spacing(1),
|
|
25
|
+
paddingBottom: 11,
|
|
26
|
+
margin: theme.spacing(0, 1),
|
|
27
|
+
borderRadius: 0,
|
|
28
|
+
borderBottom: `2px solid transparent`,
|
|
29
|
+
'&.SCNavigationToolbar-active, &:hover': {
|
|
30
|
+
color: theme.palette.secondary.main,
|
|
31
|
+
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
'& .SCNavigationToolbar-search': {
|
|
36
|
+
flexGrow: 1,
|
|
37
|
+
textAlign: 'right',
|
|
38
|
+
marginRight: theme.spacing(1.5),
|
|
39
|
+
'& .MuiFormControl-root': {
|
|
40
|
+
width: 190,
|
|
41
|
+
[theme.breakpoints.up('lg')]: {
|
|
42
|
+
width: 300
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
'& .SCNavigationToolbar-profile, & .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
|
|
47
|
+
margin: theme.spacing(0, 0.5)
|
|
48
|
+
},
|
|
49
|
+
'& .SCNavigationToolbar-profile .MuiAvatar-root': {
|
|
50
|
+
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
51
|
+
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
52
|
+
},
|
|
53
|
+
'& .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
|
|
19
54
|
paddingTop: 12,
|
|
20
|
-
|
|
21
|
-
paddingRight: theme.spacing(1),
|
|
22
|
-
paddingBottom: 11,
|
|
23
|
-
margin: theme.spacing(0, 1),
|
|
24
|
-
color: theme.palette.primary.main,
|
|
55
|
+
paddingBottom: 9,
|
|
25
56
|
borderRadius: 0,
|
|
26
57
|
borderBottom: `2px solid transparent`,
|
|
27
58
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
28
59
|
color: theme.palette.secondary.main,
|
|
29
60
|
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
30
61
|
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
'& .SCNavigationToolbar-profile .MuiAvatar-root': {
|
|
48
|
-
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
49
|
-
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
50
|
-
},
|
|
51
|
-
'& .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
|
|
52
|
-
paddingTop: 12,
|
|
53
|
-
paddingBottom: 9,
|
|
54
|
-
borderRadius: 0,
|
|
55
|
-
borderBottom: `2px solid transparent`,
|
|
56
|
-
'&.SCNavigationToolbar-active, &:hover': {
|
|
57
|
-
color: theme.palette.secondary.main,
|
|
58
|
-
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
'& .SCNavigationToolbar-settings': {
|
|
62
|
-
marginLeft: 0
|
|
63
|
-
},
|
|
64
|
-
'& .MuiIconButton-root': {
|
|
65
|
-
color: theme.palette.primary.main
|
|
66
|
-
},
|
|
67
|
-
[theme.breakpoints.up(950)]: {
|
|
68
|
-
padding: theme.spacing(0, 2),
|
|
69
|
-
'& .SCNavigationToolbar-navigation': {
|
|
70
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
71
|
-
margin: theme.spacing(0, 2)
|
|
62
|
+
},
|
|
63
|
+
'& .SCNavigationToolbar-settings': {
|
|
64
|
+
marginLeft: 0
|
|
65
|
+
},
|
|
66
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
67
|
+
color: theme.palette.secondary.main
|
|
68
|
+
},
|
|
69
|
+
'& .MuiIconButton-root': {
|
|
70
|
+
color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
71
|
+
},
|
|
72
|
+
[theme.breakpoints.up(950)]: {
|
|
73
|
+
padding: theme.spacing(0, 2),
|
|
74
|
+
'& .SCNavigationToolbar-navigation': {
|
|
75
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
76
|
+
margin: theme.spacing(0, 2)
|
|
77
|
+
}
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
80
|
+
});
|
|
81
|
+
},
|
|
76
82
|
skeletonRoot: ({ theme }) => ({
|
|
77
83
|
'& .SCNavigationToolbar-logo': {
|
|
78
84
|
width: 100,
|
|
@@ -260,8 +260,18 @@ declare const Component: {
|
|
|
260
260
|
display: string;
|
|
261
261
|
flexDirection: string;
|
|
262
262
|
};
|
|
263
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
264
|
-
|
|
263
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
264
|
+
position: string;
|
|
265
|
+
display: string;
|
|
266
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
267
|
+
margin: any;
|
|
268
|
+
};
|
|
269
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
270
|
+
position: string;
|
|
271
|
+
top: string;
|
|
272
|
+
marginTop: any;
|
|
273
|
+
marginLeft: any;
|
|
274
|
+
};
|
|
265
275
|
};
|
|
266
276
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
267
277
|
position: string;
|
|
@@ -317,17 +327,16 @@ declare const Component: {
|
|
|
317
327
|
borderRadius: number;
|
|
318
328
|
background: string;
|
|
319
329
|
boxShadow: string;
|
|
330
|
+
display: string;
|
|
331
|
+
flexDirection: string;
|
|
320
332
|
};
|
|
321
333
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
322
334
|
alignSelf: string;
|
|
323
335
|
};
|
|
324
336
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
325
|
-
|
|
326
|
-
top: number;
|
|
327
|
-
};
|
|
337
|
+
position: string;
|
|
328
338
|
top: number;
|
|
329
339
|
display: string;
|
|
330
|
-
position: string;
|
|
331
340
|
marginLeft: any;
|
|
332
341
|
'& > .MuiBadge-root > img': {
|
|
333
342
|
height: any;
|
|
@@ -348,9 +357,11 @@ declare const Component: {
|
|
|
348
357
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
349
358
|
[x: number]: {
|
|
350
359
|
top: number;
|
|
360
|
+
left: number;
|
|
351
361
|
};
|
|
352
362
|
top: number;
|
|
353
363
|
left: number;
|
|
364
|
+
height: number;
|
|
354
365
|
position: string;
|
|
355
366
|
display: string;
|
|
356
367
|
marginLeft: any;
|
|
@@ -262,8 +262,18 @@ const Component = {
|
|
|
262
262
|
display: 'flex',
|
|
263
263
|
flexDirection: 'column'
|
|
264
264
|
},
|
|
265
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
266
|
-
|
|
265
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
266
|
+
position: 'relative',
|
|
267
|
+
display: 'inline-block',
|
|
268
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
269
|
+
margin: theme.spacing(1, 0, 2, 0)
|
|
270
|
+
},
|
|
271
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
272
|
+
position: 'absolute',
|
|
273
|
+
top: '50%',
|
|
274
|
+
marginTop: theme.spacing(-2),
|
|
275
|
+
marginLeft: theme.spacing(-4.5)
|
|
276
|
+
}
|
|
267
277
|
},
|
|
268
278
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
269
279
|
position: 'relative',
|
|
@@ -318,16 +328,17 @@ const Component = {
|
|
|
318
328
|
boxShadow: 'unset',
|
|
319
329
|
[theme.breakpoints.up('md')]: {
|
|
320
330
|
borderRadius: theme.spacing(0, 0, 2.5, 2.5)
|
|
321
|
-
}
|
|
331
|
+
},
|
|
332
|
+
display: 'flex',
|
|
333
|
+
flexDirection: 'row'
|
|
322
334
|
},
|
|
323
335
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
324
336
|
alignSelf: 'end'
|
|
325
337
|
},
|
|
326
338
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
339
|
+
position: 'relative',
|
|
327
340
|
top: 100,
|
|
328
|
-
[theme.breakpoints.up('sm')]: { top: 150 },
|
|
329
341
|
display: 'block',
|
|
330
|
-
position: 'absolute',
|
|
331
342
|
marginLeft: theme.spacing(2),
|
|
332
343
|
'& > .MuiBadge-root > img': {
|
|
333
344
|
height: theme.selfcommunity.user.avatar.sizeXLarge,
|
|
@@ -346,9 +357,10 @@ const Component = {
|
|
|
346
357
|
}
|
|
347
358
|
},
|
|
348
359
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
349
|
-
top:
|
|
350
|
-
|
|
351
|
-
left:
|
|
360
|
+
[theme.breakpoints.down('sm')]: { top: 167, left: -45 },
|
|
361
|
+
top: 165,
|
|
362
|
+
left: -40,
|
|
363
|
+
height: 28,
|
|
352
364
|
position: 'relative',
|
|
353
365
|
display: 'flex',
|
|
354
366
|
marginLeft: theme.spacing(2)
|
|
@@ -1,31 +1,39 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const system_1 = require("@mui/system");
|
|
4
|
+
const styles_1 = require("@mui/material/styles");
|
|
4
5
|
const Component = {
|
|
5
6
|
styleOverrides: {
|
|
6
|
-
root: ({ theme }) =>
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
borderColor: (0, system_1.alpha)(theme.palette.primary.main, theme.palette.action.disabledOpacity)
|
|
17
|
-
},
|
|
18
|
-
'&:hover fieldset': {
|
|
19
|
-
borderColor: theme.palette.primary.main
|
|
20
|
-
},
|
|
21
|
-
'&.Mui-focused fieldset': {
|
|
22
|
-
borderColor: theme.palette.secondary.main
|
|
7
|
+
root: ({ theme }) => {
|
|
8
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
9
|
+
return ({
|
|
10
|
+
'& .SCSearchAutocomplete-input': {
|
|
11
|
+
padding: theme.spacing(0, 2),
|
|
12
|
+
borderRadius: theme.shape.borderRadius,
|
|
13
|
+
'& .MuiAutocomplete-input': {
|
|
14
|
+
padding: theme.spacing(0.5, 1),
|
|
15
|
+
color: (0, styles_1.getContrastRatio)((_b = (_a = theme.palette) === null || _a === void 0 ? void 0 : _a.navbar) === null || _b === void 0 ? void 0 : _b.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
16
|
+
}
|
|
23
17
|
},
|
|
24
|
-
'
|
|
25
|
-
|
|
18
|
+
'& .MuiInputBase-root': {
|
|
19
|
+
'& .MuiIcon-root': {
|
|
20
|
+
color: (0, styles_1.getContrastRatio)((_d = (_c = theme.palette) === null || _c === void 0 ? void 0 : _c.navbar) === null || _d === void 0 ? void 0 : _d.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
21
|
+
},
|
|
22
|
+
'& fieldset': {
|
|
23
|
+
borderColor: (0, system_1.alpha)((0, styles_1.getContrastRatio)((_f = (_e = theme.palette) === null || _e === void 0 ? void 0 : _e.navbar) === null || _f === void 0 ? void 0 : _f.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main, theme.palette.action.disabledOpacity)
|
|
24
|
+
},
|
|
25
|
+
'&:hover fieldset': {
|
|
26
|
+
borderColor: (0, styles_1.getContrastRatio)((_h = (_g = theme.palette) === null || _g === void 0 ? void 0 : _g.navbar) === null || _h === void 0 ? void 0 : _h.main, '#fff') > 4.5 ? '#fff' : theme.palette.primary.main
|
|
27
|
+
},
|
|
28
|
+
'&.Mui-focused fieldset': {
|
|
29
|
+
borderColor: (0, styles_1.getContrastRatio)((_k = (_j = theme.palette) === null || _j === void 0 ? void 0 : _j.navbar) === null || _k === void 0 ? void 0 : _k.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
|
|
30
|
+
},
|
|
31
|
+
'&.Mui-focused .SCSearchAutocomplete-icon': {
|
|
32
|
+
color: (0, styles_1.getContrastRatio)((_m = (_l = theme.palette) === null || _l === void 0 ? void 0 : _l.navbar) === null || _m === void 0 ? void 0 : _m.main, '#fff') > 4.5 ? '#fff' : theme.palette.secondary.main
|
|
33
|
+
}
|
|
26
34
|
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
29
37
|
}
|
|
30
38
|
};
|
|
31
39
|
exports.default = Component;
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -2029,6 +2029,14 @@ declare const theme: {
|
|
|
2029
2029
|
padding: number;
|
|
2030
2030
|
marginBottom: any;
|
|
2031
2031
|
};
|
|
2032
|
+
'& .SCFeed-header-item': {
|
|
2033
|
+
animation: string;
|
|
2034
|
+
'@keyframes pulse-animation': {
|
|
2035
|
+
'0%': {
|
|
2036
|
+
opacity: number;
|
|
2037
|
+
};
|
|
2038
|
+
};
|
|
2039
|
+
};
|
|
2032
2040
|
};
|
|
2033
2041
|
'& .SCFeed-end': {
|
|
2034
2042
|
'& > .SCWidget-root': {
|
|
@@ -2042,9 +2050,7 @@ declare const theme: {
|
|
|
2042
2050
|
padding: any;
|
|
2043
2051
|
};
|
|
2044
2052
|
};
|
|
2045
|
-
'& .SCFeed-refresh': {
|
|
2046
|
-
textAlign: string;
|
|
2047
|
-
};
|
|
2053
|
+
'& .SCFeed-refresh': {};
|
|
2048
2054
|
'& .SCFeed-pagination-link': {
|
|
2049
2055
|
display: string;
|
|
2050
2056
|
};
|
|
@@ -2369,6 +2375,10 @@ declare const theme: {
|
|
|
2369
2375
|
'& li': {
|
|
2370
2376
|
margin: string;
|
|
2371
2377
|
};
|
|
2378
|
+
'& span span': {
|
|
2379
|
+
display: string;
|
|
2380
|
+
width: string;
|
|
2381
|
+
};
|
|
2372
2382
|
};
|
|
2373
2383
|
'& .SCFeedObject-medias-section': {
|
|
2374
2384
|
'& .SCFeedObjectMediaPreview-root': {
|
|
@@ -2399,9 +2409,7 @@ declare const theme: {
|
|
|
2399
2409
|
fontWeight: any;
|
|
2400
2410
|
marginTop: any;
|
|
2401
2411
|
marginBottom: number;
|
|
2402
|
-
color: any;
|
|
2403
|
-
* Export default theme
|
|
2404
|
-
*/
|
|
2412
|
+
color: any;
|
|
2405
2413
|
'&:hover': {
|
|
2406
2414
|
color: string;
|
|
2407
2415
|
};
|
|
@@ -2912,6 +2920,31 @@ declare const theme: {
|
|
|
2912
2920
|
skeletonRoot: ({ theme }: any) => {};
|
|
2913
2921
|
};
|
|
2914
2922
|
};
|
|
2923
|
+
SCGroupActionsMenu: {
|
|
2924
|
+
styleOverrides: {
|
|
2925
|
+
root: ({ theme }: any) => {};
|
|
2926
|
+
menuRoot: ({ theme }: any) => {
|
|
2927
|
+
'& .MuiDivider-root': {
|
|
2928
|
+
margin: any;
|
|
2929
|
+
};
|
|
2930
|
+
'& .MuiIcon-root': {
|
|
2931
|
+
fontSize: string;
|
|
2932
|
+
};
|
|
2933
|
+
};
|
|
2934
|
+
drawerRoot: ({ theme }: any) => {
|
|
2935
|
+
'& .SCGroupActionsMenu-item': {
|
|
2936
|
+
paddingTop: number;
|
|
2937
|
+
paddingBottom: number;
|
|
2938
|
+
};
|
|
2939
|
+
'& .MuiDivider-root': {
|
|
2940
|
+
margin: any;
|
|
2941
|
+
};
|
|
2942
|
+
'& .MuiIcon-root': {
|
|
2943
|
+
fontSize: string;
|
|
2944
|
+
};
|
|
2945
|
+
};
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2915
2948
|
SCGroupAutocomplete: {
|
|
2916
2949
|
styleOverrides: {
|
|
2917
2950
|
root: ({ theme }: any) => {};
|
|
@@ -3062,10 +3095,13 @@ declare const theme: {
|
|
|
3062
3095
|
gap: any;
|
|
3063
3096
|
};
|
|
3064
3097
|
};
|
|
3065
|
-
'& .
|
|
3098
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3099
|
+
display: string;
|
|
3066
3100
|
marginLeft: string;
|
|
3067
3101
|
marginTop: any;
|
|
3068
|
-
|
|
3102
|
+
'& .SCEditGroupButton-root': {
|
|
3103
|
+
marginRight: any;
|
|
3104
|
+
};
|
|
3069
3105
|
};
|
|
3070
3106
|
'& .SCGroupSubscribeButton-root': {
|
|
3071
3107
|
marginTop: any;
|
|
@@ -4171,6 +4207,31 @@ declare const theme: {
|
|
|
4171
4207
|
margin: string;
|
|
4172
4208
|
height: number;
|
|
4173
4209
|
};
|
|
4210
|
+
'& .SCMediaLink-html-wrap': {
|
|
4211
|
+
position: string;
|
|
4212
|
+
marginLeft: any;
|
|
4213
|
+
marginRight: any;
|
|
4214
|
+
'& .SCMediaLink-html': {
|
|
4215
|
+
width: string;
|
|
4216
|
+
position: string;
|
|
4217
|
+
top: number;
|
|
4218
|
+
'& iframe': {
|
|
4219
|
+
width: string;
|
|
4220
|
+
margin: string;
|
|
4221
|
+
};
|
|
4222
|
+
};
|
|
4223
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4224
|
+
width: string;
|
|
4225
|
+
position: string;
|
|
4226
|
+
top: number;
|
|
4227
|
+
'& .SCMediaLink-html-loading': {
|
|
4228
|
+
position: string;
|
|
4229
|
+
display: string;
|
|
4230
|
+
top: string;
|
|
4231
|
+
left: string;
|
|
4232
|
+
};
|
|
4233
|
+
};
|
|
4234
|
+
};
|
|
4174
4235
|
'& .SCMediaLink-thumbnail': {
|
|
4175
4236
|
[x: number]: {
|
|
4176
4237
|
maxWidth: number;
|
|
@@ -4211,12 +4272,33 @@ declare const theme: {
|
|
|
4211
4272
|
previewRoot: ({ theme }: any) => {
|
|
4212
4273
|
'& .SCMediaLink-media': {
|
|
4213
4274
|
position: string;
|
|
4214
|
-
|
|
4275
|
+
'& .SCMediaLink-html-wrap': {
|
|
4276
|
+
'& .SCMediaLink-html': {
|
|
4277
|
+
width: string;
|
|
4278
|
+
position: string;
|
|
4279
|
+
'& iframe': {
|
|
4280
|
+
width: string;
|
|
4281
|
+
margin: string;
|
|
4282
|
+
};
|
|
4283
|
+
};
|
|
4284
|
+
'& .SCMediaLink-html-placeholder': {
|
|
4285
|
+
width: string;
|
|
4286
|
+
position: string;
|
|
4287
|
+
top: number;
|
|
4288
|
+
'& .SCMediaLink-html-loading': {
|
|
4289
|
+
position: string;
|
|
4290
|
+
display: string;
|
|
4291
|
+
top: string;
|
|
4292
|
+
left: string;
|
|
4293
|
+
};
|
|
4294
|
+
};
|
|
4295
|
+
};
|
|
4215
4296
|
'& .SCMediaLink-delete': {
|
|
4216
4297
|
background: any;
|
|
4217
4298
|
position: string;
|
|
4218
4299
|
right: any;
|
|
4219
4300
|
top: any;
|
|
4301
|
+
zIndex: number;
|
|
4220
4302
|
};
|
|
4221
4303
|
'&.SCMediaLink-media-video .SCMediaLink-delete': {
|
|
4222
4304
|
background: any;
|
|
@@ -4241,14 +4323,18 @@ declare const theme: {
|
|
|
4241
4323
|
SCNavigationMenuIconButton: {
|
|
4242
4324
|
styleOverrides: {
|
|
4243
4325
|
root: ({ theme }: any) => {};
|
|
4244
|
-
|
|
4326
|
+
};
|
|
4327
|
+
};
|
|
4328
|
+
SCNavigationMenuDrawer: {
|
|
4329
|
+
styleOverrides: {
|
|
4330
|
+
root: ({ theme }: any) => {
|
|
4245
4331
|
'& .MuiDrawer-paper': {
|
|
4246
4332
|
[x: number]: {
|
|
4247
4333
|
width: any;
|
|
4248
4334
|
};
|
|
4249
4335
|
width: string;
|
|
4250
4336
|
};
|
|
4251
|
-
'& .
|
|
4337
|
+
'& .SCNavigationMenuDrawer-drawer-header': {
|
|
4252
4338
|
minHeight: any;
|
|
4253
4339
|
padding: string;
|
|
4254
4340
|
display: string;
|
|
@@ -4322,7 +4408,6 @@ declare const theme: {
|
|
|
4322
4408
|
paddingRight: any;
|
|
4323
4409
|
paddingBottom: number;
|
|
4324
4410
|
margin: any;
|
|
4325
|
-
color: any;
|
|
4326
4411
|
borderRadius: number;
|
|
4327
4412
|
borderBottom: string;
|
|
4328
4413
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
@@ -4362,6 +4447,9 @@ declare const theme: {
|
|
|
4362
4447
|
'& .SCNavigationToolbar-settings': {
|
|
4363
4448
|
marginLeft: number;
|
|
4364
4449
|
};
|
|
4450
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
4451
|
+
color: any;
|
|
4452
|
+
};
|
|
4365
4453
|
'& .MuiIconButton-root': {
|
|
4366
4454
|
color: any;
|
|
4367
4455
|
};
|
|
@@ -4795,6 +4883,9 @@ declare const theme: {
|
|
|
4795
4883
|
width: string;
|
|
4796
4884
|
'& .SCNotification-username': {
|
|
4797
4885
|
fontWeight: number;
|
|
4886
|
+
/**
|
|
4887
|
+
* Export default theme
|
|
4888
|
+
*/
|
|
4798
4889
|
'&:hover': {
|
|
4799
4890
|
textDecoration: string;
|
|
4800
4891
|
};
|
|
@@ -5154,8 +5245,18 @@ declare const theme: {
|
|
|
5154
5245
|
display: string;
|
|
5155
5246
|
flexDirection: string;
|
|
5156
5247
|
};
|
|
5157
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
5158
|
-
|
|
5248
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
5249
|
+
position: string;
|
|
5250
|
+
display: string;
|
|
5251
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
5252
|
+
margin: any;
|
|
5253
|
+
};
|
|
5254
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
5255
|
+
position: string;
|
|
5256
|
+
top: string;
|
|
5257
|
+
marginTop: any;
|
|
5258
|
+
marginLeft: any;
|
|
5259
|
+
};
|
|
5159
5260
|
};
|
|
5160
5261
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
5161
5262
|
position: string;
|
|
@@ -5211,17 +5312,16 @@ declare const theme: {
|
|
|
5211
5312
|
borderRadius: number;
|
|
5212
5313
|
background: string;
|
|
5213
5314
|
boxShadow: string;
|
|
5315
|
+
display: string;
|
|
5316
|
+
flexDirection: string;
|
|
5214
5317
|
};
|
|
5215
5318
|
'& .SCOnBoardingWidget-profile-icon': {
|
|
5216
5319
|
alignSelf: string;
|
|
5217
5320
|
};
|
|
5218
5321
|
'& .SCOnBoardingWidget-profile-avatar': {
|
|
5219
|
-
|
|
5220
|
-
top: number;
|
|
5221
|
-
};
|
|
5322
|
+
position: string;
|
|
5222
5323
|
top: number;
|
|
5223
5324
|
display: string;
|
|
5224
|
-
position: string;
|
|
5225
5325
|
marginLeft: any;
|
|
5226
5326
|
'& > .MuiBadge-root > img': {
|
|
5227
5327
|
height: any;
|
|
@@ -5242,9 +5342,11 @@ declare const theme: {
|
|
|
5242
5342
|
'& .SCOnBoardingWidget-profile-change-picture': {
|
|
5243
5343
|
[x: number]: {
|
|
5244
5344
|
top: number;
|
|
5345
|
+
left: number;
|
|
5245
5346
|
};
|
|
5246
5347
|
top: number;
|
|
5247
5348
|
left: number;
|
|
5349
|
+
height: number;
|
|
5248
5350
|
position: string;
|
|
5249
5351
|
display: string;
|
|
5250
5352
|
marginLeft: any;
|
|
@@ -6147,9 +6249,13 @@ declare const theme: {
|
|
|
6147
6249
|
borderRadius: any;
|
|
6148
6250
|
'& .MuiAutocomplete-input': {
|
|
6149
6251
|
padding: any;
|
|
6252
|
+
color: any;
|
|
6150
6253
|
};
|
|
6151
6254
|
};
|
|
6152
6255
|
'& .MuiInputBase-root': {
|
|
6256
|
+
'& .MuiIcon-root': {
|
|
6257
|
+
color: any;
|
|
6258
|
+
};
|
|
6153
6259
|
'& fieldset': {
|
|
6154
6260
|
borderColor: string;
|
|
6155
6261
|
};
|
|
@@ -6705,6 +6811,10 @@ declare const theme: {
|
|
|
6705
6811
|
'& .SCEventForm-form': {
|
|
6706
6812
|
'& .SCEventForm-picker': {
|
|
6707
6813
|
width: string;
|
|
6814
|
+
'& .MuiFormHelperText-root': {
|
|
6815
|
+
height: number;
|
|
6816
|
+
marginTop: number;
|
|
6817
|
+
};
|
|
6708
6818
|
};
|
|
6709
6819
|
'& .MuiTextField-root, .SCEventForm-frequency': {
|
|
6710
6820
|
marginBottom: any;
|
|
@@ -6770,6 +6880,7 @@ declare const theme: {
|
|
|
6770
6880
|
};
|
|
6771
6881
|
};
|
|
6772
6882
|
'& .SCEventForm-event-address-root': {
|
|
6883
|
+
marginTop: any;
|
|
6773
6884
|
backgroundColor: any;
|
|
6774
6885
|
borderRadius: number;
|
|
6775
6886
|
'& .SCEventForm-event-address-tabs': {
|
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"));
|
|
@@ -112,6 +113,7 @@ const SCMediaLink_1 = tslib_1.__importDefault(require("./components/SCMediaLink"
|
|
|
112
113
|
const SCMediaShare_1 = tslib_1.__importDefault(require("./components/SCMediaShare"));
|
|
113
114
|
const SCMyEventsWidget_1 = tslib_1.__importDefault(require("./components/SCMyEventsWidget"));
|
|
114
115
|
const SCNavigationMenuIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuIconButton"));
|
|
116
|
+
const SCNavigationMenuDrawer_1 = tslib_1.__importDefault(require("./components/SCNavigationMenuDrawer"));
|
|
115
117
|
const SCNavigationSettingsIconButton_1 = tslib_1.__importDefault(require("./components/SCNavigationSettingsIconButton"));
|
|
116
118
|
const SCNavigationToolbar_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbar"));
|
|
117
119
|
const SCNavigationToolbarMobile_1 = tslib_1.__importDefault(require("./components/SCNavigationToolbarMobile"));
|
|
@@ -293,6 +295,7 @@ const theme = {
|
|
|
293
295
|
SCFeedUpdatesWidget: SCFeedUpdatesWidget_1.default,
|
|
294
296
|
SCFooter: SCFooter_1.default,
|
|
295
297
|
SCGroup: SCGroup_1.default,
|
|
298
|
+
SCGroupActionsMenu: SCGroupActionsMenu_1.default,
|
|
296
299
|
SCGroupAutocomplete: SCGroupAutocomplete_1.default,
|
|
297
300
|
SCGroupFeedTemplate: SCGroupFeedTemplate_1.default,
|
|
298
301
|
SCGroupForm: SCGroupForm_1.default,
|
|
@@ -320,6 +323,7 @@ const theme = {
|
|
|
320
323
|
SCMediaLink: SCMediaLink_1.default,
|
|
321
324
|
SCMediaShare: SCMediaShare_1.default,
|
|
322
325
|
SCNavigationMenuIconButton: SCNavigationMenuIconButton_1.default,
|
|
326
|
+
SCNavigationMenuDrawer: SCNavigationMenuDrawer_1.default,
|
|
323
327
|
SCNavigationSettingsIconButton: SCNavigationSettingsIconButton_1.default,
|
|
324
328
|
SCNavigationToolbar: SCNavigationToolbar_1.default,
|
|
325
329
|
SCNavigationToolbarMobile: SCNavigationToolbarMobile_1.default,
|