@selfcommunity/react-theme-default 0.2.0-embeds.17 → 0.2.1-alpha.0
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/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/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/cjs/components/SCFeedObjectDetailTemplate.js +10 -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/SCLightbox.d.ts +5 -0
- package/lib/cjs/components/SCLightbox.js +12 -7
- package/lib/cjs/components/SCMediaLink.d.ts +4 -0
- package/lib/cjs/components/SCMediaLink.js +4 -4
- 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/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/cjs/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/cjs/components/SCOnBoardingWidget.d.ts +12 -2
- package/lib/cjs/components/SCOnBoardingWidget.js +12 -2
- package/lib/cjs/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/cjs/components/SCSearchAutocomplete.js +29 -21
- package/lib/cjs/components/SCVoteButton.d.ts +5 -3
- package/lib/cjs/components/SCVoteButton.js +6 -5
- package/lib/cjs/index.d.ts +99 -16
- 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/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/SCFeedObjectDetailTemplate.d.ts +10 -0
- package/lib/esm/components/SCFeedObjectDetailTemplate.js +10 -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/SCLightbox.d.ts +5 -0
- package/lib/esm/components/SCLightbox.js +12 -7
- package/lib/esm/components/SCMediaLink.d.ts +4 -0
- package/lib/esm/components/SCMediaLink.js +4 -4
- 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/SCNavigationToolbarMobile.d.ts +3 -0
- package/lib/esm/components/SCNavigationToolbarMobile.js +26 -19
- package/lib/esm/components/SCOnBoardingWidget.d.ts +12 -2
- package/lib/esm/components/SCOnBoardingWidget.js +12 -2
- package/lib/esm/components/SCSearchAutocomplete.d.ts +4 -0
- package/lib/esm/components/SCSearchAutocomplete.js +29 -21
- package/lib/esm/components/SCVoteButton.d.ts +5 -3
- package/lib/esm/components/SCVoteButton.js +6 -5
- package/lib/esm/index.d.ts +99 -16
- package/lib/esm/index.js +4 -0
- package/lib/umd/react-theme-default.js +2 -2
- package/package.json +4 -5
- package/lib/umd/850.js +0 -2
- package/lib/umd/850.js.LICENSE.txt +0 -16
|
@@ -1,76 +1,82 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
'&
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
4
|
+
root: ({ theme }) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return ({
|
|
7
|
+
padding: theme.spacing(0, 1),
|
|
8
|
+
'& .SCNavigationToolbar-logo, & .SCNavigationToolbar-custom-item': {
|
|
9
|
+
marginRight: theme.spacing(2),
|
|
10
|
+
'& img': {
|
|
11
|
+
verticalAlign: 'middle',
|
|
12
|
+
maxHeight: theme.mixins.toolbar.minHeight - 20
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
'& .SCNavigationToolbar-navigation': {
|
|
16
|
+
flexGrow: 1,
|
|
17
|
+
textAlign: 'center',
|
|
18
|
+
alignSelf: 'end',
|
|
19
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore, & .SCNavigationToolbar-groups, & .SCNavigationToolbar-events': {
|
|
20
|
+
paddingTop: 12,
|
|
21
|
+
paddingLeft: theme.spacing(1),
|
|
22
|
+
paddingRight: theme.spacing(1),
|
|
23
|
+
paddingBottom: 11,
|
|
24
|
+
margin: theme.spacing(0, 1),
|
|
25
|
+
borderRadius: 0,
|
|
26
|
+
borderBottom: `2px solid transparent`,
|
|
27
|
+
'&.SCNavigationToolbar-active, &:hover': {
|
|
28
|
+
color: theme.palette.secondary.main,
|
|
29
|
+
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
'& .SCNavigationToolbar-search': {
|
|
34
|
+
flexGrow: 1,
|
|
35
|
+
textAlign: 'right',
|
|
36
|
+
marginRight: theme.spacing(1.5),
|
|
37
|
+
'& .MuiFormControl-root': {
|
|
38
|
+
width: 190,
|
|
39
|
+
[theme.breakpoints.up('lg')]: {
|
|
40
|
+
width: 300
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
'& .SCNavigationToolbar-profile, & .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
|
|
45
|
+
margin: theme.spacing(0, 0.5)
|
|
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': {
|
|
17
52
|
paddingTop: 12,
|
|
18
|
-
|
|
19
|
-
paddingRight: theme.spacing(1),
|
|
20
|
-
paddingBottom: 11,
|
|
21
|
-
margin: theme.spacing(0, 1),
|
|
22
|
-
color: theme.palette.primary.main,
|
|
53
|
+
paddingBottom: 9,
|
|
23
54
|
borderRadius: 0,
|
|
24
55
|
borderBottom: `2px solid transparent`,
|
|
25
56
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
26
57
|
color: theme.palette.secondary.main,
|
|
27
58
|
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
28
59
|
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
'& .SCNavigationToolbar-profile .MuiAvatar-root': {
|
|
46
|
-
width: theme.selfcommunity.user.avatar.sizeMedium,
|
|
47
|
-
height: theme.selfcommunity.user.avatar.sizeMedium
|
|
48
|
-
},
|
|
49
|
-
'& .SCNavigationToolbar-notification, & .SCNavigationToolbar-messages': {
|
|
50
|
-
paddingTop: 12,
|
|
51
|
-
paddingBottom: 9,
|
|
52
|
-
borderRadius: 0,
|
|
53
|
-
borderBottom: `2px solid transparent`,
|
|
54
|
-
'&.SCNavigationToolbar-active, &:hover': {
|
|
55
|
-
color: theme.palette.secondary.main,
|
|
56
|
-
borderBottom: `2px solid ${theme.palette.secondary.main}`
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
'& .SCNavigationToolbar-settings': {
|
|
60
|
-
marginLeft: 0
|
|
61
|
-
},
|
|
62
|
-
'& .MuiIconButton-root': {
|
|
63
|
-
color: theme.palette.primary.main
|
|
64
|
-
},
|
|
65
|
-
[theme.breakpoints.up(950)]: {
|
|
66
|
-
padding: theme.spacing(0, 2),
|
|
67
|
-
'& .SCNavigationToolbar-navigation': {
|
|
68
|
-
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
69
|
-
margin: theme.spacing(0, 2)
|
|
60
|
+
},
|
|
61
|
+
'& .SCNavigationToolbar-settings': {
|
|
62
|
+
marginLeft: 0
|
|
63
|
+
},
|
|
64
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
65
|
+
color: theme.palette.secondary.main
|
|
66
|
+
},
|
|
67
|
+
'& .MuiIconButton-root': {
|
|
68
|
+
color: 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
|
|
69
|
+
},
|
|
70
|
+
[theme.breakpoints.up(950)]: {
|
|
71
|
+
padding: theme.spacing(0, 2),
|
|
72
|
+
'& .SCNavigationToolbar-navigation': {
|
|
73
|
+
'& .SCNavigationToolbar-home, & .SCNavigationToolbar-explore': {
|
|
74
|
+
margin: theme.spacing(0, 2)
|
|
75
|
+
}
|
|
70
76
|
}
|
|
71
77
|
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
78
|
+
});
|
|
79
|
+
},
|
|
74
80
|
skeletonRoot: ({ theme }) => ({
|
|
75
81
|
'& .SCNavigationToolbar-logo': {
|
|
76
82
|
width: 100,
|
|
@@ -1,25 +1,32 @@
|
|
|
1
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
1
2
|
const Component = {
|
|
2
3
|
styleOverrides: {
|
|
3
|
-
root: ({ theme }) =>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
root: ({ theme }) => {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
return ({
|
|
7
|
+
padding: `${theme.spacing(0, 1, 0, 1)} !important`,
|
|
8
|
+
'& .SCNavigationToolbarMobile-logo, & .SCNavigationToolbarMobile-custom-item': {
|
|
9
|
+
margin: theme.spacing(0.5, 2, 0.5, 0.5),
|
|
10
|
+
flexGrow: 1,
|
|
11
|
+
'& img': {
|
|
12
|
+
verticalAlign: 'middle',
|
|
13
|
+
maxHeight: `calc(${theme.mixins.toolbar.minHeight}px - ${theme.spacing(2)})`
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
'& .SCNavigationToolbarMobile-logo-flex': {
|
|
17
|
+
flexGrow: 0
|
|
18
|
+
},
|
|
19
|
+
'& .MuiIconButton-root': {
|
|
20
|
+
color: 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
|
|
21
|
+
},
|
|
22
|
+
'& h4': {
|
|
23
|
+
fontSize: '1.286rem',
|
|
24
|
+
overflow: 'hidden',
|
|
25
|
+
textOverflow: 'ellipsis',
|
|
26
|
+
whiteSpace: 'nowrap'
|
|
11
27
|
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
flexGrow: 0
|
|
15
|
-
},
|
|
16
|
-
'& h4': {
|
|
17
|
-
fontSize: '1.286rem',
|
|
18
|
-
overflow: 'hidden',
|
|
19
|
-
textOverflow: 'ellipsis',
|
|
20
|
-
whiteSpace: 'nowrap'
|
|
21
|
-
}
|
|
22
|
-
}),
|
|
28
|
+
});
|
|
29
|
+
},
|
|
23
30
|
skeletonRoot: ({ theme }) => ({
|
|
24
31
|
'& .SCNavigationToolbarMobile-logo': {
|
|
25
32
|
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;
|
|
@@ -260,8 +260,18 @@ const Component = {
|
|
|
260
260
|
display: 'flex',
|
|
261
261
|
flexDirection: 'column'
|
|
262
262
|
},
|
|
263
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
264
|
-
|
|
263
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
264
|
+
position: 'relative',
|
|
265
|
+
display: 'inline-block',
|
|
266
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
267
|
+
margin: theme.spacing(1, 0, 2, 0)
|
|
268
|
+
},
|
|
269
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
270
|
+
position: 'absolute',
|
|
271
|
+
top: '50%',
|
|
272
|
+
marginTop: theme.spacing(-2),
|
|
273
|
+
marginLeft: theme.spacing(-4.5)
|
|
274
|
+
}
|
|
265
275
|
},
|
|
266
276
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
267
277
|
position: 'relative',
|
|
@@ -1,29 +1,37 @@
|
|
|
1
1
|
import { alpha } from '@mui/system';
|
|
2
|
+
import { getContrastRatio } from '@mui/material/styles';
|
|
2
3
|
const Component = {
|
|
3
4
|
styleOverrides: {
|
|
4
|
-
root: ({ theme }) =>
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
borderColor: alpha(theme.palette.primary.main, theme.palette.action.disabledOpacity)
|
|
15
|
-
},
|
|
16
|
-
'&:hover fieldset': {
|
|
17
|
-
borderColor: theme.palette.primary.main
|
|
18
|
-
},
|
|
19
|
-
'&.Mui-focused fieldset': {
|
|
20
|
-
borderColor: theme.palette.secondary.main
|
|
5
|
+
root: ({ theme }) => {
|
|
6
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
7
|
+
return ({
|
|
8
|
+
'& .SCSearchAutocomplete-input': {
|
|
9
|
+
padding: theme.spacing(0, 2),
|
|
10
|
+
borderRadius: theme.shape.borderRadius,
|
|
11
|
+
'& .MuiAutocomplete-input': {
|
|
12
|
+
padding: theme.spacing(0.5, 1),
|
|
13
|
+
color: 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
|
|
14
|
+
}
|
|
21
15
|
},
|
|
22
|
-
'
|
|
23
|
-
|
|
16
|
+
'& .MuiInputBase-root': {
|
|
17
|
+
'& .MuiIcon-root': {
|
|
18
|
+
color: 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
|
|
19
|
+
},
|
|
20
|
+
'& fieldset': {
|
|
21
|
+
borderColor: alpha(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)
|
|
22
|
+
},
|
|
23
|
+
'&:hover fieldset': {
|
|
24
|
+
borderColor: 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
|
|
25
|
+
},
|
|
26
|
+
'&.Mui-focused fieldset': {
|
|
27
|
+
borderColor: 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
|
|
28
|
+
},
|
|
29
|
+
'&.Mui-focused .SCSearchAutocomplete-icon': {
|
|
30
|
+
color: 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
|
|
31
|
+
}
|
|
24
32
|
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
27
35
|
}
|
|
28
36
|
};
|
|
29
37
|
export default Component;
|
|
@@ -9,9 +9,6 @@ declare const Component: {
|
|
|
9
9
|
minWidth: number;
|
|
10
10
|
'& .MuiIcon-root': {
|
|
11
11
|
fontSize: string;
|
|
12
|
-
'& img': {
|
|
13
|
-
filter: string;
|
|
14
|
-
};
|
|
15
12
|
};
|
|
16
13
|
'&.MuiButton-sizeSmall': {
|
|
17
14
|
padding: any;
|
|
@@ -20,6 +17,11 @@ declare const Component: {
|
|
|
20
17
|
};
|
|
21
18
|
};
|
|
22
19
|
};
|
|
20
|
+
popperRoot: ({ theme }: any) => {
|
|
21
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
22
|
+
fontSize: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
27
|
export default Component;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { hexToCSSFilter } from 'hex-to-css-filter';
|
|
2
1
|
const Component = {
|
|
3
2
|
styleOverrides: {
|
|
4
3
|
root: ({ theme }) => ({
|
|
@@ -9,10 +8,7 @@ const Component = {
|
|
|
9
8
|
padding: theme.spacing(1.5),
|
|
10
9
|
minWidth: 0,
|
|
11
10
|
'& .MuiIcon-root': {
|
|
12
|
-
fontSize: '1.57rem'
|
|
13
|
-
'& img': {
|
|
14
|
-
filter: hexToCSSFilter(theme.palette.primary.main).filter
|
|
15
|
-
}
|
|
11
|
+
fontSize: '1.57rem'
|
|
16
12
|
},
|
|
17
13
|
'&.MuiButton-sizeSmall': {
|
|
18
14
|
padding: theme.spacing(0.5),
|
|
@@ -20,6 +16,11 @@ const Component = {
|
|
|
20
16
|
fontSize: '1rem'
|
|
21
17
|
}
|
|
22
18
|
}
|
|
19
|
+
}),
|
|
20
|
+
popperRoot: ({ theme }) => ({
|
|
21
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
22
|
+
fontSize: '22px'
|
|
23
|
+
}
|
|
23
24
|
})
|
|
24
25
|
}
|
|
25
26
|
};
|
package/lib/esm/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
|
};
|
|
@@ -2803,6 +2811,16 @@ declare const theme: {
|
|
|
2803
2811
|
paddingLeft: any;
|
|
2804
2812
|
};
|
|
2805
2813
|
};
|
|
2814
|
+
'& .SCFeedObject-detail': {
|
|
2815
|
+
'& .SCFeedObject-content': {
|
|
2816
|
+
'& .SCFeedObject-text-section .SCFeedObject-text': {
|
|
2817
|
+
'& span': {
|
|
2818
|
+
display: string;
|
|
2819
|
+
width: string;
|
|
2820
|
+
};
|
|
2821
|
+
};
|
|
2822
|
+
};
|
|
2823
|
+
};
|
|
2806
2824
|
};
|
|
2807
2825
|
skeletonRoot: ({ theme }: any) => {
|
|
2808
2826
|
marginTop: any;
|
|
@@ -2912,6 +2930,31 @@ declare const theme: {
|
|
|
2912
2930
|
skeletonRoot: ({ theme }: any) => {};
|
|
2913
2931
|
};
|
|
2914
2932
|
};
|
|
2933
|
+
SCGroupActionsMenu: {
|
|
2934
|
+
styleOverrides: {
|
|
2935
|
+
root: ({ theme }: any) => {};
|
|
2936
|
+
menuRoot: ({ theme }: any) => {
|
|
2937
|
+
'& .MuiDivider-root': {
|
|
2938
|
+
margin: any;
|
|
2939
|
+
};
|
|
2940
|
+
'& .MuiIcon-root': {
|
|
2941
|
+
fontSize: string;
|
|
2942
|
+
};
|
|
2943
|
+
};
|
|
2944
|
+
drawerRoot: ({ theme }: any) => {
|
|
2945
|
+
'& .SCGroupActionsMenu-item': {
|
|
2946
|
+
paddingTop: number;
|
|
2947
|
+
paddingBottom: number;
|
|
2948
|
+
};
|
|
2949
|
+
'& .MuiDivider-root': {
|
|
2950
|
+
margin: any;
|
|
2951
|
+
};
|
|
2952
|
+
'& .MuiIcon-root': {
|
|
2953
|
+
fontSize: string;
|
|
2954
|
+
};
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
};
|
|
2915
2958
|
SCGroupAutocomplete: {
|
|
2916
2959
|
styleOverrides: {
|
|
2917
2960
|
root: ({ theme }: any) => {};
|
|
@@ -3062,10 +3105,13 @@ declare const theme: {
|
|
|
3062
3105
|
gap: any;
|
|
3063
3106
|
};
|
|
3064
3107
|
};
|
|
3065
|
-
'& .
|
|
3108
|
+
'& .SCGroupHeader-multi-actions': {
|
|
3109
|
+
display: string;
|
|
3066
3110
|
marginLeft: string;
|
|
3067
3111
|
marginTop: any;
|
|
3068
|
-
|
|
3112
|
+
'& .SCEditGroupButton-root': {
|
|
3113
|
+
marginRight: any;
|
|
3114
|
+
};
|
|
3069
3115
|
};
|
|
3070
3116
|
'& .SCGroupSubscribeButton-root': {
|
|
3071
3117
|
marginTop: any;
|
|
@@ -3594,6 +3640,11 @@ declare const theme: {
|
|
|
3594
3640
|
"& .PhotoView__Photo": {
|
|
3595
3641
|
cursor: string;
|
|
3596
3642
|
maxWidth: string;
|
|
3643
|
+
WebkitUserDrag: string;
|
|
3644
|
+
userDrag: string;
|
|
3645
|
+
'@-moz-document url-prefix()': {
|
|
3646
|
+
pointerEvents: string;
|
|
3647
|
+
};
|
|
3597
3648
|
};
|
|
3598
3649
|
"& .PhotoView__Photo:active": {
|
|
3599
3650
|
cursor: string;
|
|
@@ -4179,6 +4230,7 @@ declare const theme: {
|
|
|
4179
4230
|
width: string;
|
|
4180
4231
|
position: string;
|
|
4181
4232
|
top: number;
|
|
4233
|
+
zIndex: number;
|
|
4182
4234
|
'& iframe': {
|
|
4183
4235
|
width: string;
|
|
4184
4236
|
margin: string;
|
|
@@ -4188,6 +4240,7 @@ declare const theme: {
|
|
|
4188
4240
|
width: string;
|
|
4189
4241
|
position: string;
|
|
4190
4242
|
top: number;
|
|
4243
|
+
zIndex: number;
|
|
4191
4244
|
'& .SCMediaLink-html-loading': {
|
|
4192
4245
|
position: string;
|
|
4193
4246
|
display: string;
|
|
@@ -4240,6 +4293,7 @@ declare const theme: {
|
|
|
4240
4293
|
'& .SCMediaLink-html': {
|
|
4241
4294
|
width: string;
|
|
4242
4295
|
position: string;
|
|
4296
|
+
zIndex: number;
|
|
4243
4297
|
'& iframe': {
|
|
4244
4298
|
width: string;
|
|
4245
4299
|
margin: string;
|
|
@@ -4249,6 +4303,7 @@ declare const theme: {
|
|
|
4249
4303
|
width: string;
|
|
4250
4304
|
position: string;
|
|
4251
4305
|
top: number;
|
|
4306
|
+
zIndex: number;
|
|
4252
4307
|
'& .SCMediaLink-html-loading': {
|
|
4253
4308
|
position: string;
|
|
4254
4309
|
display: string;
|
|
@@ -4287,14 +4342,18 @@ declare const theme: {
|
|
|
4287
4342
|
SCNavigationMenuIconButton: {
|
|
4288
4343
|
styleOverrides: {
|
|
4289
4344
|
root: ({ theme }: any) => {};
|
|
4290
|
-
|
|
4345
|
+
};
|
|
4346
|
+
};
|
|
4347
|
+
SCNavigationMenuDrawer: {
|
|
4348
|
+
styleOverrides: {
|
|
4349
|
+
root: ({ theme }: any) => {
|
|
4291
4350
|
'& .MuiDrawer-paper': {
|
|
4292
4351
|
[x: number]: {
|
|
4293
4352
|
width: any;
|
|
4294
4353
|
};
|
|
4295
4354
|
width: string;
|
|
4296
4355
|
};
|
|
4297
|
-
'& .
|
|
4356
|
+
'& .SCNavigationMenuDrawer-drawer-header': {
|
|
4298
4357
|
minHeight: any;
|
|
4299
4358
|
padding: string;
|
|
4300
4359
|
display: string;
|
|
@@ -4368,7 +4427,6 @@ declare const theme: {
|
|
|
4368
4427
|
paddingRight: any;
|
|
4369
4428
|
paddingBottom: number;
|
|
4370
4429
|
margin: any;
|
|
4371
|
-
color: any;
|
|
4372
4430
|
borderRadius: number;
|
|
4373
4431
|
borderBottom: string;
|
|
4374
4432
|
'&.SCNavigationToolbar-active, &:hover': {
|
|
@@ -4408,6 +4466,9 @@ declare const theme: {
|
|
|
4408
4466
|
'& .SCNavigationToolbar-settings': {
|
|
4409
4467
|
marginLeft: number;
|
|
4410
4468
|
};
|
|
4469
|
+
'& .SCNavigationToolbar-composer:hover': {
|
|
4470
|
+
color: any;
|
|
4471
|
+
};
|
|
4411
4472
|
'& .MuiIconButton-root': {
|
|
4412
4473
|
color: any;
|
|
4413
4474
|
};
|
|
@@ -4457,6 +4518,9 @@ declare const theme: {
|
|
|
4457
4518
|
'& .SCNavigationToolbarMobile-logo-flex': {
|
|
4458
4519
|
flexGrow: number;
|
|
4459
4520
|
};
|
|
4521
|
+
'& .MuiIconButton-root': {
|
|
4522
|
+
color: any;
|
|
4523
|
+
};
|
|
4460
4524
|
'& h4': {
|
|
4461
4525
|
fontSize: string;
|
|
4462
4526
|
overflow: string;
|
|
@@ -4841,6 +4905,9 @@ declare const theme: {
|
|
|
4841
4905
|
width: string;
|
|
4842
4906
|
'& .SCNotification-username': {
|
|
4843
4907
|
fontWeight: number;
|
|
4908
|
+
/**
|
|
4909
|
+
* Export default theme
|
|
4910
|
+
*/
|
|
4844
4911
|
'&:hover': {
|
|
4845
4912
|
textDecoration: string;
|
|
4846
4913
|
};
|
|
@@ -5200,8 +5267,18 @@ declare const theme: {
|
|
|
5200
5267
|
display: string;
|
|
5201
5268
|
flexDirection: string;
|
|
5202
5269
|
};
|
|
5203
|
-
'& .SCOnBoardingWidget-appearance-color': {
|
|
5204
|
-
|
|
5270
|
+
'& .SCOnBoardingWidget-appearance-color-container': {
|
|
5271
|
+
position: string;
|
|
5272
|
+
display: string;
|
|
5273
|
+
'& .SCOnBoardingWidget-appearance-color': {
|
|
5274
|
+
margin: any;
|
|
5275
|
+
};
|
|
5276
|
+
'& .SCOnBoardingWidget-appearance-color-progress': {
|
|
5277
|
+
position: string;
|
|
5278
|
+
top: string;
|
|
5279
|
+
marginTop: any;
|
|
5280
|
+
marginLeft: any;
|
|
5281
|
+
};
|
|
5205
5282
|
};
|
|
5206
5283
|
'& .SCOnBoardingWidget-appearance-logo-container': {
|
|
5207
5284
|
position: string;
|
|
@@ -6194,9 +6271,13 @@ declare const theme: {
|
|
|
6194
6271
|
borderRadius: any;
|
|
6195
6272
|
'& .MuiAutocomplete-input': {
|
|
6196
6273
|
padding: any;
|
|
6274
|
+
color: any;
|
|
6197
6275
|
};
|
|
6198
6276
|
};
|
|
6199
6277
|
'& .MuiInputBase-root': {
|
|
6278
|
+
'& .MuiIcon-root': {
|
|
6279
|
+
color: any;
|
|
6280
|
+
};
|
|
6200
6281
|
'& fieldset': {
|
|
6201
6282
|
borderColor: string;
|
|
6202
6283
|
};
|
|
@@ -8039,9 +8120,6 @@ declare const theme: {
|
|
|
8039
8120
|
minWidth: number;
|
|
8040
8121
|
'& .MuiIcon-root': {
|
|
8041
8122
|
fontSize: string;
|
|
8042
|
-
'& img': {
|
|
8043
|
-
filter: string;
|
|
8044
|
-
};
|
|
8045
8123
|
};
|
|
8046
8124
|
'&.MuiButton-sizeSmall': {
|
|
8047
8125
|
padding: any;
|
|
@@ -8050,6 +8128,11 @@ declare const theme: {
|
|
|
8050
8128
|
};
|
|
8051
8129
|
};
|
|
8052
8130
|
};
|
|
8131
|
+
popperRoot: ({ theme }: any) => {
|
|
8132
|
+
'& .SCVoteButton-reaction .MuiIcon-root': {
|
|
8133
|
+
fontSize: string;
|
|
8134
|
+
};
|
|
8135
|
+
};
|
|
8053
8136
|
};
|
|
8054
8137
|
};
|
|
8055
8138
|
SCWidget: {
|